1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-12 06:23:38 +00:00

switch to dashed naming

This commit is contained in:
Bryan Cunningham
2025-12-04 11:08:10 -05:00
parent 16455939d0
commit 88ad335e02
4 changed files with 4 additions and 4 deletions

View File

@@ -7,7 +7,7 @@
[hideCardWrapper]="hideCardWrapper"
[hideBackgroundIllustration]="hideBackgroundIllustration"
>
<router-outlet slot="headerActions" name="headerActions"></router-outlet>
<router-outlet slot="header-actions" name="header-actions"></router-outlet>
<router-outlet></router-outlet>
<router-outlet slot="secondary" name="secondary"></router-outlet>
<router-outlet slot="environment-selector" name="environment-selector"></router-outlet>

View File

@@ -183,7 +183,7 @@ export const DefaultContentExample: Story = {
{
path: "",
component: DefaultHeaderActionsOutletExampleComponent,
outlet: "headerActions",
outlet: "header-actions",
},
],
},

View File

@@ -14,7 +14,7 @@
<bit-icon [icon]="logo" [ariaLabel]="'appLogoLabel' | i18n"></bit-icon>
</a>
<div class="tw-ms-auto">
<ng-content select="[slot=headerActions]"></ng-content>
<ng-content select="[slot=header-actions]"></ng-content>
</div>
</div>

View File

@@ -78,7 +78,7 @@ export default {
[hideFooter]="hideFooter"
[hideBackgroundIllustration]="hideBackgroundIllustration"
>
<div *ngIf="includeHeaderActions" slot="headerActions" class="tw-flex tw-items-center tw-gap-2">
<div *ngIf="includeHeaderActions" slot="header-actions" class="tw-flex tw-items-center tw-gap-2">
<bit-avatar
size="small"
text="Bob Loblaw"