@mui/material 5.14.17 → 5.14.19
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/Autocomplete/Autocomplete.d.ts +3 -0
- package/Autocomplete/Autocomplete.js +24 -5
- package/BottomNavigation/BottomNavigation.js +0 -0
- package/Box/Box.js +2 -1
- package/Box/boxClasses.d.ts +7 -0
- package/Box/boxClasses.js +3 -0
- package/Box/index.d.ts +3 -0
- package/Box/index.js +3 -1
- package/CHANGELOG.md +154 -6
- package/Chip/Chip.js +2 -2
- package/FilledInput/FilledInput.js +9 -6
- package/FormControlLabel/FormControlLabel.js +1 -2
- package/InputAdornment/InputAdornment.js +2 -2
- package/InputLabel/InputLabel.js +5 -1
- package/Modal/Modal.d.ts +3 -0
- package/Modal/Modal.js +3 -0
- package/Popper/Popper.js +3 -0
- package/Rating/Rating.js +4 -6
- package/Select/Select.d.ts +1 -2
- package/Select/SelectInput.js +2 -1
- package/StepButton/StepButton.js +1 -1
- package/TablePagination/TablePagination.d.ts +23 -0
- package/TablePagination/TablePagination.js +47 -12
- package/TablePagination/TablePaginationActions.d.ts +19 -0
- package/TablePagination/TablePaginationActions.js +35 -15
- package/index.js +1 -1
- package/legacy/Accordion/Accordion.js +4 -5
- package/legacy/AccordionSummary/AccordionSummary.js +5 -6
- package/legacy/Autocomplete/Autocomplete.js +55 -41
- package/legacy/AvatarGroup/AvatarGroup.js +2 -3
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Box/Box.js +2 -1
- package/legacy/Box/boxClasses.js +3 -0
- package/legacy/Box/index.js +3 -1
- package/legacy/Button/Button.js +10 -11
- package/legacy/ButtonBase/ButtonBase.js +4 -5
- package/legacy/ButtonGroup/ButtonGroup.js +4 -5
- package/legacy/CardActionArea/CardActionArea.js +4 -5
- package/legacy/CardHeader/CardHeader.js +1 -2
- package/legacy/Checkbox/Checkbox.js +3 -4
- package/legacy/Chip/Chip.js +29 -32
- package/legacy/FilledInput/FilledInput.js +20 -17
- package/legacy/FormControlLabel/FormControlLabel.js +1 -2
- package/legacy/FormHelperText/FormHelperText.js +4 -5
- package/legacy/FormLabel/FormLabel.js +5 -6
- package/legacy/Input/Input.js +7 -8
- package/legacy/InputAdornment/InputAdornment.js +2 -2
- package/legacy/InputBase/InputBase.js +5 -6
- package/legacy/InputLabel/InputLabel.js +5 -1
- package/legacy/ListItem/ListItem.js +4 -5
- package/legacy/ListItemButton/ListItemButton.js +6 -7
- package/legacy/MenuItem/MenuItem.js +11 -12
- package/legacy/Modal/Modal.js +3 -0
- package/legacy/NativeSelect/NativeSelectInput.js +6 -7
- package/legacy/OutlinedInput/OutlinedInput.js +7 -8
- package/legacy/PaginationItem/PaginationItem.js +9 -10
- package/legacy/Popper/Popper.js +3 -0
- package/legacy/Rating/Rating.js +8 -10
- package/legacy/Select/SelectInput.js +2 -1
- package/legacy/Slider/Slider.js +11 -14
- package/legacy/SpeedDialIcon/SpeedDialIcon.js +4 -5
- package/legacy/StepButton/StepButton.js +1 -1
- package/legacy/StepIcon/StepIcon.js +5 -6
- package/legacy/StepLabel/StepLabel.js +10 -12
- package/legacy/Switch/Switch.js +14 -17
- package/legacy/Tab/Tab.js +10 -11
- package/legacy/TablePagination/TablePagination.js +53 -19
- package/legacy/TablePagination/TablePaginationActions.js +35 -14
- package/legacy/TableRow/TableRow.js +4 -5
- package/legacy/Tabs/Tabs.js +1 -2
- package/legacy/ToggleButton/ToggleButton.js +4 -5
- package/legacy/Tooltip/Tooltip.js +10 -12
- package/legacy/index.js +1 -1
- package/legacy/styles/createMixins.js +4 -5
- package/modern/Autocomplete/Autocomplete.js +24 -5
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Box/Box.js +2 -1
- package/modern/Box/boxClasses.js +3 -0
- package/modern/Box/index.js +3 -1
- package/modern/Chip/Chip.js +2 -2
- package/modern/FilledInput/FilledInput.js +9 -6
- package/modern/FormControlLabel/FormControlLabel.js +1 -2
- package/modern/InputAdornment/InputAdornment.js +2 -2
- package/modern/InputLabel/InputLabel.js +5 -1
- package/modern/Modal/Modal.js +3 -0
- package/modern/Popper/Popper.js +3 -0
- package/modern/Rating/Rating.js +4 -6
- package/modern/Select/SelectInput.js +2 -1
- package/modern/StepButton/StepButton.js +1 -1
- package/modern/TablePagination/TablePagination.js +46 -12
- package/modern/TablePagination/TablePaginationActions.js +34 -15
- package/modern/index.js +1 -1
- package/node/Autocomplete/Autocomplete.js +24 -5
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/Box/Box.js +2 -1
- package/node/Box/boxClasses.js +9 -0
- package/node/Box/index.js +24 -1
- package/node/Chip/Chip.js +2 -2
- package/node/FilledInput/FilledInput.js +9 -6
- package/node/FormControlLabel/FormControlLabel.js +1 -2
- package/node/InputAdornment/InputAdornment.js +2 -2
- package/node/InputLabel/InputLabel.js +5 -1
- package/node/Modal/Modal.js +3 -0
- package/node/Popper/Popper.js +3 -0
- package/node/Rating/Rating.js +4 -6
- package/node/Select/SelectInput.js +2 -1
- package/node/StepButton/StepButton.js +1 -1
- package/node/TablePagination/TablePagination.js +47 -12
- package/node/TablePagination/TablePaginationActions.js +35 -15
- package/node/index.js +1 -1
- package/package.json +9 -9
- package/umd/material-ui.development.js +180 -102
- package/umd/material-ui.production.min.js +21 -21
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/material v5.14.
|
|
2
|
+
* @mui/material v5.14.19
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
@@ -6795,51 +6795,25 @@
|
|
|
6795
6795
|
}
|
|
6796
6796
|
return `${value}px solid`;
|
|
6797
6797
|
}
|
|
6798
|
-
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
|
|
6804
|
-
|
|
6805
|
-
|
|
6806
|
-
|
|
6807
|
-
|
|
6808
|
-
const
|
|
6809
|
-
|
|
6810
|
-
|
|
6811
|
-
|
|
6812
|
-
|
|
6813
|
-
const
|
|
6814
|
-
|
|
6815
|
-
|
|
6816
|
-
|
|
6817
|
-
});
|
|
6818
|
-
const borderLeft = style$2({
|
|
6819
|
-
prop: 'borderLeft',
|
|
6820
|
-
themeKey: 'borders',
|
|
6821
|
-
transform: borderTransform
|
|
6822
|
-
});
|
|
6823
|
-
const borderColor = style$2({
|
|
6824
|
-
prop: 'borderColor',
|
|
6825
|
-
themeKey: 'palette'
|
|
6826
|
-
});
|
|
6827
|
-
const borderTopColor = style$2({
|
|
6828
|
-
prop: 'borderTopColor',
|
|
6829
|
-
themeKey: 'palette'
|
|
6830
|
-
});
|
|
6831
|
-
const borderRightColor = style$2({
|
|
6832
|
-
prop: 'borderRightColor',
|
|
6833
|
-
themeKey: 'palette'
|
|
6834
|
-
});
|
|
6835
|
-
const borderBottomColor = style$2({
|
|
6836
|
-
prop: 'borderBottomColor',
|
|
6837
|
-
themeKey: 'palette'
|
|
6838
|
-
});
|
|
6839
|
-
const borderLeftColor = style$2({
|
|
6840
|
-
prop: 'borderLeftColor',
|
|
6841
|
-
themeKey: 'palette'
|
|
6842
|
-
});
|
|
6798
|
+
function createBorderStyle(prop, transform) {
|
|
6799
|
+
return style$2({
|
|
6800
|
+
prop,
|
|
6801
|
+
themeKey: 'borders',
|
|
6802
|
+
transform
|
|
6803
|
+
});
|
|
6804
|
+
}
|
|
6805
|
+
const border = createBorderStyle('border', borderTransform);
|
|
6806
|
+
const borderTop = createBorderStyle('borderTop', borderTransform);
|
|
6807
|
+
const borderRight = createBorderStyle('borderRight', borderTransform);
|
|
6808
|
+
const borderBottom = createBorderStyle('borderBottom', borderTransform);
|
|
6809
|
+
const borderLeft = createBorderStyle('borderLeft', borderTransform);
|
|
6810
|
+
const borderColor = createBorderStyle('borderColor');
|
|
6811
|
+
const borderTopColor = createBorderStyle('borderTopColor');
|
|
6812
|
+
const borderRightColor = createBorderStyle('borderRightColor');
|
|
6813
|
+
const borderBottomColor = createBorderStyle('borderBottomColor');
|
|
6814
|
+
const borderLeftColor = createBorderStyle('borderLeftColor');
|
|
6815
|
+
const outline = createBorderStyle('outline', borderTransform);
|
|
6816
|
+
const outlineColor = createBorderStyle('outlineColor');
|
|
6843
6817
|
|
|
6844
6818
|
// false positive
|
|
6845
6819
|
// eslint-disable-next-line react/function-component-definition
|
|
@@ -6857,7 +6831,7 @@
|
|
|
6857
6831
|
borderRadius: responsivePropType$1
|
|
6858
6832
|
} ;
|
|
6859
6833
|
borderRadius.filterProps = ['borderRadius'];
|
|
6860
|
-
compose(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius);
|
|
6834
|
+
compose(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius, outline, outlineColor);
|
|
6861
6835
|
|
|
6862
6836
|
// false positive
|
|
6863
6837
|
// eslint-disable-next-line react/function-component-definition
|
|
@@ -7061,6 +7035,13 @@
|
|
|
7061
7035
|
borderLeftColor: {
|
|
7062
7036
|
themeKey: 'palette'
|
|
7063
7037
|
},
|
|
7038
|
+
outline: {
|
|
7039
|
+
themeKey: 'borders',
|
|
7040
|
+
transform: borderTransform
|
|
7041
|
+
},
|
|
7042
|
+
outlineColor: {
|
|
7043
|
+
themeKey: 'palette'
|
|
7044
|
+
},
|
|
7064
7045
|
borderRadius: {
|
|
7065
7046
|
themeKey: 'shape.borderRadius',
|
|
7066
7047
|
style: borderRadius
|
|
@@ -17955,6 +17936,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17955
17936
|
* An HTML element or function that returns one.
|
|
17956
17937
|
* The `container` will have the portal children appended to it.
|
|
17957
17938
|
*
|
|
17939
|
+
* You can also provide a callback, which is called in a React layout effect.
|
|
17940
|
+
* This lets you set the container from a ref, and also makes server-side rendering possible.
|
|
17941
|
+
*
|
|
17958
17942
|
* By default, it uses the body of the top-level document object,
|
|
17959
17943
|
* so it's simply `document.body` most of the time.
|
|
17960
17944
|
*/
|
|
@@ -18250,6 +18234,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18250
18234
|
* An HTML element or function that returns one.
|
|
18251
18235
|
* The `container` will have the portal children appended to it.
|
|
18252
18236
|
*
|
|
18237
|
+
* You can also provide a callback, which is called in a React layout effect.
|
|
18238
|
+
* This lets you set the container from a ref, and also makes server-side rendering possible.
|
|
18239
|
+
*
|
|
18253
18240
|
* By default, it uses the body of the top-level document object,
|
|
18254
18241
|
* so it's simply `document.body` most of the time.
|
|
18255
18242
|
*/
|
|
@@ -19892,6 +19879,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19892
19879
|
filterSelectedOptions = false,
|
|
19893
19880
|
freeSolo = false,
|
|
19894
19881
|
getOptionDisabled,
|
|
19882
|
+
getOptionKey,
|
|
19895
19883
|
getOptionLabel: getOptionLabelProp = option => {
|
|
19896
19884
|
var _option$label;
|
|
19897
19885
|
return (_option$label = option.label) != null ? _option$label : option;
|
|
@@ -20769,10 +20757,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20769
20757
|
index,
|
|
20770
20758
|
option
|
|
20771
20759
|
}) => {
|
|
20760
|
+
var _getOptionKey;
|
|
20772
20761
|
const selected = (multiple ? value : [value]).some(value2 => value2 != null && isOptionEqualToValue(option, value2));
|
|
20773
20762
|
const disabled = getOptionDisabled ? getOptionDisabled(option) : false;
|
|
20774
20763
|
return {
|
|
20775
|
-
key: getOptionLabel(option),
|
|
20764
|
+
key: (_getOptionKey = getOptionKey == null ? void 0 : getOptionKey(option)) != null ? _getOptionKey : getOptionLabel(option),
|
|
20776
20765
|
tabIndex: -1,
|
|
20777
20766
|
role: 'option',
|
|
20778
20767
|
id: `${id}-option-${index}`,
|
|
@@ -20906,6 +20895,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20906
20895
|
* An HTML element or function that returns one.
|
|
20907
20896
|
* The `container` will have the portal children appended to it.
|
|
20908
20897
|
*
|
|
20898
|
+
* You can also provide a callback, which is called in a React layout effect.
|
|
20899
|
+
* This lets you set the container from a ref, and also makes server-side rendering possible.
|
|
20900
|
+
*
|
|
20909
20901
|
* By default, it uses the body of the top-level document object,
|
|
20910
20902
|
* so it's simply `document.body` most of the time.
|
|
20911
20903
|
*/
|
|
@@ -21477,10 +21469,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21477
21469
|
}) : {};
|
|
21478
21470
|
let deleteIcon = null;
|
|
21479
21471
|
if (onDelete) {
|
|
21480
|
-
deleteIcon = deleteIconProp && /*#__PURE__*/React__namespace.isValidElement(deleteIconProp) ? /*#__PURE__*/React__namespace.cloneElement(deleteIconProp, {
|
|
21472
|
+
deleteIcon = deleteIconProp && /*#__PURE__*/React__namespace.isValidElement(deleteIconProp) ? ( /*#__PURE__*/React__namespace.cloneElement(deleteIconProp, {
|
|
21481
21473
|
className: clsx(deleteIconProp.props.className, classes.deleteIcon),
|
|
21482
21474
|
onClick: handleDeleteIconClick
|
|
21483
|
-
}) : /*#__PURE__*/jsxRuntime_1(CancelIcon, {
|
|
21475
|
+
})) : /*#__PURE__*/jsxRuntime_1(CancelIcon, {
|
|
21484
21476
|
className: clsx(classes.deleteIcon),
|
|
21485
21477
|
onClick: handleDeleteIconClick
|
|
21486
21478
|
});
|
|
@@ -22423,8 +22415,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22423
22415
|
var autocompleteClasses$1 = autocompleteClasses;
|
|
22424
22416
|
|
|
22425
22417
|
var _ClearIcon, _ArrowDropDownIcon;
|
|
22426
|
-
const _excluded$1N = ["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", "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"],
|
|
22427
|
-
_excluded2$a = ["ref"]
|
|
22418
|
+
const _excluded$1N = ["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"],
|
|
22419
|
+
_excluded2$a = ["ref"],
|
|
22420
|
+
_excluded3$2 = ["key"];
|
|
22428
22421
|
const useUtilityClasses$1x = ownerState => {
|
|
22429
22422
|
const {
|
|
22430
22423
|
classes,
|
|
@@ -22922,9 +22915,15 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22922
22915
|
})]
|
|
22923
22916
|
}, params.key);
|
|
22924
22917
|
const renderGroup = renderGroupProp || defaultRenderGroup;
|
|
22925
|
-
const defaultRenderOption = (props2, option) =>
|
|
22926
|
-
|
|
22927
|
-
|
|
22918
|
+
const defaultRenderOption = (props2, option) => {
|
|
22919
|
+
const {
|
|
22920
|
+
key
|
|
22921
|
+
} = props2,
|
|
22922
|
+
otherProps = _objectWithoutPropertiesLoose(props2, _excluded3$2);
|
|
22923
|
+
return /*#__PURE__*/jsxRuntime_1("li", _extends({}, otherProps, {
|
|
22924
|
+
children: getOptionLabel(option)
|
|
22925
|
+
}), key);
|
|
22926
|
+
};
|
|
22928
22927
|
const renderOption = renderOptionProp || defaultRenderOption;
|
|
22929
22928
|
const renderListOption = (option, index) => {
|
|
22930
22929
|
const optionProps = getOptionProps({
|
|
@@ -23218,6 +23217,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23218
23217
|
* @returns {boolean}
|
|
23219
23218
|
*/
|
|
23220
23219
|
getOptionDisabled: PropTypes.func,
|
|
23220
|
+
/**
|
|
23221
|
+
* Used to determine the key for a given option.
|
|
23222
|
+
* This can be useful when the labels of options are not unique (since labels are used as keys by default).
|
|
23223
|
+
*
|
|
23224
|
+
* @param {Value} option The option to get the key for.
|
|
23225
|
+
* @returns {string | number}
|
|
23226
|
+
*/
|
|
23227
|
+
getOptionKey: PropTypes.func,
|
|
23221
23228
|
/**
|
|
23222
23229
|
* Used to determine the string value for a given option.
|
|
23223
23230
|
* It's used to fill the input (and the list box options if `renderOption` is not provided).
|
|
@@ -23340,6 +23347,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23340
23347
|
* @param {string} reason Can be: `"input"` (user input), `"reset"` (programmatic change), `"clear"`.
|
|
23341
23348
|
*/
|
|
23342
23349
|
onInputChange: PropTypes.func,
|
|
23350
|
+
/**
|
|
23351
|
+
* @ignore
|
|
23352
|
+
*/
|
|
23353
|
+
onKeyDown: PropTypes.func,
|
|
23343
23354
|
/**
|
|
23344
23355
|
* Callback fired when the popup requests to be opened.
|
|
23345
23356
|
* Use in controlled mode (see open).
|
|
@@ -24931,11 +24942,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24931
24942
|
} ;
|
|
24932
24943
|
var BottomNavigationAction$1 = BottomNavigationAction;
|
|
24933
24944
|
|
|
24945
|
+
const boxClasses = generateUtilityClasses('MuiBox', ['root']);
|
|
24946
|
+
var boxClasses$1 = boxClasses;
|
|
24947
|
+
|
|
24934
24948
|
const defaultTheme = createTheme();
|
|
24935
24949
|
const Box = createBox({
|
|
24936
24950
|
themeId: THEME_ID,
|
|
24937
24951
|
defaultTheme,
|
|
24938
|
-
defaultClassName:
|
|
24952
|
+
defaultClassName: boxClasses$1.root,
|
|
24939
24953
|
generateClassName: ClassNameGenerator$1.generate
|
|
24940
24954
|
});
|
|
24941
24955
|
Box.propTypes /* remove-proptypes */ = {
|
|
@@ -27796,6 +27810,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27796
27810
|
* An HTML element or function that returns one.
|
|
27797
27811
|
* The `container` will have the portal children appended to it.
|
|
27798
27812
|
*
|
|
27813
|
+
* You can also provide a callback, which is called in a React layout effect.
|
|
27814
|
+
* This lets you set the container from a ref, and also makes server-side rendering possible.
|
|
27815
|
+
*
|
|
27799
27816
|
* By default, it uses the body of the top-level document object,
|
|
27800
27817
|
* so it's simply `document.body` most of the time.
|
|
27801
27818
|
*/
|
|
@@ -29805,6 +29822,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29805
29822
|
}, ownerState.hiddenLabel && {
|
|
29806
29823
|
paddingTop: 16,
|
|
29807
29824
|
paddingBottom: 17
|
|
29825
|
+
}, ownerState.hiddenLabel && ownerState.size === 'small' && {
|
|
29826
|
+
paddingTop: 8,
|
|
29827
|
+
paddingBottom: 9
|
|
29808
29828
|
}));
|
|
29809
29829
|
});
|
|
29810
29830
|
const FilledInputInput = styled$1(InputBaseComponent, {
|
|
@@ -29845,11 +29865,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29845
29865
|
}, ownerState.hiddenLabel && {
|
|
29846
29866
|
paddingTop: 16,
|
|
29847
29867
|
paddingBottom: 17
|
|
29848
|
-
}, ownerState.multiline && {
|
|
29849
|
-
paddingTop: 0,
|
|
29850
|
-
paddingBottom: 0,
|
|
29851
|
-
paddingLeft: 0,
|
|
29852
|
-
paddingRight: 0
|
|
29853
29868
|
}, ownerState.startAdornment && {
|
|
29854
29869
|
paddingLeft: 0
|
|
29855
29870
|
}, ownerState.endAdornment && {
|
|
@@ -29857,6 +29872,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29857
29872
|
}, ownerState.hiddenLabel && ownerState.size === 'small' && {
|
|
29858
29873
|
paddingTop: 8,
|
|
29859
29874
|
paddingBottom: 9
|
|
29875
|
+
}, ownerState.multiline && {
|
|
29876
|
+
paddingTop: 0,
|
|
29877
|
+
paddingBottom: 0,
|
|
29878
|
+
paddingLeft: 0,
|
|
29879
|
+
paddingRight: 0
|
|
29860
29880
|
}));
|
|
29861
29881
|
const FilledInput = /*#__PURE__*/React__namespace.forwardRef(function FilledInput(inProps, ref) {
|
|
29862
29882
|
var _ref, _slots$root, _ref2, _slots$input;
|
|
@@ -29891,7 +29911,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29891
29911
|
ownerState
|
|
29892
29912
|
}
|
|
29893
29913
|
};
|
|
29894
|
-
const componentsProps = (slotProps != null ? slotProps : componentsPropsProp) ? deepmerge(slotProps != null ? slotProps : componentsPropsProp
|
|
29914
|
+
const componentsProps = (slotProps != null ? slotProps : componentsPropsProp) ? deepmerge(filledInputComponentsProps, slotProps != null ? slotProps : componentsPropsProp) : filledInputComponentsProps;
|
|
29895
29915
|
const RootSlot = (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : FilledInputRoot;
|
|
29896
29916
|
const InputSlot = (_ref2 = (_slots$input = slots.input) != null ? _slots$input : components.Input) != null ? _ref2 : FilledInputInput;
|
|
29897
29917
|
return /*#__PURE__*/jsxRuntime_1(InputBase$1, _extends({
|
|
@@ -30587,8 +30607,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30587
30607
|
ref: ref
|
|
30588
30608
|
}, other, {
|
|
30589
30609
|
children: [/*#__PURE__*/React__namespace.cloneElement(control, controlProps), required ? /*#__PURE__*/jsxRuntime_2(Stack$1, {
|
|
30590
|
-
|
|
30591
|
-
alignItems: "center",
|
|
30610
|
+
display: "block",
|
|
30592
30611
|
children: [label, /*#__PURE__*/jsxRuntime_2(AsteriskComponent$1, {
|
|
30593
30612
|
ownerState: ownerState,
|
|
30594
30613
|
"aria-hidden": true,
|
|
@@ -33700,10 +33719,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33700
33719
|
color: "text.secondary",
|
|
33701
33720
|
children: children
|
|
33702
33721
|
}) : /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
|
|
33703
|
-
children: [position === 'start' ? /* notranslate needed while Google Translate will not fix zero-width space issue */_span$2 || (_span$2 = /*#__PURE__*/jsxRuntime_1("span", {
|
|
33722
|
+
children: [position === 'start' ? ( /* notranslate needed while Google Translate will not fix zero-width space issue */_span$2 || (_span$2 = /*#__PURE__*/jsxRuntime_1("span", {
|
|
33704
33723
|
className: "notranslate",
|
|
33705
33724
|
children: "\u200B"
|
|
33706
|
-
})) : null, children]
|
|
33725
|
+
}))) : null, children]
|
|
33707
33726
|
})
|
|
33708
33727
|
}))
|
|
33709
33728
|
});
|
|
@@ -33855,7 +33874,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33855
33874
|
// but it feels a better when it bleeds a bit on the left, so 32px.
|
|
33856
33875
|
maxWidth: 'calc(133% - 32px)',
|
|
33857
33876
|
transform: 'translate(14px, -9px) scale(0.75)'
|
|
33858
|
-
})
|
|
33877
|
+
}), ownerState.variant === 'standard' && {
|
|
33878
|
+
'&:not(label) + div': {
|
|
33879
|
+
marginTop: 16
|
|
33880
|
+
}
|
|
33881
|
+
}));
|
|
33859
33882
|
const InputLabel = /*#__PURE__*/React__namespace.forwardRef(function InputLabel(inProps, ref) {
|
|
33860
33883
|
const props = useThemeProps({
|
|
33861
33884
|
name: 'MuiInputLabel',
|
|
@@ -39462,16 +39485,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
39462
39485
|
const rootNode = rootRef.current;
|
|
39463
39486
|
const {
|
|
39464
39487
|
right,
|
|
39465
|
-
left
|
|
39488
|
+
left,
|
|
39489
|
+
width: containerWidth
|
|
39466
39490
|
} = rootNode.getBoundingClientRect();
|
|
39467
|
-
const {
|
|
39468
|
-
width
|
|
39469
|
-
} = rootNode.firstChild.getBoundingClientRect();
|
|
39470
39491
|
let percent;
|
|
39471
39492
|
if (theme.direction === 'rtl') {
|
|
39472
|
-
percent = (right - event.clientX) /
|
|
39493
|
+
percent = (right - event.clientX) / containerWidth;
|
|
39473
39494
|
} else {
|
|
39474
|
-
percent = (event.clientX - left) /
|
|
39495
|
+
percent = (event.clientX - left) / containerWidth;
|
|
39475
39496
|
}
|
|
39476
39497
|
let newHover = roundValueToPrecision(max * percent + precision / 2, precision);
|
|
39477
39498
|
newHover = clamp$1(newHover, precision, max);
|
|
@@ -40290,6 +40311,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40290
40311
|
const classes = useUtilityClasses$x(ownerState);
|
|
40291
40312
|
const paperProps = _extends({}, MenuProps.PaperProps, (_MenuProps$slotProps = MenuProps.slotProps) == null ? void 0 : _MenuProps$slotProps.paper);
|
|
40292
40313
|
const listboxId = useId();
|
|
40314
|
+
const hiddenInputId = useId();
|
|
40293
40315
|
return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
|
|
40294
40316
|
children: [/*#__PURE__*/jsxRuntime_1(SelectSelect, _extends({
|
|
40295
40317
|
ref: handleDisplayRef,
|
|
@@ -40320,7 +40342,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40320
40342
|
})), /*#__PURE__*/jsxRuntime_1(SelectNativeInput, _extends({
|
|
40321
40343
|
"aria-invalid": error,
|
|
40322
40344
|
value: Array.isArray(value) ? value.join(',') : value,
|
|
40323
|
-
name: name,
|
|
40345
|
+
name: name != null ? name : hiddenInputId,
|
|
40324
40346
|
ref: inputRef,
|
|
40325
40347
|
"aria-hidden": true,
|
|
40326
40348
|
onChange: handleChange,
|
|
@@ -44781,7 +44803,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
44781
44803
|
icon,
|
|
44782
44804
|
optional
|
|
44783
44805
|
};
|
|
44784
|
-
const child = isMuiElement(children, ['StepLabel']) ? /*#__PURE__*/React__namespace.cloneElement(children, childProps) : /*#__PURE__*/jsxRuntime_1(StepLabel$1, _extends({}, childProps, {
|
|
44806
|
+
const child = isMuiElement(children, ['StepLabel']) ? ( /*#__PURE__*/React__namespace.cloneElement(children, childProps)) : /*#__PURE__*/jsxRuntime_1(StepLabel$1, _extends({}, childProps, {
|
|
44785
44807
|
children: children
|
|
44786
44808
|
}));
|
|
44787
44809
|
return /*#__PURE__*/jsxRuntime_1(StepButtonRoot, _extends({
|
|
@@ -47244,18 +47266,21 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47244
47266
|
}), 'KeyboardArrowRight');
|
|
47245
47267
|
|
|
47246
47268
|
var _LastPageIcon, _FirstPageIcon, _KeyboardArrowRight, _KeyboardArrowLeft, _KeyboardArrowLeft2, _KeyboardArrowRight2, _FirstPageIcon2, _LastPageIcon2;
|
|
47247
|
-
const _excluded$a = ["backIconButtonProps", "count", "getItemAriaLabel", "nextIconButtonProps", "onPageChange", "page", "rowsPerPage", "showFirstButton", "showLastButton"];
|
|
47269
|
+
const _excluded$a = ["backIconButtonProps", "count", "disabled", "getItemAriaLabel", "nextIconButtonProps", "onPageChange", "page", "rowsPerPage", "showFirstButton", "showLastButton", "slotProps"];
|
|
47248
47270
|
const TablePaginationActions = /*#__PURE__*/React__namespace.forwardRef(function TablePaginationActions(props, ref) {
|
|
47271
|
+
var _slotProps$firstButto, _slotProps$previousBu, _slotProps$nextButton, _slotProps$lastButton;
|
|
47249
47272
|
const {
|
|
47250
47273
|
backIconButtonProps,
|
|
47251
47274
|
count,
|
|
47275
|
+
disabled = false,
|
|
47252
47276
|
getItemAriaLabel,
|
|
47253
47277
|
nextIconButtonProps,
|
|
47254
47278
|
onPageChange,
|
|
47255
47279
|
page,
|
|
47256
47280
|
rowsPerPage,
|
|
47257
47281
|
showFirstButton,
|
|
47258
|
-
showLastButton
|
|
47282
|
+
showLastButton,
|
|
47283
|
+
slotProps
|
|
47259
47284
|
} = props,
|
|
47260
47285
|
other = _objectWithoutPropertiesLoose(props, _excluded$a);
|
|
47261
47286
|
const theme = useTheme();
|
|
@@ -47274,35 +47299,37 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47274
47299
|
return /*#__PURE__*/jsxRuntime_2("div", _extends({
|
|
47275
47300
|
ref: ref
|
|
47276
47301
|
}, other, {
|
|
47277
|
-
children: [showFirstButton && /*#__PURE__*/jsxRuntime_1(IconButton$1, {
|
|
47302
|
+
children: [showFirstButton && /*#__PURE__*/jsxRuntime_1(IconButton$1, _extends({
|
|
47278
47303
|
onClick: handleFirstPageButtonClick,
|
|
47279
|
-
disabled: page === 0,
|
|
47304
|
+
disabled: disabled || page === 0,
|
|
47280
47305
|
"aria-label": getItemAriaLabel('first', page),
|
|
47281
|
-
title: getItemAriaLabel('first', page)
|
|
47306
|
+
title: getItemAriaLabel('first', page)
|
|
47307
|
+
}, (_slotProps$firstButto = slotProps == null ? void 0 : slotProps.firstButton) != null ? _slotProps$firstButto : {}, {
|
|
47282
47308
|
children: theme.direction === 'rtl' ? _LastPageIcon || (_LastPageIcon = /*#__PURE__*/jsxRuntime_1(LastPageIcon, {})) : _FirstPageIcon || (_FirstPageIcon = /*#__PURE__*/jsxRuntime_1(FirstPageIcon, {}))
|
|
47283
|
-
}), /*#__PURE__*/jsxRuntime_1(IconButton$1, _extends({
|
|
47309
|
+
})), /*#__PURE__*/jsxRuntime_1(IconButton$1, _extends({
|
|
47284
47310
|
onClick: handleBackButtonClick,
|
|
47285
|
-
disabled: page === 0,
|
|
47311
|
+
disabled: disabled || page === 0,
|
|
47286
47312
|
color: "inherit",
|
|
47287
47313
|
"aria-label": getItemAriaLabel('previous', page),
|
|
47288
47314
|
title: getItemAriaLabel('previous', page)
|
|
47289
|
-
}, backIconButtonProps, {
|
|
47315
|
+
}, (_slotProps$previousBu = slotProps == null ? void 0 : slotProps.previousButton) != null ? _slotProps$previousBu : backIconButtonProps, {
|
|
47290
47316
|
children: theme.direction === 'rtl' ? _KeyboardArrowRight || (_KeyboardArrowRight = /*#__PURE__*/jsxRuntime_1(KeyboardArrowRight, {})) : _KeyboardArrowLeft || (_KeyboardArrowLeft = /*#__PURE__*/jsxRuntime_1(KeyboardArrowLeft, {}))
|
|
47291
47317
|
})), /*#__PURE__*/jsxRuntime_1(IconButton$1, _extends({
|
|
47292
47318
|
onClick: handleNextButtonClick,
|
|
47293
|
-
disabled: count !== -1 ? page >= Math.ceil(count / rowsPerPage) - 1 : false,
|
|
47319
|
+
disabled: disabled || (count !== -1 ? page >= Math.ceil(count / rowsPerPage) - 1 : false),
|
|
47294
47320
|
color: "inherit",
|
|
47295
47321
|
"aria-label": getItemAriaLabel('next', page),
|
|
47296
47322
|
title: getItemAriaLabel('next', page)
|
|
47297
|
-
}, nextIconButtonProps, {
|
|
47323
|
+
}, (_slotProps$nextButton = slotProps == null ? void 0 : slotProps.nextButton) != null ? _slotProps$nextButton : nextIconButtonProps, {
|
|
47298
47324
|
children: theme.direction === 'rtl' ? _KeyboardArrowLeft2 || (_KeyboardArrowLeft2 = /*#__PURE__*/jsxRuntime_1(KeyboardArrowLeft, {})) : _KeyboardArrowRight2 || (_KeyboardArrowRight2 = /*#__PURE__*/jsxRuntime_1(KeyboardArrowRight, {}))
|
|
47299
|
-
})), showLastButton && /*#__PURE__*/jsxRuntime_1(IconButton$1, {
|
|
47325
|
+
})), showLastButton && /*#__PURE__*/jsxRuntime_1(IconButton$1, _extends({
|
|
47300
47326
|
onClick: handleLastPageButtonClick,
|
|
47301
|
-
disabled: page >= Math.ceil(count / rowsPerPage) - 1,
|
|
47327
|
+
disabled: disabled || page >= Math.ceil(count / rowsPerPage) - 1,
|
|
47302
47328
|
"aria-label": getItemAriaLabel('last', page),
|
|
47303
|
-
title: getItemAriaLabel('last', page)
|
|
47329
|
+
title: getItemAriaLabel('last', page)
|
|
47330
|
+
}, (_slotProps$lastButton = slotProps == null ? void 0 : slotProps.lastButton) != null ? _slotProps$lastButton : {}, {
|
|
47304
47331
|
children: theme.direction === 'rtl' ? _FirstPageIcon2 || (_FirstPageIcon2 = /*#__PURE__*/jsxRuntime_1(FirstPageIcon, {})) : _LastPageIcon2 || (_LastPageIcon2 = /*#__PURE__*/jsxRuntime_1(LastPageIcon, {}))
|
|
47305
|
-
})]
|
|
47332
|
+
}))]
|
|
47306
47333
|
}));
|
|
47307
47334
|
});
|
|
47308
47335
|
TablePaginationActions.propTypes = {
|
|
@@ -47314,6 +47341,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47314
47341
|
* The total number of rows.
|
|
47315
47342
|
*/
|
|
47316
47343
|
count: PropTypes.number.isRequired,
|
|
47344
|
+
/**
|
|
47345
|
+
* If `true`, the component is disabled.
|
|
47346
|
+
* @default false
|
|
47347
|
+
*/
|
|
47348
|
+
disabled: PropTypes.bool,
|
|
47317
47349
|
/**
|
|
47318
47350
|
* Accepts a function which returns a string value that provides a user-friendly name for the current page.
|
|
47319
47351
|
*
|
|
@@ -47350,7 +47382,17 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47350
47382
|
/**
|
|
47351
47383
|
* If `true`, show the last-page button.
|
|
47352
47384
|
*/
|
|
47353
|
-
showLastButton: PropTypes.bool.isRequired
|
|
47385
|
+
showLastButton: PropTypes.bool.isRequired,
|
|
47386
|
+
/**
|
|
47387
|
+
* The props used for each slot inside the TablePaginationActions.
|
|
47388
|
+
* @default {}
|
|
47389
|
+
*/
|
|
47390
|
+
slotProps: PropTypes.shape({
|
|
47391
|
+
firstButton: PropTypes.object,
|
|
47392
|
+
lastButton: PropTypes.object,
|
|
47393
|
+
nextButton: PropTypes.object,
|
|
47394
|
+
previousButton: PropTypes.object
|
|
47395
|
+
})
|
|
47354
47396
|
} ;
|
|
47355
47397
|
var TablePaginationActions$1 = TablePaginationActions;
|
|
47356
47398
|
|
|
@@ -47361,7 +47403,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47361
47403
|
var tablePaginationClasses$1 = tablePaginationClasses;
|
|
47362
47404
|
|
|
47363
47405
|
var _InputBase;
|
|
47364
|
-
const _excluded$9 = ["ActionsComponent", "backIconButtonProps", "className", "colSpan", "component", "count", "getItemAriaLabel", "labelDisplayedRows", "labelRowsPerPage", "nextIconButtonProps", "onPageChange", "onRowsPerPageChange", "page", "rowsPerPage", "rowsPerPageOptions", "SelectProps", "showFirstButton", "showLastButton"];
|
|
47406
|
+
const _excluded$9 = ["ActionsComponent", "backIconButtonProps", "className", "colSpan", "component", "count", "disabled", "getItemAriaLabel", "labelDisplayedRows", "labelRowsPerPage", "nextIconButtonProps", "onPageChange", "onRowsPerPageChange", "page", "rowsPerPage", "rowsPerPageOptions", "SelectProps", "showFirstButton", "showLastButton", "slotProps"];
|
|
47365
47407
|
const TablePaginationRoot = styled$1(TableCell$1, {
|
|
47366
47408
|
name: 'MuiTablePagination',
|
|
47367
47409
|
slot: 'Root',
|
|
@@ -47484,6 +47526,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47484
47526
|
* A `TableCell` based component for placing inside `TableFooter` for pagination.
|
|
47485
47527
|
*/
|
|
47486
47528
|
const TablePagination = /*#__PURE__*/React__namespace.forwardRef(function TablePagination(inProps, ref) {
|
|
47529
|
+
var _slotProps$select;
|
|
47487
47530
|
const props = useThemeProps({
|
|
47488
47531
|
props: inProps,
|
|
47489
47532
|
name: 'MuiTablePagination'
|
|
@@ -47495,6 +47538,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47495
47538
|
colSpan: colSpanProp,
|
|
47496
47539
|
component = TableCell$1,
|
|
47497
47540
|
count,
|
|
47541
|
+
disabled = false,
|
|
47498
47542
|
getItemAriaLabel = defaultGetAriaLabel,
|
|
47499
47543
|
labelDisplayedRows = defaultLabelDisplayedRows,
|
|
47500
47544
|
labelRowsPerPage = 'Rows per page:',
|
|
@@ -47506,19 +47550,21 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47506
47550
|
rowsPerPageOptions = [10, 25, 50, 100],
|
|
47507
47551
|
SelectProps = {},
|
|
47508
47552
|
showFirstButton = false,
|
|
47509
|
-
showLastButton = false
|
|
47553
|
+
showLastButton = false,
|
|
47554
|
+
slotProps
|
|
47510
47555
|
} = props,
|
|
47511
47556
|
other = _objectWithoutPropertiesLoose(props, _excluded$9);
|
|
47512
47557
|
const ownerState = props;
|
|
47513
47558
|
const classes = useUtilityClasses$7(ownerState);
|
|
47514
|
-
const
|
|
47559
|
+
const selectProps = (_slotProps$select = slotProps == null ? void 0 : slotProps.select) != null ? _slotProps$select : SelectProps;
|
|
47560
|
+
const MenuItemComponent = selectProps.native ? 'option' : TablePaginationMenuItem;
|
|
47515
47561
|
let colSpan;
|
|
47516
47562
|
if (component === TableCell$1 || component === 'td') {
|
|
47517
47563
|
colSpan = colSpanProp || 1000; // col-span over everything
|
|
47518
47564
|
}
|
|
47519
47565
|
|
|
47520
|
-
const selectId = useId(
|
|
47521
|
-
const labelId = useId(
|
|
47566
|
+
const selectId = useId(selectProps.id);
|
|
47567
|
+
const labelId = useId(selectProps.labelId);
|
|
47522
47568
|
const getLabelDisplayedRowsTo = () => {
|
|
47523
47569
|
if (count === -1) {
|
|
47524
47570
|
return (page + 1) * rowsPerPage;
|
|
@@ -47542,21 +47588,22 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47542
47588
|
children: labelRowsPerPage
|
|
47543
47589
|
}), rowsPerPageOptions.length > 1 && /*#__PURE__*/jsxRuntime_1(TablePaginationSelect, _extends({
|
|
47544
47590
|
variant: "standard"
|
|
47545
|
-
}, !
|
|
47591
|
+
}, !selectProps.variant && {
|
|
47546
47592
|
input: _InputBase || (_InputBase = /*#__PURE__*/jsxRuntime_1(InputBase$1, {}))
|
|
47547
47593
|
}, {
|
|
47548
47594
|
value: rowsPerPage,
|
|
47549
47595
|
onChange: onRowsPerPageChange,
|
|
47550
47596
|
id: selectId,
|
|
47551
47597
|
labelId: labelId
|
|
47552
|
-
},
|
|
47553
|
-
classes: _extends({},
|
|
47598
|
+
}, selectProps, {
|
|
47599
|
+
classes: _extends({}, selectProps.classes, {
|
|
47554
47600
|
// TODO v5 remove `classes.input`
|
|
47555
|
-
root: clsx(classes.input, classes.selectRoot, (
|
|
47556
|
-
select: clsx(classes.select, (
|
|
47601
|
+
root: clsx(classes.input, classes.selectRoot, (selectProps.classes || {}).root),
|
|
47602
|
+
select: clsx(classes.select, (selectProps.classes || {}).select),
|
|
47557
47603
|
// TODO v5 remove `selectIcon`
|
|
47558
|
-
icon: clsx(classes.selectIcon, (
|
|
47604
|
+
icon: clsx(classes.selectIcon, (selectProps.classes || {}).icon)
|
|
47559
47605
|
}),
|
|
47606
|
+
disabled: disabled,
|
|
47560
47607
|
children: rowsPerPageOptions.map(rowsPerPageOption => /*#__PURE__*/React.createElement(MenuItemComponent, _extends({}, !isHostComponent(MenuItemComponent) && {
|
|
47561
47608
|
ownerState
|
|
47562
47609
|
}, {
|
|
@@ -47582,7 +47629,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47582
47629
|
rowsPerPage: rowsPerPage,
|
|
47583
47630
|
showFirstButton: showFirstButton,
|
|
47584
47631
|
showLastButton: showLastButton,
|
|
47585
|
-
|
|
47632
|
+
slotProps: slotProps == null ? void 0 : slotProps.actions,
|
|
47633
|
+
getItemAriaLabel: getItemAriaLabel,
|
|
47634
|
+
disabled: disabled
|
|
47586
47635
|
})]
|
|
47587
47636
|
})
|
|
47588
47637
|
}));
|
|
@@ -47600,6 +47649,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47600
47649
|
ActionsComponent: PropTypes.elementType,
|
|
47601
47650
|
/**
|
|
47602
47651
|
* Props applied to the back arrow [`IconButton`](/material-ui/api/icon-button/) component.
|
|
47652
|
+
*
|
|
47653
|
+
* This prop is an alias for `slotProps.actions.previousButton` and will be overriden by it if both are used.
|
|
47654
|
+
* @deprecated Use `slotProps.actions.previousButton` instead.
|
|
47603
47655
|
*/
|
|
47604
47656
|
backIconButtonProps: PropTypes.object,
|
|
47605
47657
|
/**
|
|
@@ -47625,6 +47677,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47625
47677
|
* To enable server side pagination for an unknown number of items, provide -1.
|
|
47626
47678
|
*/
|
|
47627
47679
|
count: integerPropType.isRequired,
|
|
47680
|
+
/**
|
|
47681
|
+
* If `true`, the component is disabled.
|
|
47682
|
+
* @default false
|
|
47683
|
+
*/
|
|
47684
|
+
disabled: PropTypes.bool,
|
|
47628
47685
|
/**
|
|
47629
47686
|
* Accepts a function which returns a string value that provides a user-friendly name for the current page.
|
|
47630
47687
|
* This is important for screen reader users.
|
|
@@ -47656,6 +47713,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47656
47713
|
labelRowsPerPage: PropTypes.node,
|
|
47657
47714
|
/**
|
|
47658
47715
|
* Props applied to the next arrow [`IconButton`](/material-ui/api/icon-button/) element.
|
|
47716
|
+
*
|
|
47717
|
+
* This prop is an alias for `slotProps.actions.nextButton` and will be overriden by it if both are used.
|
|
47718
|
+
* @deprecated Use `slotProps.actions.nextButton` instead.
|
|
47659
47719
|
*/
|
|
47660
47720
|
nextIconButtonProps: PropTypes.object,
|
|
47661
47721
|
/**
|
|
@@ -47707,6 +47767,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47707
47767
|
})]).isRequired),
|
|
47708
47768
|
/**
|
|
47709
47769
|
* Props applied to the rows per page [`Select`](/material-ui/api/select/) element.
|
|
47770
|
+
*
|
|
47771
|
+
* This prop is an alias for `slotProps.select` and will be overriden by it if both are used.
|
|
47772
|
+
* @deprecated Use `slotProps.select` instead.
|
|
47773
|
+
*
|
|
47710
47774
|
* @default {}
|
|
47711
47775
|
*/
|
|
47712
47776
|
SelectProps: PropTypes.object,
|
|
@@ -47720,6 +47784,19 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47720
47784
|
* @default false
|
|
47721
47785
|
*/
|
|
47722
47786
|
showLastButton: PropTypes.bool,
|
|
47787
|
+
/**
|
|
47788
|
+
* The props used for each slot inside the TablePagination.
|
|
47789
|
+
* @default {}
|
|
47790
|
+
*/
|
|
47791
|
+
slotProps: PropTypes.shape({
|
|
47792
|
+
actions: PropTypes.shape({
|
|
47793
|
+
firstButton: PropTypes.object,
|
|
47794
|
+
lastButton: PropTypes.object,
|
|
47795
|
+
nextButton: PropTypes.object,
|
|
47796
|
+
previousButton: PropTypes.object
|
|
47797
|
+
}),
|
|
47798
|
+
select: PropTypes.object
|
|
47799
|
+
}),
|
|
47723
47800
|
/**
|
|
47724
47801
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
47725
47802
|
*/
|
|
@@ -50089,6 +50166,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
50089
50166
|
exports.badgeClasses = badgeClasses$1;
|
|
50090
50167
|
exports.bottomNavigationActionClasses = bottomNavigationActionClasses$1;
|
|
50091
50168
|
exports.bottomNavigationClasses = bottomNavigationClasses$1;
|
|
50169
|
+
exports.boxClasses = boxClasses$1;
|
|
50092
50170
|
exports.breadcrumbsClasses = breadcrumbsClasses$1;
|
|
50093
50171
|
exports.buttonBaseClasses = buttonBaseClasses$1;
|
|
50094
50172
|
exports.buttonClasses = buttonClasses$1;
|