@mui/material 9.0.0-alpha.4 → 9.0.0-beta.0

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 (210) hide show
  1. package/ButtonGroup/ButtonGroup.js +1 -9
  2. package/ButtonGroup/ButtonGroup.mjs +1 -9
  3. package/ButtonGroup/buttonGroupClasses.d.mts +0 -68
  4. package/ButtonGroup/buttonGroupClasses.d.ts +0 -68
  5. package/ButtonGroup/buttonGroupClasses.js +1 -1
  6. package/ButtonGroup/buttonGroupClasses.mjs +1 -1
  7. package/CHANGELOG.md +71 -4
  8. package/CardHeader/CardHeader.d.mts +13 -21
  9. package/CardHeader/CardHeader.d.ts +13 -21
  10. package/CardHeader/CardHeader.js +3 -21
  11. package/CardHeader/CardHeader.mjs +3 -21
  12. package/Checkbox/Checkbox.js +1 -7
  13. package/Checkbox/Checkbox.mjs +1 -7
  14. package/Chip/Chip.js +48 -54
  15. package/Chip/Chip.mjs +48 -54
  16. package/Chip/chipClasses.d.mts +0 -104
  17. package/Chip/chipClasses.d.ts +0 -104
  18. package/Chip/chipClasses.js +1 -1
  19. package/Chip/chipClasses.mjs +1 -1
  20. package/Dialog/Dialog.d.mts +0 -21
  21. package/Dialog/Dialog.d.ts +0 -21
  22. package/Dialog/Dialog.js +36 -73
  23. package/Dialog/Dialog.mjs +36 -73
  24. package/Dialog/dialogClasses.d.mts +0 -8
  25. package/Dialog/dialogClasses.d.ts +0 -8
  26. package/Dialog/dialogClasses.js +1 -1
  27. package/Dialog/dialogClasses.mjs +1 -1
  28. package/Divider/Divider.js +2 -2
  29. package/Divider/Divider.mjs +2 -2
  30. package/Divider/dividerClasses.d.mts +0 -4
  31. package/Divider/dividerClasses.d.ts +0 -4
  32. package/Divider/dividerClasses.js +1 -1
  33. package/Divider/dividerClasses.mjs +1 -1
  34. package/Drawer/Drawer.d.mts +0 -12
  35. package/Drawer/Drawer.d.ts +0 -12
  36. package/Drawer/Drawer.js +6 -40
  37. package/Drawer/Drawer.mjs +6 -40
  38. package/Drawer/drawerClasses.d.mts +0 -32
  39. package/Drawer/drawerClasses.d.ts +0 -32
  40. package/Drawer/drawerClasses.js +1 -1
  41. package/Drawer/drawerClasses.mjs +1 -1
  42. package/FilledInput/FilledInput.js +3 -32
  43. package/FilledInput/FilledInput.mjs +3 -32
  44. package/ImageListItemBar/ImageListItemBar.js +4 -17
  45. package/ImageListItemBar/ImageListItemBar.mjs +4 -17
  46. package/ImageListItemBar/imageListItemBarClasses.d.mts +0 -16
  47. package/ImageListItemBar/imageListItemBarClasses.d.ts +0 -16
  48. package/ImageListItemBar/imageListItemBarClasses.js +1 -1
  49. package/ImageListItemBar/imageListItemBarClasses.mjs +1 -1
  50. package/Input/Input.js +3 -32
  51. package/Input/Input.mjs +3 -32
  52. package/Input/inputClasses.d.mts +0 -16
  53. package/Input/inputClasses.d.ts +0 -16
  54. package/InputBase/InputBase.d.mts +0 -27
  55. package/InputBase/InputBase.d.ts +0 -27
  56. package/InputBase/InputBase.js +6 -35
  57. package/InputBase/InputBase.mjs +6 -35
  58. package/InputBase/inputBaseClasses.d.mts +0 -20
  59. package/InputBase/inputBaseClasses.d.ts +0 -20
  60. package/InputBase/inputBaseClasses.js +1 -1
  61. package/InputBase/inputBaseClasses.mjs +1 -1
  62. package/InputLabel/InputLabel.js +1 -1
  63. package/InputLabel/InputLabel.mjs +1 -1
  64. package/LinearProgress/LinearProgress.js +6 -18
  65. package/LinearProgress/LinearProgress.mjs +6 -18
  66. package/LinearProgress/linearProgressClasses.d.mts +0 -36
  67. package/LinearProgress/linearProgressClasses.d.ts +0 -36
  68. package/LinearProgress/linearProgressClasses.js +1 -1
  69. package/LinearProgress/linearProgressClasses.mjs +1 -1
  70. package/Link/Link.d.mts +1 -1
  71. package/Link/Link.d.ts +1 -1
  72. package/ListItem/ListItem.d.mts +2 -36
  73. package/ListItem/ListItem.d.ts +2 -36
  74. package/ListItem/ListItem.js +27 -152
  75. package/ListItem/ListItem.mjs +27 -152
  76. package/ListItem/listItemClasses.d.mts +2 -4
  77. package/ListItem/listItemClasses.d.ts +2 -4
  78. package/ListItem/listItemClasses.js +1 -1
  79. package/ListItem/listItemClasses.mjs +1 -1
  80. package/ListItemButton/ListItemButton.d.mts +1 -2
  81. package/ListItemButton/ListItemButton.d.ts +1 -2
  82. package/ListItemButton/ListItemButton.js +1 -2
  83. package/ListItemButton/ListItemButton.mjs +1 -2
  84. package/ListItemSecondaryAction/ListItemSecondaryAction.d.mts +10 -6
  85. package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +10 -6
  86. package/ListItemSecondaryAction/ListItemSecondaryAction.js +7 -2
  87. package/ListItemSecondaryAction/ListItemSecondaryAction.mjs +7 -2
  88. package/ListItemText/ListItemText.d.mts +12 -20
  89. package/ListItemText/ListItemText.d.ts +12 -20
  90. package/ListItemText/ListItemText.js +2 -20
  91. package/ListItemText/ListItemText.mjs +2 -20
  92. package/Modal/Modal.d.mts +1 -41
  93. package/Modal/Modal.d.ts +1 -41
  94. package/Modal/Modal.js +5 -58
  95. package/Modal/Modal.mjs +5 -58
  96. package/OutlinedInput/OutlinedInput.js +2 -14
  97. package/OutlinedInput/OutlinedInput.mjs +2 -14
  98. package/OutlinedInput/outlinedInputClasses.d.mts +0 -16
  99. package/OutlinedInput/outlinedInputClasses.d.ts +0 -16
  100. package/PaginationItem/PaginationItem.d.mts +0 -15
  101. package/PaginationItem/PaginationItem.d.ts +0 -15
  102. package/PaginationItem/PaginationItem.js +3 -24
  103. package/PaginationItem/PaginationItem.mjs +3 -24
  104. package/PaginationItem/paginationItemClasses.d.mts +0 -16
  105. package/PaginationItem/paginationItemClasses.d.ts +0 -16
  106. package/PaginationItem/paginationItemClasses.js +1 -1
  107. package/PaginationItem/paginationItemClasses.mjs +1 -1
  108. package/Radio/Radio.js +1 -13
  109. package/Radio/Radio.mjs +1 -13
  110. package/Rating/Rating.d.mts +0 -9
  111. package/Rating/Rating.d.ts +0 -9
  112. package/Rating/Rating.js +1 -17
  113. package/Rating/Rating.mjs +1 -17
  114. package/Select/SelectInput.js +2 -3
  115. package/Select/SelectInput.mjs +2 -3
  116. package/Select/selectClasses.d.mts +0 -12
  117. package/Select/selectClasses.d.ts +0 -12
  118. package/Select/selectClasses.js +1 -1
  119. package/Select/selectClasses.mjs +1 -1
  120. package/Slider/Slider.d.mts +0 -5
  121. package/Slider/Slider.d.ts +0 -5
  122. package/Slider/Slider.js +2 -8
  123. package/Slider/Slider.mjs +2 -8
  124. package/Slider/sliderClasses.d.mts +0 -28
  125. package/Slider/sliderClasses.d.ts +0 -28
  126. package/Slider/sliderClasses.js +1 -1
  127. package/Slider/sliderClasses.mjs +1 -1
  128. package/Stack/Stack.d.mts +2 -2
  129. package/Stack/Stack.d.ts +2 -2
  130. package/StepConnector/StepConnector.js +2 -8
  131. package/StepConnector/StepConnector.mjs +2 -8
  132. package/StepConnector/stepConnectorClasses.d.mts +0 -8
  133. package/StepConnector/stepConnectorClasses.d.ts +0 -8
  134. package/StepConnector/stepConnectorClasses.js +1 -1
  135. package/StepConnector/stepConnectorClasses.mjs +1 -1
  136. package/StepContent/StepContent.d.mts +1 -16
  137. package/StepContent/StepContent.d.ts +1 -16
  138. package/StepContent/StepContent.js +3 -22
  139. package/StepContent/StepContent.mjs +3 -22
  140. package/StepLabel/StepLabel.d.mts +0 -22
  141. package/StepLabel/StepLabel.d.ts +0 -22
  142. package/StepLabel/StepLabel.js +2 -31
  143. package/StepLabel/StepLabel.mjs +2 -31
  144. package/SvgIcon/createSvgIcon.d.mts +2 -0
  145. package/SvgIcon/createSvgIcon.d.ts +2 -0
  146. package/SvgIcon/createSvgIcon.js +31 -0
  147. package/SvgIcon/createSvgIcon.mjs +26 -0
  148. package/SvgIcon/index.d.mts +1 -0
  149. package/SvgIcon/index.d.ts +1 -0
  150. package/SvgIcon/index.js +8 -0
  151. package/SvgIcon/index.mjs +1 -0
  152. package/SwipeableDrawer/SwipeableDrawer.d.mts +0 -5
  153. package/SwipeableDrawer/SwipeableDrawer.d.ts +0 -5
  154. package/SwipeableDrawer/SwipeableDrawer.js +6 -37
  155. package/SwipeableDrawer/SwipeableDrawer.mjs +6 -37
  156. package/Switch/Switch.js +0 -11
  157. package/Switch/Switch.mjs +0 -11
  158. package/Tab/Tab.js +1 -3
  159. package/Tab/Tab.mjs +1 -3
  160. package/Tab/tabClasses.d.mts +0 -4
  161. package/Tab/tabClasses.d.ts +0 -4
  162. package/Tab/tabClasses.js +1 -1
  163. package/Tab/tabClasses.mjs +1 -1
  164. package/TablePagination/TablePagination.d.mts +0 -24
  165. package/TablePagination/TablePagination.d.ts +0 -24
  166. package/TablePagination/TablePagination.js +1 -29
  167. package/TablePagination/TablePagination.mjs +1 -29
  168. package/TablePaginationActions/TablePaginationActions.d.mts +0 -10
  169. package/TablePaginationActions/TablePaginationActions.d.ts +0 -10
  170. package/TablePaginationActions/TablePaginationActions.js +2 -14
  171. package/TablePaginationActions/TablePaginationActions.mjs +2 -14
  172. package/TableSortLabel/TableSortLabel.js +2 -7
  173. package/TableSortLabel/TableSortLabel.mjs +2 -7
  174. package/TableSortLabel/tableSortLabelClasses.d.mts +0 -8
  175. package/TableSortLabel/tableSortLabelClasses.d.ts +0 -8
  176. package/TableSortLabel/tableSortLabelClasses.js +1 -1
  177. package/TableSortLabel/tableSortLabelClasses.mjs +1 -1
  178. package/Tabs/Tabs.js +3 -3
  179. package/Tabs/Tabs.mjs +3 -3
  180. package/Tabs/tabsClasses.d.mts +0 -6
  181. package/Tabs/tabsClasses.d.ts +0 -6
  182. package/Tabs/tabsClasses.js +1 -1
  183. package/Tabs/tabsClasses.mjs +1 -1
  184. package/ToggleButtonGroup/ToggleButtonGroup.js +1 -4
  185. package/ToggleButtonGroup/ToggleButtonGroup.mjs +1 -4
  186. package/ToggleButtonGroup/toggleButtonGroupClasses.d.mts +0 -8
  187. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +0 -8
  188. package/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
  189. package/ToggleButtonGroup/toggleButtonGroupClasses.mjs +1 -1
  190. package/Typography/Typography.d.mts +3 -3
  191. package/Typography/Typography.d.ts +3 -3
  192. package/Typography/Typography.js +2 -24
  193. package/Typography/Typography.mjs +3 -25
  194. package/index.js +1 -1
  195. package/index.mjs +1 -1
  196. package/internal/SwitchBase.d.mts +0 -10
  197. package/internal/SwitchBase.d.ts +0 -10
  198. package/internal/SwitchBase.js +1 -16
  199. package/internal/SwitchBase.mjs +1 -16
  200. package/package.json +7 -7
  201. package/styles/createThemeWithVars.js +1 -0
  202. package/styles/createThemeWithVars.mjs +1 -0
  203. package/styles/stringifyTheme.js +1 -1
  204. package/styles/stringifyTheme.mjs +1 -1
  205. package/utils/createSvgIcon.d.mts +4 -2
  206. package/utils/createSvgIcon.d.ts +4 -2
  207. package/utils/createSvgIcon.js +6 -24
  208. package/utils/createSvgIcon.mjs +2 -24
  209. package/version/index.js +2 -2
  210. package/version/index.mjs +2 -2
package/Rating/Rating.js CHANGED
@@ -217,7 +217,6 @@ function RatingItem(props) {
217
217
  highlightSelectedOnly,
218
218
  hover,
219
219
  icon,
220
- IconContainerComponent,
221
220
  isActive,
222
221
  itemValue,
223
222
  labelProps,
@@ -263,9 +262,7 @@ function RatingItem(props) {
263
262
  value: itemValue
264
263
  },
265
264
  internalForwardedProps: {
266
- // TODO: remove this in v7 because `IconContainerComponent` is deprecated
267
- // only forward if `slots.icon` is NOT provided
268
- as: IconContainerComponent
265
+ as: IconContainer
269
266
  }
270
267
  });
271
268
  const [LabelSlot, labelSlotProps] = (0, _useSlot.default)('label', {
@@ -321,7 +318,6 @@ process.env.NODE_ENV !== "production" ? RatingItem.propTypes = {
321
318
  highlightSelectedOnly: _propTypes.default.bool.isRequired,
322
319
  hover: _propTypes.default.number.isRequired,
323
320
  icon: _propTypes.default.node,
324
- IconContainerComponent: _propTypes.default.elementType.isRequired,
325
321
  isActive: _propTypes.default.bool.isRequired,
326
322
  itemValue: _propTypes.default.number.isRequired,
327
323
  labelProps: _propTypes.default.object,
@@ -361,7 +357,6 @@ const Rating = /*#__PURE__*/React.forwardRef(function Rating(inProps, ref) {
361
357
  getLabelText = defaultLabelText,
362
358
  highlightSelectedOnly = false,
363
359
  icon = defaultIcon,
364
- IconContainerComponent = IconContainer,
365
360
  max = 5,
366
361
  name: nameProp,
367
362
  onChange,
@@ -504,7 +499,6 @@ const Rating = /*#__PURE__*/React.forwardRef(function Rating(inProps, ref) {
504
499
  focusVisible,
505
500
  getLabelText,
506
501
  icon,
507
- IconContainerComponent,
508
502
  max,
509
503
  precision,
510
504
  readOnly,
@@ -566,7 +560,6 @@ const Rating = /*#__PURE__*/React.forwardRef(function Rating(inProps, ref) {
566
560
  highlightSelectedOnly,
567
561
  hover,
568
562
  icon,
569
- IconContainerComponent,
570
563
  name,
571
564
  onBlur: handleBlur,
572
565
  onChange: handleChange,
@@ -692,15 +685,6 @@ process.env.NODE_ENV !== "production" ? Rating.propTypes /* remove-proptypes */
692
685
  * @default <Star fontSize="inherit" />
693
686
  */
694
687
  icon: _propTypes.default.node,
695
- /**
696
- * The component containing the icon.
697
- * @deprecated Use `slotProps.icon.component` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
698
- * @default function IconContainer(props) {
699
- * const { value, ...other } = props;
700
- * return <span {...other} />;
701
- * }
702
- */
703
- IconContainerComponent: _propTypes.default.elementType,
704
688
  /**
705
689
  * Maximum rating.
706
690
  * @default 5
package/Rating/Rating.mjs CHANGED
@@ -210,7 +210,6 @@ function RatingItem(props) {
210
210
  highlightSelectedOnly,
211
211
  hover,
212
212
  icon,
213
- IconContainerComponent,
214
213
  isActive,
215
214
  itemValue,
216
215
  labelProps,
@@ -256,9 +255,7 @@ function RatingItem(props) {
256
255
  value: itemValue
257
256
  },
258
257
  internalForwardedProps: {
259
- // TODO: remove this in v7 because `IconContainerComponent` is deprecated
260
- // only forward if `slots.icon` is NOT provided
261
- as: IconContainerComponent
258
+ as: IconContainer
262
259
  }
263
260
  });
264
261
  const [LabelSlot, labelSlotProps] = useSlot('label', {
@@ -314,7 +311,6 @@ process.env.NODE_ENV !== "production" ? RatingItem.propTypes = {
314
311
  highlightSelectedOnly: PropTypes.bool.isRequired,
315
312
  hover: PropTypes.number.isRequired,
316
313
  icon: PropTypes.node,
317
- IconContainerComponent: PropTypes.elementType.isRequired,
318
314
  isActive: PropTypes.bool.isRequired,
319
315
  itemValue: PropTypes.number.isRequired,
320
316
  labelProps: PropTypes.object,
@@ -354,7 +350,6 @@ const Rating = /*#__PURE__*/React.forwardRef(function Rating(inProps, ref) {
354
350
  getLabelText = defaultLabelText,
355
351
  highlightSelectedOnly = false,
356
352
  icon = defaultIcon,
357
- IconContainerComponent = IconContainer,
358
353
  max = 5,
359
354
  name: nameProp,
360
355
  onChange,
@@ -497,7 +492,6 @@ const Rating = /*#__PURE__*/React.forwardRef(function Rating(inProps, ref) {
497
492
  focusVisible,
498
493
  getLabelText,
499
494
  icon,
500
- IconContainerComponent,
501
495
  max,
502
496
  precision,
503
497
  readOnly,
@@ -559,7 +553,6 @@ const Rating = /*#__PURE__*/React.forwardRef(function Rating(inProps, ref) {
559
553
  highlightSelectedOnly,
560
554
  hover,
561
555
  icon,
562
- IconContainerComponent,
563
556
  name,
564
557
  onBlur: handleBlur,
565
558
  onChange: handleChange,
@@ -685,15 +678,6 @@ process.env.NODE_ENV !== "production" ? Rating.propTypes /* remove-proptypes */
685
678
  * @default <Star fontSize="inherit" />
686
679
  */
687
680
  icon: PropTypes.node,
688
- /**
689
- * The component containing the icon.
690
- * @deprecated Use `slotProps.icon.component` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
691
- * @default function IconContainer(props) {
692
- * const { value, ...other } = props;
693
- * return <span {...other} />;
694
- * }
695
- */
696
- IconContainerComponent: PropTypes.elementType,
697
681
  /**
698
682
  * Maximum rating.
699
683
  * @default 5
@@ -16,7 +16,6 @@ var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"
16
16
  var _useId = _interopRequireDefault(require("@mui/utils/useId"));
17
17
  var _refType = _interopRequireDefault(require("@mui/utils/refType"));
18
18
  var _ownerDocument = _interopRequireDefault(require("../utils/ownerDocument"));
19
- var _capitalize = _interopRequireDefault(require("../utils/capitalize"));
20
19
  var _Menu = _interopRequireDefault(require("../Menu/Menu"));
21
20
  var _NativeSelectInput = require("../NativeSelect/NativeSelectInput");
22
21
  var _utils = require("../InputBase/utils");
@@ -67,7 +66,7 @@ const SelectIcon = (0, _zeroStyled.styled)(_NativeSelectInput.StyledSelectIcon,
67
66
  const {
68
67
  ownerState
69
68
  } = props;
70
- return [styles.icon, ownerState.variant && styles[`icon${(0, _capitalize.default)(ownerState.variant)}`], ownerState.open && styles.iconOpen];
69
+ return [styles.icon, ownerState.open && styles.iconOpen];
71
70
  }
72
71
  })({});
73
72
  const SelectNativeInput = (0, _zeroStyled.styled)('input', {
@@ -94,7 +93,7 @@ const useUtilityClasses = ownerState => {
94
93
  } = ownerState;
95
94
  const slots = {
96
95
  select: ['select', variant, disabled && 'disabled', multiple && 'multiple', error && 'error'],
97
- icon: ['icon', `icon${(0, _capitalize.default)(variant)}`, open && 'iconOpen', disabled && 'disabled'],
96
+ icon: ['icon', open && 'iconOpen', disabled && 'disabled'],
98
97
  nativeInput: ['nativeInput']
99
98
  };
100
99
  return (0, _composeClasses.default)(slots, _selectClasses.getSelectUtilityClasses, classes);
@@ -10,7 +10,6 @@ import composeClasses from '@mui/utils/composeClasses';
10
10
  import useId from '@mui/utils/useId';
11
11
  import refType from '@mui/utils/refType';
12
12
  import ownerDocument from "../utils/ownerDocument.mjs";
13
- import capitalize from "../utils/capitalize.mjs";
14
13
  import Menu from "../Menu/Menu.mjs";
15
14
  import { StyledSelectSelect, StyledSelectIcon } from "../NativeSelect/NativeSelectInput.mjs";
16
15
  import { isFilled } from "../InputBase/utils.mjs";
@@ -60,7 +59,7 @@ const SelectIcon = styled(StyledSelectIcon, {
60
59
  const {
61
60
  ownerState
62
61
  } = props;
63
- return [styles.icon, ownerState.variant && styles[`icon${capitalize(ownerState.variant)}`], ownerState.open && styles.iconOpen];
62
+ return [styles.icon, ownerState.open && styles.iconOpen];
64
63
  }
65
64
  })({});
66
65
  const SelectNativeInput = styled('input', {
@@ -87,7 +86,7 @@ const useUtilityClasses = ownerState => {
87
86
  } = ownerState;
88
87
  const slots = {
89
88
  select: ['select', variant, disabled && 'disabled', multiple && 'multiple', error && 'error'],
90
- icon: ['icon', `icon${capitalize(variant)}`, open && 'iconOpen', disabled && 'disabled'],
89
+ icon: ['icon', open && 'iconOpen', disabled && 'disabled'],
91
90
  nativeInput: ['nativeInput']
92
91
  };
93
92
  return composeClasses(slots, getSelectUtilityClasses, classes);
@@ -19,18 +19,6 @@ export interface SelectClasses {
19
19
  icon: string;
20
20
  /** Styles applied to the icon component if the popup is open. */
21
21
  iconOpen: string;
22
- /** Styles applied to the icon component if `variant="filled"`.
23
- * @deprecated Combine the [.MuiSelect-icon](/material-ui/api/select/#select-classes-MuiSelect-icon) and [.MuiSelect-filled](/material-ui/api/select/#select-classes-MuiSelect-filled) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
24
- */
25
- iconFilled: string;
26
- /** Styles applied to the icon component if `variant="outlined"`.
27
- * @deprecated Combine the [.MuiSelect-icon](/material-ui/api/select/#select-classes-MuiSelect-icon) and [.MuiSelect-outlined](/material-ui/api/select/#select-classes-MuiSelect-outlined) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
28
- */
29
- iconOutlined: string;
30
- /** Styles applied to the icon component if `variant="standard"`.
31
- * @deprecated Combine the [.MuiSelect-icon](/material-ui/api/select/#select-classes-MuiSelect-icon) and [.MuiSelect-standard](/material-ui/api/select/#select-classes-MuiSelect-standard) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
32
- */
33
- iconStandard: string;
34
22
  /** Styles applied to the underlying native input component. */
35
23
  nativeInput: string;
36
24
  /** State class applied to the root element if `error={true}`. */
@@ -19,18 +19,6 @@ export interface SelectClasses {
19
19
  icon: string;
20
20
  /** Styles applied to the icon component if the popup is open. */
21
21
  iconOpen: string;
22
- /** Styles applied to the icon component if `variant="filled"`.
23
- * @deprecated Combine the [.MuiSelect-icon](/material-ui/api/select/#select-classes-MuiSelect-icon) and [.MuiSelect-filled](/material-ui/api/select/#select-classes-MuiSelect-filled) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
24
- */
25
- iconFilled: string;
26
- /** Styles applied to the icon component if `variant="outlined"`.
27
- * @deprecated Combine the [.MuiSelect-icon](/material-ui/api/select/#select-classes-MuiSelect-icon) and [.MuiSelect-outlined](/material-ui/api/select/#select-classes-MuiSelect-outlined) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
28
- */
29
- iconOutlined: string;
30
- /** Styles applied to the icon component if `variant="standard"`.
31
- * @deprecated Combine the [.MuiSelect-icon](/material-ui/api/select/#select-classes-MuiSelect-icon) and [.MuiSelect-standard](/material-ui/api/select/#select-classes-MuiSelect-standard) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
32
- */
33
- iconStandard: string;
34
22
  /** Styles applied to the underlying native input component. */
35
23
  nativeInput: string;
36
24
  /** State class applied to the root element if `error={true}`. */
@@ -11,5 +11,5 @@ var _generateUtilityClass = _interopRequireDefault(require("@mui/utils/generateU
11
11
  function getSelectUtilityClasses(slot) {
12
12
  return (0, _generateUtilityClass.default)('MuiSelect', slot);
13
13
  }
14
- const selectClasses = (0, _generateUtilityClasses.default)('MuiSelect', ['root', 'select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'focused', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput', 'error']);
14
+ const selectClasses = (0, _generateUtilityClasses.default)('MuiSelect', ['root', 'select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'focused', 'icon', 'iconOpen', 'nativeInput', 'error']);
15
15
  var _default = exports.default = selectClasses;
@@ -3,5 +3,5 @@ import generateUtilityClass from '@mui/utils/generateUtilityClass';
3
3
  export function getSelectUtilityClasses(slot) {
4
4
  return generateUtilityClass('MuiSelect', slot);
5
5
  }
6
- const selectClasses = generateUtilityClasses('MuiSelect', ['root', 'select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'focused', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput', 'error']);
6
+ const selectClasses = generateUtilityClasses('MuiSelect', ['root', 'select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'focused', 'icon', 'iconOpen', 'nativeInput', 'error']);
7
7
  export default selectClasses;
@@ -101,11 +101,6 @@ export type SliderSlotsAndSlotProps = CreateSlotsAndSlotProps<SliderSlots, {
101
101
  */
102
102
  input: SlotProps<'input', SliderInputSlotPropsOverrides, SliderOwnerState>;
103
103
  }>;
104
-
105
- /**
106
- * @deprecated Use `SliderRootSlotPropsOverrides` instead.
107
- */
108
- export interface SliderComponentsPropsOverrides {}
109
104
  export interface SliderOwnerState extends SliderProps {
110
105
  dragging: boolean;
111
106
  marked: boolean;
@@ -101,11 +101,6 @@ export type SliderSlotsAndSlotProps = CreateSlotsAndSlotProps<SliderSlots, {
101
101
  */
102
102
  input: SlotProps<'input', SliderInputSlotPropsOverrides, SliderOwnerState>;
103
103
  }>;
104
-
105
- /**
106
- * @deprecated Use `SliderRootSlotPropsOverrides` instead.
107
- */
108
- export interface SliderComponentsPropsOverrides {}
109
104
  export interface SliderOwnerState extends SliderProps {
110
105
  dragging: boolean;
111
106
  marked: boolean;
package/Slider/Slider.js CHANGED
@@ -239,13 +239,7 @@ const SliderTrack = exports.SliderTrack = (0, _zeroStyled.styled)('span', {
239
239
  }));
240
240
  const SliderThumb = exports.SliderThumb = (0, _zeroStyled.styled)('span', {
241
241
  name: 'MuiSlider',
242
- slot: 'Thumb',
243
- overridesResolver: (props, styles) => {
244
- const {
245
- ownerState
246
- } = props;
247
- return [styles.thumb, styles[`thumbColor${(0, _capitalize.default)(ownerState.color)}`], ownerState.size !== 'medium' && styles[`thumbSize${(0, _capitalize.default)(ownerState.size)}`]];
248
- }
242
+ slot: 'Thumb'
249
243
  })((0, _memoTheme.default)(({
250
244
  theme
251
245
  }) => ({
@@ -542,7 +536,7 @@ const useUtilityClasses = ownerState => {
542
536
  markLabel: ['markLabel'],
543
537
  markLabelActive: ['markLabelActive'],
544
538
  valueLabel: ['valueLabel'],
545
- thumb: ['thumb', disabled && 'disabled', size && `thumbSize${(0, _capitalize.default)(size)}`, color && `thumbColor${(0, _capitalize.default)(color)}`],
539
+ thumb: ['thumb', disabled && 'disabled'],
546
540
  active: ['active'],
547
541
  disabled: ['disabled'],
548
542
  focusVisible: ['focusVisible']
package/Slider/Slider.mjs CHANGED
@@ -232,13 +232,7 @@ export const SliderTrack = styled('span', {
232
232
  }));
233
233
  export const SliderThumb = styled('span', {
234
234
  name: 'MuiSlider',
235
- slot: 'Thumb',
236
- overridesResolver: (props, styles) => {
237
- const {
238
- ownerState
239
- } = props;
240
- return [styles.thumb, styles[`thumbColor${capitalize(ownerState.color)}`], ownerState.size !== 'medium' && styles[`thumbSize${capitalize(ownerState.size)}`]];
241
- }
235
+ slot: 'Thumb'
242
236
  })(memoTheme(({
243
237
  theme
244
238
  }) => ({
@@ -536,7 +530,7 @@ const useUtilityClasses = ownerState => {
536
530
  markLabel: ['markLabel'],
537
531
  markLabelActive: ['markLabelActive'],
538
532
  valueLabel: ['valueLabel'],
539
- thumb: ['thumb', disabled && 'disabled', size && `thumbSize${capitalize(size)}`, color && `thumbColor${capitalize(color)}`],
533
+ thumb: ['thumb', disabled && 'disabled'],
540
534
  active: ['active'],
541
535
  disabled: ['disabled'],
542
536
  focusVisible: ['focusVisible']
@@ -45,34 +45,6 @@ export interface SliderClasses {
45
45
  markLabelActive: string;
46
46
  /** Styles applied to the root element if `size="small"`. */
47
47
  sizeSmall: string;
48
- /** Styles applied to the thumb element if `color="primary"`.
49
- * @deprecated Combine the [.MuiSlider-thumb](/material-ui/api/slider/#Slider-css-MuiSlider-thumb) and [.MuiSlider-colorPrimary](/material-ui/api/slider/#slider-classes-MuiSlider-colorPrimary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
50
- */
51
- thumbColorPrimary: string;
52
- /** Styles applied to the thumb element if `color="secondary"`.
53
- * @deprecated Combine the [.MuiSlider-thumb](/material-ui/api/slider/#Slider-css-MuiSlider-thumb) and [.MuiSlider-colorSecondary](/material-ui/api/slider/#slider-classes-MuiSlider-colorSecondary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
54
- */
55
- thumbColorSecondary: string;
56
- /** Styles applied to the thumb element if `color="error"`.
57
- * @deprecated Combine the [.MuiSlider-thumb](/material-ui/api/slider/#Slider-css-MuiSlider-thumb) and [.MuiSlider-colorError](/material-ui/api/slider/#slider-classes-MuiSlider-colorError) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
58
- */
59
- thumbColorError: string;
60
- /** Styles applied to the thumb element if `color="info"`.
61
- * @deprecated Combine the [.MuiSlider-thumb](/material-ui/api/slider/#Slider-css-MuiSlider-thumb) and [.MuiSlider-colorInfo](/material-ui/api/slider/#slider-classes-MuiSlider-colorInfo) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
62
- */
63
- thumbColorInfo: string;
64
- /** Styles applied to the thumb element if `color="success"`.
65
- * @deprecated Combine the [.MuiSlider-thumb](/material-ui/api/slider/#Slider-css-MuiSlider-thumb) and [.MuiSlider-colorSuccess](/material-ui/api/slider/#slider-classes-MuiSlider-colorSuccess) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
66
- */
67
- thumbColorSuccess: string;
68
- /** Styles applied to the thumb element if `color="warning"`.
69
- * @deprecated Combine the [.MuiSlider-thumb](/material-ui/api/slider/#Slider-css-MuiSlider-thumb) and [.MuiSlider-colorWarning](/material-ui/api/slider/#slider-classes-MuiSlider-colorWarning) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
70
- */
71
- thumbColorWarning: string;
72
- /** Styles applied to the thumb element if `size="small"`.
73
- * @deprecated Combine the [.MuiSlider-thumb](/material-ui/api/slider/#Slider-css-MuiSlider-thumb) and [.MuiSlider-sizeSmall](/material-ui/api/slider/#slider-classes-MuiSlider-sizeSmall) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
74
- */
75
- thumbSizeSmall: string;
76
48
  /** Styles applied to the thumb label element. */
77
49
  valueLabel: string;
78
50
  /** Styles applied to the thumb label element if it's open. */
@@ -45,34 +45,6 @@ export interface SliderClasses {
45
45
  markLabelActive: string;
46
46
  /** Styles applied to the root element if `size="small"`. */
47
47
  sizeSmall: string;
48
- /** Styles applied to the thumb element if `color="primary"`.
49
- * @deprecated Combine the [.MuiSlider-thumb](/material-ui/api/slider/#Slider-css-MuiSlider-thumb) and [.MuiSlider-colorPrimary](/material-ui/api/slider/#slider-classes-MuiSlider-colorPrimary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
50
- */
51
- thumbColorPrimary: string;
52
- /** Styles applied to the thumb element if `color="secondary"`.
53
- * @deprecated Combine the [.MuiSlider-thumb](/material-ui/api/slider/#Slider-css-MuiSlider-thumb) and [.MuiSlider-colorSecondary](/material-ui/api/slider/#slider-classes-MuiSlider-colorSecondary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
54
- */
55
- thumbColorSecondary: string;
56
- /** Styles applied to the thumb element if `color="error"`.
57
- * @deprecated Combine the [.MuiSlider-thumb](/material-ui/api/slider/#Slider-css-MuiSlider-thumb) and [.MuiSlider-colorError](/material-ui/api/slider/#slider-classes-MuiSlider-colorError) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
58
- */
59
- thumbColorError: string;
60
- /** Styles applied to the thumb element if `color="info"`.
61
- * @deprecated Combine the [.MuiSlider-thumb](/material-ui/api/slider/#Slider-css-MuiSlider-thumb) and [.MuiSlider-colorInfo](/material-ui/api/slider/#slider-classes-MuiSlider-colorInfo) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
62
- */
63
- thumbColorInfo: string;
64
- /** Styles applied to the thumb element if `color="success"`.
65
- * @deprecated Combine the [.MuiSlider-thumb](/material-ui/api/slider/#Slider-css-MuiSlider-thumb) and [.MuiSlider-colorSuccess](/material-ui/api/slider/#slider-classes-MuiSlider-colorSuccess) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
66
- */
67
- thumbColorSuccess: string;
68
- /** Styles applied to the thumb element if `color="warning"`.
69
- * @deprecated Combine the [.MuiSlider-thumb](/material-ui/api/slider/#Slider-css-MuiSlider-thumb) and [.MuiSlider-colorWarning](/material-ui/api/slider/#slider-classes-MuiSlider-colorWarning) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
70
- */
71
- thumbColorWarning: string;
72
- /** Styles applied to the thumb element if `size="small"`.
73
- * @deprecated Combine the [.MuiSlider-thumb](/material-ui/api/slider/#Slider-css-MuiSlider-thumb) and [.MuiSlider-sizeSmall](/material-ui/api/slider/#slider-classes-MuiSlider-sizeSmall) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
74
- */
75
- thumbSizeSmall: string;
76
48
  /** Styles applied to the thumb label element. */
77
49
  valueLabel: string;
78
50
  /** Styles applied to the thumb label element if it's open. */
@@ -11,5 +11,5 @@ var _generateUtilityClass = _interopRequireDefault(require("@mui/utils/generateU
11
11
  function getSliderUtilityClass(slot) {
12
12
  return (0, _generateUtilityClass.default)('MuiSlider', slot);
13
13
  }
14
- const sliderClasses = (0, _generateUtilityClasses.default)('MuiSlider', ['root', 'active', 'colorPrimary', 'colorSecondary', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning', 'disabled', 'dragging', 'focusVisible', 'mark', 'markActive', 'marked', 'markLabel', 'markLabelActive', 'rail', 'sizeSmall', 'thumb', 'thumbColorPrimary', 'thumbColorSecondary', 'thumbColorError', 'thumbColorSuccess', 'thumbColorInfo', 'thumbColorWarning', 'track', 'trackInverted', 'trackFalse', 'thumbSizeSmall', 'valueLabel', 'valueLabelOpen', 'valueLabelCircle', 'valueLabelLabel', 'vertical']);
14
+ const sliderClasses = (0, _generateUtilityClasses.default)('MuiSlider', ['root', 'active', 'colorPrimary', 'colorSecondary', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning', 'disabled', 'dragging', 'focusVisible', 'mark', 'markActive', 'marked', 'markLabel', 'markLabelActive', 'rail', 'sizeSmall', 'thumb', 'track', 'trackInverted', 'trackFalse', 'valueLabel', 'valueLabelOpen', 'valueLabelCircle', 'valueLabelLabel', 'vertical']);
15
15
  var _default = exports.default = sliderClasses;
@@ -3,5 +3,5 @@ import generateUtilityClass from '@mui/utils/generateUtilityClass';
3
3
  export function getSliderUtilityClass(slot) {
4
4
  return generateUtilityClass('MuiSlider', slot);
5
5
  }
6
- const sliderClasses = generateUtilityClasses('MuiSlider', ['root', 'active', 'colorPrimary', 'colorSecondary', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning', 'disabled', 'dragging', 'focusVisible', 'mark', 'markActive', 'marked', 'markLabel', 'markLabelActive', 'rail', 'sizeSmall', 'thumb', 'thumbColorPrimary', 'thumbColorSecondary', 'thumbColorError', 'thumbColorSuccess', 'thumbColorInfo', 'thumbColorWarning', 'track', 'trackInverted', 'trackFalse', 'thumbSizeSmall', 'valueLabel', 'valueLabelOpen', 'valueLabelCircle', 'valueLabelLabel', 'vertical']);
6
+ const sliderClasses = generateUtilityClasses('MuiSlider', ['root', 'active', 'colorPrimary', 'colorSecondary', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning', 'disabled', 'dragging', 'focusVisible', 'mark', 'markActive', 'marked', 'markLabel', 'markLabelActive', 'rail', 'sizeSmall', 'thumb', 'track', 'trackInverted', 'trackFalse', 'valueLabel', 'valueLabelOpen', 'valueLabelCircle', 'valueLabelLabel', 'vertical']);
7
7
  export default sliderClasses;
package/Stack/Stack.d.mts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
- import { ResponsiveStyleValue, SxProps, SystemProps } from '@mui/system';
2
+ import { ResponsiveStyleValue, SxProps } from '@mui/system';
3
3
  import { OverrideProps, OverridableComponent } from "../OverridableComponent/index.mjs";
4
4
  import { Theme } from "../styles/createTheme.mjs";
5
- export interface StackOwnProps extends SystemProps<Theme> {
5
+ export interface StackOwnProps {
6
6
  /**
7
7
  * The content of the component.
8
8
  */
package/Stack/Stack.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
- import { ResponsiveStyleValue, SxProps, SystemProps } from '@mui/system';
2
+ import { ResponsiveStyleValue, SxProps } from '@mui/system';
3
3
  import { OverrideProps, OverridableComponent } from "../OverridableComponent/index.js";
4
4
  import { Theme } from "../styles/createTheme.js";
5
- export interface StackOwnProps extends SystemProps<Theme> {
5
+ export interface StackOwnProps {
6
6
  /**
7
7
  * The content of the component.
8
8
  */
@@ -11,7 +11,6 @@ var React = _interopRequireWildcard(require("react"));
11
11
  var _propTypes = _interopRequireDefault(require("prop-types"));
12
12
  var _clsx = _interopRequireDefault(require("clsx"));
13
13
  var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
14
- var _capitalize = _interopRequireDefault(require("../utils/capitalize"));
15
14
  var _zeroStyled = require("../zero-styled");
16
15
  var _memoTheme = _interopRequireDefault(require("../utils/memoTheme"));
17
16
  var _DefaultPropsProvider = require("../DefaultPropsProvider");
@@ -30,7 +29,7 @@ const useUtilityClasses = ownerState => {
30
29
  } = ownerState;
31
30
  const slots = {
32
31
  root: ['root', orientation, alternativeLabel && 'alternativeLabel', active && 'active', completed && 'completed', disabled && 'disabled'],
33
- line: ['line', `line${(0, _capitalize.default)(orientation)}`]
32
+ line: ['line']
34
33
  };
35
34
  return (0, _composeClasses.default)(slots, _stepConnectorClasses.getStepConnectorUtilityClass, classes);
36
35
  };
@@ -67,12 +66,7 @@ const StepConnectorRoot = (0, _zeroStyled.styled)('div', {
67
66
  const StepConnectorLine = (0, _zeroStyled.styled)('span', {
68
67
  name: 'MuiStepConnector',
69
68
  slot: 'Line',
70
- overridesResolver: (props, styles) => {
71
- const {
72
- ownerState
73
- } = props;
74
- return [styles.line, styles[`line${(0, _capitalize.default)(ownerState.orientation)}`]];
75
- }
69
+ overridesResolver: (props, styles) => styles.line
76
70
  })((0, _memoTheme.default)(({
77
71
  theme
78
72
  }) => {
@@ -4,7 +4,6 @@ import * as React from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import clsx from 'clsx';
6
6
  import composeClasses from '@mui/utils/composeClasses';
7
- import capitalize from "../utils/capitalize.mjs";
8
7
  import { styled } from "../zero-styled/index.mjs";
9
8
  import memoTheme from "../utils/memoTheme.mjs";
10
9
  import { useDefaultProps } from "../DefaultPropsProvider/index.mjs";
@@ -23,7 +22,7 @@ const useUtilityClasses = ownerState => {
23
22
  } = ownerState;
24
23
  const slots = {
25
24
  root: ['root', orientation, alternativeLabel && 'alternativeLabel', active && 'active', completed && 'completed', disabled && 'disabled'],
26
- line: ['line', `line${capitalize(orientation)}`]
25
+ line: ['line']
27
26
  };
28
27
  return composeClasses(slots, getStepConnectorUtilityClass, classes);
29
28
  };
@@ -60,12 +59,7 @@ const StepConnectorRoot = styled('div', {
60
59
  const StepConnectorLine = styled('span', {
61
60
  name: 'MuiStepConnector',
62
61
  slot: 'Line',
63
- overridesResolver: (props, styles) => {
64
- const {
65
- ownerState
66
- } = props;
67
- return [styles.line, styles[`line${capitalize(ownerState.orientation)}`]];
68
- }
62
+ overridesResolver: (props, styles) => styles.line
69
63
  })(memoTheme(({
70
64
  theme
71
65
  }) => {
@@ -15,14 +15,6 @@ export interface StepConnectorClasses {
15
15
  disabled: string;
16
16
  /** Styles applied to the line element. */
17
17
  line: string;
18
- /** Styles applied to the line element if `orientation="horizontal"`.
19
- * @deprecated Combine the [.MuiStepConnector-horizontal](/material-ui/api/step-connector/#step-connector-classes-MuiStepConnector-horizontal) and [.MuiStepConnector-line](/material-ui/api/step-connector/#step-connector-classes-MuiStepConnector-line) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
20
- */
21
- lineHorizontal: string;
22
- /** Styles applied to the line element if `orientation="vertical"`.
23
- * @deprecated Combine the [.MuiStepConnector-vertical](/material-ui/api/step-connector/#step-connector-classes-MuiStepConnector-vertical) and [.MuiStepConnector-line](/material-ui/api/step-connector/#step-connector-classes-MuiStepConnector-line) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
24
- */
25
- lineVertical: string;
26
18
  }
27
19
  export type StepConnectorClassKey = keyof StepConnectorClasses;
28
20
  export declare function getStepConnectorUtilityClass(slot: string): string;
@@ -15,14 +15,6 @@ export interface StepConnectorClasses {
15
15
  disabled: string;
16
16
  /** Styles applied to the line element. */
17
17
  line: string;
18
- /** Styles applied to the line element if `orientation="horizontal"`.
19
- * @deprecated Combine the [.MuiStepConnector-horizontal](/material-ui/api/step-connector/#step-connector-classes-MuiStepConnector-horizontal) and [.MuiStepConnector-line](/material-ui/api/step-connector/#step-connector-classes-MuiStepConnector-line) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
20
- */
21
- lineHorizontal: string;
22
- /** Styles applied to the line element if `orientation="vertical"`.
23
- * @deprecated Combine the [.MuiStepConnector-vertical](/material-ui/api/step-connector/#step-connector-classes-MuiStepConnector-vertical) and [.MuiStepConnector-line](/material-ui/api/step-connector/#step-connector-classes-MuiStepConnector-line) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
24
- */
25
- lineVertical: string;
26
18
  }
27
19
  export type StepConnectorClassKey = keyof StepConnectorClasses;
28
20
  export declare function getStepConnectorUtilityClass(slot: string): string;
@@ -11,5 +11,5 @@ var _generateUtilityClass = _interopRequireDefault(require("@mui/utils/generateU
11
11
  function getStepConnectorUtilityClass(slot) {
12
12
  return (0, _generateUtilityClass.default)('MuiStepConnector', slot);
13
13
  }
14
- const stepConnectorClasses = (0, _generateUtilityClasses.default)('MuiStepConnector', ['root', 'horizontal', 'vertical', 'alternativeLabel', 'active', 'completed', 'disabled', 'line', 'lineHorizontal', 'lineVertical']);
14
+ const stepConnectorClasses = (0, _generateUtilityClasses.default)('MuiStepConnector', ['root', 'horizontal', 'vertical', 'alternativeLabel', 'active', 'completed', 'disabled', 'line']);
15
15
  var _default = exports.default = stepConnectorClasses;
@@ -3,5 +3,5 @@ import generateUtilityClass from '@mui/utils/generateUtilityClass';
3
3
  export function getStepConnectorUtilityClass(slot) {
4
4
  return generateUtilityClass('MuiStepConnector', slot);
5
5
  }
6
- const stepConnectorClasses = generateUtilityClasses('MuiStepConnector', ['root', 'horizontal', 'vertical', 'alternativeLabel', 'active', 'completed', 'disabled', 'line', 'lineHorizontal', 'lineVertical']);
6
+ const stepConnectorClasses = generateUtilityClasses('MuiStepConnector', ['root', 'horizontal', 'vertical', 'alternativeLabel', 'active', 'completed', 'disabled', 'line']);
7
7
  export default stepConnectorClasses;
@@ -13,7 +13,7 @@ export interface StepContentSlots {
13
13
  * @default Collapse
14
14
  */
15
15
  transition?: React.JSXElementConstructor<TransitionProps & {
16
- children?: React.ReactElement<unknown, any> | undefined;
16
+ children: React.ReactElement<unknown, any>;
17
17
  }> | undefined;
18
18
  }
19
19
  export type StepContentSlotsAndSlotProps = CreateSlotsAndSlotProps<StepContentSlots, {
@@ -37,15 +37,6 @@ export interface StepContentProps extends StandardProps<React.HTMLAttributes<HTM
37
37
  * The system prop that allows defining system overrides as well as additional CSS styles.
38
38
  */
39
39
  sx?: SxProps<Theme> | undefined;
40
- /**
41
- * The component used for the transition.
42
- * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
43
- * @default Collapse
44
- * @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
45
- */
46
- TransitionComponent?: React.JSXElementConstructor<TransitionProps & {
47
- children: React.ReactElement<unknown, any>;
48
- }> | undefined;
49
40
  /**
50
41
  * Adjust the duration of the content expand transition.
51
42
  * Passed as a prop to the transition component.
@@ -54,12 +45,6 @@ export interface StepContentProps extends StandardProps<React.HTMLAttributes<HTM
54
45
  * @default 'auto'
55
46
  */
56
47
  transitionDuration?: TransitionProps['timeout'] | 'auto' | undefined;
57
- /**
58
- * Props applied to the transition element.
59
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
60
- * @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.
61
- */
62
- TransitionProps?: TransitionProps | undefined;
63
48
  }
64
49
  export type StepContentClasskey = keyof NonNullable<StepContentProps['classes']>;
65
50
 
@@ -13,7 +13,7 @@ export interface StepContentSlots {
13
13
  * @default Collapse
14
14
  */
15
15
  transition?: React.JSXElementConstructor<TransitionProps & {
16
- children?: React.ReactElement<unknown, any> | undefined;
16
+ children: React.ReactElement<unknown, any>;
17
17
  }> | undefined;
18
18
  }
19
19
  export type StepContentSlotsAndSlotProps = CreateSlotsAndSlotProps<StepContentSlots, {
@@ -37,15 +37,6 @@ export interface StepContentProps extends StandardProps<React.HTMLAttributes<HTM
37
37
  * The system prop that allows defining system overrides as well as additional CSS styles.
38
38
  */
39
39
  sx?: SxProps<Theme> | undefined;
40
- /**
41
- * The component used for the transition.
42
- * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
43
- * @default Collapse
44
- * @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
45
- */
46
- TransitionComponent?: React.JSXElementConstructor<TransitionProps & {
47
- children: React.ReactElement<unknown, any>;
48
- }> | undefined;
49
40
  /**
50
41
  * Adjust the duration of the content expand transition.
51
42
  * Passed as a prop to the transition component.
@@ -54,12 +45,6 @@ export interface StepContentProps extends StandardProps<React.HTMLAttributes<HTM
54
45
  * @default 'auto'
55
46
  */
56
47
  transitionDuration?: TransitionProps['timeout'] | 'auto' | undefined;
57
- /**
58
- * Props applied to the transition element.
59
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
60
- * @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.
61
- */
62
- TransitionProps?: TransitionProps | undefined;
63
48
  }
64
49
  export type StepContentClasskey = keyof NonNullable<StepContentProps['classes']>;
65
50