@mui/material 5.10.3 → 5.10.4

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 (256) hide show
  1. package/Accordion/accordionClasses.d.ts +18 -18
  2. package/AccordionActions/accordionActionsClasses.d.ts +10 -10
  3. package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
  4. package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
  5. package/Alert/alertClasses.d.ts +44 -44
  6. package/AlertTitle/alertTitleClasses.d.ts +8 -8
  7. package/AppBar/appBarClasses.d.ts +28 -28
  8. package/Autocomplete/autocompleteClasses.d.ts +54 -54
  9. package/Avatar/Avatar.d.ts +1 -1
  10. package/Avatar/avatarClasses.d.ts +20 -20
  11. package/AvatarGroup/AvatarGroup.d.ts +6 -1
  12. package/AvatarGroup/AvatarGroup.js +10 -1
  13. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  14. package/Backdrop/backdropClasses.d.ts +10 -10
  15. package/Badge/Badge.d.ts +2 -2
  16. package/Badge/badgeClasses.d.ts +56 -56
  17. package/BottomNavigation/BottomNavigation.js +0 -0
  18. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  19. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  20. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  21. package/Button/Button.d.ts +2 -2
  22. package/Button/buttonClasses.d.ts +100 -100
  23. package/ButtonBase/ButtonBase.d.ts +1 -1
  24. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  25. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  26. package/ButtonGroup/ButtonGroup.d.ts +1 -1
  27. package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
  28. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  29. package/CHANGELOG.md +51 -0
  30. package/Card/Card.d.ts +1 -1
  31. package/Card/cardClasses.d.ts +8 -8
  32. package/CardActionArea/CardActionArea.d.ts +1 -1
  33. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  34. package/CardActions/CardActions.d.ts +1 -1
  35. package/CardActions/cardActionsClasses.d.ts +10 -10
  36. package/CardContent/CardContent.d.ts +1 -1
  37. package/CardContent/cardContentClasses.d.ts +8 -8
  38. package/CardHeader/CardHeader.d.ts +1 -1
  39. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  40. package/CardMedia/CardMedia.d.ts +1 -1
  41. package/CardMedia/cardMediaClasses.d.ts +12 -12
  42. package/Checkbox/Checkbox.d.ts +1 -1
  43. package/Checkbox/checkboxClasses.d.ts +18 -18
  44. package/Chip/Chip.d.ts +1 -1
  45. package/Chip/chipClasses.d.ts +88 -88
  46. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  47. package/ClickAwayListener/index.d.ts +2 -2
  48. package/Collapse/Collapse.d.ts +1 -1
  49. package/Collapse/collapseClasses.d.ts +18 -18
  50. package/Container/containerClasses.d.ts +6 -6
  51. package/CssBaseline/CssBaseline.d.ts +1 -1
  52. package/Dialog/Dialog.d.ts +1 -1
  53. package/Dialog/DialogContext.d.ts +6 -6
  54. package/Dialog/dialogClasses.d.ts +36 -36
  55. package/DialogActions/DialogActions.d.ts +1 -1
  56. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  57. package/DialogContent/DialogContent.d.ts +1 -1
  58. package/DialogContent/dialogContentClasses.d.ts +10 -10
  59. package/DialogContentText/DialogContentText.d.ts +1 -1
  60. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  61. package/DialogTitle/DialogTitle.d.ts +1 -1
  62. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  63. package/Divider/Divider.d.ts +1 -1
  64. package/Divider/dividerClasses.d.ts +34 -34
  65. package/Drawer/Drawer.d.ts +1 -1
  66. package/Drawer/drawerClasses.d.ts +30 -30
  67. package/Fab/Fab.d.ts +1 -1
  68. package/Fab/fabClasses.d.ts +26 -26
  69. package/FilledInput/FilledInput.d.ts +1 -1
  70. package/FilledInput/filledInputClasses.d.ts +40 -40
  71. package/FormControl/FormControl.d.ts +4 -4
  72. package/FormControl/formControlClasses.d.ts +14 -14
  73. package/FormControlLabel/FormControlLabel.d.ts +3 -3
  74. package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
  75. package/FormGroup/FormGroup.d.ts +2 -2
  76. package/FormGroup/formGroupClasses.d.ts +12 -12
  77. package/FormHelperText/FormHelperText.d.ts +1 -1
  78. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  79. package/FormLabel/FormLabel.d.ts +3 -3
  80. package/FormLabel/formLabelClasses.d.ts +22 -22
  81. package/Grid/gridClasses.d.ts +48 -48
  82. package/Hidden/HiddenJs.d.ts +1 -1
  83. package/Hidden/HiddenJs.js +20 -28
  84. package/Icon/Icon.d.ts +1 -1
  85. package/Icon/iconClasses.d.ts +24 -24
  86. package/IconButton/IconButton.d.ts +1 -1
  87. package/IconButton/iconButtonClasses.d.ts +26 -26
  88. package/ImageList/imageListClasses.d.ts +16 -16
  89. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  90. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  91. package/Input/Input.d.ts +1 -1
  92. package/Input/inputClasses.d.ts +34 -34
  93. package/InputAdornment/InputAdornment.d.ts +1 -1
  94. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  95. package/InputBase/InputBase.d.ts +1 -1
  96. package/InputBase/inputBaseClasses.d.ts +46 -46
  97. package/InputLabel/InputLabel.d.ts +1 -1
  98. package/InputLabel/inputLabelClasses.d.ts +32 -32
  99. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  100. package/Link/getTextDecoration.d.ts +15 -15
  101. package/Link/linkClasses.d.ts +18 -18
  102. package/List/listClasses.d.ts +14 -14
  103. package/ListItem/listItemClasses.d.ts +30 -30
  104. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  105. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  106. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  107. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  108. package/ListItemText/listItemTextClasses.d.ts +18 -18
  109. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  110. package/Menu/Menu.d.ts +1 -1
  111. package/Menu/menuClasses.d.ts +12 -12
  112. package/MenuItem/MenuItem.d.ts +1 -1
  113. package/MenuItem/menuItemClasses.d.ts +20 -20
  114. package/MenuList/MenuList.d.ts +1 -1
  115. package/MobileStepper/MobileStepper.d.ts +1 -1
  116. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  117. package/NativeSelect/NativeSelect.d.ts +1 -1
  118. package/NativeSelect/NativeSelect.js +17 -15
  119. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  120. package/OutlinedInput/OutlinedInput.d.ts +1 -1
  121. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  122. package/OverridableComponentAugmentation.d.ts +31 -31
  123. package/Pagination/paginationClasses.d.ts +14 -14
  124. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  125. package/Paper/Paper.d.ts +1 -1
  126. package/Paper/paperClasses.d.ts +39 -39
  127. package/Popover/Popover.d.ts +1 -1
  128. package/Popover/popoverClasses.d.ts +10 -10
  129. package/Popper/Popper.d.ts +24 -24
  130. package/Popper/Popper.js +1 -1
  131. package/README.md +1 -2
  132. package/Radio/Radio.d.ts +1 -1
  133. package/Radio/radioClasses.d.ts +16 -16
  134. package/RadioGroup/RadioGroup.d.ts +1 -1
  135. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  136. package/RadioGroup/useRadioGroup.d.ts +4 -4
  137. package/Rating/ratingClasses.d.ts +40 -40
  138. package/ScopedCssBaseline/ScopedCssBaseline.d.ts +1 -1
  139. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  140. package/Select/Select.d.ts +1 -1
  141. package/Select/Select.js +38 -36
  142. package/Select/selectClasses.d.ts +30 -30
  143. package/Skeleton/skeletonClasses.d.ts +26 -26
  144. package/Slide/Slide.d.ts +1 -1
  145. package/Snackbar/Snackbar.d.ts +1 -1
  146. package/Snackbar/snackbarClasses.d.ts +20 -20
  147. package/SnackbarContent/SnackbarContent.d.ts +1 -1
  148. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  149. package/SpeedDial/speedDialClasses.d.ts +22 -22
  150. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  151. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  152. package/Step/Step.d.ts +55 -44
  153. package/Step/Step.js +11 -2
  154. package/Step/StepContext.d.ts +20 -20
  155. package/Step/stepClasses.d.ts +16 -16
  156. package/StepButton/StepButton.d.ts +1 -1
  157. package/StepButton/stepButtonClasses.d.ts +14 -14
  158. package/StepConnector/StepConnector.d.ts +1 -1
  159. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  160. package/StepContent/StepContent.d.ts +1 -1
  161. package/StepContent/stepContentClasses.d.ts +12 -12
  162. package/StepIcon/StepIcon.d.ts +1 -1
  163. package/StepIcon/stepIconClasses.d.ts +16 -16
  164. package/StepLabel/StepLabel.d.ts +1 -1
  165. package/StepLabel/stepLabelClasses.d.ts +28 -28
  166. package/Stepper/Stepper.d.ts +54 -43
  167. package/Stepper/Stepper.js +11 -2
  168. package/Stepper/StepperContext.d.ts +18 -18
  169. package/Stepper/stepperClasses.d.ts +14 -14
  170. package/SvgIcon/SvgIcon.d.ts +1 -1
  171. package/SvgIcon/svgIconClasses.d.ts +24 -24
  172. package/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
  173. package/Switch/Switch.d.ts +1 -1
  174. package/Switch/switchClasses.d.ts +32 -32
  175. package/Tab/tabClasses.d.ts +26 -26
  176. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  177. package/Table/Table.d.ts +1 -1
  178. package/Table/tableClasses.d.ts +10 -10
  179. package/TableBody/TableBody.d.ts +1 -1
  180. package/TableBody/tableBodyClasses.d.ts +8 -8
  181. package/TableCell/TableCell.d.ts +1 -1
  182. package/TableCell/tableCellClasses.d.ts +32 -32
  183. package/TableContainer/TableContainer.d.ts +1 -1
  184. package/TableContainer/tableContainerClasses.d.ts +8 -8
  185. package/TableFooter/TableFooter.d.ts +1 -1
  186. package/TableFooter/tableFooterClasses.d.ts +8 -8
  187. package/TableHead/TableHead.d.ts +1 -1
  188. package/TableHead/tableHeadClasses.d.ts +8 -8
  189. package/TablePagination/TablePagination.d.ts +1 -1
  190. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  191. package/TableRow/TableRow.d.ts +1 -1
  192. package/TableRow/tableRowClasses.d.ts +16 -16
  193. package/TableSortLabel/TableSortLabel.d.ts +1 -1
  194. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  195. package/Tabs/tabsClasses.d.ts +32 -32
  196. package/TextField/TextField.d.ts +1 -1
  197. package/TextField/textFieldClasses.d.ts +8 -8
  198. package/ToggleButton/ToggleButton.js +3 -1
  199. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  200. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  201. package/Toolbar/toolbarClasses.d.ts +14 -14
  202. package/Tooltip/Tooltip.d.ts +1 -1
  203. package/Tooltip/tooltipClasses.d.ts +30 -30
  204. package/Typography/typographyClasses.d.ts +50 -50
  205. package/Unstable_Grid2/Grid2.d.ts +4 -4
  206. package/Unstable_Grid2/Grid2Props.d.ts +15 -15
  207. package/Unstable_Grid2/grid2Classes.d.ts +5 -5
  208. package/Unstable_Grid2/index.d.ts +4 -4
  209. package/className/index.d.ts +1 -1
  210. package/darkScrollbar/index.d.ts +28 -28
  211. package/esm/AvatarGroup/AvatarGroup.js +10 -1
  212. package/esm/BottomNavigation/BottomNavigation.js +0 -0
  213. package/esm/Hidden/HiddenJs.js +19 -28
  214. package/esm/NativeSelect/NativeSelect.js +17 -15
  215. package/esm/Popper/Popper.js +1 -1
  216. package/esm/Select/Select.js +38 -36
  217. package/esm/Step/Step.js +11 -2
  218. package/esm/Stepper/Stepper.js +11 -2
  219. package/esm/ToggleButton/ToggleButton.js +3 -1
  220. package/index.js +1 -1
  221. package/internal/switchBaseClasses.d.ts +12 -12
  222. package/legacy/AvatarGroup/AvatarGroup.js +11 -1
  223. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  224. package/legacy/Hidden/HiddenJs.js +19 -28
  225. package/legacy/NativeSelect/NativeSelect.js +17 -15
  226. package/legacy/Popper/Popper.js +1 -1
  227. package/legacy/Select/Select.js +38 -36
  228. package/legacy/Step/Step.js +12 -2
  229. package/legacy/Stepper/Stepper.js +12 -2
  230. package/legacy/ToggleButton/ToggleButton.js +3 -1
  231. package/legacy/index.js +1 -1
  232. package/locale/index.d.ts +71 -71
  233. package/modern/AvatarGroup/AvatarGroup.js +10 -1
  234. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  235. package/modern/Hidden/HiddenJs.js +19 -28
  236. package/modern/NativeSelect/NativeSelect.js +17 -15
  237. package/modern/Popper/Popper.js +1 -1
  238. package/modern/Select/Select.js +38 -36
  239. package/modern/Step/Step.js +11 -2
  240. package/modern/Stepper/Stepper.js +11 -2
  241. package/modern/ToggleButton/ToggleButton.js +3 -1
  242. package/modern/index.js +1 -1
  243. package/package.json +4 -4
  244. package/styles/CssVarsProvider.d.ts +14 -14
  245. package/transitions/index.d.ts +1 -1
  246. package/transitions/transition.d.ts +13 -13
  247. package/transitions/utils.d.ts +23 -23
  248. package/umd/material-ui.development.js +112 -93
  249. package/umd/material-ui.production.min.js +20 -20
  250. package/useMediaQuery/useMediaQuery.d.ts +31 -31
  251. package/useTouchRipple/index.d.ts +1 -1
  252. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  253. package/utils/getScrollbarSize.d.ts +2 -2
  254. package/utils/ownerDocument.d.ts +2 -2
  255. package/utils/ownerWindow.d.ts +2 -2
  256. package/utils/setRef.d.ts +2 -2
@@ -33,7 +33,7 @@ var _StepperContext = _interopRequireDefault(require("./StepperContext"));
33
33
 
34
34
  var _jsxRuntime = require("react/jsx-runtime");
35
35
 
36
- const _excluded = ["activeStep", "alternativeLabel", "children", "className", "connector", "nonLinear", "orientation"];
36
+ const _excluded = ["activeStep", "alternativeLabel", "children", "className", "component", "connector", "nonLinear", "orientation"];
37
37
 
38
38
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
39
39
 
@@ -83,6 +83,7 @@ const Stepper = /*#__PURE__*/React.forwardRef(function Stepper(inProps, ref) {
83
83
  alternativeLabel = false,
84
84
  children,
85
85
  className,
86
+ component = 'div',
86
87
  connector = defaultConnector,
87
88
  nonLinear = false,
88
89
  orientation = 'horizontal'
@@ -90,7 +91,8 @@ const Stepper = /*#__PURE__*/React.forwardRef(function Stepper(inProps, ref) {
90
91
  other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
91
92
  const ownerState = (0, _extends2.default)({}, props, {
92
93
  alternativeLabel,
93
- orientation
94
+ orientation,
95
+ component
94
96
  });
95
97
  const classes = useUtilityClasses(ownerState);
96
98
  const childrenArray = React.Children.toArray(children).filter(Boolean);
@@ -110,6 +112,7 @@ const Stepper = /*#__PURE__*/React.forwardRef(function Stepper(inProps, ref) {
110
112
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_StepperContext.default.Provider, {
111
113
  value: contextValue,
112
114
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(StepperRoot, (0, _extends2.default)({
115
+ as: component,
113
116
  ownerState: ownerState,
114
117
  className: (0, _clsx.default)(classes.root, className),
115
118
  ref: ref
@@ -155,6 +158,12 @@ process.env.NODE_ENV !== "production" ? Stepper.propTypes
155
158
  */
156
159
  className: _propTypes.default.string,
157
160
 
161
+ /**
162
+ * The component used for the root node.
163
+ * Either a string to use a HTML element or a component.
164
+ */
165
+ component: _propTypes.default.elementType,
166
+
158
167
  /**
159
168
  * An element to be placed between each step.
160
169
  * @default <StepConnector />
@@ -1,18 +1,18 @@
1
- import * as React from 'react';
2
- export interface StepperContextType {
3
- activeStep: number;
4
- alternativeLabel: boolean;
5
- connector: React.ReactNode;
6
- nonLinear: boolean;
7
- orientation: 'horizontal' | 'vertical';
8
- }
9
- /**
10
- * Provides information about the current step in Stepper.
11
- */
12
- declare const StepperContext: React.Context<{} | StepperContextType>;
13
- /**
14
- * Returns the current StepperContext or an empty object if no StepperContext
15
- * has been defined in the component tree.
16
- */
17
- export declare function useStepperContext(): StepperContextType | {};
18
- export default StepperContext;
1
+ import * as React from 'react';
2
+ export interface StepperContextType {
3
+ activeStep: number;
4
+ alternativeLabel: boolean;
5
+ connector: React.ReactNode;
6
+ nonLinear: boolean;
7
+ orientation: 'horizontal' | 'vertical';
8
+ }
9
+ /**
10
+ * Provides information about the current step in Stepper.
11
+ */
12
+ declare const StepperContext: React.Context<{} | StepperContextType>;
13
+ /**
14
+ * Returns the current StepperContext or an empty object if no StepperContext
15
+ * has been defined in the component tree.
16
+ */
17
+ export declare function useStepperContext(): StepperContextType | {};
18
+ export default StepperContext;
@@ -1,14 +1,14 @@
1
- export interface StepperClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `orientation="horizontal"`. */
5
- horizontal: string;
6
- /** Styles applied to the root element if `orientation="vertical"`. */
7
- vertical: string;
8
- /** Styles applied to the root element if `alternativeLabel={true}`. */
9
- alternativeLabel: string;
10
- }
11
- export declare type StepperClassKey = keyof StepperClasses;
12
- export declare function getStepperUtilityClass(slot: string): string;
13
- declare const stepperClasses: StepperClasses;
14
- export default stepperClasses;
1
+ export interface StepperClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `orientation="horizontal"`. */
5
+ horizontal: string;
6
+ /** Styles applied to the root element if `orientation="vertical"`. */
7
+ vertical: string;
8
+ /** Styles applied to the root element if `alternativeLabel={true}`. */
9
+ alternativeLabel: string;
10
+ }
11
+ export declare type StepperClassKey = keyof StepperClasses;
12
+ export declare function getStepperUtilityClass(slot: string): string;
13
+ declare const stepperClasses: StepperClasses;
14
+ export default stepperClasses;
@@ -90,7 +90,7 @@ export interface SvgIconTypeMap<P = {}, D extends React.ElementType = 'svg'> {
90
90
  * Demos:
91
91
  *
92
92
  * - [Icons](https://mui.com/material-ui/icons/)
93
- * - [Material icons](https://mui.com/material-ui/material-icons/)
93
+ * - [Material Icons](https://mui.com/material-ui/material-icons/)
94
94
  *
95
95
  * API:
96
96
  *
@@ -1,24 +1,24 @@
1
- export interface SvgIconClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `color="primary"`. */
5
- colorPrimary: string;
6
- /** Styles applied to the root element if `color="secondary"`. */
7
- colorSecondary: string;
8
- /** Styles applied to the root element if `color="action"`. */
9
- colorAction: string;
10
- /** Styles applied to the root element if `color="error"`. */
11
- colorError: string;
12
- /** Styles applied to the root element if `color="disabled"`. */
13
- colorDisabled: string;
14
- /** Styles applied to the root element if `fontSize="inherit"`. */
15
- fontSizeInherit: string;
16
- /** Styles applied to the root element if `fontSize="small"`. */
17
- fontSizeSmall: string;
18
- /** Styles applied to the root element if `fontSize="large"`. */
19
- fontSizeLarge: string;
20
- }
21
- export declare type SvgIconClassKey = keyof SvgIconClasses;
22
- export declare function getSvgIconUtilityClass(slot: string): string;
23
- declare const svgIconClasses: SvgIconClasses;
24
- export default svgIconClasses;
1
+ export interface SvgIconClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `color="primary"`. */
5
+ colorPrimary: string;
6
+ /** Styles applied to the root element if `color="secondary"`. */
7
+ colorSecondary: string;
8
+ /** Styles applied to the root element if `color="action"`. */
9
+ colorAction: string;
10
+ /** Styles applied to the root element if `color="error"`. */
11
+ colorError: string;
12
+ /** Styles applied to the root element if `color="disabled"`. */
13
+ colorDisabled: string;
14
+ /** Styles applied to the root element if `fontSize="inherit"`. */
15
+ fontSizeInherit: string;
16
+ /** Styles applied to the root element if `fontSize="small"`. */
17
+ fontSizeSmall: string;
18
+ /** Styles applied to the root element if `fontSize="large"`. */
19
+ fontSizeLarge: string;
20
+ }
21
+ export declare type SvgIconClassKey = keyof SvgIconClasses;
22
+ export declare function getSvgIconUtilityClass(slot: string): string;
23
+ declare const svgIconClasses: SvgIconClasses;
24
+ export default svgIconClasses;
@@ -65,7 +65,7 @@ export interface SwipeableDrawerProps extends Omit<DrawerProps, 'onClose' | 'ope
65
65
  *
66
66
  * Demos:
67
67
  *
68
- * - [Drawers](https://mui.com/material-ui/react-drawer/)
68
+ * - [Drawer](https://mui.com/material-ui/react-drawer/)
69
69
  *
70
70
  * API:
71
71
  *
@@ -58,7 +58,7 @@ export interface SwitchProps
58
58
  *
59
59
  * Demos:
60
60
  *
61
- * - [Switches](https://mui.com/material-ui/react-switch/)
61
+ * - [Switch](https://mui.com/material-ui/react-switch/)
62
62
  * - [Transfer list](https://mui.com/material-ui/react-transfer-list/)
63
63
  *
64
64
  * API:
@@ -1,32 +1,32 @@
1
- export interface SwitchClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `edge="start"`. */
5
- edgeStart: string;
6
- /** Styles applied to the root element if `edge="end"`. */
7
- edgeEnd: string;
8
- /** Styles applied to the internal `SwitchBase` component's `root` class. */
9
- switchBase: string;
10
- /** Styles applied to the internal SwitchBase component's root element if `color="primary"`. */
11
- colorPrimary: string;
12
- /** Styles applied to the internal SwitchBase component's root element if `color="secondary"`. */
13
- colorSecondary: string;
14
- /** Styles applied to the root element if `size="small"`. */
15
- sizeSmall: string;
16
- /** Styles applied to the root element if `size="medium"`. */
17
- sizeMedium: string;
18
- /** State class applied to the internal `SwitchBase` component's `checked` class. */
19
- checked: string;
20
- /** State class applied to the internal SwitchBase component's disabled class. */
21
- disabled: string;
22
- /** Styles applied to the internal SwitchBase component's input element. */
23
- input: string;
24
- /** Styles used to create the thumb passed to the internal `SwitchBase` component `icon` prop. */
25
- thumb: string;
26
- /** Styles applied to the track element. */
27
- track: string;
28
- }
29
- export declare type SwitchClassKey = keyof SwitchClasses;
30
- export declare function getSwitchUtilityClass(slot: string): string;
31
- declare const switchClasses: SwitchClasses;
32
- export default switchClasses;
1
+ export interface SwitchClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `edge="start"`. */
5
+ edgeStart: string;
6
+ /** Styles applied to the root element if `edge="end"`. */
7
+ edgeEnd: string;
8
+ /** Styles applied to the internal `SwitchBase` component's `root` class. */
9
+ switchBase: string;
10
+ /** Styles applied to the internal SwitchBase component's root element if `color="primary"`. */
11
+ colorPrimary: string;
12
+ /** Styles applied to the internal SwitchBase component's root element if `color="secondary"`. */
13
+ colorSecondary: string;
14
+ /** Styles applied to the root element if `size="small"`. */
15
+ sizeSmall: string;
16
+ /** Styles applied to the root element if `size="medium"`. */
17
+ sizeMedium: string;
18
+ /** State class applied to the internal `SwitchBase` component's `checked` class. */
19
+ checked: string;
20
+ /** State class applied to the internal SwitchBase component's disabled class. */
21
+ disabled: string;
22
+ /** Styles applied to the internal SwitchBase component's input element. */
23
+ input: string;
24
+ /** Styles used to create the thumb passed to the internal `SwitchBase` component `icon` prop. */
25
+ thumb: string;
26
+ /** Styles applied to the track element. */
27
+ track: string;
28
+ }
29
+ export declare type SwitchClassKey = keyof SwitchClasses;
30
+ export declare function getSwitchUtilityClass(slot: string): string;
31
+ declare const switchClasses: SwitchClasses;
32
+ export default switchClasses;
@@ -1,26 +1,26 @@
1
- export interface TabClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if both `icon` and `label` are provided. */
5
- labelIcon: string;
6
- /** Styles applied to the root element if the parent [`Tabs`](/material-ui/api/tabs/) has `textColor="inherit"`. */
7
- textColorInherit: string;
8
- /** Styles applied to the root element if the parent [`Tabs`](/material-ui/api/tabs/) has `textColor="primary"`. */
9
- textColorPrimary: string;
10
- /** Styles applied to the root element if the parent [`Tabs`](/material-ui/api/tabs/) has `textColor="secondary"`. */
11
- textColorSecondary: string;
12
- /** State class applied to the root element if `selected={true}` (controlled by the Tabs component). */
13
- selected: string;
14
- /** State class applied to the root element if `disabled={true}` (controlled by the Tabs component). */
15
- disabled: string;
16
- /** Styles applied to the root element if `fullWidth={true}` (controlled by the Tabs component). */
17
- fullWidth: string;
18
- /** Styles applied to the root element if `wrapped={true}`. */
19
- wrapped: string;
20
- /** Styles applied to the wrapper element of `icon` if `icon` is provided. */
21
- iconWrapper: string;
22
- }
23
- export declare type TabClassKey = keyof TabClasses;
24
- export declare function getTabUtilityClass(slot: string): string;
25
- declare const tabClasses: TabClasses;
26
- export default tabClasses;
1
+ export interface TabClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if both `icon` and `label` are provided. */
5
+ labelIcon: string;
6
+ /** Styles applied to the root element if the parent [`Tabs`](/material-ui/api/tabs/) has `textColor="inherit"`. */
7
+ textColorInherit: string;
8
+ /** Styles applied to the root element if the parent [`Tabs`](/material-ui/api/tabs/) has `textColor="primary"`. */
9
+ textColorPrimary: string;
10
+ /** Styles applied to the root element if the parent [`Tabs`](/material-ui/api/tabs/) has `textColor="secondary"`. */
11
+ textColorSecondary: string;
12
+ /** State class applied to the root element if `selected={true}` (controlled by the Tabs component). */
13
+ selected: string;
14
+ /** State class applied to the root element if `disabled={true}` (controlled by the Tabs component). */
15
+ disabled: string;
16
+ /** Styles applied to the root element if `fullWidth={true}` (controlled by the Tabs component). */
17
+ fullWidth: string;
18
+ /** Styles applied to the root element if `wrapped={true}`. */
19
+ wrapped: string;
20
+ /** Styles applied to the wrapper element of `icon` if `icon` is provided. */
21
+ iconWrapper: string;
22
+ }
23
+ export declare type TabClassKey = keyof TabClasses;
24
+ export declare function getTabUtilityClass(slot: string): string;
25
+ declare const tabClasses: TabClasses;
26
+ export default tabClasses;
@@ -1,12 +1,12 @@
1
- export interface TabScrollButtonClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `orientation="vertical"`. */
5
- vertical: string;
6
- /** State class applied to the root element if `disabled={true}`. */
7
- disabled: string;
8
- }
9
- export declare type TabScrollButtonClassKey = keyof TabScrollButtonClasses;
10
- export declare function getTabScrollButtonUtilityClass(slot: string): string;
11
- declare const tabScrollButtonClasses: TabScrollButtonClasses;
12
- export default tabScrollButtonClasses;
1
+ export interface TabScrollButtonClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `orientation="vertical"`. */
5
+ vertical: string;
6
+ /** State class applied to the root element if `disabled={true}`. */
7
+ disabled: string;
8
+ }
9
+ export declare type TabScrollButtonClassKey = keyof TabScrollButtonClasses;
10
+ export declare function getTabScrollButtonUtilityClass(slot: string): string;
11
+ declare const tabScrollButtonClasses: TabScrollButtonClasses;
12
+ export default tabScrollButtonClasses;
package/Table/Table.d.ts CHANGED
@@ -45,7 +45,7 @@ export interface TableTypeMap<P = {}, D extends React.ElementType = 'table'> {
45
45
  *
46
46
  * Demos:
47
47
  *
48
- * - [Tables](https://mui.com/material-ui/react-table/)
48
+ * - [Table](https://mui.com/material-ui/react-table/)
49
49
  *
50
50
  * API:
51
51
  *
@@ -1,10 +1,10 @@
1
- export interface TableClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `stickyHeader={true}`. */
5
- stickyHeader: string;
6
- }
7
- export declare type TableClassKey = keyof TableClasses;
8
- export declare function getTableUtilityClass(slot: string): string;
9
- declare const tableClasses: TableClasses;
10
- export default tableClasses;
1
+ export interface TableClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `stickyHeader={true}`. */
5
+ stickyHeader: string;
6
+ }
7
+ export declare type TableClassKey = keyof TableClasses;
8
+ export declare function getTableUtilityClass(slot: string): string;
9
+ declare const tableClasses: TableClasses;
10
+ export default tableClasses;
@@ -25,7 +25,7 @@ export interface TableBodyTypeMap<P = {}, D extends React.ElementType = 'tbody'>
25
25
  *
26
26
  * Demos:
27
27
  *
28
- * - [Tables](https://mui.com/material-ui/react-table/)
28
+ * - [Table](https://mui.com/material-ui/react-table/)
29
29
  *
30
30
  * API:
31
31
  *
@@ -1,8 +1,8 @@
1
- export interface TableBodyClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- }
5
- export declare type TableBodyClassKey = keyof TableBodyClasses;
6
- export declare function getTableBodyUtilityClass(slot: string): string;
7
- declare const tableBodyClasses: TableBodyClasses;
8
- export default tableBodyClasses;
1
+ export interface TableBodyClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ }
5
+ export declare type TableBodyClassKey = keyof TableBodyClasses;
6
+ export declare function getTableBodyUtilityClass(slot: string): string;
7
+ declare const tableBodyClasses: TableBodyClasses;
8
+ export default tableBodyClasses;
@@ -77,7 +77,7 @@ export type SortDirection = 'asc' | 'desc' | false;
77
77
  *
78
78
  * Demos:
79
79
  *
80
- * - [Tables](https://mui.com/material-ui/react-table/)
80
+ * - [Table](https://mui.com/material-ui/react-table/)
81
81
  *
82
82
  * API:
83
83
  *
@@ -1,32 +1,32 @@
1
- export interface TableCellClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `variant="head"` or `context.table.head`. */
5
- head: string;
6
- /** Styles applied to the root element if `variant="body"` or `context.table.body`. */
7
- body: string;
8
- /** Styles applied to the root element if `variant="footer"` or `context.table.footer`. */
9
- footer: string;
10
- /** Styles applied to the root element if `size="small"`. */
11
- sizeSmall: string;
12
- /** Styles applied to the root element if `size="medium"`. */
13
- sizeMedium: string;
14
- /** Styles applied to the root element if `padding="checkbox"`. */
15
- paddingCheckbox: string;
16
- /** Styles applied to the root element if `padding="none"`. */
17
- paddingNone: string;
18
- /** Styles applied to the root element if `align="left"`. */
19
- alignLeft: string;
20
- /** Styles applied to the root element if `align="center"`. */
21
- alignCenter: string;
22
- /** Styles applied to the root element if `align="right"`. */
23
- alignRight: string;
24
- /** Styles applied to the root element if `align="justify"`. */
25
- alignJustify: string;
26
- /** Styles applied to the root element if `context.table.stickyHeader={true}`. */
27
- stickyHeader: string;
28
- }
29
- export declare type TableCellClassKey = keyof TableCellClasses;
30
- export declare function getTableCellUtilityClass(slot: string): string;
31
- declare const tableCellClasses: TableCellClasses;
32
- export default tableCellClasses;
1
+ export interface TableCellClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `variant="head"` or `context.table.head`. */
5
+ head: string;
6
+ /** Styles applied to the root element if `variant="body"` or `context.table.body`. */
7
+ body: string;
8
+ /** Styles applied to the root element if `variant="footer"` or `context.table.footer`. */
9
+ footer: string;
10
+ /** Styles applied to the root element if `size="small"`. */
11
+ sizeSmall: string;
12
+ /** Styles applied to the root element if `size="medium"`. */
13
+ sizeMedium: string;
14
+ /** Styles applied to the root element if `padding="checkbox"`. */
15
+ paddingCheckbox: string;
16
+ /** Styles applied to the root element if `padding="none"`. */
17
+ paddingNone: string;
18
+ /** Styles applied to the root element if `align="left"`. */
19
+ alignLeft: string;
20
+ /** Styles applied to the root element if `align="center"`. */
21
+ alignCenter: string;
22
+ /** Styles applied to the root element if `align="right"`. */
23
+ alignRight: string;
24
+ /** Styles applied to the root element if `align="justify"`. */
25
+ alignJustify: string;
26
+ /** Styles applied to the root element if `context.table.stickyHeader={true}`. */
27
+ stickyHeader: string;
28
+ }
29
+ export declare type TableCellClassKey = keyof TableCellClasses;
30
+ export declare function getTableCellUtilityClass(slot: string): string;
31
+ declare const tableCellClasses: TableCellClasses;
32
+ export default tableCellClasses;
@@ -25,7 +25,7 @@ export interface TableContainerTypeMap<P = {}, D extends React.ElementType = 'di
25
25
  *
26
26
  * Demos:
27
27
  *
28
- * - [Tables](https://mui.com/material-ui/react-table/)
28
+ * - [Table](https://mui.com/material-ui/react-table/)
29
29
  *
30
30
  * API:
31
31
  *
@@ -1,8 +1,8 @@
1
- export interface TableContainerClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- }
5
- export declare type TableContainerClassKey = keyof TableContainerClasses;
6
- export declare function getTableContainerUtilityClass(slot: string): string;
7
- declare const tableContainerClasses: TableContainerClasses;
8
- export default tableContainerClasses;
1
+ export interface TableContainerClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ }
5
+ export declare type TableContainerClassKey = keyof TableContainerClasses;
6
+ export declare function getTableContainerUtilityClass(slot: string): string;
7
+ declare const tableContainerClasses: TableContainerClasses;
8
+ export default tableContainerClasses;
@@ -25,7 +25,7 @@ export interface TableFooterTypeMap<P = {}, D extends React.ElementType = 'tfoot
25
25
  *
26
26
  * Demos:
27
27
  *
28
- * - [Tables](https://mui.com/material-ui/react-table/)
28
+ * - [Table](https://mui.com/material-ui/react-table/)
29
29
  *
30
30
  * API:
31
31
  *
@@ -1,8 +1,8 @@
1
- export interface TableFooterClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- }
5
- export declare type TableFooterClassKey = keyof TableFooterClasses;
6
- export declare function getTableFooterUtilityClass(slot: string): string;
7
- declare const tableFooterClasses: TableFooterClasses;
8
- export default tableFooterClasses;
1
+ export interface TableFooterClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ }
5
+ export declare type TableFooterClassKey = keyof TableFooterClasses;
6
+ export declare function getTableFooterUtilityClass(slot: string): string;
7
+ declare const tableFooterClasses: TableFooterClasses;
8
+ export default tableFooterClasses;
@@ -25,7 +25,7 @@ export interface TableHeadTypeMap<P = {}, D extends React.ElementType = 'thead'>
25
25
  *
26
26
  * Demos:
27
27
  *
28
- * - [Tables](https://mui.com/material-ui/react-table/)
28
+ * - [Table](https://mui.com/material-ui/react-table/)
29
29
  *
30
30
  * API:
31
31
  *
@@ -1,8 +1,8 @@
1
- export interface TableHeadClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- }
5
- export declare type TableHeadClassKey = keyof TableHeadClasses;
6
- export declare function getTableHeadUtilityClass(slot: string): string;
7
- declare const tableHeadClasses: TableHeadClasses;
8
- export default tableHeadClasses;
1
+ export interface TableHeadClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ }
5
+ export declare type TableHeadClassKey = keyof TableHeadClasses;
6
+ export declare function getTableHeadUtilityClass(slot: string): string;
7
+ declare const tableHeadClasses: TableHeadClasses;
8
+ export default tableHeadClasses;
@@ -129,7 +129,7 @@ export interface TablePaginationTypeMap<P, D extends React.ElementType> {
129
129
  *
130
130
  * Demos:
131
131
  *
132
- * - [Tables](https://mui.com/material-ui/react-table/)
132
+ * - [Table](https://mui.com/material-ui/react-table/)
133
133
  *
134
134
  * API:
135
135
  *
@@ -1,28 +1,28 @@
1
- export interface TablePaginationClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the Toolbar component. */
5
- toolbar: string;
6
- /** Styles applied to the spacer element. */
7
- spacer: string;
8
- /** Styles applied to the select label Typography element. */
9
- selectLabel: string;
10
- /** Styles applied to the Select component `root` element. */
11
- selectRoot: string;
12
- /** Styles applied to the Select component `select` class. */
13
- select: string;
14
- /** Styles applied to the Select component `icon` class. */
15
- selectIcon: string;
16
- /** Styles applied to the Select component `root` element. */
17
- input: string;
18
- /** Styles applied to the MenuItem component. */
19
- menuItem: string;
20
- /** Styles applied to the displayed rows Typography element. */
21
- displayedRows: string;
22
- /** Styles applied to the internal `TablePaginationActions` component. */
23
- actions: string;
24
- }
25
- export declare type TablePaginationClassKey = keyof TablePaginationClasses;
26
- export declare function getTablePaginationUtilityClass(slot: string): string;
27
- declare const tablePaginationClasses: TablePaginationClasses;
28
- export default tablePaginationClasses;
1
+ export interface TablePaginationClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the Toolbar component. */
5
+ toolbar: string;
6
+ /** Styles applied to the spacer element. */
7
+ spacer: string;
8
+ /** Styles applied to the select label Typography element. */
9
+ selectLabel: string;
10
+ /** Styles applied to the Select component `root` element. */
11
+ selectRoot: string;
12
+ /** Styles applied to the Select component `select` class. */
13
+ select: string;
14
+ /** Styles applied to the Select component `icon` class. */
15
+ selectIcon: string;
16
+ /** Styles applied to the Select component `root` element. */
17
+ input: string;
18
+ /** Styles applied to the MenuItem component. */
19
+ menuItem: string;
20
+ /** Styles applied to the displayed rows Typography element. */
21
+ displayedRows: string;
22
+ /** Styles applied to the internal `TablePaginationActions` component. */
23
+ actions: string;
24
+ }
25
+ export declare type TablePaginationClassKey = keyof TablePaginationClasses;
26
+ export declare function getTablePaginationUtilityClass(slot: string): string;
27
+ declare const tablePaginationClasses: TablePaginationClasses;
28
+ export default tablePaginationClasses;
@@ -37,7 +37,7 @@ export interface TableRowTypeMap<P = {}, D extends React.ElementType = 'tr'> {
37
37
  *
38
38
  * Demos:
39
39
  *
40
- * - [Tables](https://mui.com/material-ui/react-table/)
40
+ * - [Table](https://mui.com/material-ui/react-table/)
41
41
  *
42
42
  * API:
43
43
  *