@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
@@ -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
  /**
@@ -88,7 +88,7 @@ export type AccordionTypeMap<AdditionalProps = {}, RootComponent extends React.E
88
88
  /**
89
89
  * The component used for the transition.
90
90
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
91
- * @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.
91
+ * @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.
92
92
  */
93
93
  TransitionComponent?: React.JSXElementConstructor<TransitionProps & {
94
94
  children?: React.ReactElement<unknown, any>;
@@ -96,7 +96,7 @@ export type AccordionTypeMap<AdditionalProps = {}, RootComponent extends React.E
96
96
  /**
97
97
  * Props applied to the transition element.
98
98
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
99
- * @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.
99
+ * @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.
100
100
  */
101
101
  TransitionProps?: TransitionProps;
102
102
  } & AccordionSlotsAndSlotProps;
@@ -315,13 +315,13 @@ process.env.NODE_ENV !== "production" ? Accordion.propTypes /* remove-proptypes
315
315
  /**
316
316
  * The component used for the transition.
317
317
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
318
- * @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.
318
+ * @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.
319
319
  */
320
320
  TransitionComponent: PropTypes.elementType,
321
321
  /**
322
322
  * Props applied to the transition element.
323
323
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
324
- * @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.
324
+ * @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.
325
325
  */
326
326
  TransitionProps: PropTypes.object
327
327
  } : void 0;
@@ -103,7 +103,7 @@ export interface AlertProps extends StandardProps<PaperProps, 'variant'>, AlertS
103
103
  /**
104
104
  * The components used for each slot inside.
105
105
  *
106
- * @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.
106
+ * @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.
107
107
  *
108
108
  * @default {}
109
109
  */
@@ -115,7 +115,7 @@ export interface AlertProps extends StandardProps<PaperProps, 'variant'>, AlertS
115
115
  * The extra props for the slot components.
116
116
  * You can override the existing props or add new ones.
117
117
  *
118
- * @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.
118
+ * @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.
119
119
  *
120
120
  * @default {}
121
121
  */
@@ -295,7 +295,7 @@ process.env.NODE_ENV !== "production" ? Alert.propTypes /* remove-proptypes */ =
295
295
  /**
296
296
  * The components used for each slot inside.
297
297
  *
298
- * @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.
298
+ * @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.
299
299
  *
300
300
  * @default {}
301
301
  */
@@ -307,7 +307,7 @@ process.env.NODE_ENV !== "production" ? Alert.propTypes /* remove-proptypes */ =
307
307
  * The extra props for the slot components.
308
308
  * You can override the existing props or add new ones.
309
309
  *
310
- * @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.
310
+ * @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.
311
311
  *
312
312
  * @default {}
313
313
  */
@@ -2,9 +2,9 @@ import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
3
  import { OverridableStringUnion } from '@mui/types';
4
4
  import { IconButtonProps, InternalStandardProps as StandardProps, Theme } from '@mui/material';
5
- import { ChipProps, ChipTypeMap } from '@mui/material/Chip';
6
- import { PaperProps } from '@mui/material/Paper';
7
- import { PopperProps } from '@mui/material/Popper';
5
+ import { ChipProps, ChipTypeMap } from "../Chip/index.js";
6
+ import { PaperProps } from "../Paper/index.js";
7
+ import { PopperProps } from "../Popper/index.js";
8
8
  import useAutocomplete, { AutocompleteChangeDetails, AutocompleteChangeReason, AutocompleteCloseReason, AutocompleteInputChangeReason, AutocompleteValue, createFilterOptions, UseAutocompleteProps, AutocompleteFreeSoloValueMapping } from "../useAutocomplete/index.js";
9
9
  import { AutocompleteClasses } from "./autocompleteClasses.js";
10
10
  import { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
@@ -95,7 +95,7 @@ export type AutocompleteSlotsAndSlotProps<Value, Multiple extends boolean | unde
95
95
  export interface AutocompleteProps<Value, Multiple extends boolean | undefined, DisableClearable extends boolean | undefined, FreeSolo extends boolean | undefined, ChipComponent extends React.ElementType = ChipTypeMap['defaultComponent']> extends UseAutocompleteProps<Value, Multiple, DisableClearable, FreeSolo>, StandardProps<React.HTMLAttributes<HTMLDivElement>, 'defaultValue' | 'onChange' | 'children'>, AutocompleteSlotsAndSlotProps<Value, Multiple, DisableClearable, FreeSolo, ChipComponent> {
96
96
  /**
97
97
  * Props applied to the [`Chip`](https://mui.com/material-ui/api/chip/) element.
98
- * @deprecated Use `slotProps.chip` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
98
+ * @deprecated Use `slotProps.chip` 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.
99
99
  */
100
100
  ChipProps?: ChipProps<ChipComponent>;
101
101
  /**
@@ -123,7 +123,7 @@ export interface AutocompleteProps<Value, Multiple extends boolean | undefined,
123
123
  closeText?: string;
124
124
  /**
125
125
  * The props used for each slot inside.
126
- * @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.
126
+ * @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.
127
127
  */
128
128
  componentsProps?: {
129
129
  clearIndicator?: Partial<IconButtonProps>;
@@ -162,12 +162,12 @@ export interface AutocompleteProps<Value, Multiple extends boolean | undefined,
162
162
  /**
163
163
  * The component used to render the listbox.
164
164
  * @default 'ul'
165
- * @deprecated Use `slotProps.listbox.component` 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.listbox.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.
166
166
  */
167
167
  ListboxComponent?: React.JSXElementConstructor<React.HTMLAttributes<HTMLElement>>;
168
168
  /**
169
169
  * Props applied to the Listbox element.
170
- * @deprecated Use `slotProps.listbox` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
170
+ * @deprecated Use `slotProps.listbox` 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.
171
171
  */
172
172
  ListboxProps?: ReturnType<ReturnType<typeof useAutocomplete>['getListboxProps']> & {
173
173
  sx?: SxProps<Theme>;
@@ -212,13 +212,13 @@ export interface AutocompleteProps<Value, Multiple extends boolean | undefined,
212
212
  /**
213
213
  * The component used to render the body of the popup.
214
214
  * @default Paper
215
- * @deprecated Use `slots.paper` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
215
+ * @deprecated Use `slots.paper` 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.
216
216
  */
217
217
  PaperComponent?: React.JSXElementConstructor<React.HTMLAttributes<HTMLElement>>;
218
218
  /**
219
219
  * The component used to position the popup.
220
220
  * @default Popper
221
- * @deprecated Use `slots.popper` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
221
+ * @deprecated Use `slots.popper` 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.
222
222
  */
223
223
  PopperComponent?: React.JSXElementConstructor<PopperProps>;
224
224
  /**
@@ -779,7 +779,7 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes /* remove-proptyp
779
779
  blurOnSelect: PropTypes.oneOfType([PropTypes.oneOf(['mouse', 'touch']), PropTypes.bool]),
780
780
  /**
781
781
  * Props applied to the [`Chip`](https://mui.com/material-ui/api/chip/) element.
782
- * @deprecated Use `slotProps.chip` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
782
+ * @deprecated Use `slotProps.chip` 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.
783
783
  */
784
784
  ChipProps: PropTypes.object,
785
785
  /**
@@ -824,7 +824,7 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes /* remove-proptyp
824
824
  closeText: PropTypes.string,
825
825
  /**
826
826
  * The props used for each slot inside.
827
- * @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.
827
+ * @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.
828
828
  */
829
829
  componentsProps: PropTypes.shape({
830
830
  clearIndicator: PropTypes.object,
@@ -982,12 +982,12 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes /* remove-proptyp
982
982
  /**
983
983
  * The component used to render the listbox.
984
984
  * @default 'ul'
985
- * @deprecated Use `slotProps.listbox.component` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
985
+ * @deprecated Use `slotProps.listbox.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.
986
986
  */
987
987
  ListboxComponent: PropTypes.elementType,
988
988
  /**
989
989
  * Props applied to the Listbox element.
990
- * @deprecated Use `slotProps.listbox` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
990
+ * @deprecated Use `slotProps.listbox` 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.
991
991
  */
992
992
  ListboxProps: PropTypes.object,
993
993
  /**
@@ -1082,13 +1082,13 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes /* remove-proptyp
1082
1082
  /**
1083
1083
  * The component used to render the body of the popup.
1084
1084
  * @default Paper
1085
- * @deprecated Use `slots.paper` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
1085
+ * @deprecated Use `slots.paper` 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.
1086
1086
  */
1087
1087
  PaperComponent: PropTypes.elementType,
1088
1088
  /**
1089
1089
  * The component used to position the popup.
1090
1090
  * @default Popper
1091
- * @deprecated Use `slots.popper` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
1091
+ * @deprecated Use `slots.popper` 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.
1092
1092
  */
1093
1093
  PopperComponent: PropTypes.elementType,
1094
1094
  /**
@@ -35,7 +35,7 @@ export interface AvatarOwnProps {
35
35
  /**
36
36
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attributes) applied to the `img` element if the component is used to display an image.
37
37
  * It can be used to listen for the loading error event.
38
- * @deprecated Use `slotProps.img` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
38
+ * @deprecated Use `slotProps.img` 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.
39
39
  */
40
40
  imgProps?: React.ImgHTMLAttributes<HTMLImageElement> & {
41
41
  sx?: SxProps<Theme>;
@@ -256,7 +256,7 @@ process.env.NODE_ENV !== "production" ? Avatar.propTypes /* remove-proptypes */
256
256
  /**
257
257
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attributes) applied to the `img` element if the component is used to display an image.
258
258
  * It can be used to listen for the loading error event.
259
- * @deprecated Use `slotProps.img` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
259
+ * @deprecated Use `slotProps.img` 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.
260
260
  */
261
261
  imgProps: PropTypes.object,
262
262
  /**
@@ -12,7 +12,7 @@ export interface AvatarGroupSlots {
12
12
  }
13
13
  export type AvatarGroupSlotsAndSlotProps = CreateSlotsAndSlotProps<AvatarGroupSlots, {
14
14
  /**
15
- * @deprecated use `slotProps.surplus` 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.
15
+ * @deprecated use `slotProps.surplus` 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.
16
16
  * */
17
17
  additionalAvatar: React.ComponentPropsWithRef<typeof Avatar> & AvatarGroupComponentsPropsOverrides;
18
18
  surplus: SlotProps<React.ElementType<React.ComponentPropsWithRef<typeof Avatar>>, AvatarGroupComponentsPropsOverrides, AvatarGroupOwnerState>;
@@ -37,7 +37,7 @@ export interface AvatarGroupOwnProps extends AvatarGroupSlotsAndSlotProps {
37
37
  *
38
38
  * This prop is an alias for the `slotProps` prop.
39
39
  *
40
- * @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.
40
+ * @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.
41
41
  */
42
42
  componentsProps?: {
43
43
  additionalAvatar?: React.ComponentPropsWithRef<typeof Avatar> & AvatarGroupComponentsPropsOverrides;
@@ -160,7 +160,7 @@ process.env.NODE_ENV !== "production" ? AvatarGroup.propTypes /* remove-proptype
160
160
  *
161
161
  * This prop is an alias for the `slotProps` prop.
162
162
  *
163
- * @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.
163
+ * @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.
164
164
  */
165
165
  componentsProps: PropTypes.shape({
166
166
  additionalAvatar: PropTypes.object
@@ -41,7 +41,7 @@ export interface BackdropOwnProps extends Partial<Omit<FadeProps, 'children'>>,
41
41
  /**
42
42
  * The components used for each slot inside.
43
43
  *
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
  * @default {}
47
47
  */
@@ -52,7 +52,7 @@ export interface BackdropOwnProps extends Partial<Omit<FadeProps, 'children'>>,
52
52
  * The extra props for the slot components.
53
53
  * You can override the existing props or add new ones.
54
54
  *
55
- * @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.
55
+ * @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.
56
56
  *
57
57
  * @default {}
58
58
  */
@@ -86,7 +86,7 @@ export interface BackdropOwnProps extends Partial<Omit<FadeProps, 'children'>>,
86
86
  * The component used for the transition.
87
87
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
88
88
  * @default Fade
89
- * @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.
89
+ * @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.
90
90
  */
91
91
  TransitionComponent?: React.JSXElementConstructor<TransitionProps & {
92
92
  children: React.ReactElement<unknown, any>;
@@ -137,7 +137,7 @@ process.env.NODE_ENV !== "production" ? Backdrop.propTypes /* remove-proptypes *
137
137
  /**
138
138
  * The components used for each slot inside.
139
139
  *
140
- * @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.
140
+ * @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.
141
141
  *
142
142
  * @default {}
143
143
  */
@@ -148,7 +148,7 @@ process.env.NODE_ENV !== "production" ? Backdrop.propTypes /* remove-proptypes *
148
148
  * The extra props for the slot components.
149
149
  * You can override the existing props or add new ones.
150
150
  *
151
- * @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.
151
+ * @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.
152
152
  *
153
153
  * @default {}
154
154
  */
@@ -189,7 +189,7 @@ process.env.NODE_ENV !== "production" ? Backdrop.propTypes /* remove-proptypes *
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
191
  * @default Fade
192
- * @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.
192
+ * @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.
193
193
  */
194
194
  TransitionComponent: PropTypes.elementType,
195
195
  /**
@@ -60,7 +60,7 @@ export interface BadgeOwnProps {
60
60
  * The extra props for the slot components.
61
61
  * You can override the existing props or add new ones.
62
62
  *
63
- * @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.
63
+ * @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.
64
64
  *
65
65
  * @default {}
66
66
  */
@@ -68,7 +68,7 @@ export interface BadgeOwnProps {
68
68
  /**
69
69
  * The components used for each slot inside.
70
70
  *
71
- * @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.
71
+ * @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.
72
72
  *
73
73
  * @default {}
74
74
  */
@@ -358,7 +358,7 @@ process.env.NODE_ENV !== "production" ? Badge.propTypes /* remove-proptypes */ =
358
358
  /**
359
359
  * The components used for each slot inside.
360
360
  *
361
- * @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.
361
+ * @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.
362
362
  *
363
363
  * @default {}
364
364
  */
@@ -370,7 +370,7 @@ process.env.NODE_ENV !== "production" ? Badge.propTypes /* remove-proptypes */ =
370
370
  * The extra props for the slot components.
371
371
  * You can override the existing props or add new ones.
372
372
  *
373
- * @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.
373
+ * @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.
374
374
  *
375
375
  * @default {}
376
376
  */
@@ -6,7 +6,7 @@ import clsx from 'clsx';
6
6
  import resolveProps from '@mui/utils/resolveProps';
7
7
  import composeClasses from '@mui/utils/composeClasses';
8
8
  import { alpha } from '@mui/system/colorManipulator';
9
- import { unstable_useId as useId } from '@mui/material/utils';
9
+ import { unstable_useId as useId } from "../utils/index.js";
10
10
  import rootShouldForwardProp from "../styles/rootShouldForwardProp.js";
11
11
  import { styled } from "../zero-styled/index.js";
12
12
  import memoTheme from "../utils/memoTheme.js";
@@ -105,7 +105,7 @@ export interface CardHeaderOwnProps<TitleTypographyComponent extends React.Eleme
105
105
  /**
106
106
  * These props will be forwarded to the subheader
107
107
  * (as long as disableTypography is not `true`).
108
- * @deprecated Use `slotProps.subheader` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
108
+ * @deprecated Use `slotProps.subheader` 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.
109
109
  */
110
110
  subheaderTypographyProps?: TypographyProps<SubheaderTypographyComponent, {
111
111
  component?: SubheaderTypographyComponent;
@@ -121,7 +121,7 @@ export interface CardHeaderOwnProps<TitleTypographyComponent extends React.Eleme
121
121
  /**
122
122
  * These props will be forwarded to the title
123
123
  * (as long as disableTypography is not `true`).
124
- * @deprecated Use `slotProps.title` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
124
+ * @deprecated Use `slotProps.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.
125
125
  */
126
126
  titleTypographyProps?: TypographyProps<TitleTypographyComponent, {
127
127
  component?: TitleTypographyComponent;
@@ -246,7 +246,7 @@ process.env.NODE_ENV !== "production" ? CardHeader.propTypes /* remove-proptypes
246
246
  /**
247
247
  * These props will be forwarded to the subheader
248
248
  * (as long as disableTypography is not `true`).
249
- * @deprecated Use `slotProps.subheader` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
249
+ * @deprecated Use `slotProps.subheader` 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.
250
250
  */
251
251
  subheaderTypographyProps: PropTypes.object,
252
252
  /**
@@ -260,7 +260,7 @@ process.env.NODE_ENV !== "production" ? CardHeader.propTypes /* remove-proptypes
260
260
  /**
261
261
  * These props will be forwarded to the title
262
262
  * (as long as disableTypography is not `true`).
263
- * @deprecated Use `slotProps.title` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
263
+ * @deprecated Use `slotProps.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.
264
264
  */
265
265
  titleTypographyProps: PropTypes.object
266
266
  } : void 0;
@@ -230,7 +230,7 @@ process.env.NODE_ENV !== "production" ? Checkbox.propTypes /* remove-proptypes *
230
230
  indeterminateIcon: PropTypes.node,
231
231
  /**
232
232
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
233
- * @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.
233
+ * @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.
234
234
  */
235
235
  inputProps: PropTypes.object,
236
236
  /**
@@ -130,7 +130,7 @@ export interface DialogProps extends Omit<StandardProps<ModalProps, 'children'>,
130
130
  /**
131
131
  * Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
132
132
  * @default {}
133
- * @deprecated Use `slotProps.paper` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
133
+ * @deprecated Use `slotProps.paper` 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.
134
134
  */
135
135
  PaperProps?: Partial<PaperProps<React.ElementType>>;
136
136
  /**
@@ -146,7 +146,7 @@ export interface DialogProps extends Omit<StandardProps<ModalProps, 'children'>,
146
146
  * The component used for the transition.
147
147
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
148
148
  * @default Fade
149
- * @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.
149
+ * @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.
150
150
  */
151
151
  TransitionComponent?: React.JSXElementConstructor<TransitionProps & {
152
152
  children: React.ReactElement<unknown, any>;
@@ -163,7 +163,7 @@ export interface DialogProps extends Omit<StandardProps<ModalProps, 'children'>,
163
163
  /**
164
164
  * Props applied to the transition element.
165
165
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
166
- * @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.
166
+ * @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.
167
167
  */
168
168
  TransitionProps?: TransitionProps;
169
169
  }
@@ -449,7 +449,7 @@ process.env.NODE_ENV !== "production" ? Dialog.propTypes /* remove-proptypes */
449
449
  /**
450
450
  * Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
451
451
  * @default {}
452
- * @deprecated Use `slotProps.paper` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
452
+ * @deprecated Use `slotProps.paper` 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.
453
453
  */
454
454
  PaperProps: PropTypes.object,
455
455
  /**
@@ -487,7 +487,7 @@ process.env.NODE_ENV !== "production" ? Dialog.propTypes /* remove-proptypes */
487
487
  * The component used for the transition.
488
488
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
489
489
  * @default Fade
490
- * @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.
490
+ * @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.
491
491
  */
492
492
  TransitionComponent: PropTypes.elementType,
493
493
  /**
@@ -506,7 +506,7 @@ process.env.NODE_ENV !== "production" ? Dialog.propTypes /* remove-proptypes */
506
506
  /**
507
507
  * Props applied to the transition element.
508
508
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
509
- * @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.
509
+ * @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.
510
510
  */
511
511
  TransitionProps: PropTypes.object
512
512
  } : void 0;
@@ -107,13 +107,13 @@ export interface DrawerProps extends StandardProps<ModalProps, 'open' | 'childre
107
107
  open?: boolean;
108
108
  /**
109
109
  * Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
110
- * @deprecated use the `slotProps.paper` 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.
110
+ * @deprecated use the `slotProps.paper` 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.
111
111
  * @default {}
112
112
  */
113
113
  PaperProps?: Partial<PaperProps<React.ElementType>>;
114
114
  /**
115
115
  * Props applied to the [`Slide`](https://mui.com/material-ui/api/slide/) element.
116
- * @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.
116
+ * @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.
117
117
  */
118
118
  SlideProps?: Partial<SlideProps>;
119
119
  /**
@@ -377,13 +377,13 @@ process.env.NODE_ENV !== "production" ? Drawer.propTypes /* remove-proptypes */
377
377
  open: PropTypes.bool,
378
378
  /**
379
379
  * Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
380
- * @deprecated use the `slotProps.paper` 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.
380
+ * @deprecated use the `slotProps.paper` 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.
381
381
  * @default {}
382
382
  */
383
383
  PaperProps: PropTypes.object,
384
384
  /**
385
385
  * Props applied to the [`Slide`](https://mui.com/material-ui/api/slide/) element.
386
- * @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.
386
+ * @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.
387
387
  */
388
388
  SlideProps: PropTypes.object,
389
389
  /**
package/modern/Fab/Fab.js CHANGED
@@ -58,7 +58,7 @@ const FabRoot = styled(ButtonBase, {
58
58
  '&:active': {
59
59
  boxShadow: (theme.vars || theme).shadows[12]
60
60
  },
61
- color: theme.vars ? theme.vars.palette.text.primary : theme.palette.getContrastText?.(theme.palette.grey[300]),
61
+ color: theme.vars ? theme.vars.palette.grey[900] : theme.palette.getContrastText?.(theme.palette.grey[300]),
62
62
  backgroundColor: (theme.vars || theme).palette.grey[300],
63
63
  '&:hover': {
64
64
  backgroundColor: (theme.vars || theme).palette.grey.A100,
@@ -349,7 +349,7 @@ process.env.NODE_ENV !== "production" ? FilledInput.propTypes /* remove-proptype
349
349
  /**
350
350
  * The components used for each slot inside.
351
351
  *
352
- * @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.
352
+ * @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.
353
353
  *
354
354
  * @default {}
355
355
  */
@@ -361,7 +361,7 @@ process.env.NODE_ENV !== "production" ? FilledInput.propTypes /* remove-proptype
361
361
  * The extra props for the slot components.
362
362
  * You can override the existing props or add new ones.
363
363
  *
364
- * @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.
364
+ * @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.
365
365
  *
366
366
  * @default {}
367
367
  */
@@ -27,7 +27,7 @@ export interface FormControlLabelProps extends StandardProps<React.LabelHTMLAttr
27
27
  /**
28
28
  * The props used for each slot inside.
29
29
  * @default {}
30
- * @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.
30
+ * @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.
31
31
  */
32
32
  componentsProps?: {
33
33
  /**
@@ -212,7 +212,7 @@ process.env.NODE_ENV !== "production" ? FormControlLabel.propTypes /* remove-pro
212
212
  /**
213
213
  * The props used for each slot inside.
214
214
  * @default {}
215
- * @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.
215
+ * @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.
216
216
  */
217
217
  componentsProps: PropTypes.shape({
218
218
  typography: PropTypes.object
@@ -5,8 +5,8 @@ import PropTypes from 'prop-types';
5
5
  import clsx from 'clsx';
6
6
  import chainPropTypes from '@mui/utils/chainPropTypes';
7
7
  import composeClasses from '@mui/utils/composeClasses';
8
- import { unstable_useId as useId } from '@mui/material/utils';
9
8
  import { alpha } from '@mui/system/colorManipulator';
9
+ import { unstable_useId as useId } from "../utils/index.js";
10
10
  import { styled } from "../zero-styled/index.js";
11
11
  import memoTheme from "../utils/memoTheme.js";
12
12
  import createSimplePaletteValueFilter from "../utils/createSimplePaletteValueFilter.js";
@@ -201,7 +201,7 @@ process.env.NODE_ENV !== "production" ? Input.propTypes /* remove-proptypes */ =
201
201
  /**
202
202
  * The components used for each slot inside.
203
203
  *
204
- * @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.
204
+ * @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.
205
205
  *
206
206
  * @default {}
207
207
  */
@@ -213,7 +213,7 @@ process.env.NODE_ENV !== "production" ? Input.propTypes /* remove-proptypes */ =
213
213
  * The extra props for the slot components.
214
214
  * You can override the existing props or add new ones.
215
215
  *
216
- * @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.
216
+ * @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.
217
217
  *
218
218
  * @default {}
219
219
  */
@@ -39,7 +39,7 @@ export interface InputBaseProps extends StandardProps<React.HTMLAttributes<HTMLD
39
39
  /**
40
40
  * The components used for each slot inside.
41
41
  *
42
- * @deprecated use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
42
+ * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
43
43
  *
44
44
  * @default {}
45
45
  */
@@ -51,7 +51,7 @@ export interface InputBaseProps extends StandardProps<React.HTMLAttributes<HTMLD
51
51
  * The extra props for the slot components.
52
52
  * You can override the existing props or add new ones.
53
53
  *
54
- * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
54
+ * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
55
55
  *
56
56
  * @default {}
57
57
  */