mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 01:33:33 +00:00
[CL-135] Migrate component library to standalone components (#12389)
* Migrate component library to standalone components * Fix tests
This commit is contained in:
@@ -10,5 +10,6 @@ import { Component } from "@angular/core";
|
||||
"tw-h-16 tw-pl-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 {}
|
||||
|
||||
@@ -8,5 +8,6 @@ import { Directive } from "@angular/core";
|
||||
host: {
|
||||
class: "tw-inline-flex tw-flex-wrap tw-leading-5",
|
||||
},
|
||||
standalone: true,
|
||||
})
|
||||
export class TabListContainerDirective {}
|
||||
|
||||
@@ -7,7 +7,10 @@ import { Directive, ElementRef, HostBinding, Input } from "@angular/core";
|
||||
* Directive used for styling tab header items for both nav links (anchor tags)
|
||||
* and content tabs (button tags)
|
||||
*/
|
||||
@Directive({ selector: "[bitTabListItem]" })
|
||||
@Directive({
|
||||
selector: "[bitTabListItem]",
|
||||
standalone: true,
|
||||
})
|
||||
export class TabListItemDirective implements FocusableOption {
|
||||
@Input() active: boolean;
|
||||
@Input() disabled: boolean;
|
||||
|
||||
Reference in New Issue
Block a user