@mui/material 7.0.0 → 7.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (246) hide show
  1. package/Accordion/Accordion.d.ts +2 -2
  2. package/Accordion/Accordion.js +2 -2
  3. package/Alert/Alert.d.ts +2 -2
  4. package/Alert/Alert.js +2 -2
  5. package/Autocomplete/Autocomplete.d.ts +9 -9
  6. package/Autocomplete/Autocomplete.js +6 -6
  7. package/Avatar/Avatar.d.ts +1 -1
  8. package/Avatar/Avatar.js +1 -1
  9. package/AvatarGroup/AvatarGroup.d.ts +2 -2
  10. package/AvatarGroup/AvatarGroup.js +1 -1
  11. package/Backdrop/Backdrop.d.ts +3 -3
  12. package/Backdrop/Backdrop.js +3 -3
  13. package/Badge/Badge.d.ts +2 -2
  14. package/Badge/Badge.js +2 -2
  15. package/Button/Button.js +1 -1
  16. package/CHANGELOG.md +40 -0
  17. package/CardHeader/CardHeader.d.ts +2 -2
  18. package/CardHeader/CardHeader.js +2 -2
  19. package/Checkbox/Checkbox.js +1 -1
  20. package/Dialog/Dialog.d.ts +3 -3
  21. package/Dialog/Dialog.js +3 -3
  22. package/Drawer/Drawer.d.ts +2 -2
  23. package/Drawer/Drawer.js +2 -2
  24. package/Fab/Fab.js +1 -1
  25. package/FilledInput/FilledInput.js +2 -2
  26. package/FormControlLabel/FormControlLabel.d.ts +1 -1
  27. package/FormControlLabel/FormControlLabel.js +1 -1
  28. package/IconButton/IconButton.js +1 -1
  29. package/Input/Input.js +2 -2
  30. package/InputBase/InputBase.d.ts +2 -2
  31. package/InputBase/InputBase.js +2 -2
  32. package/ListItem/ListItem.d.ts +4 -4
  33. package/ListItem/ListItem.js +6 -6
  34. package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +1 -1
  35. package/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  36. package/ListItemText/ListItemText.d.ts +2 -2
  37. package/ListItemText/ListItemText.js +2 -2
  38. package/Menu/Menu.d.ts +2 -2
  39. package/Menu/Menu.js +2 -2
  40. package/MobileStepper/MobileStepper.d.ts +1 -1
  41. package/MobileStepper/MobileStepper.js +1 -1
  42. package/Modal/Modal.d.ts +2 -2
  43. package/Modal/Modal.js +2 -2
  44. package/OutlinedInput/OutlinedInput.js +1 -1
  45. package/PaginationItem/PaginationItem.d.ts +1 -1
  46. package/PaginationItem/PaginationItem.js +1 -1
  47. package/Popover/Popover.d.ts +5 -5
  48. package/Popover/Popover.js +5 -5
  49. package/Popper/Popper.d.ts +2 -2
  50. package/Popper/Popper.js +2 -2
  51. package/Radio/Radio.js +2 -2
  52. package/Rating/Rating.d.ts +1 -1
  53. package/Rating/Rating.js +1 -1
  54. package/Slider/Slider.d.ts +2 -2
  55. package/Slider/Slider.js +2 -2
  56. package/Snackbar/Snackbar.d.ts +4 -4
  57. package/Snackbar/Snackbar.js +4 -4
  58. package/SpeedDial/SpeedDial.d.ts +2 -2
  59. package/SpeedDial/SpeedDial.js +2 -2
  60. package/SpeedDialAction/SpeedDialAction.d.ts +5 -5
  61. package/SpeedDialAction/SpeedDialAction.js +5 -5
  62. package/StepContent/StepContent.d.ts +2 -2
  63. package/StepContent/StepContent.js +2 -2
  64. package/StepLabel/StepLabel.d.ts +3 -3
  65. package/StepLabel/StepLabel.js +3 -3
  66. package/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
  67. package/SwipeableDrawer/SwipeableDrawer.js +1 -1
  68. package/Switch/Switch.js +2 -2
  69. package/Tabs/Tabs.d.ts +3 -3
  70. package/Tabs/Tabs.js +3 -3
  71. package/TextField/TextField.d.ts +7 -7
  72. package/TextField/TextField.js +5 -5
  73. package/Tooltip/Tooltip.d.ts +7 -7
  74. package/Tooltip/Tooltip.js +6 -6
  75. package/Typography/Typography.d.ts +1 -1
  76. package/Typography/Typography.js +1 -1
  77. package/esm/Accordion/Accordion.d.ts +2 -2
  78. package/esm/Accordion/Accordion.js +2 -2
  79. package/esm/Alert/Alert.d.ts +2 -2
  80. package/esm/Alert/Alert.js +2 -2
  81. package/esm/Autocomplete/Autocomplete.d.ts +9 -9
  82. package/esm/Autocomplete/Autocomplete.js +6 -6
  83. package/esm/Avatar/Avatar.d.ts +1 -1
  84. package/esm/Avatar/Avatar.js +1 -1
  85. package/esm/AvatarGroup/AvatarGroup.d.ts +2 -2
  86. package/esm/AvatarGroup/AvatarGroup.js +1 -1
  87. package/esm/Backdrop/Backdrop.d.ts +3 -3
  88. package/esm/Backdrop/Backdrop.js +3 -3
  89. package/esm/Badge/Badge.d.ts +2 -2
  90. package/esm/Badge/Badge.js +2 -2
  91. package/esm/Button/Button.js +1 -1
  92. package/esm/CardHeader/CardHeader.d.ts +2 -2
  93. package/esm/CardHeader/CardHeader.js +2 -2
  94. package/esm/Checkbox/Checkbox.js +1 -1
  95. package/esm/Dialog/Dialog.d.ts +3 -3
  96. package/esm/Dialog/Dialog.js +3 -3
  97. package/esm/Drawer/Drawer.d.ts +2 -2
  98. package/esm/Drawer/Drawer.js +2 -2
  99. package/esm/Fab/Fab.js +1 -1
  100. package/esm/FilledInput/FilledInput.js +2 -2
  101. package/esm/FormControlLabel/FormControlLabel.d.ts +1 -1
  102. package/esm/FormControlLabel/FormControlLabel.js +1 -1
  103. package/esm/IconButton/IconButton.js +1 -1
  104. package/esm/Input/Input.js +2 -2
  105. package/esm/InputBase/InputBase.d.ts +2 -2
  106. package/esm/InputBase/InputBase.js +2 -2
  107. package/esm/ListItem/ListItem.d.ts +4 -4
  108. package/esm/ListItem/ListItem.js +6 -6
  109. package/esm/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +1 -1
  110. package/esm/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  111. package/esm/ListItemText/ListItemText.d.ts +2 -2
  112. package/esm/ListItemText/ListItemText.js +2 -2
  113. package/esm/Menu/Menu.d.ts +2 -2
  114. package/esm/Menu/Menu.js +2 -2
  115. package/esm/MobileStepper/MobileStepper.d.ts +1 -1
  116. package/esm/MobileStepper/MobileStepper.js +1 -1
  117. package/esm/Modal/Modal.d.ts +2 -2
  118. package/esm/Modal/Modal.js +2 -2
  119. package/esm/OutlinedInput/OutlinedInput.js +1 -1
  120. package/esm/PaginationItem/PaginationItem.d.ts +1 -1
  121. package/esm/PaginationItem/PaginationItem.js +1 -1
  122. package/esm/Popover/Popover.d.ts +5 -5
  123. package/esm/Popover/Popover.js +5 -5
  124. package/esm/Popper/Popper.d.ts +2 -2
  125. package/esm/Popper/Popper.js +2 -2
  126. package/esm/Radio/Radio.js +2 -2
  127. package/esm/Rating/Rating.d.ts +1 -1
  128. package/esm/Rating/Rating.js +1 -1
  129. package/esm/Slider/Slider.d.ts +2 -2
  130. package/esm/Slider/Slider.js +2 -2
  131. package/esm/Snackbar/Snackbar.d.ts +4 -4
  132. package/esm/Snackbar/Snackbar.js +4 -4
  133. package/esm/SpeedDial/SpeedDial.d.ts +2 -2
  134. package/esm/SpeedDial/SpeedDial.js +2 -2
  135. package/esm/SpeedDialAction/SpeedDialAction.d.ts +5 -5
  136. package/esm/SpeedDialAction/SpeedDialAction.js +5 -5
  137. package/esm/StepContent/StepContent.d.ts +2 -2
  138. package/esm/StepContent/StepContent.js +2 -2
  139. package/esm/StepLabel/StepLabel.d.ts +3 -3
  140. package/esm/StepLabel/StepLabel.js +3 -3
  141. package/esm/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
  142. package/esm/SwipeableDrawer/SwipeableDrawer.js +1 -1
  143. package/esm/Switch/Switch.js +2 -2
  144. package/esm/Tabs/Tabs.d.ts +3 -3
  145. package/esm/Tabs/Tabs.js +3 -3
  146. package/esm/TextField/TextField.d.ts +7 -7
  147. package/esm/TextField/TextField.js +5 -5
  148. package/esm/Tooltip/Tooltip.d.ts +7 -7
  149. package/esm/Tooltip/Tooltip.js +6 -6
  150. package/esm/Typography/Typography.d.ts +1 -1
  151. package/esm/Typography/Typography.js +1 -1
  152. package/esm/index.js +1 -1
  153. package/esm/internal/SwitchBase.d.ts +2 -2
  154. package/esm/styles/createTypography.d.ts +1 -23
  155. package/esm/styles/cssUtils.d.ts +1 -1
  156. package/esm/styles/index.d.ts +2 -2
  157. package/esm/version/index.js +2 -2
  158. package/index.js +1 -1
  159. package/internal/SwitchBase.d.ts +2 -2
  160. package/modern/Accordion/Accordion.d.ts +2 -2
  161. package/modern/Accordion/Accordion.js +2 -2
  162. package/modern/Alert/Alert.d.ts +2 -2
  163. package/modern/Alert/Alert.js +2 -2
  164. package/modern/Autocomplete/Autocomplete.d.ts +9 -9
  165. package/modern/Autocomplete/Autocomplete.js +6 -6
  166. package/modern/Avatar/Avatar.d.ts +1 -1
  167. package/modern/Avatar/Avatar.js +1 -1
  168. package/modern/AvatarGroup/AvatarGroup.d.ts +2 -2
  169. package/modern/AvatarGroup/AvatarGroup.js +1 -1
  170. package/modern/Backdrop/Backdrop.d.ts +3 -3
  171. package/modern/Backdrop/Backdrop.js +3 -3
  172. package/modern/Badge/Badge.d.ts +2 -2
  173. package/modern/Badge/Badge.js +2 -2
  174. package/modern/Button/Button.js +1 -1
  175. package/modern/CardHeader/CardHeader.d.ts +2 -2
  176. package/modern/CardHeader/CardHeader.js +2 -2
  177. package/modern/Checkbox/Checkbox.js +1 -1
  178. package/modern/Dialog/Dialog.d.ts +3 -3
  179. package/modern/Dialog/Dialog.js +3 -3
  180. package/modern/Drawer/Drawer.d.ts +2 -2
  181. package/modern/Drawer/Drawer.js +2 -2
  182. package/modern/Fab/Fab.js +1 -1
  183. package/modern/FilledInput/FilledInput.js +2 -2
  184. package/modern/FormControlLabel/FormControlLabel.d.ts +1 -1
  185. package/modern/FormControlLabel/FormControlLabel.js +1 -1
  186. package/modern/IconButton/IconButton.js +1 -1
  187. package/modern/Input/Input.js +2 -2
  188. package/modern/InputBase/InputBase.d.ts +2 -2
  189. package/modern/InputBase/InputBase.js +2 -2
  190. package/modern/ListItem/ListItem.d.ts +4 -4
  191. package/modern/ListItem/ListItem.js +6 -6
  192. package/modern/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +1 -1
  193. package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  194. package/modern/ListItemText/ListItemText.d.ts +2 -2
  195. package/modern/ListItemText/ListItemText.js +2 -2
  196. package/modern/Menu/Menu.d.ts +2 -2
  197. package/modern/Menu/Menu.js +2 -2
  198. package/modern/MobileStepper/MobileStepper.d.ts +1 -1
  199. package/modern/MobileStepper/MobileStepper.js +1 -1
  200. package/modern/Modal/Modal.d.ts +2 -2
  201. package/modern/Modal/Modal.js +2 -2
  202. package/modern/OutlinedInput/OutlinedInput.js +1 -1
  203. package/modern/PaginationItem/PaginationItem.d.ts +1 -1
  204. package/modern/PaginationItem/PaginationItem.js +1 -1
  205. package/modern/Popover/Popover.d.ts +5 -5
  206. package/modern/Popover/Popover.js +5 -5
  207. package/modern/Popper/Popper.d.ts +2 -2
  208. package/modern/Popper/Popper.js +2 -2
  209. package/modern/Radio/Radio.js +2 -2
  210. package/modern/Rating/Rating.d.ts +1 -1
  211. package/modern/Rating/Rating.js +1 -1
  212. package/modern/Slider/Slider.d.ts +2 -2
  213. package/modern/Slider/Slider.js +2 -2
  214. package/modern/Snackbar/Snackbar.d.ts +4 -4
  215. package/modern/Snackbar/Snackbar.js +4 -4
  216. package/modern/SpeedDial/SpeedDial.d.ts +2 -2
  217. package/modern/SpeedDial/SpeedDial.js +2 -2
  218. package/modern/SpeedDialAction/SpeedDialAction.d.ts +5 -5
  219. package/modern/SpeedDialAction/SpeedDialAction.js +5 -5
  220. package/modern/StepContent/StepContent.d.ts +2 -2
  221. package/modern/StepContent/StepContent.js +2 -2
  222. package/modern/StepLabel/StepLabel.d.ts +3 -3
  223. package/modern/StepLabel/StepLabel.js +3 -3
  224. package/modern/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
  225. package/modern/SwipeableDrawer/SwipeableDrawer.js +1 -1
  226. package/modern/Switch/Switch.js +2 -2
  227. package/modern/Tabs/Tabs.d.ts +3 -3
  228. package/modern/Tabs/Tabs.js +3 -3
  229. package/modern/TextField/TextField.d.ts +7 -7
  230. package/modern/TextField/TextField.js +5 -5
  231. package/modern/Tooltip/Tooltip.d.ts +7 -7
  232. package/modern/Tooltip/Tooltip.js +6 -6
  233. package/modern/Typography/Typography.d.ts +1 -1
  234. package/modern/Typography/Typography.js +1 -1
  235. package/modern/index.js +1 -1
  236. package/modern/internal/SwitchBase.d.ts +2 -2
  237. package/modern/styles/createTypography.d.ts +1 -23
  238. package/modern/styles/cssUtils.d.ts +1 -1
  239. package/modern/styles/index.d.ts +2 -2
  240. package/modern/version/index.js +2 -2
  241. package/package.json +5 -5
  242. package/styles/createTypography.d.ts +1 -23
  243. package/styles/cssUtils.d.ts +1 -1
  244. package/styles/index.d.ts +2 -2
  245. package/tsconfig.build.tsbuildinfo +1 -1
  246. package/version/index.js +2 -2
package/Input/Input.js CHANGED
@@ -208,7 +208,7 @@ process.env.NODE_ENV !== "production" ? Input.propTypes /* remove-proptypes */ =
208
208
  /**
209
209
  * The components used for each slot inside.
210
210
  *
211
- * @deprecated use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
211
+ * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
212
212
  *
213
213
  * @default {}
214
214
  */
@@ -220,7 +220,7 @@ process.env.NODE_ENV !== "production" ? Input.propTypes /* remove-proptypes */ =
220
220
  * The extra props for the slot components.
221
221
  * You can override the existing props or add new ones.
222
222
  *
223
- * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
223
+ * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
224
224
  *
225
225
  * @default {}
226
226
  */
@@ -39,7 +39,7 @@ export interface InputBaseProps extends StandardProps<React.HTMLAttributes<HTMLD
39
39
  /**
40
40
  * The components used for each slot inside.
41
41
  *
42
- * @deprecated use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
42
+ * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
43
43
  *
44
44
  * @default {}
45
45
  */
@@ -51,7 +51,7 @@ export interface InputBaseProps extends StandardProps<React.HTMLAttributes<HTMLD
51
51
  * The extra props for the slot components.
52
52
  * You can override the existing props or add new ones.
53
53
  *
54
- * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
54
+ * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
55
55
  *
56
56
  * @default {}
57
57
  */
@@ -564,7 +564,7 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes /* remove-proptypes
564
564
  /**
565
565
  * The components used for each slot inside.
566
566
  *
567
- * @deprecated use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
567
+ * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
568
568
  *
569
569
  * @default {}
570
570
  */
@@ -576,7 +576,7 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes /* remove-proptypes
576
576
  * The extra props for the slot components.
577
577
  * You can override the existing props or add new ones.
578
578
  *
579
- * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
579
+ * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
580
580
  *
581
581
  * @default {}
582
582
  */
@@ -26,13 +26,13 @@ export interface ListItemBaseProps {
26
26
  /**
27
27
  * The container component used when a `ListItemSecondaryAction` is the last child.
28
28
  * @default 'li'
29
- * @deprecated Use the `component` or `slots.root` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
29
+ * @deprecated Use the `component` or `slots.root` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
30
30
  */
31
31
  ContainerComponent?: React.ElementType<React.HTMLAttributes<HTMLDivElement>>;
32
32
  /**
33
33
  * Props applied to the container component if used.
34
34
  * @default {}
35
- * @deprecated Use the `slotProps.root` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
35
+ * @deprecated Use the `slotProps.root` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
36
36
  */
37
37
  ContainerProps?: React.HTMLAttributes<HTMLDivElement>;
38
38
  /**
@@ -69,7 +69,7 @@ export interface ListItemOwnProps extends ListItemBaseProps {
69
69
  /**
70
70
  * The components used for each slot inside.
71
71
  *
72
- * @deprecated Use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
72
+ * @deprecated Use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
73
73
  * @default {}
74
74
  */
75
75
  components?: {
@@ -79,7 +79,7 @@ export interface ListItemOwnProps extends ListItemBaseProps {
79
79
  * The extra props for the slot components.
80
80
  * You can override the existing props or add new ones.
81
81
  *
82
- * @deprecated Use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
82
+ * @deprecated Use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
83
83
  * @default {}
84
84
  */
85
85
  componentsProps?: {
@@ -193,7 +193,7 @@ const ListItem = /*#__PURE__*/React.forwardRef(function ListItem(inProps, ref) {
193
193
  const listItemRef = React.useRef(null);
194
194
  const children = React.Children.toArray(childrenProp);
195
195
 
196
- // v4 implementation, deprecated in v6, will be removed in v7
196
+ // v4 implementation, deprecated in v6, will be removed in a future major release
197
197
  const hasSecondaryAction = children.length && (0, _isMuiElement.default)(children[children.length - 1], ['ListItemSecondaryAction']);
198
198
  const ownerState = {
199
199
  ...props,
@@ -214,7 +214,7 @@ const ListItem = /*#__PURE__*/React.forwardRef(function ListItem(inProps, ref) {
214
214
  };
215
215
  let Component = componentProp || 'li';
216
216
 
217
- // v4 implementation, deprecated in v6, will be removed in v7
217
+ // v4 implementation, deprecated in v6, will be removed in a future major release
218
218
  if (hasSecondaryAction) {
219
219
  // Use div by default.
220
220
  Component = !componentProps.component && !componentProp ? 'div' : Component;
@@ -318,7 +318,7 @@ process.env.NODE_ENV !== "production" ? ListItem.propTypes /* remove-proptypes *
318
318
  /**
319
319
  * The components used for each slot inside.
320
320
  *
321
- * @deprecated Use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
321
+ * @deprecated Use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
322
322
  * @default {}
323
323
  */
324
324
  components: _propTypes.default.shape({
@@ -328,7 +328,7 @@ process.env.NODE_ENV !== "production" ? ListItem.propTypes /* remove-proptypes *
328
328
  * The extra props for the slot components.
329
329
  * You can override the existing props or add new ones.
330
330
  *
331
- * @deprecated Use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
331
+ * @deprecated Use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
332
332
  * @default {}
333
333
  */
334
334
  componentsProps: _propTypes.default.shape({
@@ -337,13 +337,13 @@ process.env.NODE_ENV !== "production" ? ListItem.propTypes /* remove-proptypes *
337
337
  /**
338
338
  * The container component used when a `ListItemSecondaryAction` is the last child.
339
339
  * @default 'li'
340
- * @deprecated Use the `component` or `slots.root` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
340
+ * @deprecated Use the `component` or `slots.root` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
341
341
  */
342
342
  ContainerComponent: _elementTypeAcceptingRef.default,
343
343
  /**
344
344
  * Props applied to the container component if used.
345
345
  * @default {}
346
- * @deprecated Use the `slotProps.root` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
346
+ * @deprecated Use the `slotProps.root` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
347
347
  */
348
348
  ContainerProps: _propTypes.default.object,
349
349
  /**
@@ -28,7 +28,7 @@ export interface ListItemSecondaryActionProps extends StandardProps<React.HTMLAt
28
28
  *
29
29
  * - [ListItemSecondaryAction API](https://mui.com/material-ui/api/list-item-secondary-action/)
30
30
  *
31
- * @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.
31
+ * @deprecated Use the `secondaryAction` prop in the `ListItem` component instead. This component will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
32
32
  */
33
33
  declare const ListItemSecondaryAction: ((props: ListItemSecondaryActionProps) => React.JSX.Element) & {
34
34
  muiName: string;
@@ -53,7 +53,7 @@ const ListItemSecondaryActionRoot = (0, _zeroStyled.styled)('div', {
53
53
  /**
54
54
  * Must be used as the last child of ListItem to function properly.
55
55
  *
56
- * @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.
56
+ * @deprecated Use the `secondaryAction` prop in the `ListItem` component instead. This component will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
57
57
  */
58
58
  const ListItemSecondaryAction = /*#__PURE__*/React.forwardRef(function ListItemSecondaryAction(inProps, ref) {
59
59
  const props = (0, _DefaultPropsProvider.useDefaultProps)({
@@ -69,7 +69,7 @@ export interface ListItemTextProps<PrimaryTypographyComponent extends React.Elem
69
69
  /**
70
70
  * These props will be forwarded to the primary typography component
71
71
  * (as long as disableTypography is not `true`).
72
- * @deprecated Use `slotProps.primary` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
72
+ * @deprecated Use `slotProps.primary` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
73
73
  */
74
74
  primaryTypographyProps?: TypographyProps<PrimaryTypographyComponent, {
75
75
  component?: PrimaryTypographyComponent;
@@ -81,7 +81,7 @@ export interface ListItemTextProps<PrimaryTypographyComponent extends React.Elem
81
81
  /**
82
82
  * These props will be forwarded to the secondary typography component
83
83
  * (as long as disableTypography is not `true`).
84
- * @deprecated Use `slotProps.secondary` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
84
+ * @deprecated Use `slotProps.secondary` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
85
85
  */
86
86
  secondaryTypographyProps?: TypographyProps<SecondaryTypographyComponent, {
87
87
  component?: SecondaryTypographyComponent;
@@ -195,7 +195,7 @@ process.env.NODE_ENV !== "production" ? ListItemText.propTypes /* remove-proptyp
195
195
  /**
196
196
  * These props will be forwarded to the primary typography component
197
197
  * (as long as disableTypography is not `true`).
198
- * @deprecated Use `slotProps.primary` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
198
+ * @deprecated Use `slotProps.primary` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
199
199
  */
200
200
  primaryTypographyProps: _propTypes.default.object,
201
201
  /**
@@ -205,7 +205,7 @@ process.env.NODE_ENV !== "production" ? ListItemText.propTypes /* remove-proptyp
205
205
  /**
206
206
  * These props will be forwarded to the secondary typography component
207
207
  * (as long as disableTypography is not `true`).
208
- * @deprecated Use `slotProps.secondary` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
208
+ * @deprecated Use `slotProps.secondary` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
209
209
  */
210
210
  secondaryTypographyProps: _propTypes.default.object,
211
211
  /**
package/Menu/Menu.d.ts CHANGED
@@ -103,7 +103,7 @@ export interface MenuProps extends StandardProps<Omit<PopoverProps, 'slots' | 's
103
103
  disableAutoFocusItem?: boolean;
104
104
  /**
105
105
  * Props applied to the [`MenuList`](https://mui.com/material-ui/api/menu-list/) element.
106
- * @deprecated use the `slotProps.list` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
106
+ * @deprecated use the `slotProps.list` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
107
107
  * @default {}
108
108
  */
109
109
  MenuListProps?: Partial<MenuListProps>;
@@ -134,7 +134,7 @@ export interface MenuProps extends StandardProps<Omit<PopoverProps, 'slots' | 's
134
134
  /**
135
135
  * Props applied to the transition element.
136
136
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
137
- * @deprecated use the `slotProps.transition` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
137
+ * @deprecated use the `slotProps.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
138
138
  * @default {}
139
139
  */
140
140
  TransitionProps?: TransitionProps;
package/Menu/Menu.js CHANGED
@@ -274,7 +274,7 @@ process.env.NODE_ENV !== "production" ? Menu.propTypes /* remove-proptypes */ =
274
274
  disableAutoFocusItem: _propTypes.default.bool,
275
275
  /**
276
276
  * Props applied to the [`MenuList`](https://mui.com/material-ui/api/menu-list/) element.
277
- * @deprecated use the `slotProps.list` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
277
+ * @deprecated use the `slotProps.list` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
278
278
  * @default {}
279
279
  */
280
280
  MenuListProps: _propTypes.default.object,
@@ -335,7 +335,7 @@ process.env.NODE_ENV !== "production" ? Menu.propTypes /* remove-proptypes */ =
335
335
  /**
336
336
  * Props applied to the transition element.
337
337
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
338
- * @deprecated use the `slotProps.transition` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
338
+ * @deprecated use the `slotProps.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
339
339
  * @default {}
340
340
  */
341
341
  TransitionProps: _propTypes.default.object,
@@ -70,7 +70,7 @@ export interface MobileStepperProps extends StandardProps<PaperProps, 'children'
70
70
  classes?: Partial<MobileStepperClasses>;
71
71
  /**
72
72
  * Props applied to the `LinearProgress` element.
73
- * @deprecated Use `slotProps.progress` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
73
+ * @deprecated Use `slotProps.progress` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
74
74
  */
75
75
  LinearProgressProps?: Partial<LinearProgressProps>;
76
76
  /**
@@ -264,7 +264,7 @@ process.env.NODE_ENV !== "production" ? MobileStepper.propTypes /* remove-propty
264
264
  className: _propTypes.default.string,
265
265
  /**
266
266
  * Props applied to the `LinearProgress` element.
267
- * @deprecated Use `slotProps.progress` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
267
+ * @deprecated Use `slotProps.progress` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
268
268
  */
269
269
  LinearProgressProps: _propTypes.default.object,
270
270
  /**
package/Modal/Modal.d.ts CHANGED
@@ -63,7 +63,7 @@ export interface ModalOwnProps {
63
63
  /**
64
64
  * The components used for each slot inside.
65
65
  *
66
- * @deprecated Use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
66
+ * @deprecated Use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
67
67
  *
68
68
  * @default {}
69
69
  */
@@ -75,7 +75,7 @@ export interface ModalOwnProps {
75
75
  * The extra props for the slot components.
76
76
  * You can override the existing props or add new ones.
77
77
  *
78
- * @deprecated Use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
78
+ * @deprecated Use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
79
79
  *
80
80
  * @default {}
81
81
  */
package/Modal/Modal.js CHANGED
@@ -276,7 +276,7 @@ process.env.NODE_ENV !== "production" ? Modal.propTypes /* remove-proptypes */ =
276
276
  /**
277
277
  * The components used for each slot inside.
278
278
  *
279
- * @deprecated Use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
279
+ * @deprecated Use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
280
280
  *
281
281
  * @default {}
282
282
  */
@@ -288,7 +288,7 @@ process.env.NODE_ENV !== "production" ? Modal.propTypes /* remove-proptypes */ =
288
288
  * The extra props for the slot components.
289
289
  * You can override the existing props or add new ones.
290
290
  *
291
- * @deprecated Use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
291
+ * @deprecated Use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
292
292
  *
293
293
  * @default {}
294
294
  */
@@ -277,7 +277,7 @@ process.env.NODE_ENV !== "production" ? OutlinedInput.propTypes /* remove-propty
277
277
  /**
278
278
  * The components used for each slot inside.
279
279
  *
280
- * @deprecated use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
280
+ * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
281
281
  *
282
282
  * @default {}
283
283
  */
@@ -41,7 +41,7 @@ export interface PaginationItemOwnProps extends PaginationItemSlotsAndSlotProps
41
41
  * It's recommended to use the `slots` prop instead.
42
42
  *
43
43
  * @default {}
44
- * @deprecated use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
44
+ * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
45
45
  */
46
46
  components?: {
47
47
  first?: React.ElementType;
@@ -409,7 +409,7 @@ process.env.NODE_ENV !== "production" ? PaginationItem.propTypes /* remove-propt
409
409
  * It's recommended to use the `slots` prop instead.
410
410
  *
411
411
  * @default {}
412
- * @deprecated use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
412
+ * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
413
413
  */
414
414
  components: _propTypes.default.shape({
415
415
  first: _propTypes.default.elementType,
@@ -82,7 +82,7 @@ export interface PopoverProps extends StandardProps<Omit<ModalProps, 'slots' | '
82
82
  * or a function that returns either.
83
83
  * It's used to set the position of the popover.
84
84
  */
85
- anchorEl?: null | Element | (() => Element) | PopoverVirtualElement | (() => PopoverVirtualElement);
85
+ anchorEl?: null | Element | PopoverVirtualElement | (() => Element | PopoverVirtualElement | null);
86
86
  /**
87
87
  * This is the point on the anchor where the popover's
88
88
  * `anchorEl` will attach to. This is not used when the
@@ -110,7 +110,7 @@ export interface PopoverProps extends StandardProps<Omit<ModalProps, 'slots' | '
110
110
  anchorReference?: PopoverReference;
111
111
  /**
112
112
  * A backdrop component. This prop enables custom backdrop rendering.
113
- * @deprecated Use `slots.backdrop` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
113
+ * @deprecated Use `slots.backdrop` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
114
114
  * @default styled(Backdrop, {
115
115
  * name: 'MuiModal',
116
116
  * slot: 'Backdrop',
@@ -124,7 +124,7 @@ export interface PopoverProps extends StandardProps<Omit<ModalProps, 'slots' | '
124
124
  BackdropComponent?: React.ElementType<BackdropProps>;
125
125
  /**
126
126
  * Props applied to the [`Backdrop`](/material-ui/api/backdrop/) element.
127
- * @deprecated Use `slotProps.backdrop` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
127
+ * @deprecated Use `slotProps.backdrop` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
128
128
  */
129
129
  BackdropProps?: Partial<BackdropProps>;
130
130
  /**
@@ -188,7 +188,7 @@ export interface PopoverProps extends StandardProps<Omit<ModalProps, 'slots' | '
188
188
  /**
189
189
  * The component used for the transition.
190
190
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
191
- * @deprecated use the `slots.transition` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
191
+ * @deprecated use the `slots.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
192
192
  * @default Grow
193
193
  */
194
194
  TransitionComponent?: React.JSXElementConstructor<TransitionProps & {
@@ -202,7 +202,7 @@ export interface PopoverProps extends StandardProps<Omit<ModalProps, 'slots' | '
202
202
  /**
203
203
  * Props applied to the transition element.
204
204
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
205
- * @deprecated use the `slotProps.transition` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
205
+ * @deprecated use the `slotProps.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
206
206
  * @default {}
207
207
  */
208
208
  TransitionProps?: TransitionProps;
@@ -285,7 +285,7 @@ const Popover = /*#__PURE__*/React.forwardRef(function Popover(inProps, ref) {
285
285
  const handleResize = (0, _debounce.default)(() => {
286
286
  setPositioningStyles();
287
287
  });
288
- const containerWindow = (0, _ownerWindow.default)(anchorEl);
288
+ const containerWindow = (0, _ownerWindow.default)(resolveAnchorEl(anchorEl));
289
289
  containerWindow.addEventListener('resize', handleResize);
290
290
  return () => {
291
291
  handleResize.clear();
@@ -452,7 +452,7 @@ process.env.NODE_ENV !== "production" ? Popover.propTypes /* remove-proptypes */
452
452
  anchorReference: _propTypes.default.oneOf(['anchorEl', 'anchorPosition', 'none']),
453
453
  /**
454
454
  * A backdrop component. This prop enables custom backdrop rendering.
455
- * @deprecated Use `slots.backdrop` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
455
+ * @deprecated Use `slots.backdrop` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
456
456
  * @default styled(Backdrop, {
457
457
  * name: 'MuiModal',
458
458
  * slot: 'Backdrop',
@@ -466,7 +466,7 @@ process.env.NODE_ENV !== "production" ? Popover.propTypes /* remove-proptypes */
466
466
  BackdropComponent: _propTypes.default.elementType,
467
467
  /**
468
468
  * Props applied to the [`Backdrop`](/material-ui/api/backdrop/) element.
469
- * @deprecated Use `slotProps.backdrop` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
469
+ * @deprecated Use `slotProps.backdrop` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
470
470
  */
471
471
  BackdropProps: _propTypes.default.object,
472
472
  /**
@@ -568,7 +568,7 @@ process.env.NODE_ENV !== "production" ? Popover.propTypes /* remove-proptypes */
568
568
  /**
569
569
  * The component used for the transition.
570
570
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
571
- * @deprecated use the `slots.transition` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
571
+ * @deprecated use the `slots.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
572
572
  * @default Grow
573
573
  */
574
574
  TransitionComponent: _propTypes.default.elementType,
@@ -584,7 +584,7 @@ process.env.NODE_ENV !== "production" ? Popover.propTypes /* remove-proptypes */
584
584
  /**
585
585
  * Props applied to the transition element.
586
586
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
587
- * @deprecated use the `slotProps.transition` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
587
+ * @deprecated use the `slotProps.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
588
588
  * @default {}
589
589
  */
590
590
  TransitionProps: _propTypes.default.object
@@ -12,7 +12,7 @@ export interface PopperProps extends Omit<BasePopperProps, 'direction'> {
12
12
  * The components used for each slot inside the Popper.
13
13
  * Either a string to use a HTML element or a component.
14
14
  *
15
- * @deprecated use the `slots` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
15
+ * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
16
16
  * @default {}
17
17
  */
18
18
  components?: {
@@ -21,7 +21,7 @@ export interface PopperProps extends Omit<BasePopperProps, 'direction'> {
21
21
  /**
22
22
  * The props used for each slot inside the Popper.
23
23
  *
24
- * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
24
+ * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
25
25
  * @default {}
26
26
  */
27
27
  componentsProps?: BasePopperProps['slotProps'];
package/Popper/Popper.js CHANGED
@@ -108,7 +108,7 @@ process.env.NODE_ENV !== "production" ? Popper.propTypes /* remove-proptypes */
108
108
  * The components used for each slot inside the Popper.
109
109
  * Either a string to use a HTML element or a component.
110
110
  *
111
- * @deprecated use the `slots` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
111
+ * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
112
112
  * @default {}
113
113
  */
114
114
  components: _propTypes.default.shape({
@@ -117,7 +117,7 @@ process.env.NODE_ENV !== "production" ? Popper.propTypes /* remove-proptypes */
117
117
  /**
118
118
  * The props used for each slot inside the Popper.
119
119
  *
120
- * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
120
+ * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
121
121
  * @default {}
122
122
  */
123
123
  componentsProps: _propTypes.default.shape({
package/Radio/Radio.js CHANGED
@@ -257,12 +257,12 @@ process.env.NODE_ENV !== "production" ? Radio.propTypes /* remove-proptypes */ =
257
257
  id: _propTypes.default.string,
258
258
  /**
259
259
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
260
- * @deprecated Use `slotProps.input` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
260
+ * @deprecated Use `slotProps.input` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
261
261
  */
262
262
  inputProps: _propTypes.default.object,
263
263
  /**
264
264
  * Pass a ref to the `input` element.
265
- * @deprecated Use `slotProps.input.ref` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
265
+ * @deprecated Use `slotProps.input.ref` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
266
266
  */
267
267
  inputRef: _refType.default,
268
268
  /**
@@ -106,7 +106,7 @@ export interface RatingOwnProps extends RatingSlotsAndSlotProps {
106
106
  icon?: React.ReactNode;
107
107
  /**
108
108
  * The component containing the icon.
109
- * @deprecated Use `slotProps.icon.component` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
109
+ * @deprecated Use `slotProps.icon.component` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
110
110
  * @default function IconContainer(props) {
111
111
  * const { value, ...other } = props;
112
112
  * return <span {...other} />;
package/Rating/Rating.js CHANGED
@@ -694,7 +694,7 @@ process.env.NODE_ENV !== "production" ? Rating.propTypes /* remove-proptypes */
694
694
  icon: _propTypes.default.node,
695
695
  /**
696
696
  * The component containing the icon.
697
- * @deprecated Use `slotProps.icon.component` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
697
+ * @deprecated Use `slotProps.icon.component` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
698
698
  * @default function IconContainer(props) {
699
699
  * const { value, ...other } = props;
700
700
  * return <span {...other} />;
@@ -38,7 +38,7 @@ export interface SliderOwnProps<Value extends number | number[]> {
38
38
  /**
39
39
  * The components used for each slot inside.
40
40
  *
41
- * @deprecated use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
41
+ * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
42
42
  *
43
43
  * @default {}
44
44
  */
@@ -56,7 +56,7 @@ export interface SliderOwnProps<Value extends number | number[]> {
56
56
  * The extra props for the slot components.
57
57
  * You can override the existing props or add new ones.
58
58
  *
59
- * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
59
+ * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
60
60
  *
61
61
  * @default {}
62
62
  */
package/Slider/Slider.js CHANGED
@@ -872,7 +872,7 @@ process.env.NODE_ENV !== "production" ? Slider.propTypes /* remove-proptypes */
872
872
  /**
873
873
  * The components used for each slot inside.
874
874
  *
875
- * @deprecated use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
875
+ * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
876
876
  *
877
877
  * @default {}
878
878
  */
@@ -890,7 +890,7 @@ process.env.NODE_ENV !== "production" ? Slider.propTypes /* remove-proptypes */
890
890
  * The extra props for the slot components.
891
891
  * You can override the existing props or add new ones.
892
892
  *
893
- * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
893
+ * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
894
894
  *
895
895
  * @default {}
896
896
  */
@@ -91,12 +91,12 @@ export interface SnackbarProps extends Omit<StandardProps<React.HTMLAttributes<H
91
91
  classes?: Partial<SnackbarClasses>;
92
92
  /**
93
93
  * Props applied to the `ClickAwayListener` element.
94
- * @deprecated Use `slotProps.clickAwayListener` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
94
+ * @deprecated Use `slotProps.clickAwayListener` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
95
95
  */
96
96
  ClickAwayListenerProps?: Partial<ClickAwayListenerProps>;
97
97
  /**
98
98
  * Props applied to the [`SnackbarContent`](https://mui.com/material-ui/api/snackbar-content/) element.
99
- * @deprecated Use `slotProps.content` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
99
+ * @deprecated Use `slotProps.content` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
100
100
  */
101
101
  ContentProps?: Partial<SnackbarContentProps>;
102
102
  /**
@@ -144,7 +144,7 @@ export interface SnackbarProps extends Omit<StandardProps<React.HTMLAttributes<H
144
144
  /**
145
145
  * The component used for the transition.
146
146
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
147
- * @deprecated Use `slots.transition` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
147
+ * @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
148
148
  * @default Grow
149
149
  */
150
150
  TransitionComponent?: React.JSXElementConstructor<TransitionProps & {
@@ -162,7 +162,7 @@ export interface SnackbarProps extends Omit<StandardProps<React.HTMLAttributes<H
162
162
  /**
163
163
  * Props applied to the transition element.
164
164
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
165
- * @deprecated Use `slotProps.transition` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
165
+ * @deprecated Use `slotProps.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
166
166
  * @default {}
167
167
  */
168
168
  TransitionProps?: TransitionProps;