@mui/material 5.15.18 → 5.15.20
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/AlertTitle/AlertTitle.d.ts +2 -2
- package/Autocomplete/Autocomplete.js +32 -28
- package/CHANGELOG.md +82 -2
- package/Hidden/Hidden.d.ts +2 -0
- package/Hidden/Hidden.js +2 -0
- package/Pagination/Pagination.js +1 -1
- package/Slider/Slider.js +1 -1
- package/Tab/Tab.js +3 -1
- package/Tab/tabClasses.d.ts +1 -1
- package/index.js +1 -1
- package/legacy/Autocomplete/Autocomplete.js +16 -16
- package/legacy/Hidden/Hidden.js +2 -0
- package/legacy/Pagination/Pagination.js +1 -1
- package/legacy/Slider/Slider.js +1 -1
- package/legacy/Tab/Tab.js +5 -5
- package/legacy/index.js +1 -1
- package/legacy/styles/responsiveFontSizes.js +3 -0
- package/modern/Autocomplete/Autocomplete.js +32 -28
- package/modern/Hidden/Hidden.js +2 -0
- package/modern/Pagination/Pagination.js +1 -1
- package/modern/Slider/Slider.js +1 -1
- package/modern/Tab/Tab.js +3 -1
- package/modern/index.js +1 -1
- package/modern/styles/responsiveFontSizes.js +3 -0
- package/node/Autocomplete/Autocomplete.js +33 -29
- package/node/Hidden/Hidden.js +2 -0
- package/node/Pagination/Pagination.js +1 -1
- package/node/Slider/Slider.js +1 -1
- package/node/Tab/Tab.js +3 -1
- package/node/index.js +1 -1
- package/node/styles/responsiveFontSizes.js +3 -0
- package/package.json +5 -5
- package/styles/responsiveFontSizes.js +3 -0
- package/umd/material-ui.development.js +29 -27
- package/umd/material-ui.production.min.js +3 -3
- package/usePagination/usePagination.d.ts +1 -1
|
@@ -14,8 +14,7 @@ Object.defineProperty(exports, "createFilterOptions", {
|
|
|
14
14
|
exports.default = void 0;
|
|
15
15
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
16
16
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
17
|
-
var
|
|
18
|
-
var React = _react;
|
|
17
|
+
var React = _interopRequireWildcard(require("react"));
|
|
19
18
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
20
19
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
21
20
|
var _integerPropType = _interopRequireDefault(require("@mui/utils/integerPropType"));
|
|
@@ -41,7 +40,9 @@ var _useForkRef = _interopRequireDefault(require("../utils/useForkRef"));
|
|
|
41
40
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
42
41
|
var _ClearIcon, _ArrowDropDownIcon;
|
|
43
42
|
const _excluded = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "ChipProps", "className", "clearIcon", "clearOnBlur", "clearOnEscape", "clearText", "closeText", "componentsProps", "defaultValue", "disableClearable", "disableCloseOnSelect", "disabled", "disabledItemsFocusable", "disableListWrap", "disablePortal", "filterOptions", "filterSelectedOptions", "forcePopupIcon", "freeSolo", "fullWidth", "getLimitTagsText", "getOptionDisabled", "getOptionKey", "getOptionLabel", "isOptionEqualToValue", "groupBy", "handleHomeEndKeys", "id", "includeInputInList", "inputValue", "limitTags", "ListboxComponent", "ListboxProps", "loading", "loadingText", "multiple", "noOptionsText", "onChange", "onClose", "onHighlightChange", "onInputChange", "onOpen", "open", "openOnFocus", "openText", "options", "PaperComponent", "PopperComponent", "popupIcon", "readOnly", "renderGroup", "renderInput", "renderOption", "renderTags", "selectOnFocus", "size", "slotProps", "value"],
|
|
44
|
-
_excluded2 = ["ref"]
|
|
43
|
+
_excluded2 = ["ref"],
|
|
44
|
+
_excluded3 = ["key"],
|
|
45
|
+
_excluded4 = ["key"];
|
|
45
46
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
46
47
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
47
48
|
const useThemeProps = (0, _zeroStyled.createUseThemeProps)('MuiAutocomplete');
|
|
@@ -104,6 +105,15 @@ const AutocompleteRoot = (0, _zeroStyled.styled)('div', {
|
|
|
104
105
|
}, styles.root, fullWidth && styles.fullWidth, hasPopupIcon && styles.hasPopupIcon, hasClearIcon && styles.hasClearIcon];
|
|
105
106
|
}
|
|
106
107
|
})({
|
|
108
|
+
[`&.${_autocompleteClasses.default.focused} .${_autocompleteClasses.default.clearIndicator}`]: {
|
|
109
|
+
visibility: 'visible'
|
|
110
|
+
},
|
|
111
|
+
/* Avoid double tap issue on iOS */
|
|
112
|
+
'@media (pointer: fine)': {
|
|
113
|
+
[`&:hover .${_autocompleteClasses.default.clearIndicator}`]: {
|
|
114
|
+
visibility: 'visible'
|
|
115
|
+
}
|
|
116
|
+
},
|
|
107
117
|
[`& .${_autocompleteClasses.default.tag}`]: {
|
|
108
118
|
margin: 3,
|
|
109
119
|
maxWidth: 'calc(100% - 6px)'
|
|
@@ -120,23 +130,6 @@ const AutocompleteRoot = (0, _zeroStyled.styled)('div', {
|
|
|
120
130
|
minWidth: 30
|
|
121
131
|
}
|
|
122
132
|
},
|
|
123
|
-
[`&.${_autocompleteClasses.default.focused}`]: {
|
|
124
|
-
[`& .${_autocompleteClasses.default.clearIndicator}`]: {
|
|
125
|
-
visibility: 'visible'
|
|
126
|
-
},
|
|
127
|
-
[`& .${_autocompleteClasses.default.input}`]: {
|
|
128
|
-
minWidth: 0
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
/* Avoid double tap issue on iOS */
|
|
132
|
-
'@media (pointer: fine)': {
|
|
133
|
-
[`&:hover .${_autocompleteClasses.default.clearIndicator}`]: {
|
|
134
|
-
visibility: 'visible'
|
|
135
|
-
},
|
|
136
|
-
[`&:hover .${_autocompleteClasses.default.input}`]: {
|
|
137
|
-
minWidth: 0
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
133
|
[`& .${_inputClasses.default.root}`]: {
|
|
141
134
|
paddingBottom: 1,
|
|
142
135
|
'& .MuiInput-input': {
|
|
@@ -553,12 +546,19 @@ const Autocomplete = /*#__PURE__*/React.forwardRef(function Autocomplete(inProps
|
|
|
553
546
|
if (renderTags) {
|
|
554
547
|
startAdornment = renderTags(value, getCustomizedTagProps, ownerState);
|
|
555
548
|
} else {
|
|
556
|
-
startAdornment = value.map((option, index) =>
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
549
|
+
startAdornment = value.map((option, index) => {
|
|
550
|
+
const _getCustomizedTagProp = getCustomizedTagProps({
|
|
551
|
+
index
|
|
552
|
+
}),
|
|
553
|
+
{
|
|
554
|
+
key
|
|
555
|
+
} = _getCustomizedTagProp,
|
|
556
|
+
customTagProps = (0, _objectWithoutPropertiesLoose2.default)(_getCustomizedTagProp, _excluded3);
|
|
557
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Chip.default, (0, _extends2.default)({
|
|
558
|
+
label: getOptionLabel(option),
|
|
559
|
+
size: size
|
|
560
|
+
}, customTagProps, ChipProps), key);
|
|
561
|
+
});
|
|
562
562
|
}
|
|
563
563
|
}
|
|
564
564
|
if (limitTags > -1 && Array.isArray(startAdornment)) {
|
|
@@ -586,9 +586,13 @@ const Autocomplete = /*#__PURE__*/React.forwardRef(function Autocomplete(inProps
|
|
|
586
586
|
const renderGroup = renderGroupProp || defaultRenderGroup;
|
|
587
587
|
const defaultRenderOption = (props2, option) => {
|
|
588
588
|
// Need to clearly apply key because of https://github.com/vercel/next.js/issues/55642
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
589
|
+
const {
|
|
590
|
+
key
|
|
591
|
+
} = props2,
|
|
592
|
+
otherProps = (0, _objectWithoutPropertiesLoose2.default)(props2, _excluded4);
|
|
593
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("li", (0, _extends2.default)({}, otherProps, {
|
|
594
|
+
children: getOptionLabel(option)
|
|
595
|
+
}), key);
|
|
592
596
|
};
|
|
593
597
|
const renderOption = renderOptionProp || defaultRenderOption;
|
|
594
598
|
const renderListOption = (option, index) => {
|
package/node/Hidden/Hidden.js
CHANGED
|
@@ -16,6 +16,8 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
16
16
|
const _excluded = ["implementation", "lgDown", "lgUp", "mdDown", "mdUp", "smDown", "smUp", "xlDown", "xlUp", "xsDown", "xsUp"];
|
|
17
17
|
/**
|
|
18
18
|
* Responsively hides children based on the selected implementation.
|
|
19
|
+
*
|
|
20
|
+
* @deprecated The Hidden component was deprecated in Material UI v5. To learn more, see [the Hidden section](/material-ui/migration/v5-component-changes/#hidden) of the migration docs.
|
|
19
21
|
*/
|
|
20
22
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
21
23
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
@@ -201,7 +201,7 @@ process.env.NODE_ENV !== "production" ? Pagination.propTypes /* remove-proptypes
|
|
|
201
201
|
*/
|
|
202
202
|
onChange: _propTypes.default.func,
|
|
203
203
|
/**
|
|
204
|
-
* The current page.
|
|
204
|
+
* The current page. Unlike `TablePagination`, which starts numbering from `0`, this pagination starts from `1`.
|
|
205
205
|
*/
|
|
206
206
|
page: _integerPropType.default,
|
|
207
207
|
/**
|
package/node/Slider/Slider.js
CHANGED
|
@@ -344,7 +344,7 @@ const SliderThumb = exports.SliderThumb = (0, _zeroStyled.styled)('span', {
|
|
|
344
344
|
}
|
|
345
345
|
}),
|
|
346
346
|
[`&.${_sliderClasses.default.active}`]: (0, _extends2.default)({}, theme.vars ? {
|
|
347
|
-
boxShadow: `0px 0px 0px 14px rgba(${theme.vars.palette[color].mainChannel} / 0.16)
|
|
347
|
+
boxShadow: `0px 0px 0px 14px rgba(${theme.vars.palette[color].mainChannel} / 0.16)`
|
|
348
348
|
} : {
|
|
349
349
|
boxShadow: `0px 0px 0px 14px ${(0, _colorManipulator.alpha)(theme.palette[color].main, 0.16)}`
|
|
350
350
|
})
|
package/node/Tab/Tab.js
CHANGED
|
@@ -46,7 +46,9 @@ const TabRoot = (0, _styled.default)(_ButtonBase.default, {
|
|
|
46
46
|
const {
|
|
47
47
|
ownerState
|
|
48
48
|
} = props;
|
|
49
|
-
return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles[`textColor${(0, _capitalize.default)(ownerState.textColor)}`], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped
|
|
49
|
+
return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles[`textColor${(0, _capitalize.default)(ownerState.textColor)}`], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped, {
|
|
50
|
+
[`& .${_tabClasses.default.iconWrapper}`]: styles.iconWrapper
|
|
51
|
+
}];
|
|
50
52
|
}
|
|
51
53
|
})(({
|
|
52
54
|
theme,
|
package/node/index.js
CHANGED
|
@@ -25,6 +25,9 @@ function responsiveFontSizes(themeInput, options = {}) {
|
|
|
25
25
|
const breakpointValues = breakpoints.map(x => theme.breakpoints.values[x]);
|
|
26
26
|
variants.forEach(variant => {
|
|
27
27
|
const style = typography[variant];
|
|
28
|
+
if (!style) {
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
28
31
|
const remFontSize = parseFloat(convert(style.fontSize, 'rem'));
|
|
29
32
|
if (remFontSize <= 1) {
|
|
30
33
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/material",
|
|
3
|
-
"version": "5.15.
|
|
3
|
+
"version": "5.15.20",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.",
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"prop-types": "^15.8.1",
|
|
35
35
|
"react-is": "^18.2.0",
|
|
36
36
|
"react-transition-group": "^4.4.5",
|
|
37
|
-
"@mui/
|
|
37
|
+
"@mui/system": "^5.15.20",
|
|
38
38
|
"@mui/types": "^7.2.14",
|
|
39
|
-
"@mui/
|
|
40
|
-
"@mui/
|
|
41
|
-
"@mui/
|
|
39
|
+
"@mui/utils": "^5.15.20",
|
|
40
|
+
"@mui/core-downloads-tracker": "^5.15.20",
|
|
41
|
+
"@mui/base": "5.0.0-beta.40"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"@emotion/react": "^11.5.0",
|
|
@@ -18,6 +18,9 @@ export default function responsiveFontSizes(themeInput, options = {}) {
|
|
|
18
18
|
const breakpointValues = breakpoints.map(x => theme.breakpoints.values[x]);
|
|
19
19
|
variants.forEach(variant => {
|
|
20
20
|
const style = typography[variant];
|
|
21
|
+
if (!style) {
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
21
24
|
const remFontSize = parseFloat(convert(style.fontSize, 'rem'));
|
|
22
25
|
if (remFontSize <= 1) {
|
|
23
26
|
return;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/material v5.15.
|
|
2
|
+
* @mui/material v5.15.20
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
@@ -5065,11 +5065,9 @@
|
|
|
5065
5065
|
var output = options.clone ? _extends({}, target) : target;
|
|
5066
5066
|
if (isPlainObject(target) && isPlainObject(source)) {
|
|
5067
5067
|
Object.keys(source).forEach(function (key) {
|
|
5068
|
+
if (isPlainObject(source[key]) &&
|
|
5068
5069
|
// Avoid prototype pollution
|
|
5069
|
-
|
|
5070
|
-
return;
|
|
5071
|
-
}
|
|
5072
|
-
if (isPlainObject(source[key]) && key in target && isPlainObject(target[key])) {
|
|
5070
|
+
Object.prototype.hasOwnProperty.call(target, key) && isPlainObject(target[key])) {
|
|
5073
5071
|
// Since `output` is a clone of `target` and we have narrowed `target` in this block we can cast to the same type.
|
|
5074
5072
|
output[key] = deepmerge(target[key], source[key], options);
|
|
5075
5073
|
} else if (options.clone) {
|
|
@@ -7978,7 +7976,7 @@
|
|
|
7978
7976
|
var _React$useRef2 = React__namespace.useRef(defaultProp),
|
|
7979
7977
|
defaultValue = _React$useRef2.current;
|
|
7980
7978
|
React__namespace.useEffect(function () {
|
|
7981
|
-
if (!isControlled && defaultValue
|
|
7979
|
+
if (!isControlled && !Object.is(defaultValue, defaultProp)) {
|
|
7982
7980
|
console.error(["MUI: A component is changing the default ".concat(state, " state of an uncontrolled ").concat(name, " after being initialized. ") + "To suppress this warning opt to use a controlled ".concat(name, ".")].join('\n'));
|
|
7983
7981
|
}
|
|
7984
7982
|
}, [JSON.stringify(defaultProp)]);
|
|
@@ -11028,6 +11026,9 @@
|
|
|
11028
11026
|
});
|
|
11029
11027
|
variants.forEach(function (variant) {
|
|
11030
11028
|
var style = typography[variant];
|
|
11029
|
+
if (!style) {
|
|
11030
|
+
return;
|
|
11031
|
+
}
|
|
11031
11032
|
var remFontSize = parseFloat(convert(style.fontSize, 'rem'));
|
|
11032
11033
|
if (remFontSize <= 1) {
|
|
11033
11034
|
return;
|
|
@@ -23045,7 +23046,11 @@
|
|
|
23045
23046
|
size = ownerState.size;
|
|
23046
23047
|
return [_defineProperty({}, "& .".concat(autocompleteClasses$1.tag), styles.tag), _defineProperty({}, "& .".concat(autocompleteClasses$1.tag), styles["tagSize".concat(capitalize(size))]), _defineProperty({}, "& .".concat(autocompleteClasses$1.inputRoot), styles.inputRoot), _defineProperty({}, "& .".concat(autocompleteClasses$1.input), styles.input), _defineProperty({}, "& .".concat(autocompleteClasses$1.input), inputFocused && styles.inputFocused), styles.root, fullWidth && styles.fullWidth, hasPopupIcon && styles.hasPopupIcon, hasClearIcon && styles.hasClearIcon];
|
|
23047
23048
|
}
|
|
23048
|
-
})((_styled = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_styled, "
|
|
23049
|
+
})((_styled = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_styled, "&.".concat(autocompleteClasses$1.focused, " .").concat(autocompleteClasses$1.clearIndicator), {
|
|
23050
|
+
visibility: 'visible'
|
|
23051
|
+
}), '@media (pointer: fine)', _defineProperty({}, "&:hover .".concat(autocompleteClasses$1.clearIndicator), {
|
|
23052
|
+
visibility: 'visible'
|
|
23053
|
+
})), "& .".concat(autocompleteClasses$1.tag), {
|
|
23049
23054
|
margin: 3,
|
|
23050
23055
|
maxWidth: 'calc(100% - 6px)'
|
|
23051
23056
|
}), "& .".concat(autocompleteClasses$1.inputRoot), _defineProperty(_defineProperty(_defineProperty({}, ".".concat(autocompleteClasses$1.hasPopupIcon, "&, .").concat(autocompleteClasses$1.hasClearIcon, "&"), {
|
|
@@ -23055,14 +23060,6 @@
|
|
|
23055
23060
|
}), "& .".concat(autocompleteClasses$1.input), {
|
|
23056
23061
|
width: 0,
|
|
23057
23062
|
minWidth: 30
|
|
23058
|
-
})), "&.".concat(autocompleteClasses$1.focused), _defineProperty(_defineProperty({}, "& .".concat(autocompleteClasses$1.clearIndicator), {
|
|
23059
|
-
visibility: 'visible'
|
|
23060
|
-
}), "& .".concat(autocompleteClasses$1.input), {
|
|
23061
|
-
minWidth: 0
|
|
23062
|
-
})), '@media (pointer: fine)', _defineProperty(_defineProperty({}, "&:hover .".concat(autocompleteClasses$1.clearIndicator), {
|
|
23063
|
-
visibility: 'visible'
|
|
23064
|
-
}), "&:hover .".concat(autocompleteClasses$1.input), {
|
|
23065
|
-
minWidth: 0
|
|
23066
23063
|
})), "& .".concat(inputClasses$1.root), {
|
|
23067
23064
|
paddingBottom: 1,
|
|
23068
23065
|
'& .MuiInput-input': {
|
|
@@ -23496,12 +23493,15 @@
|
|
|
23496
23493
|
startAdornment = renderTags(value, getCustomizedTagProps, ownerState);
|
|
23497
23494
|
} else {
|
|
23498
23495
|
startAdornment = value.map(function (option, index) {
|
|
23496
|
+
var _getCustomizedTagProp = getCustomizedTagProps({
|
|
23497
|
+
index: index
|
|
23498
|
+
}),
|
|
23499
|
+
key = _getCustomizedTagProp.key,
|
|
23500
|
+
customTagProps = _objectWithoutProperties(_getCustomizedTagProp, ["key"]);
|
|
23499
23501
|
return /*#__PURE__*/jsxRuntime_1(Chip$1, _extends({
|
|
23500
23502
|
label: getOptionLabel(option),
|
|
23501
23503
|
size: size
|
|
23502
|
-
},
|
|
23503
|
-
index: index
|
|
23504
|
-
}), ChipProps));
|
|
23504
|
+
}, customTagProps, ChipProps), key);
|
|
23505
23505
|
});
|
|
23506
23506
|
}
|
|
23507
23507
|
}
|
|
@@ -23532,9 +23532,11 @@
|
|
|
23532
23532
|
var renderGroup = renderGroupProp || defaultRenderGroup;
|
|
23533
23533
|
var defaultRenderOption = function defaultRenderOption(props2, option) {
|
|
23534
23534
|
// Need to clearly apply key because of https://github.com/vercel/next.js/issues/55642
|
|
23535
|
-
|
|
23536
|
-
|
|
23537
|
-
}
|
|
23535
|
+
var key = props2.key,
|
|
23536
|
+
otherProps = _objectWithoutProperties(props2, ["key"]);
|
|
23537
|
+
return /*#__PURE__*/jsxRuntime_1("li", _extends({}, otherProps, {
|
|
23538
|
+
children: getOptionLabel(option)
|
|
23539
|
+
}), key);
|
|
23538
23540
|
};
|
|
23539
23541
|
var renderOption = renderOptionProp || defaultRenderOption;
|
|
23540
23542
|
var renderListOption = function renderListOption(option, index) {
|
|
@@ -39149,7 +39151,7 @@
|
|
|
39149
39151
|
*/
|
|
39150
39152
|
onChange: PropTypes.func,
|
|
39151
39153
|
/**
|
|
39152
|
-
* The current page.
|
|
39154
|
+
* The current page. Unlike `TablePagination`, which starts numbering from `0`, this pagination starts from `1`.
|
|
39153
39155
|
*/
|
|
39154
39156
|
page: integerPropType,
|
|
39155
39157
|
/**
|
|
@@ -41789,7 +41791,7 @@
|
|
|
41789
41791
|
boxShadow: 'none'
|
|
41790
41792
|
}
|
|
41791
41793
|
})), "&.".concat(sliderClasses$1.active), _extends({}, theme.vars ? {
|
|
41792
|
-
boxShadow: "0px 0px 0px 14px rgba(".concat(theme.vars.palette[color].mainChannel, " / 0.16)
|
|
41794
|
+
boxShadow: "0px 0px 0px 14px rgba(".concat(theme.vars.palette[color].mainChannel, " / 0.16)")
|
|
41793
41795
|
} : {
|
|
41794
41796
|
boxShadow: "0px 0px 0px 14px ".concat(alpha(theme.palette[color].main, 0.16))
|
|
41795
41797
|
}))
|
|
@@ -46838,11 +46840,11 @@
|
|
|
46838
46840
|
slot: 'Root',
|
|
46839
46841
|
overridesResolver: function overridesResolver(props, styles) {
|
|
46840
46842
|
var ownerState = props.ownerState;
|
|
46841
|
-
return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles["textColor".concat(capitalize(ownerState.textColor))], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped];
|
|
46843
|
+
return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles["textColor".concat(capitalize(ownerState.textColor))], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped, _defineProperty({}, "& .".concat(tabClasses$1.iconWrapper), styles.iconWrapper)];
|
|
46842
46844
|
}
|
|
46843
|
-
})(function (
|
|
46844
|
-
var theme =
|
|
46845
|
-
ownerState =
|
|
46845
|
+
})(function (_ref2) {
|
|
46846
|
+
var theme = _ref2.theme,
|
|
46847
|
+
ownerState = _ref2.ownerState;
|
|
46846
46848
|
return _extends({}, theme.typography.button, {
|
|
46847
46849
|
maxWidth: 360,
|
|
46848
46850
|
minWidth: 90,
|