mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
* updated popover styles and fix stories * fixed alignment of icon button title and added long title story
22 lines
784 B
TypeScript
22 lines
784 B
TypeScript
// FIXME: Update this file to be type safe and remove this and next line
|
|
// @ts-strict-ignore
|
|
import { A11yModule } from "@angular/cdk/a11y";
|
|
import { Component, EventEmitter, Input, Output, TemplateRef, ViewChild } from "@angular/core";
|
|
|
|
import { IconButtonModule } from "../icon-button/icon-button.module";
|
|
import { SharedModule } from "../shared/shared.module";
|
|
import { TypographyModule } from "../typography";
|
|
|
|
@Component({
|
|
standalone: true,
|
|
selector: "bit-popover",
|
|
imports: [A11yModule, IconButtonModule, SharedModule, TypographyModule],
|
|
templateUrl: "./popover.component.html",
|
|
exportAs: "popoverComponent",
|
|
})
|
|
export class PopoverComponent {
|
|
@ViewChild(TemplateRef) templateRef: TemplateRef<any>;
|
|
@Input() title = "";
|
|
@Output() closed = new EventEmitter();
|
|
}
|