@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
@@ -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?: {
@@ -185,7 +185,7 @@ const ListItem = /*#__PURE__*/React.forwardRef(function ListItem(inProps, ref) {
185
185
  const listItemRef = React.useRef(null);
186
186
  const children = React.Children.toArray(childrenProp);
187
187
 
188
- // v4 implementation, deprecated in v6, will be removed in v7
188
+ // v4 implementation, deprecated in v6, will be removed in a future major release
189
189
  const hasSecondaryAction = children.length && isMuiElement(children[children.length - 1], ['ListItemSecondaryAction']);
190
190
  const ownerState = {
191
191
  ...props,
@@ -206,7 +206,7 @@ const ListItem = /*#__PURE__*/React.forwardRef(function ListItem(inProps, ref) {
206
206
  };
207
207
  let Component = componentProp || 'li';
208
208
 
209
- // v4 implementation, deprecated in v6, will be removed in v7
209
+ // v4 implementation, deprecated in v6, will be removed in a future major release
210
210
  if (hasSecondaryAction) {
211
211
  // Use div by default.
212
212
  Component = !componentProps.component && !componentProp ? 'div' : Component;
@@ -310,7 +310,7 @@ process.env.NODE_ENV !== "production" ? ListItem.propTypes /* remove-proptypes *
310
310
  /**
311
311
  * The components used for each slot inside.
312
312
  *
313
- * @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.
313
+ * @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.
314
314
  * @default {}
315
315
  */
316
316
  components: PropTypes.shape({
@@ -320,7 +320,7 @@ process.env.NODE_ENV !== "production" ? ListItem.propTypes /* remove-proptypes *
320
320
  * The extra props for the slot components.
321
321
  * You can override the existing props or add new ones.
322
322
  *
323
- * @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.
323
+ * @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.
324
324
  * @default {}
325
325
  */
326
326
  componentsProps: PropTypes.shape({
@@ -329,13 +329,13 @@ process.env.NODE_ENV !== "production" ? ListItem.propTypes /* remove-proptypes *
329
329
  /**
330
330
  * The container component used when a `ListItemSecondaryAction` is the last child.
331
331
  * @default 'li'
332
- * @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.
332
+ * @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.
333
333
  */
334
334
  ContainerComponent: elementTypeAcceptingRef,
335
335
  /**
336
336
  * Props applied to the container component if used.
337
337
  * @default {}
338
- * @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.
338
+ * @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.
339
339
  */
340
340
  ContainerProps: PropTypes.object,
341
341
  /**
@@ -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;
@@ -46,7 +46,7 @@ const ListItemSecondaryActionRoot = styled('div', {
46
46
  /**
47
47
  * Must be used as the last child of ListItem to function properly.
48
48
  *
49
- * @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.
49
+ * @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.
50
50
  */
51
51
  const ListItemSecondaryAction = /*#__PURE__*/React.forwardRef(function ListItemSecondaryAction(inProps, ref) {
52
52
  const props = 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;
@@ -188,7 +188,7 @@ process.env.NODE_ENV !== "production" ? ListItemText.propTypes /* remove-proptyp
188
188
  /**
189
189
  * These props will be forwarded to the primary typography component
190
190
  * (as long as disableTypography is not `true`).
191
- * @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.
191
+ * @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.
192
192
  */
193
193
  primaryTypographyProps: PropTypes.object,
194
194
  /**
@@ -198,7 +198,7 @@ process.env.NODE_ENV !== "production" ? ListItemText.propTypes /* remove-proptyp
198
198
  /**
199
199
  * These props will be forwarded to the secondary typography component
200
200
  * (as long as disableTypography is not `true`).
201
- * @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.
201
+ * @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.
202
202
  */
203
203
  secondaryTypographyProps: PropTypes.object,
204
204
  /**
@@ -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/esm/Menu/Menu.js CHANGED
@@ -267,7 +267,7 @@ process.env.NODE_ENV !== "production" ? Menu.propTypes /* remove-proptypes */ =
267
267
  disableAutoFocusItem: PropTypes.bool,
268
268
  /**
269
269
  * Props applied to the [`MenuList`](https://mui.com/material-ui/api/menu-list/) element.
270
- * @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.
270
+ * @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.
271
271
  * @default {}
272
272
  */
273
273
  MenuListProps: PropTypes.object,
@@ -328,7 +328,7 @@ process.env.NODE_ENV !== "production" ? Menu.propTypes /* remove-proptypes */ =
328
328
  /**
329
329
  * Props applied to the transition element.
330
330
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
331
- * @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.
331
+ * @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.
332
332
  * @default {}
333
333
  */
334
334
  TransitionProps: PropTypes.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
  /**
@@ -257,7 +257,7 @@ process.env.NODE_ENV !== "production" ? MobileStepper.propTypes /* remove-propty
257
257
  className: PropTypes.string,
258
258
  /**
259
259
  * Props applied to the `LinearProgress` element.
260
- * @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.
260
+ * @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.
261
261
  */
262
262
  LinearProgressProps: PropTypes.object,
263
263
  /**
@@ -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
  */
@@ -269,7 +269,7 @@ process.env.NODE_ENV !== "production" ? Modal.propTypes /* remove-proptypes */ =
269
269
  /**
270
270
  * The components used for each slot inside.
271
271
  *
272
- * @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.
272
+ * @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.
273
273
  *
274
274
  * @default {}
275
275
  */
@@ -281,7 +281,7 @@ process.env.NODE_ENV !== "production" ? Modal.propTypes /* remove-proptypes */ =
281
281
  * The extra props for the slot components.
282
282
  * You can override the existing props or add new ones.
283
283
  *
284
- * @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.
284
+ * @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.
285
285
  *
286
286
  * @default {}
287
287
  */
@@ -270,7 +270,7 @@ process.env.NODE_ENV !== "production" ? OutlinedInput.propTypes /* remove-propty
270
270
  /**
271
271
  * The components used for each slot inside.
272
272
  *
273
- * @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.
273
+ * @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.
274
274
  *
275
275
  * @default {}
276
276
  */
@@ -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;
@@ -402,7 +402,7 @@ process.env.NODE_ENV !== "production" ? PaginationItem.propTypes /* remove-propt
402
402
  * It's recommended to use the `slots` prop instead.
403
403
  *
404
404
  * @default {}
405
- * @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.
405
+ * @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.
406
406
  */
407
407
  components: PropTypes.shape({
408
408
  first: PropTypes.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;
@@ -276,7 +276,7 @@ const Popover = /*#__PURE__*/React.forwardRef(function Popover(inProps, ref) {
276
276
  const handleResize = debounce(() => {
277
277
  setPositioningStyles();
278
278
  });
279
- const containerWindow = ownerWindow(anchorEl);
279
+ const containerWindow = ownerWindow(resolveAnchorEl(anchorEl));
280
280
  containerWindow.addEventListener('resize', handleResize);
281
281
  return () => {
282
282
  handleResize.clear();
@@ -443,7 +443,7 @@ process.env.NODE_ENV !== "production" ? Popover.propTypes /* remove-proptypes */
443
443
  anchorReference: PropTypes.oneOf(['anchorEl', 'anchorPosition', 'none']),
444
444
  /**
445
445
  * A backdrop component. This prop enables custom backdrop rendering.
446
- * @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.
446
+ * @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.
447
447
  * @default styled(Backdrop, {
448
448
  * name: 'MuiModal',
449
449
  * slot: 'Backdrop',
@@ -457,7 +457,7 @@ process.env.NODE_ENV !== "production" ? Popover.propTypes /* remove-proptypes */
457
457
  BackdropComponent: PropTypes.elementType,
458
458
  /**
459
459
  * Props applied to the [`Backdrop`](/material-ui/api/backdrop/) element.
460
- * @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.
460
+ * @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.
461
461
  */
462
462
  BackdropProps: PropTypes.object,
463
463
  /**
@@ -559,7 +559,7 @@ process.env.NODE_ENV !== "production" ? Popover.propTypes /* remove-proptypes */
559
559
  /**
560
560
  * The component used for the transition.
561
561
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
562
- * @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.
562
+ * @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.
563
563
  * @default Grow
564
564
  */
565
565
  TransitionComponent: PropTypes.elementType,
@@ -575,7 +575,7 @@ process.env.NODE_ENV !== "production" ? Popover.propTypes /* remove-proptypes */
575
575
  /**
576
576
  * Props applied to the transition element.
577
577
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
578
- * @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.
578
+ * @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.
579
579
  * @default {}
580
580
  */
581
581
  TransitionProps: PropTypes.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'];
@@ -101,7 +101,7 @@ process.env.NODE_ENV !== "production" ? Popper.propTypes /* remove-proptypes */
101
101
  * The components used for each slot inside the Popper.
102
102
  * Either a string to use a HTML element or a component.
103
103
  *
104
- * @deprecated use the `slots` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
104
+ * @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/).
105
105
  * @default {}
106
106
  */
107
107
  components: PropTypes.shape({
@@ -110,7 +110,7 @@ process.env.NODE_ENV !== "production" ? Popper.propTypes /* remove-proptypes */
110
110
  /**
111
111
  * The props used for each slot inside the Popper.
112
112
  *
113
- * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
113
+ * @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/).
114
114
  * @default {}
115
115
  */
116
116
  componentsProps: PropTypes.shape({
@@ -250,12 +250,12 @@ process.env.NODE_ENV !== "production" ? Radio.propTypes /* remove-proptypes */ =
250
250
  id: PropTypes.string,
251
251
  /**
252
252
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
253
- * @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.
253
+ * @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.
254
254
  */
255
255
  inputProps: PropTypes.object,
256
256
  /**
257
257
  * Pass a ref to the `input` element.
258
- * @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.
258
+ * @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.
259
259
  */
260
260
  inputRef: refType,
261
261
  /**
@@ -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} />;
@@ -687,7 +687,7 @@ process.env.NODE_ENV !== "production" ? Rating.propTypes /* remove-proptypes */
687
687
  icon: PropTypes.node,
688
688
  /**
689
689
  * The component containing the icon.
690
- * @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.
690
+ * @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.
691
691
  * @default function IconContainer(props) {
692
692
  * const { value, ...other } = props;
693
693
  * 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
  */
@@ -866,7 +866,7 @@ process.env.NODE_ENV !== "production" ? Slider.propTypes /* remove-proptypes */
866
866
  /**
867
867
  * The components used for each slot inside.
868
868
  *
869
- * @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.
869
+ * @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.
870
870
  *
871
871
  * @default {}
872
872
  */
@@ -884,7 +884,7 @@ process.env.NODE_ENV !== "production" ? Slider.propTypes /* remove-proptypes */
884
884
  * The extra props for the slot components.
885
885
  * You can override the existing props or add new ones.
886
886
  *
887
- * @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.
887
+ * @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.
888
888
  *
889
889
  * @default {}
890
890
  */
@@ -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;
@@ -303,12 +303,12 @@ process.env.NODE_ENV !== "production" ? Snackbar.propTypes /* remove-proptypes *
303
303
  className: PropTypes.string,
304
304
  /**
305
305
  * Props applied to the `ClickAwayListener` element.
306
- * @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.
306
+ * @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.
307
307
  */
308
308
  ClickAwayListenerProps: PropTypes.object,
309
309
  /**
310
310
  * Props applied to the [`SnackbarContent`](https://mui.com/material-ui/api/snackbar-content/) element.
311
- * @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.
311
+ * @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.
312
312
  */
313
313
  ContentProps: PropTypes.object,
314
314
  /**
@@ -398,7 +398,7 @@ process.env.NODE_ENV !== "production" ? Snackbar.propTypes /* remove-proptypes *
398
398
  /**
399
399
  * The component used for the transition.
400
400
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
401
- * @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.
401
+ * @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.
402
402
  * @default Grow
403
403
  */
404
404
  TransitionComponent: PropTypes.elementType,
@@ -418,7 +418,7 @@ process.env.NODE_ENV !== "production" ? Snackbar.propTypes /* remove-proptypes *
418
418
  /**
419
419
  * Props applied to the transition element.
420
420
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
421
- * @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.
421
+ * @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.
422
422
  * @default {}
423
423
  */
424
424
  TransitionProps: PropTypes.object
@@ -97,7 +97,7 @@ export interface SpeedDialProps extends Omit<StandardProps<React.HTMLAttributes<
97
97
  * The component used for the transition.
98
98
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
99
99
  * @default Zoom
100
- * * @deprecated Use `slots.transition` instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
100
+ * * @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
101
101
  */
102
102
  TransitionComponent?: React.JSXElementConstructor<TransitionProps>;
103
103
  /**
@@ -112,7 +112,7 @@ export interface SpeedDialProps extends Omit<StandardProps<React.HTMLAttributes<
112
112
  /**
113
113
  * Props applied to the transition element.
114
114
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
115
- * @deprecated Use `slotProps.transition` instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
115
+ * @deprecated Use `slotProps.transition` instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
116
116
  */
117
117
  TransitionProps?: TransitionProps;
118
118
  }
@@ -553,7 +553,7 @@ process.env.NODE_ENV !== "production" ? SpeedDial.propTypes /* remove-proptypes
553
553
  * The component used for the transition.
554
554
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
555
555
  * @default Zoom
556
- * * @deprecated Use `slots.transition` instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
556
+ * * @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
557
557
  */
558
558
  TransitionComponent: PropTypes.elementType,
559
559
  /**
@@ -572,7 +572,7 @@ process.env.NODE_ENV !== "production" ? SpeedDial.propTypes /* remove-proptypes
572
572
  /**
573
573
  * Props applied to the transition element.
574
574
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
575
- * @deprecated Use `slotProps.transition` instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
575
+ * @deprecated Use `slotProps.transition` instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
576
576
  */
577
577
  TransitionProps: PropTypes.object
578
578
  } : void 0;