@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
@@ -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;
@@ -62,7 +62,7 @@ export interface SpeedDialActionProps extends Omit<StandardProps<Partial<Tooltip
62
62
  /**
63
63
  * Props applied to the [`Fab`](https://mui.com/material-ui/api/fab/) component.
64
64
  * @default {}
65
- * @deprecated Use `slotProps.fab` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
65
+ * @deprecated Use `slotProps.fab` 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.
66
66
  */
67
67
  FabProps?: Partial<FabProps>;
68
68
  /**
@@ -80,24 +80,24 @@ export interface SpeedDialActionProps extends Omit<StandardProps<Partial<Tooltip
80
80
  sx?: SxProps<Theme>;
81
81
  /**
82
82
  * `classes` prop applied to the [`Tooltip`](https://mui.com/material-ui/api/tooltip/) element.
83
- * @deprecated Use `slotProps.tooltip.classes` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
83
+ * @deprecated Use `slotProps.tooltip.classes` 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.
84
84
  */
85
85
  TooltipClasses?: TooltipProps['classes'];
86
86
  /**
87
87
  * Placement of the tooltip.
88
88
  * @default 'left'
89
- * @deprecated Use `slotProps.tooltip.placement` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
89
+ * @deprecated Use `slotProps.tooltip.placement` 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.
90
90
  */
91
91
  tooltipPlacement?: TooltipProps['placement'];
92
92
  /**
93
93
  * Label to display in the tooltip.
94
- * @deprecated Use `slotProps.tooltip.title` 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.tooltip.title` 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
  tooltipTitle?: React.ReactNode;
97
97
  /**
98
98
  * Make the tooltip always visible when the SpeedDial is open.
99
99
  * @default false
100
- * @deprecated Use `slotProps.tooltip.open` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
100
+ * @deprecated Use `slotProps.tooltip.open` 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.
101
101
  */
102
102
  tooltipOpen?: boolean;
103
103
  }
@@ -285,7 +285,7 @@ process.env.NODE_ENV !== "production" ? SpeedDialAction.propTypes /* remove-prop
285
285
  /**
286
286
  * Props applied to the [`Fab`](https://mui.com/material-ui/api/fab/) component.
287
287
  * @default {}
288
- * @deprecated Use `slotProps.fab` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
288
+ * @deprecated Use `slotProps.fab` 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.
289
289
  */
290
290
  FabProps: PropTypes.object,
291
291
  /**
@@ -327,24 +327,24 @@ process.env.NODE_ENV !== "production" ? SpeedDialAction.propTypes /* remove-prop
327
327
  sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
328
328
  /**
329
329
  * `classes` prop applied to the [`Tooltip`](https://mui.com/material-ui/api/tooltip/) element.
330
- * @deprecated Use `slotProps.tooltip.classes` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
330
+ * @deprecated Use `slotProps.tooltip.classes` 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.
331
331
  */
332
332
  TooltipClasses: PropTypes.object,
333
333
  /**
334
334
  * Make the tooltip always visible when the SpeedDial is open.
335
335
  * @default false
336
- * @deprecated Use `slotProps.tooltip.open` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
336
+ * @deprecated Use `slotProps.tooltip.open` 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.
337
337
  */
338
338
  tooltipOpen: PropTypes.bool,
339
339
  /**
340
340
  * Placement of the tooltip.
341
341
  * @default 'left'
342
- * @deprecated Use `slotProps.tooltip.placement` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
342
+ * @deprecated Use `slotProps.tooltip.placement` 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.
343
343
  */
344
344
  tooltipPlacement: PropTypes.oneOf(['auto-end', 'auto-start', 'auto', 'bottom-end', 'bottom-start', 'bottom', 'left-end', 'left-start', 'left', 'right-end', 'right-start', 'right', 'top-end', 'top-start', 'top']),
345
345
  /**
346
346
  * Label to display in the tooltip.
347
- * @deprecated Use `slotProps.tooltip.title` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
347
+ * @deprecated Use `slotProps.tooltip.title` 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.
348
348
  */
349
349
  tooltipTitle: PropTypes.node
350
350
  } : void 0;
@@ -40,7 +40,7 @@ export interface StepContentProps extends StandardProps<React.HTMLAttributes<HTM
40
40
  * The component used for the transition.
41
41
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
42
42
  * @default Collapse
43
- * @deprecated Use `slots.transition` instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
43
+ * @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/).
44
44
  */
45
45
  TransitionComponent?: React.JSXElementConstructor<TransitionProps & {
46
46
  children: React.ReactElement<unknown, any>;
@@ -56,7 +56,7 @@ export interface StepContentProps extends StandardProps<React.HTMLAttributes<HTM
56
56
  /**
57
57
  * Props applied to the transition element.
58
58
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
59
- * @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.
59
+ * @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.
60
60
  */
61
61
  TransitionProps?: TransitionProps;
62
62
  }
@@ -162,7 +162,7 @@ process.env.NODE_ENV !== "production" ? StepContent.propTypes /* remove-proptype
162
162
  * The component used for the transition.
163
163
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
164
164
  * @default Collapse
165
- * @deprecated Use `slots.transition` instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
165
+ * @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/).
166
166
  */
167
167
  TransitionComponent: PropTypes.elementType,
168
168
  /**
@@ -180,7 +180,7 @@ process.env.NODE_ENV !== "production" ? StepContent.propTypes /* remove-proptype
180
180
  /**
181
181
  * Props applied to the transition element.
182
182
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
183
- * @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.
183
+ * @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.
184
184
  */
185
185
  TransitionProps: PropTypes.object
186
186
  } : void 0;
@@ -51,7 +51,7 @@ export interface StepLabelProps extends StandardProps<React.HTMLAttributes<HTMLD
51
51
  /**
52
52
  * The props used for each slot inside.
53
53
  * @default {}
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
  componentsProps?: {
57
57
  /**
@@ -75,12 +75,12 @@ export interface StepLabelProps extends StandardProps<React.HTMLAttributes<HTMLD
75
75
  optional?: React.ReactNode;
76
76
  /**
77
77
  * The component to render in place of the [`StepIcon`](https://mui.com/material-ui/api/step-icon/).
78
- * @deprecated Use `slots.stepIcon` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
78
+ * @deprecated Use `slots.stepIcon` 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.
79
79
  */
80
80
  StepIconComponent?: React.ElementType<StepIconProps>;
81
81
  /**
82
82
  * Props applied to the [`StepIcon`](https://mui.com/material-ui/api/step-icon/) element.
83
- * @deprecated Use `slotProps.stepIcon` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
83
+ * @deprecated Use `slotProps.stepIcon` 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.
84
84
  */
85
85
  StepIconProps?: Partial<StepIconProps>;
86
86
  /**
@@ -225,7 +225,7 @@ process.env.NODE_ENV !== "production" ? StepLabel.propTypes /* remove-proptypes
225
225
  /**
226
226
  * The props used for each slot inside.
227
227
  * @default {}
228
- * @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.
228
+ * @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.
229
229
  */
230
230
  componentsProps: PropTypes.shape({
231
231
  label: PropTypes.object
@@ -263,12 +263,12 @@ process.env.NODE_ENV !== "production" ? StepLabel.propTypes /* remove-proptypes
263
263
  }),
264
264
  /**
265
265
  * The component to render in place of the [`StepIcon`](https://mui.com/material-ui/api/step-icon/).
266
- * @deprecated Use `slots.stepIcon` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
266
+ * @deprecated Use `slots.stepIcon` 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.
267
267
  */
268
268
  StepIconComponent: PropTypes.elementType,
269
269
  /**
270
270
  * Props applied to the [`StepIcon`](https://mui.com/material-ui/api/step-icon/) element.
271
- * @deprecated Use `slotProps.stepIcon` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
271
+ * @deprecated Use `slotProps.stepIcon` 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.
272
272
  */
273
273
  StepIconProps: PropTypes.object,
274
274
  /**
@@ -80,7 +80,7 @@ export interface SwipeableDrawerProps extends Omit<DrawerProps, 'onClose' | 'ope
80
80
  open?: boolean;
81
81
  /**
82
82
  * The element is used to intercept the touch events on the edge.
83
- * @deprecated use the `slotProps.swipeArea` 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.
83
+ * @deprecated use the `slotProps.swipeArea` 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.
84
84
  */
85
85
  SwipeAreaProps?: object;
86
86
  /**
@@ -631,7 +631,7 @@ process.env.NODE_ENV !== "production" ? SwipeableDrawer.propTypes /* remove-prop
631
631
  }),
632
632
  /**
633
633
  * The element is used to intercept the touch events on the edge.
634
- * @deprecated use the `slotProps.swipeArea` 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.
634
+ * @deprecated use the `slotProps.swipeArea` 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.
635
635
  */
636
636
  SwipeAreaProps: PropTypes.object,
637
637
  /**
@@ -345,12 +345,12 @@ process.env.NODE_ENV !== "production" ? Switch.propTypes /* remove-proptypes */
345
345
  id: PropTypes.string,
346
346
  /**
347
347
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
348
- * @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.
348
+ * @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.
349
349
  */
350
350
  inputProps: PropTypes.object,
351
351
  /**
352
352
  * Pass a ref to the `input` element.
353
- * @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.
353
+ * @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.
354
354
  */
355
355
  inputRef: refType,
356
356
  /**
@@ -179,7 +179,7 @@ export interface TabsOwnProps extends TabsSlotsAndSlotProps {
179
179
  orientation?: 'horizontal' | 'vertical';
180
180
  /**
181
181
  * The component used to render the scroll buttons.
182
- * @deprecated use the `slots.scrollButtons` 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.
182
+ * @deprecated use the `slots.scrollButtons` 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.
183
183
  * @default TabScrollButton
184
184
  */
185
185
  ScrollButtonComponent?: React.ElementType;
@@ -202,7 +202,7 @@ export interface TabsOwnProps extends TabsSlotsAndSlotProps {
202
202
  selectionFollowsFocus?: boolean;
203
203
  /**
204
204
  * Props applied to the tab indicator element.
205
- * @deprecated use the `slotProps.indicator` 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.indicator` 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
  TabIndicatorProps?: React.HTMLAttributes<HTMLDivElement> & {
@@ -210,7 +210,7 @@ export interface TabsOwnProps extends TabsSlotsAndSlotProps {
210
210
  };
211
211
  /**
212
212
  * Props applied to the [`TabScrollButton`](https://mui.com/material-ui/api/tab-scroll-button/) element.
213
- * @deprecated use the `slotProps.scrollButtons` 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.
213
+ * @deprecated use the `slotProps.scrollButtons` 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.
214
214
  * @default {}
215
215
  */
216
216
  TabScrollButtonProps?: Partial<TabScrollButtonProps>;
@@ -858,7 +858,7 @@ process.env.NODE_ENV !== "production" ? Tabs.propTypes /* remove-proptypes */ =
858
858
  orientation: PropTypes.oneOf(['horizontal', 'vertical']),
859
859
  /**
860
860
  * The component used to render the scroll buttons.
861
- * @deprecated use the `slots.scrollButtons` 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.
861
+ * @deprecated use the `slots.scrollButtons` 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.
862
862
  * @default TabScrollButton
863
863
  */
864
864
  ScrollButtonComponent: PropTypes.elementType,
@@ -915,13 +915,13 @@ process.env.NODE_ENV !== "production" ? Tabs.propTypes /* remove-proptypes */ =
915
915
  sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
916
916
  /**
917
917
  * Props applied to the tab indicator element.
918
- * @deprecated use the `slotProps.indicator` 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.
918
+ * @deprecated use the `slotProps.indicator` 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.
919
919
  * @default {}
920
920
  */
921
921
  TabIndicatorProps: PropTypes.object,
922
922
  /**
923
923
  * Props applied to the [`TabScrollButton`](https://mui.com/material-ui/api/tab-scroll-button/) element.
924
- * @deprecated use the `slotProps.scrollButtons` 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.
924
+ * @deprecated use the `slotProps.scrollButtons` 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.
925
925
  * @default {}
926
926
  */
927
927
  TabScrollButtonProps: PropTypes.object,
@@ -124,7 +124,7 @@ export interface BaseTextFieldProps extends StandardProps<FormControlProps,
124
124
  error?: boolean;
125
125
  /**
126
126
  * Props applied to the [`FormHelperText`](https://mui.com/material-ui/api/form-helper-text/) element.
127
- * @deprecated Use `slotProps.formHelperText` 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.formHelperText` 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
  FormHelperTextProps?: Partial<FormHelperTextProps>;
130
130
  /**
@@ -144,12 +144,12 @@ export interface BaseTextFieldProps extends StandardProps<FormControlProps,
144
144
  /**
145
145
  * Props applied to the [`InputLabel`](https://mui.com/material-ui/api/input-label/) element.
146
146
  * Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
147
- * @deprecated Use `slotProps.inputLabel` 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.
147
+ * @deprecated Use `slotProps.inputLabel` 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.
148
148
  */
149
149
  InputLabelProps?: Partial<InputLabelProps>;
150
150
  /**
151
151
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
152
- * @deprecated Use `slotProps.htmlInput` 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.
152
+ * @deprecated Use `slotProps.htmlInput` 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.
153
153
  */
154
154
  inputProps?: InputBaseProps['inputProps'];
155
155
  /**
@@ -200,7 +200,7 @@ export interface BaseTextFieldProps extends StandardProps<FormControlProps,
200
200
  select?: boolean;
201
201
  /**
202
202
  * Props applied to the [`Select`](https://mui.com/material-ui/api/select/) element.
203
- * @deprecated Use `slotProps.select` 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.
203
+ * @deprecated Use `slotProps.select` 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.
204
204
  */
205
205
  SelectProps?: Partial<SelectProps>;
206
206
  /**
@@ -239,7 +239,7 @@ export interface StandardTextFieldProps extends BaseTextFieldProps, TextFieldSlo
239
239
  * It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
240
240
  * [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
241
241
  * component depending on the `variant` prop value.
242
- * @deprecated Use `slotProps.input` 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.
242
+ * @deprecated Use `slotProps.input` 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.
243
243
  */
244
244
  InputProps?: Partial<StandardInputProps>;
245
245
  }
@@ -261,7 +261,7 @@ export interface FilledTextFieldProps extends BaseTextFieldProps, TextFieldSlots
261
261
  * It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
262
262
  * [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
263
263
  * component depending on the `variant` prop value.
264
- * @deprecated Use `slotProps.input` 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.
264
+ * @deprecated Use `slotProps.input` 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.
265
265
  */
266
266
  InputProps?: Partial<FilledInputProps>;
267
267
  }
@@ -283,7 +283,7 @@ export interface OutlinedTextFieldProps extends BaseTextFieldProps, TextFieldSlo
283
283
  * It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
284
284
  * [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
285
285
  * component depending on the `variant` prop value.
286
- * @deprecated Use `slotProps.input` 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.
286
+ * @deprecated Use `slotProps.input` 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.
287
287
  */
288
288
  InputProps?: Partial<OutlinedInputProps>;
289
289
  }
@@ -303,7 +303,7 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes /* remove-proptypes
303
303
  error: PropTypes.bool,
304
304
  /**
305
305
  * Props applied to the [`FormHelperText`](https://mui.com/material-ui/api/form-helper-text/) element.
306
- * @deprecated Use `slotProps.formHelperText` 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.
306
+ * @deprecated Use `slotProps.formHelperText` 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.
307
307
  */
308
308
  FormHelperTextProps: PropTypes.object,
309
309
  /**
@@ -323,12 +323,12 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes /* remove-proptypes
323
323
  /**
324
324
  * Props applied to the [`InputLabel`](https://mui.com/material-ui/api/input-label/) element.
325
325
  * Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
326
- * @deprecated Use `slotProps.inputLabel` 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.
326
+ * @deprecated Use `slotProps.inputLabel` 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.
327
327
  */
328
328
  InputLabelProps: PropTypes.object,
329
329
  /**
330
330
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
331
- * @deprecated Use `slotProps.htmlInput` 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 `slotProps.htmlInput` 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
  */
333
333
  inputProps: PropTypes.object,
334
334
  /**
@@ -336,7 +336,7 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes /* remove-proptypes
336
336
  * It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
337
337
  * [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
338
338
  * component depending on the `variant` prop value.
339
- * @deprecated Use `slotProps.input` 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.
339
+ * @deprecated Use `slotProps.input` 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.
340
340
  */
341
341
  InputProps: PropTypes.object,
342
342
  /**
@@ -405,7 +405,7 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes /* remove-proptypes
405
405
  select: PropTypes.bool,
406
406
  /**
407
407
  * Props applied to the [`Select`](https://mui.com/material-ui/api/select/) element.
408
- * @deprecated Use `slotProps.select` 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.
408
+ * @deprecated Use `slotProps.select` 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.
409
409
  */
410
410
  SelectProps: PropTypes.object,
411
411
  /**
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { MUIStyledCommonProps, SxProps } from '@mui/system';
3
- import { PopperProps } from '@mui/material/Popper';
3
+ import { PopperProps } from "../Popper/index.js";
4
4
  import { InternalStandardProps as StandardProps, Theme } from "../index.js";
5
5
  import { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
6
6
  import { TransitionProps } from "../transitions/transition.js";
@@ -70,7 +70,7 @@ export interface TooltipProps extends StandardProps<React.HTMLAttributes<HTMLDiv
70
70
  /**
71
71
  * The components used for each slot inside.
72
72
  *
73
- * @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.
73
+ * @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.
74
74
  *
75
75
  * @default {}
76
76
  */
@@ -84,7 +84,7 @@ export interface TooltipProps extends StandardProps<React.HTMLAttributes<HTMLDiv
84
84
  * The extra props for the slot components.
85
85
  * You can override the existing props or add new ones.
86
86
  *
87
- * @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.
87
+ * @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.
88
88
  *
89
89
  * @default {}
90
90
  */
@@ -181,12 +181,12 @@ export interface TooltipProps extends StandardProps<React.HTMLAttributes<HTMLDiv
181
181
  placement?: PopperProps['placement'];
182
182
  /**
183
183
  * The component used for the popper.
184
- * @deprecated use the `slots.popper` 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.
184
+ * @deprecated use the `slots.popper` 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.
185
185
  */
186
186
  PopperComponent?: React.JSXElementConstructor<PopperProps>;
187
187
  /**
188
188
  * Props applied to the [`Popper`](https://mui.com/material-ui/api/popper/) element.
189
- * @deprecated use the `slotProps.popper` 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.
189
+ * @deprecated use the `slotProps.popper` 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.
190
190
  * @default {}
191
191
  */
192
192
  PopperProps?: Partial<PopperProps>;
@@ -201,7 +201,7 @@ export interface TooltipProps extends StandardProps<React.HTMLAttributes<HTMLDiv
201
201
  /**
202
202
  * The component used for the transition.
203
203
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
204
- * @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.
204
+ * @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.
205
205
  */
206
206
  TransitionComponent?: React.JSXElementConstructor<TransitionProps & {
207
207
  children: React.ReactElement<unknown, any>;
@@ -209,7 +209,7 @@ export interface TooltipProps extends StandardProps<React.HTMLAttributes<HTMLDiv
209
209
  /**
210
210
  * Props applied to the transition element.
211
211
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
212
- * @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.
212
+ * @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.
213
213
  * @default {}
214
214
  */
215
215
  TransitionProps?: TransitionProps;
@@ -733,7 +733,7 @@ process.env.NODE_ENV !== "production" ? Tooltip.propTypes /* remove-proptypes */
733
733
  /**
734
734
  * The components used for each slot inside.
735
735
  *
736
- * @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.
736
+ * @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.
737
737
  *
738
738
  * @default {}
739
739
  */
@@ -747,7 +747,7 @@ process.env.NODE_ENV !== "production" ? Tooltip.propTypes /* remove-proptypes */
747
747
  * The extra props for the slot components.
748
748
  * You can override the existing props or add new ones.
749
749
  *
750
- * @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.
750
+ * @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.
751
751
  *
752
752
  * @default {}
753
753
  */
@@ -844,12 +844,12 @@ process.env.NODE_ENV !== "production" ? Tooltip.propTypes /* remove-proptypes */
844
844
  placement: PropTypes.oneOf(['auto-end', 'auto-start', 'auto', 'bottom-end', 'bottom-start', 'bottom', 'left-end', 'left-start', 'left', 'right-end', 'right-start', 'right', 'top-end', 'top-start', 'top']),
845
845
  /**
846
846
  * The component used for the popper.
847
- * @deprecated use the `slots.popper` 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.
847
+ * @deprecated use the `slots.popper` 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.
848
848
  */
849
849
  PopperComponent: PropTypes.elementType,
850
850
  /**
851
851
  * Props applied to the [`Popper`](https://mui.com/material-ui/api/popper/) element.
852
- * @deprecated use the `slotProps.popper` 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.
852
+ * @deprecated use the `slotProps.popper` 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.
853
853
  * @default {}
854
854
  */
855
855
  PopperProps: PropTypes.object,
@@ -884,13 +884,13 @@ process.env.NODE_ENV !== "production" ? Tooltip.propTypes /* remove-proptypes */
884
884
  /**
885
885
  * The component used for the transition.
886
886
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
887
- * @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.
887
+ * @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.
888
888
  */
889
889
  TransitionComponent: PropTypes.elementType,
890
890
  /**
891
891
  * Props applied to the transition element.
892
892
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
893
- * @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.
893
+ * @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.
894
894
  * @default {}
895
895
  */
896
896
  TransitionProps: PropTypes.object
@@ -43,7 +43,7 @@ export interface TypographyOwnProps extends Omit<SystemProps<Theme>, 'color'> {
43
43
  /**
44
44
  * If `true`, the element will be a paragraph element.
45
45
  * @default false
46
- * @deprecated Use the `component` 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.
46
+ * @deprecated Use the `component` 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.
47
47
  */
48
48
  paragraph?: boolean;
49
49
  /**
@@ -228,7 +228,7 @@ process.env.NODE_ENV !== "production" ? Typography.propTypes /* remove-proptypes
228
228
  /**
229
229
  * If `true`, the element will be a paragraph element.
230
230
  * @default false
231
- * @deprecated Use the `component` 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.
231
+ * @deprecated Use the `component` 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.
232
232
  */
233
233
  paragraph: PropTypes.bool,
234
234
  /**
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v7.0.0
2
+ * @mui/material v7.0.1
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -70,12 +70,12 @@ export interface SwitchBaseProps extends StandardProps<ButtonBaseProps, 'childre
70
70
  id?: string;
71
71
  /**
72
72
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
73
- * @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.
73
+ * @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.
74
74
  */
75
75
  inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
76
76
  /**
77
77
  * Pass a ref to the `input` element.
78
- * @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.
78
+ * @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.
79
79
  */
80
80
  inputRef?: React.Ref<any>;
81
81
  /**
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import * as CSS from 'csstype';
2
+ import { CSSProperties } from "./createMixins.js";
3
3
  import { Palette } from "./createPalette.js";
4
4
  export type TypographyVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'subtitle1' | 'subtitle2' | 'body1' | 'body2' | 'caption' | 'button' | 'overline';
5
5
  export interface FontStyle {
@@ -11,28 +11,6 @@ export interface FontStyle {
11
11
  fontWeightBold: React.CSSProperties['fontWeight'];
12
12
  htmlFontSize: number;
13
13
  }
14
- export type NormalCssProperties = CSS.Properties<number | string>;
15
- export type Fontface = CSS.AtRule.FontFace & {
16
- fallbacks?: CSS.AtRule.FontFace[];
17
- };
18
-
19
- /**
20
- * Allows the user to augment the properties available
21
- */
22
- export interface BaseCSSProperties extends NormalCssProperties {
23
- '@font-face'?: Fontface | Fontface[];
24
- }
25
- export interface CSSProperties extends BaseCSSProperties {
26
- // Allow pseudo selectors and media queries
27
- // `unknown` is used since TS does not allow assigning an interface without
28
- // an index signature to one with an index signature. This is to allow type safe
29
- // module augmentation.
30
- // Technically we want any key not typed in `BaseCSSProperties` to be of type
31
- // `CSSProperties` but this doesn't work. The index signature needs to cover
32
- // BaseCSSProperties as well. Usually you would use `BaseCSSProperties[keyof BaseCSSProperties]`
33
- // but this would not allow assigning React.CSSProperties to CSSProperties
34
- [k: string]: unknown | CSSProperties;
35
- }
36
14
  export interface FontStyleOptions extends Partial<FontStyle> {
37
15
  allVariants?: React.CSSProperties;
38
16
  }
@@ -1,4 +1,4 @@
1
- import { CSSProperties } from "./createTypography.js";
1
+ import { CSSProperties } from "./createMixins.js";
2
2
  export function isUnitless(value: string): boolean;
3
3
  export function getUnit(input: string): string;
4
4
  export function toUnitless(value: string): number;
@@ -9,7 +9,7 @@ export { default as createStyles } from "./createStyles.js";
9
9
  export { TypographyVariants, TypographyVariantsOptions, TypographyStyle, TypographyVariant } from "./createTypography.js";
10
10
  export { default as responsiveFontSizes } from "./responsiveFontSizes.js";
11
11
  export { Duration, Easing, Transitions, TransitionsOptions, duration, easing } from "./createTransitions.js";
12
- export { Mixins } from "./createMixins.js";
12
+ export { Mixins, CSSProperties, MixinsOptions } from "./createMixins.js";
13
13
  export { Direction, Breakpoint, BreakpointOverrides, Breakpoints, BreakpointsOptions, CreateMUIStyled, Interpolation, CSSInterpolation, CSSObject, css, keyframes,
14
14
  // color manipulators
15
15
  hexToRgb, rgbToHex, hslToRgb, decomposeColor, recomposeColor, getContrastRatio, getLuminance, emphasize, alpha, darken, lighten, ColorFormat, ColorObject, StyledEngineProvider, SxProps } from '@mui/system';
@@ -21,7 +21,7 @@ export { default as useTheme } from "./useTheme.js";
21
21
  export { default as useThemeProps } from "./useThemeProps.js";
22
22
  export * from "./useThemeProps.js";
23
23
  export { default as styled } from "./styled.js";
24
- export { default as ThemeProvider } from "./ThemeProvider.js";
24
+ export { default as ThemeProvider, ThemeProviderProps } from "./ThemeProvider.js";
25
25
  export { ComponentsProps, ComponentsPropsList } from "./props.js";
26
26
  export { ComponentsVariants } from "./variants.js";
27
27
  export { ComponentsOverrides, ComponentNameToClassKey } from "./overrides.js";