@mui/material 5.10.12 → 5.10.13

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 (240) hide show
  1. package/Accordion/accordionClasses.d.ts +18 -18
  2. package/AccordionActions/accordionActionsClasses.d.ts +10 -10
  3. package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
  4. package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
  5. package/Alert/Alert.d.ts +34 -3
  6. package/Alert/Alert.js +46 -9
  7. package/Alert/alertClasses.d.ts +44 -44
  8. package/AlertTitle/alertTitleClasses.d.ts +8 -8
  9. package/AppBar/appBarClasses.d.ts +28 -28
  10. package/Autocomplete/Autocomplete.d.ts +10 -0
  11. package/Autocomplete/Autocomplete.js +27 -11
  12. package/Autocomplete/autocompleteClasses.d.ts +54 -54
  13. package/Avatar/avatarClasses.d.ts +20 -20
  14. package/AvatarGroup/AvatarGroup.d.ts +18 -1
  15. package/AvatarGroup/AvatarGroup.js +25 -6
  16. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  17. package/Backdrop/Backdrop.d.ts +33 -3
  18. package/Backdrop/Backdrop.js +46 -11
  19. package/Backdrop/backdropClasses.d.ts +10 -10
  20. package/Badge/Badge.d.ts +11 -3
  21. package/Badge/Badge.js +11 -3
  22. package/Badge/badgeClasses.d.ts +56 -56
  23. package/BottomNavigation/BottomNavigation.js +0 -0
  24. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  25. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  26. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  27. package/Button/buttonClasses.d.ts +100 -100
  28. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  29. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  30. package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
  31. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  32. package/CHANGELOG.md +58 -0
  33. package/Card/cardClasses.d.ts +8 -8
  34. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  35. package/CardActions/cardActionsClasses.d.ts +10 -10
  36. package/CardContent/cardContentClasses.d.ts +8 -8
  37. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  38. package/CardMedia/cardMediaClasses.d.ts +12 -12
  39. package/Checkbox/checkboxClasses.d.ts +18 -18
  40. package/Chip/chipClasses.d.ts +96 -96
  41. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  42. package/ClickAwayListener/index.d.ts +2 -2
  43. package/Collapse/collapseClasses.d.ts +18 -18
  44. package/Container/containerClasses.d.ts +6 -6
  45. package/Dialog/DialogContext.d.ts +6 -6
  46. package/Dialog/dialogClasses.d.ts +36 -36
  47. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  48. package/DialogContent/dialogContentClasses.d.ts +10 -10
  49. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  50. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  51. package/Divider/dividerClasses.d.ts +34 -34
  52. package/Drawer/drawerClasses.d.ts +30 -30
  53. package/Fab/fabClasses.d.ts +26 -26
  54. package/FilledInput/FilledInput.js +48 -9
  55. package/FilledInput/filledInputClasses.d.ts +40 -40
  56. package/FormControl/formControlClasses.d.ts +14 -14
  57. package/FormControlLabel/FormControlLabel.d.ts +12 -0
  58. package/FormControlLabel/FormControlLabel.js +17 -5
  59. package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
  60. package/FormGroup/formGroupClasses.d.ts +12 -12
  61. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  62. package/FormLabel/formLabelClasses.d.ts +22 -22
  63. package/Grid/gridClasses.d.ts +48 -48
  64. package/Icon/iconClasses.d.ts +24 -24
  65. package/IconButton/iconButtonClasses.d.ts +26 -26
  66. package/ImageList/imageListClasses.d.ts +16 -16
  67. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  68. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  69. package/Input/Input.js +49 -10
  70. package/Input/inputClasses.d.ts +34 -34
  71. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  72. package/InputBase/InputBase.d.ts +34 -3
  73. package/InputBase/InputBase.js +45 -8
  74. package/InputBase/inputBaseClasses.d.ts +46 -46
  75. package/InputLabel/inputLabelClasses.d.ts +32 -32
  76. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  77. package/Link/getTextDecoration.d.ts +15 -15
  78. package/Link/linkClasses.d.ts +18 -18
  79. package/List/listClasses.d.ts +14 -14
  80. package/ListItem/ListItem.d.ts +32 -3
  81. package/ListItem/ListItem.js +41 -9
  82. package/ListItem/listItemClasses.d.ts +30 -30
  83. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  84. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  85. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  86. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  87. package/ListItemText/listItemTextClasses.d.ts +18 -18
  88. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  89. package/Menu/menuClasses.d.ts +12 -12
  90. package/MenuItem/menuItemClasses.d.ts +20 -20
  91. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  92. package/Modal/Modal.d.ts +11 -3
  93. package/Modal/Modal.js +11 -3
  94. package/NativeSelect/NativeSelectInput.js +11 -9
  95. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  96. package/OutlinedInput/OutlinedInput.js +26 -8
  97. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  98. package/OverridableComponentAugmentation.d.ts +31 -31
  99. package/Pagination/paginationClasses.d.ts +14 -14
  100. package/PaginationItem/PaginationItem.d.ts +19 -7
  101. package/PaginationItem/PaginationItem.js +31 -22
  102. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  103. package/Paper/paperClasses.d.ts +39 -39
  104. package/Popover/popoverClasses.d.ts +10 -10
  105. package/Popper/Popper.d.ts +37 -37
  106. package/README.md +1 -0
  107. package/Radio/radioClasses.d.ts +16 -16
  108. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  109. package/RadioGroup/useRadioGroup.d.ts +4 -4
  110. package/Rating/ratingClasses.d.ts +40 -40
  111. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  112. package/Select/Select.d.ts +3 -3
  113. package/Select/Select.js +3 -3
  114. package/Select/selectClasses.d.ts +30 -30
  115. package/Skeleton/skeletonClasses.d.ts +26 -26
  116. package/Slider/Slider.d.ts +14 -2
  117. package/Slider/Slider.js +12 -3
  118. package/Snackbar/snackbarClasses.d.ts +20 -20
  119. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  120. package/SpeedDial/speedDialClasses.d.ts +22 -22
  121. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  122. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  123. package/Step/StepContext.d.ts +20 -20
  124. package/Step/stepClasses.d.ts +16 -16
  125. package/StepButton/stepButtonClasses.d.ts +14 -14
  126. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  127. package/StepContent/stepContentClasses.d.ts +12 -12
  128. package/StepIcon/stepIconClasses.d.ts +16 -16
  129. package/StepLabel/StepLabel.d.ts +11 -0
  130. package/StepLabel/StepLabel.js +15 -3
  131. package/StepLabel/stepLabelClasses.d.ts +28 -28
  132. package/Stepper/StepperContext.d.ts +18 -18
  133. package/Stepper/stepperClasses.d.ts +14 -14
  134. package/SvgIcon/svgIconClasses.d.ts +26 -26
  135. package/Switch/switchClasses.d.ts +32 -32
  136. package/Tab/tabClasses.d.ts +26 -26
  137. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  138. package/Table/tableClasses.d.ts +10 -10
  139. package/TableBody/tableBodyClasses.d.ts +8 -8
  140. package/TableCell/tableCellClasses.d.ts +32 -32
  141. package/TableContainer/tableContainerClasses.d.ts +8 -8
  142. package/TableFooter/tableFooterClasses.d.ts +8 -8
  143. package/TableHead/tableHeadClasses.d.ts +8 -8
  144. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  145. package/TableRow/tableRowClasses.d.ts +16 -16
  146. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  147. package/Tabs/tabsClasses.d.ts +32 -32
  148. package/TextField/textFieldClasses.d.ts +8 -8
  149. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  150. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  151. package/Toolbar/toolbarClasses.d.ts +14 -14
  152. package/Tooltip/Tooltip.d.ts +43 -6
  153. package/Tooltip/Tooltip.js +68 -31
  154. package/Tooltip/tooltipClasses.d.ts +30 -30
  155. package/Typography/typographyClasses.d.ts +50 -50
  156. package/Unstable_Grid2/Grid2.d.ts +4 -4
  157. package/Unstable_Grid2/Grid2Props.d.ts +15 -15
  158. package/Unstable_Grid2/grid2Classes.d.ts +5 -5
  159. package/Unstable_Grid2/index.d.ts +4 -4
  160. package/className/index.d.ts +1 -1
  161. package/darkScrollbar/index.d.ts +28 -28
  162. package/esm/Alert/Alert.js +46 -9
  163. package/esm/Autocomplete/Autocomplete.js +27 -11
  164. package/esm/AvatarGroup/AvatarGroup.js +25 -6
  165. package/esm/Backdrop/Backdrop.js +46 -11
  166. package/esm/Badge/Badge.js +11 -3
  167. package/esm/BottomNavigation/BottomNavigation.js +0 -0
  168. package/esm/FilledInput/FilledInput.js +48 -9
  169. package/esm/FormControlLabel/FormControlLabel.js +17 -5
  170. package/esm/Input/Input.js +49 -10
  171. package/esm/InputBase/InputBase.js +45 -8
  172. package/esm/ListItem/ListItem.js +41 -9
  173. package/esm/Modal/Modal.js +11 -3
  174. package/esm/NativeSelect/NativeSelectInput.js +11 -9
  175. package/esm/OutlinedInput/OutlinedInput.js +26 -8
  176. package/esm/PaginationItem/PaginationItem.js +31 -22
  177. package/esm/Select/Select.js +3 -3
  178. package/esm/Slider/Slider.js +12 -3
  179. package/esm/StepLabel/StepLabel.js +15 -3
  180. package/esm/Tooltip/Tooltip.js +68 -31
  181. package/generateUtilityClass/index.d.ts +2 -2
  182. package/generateUtilityClasses/index.d.ts +1 -1
  183. package/index.js +1 -1
  184. package/internal/switchBaseClasses.d.ts +12 -12
  185. package/legacy/Alert/Alert.js +48 -9
  186. package/legacy/Autocomplete/Autocomplete.js +27 -10
  187. package/legacy/AvatarGroup/AvatarGroup.js +26 -6
  188. package/legacy/Backdrop/Backdrop.js +48 -11
  189. package/legacy/Badge/Badge.js +11 -3
  190. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  191. package/legacy/FilledInput/FilledInput.js +49 -9
  192. package/legacy/FormControlLabel/FormControlLabel.js +17 -4
  193. package/legacy/Input/Input.js +50 -10
  194. package/legacy/InputBase/InputBase.js +47 -8
  195. package/legacy/ListItem/ListItem.js +42 -8
  196. package/legacy/Modal/Modal.js +11 -3
  197. package/legacy/NativeSelect/NativeSelectInput.js +11 -9
  198. package/legacy/OutlinedInput/OutlinedInput.js +27 -8
  199. package/legacy/PaginationItem/PaginationItem.js +32 -22
  200. package/legacy/Select/Select.js +3 -3
  201. package/legacy/Slider/Slider.js +12 -3
  202. package/legacy/StepLabel/StepLabel.js +16 -3
  203. package/legacy/Tooltip/Tooltip.js +63 -22
  204. package/legacy/index.js +1 -1
  205. package/locale/index.d.ts +72 -72
  206. package/modern/Alert/Alert.js +45 -8
  207. package/modern/Autocomplete/Autocomplete.js +26 -10
  208. package/modern/AvatarGroup/AvatarGroup.js +24 -5
  209. package/modern/Backdrop/Backdrop.js +45 -10
  210. package/modern/Badge/Badge.js +11 -3
  211. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  212. package/modern/FilledInput/FilledInput.js +46 -9
  213. package/modern/FormControlLabel/FormControlLabel.js +15 -5
  214. package/modern/Input/Input.js +47 -10
  215. package/modern/InputBase/InputBase.js +43 -8
  216. package/modern/ListItem/ListItem.js +41 -9
  217. package/modern/Modal/Modal.js +11 -3
  218. package/modern/NativeSelect/NativeSelectInput.js +11 -9
  219. package/modern/OutlinedInput/OutlinedInput.js +25 -7
  220. package/modern/PaginationItem/PaginationItem.js +31 -22
  221. package/modern/Select/Select.js +3 -3
  222. package/modern/Slider/Slider.js +12 -3
  223. package/modern/StepLabel/StepLabel.js +13 -3
  224. package/modern/Tooltip/Tooltip.js +58 -17
  225. package/modern/index.js +1 -1
  226. package/package.json +4 -4
  227. package/styles/CssVarsProvider.d.ts +14 -14
  228. package/styles/excludeVariablesFromRoot.d.ts +5 -5
  229. package/transitions/index.d.ts +1 -1
  230. package/transitions/transition.d.ts +13 -13
  231. package/transitions/utils.d.ts +23 -23
  232. package/umd/material-ui.development.js +534 -165
  233. package/umd/material-ui.production.min.js +14 -14
  234. package/useMediaQuery/useMediaQuery.d.ts +31 -31
  235. package/useTouchRipple/index.d.ts +1 -1
  236. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  237. package/utils/getScrollbarSize.d.ts +2 -2
  238. package/utils/ownerDocument.d.ts +2 -2
  239. package/utils/ownerWindow.d.ts +2 -2
  240. package/utils/setRef.d.ts +2 -2
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.10.12
1
+ /** @license MUI v5.10.13
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -7820,7 +7820,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
7820
7820
  }
7821
7821
  } catch (e) {} })();`
7822
7822
  }
7823
- });
7823
+ }, "mui-color-scheme-init");
7824
7824
  }
7825
7825
 
7826
7826
  function getSystemMode(mode) {
@@ -20528,7 +20528,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20528
20528
  d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
20529
20529
  }), 'Close');
20530
20530
 
20531
- const _excluded$1V = ["action", "children", "className", "closeText", "color", "components", "componentsProps", "icon", "iconMapping", "onClose", "role", "severity", "variant"];
20531
+ const _excluded$1V = ["action", "children", "className", "closeText", "color", "components", "componentsProps", "icon", "iconMapping", "onClose", "role", "severity", "slotProps", "slots", "variant"];
20532
20532
 
20533
20533
  const useUtilityClasses$1C = ownerState => {
20534
20534
  const {
@@ -20638,7 +20638,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20638
20638
  })
20639
20639
  };
20640
20640
  const Alert = /*#__PURE__*/React__namespace.forwardRef(function Alert(inProps, ref) {
20641
- var _components$CloseButt, _components$CloseIcon;
20641
+ var _ref, _slots$closeButton, _ref2, _slots$closeIcon, _slotProps$closeButto, _slotProps$closeIcon;
20642
20642
 
20643
20643
  const props = useThemeProps({
20644
20644
  props: inProps,
@@ -20658,6 +20658,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20658
20658
  onClose,
20659
20659
  role = 'alert',
20660
20660
  severity = 'success',
20661
+ slotProps = {},
20662
+ slots = {},
20661
20663
  variant = 'standard'
20662
20664
  } = props,
20663
20665
  other = _objectWithoutPropertiesLoose(props, _excluded$1V);
@@ -20669,8 +20671,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20669
20671
  });
20670
20672
 
20671
20673
  const classes = useUtilityClasses$1C(ownerState);
20672
- const AlertCloseButton = (_components$CloseButt = components.CloseButton) != null ? _components$CloseButt : IconButton$1;
20673
- const AlertCloseIcon = (_components$CloseIcon = components.CloseIcon) != null ? _components$CloseIcon : ClearIcon;
20674
+ const AlertCloseButton = (_ref = (_slots$closeButton = slots.closeButton) != null ? _slots$closeButton : components.CloseButton) != null ? _ref : IconButton$1;
20675
+ const AlertCloseIcon = (_ref2 = (_slots$closeIcon = slots.closeIcon) != null ? _slots$closeIcon : components.CloseIcon) != null ? _ref2 : ClearIcon;
20676
+ const closeButtonProps = (_slotProps$closeButto = slotProps.closeButton) != null ? _slotProps$closeButto : componentsProps.closeButton;
20677
+ const closeIconProps = (_slotProps$closeIcon = slotProps.closeIcon) != null ? _slotProps$closeIcon : componentsProps.closeIcon;
20674
20678
  return /*#__PURE__*/jsxRuntime_2(AlertRoot, _extends({
20675
20679
  role: role,
20676
20680
  elevation: 0,
@@ -20699,10 +20703,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20699
20703
  title: closeText,
20700
20704
  color: "inherit",
20701
20705
  onClick: onClose
20702
- }, componentsProps.closeButton, {
20706
+ }, closeButtonProps, {
20703
20707
  children: /*#__PURE__*/jsxRuntime_1(AlertCloseIcon, _extends({
20704
20708
  fontSize: "small"
20705
- }, componentsProps.closeIcon))
20709
+ }, closeIconProps))
20706
20710
  }))
20707
20711
  }) : null]
20708
20712
  }));
@@ -20753,8 +20757,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20753
20757
  .oneOfType([PropTypes.oneOf(['error', 'info', 'success', 'warning']), PropTypes.string]),
20754
20758
 
20755
20759
  /**
20756
- * The components used for each slot inside the Alert.
20757
- * Either a string to use a HTML element or a component.
20760
+ * The components used for each slot inside.
20761
+ *
20762
+ * This prop is an alias for the `slots` prop.
20763
+ * It's recommended to use the `slots` prop instead.
20764
+ *
20758
20765
  * @default {}
20759
20766
  */
20760
20767
  components: PropTypes.shape({
@@ -20763,7 +20770,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20763
20770
  }),
20764
20771
 
20765
20772
  /**
20766
- * The props used for each slot inside.
20773
+ * The extra props for the slot components.
20774
+ * You can override the existing props or add new ones.
20775
+ *
20776
+ * This prop is an alias for the `slotProps` prop.
20777
+ * It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
20778
+ *
20767
20779
  * @default {}
20768
20780
  */
20769
20781
  componentsProps: PropTypes.shape({
@@ -20810,6 +20822,31 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20810
20822
  */
20811
20823
  severity: PropTypes.oneOf(['error', 'info', 'success', 'warning']),
20812
20824
 
20825
+ /**
20826
+ * The extra props for the slot components.
20827
+ * You can override the existing props or add new ones.
20828
+ *
20829
+ * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
20830
+ *
20831
+ * @default {}
20832
+ */
20833
+ slotProps: PropTypes.shape({
20834
+ closeButton: PropTypes.object,
20835
+ closeIcon: PropTypes.object
20836
+ }),
20837
+
20838
+ /**
20839
+ * The components used for each slot inside.
20840
+ *
20841
+ * This prop is an alias for the `components` prop, which will be deprecated in the future.
20842
+ *
20843
+ * @default {}
20844
+ */
20845
+ slots: PropTypes.shape({
20846
+ closeButton: PropTypes.elementType,
20847
+ closeIcon: PropTypes.elementType
20848
+ }),
20849
+
20813
20850
  /**
20814
20851
  * The system prop that allows defining system overrides as well as additional CSS styles.
20815
20852
  */
@@ -22271,7 +22308,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22271
22308
  const inputBaseClasses = generateUtilityClasses('MuiInputBase', ['root', 'formControl', 'focused', 'disabled', 'adornedStart', 'adornedEnd', 'error', 'sizeSmall', 'multiline', 'colorSecondary', 'fullWidth', 'hiddenLabel', 'readOnly', 'input', 'inputSizeSmall', 'inputMultiline', 'inputTypeSearch', 'inputAdornedStart', 'inputAdornedEnd', 'inputHiddenLabel']);
22272
22309
  var inputBaseClasses$1 = inputBaseClasses;
22273
22310
 
22274
- const _excluded$1O = ["aria-describedby", "autoComplete", "autoFocus", "className", "color", "components", "componentsProps", "defaultValue", "disabled", "disableInjectingGlobalStyles", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "size", "startAdornment", "type", "value"];
22311
+ const _excluded$1O = ["aria-describedby", "autoComplete", "autoFocus", "className", "color", "components", "componentsProps", "defaultValue", "disabled", "disableInjectingGlobalStyles", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "size", "slotProps", "slots", "startAdornment", "type", "value"];
22275
22312
  const rootOverridesResolver = (props, styles) => {
22276
22313
  const {
22277
22314
  ownerState
@@ -22467,6 +22504,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22467
22504
 
22468
22505
 
22469
22506
  const InputBase = /*#__PURE__*/React__namespace.forwardRef(function InputBase(inProps, ref) {
22507
+ var _slotProps$input;
22508
+
22470
22509
  const props = useThemeProps({
22471
22510
  props: inProps,
22472
22511
  name: 'MuiInputBase'
@@ -22502,6 +22541,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22502
22541
  readOnly,
22503
22542
  renderSuffix,
22504
22543
  rows,
22544
+ slotProps = {},
22545
+ slots = {},
22505
22546
  startAdornment,
22506
22547
  type = 'text',
22507
22548
  value: valueProp
@@ -22705,10 +22746,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22705
22746
  });
22706
22747
 
22707
22748
  const classes = useUtilityClasses$1w(ownerState);
22708
- const Root = components.Root || InputBaseRoot;
22709
- const rootProps = componentsProps.root || {};
22710
- const Input = components.Input || InputBaseComponent;
22711
- inputProps = _extends({}, inputProps, componentsProps.input);
22749
+ const Root = slots.root || components.Root || InputBaseRoot;
22750
+ const rootProps = slotProps.root || componentsProps.root || {};
22751
+ const Input = slots.input || components.Input || InputBaseComponent;
22752
+ inputProps = _extends({}, inputProps, (_slotProps$input = slotProps.input) != null ? _slotProps$input : componentsProps.input);
22712
22753
  return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
22713
22754
  children: [!disableInjectingGlobalStyles && inputGlobalStyles, /*#__PURE__*/jsxRuntime_2(Root, _extends({}, rootProps, !isHostComponent(Root) && {
22714
22755
  ownerState: _extends({}, ownerState, rootProps.ownerState)
@@ -22800,8 +22841,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22800
22841
  .oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
22801
22842
 
22802
22843
  /**
22803
- * The components used for each slot inside the InputBase.
22804
- * Either a string to use a HTML element or a component.
22844
+ * The components used for each slot inside.
22845
+ *
22846
+ * This prop is an alias for the `slots` prop.
22847
+ * It's recommended to use the `slots` prop instead.
22848
+ *
22805
22849
  * @default {}
22806
22850
  */
22807
22851
  components: PropTypes.shape({
@@ -22810,7 +22854,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22810
22854
  }),
22811
22855
 
22812
22856
  /**
22813
- * The props used for each slot inside the Input.
22857
+ * The extra props for the slot components.
22858
+ * You can override the existing props or add new ones.
22859
+ *
22860
+ * This prop is an alias for the `slotProps` prop.
22861
+ * It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
22862
+ *
22814
22863
  * @default {}
22815
22864
  */
22816
22865
  componentsProps: PropTypes.shape({
@@ -22978,6 +23027,31 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22978
23027
  /* @typescript-to-proptypes-ignore */
22979
23028
  .oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.string]),
22980
23029
 
23030
+ /**
23031
+ * The extra props for the slot components.
23032
+ * You can override the existing props or add new ones.
23033
+ *
23034
+ * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
23035
+ *
23036
+ * @default {}
23037
+ */
23038
+ slotProps: PropTypes.shape({
23039
+ input: PropTypes.object,
23040
+ root: PropTypes.object
23041
+ }),
23042
+
23043
+ /**
23044
+ * The components used for each slot inside.
23045
+ *
23046
+ * This prop is an alias for the `components` prop, which will be deprecated in the future.
23047
+ *
23048
+ * @default {}
23049
+ */
23050
+ slots: PropTypes.shape({
23051
+ input: PropTypes.elementType,
23052
+ root: PropTypes.elementType
23053
+ }),
23054
+
22981
23055
  /**
22982
23056
  * Start `InputAdornment` for this component.
22983
23057
  */
@@ -23037,7 +23111,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23037
23111
 
23038
23112
  var _ClearIcon, _ArrowDropDownIcon;
23039
23113
 
23040
- 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", "value"];
23114
+ 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"];
23041
23115
 
23042
23116
  const useUtilityClasses$1v = ownerState => {
23043
23117
  const {
@@ -23363,7 +23437,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23363
23437
  }
23364
23438
  });
23365
23439
  const Autocomplete = /*#__PURE__*/React__namespace.forwardRef(function Autocomplete(inProps, ref) {
23366
- var _componentsProps$clea, _componentsProps$popu, _componentsProps$popp, _componentsProps$pape;
23440
+ var _slotProps$clearIndic, _slotProps$paper, _slotProps$popper, _slotProps$popupIndic;
23367
23441
 
23368
23442
  const props = useThemeProps({
23369
23443
  props: inProps,
@@ -23424,7 +23498,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23424
23498
  renderOption: renderOptionProp,
23425
23499
  renderTags,
23426
23500
  selectOnFocus = !props.freeSolo,
23427
- size = 'medium'
23501
+ size = 'medium',
23502
+ slotProps = {}
23428
23503
  } = props,
23429
23504
  other = _objectWithoutPropertiesLoose(props, _excluded$1N);
23430
23505
  /* eslint-enable @typescript-eslint/no-unused-vars */
@@ -23533,6 +23608,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23533
23608
  });
23534
23609
  };
23535
23610
 
23611
+ const clearIndicatorSlotProps = (_slotProps$clearIndic = slotProps.clearIndicator) != null ? _slotProps$clearIndic : componentsProps.clearIndicator;
23612
+ const paperSlotProps = (_slotProps$paper = slotProps.paper) != null ? _slotProps$paper : componentsProps.paper;
23613
+ const popperSlotProps = (_slotProps$popper = slotProps.popper) != null ? _slotProps$popper : componentsProps.popper;
23614
+ const popupIndicatorSlotProps = (_slotProps$popupIndic = slotProps.popupIndicator) != null ? _slotProps$popupIndic : componentsProps.popupIndicator;
23536
23615
  return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
23537
23616
  children: [/*#__PURE__*/jsxRuntime_1(AutocompleteRoot, _extends({
23538
23617
  ref: ref,
@@ -23557,16 +23636,16 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23557
23636
  "aria-label": clearText,
23558
23637
  title: clearText,
23559
23638
  ownerState: ownerState
23560
- }, componentsProps.clearIndicator, {
23561
- className: clsx(classes.clearIndicator, (_componentsProps$clea = componentsProps.clearIndicator) == null ? void 0 : _componentsProps$clea.className),
23639
+ }, clearIndicatorSlotProps, {
23640
+ className: clsx(classes.clearIndicator, clearIndicatorSlotProps == null ? void 0 : clearIndicatorSlotProps.className),
23562
23641
  children: clearIcon
23563
23642
  })) : null, hasPopupIcon ? /*#__PURE__*/jsxRuntime_1(AutocompletePopupIndicator, _extends({}, getPopupIndicatorProps(), {
23564
23643
  disabled: disabled,
23565
23644
  "aria-label": popupOpen ? closeText : openText,
23566
23645
  title: popupOpen ? closeText : openText,
23567
23646
  ownerState: ownerState
23568
- }, componentsProps.popupIndicator, {
23569
- className: clsx(classes.popupIndicator, (_componentsProps$popu = componentsProps.popupIndicator) == null ? void 0 : _componentsProps$popu.className),
23647
+ }, popupIndicatorSlotProps, {
23648
+ className: clsx(classes.popupIndicator, popupIndicatorSlotProps == null ? void 0 : popupIndicatorSlotProps.className),
23570
23649
  children: popupIcon
23571
23650
  })) : null]
23572
23651
  })
@@ -23587,13 +23666,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23587
23666
  role: "presentation",
23588
23667
  anchorEl: anchorEl,
23589
23668
  open: popupOpen
23590
- }, componentsProps.popper, {
23591
- className: clsx(classes.popper, (_componentsProps$popp = componentsProps.popper) == null ? void 0 : _componentsProps$popp.className),
23669
+ }, popperSlotProps, {
23670
+ className: clsx(classes.popper, popperSlotProps == null ? void 0 : popperSlotProps.className),
23592
23671
  children: /*#__PURE__*/jsxRuntime_2(AutocompletePaper, _extends({
23593
23672
  ownerState: ownerState,
23594
23673
  as: PaperComponent
23595
- }, componentsProps.paper, {
23596
- className: clsx(classes.paper, (_componentsProps$pape = componentsProps.paper) == null ? void 0 : _componentsProps$pape.className),
23674
+ }, paperSlotProps, {
23675
+ className: clsx(classes.paper, paperSlotProps == null ? void 0 : paperSlotProps.className),
23597
23676
  children: [loading && groupedOptions.length === 0 ? /*#__PURE__*/jsxRuntime_1(AutocompleteLoading, {
23598
23677
  className: classes.loading,
23599
23678
  ownerState: ownerState,
@@ -24077,6 +24156,17 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24077
24156
  /* @typescript-to-proptypes-ignore */
24078
24157
  .oneOfType([PropTypes.oneOf(['small', 'medium']), PropTypes.string]),
24079
24158
 
24159
+ /**
24160
+ * The props used for each slot inside.
24161
+ * @default {}
24162
+ */
24163
+ slotProps: PropTypes.shape({
24164
+ clearIndicator: PropTypes.object,
24165
+ paper: PropTypes.object,
24166
+ popper: PropTypes.object,
24167
+ popupIndicator: PropTypes.object
24168
+ }),
24169
+
24080
24170
  /**
24081
24171
  * The system prop that allows defining system overrides as well as additional CSS styles.
24082
24172
  */
@@ -24375,7 +24465,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24375
24465
  const avatarGroupClasses = generateUtilityClasses('MuiAvatarGroup', ['root', 'avatar']);
24376
24466
  var avatarGroupClasses$1 = avatarGroupClasses;
24377
24467
 
24378
- const _excluded$1L = ["children", "className", "component", "componentsProps", "max", "spacing", "total", "variant"];
24468
+ const _excluded$1L = ["children", "className", "component", "componentsProps", "max", "slotProps", "spacing", "total", "variant"];
24379
24469
  const SPACINGS$2 = {
24380
24470
  small: -16,
24381
24471
  medium: null
@@ -24427,7 +24517,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24427
24517
  }
24428
24518
  }));
24429
24519
  const AvatarGroup = /*#__PURE__*/React__namespace.forwardRef(function AvatarGroup(inProps, ref) {
24430
- var _componentsProps$addi, _componentsProps$addi2;
24520
+ var _slotProps$additional;
24431
24521
 
24432
24522
  const props = useThemeProps({
24433
24523
  props: inProps,
@@ -24440,6 +24530,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24440
24530
  component = 'div',
24441
24531
  componentsProps = {},
24442
24532
  max = 5,
24533
+ slotProps = {},
24443
24534
  spacing = 'medium',
24444
24535
  total,
24445
24536
  variant = 'circular'
@@ -24475,6 +24566,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24475
24566
  const maxAvatars = Math.min(children.length, clampedMax - 1);
24476
24567
  const extraAvatars = Math.max(totalAvatars - clampedMax, totalAvatars - maxAvatars, 0);
24477
24568
  const marginLeft = spacing && SPACINGS$2[spacing] !== undefined ? SPACINGS$2[spacing] : -spacing;
24569
+ const additionalAvatarSlotProps = (_slotProps$additional = slotProps.additionalAvatar) != null ? _slotProps$additional : componentsProps.additionalAvatar;
24478
24570
  return /*#__PURE__*/jsxRuntime_2(AvatarGroupRoot, _extends({
24479
24571
  as: component,
24480
24572
  ownerState: ownerState,
@@ -24484,11 +24576,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24484
24576
  children: [extraAvatars ? /*#__PURE__*/jsxRuntime_2(AvatarGroupAvatar, _extends({
24485
24577
  ownerState: ownerState,
24486
24578
  variant: variant
24487
- }, componentsProps.additionalAvatar, {
24488
- className: clsx(classes.avatar, (_componentsProps$addi = componentsProps.additionalAvatar) == null ? void 0 : _componentsProps$addi.className),
24579
+ }, additionalAvatarSlotProps, {
24580
+ className: clsx(classes.avatar, additionalAvatarSlotProps == null ? void 0 : additionalAvatarSlotProps.className),
24489
24581
  style: _extends({
24490
24582
  marginLeft
24491
- }, (_componentsProps$addi2 = componentsProps.additionalAvatar) == null ? void 0 : _componentsProps$addi2.style),
24583
+ }, additionalAvatarSlotProps == null ? void 0 : additionalAvatarSlotProps.style),
24492
24584
  children: ["+", extraAvatars]
24493
24585
  })) : null, children.slice(0, maxAvatars).reverse().map((child, index) => {
24494
24586
  return /*#__PURE__*/React__namespace.cloneElement(child, {
@@ -24533,7 +24625,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24533
24625
  component: PropTypes.elementType,
24534
24626
 
24535
24627
  /**
24536
- * The props used for each slot inside the AvatarGroup.
24628
+ * The extra props for the slot components.
24629
+ * You can override the existing props or add new ones.
24630
+ *
24631
+ * This prop is an alias for the `slotProps` prop.
24632
+ * It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
24633
+ *
24537
24634
  * @default {}
24538
24635
  */
24539
24636
  componentsProps: PropTypes.shape({
@@ -24552,6 +24649,18 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24552
24649
  return null;
24553
24650
  }),
24554
24651
 
24652
+ /**
24653
+ * The extra props for the slot components.
24654
+ * You can override the existing props or add new ones.
24655
+ *
24656
+ * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
24657
+ *
24658
+ * @default {}
24659
+ */
24660
+ slotProps: PropTypes.shape({
24661
+ additionalAvatar: PropTypes.object
24662
+ }),
24663
+
24555
24664
  /**
24556
24665
  * Spacing between avatars.
24557
24666
  * @default 'medium'
@@ -24799,7 +24908,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24799
24908
  const backdropClasses = generateUtilityClasses('MuiBackdrop', ['root', 'invisible']);
24800
24909
  var backdropClasses$1 = backdropClasses;
24801
24910
 
24802
- const _excluded$1J = ["children", "component", "components", "componentsProps", "className", "invisible", "open", "transitionDuration", "TransitionComponent"];
24911
+ const _excluded$1J = ["children", "component", "components", "componentsProps", "className", "invisible", "open", "slotProps", "slots", "transitionDuration", "TransitionComponent"];
24803
24912
 
24804
24913
  const useUtilityClasses$1s = ownerState => {
24805
24914
  const {
@@ -24838,7 +24947,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24838
24947
  backgroundColor: 'transparent'
24839
24948
  }));
24840
24949
  const Backdrop = /*#__PURE__*/React__namespace.forwardRef(function Backdrop(inProps, ref) {
24841
- var _components$Root, _componentsProps$root;
24950
+ var _slotProps$root, _ref, _slots$root;
24842
24951
 
24843
24952
  const props = useThemeProps({
24844
24953
  props: inProps,
@@ -24853,6 +24962,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24853
24962
  className,
24854
24963
  invisible = false,
24855
24964
  open,
24965
+ slotProps = {},
24966
+ slots = {},
24856
24967
  transitionDuration,
24857
24968
  // eslint-disable-next-line react/prop-types
24858
24969
  TransitionComponent = Fade$1
@@ -24865,19 +24976,21 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24865
24976
  });
24866
24977
 
24867
24978
  const classes = useUtilityClasses$1s(ownerState);
24979
+ const rootSlotProps = (_slotProps$root = slotProps.root) != null ? _slotProps$root : componentsProps.root;
24868
24980
  return /*#__PURE__*/jsxRuntime_1(TransitionComponent, _extends({
24869
24981
  in: open,
24870
24982
  timeout: transitionDuration
24871
24983
  }, other, {
24872
- children: /*#__PURE__*/jsxRuntime_1(BackdropRoot, {
24873
- "aria-hidden": true,
24874
- as: (_components$Root = components.Root) != null ? _components$Root : component,
24875
- className: clsx(classes.root, className),
24876
- ownerState: _extends({}, ownerState, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.ownerState),
24984
+ children: /*#__PURE__*/jsxRuntime_1(BackdropRoot, _extends({
24985
+ "aria-hidden": true
24986
+ }, rootSlotProps, {
24987
+ as: (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : component,
24988
+ className: clsx(classes.root, className, rootSlotProps == null ? void 0 : rootSlotProps.className),
24989
+ ownerState: _extends({}, ownerState, rootSlotProps == null ? void 0 : rootSlotProps.ownerState),
24877
24990
  classes: classes,
24878
24991
  ref: ref,
24879
24992
  children: children
24880
- })
24993
+ }))
24881
24994
  }));
24882
24995
  });
24883
24996
  Backdrop.propTypes
@@ -24910,8 +25023,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24910
25023
  component: PropTypes.elementType,
24911
25024
 
24912
25025
  /**
24913
- * The components used for each slot inside the Backdrop.
24914
- * Either a string to use a HTML element or a component.
25026
+ * The components used for each slot inside.
25027
+ *
25028
+ * This prop is an alias for the `slots` prop.
25029
+ * It's recommended to use the `slots` prop instead.
25030
+ *
24915
25031
  * @default {}
24916
25032
  */
24917
25033
  components: PropTypes.shape({
@@ -24919,7 +25035,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24919
25035
  }),
24920
25036
 
24921
25037
  /**
24922
- * The props used for each slot inside the Backdrop.
25038
+ * The extra props for the slot components.
25039
+ * You can override the existing props or add new ones.
25040
+ *
25041
+ * This prop is an alias for the `slotProps` prop.
25042
+ * It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
25043
+ *
24923
25044
  * @default {}
24924
25045
  */
24925
25046
  componentsProps: PropTypes.shape({
@@ -24938,6 +25059,29 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24938
25059
  */
24939
25060
  open: PropTypes.bool.isRequired,
24940
25061
 
25062
+ /**
25063
+ * The extra props for the slot components.
25064
+ * You can override the existing props or add new ones.
25065
+ *
25066
+ * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
25067
+ *
25068
+ * @default {}
25069
+ */
25070
+ slotProps: PropTypes.shape({
25071
+ root: PropTypes.object
25072
+ }),
25073
+
25074
+ /**
25075
+ * The components used for each slot inside.
25076
+ *
25077
+ * This prop is an alias for the `components` prop, which will be deprecated in the future.
25078
+ *
25079
+ * @default {}
25080
+ */
25081
+ slots: PropTypes.shape({
25082
+ root: PropTypes.elementType
25083
+ }),
25084
+
24941
25085
  /**
24942
25086
  * The system prop that allows defining system overrides as well as additional CSS styles.
24943
25087
  */
@@ -25272,8 +25416,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25272
25416
  component: PropTypes.elementType,
25273
25417
 
25274
25418
  /**
25275
- * The components used for each slot inside the Badge.
25276
- * Either a string to use a HTML element or a component.
25419
+ * The components used for each slot inside.
25420
+ *
25421
+ * This prop is an alias for the `slots` prop.
25422
+ * It's recommended to use the `slots` prop instead.
25423
+ *
25277
25424
  * @default {}
25278
25425
  */
25279
25426
  components: PropTypes.shape({
@@ -25282,7 +25429,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25282
25429
  }),
25283
25430
 
25284
25431
  /**
25285
- * The props used for each slot inside the Badge.
25432
+ * The extra props for the slot components.
25433
+ * You can override the existing props or add new ones.
25434
+ *
25435
+ * This prop is an alias for the `slotProps` prop.
25436
+ * It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
25437
+ *
25286
25438
  * @default {}
25287
25439
  */
25288
25440
  componentsProps: PropTypes.shape({
@@ -28641,8 +28793,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28641
28793
  component: PropTypes.elementType,
28642
28794
 
28643
28795
  /**
28644
- * The components used for each slot inside the Modal.
28645
- * Either a string to use a HTML element or a component.
28796
+ * The components used for each slot inside.
28797
+ *
28798
+ * This prop is an alias for the `slots` prop.
28799
+ * It's recommended to use the `slots` prop instead.
28800
+ *
28646
28801
  * @default {}
28647
28802
  */
28648
28803
  components: PropTypes.shape({
@@ -28651,7 +28806,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28651
28806
  }),
28652
28807
 
28653
28808
  /**
28654
- * The props used for each slot inside the Modal.
28809
+ * The extra props for the slot components.
28810
+ * You can override the existing props or add new ones.
28811
+ *
28812
+ * This prop is an alias for the `slotProps` prop.
28813
+ * It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
28814
+ *
28655
28815
  * @default {}
28656
28816
  */
28657
28817
  componentsProps: PropTypes.shape({
@@ -30762,7 +30922,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30762
30922
  } ;
30763
30923
  var Fab$1 = Fab;
30764
30924
 
30765
- const _excluded$1j = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "type"];
30925
+ const _excluded$1j = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "slotProps", "slots", "type"];
30766
30926
 
30767
30927
  const useUtilityClasses$14 = ownerState => {
30768
30928
  const {
@@ -30933,6 +31093,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30933
31093
  paddingBottom: 9
30934
31094
  }));
30935
31095
  const FilledInput = /*#__PURE__*/React__namespace.forwardRef(function FilledInput(inProps, ref) {
31096
+ var _ref, _slots$root, _ref2, _slots$input;
31097
+
30936
31098
  const props = useThemeProps({
30937
31099
  props: inProps,
30938
31100
  name: 'MuiFilledInput'
@@ -30945,6 +31107,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30945
31107
  // declare here to prevent spreading to DOM
30946
31108
  inputComponent = 'input',
30947
31109
  multiline = false,
31110
+ slotProps,
31111
+ slots = {},
30948
31112
  type = 'text'
30949
31113
  } = props,
30950
31114
  other = _objectWithoutPropertiesLoose(props, _excluded$1j);
@@ -30965,12 +31129,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30965
31129
  ownerState
30966
31130
  }
30967
31131
  };
30968
- const componentsProps = componentsPropsProp ? deepmerge(componentsPropsProp, filledInputComponentsProps) : filledInputComponentsProps;
31132
+ const componentsProps = (slotProps != null ? slotProps : componentsPropsProp) ? deepmerge(slotProps != null ? slotProps : componentsPropsProp, filledInputComponentsProps) : filledInputComponentsProps;
31133
+ const RootSlot = (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : FilledInputRoot;
31134
+ const InputSlot = (_ref2 = (_slots$input = slots.input) != null ? _slots$input : components.Input) != null ? _ref2 : FilledInputInput;
30969
31135
  return /*#__PURE__*/jsxRuntime_1(InputBase$1, _extends({
30970
- components: _extends({
30971
- Root: FilledInputRoot,
30972
- Input: FilledInputInput
30973
- }, components),
31136
+ slots: {
31137
+ root: RootSlot,
31138
+ input: InputSlot
31139
+ },
30974
31140
  componentsProps: componentsProps,
30975
31141
  fullWidth: fullWidth,
30976
31142
  inputComponent: inputComponent,
@@ -31017,8 +31183,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
31017
31183
  .oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
31018
31184
 
31019
31185
  /**
31020
- * The components used for each slot inside the InputBase.
31021
- * Either a string to use a HTML element or a component.
31186
+ * The components used for each slot inside.
31187
+ *
31188
+ * This prop is an alias for the `slots` prop.
31189
+ * It's recommended to use the `slots` prop instead.
31190
+ *
31022
31191
  * @default {}
31023
31192
  */
31024
31193
  components: PropTypes.shape({
@@ -31027,7 +31196,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
31027
31196
  }),
31028
31197
 
31029
31198
  /**
31030
- * The props used for each slot inside the Input.
31199
+ * The extra props for the slot components.
31200
+ * You can override the existing props or add new ones.
31201
+ *
31202
+ * This prop is an alias for the `slotProps` prop.
31203
+ * It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
31204
+ *
31031
31205
  * @default {}
31032
31206
  */
31033
31207
  componentsProps: PropTypes.shape({
@@ -31157,6 +31331,31 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
31157
31331
  */
31158
31332
  rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
31159
31333
 
31334
+ /**
31335
+ * The extra props for the slot components.
31336
+ * You can override the existing props or add new ones.
31337
+ *
31338
+ * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
31339
+ *
31340
+ * @default {}
31341
+ */
31342
+ slotProps: PropTypes.shape({
31343
+ input: PropTypes.object,
31344
+ root: PropTypes.object
31345
+ }),
31346
+
31347
+ /**
31348
+ * The components used for each slot inside.
31349
+ *
31350
+ * This prop is an alias for the `components` prop, which will be deprecated in the future.
31351
+ *
31352
+ * @default {}
31353
+ */
31354
+ slots: PropTypes.shape({
31355
+ input: PropTypes.elementType,
31356
+ root: PropTypes.elementType
31357
+ }),
31358
+
31160
31359
  /**
31161
31360
  * Start `InputAdornment` for this component.
31162
31361
  */
@@ -31507,7 +31706,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
31507
31706
  const formControlLabelClasses = generateUtilityClasses('MuiFormControlLabel', ['root', 'labelPlacementStart', 'labelPlacementTop', 'labelPlacementBottom', 'disabled', 'label', 'error']);
31508
31707
  var formControlLabelClasses$1 = formControlLabelClasses;
31509
31708
 
31510
- const _excluded$1h = ["checked", "className", "componentsProps", "control", "disabled", "disableTypography", "inputRef", "label", "labelPlacement", "name", "onChange", "value"];
31709
+ const _excluded$1h = ["checked", "className", "componentsProps", "control", "disabled", "disableTypography", "inputRef", "label", "labelPlacement", "name", "onChange", "slotProps", "value"];
31511
31710
 
31512
31711
  const useUtilityClasses$12 = ownerState => {
31513
31712
  const {
@@ -31574,6 +31773,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
31574
31773
  */
31575
31774
 
31576
31775
  const FormControlLabel = /*#__PURE__*/React__namespace.forwardRef(function FormControlLabel(inProps, ref) {
31776
+ var _slotProps$typography;
31777
+
31577
31778
  const props = useThemeProps({
31578
31779
  props: inProps,
31579
31780
  name: 'MuiFormControlLabel'
@@ -31586,7 +31787,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
31586
31787
  disabled: disabledProp,
31587
31788
  disableTypography,
31588
31789
  label: labelProp,
31589
- labelPlacement = 'end'
31790
+ labelPlacement = 'end',
31791
+ slotProps = {}
31590
31792
  } = props,
31591
31793
  other = _objectWithoutPropertiesLoose(props, _excluded$1h);
31592
31794
 
@@ -31622,13 +31824,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
31622
31824
  });
31623
31825
 
31624
31826
  const classes = useUtilityClasses$12(ownerState);
31827
+ const typographySlotProps = (_slotProps$typography = slotProps.typography) != null ? _slotProps$typography : componentsProps.typography;
31625
31828
  let label = labelProp;
31626
31829
 
31627
31830
  if (label != null && label.type !== Typography$1 && !disableTypography) {
31628
31831
  label = /*#__PURE__*/jsxRuntime_1(Typography$1, _extends({
31629
- component: "span",
31630
- className: classes.label
31631
- }, componentsProps.typography, {
31832
+ component: "span"
31833
+ }, typographySlotProps, {
31834
+ className: clsx(classes.label, typographySlotProps == null ? void 0 : typographySlotProps.className),
31632
31835
  children: label
31633
31836
  }));
31634
31837
  }
@@ -31716,6 +31919,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
31716
31919
  */
31717
31920
  onChange: PropTypes.func,
31718
31921
 
31922
+ /**
31923
+ * The props used for each slot inside.
31924
+ * @default {}
31925
+ */
31926
+ slotProps: PropTypes.shape({
31927
+ typography: PropTypes.object
31928
+ }),
31929
+
31719
31930
  /**
31720
31931
  * The system prop that allows defining system overrides as well as additional CSS styles.
31721
31932
  */
@@ -34620,7 +34831,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34620
34831
  } ;
34621
34832
  var ImageListItemBar$1 = ImageListItemBar;
34622
34833
 
34623
- const _excluded$14 = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "type"];
34834
+ const _excluded$14 = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"];
34624
34835
 
34625
34836
  const useUtilityClasses$U = ownerState => {
34626
34837
  const {
@@ -34721,6 +34932,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34721
34932
  overridesResolver: inputOverridesResolver
34722
34933
  })({});
34723
34934
  const Input = /*#__PURE__*/React__namespace.forwardRef(function Input(inProps, ref) {
34935
+ var _ref, _slots$root, _ref2, _slots$input;
34936
+
34724
34937
  const props = useThemeProps({
34725
34938
  props: inProps,
34726
34939
  name: 'MuiInput'
@@ -34733,6 +34946,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34733
34946
  fullWidth = false,
34734
34947
  inputComponent = 'input',
34735
34948
  multiline = false,
34949
+ slotProps,
34950
+ slots = {},
34736
34951
  type = 'text'
34737
34952
  } = props,
34738
34953
  other = _objectWithoutPropertiesLoose(props, _excluded$14);
@@ -34746,13 +34961,15 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34746
34961
  ownerState
34747
34962
  }
34748
34963
  };
34749
- const componentsProps = componentsPropsProp ? deepmerge(componentsPropsProp, inputComponentsProps) : inputComponentsProps;
34964
+ const componentsProps = (slotProps != null ? slotProps : componentsPropsProp) ? deepmerge(slotProps != null ? slotProps : componentsPropsProp, inputComponentsProps) : inputComponentsProps;
34965
+ const RootSlot = (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : InputRoot;
34966
+ const InputSlot = (_ref2 = (_slots$input = slots.input) != null ? _slots$input : components.Input) != null ? _ref2 : InputInput;
34750
34967
  return /*#__PURE__*/jsxRuntime_1(InputBase$1, _extends({
34751
- components: _extends({
34752
- Root: InputRoot,
34753
- Input: InputInput
34754
- }, components),
34755
- componentsProps: componentsProps,
34968
+ slots: {
34969
+ root: RootSlot,
34970
+ input: InputSlot
34971
+ },
34972
+ slotProps: componentsProps,
34756
34973
  fullWidth: fullWidth,
34757
34974
  inputComponent: inputComponent,
34758
34975
  multiline: multiline,
@@ -34798,8 +35015,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34798
35015
  .oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
34799
35016
 
34800
35017
  /**
34801
- * The components used for each slot inside the InputBase.
34802
- * Either a string to use a HTML element or a component.
35018
+ * The components used for each slot inside.
35019
+ *
35020
+ * This prop is an alias for the `slots` prop.
35021
+ * It's recommended to use the `slots` prop instead.
35022
+ *
34803
35023
  * @default {}
34804
35024
  */
34805
35025
  components: PropTypes.shape({
@@ -34808,7 +35028,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34808
35028
  }),
34809
35029
 
34810
35030
  /**
34811
- * The props used for each slot inside the Input.
35031
+ * The extra props for the slot components.
35032
+ * You can override the existing props or add new ones.
35033
+ *
35034
+ * This prop is an alias for the `slotProps` prop.
35035
+ * It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
35036
+ *
34812
35037
  * @default {}
34813
35038
  */
34814
35039
  componentsProps: PropTypes.shape({
@@ -34930,6 +35155,31 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34930
35155
  */
34931
35156
  rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
34932
35157
 
35158
+ /**
35159
+ * The extra props for the slot components.
35160
+ * You can override the existing props or add new ones.
35161
+ *
35162
+ * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
35163
+ *
35164
+ * @default {}
35165
+ */
35166
+ slotProps: PropTypes.shape({
35167
+ input: PropTypes.object,
35168
+ root: PropTypes.object
35169
+ }),
35170
+
35171
+ /**
35172
+ * The components used for each slot inside.
35173
+ *
35174
+ * This prop is an alias for the `components` prop, which will be deprecated in the future.
35175
+ *
35176
+ * @default {}
35177
+ */
35178
+ slots: PropTypes.shape({
35179
+ input: PropTypes.elementType,
35180
+ root: PropTypes.elementType
35181
+ }),
35182
+
34933
35183
  /**
34934
35184
  * Start `InputAdornment` for this component.
34935
35185
  */
@@ -36502,7 +36752,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36502
36752
  var ListItemSecondaryAction$1 = ListItemSecondaryAction;
36503
36753
 
36504
36754
  const _excluded$Y = ["className"],
36505
- _excluded2$7 = ["alignItems", "autoFocus", "button", "children", "className", "component", "components", "componentsProps", "ContainerComponent", "ContainerProps", "dense", "disabled", "disableGutters", "disablePadding", "divider", "focusVisibleClassName", "secondaryAction", "selected"];
36755
+ _excluded2$7 = ["alignItems", "autoFocus", "button", "children", "className", "component", "components", "componentsProps", "ContainerComponent", "ContainerProps", "dense", "disabled", "disableGutters", "disablePadding", "divider", "focusVisibleClassName", "secondaryAction", "selected", "slotProps", "slots"];
36506
36756
  const overridesResolver$2 = (props, styles) => {
36507
36757
  const {
36508
36758
  ownerState
@@ -36642,7 +36892,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36642
36892
  divider = false,
36643
36893
  focusVisibleClassName,
36644
36894
  secondaryAction,
36645
- selected = false
36895
+ selected = false,
36896
+ slotProps = {},
36897
+ slots = {}
36646
36898
  } = props,
36647
36899
  ContainerProps = _objectWithoutPropertiesLoose(props.ContainerProps, _excluded$Y),
36648
36900
  other = _objectWithoutPropertiesLoose(props, _excluded2$7);
@@ -36682,8 +36934,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36682
36934
 
36683
36935
  const classes = useUtilityClasses$M(ownerState);
36684
36936
  const handleRef = useForkRef(listItemRef, ref);
36685
- const Root = components.Root || ListItemRoot;
36686
- const rootProps = componentsProps.root || {};
36937
+ const Root = slots.root || components.Root || ListItemRoot;
36938
+ const rootProps = slotProps.root || componentsProps.root || {};
36687
36939
 
36688
36940
  const componentProps = _extends({
36689
36941
  className: clsx(classes.root, rootProps.className, className),
@@ -36733,8 +36985,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36733
36985
  value: childContext,
36734
36986
  children: /*#__PURE__*/jsxRuntime_2(Root, _extends({}, rootProps, {
36735
36987
  as: Component,
36736
- ref: handleRef,
36737
- ownerState: ownerState
36988
+ ref: handleRef
36738
36989
  }, !isHostComponent(Root) && {
36739
36990
  ownerState: _extends({}, ownerState, rootProps.ownerState)
36740
36991
  }, componentProps, {
@@ -36817,8 +37068,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36817
37068
  component: PropTypes.elementType,
36818
37069
 
36819
37070
  /**
36820
- * The components used for each slot inside the InputBase.
36821
- * Either a string to use a HTML element or a component.
37071
+ * The components used for each slot inside.
37072
+ *
37073
+ * This prop is an alias for the `slots` prop.
37074
+ * It's recommended to use the `slots` prop instead.
37075
+ *
36822
37076
  * @default {}
36823
37077
  */
36824
37078
  components: PropTypes.shape({
@@ -36826,7 +37080,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36826
37080
  }),
36827
37081
 
36828
37082
  /**
36829
- * The props used for each slot inside the Input.
37083
+ * The extra props for the slot components.
37084
+ * You can override the existing props or add new ones.
37085
+ *
37086
+ * This prop is an alias for the `slotProps` prop.
37087
+ * It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
37088
+ *
36830
37089
  * @default {}
36831
37090
  */
36832
37091
  componentsProps: PropTypes.shape({
@@ -36896,6 +37155,29 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
36896
37155
  */
36897
37156
  selected: PropTypes.bool,
36898
37157
 
37158
+ /**
37159
+ * The extra props for the slot components.
37160
+ * You can override the existing props or add new ones.
37161
+ *
37162
+ * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
37163
+ *
37164
+ * @default {}
37165
+ */
37166
+ slotProps: PropTypes.shape({
37167
+ root: PropTypes.object
37168
+ }),
37169
+
37170
+ /**
37171
+ * The components used for each slot inside.
37172
+ *
37173
+ * This prop is an alias for the `components` prop, which will be deprecated in the future.
37174
+ *
37175
+ * @default {}
37176
+ */
37177
+ slots: PropTypes.shape({
37178
+ root: PropTypes.elementType
37179
+ }),
37180
+
36899
37181
  /**
36900
37182
  * The system prop that allows defining system overrides as well as additional CSS styles.
36901
37183
  */
@@ -38893,12 +39175,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
38893
39175
  borderRadius: 0,
38894
39176
  // Reset
38895
39177
  cursor: 'pointer',
38896
- '&:focus': {
38897
- // Show that it's not an text input
38898
- backgroundColor: theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.05)' : 'rgba(255, 255, 255, 0.05)',
39178
+ '&:focus': _extends({}, theme.vars ? {
39179
+ backgroundColor: `rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.05)`
39180
+ } : {
39181
+ backgroundColor: theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.05)' : 'rgba(255, 255, 255, 0.05)'
39182
+ }, {
38899
39183
  borderRadius: 0 // Reset Chrome style
38900
39184
 
38901
- },
39185
+ }),
38902
39186
  // Remove IE11 arrow
38903
39187
  '&::-ms-expand': {
38904
39188
  display: 'none'
@@ -38910,7 +39194,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
38910
39194
  height: 'auto'
38911
39195
  },
38912
39196
  '&:not([multiple]) option, &:not([multiple]) optgroup': {
38913
- backgroundColor: theme.palette.background.paper
39197
+ backgroundColor: (theme.vars || theme).palette.background.paper
38914
39198
  },
38915
39199
  // Bump specificity to allow extending custom inputs
38916
39200
  '&&&': {
@@ -38923,9 +39207,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
38923
39207
  paddingRight: 32
38924
39208
  }
38925
39209
  }, ownerState.variant === 'outlined' && {
38926
- borderRadius: theme.shape.borderRadius,
39210
+ borderRadius: (theme.vars || theme).shape.borderRadius,
38927
39211
  '&:focus': {
38928
- borderRadius: theme.shape.borderRadius // Reset the reset for Chrome style
39212
+ borderRadius: (theme.vars || theme).shape.borderRadius // Reset the reset for Chrome style
38929
39213
 
38930
39214
  },
38931
39215
  '&&&': {
@@ -38957,9 +39241,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
38957
39241
  // Center vertically, height is 1em
38958
39242
  pointerEvents: 'none',
38959
39243
  // Don't block pointer events on the select under the icon.
38960
- color: theme.palette.action.active,
39244
+ color: (theme.vars || theme).palette.action.active,
38961
39245
  [`&.${nativeSelectClasses$1.disabled}`]: {
38962
- color: theme.palette.action.disabled
39246
+ color: (theme.vars || theme).palette.action.disabled
38963
39247
  }
38964
39248
  }, ownerState.open && {
38965
39249
  transform: 'rotate(180deg)'
@@ -39345,7 +39629,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
39345
39629
  style: PropTypes.object
39346
39630
  } ;
39347
39631
 
39348
- const _excluded$M = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "type"];
39632
+ const _excluded$M = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"];
39349
39633
 
39350
39634
  const useUtilityClasses$C = ownerState => {
39351
39635
  const {
@@ -39451,7 +39735,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
39451
39735
  paddingRight: 0
39452
39736
  }));
39453
39737
  const OutlinedInput = /*#__PURE__*/React__namespace.forwardRef(function OutlinedInput(inProps, ref) {
39454
- var _React$Fragment;
39738
+ var _ref, _slots$root, _ref2, _slots$input, _React$Fragment;
39455
39739
 
39456
39740
  const props = useThemeProps({
39457
39741
  props: inProps,
@@ -39465,6 +39749,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
39465
39749
  label,
39466
39750
  multiline = false,
39467
39751
  notched,
39752
+ slots = {},
39468
39753
  type = 'text'
39469
39754
  } = props,
39470
39755
  other = _objectWithoutPropertiesLoose(props, _excluded$M);
@@ -39490,11 +39775,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
39490
39775
  type
39491
39776
  });
39492
39777
 
39778
+ const RootSlot = (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : OutlinedInputRoot;
39779
+ const InputSlot = (_ref2 = (_slots$input = slots.input) != null ? _slots$input : components.Input) != null ? _ref2 : OutlinedInputInput;
39493
39780
  return /*#__PURE__*/jsxRuntime_1(InputBase$1, _extends({
39494
- components: _extends({
39495
- Root: OutlinedInputRoot,
39496
- Input: OutlinedInputInput
39497
- }, components),
39781
+ slots: {
39782
+ root: RootSlot,
39783
+ input: InputSlot
39784
+ },
39498
39785
  renderSuffix: state => /*#__PURE__*/jsxRuntime_1(NotchedOutlineRoot, {
39499
39786
  ownerState: ownerState,
39500
39787
  className: classes.notchedOutline,
@@ -39550,8 +39837,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
39550
39837
  .oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
39551
39838
 
39552
39839
  /**
39553
- * The components used for each slot inside the InputBase.
39554
- * Either a string to use a HTML element or a component.
39840
+ * The components used for each slot inside.
39841
+ *
39842
+ * This prop is an alias for the `slots` prop.
39843
+ * It's recommended to use the `slots` prop instead.
39844
+ *
39555
39845
  * @default {}
39556
39846
  */
39557
39847
  components: PropTypes.shape({
@@ -39679,6 +39969,18 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
39679
39969
  */
39680
39970
  rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
39681
39971
 
39972
+ /**
39973
+ * The components used for each slot inside.
39974
+ *
39975
+ * This prop is an alias for the `components` prop, which will be deprecated in the future.
39976
+ *
39977
+ * @default {}
39978
+ */
39979
+ slots: PropTypes.shape({
39980
+ input: PropTypes.elementType,
39981
+ root: PropTypes.elementType
39982
+ }),
39983
+
39682
39984
  /**
39683
39985
  * Start `InputAdornment` for this component.
39684
39986
  */
@@ -39839,7 +40141,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
39839
40141
  d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
39840
40142
  }), 'NavigateNext');
39841
40143
 
39842
- const _excluded$K = ["className", "color", "component", "components", "disabled", "page", "selected", "shape", "size", "type", "variant"];
40144
+ const _excluded$K = ["className", "color", "component", "components", "disabled", "page", "selected", "shape", "size", "slots", "type", "variant"];
39843
40145
 
39844
40146
  const overridesResolver = (props, styles) => {
39845
40147
  const {
@@ -40038,17 +40340,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40038
40340
  className,
40039
40341
  color = 'standard',
40040
40342
  component,
40041
- components = {
40042
- first: FirstPageIcon,
40043
- last: LastPageIcon,
40044
- next: NavigateNextIcon,
40045
- previous: NavigateBeforeIcon
40046
- },
40343
+ components = {},
40047
40344
  disabled = false,
40048
40345
  page,
40049
40346
  selected = false,
40050
40347
  shape = 'circular',
40051
40348
  size = 'medium',
40349
+ slots = {},
40052
40350
  type = 'page',
40053
40351
  variant = 'text'
40054
40352
  } = props,
@@ -40067,15 +40365,15 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40067
40365
  const theme = useTheme();
40068
40366
  const classes = useUtilityClasses$B(ownerState);
40069
40367
  const normalizedIcons = theme.direction === 'rtl' ? {
40070
- previous: components.next || NavigateNextIcon,
40071
- next: components.previous || NavigateBeforeIcon,
40072
- last: components.first || FirstPageIcon,
40073
- first: components.last || LastPageIcon
40368
+ previous: slots.next || components.next || NavigateNextIcon,
40369
+ next: slots.previous || components.previous || NavigateBeforeIcon,
40370
+ last: slots.first || components.first || FirstPageIcon,
40371
+ first: slots.last || components.last || LastPageIcon
40074
40372
  } : {
40075
- previous: components.previous || NavigateBeforeIcon,
40076
- next: components.next || NavigateNextIcon,
40077
- first: components.first || FirstPageIcon,
40078
- last: components.last || LastPageIcon
40373
+ previous: slots.previous || components.previous || NavigateBeforeIcon,
40374
+ next: slots.next || components.next || NavigateNextIcon,
40375
+ first: slots.first || components.first || FirstPageIcon,
40376
+ last: slots.last || components.last || LastPageIcon
40079
40377
  };
40080
40378
  const Icon = normalizedIcons[type];
40081
40379
  return type === 'start-ellipsis' || type === 'end-ellipsis' ? /*#__PURE__*/jsxRuntime_1(PaginationItemEllipsis, {
@@ -40137,13 +40435,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40137
40435
  component: PropTypes.elementType,
40138
40436
 
40139
40437
  /**
40140
- * The components used for first, last, next & previous item type
40141
- * @default {
40142
- * first: FirstPageIcon,
40143
- * last: LastPageIcon,
40144
- * next: NavigateNextIcon,
40145
- * previous: NavigateBeforeIcon,
40146
- * }
40438
+ * The components used for each slot inside.
40439
+ *
40440
+ * This prop is an alias for the `slots` prop.
40441
+ * It's recommended to use the `slots` prop instead.
40442
+ *
40443
+ * @default {}
40147
40444
  */
40148
40445
  components: PropTypes.shape({
40149
40446
  first: PropTypes.elementType,
@@ -40183,6 +40480,20 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40183
40480
  /* @typescript-to-proptypes-ignore */
40184
40481
  .oneOfType([PropTypes.oneOf(['small', 'medium', 'large']), PropTypes.string]),
40185
40482
 
40483
+ /**
40484
+ * The components used for each slot inside.
40485
+ *
40486
+ * This prop is an alias for the `components` prop, which will be deprecated in the future.
40487
+ *
40488
+ * @default {}
40489
+ */
40490
+ slots: PropTypes.shape({
40491
+ first: PropTypes.elementType,
40492
+ last: PropTypes.elementType,
40493
+ next: PropTypes.elementType,
40494
+ previous: PropTypes.elementType
40495
+ }),
40496
+
40186
40497
  /**
40187
40498
  * The system prop that allows defining system overrides as well as additional CSS styles.
40188
40499
  */
@@ -42673,14 +42984,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
42673
42984
  *
42674
42985
  * @param {SelectChangeEvent<T>} event The event source of the callback.
42675
42986
  * You can pull out the new value by accessing `event.target.value` (any).
42676
- * **Warning**: This is a generic event not a change event unless the change event is caused by browser autofill.
42987
+ * **Warning**: This is a generic event, not a change event, unless the change event is caused by browser autofill.
42677
42988
  * @param {object} [child] The react element that was selected when `native` is `false` (default).
42678
42989
  */
42679
42990
  onChange: PropTypes.func,
42680
42991
 
42681
42992
  /**
42682
42993
  * Callback fired when the component requests to be closed.
42683
- * Use in controlled mode (see open).
42994
+ * Use it in either controlled (see the `open` prop), or uncontrolled mode (to detect when the Select collapes).
42684
42995
  *
42685
42996
  * @param {object} event The event source of the callback.
42686
42997
  */
@@ -42688,7 +42999,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
42688
42999
 
42689
43000
  /**
42690
43001
  * Callback fired when the component requests to be opened.
42691
- * Use in controlled mode (see open).
43002
+ * Use it in either controlled (see the `open` prop), or uncontrolled mode (to detect when the Select expands).
42692
43003
  *
42693
43004
  * @param {object} event The event source of the callback.
42694
43005
  */
@@ -43536,8 +43847,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
43536
43847
  .oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
43537
43848
 
43538
43849
  /**
43539
- * The components used for each slot inside the Slider.
43540
- * Either a string to use a HTML element or a component.
43850
+ * The components used for each slot inside.
43851
+ *
43852
+ * This prop is an alias for the `slots` prop.
43853
+ * It's recommended to use the `slots` prop instead.
43854
+ *
43541
43855
  * @default {}
43542
43856
  */
43543
43857
  components: PropTypes.shape({
@@ -43552,7 +43866,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
43552
43866
  }),
43553
43867
 
43554
43868
  /**
43555
- * @ignore
43869
+ * The extra props for the slot components.
43870
+ * You can override the existing props or add new ones.
43871
+ *
43872
+ * This prop is an alias for the `slotProps` prop.
43873
+ * It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
43874
+ *
43875
+ * @default {}
43556
43876
  */
43557
43877
  componentsProps: PropTypes.shape({
43558
43878
  input: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
@@ -45137,7 +45457,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
45137
45457
  const tooltipClasses = generateUtilityClasses('MuiTooltip', ['popper', 'popperInteractive', 'popperArrow', 'popperClose', 'tooltip', 'tooltipArrow', 'touch', 'tooltipPlacementLeft', 'tooltipPlacementRight', 'tooltipPlacementTop', 'tooltipPlacementBottom', 'arrow']);
45138
45458
  var tooltipClasses$1 = tooltipClasses;
45139
45459
 
45140
- const _excluded$w = ["arrow", "children", "classes", "components", "componentsProps", "describeChild", "disableFocusListener", "disableHoverListener", "disableInteractive", "disableTouchListener", "enterDelay", "enterNextDelay", "enterTouchDelay", "followCursor", "id", "leaveDelay", "leaveTouchDelay", "onClose", "onOpen", "open", "placement", "PopperComponent", "PopperProps", "title", "TransitionComponent", "TransitionProps"];
45460
+ const _excluded$w = ["arrow", "children", "classes", "components", "componentsProps", "describeChild", "disableFocusListener", "disableHoverListener", "disableInteractive", "disableTouchListener", "enterDelay", "enterNextDelay", "enterTouchDelay", "followCursor", "id", "leaveDelay", "leaveTouchDelay", "onClose", "onOpen", "open", "placement", "PopperComponent", "PopperProps", "slotProps", "slots", "title", "TransitionComponent", "TransitionProps"];
45141
45461
 
45142
45462
  function round(value) {
45143
45463
  return Math.round(value * 1e5) / 1e5;
@@ -45328,7 +45648,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
45328
45648
 
45329
45649
 
45330
45650
  const Tooltip = /*#__PURE__*/React__namespace.forwardRef(function Tooltip(inProps, ref) {
45331
- var _components$Popper, _ref, _components$Transitio, _components$Tooltip, _components$Arrow, _componentsProps$popp;
45651
+ var _ref, _slots$popper, _ref2, _ref3, _slots$transition, _ref4, _slots$tooltip, _ref5, _slots$arrow, _slotProps$popper, _ref6, _slotProps$popper2, _slotProps$transition, _slotProps$tooltip, _ref7, _slotProps$tooltip2, _slotProps$arrow, _ref8, _slotProps$arrow2;
45332
45652
 
45333
45653
  const props = useThemeProps({
45334
45654
  props: inProps,
@@ -45358,6 +45678,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
45358
45678
  placement = 'bottom',
45359
45679
  PopperComponent: PopperComponentProp,
45360
45680
  PopperProps = {},
45681
+ slotProps = {},
45682
+ slots = {},
45361
45683
  title,
45362
45684
  TransitionComponent: TransitionComponentProp = Grow$1,
45363
45685
  TransitionProps
@@ -45696,14 +46018,20 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
45696
46018
  });
45697
46019
 
45698
46020
  const classes = useUtilityClasses$q(ownerState);
45699
- const PopperComponent = (_components$Popper = components.Popper) != null ? _components$Popper : TooltipPopper;
45700
- const TransitionComponent = (_ref = (_components$Transitio = components.Transition) != null ? _components$Transitio : TransitionComponentProp) != null ? _ref : Grow$1;
45701
- const TooltipComponent = (_components$Tooltip = components.Tooltip) != null ? _components$Tooltip : TooltipTooltip;
45702
- const ArrowComponent = (_components$Arrow = components.Arrow) != null ? _components$Arrow : TooltipArrow;
45703
- const popperProps = appendOwnerState(PopperComponent, _extends({}, PopperProps, componentsProps.popper), ownerState);
45704
- const transitionProps = appendOwnerState(TransitionComponent, _extends({}, TransitionProps, componentsProps.transition), ownerState);
45705
- const tooltipProps = appendOwnerState(TooltipComponent, _extends({}, componentsProps.tooltip), ownerState);
45706
- const tooltipArrowProps = appendOwnerState(ArrowComponent, _extends({}, componentsProps.arrow), ownerState);
46021
+ const PopperComponent = (_ref = (_slots$popper = slots.popper) != null ? _slots$popper : components.Popper) != null ? _ref : TooltipPopper;
46022
+ const TransitionComponent = (_ref2 = (_ref3 = (_slots$transition = slots.transition) != null ? _slots$transition : components.Transition) != null ? _ref3 : TransitionComponentProp) != null ? _ref2 : Grow$1;
46023
+ const TooltipComponent = (_ref4 = (_slots$tooltip = slots.tooltip) != null ? _slots$tooltip : components.Tooltip) != null ? _ref4 : TooltipTooltip;
46024
+ const ArrowComponent = (_ref5 = (_slots$arrow = slots.arrow) != null ? _slots$arrow : components.Arrow) != null ? _ref5 : TooltipArrow;
46025
+ const popperProps = appendOwnerState(PopperComponent, _extends({}, PopperProps, (_slotProps$popper = slotProps.popper) != null ? _slotProps$popper : componentsProps.popper, {
46026
+ className: clsx(classes.popper, PopperProps == null ? void 0 : PopperProps.className, (_ref6 = (_slotProps$popper2 = slotProps.popper) != null ? _slotProps$popper2 : componentsProps.popper) == null ? void 0 : _ref6.className)
46027
+ }), ownerState);
46028
+ const transitionProps = appendOwnerState(TransitionComponent, _extends({}, TransitionProps, (_slotProps$transition = slotProps.transition) != null ? _slotProps$transition : componentsProps.transition), ownerState);
46029
+ const tooltipProps = appendOwnerState(TooltipComponent, _extends({}, (_slotProps$tooltip = slotProps.tooltip) != null ? _slotProps$tooltip : componentsProps.tooltip, {
46030
+ className: clsx(classes.tooltip, (_ref7 = (_slotProps$tooltip2 = slotProps.tooltip) != null ? _slotProps$tooltip2 : componentsProps.tooltip) == null ? void 0 : _ref7.className)
46031
+ }), ownerState);
46032
+ const tooltipArrowProps = appendOwnerState(ArrowComponent, _extends({}, (_slotProps$arrow = slotProps.arrow) != null ? _slotProps$arrow : componentsProps.arrow, {
46033
+ className: clsx(classes.arrow, (_ref8 = (_slotProps$arrow2 = slotProps.arrow) != null ? _slotProps$arrow2 : componentsProps.arrow) == null ? void 0 : _ref8.className)
46034
+ }), ownerState);
45707
46035
  return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
45708
46036
  children: [/*#__PURE__*/React__namespace.cloneElement(children, childrenProps), /*#__PURE__*/jsxRuntime_1(PopperComponent, _extends({
45709
46037
  as: PopperComponentProp != null ? PopperComponentProp : Popper$1,
@@ -45723,25 +46051,19 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
45723
46051
  id: id,
45724
46052
  transition: true
45725
46053
  }, interactiveWrapperListeners, popperProps, {
45726
- className: clsx(classes.popper, PopperProps == null ? void 0 : PopperProps.className, (_componentsProps$popp = componentsProps.popper) == null ? void 0 : _componentsProps$popp.className),
45727
46054
  popperOptions: popperOptions,
45728
46055
  children: ({
45729
46056
  TransitionProps: TransitionPropsInner
45730
- }) => {
45731
- var _componentsProps$tool, _componentsProps$arro;
45732
-
45733
- return /*#__PURE__*/jsxRuntime_1(TransitionComponent, _extends({
45734
- timeout: theme.transitions.duration.shorter
45735
- }, TransitionPropsInner, transitionProps, {
45736
- children: /*#__PURE__*/jsxRuntime_2(TooltipComponent, _extends({}, tooltipProps, {
45737
- className: clsx(classes.tooltip, (_componentsProps$tool = componentsProps.tooltip) == null ? void 0 : _componentsProps$tool.className),
45738
- children: [title, arrow ? /*#__PURE__*/jsxRuntime_1(ArrowComponent, _extends({}, tooltipArrowProps, {
45739
- className: clsx(classes.arrow, (_componentsProps$arro = componentsProps.arrow) == null ? void 0 : _componentsProps$arro.className),
45740
- ref: setArrowRef
45741
- })) : null]
45742
- }))
45743
- }));
45744
- }
46057
+ }) => /*#__PURE__*/jsxRuntime_1(TransitionComponent, _extends({
46058
+ timeout: theme.transitions.duration.shorter
46059
+ }, TransitionPropsInner, transitionProps, {
46060
+ "data-foo": "bar",
46061
+ children: /*#__PURE__*/jsxRuntime_2(TooltipComponent, _extends({}, tooltipProps, {
46062
+ children: [title, arrow ? /*#__PURE__*/jsxRuntime_1(ArrowComponent, _extends({}, tooltipArrowProps, {
46063
+ ref: setArrowRef
46064
+ })) : null]
46065
+ }))
46066
+ }))
45745
46067
  }))]
45746
46068
  });
45747
46069
  });
@@ -45775,8 +46097,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
45775
46097
  className: PropTypes.string,
45776
46098
 
45777
46099
  /**
45778
- * The components used for each slot inside the Tooltip.
45779
- * Either a string to use a HTML element or a component.
46100
+ * The components used for each slot inside.
46101
+ *
46102
+ * This prop is an alias for the `slots` prop.
46103
+ * It's recommended to use the `slots` prop instead.
46104
+ *
45780
46105
  * @default {}
45781
46106
  */
45782
46107
  components: PropTypes.shape({
@@ -45787,9 +46112,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
45787
46112
  }),
45788
46113
 
45789
46114
  /**
45790
- * The props used for each slot inside the Tooltip.
45791
- * Note that `componentsProps.popper` prop values win over `PopperProps`
45792
- * and `componentsProps.transition` prop values win over `TransitionProps` if both are applied.
46115
+ * The extra props for the slot components.
46116
+ * You can override the existing props or add new ones.
46117
+ *
46118
+ * This prop is an alias for the `slotProps` prop.
46119
+ * It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
46120
+ *
45793
46121
  * @default {}
45794
46122
  */
45795
46123
  componentsProps: PropTypes.shape({
@@ -45912,6 +46240,35 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
45912
46240
  */
45913
46241
  PopperProps: PropTypes.object,
45914
46242
 
46243
+ /**
46244
+ * The extra props for the slot components.
46245
+ * You can override the existing props or add new ones.
46246
+ *
46247
+ * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
46248
+ *
46249
+ * @default {}
46250
+ */
46251
+ slotProps: PropTypes.shape({
46252
+ arrow: PropTypes.object,
46253
+ popper: PropTypes.object,
46254
+ tooltip: PropTypes.object,
46255
+ transition: PropTypes.object
46256
+ }),
46257
+
46258
+ /**
46259
+ * The components used for each slot inside.
46260
+ *
46261
+ * This prop is an alias for the `components` prop, which will be deprecated in the future.
46262
+ *
46263
+ * @default {}
46264
+ */
46265
+ slots: PropTypes.shape({
46266
+ arrow: PropTypes.elementType,
46267
+ popper: PropTypes.elementType,
46268
+ tooltip: PropTypes.elementType,
46269
+ transition: PropTypes.elementType
46270
+ }),
46271
+
45915
46272
  /**
45916
46273
  * The system prop that allows defining system overrides as well as additional CSS styles.
45917
46274
  */
@@ -46921,7 +47278,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
46921
47278
  const stepLabelClasses = generateUtilityClasses('MuiStepLabel', ['root', 'horizontal', 'vertical', 'label', 'active', 'completed', 'error', 'disabled', 'iconContainer', 'alternativeLabel', 'labelContainer']);
46922
47279
  var stepLabelClasses$1 = stepLabelClasses;
46923
47280
 
46924
- const _excluded$q = ["children", "className", "componentsProps", "error", "icon", "optional", "StepIconComponent", "StepIconProps"];
47281
+ const _excluded$q = ["children", "className", "componentsProps", "error", "icon", "optional", "slotProps", "StepIconComponent", "StepIconProps"];
46925
47282
 
46926
47283
  const useUtilityClasses$l = ownerState => {
46927
47284
  const {
@@ -47019,6 +47376,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47019
47376
  }
47020
47377
  }));
47021
47378
  const StepLabel = /*#__PURE__*/React__namespace.forwardRef(function StepLabel(inProps, ref) {
47379
+ var _slotProps$label;
47380
+
47022
47381
  const props = useThemeProps({
47023
47382
  props: inProps,
47024
47383
  name: 'MuiStepLabel'
@@ -47031,6 +47390,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47031
47390
  error = false,
47032
47391
  icon: iconProp,
47033
47392
  optional,
47393
+ slotProps = {},
47034
47394
  StepIconComponent: StepIconComponentProp,
47035
47395
  StepIconProps
47036
47396
  } = props,
@@ -47063,6 +47423,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47063
47423
  });
47064
47424
 
47065
47425
  const classes = useUtilityClasses$l(ownerState);
47426
+ const labelSlotProps = (_slotProps$label = slotProps.label) != null ? _slotProps$label : componentsProps.label;
47066
47427
  return /*#__PURE__*/jsxRuntime_2(StepLabelRoot, _extends({
47067
47428
  className: clsx(classes.root, className),
47068
47429
  ref: ref,
@@ -47081,9 +47442,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47081
47442
  className: classes.labelContainer,
47082
47443
  ownerState: ownerState,
47083
47444
  children: [children ? /*#__PURE__*/jsxRuntime_1(StepLabelLabel, _extends({
47084
- className: classes.label,
47085
47445
  ownerState: ownerState
47086
- }, componentsProps.label, {
47446
+ }, labelSlotProps, {
47447
+ className: clsx(classes.label, labelSlotProps == null ? void 0 : labelSlotProps.className),
47087
47448
  children: children
47088
47449
  })) : null, optional]
47089
47450
  })]
@@ -47136,6 +47497,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
47136
47497
  */
47137
47498
  optional: PropTypes.node,
47138
47499
 
47500
+ /**
47501
+ * The props used for each slot inside.
47502
+ * @default {}
47503
+ */
47504
+ slotProps: PropTypes.shape({
47505
+ label: PropTypes.object
47506
+ }),
47507
+
47139
47508
  /**
47140
47509
  * The component to render in place of the [`StepIcon`](/material-ui/api/step-icon/).
47141
47510
  */