@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
@@ -1,40 +1,40 @@
1
- export interface FilledInputClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if color secondary. */
5
- colorSecondary: string;
6
- /** Styles applied to the root element unless `disableUnderline={true}`. */
7
- underline: string;
8
- /** State class applied to the root element if the component is focused. */
9
- focused: string;
10
- /** State class applied to the root element if `disabled={true}`. */
11
- disabled: string;
12
- /** Styles applied to the root element if `startAdornment` is provided. */
13
- adornedStart: string;
14
- /** Styles applied to the root element if `endAdornment` is provided. */
15
- adornedEnd: string;
16
- /** State class applied to the root element if `error={true}`. */
17
- error: string;
18
- /** Styles applied to the input element if `size="small"`. */
19
- sizeSmall: string;
20
- /** Styles applied to the root element if `multiline={true}`. */
21
- multiline: string;
22
- /** Styles applied to the root element if `hiddenLabel={true}`. */
23
- hiddenLabel: string;
24
- /** Styles applied to the input element. */
25
- input: string;
26
- /** Styles applied to the input element if `size="small"`. */
27
- inputSizeSmall: string;
28
- /** Styles applied to the `input` if in `<FormControl hiddenLabel />`. */
29
- inputHiddenLabel: string;
30
- /** Styles applied to the input element if `multiline={true}`. */
31
- inputMultiline: string;
32
- /** Styles applied to the input element if `startAdornment` is provided. */
33
- inputAdornedStart: string;
34
- /** Styles applied to the input element if `endAdornment` is provided. */
35
- inputAdornedEnd: string;
36
- }
37
- export declare type FilledInputClassKey = keyof FilledInputClasses;
38
- export declare function getFilledInputUtilityClass(slot: string): string;
39
- declare const filledInputClasses: FilledInputClasses;
40
- export default filledInputClasses;
1
+ export interface FilledInputClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if color secondary. */
5
+ colorSecondary: string;
6
+ /** Styles applied to the root element unless `disableUnderline={true}`. */
7
+ underline: string;
8
+ /** State class applied to the root element if the component is focused. */
9
+ focused: string;
10
+ /** State class applied to the root element if `disabled={true}`. */
11
+ disabled: string;
12
+ /** Styles applied to the root element if `startAdornment` is provided. */
13
+ adornedStart: string;
14
+ /** Styles applied to the root element if `endAdornment` is provided. */
15
+ adornedEnd: string;
16
+ /** State class applied to the root element if `error={true}`. */
17
+ error: string;
18
+ /** Styles applied to the input element if `size="small"`. */
19
+ sizeSmall: string;
20
+ /** Styles applied to the root element if `multiline={true}`. */
21
+ multiline: string;
22
+ /** Styles applied to the root element if `hiddenLabel={true}`. */
23
+ hiddenLabel: string;
24
+ /** Styles applied to the input element. */
25
+ input: string;
26
+ /** Styles applied to the input element if `size="small"`. */
27
+ inputSizeSmall: string;
28
+ /** Styles applied to the `input` if in `<FormControl hiddenLabel />`. */
29
+ inputHiddenLabel: string;
30
+ /** Styles applied to the input element if `multiline={true}`. */
31
+ inputMultiline: string;
32
+ /** Styles applied to the input element if `startAdornment` is provided. */
33
+ inputAdornedStart: string;
34
+ /** Styles applied to the input element if `endAdornment` is provided. */
35
+ inputAdornedEnd: string;
36
+ }
37
+ export declare type FilledInputClassKey = keyof FilledInputClasses;
38
+ export declare function getFilledInputUtilityClass(slot: string): string;
39
+ declare const filledInputClasses: FilledInputClasses;
40
+ export default filledInputClasses;
@@ -108,10 +108,10 @@ export interface FormControlTypeMap<P = {}, D extends React.ElementType = 'div'>
108
108
  *
109
109
  * Demos:
110
110
  *
111
- * - [Checkboxes](https://mui.com/material-ui/react-checkbox/)
112
- * - [Radio buttons](https://mui.com/material-ui/react-radio-button/)
113
- * - [Switches](https://mui.com/material-ui/react-switch/)
114
- * - [Text fields](https://mui.com/material-ui/react-text-field/)
111
+ * - [Checkbox](https://mui.com/material-ui/react-checkbox/)
112
+ * - [Radio button](https://mui.com/material-ui/react-radio-button/)
113
+ * - [Switch](https://mui.com/material-ui/react-switch/)
114
+ * - [Text Field](https://mui.com/material-ui/react-text-field/)
115
115
  *
116
116
  * API:
117
117
  *
@@ -1,14 +1,14 @@
1
- export interface FormControlClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `margin="normal"`. */
5
- marginNormal: string;
6
- /** Styles applied to the root element if `margin="dense"`. */
7
- marginDense: string;
8
- /** Styles applied to the root element if `fullWidth={true}`. */
9
- fullWidth: string;
10
- }
11
- export declare type FormControlClassKey = keyof FormControlClasses;
12
- export declare function getFormControlUtilityClasses(slot: string): string;
13
- declare const formControlClasses: FormControlClasses;
14
- export default formControlClasses;
1
+ export interface FormControlClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `margin="normal"`. */
5
+ marginNormal: string;
6
+ /** Styles applied to the root element if `margin="dense"`. */
7
+ marginDense: string;
8
+ /** Styles applied to the root element if `fullWidth={true}`. */
9
+ fullWidth: string;
10
+ }
11
+ export declare type FormControlClassKey = keyof FormControlClasses;
12
+ export declare function getFormControlUtilityClasses(slot: string): string;
13
+ declare const formControlClasses: FormControlClasses;
14
+ export default formControlClasses;
@@ -75,9 +75,9 @@ export interface FormControlLabelProps
75
75
  *
76
76
  * Demos:
77
77
  *
78
- * - [Checkboxes](https://mui.com/material-ui/react-checkbox/)
79
- * - [Radio buttons](https://mui.com/material-ui/react-radio-button/)
80
- * - [Switches](https://mui.com/material-ui/react-switch/)
78
+ * - [Checkbox](https://mui.com/material-ui/react-checkbox/)
79
+ * - [Radio button](https://mui.com/material-ui/react-radio-button/)
80
+ * - [Switch](https://mui.com/material-ui/react-switch/)
81
81
  *
82
82
  * API:
83
83
  *
@@ -1,20 +1,20 @@
1
- export interface FormControlLabelClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `labelPlacement="start"`. */
5
- labelPlacementStart: string;
6
- /** Styles applied to the root element if `labelPlacement="top"`. */
7
- labelPlacementTop: string;
8
- /** Styles applied to the root element if `labelPlacement="bottom"`. */
9
- labelPlacementBottom: string;
10
- /** State class applied to the root element if `disabled={true}`. */
11
- disabled: string;
12
- /** Styles applied to the label's Typography component. */
13
- label: string;
14
- /** State class applied to the root element if `error={true}`. */
15
- error: string;
16
- }
17
- export declare type FormControlLabelClassKey = keyof FormControlLabelClasses;
18
- export declare function getFormControlLabelUtilityClasses(slot: string): string;
19
- declare const formControlLabelClasses: FormControlLabelClasses;
20
- export default formControlLabelClasses;
1
+ export interface FormControlLabelClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `labelPlacement="start"`. */
5
+ labelPlacementStart: string;
6
+ /** Styles applied to the root element if `labelPlacement="top"`. */
7
+ labelPlacementTop: string;
8
+ /** Styles applied to the root element if `labelPlacement="bottom"`. */
9
+ labelPlacementBottom: string;
10
+ /** State class applied to the root element if `disabled={true}`. */
11
+ disabled: string;
12
+ /** Styles applied to the label's Typography component. */
13
+ label: string;
14
+ /** State class applied to the root element if `error={true}`. */
15
+ error: string;
16
+ }
17
+ export declare type FormControlLabelClassKey = keyof FormControlLabelClasses;
18
+ export declare function getFormControlLabelUtilityClasses(slot: string): string;
19
+ declare const formControlLabelClasses: FormControlLabelClasses;
20
+ export default formControlLabelClasses;
@@ -30,8 +30,8 @@ export interface FormGroupProps extends StandardProps<React.HTMLAttributes<HTMLD
30
30
  *
31
31
  * Demos:
32
32
  *
33
- * - [Checkboxes](https://mui.com/material-ui/react-checkbox/)
34
- * - [Switches](https://mui.com/material-ui/react-switch/)
33
+ * - [Checkbox](https://mui.com/material-ui/react-checkbox/)
34
+ * - [Switch](https://mui.com/material-ui/react-switch/)
35
35
  *
36
36
  * API:
37
37
  *
@@ -1,12 +1,12 @@
1
- export interface FormGroupClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `row={true}`. */
5
- row: string;
6
- /** State class applied to the root element if `error={true}`. */
7
- error: string;
8
- }
9
- export declare type FormGroupClassKey = keyof FormGroupClasses;
10
- export declare function getFormGroupUtilityClass(slot: string): string;
11
- declare const formGroupClasses: FormGroupClasses;
12
- export default formGroupClasses;
1
+ export interface FormGroupClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `row={true}`. */
5
+ row: string;
6
+ /** State class applied to the root element if `error={true}`. */
7
+ error: string;
8
+ }
9
+ export declare type FormGroupClassKey = keyof FormGroupClasses;
10
+ export declare function getFormGroupUtilityClass(slot: string): string;
11
+ declare const formGroupClasses: FormGroupClasses;
12
+ export default formGroupClasses;
@@ -62,7 +62,7 @@ export interface FormHelperTextTypeMap<P = {}, D extends React.ElementType = 'p'
62
62
  *
63
63
  * Demos:
64
64
  *
65
- * - [Text fields](https://mui.com/material-ui/react-text-field/)
65
+ * - [Text Field](https://mui.com/material-ui/react-text-field/)
66
66
  *
67
67
  * API:
68
68
  *
@@ -1,22 +1,22 @@
1
- export interface FormHelperTextClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** State class applied to the root element if `error={true}`. */
5
- error: string;
6
- /** State class applied to the root element if `disabled={true}`. */
7
- disabled: string;
8
- /** Styles applied to the root element if `size="small"`. */
9
- sizeSmall: string;
10
- /** Styles applied to the root element if `variant="filled"` or `variant="outlined"`. */
11
- contained: string;
12
- /** State class applied to the root element if `focused={true}`. */
13
- focused: string;
14
- /** State class applied to the root element if `filled={true}`. */
15
- filled: string;
16
- /** State class applied to the root element if `required={true}`. */
17
- required: string;
18
- }
19
- export declare type FormHelperTextClassKey = keyof FormHelperTextClasses;
20
- export declare function getFormHelperTextUtilityClasses(slot: string): string;
21
- declare const formHelperTextClasses: FormHelperTextClasses;
22
- export default formHelperTextClasses;
1
+ export interface FormHelperTextClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** State class applied to the root element if `error={true}`. */
5
+ error: string;
6
+ /** State class applied to the root element if `disabled={true}`. */
7
+ disabled: string;
8
+ /** Styles applied to the root element if `size="small"`. */
9
+ sizeSmall: string;
10
+ /** Styles applied to the root element if `variant="filled"` or `variant="outlined"`. */
11
+ contained: string;
12
+ /** State class applied to the root element if `focused={true}`. */
13
+ focused: string;
14
+ /** State class applied to the root element if `filled={true}`. */
15
+ filled: string;
16
+ /** State class applied to the root element if `required={true}`. */
17
+ required: string;
18
+ }
19
+ export declare type FormHelperTextClassKey = keyof FormHelperTextClasses;
20
+ export declare function getFormHelperTextUtilityClasses(slot: string): string;
21
+ declare const formHelperTextClasses: FormHelperTextClasses;
22
+ export default formHelperTextClasses;
@@ -59,9 +59,9 @@ export interface FormLabelTypeMap<P = {}, D extends React.ElementType = 'label'>
59
59
  *
60
60
  * Demos:
61
61
  *
62
- * - [Checkboxes](https://mui.com/material-ui/react-checkbox/)
63
- * - [Radio buttons](https://mui.com/material-ui/react-radio-button/)
64
- * - [Switches](https://mui.com/material-ui/react-switch/)
62
+ * - [Checkbox](https://mui.com/material-ui/react-checkbox/)
63
+ * - [Radio button](https://mui.com/material-ui/react-radio-button/)
64
+ * - [Switch](https://mui.com/material-ui/react-switch/)
65
65
  *
66
66
  * API:
67
67
  *
@@ -1,22 +1,22 @@
1
- export interface FormLabelClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if the color is secondary. */
5
- colorSecondary: string;
6
- /** State class applied to the root element if `focused={true}`. */
7
- focused: string;
8
- /** State class applied to the root element if `disabled={true}`. */
9
- disabled: string;
10
- /** State class applied to the root element if `error={true}`. */
11
- error: string;
12
- /** State class applied to the root element if `filled={true}`. */
13
- filled: string;
14
- /** State class applied to the root element if `required={true}`. */
15
- required: string;
16
- /** Styles applied to the asterisk element. */
17
- asterisk: string;
18
- }
19
- export declare type FormLabelClassKey = keyof FormLabelClasses;
20
- export declare function getFormLabelUtilityClasses(slot: string): string;
21
- declare const formLabelClasses: FormLabelClasses;
22
- export default formLabelClasses;
1
+ export interface FormLabelClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if the color is secondary. */
5
+ colorSecondary: string;
6
+ /** State class applied to the root element if `focused={true}`. */
7
+ focused: string;
8
+ /** State class applied to the root element if `disabled={true}`. */
9
+ disabled: string;
10
+ /** State class applied to the root element if `error={true}`. */
11
+ error: string;
12
+ /** State class applied to the root element if `filled={true}`. */
13
+ filled: string;
14
+ /** State class applied to the root element if `required={true}`. */
15
+ required: string;
16
+ /** Styles applied to the asterisk element. */
17
+ asterisk: string;
18
+ }
19
+ export declare type FormLabelClassKey = keyof FormLabelClasses;
20
+ export declare function getFormLabelUtilityClasses(slot: string): string;
21
+ declare const formLabelClasses: FormLabelClasses;
22
+ export default formLabelClasses;
@@ -1,48 +1,48 @@
1
- export interface GridClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `container={true}`. */
5
- container: string;
6
- /** Styles applied to the root element if `item={true}`. */
7
- item: string;
8
- /** Styles applied to the root element if `zeroMinWidth={true}`. */
9
- zeroMinWidth: string;
10
- /** Styles applied to the root element if `direction="column"`. */
11
- 'direction-xs-column': string;
12
- /** Styles applied to the root element if `direction="column-reverse"`. */
13
- 'direction-xs-column-reverse': string;
14
- /** Styles applied to the root element if `direction="row-reverse"`. */
15
- 'direction-xs-row-reverse': string;
16
- /** Styles applied to the root element if `wrap="nowrap"`. */
17
- 'wrap-xs-nowrap': string;
18
- /** Styles applied to the root element if `wrap="reverse"`. */
19
- 'wrap-xs-wrap-reverse': string;
20
- 'spacing-xs-1': string;
21
- 'spacing-xs-2': string;
22
- 'spacing-xs-3': string;
23
- 'spacing-xs-4': string;
24
- 'spacing-xs-5': string;
25
- 'spacing-xs-6': string;
26
- 'spacing-xs-7': string;
27
- 'spacing-xs-8': string;
28
- 'spacing-xs-9': string;
29
- 'spacing-xs-10': string;
30
- 'grid-xs-auto': string;
31
- 'grid-xs-true': string;
32
- 'grid-xs-1': string;
33
- 'grid-xs-2': string;
34
- 'grid-xs-3': string;
35
- 'grid-xs-4': string;
36
- 'grid-xs-5': string;
37
- 'grid-xs-6': string;
38
- 'grid-xs-7': string;
39
- 'grid-xs-8': string;
40
- 'grid-xs-9': string;
41
- 'grid-xs-10': string;
42
- 'grid-xs-11': string;
43
- 'grid-xs-12': string;
44
- }
45
- export declare type GridClassKey = keyof GridClasses;
46
- export declare function getGridUtilityClass(slot: string): string;
47
- declare const gridClasses: GridClasses;
48
- export default gridClasses;
1
+ export interface GridClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `container={true}`. */
5
+ container: string;
6
+ /** Styles applied to the root element if `item={true}`. */
7
+ item: string;
8
+ /** Styles applied to the root element if `zeroMinWidth={true}`. */
9
+ zeroMinWidth: string;
10
+ /** Styles applied to the root element if `direction="column"`. */
11
+ 'direction-xs-column': string;
12
+ /** Styles applied to the root element if `direction="column-reverse"`. */
13
+ 'direction-xs-column-reverse': string;
14
+ /** Styles applied to the root element if `direction="row-reverse"`. */
15
+ 'direction-xs-row-reverse': string;
16
+ /** Styles applied to the root element if `wrap="nowrap"`. */
17
+ 'wrap-xs-nowrap': string;
18
+ /** Styles applied to the root element if `wrap="reverse"`. */
19
+ 'wrap-xs-wrap-reverse': string;
20
+ 'spacing-xs-1': string;
21
+ 'spacing-xs-2': string;
22
+ 'spacing-xs-3': string;
23
+ 'spacing-xs-4': string;
24
+ 'spacing-xs-5': string;
25
+ 'spacing-xs-6': string;
26
+ 'spacing-xs-7': string;
27
+ 'spacing-xs-8': string;
28
+ 'spacing-xs-9': string;
29
+ 'spacing-xs-10': string;
30
+ 'grid-xs-auto': string;
31
+ 'grid-xs-true': string;
32
+ 'grid-xs-1': string;
33
+ 'grid-xs-2': string;
34
+ 'grid-xs-3': string;
35
+ 'grid-xs-4': string;
36
+ 'grid-xs-5': string;
37
+ 'grid-xs-6': string;
38
+ 'grid-xs-7': string;
39
+ 'grid-xs-8': string;
40
+ 'grid-xs-9': string;
41
+ 'grid-xs-10': string;
42
+ 'grid-xs-11': string;
43
+ 'grid-xs-12': string;
44
+ }
45
+ export declare type GridClassKey = keyof GridClasses;
46
+ export declare function getGridUtilityClass(slot: string): string;
47
+ declare const gridClasses: GridClasses;
48
+ export default gridClasses;
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { Breakpoint } from '@mui/system';
3
3
 
4
4
  export interface HiddenJsProps {
5
- initialWidth?: Breakpoint;
5
+ width?: Breakpoint;
6
6
  lgDown?: boolean;
7
7
  lgUp?: boolean;
8
8
  mdDown?: boolean;
@@ -7,6 +7,8 @@ Object.defineProperty(exports, "__esModule", {
7
7
  });
8
8
  exports.default = void 0;
9
9
 
10
+ var React = _interopRequireWildcard(require("react"));
11
+
10
12
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
13
 
12
14
  var _utils = require("@mui/utils");
@@ -15,6 +17,8 @@ var _withWidth = _interopRequireWildcard(require("./withWidth"));
15
17
 
16
18
  var _useTheme = _interopRequireDefault(require("../styles/useTheme"));
17
19
 
20
+ var _jsxRuntime = require("react/jsx-runtime");
21
+
18
22
  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); }
19
23
 
20
24
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -65,57 +69,39 @@ function HiddenJs(props) {
65
69
  return null;
66
70
  }
67
71
 
68
- return children;
72
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(React.Fragment, {
73
+ children: children
74
+ });
69
75
  }
70
76
 
71
- HiddenJs.propTypes = {
77
+ process.env.NODE_ENV !== "production" ? HiddenJs.propTypes = {
72
78
  /**
73
79
  * The content of the component.
74
80
  */
75
81
  children: _propTypes.default.node,
76
82
 
77
- /**
78
- * @ignore
79
- */
80
- className: _propTypes.default.string,
81
-
82
- /**
83
- * Specify which implementation to use. 'js' is the default, 'css' works better for
84
- * server-side rendering.
85
- */
86
- implementation: _propTypes.default.oneOf(['js', 'css']),
87
-
88
- /**
89
- * You can use this prop when choosing the `js` implementation with server-side rendering.
90
- *
91
- * As `window.innerWidth` is unavailable on the server,
92
- * we default to rendering an empty component during the first mount.
93
- * You might want to use a heuristic to approximate
94
- * the screen width of the client browser screen width.
95
- *
96
- * For instance, you could be using the user-agent or the client-hints.
97
- * https://caniuse.com/#search=client%20hint
98
- */
99
- initialWidth: _propTypes.default.oneOf(['xs', 'sm', 'md', 'lg', 'xl']),
100
-
101
83
  /**
102
84
  * If `true`, screens this size and down are hidden.
103
85
  */
86
+ // eslint-disable-next-line react/no-unused-prop-types
104
87
  lgDown: _propTypes.default.bool,
105
88
 
106
89
  /**
107
90
  * If `true`, screens this size and up are hidden.
108
91
  */
92
+ // eslint-disable-next-line react/no-unused-prop-types
109
93
  lgUp: _propTypes.default.bool,
110
94
 
111
95
  /**
112
96
  * If `true`, screens this size and down are hidden.
113
97
  */
98
+ // eslint-disable-next-line react/no-unused-prop-types
114
99
  mdDown: _propTypes.default.bool,
115
100
 
116
101
  /**
117
102
  * If `true`, screens this size and up are hidden.
118
103
  */
104
+ // eslint-disable-next-line react/no-unused-prop-types
119
105
  mdUp: _propTypes.default.bool,
120
106
 
121
107
  /**
@@ -126,11 +112,13 @@ HiddenJs.propTypes = {
126
112
  /**
127
113
  * If `true`, screens this size and down are hidden.
128
114
  */
115
+ // eslint-disable-next-line react/no-unused-prop-types
129
116
  smDown: _propTypes.default.bool,
130
117
 
131
118
  /**
132
119
  * If `true`, screens this size and up are hidden.
133
120
  */
121
+ // eslint-disable-next-line react/no-unused-prop-types
134
122
  smUp: _propTypes.default.bool,
135
123
 
136
124
  /**
@@ -142,26 +130,30 @@ HiddenJs.propTypes = {
142
130
  /**
143
131
  * If `true`, screens this size and down are hidden.
144
132
  */
133
+ // eslint-disable-next-line react/no-unused-prop-types
145
134
  xlDown: _propTypes.default.bool,
146
135
 
147
136
  /**
148
137
  * If `true`, screens this size and up are hidden.
149
138
  */
139
+ // eslint-disable-next-line react/no-unused-prop-types
150
140
  xlUp: _propTypes.default.bool,
151
141
 
152
142
  /**
153
143
  * If `true`, screens this size and down are hidden.
154
144
  */
145
+ // eslint-disable-next-line react/no-unused-prop-types
155
146
  xsDown: _propTypes.default.bool,
156
147
 
157
148
  /**
158
149
  * If `true`, screens this size and up are hidden.
159
150
  */
151
+ // eslint-disable-next-line react/no-unused-prop-types
160
152
  xsUp: _propTypes.default.bool
161
- };
153
+ } : void 0;
162
154
 
163
155
  if (process.env.NODE_ENV !== 'production') {
164
- HiddenJs.propTypes = (0, _utils.exactProp)(HiddenJs.propTypes);
156
+ process.env.NODE_ENV !== "production" ? HiddenJs.propTypes = (0, _utils.exactProp)(HiddenJs.propTypes) : void 0;
165
157
  }
166
158
 
167
159
  var _default = (0, _withWidth.default)()(HiddenJs);
package/Icon/Icon.d.ts CHANGED
@@ -63,7 +63,7 @@ export interface IconTypeMap<P = {}, D extends React.ElementType = 'span'> {
63
63
  * Demos:
64
64
  *
65
65
  * - [Icons](https://mui.com/material-ui/icons/)
66
- * - [Material icons](https://mui.com/material-ui/material-icons/)
66
+ * - [Material Icons](https://mui.com/material-ui/material-icons/)
67
67
  *
68
68
  * API:
69
69
  *
@@ -1,24 +1,24 @@
1
- export interface IconClasses {
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 IconClassKey = keyof IconClasses;
22
- export declare function getIconUtilityClass(slot: string): string;
23
- declare const iconClasses: IconClasses;
24
- export default iconClasses;
1
+ export interface IconClasses {
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 IconClassKey = keyof IconClasses;
22
+ export declare function getIconUtilityClass(slot: string): string;
23
+ declare const iconClasses: IconClasses;
24
+ export default iconClasses;
@@ -71,7 +71,7 @@ export type IconButtonTypeMap<
71
71
  *
72
72
  * Demos:
73
73
  *
74
- * - [Buttons](https://mui.com/material-ui/react-button/)
74
+ * - [Button](https://mui.com/material-ui/react-button/)
75
75
  *
76
76
  * API:
77
77
  *