@mui/material 5.14.17 → 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 (39) hide show
  1. package/Autocomplete/Autocomplete.d.ts +3 -0
  2. package/Autocomplete/Autocomplete.js +15 -4
  3. package/BottomNavigation/BottomNavigation.js +0 -0
  4. package/CHANGELOG.md +65 -5
  5. package/FilledInput/FilledInput.js +8 -5
  6. package/FormControlLabel/FormControlLabel.js +1 -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/BottomNavigation/BottomNavigation.js +0 -0
  15. package/legacy/FilledInput/FilledInput.js +8 -5
  16. package/legacy/FormControlLabel/FormControlLabel.js +1 -2
  17. package/legacy/Rating/Rating.js +4 -5
  18. package/legacy/TablePagination/TablePagination.js +47 -11
  19. package/legacy/TablePagination/TablePaginationActions.js +35 -14
  20. package/legacy/index.js +1 -1
  21. package/modern/Autocomplete/Autocomplete.js +15 -4
  22. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  23. package/modern/FilledInput/FilledInput.js +8 -5
  24. package/modern/FormControlLabel/FormControlLabel.js +1 -2
  25. package/modern/Rating/Rating.js +4 -6
  26. package/modern/TablePagination/TablePagination.js +46 -12
  27. package/modern/TablePagination/TablePaginationActions.js +34 -15
  28. package/modern/index.js +1 -1
  29. package/node/Autocomplete/Autocomplete.js +15 -4
  30. package/node/BottomNavigation/BottomNavigation.js +0 -0
  31. package/node/FilledInput/FilledInput.js +8 -5
  32. package/node/FormControlLabel/FormControlLabel.js +1 -2
  33. package/node/Rating/Rating.js +4 -6
  34. package/node/TablePagination/TablePagination.js +47 -12
  35. package/node/TablePagination/TablePaginationActions.js +35 -15
  36. package/node/index.js +1 -1
  37. package/package.json +6 -6
  38. package/umd/material-ui.development.js +111 -45
  39. package/umd/material-ui.production.min.js +18 -18
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.14.17
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
@@ -22424,7 +22424,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22424
22424
 
22425
22425
  var _ClearIcon, _ArrowDropDownIcon;
22426
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"];
22427
+ _excluded2$a = ["ref"],
22428
+ _excluded3$2 = ["key"];
22428
22429
  const useUtilityClasses$1x = ownerState => {
22429
22430
  const {
22430
22431
  classes,
@@ -22922,9 +22923,15 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22922
22923
  })]
22923
22924
  }, params.key);
22924
22925
  const renderGroup = renderGroupProp || defaultRenderGroup;
22925
- const defaultRenderOption = (props2, option) => /*#__PURE__*/jsxRuntime_1("li", _extends({}, props2, {
22926
- children: getOptionLabel(option)
22927
- }));
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
+ };
22928
22935
  const renderOption = renderOptionProp || defaultRenderOption;
22929
22936
  const renderListOption = (option, index) => {
22930
22937
  const optionProps = getOptionProps({
@@ -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).
@@ -29805,6 +29816,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29805
29816
  }, ownerState.hiddenLabel && {
29806
29817
  paddingTop: 16,
29807
29818
  paddingBottom: 17
29819
+ }, ownerState.hiddenLabel && ownerState.size === 'small' && {
29820
+ paddingTop: 8,
29821
+ paddingBottom: 9
29808
29822
  }));
29809
29823
  });
29810
29824
  const FilledInputInput = styled$1(InputBaseComponent, {
@@ -29845,11 +29859,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29845
29859
  }, ownerState.hiddenLabel && {
29846
29860
  paddingTop: 16,
29847
29861
  paddingBottom: 17
29848
- }, ownerState.multiline && {
29849
- paddingTop: 0,
29850
- paddingBottom: 0,
29851
- paddingLeft: 0,
29852
- paddingRight: 0
29853
29862
  }, ownerState.startAdornment && {
29854
29863
  paddingLeft: 0
29855
29864
  }, ownerState.endAdornment && {
@@ -29857,6 +29866,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29857
29866
  }, ownerState.hiddenLabel && ownerState.size === 'small' && {
29858
29867
  paddingTop: 8,
29859
29868
  paddingBottom: 9
29869
+ }, ownerState.multiline && {
29870
+ paddingTop: 0,
29871
+ paddingBottom: 0,
29872
+ paddingLeft: 0,
29873
+ paddingRight: 0
29860
29874
  }));
29861
29875
  const FilledInput = /*#__PURE__*/React__namespace.forwardRef(function FilledInput(inProps, ref) {
29862
29876
  var _ref, _slots$root, _ref2, _slots$input;
@@ -30587,8 +30601,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30587
30601
  ref: ref
30588
30602
  }, other, {
30589
30603
  children: [/*#__PURE__*/React__namespace.cloneElement(control, controlProps), required ? /*#__PURE__*/jsxRuntime_2(Stack$1, {
30590
- direction: "row",
30591
- alignItems: "center",
30604
+ display: "block",
30592
30605
  children: [label, /*#__PURE__*/jsxRuntime_2(AsteriskComponent$1, {
30593
30606
  ownerState: ownerState,
30594
30607
  "aria-hidden": true,
@@ -39462,16 +39475,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
39462
39475
  const rootNode = rootRef.current;
39463
39476
  const {
39464
39477
  right,
39465
- left
39478
+ left,
39479
+ width: containerWidth
39466
39480
  } = rootNode.getBoundingClientRect();
39467
- const {
39468
- width
39469
- } = rootNode.firstChild.getBoundingClientRect();
39470
39481
  let percent;
39471
39482
  if (theme.direction === 'rtl') {
39472
- percent = (right - event.clientX) / (width * max);
39483
+ percent = (right - event.clientX) / containerWidth;
39473
39484
  } else {
39474
- percent = (event.clientX - left) / (width * max);
39485
+ percent = (event.clientX - left) / containerWidth;
39475
39486
  }
39476
39487
  let newHover = roundValueToPrecision(max * percent + precision / 2, precision);
39477
39488
  newHover = clamp$1(newHover, precision, max);
@@ -47244,18 +47255,21 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47244
47255
  }), 'KeyboardArrowRight');
47245
47256
 
47246
47257
  var _LastPageIcon, _FirstPageIcon, _KeyboardArrowRight, _KeyboardArrowLeft, _KeyboardArrowLeft2, _KeyboardArrowRight2, _FirstPageIcon2, _LastPageIcon2;
47247
- 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"];
47248
47259
  const TablePaginationActions = /*#__PURE__*/React__namespace.forwardRef(function TablePaginationActions(props, ref) {
47260
+ var _slotProps$firstButto, _slotProps$previousBu, _slotProps$nextButton, _slotProps$lastButton;
47249
47261
  const {
47250
47262
  backIconButtonProps,
47251
47263
  count,
47264
+ disabled = false,
47252
47265
  getItemAriaLabel,
47253
47266
  nextIconButtonProps,
47254
47267
  onPageChange,
47255
47268
  page,
47256
47269
  rowsPerPage,
47257
47270
  showFirstButton,
47258
- showLastButton
47271
+ showLastButton,
47272
+ slotProps
47259
47273
  } = props,
47260
47274
  other = _objectWithoutPropertiesLoose(props, _excluded$a);
47261
47275
  const theme = useTheme();
@@ -47274,35 +47288,37 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47274
47288
  return /*#__PURE__*/jsxRuntime_2("div", _extends({
47275
47289
  ref: ref
47276
47290
  }, other, {
47277
- children: [showFirstButton && /*#__PURE__*/jsxRuntime_1(IconButton$1, {
47291
+ children: [showFirstButton && /*#__PURE__*/jsxRuntime_1(IconButton$1, _extends({
47278
47292
  onClick: handleFirstPageButtonClick,
47279
- disabled: page === 0,
47293
+ disabled: disabled || page === 0,
47280
47294
  "aria-label": getItemAriaLabel('first', page),
47281
- title: getItemAriaLabel('first', page),
47295
+ title: getItemAriaLabel('first', page)
47296
+ }, (_slotProps$firstButto = slotProps == null ? void 0 : slotProps.firstButton) != null ? _slotProps$firstButto : {}, {
47282
47297
  children: theme.direction === 'rtl' ? _LastPageIcon || (_LastPageIcon = /*#__PURE__*/jsxRuntime_1(LastPageIcon, {})) : _FirstPageIcon || (_FirstPageIcon = /*#__PURE__*/jsxRuntime_1(FirstPageIcon, {}))
47283
- }), /*#__PURE__*/jsxRuntime_1(IconButton$1, _extends({
47298
+ })), /*#__PURE__*/jsxRuntime_1(IconButton$1, _extends({
47284
47299
  onClick: handleBackButtonClick,
47285
- disabled: page === 0,
47300
+ disabled: disabled || page === 0,
47286
47301
  color: "inherit",
47287
47302
  "aria-label": getItemAriaLabel('previous', page),
47288
47303
  title: getItemAriaLabel('previous', page)
47289
- }, backIconButtonProps, {
47304
+ }, (_slotProps$previousBu = slotProps == null ? void 0 : slotProps.previousButton) != null ? _slotProps$previousBu : backIconButtonProps, {
47290
47305
  children: theme.direction === 'rtl' ? _KeyboardArrowRight || (_KeyboardArrowRight = /*#__PURE__*/jsxRuntime_1(KeyboardArrowRight, {})) : _KeyboardArrowLeft || (_KeyboardArrowLeft = /*#__PURE__*/jsxRuntime_1(KeyboardArrowLeft, {}))
47291
47306
  })), /*#__PURE__*/jsxRuntime_1(IconButton$1, _extends({
47292
47307
  onClick: handleNextButtonClick,
47293
- disabled: count !== -1 ? page >= Math.ceil(count / rowsPerPage) - 1 : false,
47308
+ disabled: disabled || (count !== -1 ? page >= Math.ceil(count / rowsPerPage) - 1 : false),
47294
47309
  color: "inherit",
47295
47310
  "aria-label": getItemAriaLabel('next', page),
47296
47311
  title: getItemAriaLabel('next', page)
47297
- }, nextIconButtonProps, {
47312
+ }, (_slotProps$nextButton = slotProps == null ? void 0 : slotProps.nextButton) != null ? _slotProps$nextButton : nextIconButtonProps, {
47298
47313
  children: theme.direction === 'rtl' ? _KeyboardArrowLeft2 || (_KeyboardArrowLeft2 = /*#__PURE__*/jsxRuntime_1(KeyboardArrowLeft, {})) : _KeyboardArrowRight2 || (_KeyboardArrowRight2 = /*#__PURE__*/jsxRuntime_1(KeyboardArrowRight, {}))
47299
- })), showLastButton && /*#__PURE__*/jsxRuntime_1(IconButton$1, {
47314
+ })), showLastButton && /*#__PURE__*/jsxRuntime_1(IconButton$1, _extends({
47300
47315
  onClick: handleLastPageButtonClick,
47301
- disabled: page >= Math.ceil(count / rowsPerPage) - 1,
47316
+ disabled: disabled || page >= Math.ceil(count / rowsPerPage) - 1,
47302
47317
  "aria-label": getItemAriaLabel('last', page),
47303
- title: getItemAriaLabel('last', page),
47318
+ title: getItemAriaLabel('last', page)
47319
+ }, (_slotProps$lastButton = slotProps == null ? void 0 : slotProps.lastButton) != null ? _slotProps$lastButton : {}, {
47304
47320
  children: theme.direction === 'rtl' ? _FirstPageIcon2 || (_FirstPageIcon2 = /*#__PURE__*/jsxRuntime_1(FirstPageIcon, {})) : _LastPageIcon2 || (_LastPageIcon2 = /*#__PURE__*/jsxRuntime_1(LastPageIcon, {}))
47305
- })]
47321
+ }))]
47306
47322
  }));
47307
47323
  });
47308
47324
  TablePaginationActions.propTypes = {
@@ -47314,6 +47330,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47314
47330
  * The total number of rows.
47315
47331
  */
47316
47332
  count: PropTypes.number.isRequired,
47333
+ /**
47334
+ * If `true`, the component is disabled.
47335
+ * @default false
47336
+ */
47337
+ disabled: PropTypes.bool,
47317
47338
  /**
47318
47339
  * Accepts a function which returns a string value that provides a user-friendly name for the current page.
47319
47340
  *
@@ -47350,7 +47371,17 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47350
47371
  /**
47351
47372
  * If `true`, show the last-page button.
47352
47373
  */
47353
- 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
+ })
47354
47385
  } ;
47355
47386
  var TablePaginationActions$1 = TablePaginationActions;
47356
47387
 
@@ -47361,7 +47392,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47361
47392
  var tablePaginationClasses$1 = tablePaginationClasses;
47362
47393
 
47363
47394
  var _InputBase;
47364
- 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"];
47365
47396
  const TablePaginationRoot = styled$1(TableCell$1, {
47366
47397
  name: 'MuiTablePagination',
47367
47398
  slot: 'Root',
@@ -47484,6 +47515,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47484
47515
  * A `TableCell` based component for placing inside `TableFooter` for pagination.
47485
47516
  */
47486
47517
  const TablePagination = /*#__PURE__*/React__namespace.forwardRef(function TablePagination(inProps, ref) {
47518
+ var _slotProps$select;
47487
47519
  const props = useThemeProps({
47488
47520
  props: inProps,
47489
47521
  name: 'MuiTablePagination'
@@ -47495,6 +47527,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47495
47527
  colSpan: colSpanProp,
47496
47528
  component = TableCell$1,
47497
47529
  count,
47530
+ disabled = false,
47498
47531
  getItemAriaLabel = defaultGetAriaLabel,
47499
47532
  labelDisplayedRows = defaultLabelDisplayedRows,
47500
47533
  labelRowsPerPage = 'Rows per page:',
@@ -47506,19 +47539,21 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47506
47539
  rowsPerPageOptions = [10, 25, 50, 100],
47507
47540
  SelectProps = {},
47508
47541
  showFirstButton = false,
47509
- showLastButton = false
47542
+ showLastButton = false,
47543
+ slotProps
47510
47544
  } = props,
47511
47545
  other = _objectWithoutPropertiesLoose(props, _excluded$9);
47512
47546
  const ownerState = props;
47513
47547
  const classes = useUtilityClasses$7(ownerState);
47514
- 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;
47515
47550
  let colSpan;
47516
47551
  if (component === TableCell$1 || component === 'td') {
47517
47552
  colSpan = colSpanProp || 1000; // col-span over everything
47518
47553
  }
47519
47554
 
47520
- const selectId = useId(SelectProps.id);
47521
- const labelId = useId(SelectProps.labelId);
47555
+ const selectId = useId(selectProps.id);
47556
+ const labelId = useId(selectProps.labelId);
47522
47557
  const getLabelDisplayedRowsTo = () => {
47523
47558
  if (count === -1) {
47524
47559
  return (page + 1) * rowsPerPage;
@@ -47542,21 +47577,22 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47542
47577
  children: labelRowsPerPage
47543
47578
  }), rowsPerPageOptions.length > 1 && /*#__PURE__*/jsxRuntime_1(TablePaginationSelect, _extends({
47544
47579
  variant: "standard"
47545
- }, !SelectProps.variant && {
47580
+ }, !selectProps.variant && {
47546
47581
  input: _InputBase || (_InputBase = /*#__PURE__*/jsxRuntime_1(InputBase$1, {}))
47547
47582
  }, {
47548
47583
  value: rowsPerPage,
47549
47584
  onChange: onRowsPerPageChange,
47550
47585
  id: selectId,
47551
47586
  labelId: labelId
47552
- }, SelectProps, {
47553
- classes: _extends({}, SelectProps.classes, {
47587
+ }, selectProps, {
47588
+ classes: _extends({}, selectProps.classes, {
47554
47589
  // TODO v5 remove `classes.input`
47555
- root: clsx(classes.input, classes.selectRoot, (SelectProps.classes || {}).root),
47556
- 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),
47557
47592
  // TODO v5 remove `selectIcon`
47558
- icon: clsx(classes.selectIcon, (SelectProps.classes || {}).icon)
47593
+ icon: clsx(classes.selectIcon, (selectProps.classes || {}).icon)
47559
47594
  }),
47595
+ disabled: disabled,
47560
47596
  children: rowsPerPageOptions.map(rowsPerPageOption => /*#__PURE__*/React.createElement(MenuItemComponent, _extends({}, !isHostComponent(MenuItemComponent) && {
47561
47597
  ownerState
47562
47598
  }, {
@@ -47582,7 +47618,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47582
47618
  rowsPerPage: rowsPerPage,
47583
47619
  showFirstButton: showFirstButton,
47584
47620
  showLastButton: showLastButton,
47585
- getItemAriaLabel: getItemAriaLabel
47621
+ slotProps: slotProps == null ? void 0 : slotProps.actions,
47622
+ getItemAriaLabel: getItemAriaLabel,
47623
+ disabled: disabled
47586
47624
  })]
47587
47625
  })
47588
47626
  }));
@@ -47600,6 +47638,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47600
47638
  ActionsComponent: PropTypes.elementType,
47601
47639
  /**
47602
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.
47603
47644
  */
47604
47645
  backIconButtonProps: PropTypes.object,
47605
47646
  /**
@@ -47625,6 +47666,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47625
47666
  * To enable server side pagination for an unknown number of items, provide -1.
47626
47667
  */
47627
47668
  count: integerPropType.isRequired,
47669
+ /**
47670
+ * If `true`, the component is disabled.
47671
+ * @default false
47672
+ */
47673
+ disabled: PropTypes.bool,
47628
47674
  /**
47629
47675
  * Accepts a function which returns a string value that provides a user-friendly name for the current page.
47630
47676
  * This is important for screen reader users.
@@ -47656,6 +47702,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47656
47702
  labelRowsPerPage: PropTypes.node,
47657
47703
  /**
47658
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.
47659
47708
  */
47660
47709
  nextIconButtonProps: PropTypes.object,
47661
47710
  /**
@@ -47707,6 +47756,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47707
47756
  })]).isRequired),
47708
47757
  /**
47709
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
+ *
47710
47763
  * @default {}
47711
47764
  */
47712
47765
  SelectProps: PropTypes.object,
@@ -47720,6 +47773,19 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47720
47773
  * @default false
47721
47774
  */
47722
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
+ }),
47723
47789
  /**
47724
47790
  * The system prop that allows defining system overrides as well as additional CSS styles.
47725
47791
  */