@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.css
CHANGED
package/dist/index.js
CHANGED
|
@@ -13349,14 +13349,15 @@ var Chip = function Chip(_ref) {
|
|
|
13349
13349
|
}, children);
|
|
13350
13350
|
};
|
|
13351
13351
|
|
|
13352
|
-
var styles$1i = {"pill":"_1vA9B","pill--default":"_2mTVo","pill--success":"_3CYqE","pill--danger":"_1WFdK","pill--warning":"_1Mp_n","pill--info":"_10zFn"};
|
|
13352
|
+
var styles$1i = {"pill":"_1vA9B","pill--default":"_2mTVo","pill--success":"_3CYqE","pill--danger":"_1WFdK","pill--warning":"_1Mp_n","pill--info":"_10zFn","pill--upsell":"_PfRFD"};
|
|
13353
13353
|
|
|
13354
13354
|
var PILL_THEME = {
|
|
13355
13355
|
INFO: 'info',
|
|
13356
13356
|
SUCCESS: 'success',
|
|
13357
13357
|
DANGER: 'danger',
|
|
13358
13358
|
WARNING: 'warning',
|
|
13359
|
-
DEFAULT: 'default'
|
|
13359
|
+
DEFAULT: 'default',
|
|
13360
|
+
UPSELL: 'upsell'
|
|
13360
13361
|
};
|
|
13361
13362
|
|
|
13362
13363
|
var Pill = function Pill(_ref) {
|
|
@@ -13367,7 +13368,7 @@ var Pill = function Pill(_ref) {
|
|
|
13367
13368
|
testId = _ref.testId;
|
|
13368
13369
|
return React__default.createElement("div", {
|
|
13369
13370
|
"data-testid": testId,
|
|
13370
|
-
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))
|
|
13371
|
+
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))
|
|
13371
13372
|
}, children);
|
|
13372
13373
|
};
|
|
13373
13374
|
|