mirror of
https://github.com/bitwarden/clients.git
synced 2026-07-01 21:10:49 +08:00
Some checks failed
Chromatic / Check PR run (push) Has been cancelled
Scan / Check PR run (push) Has been cancelled
Testing / Run tests (push) Has been cancelled
Testing / Run Rust tests on ${{ matrix.os }} (macos-14) (push) Has been cancelled
Testing / Run Rust tests on ${{ matrix.os }} (ubuntu-22.04) (push) Has been cancelled
Testing / Run Rust tests on ${{ matrix.os }} (windows-2022) (push) Has been cancelled
Testing / Rust Coverage (push) Has been cancelled
Chromatic / Chromatic (push) Has been cancelled
Scan / Checkmarx (push) Has been cancelled
Scan / Sonar (push) Has been cancelled
Testing / Upload to Codecov (push) Has been cancelled
Close stale issues and PRs / Check for stale issues and PRs (push) Has been cancelled
13 lines
429 B
HTML
13 lines
429 B
HTML
<ng-template>
|
|
<div
|
|
(click)="closed.emit()"
|
|
class="tw-flex tw-shrink-0 tw-flex-col tw-rounded-lg tw-border tw-border-solid tw-border-secondary-100 tw-bg-background tw-shadow-md tw-bg-clip-padding tw-py-1 tw-overflow-y-auto"
|
|
[attr.role]="ariaRole()"
|
|
[attr.aria-label]="ariaLabel()"
|
|
cdkTrapFocus
|
|
[cdkTrapFocusAutoCapture]="ariaRole() === 'dialog'"
|
|
>
|
|
<ng-content></ng-content>
|
|
</div>
|
|
</ng-template>
|