@7shifts/sous-chef 3.53.1 → 3.54.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/dist/index.css CHANGED
@@ -4859,6 +4859,9 @@ input._1zowl {
4859
4859
  ._10zFn {
4860
4860
  background-color: var(--color-blueberry-200);
4861
4861
  }
4862
+ ._PfRFD {
4863
+ background-color: var(--color-eggplant-200);
4864
+ }
4862
4865
  ._1AdW7 {
4863
4866
  display: flex;
4864
4867
  flex-direction: row;
package/dist/index.js CHANGED
@@ -13349,27 +13349,32 @@ 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
- var Pill = function Pill(_ref) {
13363
+ var _excluded$2P = ["children", "theme", "testId"];
13364
+ var PillElement = function PillElement(_ref, forwardedRef) {
13363
13365
  var _classnames;
13364
13366
  var children = _ref.children,
13365
13367
  _ref$theme = _ref.theme,
13366
13368
  theme = _ref$theme === void 0 ? PILL_THEME.DEFAULT : _ref$theme,
13367
- testId = _ref.testId;
13368
- return React__default.createElement("div", {
13369
+ testId = _ref.testId,
13370
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$2P);
13371
+ return React__default.createElement("div", _extends({
13369
13372
  "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
- }, children);
13373
+ ref: forwardedRef,
13374
+ 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))
13375
+ }, rest), children);
13372
13376
  };
13377
+ var Pill = React.forwardRef(PillElement);
13373
13378
 
13374
13379
  var EMPTY_STATE_SIZE = {
13375
13380
  SMALL: 'small',