@mui/material 5.2.0 → 5.2.1

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 (152) 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/BottomNavigation/BottomNavigation.js +0 -0
  12. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  13. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  14. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  15. package/Button/buttonClasses.d.ts +76 -76
  16. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  17. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  18. package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
  19. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  20. package/CHANGELOG.md +23 -0
  21. package/Card/cardClasses.d.ts +8 -8
  22. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  23. package/CardActions/cardActionsClasses.d.ts +10 -10
  24. package/CardContent/cardContentClasses.d.ts +8 -8
  25. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  26. package/CardMedia/cardMediaClasses.d.ts +12 -12
  27. package/Checkbox/checkboxClasses.d.ts +18 -18
  28. package/Chip/chipClasses.d.ts +80 -80
  29. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  30. package/ClickAwayListener/index.d.ts +2 -2
  31. package/Collapse/collapseClasses.d.ts +18 -18
  32. package/Container/containerClasses.d.ts +22 -22
  33. package/Dialog/DialogContext.d.ts +6 -6
  34. package/Dialog/dialogClasses.d.ts +36 -36
  35. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  36. package/DialogContent/dialogContentClasses.d.ts +10 -10
  37. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  38. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  39. package/Divider/dividerClasses.d.ts +34 -34
  40. package/Drawer/drawerClasses.d.ts +30 -30
  41. package/Fab/fabClasses.d.ts +26 -26
  42. package/FilledInput/filledInputClasses.d.ts +40 -40
  43. package/FormControl/formControlClasses.d.ts +14 -14
  44. package/FormControlLabel/formControlLabelClasses.d.ts +18 -18
  45. package/FormGroup/formGroupClasses.d.ts +10 -10
  46. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  47. package/FormLabel/formLabelClasses.d.ts +22 -22
  48. package/Grid/gridClasses.d.ts +48 -48
  49. package/Icon/iconClasses.d.ts +24 -24
  50. package/IconButton/iconButtonClasses.d.ts +26 -26
  51. package/ImageList/imageListClasses.d.ts +16 -16
  52. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  53. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  54. package/Input/inputClasses.d.ts +34 -34
  55. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  56. package/InputBase/inputBaseClasses.d.ts +44 -44
  57. package/InputLabel/inputLabelClasses.d.ts +32 -32
  58. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  59. package/Link/linkClasses.d.ts +18 -18
  60. package/List/listClasses.d.ts +14 -14
  61. package/ListItem/listItemClasses.d.ts +30 -30
  62. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  63. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  64. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  65. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  66. package/ListItemText/listItemTextClasses.d.ts +18 -18
  67. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  68. package/Menu/menuClasses.d.ts +12 -12
  69. package/MenuItem/menuItemClasses.d.ts +20 -20
  70. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  71. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  72. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  73. package/Pagination/paginationClasses.d.ts +14 -14
  74. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  75. package/Paper/paperClasses.d.ts +39 -39
  76. package/Popover/popoverClasses.d.ts +10 -10
  77. package/Popper/Popper.d.ts +17 -17
  78. package/Radio/radioClasses.d.ts +16 -16
  79. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  80. package/RadioGroup/useRadioGroup.d.ts +4 -4
  81. package/Rating/ratingClasses.d.ts +40 -40
  82. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  83. package/Select/SelectInput.js +5 -1
  84. package/Select/selectClasses.d.ts +30 -30
  85. package/Skeleton/skeletonClasses.d.ts +24 -24
  86. package/Snackbar/snackbarClasses.d.ts +20 -20
  87. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  88. package/SpeedDial/speedDialClasses.d.ts +22 -22
  89. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  90. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  91. package/Step/stepClasses.d.ts +16 -16
  92. package/StepButton/stepButtonClasses.d.ts +14 -14
  93. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  94. package/StepContent/stepContentClasses.d.ts +12 -12
  95. package/StepIcon/stepIconClasses.d.ts +16 -16
  96. package/StepLabel/stepLabelClasses.d.ts +28 -28
  97. package/Stepper/stepperClasses.d.ts +14 -14
  98. package/SvgIcon/svgIconClasses.d.ts +24 -24
  99. package/Switch/switchClasses.d.ts +32 -32
  100. package/Tab/tabClasses.d.ts +26 -26
  101. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  102. package/Table/tableClasses.d.ts +10 -10
  103. package/TableBody/tableBodyClasses.d.ts +8 -8
  104. package/TableCell/tableCellClasses.d.ts +32 -32
  105. package/TableContainer/tableContainerClasses.d.ts +8 -8
  106. package/TableFooter/tableFooterClasses.d.ts +8 -8
  107. package/TableHead/tableHeadClasses.d.ts +8 -8
  108. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  109. package/TableRow/tableRowClasses.d.ts +16 -16
  110. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  111. package/Tabs/tabsClasses.d.ts +32 -32
  112. package/TextField/textFieldClasses.d.ts +8 -8
  113. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  114. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  115. package/Toolbar/toolbarClasses.d.ts +14 -14
  116. package/Tooltip/tooltipClasses.d.ts +30 -30
  117. package/Typography/typographyClasses.d.ts +50 -50
  118. package/darkScrollbar/index.d.ts +28 -28
  119. package/index.js +1 -1
  120. package/internal/switchBaseClasses.d.ts +12 -12
  121. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  122. package/legacy/Select/SelectInput.js +7 -1
  123. package/legacy/index.js +1 -1
  124. package/legacy/styles/index.js +1 -1
  125. package/legacy/useMediaQuery/useMediaQuery.js +31 -83
  126. package/locale/index.d.ts +66 -66
  127. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  128. package/modern/Select/SelectInput.js +5 -1
  129. package/modern/index.js +1 -1
  130. package/modern/styles/index.js +1 -1
  131. package/modern/useMediaQuery/useMediaQuery.js +26 -65
  132. package/node/BottomNavigation/BottomNavigation.js +0 -0
  133. package/node/Select/SelectInput.js +5 -1
  134. package/node/index.js +1 -1
  135. package/node/styles/index.js +6 -0
  136. package/node/useMediaQuery/useMediaQuery.js +26 -65
  137. package/package.json +4 -4
  138. package/styles/index.d.ts +1 -0
  139. package/styles/index.js +1 -1
  140. package/transitions/index.d.ts +1 -1
  141. package/transitions/transition.d.ts +14 -14
  142. package/transitions/utils.d.ts +23 -23
  143. package/umd/material-ui.development.js +53 -96
  144. package/umd/material-ui.production.min.js +13 -13
  145. package/useMediaQuery/useMediaQuery.d.ts +27 -31
  146. package/useMediaQuery/useMediaQuery.js +26 -65
  147. package/useTouchRipple/index.d.ts +1 -1
  148. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  149. package/utils/getScrollbarSize.d.ts +2 -2
  150. package/utils/ownerDocument.d.ts +2 -2
  151. package/utils/ownerWindow.d.ts +2 -2
  152. package/utils/setRef.d.ts +2 -2
@@ -1,23 +1,23 @@
1
- import * as React from 'react';
2
- export declare const reflow: (node: Element) => number;
3
- interface ComponentProps {
4
- easing: string | {
5
- enter?: string;
6
- exit?: string;
7
- } | undefined;
8
- style: React.CSSProperties | undefined;
9
- timeout: number | {
10
- enter?: number;
11
- exit?: number;
12
- };
13
- }
14
- interface Options {
15
- mode: 'enter' | 'exit';
16
- }
17
- interface TransitionProps {
18
- duration: string | number;
19
- easing: string | undefined;
20
- delay: string | undefined;
21
- }
22
- export declare function getTransitionProps(props: ComponentProps, options: Options): TransitionProps;
23
- export {};
1
+ import * as React from 'react';
2
+ export declare const reflow: (node: Element) => number;
3
+ interface ComponentProps {
4
+ easing: string | {
5
+ enter?: string;
6
+ exit?: string;
7
+ } | undefined;
8
+ style: React.CSSProperties | undefined;
9
+ timeout: number | {
10
+ enter?: number;
11
+ exit?: number;
12
+ };
13
+ }
14
+ interface Options {
15
+ mode: 'enter' | 'exit';
16
+ }
17
+ interface TransitionProps {
18
+ duration: string | number;
19
+ easing: string | undefined;
20
+ delay: string | undefined;
21
+ }
22
+ export declare function getTransitionProps(props: ComponentProps, options: Options): TransitionProps;
23
+ export {};
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.2.0
1
+ /** @license MUI v5.2.1
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.
@@ -4998,7 +4998,7 @@
4998
4998
  const useEnhancedEffect = typeof window !== 'undefined' ? React__namespace.useLayoutEffect : React__namespace.useEffect;
4999
4999
  var useEnhancedEffect$1 = useEnhancedEffect;
5000
5000
 
5001
- function useRandomId(idOverride) {
5001
+ function useId(idOverride) {
5002
5002
  const [defaultId, setDefaultId] = React__namespace.useState(idOverride);
5003
5003
  const id = idOverride || defaultId;
5004
5004
  React__namespace.useEffect(() => {
@@ -5011,24 +5011,6 @@
5011
5011
  }, [defaultId]);
5012
5012
  return id;
5013
5013
  }
5014
- /**
5015
- *
5016
- * @example <div id={useId()} />
5017
- * @param idOverride
5018
- * @returns {string}
5019
- */
5020
-
5021
-
5022
- function useReactId(idOverride) {
5023
- // TODO: Remove `React as any` once `useId` is part of stable types.
5024
- if (React__namespace.useId !== undefined) {
5025
- const reactId = React__namespace.useId();
5026
- return idOverride != null ? idOverride : reactId;
5027
- } // eslint-disable-next-line react-hooks/rules-of-hooks -- `React.useId` is invariant at runtime.
5028
-
5029
-
5030
- return useRandomId(idOverride);
5031
- }
5032
5014
 
5033
5015
  function unsupportedProp(props, propName, componentName, location, propFullName) {
5034
5016
 
@@ -6363,6 +6345,15 @@
6363
6345
  });
6364
6346
  }
6365
6347
 
6348
+ function sx(styles) {
6349
+ return ({
6350
+ theme
6351
+ }) => styleFunctionSx({
6352
+ sx: styles,
6353
+ theme
6354
+ });
6355
+ }
6356
+
6366
6357
  function toVal(mix) {
6367
6358
  var k, y, str='';
6368
6359
 
@@ -7476,7 +7467,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
7476
7467
  selectOnFocus = !props.freeSolo,
7477
7468
  value: valueProp
7478
7469
  } = props;
7479
- const id = useReactId(idProp);
7470
+ const id = useId(idProp);
7480
7471
  let getOptionLabel = getOptionLabelProp;
7481
7472
 
7482
7473
  getOptionLabel = option => {
@@ -14798,7 +14789,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
14798
14789
  name: 'Tabs',
14799
14790
  state: 'value'
14800
14791
  });
14801
- const idPrefix = useReactId();
14792
+ const idPrefix = useId();
14802
14793
  const onSelected = React__namespace.useCallback((e, newValue) => {
14803
14794
  setValue(newValue);
14804
14795
 
@@ -27741,7 +27732,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
27741
27732
  }
27742
27733
  };
27743
27734
 
27744
- const ariaLabelledby = useReactId(ariaLabelledbyProp);
27735
+ const ariaLabelledby = useId(ariaLabelledbyProp);
27745
27736
  const dialogContextValue = React__namespace.useMemo(() => {
27746
27737
  return {
27747
27738
  titleId: ariaLabelledby
@@ -32397,8 +32388,32 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
32397
32388
  * @deprecated Not used internally. Use `MediaQueryListEvent` from lib.dom.d.ts instead.
32398
32389
  */
32399
32390
 
32400
- function useMediaQueryOld(query, defaultMatches, matchMedia, ssrMatchMedia, noSsr) {
32391
+ function useMediaQuery(queryInput, options = {}) {
32392
+ const theme = useTheme$2(); // Wait for jsdom to support the match media feature.
32393
+ // All the browsers MUI support have this built-in.
32394
+ // This defensive check is here for simplicity.
32395
+ // Most of the time, the match media logic isn't central to people tests.
32396
+
32401
32397
  const supportMatchMedia = typeof window !== 'undefined' && typeof window.matchMedia !== 'undefined';
32398
+ const {
32399
+ defaultMatches = false,
32400
+ matchMedia = supportMatchMedia ? window.matchMedia : null,
32401
+ noSsr = false,
32402
+ ssrMatchMedia = null
32403
+ } = getThemeProps({
32404
+ name: 'MuiUseMediaQuery',
32405
+ props: options,
32406
+ theme
32407
+ });
32408
+
32409
+ {
32410
+ if (typeof queryInput === 'function' && theme === null) {
32411
+ console.error(['MUI: The `query` argument provided is invalid.', 'You are providing a function without a theme in the context.', 'One of the parent elements needs to use a ThemeProvider.'].join('\n'));
32412
+ }
32413
+ }
32414
+
32415
+ let query = typeof queryInput === 'function' ? queryInput(theme) : queryInput;
32416
+ query = query.replace(/^@media( ?)/m, '');
32402
32417
  const [match, setMatch] = React__namespace.useState(() => {
32403
32418
  if (noSsr && supportMatchMedia) {
32404
32419
  return matchMedia(query).matches;
@@ -32430,76 +32445,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
32430
32445
  }
32431
32446
  };
32432
32447
 
32433
- updateMatch(); // TODO: Use `addEventListener` once support for Safari < 14 is dropped
32434
-
32448
+ updateMatch();
32435
32449
  queryList.addListener(updateMatch);
32436
32450
  return () => {
32437
32451
  active = false;
32438
32452
  queryList.removeListener(updateMatch);
32439
32453
  };
32440
32454
  }, [query, matchMedia, supportMatchMedia]);
32441
- return match;
32442
- }
32443
-
32444
- function useMediaQueryNew(query, defaultMatches, matchMedia, ssrMatchMedia) {
32445
- const getDefaultSnapshot = React__namespace.useCallback(() => defaultMatches, [defaultMatches]);
32446
- const getServerSnapshot = React__namespace.useMemo(() => {
32447
- if (ssrMatchMedia !== null) {
32448
- const {
32449
- matches
32450
- } = ssrMatchMedia(query);
32451
- return () => matches;
32452
- }
32453
-
32454
- return getDefaultSnapshot;
32455
- }, [getDefaultSnapshot, query, ssrMatchMedia]);
32456
- const [getSnapshot, subscribe] = React__namespace.useMemo(() => {
32457
- if (matchMedia === null) {
32458
- return [getDefaultSnapshot, () => () => {}];
32459
- }
32460
-
32461
- const mediaQueryList = matchMedia(query);
32462
- return [() => mediaQueryList.matches, notify => {
32463
- // TODO: Use `addEventListener` once support for Safari < 14 is dropped
32464
- mediaQueryList.addListener(notify);
32465
- return () => {
32466
- mediaQueryList.removeListener(notify);
32467
- };
32468
- }];
32469
- }, [getDefaultSnapshot, matchMedia, query]);
32470
- const match = React__namespace.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
32471
- return match;
32472
- }
32473
-
32474
- function useMediaQuery(queryInput, options = {}) {
32475
- const theme = useTheme$2(); // Wait for jsdom to support the match media feature.
32476
- // All the browsers MUI support have this built-in.
32477
- // This defensive check is here for simplicity.
32478
- // Most of the time, the match media logic isn't central to people tests.
32479
-
32480
- const supportMatchMedia = typeof window !== 'undefined' && typeof window.matchMedia !== 'undefined';
32481
- const {
32482
- defaultMatches = false,
32483
- matchMedia = supportMatchMedia ? window.matchMedia : null,
32484
- ssrMatchMedia = null,
32485
- noSsr
32486
- } = getThemeProps({
32487
- name: 'MuiUseMediaQuery',
32488
- props: options,
32489
- theme
32490
- });
32491
-
32492
- {
32493
- if (typeof queryInput === 'function' && theme === null) {
32494
- console.error(['MUI: The `query` argument provided is invalid.', 'You are providing a function without a theme in the context.', 'One of the parent elements needs to use a ThemeProvider.'].join('\n'));
32495
- }
32496
- }
32497
-
32498
- let query = typeof queryInput === 'function' ? queryInput(theme) : queryInput;
32499
- query = query.replace(/^@media( ?)/m, ''); // TODO: Drop `useMediaQueryOld` and use `use-sync-external-store` shim in `useMediaQueryNew` once the package is stable
32500
-
32501
- const useMediaQueryImplementation = React__namespace.useSyncExternalStore !== undefined ? useMediaQueryNew : useMediaQueryOld;
32502
- const match = useMediaQueryImplementation(query, defaultMatches, matchMedia, ssrMatchMedia, noSsr);
32503
32455
 
32504
32456
  {
32505
32457
  // eslint-disable-next-line react-hooks/rules-of-hooks
@@ -39938,7 +39890,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
39938
39890
  }
39939
39891
  };
39940
39892
 
39941
- const name = useReactId(nameProp);
39893
+ const name = useId(nameProp);
39942
39894
  return /*#__PURE__*/jsxRuntime_1(RadioGroupContext$1.Provider, {
39943
39895
  value: {
39944
39896
  name,
@@ -40196,7 +40148,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
40196
40148
  const isHovered = itemValue <= hover;
40197
40149
  const isFocused = itemValue <= focus;
40198
40150
  const isChecked = itemValue === ratingValueRounded;
40199
- const id = useReactId();
40151
+ const id = useId();
40200
40152
 
40201
40153
  const container = /*#__PURE__*/jsxRuntime_1(RatingIcon, {
40202
40154
  as: IconContainerComponent,
@@ -40310,7 +40262,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
40310
40262
  } = props,
40311
40263
  other = _objectWithoutPropertiesLoose(props, _excluded2$3);
40312
40264
 
40313
- const name = useReactId(nameProp);
40265
+ const name = useId(nameProp);
40314
40266
  const [valueDerived, setValueState] = useControlled({
40315
40267
  controlled: valueProp,
40316
40268
  default: defaultValue,
@@ -41201,7 +41153,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
41201
41153
  }
41202
41154
 
41203
41155
  if (computeDisplay) {
41204
- display = multiple ? displayMultiple.join(', ') : displaySingle;
41156
+ if (multiple) {
41157
+ display = displayMultiple.reduce((prev, curr) => [prev, ', ', curr]);
41158
+ } else {
41159
+ display = displaySingle;
41160
+ }
41205
41161
  } // Avoid performing a layout computation in the render method.
41206
41162
 
41207
41163
 
@@ -44199,7 +44155,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
44199
44155
  }, [title, childNode, isControlled]);
44200
44156
  }
44201
44157
 
44202
- const id = useReactId(idProp);
44158
+ const id = useId(idProp);
44203
44159
  const prevUserSelect = React__namespace.useRef();
44204
44160
  const stopTouchInteraction = React__namespace.useCallback(() => {
44205
44161
  if (prevUserSelect.current !== undefined) {
@@ -48989,8 +48945,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
48989
48945
  colSpan = colSpanProp || 1000; // col-span over everything
48990
48946
  }
48991
48947
 
48992
- const selectId = useReactId(SelectProps.id);
48993
- const labelId = useReactId(SelectProps.labelId);
48948
+ const selectId = useId(SelectProps.id);
48949
+ const labelId = useId(SelectProps.labelId);
48994
48950
 
48995
48951
  const getLabelDisplayedRowsTo = () => {
48996
48952
  if (count === -1) {
@@ -51797,6 +51753,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
51797
51753
  exports.easing = easing;
51798
51754
  exports.emphasize = emphasize;
51799
51755
  exports.experimentalStyled = styled$1;
51756
+ exports.experimental_sx = sx;
51800
51757
  exports.extractEventHandlers = extractEventHandlers;
51801
51758
  exports.fabClasses = fabClasses$1;
51802
51759
  exports.filledInputClasses = filledInputClasses$1;
@@ -52030,7 +51987,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
52030
51987
  exports.unstable_getUnit = getUnit;
52031
51988
  exports.unstable_toUnitless = toUnitless;
52032
51989
  exports.unstable_useEnhancedEffect = useEnhancedEffect$1;
52033
- exports.unstable_useId = useReactId;
51990
+ exports.unstable_useId = useId;
52034
51991
  exports.unsupportedProp = unsupportedProp;
52035
51992
  exports.useAutocomplete = useAutocomplete;
52036
51993
  exports.useButton = useButton;