@mui/material 6.4.8 → 6.4.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (197) 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/Autocomplete/Autocomplete.js +1 -1
  10. package/Avatar/Avatar.d.ts +2 -2
  11. package/AvatarGroup/AvatarGroup.d.ts +2 -2
  12. package/Backdrop/Backdrop.d.ts +3 -3
  13. package/Badge/Badge.d.ts +3 -3
  14. package/BottomNavigation/BottomNavigation.d.ts +2 -2
  15. package/BottomNavigationAction/BottomNavigationAction.d.ts +3 -3
  16. package/Box/Box.d.ts +2 -2
  17. package/Breadcrumbs/Breadcrumbs.d.ts +3 -3
  18. package/Button/Button.d.ts +4 -4
  19. package/ButtonBase/ButtonBase.d.ts +2 -2
  20. package/ButtonGroup/ButtonGroup.d.ts +2 -2
  21. package/CHANGELOG.md +54 -0
  22. package/Card/Card.d.ts +3 -3
  23. package/CardActionArea/CardActionArea.d.ts +3 -3
  24. package/CardActions/CardActions.d.ts +2 -2
  25. package/CardContent/CardContent.d.ts +2 -2
  26. package/CardHeader/CardHeader.d.ts +2 -2
  27. package/CardMedia/CardMedia.d.ts +2 -2
  28. package/Checkbox/Checkbox.d.ts +4 -4
  29. package/Chip/Chip.d.ts +2 -2
  30. package/CircularProgress/CircularProgress.d.ts +2 -2
  31. package/ClickAwayListener/ClickAwayListener.d.ts +3 -3
  32. package/ClickAwayListener/ClickAwayListener.js +3 -3
  33. package/Collapse/Collapse.d.ts +5 -5
  34. package/Container/Container.d.ts +2 -2
  35. package/CssBaseline/CssBaseline.d.ts +2 -2
  36. package/Dialog/Dialog.d.ts +3 -3
  37. package/DialogActions/DialogActions.d.ts +2 -2
  38. package/DialogContent/DialogContent.d.ts +2 -2
  39. package/DialogContentText/DialogContentText.d.ts +3 -3
  40. package/DialogTitle/DialogTitle.d.ts +3 -3
  41. package/Divider/Divider.d.ts +3 -3
  42. package/Drawer/Drawer.d.ts +3 -3
  43. package/Fab/Fab.d.ts +3 -3
  44. package/Fade/Fade.d.ts +3 -3
  45. package/FilledInput/FilledInput.d.ts +3 -3
  46. package/FormControl/FormControl.d.ts +6 -6
  47. package/FormControlLabel/FormControlLabel.d.ts +4 -4
  48. package/FormGroup/FormGroup.d.ts +3 -3
  49. package/FormHelperText/FormHelperText.d.ts +2 -2
  50. package/FormLabel/FormLabel.d.ts +4 -4
  51. package/GlobalStyles/GlobalStyles.d.ts +2 -2
  52. package/Grid/Grid.d.ts +2 -2
  53. package/Grid2/Grid2.d.ts +2 -2
  54. package/Grid2/Grid2.js +2 -2
  55. package/Grow/Grow.d.ts +5 -5
  56. package/Hidden/Hidden.d.ts +2 -2
  57. package/Icon/Icon.d.ts +3 -3
  58. package/IconButton/IconButton.d.ts +4 -4
  59. package/ImageList/ImageList.d.ts +2 -2
  60. package/ImageListItem/ImageListItem.d.ts +2 -2
  61. package/ImageListItemBar/ImageListItemBar.d.ts +2 -2
  62. package/Input/Input.d.ts +3 -3
  63. package/InputAdornment/InputAdornment.d.ts +2 -2
  64. package/InputBase/InputBase.d.ts +2 -2
  65. package/InputLabel/InputLabel.d.ts +3 -3
  66. package/LinearProgress/LinearProgress.d.ts +2 -2
  67. package/Link/Link.d.ts +4 -4
  68. package/List/List.d.ts +3 -3
  69. package/ListItem/ListItem.d.ts +3 -3
  70. package/ListItemAvatar/ListItemAvatar.d.ts +2 -2
  71. package/ListItemButton/ListItemButton.d.ts +3 -3
  72. package/ListItemIcon/ListItemIcon.d.ts +2 -2
  73. package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -2
  74. package/ListItemText/ListItemText.d.ts +2 -2
  75. package/ListSubheader/ListSubheader.d.ts +2 -2
  76. package/Menu/Menu.d.ts +4 -4
  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/NativeSelect/NativeSelect.d.ts +3 -3
  82. package/NoSsr/NoSsr.d.ts +2 -2
  83. package/NoSsr/NoSsr.js +2 -2
  84. package/OutlinedInput/OutlinedInput.d.ts +3 -3
  85. package/Pagination/Pagination.d.ts +2 -2
  86. package/PaginationItem/PaginationItem.d.ts +2 -2
  87. package/Paper/Paper.d.ts +3 -3
  88. package/PigmentContainer/PigmentContainer.d.ts +2 -2
  89. package/PigmentContainer/PigmentContainer.js +2 -2
  90. package/PigmentGrid/PigmentGrid.d.ts +2 -2
  91. package/PigmentGrid/PigmentGrid.js +2 -2
  92. package/PigmentHidden/PigmentHidden.d.ts +2 -2
  93. package/PigmentHidden/PigmentHidden.js +2 -2
  94. package/PigmentStack/PigmentStack.d.ts +2 -2
  95. package/PigmentStack/PigmentStack.js +2 -2
  96. package/Popover/Popover.d.ts +5 -6
  97. package/Popover/Popover.js +1 -1
  98. package/Popper/Popper.d.ts +4 -4
  99. package/Popper/Popper.js +4 -4
  100. package/Portal/Portal.d.ts +2 -2
  101. package/Portal/Portal.js +2 -2
  102. package/README.md +4 -2
  103. package/Radio/Radio.d.ts +3 -3
  104. package/RadioGroup/RadioGroup.d.ts +3 -3
  105. package/Rating/Rating.d.ts +2 -2
  106. package/ScopedCssBaseline/ScopedCssBaseline.d.ts +2 -2
  107. package/Select/Select.d.ts +3 -3
  108. package/Skeleton/Skeleton.d.ts +2 -2
  109. package/Slide/Slide.d.ts +4 -4
  110. package/Slider/Slider.d.ts +2 -2
  111. package/Snackbar/Snackbar.d.ts +2 -2
  112. package/SnackbarContent/SnackbarContent.d.ts +3 -3
  113. package/SpeedDial/SpeedDial.d.ts +2 -2
  114. package/SpeedDialAction/SpeedDialAction.d.ts +3 -3
  115. package/SpeedDialIcon/SpeedDialIcon.d.ts +2 -2
  116. package/Stack/Stack.d.ts +2 -2
  117. package/Step/Step.d.ts +2 -2
  118. package/StepButton/StepButton.d.ts +3 -3
  119. package/StepConnector/StepConnector.d.ts +2 -2
  120. package/StepContent/StepContent.d.ts +2 -2
  121. package/StepIcon/StepIcon.d.ts +3 -3
  122. package/StepLabel/StepLabel.d.ts +21 -3
  123. package/StepLabel/StepLabel.js +14 -5
  124. package/Stepper/Stepper.d.ts +2 -2
  125. package/SvgIcon/SvgIcon.d.ts +3 -3
  126. package/SwipeableDrawer/SwipeableDrawer.d.ts +3 -3
  127. package/Switch/Switch.d.ts +78 -5
  128. package/Switch/Switch.js +71 -9
  129. package/Tab/Tab.d.ts +3 -3
  130. package/TabScrollButton/TabScrollButton.d.ts +2 -2
  131. package/Table/Table.d.ts +2 -2
  132. package/TableBody/TableBody.d.ts +2 -2
  133. package/TableCell/TableCell.d.ts +2 -2
  134. package/TableContainer/TableContainer.d.ts +2 -2
  135. package/TableFooter/TableFooter.d.ts +2 -2
  136. package/TableHead/TableHead.d.ts +2 -2
  137. package/TablePagination/TablePagination.d.ts +4 -4
  138. package/TableRow/TableRow.d.ts +2 -2
  139. package/TableSortLabel/TableSortLabel.d.ts +3 -3
  140. package/Tabs/Tabs.d.ts +2 -2
  141. package/Tabs/Tabs.js +4 -0
  142. package/TextField/TextField.d.ts +40 -10
  143. package/TextField/TextField.js +22 -11
  144. package/TextareaAutosize/TextareaAutosize.d.ts +2 -2
  145. package/TextareaAutosize/TextareaAutosize.js +2 -2
  146. package/ToggleButton/ToggleButton.d.ts +3 -3
  147. package/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -2
  148. package/Toolbar/Toolbar.d.ts +2 -2
  149. package/Tooltip/Tooltip.d.ts +2 -2
  150. package/Typography/Typography.d.ts +3 -3
  151. package/Zoom/Zoom.d.ts +3 -3
  152. package/index.js +1 -1
  153. package/modern/Autocomplete/Autocomplete.js +1 -1
  154. package/modern/ClickAwayListener/ClickAwayListener.js +3 -3
  155. package/modern/Grid2/Grid2.js +2 -2
  156. package/modern/NoSsr/NoSsr.js +2 -2
  157. package/modern/PigmentContainer/PigmentContainer.js +2 -2
  158. package/modern/PigmentGrid/PigmentGrid.js +2 -2
  159. package/modern/PigmentHidden/PigmentHidden.js +2 -2
  160. package/modern/PigmentStack/PigmentStack.js +2 -2
  161. package/modern/Popover/Popover.js +1 -1
  162. package/modern/Popper/Popper.js +4 -4
  163. package/modern/Portal/Portal.js +2 -2
  164. package/modern/StepLabel/StepLabel.js +14 -5
  165. package/modern/Switch/Switch.js +71 -9
  166. package/modern/Tabs/Tabs.js +4 -0
  167. package/modern/TextField/TextField.js +22 -11
  168. package/modern/TextareaAutosize/TextareaAutosize.js +2 -2
  169. package/modern/index.js +1 -1
  170. package/modern/styles/createThemeNoVars.js +1 -3
  171. package/modern/useAutocomplete/useAutocomplete.js +5 -5
  172. package/modern/version/index.js +2 -2
  173. package/node/Autocomplete/Autocomplete.js +1 -1
  174. package/node/ClickAwayListener/ClickAwayListener.js +3 -3
  175. package/node/Grid2/Grid2.js +2 -2
  176. package/node/NoSsr/NoSsr.js +2 -2
  177. package/node/PigmentContainer/PigmentContainer.js +2 -2
  178. package/node/PigmentGrid/PigmentGrid.js +2 -2
  179. package/node/PigmentHidden/PigmentHidden.js +2 -2
  180. package/node/PigmentStack/PigmentStack.js +2 -2
  181. package/node/Popover/Popover.js +1 -1
  182. package/node/Popper/Popper.js +4 -4
  183. package/node/Portal/Portal.js +2 -2
  184. package/node/StepLabel/StepLabel.js +14 -5
  185. package/node/Switch/Switch.js +71 -9
  186. package/node/Tabs/Tabs.js +4 -0
  187. package/node/TextField/TextField.js +22 -11
  188. package/node/TextareaAutosize/TextareaAutosize.js +2 -2
  189. package/node/index.js +1 -1
  190. package/node/styles/createThemeNoVars.js +1 -3
  191. package/node/useAutocomplete/useAutocomplete.js +5 -5
  192. package/node/version/index.js +2 -2
  193. package/package.json +6 -6
  194. package/styles/createThemeNoVars.js +1 -3
  195. package/useAutocomplete/useAutocomplete.d.ts +2 -2
  196. package/useAutocomplete/useAutocomplete.js +5 -5
  197. package/version/index.js +2 -2
@@ -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://v6.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://v6.mui.com/material-ui/api/list-subheader/)
59
59
  */
60
60
  declare const ListSubheader: OverridableComponent<ListSubheaderTypeMap>;
61
61
 
package/Menu/Menu.d.ts CHANGED
@@ -173,12 +173,12 @@ export declare const MenuPaper: React.FC<PaperProps>;
173
173
  *
174
174
  * Demos:
175
175
  *
176
- * - [App Bar](https://mui.com/material-ui/react-app-bar/)
177
- * - [Menu](https://mui.com/material-ui/react-menu/)
176
+ * - [App Bar](https://v6.mui.com/material-ui/react-app-bar/)
177
+ * - [Menu](https://v6.mui.com/material-ui/react-menu/)
178
178
  *
179
179
  * API:
180
180
  *
181
- * - [Menu API](https://mui.com/material-ui/api/menu/)
182
- * - inherits [Popover API](https://mui.com/material-ui/api/popover/)
181
+ * - [Menu API](https://v6.mui.com/material-ui/api/menu/)
182
+ * - inherits [Popover API](https://v6.mui.com/material-ui/api/popover/)
183
183
  */
184
184
  export default function Menu(props: MenuProps): React.JSX.Element;
@@ -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://v6.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://v6.mui.com/material-ui/api/menu-item/)
68
+ * - inherits [ButtonBase API](https://v6.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://v6.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://v6.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://v6.mui.com/material-ui/api/menu-list/)
62
+ * - inherits [List API](https://v6.mui.com/material-ui/api/list/)
63
63
  */
64
64
  declare const MenuList: ExtendList<MenuListTypeMap>;
65
65
 
@@ -120,11 +120,11 @@ export interface MobileStepperOwnerState extends Omit<MobileStepperProps, 'slots
120
120
  *
121
121
  * Demos:
122
122
  *
123
- * - [Stepper](https://mui.com/material-ui/react-stepper/)
123
+ * - [Stepper](https://v6.mui.com/material-ui/react-stepper/)
124
124
  *
125
125
  * API:
126
126
  *
127
- * - [MobileStepper API](https://mui.com/material-ui/api/mobile-stepper/)
128
- * - inherits [Paper API](https://mui.com/material-ui/api/paper/)
127
+ * - [MobileStepper API](https://v6.mui.com/material-ui/api/mobile-stepper/)
128
+ * - inherits [Paper API](https://v6.mui.com/material-ui/api/paper/)
129
129
  */
130
130
  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://v6.mui.com/material-ui/api/dialog/)
215
+ * * [Drawer](https://v6.mui.com/material-ui/api/drawer/)
216
+ * * [Menu](https://v6.mui.com/material-ui/api/menu/)
217
+ * * [Popover](https://v6.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://v6.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://v6.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://v6.mui.com/material-ui/api/modal/)
231
231
  */
232
232
  declare const Modal: OverridableComponent<ModalTypeMap>;
233
233
 
@@ -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://v6.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://v6.mui.com/material-ui/api/native-select/)
65
+ * - inherits [Input API](https://v6.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://v6.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://v6.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://v6.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://v6.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://v6.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://v6.mui.com/material-ui/api/outlined-input/)
36
+ * - inherits [InputBase API](https://v6.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://v6.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://v6.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://v6.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://v6.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://v6.mui.com/material-ui/react-card/)
54
+ * - [Paper](https://v6.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://v6.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://v6.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://v6.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://v6.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://v6.mui.com/material-ui/api/pigment-container/)
31
31
  */
32
32
  const PigmentContainer = /*#__PURE__*/React.forwardRef(function PigmentContainer({
33
33
  className,
@@ -75,11 +75,11 @@ export type GridProps<RootComponent extends React.ElementType = GridTypeMap['def
75
75
  *
76
76
  * Demos:
77
77
  *
78
- * - [Grid version 2](https://mui.com/material-ui/react-grid2/)
78
+ * - [Grid version 2](https://v6.mui.com/material-ui/react-grid2/)
79
79
  *
80
80
  * API:
81
81
  *
82
- * - [PigmentGrid API](https://mui.com/material-ui/api/pigment-grid/)
82
+ * - [PigmentGrid API](https://v6.mui.com/material-ui/api/pigment-grid/)
83
83
  */
84
84
  declare const PigmentGrid: OverridableComponent<GridTypeMap>;
85
85
  export default PigmentGrid;
@@ -37,11 +37,11 @@ const useUtilityClasses = ownerState => {
37
37
  *
38
38
  * Demos:
39
39
  *
40
- * - [Grid version 2](https://mui.com/material-ui/react-grid2/)
40
+ * - [Grid version 2](https://v6.mui.com/material-ui/react-grid2/)
41
41
  *
42
42
  * API:
43
43
  *
44
- * - [PigmentGrid API](https://mui.com/material-ui/api/pigment-grid/)
44
+ * - [PigmentGrid API](https://v6.mui.com/material-ui/api/pigment-grid/)
45
45
  */
46
46
  const PigmentGrid = /*#__PURE__*/React.forwardRef(function PigmentGrid(props, ref) {
47
47
  const {
@@ -82,11 +82,11 @@ export interface HiddenProps {
82
82
  *
83
83
  * Demos:
84
84
  *
85
- * - [Hidden](https://mui.com/material-ui/react-hidden/)
85
+ * - [Hidden](https://v6.mui.com/material-ui/react-hidden/)
86
86
  *
87
87
  * API:
88
88
  *
89
- * - [PigmentHidden API](https://mui.com/material-ui/api/pigment-hidden/)
89
+ * - [PigmentHidden API](https://v6.mui.com/material-ui/api/pigment-hidden/)
90
90
  */
91
91
  declare function PigmentHidden({ implementation, ...props }: HiddenProps & {
92
92
  className?: string;
@@ -171,11 +171,11 @@ process.env.NODE_ENV !== "production" ? HiddenCss.propTypes /* remove-proptypes
171
171
  *
172
172
  * Demos:
173
173
  *
174
- * - [Hidden](https://mui.com/material-ui/react-hidden/)
174
+ * - [Hidden](https://v6.mui.com/material-ui/react-hidden/)
175
175
  *
176
176
  * API:
177
177
  *
178
- * - [PigmentHidden API](https://mui.com/material-ui/api/pigment-hidden/)
178
+ * - [PigmentHidden API](https://v6.mui.com/material-ui/api/pigment-hidden/)
179
179
  */
180
180
  function PigmentHidden({
181
181
  implementation = 'js',
@@ -41,11 +41,11 @@ export type PigmentStackProps<RootComponent extends React.ElementType = PigmentS
41
41
  *
42
42
  * Demos:
43
43
  *
44
- * - [Stack](https://mui.com/material-ui/react-stack/)
44
+ * - [Stack](https://v6.mui.com/material-ui/react-stack/)
45
45
  *
46
46
  * API:
47
47
  *
48
- * - [PigmentStack API](https://mui.com/material-ui/api/pigment-stack/)
48
+ * - [PigmentStack API](https://v6.mui.com/material-ui/api/pigment-stack/)
49
49
  */
50
50
  declare const PigmentStack: OverridableComponent<PigmentStackTypeMap>;
51
51
  export default PigmentStack;
@@ -16,11 +16,11 @@ const useUtilityClasses = () => {
16
16
  *
17
17
  * Demos:
18
18
  *
19
- * - [Stack](https://mui.com/material-ui/react-stack/)
19
+ * - [Stack](https://v6.mui.com/material-ui/react-stack/)
20
20
  *
21
21
  * API:
22
22
  *
23
- * - [PigmentStack API](https://mui.com/material-ui/api/pigment-stack/)
23
+ * - [PigmentStack API](https://v6.mui.com/material-ui/api/pigment-stack/)
24
24
  */
25
25
  const PigmentStack = /*#__PURE__*/React.forwardRef(function PigmentStack({
26
26
  className,
@@ -108,9 +108,8 @@ export interface PopoverProps
108
108
  anchorEl?:
109
109
  | null
110
110
  | Element
111
- | (() => Element)
112
111
  | PopoverVirtualElement
113
- | (() => PopoverVirtualElement);
112
+ | (() => Element | PopoverVirtualElement | null);
114
113
  /**
115
114
  * This is the point on the anchor where the popover's
116
115
  * `anchorEl` will attach to. This is not used when the
@@ -259,12 +258,12 @@ export declare const PopoverPaper: React.FC<PopoverPaperProps>;
259
258
  *
260
259
  * Demos:
261
260
  *
262
- * - [Menu](https://mui.com/material-ui/react-menu/)
263
- * - [Popover](https://mui.com/material-ui/react-popover/)
261
+ * - [Menu](https://v6.mui.com/material-ui/react-menu/)
262
+ * - [Popover](https://v6.mui.com/material-ui/react-popover/)
264
263
  *
265
264
  * API:
266
265
  *
267
- * - [Popover API](https://mui.com/material-ui/api/popover/)
268
- * - inherits [Modal API](https://mui.com/material-ui/api/modal/)
266
+ * - [Popover API](https://v6.mui.com/material-ui/api/popover/)
267
+ * - inherits [Modal API](https://v6.mui.com/material-ui/api/modal/)
269
268
  */
270
269
  export default function Popover(props: PopoverProps): React.JSX.Element;
@@ -276,7 +276,7 @@ const Popover = /*#__PURE__*/React.forwardRef(function Popover(inProps, ref) {
276
276
  const handleResize = debounce(() => {
277
277
  setPositioningStyles();
278
278
  });
279
- const containerWindow = ownerWindow(anchorEl);
279
+ const containerWindow = ownerWindow(resolveAnchorEl(anchorEl));
280
280
  containerWindow.addEventListener('resize', handleResize);
281
281
  return () => {
282
282
  handleResize.clear();
@@ -34,13 +34,13 @@ export interface PopperProps extends Omit<BasePopperProps, 'direction'> {
34
34
  *
35
35
  * Demos:
36
36
  *
37
- * - [Autocomplete](https://mui.com/material-ui/react-autocomplete/)
38
- * - [Menu](https://mui.com/material-ui/react-menu/)
39
- * - [Popper](https://mui.com/material-ui/react-popper/)
37
+ * - [Autocomplete](https://v6.mui.com/material-ui/react-autocomplete/)
38
+ * - [Menu](https://v6.mui.com/material-ui/react-menu/)
39
+ * - [Popper](https://v6.mui.com/material-ui/react-popper/)
40
40
  *
41
41
  * API:
42
42
  *
43
- * - [Popper API](https://mui.com/material-ui/api/popper/)
43
+ * - [Popper API](https://v6.mui.com/material-ui/api/popper/)
44
44
  */
45
45
  declare const Popper: React.ForwardRefExoticComponent<PopperProps & React.RefAttributes<HTMLDivElement>>;
46
46
  export default Popper;
package/Popper/Popper.js CHANGED
@@ -19,13 +19,13 @@ const PopperRoot = styled(BasePopper, {
19
19
  *
20
20
  * Demos:
21
21
  *
22
- * - [Autocomplete](https://mui.com/material-ui/react-autocomplete/)
23
- * - [Menu](https://mui.com/material-ui/react-menu/)
24
- * - [Popper](https://mui.com/material-ui/react-popper/)
22
+ * - [Autocomplete](https://v6.mui.com/material-ui/react-autocomplete/)
23
+ * - [Menu](https://v6.mui.com/material-ui/react-menu/)
24
+ * - [Popper](https://v6.mui.com/material-ui/react-popper/)
25
25
  *
26
26
  * API:
27
27
  *
28
- * - [Popper API](https://mui.com/material-ui/api/popper/)
28
+ * - [Popper API](https://v6.mui.com/material-ui/api/popper/)
29
29
  */
30
30
  const Popper = /*#__PURE__*/React.forwardRef(function Popper(inProps, ref) {
31
31
  const isRtl = useRtl();
@@ -6,11 +6,11 @@ import { PortalProps } from './Portal.types';
6
6
  *
7
7
  * Demos:
8
8
  *
9
- * - [Portal](https://mui.com/material-ui/react-portal/)
9
+ * - [Portal](https://v6.mui.com/material-ui/react-portal/)
10
10
  *
11
11
  * API:
12
12
  *
13
- * - [Portal API](https://mui.com/material-ui/api/portal/)
13
+ * - [Portal API](https://v6.mui.com/material-ui/api/portal/)
14
14
  */
15
15
  declare const Portal: React.ForwardRefExoticComponent<PortalProps & React.RefAttributes<Element>>;
16
16
  export default Portal;
package/Portal/Portal.js CHANGED
@@ -14,11 +14,11 @@ function getContainer(container) {
14
14
  *
15
15
  * Demos:
16
16
  *
17
- * - [Portal](https://mui.com/material-ui/react-portal/)
17
+ * - [Portal](https://v6.mui.com/material-ui/react-portal/)
18
18
  *
19
19
  * API:
20
20
  *
21
- * - [Portal API](https://mui.com/material-ui/api/portal/)
21
+ * - [Portal API](https://v6.mui.com/material-ui/api/portal/)
22
22
  */
23
23
  const Portal = /*#__PURE__*/React.forwardRef(function Portal(props, forwardedRef) {
24
24
  const {
package/README.md CHANGED
@@ -11,12 +11,14 @@ Material UI is an open-source React component library that implements Google's
11
11
 
12
12
  Install the package in your project directory with:
13
13
 
14
- <!-- #default-branch-switch -->
14
+ <!-- #npm-tag-reference -->
15
15
 
16
16
  ```bash
17
- npm install @mui/material @emotion/react @emotion/styled
17
+ npm install @mui/material@^6.0.0 @emotion/react @emotion/styled
18
18
  ```
19
19
 
20
+ If you wish to use the latest version, remove the `@^6.0.0` suffix.
21
+
20
22
  ## Documentation
21
23
 
22
24
  Visit [https://mui.com/material-ui/](https://mui.com/material-ui/) to view the full documentation.
package/Radio/Radio.d.ts CHANGED
@@ -99,11 +99,11 @@ export interface RadioOwnerState extends Omit<RadioProps, 'slots' | 'slotProps'>
99
99
  *
100
100
  * Demos:
101
101
  *
102
- * - [Radio Group](https://mui.com/material-ui/react-radio-button/)
102
+ * - [Radio Group](https://v6.mui.com/material-ui/react-radio-button/)
103
103
  *
104
104
  * API:
105
105
  *
106
- * - [Radio API](https://mui.com/material-ui/api/radio/)
107
- * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/)
106
+ * - [Radio API](https://v6.mui.com/material-ui/api/radio/)
107
+ * - inherits [ButtonBase API](https://v6.mui.com/material-ui/api/button-base/)
108
108
  */
109
109
  export default function Radio(props: RadioProps): React.JSX.Element;
@@ -29,11 +29,11 @@ export interface RadioGroupProps extends Omit<FormGroupProps, 'onChange'> {
29
29
  *
30
30
  * Demos:
31
31
  *
32
- * - [Radio Group](https://mui.com/material-ui/react-radio-button/)
32
+ * - [Radio Group](https://v6.mui.com/material-ui/react-radio-button/)
33
33
  *
34
34
  * API:
35
35
  *
36
- * - [RadioGroup API](https://mui.com/material-ui/api/radio-group/)
37
- * - inherits [FormGroup API](https://mui.com/material-ui/api/form-group/)
36
+ * - [RadioGroup API](https://v6.mui.com/material-ui/api/radio-group/)
37
+ * - inherits [FormGroup API](https://v6.mui.com/material-ui/api/form-group/)
38
38
  */
39
39
  export default function RadioGroup(props: RadioGroupProps): React.JSX.Element;
@@ -184,11 +184,11 @@ export type RatingTypeMap<
184
184
  *
185
185
  * Demos:
186
186
  *
187
- * - [Rating](https://mui.com/material-ui/react-rating/)
187
+ * - [Rating](https://v6.mui.com/material-ui/react-rating/)
188
188
  *
189
189
  * API:
190
190
  *
191
- * - [Rating API](https://mui.com/material-ui/api/rating/)
191
+ * - [Rating API](https://v6.mui.com/material-ui/api/rating/)
192
192
  */
193
193
  declare const Rating: OverridableComponent<RatingTypeMap>;
194
194
 
@@ -36,11 +36,11 @@ export interface ScopedCssBaselineTypeMap<
36
36
  *
37
37
  * Demos:
38
38
  *
39
- * - [CSS Baseline](https://mui.com/material-ui/react-css-baseline/)
39
+ * - [CSS Baseline](https://v6.mui.com/material-ui/react-css-baseline/)
40
40
  *
41
41
  * API:
42
42
  *
43
- * - [ScopedCssBaseline API](https://mui.com/material-ui/api/scoped-css-baseline/)
43
+ * - [ScopedCssBaseline API](https://v6.mui.com/material-ui/api/scoped-css-baseline/)
44
44
  */
45
45
  declare const ScopedCssBaseline: OverridableComponent<ScopedCssBaselineTypeMap>;
46
46
 
@@ -195,12 +195,12 @@ export type SelectProps<Value = unknown> =
195
195
  *
196
196
  * Demos:
197
197
  *
198
- * - [Select](https://mui.com/material-ui/react-select/)
198
+ * - [Select](https://v6.mui.com/material-ui/react-select/)
199
199
  *
200
200
  * API:
201
201
  *
202
- * - [Select API](https://mui.com/material-ui/api/select/)
203
- * - inherits [OutlinedInput API](https://mui.com/material-ui/api/outlined-input/)
202
+ * - [Select API](https://v6.mui.com/material-ui/api/select/)
203
+ * - inherits [OutlinedInput API](https://v6.mui.com/material-ui/api/outlined-input/)
204
204
  */
205
205
  declare const Select: (<Value = unknown>(props: SelectProps<Value>) => React.JSX.Element) & {
206
206
  muiName: string;
@@ -58,11 +58,11 @@ export interface SkeletonTypeMap<
58
58
  *
59
59
  * Demos:
60
60
  *
61
- * - [Skeleton](https://mui.com/material-ui/react-skeleton/)
61
+ * - [Skeleton](https://v6.mui.com/material-ui/react-skeleton/)
62
62
  *
63
63
  * API:
64
64
  *
65
- * - [Skeleton API](https://mui.com/material-ui/api/skeleton/)
65
+ * - [Skeleton API](https://v6.mui.com/material-ui/api/skeleton/)
66
66
  */
67
67
  declare const Skeleton: OverridableComponent<SkeletonTypeMap>;
68
68
 
package/Slide/Slide.d.ts CHANGED
@@ -48,17 +48,17 @@ export interface SlideProps extends TransitionProps {
48
48
  }
49
49
 
50
50
  /**
51
- * The Slide transition is used by the [Drawer](https://mui.com/material-ui/react-drawer/) component.
51
+ * The Slide transition is used by the [Drawer](https://v6.mui.com/material-ui/react-drawer/) component.
52
52
  * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.
53
53
  *
54
54
  * Demos:
55
55
  *
56
- * - [Dialog](https://mui.com/material-ui/react-dialog/)
57
- * - [Transitions](https://mui.com/material-ui/transitions/)
56
+ * - [Dialog](https://v6.mui.com/material-ui/react-dialog/)
57
+ * - [Transitions](https://v6.mui.com/material-ui/transitions/)
58
58
  *
59
59
  * API:
60
60
  *
61
- * - [Slide API](https://mui.com/material-ui/api/slide/)
61
+ * - [Slide API](https://v6.mui.com/material-ui/api/slide/)
62
62
  * - inherits [Transition API](https://reactcommunity.org/react-transition-group/transition/#Transition-props)
63
63
  */
64
64
  export default function Slide(props: SlideProps): React.JSX.Element;
@@ -306,11 +306,11 @@ export declare const SliderValueLabel: React.FC<SliderValueLabelProps>;
306
306
  *
307
307
  * Demos:
308
308
  *
309
- * - [Slider](https://mui.com/material-ui/react-slider/)
309
+ * - [Slider](https://v6.mui.com/material-ui/react-slider/)
310
310
  *
311
311
  * API:
312
312
  *
313
- * - [Slider API](https://mui.com/material-ui/api/slider/)
313
+ * - [Slider API](https://v6.mui.com/material-ui/api/slider/)
314
314
  */
315
315
  declare const Slider: OverridableComponent<SliderTypeMap>;
316
316
 
@@ -196,11 +196,11 @@ export interface SnackbarProps
196
196
  *
197
197
  * Demos:
198
198
  *
199
- * - [Snackbar](https://mui.com/material-ui/react-snackbar/)
199
+ * - [Snackbar](https://v6.mui.com/material-ui/react-snackbar/)
200
200
  *
201
201
  * API:
202
202
  *
203
- * - [Snackbar API](https://mui.com/material-ui/api/snackbar/)
203
+ * - [Snackbar API](https://v6.mui.com/material-ui/api/snackbar/)
204
204
  */
205
205
  export default function Snackbar(props: SnackbarProps): React.JSX.Element;
206
206