@designcrowd/fe-shared-lib 1.1.10-ast-btn-group → 1.1.10-ast-disabled-1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@designcrowd/fe-shared-lib",
3
- "version": "1.1.10-ast-btn-group",
3
+ "version": "1.1.10-ast-disabled-1",
4
4
  "scripts": {
5
5
  "start": "npm run storybook",
6
6
  "build": "npm run build:css --production",
@@ -1020,6 +1020,9 @@ video {
1020
1020
  .theme-brandCrowd .tw-animate-spin {
1021
1021
  animation: tw-spin 1s linear infinite;
1022
1022
  }
1023
+ .\!tw-cursor-not-allowed {
1024
+ cursor: not-allowed !important;
1025
+ }
1023
1026
  .theme-brandCrowd .tw-cursor-not-allowed {
1024
1027
  cursor: not-allowed;
1025
1028
  }
@@ -1161,9 +1164,6 @@ video {
1161
1164
  .theme-brandCrowd .tw-rounded-sm {
1162
1165
  border-radius: 0.125rem;
1163
1166
  }
1164
- .theme-brandCrowd .tw-rounded-xl {
1165
- border-radius: 0.75rem;
1166
- }
1167
1167
  .\!tw-rounded-l-none {
1168
1168
  border-top-left-radius: 0px !important;
1169
1169
  border-bottom-left-radius: 0px !important;
@@ -1020,6 +1020,9 @@ video {
1020
1020
  .theme-brandPage .tw-animate-spin {
1021
1021
  animation: tw-spin 1s linear infinite;
1022
1022
  }
1023
+ .\!tw-cursor-not-allowed {
1024
+ cursor: not-allowed !important;
1025
+ }
1023
1026
  .theme-brandPage .tw-cursor-not-allowed {
1024
1027
  cursor: not-allowed;
1025
1028
  }
@@ -1161,9 +1164,6 @@ video {
1161
1164
  .theme-brandPage .tw-rounded-sm {
1162
1165
  border-radius: 0.125rem;
1163
1166
  }
1164
- .theme-brandPage .tw-rounded-xl {
1165
- border-radius: 0.75rem;
1166
- }
1167
1167
  .\!tw-rounded-l-none {
1168
1168
  border-top-left-radius: 0px !important;
1169
1169
  border-bottom-left-radius: 0px !important;
@@ -1020,6 +1020,9 @@ video {
1020
1020
  .theme-crazyDomains .tw-animate-spin {
1021
1021
  animation: tw-spin 1s linear infinite;
1022
1022
  }
1023
+ .\!tw-cursor-not-allowed {
1024
+ cursor: not-allowed !important;
1025
+ }
1023
1026
  .theme-crazyDomains .tw-cursor-not-allowed {
1024
1027
  cursor: not-allowed;
1025
1028
  }
@@ -1161,9 +1164,6 @@ video {
1161
1164
  .theme-crazyDomains .tw-rounded-sm {
1162
1165
  border-radius: 0.125rem;
1163
1166
  }
1164
- .theme-crazyDomains .tw-rounded-xl {
1165
- border-radius: 0.75rem;
1166
- }
1167
1167
  .\!tw-rounded-l-none {
1168
1168
  border-top-left-radius: 0px !important;
1169
1169
  border-bottom-left-radius: 0px !important;
@@ -1020,6 +1020,9 @@ video {
1020
1020
  .theme-designCom .tw-animate-spin {
1021
1021
  animation: tw-spin 1s linear infinite;
1022
1022
  }
1023
+ .\!tw-cursor-not-allowed {
1024
+ cursor: not-allowed !important;
1025
+ }
1023
1026
  .theme-designCom .tw-cursor-not-allowed {
1024
1027
  cursor: not-allowed;
1025
1028
  }
@@ -1161,9 +1164,6 @@ video {
1161
1164
  .theme-designCom .tw-rounded-sm {
1162
1165
  border-radius: 0.125rem;
1163
1166
  }
1164
- .theme-designCom .tw-rounded-xl {
1165
- border-radius: 0.1rem;
1166
- }
1167
1167
  .\!tw-rounded-l-none {
1168
1168
  border-top-left-radius: 0px !important;
1169
1169
  border-bottom-left-radius: 0px !important;
@@ -1020,6 +1020,9 @@ video {
1020
1020
  .theme-designCrowd .tw-animate-spin {
1021
1021
  animation: tw-spin 1s linear infinite;
1022
1022
  }
1023
+ .\!tw-cursor-not-allowed {
1024
+ cursor: not-allowed !important;
1025
+ }
1023
1026
  .theme-designCrowd .tw-cursor-not-allowed {
1024
1027
  cursor: not-allowed;
1025
1028
  }
@@ -1161,9 +1164,6 @@ video {
1161
1164
  .theme-designCrowd .tw-rounded-sm {
1162
1165
  border-radius: 0.125rem;
1163
1166
  }
1164
- .theme-designCrowd .tw-rounded-xl {
1165
- border-radius: 0.75rem;
1166
- }
1167
1167
  .\!tw-rounded-l-none {
1168
1168
  border-top-left-radius: 0px !important;
1169
1169
  border-bottom-left-radius: 0px !important;
@@ -21,6 +21,7 @@ export const Sample = () => {
21
21
  {
22
22
  label: 'Medium',
23
23
  value: 'medium',
24
+ disabled: true,
24
25
  },
25
26
  {
26
27
  label: 'Large',
@@ -13,7 +13,7 @@
13
13
  '!tw-shadow-[0_0_0_2px] !tw-shadow-info-500': option.isSelected && !option.disabled,
14
14
  '!tw-shadow-[0_0_0_1px] !tw-shadow-secondary-200': !option.isSelected && !option.disabled,
15
15
  'hover:!tw-shadow-info-500': !option.isSelected && !option.disabled,
16
- 'tw-opacity-50 !tw-cursor-not-allowed !tw-shadow-secondary-200': option.disabled,
16
+ 'tw-opacity-50 !tw-cursor-not-allowed !tw-shadow-[0_0_0_1px] !tw-shadow-secondary-200': option.disabled,
17
17
  }"
18
18
  :disabled="option.disabled"
19
19
  v-bind="option.dataAttribute ? { [option.dataAttribute]: '' } : {}"
@@ -41,7 +41,7 @@
41
41
  '!tw-shadow-[0_0_0_2px] !tw-shadow-info-500': option.isSelected && !option.disabled,
42
42
  '!tw-shadow-[0_0_0_1px] !tw-shadow-secondary-200': !option.isSelected && !option.disabled,
43
43
  'hover:!tw-shadow-info-500': !option.isSelected && !option.disabled,
44
- 'tw-opacity-50 !tw-cursor-not-allowed !tw-shadow-secondary-200': option.disabled,
44
+ 'tw-opacity-50 !tw-cursor-not-allowed !tw-shadow-[0_0_0_1px] !tw-shadow-secondary-200': option.disabled,
45
45
  'tw-px-2': !option.iconViewBox,
46
46
  'tw-px-px':
47
47
  option.iconViewBox && !option.isSelected && !option.iconName.includes('display-style') && btnStyleVariant, // TODO - move style logic to computed prop
@@ -76,7 +76,7 @@
76
76
  '!tw-shadow-[0_0_0_2px] !tw-shadow-info-500': option.isSelected && !option.disabled,
77
77
  '!tw-shadow-[0_0_0_1px] !tw-shadow-secondary-200': !option.isSelected && !option.disabled,
78
78
  'hover:!tw-shadow-info-500': !option.isSelected && !option.disabled,
79
- 'tw-opacity-50 !tw-cursor-not-allowed !tw-shadow-secondary-200': option.disabled,
79
+ 'tw-opacity-50 !tw-cursor-not-allowed !tw-shadow-[0_0_0_1px] !tw-shadow-secondary-200': option.disabled,
80
80
  }"
81
81
  :disabled="option.disabled"
82
82
  class="tw-text-xs button-group-image-button tw-shadow-inner"
@@ -102,7 +102,7 @@
102
102
  '!tw-shadow-[0_0_0_2px] !tw-shadow-info-500': option.isSelected && !option.disabled,
103
103
  '!tw-shadow-[0_0_0_1px] !tw-shadow-secondary-200': !option.isSelected && !option.disabled,
104
104
  'hover:!tw-shadow-info-500': !option.isSelected && !option.disabled,
105
- 'tw-opacity-50 !tw-cursor-not-allowed !tw-shadow-secondary-200': option.disabled,
105
+ 'tw-opacity-50 !tw-cursor-not-allowed !tw-shadow-[0_0_0_1px] !tw-shadow-secondary-200': option.disabled,
106
106
  }"
107
107
  :disabled="option.disabled"
108
108
  class="tw-text-xs button-group-button tw-shadow-inner"
@@ -202,10 +202,6 @@ export default {
202
202
  @apply tw-cursor-not-allowed tw-opacity-50;
203
203
  }
204
204
 
205
- .button-group-item:disabled:hover {
206
- @apply !tw-shadow-secondary-200;
207
- }
208
-
209
205
  /* Ensure disabled state overrides hover effects */
210
206
  .button-group-item:disabled {
211
207
  cursor: not-allowed !important;