@7shifts/sous-chef 3.53.1 → 3.54.0
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.css +3 -0
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/media/Pill/constants.d.ts +1 -0
- package/dist/media/Pill/types.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -13345,14 +13345,15 @@ var Chip = function Chip(_ref) {
|
|
|
13345
13345
|
}, children);
|
|
13346
13346
|
};
|
|
13347
13347
|
|
|
13348
|
-
var styles$1i = {"pill":"_1vA9B","pill--default":"_2mTVo","pill--success":"_3CYqE","pill--danger":"_1WFdK","pill--warning":"_1Mp_n","pill--info":"_10zFn"};
|
|
13348
|
+
var styles$1i = {"pill":"_1vA9B","pill--default":"_2mTVo","pill--success":"_3CYqE","pill--danger":"_1WFdK","pill--warning":"_1Mp_n","pill--info":"_10zFn","pill--upsell":"_PfRFD"};
|
|
13349
13349
|
|
|
13350
13350
|
var PILL_THEME = {
|
|
13351
13351
|
INFO: 'info',
|
|
13352
13352
|
SUCCESS: 'success',
|
|
13353
13353
|
DANGER: 'danger',
|
|
13354
13354
|
WARNING: 'warning',
|
|
13355
|
-
DEFAULT: 'default'
|
|
13355
|
+
DEFAULT: 'default',
|
|
13356
|
+
UPSELL: 'upsell'
|
|
13356
13357
|
};
|
|
13357
13358
|
|
|
13358
13359
|
var Pill = function Pill(_ref) {
|
|
@@ -13363,7 +13364,7 @@ var Pill = function Pill(_ref) {
|
|
|
13363
13364
|
testId = _ref.testId;
|
|
13364
13365
|
return React__default.createElement("div", {
|
|
13365
13366
|
"data-testid": testId,
|
|
13366
|
-
className: classnames(styles$1i['pill'], (_classnames = {}, _classnames[styles$1i['pill--default']] = theme === PILL_THEME.DEFAULT, _classnames[styles$1i['pill--warning']] = theme === PILL_THEME.WARNING, _classnames[styles$1i['pill--success']] = theme === PILL_THEME.SUCCESS, _classnames[styles$1i['pill--danger']] = theme === PILL_THEME.DANGER, _classnames[styles$1i['pill--info']] = theme === PILL_THEME.INFO, _classnames))
|
|
13367
|
+
className: classnames(styles$1i['pill'], (_classnames = {}, _classnames[styles$1i['pill--default']] = theme === PILL_THEME.DEFAULT, _classnames[styles$1i['pill--warning']] = theme === PILL_THEME.WARNING, _classnames[styles$1i['pill--success']] = theme === PILL_THEME.SUCCESS, _classnames[styles$1i['pill--danger']] = theme === PILL_THEME.DANGER, _classnames[styles$1i['pill--info']] = theme === PILL_THEME.INFO, _classnames[styles$1i['pill--upsell']] = theme === PILL_THEME.UPSELL, _classnames))
|
|
13367
13368
|
}, children);
|
|
13368
13369
|
};
|
|
13369
13370
|
|