@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.js
CHANGED
|
@@ -10227,19 +10227,22 @@ var ActionListItem = function ActionListItem(_ref) {
|
|
|
10227
10227
|
testId = _ref.testId;
|
|
10228
10228
|
var iconColor = function iconColor() {
|
|
10229
10229
|
if (theme === 'info') {
|
|
10230
|
-
return disabled ? '
|
|
10230
|
+
return disabled ? 'surface-on-color-disabled' : 'info-color';
|
|
10231
10231
|
}
|
|
10232
10232
|
if (theme === 'warning') {
|
|
10233
|
-
return disabled ? '
|
|
10233
|
+
return disabled ? 'surface-on-color-disabled' : 'warning-color';
|
|
10234
10234
|
}
|
|
10235
10235
|
if (theme === 'success') {
|
|
10236
|
-
return disabled ? '
|
|
10236
|
+
return disabled ? 'surface-on-color-disabled' : 'success-color';
|
|
10237
10237
|
}
|
|
10238
10238
|
if (theme === 'danger') {
|
|
10239
|
-
return disabled ? '
|
|
10239
|
+
return disabled ? 'surface-on-color-disabled' : 'danger-color';
|
|
10240
10240
|
}
|
|
10241
10241
|
if (theme === 'upsell') {
|
|
10242
|
-
return disabled ? '
|
|
10242
|
+
return disabled ? 'surface-on-color-disabled' : 'upsell-color';
|
|
10243
|
+
}
|
|
10244
|
+
if (theme === 'neutral') {
|
|
10245
|
+
return disabled ? 'surface-on-color-disabled' : 'neutral-color';
|
|
10243
10246
|
}
|
|
10244
10247
|
return undefined;
|
|
10245
10248
|
};
|