@mui/material 5.6.1 → 5.6.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 (239) hide show
  1. package/Accordion/Accordion.js +6 -6
  2. package/Accordion/accordionClasses.d.ts +18 -18
  3. package/AccordionActions/accordionActionsClasses.d.ts +10 -10
  4. package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
  5. package/AccordionSummary/AccordionSummary.js +3 -3
  6. package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
  7. package/Alert/alertClasses.d.ts +44 -44
  8. package/AlertTitle/alertTitleClasses.d.ts +8 -8
  9. package/AppBar/AppBar.d.ts +1 -1
  10. package/AppBar/appBarClasses.d.ts +28 -28
  11. package/Autocomplete/Autocomplete.js +2 -0
  12. package/Autocomplete/autocompleteClasses.d.ts +54 -54
  13. package/Avatar/avatarClasses.d.ts +20 -20
  14. package/AvatarGroup/AvatarGroup.js +2 -2
  15. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  16. package/Backdrop/backdropClasses.d.ts +10 -10
  17. package/Badge/Badge.js +9 -7
  18. package/Badge/badgeClasses.d.ts +24 -24
  19. package/BottomNavigation/BottomNavigation.d.ts +1 -1
  20. package/BottomNavigation/BottomNavigation.js +1 -1
  21. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  22. package/BottomNavigationAction/BottomNavigationAction.d.ts +1 -1
  23. package/BottomNavigationAction/BottomNavigationAction.js +6 -5
  24. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  25. package/Box/Box.d.ts +9 -28
  26. package/Box/Box.js +25 -4
  27. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  28. package/Button/Button.d.ts +1 -1
  29. package/Button/buttonClasses.d.ts +76 -76
  30. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  31. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  32. package/ButtonGroup/ButtonGroup.d.ts +1 -1
  33. package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
  34. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  35. package/CHANGELOG.md +185 -2
  36. package/Card/cardClasses.d.ts +8 -8
  37. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  38. package/CardActions/cardActionsClasses.d.ts +10 -10
  39. package/CardContent/cardContentClasses.d.ts +8 -8
  40. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  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/chipClasses.d.ts +80 -80
  45. package/CircularProgress/CircularProgress.js +1 -1
  46. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  47. package/ClickAwayListener/index.d.ts +2 -2
  48. package/Collapse/collapseClasses.d.ts +18 -18
  49. package/Container/containerClasses.d.ts +22 -22
  50. package/CssBaseline/CssBaseline.d.ts +1 -1
  51. package/Dialog/Dialog.d.ts +1 -0
  52. package/Dialog/Dialog.js +1 -0
  53. package/Dialog/DialogContext.d.ts +6 -6
  54. package/Dialog/dialogClasses.d.ts +36 -36
  55. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  56. package/DialogContent/dialogContentClasses.d.ts +10 -10
  57. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  58. package/DialogTitle/DialogTitle.d.ts +30 -15
  59. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  60. package/Divider/dividerClasses.d.ts +34 -34
  61. package/Drawer/drawerClasses.d.ts +30 -30
  62. package/Fab/Fab.d.ts +1 -1
  63. package/Fab/fabClasses.d.ts +26 -26
  64. package/FilledInput/FilledInput.d.ts +1 -1
  65. package/FilledInput/FilledInput.js +6 -2
  66. package/FilledInput/filledInputClasses.d.ts +40 -40
  67. package/FormControl/FormControl.d.ts +2 -2
  68. package/FormControl/formControlClasses.d.ts +14 -14
  69. package/FormControlLabel/FormControlLabel.d.ts +1 -1
  70. package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
  71. package/FormGroup/formGroupClasses.d.ts +12 -12
  72. package/FormHelperText/FormHelperText.d.ts +1 -1
  73. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  74. package/FormLabel/FormLabel.d.ts +1 -1
  75. package/FormLabel/formLabelClasses.d.ts +22 -22
  76. package/GlobalStyles/GlobalStyles.d.ts +1 -1
  77. package/Grid/gridClasses.d.ts +48 -48
  78. package/Icon/Icon.d.ts +1 -1
  79. package/Icon/iconClasses.d.ts +24 -24
  80. package/IconButton/iconButtonClasses.d.ts +26 -26
  81. package/ImageList/ImageList.d.ts +1 -1
  82. package/ImageList/imageListClasses.d.ts +16 -16
  83. package/ImageListItem/ImageListItem.d.ts +1 -1
  84. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  85. package/ImageListItemBar/ImageListItemBar.d.ts +1 -1
  86. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  87. package/Input/Input.d.ts +1 -1
  88. package/Input/Input.js +3 -1
  89. package/Input/inputClasses.d.ts +34 -34
  90. package/InputAdornment/InputAdornment.d.ts +1 -1
  91. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  92. package/InputBase/InputBase.d.ts +1 -1
  93. package/InputBase/inputBaseClasses.d.ts +44 -44
  94. package/InputLabel/InputLabel.d.ts +1 -1
  95. package/InputLabel/inputLabelClasses.d.ts +32 -32
  96. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  97. package/Link/linkClasses.d.ts +18 -18
  98. package/List/List.d.ts +1 -1
  99. package/List/listClasses.d.ts +14 -14
  100. package/ListItem/ListItem.d.ts +1 -1
  101. package/ListItem/listItemClasses.d.ts +30 -30
  102. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  103. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  104. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  105. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  106. package/ListItemText/listItemTextClasses.d.ts +18 -18
  107. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  108. package/Menu/Menu.d.ts +1 -1
  109. package/Menu/menuClasses.d.ts +12 -12
  110. package/MenuItem/menuItemClasses.d.ts +20 -20
  111. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  112. package/Modal/Modal.js +1 -0
  113. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  114. package/OutlinedInput/OutlinedInput.d.ts +1 -1
  115. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  116. package/Pagination/paginationClasses.d.ts +14 -14
  117. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  118. package/Paper/paperClasses.d.ts +39 -39
  119. package/Popover/popoverClasses.d.ts +10 -10
  120. package/Popper/Popper.d.ts +29 -29
  121. package/README.md +79 -33
  122. package/Radio/Radio.d.ts +1 -1
  123. package/Radio/radioClasses.d.ts +16 -16
  124. package/RadioGroup/RadioGroup.d.ts +1 -1
  125. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  126. package/RadioGroup/useRadioGroup.d.ts +4 -4
  127. package/Rating/ratingClasses.d.ts +40 -40
  128. package/ScopedCssBaseline/ScopedCssBaseline.d.ts +1 -1
  129. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  130. package/Select/selectClasses.d.ts +30 -30
  131. package/Skeleton/skeletonClasses.d.ts +24 -24
  132. package/Snackbar/snackbarClasses.d.ts +20 -20
  133. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  134. package/SpeedDial/SpeedDial.d.ts +1 -1
  135. package/SpeedDial/speedDialClasses.d.ts +22 -22
  136. package/SpeedDialAction/SpeedDialAction.d.ts +1 -1
  137. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  138. package/SpeedDialIcon/SpeedDialIcon.d.ts +1 -1
  139. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  140. package/Step/StepContext.d.ts +20 -20
  141. package/Step/stepClasses.d.ts +16 -16
  142. package/StepButton/stepButtonClasses.d.ts +14 -14
  143. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  144. package/StepContent/StepContent.d.ts +3 -1
  145. package/StepContent/stepContentClasses.d.ts +12 -12
  146. package/StepIcon/stepIconClasses.d.ts +16 -16
  147. package/StepLabel/stepLabelClasses.d.ts +28 -28
  148. package/Stepper/stepperClasses.d.ts +14 -14
  149. package/SvgIcon/SvgIcon.d.ts +1 -1
  150. package/SvgIcon/svgIconClasses.d.ts +24 -24
  151. package/Switch/Switch.d.ts +1 -1
  152. package/Switch/switchClasses.d.ts +32 -32
  153. package/Tab/tabClasses.d.ts +26 -26
  154. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  155. package/Table/tableClasses.d.ts +10 -10
  156. package/TableBody/tableBodyClasses.d.ts +8 -8
  157. package/TableCell/tableCellClasses.d.ts +32 -32
  158. package/TableContainer/tableContainerClasses.d.ts +8 -8
  159. package/TableFooter/tableFooterClasses.d.ts +8 -8
  160. package/TableHead/tableHeadClasses.d.ts +8 -8
  161. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  162. package/TableRow/tableRowClasses.d.ts +16 -16
  163. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  164. package/Tabs/Tabs.d.ts +1 -1
  165. package/Tabs/tabsClasses.d.ts +32 -32
  166. package/TextField/TextField.d.ts +1 -1
  167. package/TextField/textFieldClasses.d.ts +8 -8
  168. package/ToggleButton/ToggleButton.d.ts +1 -1
  169. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  170. package/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  171. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  172. package/Toolbar/Toolbar.d.ts +1 -1
  173. package/Toolbar/toolbarClasses.d.ts +14 -14
  174. package/Tooltip/tooltipClasses.d.ts +30 -30
  175. package/Typography/typographyClasses.d.ts +50 -50
  176. package/className/index.d.ts +8 -8
  177. package/darkScrollbar/index.d.ts +28 -28
  178. package/index.js +1 -1
  179. package/internal/switchBaseClasses.d.ts +12 -12
  180. package/legacy/Accordion/Accordion.js +6 -6
  181. package/legacy/AccordionSummary/AccordionSummary.js +3 -3
  182. package/legacy/Autocomplete/Autocomplete.js +2 -0
  183. package/legacy/AvatarGroup/AvatarGroup.js +2 -2
  184. package/legacy/Badge/Badge.js +9 -7
  185. package/legacy/BottomNavigation/BottomNavigation.js +1 -1
  186. package/legacy/BottomNavigationAction/BottomNavigationAction.js +6 -5
  187. package/legacy/Box/Box.js +25 -4
  188. package/legacy/CircularProgress/CircularProgress.js +1 -1
  189. package/legacy/Dialog/Dialog.js +1 -0
  190. package/legacy/FilledInput/FilledInput.js +5 -3
  191. package/legacy/Input/Input.js +3 -1
  192. package/legacy/Modal/Modal.js +1 -0
  193. package/legacy/index.js +1 -1
  194. package/legacy/locale/index.js +1 -1
  195. package/locale/index.d.ts +71 -71
  196. package/locale/index.js +1 -1
  197. package/modern/Accordion/Accordion.js +6 -6
  198. package/modern/AccordionSummary/AccordionSummary.js +3 -3
  199. package/modern/Autocomplete/Autocomplete.js +2 -0
  200. package/modern/AvatarGroup/AvatarGroup.js +2 -2
  201. package/modern/Badge/Badge.js +9 -7
  202. package/modern/BottomNavigation/BottomNavigation.js +1 -1
  203. package/modern/BottomNavigationAction/BottomNavigationAction.js +6 -5
  204. package/modern/Box/Box.js +25 -4
  205. package/modern/CircularProgress/CircularProgress.js +1 -1
  206. package/modern/Dialog/Dialog.js +1 -0
  207. package/modern/FilledInput/FilledInput.js +4 -2
  208. package/modern/Input/Input.js +3 -1
  209. package/modern/Modal/Modal.js +1 -0
  210. package/modern/index.js +1 -1
  211. package/modern/locale/index.js +1 -1
  212. package/node/Accordion/Accordion.js +6 -6
  213. package/node/AccordionSummary/AccordionSummary.js +3 -3
  214. package/node/Autocomplete/Autocomplete.js +2 -0
  215. package/node/AvatarGroup/AvatarGroup.js +2 -2
  216. package/node/Badge/Badge.js +10 -7
  217. package/node/BottomNavigation/BottomNavigation.js +1 -1
  218. package/node/BottomNavigationAction/BottomNavigationAction.js +6 -5
  219. package/node/Box/Box.js +28 -4
  220. package/node/CircularProgress/CircularProgress.js +1 -1
  221. package/node/Dialog/Dialog.js +1 -0
  222. package/node/FilledInput/FilledInput.js +6 -2
  223. package/node/Input/Input.js +3 -1
  224. package/node/Modal/Modal.js +1 -0
  225. package/node/index.js +1 -1
  226. package/node/locale/index.js +1 -1
  227. package/package.json +4 -4
  228. package/transitions/index.d.ts +1 -1
  229. package/transitions/transition.d.ts +13 -13
  230. package/transitions/utils.d.ts +23 -23
  231. package/umd/material-ui.development.js +181 -156
  232. package/umd/material-ui.production.min.js +20 -20
  233. package/useMediaQuery/useMediaQuery.d.ts +31 -31
  234. package/useTouchRipple/index.d.ts +1 -1
  235. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  236. package/utils/getScrollbarSize.d.ts +2 -2
  237. package/utils/ownerDocument.d.ts +2 -2
  238. package/utils/ownerWindow.d.ts +2 -2
  239. package/utils/setRef.d.ts +2 -2
@@ -1,30 +1,30 @@
1
- export interface DrawerClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `variant="permanent or persistent"`. */
5
- docked: string;
6
- /** Styles applied to the Paper component. */
7
- paper: string;
8
- /** Styles applied to the Paper component if `anchor="left"`. */
9
- paperAnchorLeft: string;
10
- /** Styles applied to the Paper component if `anchor="right"`. */
11
- paperAnchorRight: string;
12
- /** Styles applied to the Paper component if `anchor="top"`. */
13
- paperAnchorTop: string;
14
- /** Styles applied to the Paper component if `anchor="bottom"`. */
15
- paperAnchorBottom: string;
16
- /** Styles applied to the Paper component if `anchor="left"` and `variant` is not "temporary". */
17
- paperAnchorDockedLeft: string;
18
- /** Styles applied to the Paper component if `anchor="top"` and `variant` is not "temporary". */
19
- paperAnchorDockedTop: string;
20
- /** Styles applied to the Paper component if `anchor="right"` and `variant` is not "temporary". */
21
- paperAnchorDockedRight: string;
22
- /** Styles applied to the Paper component if `anchor="bottom"` and `variant` is not "temporary". */
23
- paperAnchorDockedBottom: string;
24
- /** Styles applied to the Modal component. */
25
- modal: string;
26
- }
27
- export declare type DrawerClassKey = keyof DrawerClasses;
28
- export declare function getDrawerUtilityClass(slot: string): string;
29
- declare const drawerClasses: DrawerClasses;
30
- export default drawerClasses;
1
+ export interface DrawerClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `variant="permanent or persistent"`. */
5
+ docked: string;
6
+ /** Styles applied to the Paper component. */
7
+ paper: string;
8
+ /** Styles applied to the Paper component if `anchor="left"`. */
9
+ paperAnchorLeft: string;
10
+ /** Styles applied to the Paper component if `anchor="right"`. */
11
+ paperAnchorRight: string;
12
+ /** Styles applied to the Paper component if `anchor="top"`. */
13
+ paperAnchorTop: string;
14
+ /** Styles applied to the Paper component if `anchor="bottom"`. */
15
+ paperAnchorBottom: string;
16
+ /** Styles applied to the Paper component if `anchor="left"` and `variant` is not "temporary". */
17
+ paperAnchorDockedLeft: string;
18
+ /** Styles applied to the Paper component if `anchor="top"` and `variant` is not "temporary". */
19
+ paperAnchorDockedTop: string;
20
+ /** Styles applied to the Paper component if `anchor="right"` and `variant` is not "temporary". */
21
+ paperAnchorDockedRight: string;
22
+ /** Styles applied to the Paper component if `anchor="bottom"` and `variant` is not "temporary". */
23
+ paperAnchorDockedBottom: string;
24
+ /** Styles applied to the Modal component. */
25
+ modal: string;
26
+ }
27
+ export declare type DrawerClassKey = keyof DrawerClasses;
28
+ export declare function getDrawerUtilityClass(slot: string): string;
29
+ declare const drawerClasses: DrawerClasses;
30
+ export default drawerClasses;
package/Fab/Fab.d.ts CHANGED
@@ -73,7 +73,7 @@ export type FabTypeMap<P = {}, D extends React.ElementType = 'button'> = ExtendB
73
73
  *
74
74
  * Demos:
75
75
  *
76
- * - [Floating Action Button](https://mui.com/material-ui/react-floating-action-button/)
76
+ * - [Floating action button](https://mui.com/material-ui/react-floating-action-button/)
77
77
  *
78
78
  * API:
79
79
  *
@@ -1,26 +1,26 @@
1
- export interface FabClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `color="primary"`. */
5
- primary: string;
6
- /** Styles applied to the root element if `color="secondary"`. */
7
- secondary: string;
8
- /** Styles applied to the root element if `variant="extended"`. */
9
- extended: string;
10
- /** Styles applied to the root element if `variant="circular"`. */
11
- circular: string;
12
- /** State class applied to the ButtonBase root element if the button is keyboard focused. */
13
- focusVisible: string;
14
- /** State class applied to the root element if `disabled={true}`. */
15
- disabled: string;
16
- /** Styles applied to the root element if `color="inherit"`. */
17
- colorInherit: string;
18
- /** Styles applied to the root element if `size="small"``. */
19
- sizeSmall: string;
20
- /** Styles applied to the root element if `size="medium"``. */
21
- sizeMedium: string;
22
- }
23
- export declare type FabClassKey = keyof FabClasses;
24
- export declare function getFabUtilityClass(slot: string): string;
25
- declare const fabClasses: FabClasses;
26
- export default fabClasses;
1
+ export interface FabClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `color="primary"`. */
5
+ primary: string;
6
+ /** Styles applied to the root element if `color="secondary"`. */
7
+ secondary: string;
8
+ /** Styles applied to the root element if `variant="extended"`. */
9
+ extended: string;
10
+ /** Styles applied to the root element if `variant="circular"`. */
11
+ circular: string;
12
+ /** State class applied to the ButtonBase root element if the button is keyboard focused. */
13
+ focusVisible: string;
14
+ /** State class applied to the root element if `disabled={true}`. */
15
+ disabled: string;
16
+ /** Styles applied to the root element if `color="inherit"`. */
17
+ colorInherit: string;
18
+ /** Styles applied to the root element if `size="small"``. */
19
+ sizeSmall: string;
20
+ /** Styles applied to the root element if `size="medium"``. */
21
+ sizeMedium: string;
22
+ }
23
+ export declare type FabClassKey = keyof FabClasses;
24
+ export declare function getFabUtilityClass(slot: string): string;
25
+ declare const fabClasses: FabClasses;
26
+ export default fabClasses;
@@ -29,7 +29,7 @@ export interface FilledInputProps extends StandardProps<InputBaseProps> {
29
29
  *
30
30
  * Demos:
31
31
  *
32
- * - [Text Fields](https://mui.com/material-ui/react-text-field/)
32
+ * - [Text fields](https://mui.com/material-ui/react-text-field/)
33
33
  *
34
34
  * API:
35
35
  *
@@ -39,6 +39,8 @@ const FilledInputRoot = styled(InputBaseRoot, {
39
39
  theme,
40
40
  ownerState
41
41
  }) => {
42
+ var _theme$palette;
43
+
42
44
  const light = theme.palette.mode === 'light';
43
45
  const bottomLineColor = light ? 'rgba(0, 0, 0, 0.42)' : 'rgba(255, 255, 255, 0.7)';
44
46
  const backgroundColor = light ? 'rgba(0, 0, 0, 0.06)' : 'rgba(255, 255, 255, 0.09)';
@@ -66,7 +68,7 @@ const FilledInputRoot = styled(InputBaseRoot, {
66
68
  }
67
69
  }, !ownerState.disableUnderline && {
68
70
  '&:after': {
69
- borderBottom: `2px solid ${theme.palette[ownerState.color].main}`,
71
+ borderBottom: `2px solid ${(_theme$palette = theme.palette[ownerState.color || 'primary']) == null ? void 0 : _theme$palette.main}`,
70
72
  left: 0,
71
73
  bottom: 0,
72
74
  // Doing the other way around crash on IE11 "''" https://github.com/cssinjs/jss/issues/242
@@ -82,7 +84,9 @@ const FilledInputRoot = styled(InputBaseRoot, {
82
84
 
83
85
  },
84
86
  [`&.${filledInputClasses.focused}:after`]: {
85
- transform: 'scaleX(1)'
87
+ // translateX(0) is a workaround for Safari transform scale bug
88
+ // See https://github.com/mui/material-ui/issues/31766
89
+ transform: 'scaleX(1) translateX(0)'
86
90
  },
87
91
  [`&.${filledInputClasses.error}:after`]: {
88
92
  borderBottomColor: theme.palette.error.main,
@@ -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;
@@ -109,9 +109,9 @@ export interface FormControlTypeMap<P = {}, D extends React.ElementType = 'div'>
109
109
  * Demos:
110
110
  *
111
111
  * - [Checkboxes](https://mui.com/material-ui/react-checkbox/)
112
- * - [Radio Buttons](https://mui.com/material-ui/react-radio-button/)
112
+ * - [Radio buttons](https://mui.com/material-ui/react-radio-button/)
113
113
  * - [Switches](https://mui.com/material-ui/react-switch/)
114
- * - [Text Fields](https://mui.com/material-ui/react-text-field/)
114
+ * - [Text fields](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;
@@ -76,7 +76,7 @@ export interface FormControlLabelProps
76
76
  * Demos:
77
77
  *
78
78
  * - [Checkboxes](https://mui.com/material-ui/react-checkbox/)
79
- * - [Radio Buttons](https://mui.com/material-ui/react-radio-button/)
79
+ * - [Radio buttons](https://mui.com/material-ui/react-radio-button/)
80
80
  * - [Switches](https://mui.com/material-ui/react-switch/)
81
81
  *
82
82
  * API:
@@ -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;
@@ -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;
@@ -56,7 +56,7 @@ export interface FormHelperTextTypeMap<P = {}, D extends React.ElementType = 'p'
56
56
  *
57
57
  * Demos:
58
58
  *
59
- * - [Text Fields](https://mui.com/material-ui/react-text-field/)
59
+ * - [Text fields](https://mui.com/material-ui/react-text-field/)
60
60
  *
61
61
  * API:
62
62
  *
@@ -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;
@@ -60,7 +60,7 @@ export interface FormLabelTypeMap<P = {}, D extends React.ElementType = 'label'>
60
60
  * Demos:
61
61
  *
62
62
  * - [Checkboxes](https://mui.com/material-ui/react-checkbox/)
63
- * - [Radio Buttons](https://mui.com/material-ui/react-radio-button/)
63
+ * - [Radio buttons](https://mui.com/material-ui/react-radio-button/)
64
64
  * - [Switches](https://mui.com/material-ui/react-switch/)
65
65
  *
66
66
  * API:
@@ -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;
@@ -12,7 +12,7 @@ export interface GlobalStylesProps {
12
12
  *
13
13
  * Demos:
14
14
  *
15
- * - [How To Customize](https://mui.com/material-ui/customization/how-to-customize/)
15
+ * - [How to customize](https://mui.com/material-ui/customization/how-to-customize/)
16
16
  *
17
17
  * API:
18
18
  *
@@ -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;
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
  *