1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00

Remove standalone true from platform and UIF (#15032)

Remove standalone: true from every instance since it's the default as of Angular 19.
This commit is contained in:
Oscar Hinton
2025-06-02 20:03:04 +02:00
committed by GitHub
parent 6107d7d3da
commit 26fb7effd3
129 changed files with 5 additions and 151 deletions

View File

@@ -8,7 +8,6 @@ import { map } from "rxjs";
*/
@Component({
selector: "bit-drawer-body",
standalone: true,
changeDetection: ChangeDetectionStrategy.OnPush,
imports: [],
host: {

View File

@@ -15,7 +15,6 @@ import { DrawerComponent } from "./drawer.component";
**/
@Directive({
selector: "button[bitDrawerClose]",
standalone: true,
host: {
"(click)": "onClick()",
},

View File

@@ -13,7 +13,6 @@ import { DrawerCloseDirective } from "./drawer-close.directive";
**/
@Component({
selector: "bit-drawer-header",
standalone: true,
changeDetection: ChangeDetectionStrategy.OnPush,
imports: [CommonModule, DrawerCloseDirective, TypographyModule, IconButtonModule, I18nPipe],
templateUrl: "drawer-header.component.html",

View File

@@ -8,7 +8,6 @@ import { Directive, signal } from "@angular/core";
*/
@Directive({
selector: "[bitDrawerHost]",
standalone: true,
})
export class DrawerHostDirective {
private _portal = signal<Portal<unknown> | undefined>(undefined);

View File

@@ -19,7 +19,6 @@ import { DrawerHostDirective } from "./drawer-host.directive";
*/
@Component({
selector: "bit-drawer",
standalone: true,
changeDetection: ChangeDetectionStrategy.OnPush,
imports: [CommonModule, PortalModule],
templateUrl: "drawer.component.html",