mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
* Add tooltip to icon button to display label * remove legacy cdr variable * create overlay on focus or hover * attach describdedby ids * fix type errors * remove aria-describedby when not necessary * fix failing tests * implement Claude feedback * fixing broken specs * remove host attr binding * Simplify directive aria logic * Move id to statis number * do not render empty tooltip * pass id to tooltip component * remove pointer-events none to allow tooltip on normal buttons * exclude some tooltip stories * change describedby input name * add story with tooltip on regular button * enhanced tooltip docs * set model directly * change model to input
12 lines
332 B
HTML
12 lines
332 B
HTML
@if (tooltipData.content()) {
|
|
<div
|
|
class="bit-tooltip-container"
|
|
[attr.data-position]="tooltipData.tooltipPosition()"
|
|
[attr.data-visible]="tooltipData.isVisible()"
|
|
>
|
|
<div role="tooltip" class="bit-tooltip" [id]="tooltipData.id()">
|
|
<ng-content>{{ tooltipData.content() }}</ng-content>
|
|
</div>
|
|
</div>
|
|
}
|