@mui/material 5.11.8 → 5.11.10

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 (199) 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.js +1 -1
  8. package/AppBar/appBarClasses.d.ts +28 -28
  9. package/Autocomplete/Autocomplete.js +14 -0
  10. package/Autocomplete/autocompleteClasses.d.ts +54 -54
  11. package/Avatar/Avatar.js +1 -0
  12. package/Avatar/avatarClasses.d.ts +20 -20
  13. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  14. package/Backdrop/Backdrop.d.ts +8 -0
  15. package/Backdrop/Backdrop.js +10 -5
  16. package/Backdrop/backdropClasses.d.ts +10 -10
  17. package/Badge/Badge.d.ts +0 -1
  18. package/Badge/Badge.js +47 -47
  19. package/Badge/badgeClasses.d.ts +56 -56
  20. package/BottomNavigation/BottomNavigation.js +0 -0
  21. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  22. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  23. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  24. package/Button/buttonClasses.d.ts +100 -100
  25. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  26. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  27. package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
  28. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  29. package/CHANGELOG.md +120 -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/checkboxClasses.d.ts +18 -18
  37. package/Chip/chipClasses.d.ts +96 -96
  38. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  39. package/ClickAwayListener/index.d.ts +2 -2
  40. package/Collapse/collapseClasses.d.ts +18 -18
  41. package/Container/containerClasses.d.ts +6 -6
  42. package/Dialog/DialogContext.d.ts +6 -6
  43. package/Dialog/DialogContext.js +2 -2
  44. package/Dialog/dialogClasses.d.ts +36 -36
  45. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  46. package/DialogContent/dialogContentClasses.d.ts +10 -10
  47. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  48. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  49. package/Divider/dividerClasses.d.ts +34 -34
  50. package/Drawer/drawerClasses.d.ts +30 -30
  51. package/Fab/fabClasses.d.ts +26 -26
  52. package/FilledInput/filledInputClasses.d.ts +40 -40
  53. package/FormControl/FormControlContext.d.ts +17 -17
  54. package/FormControl/formControlClasses.d.ts +14 -14
  55. package/FormControl/useFormControl.d.ts +2 -2
  56. package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
  57. package/FormGroup/formGroupClasses.d.ts +12 -12
  58. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  59. package/FormLabel/formLabelClasses.d.ts +22 -22
  60. package/Grid/gridClasses.d.ts +48 -48
  61. package/Icon/iconClasses.d.ts +24 -24
  62. package/IconButton/iconButtonClasses.d.ts +34 -34
  63. package/ImageList/imageListClasses.d.ts +16 -16
  64. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  65. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  66. package/Input/inputClasses.d.ts +34 -34
  67. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  68. package/InputBase/inputBaseClasses.d.ts +46 -46
  69. package/InputLabel/inputLabelClasses.d.ts +32 -32
  70. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  71. package/Link/getTextDecoration.d.ts +15 -15
  72. package/Link/linkClasses.d.ts +18 -18
  73. package/List/listClasses.d.ts +14 -14
  74. package/ListItem/listItemClasses.d.ts +30 -30
  75. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  76. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  77. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  78. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  79. package/ListItemText/listItemTextClasses.d.ts +18 -18
  80. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  81. package/Menu/menuClasses.d.ts +12 -12
  82. package/MenuItem/menuItemClasses.d.ts +20 -20
  83. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  84. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  85. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  86. package/Pagination/paginationClasses.d.ts +14 -14
  87. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  88. package/Paper/paperClasses.d.ts +39 -39
  89. package/Popover/popoverClasses.d.ts +10 -10
  90. package/Popper/Popper.d.ts +55 -55
  91. package/Radio/radioClasses.d.ts +16 -16
  92. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  93. package/RadioGroup/useRadioGroup.d.ts +4 -4
  94. package/Rating/ratingClasses.d.ts +40 -40
  95. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  96. package/Select/selectClasses.d.ts +30 -30
  97. package/Skeleton/skeletonClasses.d.ts +26 -26
  98. package/Slider/SliderValueLabel.d.ts +15 -15
  99. package/Slider/SliderValueLabel.types.d.ts +24 -24
  100. package/Slider/sliderClasses.d.ts +58 -58
  101. package/Snackbar/snackbarClasses.d.ts +20 -20
  102. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  103. package/SpeedDial/speedDialClasses.d.ts +22 -22
  104. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  105. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  106. package/Step/StepContext.d.ts +20 -20
  107. package/Step/stepClasses.d.ts +16 -16
  108. package/StepButton/stepButtonClasses.d.ts +14 -14
  109. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  110. package/StepContent/stepContentClasses.d.ts +12 -12
  111. package/StepIcon/stepIconClasses.d.ts +16 -16
  112. package/StepLabel/stepLabelClasses.d.ts +28 -28
  113. package/Stepper/StepperContext.d.ts +18 -18
  114. package/Stepper/stepperClasses.d.ts +14 -14
  115. package/SvgIcon/svgIconClasses.d.ts +26 -26
  116. package/SwipeableDrawer/SwipeableDrawer.js +3 -3
  117. package/Switch/switchClasses.d.ts +32 -32
  118. package/Tab/tabClasses.d.ts +26 -26
  119. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  120. package/Table/tableClasses.d.ts +10 -10
  121. package/TableBody/tableBodyClasses.d.ts +8 -8
  122. package/TableCell/tableCellClasses.d.ts +32 -32
  123. package/TableContainer/tableContainerClasses.d.ts +8 -8
  124. package/TableFooter/tableFooterClasses.d.ts +8 -8
  125. package/TableHead/tableHeadClasses.d.ts +8 -8
  126. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  127. package/TableRow/tableRowClasses.d.ts +16 -16
  128. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  129. package/Tabs/tabsClasses.d.ts +32 -32
  130. package/TextField/textFieldClasses.d.ts +8 -8
  131. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  132. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  133. package/Toolbar/toolbarClasses.d.ts +14 -14
  134. package/Tooltip/tooltipClasses.d.ts +30 -30
  135. package/Typography/typographyClasses.d.ts +50 -50
  136. package/Unstable_Grid2/Grid2.d.ts +4 -4
  137. package/Unstable_Grid2/Grid2Props.d.ts +15 -15
  138. package/Unstable_Grid2/grid2Classes.d.ts +5 -5
  139. package/Unstable_Grid2/index.d.ts +4 -4
  140. package/className/index.d.ts +1 -1
  141. package/darkScrollbar/index.d.ts +28 -28
  142. package/generateUtilityClass/index.d.ts +2 -2
  143. package/generateUtilityClasses/index.d.ts +1 -1
  144. package/index.js +1 -1
  145. package/internal/SwitchBase.js +1 -1
  146. package/internal/switchBaseClasses.d.ts +12 -12
  147. package/legacy/AppBar/AppBar.js +1 -1
  148. package/legacy/Autocomplete/Autocomplete.js +10 -1
  149. package/legacy/Avatar/Avatar.js +1 -0
  150. package/legacy/Backdrop/Backdrop.js +9 -3
  151. package/legacy/Badge/Badge.js +48 -48
  152. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  153. package/legacy/Dialog/DialogContext.js +2 -2
  154. package/legacy/SwipeableDrawer/SwipeableDrawer.js +3 -3
  155. package/legacy/index.js +1 -1
  156. package/legacy/internal/SwitchBase.js +1 -1
  157. package/legacy/useMediaQuery/useMediaQuery.js +12 -7
  158. package/locale/index.d.ts +75 -75
  159. package/modern/AppBar/AppBar.js +1 -1
  160. package/modern/Autocomplete/Autocomplete.js +14 -0
  161. package/modern/Avatar/Avatar.js +1 -0
  162. package/modern/Backdrop/Backdrop.js +10 -5
  163. package/modern/Badge/Badge.js +47 -47
  164. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  165. package/modern/Dialog/DialogContext.js +2 -2
  166. package/modern/SwipeableDrawer/SwipeableDrawer.js +3 -3
  167. package/modern/index.js +1 -1
  168. package/modern/internal/SwitchBase.js +1 -1
  169. package/modern/useMediaQuery/useMediaQuery.js +9 -7
  170. package/node/AppBar/AppBar.js +1 -1
  171. package/node/Autocomplete/Autocomplete.js +14 -0
  172. package/node/Avatar/Avatar.js +1 -0
  173. package/node/Backdrop/Backdrop.js +10 -5
  174. package/node/Badge/Badge.js +46 -47
  175. package/node/BottomNavigation/BottomNavigation.js +0 -0
  176. package/node/Dialog/DialogContext.js +4 -2
  177. package/node/SwipeableDrawer/SwipeableDrawer.js +3 -3
  178. package/node/index.js +1 -1
  179. package/node/internal/SwitchBase.js +1 -1
  180. package/node/useMediaQuery/useMediaQuery.js +9 -7
  181. package/package.json +6 -6
  182. package/styles/CssVarsProvider.d.ts +16 -16
  183. package/styles/excludeVariablesFromRoot.d.ts +5 -5
  184. package/styles/getOverlayAlpha.d.ts +2 -2
  185. package/styles/props.d.ts +2 -2
  186. package/transitions/index.d.ts +1 -1
  187. package/transitions/transition.d.ts +13 -13
  188. package/transitions/utils.d.ts +23 -23
  189. package/types/OverridableComponentAugmentation.d.ts +31 -31
  190. package/umd/material-ui.development.js +163 -248
  191. package/umd/material-ui.production.min.js +20 -20
  192. package/useMediaQuery/useMediaQuery.d.ts +46 -31
  193. package/useMediaQuery/useMediaQuery.js +9 -7
  194. package/useTouchRipple/index.d.ts +1 -1
  195. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  196. package/utils/getScrollbarSize.d.ts +2 -2
  197. package/utils/ownerDocument.d.ts +2 -2
  198. package/utils/ownerWindow.d.ts +2 -2
  199. package/utils/setRef.d.ts +2 -2
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.11.8
2
+ * @mui/material v5.11.10
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -5791,7 +5791,7 @@
5791
5791
  injectFirst,
5792
5792
  children
5793
5793
  } = props;
5794
- return injectFirst ? /*#__PURE__*/jsxRuntime_1(CacheProvider, {
5794
+ return injectFirst && cache ? /*#__PURE__*/jsxRuntime_1(CacheProvider, {
5795
5795
  value: cache,
5796
5796
  children: children
5797
5797
  }) : children;
@@ -6848,7 +6848,7 @@
6848
6848
  styleFunctionSx.filterProps = ['sx'];
6849
6849
  var styleFunctionSx$1 = styleFunctionSx;
6850
6850
 
6851
- const _excluded$2n = ["sx"];
6851
+ const _excluded$2m = ["sx"];
6852
6852
  const splitProps = props => {
6853
6853
  var _props$theme$unstable, _props$theme;
6854
6854
  const result = {
@@ -6869,7 +6869,7 @@
6869
6869
  const {
6870
6870
  sx: inSx
6871
6871
  } = props,
6872
- other = _objectWithoutPropertiesLoose(props, _excluded$2n);
6872
+ other = _objectWithoutPropertiesLoose(props, _excluded$2m);
6873
6873
  const {
6874
6874
  systemProps,
6875
6875
  otherProps
@@ -6895,7 +6895,7 @@
6895
6895
 
6896
6896
  function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
6897
6897
 
6898
- const _excluded$2m = ["values", "unit", "step"];
6898
+ const _excluded$2l = ["values", "unit", "step"];
6899
6899
  const sortBreakpointsValues = values => {
6900
6900
  const breakpointsAsArray = Object.keys(values).map(key => ({
6901
6901
  key,
@@ -6930,7 +6930,7 @@
6930
6930
  unit = 'px',
6931
6931
  step = 5
6932
6932
  } = breakpoints,
6933
- other = _objectWithoutPropertiesLoose(breakpoints, _excluded$2m);
6933
+ other = _objectWithoutPropertiesLoose(breakpoints, _excluded$2l);
6934
6934
  const sortedValues = sortBreakpointsValues(values);
6935
6935
  const keys = Object.keys(sortedValues);
6936
6936
  function up(key) {
@@ -7009,7 +7009,7 @@
7009
7009
  return spacing;
7010
7010
  }
7011
7011
 
7012
- const _excluded$2l = ["breakpoints", "palette", "spacing", "shape"];
7012
+ const _excluded$2k = ["breakpoints", "palette", "spacing", "shape"];
7013
7013
  function createTheme$1(options = {}, ...args) {
7014
7014
  const {
7015
7015
  breakpoints: breakpointsInput = {},
@@ -7017,7 +7017,7 @@
7017
7017
  spacing: spacingInput,
7018
7018
  shape: shapeInput = {}
7019
7019
  } = options,
7020
- other = _objectWithoutPropertiesLoose(options, _excluded$2l);
7020
+ other = _objectWithoutPropertiesLoose(options, _excluded$2k);
7021
7021
  const breakpoints = createBreakpoints(breakpointsInput);
7022
7022
  const spacing = createSpacing(spacingInput);
7023
7023
  let muiTheme = deepmerge({
@@ -7128,7 +7128,7 @@
7128
7128
  return useTheme$2(defaultTheme);
7129
7129
  }
7130
7130
 
7131
- const _excluded$2k = ["className", "component"];
7131
+ const _excluded$2j = ["className", "component"];
7132
7132
  function createBox(options = {}) {
7133
7133
  const {
7134
7134
  defaultTheme,
@@ -7145,7 +7145,7 @@
7145
7145
  className,
7146
7146
  component = 'div'
7147
7147
  } = _extendSxProp,
7148
- other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$2k);
7148
+ other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$2j);
7149
7149
  return /*#__PURE__*/jsxRuntime_1(BoxRoot, _extends({
7150
7150
  as: component,
7151
7151
  ref: ref,
@@ -7156,7 +7156,7 @@
7156
7156
  return Box;
7157
7157
  }
7158
7158
 
7159
- const _excluded$2j = ["variant"];
7159
+ const _excluded$2i = ["variant"];
7160
7160
  function isEmpty$3(string) {
7161
7161
  return string.length === 0;
7162
7162
  }
@@ -7170,7 +7170,7 @@
7170
7170
  const {
7171
7171
  variant
7172
7172
  } = props,
7173
- other = _objectWithoutPropertiesLoose(props, _excluded$2j);
7173
+ other = _objectWithoutPropertiesLoose(props, _excluded$2i);
7174
7174
  let classKey = variant || '';
7175
7175
  Object.keys(other).sort().forEach(key => {
7176
7176
  if (key === 'color') {
@@ -7182,7 +7182,7 @@
7182
7182
  return classKey;
7183
7183
  }
7184
7184
 
7185
- const _excluded$2i = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"],
7185
+ const _excluded$2h = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"],
7186
7186
  _excluded2$c = ["theme"],
7187
7187
  _excluded3$1 = ["theme"];
7188
7188
  function isEmpty$2(obj) {
@@ -7269,7 +7269,7 @@
7269
7269
  skipSx: inputSkipSx,
7270
7270
  overridesResolver
7271
7271
  } = inputOptions,
7272
- options = _objectWithoutPropertiesLoose(inputOptions, _excluded$2i);
7272
+ options = _objectWithoutPropertiesLoose(inputOptions, _excluded$2h);
7273
7273
 
7274
7274
  // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
7275
7275
  const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver : componentSlot && componentSlot !== 'Root' || false;
@@ -8166,7 +8166,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8166
8166
  });
8167
8167
  }
8168
8168
 
8169
- const _excluded$2h = ["colorSchemes", "components", "cssVarPrefix"];
8169
+ const _excluded$2g = ["colorSchemes", "components", "cssVarPrefix"];
8170
8170
  const DISABLE_CSS_TRANSITION = '*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}';
8171
8171
  function createCssVarsProvider(options) {
8172
8172
  const {
@@ -8218,7 +8218,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8218
8218
  components = {},
8219
8219
  cssVarPrefix
8220
8220
  } = themeProp,
8221
- restThemeProp = _objectWithoutPropertiesLoose(themeProp, _excluded$2h);
8221
+ restThemeProp = _objectWithoutPropertiesLoose(themeProp, _excluded$2g);
8222
8222
  const allColorSchemes = Object.keys(colorSchemes);
8223
8223
  const defaultLightColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.light;
8224
8224
  const defaultDarkColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.dark;
@@ -8516,7 +8516,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8516
8516
  return getCssVar;
8517
8517
  }
8518
8518
 
8519
- const _excluded$2g = ["className", "component", "disableGutters", "fixed", "maxWidth", "classes"];
8519
+ const _excluded$2f = ["className", "component", "disableGutters", "fixed", "maxWidth", "classes"];
8520
8520
  const defaultTheme$5 = createTheme$1();
8521
8521
  const defaultCreateStyledComponent$1 = systemStyled('div', {
8522
8522
  name: 'MuiContainer',
@@ -8533,7 +8533,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8533
8533
  name: 'MuiContainer',
8534
8534
  defaultTheme: defaultTheme$5
8535
8535
  });
8536
- const useUtilityClasses$1Q = (ownerState, componentName) => {
8536
+ const useUtilityClasses$1P = (ownerState, componentName) => {
8537
8537
  const getContainerUtilityClass = slot => {
8538
8538
  return generateUtilityClass(componentName, slot);
8539
8539
  };
@@ -8612,7 +8612,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8612
8612
  fixed = false,
8613
8613
  maxWidth = 'lg'
8614
8614
  } = props,
8615
- other = _objectWithoutPropertiesLoose(props, _excluded$2g);
8615
+ other = _objectWithoutPropertiesLoose(props, _excluded$2f);
8616
8616
  const ownerState = _extends({}, props, {
8617
8617
  component,
8618
8618
  disableGutters,
@@ -8621,7 +8621,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8621
8621
  });
8622
8622
 
8623
8623
  // @ts-ignore module augmentation fails if custom breakpoints are used
8624
- const classes = useUtilityClasses$1Q(ownerState, componentName);
8624
+ const classes = useUtilityClasses$1P(ownerState, componentName);
8625
8625
  return (
8626
8626
  /*#__PURE__*/
8627
8627
  // @ts-ignore theme is injected by the styled util
@@ -8899,7 +8899,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8899
8899
  return [`direction-xs-${String(direction)}`];
8900
8900
  };
8901
8901
 
8902
- const _excluded$2f = ["className", "columns", "container", "component", "direction", "wrap", "spacing", "rowSpacing", "columnSpacing", "disableEqualOverflow"];
8902
+ const _excluded$2e = ["className", "columns", "container", "component", "direction", "wrap", "spacing", "rowSpacing", "columnSpacing", "disableEqualOverflow"];
8903
8903
  const defaultTheme$4 = createTheme$1();
8904
8904
 
8905
8905
  // widening Theme to any so that the consumer can own the theme structure.
@@ -8957,7 +8957,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8957
8957
  columnSpacing: columnSpacingProp = spacingProp,
8958
8958
  disableEqualOverflow: themeDisableEqualOverflow
8959
8959
  } = props,
8960
- rest = _objectWithoutPropertiesLoose(props, _excluded$2f);
8960
+ rest = _objectWithoutPropertiesLoose(props, _excluded$2e);
8961
8961
  // Because `disableEqualOverflow` can be set from the theme's defaultProps, the **nested** grid should look at the instance props instead.
8962
8962
  let disableEqualOverflow = themeDisableEqualOverflow;
8963
8963
  if (level && themeDisableEqualOverflow !== undefined) {
@@ -9047,7 +9047,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9047
9047
  return Grid;
9048
9048
  }
9049
9049
 
9050
- const _excluded$2e = ["defaultProps", "mixins", "overrides", "palette", "props", "styleOverrides"],
9050
+ const _excluded$2d = ["defaultProps", "mixins", "overrides", "palette", "props", "styleOverrides"],
9051
9051
  _excluded2$b = ["type", "mode"];
9052
9052
  function adaptV4Theme(inputTheme) {
9053
9053
  {
@@ -9061,7 +9061,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9061
9061
  props = {},
9062
9062
  styleOverrides = {}
9063
9063
  } = inputTheme,
9064
- other = _objectWithoutPropertiesLoose(inputTheme, _excluded$2e);
9064
+ other = _objectWithoutPropertiesLoose(inputTheme, _excluded$2d);
9065
9065
  const theme = _extends({}, other, {
9066
9066
  components: {}
9067
9067
  });
@@ -9142,7 +9142,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9142
9142
  }, mixins);
9143
9143
  }
9144
9144
 
9145
- const _excluded$2d = ["mode", "contrastThreshold", "tonalOffset"];
9145
+ const _excluded$2c = ["mode", "contrastThreshold", "tonalOffset"];
9146
9146
  const light = {
9147
9147
  // The colors used to style the text.
9148
9148
  text: {
@@ -9311,7 +9311,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9311
9311
  contrastThreshold = 3,
9312
9312
  tonalOffset = 0.2
9313
9313
  } = palette,
9314
- other = _objectWithoutPropertiesLoose(palette, _excluded$2d);
9314
+ other = _objectWithoutPropertiesLoose(palette, _excluded$2c);
9315
9315
  const primary = palette.primary || getDefaultPrimary(mode);
9316
9316
  const secondary = palette.secondary || getDefaultSecondary(mode);
9317
9317
  const error = palette.error || getDefaultError(mode);
@@ -9435,7 +9435,7 @@ const theme2 = createTheme({ palette: {
9435
9435
  return paletteOutput;
9436
9436
  }
9437
9437
 
9438
- const _excluded$2c = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
9438
+ const _excluded$2b = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
9439
9439
  function round$2(value) {
9440
9440
  return Math.round(value * 1e5) / 1e5;
9441
9441
  }
@@ -9466,7 +9466,7 @@ const theme2 = createTheme({ palette: {
9466
9466
  allVariants,
9467
9467
  pxToRem: pxToRem2
9468
9468
  } = _ref,
9469
- other = _objectWithoutPropertiesLoose(_ref, _excluded$2c);
9469
+ other = _objectWithoutPropertiesLoose(_ref, _excluded$2b);
9470
9470
  {
9471
9471
  if (typeof fontSize !== 'number') {
9472
9472
  console.error('MUI: `fontSize` is required to be a number.');
@@ -9526,7 +9526,7 @@ const theme2 = createTheme({ palette: {
9526
9526
  const shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];
9527
9527
  var shadows$1 = shadows;
9528
9528
 
9529
- const _excluded$2b = ["duration", "easing", "delay"];
9529
+ const _excluded$2a = ["duration", "easing", "delay"];
9530
9530
  // Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
9531
9531
  // to learn the context in which each easing should be used.
9532
9532
  const easing = {
@@ -9577,7 +9577,7 @@ const theme2 = createTheme({ palette: {
9577
9577
  easing: easingOption = mergedEasing.easeInOut,
9578
9578
  delay = 0
9579
9579
  } = options,
9580
- other = _objectWithoutPropertiesLoose(options, _excluded$2b);
9580
+ other = _objectWithoutPropertiesLoose(options, _excluded$2a);
9581
9581
  {
9582
9582
  const isString = value => typeof value === 'string';
9583
9583
  // IE11 support, replace with Number.isNaN
@@ -9624,7 +9624,7 @@ const theme2 = createTheme({ palette: {
9624
9624
  };
9625
9625
  var zIndex$1 = zIndex;
9626
9626
 
9627
- const _excluded$2a = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
9627
+ const _excluded$29 = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
9628
9628
  function createTheme(options = {}, ...args) {
9629
9629
  const {
9630
9630
  mixins: mixinsInput = {},
@@ -9632,7 +9632,7 @@ const theme2 = createTheme({ palette: {
9632
9632
  transitions: transitionsInput = {},
9633
9633
  typography: typographyInput = {}
9634
9634
  } = options,
9635
- other = _objectWithoutPropertiesLoose(options, _excluded$2a);
9635
+ other = _objectWithoutPropertiesLoose(options, _excluded$29);
9636
9636
  if (options.vars) {
9637
9637
  throw new Error(`MUI: \`vars\` is a private field used for CSS variables support.
9638
9638
  Please use another name.` );
@@ -9960,7 +9960,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
9960
9960
  };
9961
9961
  var getOverlayAlpha$1 = getOverlayAlpha;
9962
9962
 
9963
- const _excluded$29 = ["colorSchemes", "cssVarPrefix"],
9963
+ const _excluded$28 = ["colorSchemes", "cssVarPrefix"],
9964
9964
  _excluded2$a = ["palette"];
9965
9965
  const defaultDarkOverlays = [...Array(25)].map((_, index) => {
9966
9966
  if (index === 0) {
@@ -10003,7 +10003,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
10003
10003
  colorSchemes: colorSchemesInput = {},
10004
10004
  cssVarPrefix = 'mui'
10005
10005
  } = options,
10006
- input = _objectWithoutPropertiesLoose(options, _excluded$29);
10006
+ input = _objectWithoutPropertiesLoose(options, _excluded$28);
10007
10007
  const getCssVar = createGetCssVar(cssVarPrefix);
10008
10008
  const _createThemeWithoutVa = createTheme(_extends({}, input, colorSchemesInput.light && {
10009
10009
  palette: (_colorSchemesInput$li = colorSchemesInput.light) == null ? void 0 : _colorSchemesInput$li.palette
@@ -10421,7 +10421,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
10421
10421
  };
10422
10422
  }
10423
10423
 
10424
- const _excluded$28 = ["elementType", "externalSlotProps", "ownerState"];
10424
+ const _excluded$27 = ["elementType", "externalSlotProps", "ownerState"];
10425
10425
  /**
10426
10426
  * @ignore - do not document.
10427
10427
  * Builds the props to be passed into the slot of an unstyled component.
@@ -10437,7 +10437,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
10437
10437
  externalSlotProps,
10438
10438
  ownerState
10439
10439
  } = parameters,
10440
- rest = _objectWithoutPropertiesLoose(parameters, _excluded$28);
10440
+ rest = _objectWithoutPropertiesLoose(parameters, _excluded$27);
10441
10441
  const resolvedComponentsProps = resolveComponentProps(externalSlotProps, ownerState);
10442
10442
  const {
10443
10443
  props: mergedProps,
@@ -10819,8 +10819,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
10819
10819
  }
10820
10820
  });
10821
10821
  const checkHighlightedOptionExists = () => {
10822
- var _previousProps$value;
10823
- if (highlightedIndexRef.current !== -1 && previousProps.filteredOptions && previousProps.filteredOptions.length !== filteredOptions.length && (multiple ? previousProps.value.every((val, i) => getOptionLabel(value[i]) === getOptionLabel(val)) : getOptionLabel((_previousProps$value = previousProps.value) != null ? _previousProps$value : '') === getOptionLabel(value != null ? value : ''))) {
10822
+ const isSameValue = (value1, value2) => {
10823
+ const label1 = value1 ? getOptionLabel(value1) : '';
10824
+ const label2 = value2 ? getOptionLabel(value2) : '';
10825
+ return label1 === label2;
10826
+ };
10827
+ if (highlightedIndexRef.current !== -1 && previousProps.filteredOptions && previousProps.filteredOptions.length !== filteredOptions.length && (multiple ? value.length === previousProps.value.length && previousProps.value.every((val, i) => getOptionLabel(value[i]) === getOptionLabel(val)) : isSameValue(previousProps.value, value))) {
10824
10828
  const previousHighlightedOption = previousProps.filteredOptions[highlightedIndexRef.current];
10825
10829
  if (previousHighlightedOption) {
10826
10830
  const previousHighlightedOptionExists = filteredOptions.some(option => {
@@ -11340,7 +11344,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
11340
11344
  ref: inputRef,
11341
11345
  autoCapitalize: 'none',
11342
11346
  spellCheck: 'false',
11343
- role: 'combobox'
11347
+ role: 'combobox',
11348
+ disabled: disabledProp
11344
11349
  }),
11345
11350
  getClearProps: () => ({
11346
11351
  tabIndex: -1,
@@ -11439,134 +11444,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
11439
11444
  };
11440
11445
  }
11441
11446
 
11442
- function getBadgeUnstyledUtilityClass(slot) {
11443
- return generateUtilityClass('MuiBadge', slot);
11444
- }
11445
- generateUtilityClasses('MuiBadge', ['root', 'badge', 'invisible']);
11446
-
11447
- const _excluded$27 = ["badgeContent", "component", "children", "invisible", "max", "slotProps", "slots", "showZero"];
11448
- const useUtilityClasses$1P = ownerState => {
11449
- const {
11450
- invisible
11451
- } = ownerState;
11452
- const slots = {
11453
- root: ['root'],
11454
- badge: ['badge', invisible && 'invisible']
11455
- };
11456
- return composeClasses(slots, getBadgeUnstyledUtilityClass, undefined);
11457
- };
11458
- /**
11459
- *
11460
- * Demos:
11461
- *
11462
- * - [Unstyled badge](https://mui.com/base/react-badge/)
11463
- *
11464
- * API:
11465
- *
11466
- * - [BadgeUnstyled API](https://mui.com/base/api/badge-unstyled/)
11467
- */
11468
- const BadgeUnstyled = /*#__PURE__*/React__namespace.forwardRef(function BadgeUnstyled(props, ref) {
11469
- const {
11470
- component,
11471
- children,
11472
- max: maxProp = 99,
11473
- slotProps = {},
11474
- slots = {},
11475
- showZero = false
11476
- } = props,
11477
- other = _objectWithoutPropertiesLoose(props, _excluded$27);
11478
- const {
11479
- badgeContent,
11480
- max,
11481
- displayValue,
11482
- invisible
11483
- } = useBadge(_extends({}, props, {
11484
- max: maxProp
11485
- }));
11486
- const ownerState = _extends({}, props, {
11487
- badgeContent,
11488
- invisible,
11489
- max,
11490
- showZero
11491
- });
11492
- const classes = useUtilityClasses$1P(ownerState);
11493
- const Root = component || slots.root || 'span';
11494
- const rootProps = useSlotProps({
11495
- elementType: Root,
11496
- externalSlotProps: slotProps.root,
11497
- externalForwardedProps: other,
11498
- additionalProps: {
11499
- ref
11500
- },
11501
- ownerState,
11502
- className: classes.root
11503
- });
11504
- const Badge = slots.badge || 'span';
11505
- const badgeProps = useSlotProps({
11506
- elementType: Badge,
11507
- externalSlotProps: slotProps.badge,
11508
- ownerState,
11509
- className: classes.badge
11510
- });
11511
- return /*#__PURE__*/jsxRuntime_2(Root, _extends({}, rootProps, {
11512
- children: [children, /*#__PURE__*/jsxRuntime_1(Badge, _extends({}, badgeProps, {
11513
- children: displayValue
11514
- }))]
11515
- }));
11516
- });
11517
- BadgeUnstyled.propTypes /* remove-proptypes */ = {
11518
- // ----------------------------- Warning --------------------------------
11519
- // | These PropTypes are generated from the TypeScript type definitions |
11520
- // | To update them edit TypeScript types and run "yarn proptypes" |
11521
- // ----------------------------------------------------------------------
11522
- /**
11523
- * The content rendered within the badge.
11524
- */
11525
- badgeContent: PropTypes.node,
11526
- /**
11527
- * The badge will be added relative to this node.
11528
- */
11529
- children: PropTypes.node,
11530
- /**
11531
- * The component used for the root node.
11532
- * Either a string to use a HTML element or a component.
11533
- */
11534
- component: PropTypes.elementType,
11535
- /**
11536
- * If `true`, the badge is invisible.
11537
- * @default false
11538
- */
11539
- invisible: PropTypes.bool,
11540
- /**
11541
- * Max count to show.
11542
- * @default 99
11543
- */
11544
- max: PropTypes.number,
11545
- /**
11546
- * Controls whether the badge is hidden when `badgeContent` is zero.
11547
- * @default false
11548
- */
11549
- showZero: PropTypes.bool,
11550
- /**
11551
- * The props used for each slot inside the Badge.
11552
- * @default {}
11553
- */
11554
- slotProps: PropTypes.shape({
11555
- badge: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
11556
- root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
11557
- }),
11558
- /**
11559
- * The components used for each slot inside the Badge.
11560
- * Either a string to use a HTML element or a component.
11561
- * @default {}
11562
- */
11563
- slots: PropTypes.shape({
11564
- badge: PropTypes.elementType,
11565
- root: PropTypes.elementType
11566
- })
11567
- } ;
11568
- var BadgeUnstyled$1 = BadgeUnstyled;
11569
-
11570
11447
  function mapEventPropToEvent(eventProp) {
11571
11448
  return eventProp.substring(2).toLowerCase();
11572
11449
  }
@@ -15751,8 +15628,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15751
15628
  }
15752
15629
 
15753
15630
  const _excluded$24 = ["onChange", "maxRows", "minRows", "style", "value"];
15754
- function getStyleValue(computedStyle, property) {
15755
- return parseInt(computedStyle[property], 10) || 0;
15631
+ function getStyleValue(value) {
15632
+ return parseInt(value, 10) || 0;
15756
15633
  }
15757
15634
  const styles$5 = {
15758
15635
  shadow: {
@@ -15770,8 +15647,20 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15770
15647
  }
15771
15648
  };
15772
15649
  function isEmpty$1(obj) {
15773
- return obj === undefined || obj === null || Object.keys(obj).length === 0;
15650
+ return obj === undefined || obj === null || Object.keys(obj).length === 0 || obj.outerHeightStyle === 0 && !obj.overflow;
15774
15651
  }
15652
+
15653
+ /**
15654
+ *
15655
+ * Demos:
15656
+ *
15657
+ * - [Textarea Autosize](https://mui.com/base/react-textarea-autosize/)
15658
+ * - [Textarea Autosize](https://mui.com/material-ui/react-textarea-autosize/)
15659
+ *
15660
+ * API:
15661
+ *
15662
+ * - [TextareaAutosize API](https://mui.com/base/api/textarea-autosize/)
15663
+ */
15775
15664
  const TextareaAutosize = /*#__PURE__*/React__namespace.forwardRef(function TextareaAutosize(props, ref) {
15776
15665
  const {
15777
15666
  onChange,
@@ -15788,7 +15677,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15788
15677
  const handleRef = useForkRef(ref, inputRef);
15789
15678
  const shadowRef = React__namespace.useRef(null);
15790
15679
  const renders = React__namespace.useRef(0);
15791
- const [state, setState] = React__namespace.useState({});
15680
+ const [state, setState] = React__namespace.useState({
15681
+ outerHeightStyle: 0
15682
+ });
15792
15683
  const getUpdatedState = React__namespace.useCallback(() => {
15793
15684
  const input = inputRef.current;
15794
15685
  const containerWindow = ownerWindow(input);
@@ -15796,7 +15687,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15796
15687
 
15797
15688
  // If input's width is shrunk and it's not visible, don't sync height.
15798
15689
  if (computedStyle.width === '0px') {
15799
- return {};
15690
+ return {
15691
+ outerHeightStyle: 0
15692
+ };
15800
15693
  }
15801
15694
  const inputShallow = shadowRef.current;
15802
15695
  inputShallow.style.width = computedStyle.width;
@@ -15807,9 +15700,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15807
15700
  // is empty. Make it non-empty to avoid this issue.
15808
15701
  inputShallow.value += ' ';
15809
15702
  }
15810
- const boxSizing = computedStyle['box-sizing'];
15811
- const padding = getStyleValue(computedStyle, 'padding-bottom') + getStyleValue(computedStyle, 'padding-top');
15812
- const border = getStyleValue(computedStyle, 'border-bottom-width') + getStyleValue(computedStyle, 'border-top-width');
15703
+ const boxSizing = computedStyle.boxSizing;
15704
+ const padding = getStyleValue(computedStyle.paddingBottom) + getStyleValue(computedStyle.paddingTop);
15705
+ const border = getStyleValue(computedStyle.borderBottomWidth) + getStyleValue(computedStyle.borderTopWidth);
15813
15706
 
15814
15707
  // The height of the inner content
15815
15708
  const innerHeight = inputShallow.scrollHeight;
@@ -15875,7 +15768,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15875
15768
  // In React 18, state updates in a ResizeObserver's callback are happening after the paint which causes flickering
15876
15769
  // when doing some visual updates in it. Using flushSync ensures that the dom will be painted after the states updates happen
15877
15770
  // Related issue - https://github.com/facebook/react/issues/24331
15878
- ReactDOM.flushSync(() => {
15771
+ ReactDOM__namespace.flushSync(() => {
15879
15772
  setState(prevState => {
15880
15773
  return updateState(prevState, newState);
15881
15774
  });
@@ -15893,12 +15786,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15893
15786
  syncHeightWithFlushSycn();
15894
15787
  }
15895
15788
  });
15896
- const containerWindow = ownerWindow(inputRef.current);
15897
- containerWindow.addEventListener('resize', handleResize);
15898
15789
  let resizeObserver;
15790
+ const input = inputRef.current;
15791
+ const containerWindow = ownerWindow(input);
15792
+ containerWindow.addEventListener('resize', handleResize);
15899
15793
  if (typeof ResizeObserver !== 'undefined') {
15900
15794
  resizeObserver = new ResizeObserver(handleResize);
15901
- resizeObserver.observe(inputRef.current);
15795
+ resizeObserver.observe(input);
15902
15796
  }
15903
15797
  return () => {
15904
15798
  handleResize.clear();
@@ -15935,7 +15829,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15935
15829
  height: state.outerHeightStyle,
15936
15830
  // Need a large enough difference to allow scrolling.
15937
15831
  // This prevents infinite rendering loop.
15938
- overflow: state.overflow ? 'hidden' : null
15832
+ overflow: state.overflow ? 'hidden' : undefined
15939
15833
  }, style)
15940
15834
  }, other)), /*#__PURE__*/jsxRuntime_1("textarea", {
15941
15835
  "aria-hidden": true,
@@ -15952,7 +15846,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15952
15846
  TextareaAutosize.propTypes /* remove-proptypes */ = {
15953
15847
  // ----------------------------- Warning --------------------------------
15954
15848
  // | These PropTypes are generated from the TypeScript type definitions |
15955
- // | To update them edit the d.ts file and run "yarn proptypes" |
15849
+ // | To update them edit TypeScript types and run "yarn proptypes" |
15956
15850
  // ----------------------------------------------------------------------
15957
15851
  /**
15958
15852
  * @ignore
@@ -19974,7 +19868,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19974
19868
 
19975
19869
  // var2 is the fallback.
19976
19870
  // Ex. var1: 'var(--a)', var2: 'var(--b)'; return: 'var(--a, var(--b))'
19977
- const joinVars = (var1, var2) => `${var1 == null ? void 0 : var1.replace(')', '')}, ${var2})`;
19871
+ const joinVars = (var1, var2) => var1 ? `${var1 == null ? void 0 : var1.replace(')', '')}, ${var2})` : var2;
19978
19872
  const AppBarRoot = styled$1(Paper$1, {
19979
19873
  name: 'MuiAppBar',
19980
19874
  slot: 'Root',
@@ -21877,6 +21771,20 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
21877
21771
  [`& .${inputBaseClasses$1.hiddenLabel}`]: {
21878
21772
  paddingTop: 8
21879
21773
  },
21774
+ [`& .${filledInputClasses$1.root}.${inputBaseClasses$1.hiddenLabel}`]: {
21775
+ paddingTop: 0,
21776
+ paddingBottom: 0,
21777
+ [`& .${autocompleteClasses$1.input}`]: {
21778
+ paddingTop: 16,
21779
+ paddingBottom: 17
21780
+ }
21781
+ },
21782
+ [`& .${filledInputClasses$1.root}.${inputBaseClasses$1.hiddenLabel}.${inputBaseClasses$1.sizeSmall}`]: {
21783
+ [`& .${autocompleteClasses$1.input}`]: {
21784
+ paddingTop: 8,
21785
+ paddingBottom: 9
21786
+ }
21787
+ },
21880
21788
  [`& .${autocompleteClasses$1.input}`]: _extends({
21881
21789
  flexGrow: 1,
21882
21790
  textOverflow: 'ellipsis',
@@ -22884,6 +22792,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22884
22792
  children = alt[0];
22885
22793
  } else {
22886
22794
  children = /*#__PURE__*/jsxRuntime_1(AvatarFallback, {
22795
+ ownerState: ownerState,
22887
22796
  className: classes.fallback
22888
22797
  });
22889
22798
  }
@@ -23356,7 +23265,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23356
23265
  const backdropClasses = generateUtilityClasses('MuiBackdrop', ['root', 'invisible']);
23357
23266
  var backdropClasses$1 = backdropClasses;
23358
23267
 
23359
- const _excluded$1J = ["children", "component", "components", "componentsProps", "className", "invisible", "open", "slotProps", "slots", "transitionDuration", "TransitionComponent"];
23268
+ const _excluded$1J = ["children", "className", "component", "components", "componentsProps", "invisible", "open", "slotProps", "slots", "TransitionComponent", "transitionDuration"];
23360
23269
  const useUtilityClasses$1t = ownerState => {
23361
23270
  const {
23362
23271
  classes,
@@ -23400,17 +23309,16 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23400
23309
  });
23401
23310
  const {
23402
23311
  children,
23312
+ className,
23403
23313
  component = 'div',
23404
23314
  components = {},
23405
23315
  componentsProps = {},
23406
- className,
23407
23316
  invisible = false,
23408
23317
  open,
23409
23318
  slotProps = {},
23410
23319
  slots = {},
23411
- transitionDuration,
23412
- // eslint-disable-next-line react/prop-types
23413
- TransitionComponent = Fade$1
23320
+ TransitionComponent = Fade$1,
23321
+ transitionDuration
23414
23322
  } = props,
23415
23323
  other = _objectWithoutPropertiesLoose(props, _excluded$1J);
23416
23324
  const ownerState = _extends({}, props, {
@@ -23515,6 +23423,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23515
23423
  * The system prop that allows defining system overrides as well as additional CSS styles.
23516
23424
  */
23517
23425
  sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
23426
+ /**
23427
+ * The component used for the transition.
23428
+ * [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
23429
+ * @default Fade
23430
+ */
23431
+ TransitionComponent: PropTypes.elementType,
23518
23432
  /**
23519
23433
  * The duration for the transition, in milliseconds.
23520
23434
  * You may specify a single timeout for all transitions, or individually with an object.
@@ -23527,11 +23441,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23527
23441
  } ;
23528
23442
  var Backdrop$1 = Backdrop;
23529
23443
 
23530
- const shouldSpreadAdditionalProps = Slot => {
23531
- return !Slot || !isHostComponent(Slot);
23532
- };
23533
- var shouldSpreadAdditionalProps$1 = shouldSpreadAdditionalProps;
23534
-
23535
23444
  function getBadgeUtilityClass(slot) {
23536
23445
  return generateUtilityClass('MuiBadge', slot);
23537
23446
  }
@@ -23540,7 +23449,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23540
23449
  'anchorOriginTopLeftCircular', 'anchorOriginTopLeftRectangular', 'anchorOriginTopRightCircular', 'anchorOriginTopRightRectangular', 'anchorOriginBottomLeftCircular', 'anchorOriginBottomLeftRectangular', 'anchorOriginBottomRightCircular', 'anchorOriginBottomRightRectangular']);
23541
23450
  var badgeClasses$1 = badgeClasses;
23542
23451
 
23543
- const _excluded$1I = ["anchorOrigin", "className", "component", "components", "componentsProps", "overlap", "color", "invisible", "max", "badgeContent", "slots", "slotProps", "showZero", "variant"];
23452
+ const _excluded$1I = ["anchorOrigin", "className", "classes", "component", "components", "componentsProps", "children", "overlap", "color", "invisible", "max", "badgeContent", "slots", "slotProps", "showZero", "variant"];
23544
23453
  const RADIUS_STANDARD = 10;
23545
23454
  const RADIUS_DOT = 4;
23546
23455
  const useUtilityClasses$1s = ownerState => {
@@ -23694,13 +23603,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23694
23603
  horizontal: 'right'
23695
23604
  },
23696
23605
  className,
23697
- component = 'span',
23606
+ component,
23698
23607
  components = {},
23699
23608
  componentsProps = {},
23609
+ children,
23700
23610
  overlap: overlapProp = 'rectangular',
23701
23611
  color: colorProp = 'default',
23702
23612
  invisible: invisibleProp = false,
23703
- max,
23613
+ max: maxProp = 99,
23704
23614
  badgeContent: badgeContentProp,
23705
23615
  slots,
23706
23616
  slotProps,
@@ -23708,73 +23618,71 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23708
23618
  variant: variantProp = 'standard'
23709
23619
  } = props,
23710
23620
  other = _objectWithoutPropertiesLoose(props, _excluded$1I);
23621
+ const {
23622
+ badgeContent,
23623
+ invisible: invisibleFromHook,
23624
+ max,
23625
+ displayValue: displayValueFromHook
23626
+ } = useBadge({
23627
+ max: maxProp,
23628
+ invisible: invisibleProp,
23629
+ badgeContent: badgeContentProp,
23630
+ showZero
23631
+ });
23711
23632
  const prevProps = usePreviousProps$1({
23712
23633
  anchorOrigin: anchorOriginProp,
23713
23634
  color: colorProp,
23714
23635
  overlap: overlapProp,
23715
- variant: variantProp
23636
+ variant: variantProp,
23637
+ badgeContent: badgeContentProp
23716
23638
  });
23717
- let invisible = invisibleProp;
23718
- if (invisibleProp === false && (badgeContentProp === 0 && !showZero || badgeContentProp == null && variantProp !== 'dot')) {
23719
- invisible = true;
23720
- }
23639
+ const invisible = invisibleFromHook || badgeContent == null && variantProp !== 'dot';
23721
23640
  const {
23722
23641
  color = colorProp,
23723
23642
  overlap = overlapProp,
23724
23643
  anchorOrigin = anchorOriginProp,
23725
23644
  variant = variantProp
23726
23645
  } = invisible ? prevProps : props;
23646
+ const displayValue = variant !== 'dot' ? displayValueFromHook : undefined;
23727
23647
  const ownerState = _extends({}, props, {
23728
- anchorOrigin,
23648
+ badgeContent,
23729
23649
  invisible,
23650
+ max,
23651
+ displayValue,
23652
+ showZero,
23653
+ anchorOrigin,
23730
23654
  color,
23731
23655
  overlap,
23732
23656
  variant
23733
23657
  });
23734
23658
  const classes = useUtilityClasses$1s(ownerState);
23735
- let displayValue;
23736
- if (variant !== 'dot') {
23737
- displayValue = badgeContentProp && Number(badgeContentProp) > max ? `${max}+` : badgeContentProp;
23738
- }
23739
23659
 
23740
23660
  // support both `slots` and `components` for backward compatibility
23741
23661
  const RootSlot = (_ref = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components.Root) != null ? _ref : BadgeRoot;
23742
23662
  const BadgeSlot = (_ref2 = (_slots$badge = slots == null ? void 0 : slots.badge) != null ? _slots$badge : components.Badge) != null ? _ref2 : BadgeBadge;
23743
23663
  const rootSlotProps = (_slotProps$root = slotProps == null ? void 0 : slotProps.root) != null ? _slotProps$root : componentsProps.root;
23744
23664
  const badgeSlotProps = (_slotProps$badge = slotProps == null ? void 0 : slotProps.badge) != null ? _slotProps$badge : componentsProps.badge;
23745
- return /*#__PURE__*/jsxRuntime_1(BadgeUnstyled$1, _extends({
23746
- invisible: invisibleProp,
23747
- badgeContent: displayValue,
23748
- showZero: showZero,
23749
- max: max
23750
- }, other, {
23751
- slots: {
23752
- root: RootSlot,
23753
- badge: BadgeSlot
23754
- },
23755
- className: clsx(rootSlotProps == null ? void 0 : rootSlotProps.className, classes.root, className),
23756
- slotProps: {
23757
- root: _extends({}, rootSlotProps, shouldSpreadAdditionalProps$1(RootSlot) && {
23758
- as: component,
23759
- ownerState: _extends({}, rootSlotProps == null ? void 0 : rootSlotProps.ownerState, {
23760
- anchorOrigin,
23761
- color,
23762
- overlap,
23763
- variant
23764
- })
23765
- }),
23766
- badge: _extends({}, badgeSlotProps, {
23767
- className: clsx(classes.badge, badgeSlotProps == null ? void 0 : badgeSlotProps.className)
23768
- }, shouldSpreadAdditionalProps$1(BadgeSlot) && {
23769
- ownerState: _extends({}, badgeSlotProps == null ? void 0 : badgeSlotProps.ownerState, {
23770
- anchorOrigin,
23771
- color,
23772
- overlap,
23773
- variant
23774
- })
23775
- })
23665
+ const rootProps = useSlotProps({
23666
+ elementType: RootSlot,
23667
+ externalSlotProps: rootSlotProps,
23668
+ externalForwardedProps: other,
23669
+ additionalProps: {
23670
+ ref,
23671
+ as: component
23776
23672
  },
23777
- ref: ref
23673
+ ownerState,
23674
+ className: clsx(rootSlotProps == null ? void 0 : rootSlotProps.className, classes.root, className)
23675
+ });
23676
+ const badgeProps = useSlotProps({
23677
+ elementType: BadgeSlot,
23678
+ externalSlotProps: badgeSlotProps,
23679
+ ownerState,
23680
+ className: clsx(classes.badge, badgeSlotProps == null ? void 0 : badgeSlotProps.className)
23681
+ });
23682
+ return /*#__PURE__*/jsxRuntime_2(RootSlot, _extends({}, rootProps, {
23683
+ children: [children, /*#__PURE__*/jsxRuntime_1(BadgeSlot, _extends({}, badgeProps, {
23684
+ children: displayValue
23685
+ }))]
23778
23686
  }));
23779
23687
  });
23780
23688
  Badge.propTypes /* remove-proptypes */ = {
@@ -25898,7 +25806,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25898
25806
  defaultChecked: defaultChecked,
25899
25807
  className: classes.input,
25900
25808
  disabled: disabled,
25901
- id: hasLabelFor && id,
25809
+ id: hasLabelFor ? id : undefined,
25902
25810
  name: name,
25903
25811
  onChange: handleInputChange,
25904
25812
  readOnly: readOnly,
@@ -26963,7 +26871,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26963
26871
  const dialogClasses = generateUtilityClasses('MuiDialog', ['root', 'scrollPaper', 'scrollBody', 'container', 'paper', 'paperScrollPaper', 'paperScrollBody', 'paperWidthFalse', 'paperWidthXs', 'paperWidthSm', 'paperWidthMd', 'paperWidthLg', 'paperWidthXl', 'paperFullWidth', 'paperFullScreen']);
26964
26872
  var dialogClasses$1 = dialogClasses;
26965
26873
 
26966
- const DialogContext = /*#__PURE__*/React.createContext({});
26874
+ const DialogContext = /*#__PURE__*/React__namespace.createContext({});
26967
26875
  {
26968
26876
  DialogContext.displayName = 'DialogContext';
26969
26877
  }
@@ -30928,9 +30836,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30928
30836
  */
30929
30837
 
30930
30838
  function useMediaQueryOld(query, defaultMatches, matchMedia, ssrMatchMedia, noSsr) {
30931
- const supportMatchMedia = typeof window !== 'undefined' && typeof window.matchMedia !== 'undefined';
30932
30839
  const [match, setMatch] = React__namespace.useState(() => {
30933
- if (noSsr && supportMatchMedia) {
30840
+ if (noSsr && matchMedia) {
30934
30841
  return matchMedia(query).matches;
30935
30842
  }
30936
30843
  if (ssrMatchMedia) {
@@ -30943,7 +30850,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30943
30850
  });
30944
30851
  useEnhancedEffect$1(() => {
30945
30852
  let active = true;
30946
- if (!supportMatchMedia) {
30853
+ if (!matchMedia) {
30947
30854
  return undefined;
30948
30855
  }
30949
30856
  const queryList = matchMedia(query);
@@ -30962,15 +30869,18 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30962
30869
  active = false;
30963
30870
  queryList.removeListener(updateMatch);
30964
30871
  };
30965
- }, [query, matchMedia, supportMatchMedia]);
30872
+ }, [query, matchMedia]);
30966
30873
  return match;
30967
30874
  }
30968
30875
 
30969
30876
  // eslint-disable-next-line no-useless-concat -- Workaround for https://github.com/webpack/webpack/issues/14814
30970
30877
  const maybeReactUseSyncExternalStore = React__namespace['useSyncExternalStore' + ''];
30971
- function useMediaQueryNew(query, defaultMatches, matchMedia, ssrMatchMedia) {
30878
+ function useMediaQueryNew(query, defaultMatches, matchMedia, ssrMatchMedia, noSsr) {
30972
30879
  const getDefaultSnapshot = React__namespace.useCallback(() => defaultMatches, [defaultMatches]);
30973
30880
  const getServerSnapshot = React__namespace.useMemo(() => {
30881
+ if (noSsr && matchMedia) {
30882
+ return () => matchMedia(query).matches;
30883
+ }
30974
30884
  if (ssrMatchMedia !== null) {
30975
30885
  const {
30976
30886
  matches
@@ -30978,7 +30888,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30978
30888
  return () => matches;
30979
30889
  }
30980
30890
  return getDefaultSnapshot;
30981
- }, [getDefaultSnapshot, query, ssrMatchMedia]);
30891
+ }, [getDefaultSnapshot, query, ssrMatchMedia, noSsr, matchMedia]);
30982
30892
  const [getSnapshot, subscribe] = React__namespace.useMemo(() => {
30983
30893
  if (matchMedia === null) {
30984
30894
  return [getDefaultSnapshot, () => () => {}];
@@ -31006,7 +30916,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
31006
30916
  defaultMatches = false,
31007
30917
  matchMedia = supportMatchMedia ? window.matchMedia : null,
31008
30918
  ssrMatchMedia = null,
31009
- noSsr
30919
+ noSsr = false
31010
30920
  } = getThemeProps({
31011
30921
  name: 'MuiUseMediaQuery',
31012
30922
  props: options,
@@ -39794,6 +39704,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
39794
39704
  } ;
39795
39705
  var Skeleton$1 = Skeleton;
39796
39706
 
39707
+ const shouldSpreadAdditionalProps = Slot => {
39708
+ return !Slot || !isHostComponent(Slot);
39709
+ };
39710
+ var shouldSpreadAdditionalProps$1 = shouldSpreadAdditionalProps;
39711
+
39797
39712
  function getSliderUtilityClass(slot) {
39798
39713
  return generateUtilityClass('MuiSlider', slot);
39799
39714
  }
@@ -44598,7 +44513,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
44598
44513
  }
44599
44514
  claimedSwipeInstance = null;
44600
44515
  touchDetected.current = false;
44601
- ReactDOM.flushSync(() => {
44516
+ ReactDOM__namespace.flushSync(() => {
44602
44517
  setMaybeSwiping(false);
44603
44518
  });
44604
44519
 
@@ -44650,7 +44565,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
44650
44565
  // this is because Safari Mobile will not fire any mouse events (still fires touch though) if the DOM changes during mousemove.
44651
44566
  // so do this change on first touchmove instead of touchstart
44652
44567
  if (force || !(disableDiscovery && allowSwipeInChildren)) {
44653
- ReactDOM.flushSync(() => {
44568
+ ReactDOM__namespace.flushSync(() => {
44654
44569
  setMaybeSwiping(true);
44655
44570
  });
44656
44571
  }