@7shifts/sous-chef 3.86.2 → 3.86.3

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
@@ -6943,7 +6943,7 @@ var useTextField = function useTextField(_ref) {
6943
6943
  };
6944
6944
  };
6945
6945
 
6946
- var styles$18 = {"affix-container":"_F8QOB","affix-container--prefixed":"_vU4SU","affix-container--suffixed":"_4rDXi","prefix":"_yPPIy","suffix":"_Y3yFd"};
6946
+ var styles$18 = {"affix-container":"_F8QOB","prefix":"_yPPIy","suffix":"_Y3yFd","affix-container--prefixed":"_vU4SU","affix-container--suffixed":"_4rDXi"};
6947
6947
 
6948
6948
  var AffixContainer = function AffixContainer(_ref) {
6949
6949
  var _classnames;
@@ -7007,7 +7007,7 @@ var TimeFieldInput = function TimeFieldInput(_ref) {
7007
7007
  return React__default["default"].createElement(AffixContainer, {
7008
7008
  prefix: prefix ? prefix : React__default["default"].createElement(IconClock, {
7009
7009
  size: "medium",
7010
- color: "surface-on-color-subtle"
7010
+ color: "currentColor"
7011
7011
  }),
7012
7012
  suffix: duration
7013
7013
  }, React__default["default"].createElement("input", _extends({}, inputProps, {
@@ -10433,7 +10433,7 @@ var getSelectStyles = function getSelectStyles(_ref) {
10433
10433
  },
10434
10434
  placeholder: function placeholder(base, state) {
10435
10435
  return _extends({}, base, {
10436
- color: state.isDisabled && asToolbarFilter ? COLORS['surface-on-color-disabled'] : COLORS['surface-on-color-subtle'],
10436
+ color: state.isDisabled ? COLORS['surface-on-container-disabled'] : COLORS['surface-on-color-subtle'],
10437
10437
  marginRight: 0,
10438
10438
  position: 'static',
10439
10439
  transform: 'initial',
@@ -10462,7 +10462,7 @@ var getSelectStyles = function getSelectStyles(_ref) {
10462
10462
  },
10463
10463
  singleValue: function singleValue(base, state) {
10464
10464
  return Object.assign({}, base, {
10465
- color: state.isDisabled ? COLORS['surface-on-color-disabled'] : null,
10465
+ color: state.isDisabled ? COLORS['surface-on-container-disabled'] : null,
10466
10466
  marginRight: 0,
10467
10467
  position: asToolbarFilter ? 'static' : 'absolute',
10468
10468
  transform: 'initial',
@@ -10474,7 +10474,7 @@ var getSelectStyles = function getSelectStyles(_ref) {
10474
10474
  },
10475
10475
  dropdownIndicator: function dropdownIndicator(base, state) {
10476
10476
  return Object.assign({}, base, {
10477
- color: state.isDisabled ? COLORS['surface-on-color-disabled'] : COLORS['surface-on-color-subtle'],
10477
+ color: state.isDisabled ? COLORS['surface-on-container-disabled'] : COLORS['surface-on-color-subtle'],
10478
10478
  padding: '8px',
10479
10479
  ':hover': 'none'
10480
10480
  });
@@ -10494,15 +10494,15 @@ var getSelectStyles = function getSelectStyles(_ref) {
10494
10494
  fontFamily: FONT_FAMILY
10495
10495
  });
10496
10496
  },
10497
- multiValue: function multiValue(base) {
10497
+ multiValue: function multiValue(base, state) {
10498
10498
  return Object.assign({}, base, {
10499
10499
  backgroundColor: COLORS['surface-container-high'],
10500
- color: COLORS['surface-on-color-subtle']
10500
+ color: state.isDisabled ? COLORS['surface-on-container-disabled'] : COLORS['surface-on-color-subtle']
10501
10501
  });
10502
10502
  },
10503
- multiValueLabel: function multiValueLabel(base) {
10503
+ multiValueLabel: function multiValueLabel(base, state) {
10504
10504
  return Object.assign({}, base, {
10505
- color: COLORS['surface-on-color-subtle']
10505
+ color: state.isDisabled ? COLORS['surface-on-container-disabled'] : COLORS['surface-on-color-subtle']
10506
10506
  });
10507
10507
  },
10508
10508
  multiValueRemove: function multiValueRemove(base) {
@@ -11912,9 +11912,9 @@ var PasswordField = function PasswordField(_ref) {
11912
11912
  tabIndex: 0,
11913
11913
  role: "button"
11914
11914
  }, type === 'password' ? React__default["default"].createElement(IconEyeSlash, {
11915
- color: "surface-on-color-subtle"
11915
+ color: "currentColor"
11916
11916
  }) : React__default["default"].createElement(IconEye, {
11917
- color: "surface-on-color-subtle"
11917
+ color: "currentColor"
11918
11918
  }))));
11919
11919
  };
11920
11920
 
@@ -12623,7 +12623,7 @@ var DateRangeField = function DateRangeField(_ref) {
12623
12623
  "data-testid": testId
12624
12624
  }, React__default["default"].createElement(IconCalendarAlt, {
12625
12625
  size: "medium",
12626
- color: "surface-on-color-subtle"
12626
+ color: "currentColor"
12627
12627
  }), React__default["default"].createElement(FromDate, {
12628
12628
  name: name,
12629
12629
  id: controllers.id,
@@ -14261,7 +14261,7 @@ var CountrySelector = function CountrySelector(_ref) {
14261
14261
  }, React__default["default"].createElement("span", {
14262
14262
  className: classnames__default["default"](flagIcons['fi'], flagIcons["fi-" + country.toLocaleLowerCase()], styles$7['country-selector__trigger-flag'])
14263
14263
  }), React__default["default"].createElement(IconChevronDown, {
14264
- color: "surface-on-color-subtle",
14264
+ color: "currentColor",
14265
14265
  size: "medium"
14266
14266
  }))),
14267
14267
  maxHeight: 300,