@mui/material 6.4.7 → 6.4.9

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 (222) hide show
  1. package/Accordion/Accordion.d.ts +20 -5
  2. package/Accordion/Accordion.js +18 -6
  3. package/AccordionActions/AccordionActions.d.ts +2 -2
  4. package/AccordionDetails/AccordionDetails.d.ts +2 -2
  5. package/AccordionSummary/AccordionSummary.d.ts +62 -7
  6. package/AccordionSummary/AccordionSummary.js +67 -16
  7. package/Alert/Alert.d.ts +3 -3
  8. package/AlertTitle/AlertTitle.d.ts +3 -3
  9. package/AppBar/AppBar.d.ts +3 -3
  10. package/Autocomplete/Autocomplete.d.ts +2 -2
  11. package/Autocomplete/Autocomplete.js +1 -1
  12. package/Avatar/Avatar.d.ts +2 -2
  13. package/AvatarGroup/AvatarGroup.d.ts +2 -2
  14. package/Backdrop/Backdrop.d.ts +3 -3
  15. package/Badge/Badge.d.ts +3 -3
  16. package/BottomNavigation/BottomNavigation.d.ts +2 -2
  17. package/BottomNavigationAction/BottomNavigationAction.d.ts +3 -3
  18. package/Box/Box.d.ts +2 -2
  19. package/Breadcrumbs/Breadcrumbs.d.ts +3 -3
  20. package/Button/Button.d.ts +4 -4
  21. package/ButtonBase/ButtonBase.d.ts +2 -2
  22. package/ButtonGroup/ButtonGroup.d.ts +2 -2
  23. package/CHANGELOG.md +78 -4
  24. package/Card/Card.d.ts +3 -3
  25. package/CardActionArea/CardActionArea.d.ts +3 -3
  26. package/CardActions/CardActions.d.ts +2 -2
  27. package/CardContent/CardContent.d.ts +2 -2
  28. package/CardHeader/CardHeader.d.ts +2 -2
  29. package/CardMedia/CardMedia.d.ts +2 -2
  30. package/Checkbox/Checkbox.d.ts +4 -4
  31. package/Chip/Chip.d.ts +2 -2
  32. package/CircularProgress/CircularProgress.d.ts +2 -2
  33. package/ClickAwayListener/ClickAwayListener.d.ts +3 -3
  34. package/ClickAwayListener/ClickAwayListener.js +3 -3
  35. package/Collapse/Collapse.d.ts +5 -5
  36. package/Container/Container.d.ts +2 -2
  37. package/CssBaseline/CssBaseline.d.ts +2 -2
  38. package/Dialog/Dialog.d.ts +3 -3
  39. package/DialogActions/DialogActions.d.ts +2 -2
  40. package/DialogContent/DialogContent.d.ts +2 -2
  41. package/DialogContentText/DialogContentText.d.ts +3 -3
  42. package/DialogTitle/DialogTitle.d.ts +3 -3
  43. package/Divider/Divider.d.ts +3 -3
  44. package/Drawer/Drawer.d.ts +3 -3
  45. package/Fab/Fab.d.ts +3 -3
  46. package/Fade/Fade.d.ts +3 -3
  47. package/FilledInput/FilledInput.d.ts +3 -3
  48. package/FormControl/FormControl.d.ts +6 -6
  49. package/FormControlLabel/FormControlLabel.d.ts +4 -4
  50. package/FormGroup/FormGroup.d.ts +3 -3
  51. package/FormHelperText/FormHelperText.d.ts +2 -2
  52. package/FormLabel/FormLabel.d.ts +4 -4
  53. package/GlobalStyles/GlobalStyles.d.ts +2 -2
  54. package/Grid/Grid.d.ts +2 -2
  55. package/Grid2/Grid2.d.ts +2 -2
  56. package/Grid2/Grid2.js +2 -2
  57. package/Grow/Grow.d.ts +5 -5
  58. package/Hidden/Hidden.d.ts +2 -2
  59. package/Icon/Icon.d.ts +3 -3
  60. package/IconButton/IconButton.d.ts +4 -4
  61. package/ImageList/ImageList.d.ts +2 -2
  62. package/ImageListItem/ImageListItem.d.ts +2 -2
  63. package/ImageListItemBar/ImageListItemBar.d.ts +2 -2
  64. package/Input/Input.d.ts +3 -3
  65. package/InputAdornment/InputAdornment.d.ts +2 -2
  66. package/InputBase/InputBase.d.ts +2 -2
  67. package/InputLabel/InputLabel.d.ts +3 -3
  68. package/LinearProgress/LinearProgress.d.ts +2 -2
  69. package/Link/Link.d.ts +4 -4
  70. package/List/List.d.ts +3 -3
  71. package/ListItem/ListItem.d.ts +3 -3
  72. package/ListItemAvatar/ListItemAvatar.d.ts +2 -2
  73. package/ListItemButton/ListItemButton.d.ts +3 -3
  74. package/ListItemIcon/ListItemIcon.d.ts +2 -2
  75. package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -2
  76. package/ListItemText/ListItemText.d.ts +12 -2
  77. package/ListItemText/ListItemText.js +14 -5
  78. package/ListSubheader/ListSubheader.d.ts +2 -2
  79. package/Menu/Menu.d.ts +4 -4
  80. package/MenuItem/MenuItem.d.ts +3 -3
  81. package/MenuList/MenuList.d.ts +4 -4
  82. package/MobileStepper/MobileStepper.d.ts +3 -3
  83. package/Modal/Modal.d.ts +7 -7
  84. package/NativeSelect/NativeSelect.d.ts +3 -3
  85. package/NoSsr/NoSsr.d.ts +2 -2
  86. package/NoSsr/NoSsr.js +2 -2
  87. package/OutlinedInput/OutlinedInput.d.ts +3 -3
  88. package/Pagination/Pagination.d.ts +2 -2
  89. package/PaginationItem/PaginationItem.d.ts +2 -2
  90. package/Paper/Paper.d.ts +3 -3
  91. package/PigmentContainer/PigmentContainer.d.ts +2 -2
  92. package/PigmentContainer/PigmentContainer.js +2 -2
  93. package/PigmentGrid/PigmentGrid.d.ts +2 -2
  94. package/PigmentGrid/PigmentGrid.js +2 -2
  95. package/PigmentHidden/PigmentHidden.d.ts +2 -2
  96. package/PigmentHidden/PigmentHidden.js +2 -2
  97. package/PigmentStack/PigmentStack.d.ts +2 -2
  98. package/PigmentStack/PigmentStack.js +2 -2
  99. package/Popover/Popover.d.ts +4 -4
  100. package/Popper/Popper.d.ts +4 -4
  101. package/Popper/Popper.js +4 -4
  102. package/Portal/Portal.d.ts +2 -2
  103. package/Portal/Portal.js +2 -2
  104. package/README.md +4 -2
  105. package/Radio/Radio.d.ts +3 -3
  106. package/RadioGroup/RadioGroup.d.ts +3 -3
  107. package/Rating/Rating.d.ts +2 -2
  108. package/ScopedCssBaseline/ScopedCssBaseline.d.ts +2 -2
  109. package/Select/Select.d.ts +3 -3
  110. package/Skeleton/Skeleton.d.ts +2 -2
  111. package/Slide/Slide.d.ts +4 -4
  112. package/Slider/Slider.d.ts +2 -2
  113. package/Snackbar/Snackbar.d.ts +2 -2
  114. package/Snackbar/Snackbar.js +7 -1
  115. package/SnackbarContent/SnackbarContent.d.ts +3 -3
  116. package/SpeedDial/SpeedDial.d.ts +12 -2
  117. package/SpeedDial/SpeedDial.js +40 -11
  118. package/SpeedDialAction/SpeedDialAction.d.ts +3 -3
  119. package/SpeedDialAction/SpeedDialAction.js +1 -1
  120. package/SpeedDialIcon/SpeedDialIcon.d.ts +2 -2
  121. package/Stack/Stack.d.ts +2 -2
  122. package/Step/Step.d.ts +2 -2
  123. package/StepButton/StepButton.d.ts +3 -3
  124. package/StepConnector/StepConnector.d.ts +2 -2
  125. package/StepContent/StepContent.d.ts +2 -2
  126. package/StepIcon/StepIcon.d.ts +3 -3
  127. package/StepLabel/StepLabel.d.ts +21 -3
  128. package/StepLabel/StepLabel.js +14 -5
  129. package/Stepper/Stepper.d.ts +2 -2
  130. package/SvgIcon/SvgIcon.d.ts +3 -3
  131. package/SwipeableDrawer/SwipeableDrawer.d.ts +3 -3
  132. package/Switch/Switch.d.ts +78 -5
  133. package/Switch/Switch.js +71 -9
  134. package/Tab/Tab.d.ts +3 -3
  135. package/TabScrollButton/TabScrollButton.d.ts +2 -2
  136. package/Table/Table.d.ts +2 -2
  137. package/TableBody/TableBody.d.ts +2 -2
  138. package/TableCell/TableCell.d.ts +2 -2
  139. package/TableContainer/TableContainer.d.ts +2 -2
  140. package/TableFooter/TableFooter.d.ts +2 -2
  141. package/TableHead/TableHead.d.ts +2 -2
  142. package/TablePagination/TablePagination.d.ts +4 -4
  143. package/TableRow/TableRow.d.ts +2 -2
  144. package/TableSortLabel/TableSortLabel.d.ts +3 -3
  145. package/Tabs/Tabs.d.ts +2 -2
  146. package/Tabs/Tabs.js +4 -0
  147. package/TextField/TextField.d.ts +40 -10
  148. package/TextField/TextField.js +22 -11
  149. package/TextareaAutosize/TextareaAutosize.d.ts +2 -2
  150. package/TextareaAutosize/TextareaAutosize.js +28 -17
  151. package/ToggleButton/ToggleButton.d.ts +3 -3
  152. package/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -2
  153. package/Toolbar/Toolbar.d.ts +2 -2
  154. package/Tooltip/Tooltip.d.ts +3 -15
  155. package/Tooltip/Tooltip.js +1 -1
  156. package/Typography/Typography.d.ts +3 -3
  157. package/Zoom/Zoom.d.ts +3 -3
  158. package/index.js +1 -1
  159. package/modern/Accordion/Accordion.js +18 -6
  160. package/modern/AccordionSummary/AccordionSummary.js +67 -16
  161. package/modern/Autocomplete/Autocomplete.js +1 -1
  162. package/modern/ClickAwayListener/ClickAwayListener.js +3 -3
  163. package/modern/Grid2/Grid2.js +2 -2
  164. package/modern/ListItemText/ListItemText.js +14 -5
  165. package/modern/NoSsr/NoSsr.js +2 -2
  166. package/modern/PigmentContainer/PigmentContainer.js +2 -2
  167. package/modern/PigmentGrid/PigmentGrid.js +2 -2
  168. package/modern/PigmentHidden/PigmentHidden.js +2 -2
  169. package/modern/PigmentStack/PigmentStack.js +2 -2
  170. package/modern/Popper/Popper.js +4 -4
  171. package/modern/Portal/Portal.js +2 -2
  172. package/modern/Snackbar/Snackbar.js +7 -1
  173. package/modern/SpeedDial/SpeedDial.js +40 -11
  174. package/modern/SpeedDialAction/SpeedDialAction.js +1 -1
  175. package/modern/StepLabel/StepLabel.js +14 -5
  176. package/modern/Switch/Switch.js +71 -9
  177. package/modern/Tabs/Tabs.js +4 -0
  178. package/modern/TextField/TextField.js +22 -11
  179. package/modern/TextareaAutosize/TextareaAutosize.js +28 -17
  180. package/modern/Tooltip/Tooltip.js +1 -1
  181. package/modern/index.js +1 -1
  182. package/modern/styles/ThemeProvider.js +11 -0
  183. package/modern/styles/createThemeNoVars.js +1 -3
  184. package/modern/useAutocomplete/useAutocomplete.js +3 -3
  185. package/modern/useScrollTrigger/useScrollTrigger.js +3 -0
  186. package/modern/version/index.js +2 -2
  187. package/node/Accordion/Accordion.js +18 -6
  188. package/node/AccordionSummary/AccordionSummary.js +67 -16
  189. package/node/Autocomplete/Autocomplete.js +1 -1
  190. package/node/ClickAwayListener/ClickAwayListener.js +3 -3
  191. package/node/Grid2/Grid2.js +2 -2
  192. package/node/ListItemText/ListItemText.js +14 -5
  193. package/node/NoSsr/NoSsr.js +2 -2
  194. package/node/PigmentContainer/PigmentContainer.js +2 -2
  195. package/node/PigmentGrid/PigmentGrid.js +2 -2
  196. package/node/PigmentHidden/PigmentHidden.js +2 -2
  197. package/node/PigmentStack/PigmentStack.js +2 -2
  198. package/node/Popper/Popper.js +4 -4
  199. package/node/Portal/Portal.js +2 -2
  200. package/node/Snackbar/Snackbar.js +7 -1
  201. package/node/SpeedDial/SpeedDial.js +40 -11
  202. package/node/SpeedDialAction/SpeedDialAction.js +1 -1
  203. package/node/StepLabel/StepLabel.js +14 -5
  204. package/node/Switch/Switch.js +71 -9
  205. package/node/Tabs/Tabs.js +4 -0
  206. package/node/TextField/TextField.js +22 -11
  207. package/node/TextareaAutosize/TextareaAutosize.js +27 -16
  208. package/node/Tooltip/Tooltip.js +1 -1
  209. package/node/index.js +1 -1
  210. package/node/styles/ThemeProvider.js +11 -0
  211. package/node/styles/createThemeNoVars.js +1 -3
  212. package/node/useAutocomplete/useAutocomplete.js +3 -3
  213. package/node/useScrollTrigger/useScrollTrigger.js +3 -0
  214. package/node/version/index.js +2 -2
  215. package/package.json +6 -6
  216. package/styles/ThemeProvider.js +11 -0
  217. package/styles/createThemeNoVars.js +1 -3
  218. package/useAutocomplete/useAutocomplete.d.ts +2 -2
  219. package/useAutocomplete/useAutocomplete.js +3 -3
  220. package/useScrollTrigger/useScrollTrigger.d.ts +1 -1
  221. package/useScrollTrigger/useScrollTrigger.js +3 -0
  222. package/version/index.js +2 -2
package/Grid2/Grid2.d.ts CHANGED
@@ -103,11 +103,11 @@ export type Grid2Props<D extends React.ElementType = Grid2TypeMap['defaultCompon
103
103
  *
104
104
  * Demos:
105
105
  *
106
- * - [Grid version 2](https://mui.com/material-ui/react-grid2/)
106
+ * - [Grid version 2](https://v6.mui.com/material-ui/react-grid2/)
107
107
  *
108
108
  * API:
109
109
  *
110
- * - [Grid2 API](https://mui.com/material-ui/api/grid-2/)
110
+ * - [Grid2 API](https://v6.mui.com/material-ui/api/grid-2/)
111
111
  */
112
112
  declare const Grid2: OverridableComponent<Grid2TypeMap>;
113
113
  export default Grid2;
package/Grid2/Grid2.js CHANGED
@@ -10,11 +10,11 @@ import useTheme from "../styles/useTheme.js";
10
10
  *
11
11
  * Demos:
12
12
  *
13
- * - [Grid version 2](https://mui.com/material-ui/react-grid2/)
13
+ * - [Grid version 2](https://v6.mui.com/material-ui/react-grid2/)
14
14
  *
15
15
  * API:
16
16
  *
17
- * - [Grid2 API](https://mui.com/material-ui/api/grid-2/)
17
+ * - [Grid2 API](https://v6.mui.com/material-ui/api/grid-2/)
18
18
  */
19
19
  const Grid2 = createGrid2({
20
20
  createStyledComponent: styled('div', {
package/Grow/Grow.d.ts CHANGED
@@ -33,18 +33,18 @@ export interface GrowProps extends Omit<TransitionProps, 'timeout'> {
33
33
  }
34
34
 
35
35
  /**
36
- * The Grow transition is used by the [Tooltip](https://mui.com/material-ui/react-tooltip/) and
37
- * [Popover](https://mui.com/material-ui/react-popover/) components.
36
+ * The Grow transition is used by the [Tooltip](https://v6.mui.com/material-ui/react-tooltip/) and
37
+ * [Popover](https://v6.mui.com/material-ui/react-popover/) components.
38
38
  * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.
39
39
  *
40
40
  * Demos:
41
41
  *
42
- * - [Popover](https://mui.com/material-ui/react-popover/)
43
- * - [Transitions](https://mui.com/material-ui/transitions/)
42
+ * - [Popover](https://v6.mui.com/material-ui/react-popover/)
43
+ * - [Transitions](https://v6.mui.com/material-ui/transitions/)
44
44
  *
45
45
  * API:
46
46
  *
47
- * - [Grow API](https://mui.com/material-ui/api/grow/)
47
+ * - [Grow API](https://v6.mui.com/material-ui/api/grow/)
48
48
  * - inherits [Transition API](https://reactcommunity.org/react-transition-group/transition/#Transition-props)
49
49
  */
50
50
  export default function Grow(props: GrowProps): React.JSX.Element;
@@ -85,11 +85,11 @@ export interface HiddenProps {
85
85
  *
86
86
  * Demos:
87
87
  *
88
- * - [Hidden](https://mui.com/material-ui/react-hidden/)
88
+ * - [Hidden](https://v6.mui.com/material-ui/react-hidden/)
89
89
  *
90
90
  * API:
91
91
  *
92
- * - [Hidden API](https://mui.com/material-ui/api/hidden/)
92
+ * - [Hidden API](https://v6.mui.com/material-ui/api/hidden/)
93
93
  *
94
94
  * @deprecated The Hidden component was deprecated in Material UI v5. To learn more, see [the Hidden section](https://mui.com/material-ui/migration/v5-component-changes/#hidden) of the migration docs.
95
95
  */
package/Icon/Icon.d.ts CHANGED
@@ -67,12 +67,12 @@ export interface IconTypeMap<
67
67
  *
68
68
  * Demos:
69
69
  *
70
- * - [Icons](https://mui.com/material-ui/icons/)
71
- * - [Material Icons](https://mui.com/material-ui/material-icons/)
70
+ * - [Icons](https://v6.mui.com/material-ui/icons/)
71
+ * - [Material Icons](https://v6.mui.com/material-ui/material-icons/)
72
72
  *
73
73
  * API:
74
74
  *
75
- * - [Icon API](https://mui.com/material-ui/api/icon/)
75
+ * - [Icon API](https://v6.mui.com/material-ui/api/icon/)
76
76
  */
77
77
  declare const Icon: OverridableComponent<IconTypeMap> & { muiName: string };
78
78
 
@@ -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://v6.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://v6.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://v6.mui.com/material-ui/api/icon-button/)
94
+ * - inherits [ButtonBase API](https://v6.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://v6.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://v6.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://v6.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://v6.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://v6.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://v6.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://v6.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://v6.mui.com/material-ui/api/input/)
31
+ * - inherits [InputBase API](https://v6.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://v6.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://v6.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://v6.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://v6.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://v6.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://v6.mui.com/material-ui/api/input-label/)
79
+ * - inherits [FormLabel API](https://v6.mui.com/material-ui/api/form-label/)
80
80
  */
81
81
  declare const InputLabel: OverridableComponent<InputLabelTypeMap>;
82
82
 
@@ -57,10 +57,10 @@ export interface LinearProgressProps
57
57
  *
58
58
  * Demos:
59
59
  *
60
- * - [Progress](https://mui.com/material-ui/react-progress/)
60
+ * - [Progress](https://v6.mui.com/material-ui/react-progress/)
61
61
  *
62
62
  * API:
63
63
  *
64
- * - [LinearProgress API](https://mui.com/material-ui/api/linear-progress/)
64
+ * - [LinearProgress API](https://v6.mui.com/material-ui/api/linear-progress/)
65
65
  */
66
66
  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://v6.mui.com/material-ui/react-breadcrumbs/)
53
+ * - [Links](https://v6.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://v6.mui.com/material-ui/api/link/)
58
+ * - inherits [Typography API](https://v6.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://v6.mui.com/material-ui/react-list/)
60
+ * - [Transfer List](https://v6.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://v6.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://v6.mui.com/material-ui/react-list/)
120
+ * - [Transfer List](https://v6.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://v6.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://v6.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://v6.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://v6.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://v6.mui.com/material-ui/api/list-item-button/)
84
+ * - inherits [ButtonBase API](https://v6.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://v6.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://v6.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://v6.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://v6.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
  */
@@ -6,6 +6,11 @@ import { ListItemTextClasses } from './listItemTextClasses';
6
6
  import { CreateSlotsAndSlotProps, SlotProps } from '../utils/types';
7
7
 
8
8
  export interface ListItemTextSlots {
9
+ /**
10
+ * The component that renders the root slot.
11
+ * @default 'div'
12
+ */
13
+ root?: React.ElementType;
9
14
  /**
10
15
  * The component that renders the primary slot.
11
16
  * @default Typography
@@ -21,6 +26,11 @@ export interface ListItemTextSlots {
21
26
  export type ListItemTextSlotsAndSlotProps = CreateSlotsAndSlotProps<
22
27
  ListItemTextSlots,
23
28
  {
29
+ /**
30
+ * Props forwared to the root slot.
31
+ * By default, the available props are based on `div` element.
32
+ */
33
+ root: SlotProps<'div', {}, ListItemTextOwnerState>;
24
34
  /**
25
35
  * Props forwared to the primary slot (as long as disableTypography is not `true`)
26
36
  * By default, the available props are based on the [Typography](https://mui.com/material-ui/api/typography/#props) component
@@ -99,11 +109,11 @@ export interface ListItemTextProps<
99
109
  *
100
110
  * Demos:
101
111
  *
102
- * - [Lists](https://mui.com/material-ui/react-list/)
112
+ * - [Lists](https://v6.mui.com/material-ui/react-list/)
103
113
  *
104
114
  * API:
105
115
  *
106
- * - [ListItemText API](https://mui.com/material-ui/api/list-item-text/)
116
+ * - [ListItemText API](https://v6.mui.com/material-ui/api/list-item-text/)
107
117
  */
108
118
  export default function ListItemText<
109
119
  PrimaryTypographyComponent extends React.ElementType = 'span',
@@ -107,6 +107,16 @@ const ListItemText = /*#__PURE__*/React.forwardRef(function ListItemText(inProps
107
107
  ...slotProps
108
108
  }
109
109
  };
110
+ const [RootSlot, rootSlotProps] = useSlot('root', {
111
+ className: clsx(classes.root, className),
112
+ elementType: ListItemTextRoot,
113
+ externalForwardedProps: {
114
+ ...externalForwardedProps,
115
+ ...other
116
+ },
117
+ ownerState,
118
+ ref
119
+ });
110
120
  const [PrimarySlot, primarySlotProps] = useSlot('primary', {
111
121
  className: classes.primary,
112
122
  elementType: Typography,
@@ -135,11 +145,8 @@ const ListItemText = /*#__PURE__*/React.forwardRef(function ListItemText(inProps
135
145
  children: secondary
136
146
  });
137
147
  }
138
- return /*#__PURE__*/_jsxs(ListItemTextRoot, {
139
- className: clsx(classes.root, className),
140
- ownerState: ownerState,
141
- ref: ref,
142
- ...other,
148
+ return /*#__PURE__*/_jsxs(RootSlot, {
149
+ ...rootSlotProps,
143
150
  children: [primary, secondary]
144
151
  });
145
152
  });
@@ -200,6 +207,7 @@ process.env.NODE_ENV !== "production" ? ListItemText.propTypes /* remove-proptyp
200
207
  */
201
208
  slotProps: PropTypes.shape({
202
209
  primary: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
210
+ root: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
203
211
  secondary: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
204
212
  }),
205
213
  /**
@@ -208,6 +216,7 @@ process.env.NODE_ENV !== "production" ? ListItemText.propTypes /* remove-proptyp
208
216
  */
209
217
  slots: PropTypes.shape({
210
218
  primary: PropTypes.elementType,
219
+ root: PropTypes.elementType,
211
220
  secondary: PropTypes.elementType
212
221
  }),
213
222
  /**
@@ -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;