@mui/material 5.9.1 → 5.9.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 (187) 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/appBarClasses.d.ts +28 -28
  8. package/Autocomplete/autocompleteClasses.d.ts +54 -54
  9. package/Avatar/avatarClasses.d.ts +20 -20
  10. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  11. package/Backdrop/backdropClasses.d.ts +10 -10
  12. package/Badge/badgeClasses.d.ts +56 -56
  13. package/BottomNavigation/BottomNavigation.js +0 -0
  14. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  15. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  16. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  17. package/Button/buttonClasses.d.ts +100 -100
  18. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  19. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  20. package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
  21. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  22. package/CHANGELOG.md +66 -4
  23. package/Card/cardClasses.d.ts +8 -8
  24. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  25. package/CardActions/cardActionsClasses.d.ts +10 -10
  26. package/CardContent/cardContentClasses.d.ts +8 -8
  27. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  28. package/CardMedia/cardMediaClasses.d.ts +12 -12
  29. package/Checkbox/checkboxClasses.d.ts +18 -18
  30. package/Chip/chipClasses.d.ts +80 -80
  31. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  32. package/ClickAwayListener/index.d.ts +2 -2
  33. package/Collapse/collapseClasses.d.ts +18 -18
  34. package/Container/containerClasses.d.ts +6 -6
  35. package/Dialog/Dialog.js +2 -1
  36. package/Dialog/DialogContext.d.ts +6 -6
  37. package/Dialog/dialogClasses.d.ts +36 -36
  38. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  39. package/DialogContent/dialogContentClasses.d.ts +10 -10
  40. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  41. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  42. package/Divider/dividerClasses.d.ts +34 -34
  43. package/Drawer/drawerClasses.d.ts +30 -30
  44. package/Fab/fabClasses.d.ts +26 -26
  45. package/FilledInput/filledInputClasses.d.ts +40 -40
  46. package/FormControl/formControlClasses.d.ts +14 -14
  47. package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
  48. package/FormGroup/formGroupClasses.d.ts +12 -12
  49. package/FormHelperText/FormHelperText.d.ts +7 -1
  50. package/FormHelperText/FormHelperText.js +3 -1
  51. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  52. package/FormLabel/formLabelClasses.d.ts +22 -22
  53. package/Grid/gridClasses.d.ts +48 -48
  54. package/Icon/iconClasses.d.ts +24 -24
  55. package/IconButton/iconButtonClasses.d.ts +26 -26
  56. package/ImageList/imageListClasses.d.ts +16 -16
  57. package/ImageListItem/ImageListItem.js +4 -4
  58. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  59. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  60. package/Input/inputClasses.d.ts +34 -34
  61. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  62. package/InputBase/inputBaseClasses.d.ts +44 -44
  63. package/InputLabel/inputLabelClasses.d.ts +32 -32
  64. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  65. package/Link/getTextDecoration.d.ts +15 -15
  66. package/Link/linkClasses.d.ts +18 -18
  67. package/List/listClasses.d.ts +14 -14
  68. package/ListItem/listItemClasses.d.ts +30 -30
  69. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  70. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  71. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  72. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  73. package/ListItemText/listItemTextClasses.d.ts +18 -18
  74. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  75. package/Menu/menuClasses.d.ts +12 -12
  76. package/MenuItem/menuItemClasses.d.ts +20 -20
  77. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  78. package/Modal/Modal.d.ts +2 -1
  79. package/Modal/Modal.js +2 -1
  80. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  81. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  82. package/OverridableComponent.d.ts +4 -0
  83. package/Pagination/paginationClasses.d.ts +14 -14
  84. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  85. package/Paper/paperClasses.d.ts +39 -39
  86. package/Popover/popoverClasses.d.ts +10 -10
  87. package/Popper/Popper.d.ts +24 -24
  88. package/Popper/Popper.js +24 -0
  89. package/README.md +3 -2
  90. package/Radio/radioClasses.d.ts +16 -16
  91. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  92. package/RadioGroup/useRadioGroup.d.ts +4 -4
  93. package/Rating/ratingClasses.d.ts +40 -40
  94. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  95. package/Select/selectClasses.d.ts +30 -30
  96. package/Skeleton/skeletonClasses.d.ts +24 -24
  97. package/Snackbar/snackbarClasses.d.ts +20 -20
  98. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  99. package/SpeedDial/speedDialClasses.d.ts +22 -22
  100. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  101. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  102. package/Stack/Stack.js +13 -1
  103. package/Step/StepContext.d.ts +20 -20
  104. package/Step/stepClasses.d.ts +16 -16
  105. package/StepButton/stepButtonClasses.d.ts +14 -14
  106. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  107. package/StepContent/stepContentClasses.d.ts +12 -12
  108. package/StepIcon/stepIconClasses.d.ts +16 -16
  109. package/StepLabel/stepLabelClasses.d.ts +28 -28
  110. package/Stepper/StepperContext.d.ts +18 -18
  111. package/Stepper/stepperClasses.d.ts +14 -14
  112. package/SvgIcon/svgIconClasses.d.ts +24 -24
  113. package/Switch/switchClasses.d.ts +32 -32
  114. package/Tab/tabClasses.d.ts +26 -26
  115. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  116. package/Table/tableClasses.d.ts +10 -10
  117. package/TableBody/tableBodyClasses.d.ts +8 -8
  118. package/TableCell/tableCellClasses.d.ts +32 -32
  119. package/TableContainer/tableContainerClasses.d.ts +8 -8
  120. package/TableFooter/tableFooterClasses.d.ts +8 -8
  121. package/TableHead/tableHeadClasses.d.ts +8 -8
  122. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  123. package/TableRow/tableRowClasses.d.ts +16 -16
  124. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  125. package/Tabs/Tabs.d.ts +7 -1
  126. package/Tabs/Tabs.js +3 -1
  127. package/Tabs/tabsClasses.d.ts +32 -32
  128. package/TextField/textFieldClasses.d.ts +8 -8
  129. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  130. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  131. package/Toolbar/toolbarClasses.d.ts +14 -14
  132. package/Tooltip/Tooltip.js +5 -6
  133. package/Tooltip/tooltipClasses.d.ts +30 -30
  134. package/Typography/typographyClasses.d.ts +50 -50
  135. package/Unstable_Grid2/Grid2.d.ts +4 -4
  136. package/Unstable_Grid2/Grid2Props.d.ts +15 -15
  137. package/Unstable_Grid2/grid2Classes.d.ts +5 -5
  138. package/Unstable_Grid2/index.d.ts +4 -4
  139. package/className/index.d.ts +1 -1
  140. package/darkScrollbar/index.d.ts +28 -28
  141. package/index.js +1 -1
  142. package/internal/switchBaseClasses.d.ts +12 -12
  143. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  144. package/legacy/Dialog/Dialog.js +2 -1
  145. package/legacy/FormHelperText/FormHelperText.js +3 -1
  146. package/legacy/ImageListItem/ImageListItem.js +4 -4
  147. package/legacy/Modal/Modal.js +2 -1
  148. package/legacy/Popper/Popper.js +24 -0
  149. package/legacy/Stack/Stack.js +13 -1
  150. package/legacy/Tabs/Tabs.js +3 -1
  151. package/legacy/Tooltip/Tooltip.js +5 -6
  152. package/legacy/index.js +1 -1
  153. package/locale/index.d.ts +71 -71
  154. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  155. package/modern/Dialog/Dialog.js +2 -1
  156. package/modern/FormHelperText/FormHelperText.js +3 -1
  157. package/modern/ImageListItem/ImageListItem.js +4 -4
  158. package/modern/Modal/Modal.js +2 -1
  159. package/modern/Popper/Popper.js +24 -0
  160. package/modern/Stack/Stack.js +13 -1
  161. package/modern/Tabs/Tabs.js +3 -1
  162. package/modern/Tooltip/Tooltip.js +5 -6
  163. package/modern/index.js +1 -1
  164. package/node/BottomNavigation/BottomNavigation.js +0 -0
  165. package/node/Dialog/Dialog.js +2 -1
  166. package/node/FormHelperText/FormHelperText.js +3 -1
  167. package/node/ImageListItem/ImageListItem.js +4 -4
  168. package/node/Modal/Modal.js +2 -1
  169. package/node/Popper/Popper.js +24 -0
  170. package/node/Stack/Stack.js +13 -1
  171. package/node/Tabs/Tabs.js +3 -1
  172. package/node/Tooltip/Tooltip.js +5 -6
  173. package/node/index.js +1 -1
  174. package/package.json +4 -4
  175. package/styles/CssVarsProvider.d.ts +14 -14
  176. package/transitions/index.d.ts +1 -1
  177. package/transitions/transition.d.ts +13 -13
  178. package/transitions/utils.d.ts +23 -23
  179. package/umd/material-ui.development.js +111 -25
  180. package/umd/material-ui.production.min.js +20 -20
  181. package/useMediaQuery/useMediaQuery.d.ts +31 -31
  182. package/useTouchRipple/index.d.ts +1 -1
  183. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  184. package/utils/getScrollbarSize.d.ts +2 -2
  185. package/utils/ownerDocument.d.ts +2 -2
  186. package/utils/ownerWindow.d.ts +2 -2
  187. package/utils/setRef.d.ts +2 -2
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.9.1
1
+ /** @license MUI v5.9.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.
@@ -8292,7 +8292,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8292
8292
  defaultTheme: defaultTheme$5
8293
8293
  });
8294
8294
 
8295
- const useUtilityClasses$1P = (ownerState, componentName) => {
8295
+ const useUtilityClasses$1Q = (ownerState, componentName) => {
8296
8296
  const getContainerUtilityClass = slot => {
8297
8297
  return generateUtilityClass(componentName, slot);
8298
8298
  };
@@ -8385,7 +8385,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8385
8385
  }); // @ts-ignore module augmentation fails if custom breakpoints are used
8386
8386
 
8387
8387
 
8388
- const classes = useUtilityClasses$1P(ownerState, componentName);
8388
+ const classes = useUtilityClasses$1Q(ownerState, componentName);
8389
8389
  return (
8390
8390
  /*#__PURE__*/
8391
8391
  // @ts-ignore theme is injected by the styled util
@@ -10159,7 +10159,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
10159
10159
 
10160
10160
  const _excluded$2c = ["badgeContent", "component", "children", "components", "componentsProps", "invisible", "max", "showZero"];
10161
10161
 
10162
- const useUtilityClasses$1O = ownerState => {
10162
+ const useUtilityClasses$1P = ownerState => {
10163
10163
  const {
10164
10164
  invisible
10165
10165
  } = ownerState;
@@ -10208,7 +10208,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
10208
10208
  showZero
10209
10209
  });
10210
10210
 
10211
- const classes = useUtilityClasses$1O(ownerState);
10211
+ const classes = useUtilityClasses$1P(ownerState);
10212
10212
  const Root = component || components.Root || 'span';
10213
10213
  const rootProps = useSlotProps({
10214
10214
  elementType: Root,
@@ -12527,7 +12527,12 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
12527
12527
 
12528
12528
  var Portal$1 = Portal;
12529
12529
 
12530
- const _excluded$2b = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "ownerState", "placement", "popperOptions", "popperRef", "TransitionProps"],
12530
+ function getPopperUnstyledUtilityClass(slot) {
12531
+ return generateUtilityClass('MuiPopperUnstyled', slot);
12532
+ }
12533
+ generateUtilityClasses('MuiPopperUnstyled', ['root']);
12534
+
12535
+ const _excluded$2b = ["anchorEl", "children", "component", "components", "componentsProps", "direction", "disablePortal", "modifiers", "open", "ownerState", "placement", "popperOptions", "popperRef", "TransitionProps"],
12531
12536
  _excluded2$a = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition"];
12532
12537
 
12533
12538
  function flipPlacement(placement, direction) {
@@ -12557,17 +12562,30 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
12557
12562
  return typeof anchorEl === 'function' ? anchorEl() : anchorEl;
12558
12563
  }
12559
12564
 
12565
+ const useUtilityClasses$1O = () => {
12566
+ const slots = {
12567
+ root: ['root']
12568
+ };
12569
+ return composeClasses(slots, getPopperUnstyledUtilityClass, {});
12570
+ };
12571
+
12560
12572
  const defaultPopperOptions = {};
12561
12573
  /* eslint-disable react/prop-types */
12562
12574
 
12563
12575
  const PopperTooltip = /*#__PURE__*/React__namespace.forwardRef(function PopperTooltip(props, ref) {
12576
+ var _ref;
12577
+
12564
12578
  const {
12565
12579
  anchorEl,
12566
12580
  children,
12581
+ component,
12582
+ components = {},
12583
+ componentsProps = {},
12567
12584
  direction,
12568
12585
  disablePortal,
12569
12586
  modifiers,
12570
12587
  open,
12588
+ ownerState,
12571
12589
  placement: initialPlacement,
12572
12590
  popperOptions,
12573
12591
  popperRef: popperRefProp,
@@ -12665,10 +12683,20 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
12665
12683
  childProps.TransitionProps = TransitionProps;
12666
12684
  }
12667
12685
 
12668
- return /*#__PURE__*/jsxRuntime_1("div", _extends({
12669
- ref: ownRef,
12670
- role: "tooltip"
12671
- }, other, {
12686
+ const classes = useUtilityClasses$1O();
12687
+ const Root = (_ref = component != null ? component : components.Root) != null ? _ref : 'div';
12688
+ const rootProps = useSlotProps({
12689
+ elementType: Root,
12690
+ externalSlotProps: componentsProps.root,
12691
+ externalForwardedProps: other,
12692
+ additionalProps: {
12693
+ role: 'tooltip',
12694
+ ref: ownRef
12695
+ },
12696
+ ownerState: _extends({}, props, ownerState),
12697
+ className: classes.root
12698
+ });
12699
+ return /*#__PURE__*/jsxRuntime_1(Root, _extends({}, rootProps, {
12672
12700
  children: typeof children === 'function' ? children(childProps) : children
12673
12701
  }));
12674
12702
  });
@@ -12784,6 +12812,23 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
12784
12812
  /* @typescript-to-proptypes-ignore */
12785
12813
  .oneOfType([PropTypes.node, PropTypes.func]),
12786
12814
 
12815
+ /**
12816
+ * The components used for each slot inside the Popper.
12817
+ * Either a string to use a HTML element or a component.
12818
+ * @default {}
12819
+ */
12820
+ components: PropTypes.shape({
12821
+ Root: PropTypes.elementType
12822
+ }),
12823
+
12824
+ /**
12825
+ * The props used for each slot inside the Popper.
12826
+ * @default {}
12827
+ */
12828
+ componentsProps: PropTypes.shape({
12829
+ root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
12830
+ }),
12831
+
12787
12832
  /**
12788
12833
  * An HTML element or function that returns one.
12789
12834
  * The `container` will have the portal children appended to it.
@@ -21094,6 +21139,30 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
21094
21139
  /* @typescript-to-proptypes-ignore */
21095
21140
  .oneOfType([PropTypes.node, PropTypes.func]),
21096
21141
 
21142
+ /**
21143
+ * @ignore
21144
+ */
21145
+ component: PropTypes
21146
+ /* @typescript-to-proptypes-ignore */
21147
+ .elementType,
21148
+
21149
+ /**
21150
+ * The components used for each slot inside the Popper.
21151
+ * Either a string to use a HTML element or a component.
21152
+ * @default {}
21153
+ */
21154
+ components: PropTypes.shape({
21155
+ Root: PropTypes.elementType
21156
+ }),
21157
+
21158
+ /**
21159
+ * The props used for each slot inside the Popper.
21160
+ * @default {}
21161
+ */
21162
+ componentsProps: PropTypes.shape({
21163
+ root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
21164
+ }),
21165
+
21097
21166
  /**
21098
21167
  * An HTML element or function that returns one.
21099
21168
  * The `container` will have the portal children appended to it.
@@ -28208,7 +28277,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28208
28277
 
28209
28278
  /**
28210
28279
  * A backdrop component. This prop enables custom backdrop rendering.
28211
- * @deprecated Use `components.Backdrop` instead.
28280
+ * @deprecated Use `components.Backdrop` instead. While this prop currently works, it will be removed in the next major version.
28281
+ * Use the `components.Backdrop` prop to make your application ready for the next version of Material UI.
28212
28282
  * @default styled(Backdrop, {
28213
28283
  * name: 'MuiModal',
28214
28284
  * slot: 'Backdrop',
@@ -28654,7 +28724,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28654
28724
 
28655
28725
  /**
28656
28726
  * A backdrop component. This prop enables custom backdrop rendering.
28657
- * @deprecated Use `components.Backdrop` instead.
28727
+ * @deprecated Use `components.Backdrop` instead. While this prop currently works, it will be removed in the next major version.
28728
+ * Use the `components.Backdrop` prop to make your application ready for the next version of Material UI.
28658
28729
  * @default styled(Backdrop, {
28659
28730
  * name: 'MuiModal',
28660
28731
  * slot: 'Backdrop',
@@ -31592,7 +31663,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
31592
31663
  /**
31593
31664
  * The variant to use.
31594
31665
  */
31595
- variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])
31666
+ variant: PropTypes
31667
+ /* @typescript-to-proptypes-ignore */
31668
+ .oneOfType([PropTypes.oneOf(['filled', 'outlined', 'standard']), PropTypes.string])
31596
31669
  } ;
31597
31670
  var FormHelperText$1 = FormHelperText;
31598
31671
 
@@ -33767,9 +33840,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33767
33840
  })(({
33768
33841
  ownerState
33769
33842
  }) => _extends({
33770
- display: 'inline-block',
33771
- position: 'relative',
33772
- lineHeight: 0
33843
+ display: 'block',
33844
+ position: 'relative'
33773
33845
  }, ownerState.variant === 'standard' && {
33774
33846
  // For titlebar under list item
33775
33847
  display: 'flex',
@@ -33784,7 +33856,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33784
33856
  [`& .${imageListItemClasses$1.img}`]: _extends({
33785
33857
  objectFit: 'cover',
33786
33858
  width: '100%',
33787
- height: '100%'
33859
+ height: '100%',
33860
+ display: 'block'
33788
33861
  }, ownerState.variant === 'standard' && {
33789
33862
  height: 'auto',
33790
33863
  flexGrow: 1
@@ -44860,15 +44933,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
44860
44933
  const handleEnter = event => {
44861
44934
  if (ignoreNonTouchEvents.current && event.type !== 'touchstart') {
44862
44935
  return;
44863
- } // Workaround for https://github.com/facebook/react/issues/7769
44864
-
44865
-
44866
- if (!childNode) {
44867
- setChildNode(event.currentTarget);
44868
44936
  } // Remove the title ahead of time.
44869
44937
  // We don't want to wait for the next render commit.
44870
44938
  // We would risk displaying two tooltips at the same time (native + this one).
44871
- else {
44939
+
44940
+
44941
+ if (childNode) {
44872
44942
  childNode.removeAttribute('title');
44873
44943
  }
44874
44944
 
@@ -44913,6 +44983,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
44913
44983
 
44914
44984
  const handleFocus = event => {
44915
44985
  // Workaround for https://github.com/facebook/react/issues/7769
44986
+ // The autoFocus of React might trigger the event before the componentDidMount.
44987
+ // We need to account for this eventuality.
44916
44988
  if (!childNode) {
44917
44989
  setChildNode(event.currentTarget);
44918
44990
  }
@@ -45792,7 +45864,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
45792
45864
  theme
45793
45865
  }) => {
45794
45866
  let styles = _extends({
45795
- display: 'flex'
45867
+ display: 'flex',
45868
+ flexDirection: 'column'
45796
45869
  }, handleBreakpoints({
45797
45870
  theme
45798
45871
  }, resolveBreakpointValues({
@@ -45820,6 +45893,17 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
45820
45893
  base
45821
45894
  });
45822
45895
 
45896
+ if (typeof directionValues === 'object') {
45897
+ Object.keys(directionValues).forEach((breakpoint, index, breakpoints) => {
45898
+ const directionValue = directionValues[breakpoint];
45899
+
45900
+ if (!directionValue) {
45901
+ const previousDirectionValue = index > 0 ? directionValues[breakpoints[index - 1]] : 'column';
45902
+ directionValues[breakpoint] = previousDirectionValue;
45903
+ }
45904
+ });
45905
+ }
45906
+
45823
45907
  const styleFromPropValue = (propValue, breakpoint) => {
45824
45908
  return {
45825
45909
  '& > :not(style) + :not(style)': {
@@ -51168,7 +51252,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
51168
51252
  * Determines the color of the indicator.
51169
51253
  * @default 'primary'
51170
51254
  */
51171
- indicatorColor: PropTypes.oneOf(['primary', 'secondary']),
51255
+ indicatorColor: PropTypes
51256
+ /* @typescript-to-proptypes-ignore */
51257
+ .oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
51172
51258
 
51173
51259
  /**
51174
51260
  * Callback fired when the value changes.