From b27e2605d5bff4132c9be8ec8f77a84c50d89c3e Mon Sep 17 00:00:00 2001 From: rr-bw <102181210+rr-bw@users.noreply.github.com> Date: Tue, 24 Jan 2023 08:22:10 -0800 Subject: [PATCH] add button disabled state: cursor-not-allowed (#4436) --- libs/components/src/button/button.component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/components/src/button/button.component.ts b/libs/components/src/button/button.component.ts index aa26143dc07..414d4e59138 100644 --- a/libs/components/src/button/button.component.ts +++ b/libs/components/src/button/button.component.ts @@ -21,6 +21,7 @@ const buttonStyles: Record = { "disabled:tw-border-primary-500/60", "disabled:!tw-text-contrast/60", "disabled:tw-bg-clip-padding", + "disabled:tw-cursor-not-allowed", ...focusRing, ], secondary: [ @@ -33,6 +34,7 @@ const buttonStyles: Record = { "disabled:tw-bg-transparent", "disabled:tw-border-text-muted/60", "disabled:!tw-text-muted/60", + "disabled:tw-cursor-not-allowed", ...focusRing, ], danger: [ @@ -45,6 +47,7 @@ const buttonStyles: Record = { "disabled:tw-bg-transparent", "disabled:tw-border-danger-500/60", "disabled:!tw-text-danger/60", + "disabled:tw-cursor-not-allowed", ...focusRing, ], unstyled: [],