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

@@ -51,16 +51,15 @@ const hoverStyles: Record<BadgeVariant, string[]> = {
* The Badge directive can be used on a `<span>` (non clickable events), or an `<a>` or `<button>` tag
* > `NOTE:` The Focus and Hover states only apply to badges used for interactive events.
*
*
* > `NOTE:` The `disabled` state only applies to buttons.
*
*
*/
@Component({
selector: "span[bitBadge], a[bitBadge], button[bitBadge]",
providers: [{ provide: FocusableElement, useExisting: BadgeComponent }],
imports: [CommonModule],
templateUrl: "badge.component.html",
standalone: true,
})
export class BadgeComponent implements FocusableElement {
@HostBinding("class") get classList() {