@mui/material 5.14.16 → 5.14.18

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.
Files changed (36) hide show
  1. package/Autocomplete/Autocomplete.d.ts +3 -0
  2. package/Autocomplete/Autocomplete.js +15 -4
  3. package/CHANGELOG.md +129 -7
  4. package/FilledInput/FilledInput.js +8 -5
  5. package/FormControlLabel/FormControlLabel.js +1 -2
  6. package/InputBase/InputBase.d.ts +4 -2
  7. package/Rating/Rating.js +4 -6
  8. package/TablePagination/TablePagination.d.ts +23 -0
  9. package/TablePagination/TablePagination.js +47 -12
  10. package/TablePagination/TablePaginationActions.d.ts +19 -0
  11. package/TablePagination/TablePaginationActions.js +35 -15
  12. package/index.js +1 -1
  13. package/legacy/Autocomplete/Autocomplete.js +8 -2
  14. package/legacy/FilledInput/FilledInput.js +8 -5
  15. package/legacy/FormControlLabel/FormControlLabel.js +1 -2
  16. package/legacy/Rating/Rating.js +4 -5
  17. package/legacy/TablePagination/TablePagination.js +47 -11
  18. package/legacy/TablePagination/TablePaginationActions.js +35 -14
  19. package/legacy/index.js +1 -1
  20. package/modern/Autocomplete/Autocomplete.js +15 -4
  21. package/modern/FilledInput/FilledInput.js +8 -5
  22. package/modern/FormControlLabel/FormControlLabel.js +1 -2
  23. package/modern/Rating/Rating.js +4 -6
  24. package/modern/TablePagination/TablePagination.js +46 -12
  25. package/modern/TablePagination/TablePaginationActions.js +34 -15
  26. package/modern/index.js +1 -1
  27. package/node/Autocomplete/Autocomplete.js +15 -4
  28. package/node/FilledInput/FilledInput.js +8 -5
  29. package/node/FormControlLabel/FormControlLabel.js +1 -2
  30. package/node/Rating/Rating.js +4 -6
  31. package/node/TablePagination/TablePagination.js +47 -12
  32. package/node/TablePagination/TablePaginationActions.js +35 -15
  33. package/node/index.js +1 -1
  34. package/package.json +6 -6
  35. package/umd/material-ui.development.js +114 -46
  36. package/umd/material-ui.production.min.js +18 -18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/material",
3
- "version": "5.14.16",
3
+ "version": "5.14.18",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "React components that implement Google's Material Design.",
@@ -28,11 +28,11 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@babel/runtime": "^7.23.2",
31
- "@mui/base": "5.0.0-beta.22",
32
- "@mui/core-downloads-tracker": "^5.14.16",
33
- "@mui/system": "^5.14.16",
34
- "@mui/types": "^7.2.8",
35
- "@mui/utils": "^5.14.16",
31
+ "@mui/base": "5.0.0-beta.24",
32
+ "@mui/core-downloads-tracker": "^5.14.18",
33
+ "@mui/system": "^5.14.18",
34
+ "@mui/types": "^7.2.9",
35
+ "@mui/utils": "^5.14.18",
36
36
  "@types/react-transition-group": "^4.4.8",
37
37
  "clsx": "^2.0.0",
38
38
  "csstype": "^3.1.2",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.14.16
2
+ * @mui/material v5.14.18
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -18658,7 +18658,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18658
18658
  // clicking a checkbox to check it, hitting a button to submit a form,
18659
18659
  // and hitting left arrow to move the cursor in a text input etc.
18660
18660
  // Only special HTML elements have these default behaviors.
18661
- if (event.key !== 'Escape' || !isTopModal()) {
18661
+ if (event.key !== 'Escape' || event.which === 229 ||
18662
+ // Wait until IME is settled.
18663
+ !isTopModal()) {
18662
18664
  return;
18663
18665
  }
18664
18666
  if (!disableEscapeKeyDown) {
@@ -22422,7 +22424,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22422
22424
 
22423
22425
  var _ClearIcon, _ArrowDropDownIcon;
22424
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"],
22425
- _excluded2$a = ["ref"];
22427
+ _excluded2$a = ["ref"],
22428
+ _excluded3$2 = ["key"];
22426
22429
  const useUtilityClasses$1x = ownerState => {
22427
22430
  const {
22428
22431
  classes,
@@ -22920,9 +22923,15 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22920
22923
  })]
22921
22924
  }, params.key);
22922
22925
  const renderGroup = renderGroupProp || defaultRenderGroup;
22923
- const defaultRenderOption = (props2, option) => /*#__PURE__*/jsxRuntime_1("li", _extends({}, props2, {
22924
- children: getOptionLabel(option)
22925
- }));
22926
+ const defaultRenderOption = (props2, option) => {
22927
+ const {
22928
+ key
22929
+ } = props2,
22930
+ otherProps = _objectWithoutPropertiesLoose(props2, _excluded3$2);
22931
+ return /*#__PURE__*/jsxRuntime_1("li", _extends({}, otherProps, {
22932
+ children: getOptionLabel(option)
22933
+ }), key);
22934
+ };
22926
22935
  const renderOption = renderOptionProp || defaultRenderOption;
22927
22936
  const renderListOption = (option, index) => {
22928
22937
  const optionProps = getOptionProps({
@@ -23338,6 +23347,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23338
23347
  * @param {string} reason Can be: `"input"` (user input), `"reset"` (programmatic change), `"clear"`.
23339
23348
  */
23340
23349
  onInputChange: PropTypes.func,
23350
+ /**
23351
+ * @ignore
23352
+ */
23353
+ onKeyDown: PropTypes.func,
23341
23354
  /**
23342
23355
  * Callback fired when the popup requests to be opened.
23343
23356
  * Use in controlled mode (see open).
@@ -29803,6 +29816,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29803
29816
  }, ownerState.hiddenLabel && {
29804
29817
  paddingTop: 16,
29805
29818
  paddingBottom: 17
29819
+ }, ownerState.hiddenLabel && ownerState.size === 'small' && {
29820
+ paddingTop: 8,
29821
+ paddingBottom: 9
29806
29822
  }));
29807
29823
  });
29808
29824
  const FilledInputInput = styled$1(InputBaseComponent, {
@@ -29843,11 +29859,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29843
29859
  }, ownerState.hiddenLabel && {
29844
29860
  paddingTop: 16,
29845
29861
  paddingBottom: 17
29846
- }, ownerState.multiline && {
29847
- paddingTop: 0,
29848
- paddingBottom: 0,
29849
- paddingLeft: 0,
29850
- paddingRight: 0
29851
29862
  }, ownerState.startAdornment && {
29852
29863
  paddingLeft: 0
29853
29864
  }, ownerState.endAdornment && {
@@ -29855,6 +29866,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29855
29866
  }, ownerState.hiddenLabel && ownerState.size === 'small' && {
29856
29867
  paddingTop: 8,
29857
29868
  paddingBottom: 9
29869
+ }, ownerState.multiline && {
29870
+ paddingTop: 0,
29871
+ paddingBottom: 0,
29872
+ paddingLeft: 0,
29873
+ paddingRight: 0
29858
29874
  }));
29859
29875
  const FilledInput = /*#__PURE__*/React__namespace.forwardRef(function FilledInput(inProps, ref) {
29860
29876
  var _ref, _slots$root, _ref2, _slots$input;
@@ -30585,8 +30601,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30585
30601
  ref: ref
30586
30602
  }, other, {
30587
30603
  children: [/*#__PURE__*/React__namespace.cloneElement(control, controlProps), required ? /*#__PURE__*/jsxRuntime_2(Stack$1, {
30588
- direction: "row",
30589
- alignItems: "center",
30604
+ display: "block",
30590
30605
  children: [label, /*#__PURE__*/jsxRuntime_2(AsteriskComponent$1, {
30591
30606
  ownerState: ownerState,
30592
30607
  "aria-hidden": true,
@@ -39460,16 +39475,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
39460
39475
  const rootNode = rootRef.current;
39461
39476
  const {
39462
39477
  right,
39463
- left
39478
+ left,
39479
+ width: containerWidth
39464
39480
  } = rootNode.getBoundingClientRect();
39465
- const {
39466
- width
39467
- } = rootNode.firstChild.getBoundingClientRect();
39468
39481
  let percent;
39469
39482
  if (theme.direction === 'rtl') {
39470
- percent = (right - event.clientX) / (width * max);
39483
+ percent = (right - event.clientX) / containerWidth;
39471
39484
  } else {
39472
- percent = (event.clientX - left) / (width * max);
39485
+ percent = (event.clientX - left) / containerWidth;
39473
39486
  }
39474
39487
  let newHover = roundValueToPrecision(max * percent + precision / 2, precision);
39475
39488
  newHover = clamp$1(newHover, precision, max);
@@ -47242,18 +47255,21 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47242
47255
  }), 'KeyboardArrowRight');
47243
47256
 
47244
47257
  var _LastPageIcon, _FirstPageIcon, _KeyboardArrowRight, _KeyboardArrowLeft, _KeyboardArrowLeft2, _KeyboardArrowRight2, _FirstPageIcon2, _LastPageIcon2;
47245
- const _excluded$a = ["backIconButtonProps", "count", "getItemAriaLabel", "nextIconButtonProps", "onPageChange", "page", "rowsPerPage", "showFirstButton", "showLastButton"];
47258
+ const _excluded$a = ["backIconButtonProps", "count", "disabled", "getItemAriaLabel", "nextIconButtonProps", "onPageChange", "page", "rowsPerPage", "showFirstButton", "showLastButton", "slotProps"];
47246
47259
  const TablePaginationActions = /*#__PURE__*/React__namespace.forwardRef(function TablePaginationActions(props, ref) {
47260
+ var _slotProps$firstButto, _slotProps$previousBu, _slotProps$nextButton, _slotProps$lastButton;
47247
47261
  const {
47248
47262
  backIconButtonProps,
47249
47263
  count,
47264
+ disabled = false,
47250
47265
  getItemAriaLabel,
47251
47266
  nextIconButtonProps,
47252
47267
  onPageChange,
47253
47268
  page,
47254
47269
  rowsPerPage,
47255
47270
  showFirstButton,
47256
- showLastButton
47271
+ showLastButton,
47272
+ slotProps
47257
47273
  } = props,
47258
47274
  other = _objectWithoutPropertiesLoose(props, _excluded$a);
47259
47275
  const theme = useTheme();
@@ -47272,35 +47288,37 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47272
47288
  return /*#__PURE__*/jsxRuntime_2("div", _extends({
47273
47289
  ref: ref
47274
47290
  }, other, {
47275
- children: [showFirstButton && /*#__PURE__*/jsxRuntime_1(IconButton$1, {
47291
+ children: [showFirstButton && /*#__PURE__*/jsxRuntime_1(IconButton$1, _extends({
47276
47292
  onClick: handleFirstPageButtonClick,
47277
- disabled: page === 0,
47293
+ disabled: disabled || page === 0,
47278
47294
  "aria-label": getItemAriaLabel('first', page),
47279
- title: getItemAriaLabel('first', page),
47295
+ title: getItemAriaLabel('first', page)
47296
+ }, (_slotProps$firstButto = slotProps == null ? void 0 : slotProps.firstButton) != null ? _slotProps$firstButto : {}, {
47280
47297
  children: theme.direction === 'rtl' ? _LastPageIcon || (_LastPageIcon = /*#__PURE__*/jsxRuntime_1(LastPageIcon, {})) : _FirstPageIcon || (_FirstPageIcon = /*#__PURE__*/jsxRuntime_1(FirstPageIcon, {}))
47281
- }), /*#__PURE__*/jsxRuntime_1(IconButton$1, _extends({
47298
+ })), /*#__PURE__*/jsxRuntime_1(IconButton$1, _extends({
47282
47299
  onClick: handleBackButtonClick,
47283
- disabled: page === 0,
47300
+ disabled: disabled || page === 0,
47284
47301
  color: "inherit",
47285
47302
  "aria-label": getItemAriaLabel('previous', page),
47286
47303
  title: getItemAriaLabel('previous', page)
47287
- }, backIconButtonProps, {
47304
+ }, (_slotProps$previousBu = slotProps == null ? void 0 : slotProps.previousButton) != null ? _slotProps$previousBu : backIconButtonProps, {
47288
47305
  children: theme.direction === 'rtl' ? _KeyboardArrowRight || (_KeyboardArrowRight = /*#__PURE__*/jsxRuntime_1(KeyboardArrowRight, {})) : _KeyboardArrowLeft || (_KeyboardArrowLeft = /*#__PURE__*/jsxRuntime_1(KeyboardArrowLeft, {}))
47289
47306
  })), /*#__PURE__*/jsxRuntime_1(IconButton$1, _extends({
47290
47307
  onClick: handleNextButtonClick,
47291
- disabled: count !== -1 ? page >= Math.ceil(count / rowsPerPage) - 1 : false,
47308
+ disabled: disabled || (count !== -1 ? page >= Math.ceil(count / rowsPerPage) - 1 : false),
47292
47309
  color: "inherit",
47293
47310
  "aria-label": getItemAriaLabel('next', page),
47294
47311
  title: getItemAriaLabel('next', page)
47295
- }, nextIconButtonProps, {
47312
+ }, (_slotProps$nextButton = slotProps == null ? void 0 : slotProps.nextButton) != null ? _slotProps$nextButton : nextIconButtonProps, {
47296
47313
  children: theme.direction === 'rtl' ? _KeyboardArrowLeft2 || (_KeyboardArrowLeft2 = /*#__PURE__*/jsxRuntime_1(KeyboardArrowLeft, {})) : _KeyboardArrowRight2 || (_KeyboardArrowRight2 = /*#__PURE__*/jsxRuntime_1(KeyboardArrowRight, {}))
47297
- })), showLastButton && /*#__PURE__*/jsxRuntime_1(IconButton$1, {
47314
+ })), showLastButton && /*#__PURE__*/jsxRuntime_1(IconButton$1, _extends({
47298
47315
  onClick: handleLastPageButtonClick,
47299
- disabled: page >= Math.ceil(count / rowsPerPage) - 1,
47316
+ disabled: disabled || page >= Math.ceil(count / rowsPerPage) - 1,
47300
47317
  "aria-label": getItemAriaLabel('last', page),
47301
- title: getItemAriaLabel('last', page),
47318
+ title: getItemAriaLabel('last', page)
47319
+ }, (_slotProps$lastButton = slotProps == null ? void 0 : slotProps.lastButton) != null ? _slotProps$lastButton : {}, {
47302
47320
  children: theme.direction === 'rtl' ? _FirstPageIcon2 || (_FirstPageIcon2 = /*#__PURE__*/jsxRuntime_1(FirstPageIcon, {})) : _LastPageIcon2 || (_LastPageIcon2 = /*#__PURE__*/jsxRuntime_1(LastPageIcon, {}))
47303
- })]
47321
+ }))]
47304
47322
  }));
47305
47323
  });
47306
47324
  TablePaginationActions.propTypes = {
@@ -47312,6 +47330,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47312
47330
  * The total number of rows.
47313
47331
  */
47314
47332
  count: PropTypes.number.isRequired,
47333
+ /**
47334
+ * If `true`, the component is disabled.
47335
+ * @default false
47336
+ */
47337
+ disabled: PropTypes.bool,
47315
47338
  /**
47316
47339
  * Accepts a function which returns a string value that provides a user-friendly name for the current page.
47317
47340
  *
@@ -47348,7 +47371,17 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47348
47371
  /**
47349
47372
  * If `true`, show the last-page button.
47350
47373
  */
47351
- showLastButton: PropTypes.bool.isRequired
47374
+ showLastButton: PropTypes.bool.isRequired,
47375
+ /**
47376
+ * The props used for each slot inside the TablePaginationActions.
47377
+ * @default {}
47378
+ */
47379
+ slotProps: PropTypes.shape({
47380
+ firstButton: PropTypes.object,
47381
+ lastButton: PropTypes.object,
47382
+ nextButton: PropTypes.object,
47383
+ previousButton: PropTypes.object
47384
+ })
47352
47385
  } ;
47353
47386
  var TablePaginationActions$1 = TablePaginationActions;
47354
47387
 
@@ -47359,7 +47392,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47359
47392
  var tablePaginationClasses$1 = tablePaginationClasses;
47360
47393
 
47361
47394
  var _InputBase;
47362
- const _excluded$9 = ["ActionsComponent", "backIconButtonProps", "className", "colSpan", "component", "count", "getItemAriaLabel", "labelDisplayedRows", "labelRowsPerPage", "nextIconButtonProps", "onPageChange", "onRowsPerPageChange", "page", "rowsPerPage", "rowsPerPageOptions", "SelectProps", "showFirstButton", "showLastButton"];
47395
+ const _excluded$9 = ["ActionsComponent", "backIconButtonProps", "className", "colSpan", "component", "count", "disabled", "getItemAriaLabel", "labelDisplayedRows", "labelRowsPerPage", "nextIconButtonProps", "onPageChange", "onRowsPerPageChange", "page", "rowsPerPage", "rowsPerPageOptions", "SelectProps", "showFirstButton", "showLastButton", "slotProps"];
47363
47396
  const TablePaginationRoot = styled$1(TableCell$1, {
47364
47397
  name: 'MuiTablePagination',
47365
47398
  slot: 'Root',
@@ -47482,6 +47515,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47482
47515
  * A `TableCell` based component for placing inside `TableFooter` for pagination.
47483
47516
  */
47484
47517
  const TablePagination = /*#__PURE__*/React__namespace.forwardRef(function TablePagination(inProps, ref) {
47518
+ var _slotProps$select;
47485
47519
  const props = useThemeProps({
47486
47520
  props: inProps,
47487
47521
  name: 'MuiTablePagination'
@@ -47493,6 +47527,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47493
47527
  colSpan: colSpanProp,
47494
47528
  component = TableCell$1,
47495
47529
  count,
47530
+ disabled = false,
47496
47531
  getItemAriaLabel = defaultGetAriaLabel,
47497
47532
  labelDisplayedRows = defaultLabelDisplayedRows,
47498
47533
  labelRowsPerPage = 'Rows per page:',
@@ -47504,19 +47539,21 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47504
47539
  rowsPerPageOptions = [10, 25, 50, 100],
47505
47540
  SelectProps = {},
47506
47541
  showFirstButton = false,
47507
- showLastButton = false
47542
+ showLastButton = false,
47543
+ slotProps
47508
47544
  } = props,
47509
47545
  other = _objectWithoutPropertiesLoose(props, _excluded$9);
47510
47546
  const ownerState = props;
47511
47547
  const classes = useUtilityClasses$7(ownerState);
47512
- const MenuItemComponent = SelectProps.native ? 'option' : TablePaginationMenuItem;
47548
+ const selectProps = (_slotProps$select = slotProps == null ? void 0 : slotProps.select) != null ? _slotProps$select : SelectProps;
47549
+ const MenuItemComponent = selectProps.native ? 'option' : TablePaginationMenuItem;
47513
47550
  let colSpan;
47514
47551
  if (component === TableCell$1 || component === 'td') {
47515
47552
  colSpan = colSpanProp || 1000; // col-span over everything
47516
47553
  }
47517
47554
 
47518
- const selectId = useId(SelectProps.id);
47519
- const labelId = useId(SelectProps.labelId);
47555
+ const selectId = useId(selectProps.id);
47556
+ const labelId = useId(selectProps.labelId);
47520
47557
  const getLabelDisplayedRowsTo = () => {
47521
47558
  if (count === -1) {
47522
47559
  return (page + 1) * rowsPerPage;
@@ -47540,21 +47577,22 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47540
47577
  children: labelRowsPerPage
47541
47578
  }), rowsPerPageOptions.length > 1 && /*#__PURE__*/jsxRuntime_1(TablePaginationSelect, _extends({
47542
47579
  variant: "standard"
47543
- }, !SelectProps.variant && {
47580
+ }, !selectProps.variant && {
47544
47581
  input: _InputBase || (_InputBase = /*#__PURE__*/jsxRuntime_1(InputBase$1, {}))
47545
47582
  }, {
47546
47583
  value: rowsPerPage,
47547
47584
  onChange: onRowsPerPageChange,
47548
47585
  id: selectId,
47549
47586
  labelId: labelId
47550
- }, SelectProps, {
47551
- classes: _extends({}, SelectProps.classes, {
47587
+ }, selectProps, {
47588
+ classes: _extends({}, selectProps.classes, {
47552
47589
  // TODO v5 remove `classes.input`
47553
- root: clsx(classes.input, classes.selectRoot, (SelectProps.classes || {}).root),
47554
- select: clsx(classes.select, (SelectProps.classes || {}).select),
47590
+ root: clsx(classes.input, classes.selectRoot, (selectProps.classes || {}).root),
47591
+ select: clsx(classes.select, (selectProps.classes || {}).select),
47555
47592
  // TODO v5 remove `selectIcon`
47556
- icon: clsx(classes.selectIcon, (SelectProps.classes || {}).icon)
47593
+ icon: clsx(classes.selectIcon, (selectProps.classes || {}).icon)
47557
47594
  }),
47595
+ disabled: disabled,
47558
47596
  children: rowsPerPageOptions.map(rowsPerPageOption => /*#__PURE__*/React.createElement(MenuItemComponent, _extends({}, !isHostComponent(MenuItemComponent) && {
47559
47597
  ownerState
47560
47598
  }, {
@@ -47580,7 +47618,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47580
47618
  rowsPerPage: rowsPerPage,
47581
47619
  showFirstButton: showFirstButton,
47582
47620
  showLastButton: showLastButton,
47583
- getItemAriaLabel: getItemAriaLabel
47621
+ slotProps: slotProps == null ? void 0 : slotProps.actions,
47622
+ getItemAriaLabel: getItemAriaLabel,
47623
+ disabled: disabled
47584
47624
  })]
47585
47625
  })
47586
47626
  }));
@@ -47598,6 +47638,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47598
47638
  ActionsComponent: PropTypes.elementType,
47599
47639
  /**
47600
47640
  * Props applied to the back arrow [`IconButton`](/material-ui/api/icon-button/) component.
47641
+ *
47642
+ * This prop is an alias for `slotProps.actions.previousButton` and will be overriden by it if both are used.
47643
+ * @deprecated Use `slotProps.actions.previousButton` instead.
47601
47644
  */
47602
47645
  backIconButtonProps: PropTypes.object,
47603
47646
  /**
@@ -47623,6 +47666,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47623
47666
  * To enable server side pagination for an unknown number of items, provide -1.
47624
47667
  */
47625
47668
  count: integerPropType.isRequired,
47669
+ /**
47670
+ * If `true`, the component is disabled.
47671
+ * @default false
47672
+ */
47673
+ disabled: PropTypes.bool,
47626
47674
  /**
47627
47675
  * Accepts a function which returns a string value that provides a user-friendly name for the current page.
47628
47676
  * This is important for screen reader users.
@@ -47654,6 +47702,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47654
47702
  labelRowsPerPage: PropTypes.node,
47655
47703
  /**
47656
47704
  * Props applied to the next arrow [`IconButton`](/material-ui/api/icon-button/) element.
47705
+ *
47706
+ * This prop is an alias for `slotProps.actions.nextButton` and will be overriden by it if both are used.
47707
+ * @deprecated Use `slotProps.actions.nextButton` instead.
47657
47708
  */
47658
47709
  nextIconButtonProps: PropTypes.object,
47659
47710
  /**
@@ -47705,6 +47756,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47705
47756
  })]).isRequired),
47706
47757
  /**
47707
47758
  * Props applied to the rows per page [`Select`](/material-ui/api/select/) element.
47759
+ *
47760
+ * This prop is an alias for `slotProps.select` and will be overriden by it if both are used.
47761
+ * @deprecated Use `slotProps.select` instead.
47762
+ *
47708
47763
  * @default {}
47709
47764
  */
47710
47765
  SelectProps: PropTypes.object,
@@ -47718,6 +47773,19 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47718
47773
  * @default false
47719
47774
  */
47720
47775
  showLastButton: PropTypes.bool,
47776
+ /**
47777
+ * The props used for each slot inside the TablePagination.
47778
+ * @default {}
47779
+ */
47780
+ slotProps: PropTypes.shape({
47781
+ actions: PropTypes.shape({
47782
+ firstButton: PropTypes.object,
47783
+ lastButton: PropTypes.object,
47784
+ nextButton: PropTypes.object,
47785
+ previousButton: PropTypes.object
47786
+ }),
47787
+ select: PropTypes.object
47788
+ }),
47721
47789
  /**
47722
47790
  * The system prop that allows defining system overrides as well as additional CSS styles.
47723
47791
  */