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:
@@ -8,7 +8,6 @@ import { map } from "rxjs";
|
||||
*/
|
||||
@Component({
|
||||
selector: "bit-drawer-body",
|
||||
standalone: true,
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
imports: [],
|
||||
host: {
|
||||
|
||||
@@ -15,7 +15,6 @@ import { DrawerComponent } from "./drawer.component";
|
||||
**/
|
||||
@Directive({
|
||||
selector: "button[bitDrawerClose]",
|
||||
standalone: true,
|
||||
host: {
|
||||
"(click)": "onClick()",
|
||||
},
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user