mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
[deps] UIF: Update @compodoc/compodoc to v1.1.32 and fix icon button property (#17557)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Vicki League <vleague@bitwarden.com>
This commit is contained in:
@@ -20,7 +20,16 @@ import { SpinnerComponent } from "../spinner";
|
||||
import { TooltipDirective } from "../tooltip";
|
||||
import { ariaDisableElement } from "../utils";
|
||||
|
||||
export type IconButtonType = "primary" | "danger" | "contrast" | "main" | "muted" | "nav-contrast";
|
||||
export const IconButtonTypes = [
|
||||
"primary",
|
||||
"danger",
|
||||
"contrast",
|
||||
"main",
|
||||
"muted",
|
||||
"nav-contrast",
|
||||
] as const;
|
||||
|
||||
export type IconButtonType = (typeof IconButtonTypes)[number];
|
||||
|
||||
const focusRing = [
|
||||
// Workaround for box-shadow with transparent offset issue:
|
||||
@@ -148,9 +157,7 @@ export class BitIconButtonComponent implements ButtonLikeAbstraction, FocusableE
|
||||
);
|
||||
}
|
||||
|
||||
get iconClass() {
|
||||
return [this.icon(), "!tw-m-0"];
|
||||
}
|
||||
readonly iconClass = computed(() => [this.icon(), "!tw-m-0"]);
|
||||
|
||||
protected readonly disabledAttr = computed(() => {
|
||||
const disabled = this.disabled() != null && this.disabled() !== false;
|
||||
|
||||
Reference in New Issue
Block a user