@7shifts/sous-chef 3.53.0 → 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 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
@@ -13129,8 +13129,7 @@ var PhoneField$1 = function PhoneField(_ref) {
13129
13129
  }
13130
13130
  };
13131
13131
  var handlePhoneChange = function handlePhoneChange(e) {
13132
- var formatedPhone = new libphonenumberJs.AsYouType(selectedCountry).input(e.target.value);
13133
- e.target.value = formatedPhone;
13132
+ var formatedPhone = metaData.phone.length < e.target.value.length ? new libphonenumberJs.AsYouType(selectedCountry).input(e.target.value) : e.target.value;
13134
13133
  var internationalPhone = '';
13135
13134
  var parseError = null;
13136
13135
  try {
@@ -13350,14 +13349,15 @@ var Chip = function Chip(_ref) {
13350
13349
  }, children);
13351
13350
  };
13352
13351
 
13353
- 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"};
13354
13353
 
13355
13354
  var PILL_THEME = {
13356
13355
  INFO: 'info',
13357
13356
  SUCCESS: 'success',
13358
13357
  DANGER: 'danger',
13359
13358
  WARNING: 'warning',
13360
- DEFAULT: 'default'
13359
+ DEFAULT: 'default',
13360
+ UPSELL: 'upsell'
13361
13361
  };
13362
13362
 
13363
13363
  var Pill = function Pill(_ref) {
@@ -13368,7 +13368,7 @@ var Pill = function Pill(_ref) {
13368
13368
  testId = _ref.testId;
13369
13369
  return React__default.createElement("div", {
13370
13370
  "data-testid": testId,
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))
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))
13372
13372
  }, children);
13373
13373
  };
13374
13374