@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
@@ -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;
@@ -322,13 +322,13 @@ process.env.NODE_ENV !== "production" ? Accordion.propTypes /* remove-proptypes
322
322
  /**
323
323
  * The component used for the transition.
324
324
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
325
- * @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.
325
+ * @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.
326
326
  */
327
327
  TransitionComponent: _propTypes.default.elementType,
328
328
  /**
329
329
  * Props applied to the transition element.
330
330
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
331
- * @deprecated Use `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.
331
+ * @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.
332
332
  */
333
333
  TransitionProps: _propTypes.default.object
334
334
  } : void 0;
package/Alert/Alert.d.ts CHANGED
@@ -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
  */
package/Alert/Alert.js CHANGED
@@ -302,7 +302,7 @@ process.env.NODE_ENV !== "production" ? Alert.propTypes /* remove-proptypes */ =
302
302
  /**
303
303
  * The components used for each slot inside.
304
304
  *
305
- * @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.
305
+ * @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.
306
306
  *
307
307
  * @default {}
308
308
  */
@@ -314,7 +314,7 @@ process.env.NODE_ENV !== "production" ? Alert.propTypes /* remove-proptypes */ =
314
314
  * The extra props for the slot components.
315
315
  * You can override the existing props or add new ones.
316
316
  *
317
- * @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.
317
+ * @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.
318
318
  *
319
319
  * @default {}
320
320
  */
@@ -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
  /**
@@ -791,7 +791,7 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes /* remove-proptyp
791
791
  blurOnSelect: _propTypes.default.oneOfType([_propTypes.default.oneOf(['mouse', 'touch']), _propTypes.default.bool]),
792
792
  /**
793
793
  * Props applied to the [`Chip`](https://mui.com/material-ui/api/chip/) element.
794
- * @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.
794
+ * @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.
795
795
  */
796
796
  ChipProps: _propTypes.default.object,
797
797
  /**
@@ -836,7 +836,7 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes /* remove-proptyp
836
836
  closeText: _propTypes.default.string,
837
837
  /**
838
838
  * The props used for each slot inside.
839
- * @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.
839
+ * @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.
840
840
  */
841
841
  componentsProps: _propTypes.default.shape({
842
842
  clearIndicator: _propTypes.default.object,
@@ -994,12 +994,12 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes /* remove-proptyp
994
994
  /**
995
995
  * The component used to render the listbox.
996
996
  * @default 'ul'
997
- * @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.
997
+ * @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.
998
998
  */
999
999
  ListboxComponent: _propTypes.default.elementType,
1000
1000
  /**
1001
1001
  * Props applied to the Listbox element.
1002
- * @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.
1002
+ * @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.
1003
1003
  */
1004
1004
  ListboxProps: _propTypes.default.object,
1005
1005
  /**
@@ -1094,13 +1094,13 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes /* remove-proptyp
1094
1094
  /**
1095
1095
  * The component used to render the body of the popup.
1096
1096
  * @default Paper
1097
- * @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.
1097
+ * @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.
1098
1098
  */
1099
1099
  PaperComponent: _propTypes.default.elementType,
1100
1100
  /**
1101
1101
  * The component used to position the popup.
1102
1102
  * @default Popper
1103
- * @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.
1103
+ * @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.
1104
1104
  */
1105
1105
  PopperComponent: _propTypes.default.elementType,
1106
1106
  /**
@@ -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>;
package/Avatar/Avatar.js CHANGED
@@ -263,7 +263,7 @@ process.env.NODE_ENV !== "production" ? Avatar.propTypes /* remove-proptypes */
263
263
  /**
264
264
  * [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.
265
265
  * It can be used to listen for the loading error event.
266
- * @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.
266
+ * @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.
267
267
  */
268
268
  imgProps: _propTypes.default.object,
269
269
  /**
@@ -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;
@@ -167,7 +167,7 @@ process.env.NODE_ENV !== "production" ? AvatarGroup.propTypes /* remove-proptype
167
167
  *
168
168
  * This prop is an alias for the `slotProps` prop.
169
169
  *
170
- * @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.
170
+ * @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.
171
171
  */
172
172
  componentsProps: _propTypes.default.shape({
173
173
  additionalAvatar: _propTypes.default.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>;
@@ -144,7 +144,7 @@ process.env.NODE_ENV !== "production" ? Backdrop.propTypes /* remove-proptypes *
144
144
  /**
145
145
  * The components used for each slot inside.
146
146
  *
147
- * @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.
147
+ * @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.
148
148
  *
149
149
  * @default {}
150
150
  */
@@ -155,7 +155,7 @@ process.env.NODE_ENV !== "production" ? Backdrop.propTypes /* remove-proptypes *
155
155
  * The extra props for the slot components.
156
156
  * You can override the existing props or add new ones.
157
157
  *
158
- * @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.
158
+ * @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.
159
159
  *
160
160
  * @default {}
161
161
  */
@@ -196,7 +196,7 @@ process.env.NODE_ENV !== "production" ? Backdrop.propTypes /* remove-proptypes *
196
196
  * The component used for the transition.
197
197
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
198
198
  * @default Fade
199
- * @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.
199
+ * @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.
200
200
  */
201
201
  TransitionComponent: _propTypes.default.elementType,
202
202
  /**
package/Badge/Badge.d.ts CHANGED
@@ -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
  */
package/Badge/Badge.js CHANGED
@@ -365,7 +365,7 @@ process.env.NODE_ENV !== "production" ? Badge.propTypes /* remove-proptypes */ =
365
365
  /**
366
366
  * The components used for each slot inside.
367
367
  *
368
- * @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.
368
+ * @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.
369
369
  *
370
370
  * @default {}
371
371
  */
@@ -377,7 +377,7 @@ process.env.NODE_ENV !== "production" ? Badge.propTypes /* remove-proptypes */ =
377
377
  * The extra props for the slot components.
378
378
  * You can override the existing props or add new ones.
379
379
  *
380
- * @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.
380
+ * @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.
381
381
  *
382
382
  * @default {}
383
383
  */
package/Button/Button.js CHANGED
@@ -13,7 +13,7 @@ var _clsx = _interopRequireDefault(require("clsx"));
13
13
  var _resolveProps = _interopRequireDefault(require("@mui/utils/resolveProps"));
14
14
  var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
15
15
  var _colorManipulator = require("@mui/system/colorManipulator");
16
- var _utils = require("@mui/material/utils");
16
+ var _utils = require("../utils");
17
17
  var _rootShouldForwardProp = _interopRequireDefault(require("../styles/rootShouldForwardProp"));
18
18
  var _zeroStyled = require("../zero-styled");
19
19
  var _memoTheme = _interopRequireDefault(require("../utils/memoTheme"));
package/CHANGELOG.md CHANGED
@@ -1,5 +1,45 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 7.0.1
4
+
5
+ <!-- generated comparing v7.0.0..master -->
6
+
7
+ _Mar 28, 2025_
8
+
9
+ A big thanks to the 7 contributors who made this release possible.
10
+
11
+ ### `@mui/material@7.0.1`
12
+
13
+ - Export ThemeProviderProps (#45701) @aarongarciah
14
+ - [Fab] Fix default variant text color when using CSS vars (#45714) @aarongarciah
15
+ - Remove mention of v7 in deprecation messages (#45708) @DiegoAndai
16
+ - [Popover] Allow `null` in `anchorEl` function return type (#45045) @eduter
17
+ - Fix missing CSSProperties/MixinOptions types (#45706) @Janpot
18
+
19
+ ### `@mui/icons-material@7.0.1`
20
+
21
+ - [code-infra] Fix icon-material type resolution under `moduleResolution: "node"` (#45704) @Janpot
22
+ - Bring back individual icon dts (#45711) @Janpot
23
+
24
+ ### Core
25
+
26
+ - Improve the release instructions (#45688) @mnajdova
27
+
28
+ ### Docs
29
+
30
+ - Fix Masonry and Toolpad dark mode demos (#45721) @siriwatknp
31
+ - Update v7 related copy (#45716) @aarongarciah
32
+ - Avoid unwanted undefined in page title (#45718) @aarongarciah
33
+ - Fix joy templates error (#45715) @siriwatknp
34
+ - Rename GitHub icon import (#45709) @micttyoid
35
+ - Fix Safari issue in dark mode (#45696) @mnajdova
36
+ - Fix `Grid`, `GridLegacy`, `Stack`, `Badge`, `Select`, `Autocomplete` demos CSS variables (#45693) @DiegoAndai
37
+ - Add "Material UI v7 is here" to the notifications (#45694) @DiegoAndai
38
+ - Fix `Breadcrumbs`, `List`, `Divider`, and `Typography` dark mode demos (#45692) @siriwatknp
39
+ - Fix Material Icons page in dark mode (#45691) @mnajdova
40
+
41
+ All contributors of this release in alphabetical order: @aarongarciah, @DiegoAndai, @eduter, @Janpot, @micttyoid, @mnajdova, @siriwatknp
42
+
3
43
  ## 7.0.0
4
44
 
5
45
  <!-- generated comparing v7.0.0-rc.0..master -->
@@ -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;
@@ -253,7 +253,7 @@ process.env.NODE_ENV !== "production" ? CardHeader.propTypes /* remove-proptypes
253
253
  /**
254
254
  * These props will be forwarded to the subheader
255
255
  * (as long as disableTypography is not `true`).
256
- * @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.
256
+ * @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.
257
257
  */
258
258
  subheaderTypographyProps: _propTypes.default.object,
259
259
  /**
@@ -267,7 +267,7 @@ process.env.NODE_ENV !== "production" ? CardHeader.propTypes /* remove-proptypes
267
267
  /**
268
268
  * These props will be forwarded to the title
269
269
  * (as long as disableTypography is not `true`).
270
- * @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.
270
+ * @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.
271
271
  */
272
272
  titleTypographyProps: _propTypes.default.object
273
273
  } : void 0;
@@ -237,7 +237,7 @@ process.env.NODE_ENV !== "production" ? Checkbox.propTypes /* remove-proptypes *
237
237
  indeterminateIcon: _propTypes.default.node,
238
238
  /**
239
239
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
240
- * @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.
240
+ * @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.
241
241
  */
242
242
  inputProps: _propTypes.default.object,
243
243
  /**
@@ -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
  }
package/Dialog/Dialog.js CHANGED
@@ -456,7 +456,7 @@ process.env.NODE_ENV !== "production" ? Dialog.propTypes /* remove-proptypes */
456
456
  /**
457
457
  * Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
458
458
  * @default {}
459
- * @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.
459
+ * @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.
460
460
  */
461
461
  PaperProps: _propTypes.default.object,
462
462
  /**
@@ -494,7 +494,7 @@ process.env.NODE_ENV !== "production" ? Dialog.propTypes /* remove-proptypes */
494
494
  * The component used for the transition.
495
495
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
496
496
  * @default Fade
497
- * @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.
497
+ * @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.
498
498
  */
499
499
  TransitionComponent: _propTypes.default.elementType,
500
500
  /**
@@ -513,7 +513,7 @@ process.env.NODE_ENV !== "production" ? Dialog.propTypes /* remove-proptypes */
513
513
  /**
514
514
  * Props applied to the transition element.
515
515
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
516
- * @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.
516
+ * @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.
517
517
  */
518
518
  TransitionProps: _propTypes.default.object
519
519
  } : 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
  /**
package/Drawer/Drawer.js CHANGED
@@ -386,13 +386,13 @@ process.env.NODE_ENV !== "production" ? Drawer.propTypes /* remove-proptypes */
386
386
  open: _propTypes.default.bool,
387
387
  /**
388
388
  * Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
389
- * @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.
389
+ * @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.
390
390
  * @default {}
391
391
  */
392
392
  PaperProps: _propTypes.default.object,
393
393
  /**
394
394
  * Props applied to the [`Slide`](https://mui.com/material-ui/api/slide/) element.
395
- * @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.
395
+ * @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.
396
396
  */
397
397
  SlideProps: _propTypes.default.object,
398
398
  /**
package/Fab/Fab.js CHANGED
@@ -65,7 +65,7 @@ const FabRoot = (0, _zeroStyled.styled)(_ButtonBase.default, {
65
65
  '&:active': {
66
66
  boxShadow: (theme.vars || theme).shadows[12]
67
67
  },
68
- color: theme.vars ? theme.vars.palette.text.primary : theme.palette.getContrastText?.(theme.palette.grey[300]),
68
+ color: theme.vars ? theme.vars.palette.grey[900] : theme.palette.getContrastText?.(theme.palette.grey[300]),
69
69
  backgroundColor: (theme.vars || theme).palette.grey[300],
70
70
  '&:hover': {
71
71
  backgroundColor: (theme.vars || theme).palette.grey.A100,
@@ -356,7 +356,7 @@ process.env.NODE_ENV !== "production" ? FilledInput.propTypes /* remove-proptype
356
356
  /**
357
357
  * The components used for each slot inside.
358
358
  *
359
- * @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.
359
+ * @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.
360
360
  *
361
361
  * @default {}
362
362
  */
@@ -368,7 +368,7 @@ process.env.NODE_ENV !== "production" ? FilledInput.propTypes /* remove-proptype
368
368
  * The extra props for the slot components.
369
369
  * You can override the existing props or add new ones.
370
370
  *
371
- * @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.
371
+ * @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.
372
372
  *
373
373
  * @default {}
374
374
  */
@@ -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
  /**
@@ -219,7 +219,7 @@ process.env.NODE_ENV !== "production" ? FormControlLabel.propTypes /* remove-pro
219
219
  /**
220
220
  * The props used for each slot inside.
221
221
  * @default {}
222
- * @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.
222
+ * @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.
223
223
  */
224
224
  componentsProps: _propTypes.default.shape({
225
225
  typography: _propTypes.default.object
@@ -12,8 +12,8 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
12
12
  var _clsx = _interopRequireDefault(require("clsx"));
13
13
  var _chainPropTypes = _interopRequireDefault(require("@mui/utils/chainPropTypes"));
14
14
  var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
15
- var _utils = require("@mui/material/utils");
16
15
  var _colorManipulator = require("@mui/system/colorManipulator");
16
+ var _utils = require("../utils");
17
17
  var _zeroStyled = require("../zero-styled");
18
18
  var _memoTheme = _interopRequireDefault(require("../utils/memoTheme"));
19
19
  var _createSimplePaletteValueFilter = _interopRequireDefault(require("../utils/createSimplePaletteValueFilter"));