1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +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

@@ -10,6 +10,5 @@ import { Component } from "@angular/core";
"tw-h-16 tw-ps-4 tw-bg-background-alt tw-flex tw-items-end tw-border-0 tw-border-b tw-border-solid tw-border-secondary-300",
},
template: `<ng-content></ng-content>`,
standalone: true,
})
export class TabHeaderComponent {}

View File

@@ -8,6 +8,5 @@ import { Directive } from "@angular/core";
host: {
class: "tw-inline-flex tw-flex-wrap tw-leading-5",
},
standalone: true,
})
export class TabListContainerDirective {}

View File

@@ -9,7 +9,6 @@ import { Directive, ElementRef, HostBinding, Input } from "@angular/core";
*/
@Directive({
selector: "[bitTabListItem]",
standalone: true,
})
export class TabListItemDirective implements FocusableOption {
@Input() active: boolean;

View File

@@ -6,7 +6,6 @@ import { Component, HostBinding, Input } from "@angular/core";
@Component({
selector: "bit-tab-body",
templateUrl: "tab-body.component.html",
standalone: true,
imports: [CdkPortalOutlet],
})
export class TabBodyComponent {

View File

@@ -31,7 +31,6 @@ let nextId = 0;
@Component({
selector: "bit-tab-group",
templateUrl: "./tab-group.component.html",
standalone: true,
imports: [
NgTemplateOutlet,
TabHeaderComponent,

View File

@@ -16,7 +16,6 @@ import { Directive, TemplateRef } from "@angular/core";
*/
@Directive({
selector: "[bitTabLabel]",
standalone: true,
})
export class TabLabelDirective {
constructor(public templateRef: TemplateRef<unknown>) {}

View File

@@ -19,7 +19,6 @@ import { TabLabelDirective } from "./tab-label.directive";
host: {
role: "tabpanel",
},
standalone: true,
})
export class TabComponent implements OnInit {
@Input() disabled = false;

View File

@@ -12,7 +12,6 @@ import { TabNavBarComponent } from "./tab-nav-bar.component";
@Component({
selector: "bit-tab-link",
templateUrl: "tab-link.component.html",
standalone: true,
imports: [TabListItemDirective, RouterModule],
})
export class TabLinkComponent implements FocusableOption, AfterViewInit, OnDestroy {

View File

@@ -21,7 +21,6 @@ import { TabLinkComponent } from "./tab-link.component";
host: {
class: "tw-block",
},
standalone: true,
imports: [TabHeaderComponent, TabListContainerDirective],
})
export class TabNavBarComponent implements AfterContentInit {