@mui/material 5.5.2 → 5.5.3

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 (315) 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/Alert.d.ts +3 -1
  6. package/Alert/Alert.js +3 -1
  7. package/Alert/alertClasses.d.ts +44 -44
  8. package/AlertTitle/alertTitleClasses.d.ts +8 -8
  9. package/AppBar/AppBar.d.ts +3 -1
  10. package/AppBar/AppBar.js +3 -1
  11. package/AppBar/appBarClasses.d.ts +28 -28
  12. package/Autocomplete/Autocomplete.js +1 -1
  13. package/Autocomplete/autocompleteClasses.d.ts +54 -54
  14. package/Avatar/avatarClasses.d.ts +20 -20
  15. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  16. package/Backdrop/Backdrop.d.ts +32 -15
  17. package/Backdrop/Backdrop.js +26 -20
  18. package/Backdrop/backdropClasses.d.ts +10 -0
  19. package/Backdrop/backdropClasses.js +6 -0
  20. package/Backdrop/index.d.ts +3 -0
  21. package/Backdrop/index.js +2 -1
  22. package/Badge/Badge.d.ts +3 -1
  23. package/Badge/Badge.js +3 -1
  24. package/BottomNavigation/BottomNavigation.js +0 -0
  25. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  26. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  27. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  28. package/Button/Button.d.ts +3 -1
  29. package/Button/Button.js +3 -1
  30. package/Button/buttonClasses.d.ts +76 -76
  31. package/ButtonBase/ButtonBase.js +7 -7
  32. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  33. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  34. package/ButtonGroup/ButtonGroup.d.ts +3 -1
  35. package/ButtonGroup/ButtonGroup.js +3 -1
  36. package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
  37. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  38. package/CHANGELOG.md +98 -0
  39. package/Card/Card.d.ts +1 -0
  40. package/Card/cardClasses.d.ts +8 -8
  41. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  42. package/CardActions/cardActionsClasses.d.ts +10 -10
  43. package/CardContent/cardContentClasses.d.ts +8 -8
  44. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  45. package/CardMedia/cardMediaClasses.d.ts +12 -12
  46. package/Checkbox/Checkbox.d.ts +3 -1
  47. package/Checkbox/Checkbox.js +3 -1
  48. package/Checkbox/checkboxClasses.d.ts +18 -18
  49. package/Chip/Chip.d.ts +3 -1
  50. package/Chip/Chip.js +3 -1
  51. package/Chip/chipClasses.d.ts +80 -80
  52. package/CircularProgress/CircularProgress.d.ts +3 -1
  53. package/CircularProgress/CircularProgress.js +3 -1
  54. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  55. package/ClickAwayListener/index.d.ts +2 -2
  56. package/Collapse/collapseClasses.d.ts +18 -18
  57. package/Container/containerClasses.d.ts +22 -22
  58. package/Dialog/DialogContext.d.ts +6 -6
  59. package/Dialog/dialogClasses.d.ts +36 -36
  60. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  61. package/DialogContent/dialogContentClasses.d.ts +10 -10
  62. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  63. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  64. package/Divider/dividerClasses.d.ts +34 -34
  65. package/Drawer/drawerClasses.d.ts +30 -30
  66. package/Fab/Fab.d.ts +3 -1
  67. package/Fab/Fab.js +3 -1
  68. package/Fab/fabClasses.d.ts +26 -26
  69. package/FilledInput/FilledInput.js +3 -1
  70. package/FilledInput/filledInputClasses.d.ts +40 -40
  71. package/FormControl/FormControl.d.ts +3 -1
  72. package/FormControl/FormControl.js +3 -1
  73. package/FormControl/formControlClasses.d.ts +14 -14
  74. package/FormControlLabel/FormControlLabel.d.ts +1 -1
  75. package/FormControlLabel/FormControlLabel.js +14 -9
  76. package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
  77. package/FormGroup/formGroupClasses.d.ts +12 -12
  78. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  79. package/FormLabel/FormLabel.d.ts +3 -1
  80. package/FormLabel/FormLabel.js +3 -1
  81. package/FormLabel/formLabelClasses.d.ts +22 -22
  82. package/Grid/gridClasses.d.ts +48 -48
  83. package/Grow/Grow.js +11 -5
  84. package/Icon/Icon.d.ts +3 -1
  85. package/Icon/Icon.js +3 -1
  86. package/Icon/iconClasses.d.ts +24 -24
  87. package/IconButton/IconButton.d.ts +3 -1
  88. package/IconButton/IconButton.js +3 -1
  89. package/IconButton/iconButtonClasses.d.ts +26 -26
  90. package/ImageList/imageListClasses.d.ts +16 -16
  91. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  92. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  93. package/Input/Input.js +3 -1
  94. package/Input/inputClasses.d.ts +34 -34
  95. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  96. package/InputBase/InputBase.d.ts +3 -1
  97. package/InputBase/InputBase.js +3 -1
  98. package/InputBase/inputBaseClasses.d.ts +44 -44
  99. package/InputLabel/InputLabel.js +3 -1
  100. package/InputLabel/inputLabelClasses.d.ts +32 -32
  101. package/LinearProgress/LinearProgress.d.ts +3 -1
  102. package/LinearProgress/LinearProgress.js +3 -1
  103. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  104. package/Link/linkClasses.d.ts +18 -18
  105. package/List/listClasses.d.ts +14 -14
  106. package/ListItem/listItemClasses.d.ts +30 -30
  107. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  108. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  109. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  110. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  111. package/ListItemText/listItemTextClasses.d.ts +18 -18
  112. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  113. package/Menu/menuClasses.d.ts +12 -12
  114. package/MenuItem/menuItemClasses.d.ts +20 -20
  115. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  116. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  117. package/OutlinedInput/OutlinedInput.js +3 -1
  118. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  119. package/Pagination/Pagination.d.ts +2 -0
  120. package/Pagination/Pagination.js +2 -0
  121. package/Pagination/paginationClasses.d.ts +14 -14
  122. package/PaginationItem/PaginationItem.d.ts +2 -0
  123. package/PaginationItem/PaginationItem.js +2 -0
  124. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  125. package/Paper/paperClasses.d.ts +39 -39
  126. package/Popover/popoverClasses.d.ts +10 -10
  127. package/Popper/Popper.d.ts +29 -29
  128. package/Radio/Radio.d.ts +3 -1
  129. package/Radio/Radio.js +3 -1
  130. package/Radio/radioClasses.d.ts +16 -16
  131. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  132. package/RadioGroup/useRadioGroup.d.ts +4 -4
  133. package/Rating/ratingClasses.d.ts +40 -40
  134. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  135. package/Select/selectClasses.d.ts +30 -30
  136. package/Skeleton/skeletonClasses.d.ts +24 -24
  137. package/Slider/Slider.d.ts +3 -1
  138. package/Slider/Slider.js +3 -1
  139. package/Snackbar/snackbarClasses.d.ts +20 -20
  140. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  141. package/SpeedDial/speedDialClasses.d.ts +22 -22
  142. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  143. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  144. package/Step/StepContext.d.ts +20 -20
  145. package/Step/stepClasses.d.ts +16 -16
  146. package/StepButton/stepButtonClasses.d.ts +14 -14
  147. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  148. package/StepContent/stepContentClasses.d.ts +12 -12
  149. package/StepIcon/stepIconClasses.d.ts +16 -16
  150. package/StepLabel/stepLabelClasses.d.ts +28 -28
  151. package/Stepper/stepperClasses.d.ts +14 -14
  152. package/SvgIcon/SvgIcon.d.ts +3 -1
  153. package/SvgIcon/SvgIcon.js +3 -1
  154. package/SvgIcon/svgIconClasses.d.ts +24 -24
  155. package/Switch/Switch.d.ts +3 -1
  156. package/Switch/Switch.js +3 -1
  157. package/Switch/switchClasses.d.ts +32 -32
  158. package/Tab/tabClasses.d.ts +26 -26
  159. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  160. package/Table/tableClasses.d.ts +10 -10
  161. package/TableBody/tableBodyClasses.d.ts +8 -8
  162. package/TableCell/tableCellClasses.d.ts +32 -32
  163. package/TableContainer/tableContainerClasses.d.ts +8 -8
  164. package/TableFooter/tableFooterClasses.d.ts +8 -8
  165. package/TableHead/tableHeadClasses.d.ts +8 -8
  166. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  167. package/TableRow/tableRowClasses.d.ts +16 -16
  168. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  169. package/Tabs/tabsClasses.d.ts +32 -32
  170. package/TextField/TextField.d.ts +3 -1
  171. package/TextField/TextField.js +3 -1
  172. package/TextField/textFieldClasses.d.ts +8 -8
  173. package/ToggleButton/ToggleButton.d.ts +2 -0
  174. package/ToggleButton/ToggleButton.js +2 -0
  175. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  176. package/ToggleButtonGroup/ToggleButtonGroup.d.ts +3 -1
  177. package/ToggleButtonGroup/ToggleButtonGroup.js +3 -1
  178. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  179. package/Toolbar/toolbarClasses.d.ts +14 -14
  180. package/Tooltip/tooltipClasses.d.ts +30 -30
  181. package/Typography/typographyClasses.d.ts +50 -50
  182. package/Unstable_TrapFocus/index.d.ts +2 -2
  183. package/Unstable_TrapFocus/index.js +1 -1
  184. package/className/index.d.ts +8 -8
  185. package/darkScrollbar/index.d.ts +28 -28
  186. package/index.js +1 -1
  187. package/internal/switchBaseClasses.d.ts +12 -12
  188. package/legacy/Alert/Alert.js +3 -1
  189. package/legacy/AppBar/AppBar.js +3 -1
  190. package/legacy/Autocomplete/Autocomplete.js +1 -1
  191. package/legacy/Backdrop/Backdrop.js +27 -20
  192. package/legacy/Backdrop/backdropClasses.js +6 -0
  193. package/legacy/Backdrop/index.js +2 -1
  194. package/legacy/Badge/Badge.js +3 -1
  195. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  196. package/legacy/Button/Button.js +3 -1
  197. package/legacy/ButtonBase/ButtonBase.js +11 -11
  198. package/legacy/ButtonGroup/ButtonGroup.js +3 -1
  199. package/legacy/Checkbox/Checkbox.js +3 -1
  200. package/legacy/Chip/Chip.js +3 -1
  201. package/legacy/CircularProgress/CircularProgress.js +3 -1
  202. package/legacy/Fab/Fab.js +3 -1
  203. package/legacy/FilledInput/FilledInput.js +3 -1
  204. package/legacy/FormControl/FormControl.js +3 -1
  205. package/legacy/FormControlLabel/FormControlLabel.js +14 -9
  206. package/legacy/FormLabel/FormLabel.js +3 -1
  207. package/legacy/Grow/Grow.js +11 -5
  208. package/legacy/Icon/Icon.js +3 -1
  209. package/legacy/IconButton/IconButton.js +3 -1
  210. package/legacy/Input/Input.js +3 -1
  211. package/legacy/InputBase/InputBase.js +3 -1
  212. package/legacy/InputLabel/InputLabel.js +3 -1
  213. package/legacy/LinearProgress/LinearProgress.js +3 -1
  214. package/legacy/OutlinedInput/OutlinedInput.js +3 -1
  215. package/legacy/Pagination/Pagination.js +2 -0
  216. package/legacy/PaginationItem/PaginationItem.js +2 -0
  217. package/legacy/Radio/Radio.js +3 -1
  218. package/legacy/Slider/Slider.js +3 -1
  219. package/legacy/SvgIcon/SvgIcon.js +3 -1
  220. package/legacy/Switch/Switch.js +3 -1
  221. package/legacy/TextField/TextField.js +3 -1
  222. package/legacy/ToggleButton/ToggleButton.js +2 -0
  223. package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +3 -1
  224. package/legacy/Unstable_TrapFocus/index.js +1 -1
  225. package/legacy/index.js +1 -1
  226. package/locale/index.d.ts +71 -71
  227. package/modern/Alert/Alert.js +3 -1
  228. package/modern/AppBar/AppBar.js +3 -1
  229. package/modern/Autocomplete/Autocomplete.js +1 -1
  230. package/modern/Backdrop/Backdrop.js +25 -19
  231. package/modern/Backdrop/backdropClasses.js +6 -0
  232. package/modern/Backdrop/index.js +2 -1
  233. package/modern/Badge/Badge.js +3 -1
  234. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  235. package/modern/Button/Button.js +3 -1
  236. package/modern/ButtonBase/ButtonBase.js +7 -7
  237. package/modern/ButtonGroup/ButtonGroup.js +3 -1
  238. package/modern/Checkbox/Checkbox.js +3 -1
  239. package/modern/Chip/Chip.js +3 -1
  240. package/modern/CircularProgress/CircularProgress.js +3 -1
  241. package/modern/Fab/Fab.js +3 -1
  242. package/modern/FilledInput/FilledInput.js +3 -1
  243. package/modern/FormControl/FormControl.js +3 -1
  244. package/modern/FormControlLabel/FormControlLabel.js +14 -9
  245. package/modern/FormLabel/FormLabel.js +3 -1
  246. package/modern/Grow/Grow.js +11 -5
  247. package/modern/Icon/Icon.js +3 -1
  248. package/modern/IconButton/IconButton.js +3 -1
  249. package/modern/Input/Input.js +3 -1
  250. package/modern/InputBase/InputBase.js +3 -1
  251. package/modern/InputLabel/InputLabel.js +3 -1
  252. package/modern/LinearProgress/LinearProgress.js +3 -1
  253. package/modern/OutlinedInput/OutlinedInput.js +3 -1
  254. package/modern/Pagination/Pagination.js +2 -0
  255. package/modern/PaginationItem/PaginationItem.js +2 -0
  256. package/modern/Radio/Radio.js +3 -1
  257. package/modern/Slider/Slider.js +3 -1
  258. package/modern/SvgIcon/SvgIcon.js +3 -1
  259. package/modern/Switch/Switch.js +3 -1
  260. package/modern/TextField/TextField.js +3 -1
  261. package/modern/ToggleButton/ToggleButton.js +2 -0
  262. package/modern/ToggleButtonGroup/ToggleButtonGroup.js +3 -1
  263. package/modern/Unstable_TrapFocus/index.js +1 -1
  264. package/modern/index.js +1 -1
  265. package/node/Alert/Alert.js +3 -1
  266. package/node/AppBar/AppBar.js +3 -1
  267. package/node/Autocomplete/Autocomplete.js +1 -1
  268. package/node/Backdrop/Backdrop.js +28 -23
  269. package/node/Backdrop/backdropClasses.js +17 -0
  270. package/node/Backdrop/index.js +17 -5
  271. package/node/Badge/Badge.js +3 -1
  272. package/node/BottomNavigation/BottomNavigation.js +0 -0
  273. package/node/Button/Button.js +3 -1
  274. package/node/ButtonBase/ButtonBase.js +7 -7
  275. package/node/ButtonGroup/ButtonGroup.js +3 -1
  276. package/node/Checkbox/Checkbox.js +3 -1
  277. package/node/Chip/Chip.js +3 -1
  278. package/node/CircularProgress/CircularProgress.js +3 -1
  279. package/node/Fab/Fab.js +3 -1
  280. package/node/FilledInput/FilledInput.js +3 -1
  281. package/node/FormControl/FormControl.js +3 -1
  282. package/node/FormControlLabel/FormControlLabel.js +14 -9
  283. package/node/FormLabel/FormLabel.js +3 -1
  284. package/node/Grow/Grow.js +10 -4
  285. package/node/Icon/Icon.js +3 -1
  286. package/node/IconButton/IconButton.js +3 -1
  287. package/node/Input/Input.js +3 -1
  288. package/node/InputBase/InputBase.js +3 -1
  289. package/node/InputLabel/InputLabel.js +3 -1
  290. package/node/LinearProgress/LinearProgress.js +3 -1
  291. package/node/OutlinedInput/OutlinedInput.js +3 -1
  292. package/node/Pagination/Pagination.js +2 -0
  293. package/node/PaginationItem/PaginationItem.js +2 -0
  294. package/node/Radio/Radio.js +3 -1
  295. package/node/Slider/Slider.js +3 -1
  296. package/node/SvgIcon/SvgIcon.js +3 -1
  297. package/node/Switch/Switch.js +3 -1
  298. package/node/TextField/TextField.js +3 -1
  299. package/node/ToggleButton/ToggleButton.js +2 -0
  300. package/node/ToggleButtonGroup/ToggleButtonGroup.js +3 -1
  301. package/node/Unstable_TrapFocus/index.js +2 -2
  302. package/node/index.js +1 -1
  303. package/package.json +4 -4
  304. package/transitions/index.d.ts +1 -1
  305. package/transitions/transition.d.ts +13 -13
  306. package/transitions/utils.d.ts +23 -23
  307. package/umd/material-ui.development.js +261 -288
  308. package/umd/material-ui.production.min.js +20 -20
  309. package/useMediaQuery/useMediaQuery.d.ts +31 -31
  310. package/useTouchRipple/index.d.ts +1 -1
  311. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  312. package/utils/getScrollbarSize.d.ts +2 -2
  313. package/utils/ownerDocument.d.ts +2 -2
  314. package/utils/ownerWindow.d.ts +2 -2
  315. package/utils/setRef.d.ts +2 -2
@@ -1,18 +1,18 @@
1
- export interface ImageListItemClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to an `img` element to ensure it covers the item. */
5
- img: string;
6
- /** Styles applied to the root element if `variant="standard"`. */
7
- standard: string;
8
- /** Styles applied to the root element if `variant="woven"`. */
9
- woven: string;
10
- /** Styles applied to the root element if `variant="masonry"`. */
11
- masonry: string;
12
- /** Styles applied to the root element if `variant="quilted"`. */
13
- quilted: string;
14
- }
15
- export declare type ImageListItemClassKey = keyof ImageListItemClasses;
16
- export declare function getImageListItemUtilityClass(slot: string): string;
17
- declare const imageListItemClasses: ImageListItemClasses;
18
- export default imageListItemClasses;
1
+ export interface ImageListItemClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to an `img` element to ensure it covers the item. */
5
+ img: string;
6
+ /** Styles applied to the root element if `variant="standard"`. */
7
+ standard: string;
8
+ /** Styles applied to the root element if `variant="woven"`. */
9
+ woven: string;
10
+ /** Styles applied to the root element if `variant="masonry"`. */
11
+ masonry: string;
12
+ /** Styles applied to the root element if `variant="quilted"`. */
13
+ quilted: string;
14
+ }
15
+ export declare type ImageListItemClassKey = keyof ImageListItemClasses;
16
+ export declare function getImageListItemUtilityClass(slot: string): string;
17
+ declare const imageListItemClasses: ImageListItemClasses;
18
+ export default imageListItemClasses;
@@ -1,30 +1,30 @@
1
- export interface ImageListItemBarClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `position="bottom"`. */
5
- positionBottom: string;
6
- /** Styles applied to the root element if `position="top"`. */
7
- positionTop: string;
8
- /** Styles applied to the root element if `position="below"`. */
9
- positionBelow: string;
10
- /** Styles applied to the title and subtitle container element. */
11
- titleWrap: string;
12
- /** Styles applied to the title and subtitle container element if `position="below"`. */
13
- titleWrapBelow: string;
14
- /** Styles applied to the container element if `actionPosition="left"`. */
15
- titleWrapActionPosLeft: string;
16
- /** Styles applied to the container element if `actionPosition="right"`. */
17
- titleWrapActionPosRight: string;
18
- /** Styles applied to the title container element. */
19
- title: string;
20
- /** Styles applied to the subtitle container element. */
21
- subtitle: string;
22
- /** Styles applied to the actionIcon if supplied. */
23
- actionIcon: string;
24
- /** Styles applied to the actionIcon if `actionPosition="left"`. */
25
- actionIconActionPosLeft: string;
26
- }
27
- export declare type ImageListItemBarClassKey = keyof ImageListItemBarClasses;
28
- export declare function getImageListItemBarUtilityClass(slot: string): string;
29
- declare const imageListItemBarClasses: ImageListItemBarClasses;
30
- export default imageListItemBarClasses;
1
+ export interface ImageListItemBarClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `position="bottom"`. */
5
+ positionBottom: string;
6
+ /** Styles applied to the root element if `position="top"`. */
7
+ positionTop: string;
8
+ /** Styles applied to the root element if `position="below"`. */
9
+ positionBelow: string;
10
+ /** Styles applied to the title and subtitle container element. */
11
+ titleWrap: string;
12
+ /** Styles applied to the title and subtitle container element if `position="below"`. */
13
+ titleWrapBelow: string;
14
+ /** Styles applied to the container element if `actionPosition="left"`. */
15
+ titleWrapActionPosLeft: string;
16
+ /** Styles applied to the container element if `actionPosition="right"`. */
17
+ titleWrapActionPosRight: string;
18
+ /** Styles applied to the title container element. */
19
+ title: string;
20
+ /** Styles applied to the subtitle container element. */
21
+ subtitle: string;
22
+ /** Styles applied to the actionIcon if supplied. */
23
+ actionIcon: string;
24
+ /** Styles applied to the actionIcon if `actionPosition="left"`. */
25
+ actionIconActionPosLeft: string;
26
+ }
27
+ export declare type ImageListItemBarClassKey = keyof ImageListItemBarClasses;
28
+ export declare function getImageListItemBarUtilityClass(slot: string): string;
29
+ declare const imageListItemBarClasses: ImageListItemBarClasses;
30
+ export default imageListItemBarClasses;
package/Input/Input.js CHANGED
@@ -171,7 +171,9 @@ process.env.NODE_ENV !== "production" ? Input.propTypes
171
171
  classes: PropTypes.object,
172
172
 
173
173
  /**
174
- * The color of the component. It supports those theme colors that make sense for this component.
174
+ * The color of the component.
175
+ * It supports both default and custom theme colors, which can be added as shown in the
176
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
175
177
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
176
178
  */
177
179
  color: PropTypes
@@ -1,34 +1,34 @@
1
- export interface InputClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if the component is a descendant of `FormControl`. */
5
- formControl: string;
6
- /** Styles applied to the root element if the component is focused. */
7
- focused: string;
8
- /** Styles applied to the root element if `disabled={true}`. */
9
- disabled: string;
10
- /** Styles applied to the root element if color secondary. */
11
- colorSecondary: string;
12
- /** Styles applied to the root element unless `disableUnderline={true}`. */
13
- underline: string;
14
- /** State class applied to the root element if `error={true}`. */
15
- error: string;
16
- /** Styles applied to the input element if `size="small"`. */
17
- sizeSmall: string;
18
- /** Styles applied to the root element if `multiline={true}`. */
19
- multiline: string;
20
- /** Styles applied to the root element if `fullWidth={true}`. */
21
- fullWidth: string;
22
- /** Styles applied to the input element. */
23
- input: string;
24
- /** Styles applied to the input element if `size="small"`. */
25
- inputSizeSmall: string;
26
- /** Styles applied to the input element if `multiline={true}`. */
27
- inputMultiline: string;
28
- /** Styles applied to the input element if `type="search"`. */
29
- inputTypeSearch: string;
30
- }
31
- export declare type InputClassKey = keyof InputClasses;
32
- export declare function getInputUtilityClass(slot: string): string;
33
- declare const inputClasses: InputClasses;
34
- export default inputClasses;
1
+ export interface InputClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if the component is a descendant of `FormControl`. */
5
+ formControl: string;
6
+ /** Styles applied to the root element if the component is focused. */
7
+ focused: string;
8
+ /** Styles applied to the root element if `disabled={true}`. */
9
+ disabled: string;
10
+ /** Styles applied to the root element if color secondary. */
11
+ colorSecondary: string;
12
+ /** Styles applied to the root element unless `disableUnderline={true}`. */
13
+ underline: string;
14
+ /** State class applied to the root element if `error={true}`. */
15
+ error: string;
16
+ /** Styles applied to the input element if `size="small"`. */
17
+ sizeSmall: string;
18
+ /** Styles applied to the root element if `multiline={true}`. */
19
+ multiline: string;
20
+ /** Styles applied to the root element if `fullWidth={true}`. */
21
+ fullWidth: string;
22
+ /** Styles applied to the input element. */
23
+ input: string;
24
+ /** Styles applied to the input element if `size="small"`. */
25
+ inputSizeSmall: string;
26
+ /** Styles applied to the input element if `multiline={true}`. */
27
+ inputMultiline: string;
28
+ /** Styles applied to the input element if `type="search"`. */
29
+ inputTypeSearch: string;
30
+ }
31
+ export declare type InputClassKey = keyof InputClasses;
32
+ export declare function getInputUtilityClass(slot: string): string;
33
+ declare const inputClasses: InputClasses;
34
+ export default inputClasses;
@@ -1,24 +1,24 @@
1
- export interface InputAdornmentClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `variant="filled"`. */
5
- filled: string;
6
- /** Styles applied to the root element if `variant="outlined"`. */
7
- outlined: string;
8
- /** Styles applied to the root element if `variant="standard"`. */
9
- standard: string;
10
- /** Styles applied to the root element if `position="start"`. */
11
- positionStart: string;
12
- /** Styles applied to the root element if `position="end"`. */
13
- positionEnd: string;
14
- /** Styles applied to the root element if `disablePointerEvents={true}`. */
15
- disablePointerEvents: string;
16
- /** Styles applied if the adornment is used inside <FormControl hiddenLabel />. */
17
- hiddenLabel: string;
18
- /** Styles applied if the adornment is used inside <FormControl size="small" />. */
19
- sizeSmall: string;
20
- }
21
- export declare type InputAdornmentClassKey = keyof InputAdornmentClasses;
22
- export declare function getInputAdornmentUtilityClass(slot: string): string;
23
- declare const inputAdornmentClasses: InputAdornmentClasses;
24
- export default inputAdornmentClasses;
1
+ export interface InputAdornmentClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `variant="filled"`. */
5
+ filled: string;
6
+ /** Styles applied to the root element if `variant="outlined"`. */
7
+ outlined: string;
8
+ /** Styles applied to the root element if `variant="standard"`. */
9
+ standard: string;
10
+ /** Styles applied to the root element if `position="start"`. */
11
+ positionStart: string;
12
+ /** Styles applied to the root element if `position="end"`. */
13
+ positionEnd: string;
14
+ /** Styles applied to the root element if `disablePointerEvents={true}`. */
15
+ disablePointerEvents: string;
16
+ /** Styles applied if the adornment is used inside <FormControl hiddenLabel />. */
17
+ hiddenLabel: string;
18
+ /** Styles applied if the adornment is used inside <FormControl size="small" />. */
19
+ sizeSmall: string;
20
+ }
21
+ export declare type InputAdornmentClassKey = keyof InputAdornmentClasses;
22
+ export declare function getInputAdornmentUtilityClass(slot: string): string;
23
+ declare const inputAdornmentClasses: InputAdornmentClasses;
24
+ export default inputAdornmentClasses;
@@ -37,7 +37,9 @@ export interface InputBaseProps
37
37
  */
38
38
  classes?: Partial<InputBaseClasses>;
39
39
  /**
40
- * The color of the component. It supports those theme colors that make sense for this component.
40
+ * The color of the component.
41
+ * It supports both default and custom theme colors, which can be added as shown in the
42
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
41
43
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
42
44
  */
43
45
  color?: OverridableStringUnion<
@@ -531,7 +531,9 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes
531
531
  className: PropTypes.string,
532
532
 
533
533
  /**
534
- * The color of the component. It supports those theme colors that make sense for this component.
534
+ * The color of the component.
535
+ * It supports both default and custom theme colors, which can be added as shown in the
536
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
535
537
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
536
538
  */
537
539
  color: PropTypes
@@ -1,44 +1,44 @@
1
- export interface InputBaseClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if the component is a descendant of `FormControl`. */
5
- formControl: string;
6
- /** Styles applied to the root element if the component is focused. */
7
- focused: string;
8
- /** Styles applied to the root element if `disabled={true}`. */
9
- disabled: string;
10
- /** Styles applied to the root element if `startAdornment` is provided. */
11
- adornedStart: string;
12
- /** Styles applied to the root element if `endAdornment` is provided. */
13
- adornedEnd: string;
14
- /** State class applied to the root element if `error={true}`. */
15
- error: string;
16
- /** Styles applied to the input element if `size="small"`. */
17
- sizeSmall: string;
18
- /** Styles applied to the root element if `multiline={true}`. */
19
- multiline: string;
20
- /** Styles applied to the root element if the color is secondary. */
21
- colorSecondary: string;
22
- /** Styles applied to the root element if `fullWidth={true}`. */
23
- fullWidth: string;
24
- /** Styles applied to the root element if `hiddenLabel={true}`. */
25
- hiddenLabel: string;
26
- /** Styles applied to the input element. */
27
- input: string;
28
- /** Styles applied to the input element if `size="small"`. */
29
- inputSizeSmall: string;
30
- /** Styles applied to the input element if `multiline={true}`. */
31
- inputMultiline: string;
32
- /** Styles applied to the input element if `type="search"`. */
33
- inputTypeSearch: string;
34
- /** Styles applied to the input element if `startAdornment` is provided. */
35
- inputAdornedStart: string;
36
- /** Styles applied to the input element if `endAdornment` is provided. */
37
- inputAdornedEnd: string;
38
- /** Styles applied to the input element if `hiddenLabel={true}`. */
39
- inputHiddenLabel: string;
40
- }
41
- export declare type InputBaseClassKey = keyof InputBaseClasses;
42
- export declare function getInputBaseUtilityClass(slot: string): string;
43
- declare const inputBaseClasses: InputBaseClasses;
44
- export default inputBaseClasses;
1
+ export interface InputBaseClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if the component is a descendant of `FormControl`. */
5
+ formControl: string;
6
+ /** Styles applied to the root element if the component is focused. */
7
+ focused: string;
8
+ /** Styles applied to the root element if `disabled={true}`. */
9
+ disabled: string;
10
+ /** Styles applied to the root element if `startAdornment` is provided. */
11
+ adornedStart: string;
12
+ /** Styles applied to the root element if `endAdornment` is provided. */
13
+ adornedEnd: string;
14
+ /** State class applied to the root element if `error={true}`. */
15
+ error: string;
16
+ /** Styles applied to the input element if `size="small"`. */
17
+ sizeSmall: string;
18
+ /** Styles applied to the root element if `multiline={true}`. */
19
+ multiline: string;
20
+ /** Styles applied to the root element if the color is secondary. */
21
+ colorSecondary: string;
22
+ /** Styles applied to the root element if `fullWidth={true}`. */
23
+ fullWidth: string;
24
+ /** Styles applied to the root element if `hiddenLabel={true}`. */
25
+ hiddenLabel: string;
26
+ /** Styles applied to the input element. */
27
+ input: string;
28
+ /** Styles applied to the input element if `size="small"`. */
29
+ inputSizeSmall: string;
30
+ /** Styles applied to the input element if `multiline={true}`. */
31
+ inputMultiline: string;
32
+ /** Styles applied to the input element if `type="search"`. */
33
+ inputTypeSearch: string;
34
+ /** Styles applied to the input element if `startAdornment` is provided. */
35
+ inputAdornedStart: string;
36
+ /** Styles applied to the input element if `endAdornment` is provided. */
37
+ inputAdornedEnd: string;
38
+ /** Styles applied to the input element if `hiddenLabel={true}`. */
39
+ inputHiddenLabel: string;
40
+ }
41
+ export declare type InputBaseClassKey = keyof InputBaseClasses;
42
+ export declare function getInputBaseUtilityClass(slot: string): string;
43
+ declare const inputBaseClasses: InputBaseClasses;
44
+ export default inputBaseClasses;
@@ -164,7 +164,9 @@ process.env.NODE_ENV !== "production" ? InputLabel.propTypes
164
164
  classes: PropTypes.object,
165
165
 
166
166
  /**
167
- * The color of the component. It supports those theme colors that make sense for this component.
167
+ * The color of the component.
168
+ * It supports both default and custom theme colors, which can be added as shown in the
169
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
168
170
  */
169
171
  color: PropTypes
170
172
  /* @typescript-to-proptypes-ignore */
@@ -1,32 +1,32 @@
1
- export interface InputLabelClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** State class applied to the root element if `focused={true}`. */
5
- focused: string;
6
- /** State class applied to the root element if `disabled={true}`. */
7
- disabled: string;
8
- /** State class applied to the root element if `error={true}`. */
9
- error: string;
10
- /** State class applied to the root element if `required={true}`. */
11
- required: string;
12
- /** State class applied to the asterisk element. */
13
- asterisk: string;
14
- /** Styles applied to the root element if the component is a descendant of `FormControl`. */
15
- formControl: string;
16
- /** Styles applied to the root element if `size="small"`. */
17
- sizeSmall: string;
18
- /** Styles applied to the input element if `shrink={true}`. */
19
- shrink: string;
20
- /** Styles applied to the input element unless `disableAnimation={true}`. */
21
- animated: string;
22
- /** Styles applied to the root element if `variant="filled"`. */
23
- filled: string;
24
- /** Styles applied to the root element if `variant="outlined"`. */
25
- outlined: string;
26
- /** Styles applied to the root element if `variant="standard"`. */
27
- standard: string;
28
- }
29
- export declare type InputLabelClassKey = keyof InputLabelClasses;
30
- export declare function getInputLabelUtilityClasses(slot: string): string;
31
- declare const inputLabelClasses: InputLabelClasses;
32
- export default inputLabelClasses;
1
+ export interface InputLabelClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** State class applied to the root element if `focused={true}`. */
5
+ focused: string;
6
+ /** State class applied to the root element if `disabled={true}`. */
7
+ disabled: string;
8
+ /** State class applied to the root element if `error={true}`. */
9
+ error: string;
10
+ /** State class applied to the root element if `required={true}`. */
11
+ required: string;
12
+ /** State class applied to the asterisk element. */
13
+ asterisk: string;
14
+ /** Styles applied to the root element if the component is a descendant of `FormControl`. */
15
+ formControl: string;
16
+ /** Styles applied to the root element if `size="small"`. */
17
+ sizeSmall: string;
18
+ /** Styles applied to the input element if `shrink={true}`. */
19
+ shrink: string;
20
+ /** Styles applied to the input element unless `disableAnimation={true}`. */
21
+ animated: string;
22
+ /** Styles applied to the root element if `variant="filled"`. */
23
+ filled: string;
24
+ /** Styles applied to the root element if `variant="outlined"`. */
25
+ outlined: string;
26
+ /** Styles applied to the root element if `variant="standard"`. */
27
+ standard: string;
28
+ }
29
+ export declare type InputLabelClassKey = keyof InputLabelClasses;
30
+ export declare function getInputLabelUtilityClasses(slot: string): string;
31
+ declare const inputLabelClasses: InputLabelClasses;
32
+ export default inputLabelClasses;
@@ -13,7 +13,9 @@ export interface LinearProgressProps
13
13
  */
14
14
  classes?: Partial<LinearProgressClasses>;
15
15
  /**
16
- * The color of the component. It supports those theme colors that make sense for this component.
16
+ * The color of the component.
17
+ * It supports both default and custom theme colors, which can be added as shown in the
18
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
17
19
  * @default 'primary'
18
20
  */
19
21
  color?: OverridableStringUnion<
@@ -337,7 +337,9 @@ process.env.NODE_ENV !== "production" ? LinearProgress.propTypes
337
337
  className: PropTypes.string,
338
338
 
339
339
  /**
340
- * The color of the component. It supports those theme colors that make sense for this component.
340
+ * The color of the component.
341
+ * It supports both default and custom theme colors, which can be added as shown in the
342
+ * [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
341
343
  * @default 'primary'
342
344
  */
343
345
  color: PropTypes
@@ -1,42 +1,42 @@
1
- export interface LinearProgressClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root and bar2 element if `color="primary"`; bar2 if `variant="buffer"`. */
5
- colorPrimary: string;
6
- /** Styles applied to the root and bar2 elements if `color="secondary"`; bar2 if `variant="buffer"`. */
7
- colorSecondary: string;
8
- /** Styles applied to the root element if `variant="determinate"`. */
9
- determinate: string;
10
- /** Styles applied to the root element if `variant="indeterminate"`. */
11
- indeterminate: string;
12
- /** Styles applied to the root element if `variant="buffer"`. */
13
- buffer: string;
14
- /** Styles applied to the root element if `variant="query"`. */
15
- query: string;
16
- /** Styles applied to the additional bar element if `variant="buffer"`. */
17
- dashed: string;
18
- /** Styles applied to the additional bar element if `variant="buffer"` and `color="primary"`. */
19
- dashedColorPrimary: string;
20
- /** Styles applied to the additional bar element if `variant="buffer"` and `color="secondary"`. */
21
- dashedColorSecondary: string;
22
- /** Styles applied to the layered bar1 and bar2 elements. */
23
- bar: string;
24
- /** Styles applied to the bar elements if `color="primary"`; bar2 if `variant` not "buffer". */
25
- barColorPrimary: string;
26
- /** Styles applied to the bar elements if `color="secondary"`; bar2 if `variant` not "buffer". */
27
- barColorSecondary: string;
28
- /** Styles applied to the bar1 element if `variant="indeterminate or query"`. */
29
- bar1Indeterminate: string;
30
- /** Styles applied to the bar1 element if `variant="determinate"`. */
31
- bar1Determinate: string;
32
- /** Styles applied to the bar1 element if `variant="buffer"`. */
33
- bar1Buffer: string;
34
- /** Styles applied to the bar2 element if `variant="indeterminate or query"`. */
35
- bar2Indeterminate: string;
36
- /** Styles applied to the bar2 element if `variant="buffer"`. */
37
- bar2Buffer: string;
38
- }
39
- export declare type LinearProgressClassKey = keyof LinearProgressClasses;
40
- export declare function getLinearProgressUtilityClass(slot: string): string;
41
- declare const linearProgressClasses: LinearProgressClasses;
42
- export default linearProgressClasses;
1
+ export interface LinearProgressClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root and bar2 element if `color="primary"`; bar2 if `variant="buffer"`. */
5
+ colorPrimary: string;
6
+ /** Styles applied to the root and bar2 elements if `color="secondary"`; bar2 if `variant="buffer"`. */
7
+ colorSecondary: string;
8
+ /** Styles applied to the root element if `variant="determinate"`. */
9
+ determinate: string;
10
+ /** Styles applied to the root element if `variant="indeterminate"`. */
11
+ indeterminate: string;
12
+ /** Styles applied to the root element if `variant="buffer"`. */
13
+ buffer: string;
14
+ /** Styles applied to the root element if `variant="query"`. */
15
+ query: string;
16
+ /** Styles applied to the additional bar element if `variant="buffer"`. */
17
+ dashed: string;
18
+ /** Styles applied to the additional bar element if `variant="buffer"` and `color="primary"`. */
19
+ dashedColorPrimary: string;
20
+ /** Styles applied to the additional bar element if `variant="buffer"` and `color="secondary"`. */
21
+ dashedColorSecondary: string;
22
+ /** Styles applied to the layered bar1 and bar2 elements. */
23
+ bar: string;
24
+ /** Styles applied to the bar elements if `color="primary"`; bar2 if `variant` not "buffer". */
25
+ barColorPrimary: string;
26
+ /** Styles applied to the bar elements if `color="secondary"`; bar2 if `variant` not "buffer". */
27
+ barColorSecondary: string;
28
+ /** Styles applied to the bar1 element if `variant="indeterminate or query"`. */
29
+ bar1Indeterminate: string;
30
+ /** Styles applied to the bar1 element if `variant="determinate"`. */
31
+ bar1Determinate: string;
32
+ /** Styles applied to the bar1 element if `variant="buffer"`. */
33
+ bar1Buffer: string;
34
+ /** Styles applied to the bar2 element if `variant="indeterminate or query"`. */
35
+ bar2Indeterminate: string;
36
+ /** Styles applied to the bar2 element if `variant="buffer"`. */
37
+ bar2Buffer: string;
38
+ }
39
+ export declare type LinearProgressClassKey = keyof LinearProgressClasses;
40
+ export declare function getLinearProgressUtilityClass(slot: string): string;
41
+ declare const linearProgressClasses: LinearProgressClasses;
42
+ export default linearProgressClasses;
@@ -1,18 +1,18 @@
1
- export interface LinkClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `underline="none"`. */
5
- underlineNone: string;
6
- /** Styles applied to the root element if `underline="hover"`. */
7
- underlineHover: string;
8
- /** Styles applied to the root element if `underline="always"`. */
9
- underlineAlways: string;
10
- /** Styles applied to the root element if `component="button"`. */
11
- button: string;
12
- /** State class applied to the root element if the link is keyboard focused. */
13
- focusVisible: string;
14
- }
15
- export declare type LinkClassKey = keyof LinkClasses;
16
- export declare function getLinkUtilityClass(slot: string): string;
17
- declare const linkClasses: LinkClasses;
18
- export default linkClasses;
1
+ export interface LinkClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `underline="none"`. */
5
+ underlineNone: string;
6
+ /** Styles applied to the root element if `underline="hover"`. */
7
+ underlineHover: string;
8
+ /** Styles applied to the root element if `underline="always"`. */
9
+ underlineAlways: string;
10
+ /** Styles applied to the root element if `component="button"`. */
11
+ button: string;
12
+ /** State class applied to the root element if the link is keyboard focused. */
13
+ focusVisible: string;
14
+ }
15
+ export declare type LinkClassKey = keyof LinkClasses;
16
+ export declare function getLinkUtilityClass(slot: string): string;
17
+ declare const linkClasses: LinkClasses;
18
+ export default linkClasses;
@@ -1,14 +1,14 @@
1
- export interface ListClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element unless `disablePadding={true}`. */
5
- padding: string;
6
- /** Styles applied to the root element if dense. */
7
- dense: string;
8
- /** Styles applied to the root element if a `subheader` is provided. */
9
- subheader: string;
10
- }
11
- export declare type ListClassKey = keyof ListClasses;
12
- export declare function getListUtilityClass(slot: string): string;
13
- declare const listClasses: ListClasses;
14
- export default listClasses;
1
+ export interface ListClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element unless `disablePadding={true}`. */
5
+ padding: string;
6
+ /** Styles applied to the root element if dense. */
7
+ dense: string;
8
+ /** Styles applied to the root element if a `subheader` is provided. */
9
+ subheader: string;
10
+ }
11
+ export declare type ListClassKey = keyof ListClasses;
12
+ export declare function getListUtilityClass(slot: string): string;
13
+ declare const listClasses: ListClasses;
14
+ export default listClasses;