@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.css +64 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +13 -13
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +13 -13
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -7103,7 +7103,7 @@ const useTextField = _ref => {
|
|
|
7103
7103
|
};
|
|
7104
7104
|
};
|
|
7105
7105
|
|
|
7106
|
-
var styles$18 = {"affix-container":"_F8QOB","affix-container--prefixed":"_vU4SU","affix-container--suffixed":"_4rDXi"
|
|
7106
|
+
var styles$18 = {"affix-container":"_F8QOB","prefix":"_yPPIy","suffix":"_Y3yFd","affix-container--prefixed":"_vU4SU","affix-container--suffixed":"_4rDXi"};
|
|
7107
7107
|
|
|
7108
7108
|
const AffixContainer = ({
|
|
7109
7109
|
prefix,
|
|
@@ -7171,7 +7171,7 @@ const TimeFieldInput = ({
|
|
|
7171
7171
|
return React__default.createElement(AffixContainer, {
|
|
7172
7172
|
prefix: prefix ? prefix : React__default.createElement(IconClock, {
|
|
7173
7173
|
size: "medium",
|
|
7174
|
-
color: "
|
|
7174
|
+
color: "currentColor"
|
|
7175
7175
|
}),
|
|
7176
7176
|
suffix: duration
|
|
7177
7177
|
}, React__default.createElement("input", _extends({}, inputProps, {
|
|
@@ -10650,7 +10650,7 @@ const getSelectStyles = ({
|
|
|
10650
10650
|
display: 'none'
|
|
10651
10651
|
}),
|
|
10652
10652
|
placeholder: (base, state) => _extends({}, base, {
|
|
10653
|
-
color: state.isDisabled
|
|
10653
|
+
color: state.isDisabled ? COLORS['surface-on-container-disabled'] : COLORS['surface-on-color-subtle'],
|
|
10654
10654
|
marginRight: 0,
|
|
10655
10655
|
position: 'static',
|
|
10656
10656
|
transform: 'initial',
|
|
@@ -10674,7 +10674,7 @@ const getSelectStyles = ({
|
|
|
10674
10674
|
}),
|
|
10675
10675
|
singleValue: (base, state) => {
|
|
10676
10676
|
return Object.assign({}, base, {
|
|
10677
|
-
color: state.isDisabled ? COLORS['surface-on-
|
|
10677
|
+
color: state.isDisabled ? COLORS['surface-on-container-disabled'] : null,
|
|
10678
10678
|
marginRight: 0,
|
|
10679
10679
|
position: _asToolbarFilter ? 'static' : 'absolute',
|
|
10680
10680
|
transform: 'initial',
|
|
@@ -10686,7 +10686,7 @@ const getSelectStyles = ({
|
|
|
10686
10686
|
},
|
|
10687
10687
|
dropdownIndicator: (base, state) => {
|
|
10688
10688
|
return Object.assign({}, base, {
|
|
10689
|
-
color: state.isDisabled ? COLORS['surface-on-
|
|
10689
|
+
color: state.isDisabled ? COLORS['surface-on-container-disabled'] : COLORS['surface-on-color-subtle'],
|
|
10690
10690
|
padding: '8px',
|
|
10691
10691
|
':hover': 'none'
|
|
10692
10692
|
});
|
|
@@ -10706,15 +10706,15 @@ const getSelectStyles = ({
|
|
|
10706
10706
|
fontFamily: FONT_FAMILY
|
|
10707
10707
|
});
|
|
10708
10708
|
},
|
|
10709
|
-
multiValue: base => {
|
|
10709
|
+
multiValue: (base, state) => {
|
|
10710
10710
|
return Object.assign({}, base, {
|
|
10711
10711
|
backgroundColor: COLORS['surface-container-high'],
|
|
10712
|
-
color: COLORS['surface-on-color-subtle']
|
|
10712
|
+
color: state.isDisabled ? COLORS['surface-on-container-disabled'] : COLORS['surface-on-color-subtle']
|
|
10713
10713
|
});
|
|
10714
10714
|
},
|
|
10715
|
-
multiValueLabel: base => {
|
|
10715
|
+
multiValueLabel: (base, state) => {
|
|
10716
10716
|
return Object.assign({}, base, {
|
|
10717
|
-
color: COLORS['surface-on-color-subtle']
|
|
10717
|
+
color: state.isDisabled ? COLORS['surface-on-container-disabled'] : COLORS['surface-on-color-subtle']
|
|
10718
10718
|
});
|
|
10719
10719
|
},
|
|
10720
10720
|
multiValueRemove: base => {
|
|
@@ -12091,9 +12091,9 @@ const PasswordField = ({
|
|
|
12091
12091
|
tabIndex: 0,
|
|
12092
12092
|
role: "button"
|
|
12093
12093
|
}, type === 'password' ? React__default.createElement(IconEyeSlash, {
|
|
12094
|
-
color: "
|
|
12094
|
+
color: "currentColor"
|
|
12095
12095
|
}) : React__default.createElement(IconEye, {
|
|
12096
|
-
color: "
|
|
12096
|
+
color: "currentColor"
|
|
12097
12097
|
}))));
|
|
12098
12098
|
};
|
|
12099
12099
|
|
|
@@ -12755,7 +12755,7 @@ const DateRangeField = ({
|
|
|
12755
12755
|
"data-testid": testId
|
|
12756
12756
|
}, React__default.createElement(IconCalendarAlt, {
|
|
12757
12757
|
size: "medium",
|
|
12758
|
-
color: "
|
|
12758
|
+
color: "currentColor"
|
|
12759
12759
|
}), React__default.createElement(FromDate, {
|
|
12760
12760
|
name: name,
|
|
12761
12761
|
id: controllers.id,
|
|
@@ -14360,7 +14360,7 @@ const CountrySelector = ({
|
|
|
14360
14360
|
}, React__default.createElement("span", {
|
|
14361
14361
|
className: classnames(flagIcons['fi'], flagIcons[`fi-${country.toLocaleLowerCase()}`], styles$7['country-selector__trigger-flag'])
|
|
14362
14362
|
}), React__default.createElement(IconChevronDown, {
|
|
14363
|
-
color: "
|
|
14363
|
+
color: "currentColor",
|
|
14364
14364
|
size: "medium"
|
|
14365
14365
|
}))),
|
|
14366
14366
|
maxHeight: 300,
|