@mui/material 6.4.3 → 7.0.0-alpha.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 (194) hide show
  1. package/Accordion/Accordion.d.ts +3 -3
  2. package/AccordionActions/AccordionActions.d.ts +2 -2
  3. package/AccordionDetails/AccordionDetails.d.ts +2 -2
  4. package/AccordionSummary/AccordionSummary.d.ts +3 -3
  5. package/Alert/Alert.d.ts +3 -3
  6. package/AlertTitle/AlertTitle.d.ts +3 -3
  7. package/AppBar/AppBar.d.ts +3 -3
  8. package/Autocomplete/Autocomplete.d.ts +2 -2
  9. package/Avatar/Avatar.d.ts +2 -2
  10. package/AvatarGroup/AvatarGroup.d.ts +2 -2
  11. package/Backdrop/Backdrop.d.ts +3 -3
  12. package/Badge/Badge.d.ts +3 -3
  13. package/BottomNavigation/BottomNavigation.d.ts +2 -2
  14. package/BottomNavigationAction/BottomNavigationAction.d.ts +3 -3
  15. package/Box/Box.d.ts +2 -2
  16. package/Breadcrumbs/Breadcrumbs.d.ts +3 -3
  17. package/Button/Button.d.ts +4 -4
  18. package/ButtonBase/ButtonBase.d.ts +2 -2
  19. package/ButtonGroup/ButtonGroup.d.ts +2 -2
  20. package/CHANGELOG.md +24 -2242
  21. package/Card/Card.d.ts +3 -3
  22. package/CardActionArea/CardActionArea.d.ts +3 -3
  23. package/CardActions/CardActions.d.ts +2 -2
  24. package/CardContent/CardContent.d.ts +2 -2
  25. package/CardHeader/CardHeader.d.ts +2 -2
  26. package/CardMedia/CardMedia.d.ts +2 -2
  27. package/Checkbox/Checkbox.d.ts +4 -4
  28. package/Chip/Chip.d.ts +2 -2
  29. package/CircularProgress/CircularProgress.d.ts +3 -7
  30. package/ClickAwayListener/ClickAwayListener.d.ts +3 -3
  31. package/ClickAwayListener/ClickAwayListener.js +3 -3
  32. package/Collapse/Collapse.d.ts +5 -5
  33. package/Container/Container.d.ts +2 -2
  34. package/CssBaseline/CssBaseline.d.ts +2 -2
  35. package/Dialog/Dialog.d.ts +3 -3
  36. package/DialogActions/DialogActions.d.ts +2 -2
  37. package/DialogContent/DialogContent.d.ts +2 -2
  38. package/DialogContentText/DialogContentText.d.ts +3 -3
  39. package/DialogTitle/DialogTitle.d.ts +3 -3
  40. package/Divider/Divider.d.ts +3 -3
  41. package/Drawer/Drawer.d.ts +3 -3
  42. package/Fab/Fab.d.ts +3 -3
  43. package/Fade/Fade.d.ts +3 -3
  44. package/FilledInput/FilledInput.d.ts +3 -3
  45. package/FormControl/FormControl.d.ts +6 -6
  46. package/FormControlLabel/FormControlLabel.d.ts +4 -4
  47. package/FormGroup/FormGroup.d.ts +3 -3
  48. package/FormHelperText/FormHelperText.d.ts +2 -2
  49. package/FormLabel/FormLabel.d.ts +4 -4
  50. package/GlobalStyles/GlobalStyles.d.ts +2 -2
  51. package/Grid/Grid.d.ts +2 -2
  52. package/Grid2/Grid2.d.ts +2 -2
  53. package/Grid2/Grid2.js +2 -2
  54. package/Grow/Grow.d.ts +5 -5
  55. package/Hidden/Hidden.d.ts +2 -2
  56. package/Icon/Icon.d.ts +3 -3
  57. package/IconButton/IconButton.d.ts +4 -4
  58. package/ImageList/ImageList.d.ts +2 -2
  59. package/ImageListItem/ImageListItem.d.ts +2 -2
  60. package/ImageListItemBar/ImageListItemBar.d.ts +2 -2
  61. package/Input/Input.d.ts +3 -3
  62. package/InputAdornment/InputAdornment.d.ts +2 -2
  63. package/InputBase/InputBase.d.ts +2 -2
  64. package/InputLabel/InputLabel.d.ts +3 -3
  65. package/LinearProgress/LinearProgress.d.ts +3 -7
  66. package/Link/Link.d.ts +4 -4
  67. package/List/List.d.ts +3 -3
  68. package/ListItem/ListItem.d.ts +3 -3
  69. package/ListItemAvatar/ListItemAvatar.d.ts +2 -2
  70. package/ListItemButton/ListItemButton.d.ts +3 -3
  71. package/ListItemIcon/ListItemIcon.d.ts +2 -2
  72. package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -2
  73. package/ListItemText/ListItemText.d.ts +2 -2
  74. package/ListSubheader/ListSubheader.d.ts +2 -2
  75. package/Menu/Menu.d.ts +4 -4
  76. package/Menu/Menu.js +6 -2
  77. package/MenuItem/MenuItem.d.ts +3 -3
  78. package/MenuList/MenuList.d.ts +4 -4
  79. package/MobileStepper/MobileStepper.d.ts +3 -3
  80. package/Modal/Modal.d.ts +7 -7
  81. package/Modal/Modal.js +9 -10
  82. package/NativeSelect/NativeSelect.d.ts +3 -3
  83. package/NoSsr/NoSsr.d.ts +2 -2
  84. package/NoSsr/NoSsr.js +2 -2
  85. package/OutlinedInput/OutlinedInput.d.ts +3 -3
  86. package/Pagination/Pagination.d.ts +2 -2
  87. package/PaginationItem/PaginationItem.d.ts +2 -2
  88. package/Paper/Paper.d.ts +3 -3
  89. package/PigmentContainer/PigmentContainer.d.ts +2 -2
  90. package/PigmentContainer/PigmentContainer.js +2 -2
  91. package/PigmentGrid/PigmentGrid.d.ts +2 -2
  92. package/PigmentGrid/PigmentGrid.js +2 -2
  93. package/PigmentHidden/PigmentHidden.d.ts +2 -2
  94. package/PigmentHidden/PigmentHidden.js +2 -2
  95. package/PigmentStack/PigmentStack.d.ts +2 -2
  96. package/PigmentStack/PigmentStack.js +2 -2
  97. package/Popover/Popover.d.ts +64 -10
  98. package/Popover/Popover.js +78 -51
  99. package/Popper/Popper.d.ts +4 -4
  100. package/Popper/Popper.js +4 -4
  101. package/Portal/Portal.d.ts +2 -2
  102. package/Portal/Portal.js +2 -2
  103. package/README.md +4 -3
  104. package/Radio/Radio.d.ts +3 -3
  105. package/RadioGroup/RadioGroup.d.ts +3 -3
  106. package/Rating/Rating.d.ts +2 -2
  107. package/ScopedCssBaseline/ScopedCssBaseline.d.ts +2 -2
  108. package/Select/Select.d.ts +3 -3
  109. package/Skeleton/Skeleton.d.ts +2 -2
  110. package/Slide/Slide.d.ts +4 -4
  111. package/Slider/Slider.d.ts +20 -11
  112. package/Slider/Slider.js +2 -2
  113. package/Snackbar/Snackbar.d.ts +80 -3
  114. package/Snackbar/Snackbar.js +122 -32
  115. package/SnackbarContent/SnackbarContent.d.ts +3 -3
  116. package/SpeedDial/SpeedDial.d.ts +2 -2
  117. package/SpeedDialAction/SpeedDialAction.d.ts +3 -3
  118. package/SpeedDialIcon/SpeedDialIcon.d.ts +2 -2
  119. package/Stack/Stack.d.ts +2 -2
  120. package/Step/Step.d.ts +2 -2
  121. package/StepButton/StepButton.d.ts +3 -3
  122. package/StepConnector/StepConnector.d.ts +2 -2
  123. package/StepContent/StepContent.d.ts +2 -2
  124. package/StepIcon/StepIcon.d.ts +3 -3
  125. package/StepLabel/StepLabel.d.ts +2 -2
  126. package/Stepper/Stepper.d.ts +2 -2
  127. package/SvgIcon/SvgIcon.d.ts +3 -3
  128. package/SwipeableDrawer/SwipeableDrawer.d.ts +3 -3
  129. package/Switch/Switch.d.ts +4 -4
  130. package/Tab/Tab.d.ts +3 -3
  131. package/TabScrollButton/TabScrollButton.d.ts +2 -2
  132. package/Table/Table.d.ts +2 -2
  133. package/TableBody/TableBody.d.ts +2 -2
  134. package/TableCell/TableCell.d.ts +2 -2
  135. package/TableContainer/TableContainer.d.ts +2 -2
  136. package/TableFooter/TableFooter.d.ts +2 -2
  137. package/TableHead/TableHead.d.ts +2 -2
  138. package/TablePagination/TablePagination.d.ts +4 -4
  139. package/TableRow/TableRow.d.ts +2 -2
  140. package/TableSortLabel/TableSortLabel.d.ts +3 -3
  141. package/Tabs/Tabs.d.ts +2 -2
  142. package/TextField/TextField.d.ts +10 -10
  143. package/TextareaAutosize/TextareaAutosize.d.ts +2 -2
  144. package/TextareaAutosize/TextareaAutosize.js +2 -2
  145. package/ToggleButton/ToggleButton.d.ts +3 -3
  146. package/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -2
  147. package/Toolbar/Toolbar.d.ts +2 -2
  148. package/Tooltip/Tooltip.d.ts +2 -2
  149. package/Typography/Typography.d.ts +3 -3
  150. package/Zoom/Zoom.d.ts +3 -3
  151. package/index.js +1 -1
  152. package/internal/SwitchBase.d.ts +33 -1
  153. package/internal/SwitchBase.js +84 -30
  154. package/modern/ClickAwayListener/ClickAwayListener.js +3 -3
  155. package/modern/Grid2/Grid2.js +2 -2
  156. package/modern/Menu/Menu.js +6 -2
  157. package/modern/Modal/Modal.js +9 -10
  158. package/modern/NoSsr/NoSsr.js +2 -2
  159. package/modern/PigmentContainer/PigmentContainer.js +2 -2
  160. package/modern/PigmentGrid/PigmentGrid.js +2 -2
  161. package/modern/PigmentHidden/PigmentHidden.js +2 -2
  162. package/modern/PigmentStack/PigmentStack.js +2 -2
  163. package/modern/Popover/Popover.js +78 -51
  164. package/modern/Popper/Popper.js +4 -4
  165. package/modern/Portal/Portal.js +2 -2
  166. package/modern/Slider/Slider.js +2 -2
  167. package/modern/Snackbar/Snackbar.js +122 -32
  168. package/modern/TextareaAutosize/TextareaAutosize.js +2 -2
  169. package/modern/index.js +1 -1
  170. package/modern/internal/SwitchBase.js +84 -30
  171. package/modern/utils/mergeSlotProps.js +10 -3
  172. package/modern/version/index.js +5 -5
  173. package/node/ClickAwayListener/ClickAwayListener.js +3 -3
  174. package/node/Grid2/Grid2.js +2 -2
  175. package/node/Menu/Menu.js +6 -2
  176. package/node/Modal/Modal.js +9 -10
  177. package/node/NoSsr/NoSsr.js +2 -2
  178. package/node/PigmentContainer/PigmentContainer.js +2 -2
  179. package/node/PigmentGrid/PigmentGrid.js +2 -2
  180. package/node/PigmentHidden/PigmentHidden.js +2 -2
  181. package/node/PigmentStack/PigmentStack.js +2 -2
  182. package/node/Popover/Popover.js +78 -51
  183. package/node/Popper/Popper.js +4 -4
  184. package/node/Portal/Portal.js +2 -2
  185. package/node/Slider/Slider.js +2 -2
  186. package/node/Snackbar/Snackbar.js +122 -32
  187. package/node/TextareaAutosize/TextareaAutosize.js +2 -2
  188. package/node/index.js +1 -1
  189. package/node/internal/SwitchBase.js +84 -30
  190. package/node/utils/mergeSlotProps.js +10 -3
  191. package/node/version/index.js +5 -5
  192. package/package.json +7 -7
  193. package/utils/mergeSlotProps.js +10 -3
  194. package/version/index.js +5 -5
@@ -81,17 +81,17 @@ export type IconButtonTypeMap<
81
81
  }>;
82
82
 
83
83
  /**
84
- * Refer to the [Icons](https://mui.com/material-ui/icons/) section of the documentation
84
+ * Refer to the [Icons](https://next.mui.com/material-ui/icons/) section of the documentation
85
85
  * regarding the available icon options.
86
86
  *
87
87
  * Demos:
88
88
  *
89
- * - [Button](https://mui.com/material-ui/react-button/)
89
+ * - [Button](https://next.mui.com/material-ui/react-button/)
90
90
  *
91
91
  * API:
92
92
  *
93
- * - [IconButton API](https://mui.com/material-ui/api/icon-button/)
94
- * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/)
93
+ * - [IconButton API](https://next.mui.com/material-ui/api/icon-button/)
94
+ * - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/)
95
95
  */
96
96
  declare const IconButton: ExtendButtonBase<IconButtonTypeMap>;
97
97
 
@@ -56,11 +56,11 @@ export interface ImageListTypeMap<
56
56
  *
57
57
  * Demos:
58
58
  *
59
- * - [Image List](https://mui.com/material-ui/react-image-list/)
59
+ * - [Image List](https://next.mui.com/material-ui/react-image-list/)
60
60
  *
61
61
  * API:
62
62
  *
63
- * - [ImageList API](https://mui.com/material-ui/api/image-list/)
63
+ * - [ImageList API](https://next.mui.com/material-ui/api/image-list/)
64
64
  */
65
65
  declare const ImageList: OverridableComponent<ImageListTypeMap>;
66
66
 
@@ -40,11 +40,11 @@ export interface ImageListItemTypeMap<
40
40
  *
41
41
  * Demos:
42
42
  *
43
- * - [Image List](https://mui.com/material-ui/react-image-list/)
43
+ * - [Image List](https://next.mui.com/material-ui/react-image-list/)
44
44
  *
45
45
  * API:
46
46
  *
47
- * - [ImageListItem API](https://mui.com/material-ui/api/image-list-item/)
47
+ * - [ImageListItem API](https://next.mui.com/material-ui/api/image-list-item/)
48
48
  */
49
49
  declare const ImageListItem: OverridableComponent<ImageListItemTypeMap>;
50
50
 
@@ -42,10 +42,10 @@ export interface ImageListItemBarProps
42
42
  *
43
43
  * Demos:
44
44
  *
45
- * - [Image List](https://mui.com/material-ui/react-image-list/)
45
+ * - [Image List](https://next.mui.com/material-ui/react-image-list/)
46
46
  *
47
47
  * API:
48
48
  *
49
- * - [ImageListItemBar API](https://mui.com/material-ui/api/image-list-item-bar/)
49
+ * - [ImageListItemBar API](https://next.mui.com/material-ui/api/image-list-item-bar/)
50
50
  */
51
51
  export default function ImageListItemBar(props: ImageListItemBarProps): React.JSX.Element;
package/Input/Input.d.ts CHANGED
@@ -23,12 +23,12 @@ export interface InputProps extends StandardProps<InputBaseProps> {
23
23
  *
24
24
  * Demos:
25
25
  *
26
- * - [Text Field](https://mui.com/material-ui/react-text-field/)
26
+ * - [Text Field](https://next.mui.com/material-ui/react-text-field/)
27
27
  *
28
28
  * API:
29
29
  *
30
- * - [Input API](https://mui.com/material-ui/api/input/)
31
- * - inherits [InputBase API](https://mui.com/material-ui/api/input-base/)
30
+ * - [Input API](https://next.mui.com/material-ui/api/input/)
31
+ * - inherits [InputBase API](https://next.mui.com/material-ui/api/input-base/)
32
32
  */
33
33
  declare const Input: ((props: InputProps) => React.JSX.Element) & { muiName: string };
34
34
 
@@ -51,11 +51,11 @@ export interface InputAdornmentTypeMap<
51
51
  *
52
52
  * Demos:
53
53
  *
54
- * - [Text Field](https://mui.com/material-ui/react-text-field/)
54
+ * - [Text Field](https://next.mui.com/material-ui/react-text-field/)
55
55
  *
56
56
  * API:
57
57
  *
58
- * - [InputAdornment API](https://mui.com/material-ui/api/input-adornment/)
58
+ * - [InputAdornment API](https://next.mui.com/material-ui/api/input-adornment/)
59
59
  */
60
60
  declare const InputAdornment: OverridableComponent<InputAdornmentTypeMap>;
61
61
 
@@ -255,10 +255,10 @@ export interface InputBaseComponentProps
255
255
  *
256
256
  * Demos:
257
257
  *
258
- * - [Text Field](https://mui.com/material-ui/react-text-field/)
258
+ * - [Text Field](https://next.mui.com/material-ui/react-text-field/)
259
259
  *
260
260
  * API:
261
261
  *
262
- * - [InputBase API](https://mui.com/material-ui/api/input-base/)
262
+ * - [InputBase API](https://next.mui.com/material-ui/api/input-base/)
263
263
  */
264
264
  export default function InputBase(props: InputBaseProps): React.JSX.Element;
@@ -71,12 +71,12 @@ export type InputLabelTypeMap<
71
71
  *
72
72
  * Demos:
73
73
  *
74
- * - [Text Field](https://mui.com/material-ui/react-text-field/)
74
+ * - [Text Field](https://next.mui.com/material-ui/react-text-field/)
75
75
  *
76
76
  * API:
77
77
  *
78
- * - [InputLabel API](https://mui.com/material-ui/api/input-label/)
79
- * - inherits [FormLabel API](https://mui.com/material-ui/api/form-label/)
78
+ * - [InputLabel API](https://next.mui.com/material-ui/api/input-label/)
79
+ * - inherits [FormLabel API](https://next.mui.com/material-ui/api/form-label/)
80
80
  */
81
81
  declare const InputLabel: OverridableComponent<InputLabelTypeMap>;
82
82
 
@@ -5,7 +5,6 @@ import { InternalStandardProps as StandardProps, Theme } from '..';
5
5
  import { LinearProgressClasses } from './linearProgressClasses';
6
6
 
7
7
  export interface LinearProgressPropsColorOverrides {}
8
- export interface LinearProgressPropsVariantOverrides {}
9
8
 
10
9
  export interface LinearProgressProps
11
10
  extends StandardProps<React.HTMLAttributes<HTMLSpanElement>, 'children'> {
@@ -42,10 +41,7 @@ export interface LinearProgressProps
42
41
  * Use indeterminate or query when there is no progress value.
43
42
  * @default 'indeterminate'
44
43
  */
45
- variant?: OverridableStringUnion<
46
- 'determinate' | 'indeterminate' | 'buffer' | 'query',
47
- LinearProgressPropsVariantOverrides
48
- >;
44
+ variant?: 'determinate' | 'indeterminate' | 'buffer' | 'query';
49
45
  }
50
46
 
51
47
  /**
@@ -57,10 +53,10 @@ export interface LinearProgressProps
57
53
  *
58
54
  * Demos:
59
55
  *
60
- * - [Progress](https://mui.com/material-ui/react-progress/)
56
+ * - [Progress](https://next.mui.com/material-ui/react-progress/)
61
57
  *
62
58
  * API:
63
59
  *
64
- * - [LinearProgress API](https://mui.com/material-ui/api/linear-progress/)
60
+ * - [LinearProgress API](https://next.mui.com/material-ui/api/linear-progress/)
65
61
  */
66
62
  export default function LinearProgress(props: LinearProgressProps): React.JSX.Element;
package/Link/Link.d.ts CHANGED
@@ -49,13 +49,13 @@ export interface LinkTypeMap<AdditionalProps = {}, RootComponent extends React.E
49
49
  *
50
50
  * Demos:
51
51
  *
52
- * - [Breadcrumbs](https://mui.com/material-ui/react-breadcrumbs/)
53
- * - [Links](https://mui.com/material-ui/react-link/)
52
+ * - [Breadcrumbs](https://next.mui.com/material-ui/react-breadcrumbs/)
53
+ * - [Links](https://next.mui.com/material-ui/react-link/)
54
54
  *
55
55
  * API:
56
56
  *
57
- * - [Link API](https://mui.com/material-ui/api/link/)
58
- * - inherits [Typography API](https://mui.com/material-ui/api/typography/)
57
+ * - [Link API](https://next.mui.com/material-ui/api/link/)
58
+ * - inherits [Typography API](https://next.mui.com/material-ui/api/typography/)
59
59
  */
60
60
  declare const Link: OverridableComponent<LinkTypeMap>;
61
61
 
package/List/List.d.ts CHANGED
@@ -56,12 +56,12 @@ export type ExtendList<TypeMap extends OverridableTypeMap> = OverridableComponen
56
56
  *
57
57
  * Demos:
58
58
  *
59
- * - [Lists](https://mui.com/material-ui/react-list/)
60
- * - [Transfer List](https://mui.com/material-ui/react-transfer-list/)
59
+ * - [Lists](https://next.mui.com/material-ui/react-list/)
60
+ * - [Transfer List](https://next.mui.com/material-ui/react-transfer-list/)
61
61
  *
62
62
  * API:
63
63
  *
64
- * - [List API](https://mui.com/material-ui/api/list/)
64
+ * - [List API](https://next.mui.com/material-ui/api/list/)
65
65
  */
66
66
  declare const List: ExtendList<ListTypeMap>;
67
67
 
@@ -116,12 +116,12 @@ export interface ListItemTypeMap<AdditionalProps, RootComponent extends React.El
116
116
  *
117
117
  * Demos:
118
118
  *
119
- * - [Lists](https://mui.com/material-ui/react-list/)
120
- * - [Transfer List](https://mui.com/material-ui/react-transfer-list/)
119
+ * - [Lists](https://next.mui.com/material-ui/react-list/)
120
+ * - [Transfer List](https://next.mui.com/material-ui/react-transfer-list/)
121
121
  *
122
122
  * API:
123
123
  *
124
- * - [ListItem API](https://mui.com/material-ui/api/list-item/)
124
+ * - [ListItem API](https://next.mui.com/material-ui/api/list-item/)
125
125
  */
126
126
  declare const ListItem: OverridableComponent<ListItemTypeMap<{}, 'li'>>;
127
127
 
@@ -22,10 +22,10 @@ export interface ListItemAvatarProps extends StandardProps<React.HTMLAttributes<
22
22
  *
23
23
  * Demos:
24
24
  *
25
- * - [Lists](https://mui.com/material-ui/react-list/)
25
+ * - [Lists](https://next.mui.com/material-ui/react-list/)
26
26
  *
27
27
  * API:
28
28
  *
29
- * - [ListItemAvatar API](https://mui.com/material-ui/api/list-item-avatar/)
29
+ * - [ListItemAvatar API](https://next.mui.com/material-ui/api/list-item-avatar/)
30
30
  */
31
31
  export default function ListItemAvatar(props: ListItemAvatarProps): React.JSX.Element;
@@ -76,12 +76,12 @@ export type ListItemButtonTypeMap<
76
76
  *
77
77
  * Demos:
78
78
  *
79
- * - [Lists](https://mui.com/material-ui/react-list/)
79
+ * - [Lists](https://next.mui.com/material-ui/react-list/)
80
80
  *
81
81
  * API:
82
82
  *
83
- * - [ListItemButton API](https://mui.com/material-ui/api/list-item-button/)
84
- * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/)
83
+ * - [ListItemButton API](https://next.mui.com/material-ui/api/list-item-button/)
84
+ * - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/)
85
85
  */
86
86
  declare const ListItemButton: ExtendButtonBase<ListItemButtonTypeMap>;
87
87
 
@@ -24,10 +24,10 @@ export interface ListItemIconProps extends StandardProps<React.HTMLAttributes<HT
24
24
  *
25
25
  * Demos:
26
26
  *
27
- * - [Lists](https://mui.com/material-ui/react-list/)
27
+ * - [Lists](https://next.mui.com/material-ui/react-list/)
28
28
  *
29
29
  * API:
30
30
  *
31
- * - [ListItemIcon API](https://mui.com/material-ui/api/list-item-icon/)
31
+ * - [ListItemIcon API](https://next.mui.com/material-ui/api/list-item-icon/)
32
32
  */
33
33
  export default function ListItemIcon(props: ListItemIconProps): React.JSX.Element;
@@ -24,11 +24,11 @@ export interface ListItemSecondaryActionProps
24
24
  *
25
25
  * Demos:
26
26
  *
27
- * - [Lists](https://mui.com/material-ui/react-list/)
27
+ * - [Lists](https://next.mui.com/material-ui/react-list/)
28
28
  *
29
29
  * API:
30
30
  *
31
- * - [ListItemSecondaryAction API](https://mui.com/material-ui/api/list-item-secondary-action/)
31
+ * - [ListItemSecondaryAction API](https://next.mui.com/material-ui/api/list-item-secondary-action/)
32
32
  *
33
33
  * @deprecated Use the `secondaryAction` prop in the `ListItem` component instead. This component will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
34
34
  */
@@ -99,11 +99,11 @@ export interface ListItemTextProps<
99
99
  *
100
100
  * Demos:
101
101
  *
102
- * - [Lists](https://mui.com/material-ui/react-list/)
102
+ * - [Lists](https://next.mui.com/material-ui/react-list/)
103
103
  *
104
104
  * API:
105
105
  *
106
- * - [ListItemText API](https://mui.com/material-ui/api/list-item-text/)
106
+ * - [ListItemText API](https://next.mui.com/material-ui/api/list-item-text/)
107
107
  */
108
108
  export default function ListItemText<
109
109
  PrimaryTypographyComponent extends React.ElementType = 'span',
@@ -51,11 +51,11 @@ export interface ListSubheaderTypeMap<
51
51
  *
52
52
  * Demos:
53
53
  *
54
- * - [Lists](https://mui.com/material-ui/react-list/)
54
+ * - [Lists](https://next.mui.com/material-ui/react-list/)
55
55
  *
56
56
  * API:
57
57
  *
58
- * - [ListSubheader API](https://mui.com/material-ui/api/list-subheader/)
58
+ * - [ListSubheader API](https://next.mui.com/material-ui/api/list-subheader/)
59
59
  */
60
60
  declare const ListSubheader: OverridableComponent<ListSubheaderTypeMap>;
61
61
 
package/Menu/Menu.d.ts CHANGED
@@ -86,12 +86,12 @@ export declare const MenuPaper: React.FC<PaperProps>;
86
86
  *
87
87
  * Demos:
88
88
  *
89
- * - [App Bar](https://mui.com/material-ui/react-app-bar/)
90
- * - [Menu](https://mui.com/material-ui/react-menu/)
89
+ * - [App Bar](https://next.mui.com/material-ui/react-app-bar/)
90
+ * - [Menu](https://next.mui.com/material-ui/react-menu/)
91
91
  *
92
92
  * API:
93
93
  *
94
- * - [Menu API](https://mui.com/material-ui/api/menu/)
95
- * - inherits [Popover API](https://mui.com/material-ui/api/popover/)
94
+ * - [Menu API](https://next.mui.com/material-ui/api/menu/)
95
+ * - inherits [Popover API](https://next.mui.com/material-ui/api/popover/)
96
96
  */
97
97
  export default function Menu(props: MenuProps): React.JSX.Element;
package/Menu/Menu.js CHANGED
@@ -263,16 +263,20 @@ process.env.NODE_ENV !== "production" ? Menu.propTypes /* remove-proptypes */ =
263
263
  * @default {}
264
264
  */
265
265
  slotProps: PropTypes.shape({
266
+ backdrop: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
266
267
  paper: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
267
- root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
268
+ root: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
269
+ transition: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
268
270
  }),
269
271
  /**
270
272
  * The components used for each slot inside.
271
273
  * @default {}
272
274
  */
273
275
  slots: PropTypes.shape({
276
+ backdrop: PropTypes.elementType,
274
277
  paper: PropTypes.elementType,
275
- root: PropTypes.elementType
278
+ root: PropTypes.elementType,
279
+ transition: PropTypes.elementType
276
280
  }),
277
281
  /**
278
282
  * The system prop that allows defining system overrides as well as additional CSS styles.
@@ -60,12 +60,12 @@ export type MenuItemTypeMap<
60
60
  *
61
61
  * Demos:
62
62
  *
63
- * - [Menu](https://mui.com/material-ui/react-menu/)
63
+ * - [Menu](https://next.mui.com/material-ui/react-menu/)
64
64
  *
65
65
  * API:
66
66
  *
67
- * - [MenuItem API](https://mui.com/material-ui/api/menu-item/)
68
- * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/)
67
+ * - [MenuItem API](https://next.mui.com/material-ui/api/menu-item/)
68
+ * - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/)
69
69
  */
70
70
  declare const MenuItem: ExtendButtonBase<MenuItemTypeMap>;
71
71
 
@@ -48,18 +48,18 @@ export type MenuListClassKey = keyof NonNullable<MenuListTypeMap['props']['class
48
48
 
49
49
  /**
50
50
  * A permanently displayed menu following https://www.w3.org/WAI/ARIA/apg/patterns/menu-button/.
51
- * It's exposed to help customization of the [`Menu`](https://mui.com/material-ui/api/menu/) component if you
51
+ * It's exposed to help customization of the [`Menu`](https://next.mui.com/material-ui/api/menu/) component if you
52
52
  * use it separately you need to move focus into the component manually. Once
53
53
  * the focus is placed inside the component it is fully keyboard accessible.
54
54
  *
55
55
  * Demos:
56
56
  *
57
- * - [Menu](https://mui.com/material-ui/react-menu/)
57
+ * - [Menu](https://next.mui.com/material-ui/react-menu/)
58
58
  *
59
59
  * API:
60
60
  *
61
- * - [MenuList API](https://mui.com/material-ui/api/menu-list/)
62
- * - inherits [List API](https://mui.com/material-ui/api/list/)
61
+ * - [MenuList API](https://next.mui.com/material-ui/api/menu-list/)
62
+ * - inherits [List API](https://next.mui.com/material-ui/api/list/)
63
63
  */
64
64
  declare const MenuList: ExtendList<MenuListTypeMap>;
65
65
 
@@ -52,11 +52,11 @@ export interface MobileStepperProps extends StandardProps<PaperProps, 'children'
52
52
  *
53
53
  * Demos:
54
54
  *
55
- * - [Stepper](https://mui.com/material-ui/react-stepper/)
55
+ * - [Stepper](https://next.mui.com/material-ui/react-stepper/)
56
56
  *
57
57
  * API:
58
58
  *
59
- * - [MobileStepper API](https://mui.com/material-ui/api/mobile-stepper/)
60
- * - inherits [Paper API](https://mui.com/material-ui/api/paper/)
59
+ * - [MobileStepper API](https://next.mui.com/material-ui/api/mobile-stepper/)
60
+ * - inherits [Paper API](https://next.mui.com/material-ui/api/paper/)
61
61
  */
62
62
  export default function MobileStepper(props: MobileStepperProps): React.JSX.Element;
package/Modal/Modal.d.ts CHANGED
@@ -211,23 +211,23 @@ export declare const ModalRoot: React.FC<ModalRootProps>;
211
211
  /**
212
212
  * Modal is a lower-level construct that is leveraged by the following components:
213
213
  *
214
- * * [Dialog](https://mui.com/material-ui/api/dialog/)
215
- * * [Drawer](https://mui.com/material-ui/api/drawer/)
216
- * * [Menu](https://mui.com/material-ui/api/menu/)
217
- * * [Popover](https://mui.com/material-ui/api/popover/)
214
+ * * [Dialog](https://next.mui.com/material-ui/api/dialog/)
215
+ * * [Drawer](https://next.mui.com/material-ui/api/drawer/)
216
+ * * [Menu](https://next.mui.com/material-ui/api/menu/)
217
+ * * [Popover](https://next.mui.com/material-ui/api/popover/)
218
218
  *
219
- * If you are creating a modal dialog, you probably want to use the [Dialog](https://mui.com/material-ui/api/dialog/) component
219
+ * If you are creating a modal dialog, you probably want to use the [Dialog](https://next.mui.com/material-ui/api/dialog/) component
220
220
  * rather than directly using Modal.
221
221
  *
222
222
  * This component shares many concepts with [react-overlays](https://react-bootstrap.github.io/react-overlays/#modals).
223
223
  *
224
224
  * Demos:
225
225
  *
226
- * - [Modal](https://mui.com/material-ui/react-modal/)
226
+ * - [Modal](https://next.mui.com/material-ui/react-modal/)
227
227
  *
228
228
  * API:
229
229
  *
230
- * - [Modal API](https://mui.com/material-ui/api/modal/)
230
+ * - [Modal API](https://next.mui.com/material-ui/api/modal/)
231
231
  */
232
232
  declare const Modal: OverridableComponent<ModalTypeMap>;
233
233
 
package/Modal/Modal.js CHANGED
@@ -15,7 +15,6 @@ import Backdrop from "../Backdrop/index.js";
15
15
  import useModal from "./useModal.js";
16
16
  import { getModalUtilityClass } from "./modalClasses.js";
17
17
  import useSlot from "../utils/useSlot.js";
18
- import { useForkRef } from "../utils/index.js";
19
18
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
20
19
  const useUtilityClasses = ownerState => {
21
20
  const {
@@ -158,7 +157,6 @@ const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
158
157
  childProps.onExited = onExited;
159
158
  }
160
159
  const externalForwardedProps = {
161
- ...other,
162
160
  slots: {
163
161
  root: components.Root,
164
162
  backdrop: components.Backdrop,
@@ -170,19 +168,22 @@ const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
170
168
  }
171
169
  };
172
170
  const [RootSlot, rootProps] = useSlot('root', {
171
+ ref,
173
172
  elementType: ModalRoot,
174
- externalForwardedProps,
175
- getSlotProps: getRootProps,
176
- additionalProps: {
177
- ref,
178
- as: component
173
+ externalForwardedProps: {
174
+ ...externalForwardedProps,
175
+ ...other,
176
+ component
179
177
  },
178
+ getSlotProps: getRootProps,
180
179
  ownerState,
181
180
  className: clsx(className, classes?.root, !ownerState.open && ownerState.exited && classes?.hidden)
182
181
  });
183
182
  const [BackdropSlot, backdropProps] = useSlot('backdrop', {
183
+ ref: BackdropProps?.ref,
184
184
  elementType: BackdropComponent,
185
185
  externalForwardedProps,
186
+ shouldForwardComponentProp: true,
186
187
  additionalProps: BackdropProps,
187
188
  getSlotProps: otherHandlers => {
188
189
  return getBackdropProps({
@@ -200,7 +201,6 @@ const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
200
201
  className: clsx(BackdropProps?.className, classes?.backdrop),
201
202
  ownerState
202
203
  });
203
- const backdropRef = useForkRef(BackdropProps?.ref, backdropProps.ref);
204
204
  if (!keepMounted && !open && (!hasTransition || exited)) {
205
205
  return null;
206
206
  }
@@ -211,8 +211,7 @@ const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
211
211
  children: /*#__PURE__*/_jsxs(RootSlot, {
212
212
  ...rootProps,
213
213
  children: [!hideBackdrop && BackdropComponent ? /*#__PURE__*/_jsx(BackdropSlot, {
214
- ...backdropProps,
215
- ref: backdropRef
214
+ ...backdropProps
216
215
  }) : null, /*#__PURE__*/_jsx(FocusTrap, {
217
216
  disableEnforceFocus: disableEnforceFocus,
218
217
  disableAutoFocus: disableAutoFocus,
@@ -57,12 +57,12 @@ export interface NativeSelectProps
57
57
  *
58
58
  * Demos:
59
59
  *
60
- * - [Select](https://mui.com/material-ui/react-select/)
60
+ * - [Select](https://next.mui.com/material-ui/react-select/)
61
61
  *
62
62
  * API:
63
63
  *
64
- * - [NativeSelect API](https://mui.com/material-ui/api/native-select/)
65
- * - inherits [Input API](https://mui.com/material-ui/api/input/)
64
+ * - [NativeSelect API](https://next.mui.com/material-ui/api/native-select/)
65
+ * - inherits [Input API](https://next.mui.com/material-ui/api/input/)
66
66
  */
67
67
  declare const NativeSelect: ((props: NativeSelectProps) => React.JSX.Element) & { muiName: string };
68
68
 
package/NoSsr/NoSsr.d.ts CHANGED
@@ -12,11 +12,11 @@ import { NoSsrProps } from './NoSsr.types';
12
12
  *
13
13
  * Demos:
14
14
  *
15
- * - [No SSR](https://mui.com/material-ui/react-no-ssr/)
15
+ * - [No SSR](https://next.mui.com/material-ui/react-no-ssr/)
16
16
  *
17
17
  * API:
18
18
  *
19
- * - [NoSsr API](https://mui.com/material-ui/api/no-ssr/)
19
+ * - [NoSsr API](https://next.mui.com/material-ui/api/no-ssr/)
20
20
  */
21
21
  declare function NoSsr(props: NoSsrProps): React.JSX.Element;
22
22
  declare namespace NoSsr {
package/NoSsr/NoSsr.js CHANGED
@@ -15,11 +15,11 @@ import { exactProp, unstable_useEnhancedEffect as useEnhancedEffect } from '@mui
15
15
  *
16
16
  * Demos:
17
17
  *
18
- * - [No SSR](https://mui.com/material-ui/react-no-ssr/)
18
+ * - [No SSR](https://next.mui.com/material-ui/react-no-ssr/)
19
19
  *
20
20
  * API:
21
21
  *
22
- * - [NoSsr API](https://mui.com/material-ui/api/no-ssr/)
22
+ * - [NoSsr API](https://next.mui.com/material-ui/api/no-ssr/)
23
23
  */
24
24
  function NoSsr(props) {
25
25
  const {
@@ -28,12 +28,12 @@ export interface OutlinedInputProps extends StandardProps<InputBaseProps> {
28
28
  *
29
29
  * Demos:
30
30
  *
31
- * - [Text Field](https://mui.com/material-ui/react-text-field/)
31
+ * - [Text Field](https://next.mui.com/material-ui/react-text-field/)
32
32
  *
33
33
  * API:
34
34
  *
35
- * - [OutlinedInput API](https://mui.com/material-ui/api/outlined-input/)
36
- * - inherits [InputBase API](https://mui.com/material-ui/api/input-base/)
35
+ * - [OutlinedInput API](https://next.mui.com/material-ui/api/outlined-input/)
36
+ * - inherits [InputBase API](https://next.mui.com/material-ui/api/input-base/)
37
37
  */
38
38
  declare const OutlinedInput: ((props: OutlinedInputProps) => React.JSX.Element) & {
39
39
  muiName: string;
@@ -84,10 +84,10 @@ export interface PaginationProps
84
84
  *
85
85
  * Demos:
86
86
  *
87
- * - [Pagination](https://mui.com/material-ui/react-pagination/)
87
+ * - [Pagination](https://next.mui.com/material-ui/react-pagination/)
88
88
  *
89
89
  * API:
90
90
  *
91
- * - [Pagination API](https://mui.com/material-ui/api/pagination/)
91
+ * - [Pagination API](https://next.mui.com/material-ui/api/pagination/)
92
92
  */
93
93
  export default function Pagination(props: PaginationProps): React.JSX.Element;
@@ -118,11 +118,11 @@ export interface PaginationItemTypeMap<
118
118
  *
119
119
  * Demos:
120
120
  *
121
- * - [Pagination](https://mui.com/material-ui/react-pagination/)
121
+ * - [Pagination](https://next.mui.com/material-ui/react-pagination/)
122
122
  *
123
123
  * API:
124
124
  *
125
- * - [PaginationItem API](https://mui.com/material-ui/api/pagination-item/)
125
+ * - [PaginationItem API](https://next.mui.com/material-ui/api/pagination-item/)
126
126
  */
127
127
  declare const PaginationItem: OverridableComponent<PaginationItemTypeMap>;
128
128
 
package/Paper/Paper.d.ts CHANGED
@@ -50,12 +50,12 @@ export interface PaperTypeMap<
50
50
  *
51
51
  * Demos:
52
52
  *
53
- * - [Card](https://mui.com/material-ui/react-card/)
54
- * - [Paper](https://mui.com/material-ui/react-paper/)
53
+ * - [Card](https://next.mui.com/material-ui/react-card/)
54
+ * - [Paper](https://next.mui.com/material-ui/react-paper/)
55
55
  *
56
56
  * API:
57
57
  *
58
- * - [Paper API](https://mui.com/material-ui/api/paper/)
58
+ * - [Paper API](https://next.mui.com/material-ui/api/paper/)
59
59
  */
60
60
  declare const Paper: OverridableComponent<PaperTypeMap>;
61
61
 
@@ -45,11 +45,11 @@ export type PigmentContainerProps<RootComponent extends React.ElementType = Pigm
45
45
  *
46
46
  * Demos:
47
47
  *
48
- * - [Container](https://mui.com/material-ui/react-container/)
48
+ * - [Container](https://next.mui.com/material-ui/react-container/)
49
49
  *
50
50
  * API:
51
51
  *
52
- * - [PigmentContainer API](https://mui.com/material-ui/api/pigment-container/)
52
+ * - [PigmentContainer API](https://next.mui.com/material-ui/api/pigment-container/)
53
53
  */
54
54
  declare const PigmentContainer: OverridableComponent<PigmentContainerTypeMap>;
55
55
  export default PigmentContainer;
@@ -23,11 +23,11 @@ const useUtilityClasses = ownerState => {
23
23
  *
24
24
  * Demos:
25
25
  *
26
- * - [Container](https://mui.com/material-ui/react-container/)
26
+ * - [Container](https://next.mui.com/material-ui/react-container/)
27
27
  *
28
28
  * API:
29
29
  *
30
- * - [PigmentContainer API](https://mui.com/material-ui/api/pigment-container/)
30
+ * - [PigmentContainer API](https://next.mui.com/material-ui/api/pigment-container/)
31
31
  */
32
32
  const PigmentContainer = /*#__PURE__*/React.forwardRef(function PigmentContainer({
33
33
  className,