@mui/material 5.6.1 → 5.6.2

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 (207) 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/alertClasses.d.ts +44 -44
  6. package/AlertTitle/alertTitleClasses.d.ts +8 -8
  7. package/AppBar/AppBar.d.ts +1 -1
  8. package/AppBar/appBarClasses.d.ts +28 -28
  9. package/Autocomplete/Autocomplete.js +2 -0
  10. package/Autocomplete/autocompleteClasses.d.ts +54 -54
  11. package/Avatar/avatarClasses.d.ts +20 -20
  12. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  13. package/Backdrop/backdropClasses.d.ts +10 -10
  14. package/Badge/Badge.js +7 -5
  15. package/Badge/badgeClasses.d.ts +24 -24
  16. package/BottomNavigation/BottomNavigation.d.ts +1 -1
  17. package/BottomNavigation/BottomNavigation.js +0 -0
  18. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  19. package/BottomNavigationAction/BottomNavigationAction.d.ts +1 -1
  20. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  21. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  22. package/Button/Button.d.ts +1 -1
  23. package/Button/buttonClasses.d.ts +76 -76
  24. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  25. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  26. package/ButtonGroup/ButtonGroup.d.ts +1 -1
  27. package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
  28. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  29. package/CHANGELOG.md +61 -2
  30. package/Card/cardClasses.d.ts +8 -8
  31. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  32. package/CardActions/cardActionsClasses.d.ts +10 -10
  33. package/CardContent/cardContentClasses.d.ts +8 -8
  34. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  35. package/CardMedia/cardMediaClasses.d.ts +12 -12
  36. package/Checkbox/Checkbox.d.ts +1 -1
  37. package/Checkbox/checkboxClasses.d.ts +18 -18
  38. package/Chip/chipClasses.d.ts +80 -80
  39. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  40. package/ClickAwayListener/index.d.ts +2 -2
  41. package/Collapse/collapseClasses.d.ts +18 -18
  42. package/Container/containerClasses.d.ts +22 -22
  43. package/CssBaseline/CssBaseline.d.ts +1 -1
  44. package/Dialog/Dialog.d.ts +1 -0
  45. package/Dialog/Dialog.js +1 -0
  46. package/Dialog/DialogContext.d.ts +6 -6
  47. package/Dialog/dialogClasses.d.ts +36 -36
  48. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  49. package/DialogContent/dialogContentClasses.d.ts +10 -10
  50. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  51. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  52. package/Divider/dividerClasses.d.ts +34 -34
  53. package/Drawer/drawerClasses.d.ts +30 -30
  54. package/Fab/Fab.d.ts +1 -1
  55. package/Fab/fabClasses.d.ts +26 -26
  56. package/FilledInput/FilledInput.d.ts +1 -1
  57. package/FilledInput/FilledInput.js +3 -1
  58. package/FilledInput/filledInputClasses.d.ts +40 -40
  59. package/FormControl/FormControl.d.ts +2 -2
  60. package/FormControl/formControlClasses.d.ts +14 -14
  61. package/FormControlLabel/FormControlLabel.d.ts +1 -1
  62. package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
  63. package/FormGroup/formGroupClasses.d.ts +12 -12
  64. package/FormHelperText/FormHelperText.d.ts +1 -1
  65. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  66. package/FormLabel/FormLabel.d.ts +1 -1
  67. package/FormLabel/formLabelClasses.d.ts +22 -22
  68. package/GlobalStyles/GlobalStyles.d.ts +1 -1
  69. package/Grid/gridClasses.d.ts +48 -48
  70. package/Icon/Icon.d.ts +1 -1
  71. package/Icon/iconClasses.d.ts +24 -24
  72. package/IconButton/iconButtonClasses.d.ts +26 -26
  73. package/ImageList/ImageList.d.ts +1 -1
  74. package/ImageList/imageListClasses.d.ts +16 -16
  75. package/ImageListItem/ImageListItem.d.ts +1 -1
  76. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  77. package/ImageListItemBar/ImageListItemBar.d.ts +1 -1
  78. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  79. package/Input/Input.d.ts +1 -1
  80. package/Input/Input.js +3 -1
  81. package/Input/inputClasses.d.ts +34 -34
  82. package/InputAdornment/InputAdornment.d.ts +1 -1
  83. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  84. package/InputBase/InputBase.d.ts +1 -1
  85. package/InputBase/inputBaseClasses.d.ts +44 -44
  86. package/InputLabel/InputLabel.d.ts +1 -1
  87. package/InputLabel/inputLabelClasses.d.ts +32 -32
  88. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  89. package/Link/linkClasses.d.ts +18 -18
  90. package/List/List.d.ts +1 -1
  91. package/List/listClasses.d.ts +14 -14
  92. package/ListItem/ListItem.d.ts +1 -1
  93. package/ListItem/listItemClasses.d.ts +30 -30
  94. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  95. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  96. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  97. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  98. package/ListItemText/listItemTextClasses.d.ts +18 -18
  99. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  100. package/Menu/Menu.d.ts +1 -1
  101. package/Menu/menuClasses.d.ts +12 -12
  102. package/MenuItem/menuItemClasses.d.ts +20 -20
  103. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  104. package/Modal/Modal.js +1 -0
  105. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  106. package/OutlinedInput/OutlinedInput.d.ts +1 -1
  107. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  108. package/Pagination/paginationClasses.d.ts +14 -14
  109. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  110. package/Paper/paperClasses.d.ts +39 -39
  111. package/Popover/popoverClasses.d.ts +10 -10
  112. package/Popper/Popper.d.ts +29 -29
  113. package/README.md +0 -1
  114. package/Radio/Radio.d.ts +1 -1
  115. package/Radio/radioClasses.d.ts +16 -16
  116. package/RadioGroup/RadioGroup.d.ts +1 -1
  117. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  118. package/RadioGroup/useRadioGroup.d.ts +4 -4
  119. package/Rating/ratingClasses.d.ts +40 -40
  120. package/ScopedCssBaseline/ScopedCssBaseline.d.ts +1 -1
  121. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  122. package/Select/selectClasses.d.ts +30 -30
  123. package/Skeleton/skeletonClasses.d.ts +24 -24
  124. package/Snackbar/snackbarClasses.d.ts +20 -20
  125. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  126. package/SpeedDial/SpeedDial.d.ts +1 -1
  127. package/SpeedDial/speedDialClasses.d.ts +22 -22
  128. package/SpeedDialAction/SpeedDialAction.d.ts +1 -1
  129. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  130. package/SpeedDialIcon/SpeedDialIcon.d.ts +1 -1
  131. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  132. package/Step/StepContext.d.ts +20 -20
  133. package/Step/stepClasses.d.ts +16 -16
  134. package/StepButton/stepButtonClasses.d.ts +14 -14
  135. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  136. package/StepContent/stepContentClasses.d.ts +12 -12
  137. package/StepIcon/stepIconClasses.d.ts +16 -16
  138. package/StepLabel/stepLabelClasses.d.ts +28 -28
  139. package/Stepper/stepperClasses.d.ts +14 -14
  140. package/SvgIcon/SvgIcon.d.ts +1 -1
  141. package/SvgIcon/svgIconClasses.d.ts +24 -24
  142. package/Switch/Switch.d.ts +1 -1
  143. package/Switch/switchClasses.d.ts +32 -32
  144. package/Tab/tabClasses.d.ts +26 -26
  145. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  146. package/Table/tableClasses.d.ts +10 -10
  147. package/TableBody/tableBodyClasses.d.ts +8 -8
  148. package/TableCell/tableCellClasses.d.ts +32 -32
  149. package/TableContainer/tableContainerClasses.d.ts +8 -8
  150. package/TableFooter/tableFooterClasses.d.ts +8 -8
  151. package/TableHead/tableHeadClasses.d.ts +8 -8
  152. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  153. package/TableRow/tableRowClasses.d.ts +16 -16
  154. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  155. package/Tabs/tabsClasses.d.ts +32 -32
  156. package/TextField/TextField.d.ts +1 -1
  157. package/TextField/textFieldClasses.d.ts +8 -8
  158. package/ToggleButton/ToggleButton.d.ts +1 -1
  159. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  160. package/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  161. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  162. package/Toolbar/Toolbar.d.ts +1 -1
  163. package/Toolbar/toolbarClasses.d.ts +14 -14
  164. package/Tooltip/tooltipClasses.d.ts +30 -30
  165. package/Typography/typographyClasses.d.ts +50 -50
  166. package/className/index.d.ts +8 -8
  167. package/darkScrollbar/index.d.ts +28 -28
  168. package/index.js +1 -1
  169. package/internal/switchBaseClasses.d.ts +12 -12
  170. package/legacy/Autocomplete/Autocomplete.js +2 -0
  171. package/legacy/Badge/Badge.js +7 -5
  172. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  173. package/legacy/Dialog/Dialog.js +1 -0
  174. package/legacy/FilledInput/FilledInput.js +3 -1
  175. package/legacy/Input/Input.js +3 -1
  176. package/legacy/Modal/Modal.js +1 -0
  177. package/legacy/index.js +1 -1
  178. package/locale/index.d.ts +71 -71
  179. package/modern/Autocomplete/Autocomplete.js +2 -0
  180. package/modern/Badge/Badge.js +7 -5
  181. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  182. package/modern/Dialog/Dialog.js +1 -0
  183. package/modern/FilledInput/FilledInput.js +3 -1
  184. package/modern/Input/Input.js +3 -1
  185. package/modern/Modal/Modal.js +1 -0
  186. package/modern/index.js +1 -1
  187. package/node/Autocomplete/Autocomplete.js +2 -0
  188. package/node/Badge/Badge.js +8 -5
  189. package/node/BottomNavigation/BottomNavigation.js +0 -0
  190. package/node/Dialog/Dialog.js +1 -0
  191. package/node/FilledInput/FilledInput.js +3 -1
  192. package/node/Input/Input.js +3 -1
  193. package/node/Modal/Modal.js +1 -0
  194. package/node/index.js +1 -1
  195. package/package.json +4 -4
  196. package/transitions/index.d.ts +1 -1
  197. package/transitions/transition.d.ts +13 -13
  198. package/transitions/utils.d.ts +23 -23
  199. package/umd/material-ui.development.js +76 -57
  200. package/umd/material-ui.production.min.js +4 -4
  201. package/useMediaQuery/useMediaQuery.d.ts +31 -31
  202. package/useTouchRipple/index.d.ts +1 -1
  203. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  204. package/utils/getScrollbarSize.d.ts +2 -2
  205. package/utils/ownerDocument.d.ts +2 -2
  206. package/utils/ownerWindow.d.ts +2 -2
  207. package/utils/setRef.d.ts +2 -2
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.6.1
1
+ /** @license MUI v5.6.2
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.
@@ -5706,6 +5706,15 @@
5706
5706
  function getPath(obj, path) {
5707
5707
  if (!path || typeof path !== 'string') {
5708
5708
  return null;
5709
+ } // Check if CSS variables are used
5710
+
5711
+
5712
+ if (obj && obj.vars) {
5713
+ const val = `vars.${path}`.split('.').reduce((acc, item) => acc && acc[item] ? acc[item] : null, obj);
5714
+
5715
+ if (val != null) {
5716
+ return val;
5717
+ }
5709
5718
  }
5710
5719
 
5711
5720
  return path.split('.').reduce((acc, item) => acc && acc[item] ? acc[item] : null, obj);
@@ -9434,14 +9443,14 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9434
9443
  return result;
9435
9444
  }
9436
9445
 
9437
- function getBadgeUtilityClass$1(slot) {
9446
+ function getBadgeUnstyledUtilityClass(slot) {
9438
9447
  return generateUtilityClass('BaseBadge', slot);
9439
9448
  }
9440
9449
  generateUtilityClasses('BaseBadge', ['root', 'badge', 'invisible']);
9441
9450
 
9442
9451
  const _excluded$2d = ["badgeContent", "component", "children", "className", "components", "componentsProps", "invisible", "max", "showZero"];
9443
9452
 
9444
- const useUtilityClasses$1O = ownerState => {
9453
+ const useUtilityClasses$1P = ownerState => {
9445
9454
  const {
9446
9455
  invisible
9447
9456
  } = ownerState;
@@ -9449,7 +9458,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9449
9458
  root: ['root'],
9450
9459
  badge: ['badge', invisible && 'invisible']
9451
9460
  };
9452
- return composeClasses(slots, getBadgeUtilityClass$1, undefined);
9461
+ return composeClasses(slots, getBadgeUnstyledUtilityClass, undefined);
9453
9462
  };
9454
9463
 
9455
9464
  const BadgeUnstyled = /*#__PURE__*/React__namespace.forwardRef(function BadgeUnstyled(props, ref) {
@@ -9480,7 +9489,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9480
9489
  showZero
9481
9490
  });
9482
9491
 
9483
- const classes = useUtilityClasses$1O(ownerState);
9492
+ const classes = useUtilityClasses$1P(ownerState);
9484
9493
  const Root = component || components.Root || 'span';
9485
9494
  const rootProps = appendOwnerState(Root, _extends({}, other, componentsProps.root), ownerState);
9486
9495
  const Badge = components.Badge || 'span';
@@ -9577,7 +9586,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9577
9586
  *
9578
9587
  * Demos:
9579
9588
  *
9580
- * - [Click Away Listener](https://mui.com/base/react-click-away-listener/)
9589
+ * - [Click away listener](https://mui.com/base/react-click-away-listener/)
9581
9590
  *
9582
9591
  * API:
9583
9592
  *
@@ -12732,7 +12741,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
12732
12741
 
12733
12742
  const _excluded$2b = ["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"];
12734
12743
 
12735
- const useUtilityClasses$1N = ownerState => {
12744
+ const useUtilityClasses$1O = ownerState => {
12736
12745
  const {
12737
12746
  open,
12738
12747
  exited,
@@ -12879,7 +12888,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
12879
12888
  keepMounted
12880
12889
  });
12881
12890
 
12882
- const classes = useUtilityClasses$1N(ownerState);
12891
+ const classes = useUtilityClasses$1O(ownerState);
12883
12892
 
12884
12893
  if (!keepMounted && !open && (!hasTransition || exited)) {
12885
12894
  return null;
@@ -13121,6 +13130,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
13121
13130
 
13122
13131
  /**
13123
13132
  * Callback fired when the backdrop is clicked.
13133
+ * @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.
13124
13134
  */
13125
13135
  onBackdropClick: PropTypes.func,
13126
13136
 
@@ -13954,7 +13964,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
13954
13964
 
13955
13965
  const Identity = x => x;
13956
13966
 
13957
- const useUtilityClasses$1M = ownerState => {
13967
+ const useUtilityClasses$1N = ownerState => {
13958
13968
  const {
13959
13969
  disabled,
13960
13970
  dragging,
@@ -14070,7 +14080,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
14070
14080
  const Input = components.Input || 'input';
14071
14081
  const inputProps = appendOwnerState(Input, componentsProps.input, ownerState);
14072
14082
  const hiddenInputProps = getHiddenInputProps();
14073
- const classes = useUtilityClasses$1M(ownerState);
14083
+ const classes = useUtilityClasses$1N(ownerState);
14074
14084
  return /*#__PURE__*/jsxRuntime_2(Root, _extends({}, rootProps, getRootProps({
14075
14085
  onMouseDown
14076
14086
  }), {
@@ -15618,7 +15628,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15618
15628
 
15619
15629
  const _excluded$23 = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
15620
15630
 
15621
- const useUtilityClasses$1L = ownerState => {
15631
+ const useUtilityClasses$1M = ownerState => {
15622
15632
  const {
15623
15633
  color,
15624
15634
  fontSize,
@@ -15703,7 +15713,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15703
15713
  more.viewBox = viewBox;
15704
15714
  }
15705
15715
 
15706
- const classes = useUtilityClasses$1L(ownerState);
15716
+ const classes = useUtilityClasses$1M(ownerState);
15707
15717
  return /*#__PURE__*/jsxRuntime_2(SvgIconRoot, _extends({
15708
15718
  as: component,
15709
15719
  className: clsx(classes.root, className),
@@ -16840,7 +16850,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
16840
16850
 
16841
16851
  const _excluded$22 = ["addEndListener", "children", "className", "collapsedSize", "component", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "orientation", "style", "timeout", "TransitionComponent"];
16842
16852
 
16843
- const useUtilityClasses$1K = ownerState => {
16853
+ const useUtilityClasses$1L = ownerState => {
16844
16854
  const {
16845
16855
  orientation,
16846
16856
  classes
@@ -16948,7 +16958,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
16948
16958
  collapsedSize: collapsedSizeProp
16949
16959
  });
16950
16960
 
16951
- const classes = useUtilityClasses$1K(ownerState);
16961
+ const classes = useUtilityClasses$1L(ownerState);
16952
16962
  const theme = useTheme();
16953
16963
  const timer = React__namespace.useRef();
16954
16964
  const wrapperRef = React__namespace.useRef(null);
@@ -17262,7 +17272,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17262
17272
  return (alphaValue / 100).toFixed(2);
17263
17273
  };
17264
17274
 
17265
- const useUtilityClasses$1J = ownerState => {
17275
+ const useUtilityClasses$1K = ownerState => {
17266
17276
  const {
17267
17277
  square,
17268
17278
  elevation,
@@ -17322,7 +17332,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17322
17332
  variant
17323
17333
  });
17324
17334
 
17325
- const classes = useUtilityClasses$1J(ownerState);
17335
+ const classes = useUtilityClasses$1K(ownerState);
17326
17336
 
17327
17337
  {
17328
17338
  // eslint-disable-next-line react-hooks/rules-of-hooks
@@ -17429,7 +17439,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17429
17439
 
17430
17440
  const _excluded$20 = ["children", "className", "defaultExpanded", "disabled", "disableGutters", "expanded", "onChange", "square", "TransitionComponent", "TransitionProps"];
17431
17441
 
17432
- const useUtilityClasses$1I = ownerState => {
17442
+ const useUtilityClasses$1J = ownerState => {
17433
17443
  const {
17434
17444
  classes,
17435
17445
  square,
@@ -17573,7 +17583,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17573
17583
  expanded
17574
17584
  });
17575
17585
 
17576
- const classes = useUtilityClasses$1I(ownerState);
17586
+ const classes = useUtilityClasses$1J(ownerState);
17577
17587
  return /*#__PURE__*/jsxRuntime_2(AccordionRoot, _extends({
17578
17588
  className: clsx(classes.root, className),
17579
17589
  ref: ref,
@@ -17698,7 +17708,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17698
17708
 
17699
17709
  const _excluded$1$ = ["className", "disableSpacing"];
17700
17710
 
17701
- const useUtilityClasses$1H = ownerState => {
17711
+ const useUtilityClasses$1I = ownerState => {
17702
17712
  const {
17703
17713
  classes,
17704
17714
  disableSpacing
@@ -17746,7 +17756,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17746
17756
  disableSpacing
17747
17757
  });
17748
17758
 
17749
- const classes = useUtilityClasses$1H(ownerState);
17759
+ const classes = useUtilityClasses$1I(ownerState);
17750
17760
  return /*#__PURE__*/jsxRuntime_1(AccordionActionsRoot, _extends({
17751
17761
  className: clsx(classes.root, className),
17752
17762
  ref: ref,
@@ -17797,7 +17807,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17797
17807
 
17798
17808
  const _excluded$1_ = ["className"];
17799
17809
 
17800
- const useUtilityClasses$1G = ownerState => {
17810
+ const useUtilityClasses$1H = ownerState => {
17801
17811
  const {
17802
17812
  classes
17803
17813
  } = ownerState;
@@ -17828,7 +17838,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
17828
17838
  other = _objectWithoutPropertiesLoose(props, _excluded$1_);
17829
17839
 
17830
17840
  const ownerState = props;
17831
- const classes = useUtilityClasses$1G(ownerState);
17841
+ const classes = useUtilityClasses$1H(ownerState);
17832
17842
  return /*#__PURE__*/jsxRuntime_1(AccordionDetailsRoot, _extends({
17833
17843
  className: clsx(classes.root, className),
17834
17844
  ref: ref,
@@ -18301,7 +18311,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18301
18311
 
18302
18312
  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"];
18303
18313
 
18304
- const useUtilityClasses$1F = ownerState => {
18314
+ const useUtilityClasses$1G = ownerState => {
18305
18315
  const {
18306
18316
  disabled,
18307
18317
  focusVisible,
@@ -18603,7 +18613,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18603
18613
  focusVisible
18604
18614
  });
18605
18615
 
18606
- const classes = useUtilityClasses$1F(ownerState);
18616
+ const classes = useUtilityClasses$1G(ownerState);
18607
18617
  return /*#__PURE__*/jsxRuntime_2(ButtonBaseRoot, _extends({
18608
18618
  as: ComponentProp,
18609
18619
  className: clsx(classes.root, className),
@@ -18839,7 +18849,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18839
18849
 
18840
18850
  const _excluded$1X = ["children", "className", "expandIcon", "focusVisibleClassName", "onClick"];
18841
18851
 
18842
- const useUtilityClasses$1E = ownerState => {
18852
+ const useUtilityClasses$1F = ownerState => {
18843
18853
  const {
18844
18854
  classes,
18845
18855
  expanded,
@@ -18960,7 +18970,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
18960
18970
  disableGutters
18961
18971
  });
18962
18972
 
18963
- const classes = useUtilityClasses$1E(ownerState);
18973
+ const classes = useUtilityClasses$1F(ownerState);
18964
18974
  return /*#__PURE__*/jsxRuntime_2(AccordionSummaryRoot, _extends({
18965
18975
  focusRipple: false,
18966
18976
  disableRipple: true,
@@ -19048,7 +19058,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19048
19058
 
19049
19059
  const _excluded$1W = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"];
19050
19060
 
19051
- const useUtilityClasses$1D = ownerState => {
19061
+ const useUtilityClasses$1E = ownerState => {
19052
19062
  const {
19053
19063
  classes,
19054
19064
  disabled,
@@ -19155,7 +19165,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19155
19165
  size
19156
19166
  });
19157
19167
 
19158
- const classes = useUtilityClasses$1D(ownerState);
19168
+ const classes = useUtilityClasses$1E(ownerState);
19159
19169
  return /*#__PURE__*/jsxRuntime_1(IconButtonRoot, _extends({
19160
19170
  className: clsx(classes.root, className),
19161
19171
  centerRipple: true,
@@ -19278,7 +19288,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19278
19288
 
19279
19289
  const _excluded$1V = ["action", "children", "className", "closeText", "color", "icon", "iconMapping", "onClose", "role", "severity", "variant"];
19280
19290
 
19281
- const useUtilityClasses$1C = ownerState => {
19291
+ const useUtilityClasses$1D = ownerState => {
19282
19292
  const {
19283
19293
  variant,
19284
19294
  color,
@@ -19402,7 +19412,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19402
19412
  variant
19403
19413
  });
19404
19414
 
19405
- const classes = useUtilityClasses$1C(ownerState);
19415
+ const classes = useUtilityClasses$1D(ownerState);
19406
19416
  return /*#__PURE__*/jsxRuntime_2(AlertRoot, _extends({
19407
19417
  role: role,
19408
19418
  elevation: 0,
@@ -19544,7 +19554,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19544
19554
 
19545
19555
  const _excluded$1U = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"];
19546
19556
 
19547
- const useUtilityClasses$1B = ownerState => {
19557
+ const useUtilityClasses$1C = ownerState => {
19548
19558
  const {
19549
19559
  align,
19550
19560
  gutterBottom,
@@ -19645,7 +19655,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19645
19655
  });
19646
19656
 
19647
19657
  const Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';
19648
- const classes = useUtilityClasses$1B(ownerState);
19658
+ const classes = useUtilityClasses$1C(ownerState);
19649
19659
  return /*#__PURE__*/jsxRuntime_1(TypographyRoot, _extends({
19650
19660
  as: Component,
19651
19661
  ref: ref,
@@ -19755,7 +19765,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19755
19765
 
19756
19766
  const _excluded$1T = ["className"];
19757
19767
 
19758
- const useUtilityClasses$1A = ownerState => {
19768
+ const useUtilityClasses$1B = ownerState => {
19759
19769
  const {
19760
19770
  classes
19761
19771
  } = ownerState;
@@ -19789,7 +19799,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19789
19799
  other = _objectWithoutPropertiesLoose(props, _excluded$1T);
19790
19800
 
19791
19801
  const ownerState = props;
19792
- const classes = useUtilityClasses$1A(ownerState);
19802
+ const classes = useUtilityClasses$1B(ownerState);
19793
19803
  return /*#__PURE__*/jsxRuntime_1(AlertTitleRoot, _extends({
19794
19804
  gutterBottom: true,
19795
19805
  component: "div",
@@ -19836,7 +19846,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19836
19846
 
19837
19847
  const _excluded$1S = ["className", "color", "enableColorOnDark", "position"];
19838
19848
 
19839
- const useUtilityClasses$1z = ownerState => {
19849
+ const useUtilityClasses$1A = ownerState => {
19840
19850
  const {
19841
19851
  color,
19842
19852
  position,
@@ -19934,7 +19944,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19934
19944
  enableColorOnDark
19935
19945
  });
19936
19946
 
19937
- const classes = useUtilityClasses$1z(ownerState);
19947
+ const classes = useUtilityClasses$1A(ownerState);
19938
19948
  return /*#__PURE__*/jsxRuntime_1(AppBarRoot, _extends({
19939
19949
  square: true,
19940
19950
  component: "header",
@@ -20147,7 +20157,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20147
20157
 
20148
20158
  const _excluded$1R = ["className", "color", "component", "disableGutters", "disableSticky", "inset"];
20149
20159
 
20150
- const useUtilityClasses$1y = ownerState => {
20160
+ const useUtilityClasses$1z = ownerState => {
20151
20161
  const {
20152
20162
  classes,
20153
20163
  color,
@@ -20220,7 +20230,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20220
20230
  inset
20221
20231
  });
20222
20232
 
20223
- const classes = useUtilityClasses$1y(ownerState);
20233
+ const classes = useUtilityClasses$1z(ownerState);
20224
20234
  return /*#__PURE__*/jsxRuntime_1(ListSubheaderRoot, _extends({
20225
20235
  as: component,
20226
20236
  className: clsx(classes.root, className),
@@ -20300,7 +20310,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20300
20310
 
20301
20311
  const _excluded$1Q = ["avatar", "className", "clickable", "color", "component", "deleteIcon", "disabled", "icon", "label", "onClick", "onDelete", "onKeyDown", "onKeyUp", "size", "variant"];
20302
20312
 
20303
- const useUtilityClasses$1x = ownerState => {
20313
+ const useUtilityClasses$1y = ownerState => {
20304
20314
  const {
20305
20315
  classes,
20306
20316
  disabled,
@@ -20634,7 +20644,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20634
20644
  variant
20635
20645
  });
20636
20646
 
20637
- const classes = useUtilityClasses$1x(ownerState);
20647
+ const classes = useUtilityClasses$1y(ownerState);
20638
20648
  const moreProps = component === ButtonBase$1 ? _extends({
20639
20649
  component: ComponentProp || 'div',
20640
20650
  focusVisibleClassName: classes.focusVisible
@@ -20918,7 +20928,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20918
20928
  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];
20919
20929
  };
20920
20930
 
20921
- const useUtilityClasses$1w = ownerState => {
20931
+ const useUtilityClasses$1x = ownerState => {
20922
20932
  const {
20923
20933
  classes,
20924
20934
  color,
@@ -21330,7 +21340,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
21330
21340
  type
21331
21341
  });
21332
21342
 
21333
- const classes = useUtilityClasses$1w(ownerState);
21343
+ const classes = useUtilityClasses$1x(ownerState);
21334
21344
  const Root = components.Root || InputBaseRoot;
21335
21345
  const rootProps = componentsProps.root || {};
21336
21346
  const Input = components.Input || InputBaseComponent;
@@ -21660,7 +21670,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
21660
21670
 
21661
21671
  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"];
21662
21672
 
21663
- const useUtilityClasses$1v = ownerState => {
21673
+ const useUtilityClasses$1w = ownerState => {
21664
21674
  const {
21665
21675
  classes,
21666
21676
  disablePortal,
@@ -22083,7 +22093,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22083
22093
  size
22084
22094
  });
22085
22095
 
22086
- const classes = useUtilityClasses$1v(ownerState);
22096
+ const classes = useUtilityClasses$1w(ownerState);
22087
22097
  let startAdornment;
22088
22098
 
22089
22099
  if (multiple && value.length > 0) {
@@ -22446,6 +22456,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22446
22456
  * Used to determine the string value for a given option.
22447
22457
  * It's used to fill the input (and the list box options if `renderOption` is not provided).
22448
22458
  *
22459
+ * If used in free solo mode, it must accept both the type of the options and a string.
22460
+ *
22449
22461
  * @param {T} option
22450
22462
  * @returns {string}
22451
22463
  * @default (option) => option.label ?? option
@@ -22719,7 +22731,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22719
22731
 
22720
22732
  const _excluded$1N = ["alt", "children", "className", "component", "imgProps", "sizes", "src", "srcSet", "variant"];
22721
22733
 
22722
- const useUtilityClasses$1u = ownerState => {
22734
+ const useUtilityClasses$1v = ownerState => {
22723
22735
  const {
22724
22736
  classes,
22725
22737
  variant,
@@ -22872,7 +22884,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22872
22884
  variant
22873
22885
  });
22874
22886
 
22875
- const classes = useUtilityClasses$1u(ownerState);
22887
+ const classes = useUtilityClasses$1v(ownerState);
22876
22888
 
22877
22889
  if (hasImgNotFailing) {
22878
22890
  children = /*#__PURE__*/jsxRuntime_1(AvatarImg, _extends({
@@ -22987,7 +22999,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22987
22999
  medium: null
22988
23000
  };
22989
23001
 
22990
- const useUtilityClasses$1t = ownerState => {
23002
+ const useUtilityClasses$1u = ownerState => {
22991
23003
  const {
22992
23004
  classes
22993
23005
  } = ownerState;
@@ -23059,7 +23071,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23059
23071
  variant
23060
23072
  });
23061
23073
 
23062
- const classes = useUtilityClasses$1t(ownerState);
23074
+ const classes = useUtilityClasses$1u(ownerState);
23063
23075
  const children = React__namespace.Children.toArray(childrenProp).filter(child => {
23064
23076
  {
23065
23077
  if (reactIs_2(child)) {
@@ -23399,7 +23411,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23399
23411
 
23400
23412
  const _excluded$1K = ["children", "component", "components", "componentsProps", "className", "invisible", "open", "transitionDuration", "TransitionComponent"];
23401
23413
 
23402
- const useUtilityClasses$1s = ownerState => {
23414
+ const useUtilityClasses$1t = ownerState => {
23403
23415
  const {
23404
23416
  classes,
23405
23417
  invisible
@@ -23462,7 +23474,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23462
23474
  invisible
23463
23475
  });
23464
23476
 
23465
- const classes = useUtilityClasses$1s(ownerState);
23477
+ const classes = useUtilityClasses$1t(ownerState);
23466
23478
  return /*#__PURE__*/jsxRuntime_1(TransitionComponent, _extends({
23467
23479
  in: open,
23468
23480
  timeout: transitionDuration
@@ -23570,7 +23582,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23570
23582
  const RADIUS_STANDARD = 10;
23571
23583
  const RADIUS_DOT = 4;
23572
23584
 
23573
- const extendUtilityClasses$2 = ownerState => {
23585
+ const useUtilityClasses$1s = ownerState => {
23574
23586
  const {
23575
23587
  color,
23576
23588
  anchorOrigin,
@@ -23579,10 +23591,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23579
23591
  variant,
23580
23592
  classes = {}
23581
23593
  } = ownerState;
23582
- return {
23583
- root: clsx(classes.root, 'root'),
23584
- badge: clsx(classes.badge, getBadgeUtilityClass('badge'), getBadgeUtilityClass(variant), `anchorOrigin${capitalize(anchorOrigin.vertical)}${capitalize(anchorOrigin.horizontal)}`, getBadgeUtilityClass(`anchorOrigin${capitalize(anchorOrigin.vertical)}${capitalize(anchorOrigin.horizontal)}${capitalize(overlap)}`), getBadgeUtilityClass(`overlap${capitalize(overlap)}`), color !== 'default' && [getBadgeUtilityClass(`color${capitalize(color)}`), classes[`color${capitalize(color)}`]], invisible && getBadgeUtilityClass('invisible'))
23594
+ const slots = {
23595
+ root: ['root'],
23596
+ badge: ['badge', variant, invisible && 'invisible', `anchorOrigin${capitalize(anchorOrigin.vertical)}${capitalize(anchorOrigin.horizontal)}`, `anchorOrigin${capitalize(anchorOrigin.vertical)}${capitalize(anchorOrigin.horizontal)}${capitalize(overlap)}`, `overlap${capitalize(overlap)}`, color !== 'default' && `color${capitalize(color)}`]
23585
23597
  };
23598
+ return composeClasses(slots, getBadgeUtilityClass, classes);
23586
23599
  };
23587
23600
 
23588
23601
  const BadgeRoot = styled$1('span', {
@@ -23763,7 +23776,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23763
23776
  variant
23764
23777
  });
23765
23778
 
23766
- const classes = extendUtilityClasses$2(ownerState);
23779
+ const classes = useUtilityClasses$1s(ownerState);
23767
23780
  let displayValue;
23768
23781
 
23769
23782
  if (variant !== 'dot') {
@@ -27324,6 +27337,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27324
27337
 
27325
27338
  /**
27326
27339
  * Callback fired when the backdrop is clicked.
27340
+ * @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.
27327
27341
  */
27328
27342
  onBackdropClick: PropTypes.func,
27329
27343
 
@@ -27697,6 +27711,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27697
27711
 
27698
27712
  /**
27699
27713
  * Callback fired when the backdrop is clicked.
27714
+ * @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.
27700
27715
  */
27701
27716
  onBackdropClick: PropTypes.func,
27702
27717
 
@@ -29383,7 +29398,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29383
29398
 
29384
29399
  },
29385
29400
  [`&.${filledInputClasses$1.focused}:after`]: {
29386
- transform: 'scaleX(1)'
29401
+ // translateX(0) is a workaround for Safari transform scale bug
29402
+ // See https://github.com/mui/material-ui/issues/31766
29403
+ transform: 'scaleX(1) translateX(0)'
29387
29404
  },
29388
29405
  [`&.${filledInputClasses$1.error}:after`]: {
29389
29406
  borderBottomColor: theme.palette.error.main,
@@ -33055,7 +33072,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33055
33072
 
33056
33073
  },
33057
33074
  [`&.${inputClasses$1.focused}:after`]: {
33058
- transform: 'scaleX(1)'
33075
+ // translateX(0) is a workaround for Safari transform scale bug
33076
+ // See https://github.com/mui/material-ui/issues/31766
33077
+ transform: 'scaleX(1) translateX(0)'
33059
33078
  },
33060
33079
  [`&.${inputClasses$1.error}:after`]: {
33061
33080
  borderBottomColor: theme.palette.error.main,