@mui/material 5.0.0 → 5.0.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 (414) 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 +2 -1
  6. package/Alert/Alert.js +1 -0
  7. package/Alert/alertClasses.d.ts +44 -44
  8. package/AlertTitle/alertTitleClasses.d.ts +8 -8
  9. package/AppBar/appBarClasses.d.ts +28 -28
  10. package/Autocomplete/Autocomplete.d.ts +1 -1
  11. package/Autocomplete/Autocomplete.js +1 -1
  12. package/Autocomplete/autocompleteClasses.d.ts +54 -54
  13. package/Avatar/Avatar.d.ts +1 -1
  14. package/Avatar/Avatar.js +1 -1
  15. package/Avatar/avatarClasses.d.ts +20 -20
  16. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  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/buttonClasses.d.ts +76 -76
  22. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  23. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  24. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  25. package/CHANGELOG.md +278 -2
  26. package/Card/cardClasses.d.ts +8 -8
  27. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  28. package/CardActions/cardActionsClasses.d.ts +10 -10
  29. package/CardContent/cardContentClasses.d.ts +8 -8
  30. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  31. package/CardMedia/cardMediaClasses.d.ts +12 -12
  32. package/Checkbox/checkboxClasses.d.ts +18 -18
  33. package/Chip/Chip.js +5 -4
  34. package/Chip/chipClasses.d.ts +80 -80
  35. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  36. package/ClickAwayListener/ClickAwayListener.d.ts +47 -47
  37. package/ClickAwayListener/index.d.ts +2 -2
  38. package/Collapse/Collapse.js +16 -3
  39. package/Collapse/collapseClasses.d.ts +18 -18
  40. package/Container/containerClasses.d.ts +22 -22
  41. package/Dialog/Dialog.d.ts +1 -1
  42. package/Dialog/DialogContext.d.ts +6 -6
  43. package/Dialog/dialogClasses.d.ts +36 -36
  44. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  45. package/DialogContent/dialogContentClasses.d.ts +10 -10
  46. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  47. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  48. package/Divider/dividerClasses.d.ts +34 -34
  49. package/Drawer/drawerClasses.d.ts +30 -30
  50. package/Fab/fabClasses.d.ts +26 -26
  51. package/Fade/Fade.d.ts +1 -1
  52. package/Fade/Fade.js +19 -2
  53. package/FilledInput/filledInputClasses.d.ts +40 -40
  54. package/FormControl/formControlClasses.d.ts +14 -14
  55. package/FormControlLabel/formControlLabelClasses.d.ts +18 -18
  56. package/FormGroup/formGroupClasses.d.ts +10 -10
  57. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  58. package/FormLabel/formLabelClasses.d.ts +22 -22
  59. package/Grid/gridClasses.d.ts +48 -48
  60. package/Grow/Grow.d.ts +1 -1
  61. package/Grow/Grow.js +17 -4
  62. package/Icon/iconClasses.d.ts +24 -24
  63. package/IconButton/iconButtonClasses.d.ts +26 -26
  64. package/ImageList/imageListClasses.d.ts +16 -16
  65. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  66. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  67. package/Input/inputClasses.d.ts +34 -34
  68. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  69. package/InputBase/inputBaseClasses.d.ts +44 -44
  70. package/InputLabel/InputLabel.js +1 -1
  71. package/InputLabel/inputLabelClasses.d.ts +32 -32
  72. package/LICENSE +21 -21
  73. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  74. package/Link/linkClasses.d.ts +18 -18
  75. package/List/listClasses.d.ts +14 -14
  76. package/ListItem/listItemClasses.d.ts +30 -30
  77. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  78. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  79. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  80. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  81. package/ListItemText/listItemTextClasses.d.ts +18 -18
  82. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  83. package/Menu/menuClasses.d.ts +12 -12
  84. package/MenuItem/menuItemClasses.d.ts +20 -20
  85. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  86. package/NativeSelect/NativeSelect.d.ts +1 -1
  87. package/NativeSelect/NativeSelect.js +1 -1
  88. package/NativeSelect/nativeSelectClasses.d.ts +30 -30
  89. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  90. package/Pagination/paginationClasses.d.ts +14 -14
  91. package/PaginationItem/PaginationItem.js +3 -4
  92. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  93. package/Paper/paperClasses.d.ts +39 -39
  94. package/Popover/Popover.d.ts +1 -1
  95. package/Popover/popoverClasses.d.ts +10 -10
  96. package/README.md +8 -3
  97. package/Radio/Radio.js +10 -1
  98. package/Radio/radioClasses.d.ts +16 -16
  99. package/Rating/ratingClasses.d.ts +40 -40
  100. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  101. package/Select/SelectInput.js +2 -1
  102. package/Select/selectClasses.d.ts +30 -30
  103. package/Skeleton/skeletonClasses.d.ts +24 -24
  104. package/Slide/Slide.d.ts +1 -1
  105. package/Slide/Slide.js +19 -2
  106. package/Snackbar/Snackbar.d.ts +1 -1
  107. package/Snackbar/snackbarClasses.d.ts +20 -20
  108. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  109. package/SpeedDial/speedDialClasses.d.ts +22 -22
  110. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  111. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  112. package/Step/stepClasses.d.ts +16 -16
  113. package/StepButton/stepButtonClasses.d.ts +14 -14
  114. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  115. package/StepContent/stepContentClasses.d.ts +12 -12
  116. package/StepIcon/stepIconClasses.d.ts +16 -16
  117. package/StepLabel/stepLabelClasses.d.ts +28 -28
  118. package/Stepper/stepperClasses.d.ts +14 -14
  119. package/SvgIcon/svgIconClasses.d.ts +24 -24
  120. package/Switch/Switch.js +3 -1
  121. package/Switch/switchClasses.d.ts +32 -32
  122. package/Tab/Tab.js +8 -4
  123. package/Tab/tabClasses.d.ts +26 -24
  124. package/Tab/tabClasses.js +1 -1
  125. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  126. package/Table/tableClasses.d.ts +10 -10
  127. package/TableBody/tableBodyClasses.d.ts +8 -8
  128. package/TableCell/tableCellClasses.d.ts +32 -32
  129. package/TableContainer/tableContainerClasses.d.ts +8 -8
  130. package/TableFooter/tableFooterClasses.d.ts +8 -8
  131. package/TableHead/tableHeadClasses.d.ts +8 -8
  132. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  133. package/TableRow/tableRowClasses.d.ts +16 -16
  134. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  135. package/Tabs/tabsClasses.d.ts +32 -32
  136. package/TextField/textFieldClasses.d.ts +8 -8
  137. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  138. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  139. package/Toolbar/toolbarClasses.d.ts +14 -14
  140. package/Tooltip/Tooltip.d.ts +29 -2
  141. package/Tooltip/Tooltip.js +56 -24
  142. package/Tooltip/tooltipClasses.d.ts +30 -30
  143. package/Typography/typographyClasses.d.ts +50 -50
  144. package/Zoom/Zoom.d.ts +1 -1
  145. package/Zoom/Zoom.js +19 -2
  146. package/colors/amber.d.ts +15 -15
  147. package/colors/blue.d.ts +15 -15
  148. package/colors/blueGrey.d.ts +15 -15
  149. package/colors/brown.d.ts +15 -15
  150. package/colors/common.d.ts +3 -3
  151. package/colors/cyan.d.ts +15 -15
  152. package/colors/deepOrange.d.ts +15 -15
  153. package/colors/deepPurple.d.ts +15 -15
  154. package/colors/green.d.ts +15 -15
  155. package/colors/grey.d.ts +15 -15
  156. package/colors/indigo.d.ts +15 -15
  157. package/colors/lightBlue.d.ts +15 -15
  158. package/colors/lightGreen.d.ts +15 -15
  159. package/colors/lime.d.ts +15 -15
  160. package/colors/orange.d.ts +15 -15
  161. package/colors/pink.d.ts +15 -15
  162. package/colors/purple.d.ts +15 -15
  163. package/colors/red.d.ts +15 -15
  164. package/colors/teal.d.ts +15 -15
  165. package/colors/yellow.d.ts +15 -15
  166. package/darkScrollbar/index.d.ts +28 -28
  167. package/index.js +1 -1
  168. package/internal/SwitchBase.js +3 -2
  169. package/internal/switchBaseClasses.d.ts +12 -12
  170. package/legacy/Alert/Alert.js +1 -0
  171. package/legacy/Autocomplete/Autocomplete.js +1 -1
  172. package/legacy/Avatar/Avatar.js +1 -1
  173. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  174. package/legacy/Chip/Chip.js +5 -4
  175. package/legacy/Collapse/Collapse.js +17 -4
  176. package/legacy/Fade/Fade.js +20 -3
  177. package/legacy/Grow/Grow.js +18 -5
  178. package/legacy/InputLabel/InputLabel.js +1 -1
  179. package/legacy/NativeSelect/NativeSelect.js +1 -1
  180. package/legacy/PaginationItem/PaginationItem.js +3 -4
  181. package/legacy/Radio/Radio.js +11 -1
  182. package/legacy/Select/SelectInput.js +2 -1
  183. package/legacy/Slide/Slide.js +20 -3
  184. package/legacy/Switch/Switch.js +22 -22
  185. package/legacy/Tab/Tab.js +8 -4
  186. package/legacy/Tab/tabClasses.js +1 -1
  187. package/legacy/Tooltip/Tooltip.js +55 -24
  188. package/legacy/Zoom/Zoom.js +20 -3
  189. package/legacy/index.js +1 -1
  190. package/legacy/internal/SwitchBase.js +2 -1
  191. package/legacy/useMediaQuery/useMediaQuery.js +23 -21
  192. package/locale/index.d.ts +65 -65
  193. package/modern/Alert/Alert.js +1 -0
  194. package/modern/Autocomplete/Autocomplete.js +1 -1
  195. package/modern/Avatar/Avatar.js +1 -1
  196. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  197. package/modern/Chip/Chip.js +5 -4
  198. package/modern/Collapse/Collapse.js +16 -3
  199. package/modern/Fade/Fade.js +19 -2
  200. package/modern/Grow/Grow.js +17 -4
  201. package/modern/InputLabel/InputLabel.js +1 -1
  202. package/modern/NativeSelect/NativeSelect.js +1 -1
  203. package/modern/PaginationItem/PaginationItem.js +3 -4
  204. package/modern/Radio/Radio.js +10 -1
  205. package/modern/Select/SelectInput.js +2 -1
  206. package/modern/Slide/Slide.js +19 -2
  207. package/modern/Switch/Switch.js +3 -1
  208. package/modern/Tab/Tab.js +8 -4
  209. package/modern/Tab/tabClasses.js +1 -1
  210. package/modern/Tooltip/Tooltip.js +47 -21
  211. package/modern/Zoom/Zoom.js +19 -2
  212. package/modern/index.js +1 -1
  213. package/modern/internal/SwitchBase.js +3 -2
  214. package/modern/useMediaQuery/useMediaQuery.js +18 -18
  215. package/node/Accordion/accordionClasses.js +1 -1
  216. package/node/Accordion/index.js +4 -4
  217. package/node/AccordionActions/accordionActionsClasses.js +1 -1
  218. package/node/AccordionActions/index.js +4 -4
  219. package/node/AccordionDetails/accordionDetailsClasses.js +1 -1
  220. package/node/AccordionDetails/index.js +4 -4
  221. package/node/AccordionSummary/accordionSummaryClasses.js +1 -1
  222. package/node/AccordionSummary/index.js +4 -4
  223. package/node/Alert/Alert.js +1 -0
  224. package/node/Alert/alertClasses.js +1 -1
  225. package/node/Alert/index.js +4 -4
  226. package/node/AlertTitle/alertTitleClasses.js +1 -1
  227. package/node/AlertTitle/index.js +4 -4
  228. package/node/AppBar/appBarClasses.js +1 -1
  229. package/node/AppBar/index.js +4 -4
  230. package/node/Autocomplete/Autocomplete.js +1 -1
  231. package/node/Autocomplete/autocompleteClasses.js +1 -1
  232. package/node/Autocomplete/index.js +4 -4
  233. package/node/Avatar/Avatar.js +1 -1
  234. package/node/Avatar/avatarClasses.js +1 -1
  235. package/node/Avatar/index.js +4 -4
  236. package/node/AvatarGroup/avatarGroupClasses.js +1 -1
  237. package/node/AvatarGroup/index.js +4 -4
  238. package/node/BottomNavigation/BottomNavigation.js +0 -0
  239. package/node/BottomNavigation/bottomNavigationClasses.js +1 -1
  240. package/node/BottomNavigation/index.js +4 -4
  241. package/node/BottomNavigationAction/bottomNavigationActionClasses.js +1 -1
  242. package/node/BottomNavigationAction/index.js +4 -4
  243. package/node/Breadcrumbs/breadcrumbsClasses.js +1 -1
  244. package/node/Breadcrumbs/index.js +4 -4
  245. package/node/Button/buttonClasses.js +1 -1
  246. package/node/Button/index.js +4 -4
  247. package/node/ButtonBase/TouchRipple.js +1 -1
  248. package/node/ButtonBase/buttonBaseClasses.js +1 -1
  249. package/node/ButtonBase/index.js +4 -4
  250. package/node/ButtonBase/touchRippleClasses.js +1 -1
  251. package/node/ButtonGroup/buttonGroupClasses.js +1 -1
  252. package/node/ButtonGroup/index.js +4 -4
  253. package/node/Card/cardClasses.js +1 -1
  254. package/node/Card/index.js +4 -4
  255. package/node/CardActionArea/cardActionAreaClasses.js +1 -1
  256. package/node/CardActionArea/index.js +4 -4
  257. package/node/CardActions/cardActionsClasses.js +1 -1
  258. package/node/CardActions/index.js +4 -4
  259. package/node/CardContent/cardContentClasses.js +1 -1
  260. package/node/CardContent/index.js +4 -4
  261. package/node/CardHeader/cardHeaderClasses.js +1 -1
  262. package/node/CardHeader/index.js +4 -4
  263. package/node/CardMedia/cardMediaClasses.js +1 -1
  264. package/node/CardMedia/index.js +4 -4
  265. package/node/Checkbox/checkboxClasses.js +1 -1
  266. package/node/Checkbox/index.js +4 -4
  267. package/node/Chip/Chip.js +5 -4
  268. package/node/Chip/chipClasses.js +1 -1
  269. package/node/Chip/index.js +4 -4
  270. package/node/CircularProgress/circularProgressClasses.js +1 -1
  271. package/node/CircularProgress/index.js +4 -4
  272. package/node/Collapse/Collapse.js +16 -3
  273. package/node/Collapse/collapseClasses.js +1 -1
  274. package/node/Collapse/index.js +4 -4
  275. package/node/Container/containerClasses.js +1 -1
  276. package/node/Container/index.js +4 -4
  277. package/node/CssBaseline/CssBaseline.js +1 -1
  278. package/node/Dialog/dialogClasses.js +1 -1
  279. package/node/DialogActions/dialogActionsClasses.js +1 -1
  280. package/node/DialogContent/dialogContentClasses.js +1 -1
  281. package/node/DialogContentText/dialogContentTextClasses.js +1 -1
  282. package/node/DialogTitle/dialogTitleClasses.js +1 -1
  283. package/node/Divider/dividerClasses.js +1 -1
  284. package/node/Drawer/Drawer.js +2 -2
  285. package/node/Drawer/drawerClasses.js +1 -1
  286. package/node/Fab/fabClasses.js +1 -1
  287. package/node/Fade/Fade.js +19 -2
  288. package/node/FilledInput/filledInputClasses.js +1 -1
  289. package/node/FormControl/formControlClasses.js +1 -1
  290. package/node/FormControl/index.js +4 -4
  291. package/node/FormControlLabel/formControlLabelClasses.js +1 -1
  292. package/node/FormGroup/formGroupClasses.js +1 -1
  293. package/node/FormHelperText/formHelperTextClasses.js +1 -1
  294. package/node/FormLabel/formLabelClasses.js +1 -1
  295. package/node/Grid/Grid.js +2 -2
  296. package/node/Grid/gridClasses.js +1 -1
  297. package/node/Grow/Grow.js +17 -4
  298. package/node/Hidden/hiddenCssClasses.js +1 -1
  299. package/node/Hidden/withWidth.js +1 -1
  300. package/node/Icon/iconClasses.js +1 -1
  301. package/node/IconButton/iconButtonClasses.js +1 -1
  302. package/node/ImageList/imageListClasses.js +1 -1
  303. package/node/ImageListItem/imageListItemClasses.js +1 -1
  304. package/node/ImageListItemBar/imageListItemBarClasses.js +1 -1
  305. package/node/Input/inputClasses.js +1 -1
  306. package/node/InputAdornment/inputAdornmentClasses.js +1 -1
  307. package/node/InputBase/InputBase.js +1 -1
  308. package/node/InputBase/inputBaseClasses.js +1 -1
  309. package/node/InputBase/utils.js +1 -1
  310. package/node/InputLabel/InputLabel.js +1 -1
  311. package/node/InputLabel/inputLabelClasses.js +1 -1
  312. package/node/LinearProgress/linearProgressClasses.js +1 -1
  313. package/node/Link/linkClasses.js +1 -1
  314. package/node/List/listClasses.js +1 -1
  315. package/node/ListItem/ListItem.js +1 -1
  316. package/node/ListItem/listItemClasses.js +1 -1
  317. package/node/ListItemAvatar/listItemAvatarClasses.js +1 -1
  318. package/node/ListItemButton/ListItemButton.js +1 -1
  319. package/node/ListItemButton/listItemButtonClasses.js +1 -1
  320. package/node/ListItemIcon/listItemIconClasses.js +1 -1
  321. package/node/ListItemSecondaryAction/listItemSecondaryActionClasses.js +1 -1
  322. package/node/ListItemText/listItemTextClasses.js +1 -1
  323. package/node/ListSubheader/listSubheaderClasses.js +1 -1
  324. package/node/Menu/menuClasses.js +1 -1
  325. package/node/MenuItem/MenuItem.js +1 -1
  326. package/node/MenuItem/menuItemClasses.js +1 -1
  327. package/node/MobileStepper/mobileStepperClasses.js +1 -1
  328. package/node/Modal/Modal.js +1 -1
  329. package/node/NativeSelect/NativeSelect.js +1 -1
  330. package/node/NativeSelect/NativeSelectInput.js +1 -1
  331. package/node/NativeSelect/nativeSelectClasses.js +1 -1
  332. package/node/OutlinedInput/outlinedInputClasses.js +1 -1
  333. package/node/Pagination/paginationClasses.js +1 -1
  334. package/node/PaginationItem/PaginationItem.js +3 -4
  335. package/node/PaginationItem/paginationItemClasses.js +1 -1
  336. package/node/Paper/paperClasses.js +1 -1
  337. package/node/Popover/Popover.js +2 -2
  338. package/node/Popover/popoverClasses.js +1 -1
  339. package/node/Radio/Radio.js +11 -1
  340. package/node/Radio/radioClasses.js +1 -1
  341. package/node/Rating/ratingClasses.js +1 -1
  342. package/node/ScopedCssBaseline/scopedCssBaselineClasses.js +1 -1
  343. package/node/Select/SelectInput.js +2 -1
  344. package/node/Select/selectClasses.js +1 -1
  345. package/node/Skeleton/skeletonClasses.js +1 -1
  346. package/node/Slide/Slide.js +20 -3
  347. package/node/Slider/Slider.js +1 -1
  348. package/node/Snackbar/snackbarClasses.js +1 -1
  349. package/node/SnackbarContent/snackbarContentClasses.js +1 -1
  350. package/node/SpeedDial/speedDialClasses.js +1 -1
  351. package/node/SpeedDialAction/speedDialActionClasses.js +1 -1
  352. package/node/SpeedDialIcon/speedDialIconClasses.js +1 -1
  353. package/node/Stack/Stack.js +1 -1
  354. package/node/Step/stepClasses.js +1 -1
  355. package/node/StepButton/stepButtonClasses.js +1 -1
  356. package/node/StepConnector/stepConnectorClasses.js +1 -1
  357. package/node/StepContent/stepContentClasses.js +1 -1
  358. package/node/StepIcon/stepIconClasses.js +1 -1
  359. package/node/StepLabel/stepLabelClasses.js +1 -1
  360. package/node/Stepper/stepperClasses.js +1 -1
  361. package/node/SvgIcon/svgIconClasses.js +1 -1
  362. package/node/SwipeableDrawer/SwipeableDrawer.js +1 -1
  363. package/node/Switch/Switch.js +3 -1
  364. package/node/Switch/switchClasses.js +1 -1
  365. package/node/Tab/Tab.js +8 -4
  366. package/node/Tab/tabClasses.js +2 -2
  367. package/node/TabScrollButton/tabScrollButtonClasses.js +1 -1
  368. package/node/Table/tableClasses.js +1 -1
  369. package/node/TableBody/tableBodyClasses.js +1 -1
  370. package/node/TableCell/tableCellClasses.js +1 -1
  371. package/node/TableContainer/tableContainerClasses.js +1 -1
  372. package/node/TableFooter/tableFooterClasses.js +1 -1
  373. package/node/TableHead/tableHeadClasses.js +1 -1
  374. package/node/TablePagination/tablePaginationClasses.js +1 -1
  375. package/node/TableRow/tableRowClasses.js +1 -1
  376. package/node/TableSortLabel/tableSortLabelClasses.js +1 -1
  377. package/node/Tabs/tabsClasses.js +1 -1
  378. package/node/TextField/textFieldClasses.js +1 -1
  379. package/node/ToggleButton/toggleButtonClasses.js +1 -1
  380. package/node/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
  381. package/node/Toolbar/toolbarClasses.js +1 -1
  382. package/node/Tooltip/Tooltip.js +56 -24
  383. package/node/Tooltip/tooltipClasses.js +1 -1
  384. package/node/Typography/typographyClasses.js +1 -1
  385. package/node/Zoom/Zoom.js +19 -2
  386. package/node/colors/index.js +40 -40
  387. package/node/index.js +32 -32
  388. package/node/internal/SwitchBase.js +3 -2
  389. package/node/internal/switchBaseClasses.js +1 -1
  390. package/node/locale/index.js +1 -1
  391. package/node/styles/createPalette.js +2 -1
  392. package/node/styles/createTransitions.js +1 -1
  393. package/node/styles/cssUtils.js +4 -4
  394. package/node/styles/index.js +56 -56
  395. package/node/styles/styled.js +1 -1
  396. package/node/useAutocomplete/index.js +4 -4
  397. package/node/useMediaQuery/useMediaQuery.js +14 -17
  398. package/package.json +7 -7
  399. package/styles/components.d.ts +4 -0
  400. package/styles/props.d.ts +2 -0
  401. package/styles/styled.d.ts +4 -0
  402. package/transitions/index.d.ts +1 -1
  403. package/transitions/transition.d.ts +14 -14
  404. package/transitions/utils.d.ts +23 -23
  405. package/umd/material-ui.development.js +848 -595
  406. package/umd/material-ui.production.min.js +21 -21
  407. package/useMediaQuery/useMediaQuery.d.ts +21 -16
  408. package/useMediaQuery/useMediaQuery.js +18 -18
  409. package/useTouchRipple/index.d.ts +1 -1
  410. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  411. package/utils/getScrollbarSize.d.ts +2 -2
  412. package/utils/ownerDocument.d.ts +2 -2
  413. package/utils/ownerWindow.d.ts +2 -2
  414. package/utils/setRef.d.ts +2 -2
@@ -1,10 +1,10 @@
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
- }
7
- export declare type FormGroupClassKey = keyof FormGroupClasses;
8
- export declare function getFormGroupUtilityClass(slot: string): string;
9
- declare const formGroupClasses: FormGroupClasses;
10
- 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
+ }
7
+ export declare type FormGroupClassKey = keyof FormGroupClasses;
8
+ export declare function getFormGroupUtilityClass(slot: string): string;
9
+ declare const formGroupClasses: FormGroupClasses;
10
+ export default formGroupClasses;
@@ -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;
@@ -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;
package/Grow/Grow.d.ts CHANGED
@@ -11,7 +11,7 @@ export interface GrowProps extends Omit<TransitionProps, 'timeout'> {
11
11
  /**
12
12
  * A single child content element.
13
13
  */
14
- children?: React.ReactElement<any, any>;
14
+ children: React.ReactElement<any, any>;
15
15
  /**
16
16
  * The transition timing function.
17
17
  * You may specify a single easing or a object containing enter and exit values.
package/Grow/Grow.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
- const _excluded = ["appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
3
+ const _excluded = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
4
4
  import * as React from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import { elementAcceptingRef } from '@mui/utils';
@@ -32,6 +32,7 @@ const styles = {
32
32
 
33
33
  const Grow = /*#__PURE__*/React.forwardRef(function Grow(props, ref) {
34
34
  const {
35
+ addEndListener,
35
36
  appear = true,
36
37
  children,
37
38
  easing,
@@ -145,10 +146,15 @@ const Grow = /*#__PURE__*/React.forwardRef(function Grow(props, ref) {
145
146
  });
146
147
  const handleExited = normalizedTransitionCallback(onExited);
147
148
 
148
- const addEndListener = next => {
149
+ const handleAddEndListener = next => {
149
150
  if (timeout === 'auto') {
150
151
  timer.current = setTimeout(next, autoTimeout.current || 0);
151
152
  }
153
+
154
+ if (addEndListener) {
155
+ // Old call signature before `react-transition-group` implemented `nodeRef`
156
+ addEndListener(nodeRef.current, next);
157
+ }
152
158
  };
153
159
 
154
160
  React.useEffect(() => {
@@ -166,7 +172,7 @@ const Grow = /*#__PURE__*/React.forwardRef(function Grow(props, ref) {
166
172
  onExit: handleExit,
167
173
  onExited: handleExited,
168
174
  onExiting: handleExiting,
169
- addEndListener: addEndListener,
175
+ addEndListener: handleAddEndListener,
170
176
  timeout: timeout === 'auto' ? null : timeout
171
177
  }, other, {
172
178
  children: (state, childProps) => {
@@ -189,6 +195,13 @@ process.env.NODE_ENV !== "production" ? Grow.propTypes
189
195
  // | To update them edit the d.ts file and run "yarn proptypes" |
190
196
  // ----------------------------------------------------------------------
191
197
 
198
+ /**
199
+ * Add a custom transition end trigger. Called with the transitioning DOM
200
+ * node and a done callback. Allows for more fine grained transition end
201
+ * logic. Note: Timeouts are still used as a fallback if provided.
202
+ */
203
+ addEndListener: PropTypes.func,
204
+
192
205
  /**
193
206
  * Perform the enter transition when it first mounts if `in` is also `true`.
194
207
  * Set this to `false` to disable this behavior.
@@ -199,7 +212,7 @@ process.env.NODE_ENV !== "production" ? Grow.propTypes
199
212
  /**
200
213
  * A single child content element.
201
214
  */
202
- children: elementAcceptingRef,
215
+ children: elementAcceptingRef.isRequired,
203
216
 
204
217
  /**
205
218
  * The transition timing function.
@@ -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;
@@ -1,26 +1,26 @@
1
- export interface IconButtonClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `edge="start"`. */
5
- edgeStart: string;
6
- /** Styles applied to the root element if `edge="end"`. */
7
- edgeEnd: string;
8
- /** Styles applied to the root element if `color="inherit"`. */
9
- colorInherit: string;
10
- /** Styles applied to the root element if `color="primary"`. */
11
- colorPrimary: string;
12
- /** Styles applied to the root element if `color="secondary"`. */
13
- colorSecondary: string;
14
- /** State class applied to the root element if `disabled={true}`. */
15
- disabled: string;
16
- /** Styles applied to the root element if `size="small"`. */
17
- sizeSmall: string;
18
- /** Styles applied to the root element if `size="medium"`. */
19
- sizeMedium: string;
20
- /** Styles applied to the root element if `size="large"`. */
21
- sizeLarge: string;
22
- }
23
- export declare type IconButtonClassKey = keyof IconButtonClasses;
24
- export declare function getIconButtonUtilityClass(slot: string): string;
25
- declare const iconButtonClasses: IconButtonClasses;
26
- export default iconButtonClasses;
1
+ export interface IconButtonClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `edge="start"`. */
5
+ edgeStart: string;
6
+ /** Styles applied to the root element if `edge="end"`. */
7
+ edgeEnd: string;
8
+ /** Styles applied to the root element if `color="inherit"`. */
9
+ colorInherit: string;
10
+ /** Styles applied to the root element if `color="primary"`. */
11
+ colorPrimary: string;
12
+ /** Styles applied to the root element if `color="secondary"`. */
13
+ colorSecondary: string;
14
+ /** State class applied to the root element if `disabled={true}`. */
15
+ disabled: string;
16
+ /** Styles applied to the root element if `size="small"`. */
17
+ sizeSmall: string;
18
+ /** Styles applied to the root element if `size="medium"`. */
19
+ sizeMedium: string;
20
+ /** Styles applied to the root element if `size="large"`. */
21
+ sizeLarge: string;
22
+ }
23
+ export declare type IconButtonClassKey = keyof IconButtonClasses;
24
+ export declare function getIconButtonUtilityClass(slot: string): string;
25
+ declare const iconButtonClasses: IconButtonClasses;
26
+ export default iconButtonClasses;
@@ -1,16 +1,16 @@
1
- export interface ImageListClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `variant="masonry"`. */
5
- masonry: string;
6
- /** Styles applied to the root element if `variant="quilted"`. */
7
- quilted: string;
8
- /** Styles applied to the root element if `variant="standard"`. */
9
- standard: string;
10
- /** Styles applied to the root element if `variant="woven"`. */
11
- woven: string;
12
- }
13
- export declare type ImageListClassKey = keyof ImageListClasses;
14
- export declare function getImageListUtilityClass(slot: string): string;
15
- declare const imageListClasses: ImageListClasses;
16
- export default imageListClasses;
1
+ export interface ImageListClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `variant="masonry"`. */
5
+ masonry: string;
6
+ /** Styles applied to the root element if `variant="quilted"`. */
7
+ quilted: string;
8
+ /** Styles applied to the root element if `variant="standard"`. */
9
+ standard: string;
10
+ /** Styles applied to the root element if `variant="woven"`. */
11
+ woven: string;
12
+ }
13
+ export declare type ImageListClassKey = keyof ImageListClasses;
14
+ export declare function getImageListUtilityClass(slot: string): string;
15
+ declare const imageListClasses: ImageListClasses;
16
+ export default imageListClasses;
@@ -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;
@@ -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;