@7shifts/sous-chef 3.86.3 → 3.86.4
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/dist/index.modern.js
CHANGED
|
@@ -10434,19 +10434,22 @@ const ActionListItem = ({
|
|
|
10434
10434
|
}) => {
|
|
10435
10435
|
const iconColor = () => {
|
|
10436
10436
|
if (_theme === 'info') {
|
|
10437
|
-
return _disabled ? '
|
|
10437
|
+
return _disabled ? 'surface-on-color-disabled' : 'info-color';
|
|
10438
10438
|
}
|
|
10439
10439
|
if (_theme === 'warning') {
|
|
10440
|
-
return _disabled ? '
|
|
10440
|
+
return _disabled ? 'surface-on-color-disabled' : 'warning-color';
|
|
10441
10441
|
}
|
|
10442
10442
|
if (_theme === 'success') {
|
|
10443
|
-
return _disabled ? '
|
|
10443
|
+
return _disabled ? 'surface-on-color-disabled' : 'success-color';
|
|
10444
10444
|
}
|
|
10445
10445
|
if (_theme === 'danger') {
|
|
10446
|
-
return _disabled ? '
|
|
10446
|
+
return _disabled ? 'surface-on-color-disabled' : 'danger-color';
|
|
10447
10447
|
}
|
|
10448
10448
|
if (_theme === 'upsell') {
|
|
10449
|
-
return _disabled ? '
|
|
10449
|
+
return _disabled ? 'surface-on-color-disabled' : 'upsell-color';
|
|
10450
|
+
}
|
|
10451
|
+
if (_theme === 'neutral') {
|
|
10452
|
+
return _disabled ? 'surface-on-color-disabled' : 'neutral-color';
|
|
10450
10453
|
}
|
|
10451
10454
|
return undefined;
|
|
10452
10455
|
};
|