@mui/material 5.4.2 → 5.5.0

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 (259) 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/AvatarGroup.js +4 -2
  11. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  12. package/BottomNavigation/BottomNavigation.js +0 -0
  13. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  14. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  15. package/Box/Box.js +1 -1
  16. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  17. package/Button/buttonClasses.d.ts +76 -76
  18. package/ButtonBase/ButtonBase.d.ts +1 -1
  19. package/ButtonBase/ButtonBase.js +1 -1
  20. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  21. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  22. package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
  23. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  24. package/CHANGELOG.md +196 -2
  25. package/Card/cardClasses.d.ts +8 -8
  26. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  27. package/CardActions/cardActionsClasses.d.ts +10 -10
  28. package/CardContent/cardContentClasses.d.ts +8 -8
  29. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  30. package/CardMedia/cardMediaClasses.d.ts +12 -12
  31. package/Checkbox/checkboxClasses.d.ts +18 -18
  32. package/Chip/Chip.js +1 -0
  33. package/Chip/chipClasses.d.ts +80 -80
  34. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  35. package/ClickAwayListener/index.d.ts +2 -2
  36. package/Collapse/collapseClasses.d.ts +18 -18
  37. package/Container/containerClasses.d.ts +22 -22
  38. package/Dialog/Dialog.d.ts +4 -1
  39. package/Dialog/Dialog.js +10 -6
  40. package/Dialog/DialogContext.d.ts +6 -6
  41. package/Dialog/dialogClasses.d.ts +36 -36
  42. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  43. package/DialogContent/dialogContentClasses.d.ts +10 -10
  44. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  45. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  46. package/Divider/dividerClasses.d.ts +34 -34
  47. package/Drawer/Drawer.d.ts +4 -1
  48. package/Drawer/Drawer.js +11 -9
  49. package/Drawer/drawerClasses.d.ts +30 -30
  50. package/Fab/fabClasses.d.ts +26 -26
  51. package/Fade/Fade.d.ts +2 -2
  52. package/Fade/Fade.js +8 -8
  53. package/FilledInput/filledInputClasses.d.ts +40 -40
  54. package/FilledInput/filledInputClasses.js +5 -1
  55. package/FormControl/formControlClasses.d.ts +14 -14
  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 +26 -26
  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/Input/inputClasses.js +5 -1
  68. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  69. package/InputBase/inputBaseClasses.d.ts +44 -44
  70. package/InputLabel/inputLabelClasses.d.ts +32 -32
  71. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  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/NotchedOutline.js +3 -1
  86. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  87. package/OutlinedInput/outlinedInputClasses.js +5 -1
  88. package/Pagination/paginationClasses.d.ts +14 -14
  89. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  90. package/Paper/paperClasses.d.ts +39 -39
  91. package/Popover/popoverClasses.d.ts +10 -10
  92. package/Popper/Popper.d.ts +17 -17
  93. package/Popper/Popper.js +1 -1
  94. package/README.md +1 -1
  95. package/Radio/radioClasses.d.ts +16 -16
  96. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  97. package/RadioGroup/useRadioGroup.d.ts +4 -4
  98. package/Rating/ratingClasses.d.ts +40 -40
  99. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  100. package/Select/Select.d.ts +2 -0
  101. package/Select/selectClasses.d.ts +30 -30
  102. package/Skeleton/skeletonClasses.d.ts +24 -24
  103. package/Slide/Slide.d.ts +4 -4
  104. package/Slide/Slide.js +14 -14
  105. package/Snackbar/Snackbar.d.ts +2 -2
  106. package/Snackbar/Snackbar.js +8 -8
  107. package/Snackbar/snackbarClasses.d.ts +20 -20
  108. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  109. package/SpeedDial/SpeedDial.d.ts +2 -2
  110. package/SpeedDial/SpeedDial.js +9 -7
  111. package/SpeedDial/speedDialClasses.d.ts +22 -22
  112. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  113. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  114. package/Step/StepContext.d.ts +20 -0
  115. package/Step/StepContext.js +10 -2
  116. package/Step/index.d.ts +3 -0
  117. package/Step/index.js +3 -1
  118. package/Step/stepClasses.d.ts +16 -16
  119. package/StepButton/stepButtonClasses.d.ts +14 -14
  120. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  121. package/StepContent/stepContentClasses.d.ts +12 -12
  122. package/StepIcon/stepIconClasses.d.ts +16 -16
  123. package/StepLabel/stepLabelClasses.d.ts +28 -28
  124. package/Stepper/stepperClasses.d.ts +14 -14
  125. package/SvgIcon/SvgIcon.js +1 -0
  126. package/SvgIcon/svgIconClasses.d.ts +24 -24
  127. package/SwipeableDrawer/SwipeableDrawer.js +8 -6
  128. package/Switch/switchClasses.d.ts +32 -32
  129. package/Tab/tabClasses.d.ts +26 -26
  130. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  131. package/Table/tableClasses.d.ts +10 -10
  132. package/TableBody/tableBodyClasses.d.ts +8 -8
  133. package/TableCell/tableCellClasses.d.ts +32 -32
  134. package/TableContainer/tableContainerClasses.d.ts +8 -8
  135. package/TableFooter/tableFooterClasses.d.ts +8 -8
  136. package/TableHead/tableHeadClasses.d.ts +8 -8
  137. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  138. package/TableRow/tableRowClasses.d.ts +16 -16
  139. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  140. package/Tabs/tabsClasses.d.ts +32 -32
  141. package/TextField/textFieldClasses.d.ts +8 -8
  142. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  143. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  144. package/Toolbar/toolbarClasses.d.ts +14 -14
  145. package/Tooltip/tooltipClasses.d.ts +30 -30
  146. package/Typography/typographyClasses.d.ts +50 -50
  147. package/Zoom/Zoom.d.ts +2 -2
  148. package/Zoom/Zoom.js +8 -8
  149. package/className/index.d.ts +8 -0
  150. package/className/index.js +9 -0
  151. package/className/package.json +6 -0
  152. package/darkScrollbar/index.d.ts +28 -28
  153. package/index.js +1 -1
  154. package/internal/switchBaseClasses.d.ts +12 -12
  155. package/legacy/AvatarGroup/AvatarGroup.js +4 -2
  156. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  157. package/legacy/Box/Box.js +1 -1
  158. package/legacy/ButtonBase/ButtonBase.js +1 -1
  159. package/legacy/Chip/Chip.js +1 -0
  160. package/legacy/Dialog/Dialog.js +10 -6
  161. package/legacy/Drawer/Drawer.js +11 -9
  162. package/legacy/Fade/Fade.js +8 -8
  163. package/legacy/FilledInput/filledInputClasses.js +5 -1
  164. package/legacy/Input/inputClasses.js +5 -1
  165. package/legacy/OutlinedInput/NotchedOutline.js +3 -1
  166. package/legacy/OutlinedInput/outlinedInputClasses.js +5 -1
  167. package/legacy/Popper/Popper.js +1 -1
  168. package/legacy/Slide/Slide.js +14 -14
  169. package/legacy/Snackbar/Snackbar.js +8 -8
  170. package/legacy/SpeedDial/SpeedDial.js +9 -7
  171. package/legacy/Step/StepContext.js +10 -2
  172. package/legacy/Step/index.js +3 -1
  173. package/legacy/SvgIcon/SvgIcon.js +1 -0
  174. package/legacy/SwipeableDrawer/SwipeableDrawer.js +8 -6
  175. package/legacy/Zoom/Zoom.js +8 -8
  176. package/legacy/className/index.js +9 -0
  177. package/legacy/index.js +1 -1
  178. package/legacy/locale/index.js +268 -78
  179. package/legacy/styles/makeStyles.js +1 -1
  180. package/legacy/styles/withStyles.js +1 -1
  181. package/legacy/styles/withTheme.js +1 -1
  182. package/legacy/utils/index.js +10 -2
  183. package/locale/index.d.ts +70 -68
  184. package/locale/index.js +192 -6
  185. package/modern/AvatarGroup/AvatarGroup.js +4 -2
  186. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  187. package/modern/Box/Box.js +1 -1
  188. package/modern/ButtonBase/ButtonBase.js +1 -1
  189. package/modern/Chip/Chip.js +1 -0
  190. package/modern/Dialog/Dialog.js +10 -6
  191. package/modern/Drawer/Drawer.js +11 -9
  192. package/modern/Fade/Fade.js +8 -8
  193. package/modern/FilledInput/filledInputClasses.js +5 -1
  194. package/modern/Input/inputClasses.js +5 -1
  195. package/modern/OutlinedInput/NotchedOutline.js +3 -1
  196. package/modern/OutlinedInput/outlinedInputClasses.js +5 -1
  197. package/modern/Popper/Popper.js +1 -1
  198. package/modern/Slide/Slide.js +14 -14
  199. package/modern/Snackbar/Snackbar.js +8 -8
  200. package/modern/SpeedDial/SpeedDial.js +9 -7
  201. package/modern/Step/StepContext.js +10 -2
  202. package/modern/Step/index.js +3 -1
  203. package/modern/SvgIcon/SvgIcon.js +1 -0
  204. package/modern/SwipeableDrawer/SwipeableDrawer.js +8 -6
  205. package/modern/Zoom/Zoom.js +8 -8
  206. package/modern/className/index.js +9 -0
  207. package/modern/index.js +1 -1
  208. package/modern/locale/index.js +192 -6
  209. package/modern/styles/makeStyles.js +1 -1
  210. package/modern/styles/withStyles.js +1 -1
  211. package/modern/styles/withTheme.js +1 -1
  212. package/modern/utils/index.js +10 -2
  213. package/node/AvatarGroup/AvatarGroup.js +4 -2
  214. package/node/BottomNavigation/BottomNavigation.js +0 -0
  215. package/node/Box/Box.js +2 -2
  216. package/node/ButtonBase/ButtonBase.js +1 -1
  217. package/node/Chip/Chip.js +1 -0
  218. package/node/Dialog/Dialog.js +11 -7
  219. package/node/Drawer/Drawer.js +11 -10
  220. package/node/Fade/Fade.js +7 -9
  221. package/node/FilledInput/filledInputClasses.js +7 -1
  222. package/node/Input/inputClasses.js +7 -1
  223. package/node/OutlinedInput/NotchedOutline.js +3 -1
  224. package/node/OutlinedInput/outlinedInputClasses.js +7 -1
  225. package/node/Popper/Popper.js +1 -1
  226. package/node/Slide/Slide.js +14 -16
  227. package/node/Snackbar/Snackbar.js +8 -9
  228. package/node/SpeedDial/SpeedDial.js +9 -7
  229. package/node/Step/StepContext.js +11 -1
  230. package/node/Step/index.js +22 -1
  231. package/node/SvgIcon/SvgIcon.js +1 -0
  232. package/node/SwipeableDrawer/SwipeableDrawer.js +8 -7
  233. package/node/Zoom/Zoom.js +7 -9
  234. package/node/className/index.js +13 -0
  235. package/node/index.js +1 -1
  236. package/node/locale/index.js +197 -9
  237. package/node/styles/makeStyles.js +1 -1
  238. package/node/styles/withStyles.js +1 -1
  239. package/node/styles/withTheme.js +1 -1
  240. package/node/utils/index.js +13 -7
  241. package/package.json +6 -6
  242. package/styles/components.d.ts +0 -339
  243. package/styles/makeStyles.js +1 -1
  244. package/styles/withStyles.js +1 -1
  245. package/styles/withTheme.js +1 -1
  246. package/transitions/index.d.ts +1 -1
  247. package/transitions/transition.d.ts +13 -13
  248. package/transitions/utils.d.ts +23 -23
  249. package/umd/material-ui.development.js +9242 -9030
  250. package/umd/material-ui.production.min.js +21 -21
  251. package/useMediaQuery/useMediaQuery.d.ts +31 -31
  252. package/useTouchRipple/index.d.ts +1 -1
  253. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  254. package/utils/getScrollbarSize.d.ts +2 -2
  255. package/utils/index.d.ts +1 -1
  256. package/utils/index.js +10 -2
  257. package/utils/ownerDocument.d.ts +2 -2
  258. package/utils/ownerWindow.d.ts +2 -2
  259. package/utils/setRef.d.ts +2 -2
@@ -1,12 +1,12 @@
1
- export interface SwitchBaseClasses {
2
- root: string;
3
- checked: string;
4
- disabled: string;
5
- input: string;
6
- edgeStart: string;
7
- edgeEnd: string;
8
- }
9
- export declare type SwitchBaseClassKey = keyof SwitchBaseClasses;
10
- export declare function getSwitchBaseUtilityClass(slot: string): string;
11
- declare const switchBaseClasses: SwitchBaseClasses;
12
- export default switchBaseClasses;
1
+ export interface SwitchBaseClasses {
2
+ root: string;
3
+ checked: string;
4
+ disabled: string;
5
+ input: string;
6
+ edgeStart: string;
7
+ edgeEnd: string;
8
+ }
9
+ export declare type SwitchBaseClassKey = keyof SwitchBaseClasses;
10
+ export declare function getSwitchBaseUtilityClass(slot: string): string;
11
+ declare const switchBaseClasses: SwitchBaseClasses;
12
+ export default switchBaseClasses;
@@ -125,11 +125,13 @@ var AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps, re
125
125
  marginLeft: marginLeft
126
126
  }, (_componentsProps$addi2 = componentsProps.additionalAvatar) == null ? void 0 : _componentsProps$addi2.style),
127
127
  children: ["+", extraAvatars]
128
- })) : null, children.slice(0, maxAvatars).reverse().map(function (child) {
128
+ })) : null, children.slice(0, maxAvatars).reverse().map(function (child, index) {
129
129
  return /*#__PURE__*/React.cloneElement(child, {
130
130
  className: clsx(child.props.className, classes.avatar),
131
131
  style: _extends({
132
- marginLeft: marginLeft
132
+ // Consistent with "&:last-child" styling for the default spacing,
133
+ // we do not apply custom marginLeft spacing on the last child
134
+ marginLeft: index === maxAvatars - 1 ? undefined : marginLeft
133
135
  }, child.props.style),
134
136
  variant: child.props.variant || variant
135
137
  });
File without changes
package/legacy/Box/Box.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { createBox } from '@mui/system';
2
- import { unstable_ClassNameGenerator as ClassNameGenerator } from '../utils';
2
+ import { unstable_ClassNameGenerator as ClassNameGenerator } from '../className';
3
3
  import { createTheme } from '../styles';
4
4
  var defaultTheme = createTheme();
5
5
  /**
@@ -547,7 +547,7 @@ process.env.NODE_ENV !== "production" ? ButtonBase.propTypes
547
547
  TouchRippleProps: PropTypes.object,
548
548
 
549
549
  /**
550
- * A ref that points to the `TouchRippple` element.
550
+ * A ref that points to the `TouchRipple` element.
551
551
  */
552
552
  touchRippleRef: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({
553
553
  current: PropTypes.shape({
@@ -54,6 +54,7 @@ var ChipRoot = styled('div', {
54
54
  ownerState = _ref11.ownerState;
55
55
  var deleteIconColor = alpha(theme.palette.text.primary, 0.26);
56
56
  return _extends((_extends2 = {
57
+ maxWidth: '100%',
57
58
  fontFamily: theme.typography.fontFamily,
58
59
  fontSize: theme.typography.pxToRem(13),
59
60
  display: 'inline-flex',
@@ -9,13 +9,13 @@ import { unstable_useId as useId } from '@mui/utils';
9
9
  import capitalize from '../utils/capitalize';
10
10
  import Modal from '../Modal';
11
11
  import Fade from '../Fade';
12
- import { duration } from '../styles/createTransitions';
13
12
  import Paper from '../Paper';
14
13
  import useThemeProps from '../styles/useThemeProps';
15
14
  import styled from '../styles/styled';
16
15
  import dialogClasses, { getDialogUtilityClass } from './dialogClasses';
17
16
  import DialogContext from './DialogContext';
18
17
  import Backdrop from '../Backdrop';
18
+ import useTheme from '../styles/useTheme';
19
19
  import { jsx as _jsx } from "react/jsx-runtime";
20
20
  var DialogBackdrop = styled(Backdrop, {
21
21
  name: 'MuiDialog',
@@ -139,10 +139,6 @@ var DialogPaper = styled(Paper, {
139
139
  maxWidth: '100%'
140
140
  }));
141
141
  });
142
- var defaultTransitionDuration = {
143
- enter: duration.enteringScreen,
144
- exit: duration.leavingScreen
145
- };
146
142
  /**
147
143
  * Dialogs are overlaid modal paper based components with a backdrop.
148
144
  */
@@ -152,6 +148,11 @@ var Dialog = /*#__PURE__*/React.forwardRef(function Dialog(inProps, ref) {
152
148
  props: inProps,
153
149
  name: 'MuiDialog'
154
150
  });
151
+ var theme = useTheme();
152
+ var defaultTransitionDuration = {
153
+ enter: theme.transitions.duration.enteringScreen,
154
+ exit: theme.transitions.duration.leavingScreen
155
+ };
155
156
 
156
157
  var ariaDescribedby = props['aria-describedby'],
157
158
  ariaLabelledbyProp = props['aria-labelledby'],
@@ -399,7 +400,10 @@ process.env.NODE_ENV !== "production" ? Dialog.propTypes
399
400
  /**
400
401
  * The duration for the transition, in milliseconds.
401
402
  * You may specify a single timeout for all transitions, or individually with an object.
402
- * @default { enter: duration.enteringScreen, exit: duration.leavingScreen }
403
+ * @default {
404
+ * enter: theme.transitions.duration.enteringScreen,
405
+ * exit: theme.transitions.duration.leavingScreen,
406
+ * }
403
407
  */
404
408
  transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
405
409
  appear: PropTypes.number,
@@ -9,7 +9,6 @@ import Modal from '../Modal';
9
9
  import Slide from '../Slide';
10
10
  import Paper from '../Paper';
11
11
  import capitalize from '../utils/capitalize';
12
- import { duration } from '../styles/createTransitions';
13
12
  import useTheme from '../styles/useTheme';
14
13
  import useThemeProps from '../styles/useThemeProps';
15
14
  import styled, { rootShouldForwardProp } from '../styles/styled';
@@ -118,10 +117,6 @@ export function isHorizontal(anchor) {
118
117
  export function getAnchor(theme, anchor) {
119
118
  return theme.direction === 'rtl' && isHorizontal(anchor) ? oppositeDirection[anchor] : anchor;
120
119
  }
121
- var defaultTransitionDuration = {
122
- enter: duration.enteringScreen,
123
- exit: duration.leavingScreen
124
- };
125
120
  /**
126
121
  * The props of the [Modal](/api/modal/) component are available
127
122
  * when `variant="temporary"` is set.
@@ -132,6 +127,11 @@ var Drawer = /*#__PURE__*/React.forwardRef(function Drawer(inProps, ref) {
132
127
  props: inProps,
133
128
  name: 'MuiDrawer'
134
129
  });
130
+ var theme = useTheme();
131
+ var defaultTransitionDuration = {
132
+ enter: theme.transitions.duration.enteringScreen,
133
+ exit: theme.transitions.duration.leavingScreen
134
+ };
135
135
  var _props$anchor = props.anchor,
136
136
  anchorProp = _props$anchor === void 0 ? 'left' : _props$anchor,
137
137
  BackdropProps = props.BackdropProps,
@@ -158,12 +158,11 @@ var Drawer = /*#__PURE__*/React.forwardRef(function Drawer(inProps, ref) {
158
158
  transitionDuration = _props$transitionDura === void 0 ? defaultTransitionDuration : _props$transitionDura,
159
159
  _props$variant = props.variant,
160
160
  variant = _props$variant === void 0 ? 'temporary' : _props$variant,
161
- other = _objectWithoutProperties(props, ["anchor", "BackdropProps", "children", "className", "elevation", "hideBackdrop", "ModalProps", "onClose", "open", "PaperProps", "SlideProps", "TransitionComponent", "transitionDuration", "variant"]);
162
-
163
- var theme = useTheme(); // Let's assume that the Drawer will always be rendered on user space.
161
+ other = _objectWithoutProperties(props, ["anchor", "BackdropProps", "children", "className", "elevation", "hideBackdrop", "ModalProps", "onClose", "open", "PaperProps", "SlideProps", "TransitionComponent", "transitionDuration", "variant"]); // Let's assume that the Drawer will always be rendered on user space.
164
162
  // We use this state is order to skip the appear transition during the
165
163
  // initial mount of the component.
166
164
 
165
+
167
166
  var mounted = React.useRef(false);
168
167
  React.useEffect(function () {
169
168
  mounted.current = true;
@@ -317,7 +316,10 @@ process.env.NODE_ENV !== "production" ? Drawer.propTypes
317
316
  /**
318
317
  * The duration for the transition, in milliseconds.
319
318
  * You may specify a single timeout for all transitions, or individually with an object.
320
- * @default { enter: duration.enteringScreen, exit: duration.leavingScreen }
319
+ * @default {
320
+ * enter: theme.transitions.duration.enteringScreen,
321
+ * exit: theme.transitions.duration.leavingScreen,
322
+ * }
321
323
  */
322
324
  transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
323
325
  appear: PropTypes.number,
@@ -4,7 +4,6 @@ import * as React from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import { Transition } from 'react-transition-group';
6
6
  import { elementAcceptingRef } from '@mui/utils';
7
- import { duration } from '../styles/createTransitions';
8
7
  import useTheme from '../styles/useTheme';
9
8
  import { reflow, getTransitionProps } from '../transitions/utils';
10
9
  import useForkRef from '../utils/useForkRef';
@@ -17,16 +16,18 @@ var styles = {
17
16
  opacity: 1
18
17
  }
19
18
  };
20
- var defaultTimeout = {
21
- enter: duration.enteringScreen,
22
- exit: duration.leavingScreen
23
- };
24
19
  /**
25
20
  * The Fade transition is used by the [Modal](/components/modal/) component.
26
21
  * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.
27
22
  */
28
23
 
29
24
  var Fade = /*#__PURE__*/React.forwardRef(function Fade(props, ref) {
25
+ var theme = useTheme();
26
+ var defaultTimeout = {
27
+ enter: theme.transitions.duration.enteringScreen,
28
+ exit: theme.transitions.duration.leavingScreen
29
+ };
30
+
30
31
  var addEndListener = props.addEndListener,
31
32
  _props$appear = props.appear,
32
33
  appear = _props$appear === void 0 ? true : _props$appear,
@@ -46,7 +47,6 @@ var Fade = /*#__PURE__*/React.forwardRef(function Fade(props, ref) {
46
47
  TransitionComponent = _props$TransitionComp === void 0 ? Transition : _props$TransitionComp,
47
48
  other = _objectWithoutProperties(props, ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"]);
48
49
 
49
- var theme = useTheme();
50
50
  var enableStrictModeCompat = true;
51
51
  var nodeRef = React.useRef(null);
52
52
  var foreignRef = useForkRef(_children.ref, ref);
@@ -214,8 +214,8 @@ process.env.NODE_ENV !== "production" ? Fade.propTypes
214
214
  * The duration for the transition, in milliseconds.
215
215
  * You may specify a single timeout for all transitions, or individually with an object.
216
216
  * @default {
217
- * enter: duration.enteringScreen,
218
- * exit: duration.leavingScreen,
217
+ * enter: theme.transitions.duration.enteringScreen,
218
+ * exit: theme.transitions.duration.leavingScreen,
219
219
  * }
220
220
  */
221
221
  timeout: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
@@ -1,6 +1,10 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
1
2
  import { generateUtilityClasses, generateUtilityClass } from '@mui/base';
3
+ import { inputBaseClasses } from '../InputBase';
2
4
  export function getFilledInputUtilityClass(slot) {
3
5
  return generateUtilityClass('MuiFilledInput', slot);
4
6
  }
5
- var filledInputClasses = generateUtilityClasses('MuiFilledInput', ['root', 'colorSecondary', 'underline', 'focused', 'disabled', 'adornedStart', 'adornedEnd', 'error', 'sizeSmall', 'multiline', 'hiddenLabel', 'input', 'inputSizeSmall', 'inputHiddenLabel', 'inputMultiline', 'inputAdornedStart', 'inputAdornedEnd']);
7
+
8
+ var filledInputClasses = _extends({}, inputBaseClasses, generateUtilityClasses('MuiFilledInput', ['root', 'underline', 'input']));
9
+
6
10
  export default filledInputClasses;
@@ -1,6 +1,10 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
1
2
  import { generateUtilityClasses, generateUtilityClass } from '@mui/base';
3
+ import { inputBaseClasses } from '../InputBase';
2
4
  export function getInputUtilityClass(slot) {
3
5
  return generateUtilityClass('MuiInput', slot);
4
6
  }
5
- var inputClasses = generateUtilityClasses('MuiInput', ['root', 'formControl', 'focused', 'disabled', 'colorSecondary', 'underline', 'error', 'sizeSmall', 'multiline', 'fullWidth', 'input', 'inputSizeSmall', 'inputMultiline', 'inputTypeSearch']);
7
+
8
+ var inputClasses = _extends({}, inputBaseClasses, generateUtilityClasses('MuiInput', ['root', 'underline', 'input']));
9
+
6
10
  export default inputClasses;
@@ -27,7 +27,9 @@ var NotchedOutlineLegend = styled('legend')(function (_ref) {
27
27
  var ownerState = _ref.ownerState,
28
28
  theme = _ref.theme;
29
29
  return _extends({
30
- float: 'unset'
30
+ float: 'unset',
31
+ // Fix conflict with bootstrap
32
+ overflow: 'hidden'
31
33
  }, !ownerState.withLabel && {
32
34
  padding: 0,
33
35
  lineHeight: '11px',
@@ -1,6 +1,10 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
1
2
  import { generateUtilityClasses, generateUtilityClass } from '@mui/base';
3
+ import { inputBaseClasses } from '../InputBase';
2
4
  export function getOutlinedInputUtilityClass(slot) {
3
5
  return generateUtilityClass('MuiOutlinedInput', slot);
4
6
  }
5
- var outlinedInputClasses = generateUtilityClasses('MuiOutlinedInput', ['root', 'colorSecondary', 'focused', 'disabled', 'adornedStart', 'adornedEnd', 'error', 'sizeSmall', 'multiline', 'notchedOutline', 'input', 'inputSizeSmall', 'inputMultiline', 'inputAdornedStart', 'inputAdornedEnd']);
7
+
8
+ var outlinedInputClasses = _extends({}, inputBaseClasses, generateUtilityClasses('MuiOutlinedInput', ['root', 'notchedOutline', 'input']));
9
+
6
10
  export default outlinedInputClasses;
@@ -90,7 +90,7 @@ process.env.NODE_ENV !== "production" ? Popper.propTypes
90
90
  effect: PropTypes.func,
91
91
  enabled: PropTypes.bool,
92
92
  fn: PropTypes.func,
93
- name: PropTypes.any.isRequired,
93
+ name: PropTypes.any,
94
94
  options: PropTypes.object,
95
95
  phase: PropTypes.oneOf(['afterMain', 'afterRead', 'afterWrite', 'beforeMain', 'beforeRead', 'beforeWrite', 'main', 'read', 'write']),
96
96
  requires: PropTypes.arrayOf(PropTypes.string),
@@ -7,7 +7,6 @@ import { elementAcceptingRef, HTMLElementType, chainPropTypes } from '@mui/utils
7
7
  import debounce from '../utils/debounce';
8
8
  import useForkRef from '../utils/useForkRef';
9
9
  import useTheme from '../styles/useTheme';
10
- import { duration, easing } from '../styles/createTransitions';
11
10
  import { reflow, getTransitionProps } from '../transitions/utils';
12
11
  import { ownerWindow } from '../utils'; // Translate the node so it can't be seen on the screen.
13
12
  // Later, we're going to translate the node back to its original location with `none`.
@@ -81,20 +80,22 @@ export function setTranslateValue(direction, node, containerProp) {
81
80
  node.style.transform = transform;
82
81
  }
83
82
  }
84
- var defaultEasing = {
85
- enter: easing.easeOut,
86
- exit: easing.sharp
87
- };
88
- var defaultTimeout = {
89
- enter: duration.enteringScreen,
90
- exit: duration.leavingScreen
91
- };
92
83
  /**
93
84
  * The Slide transition is used by the [Drawer](/components/drawers/) component.
94
85
  * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.
95
86
  */
96
87
 
97
88
  var Slide = /*#__PURE__*/React.forwardRef(function Slide(props, ref) {
89
+ var theme = useTheme();
90
+ var defaultEasing = {
91
+ enter: theme.transitions.easing.easeOut,
92
+ exit: theme.transitions.easing.sharp
93
+ };
94
+ var defaultTimeout = {
95
+ enter: theme.transitions.duration.enteringScreen,
96
+ exit: theme.transitions.duration.leavingScreen
97
+ };
98
+
98
99
  var addEndListener = props.addEndListener,
99
100
  _props$appear = props.appear,
100
101
  appear = _props$appear === void 0 ? true : _props$appear,
@@ -118,7 +119,6 @@ var Slide = /*#__PURE__*/React.forwardRef(function Slide(props, ref) {
118
119
  TransitionComponent = _props$TransitionComp === void 0 ? Transition : _props$TransitionComp,
119
120
  other = _objectWithoutProperties(props, ["addEndListener", "appear", "children", "container", "direction", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"]);
120
121
 
121
- var theme = useTheme();
122
122
  var childrenRef = React.useRef(null);
123
123
  var handleRefIntermediary = useForkRef(_children.ref, childrenRef);
124
124
  var handleRef = useForkRef(handleRefIntermediary, ref);
@@ -308,8 +308,8 @@ process.env.NODE_ENV !== "production" ? Slide.propTypes
308
308
  * The transition timing function.
309
309
  * You may specify a single easing or a object containing enter and exit values.
310
310
  * @default {
311
- * enter: easing.easeOut,
312
- * exit: easing.sharp,
311
+ * enter: theme.transitions.easing.easeOut,
312
+ * exit: theme.transitions.easing.sharp,
313
313
  * }
314
314
  */
315
315
  easing: PropTypes.oneOfType([PropTypes.shape({
@@ -361,8 +361,8 @@ process.env.NODE_ENV !== "production" ? Slide.propTypes
361
361
  * The duration for the transition, in milliseconds.
362
362
  * You may specify a single timeout for all transitions, or individually with an object.
363
363
  * @default {
364
- * enter: duration.enteringScreen,
365
- * exit: duration.leavingScreen,
364
+ * enter: theme.transitions.duration.enteringScreen,
365
+ * exit: theme.transitions.duration.leavingScreen,
366
366
  * }
367
367
  */
368
368
  timeout: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
@@ -9,7 +9,6 @@ import ClickAwayListener from '@mui/base/ClickAwayListener';
9
9
  import styled from '../styles/styled';
10
10
  import useTheme from '../styles/useTheme';
11
11
  import useThemeProps from '../styles/useThemeProps';
12
- import { duration } from '../styles/createTransitions';
13
12
  import useEventCallback from '../utils/useEventCallback';
14
13
  import capitalize from '../utils/capitalize';
15
14
  import Grow from '../Grow';
@@ -86,6 +85,11 @@ var Snackbar = /*#__PURE__*/React.forwardRef(function Snackbar(inProps, ref) {
86
85
  props: inProps,
87
86
  name: 'MuiSnackbar'
88
87
  });
88
+ var theme = useTheme();
89
+ var defaultTransitionDuration = {
90
+ enter: theme.transitions.duration.enteringScreen,
91
+ exit: theme.transitions.duration.leavingScreen
92
+ };
89
93
  var action = props.action,
90
94
  _props$anchorOrigin = props.anchorOrigin;
91
95
  _props$anchorOrigin = _props$anchorOrigin === void 0 ? {
@@ -113,10 +117,7 @@ var Snackbar = /*#__PURE__*/React.forwardRef(function Snackbar(inProps, ref) {
113
117
  _props$TransitionComp = props.TransitionComponent,
114
118
  TransitionComponent = _props$TransitionComp === void 0 ? Grow : _props$TransitionComp,
115
119
  _props$transitionDura = props.transitionDuration,
116
- transitionDuration = _props$transitionDura === void 0 ? {
117
- enter: duration.enteringScreen,
118
- exit: duration.leavingScreen
119
- } : _props$transitionDura,
120
+ transitionDuration = _props$transitionDura === void 0 ? defaultTransitionDuration : _props$transitionDura,
120
121
  _props$TransitionProp = props.TransitionProps;
121
122
  _props$TransitionProp = _props$TransitionProp === void 0 ? {} : _props$TransitionProp;
122
123
 
@@ -125,7 +126,6 @@ var Snackbar = /*#__PURE__*/React.forwardRef(function Snackbar(inProps, ref) {
125
126
  TransitionProps = _objectWithoutProperties(_props$TransitionProp, ["onEnter", "onExited"]),
126
127
  other = _objectWithoutProperties(props, ["action", "anchorOrigin", "autoHideDuration", "children", "className", "ClickAwayListenerProps", "ContentProps", "disableWindowBlurListener", "message", "onBlur", "onClose", "onFocus", "onMouseEnter", "onMouseLeave", "open", "resumeHideDuration", "TransitionComponent", "transitionDuration", "TransitionProps"]);
127
128
 
128
- var theme = useTheme();
129
129
  var isRtl = theme.direction === 'rtl';
130
130
 
131
131
  var ownerState = _extends({}, props, {
@@ -450,8 +450,8 @@ process.env.NODE_ENV !== "production" ? Snackbar.propTypes
450
450
  * The duration for the transition, in milliseconds.
451
451
  * You may specify a single timeout for all transitions, or individually with an object.
452
452
  * @default {
453
- * enter: duration.enteringScreen,
454
- * exit: duration.leavingScreen,
453
+ * enter: theme.transitions.duration.enteringScreen,
454
+ * exit: theme.transitions.duration.leavingScreen,
455
455
  * }
456
456
  */
457
457
  transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
@@ -9,7 +9,7 @@ import clsx from 'clsx';
9
9
  import { unstable_composeClasses as composeClasses } from '@mui/base';
10
10
  import styled from '../styles/styled';
11
11
  import useThemeProps from '../styles/useThemeProps';
12
- import { duration } from '../styles/createTransitions';
12
+ import useTheme from '../styles/useTheme';
13
13
  import Zoom from '../Zoom';
14
14
  import Fab from '../Fab';
15
15
  import capitalize from '../utils/capitalize';
@@ -132,6 +132,11 @@ var SpeedDial = /*#__PURE__*/React.forwardRef(function SpeedDial(inProps, ref) {
132
132
  props: inProps,
133
133
  name: 'MuiSpeedDial'
134
134
  });
135
+ var theme = useTheme();
136
+ var defaultTransitionDuration = {
137
+ enter: theme.transitions.duration.enteringScreen,
138
+ exit: theme.transitions.duration.leavingScreen
139
+ };
135
140
  var ariaLabel = props.ariaLabel,
136
141
  _props$FabProps = props.FabProps;
137
142
  _props$FabProps = _props$FabProps === void 0 ? {} : _props$FabProps;
@@ -157,10 +162,7 @@ var SpeedDial = /*#__PURE__*/React.forwardRef(function SpeedDial(inProps, ref) {
157
162
  _props$TransitionComp = props.TransitionComponent,
158
163
  TransitionComponent = _props$TransitionComp === void 0 ? Zoom : _props$TransitionComp,
159
164
  _props$transitionDura = props.transitionDuration,
160
- transitionDuration = _props$transitionDura === void 0 ? {
161
- enter: duration.enteringScreen,
162
- exit: duration.leavingScreen
163
- } : _props$transitionDura,
165
+ transitionDuration = _props$transitionDura === void 0 ? defaultTransitionDuration : _props$transitionDura,
164
166
  TransitionProps = props.TransitionProps,
165
167
  other = _objectWithoutProperties(props, ["ariaLabel", "FabProps", "children", "className", "direction", "hidden", "icon", "onBlur", "onClose", "onFocus", "onKeyDown", "onMouseEnter", "onMouseLeave", "onOpen", "open", "openIcon", "TransitionComponent", "transitionDuration", "TransitionProps"]);
166
168
 
@@ -541,8 +543,8 @@ process.env.NODE_ENV !== "production" ? SpeedDial.propTypes
541
543
  * The duration for the transition, in milliseconds.
542
544
  * You may specify a single timeout for all transitions, or individually with an object.
543
545
  * @default {
544
- * enter: duration.enteringScreen,
545
- * exit: duration.leavingScreen,
546
+ * enter: theme.transitions.duration.enteringScreen,
547
+ * exit: theme.transitions.duration.leavingScreen,
546
548
  * }
547
549
  */
548
550
  transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
@@ -1,12 +1,20 @@
1
1
  import * as React from 'react';
2
+
2
3
  /**
3
- * @ignore - internal component.
4
+ * Provides information about the current step in Stepper.
4
5
  */
5
-
6
6
  var StepContext = /*#__PURE__*/React.createContext({});
7
7
 
8
8
  if (process.env.NODE_ENV !== 'production') {
9
9
  StepContext.displayName = 'StepContext';
10
10
  }
11
+ /**
12
+ * Returns the current StepContext or an empty object if no StepContext
13
+ * has been defined in the component tree.
14
+ */
15
+
11
16
 
17
+ export function useStepContext() {
18
+ return React.useContext(StepContext);
19
+ }
12
20
  export default StepContext;
@@ -1,3 +1,5 @@
1
1
  export { default } from './Step';
2
2
  export { default as stepClasses } from './stepClasses';
3
- export * from './stepClasses';
3
+ export * from './stepClasses';
4
+ export { default as StepContext } from './StepContext';
5
+ export * from './StepContext';
@@ -83,6 +83,7 @@ var SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
83
83
  color: color,
84
84
  component: component,
85
85
  fontSize: fontSize,
86
+ instanceFontSize: inProps.fontSize,
86
87
  inheritViewBox: inheritViewBox,
87
88
  viewBox: viewBox
88
89
  });
@@ -10,7 +10,6 @@ import ownerDocument from '../utils/ownerDocument';
10
10
  import ownerWindow from '../utils/ownerWindow';
11
11
  import useEventCallback from '../utils/useEventCallback';
12
12
  import useEnhancedEffect from '../utils/useEnhancedEffect';
13
- import { duration } from '../styles/createTransitions';
14
13
  import useTheme from '../styles/useTheme';
15
14
  import { getTransitionProps } from '../transitions/utils';
16
15
  import SwipeArea from './SwipeArea'; // This value is closed to what browsers are using internally to
@@ -122,16 +121,16 @@ function computeHasNativeHandler(_ref) {
122
121
  }
123
122
 
124
123
  var iOS = typeof navigator !== 'undefined' && /iPad|iPhone|iPod/.test(navigator.userAgent);
125
- var transitionDurationDefault = {
126
- enter: duration.enteringScreen,
127
- exit: duration.leavingScreen
128
- };
129
124
  var SwipeableDrawer = /*#__PURE__*/React.forwardRef(function SwipeableDrawer(inProps, ref) {
130
125
  var props = useThemeProps({
131
126
  name: 'MuiSwipeableDrawer',
132
127
  props: inProps
133
128
  });
134
129
  var theme = useTheme();
130
+ var transitionDurationDefault = {
131
+ enter: theme.transitions.duration.enteringScreen,
132
+ exit: theme.transitions.duration.leavingScreen
133
+ };
135
134
  var _props$anchor = props.anchor,
136
135
  anchor = _props$anchor === void 0 ? 'left' : _props$anchor,
137
136
  _props$disableBackdro = props.disableBackdropTransition,
@@ -623,7 +622,10 @@ process.env.NODE_ENV !== "production" ? SwipeableDrawer.propTypes
623
622
  /**
624
623
  * The duration for the transition, in milliseconds.
625
624
  * You may specify a single timeout for all transitions, or individually with an object.
626
- * @default { enter: duration.enteringScreen, exit: duration.leavingScreen }
625
+ * @default {
626
+ * enter: theme.transitions.duration.enteringScreen,
627
+ * exit: theme.transitions.duration.leavingScreen,
628
+ * }
627
629
  */
628
630
  transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
629
631
  appear: PropTypes.number,
@@ -4,7 +4,6 @@ import * as React from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import { Transition } from 'react-transition-group';
6
6
  import { elementAcceptingRef } from '@mui/utils';
7
- import { duration } from '../styles/createTransitions';
8
7
  import useTheme from '../styles/useTheme';
9
8
  import { reflow, getTransitionProps } from '../transitions/utils';
10
9
  import useForkRef from '../utils/useForkRef';
@@ -17,10 +16,6 @@ var styles = {
17
16
  transform: 'none'
18
17
  }
19
18
  };
20
- var defaultTimeout = {
21
- enter: duration.enteringScreen,
22
- exit: duration.leavingScreen
23
- };
24
19
  /**
25
20
  * The Zoom transition can be used for the floating variant of the
26
21
  * [Button](/components/buttons/#floating-action-buttons) component.
@@ -28,6 +23,12 @@ var defaultTimeout = {
28
23
  */
29
24
 
30
25
  var Zoom = /*#__PURE__*/React.forwardRef(function Zoom(props, ref) {
26
+ var theme = useTheme();
27
+ var defaultTimeout = {
28
+ enter: theme.transitions.duration.enteringScreen,
29
+ exit: theme.transitions.duration.leavingScreen
30
+ };
31
+
31
32
  var addEndListener = props.addEndListener,
32
33
  _props$appear = props.appear,
33
34
  appear = _props$appear === void 0 ? true : _props$appear,
@@ -47,7 +48,6 @@ var Zoom = /*#__PURE__*/React.forwardRef(function Zoom(props, ref) {
47
48
  TransitionComponent = _props$TransitionComp === void 0 ? Transition : _props$TransitionComp,
48
49
  other = _objectWithoutProperties(props, ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"]);
49
50
 
50
- var theme = useTheme();
51
51
  var nodeRef = React.useRef(null);
52
52
  var foreignRef = useForkRef(_children.ref, ref);
53
53
  var handleRef = useForkRef(nodeRef, foreignRef);
@@ -214,8 +214,8 @@ process.env.NODE_ENV !== "production" ? Zoom.propTypes
214
214
  * The duration for the transition, in milliseconds.
215
215
  * You may specify a single timeout for all transitions, or individually with an object.
216
216
  * @default {
217
- * enter: duration.enteringScreen,
218
- * exit: duration.leavingScreen,
217
+ * enter: theme.transitions.duration.enteringScreen,
218
+ * exit: theme.transitions.duration.leavingScreen,
219
219
  * }
220
220
  */
221
221
  timeout: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Caution! this module must not include unstyled components import from `@mui/base`, otherwise, it will break the ClassNameGenerator.
3
+ * ❌ import { ... } from '@mui/base';
4
+ * ✅ import { ... } from '@mui/base/utils'; // must be specific base module
5
+ *
6
+ * Issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401
7
+ */
8
+ // eslint-disable-next-line import/prefer-default-export
9
+ export { unstable_ClassNameGenerator } from '@mui/base/className';
package/legacy/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.4.2
1
+ /** @license MUI v5.5.0
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.