@kaizen/components 1.73.11 → 1.73.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,6 +2,7 @@
2
2
 
3
3
  var buttonStyles = {
4
4
  "button": "Button-module_button__Rz7PM",
5
+ "isDisabled": "Button-module_isDisabled__Q2KAS",
5
6
  "fullWidth": "Button-module_fullWidth__aMtlw",
6
7
  "small": "Button-module_small__nX-i2",
7
8
  "medium": "Button-module_medium__6gRIb",
@@ -10,7 +11,6 @@ var buttonStyles = {
10
11
  "mediumIconButton": "Button-module_mediumIconButton__PC35j",
11
12
  "largeIconButton": "Button-module_largeIconButton__VtPZf",
12
13
  "secondary": "Button-module_secondary__D42kZ",
13
- "isDisabled": "Button-module_isDisabled__Q2KAS",
14
14
  "tertiary": "Button-module_tertiary__qL7wD",
15
15
  "primaryReversed": "Button-module_primaryReversed__Sa4YW",
16
16
  "secondaryReversed": "Button-module_secondaryReversed__u3qHz",
@@ -1,5 +1,6 @@
1
1
  var buttonStyles = {
2
2
  "button": "Button-module_button__Rz7PM",
3
+ "isDisabled": "Button-module_isDisabled__Q2KAS",
3
4
  "fullWidth": "Button-module_fullWidth__aMtlw",
4
5
  "small": "Button-module_small__nX-i2",
5
6
  "medium": "Button-module_medium__6gRIb",
@@ -8,7 +9,6 @@ var buttonStyles = {
8
9
  "mediumIconButton": "Button-module_mediumIconButton__PC35j",
9
10
  "largeIconButton": "Button-module_largeIconButton__VtPZf",
10
11
  "secondary": "Button-module_secondary__D42kZ",
11
- "isDisabled": "Button-module_isDisabled__Q2KAS",
12
12
  "tertiary": "Button-module_tertiary__qL7wD",
13
13
  "primaryReversed": "Button-module_primaryReversed__Sa4YW",
14
14
  "secondaryReversed": "Button-module_secondaryReversed__u3qHz",
package/dist/styles.css CHANGED
@@ -5117,6 +5117,12 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs::-ms-thumb:not(:disa
5117
5117
  --button-border-color: var(--color-blue-700);
5118
5118
  }
5119
5119
 
5120
+ &.Button-module_isDisabled__Q2KAS {
5121
+ --button-bg-color: var(--color-gray-400);
5122
+ --button-border-color: var(--color-gray-400);
5123
+ --button-text-color: var(--color-white);
5124
+ }
5125
+
5120
5126
  &[data-focus-visible]::after {
5121
5127
  content: '';
5122
5128
  position: absolute;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaizen/components",
3
- "version": "1.73.11",
3
+ "version": "1.73.12",
4
4
  "description": "Kaizen component library",
5
5
  "author": "Geoffrey Chong <geoff.chong@cultureamp.com>",
6
6
  "homepage": "https://cultureamp.design",
@@ -47,6 +47,12 @@
47
47
  --button-border-color: var(--color-blue-700);
48
48
  }
49
49
 
50
+ &.isDisabled {
51
+ --button-bg-color: var(--color-gray-400);
52
+ --button-border-color: var(--color-gray-400);
53
+ --button-text-color: var(--color-white);
54
+ }
55
+
50
56
  &[data-focus-visible]::after {
51
57
  content: '';
52
58
  position: absolute;