@mui/material 5.5.2 → 5.5.3

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 (315) 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 +3 -1
  6. package/Alert/Alert.js +3 -1
  7. package/Alert/alertClasses.d.ts +44 -44
  8. package/AlertTitle/alertTitleClasses.d.ts +8 -8
  9. package/AppBar/AppBar.d.ts +3 -1
  10. package/AppBar/AppBar.js +3 -1
  11. package/AppBar/appBarClasses.d.ts +28 -28
  12. package/Autocomplete/Autocomplete.js +1 -1
  13. package/Autocomplete/autocompleteClasses.d.ts +54 -54
  14. package/Avatar/avatarClasses.d.ts +20 -20
  15. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  16. package/Backdrop/Backdrop.d.ts +32 -15
  17. package/Backdrop/Backdrop.js +26 -20
  18. package/Backdrop/backdropClasses.d.ts +10 -0
  19. package/Backdrop/backdropClasses.js +6 -0
  20. package/Backdrop/index.d.ts +3 -0
  21. package/Backdrop/index.js +2 -1
  22. package/Badge/Badge.d.ts +3 -1
  23. package/Badge/Badge.js +3 -1
  24. package/BottomNavigation/BottomNavigation.js +0 -0
  25. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  26. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  27. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  28. package/Button/Button.d.ts +3 -1
  29. package/Button/Button.js +3 -1
  30. package/Button/buttonClasses.d.ts +76 -76
  31. package/ButtonBase/ButtonBase.js +7 -7
  32. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  33. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  34. package/ButtonGroup/ButtonGroup.d.ts +3 -1
  35. package/ButtonGroup/ButtonGroup.js +3 -1
  36. package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
  37. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  38. package/CHANGELOG.md +98 -0
  39. package/Card/Card.d.ts +1 -0
  40. package/Card/cardClasses.d.ts +8 -8
  41. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  42. package/CardActions/cardActionsClasses.d.ts +10 -10
  43. package/CardContent/cardContentClasses.d.ts +8 -8
  44. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  45. package/CardMedia/cardMediaClasses.d.ts +12 -12
  46. package/Checkbox/Checkbox.d.ts +3 -1
  47. package/Checkbox/Checkbox.js +3 -1
  48. package/Checkbox/checkboxClasses.d.ts +18 -18
  49. package/Chip/Chip.d.ts +3 -1
  50. package/Chip/Chip.js +3 -1
  51. package/Chip/chipClasses.d.ts +80 -80
  52. package/CircularProgress/CircularProgress.d.ts +3 -1
  53. package/CircularProgress/CircularProgress.js +3 -1
  54. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  55. package/ClickAwayListener/index.d.ts +2 -2
  56. package/Collapse/collapseClasses.d.ts +18 -18
  57. package/Container/containerClasses.d.ts +22 -22
  58. package/Dialog/DialogContext.d.ts +6 -6
  59. package/Dialog/dialogClasses.d.ts +36 -36
  60. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  61. package/DialogContent/dialogContentClasses.d.ts +10 -10
  62. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  63. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  64. package/Divider/dividerClasses.d.ts +34 -34
  65. package/Drawer/drawerClasses.d.ts +30 -30
  66. package/Fab/Fab.d.ts +3 -1
  67. package/Fab/Fab.js +3 -1
  68. package/Fab/fabClasses.d.ts +26 -26
  69. package/FilledInput/FilledInput.js +3 -1
  70. package/FilledInput/filledInputClasses.d.ts +40 -40
  71. package/FormControl/FormControl.d.ts +3 -1
  72. package/FormControl/FormControl.js +3 -1
  73. package/FormControl/formControlClasses.d.ts +14 -14
  74. package/FormControlLabel/FormControlLabel.d.ts +1 -1
  75. package/FormControlLabel/FormControlLabel.js +14 -9
  76. package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
  77. package/FormGroup/formGroupClasses.d.ts +12 -12
  78. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  79. package/FormLabel/FormLabel.d.ts +3 -1
  80. package/FormLabel/FormLabel.js +3 -1
  81. package/FormLabel/formLabelClasses.d.ts +22 -22
  82. package/Grid/gridClasses.d.ts +48 -48
  83. package/Grow/Grow.js +11 -5
  84. package/Icon/Icon.d.ts +3 -1
  85. package/Icon/Icon.js +3 -1
  86. package/Icon/iconClasses.d.ts +24 -24
  87. package/IconButton/IconButton.d.ts +3 -1
  88. package/IconButton/IconButton.js +3 -1
  89. package/IconButton/iconButtonClasses.d.ts +26 -26
  90. package/ImageList/imageListClasses.d.ts +16 -16
  91. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  92. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  93. package/Input/Input.js +3 -1
  94. package/Input/inputClasses.d.ts +34 -34
  95. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  96. package/InputBase/InputBase.d.ts +3 -1
  97. package/InputBase/InputBase.js +3 -1
  98. package/InputBase/inputBaseClasses.d.ts +44 -44
  99. package/InputLabel/InputLabel.js +3 -1
  100. package/InputLabel/inputLabelClasses.d.ts +32 -32
  101. package/LinearProgress/LinearProgress.d.ts +3 -1
  102. package/LinearProgress/LinearProgress.js +3 -1
  103. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  104. package/Link/linkClasses.d.ts +18 -18
  105. package/List/listClasses.d.ts +14 -14
  106. package/ListItem/listItemClasses.d.ts +30 -30
  107. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  108. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  109. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  110. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  111. package/ListItemText/listItemTextClasses.d.ts +18 -18
  112. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  113. package/Menu/menuClasses.d.ts +12 -12
  114. package/MenuItem/menuItemClasses.d.ts +20 -20
  115. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  116. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  117. package/OutlinedInput/OutlinedInput.js +3 -1
  118. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  119. package/Pagination/Pagination.d.ts +2 -0
  120. package/Pagination/Pagination.js +2 -0
  121. package/Pagination/paginationClasses.d.ts +14 -14
  122. package/PaginationItem/PaginationItem.d.ts +2 -0
  123. package/PaginationItem/PaginationItem.js +2 -0
  124. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  125. package/Paper/paperClasses.d.ts +39 -39
  126. package/Popover/popoverClasses.d.ts +10 -10
  127. package/Popper/Popper.d.ts +29 -29
  128. package/Radio/Radio.d.ts +3 -1
  129. package/Radio/Radio.js +3 -1
  130. package/Radio/radioClasses.d.ts +16 -16
  131. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  132. package/RadioGroup/useRadioGroup.d.ts +4 -4
  133. package/Rating/ratingClasses.d.ts +40 -40
  134. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  135. package/Select/selectClasses.d.ts +30 -30
  136. package/Skeleton/skeletonClasses.d.ts +24 -24
  137. package/Slider/Slider.d.ts +3 -1
  138. package/Slider/Slider.js +3 -1
  139. package/Snackbar/snackbarClasses.d.ts +20 -20
  140. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  141. package/SpeedDial/speedDialClasses.d.ts +22 -22
  142. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  143. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  144. package/Step/StepContext.d.ts +20 -20
  145. package/Step/stepClasses.d.ts +16 -16
  146. package/StepButton/stepButtonClasses.d.ts +14 -14
  147. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  148. package/StepContent/stepContentClasses.d.ts +12 -12
  149. package/StepIcon/stepIconClasses.d.ts +16 -16
  150. package/StepLabel/stepLabelClasses.d.ts +28 -28
  151. package/Stepper/stepperClasses.d.ts +14 -14
  152. package/SvgIcon/SvgIcon.d.ts +3 -1
  153. package/SvgIcon/SvgIcon.js +3 -1
  154. package/SvgIcon/svgIconClasses.d.ts +24 -24
  155. package/Switch/Switch.d.ts +3 -1
  156. package/Switch/Switch.js +3 -1
  157. package/Switch/switchClasses.d.ts +32 -32
  158. package/Tab/tabClasses.d.ts +26 -26
  159. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  160. package/Table/tableClasses.d.ts +10 -10
  161. package/TableBody/tableBodyClasses.d.ts +8 -8
  162. package/TableCell/tableCellClasses.d.ts +32 -32
  163. package/TableContainer/tableContainerClasses.d.ts +8 -8
  164. package/TableFooter/tableFooterClasses.d.ts +8 -8
  165. package/TableHead/tableHeadClasses.d.ts +8 -8
  166. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  167. package/TableRow/tableRowClasses.d.ts +16 -16
  168. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  169. package/Tabs/tabsClasses.d.ts +32 -32
  170. package/TextField/TextField.d.ts +3 -1
  171. package/TextField/TextField.js +3 -1
  172. package/TextField/textFieldClasses.d.ts +8 -8
  173. package/ToggleButton/ToggleButton.d.ts +2 -0
  174. package/ToggleButton/ToggleButton.js +2 -0
  175. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  176. package/ToggleButtonGroup/ToggleButtonGroup.d.ts +3 -1
  177. package/ToggleButtonGroup/ToggleButtonGroup.js +3 -1
  178. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  179. package/Toolbar/toolbarClasses.d.ts +14 -14
  180. package/Tooltip/tooltipClasses.d.ts +30 -30
  181. package/Typography/typographyClasses.d.ts +50 -50
  182. package/Unstable_TrapFocus/index.d.ts +2 -2
  183. package/Unstable_TrapFocus/index.js +1 -1
  184. package/className/index.d.ts +8 -8
  185. package/darkScrollbar/index.d.ts +28 -28
  186. package/index.js +1 -1
  187. package/internal/switchBaseClasses.d.ts +12 -12
  188. package/legacy/Alert/Alert.js +3 -1
  189. package/legacy/AppBar/AppBar.js +3 -1
  190. package/legacy/Autocomplete/Autocomplete.js +1 -1
  191. package/legacy/Backdrop/Backdrop.js +27 -20
  192. package/legacy/Backdrop/backdropClasses.js +6 -0
  193. package/legacy/Backdrop/index.js +2 -1
  194. package/legacy/Badge/Badge.js +3 -1
  195. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  196. package/legacy/Button/Button.js +3 -1
  197. package/legacy/ButtonBase/ButtonBase.js +11 -11
  198. package/legacy/ButtonGroup/ButtonGroup.js +3 -1
  199. package/legacy/Checkbox/Checkbox.js +3 -1
  200. package/legacy/Chip/Chip.js +3 -1
  201. package/legacy/CircularProgress/CircularProgress.js +3 -1
  202. package/legacy/Fab/Fab.js +3 -1
  203. package/legacy/FilledInput/FilledInput.js +3 -1
  204. package/legacy/FormControl/FormControl.js +3 -1
  205. package/legacy/FormControlLabel/FormControlLabel.js +14 -9
  206. package/legacy/FormLabel/FormLabel.js +3 -1
  207. package/legacy/Grow/Grow.js +11 -5
  208. package/legacy/Icon/Icon.js +3 -1
  209. package/legacy/IconButton/IconButton.js +3 -1
  210. package/legacy/Input/Input.js +3 -1
  211. package/legacy/InputBase/InputBase.js +3 -1
  212. package/legacy/InputLabel/InputLabel.js +3 -1
  213. package/legacy/LinearProgress/LinearProgress.js +3 -1
  214. package/legacy/OutlinedInput/OutlinedInput.js +3 -1
  215. package/legacy/Pagination/Pagination.js +2 -0
  216. package/legacy/PaginationItem/PaginationItem.js +2 -0
  217. package/legacy/Radio/Radio.js +3 -1
  218. package/legacy/Slider/Slider.js +3 -1
  219. package/legacy/SvgIcon/SvgIcon.js +3 -1
  220. package/legacy/Switch/Switch.js +3 -1
  221. package/legacy/TextField/TextField.js +3 -1
  222. package/legacy/ToggleButton/ToggleButton.js +2 -0
  223. package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +3 -1
  224. package/legacy/Unstable_TrapFocus/index.js +1 -1
  225. package/legacy/index.js +1 -1
  226. package/locale/index.d.ts +71 -71
  227. package/modern/Alert/Alert.js +3 -1
  228. package/modern/AppBar/AppBar.js +3 -1
  229. package/modern/Autocomplete/Autocomplete.js +1 -1
  230. package/modern/Backdrop/Backdrop.js +25 -19
  231. package/modern/Backdrop/backdropClasses.js +6 -0
  232. package/modern/Backdrop/index.js +2 -1
  233. package/modern/Badge/Badge.js +3 -1
  234. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  235. package/modern/Button/Button.js +3 -1
  236. package/modern/ButtonBase/ButtonBase.js +7 -7
  237. package/modern/ButtonGroup/ButtonGroup.js +3 -1
  238. package/modern/Checkbox/Checkbox.js +3 -1
  239. package/modern/Chip/Chip.js +3 -1
  240. package/modern/CircularProgress/CircularProgress.js +3 -1
  241. package/modern/Fab/Fab.js +3 -1
  242. package/modern/FilledInput/FilledInput.js +3 -1
  243. package/modern/FormControl/FormControl.js +3 -1
  244. package/modern/FormControlLabel/FormControlLabel.js +14 -9
  245. package/modern/FormLabel/FormLabel.js +3 -1
  246. package/modern/Grow/Grow.js +11 -5
  247. package/modern/Icon/Icon.js +3 -1
  248. package/modern/IconButton/IconButton.js +3 -1
  249. package/modern/Input/Input.js +3 -1
  250. package/modern/InputBase/InputBase.js +3 -1
  251. package/modern/InputLabel/InputLabel.js +3 -1
  252. package/modern/LinearProgress/LinearProgress.js +3 -1
  253. package/modern/OutlinedInput/OutlinedInput.js +3 -1
  254. package/modern/Pagination/Pagination.js +2 -0
  255. package/modern/PaginationItem/PaginationItem.js +2 -0
  256. package/modern/Radio/Radio.js +3 -1
  257. package/modern/Slider/Slider.js +3 -1
  258. package/modern/SvgIcon/SvgIcon.js +3 -1
  259. package/modern/Switch/Switch.js +3 -1
  260. package/modern/TextField/TextField.js +3 -1
  261. package/modern/ToggleButton/ToggleButton.js +2 -0
  262. package/modern/ToggleButtonGroup/ToggleButtonGroup.js +3 -1
  263. package/modern/Unstable_TrapFocus/index.js +1 -1
  264. package/modern/index.js +1 -1
  265. package/node/Alert/Alert.js +3 -1
  266. package/node/AppBar/AppBar.js +3 -1
  267. package/node/Autocomplete/Autocomplete.js +1 -1
  268. package/node/Backdrop/Backdrop.js +28 -23
  269. package/node/Backdrop/backdropClasses.js +17 -0
  270. package/node/Backdrop/index.js +17 -5
  271. package/node/Badge/Badge.js +3 -1
  272. package/node/BottomNavigation/BottomNavigation.js +0 -0
  273. package/node/Button/Button.js +3 -1
  274. package/node/ButtonBase/ButtonBase.js +7 -7
  275. package/node/ButtonGroup/ButtonGroup.js +3 -1
  276. package/node/Checkbox/Checkbox.js +3 -1
  277. package/node/Chip/Chip.js +3 -1
  278. package/node/CircularProgress/CircularProgress.js +3 -1
  279. package/node/Fab/Fab.js +3 -1
  280. package/node/FilledInput/FilledInput.js +3 -1
  281. package/node/FormControl/FormControl.js +3 -1
  282. package/node/FormControlLabel/FormControlLabel.js +14 -9
  283. package/node/FormLabel/FormLabel.js +3 -1
  284. package/node/Grow/Grow.js +10 -4
  285. package/node/Icon/Icon.js +3 -1
  286. package/node/IconButton/IconButton.js +3 -1
  287. package/node/Input/Input.js +3 -1
  288. package/node/InputBase/InputBase.js +3 -1
  289. package/node/InputLabel/InputLabel.js +3 -1
  290. package/node/LinearProgress/LinearProgress.js +3 -1
  291. package/node/OutlinedInput/OutlinedInput.js +3 -1
  292. package/node/Pagination/Pagination.js +2 -0
  293. package/node/PaginationItem/PaginationItem.js +2 -0
  294. package/node/Radio/Radio.js +3 -1
  295. package/node/Slider/Slider.js +3 -1
  296. package/node/SvgIcon/SvgIcon.js +3 -1
  297. package/node/Switch/Switch.js +3 -1
  298. package/node/TextField/TextField.js +3 -1
  299. package/node/ToggleButton/ToggleButton.js +2 -0
  300. package/node/ToggleButtonGroup/ToggleButtonGroup.js +3 -1
  301. package/node/Unstable_TrapFocus/index.js +2 -2
  302. package/node/index.js +1 -1
  303. package/package.json +4 -4
  304. package/transitions/index.d.ts +1 -1
  305. package/transitions/transition.d.ts +13 -13
  306. package/transitions/utils.d.ts +23 -23
  307. package/umd/material-ui.development.js +261 -288
  308. package/umd/material-ui.production.min.js +20 -20
  309. package/useMediaQuery/useMediaQuery.d.ts +31 -31
  310. package/useTouchRipple/index.d.ts +1 -1
  311. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  312. package/utils/getScrollbarSize.d.ts +2 -2
  313. package/utils/ownerDocument.d.ts +2 -2
  314. package/utils/ownerWindow.d.ts +2 -2
  315. package/utils/setRef.d.ts +2 -2
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.5.2
1
+ /** @license MUI v5.5.3
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.
@@ -6449,7 +6449,7 @@
6449
6449
  styleFunctionSx.filterProps = ['sx'];
6450
6450
  var defaultStyleFunctionSx = styleFunctionSx;
6451
6451
 
6452
- const _excluded$2k = ["sx"];
6452
+ const _excluded$2j = ["sx"];
6453
6453
 
6454
6454
  const splitProps = props => {
6455
6455
  const result = {
@@ -6470,7 +6470,7 @@
6470
6470
  const {
6471
6471
  sx: inSx
6472
6472
  } = props,
6473
- other = _objectWithoutPropertiesLoose(props, _excluded$2k);
6473
+ other = _objectWithoutPropertiesLoose(props, _excluded$2j);
6474
6474
 
6475
6475
  const {
6476
6476
  systemProps,
@@ -6549,7 +6549,7 @@
6549
6549
  return str;
6550
6550
  }
6551
6551
 
6552
- const _excluded$2j = ["values", "unit", "step"];
6552
+ const _excluded$2i = ["values", "unit", "step"];
6553
6553
 
6554
6554
  const sortBreakpointsValues = values => {
6555
6555
  const breakpointsAsArray = Object.keys(values).map(key => ({
@@ -6585,7 +6585,7 @@
6585
6585
  unit = 'px',
6586
6586
  step = 5
6587
6587
  } = breakpoints,
6588
- other = _objectWithoutPropertiesLoose(breakpoints, _excluded$2j);
6588
+ other = _objectWithoutPropertiesLoose(breakpoints, _excluded$2i);
6589
6589
 
6590
6590
  const sortedValues = sortBreakpointsValues(values);
6591
6591
  const keys = Object.keys(sortedValues);
@@ -6677,7 +6677,7 @@
6677
6677
  return spacing;
6678
6678
  }
6679
6679
 
6680
- const _excluded$2i = ["breakpoints", "palette", "spacing", "shape"];
6680
+ const _excluded$2h = ["breakpoints", "palette", "spacing", "shape"];
6681
6681
 
6682
6682
  function createTheme$1(options = {}, ...args) {
6683
6683
  const {
@@ -6686,7 +6686,7 @@
6686
6686
  spacing: spacingInput,
6687
6687
  shape: shapeInput = {}
6688
6688
  } = options,
6689
- other = _objectWithoutPropertiesLoose(options, _excluded$2i);
6689
+ other = _objectWithoutPropertiesLoose(options, _excluded$2h);
6690
6690
 
6691
6691
  const breakpoints = createBreakpoints(breakpointsInput);
6692
6692
  const spacing = createSpacing(spacingInput);
@@ -6808,7 +6808,7 @@
6808
6808
  return useTheme$2(defaultTheme);
6809
6809
  }
6810
6810
 
6811
- const _excluded$2h = ["className", "component"];
6811
+ const _excluded$2g = ["className", "component"];
6812
6812
  function createBox(options = {}) {
6813
6813
  const {
6814
6814
  defaultTheme,
@@ -6825,7 +6825,7 @@
6825
6825
  className,
6826
6826
  component = 'div'
6827
6827
  } = _extendSxProp,
6828
- other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$2h);
6828
+ other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$2g);
6829
6829
 
6830
6830
  return /*#__PURE__*/jsxRuntime_1(BoxRoot, _extends({
6831
6831
  as: component,
@@ -6861,7 +6861,7 @@
6861
6861
  return Box;
6862
6862
  }
6863
6863
 
6864
- const _excluded$2g = ["variant"];
6864
+ const _excluded$2f = ["variant"];
6865
6865
 
6866
6866
  function isEmpty$2(string) {
6867
6867
  return string.length === 0;
@@ -6877,7 +6877,7 @@
6877
6877
  const {
6878
6878
  variant
6879
6879
  } = props,
6880
- other = _objectWithoutPropertiesLoose(props, _excluded$2g);
6880
+ other = _objectWithoutPropertiesLoose(props, _excluded$2f);
6881
6881
 
6882
6882
  let classKey = variant || '';
6883
6883
  Object.keys(other).sort().forEach(key => {
@@ -6890,7 +6890,7 @@
6890
6890
  return classKey;
6891
6891
  }
6892
6892
 
6893
- const _excluded$2f = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"],
6893
+ const _excluded$2e = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"],
6894
6894
  _excluded2$b = ["theme"],
6895
6895
  _excluded3$1 = ["theme"];
6896
6896
 
@@ -6973,7 +6973,7 @@
6973
6973
  skipSx: inputSkipSx,
6974
6974
  overridesResolver
6975
6975
  } = inputOptions,
6976
- options = _objectWithoutPropertiesLoose(inputOptions, _excluded$2f); // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
6976
+ options = _objectWithoutPropertiesLoose(inputOptions, _excluded$2e); // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
6977
6977
 
6978
6978
 
6979
6979
  const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver : componentSlot && componentSlot !== 'Root' || false;
@@ -7156,7 +7156,7 @@
7156
7156
 
7157
7157
 
7158
7158
  function hexToRgb(color) {
7159
- color = color.substr(1);
7159
+ color = color.slice(1);
7160
7160
  const re = new RegExp(`.{1,${color.length >= 6 ? 2 : 1}}`, 'g');
7161
7161
  let colors = color.match(re);
7162
7162
 
@@ -7208,7 +7208,7 @@ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
7208
7208
  colorSpace = values.shift();
7209
7209
 
7210
7210
  if (values.length === 4 && values[3].charAt(0) === '/') {
7211
- values[3] = values[3].substr(1);
7211
+ values[3] = values[3].slice(1);
7212
7212
  }
7213
7213
 
7214
7214
  if (['srgb', 'display-p3', 'a98-rgb', 'prophoto-rgb', 'rec-2020'].indexOf(colorSpace) === -1) {
@@ -7473,7 +7473,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
7473
7473
  ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) ;
7474
7474
  }
7475
7475
 
7476
- const _excluded$2e = ["defaultProps", "mixins", "overrides", "palette", "props", "styleOverrides"],
7476
+ const _excluded$2d = ["defaultProps", "mixins", "overrides", "palette", "props", "styleOverrides"],
7477
7477
  _excluded2$a = ["type", "mode"];
7478
7478
  function adaptV4Theme(inputTheme) {
7479
7479
  {
@@ -7488,7 +7488,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
7488
7488
  props = {},
7489
7489
  styleOverrides = {}
7490
7490
  } = inputTheme,
7491
- other = _objectWithoutPropertiesLoose(inputTheme, _excluded$2e);
7491
+ other = _objectWithoutPropertiesLoose(inputTheme, _excluded$2d);
7492
7492
 
7493
7493
  const theme = _extends({}, other, {
7494
7494
  components: {}
@@ -8633,6 +8633,52 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8633
8633
  return output;
8634
8634
  }
8635
8635
 
8636
+ function useBadge(props) {
8637
+ const {
8638
+ anchorOrigin: anchorOriginProp = {
8639
+ vertical: 'top',
8640
+ horizontal: 'right'
8641
+ },
8642
+ badgeContent: badgeContentProp,
8643
+ invisible: invisibleProp = false,
8644
+ max: maxProp = 99,
8645
+ showZero = false,
8646
+ variant: variantProp = 'standard'
8647
+ } = props;
8648
+ const prevProps = usePreviousProps$1({
8649
+ anchorOrigin: anchorOriginProp,
8650
+ badgeContent: badgeContentProp,
8651
+ max: maxProp,
8652
+ variant: variantProp
8653
+ });
8654
+ let invisible = invisibleProp;
8655
+
8656
+ if (invisibleProp === false && (badgeContentProp === 0 && !showZero || badgeContentProp == null && variantProp !== 'dot')) {
8657
+ invisible = true;
8658
+ }
8659
+
8660
+ const {
8661
+ anchorOrigin = anchorOriginProp,
8662
+ badgeContent,
8663
+ max = maxProp,
8664
+ variant = variantProp
8665
+ } = invisible ? prevProps : props;
8666
+ let displayValue = '';
8667
+
8668
+ if (variant !== 'dot') {
8669
+ displayValue = badgeContent && Number(badgeContent) > max ? `${max}+` : badgeContent;
8670
+ }
8671
+
8672
+ return {
8673
+ anchorOrigin,
8674
+ badgeContent,
8675
+ invisible,
8676
+ max,
8677
+ variant,
8678
+ displayValue
8679
+ };
8680
+ }
8681
+
8636
8682
  const defaultGenerator = componentName => componentName;
8637
8683
 
8638
8684
  const createClassNameGenerator = () => {
@@ -8681,160 +8727,6 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8681
8727
  return result;
8682
8728
  }
8683
8729
 
8684
- function getBackdropUtilityClass(slot) {
8685
- return generateUtilityClass('MuiBackdrop', slot);
8686
- }
8687
- const backdropUnstyledClasses = generateUtilityClasses('MuiBackdrop', ['root', 'invisible']);
8688
- var backdropUnstyledClasses$1 = backdropUnstyledClasses;
8689
-
8690
- const _excluded$2d = ["classes", "className", "invisible", "component", "components", "componentsProps", "theme"];
8691
-
8692
- const useUtilityClasses$1O = ownerState => {
8693
- const {
8694
- classes,
8695
- invisible
8696
- } = ownerState;
8697
- const slots = {
8698
- root: ['root', invisible && 'invisible']
8699
- };
8700
- return composeClasses(slots, getBackdropUtilityClass, classes);
8701
- };
8702
-
8703
- const BackdropUnstyled = /*#__PURE__*/React__namespace.forwardRef(function BackdropUnstyled(props, ref) {
8704
- const {
8705
- classes: classesProp,
8706
- className,
8707
- invisible = false,
8708
- component = 'div',
8709
- components = {},
8710
- componentsProps = {},
8711
-
8712
- /* eslint-disable react/prop-types */
8713
- theme
8714
- } = props,
8715
- other = _objectWithoutPropertiesLoose(props, _excluded$2d);
8716
-
8717
- const ownerState = _extends({}, props, {
8718
- classes: classesProp,
8719
- invisible
8720
- });
8721
-
8722
- const classes = useUtilityClasses$1O(ownerState);
8723
- const Root = components.Root || component;
8724
- const rootProps = componentsProps.root || {};
8725
- return /*#__PURE__*/jsxRuntime_1(Root, _extends({
8726
- "aria-hidden": true
8727
- }, rootProps, !isHostComponent(Root) && {
8728
- as: component,
8729
- ownerState: _extends({}, ownerState, rootProps.ownerState),
8730
- theme
8731
- }, {
8732
- ref: ref
8733
- }, other, {
8734
- className: clsx(classes.root, rootProps.className, className)
8735
- }));
8736
- });
8737
- BackdropUnstyled.propTypes
8738
- /* remove-proptypes */
8739
- = {
8740
- // ----------------------------- Warning --------------------------------
8741
- // | These PropTypes are generated from the TypeScript type definitions |
8742
- // | To update them edit the d.ts file and run "yarn proptypes" |
8743
- // ----------------------------------------------------------------------
8744
-
8745
- /**
8746
- * The content of the component.
8747
- */
8748
- children: PropTypes.node,
8749
-
8750
- /**
8751
- * Override or extend the styles applied to the component.
8752
- */
8753
- classes: PropTypes.object,
8754
-
8755
- /**
8756
- * @ignore
8757
- */
8758
- className: PropTypes.string,
8759
-
8760
- /**
8761
- * The component used for the root node.
8762
- * Either a string to use a HTML element or a component.
8763
- */
8764
- component: PropTypes.elementType,
8765
-
8766
- /**
8767
- * The components used for each slot inside the Backdrop.
8768
- * Either a string to use a HTML element or a component.
8769
- * @default {}
8770
- */
8771
- components: PropTypes.shape({
8772
- Root: PropTypes.elementType
8773
- }),
8774
-
8775
- /**
8776
- * The props used for each slot inside the Backdrop.
8777
- * @default {}
8778
- */
8779
- componentsProps: PropTypes.shape({
8780
- root: PropTypes.object
8781
- }),
8782
-
8783
- /**
8784
- * If `true`, the backdrop is invisible.
8785
- * It can be used when rendering a popover or a custom select component.
8786
- * @default false
8787
- */
8788
- invisible: PropTypes.bool
8789
- } ;
8790
- var BackdropUnstyled$1 = BackdropUnstyled;
8791
-
8792
- function useBadge(props) {
8793
- const {
8794
- anchorOrigin: anchorOriginProp = {
8795
- vertical: 'top',
8796
- horizontal: 'right'
8797
- },
8798
- badgeContent: badgeContentProp,
8799
- invisible: invisibleProp = false,
8800
- max: maxProp = 99,
8801
- showZero = false,
8802
- variant: variantProp = 'standard'
8803
- } = props;
8804
- const prevProps = usePreviousProps$1({
8805
- anchorOrigin: anchorOriginProp,
8806
- badgeContent: badgeContentProp,
8807
- max: maxProp,
8808
- variant: variantProp
8809
- });
8810
- let invisible = invisibleProp;
8811
-
8812
- if (invisibleProp === false && (badgeContentProp === 0 && !showZero || badgeContentProp == null && variantProp !== 'dot')) {
8813
- invisible = true;
8814
- }
8815
-
8816
- const {
8817
- anchorOrigin = anchorOriginProp,
8818
- badgeContent,
8819
- max = maxProp,
8820
- variant = variantProp
8821
- } = invisible ? prevProps : props;
8822
- let displayValue = '';
8823
-
8824
- if (variant !== 'dot') {
8825
- displayValue = badgeContent && Number(badgeContent) > max ? `${max}+` : badgeContent;
8826
- }
8827
-
8828
- return {
8829
- anchorOrigin,
8830
- badgeContent,
8831
- invisible,
8832
- max,
8833
- variant,
8834
- displayValue
8835
- };
8836
- }
8837
-
8838
8730
  function getBadgeUtilityClass(slot) {
8839
8731
  return generateUtilityClass('MuiBadge', slot);
8840
8732
  }
@@ -8843,7 +8735,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8843
8735
 
8844
8736
  const _excluded$2c = ["anchorOrigin", "classes", "badgeContent", "component", "children", "className", "components", "componentsProps", "invisible", "max", "showZero", "variant"];
8845
8737
 
8846
- const useUtilityClasses$1N = ownerState => {
8738
+ const useUtilityClasses$1O = ownerState => {
8847
8739
  const {
8848
8740
  variant,
8849
8741
  anchorOrigin,
@@ -8898,7 +8790,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8898
8790
  showZero
8899
8791
  });
8900
8792
 
8901
- const classes = useUtilityClasses$1N(ownerState);
8793
+ const classes = useUtilityClasses$1O(ownerState);
8902
8794
  const Root = component || components.Root || 'span';
8903
8795
  const rootProps = appendOwnerState(Root, _extends({}, other, componentsProps.root), ownerState);
8904
8796
  const Badge = components.Badge || 'span';
@@ -9018,12 +8910,13 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9018
8910
  *
9019
8911
  * Demos:
9020
8912
  *
9021
- * - [Click Away Listener](https://mui.com/components/click-away-listener/)
9022
- * - [Menus](https://mui.com/components/menus/)
8913
+ * - [Click Away Listener](https://mui.com/base/components/click-away-listener/)
8914
+ * - [Click Away Listener](https://mui.com/material-ui/react-click-away-listener/)
8915
+ * - [Menus](https://mui.com/material-ui/react-menu/)
9023
8916
  *
9024
8917
  * API:
9025
8918
  *
9026
- * - [ClickAwayListener API](https://mui.com/api/click-away-listener/)
8919
+ * - [ClickAwayListener API](https://mui.com/base/api/click-away-listener/)
9027
8920
  */
9028
8921
  function ClickAwayListener(props) {
9029
8922
  const {
@@ -11892,7 +11785,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
11892
11785
  */
11893
11786
 
11894
11787
 
11895
- function Unstable_TrapFocus(props) {
11788
+ function TrapFocus(props) {
11896
11789
  const {
11897
11790
  children,
11898
11791
  disableAutoFocus = false,
@@ -12097,7 +11990,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
12097
11990
  });
12098
11991
  }
12099
11992
 
12100
- Unstable_TrapFocus.propTypes
11993
+ TrapFocus.propTypes
12101
11994
  /* remove-proptypes */
12102
11995
  = {
12103
11996
  // ----------------------------- Warning --------------------------------
@@ -12163,7 +12056,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
12163
12056
 
12164
12057
  {
12165
12058
  // eslint-disable-next-line
12166
- Unstable_TrapFocus['propTypes' + ''] = exactProp(Unstable_TrapFocus.propTypes);
12059
+ TrapFocus['propTypes' + ''] = exactProp(TrapFocus.propTypes);
12167
12060
  }
12168
12061
 
12169
12062
  function getModalUtilityClass(slot) {
@@ -12174,7 +12067,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
12174
12067
 
12175
12068
  const _excluded$2a = ["BackdropComponent", "BackdropProps", "children", "classes", "className", "closeAfterTransition", "component", "components", "componentsProps", "container", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onKeyDown", "open", "theme", "onTransitionEnter", "onTransitionExited"];
12176
12069
 
12177
- const useUtilityClasses$1M = ownerState => {
12070
+ const useUtilityClasses$1N = ownerState => {
12178
12071
  const {
12179
12072
  open,
12180
12073
  exited,
@@ -12321,7 +12214,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
12321
12214
  keepMounted
12322
12215
  });
12323
12216
 
12324
- const classes = useUtilityClasses$1M(ownerState);
12217
+ const classes = useUtilityClasses$1N(ownerState);
12325
12218
 
12326
12219
  if (!keepMounted && !open && (!hasTransition || exited)) {
12327
12220
  return null;
@@ -12415,9 +12308,10 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
12415
12308
  onKeyDown: handleKeyDown,
12416
12309
  className: clsx(classes.root, rootProps.className, className),
12417
12310
  children: [!hideBackdrop && BackdropComponent ? /*#__PURE__*/jsxRuntime_1(BackdropComponent, _extends({
12311
+ "aria-hidden": true,
12418
12312
  open: open,
12419
12313
  onClick: handleBackdropClick
12420
- }, BackdropProps)) : null, /*#__PURE__*/jsxRuntime_1(Unstable_TrapFocus, {
12314
+ }, BackdropProps)) : null, /*#__PURE__*/jsxRuntime_1(TrapFocus, {
12421
12315
  disableEnforceFocus: disableEnforceFocus,
12422
12316
  disableAutoFocus: disableAutoFocus,
12423
12317
  disableRestoreFocus: disableRestoreFocus,
@@ -12442,7 +12336,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
12442
12336
  BackdropComponent: PropTypes.elementType,
12443
12337
 
12444
12338
  /**
12445
- * Props applied to the [`BackdropUnstyled`](/api/backdrop-unstyled/) element.
12339
+ * Props applied to the backdrop element.
12446
12340
  */
12447
12341
  BackdropProps: PropTypes.object,
12448
12342
 
@@ -13395,7 +13289,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
13395
13289
 
13396
13290
  const Identity = x => x;
13397
13291
 
13398
- const useUtilityClasses$1L = ownerState => {
13292
+ const useUtilityClasses$1M = ownerState => {
13399
13293
  const {
13400
13294
  disabled,
13401
13295
  dragging,
@@ -13511,7 +13405,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
13511
13405
  const Input = components.Input || 'input';
13512
13406
  const inputProps = appendOwnerState(Input, componentsProps.input, ownerState);
13513
13407
  const hiddenInputProps = getHiddenInputProps();
13514
- const classes = useUtilityClasses$1L(ownerState);
13408
+ const classes = useUtilityClasses$1M(ownerState);
13515
13409
  return /*#__PURE__*/jsxRuntime_2(Root, _extends({}, rootProps, getRootProps({
13516
13410
  onMouseDown
13517
13411
  }), {
@@ -14953,7 +14847,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
14953
14847
 
14954
14848
  const _excluded$23 = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
14955
14849
 
14956
- const useUtilityClasses$1K = ownerState => {
14850
+ const useUtilityClasses$1L = ownerState => {
14957
14851
  const {
14958
14852
  color,
14959
14853
  fontSize,
@@ -15038,7 +14932,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15038
14932
  more.viewBox = viewBox;
15039
14933
  }
15040
14934
 
15041
- const classes = useUtilityClasses$1K(ownerState);
14935
+ const classes = useUtilityClasses$1L(ownerState);
15042
14936
  return /*#__PURE__*/jsxRuntime_2(SvgIconRoot, _extends({
15043
14937
  as: component,
15044
14938
  className: clsx(classes.root, className),
@@ -15078,7 +14972,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15078
14972
  className: PropTypes.string,
15079
14973
 
15080
14974
  /**
15081
- * The color of the component. It supports those theme colors that make sense for this component.
14975
+ * The color of the component.
14976
+ * It supports both default and custom theme colors, which can be added as shown in the
14977
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
15082
14978
  * You can use the `htmlColor` prop to apply a color attribute to the SVG element.
15083
14979
  * @default 'inherit'
15084
14980
  */
@@ -16173,7 +16069,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
16173
16069
 
16174
16070
  const _excluded$22 = ["addEndListener", "children", "className", "collapsedSize", "component", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "orientation", "style", "timeout", "TransitionComponent"];
16175
16071
 
16176
- const useUtilityClasses$1J = ownerState => {
16072
+ const useUtilityClasses$1K = ownerState => {
16177
16073
  const {
16178
16074
  orientation,
16179
16075
  classes
@@ -16281,7 +16177,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
16281
16177
  collapsedSize: collapsedSizeProp
16282
16178
  });
16283
16179
 
16284
- const classes = useUtilityClasses$1J(ownerState);
16180
+ const classes = useUtilityClasses$1K(ownerState);
16285
16181
  const theme = useTheme();
16286
16182
  const timer = React__namespace.useRef();
16287
16183
  const wrapperRef = React__namespace.useRef(null);
@@ -16595,7 +16491,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
16595
16491
  return (alphaValue / 100).toFixed(2);
16596
16492
  };
16597
16493
 
16598
- const useUtilityClasses$1I = ownerState => {
16494
+ const useUtilityClasses$1J = ownerState => {
16599
16495
  const {
16600
16496
  square,
16601
16497
  elevation,
@@ -16655,7 +16551,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
16655
16551
  variant
16656
16552
  });
16657
16553
 
16658
- const classes = useUtilityClasses$1I(ownerState);
16554
+ const classes = useUtilityClasses$1J(ownerState);
16659
16555
 
16660
16556
  {
16661
16557
  // eslint-disable-next-line react-hooks/rules-of-hooks
@@ -16762,7 +16658,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
16762
16658
 
16763
16659
  const _excluded$20 = ["children", "className", "defaultExpanded", "disabled", "disableGutters", "expanded", "onChange", "square", "TransitionComponent", "TransitionProps"];
16764
16660
 
16765
- const useUtilityClasses$1H = ownerState => {
16661
+ const useUtilityClasses$1I = ownerState => {
16766
16662
  const {
16767
16663
  classes,
16768
16664
  square,
@@ -16906,7 +16802,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
16906
16802
  expanded
16907
16803
  });
16908
16804
 
16909
- const classes = useUtilityClasses$1H(ownerState);
16805
+ const classes = useUtilityClasses$1I(ownerState);
16910
16806
  return /*#__PURE__*/jsxRuntime_2(AccordionRoot, _extends({
16911
16807
  className: clsx(classes.root, className),
16912
16808
  ref: ref,
@@ -17031,7 +16927,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17031
16927
 
17032
16928
  const _excluded$1$ = ["className", "disableSpacing"];
17033
16929
 
17034
- const useUtilityClasses$1G = ownerState => {
16930
+ const useUtilityClasses$1H = ownerState => {
17035
16931
  const {
17036
16932
  classes,
17037
16933
  disableSpacing
@@ -17079,7 +16975,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17079
16975
  disableSpacing
17080
16976
  });
17081
16977
 
17082
- const classes = useUtilityClasses$1G(ownerState);
16978
+ const classes = useUtilityClasses$1H(ownerState);
17083
16979
  return /*#__PURE__*/jsxRuntime_1(AccordionActionsRoot, _extends({
17084
16980
  className: clsx(classes.root, className),
17085
16981
  ref: ref,
@@ -17130,7 +17026,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17130
17026
 
17131
17027
  const _excluded$1_ = ["className"];
17132
17028
 
17133
- const useUtilityClasses$1F = ownerState => {
17029
+ const useUtilityClasses$1G = ownerState => {
17134
17030
  const {
17135
17031
  classes
17136
17032
  } = ownerState;
@@ -17161,7 +17057,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17161
17057
  other = _objectWithoutPropertiesLoose(props, _excluded$1_);
17162
17058
 
17163
17059
  const ownerState = props;
17164
- const classes = useUtilityClasses$1F(ownerState);
17060
+ const classes = useUtilityClasses$1G(ownerState);
17165
17061
  return /*#__PURE__*/jsxRuntime_1(AccordionDetailsRoot, _extends({
17166
17062
  className: clsx(classes.root, className),
17167
17063
  ref: ref,
@@ -17634,7 +17530,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17634
17530
 
17635
17531
  const _excluded$1Y = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"];
17636
17532
 
17637
- const useUtilityClasses$1E = ownerState => {
17533
+ const useUtilityClasses$1F = ownerState => {
17638
17534
  const {
17639
17535
  disabled,
17640
17536
  focusVisible,
@@ -17762,11 +17658,16 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17762
17658
  buttonRef.current.focus();
17763
17659
  }
17764
17660
  }), []);
17661
+ const [mountedState, setMountedState] = React__namespace.useState(false);
17765
17662
  React__namespace.useEffect(() => {
17766
- if (focusVisible && focusRipple && !disableRipple) {
17663
+ setMountedState(true);
17664
+ }, []);
17665
+ const enableTouchRipple = mountedState && !disableRipple && !disabled;
17666
+ React__namespace.useEffect(() => {
17667
+ if (focusVisible && focusRipple && !disableRipple && mountedState) {
17767
17668
  rippleRef.current.pulsate();
17768
17669
  }
17769
- }, [disableRipple, focusRipple, focusVisible]);
17670
+ }, [disableRipple, focusRipple, focusVisible, mountedState]);
17770
17671
 
17771
17672
  function useRippleHandler(rippleAction, eventCallback, skipRippleAction = disableTouchRipple) {
17772
17673
  return useEventCallback(event => {
@@ -17910,11 +17811,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17910
17811
 
17911
17812
  const handleOwnRef = useForkRef(focusVisibleRef, buttonRef);
17912
17813
  const handleRef = useForkRef(ref, handleOwnRef);
17913
- const [mountedState, setMountedState] = React__namespace.useState(false);
17914
- React__namespace.useEffect(() => {
17915
- setMountedState(true);
17916
- }, []);
17917
- const enableTouchRipple = mountedState && !disableRipple && !disabled;
17918
17814
 
17919
17815
  {
17920
17816
  // eslint-disable-next-line react-hooks/rules-of-hooks
@@ -17936,7 +17832,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17936
17832
  focusVisible
17937
17833
  });
17938
17834
 
17939
- const classes = useUtilityClasses$1E(ownerState);
17835
+ const classes = useUtilityClasses$1F(ownerState);
17940
17836
  return /*#__PURE__*/jsxRuntime_2(ButtonBaseRoot, _extends({
17941
17837
  as: ComponentProp,
17942
17838
  className: clsx(classes.root, className),
@@ -18172,7 +18068,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18172
18068
 
18173
18069
  const _excluded$1X = ["children", "className", "expandIcon", "focusVisibleClassName", "onClick"];
18174
18070
 
18175
- const useUtilityClasses$1D = ownerState => {
18071
+ const useUtilityClasses$1E = ownerState => {
18176
18072
  const {
18177
18073
  classes,
18178
18074
  expanded,
@@ -18293,7 +18189,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18293
18189
  disableGutters
18294
18190
  });
18295
18191
 
18296
- const classes = useUtilityClasses$1D(ownerState);
18192
+ const classes = useUtilityClasses$1E(ownerState);
18297
18193
  return /*#__PURE__*/jsxRuntime_2(AccordionSummaryRoot, _extends({
18298
18194
  focusRipple: false,
18299
18195
  disableRipple: true,
@@ -18381,7 +18277,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18381
18277
 
18382
18278
  const _excluded$1W = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"];
18383
18279
 
18384
- const useUtilityClasses$1C = ownerState => {
18280
+ const useUtilityClasses$1D = ownerState => {
18385
18281
  const {
18386
18282
  classes,
18387
18283
  disabled,
@@ -18488,7 +18384,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18488
18384
  size
18489
18385
  });
18490
18386
 
18491
- const classes = useUtilityClasses$1C(ownerState);
18387
+ const classes = useUtilityClasses$1D(ownerState);
18492
18388
  return /*#__PURE__*/jsxRuntime_1(IconButtonRoot, _extends({
18493
18389
  className: clsx(classes.root, className),
18494
18390
  centerRipple: true,
@@ -18532,7 +18428,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18532
18428
  className: PropTypes.string,
18533
18429
 
18534
18430
  /**
18535
- * The color of the component. It supports those theme colors that make sense for this component.
18431
+ * The color of the component.
18432
+ * It supports both default and custom theme colors, which can be added as shown in the
18433
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
18536
18434
  * @default 'default'
18537
18435
  */
18538
18436
  color: PropTypes
@@ -18609,7 +18507,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18609
18507
 
18610
18508
  const _excluded$1V = ["action", "children", "className", "closeText", "color", "icon", "iconMapping", "onClose", "role", "severity", "variant"];
18611
18509
 
18612
- const useUtilityClasses$1B = ownerState => {
18510
+ const useUtilityClasses$1C = ownerState => {
18613
18511
  const {
18614
18512
  variant,
18615
18513
  color,
@@ -18733,7 +18631,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18733
18631
  variant
18734
18632
  });
18735
18633
 
18736
- const classes = useUtilityClasses$1B(ownerState);
18634
+ const classes = useUtilityClasses$1C(ownerState);
18737
18635
  return /*#__PURE__*/jsxRuntime_2(AlertRoot, _extends({
18738
18636
  role: role,
18739
18637
  elevation: 0,
@@ -18805,7 +18703,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18805
18703
  closeText: PropTypes.string,
18806
18704
 
18807
18705
  /**
18808
- * The main color for the alert. Unless provided, the value is taken from the `severity` prop.
18706
+ * The color of the component. Unless provided, the value is taken from the `severity` prop.
18707
+ * It supports both default and custom theme colors, which can be added as shown in the
18708
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
18809
18709
  */
18810
18710
  color: PropTypes
18811
18711
  /* @typescript-to-proptypes-ignore */
@@ -18873,7 +18773,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18873
18773
 
18874
18774
  const _excluded$1U = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"];
18875
18775
 
18876
- const useUtilityClasses$1A = ownerState => {
18776
+ const useUtilityClasses$1B = ownerState => {
18877
18777
  const {
18878
18778
  align,
18879
18779
  gutterBottom,
@@ -18974,7 +18874,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18974
18874
  });
18975
18875
 
18976
18876
  const Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';
18977
- const classes = useUtilityClasses$1A(ownerState);
18877
+ const classes = useUtilityClasses$1B(ownerState);
18978
18878
  return /*#__PURE__*/jsxRuntime_1(TypographyRoot, _extends({
18979
18879
  as: Component,
18980
18880
  ref: ref,
@@ -19084,7 +18984,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19084
18984
 
19085
18985
  const _excluded$1T = ["className"];
19086
18986
 
19087
- const useUtilityClasses$1z = ownerState => {
18987
+ const useUtilityClasses$1A = ownerState => {
19088
18988
  const {
19089
18989
  classes
19090
18990
  } = ownerState;
@@ -19118,7 +19018,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19118
19018
  other = _objectWithoutPropertiesLoose(props, _excluded$1T);
19119
19019
 
19120
19020
  const ownerState = props;
19121
- const classes = useUtilityClasses$1z(ownerState);
19021
+ const classes = useUtilityClasses$1A(ownerState);
19122
19022
  return /*#__PURE__*/jsxRuntime_1(AlertTitleRoot, _extends({
19123
19023
  gutterBottom: true,
19124
19024
  component: "div",
@@ -19165,7 +19065,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19165
19065
 
19166
19066
  const _excluded$1S = ["className", "color", "enableColorOnDark", "position"];
19167
19067
 
19168
- const useUtilityClasses$1y = ownerState => {
19068
+ const useUtilityClasses$1z = ownerState => {
19169
19069
  const {
19170
19070
  color,
19171
19071
  position,
@@ -19263,7 +19163,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19263
19163
  enableColorOnDark
19264
19164
  });
19265
19165
 
19266
- const classes = useUtilityClasses$1y(ownerState);
19166
+ const classes = useUtilityClasses$1z(ownerState);
19267
19167
  return /*#__PURE__*/jsxRuntime_1(AppBarRoot, _extends({
19268
19168
  square: true,
19269
19169
  component: "header",
@@ -19297,7 +19197,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19297
19197
  className: PropTypes.string,
19298
19198
 
19299
19199
  /**
19300
- * The color of the component. It supports those theme colors that make sense for this component.
19200
+ * The color of the component.
19201
+ * It supports both default and custom theme colors, which can be added as shown in the
19202
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
19301
19203
  * @default 'primary'
19302
19204
  */
19303
19205
  color: PropTypes
@@ -19474,7 +19376,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19474
19376
 
19475
19377
  const _excluded$1R = ["className", "color", "component", "disableGutters", "disableSticky", "inset"];
19476
19378
 
19477
- const useUtilityClasses$1x = ownerState => {
19379
+ const useUtilityClasses$1y = ownerState => {
19478
19380
  const {
19479
19381
  classes,
19480
19382
  color,
@@ -19547,7 +19449,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19547
19449
  inset
19548
19450
  });
19549
19451
 
19550
- const classes = useUtilityClasses$1x(ownerState);
19452
+ const classes = useUtilityClasses$1y(ownerState);
19551
19453
  return /*#__PURE__*/jsxRuntime_1(ListSubheaderRoot, _extends({
19552
19454
  as: component,
19553
19455
  className: clsx(classes.root, className),
@@ -19627,7 +19529,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19627
19529
 
19628
19530
  const _excluded$1Q = ["avatar", "className", "clickable", "color", "component", "deleteIcon", "disabled", "icon", "label", "onClick", "onDelete", "onKeyDown", "onKeyUp", "size", "variant"];
19629
19531
 
19630
- const useUtilityClasses$1w = ownerState => {
19532
+ const useUtilityClasses$1x = ownerState => {
19631
19533
  const {
19632
19534
  classes,
19633
19535
  disabled,
@@ -19961,7 +19863,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19961
19863
  variant
19962
19864
  });
19963
19865
 
19964
- const classes = useUtilityClasses$1w(ownerState);
19866
+ const classes = useUtilityClasses$1x(ownerState);
19965
19867
  const moreProps = component === ButtonBase$1 ? _extends({
19966
19868
  component: ComponentProp || 'div',
19967
19869
  focusVisibleClassName: classes.focusVisible
@@ -20060,7 +19962,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20060
19962
  clickable: PropTypes.bool,
20061
19963
 
20062
19964
  /**
20063
- * The color of the component. It supports those theme colors that make sense for this component.
19965
+ * The color of the component.
19966
+ * It supports both default and custom theme colors, which can be added as shown in the
19967
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
20064
19968
  * @default 'default'
20065
19969
  */
20066
19970
  color: PropTypes
@@ -20243,7 +20147,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20243
20147
  return [styles.input, ownerState.size === 'small' && styles.inputSizeSmall, ownerState.multiline && styles.inputMultiline, ownerState.type === 'search' && styles.inputTypeSearch, ownerState.startAdornment && styles.inputAdornedStart, ownerState.endAdornment && styles.inputAdornedEnd, ownerState.hiddenLabel && styles.inputHiddenLabel];
20244
20148
  };
20245
20149
 
20246
- const useUtilityClasses$1v = ownerState => {
20150
+ const useUtilityClasses$1w = ownerState => {
20247
20151
  const {
20248
20152
  classes,
20249
20153
  color,
@@ -20655,7 +20559,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20655
20559
  type
20656
20560
  });
20657
20561
 
20658
- const classes = useUtilityClasses$1v(ownerState);
20562
+ const classes = useUtilityClasses$1w(ownerState);
20659
20563
  const Root = components.Root || InputBaseRoot;
20660
20564
  const rootProps = componentsProps.root || {};
20661
20565
  const Input = components.Input || InputBaseComponent;
@@ -20741,7 +20645,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20741
20645
  className: PropTypes.string,
20742
20646
 
20743
20647
  /**
20744
- * The color of the component. It supports those theme colors that make sense for this component.
20648
+ * The color of the component.
20649
+ * It supports both default and custom theme colors, which can be added as shown in the
20650
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
20745
20651
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
20746
20652
  */
20747
20653
  color: PropTypes
@@ -20983,7 +20889,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20983
20889
 
20984
20890
  const _excluded$1O = ["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"];
20985
20891
 
20986
- const useUtilityClasses$1u = ownerState => {
20892
+ const useUtilityClasses$1v = ownerState => {
20987
20893
  const {
20988
20894
  classes,
20989
20895
  disablePortal,
@@ -21406,7 +21312,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
21406
21312
  size
21407
21313
  });
21408
21314
 
21409
- const classes = useUtilityClasses$1u(ownerState);
21315
+ const classes = useUtilityClasses$1v(ownerState);
21410
21316
  let startAdornment;
21411
21317
 
21412
21318
  if (multiple && value.length > 0) {
@@ -21716,7 +21622,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
21716
21622
  disablePortal: PropTypes.bool,
21717
21623
 
21718
21624
  /**
21719
- * A filter function that determines the options that are eligible.
21625
+ * A function that determines the filtered options to be rendered on search.
21720
21626
  *
21721
21627
  * @param {T[]} options The options to render.
21722
21628
  * @param {object} state The state of the component.
@@ -22042,7 +21948,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22042
21948
 
22043
21949
  const _excluded$1N = ["alt", "children", "className", "component", "imgProps", "sizes", "src", "srcSet", "variant"];
22044
21950
 
22045
- const useUtilityClasses$1t = ownerState => {
21951
+ const useUtilityClasses$1u = ownerState => {
22046
21952
  const {
22047
21953
  classes,
22048
21954
  variant,
@@ -22195,7 +22101,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22195
22101
  variant
22196
22102
  });
22197
22103
 
22198
- const classes = useUtilityClasses$1t(ownerState);
22104
+ const classes = useUtilityClasses$1u(ownerState);
22199
22105
 
22200
22106
  if (hasImgNotFailing) {
22201
22107
  children = /*#__PURE__*/jsxRuntime_1(AvatarImg, _extends({
@@ -22310,7 +22216,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22310
22216
  medium: null
22311
22217
  };
22312
22218
 
22313
- const useUtilityClasses$1s = ownerState => {
22219
+ const useUtilityClasses$1t = ownerState => {
22314
22220
  const {
22315
22221
  classes
22316
22222
  } = ownerState;
@@ -22382,7 +22288,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22382
22288
  variant
22383
22289
  });
22384
22290
 
22385
- const classes = useUtilityClasses$1s(ownerState);
22291
+ const classes = useUtilityClasses$1t(ownerState);
22386
22292
  const children = React__namespace.Children.toArray(childrenProp).filter(child => {
22387
22293
  {
22388
22294
  if (reactIs_2(child)) {
@@ -22714,14 +22620,23 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22714
22620
  } ;
22715
22621
  var Fade$1 = Fade;
22716
22622
 
22717
- const _excluded$1K = ["children", "components", "componentsProps", "className", "invisible", "open", "transitionDuration", "TransitionComponent"];
22718
- const backdropClasses = backdropUnstyledClasses$1;
22623
+ function getBackdropUtilityClass(slot) {
22624
+ return generateUtilityClass('MuiBackdrop', slot);
22625
+ }
22626
+ const backdropClasses = generateUtilityClasses('MuiBackdrop', ['root', 'invisible']);
22627
+ var backdropClasses$1 = backdropClasses;
22628
+
22629
+ const _excluded$1K = ["children", "component", "components", "componentsProps", "className", "invisible", "open", "transitionDuration", "TransitionComponent"];
22719
22630
 
22720
- const extendUtilityClasses$3 = ownerState => {
22631
+ const useUtilityClasses$1s = ownerState => {
22721
22632
  const {
22722
- classes
22633
+ classes,
22634
+ invisible
22723
22635
  } = ownerState;
22724
- return classes;
22636
+ const slots = {
22637
+ root: ['root', invisible && 'invisible']
22638
+ };
22639
+ return composeClasses(slots, getBackdropUtilityClass, classes);
22725
22640
  };
22726
22641
 
22727
22642
  const BackdropRoot = styled$1('div', {
@@ -22750,7 +22665,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22750
22665
  backgroundColor: 'transparent'
22751
22666
  }));
22752
22667
  const Backdrop = /*#__PURE__*/React__namespace.forwardRef(function Backdrop(inProps, ref) {
22753
- var _componentsProps$root;
22668
+ var _components$Root, _componentsProps$root;
22754
22669
 
22755
22670
  const props = useThemeProps({
22756
22671
  props: inProps,
@@ -22759,6 +22674,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22759
22674
 
22760
22675
  const {
22761
22676
  children,
22677
+ component = 'div',
22762
22678
  components = {},
22763
22679
  componentsProps = {},
22764
22680
  className,
@@ -22771,25 +22687,20 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22771
22687
  other = _objectWithoutPropertiesLoose(props, _excluded$1K);
22772
22688
 
22773
22689
  const ownerState = _extends({}, props, {
22690
+ component,
22774
22691
  invisible
22775
22692
  });
22776
22693
 
22777
- const classes = extendUtilityClasses$3(ownerState);
22694
+ const classes = useUtilityClasses$1s(ownerState);
22778
22695
  return /*#__PURE__*/jsxRuntime_1(TransitionComponent, _extends({
22779
22696
  in: open,
22780
22697
  timeout: transitionDuration
22781
22698
  }, other, {
22782
- children: /*#__PURE__*/jsxRuntime_1(BackdropUnstyled$1, {
22783
- className: className,
22784
- invisible: invisible,
22785
- components: _extends({
22786
- Root: BackdropRoot
22787
- }, components),
22788
- componentsProps: {
22789
- root: _extends({}, componentsProps.root, (!components.Root || !isHostComponent(components.Root)) && {
22790
- ownerState: _extends({}, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.ownerState)
22791
- })
22792
- },
22699
+ children: /*#__PURE__*/jsxRuntime_1(BackdropRoot, {
22700
+ "aria-hidden": true,
22701
+ as: (_components$Root = components.Root) != null ? _components$Root : component,
22702
+ className: clsx(classes.root, className),
22703
+ ownerState: _extends({}, ownerState, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.ownerState),
22793
22704
  classes: classes,
22794
22705
  ref: ref,
22795
22706
  children: children
@@ -22819,6 +22730,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22819
22730
  */
22820
22731
  className: PropTypes.string,
22821
22732
 
22733
+ /**
22734
+ * The component used for the root node.
22735
+ * Either a string to use a HTML element or a component.
22736
+ */
22737
+ component: PropTypes.elementType,
22738
+
22822
22739
  /**
22823
22740
  * The components used for each slot inside the Backdrop.
22824
22741
  * Either a string to use a HTML element or a component.
@@ -23129,7 +23046,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23129
23046
  classes: PropTypes.object,
23130
23047
 
23131
23048
  /**
23132
- * The color of the component. It supports those theme colors that make sense for this component.
23049
+ * The color of the component.
23050
+ * It supports both default and custom theme colors, which can be added as shown in the
23051
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
23133
23052
  * @default 'default'
23134
23053
  */
23135
23054
  color: PropTypes
@@ -24125,7 +24044,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24125
24044
  className: PropTypes.string,
24126
24045
 
24127
24046
  /**
24128
- * The color of the component. It supports those theme colors that make sense for this component.
24047
+ * The color of the component.
24048
+ * It supports both default and custom theme colors, which can be added as shown in the
24049
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
24129
24050
  * @default 'primary'
24130
24051
  */
24131
24052
  color: PropTypes
@@ -24421,7 +24342,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24421
24342
  className: PropTypes.string,
24422
24343
 
24423
24344
  /**
24424
- * The color of the component. It supports those theme colors that make sense for this component.
24345
+ * The color of the component.
24346
+ * It supports both default and custom theme colors, which can be added as shown in the
24347
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
24425
24348
  * @default 'primary'
24426
24349
  */
24427
24350
  color: PropTypes
@@ -25699,7 +25622,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25699
25622
  classes: PropTypes.object,
25700
25623
 
25701
25624
  /**
25702
- * The color of the component. It supports those theme colors that make sense for this component.
25625
+ * The color of the component.
25626
+ * It supports both default and custom theme colors, which can be added as shown in the
25627
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
25703
25628
  * @default 'primary'
25704
25629
  */
25705
25630
  color: PropTypes
@@ -25998,7 +25923,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25998
25923
  className: PropTypes.string,
25999
25924
 
26000
25925
  /**
26001
- * The color of the component. It supports those theme colors that make sense for this component.
25926
+ * The color of the component.
25927
+ * It supports both default and custom theme colors, which can be added as shown in the
25928
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
26002
25929
  * @default 'primary'
26003
25930
  */
26004
25931
  color: PropTypes
@@ -28514,7 +28441,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28514
28441
  className: PropTypes.string,
28515
28442
 
28516
28443
  /**
28517
- * The color of the component. It supports those theme colors that make sense for this component.
28444
+ * The color of the component.
28445
+ * It supports both default and custom theme colors, which can be added as shown in the
28446
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
28518
28447
  * @default 'default'
28519
28448
  */
28520
28449
  color: PropTypes.oneOf(['default', 'error', 'info', 'inherit', 'primary', 'secondary', 'success', 'warning']),
@@ -28803,7 +28732,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28803
28732
  classes: PropTypes.object,
28804
28733
 
28805
28734
  /**
28806
- * The color of the component. It supports those theme colors that make sense for this component.
28735
+ * The color of the component.
28736
+ * It supports both default and custom theme colors, which can be added as shown in the
28737
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
28807
28738
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
28808
28739
  */
28809
28740
  color: PropTypes
@@ -29216,7 +29147,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29216
29147
  className: PropTypes.string,
29217
29148
 
29218
29149
  /**
29219
- * The color of the component. It supports those theme colors that make sense for this component.
29150
+ * The color of the component.
29151
+ * It supports both default and custom theme colors, which can be added as shown in the
29152
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
29220
29153
  * @default 'primary'
29221
29154
  */
29222
29155
  color: PropTypes
@@ -29377,7 +29310,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29377
29310
  control,
29378
29311
  disabled: disabledProp,
29379
29312
  disableTypography,
29380
- label,
29313
+ label: labelProp,
29381
29314
  labelPlacement = 'end'
29382
29315
  } = props,
29383
29316
  other = _objectWithoutPropertiesLoose(props, _excluded$1h);
@@ -29409,23 +29342,28 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29409
29342
 
29410
29343
  const ownerState = _extends({}, props, {
29411
29344
  disabled,
29412
- label,
29413
29345
  labelPlacement,
29414
29346
  error: fcs.error
29415
29347
  });
29416
29348
 
29417
29349
  const classes = useUtilityClasses$12(ownerState);
29350
+ let label = labelProp;
29351
+
29352
+ if (label != null && label.type !== Typography$1 && !disableTypography) {
29353
+ label = /*#__PURE__*/jsxRuntime_1(Typography$1, _extends({
29354
+ component: "span",
29355
+ className: classes.label
29356
+ }, componentsProps.typography, {
29357
+ children: label
29358
+ }));
29359
+ }
29360
+
29418
29361
  return /*#__PURE__*/jsxRuntime_2(FormControlLabelRoot, _extends({
29419
29362
  className: clsx(classes.root, className),
29420
29363
  ownerState: ownerState,
29421
29364
  ref: ref
29422
29365
  }, other, {
29423
- children: [/*#__PURE__*/React__namespace.cloneElement(control, controlProps), label.type === Typography$1 || disableTypography ? label : /*#__PURE__*/jsxRuntime_1(Typography$1, _extends({
29424
- component: "span",
29425
- className: classes.label
29426
- }, componentsProps.typography, {
29427
- children: label
29428
- }))]
29366
+ children: [/*#__PURE__*/React__namespace.cloneElement(control, controlProps), label]
29429
29367
  }));
29430
29368
  });
29431
29369
  FormControlLabel.propTypes
@@ -29482,7 +29420,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29482
29420
  /**
29483
29421
  * A text or an element to be used in an enclosing label element.
29484
29422
  */
29485
- label: PropTypes.oneOfType([PropTypes.element, PropTypes.number, PropTypes.string]).isRequired,
29423
+ label: PropTypes.node,
29486
29424
 
29487
29425
  /**
29488
29426
  * The position of the label.
@@ -29937,7 +29875,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29937
29875
  className: PropTypes.string,
29938
29876
 
29939
29877
  /**
29940
- * The color of the component. It supports those theme colors that make sense for this component.
29878
+ * The color of the component.
29879
+ * It supports both default and custom theme colors, which can be added as shown in the
29880
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
29941
29881
  */
29942
29882
  color: PropTypes
29943
29883
  /* @typescript-to-proptypes-ignore */
@@ -30514,6 +30454,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30514
30454
  transform: 'none'
30515
30455
  }
30516
30456
  };
30457
+ /**
30458
+ * Conditionally apply a workaround for the CSS transition bug in Safari 15.4.
30459
+ * Remove this workaround once the Safari bug is fixed.
30460
+ */
30461
+
30462
+ const isSafari154 = typeof navigator !== 'undefined' && /^((?!chrome|android).)*safari/i.test(navigator.userAgent) && /version\/15\.[4-9]/i.test(navigator.userAgent);
30517
30463
  /**
30518
30464
  * The Grow transition is used by the [Tooltip](/components/tooltips/) and
30519
30465
  * [Popover](/components/popover/) components.
@@ -30587,7 +30533,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30587
30533
  duration,
30588
30534
  delay
30589
30535
  }), theme.transitions.create('transform', {
30590
- duration: duration * 0.666,
30536
+ duration: isSafari154 ? duration : duration * 0.666,
30591
30537
  delay,
30592
30538
  easing: transitionTimingFunction
30593
30539
  })].join(',');
@@ -30623,11 +30569,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30623
30569
  duration,
30624
30570
  delay
30625
30571
  }), theme.transitions.create('transform', {
30626
- duration: duration * 0.666,
30627
- delay: delay || duration * 0.333,
30572
+ duration: isSafari154 ? duration : duration * 0.666,
30573
+ delay: isSafari154 ? delay : delay || duration * 0.333,
30628
30574
  easing: transitionTimingFunction
30629
30575
  })].join(',');
30630
- node.style.opacity = '0';
30576
+ node.style.opacity = 0;
30631
30577
  node.style.transform = getScale(0.75);
30632
30578
 
30633
30579
  if (onExit) {
@@ -31621,7 +31567,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
31621
31567
  className: PropTypes.string,
31622
31568
 
31623
31569
  /**
31624
- * The color of the component. It supports those theme colors that make sense for this component.
31570
+ * The color of the component.
31571
+ * It supports both default and custom theme colors, which can be added as shown in the
31572
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
31625
31573
  * @default 'inherit'
31626
31574
  */
31627
31575
  color: PropTypes
@@ -32408,7 +32356,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32408
32356
  classes: PropTypes.object,
32409
32357
 
32410
32358
  /**
32411
- * The color of the component. It supports those theme colors that make sense for this component.
32359
+ * The color of the component.
32360
+ * It supports both default and custom theme colors, which can be added as shown in the
32361
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
32412
32362
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
32413
32363
  */
32414
32364
  color: PropTypes
@@ -32918,7 +32868,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32918
32868
  classes: PropTypes.object,
32919
32869
 
32920
32870
  /**
32921
- * The color of the component. It supports those theme colors that make sense for this component.
32871
+ * The color of the component.
32872
+ * It supports both default and custom theme colors, which can be added as shown in the
32873
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
32922
32874
  */
32923
32875
  color: PropTypes
32924
32876
  /* @typescript-to-proptypes-ignore */
@@ -33303,7 +33255,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33303
33255
  className: PropTypes.string,
33304
33256
 
33305
33257
  /**
33306
- * The color of the component. It supports those theme colors that make sense for this component.
33258
+ * The color of the component.
33259
+ * It supports both default and custom theme colors, which can be added as shown in the
33260
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
33307
33261
  * @default 'primary'
33308
33262
  */
33309
33263
  color: PropTypes
@@ -37045,7 +36999,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
37045
36999
  classes: PropTypes.object,
37046
37000
 
37047
37001
  /**
37048
- * The color of the component. It supports those theme colors that make sense for this component.
37002
+ * The color of the component.
37003
+ * It supports both default and custom theme colors, which can be added as shown in the
37004
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
37049
37005
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
37050
37006
  */
37051
37007
  color: PropTypes
@@ -37625,6 +37581,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
37625
37581
 
37626
37582
  /**
37627
37583
  * The active color.
37584
+ * It supports both default and custom theme colors, which can be added as shown in the
37585
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
37628
37586
  * @default 'standard'
37629
37587
  */
37630
37588
  color: PropTypes
@@ -37849,6 +37807,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
37849
37807
 
37850
37808
  /**
37851
37809
  * The active color.
37810
+ * It supports both default and custom theme colors, which can be added as shown in the
37811
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
37852
37812
  * @default 'standard'
37853
37813
  */
37854
37814
  color: PropTypes
@@ -38210,7 +38170,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
38210
38170
  classes: PropTypes.object,
38211
38171
 
38212
38172
  /**
38213
- * The color of the component. It supports those theme colors that make sense for this component.
38173
+ * The color of the component.
38174
+ * It supports both default and custom theme colors, which can be added as shown in the
38175
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
38214
38176
  * @default 'primary'
38215
38177
  */
38216
38178
  color: PropTypes
@@ -40934,7 +40896,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40934
40896
  classes: PropTypes.object,
40935
40897
 
40936
40898
  /**
40937
- * The color of the component. It supports those theme colors that make sense for this component.
40899
+ * The color of the component.
40900
+ * It supports both default and custom theme colors, which can be added as shown in the
40901
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
40938
40902
  * @default 'primary'
40939
40903
  */
40940
40904
  color: PropTypes
@@ -46026,7 +45990,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
46026
45990
  className: PropTypes.string,
46027
45991
 
46028
45992
  /**
46029
- * The color of the component. It supports those theme colors that make sense for this component.
45993
+ * The color of the component.
45994
+ * It supports both default and custom theme colors, which can be added as shown in the
45995
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
46030
45996
  * @default 'primary'
46031
45997
  */
46032
45998
  color: PropTypes
@@ -49446,7 +49412,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
49446
49412
  className: PropTypes.string,
49447
49413
 
49448
49414
  /**
49449
- * The color of the component. It supports those theme colors that make sense for this component.
49415
+ * The color of the component.
49416
+ * It supports both default and custom theme colors, which can be added as shown in the
49417
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
49450
49418
  * @default 'primary'
49451
49419
  */
49452
49420
  color: PropTypes
@@ -49786,6 +49754,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
49786
49754
 
49787
49755
  /**
49788
49756
  * The color of the button when it is in an active state.
49757
+ * It supports both default and custom theme colors, which can be added as shown in the
49758
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
49789
49759
  * @default 'standard'
49790
49760
  */
49791
49761
  color: PropTypes
@@ -50062,7 +50032,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
50062
50032
  className: PropTypes.string,
50063
50033
 
50064
50034
  /**
50065
- * The color of a button when it is selected.
50035
+ * The color of the button when it is selected.
50036
+ * It supports both default and custom theme colors, which can be added as shown in the
50037
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
50066
50038
  * @default 'standard'
50067
50039
  */
50068
50040
  color: PropTypes
@@ -50330,7 +50302,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
50330
50302
  exports.autocompleteClasses = autocompleteClasses$1;
50331
50303
  exports.avatarClasses = avatarClasses$1;
50332
50304
  exports.avatarGroupClasses = avatarGroupClasses$1;
50333
- exports.backdropClasses = backdropClasses;
50305
+ exports.backdropClasses = backdropClasses$1;
50334
50306
  exports.badgeClasses = badgeClasses;
50335
50307
  exports.bottomNavigationActionClasses = bottomNavigationActionClasses$1;
50336
50308
  exports.bottomNavigationClasses = bottomNavigationClasses$1;
@@ -50394,6 +50366,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
50394
50366
  exports.getAutocompleteUtilityClass = getAutocompleteUtilityClass;
50395
50367
  exports.getAvatarGroupUtilityClass = getAvatarGroupUtilityClass;
50396
50368
  exports.getAvatarUtilityClass = getAvatarUtilityClass;
50369
+ exports.getBackdropUtilityClass = getBackdropUtilityClass;
50397
50370
  exports.getBottomNavigationActionUtilityClass = getBottomNavigationActionUtilityClass;
50398
50371
  exports.getBottomNavigationUtilityClass = getBottomNavigationUtilityClass;
50399
50372
  exports.getBreadcrumbsUtilityClass = getBreadcrumbsUtilityClass;