1
0
mirror of https://github.com/bitwarden/browser synced 2026-03-01 02:51:24 +00:00
Files
browser/apps/web/src/app/tools/send/new-send/new-send-dropdown.component.html
Mike Amirault 27fd6be5ec [PM-31935] Ensure new Send button is keyboard clickable (#19098)
* [PM-31935] Ensure new Send button is keyboard clickable

* Remove unused module
2026-02-23 11:23:30 -05:00

20 lines
737 B
HTML

<button bitButton [bitMenuTriggerFor]="itemOptions" buttonType="primary" type="button">
@if (!hideIcon) {
<bit-icon name="bwi-plus" class="tw-me-2" slot="start"></bit-icon>
}
{{ (hideIcon ? "createSend" : "new") | i18n }}
</button>
<bit-menu #itemOptions>
<button type="button" bitMenuItem (click)="createSend(sendType.Text)">
<bit-icon name="bwi-file-text" slot="start"></bit-icon>
{{ "sendTypeText" | i18n }}
</button>
<button type="button" bitMenuItem (click)="createSend(sendType.File)">
<bit-icon name="bwi-file" slot="start"></bit-icon>
<div class="tw-flex tw-items-center tw-gap-2">
{{ "sendTypeFile" | i18n }}
<app-premium-badge></app-premium-badge>
</div>
</button>
</bit-menu>