@mui/material 5.6.2 → 5.7.0

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 (373) hide show
  1. package/Accordion/Accordion.js +6 -6
  2. package/Accordion/accordionClasses.d.ts +18 -18
  3. package/AccordionActions/accordionActionsClasses.d.ts +10 -10
  4. package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
  5. package/AccordionSummary/AccordionSummary.js +3 -3
  6. package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
  7. package/Alert/alertClasses.d.ts +44 -44
  8. package/AlertTitle/alertTitleClasses.d.ts +8 -8
  9. package/AppBar/appBarClasses.d.ts +28 -28
  10. package/Autocomplete/Autocomplete.js +15 -14
  11. package/Autocomplete/autocompleteClasses.d.ts +54 -54
  12. package/Avatar/avatarClasses.d.ts +20 -20
  13. package/AvatarGroup/AvatarGroup.js +2 -2
  14. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  15. package/Backdrop/backdropClasses.d.ts +10 -10
  16. package/Badge/Badge.js +2 -2
  17. package/Badge/badgeClasses.d.ts +24 -24
  18. package/BottomNavigation/BottomNavigation.js +1 -1
  19. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  20. package/BottomNavigationAction/BottomNavigationAction.js +6 -5
  21. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  22. package/Box/Box.d.ts +9 -28
  23. package/Box/Box.js +25 -4
  24. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  25. package/Button/buttonClasses.d.ts +76 -76
  26. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  27. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  28. package/ButtonGroup/ButtonGroup.js +10 -10
  29. package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
  30. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  31. package/CHANGELOG.md +225 -0
  32. package/Card/cardClasses.d.ts +8 -8
  33. package/CardActionArea/CardActionArea.js +2 -2
  34. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  35. package/CardActions/cardActionsClasses.d.ts +10 -10
  36. package/CardContent/cardContentClasses.d.ts +8 -8
  37. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  38. package/CardMedia/cardMediaClasses.d.ts +12 -12
  39. package/Checkbox/checkboxClasses.d.ts +18 -18
  40. package/Chip/chipClasses.d.ts +80 -80
  41. package/CircularProgress/CircularProgress.js +1 -1
  42. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  43. package/ClickAwayListener/index.d.ts +2 -2
  44. package/Collapse/collapseClasses.d.ts +18 -18
  45. package/Container/containerClasses.d.ts +22 -22
  46. package/CssBaseline/CssBaseline.js +4 -4
  47. package/Dialog/DialogContext.d.ts +6 -6
  48. package/Dialog/dialogClasses.d.ts +36 -36
  49. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  50. package/DialogContent/DialogContent.js +2 -2
  51. package/DialogContent/dialogContentClasses.d.ts +10 -10
  52. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  53. package/DialogTitle/DialogTitle.d.ts +30 -15
  54. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  55. package/Divider/Divider.js +4 -4
  56. package/Divider/dividerClasses.d.ts +34 -34
  57. package/Drawer/Drawer.js +6 -6
  58. package/Drawer/drawerClasses.d.ts +30 -30
  59. package/Fab/Fab.js +69 -65
  60. package/Fab/fabClasses.d.ts +26 -26
  61. package/FilledInput/FilledInput.js +3 -1
  62. package/FilledInput/filledInputClasses.d.ts +40 -40
  63. package/FormControl/formControlClasses.d.ts +14 -14
  64. package/FormControlLabel/FormControlLabel.js +1 -1
  65. package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
  66. package/FormGroup/formGroupClasses.d.ts +12 -12
  67. package/FormHelperText/FormHelperText.js +3 -3
  68. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  69. package/FormLabel/FormLabel.js +5 -5
  70. package/FormLabel/formLabelClasses.d.ts +22 -22
  71. package/Grid/gridClasses.d.ts +48 -48
  72. package/Icon/Icon.js +8 -8
  73. package/Icon/iconClasses.d.ts +24 -24
  74. package/IconButton/IconButton.js +5 -5
  75. package/IconButton/iconButtonClasses.d.ts +26 -26
  76. package/ImageList/imageListClasses.d.ts +16 -16
  77. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  78. package/ImageListItemBar/ImageListItemBar.js +1 -1
  79. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  80. package/Input/Input.js +9 -4
  81. package/Input/inputClasses.d.ts +34 -34
  82. package/InputAdornment/InputAdornment.js +1 -1
  83. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  84. package/InputBase/InputBase.js +16 -8
  85. package/InputBase/inputBaseClasses.d.ts +44 -44
  86. package/InputLabel/inputLabelClasses.d.ts +32 -32
  87. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  88. package/Link/Link.js +3 -8
  89. package/Link/linkClasses.d.ts +18 -18
  90. package/List/listClasses.d.ts +14 -14
  91. package/ListItem/ListItem.js +8 -8
  92. package/ListItem/listItemClasses.d.ts +30 -30
  93. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  94. package/ListItemButton/ListItemButton.js +8 -8
  95. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  96. package/ListItemIcon/ListItemIcon.js +1 -1
  97. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  98. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  99. package/ListItemText/listItemTextClasses.d.ts +18 -18
  100. package/ListSubheader/ListSubheader.js +3 -3
  101. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  102. package/Menu/menuClasses.d.ts +12 -12
  103. package/MenuItem/MenuItem.js +8 -8
  104. package/MenuItem/menuItemClasses.d.ts +20 -20
  105. package/MobileStepper/MobileStepper.js +5 -5
  106. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  107. package/Modal/Modal.js +1 -1
  108. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  109. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  110. package/Pagination/paginationClasses.d.ts +14 -14
  111. package/PaginationItem/PaginationItem.js +27 -27
  112. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  113. package/Paper/paperClasses.d.ts +39 -39
  114. package/Popover/popoverClasses.d.ts +10 -10
  115. package/Popper/Popper.d.ts +29 -29
  116. package/README.md +79 -32
  117. package/Radio/radioClasses.d.ts +16 -16
  118. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  119. package/RadioGroup/useRadioGroup.d.ts +4 -4
  120. package/Rating/Rating.js +2 -2
  121. package/Rating/ratingClasses.d.ts +40 -40
  122. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  123. package/Select/selectClasses.d.ts +30 -30
  124. package/Skeleton/skeletonClasses.d.ts +24 -24
  125. package/Snackbar/Snackbar.js +1 -1
  126. package/Snackbar/snackbarClasses.d.ts +20 -20
  127. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  128. package/SpeedDial/SpeedDial.js +1 -1
  129. package/SpeedDial/speedDialClasses.d.ts +22 -22
  130. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  131. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  132. package/Step/StepContext.d.ts +20 -20
  133. package/Step/stepClasses.d.ts +16 -16
  134. package/StepButton/stepButtonClasses.d.ts +14 -14
  135. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  136. package/StepContent/StepContent.d.ts +3 -1
  137. package/StepContent/stepContentClasses.d.ts +12 -12
  138. package/StepIcon/StepIcon.js +5 -5
  139. package/StepIcon/stepIconClasses.d.ts +16 -16
  140. package/StepLabel/StepLabel.js +4 -4
  141. package/StepLabel/stepLabelClasses.d.ts +28 -28
  142. package/Stepper/StepperContext.d.ts +18 -0
  143. package/Stepper/StepperContext.js +10 -2
  144. package/Stepper/index.d.ts +3 -0
  145. package/Stepper/index.js +3 -1
  146. package/Stepper/stepperClasses.d.ts +14 -14
  147. package/SvgIcon/SvgIcon.js +4 -4
  148. package/SvgIcon/svgIconClasses.d.ts +24 -24
  149. package/Switch/switchClasses.d.ts +32 -32
  150. package/Tab/Tab.js +7 -7
  151. package/Tab/tabClasses.d.ts +26 -26
  152. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  153. package/Table/Table.js +1 -1
  154. package/Table/tableClasses.d.ts +10 -10
  155. package/TableBody/tableBodyClasses.d.ts +8 -8
  156. package/TableCell/tableCellClasses.d.ts +32 -32
  157. package/TableContainer/tableContainerClasses.d.ts +8 -8
  158. package/TableFooter/tableFooterClasses.d.ts +8 -8
  159. package/TableHead/tableHeadClasses.d.ts +8 -8
  160. package/TablePagination/TablePagination.js +1 -1
  161. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  162. package/TableRow/TableRow.js +3 -3
  163. package/TableRow/tableRowClasses.d.ts +16 -16
  164. package/TableSortLabel/TableSortLabel.js +4 -4
  165. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  166. package/Tabs/Tabs.d.ts +1 -1
  167. package/Tabs/Tabs.js +2 -2
  168. package/Tabs/tabsClasses.d.ts +32 -32
  169. package/TextField/textFieldClasses.d.ts +8 -8
  170. package/ToggleButton/ToggleButton.js +17 -10
  171. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  172. package/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  173. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  174. package/Toolbar/toolbarClasses.d.ts +14 -14
  175. package/Tooltip/Tooltip.js +5 -5
  176. package/Tooltip/tooltipClasses.d.ts +30 -30
  177. package/Typography/typographyClasses.d.ts +50 -50
  178. package/className/index.d.ts +1 -8
  179. package/className/index.js +1 -8
  180. package/darkScrollbar/index.d.ts +28 -28
  181. package/index.js +1 -1
  182. package/internal/switchBaseClasses.d.ts +12 -12
  183. package/legacy/Accordion/Accordion.js +6 -6
  184. package/legacy/AccordionSummary/AccordionSummary.js +3 -3
  185. package/legacy/Autocomplete/Autocomplete.js +15 -14
  186. package/legacy/AvatarGroup/AvatarGroup.js +2 -2
  187. package/legacy/Badge/Badge.js +2 -2
  188. package/legacy/BottomNavigation/BottomNavigation.js +1 -1
  189. package/legacy/BottomNavigationAction/BottomNavigationAction.js +6 -5
  190. package/legacy/Box/Box.js +25 -4
  191. package/legacy/ButtonGroup/ButtonGroup.js +10 -10
  192. package/legacy/CardActionArea/CardActionArea.js +2 -2
  193. package/legacy/CircularProgress/CircularProgress.js +1 -1
  194. package/legacy/CssBaseline/CssBaseline.js +4 -4
  195. package/legacy/DialogContent/DialogContent.js +2 -2
  196. package/legacy/Divider/Divider.js +4 -4
  197. package/legacy/Drawer/Drawer.js +6 -6
  198. package/legacy/Fab/Fab.js +17 -17
  199. package/legacy/FilledInput/FilledInput.js +2 -2
  200. package/legacy/FormControlLabel/FormControlLabel.js +1 -1
  201. package/legacy/FormHelperText/FormHelperText.js +3 -3
  202. package/legacy/FormLabel/FormLabel.js +5 -5
  203. package/legacy/Icon/Icon.js +8 -8
  204. package/legacy/IconButton/IconButton.js +5 -5
  205. package/legacy/ImageListItemBar/ImageListItemBar.js +1 -1
  206. package/legacy/Input/Input.js +8 -3
  207. package/legacy/InputAdornment/InputAdornment.js +1 -1
  208. package/legacy/InputBase/InputBase.js +16 -8
  209. package/legacy/Link/Link.js +3 -9
  210. package/legacy/ListItem/ListItem.js +8 -8
  211. package/legacy/ListItemButton/ListItemButton.js +8 -8
  212. package/legacy/ListItemIcon/ListItemIcon.js +1 -1
  213. package/legacy/ListSubheader/ListSubheader.js +3 -3
  214. package/legacy/MenuItem/MenuItem.js +8 -8
  215. package/legacy/MobileStepper/MobileStepper.js +5 -5
  216. package/legacy/Modal/Modal.js +1 -1
  217. package/legacy/PaginationItem/PaginationItem.js +27 -27
  218. package/legacy/Rating/Rating.js +2 -2
  219. package/legacy/Snackbar/Snackbar.js +1 -1
  220. package/legacy/SpeedDial/SpeedDial.js +1 -1
  221. package/legacy/StepIcon/StepIcon.js +5 -5
  222. package/legacy/StepLabel/StepLabel.js +4 -4
  223. package/legacy/Stepper/StepperContext.js +10 -2
  224. package/legacy/Stepper/index.js +3 -1
  225. package/legacy/SvgIcon/SvgIcon.js +4 -4
  226. package/legacy/Tab/Tab.js +7 -7
  227. package/legacy/Table/Table.js +1 -1
  228. package/legacy/TablePagination/TablePagination.js +1 -1
  229. package/legacy/TableRow/TableRow.js +3 -3
  230. package/legacy/TableSortLabel/TableSortLabel.js +4 -4
  231. package/legacy/Tabs/Tabs.js +2 -2
  232. package/legacy/ToggleButton/ToggleButton.js +16 -9
  233. package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  234. package/legacy/Tooltip/Tooltip.js +5 -5
  235. package/legacy/className/index.js +1 -8
  236. package/legacy/index.js +1 -1
  237. package/legacy/locale/index.js +1 -1
  238. package/legacy/styles/createPalette.js +2 -1
  239. package/legacy/styles/experimental_extendTheme.js +52 -43
  240. package/locale/index.d.ts +71 -71
  241. package/locale/index.js +1 -1
  242. package/modern/Accordion/Accordion.js +6 -6
  243. package/modern/AccordionSummary/AccordionSummary.js +3 -3
  244. package/modern/Autocomplete/Autocomplete.js +15 -14
  245. package/modern/AvatarGroup/AvatarGroup.js +2 -2
  246. package/modern/Badge/Badge.js +2 -2
  247. package/modern/BottomNavigation/BottomNavigation.js +1 -1
  248. package/modern/BottomNavigationAction/BottomNavigationAction.js +6 -5
  249. package/modern/Box/Box.js +25 -4
  250. package/modern/ButtonGroup/ButtonGroup.js +10 -10
  251. package/modern/CardActionArea/CardActionArea.js +2 -2
  252. package/modern/CircularProgress/CircularProgress.js +1 -1
  253. package/modern/CssBaseline/CssBaseline.js +4 -4
  254. package/modern/DialogContent/DialogContent.js +2 -2
  255. package/modern/Divider/Divider.js +4 -4
  256. package/modern/Drawer/Drawer.js +6 -6
  257. package/modern/Fab/Fab.js +16 -16
  258. package/modern/FilledInput/FilledInput.js +1 -1
  259. package/modern/FormControlLabel/FormControlLabel.js +1 -1
  260. package/modern/FormHelperText/FormHelperText.js +3 -3
  261. package/modern/FormLabel/FormLabel.js +5 -5
  262. package/modern/Icon/Icon.js +8 -8
  263. package/modern/IconButton/IconButton.js +5 -5
  264. package/modern/ImageListItemBar/ImageListItemBar.js +1 -1
  265. package/modern/Input/Input.js +9 -4
  266. package/modern/InputAdornment/InputAdornment.js +1 -1
  267. package/modern/InputBase/InputBase.js +16 -8
  268. package/modern/Link/Link.js +3 -8
  269. package/modern/ListItem/ListItem.js +8 -8
  270. package/modern/ListItemButton/ListItemButton.js +8 -8
  271. package/modern/ListItemIcon/ListItemIcon.js +1 -1
  272. package/modern/ListSubheader/ListSubheader.js +3 -3
  273. package/modern/MenuItem/MenuItem.js +8 -8
  274. package/modern/MobileStepper/MobileStepper.js +5 -5
  275. package/modern/Modal/Modal.js +1 -1
  276. package/modern/PaginationItem/PaginationItem.js +27 -27
  277. package/modern/Rating/Rating.js +2 -2
  278. package/modern/Snackbar/Snackbar.js +1 -1
  279. package/modern/SpeedDial/SpeedDial.js +1 -1
  280. package/modern/StepIcon/StepIcon.js +5 -5
  281. package/modern/StepLabel/StepLabel.js +4 -4
  282. package/modern/Stepper/StepperContext.js +10 -2
  283. package/modern/Stepper/index.js +3 -1
  284. package/modern/SvgIcon/SvgIcon.js +3 -3
  285. package/modern/Tab/Tab.js +7 -7
  286. package/modern/Table/Table.js +1 -1
  287. package/modern/TablePagination/TablePagination.js +1 -1
  288. package/modern/TableRow/TableRow.js +3 -3
  289. package/modern/TableSortLabel/TableSortLabel.js +4 -4
  290. package/modern/Tabs/Tabs.js +2 -2
  291. package/modern/ToggleButton/ToggleButton.js +17 -10
  292. package/modern/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  293. package/modern/Tooltip/Tooltip.js +5 -5
  294. package/modern/className/index.js +1 -8
  295. package/modern/index.js +1 -1
  296. package/modern/locale/index.js +1 -1
  297. package/modern/styles/createPalette.js +2 -1
  298. package/modern/styles/experimental_extendTheme.js +56 -45
  299. package/node/Accordion/Accordion.js +6 -6
  300. package/node/AccordionSummary/AccordionSummary.js +3 -3
  301. package/node/Autocomplete/Autocomplete.js +15 -14
  302. package/node/AvatarGroup/AvatarGroup.js +2 -2
  303. package/node/Badge/Badge.js +2 -2
  304. package/node/BottomNavigation/BottomNavigation.js +1 -1
  305. package/node/BottomNavigationAction/BottomNavigationAction.js +6 -5
  306. package/node/Box/Box.js +28 -4
  307. package/node/ButtonGroup/ButtonGroup.js +10 -10
  308. package/node/CardActionArea/CardActionArea.js +2 -2
  309. package/node/CircularProgress/CircularProgress.js +1 -1
  310. package/node/CssBaseline/CssBaseline.js +4 -4
  311. package/node/DialogContent/DialogContent.js +2 -2
  312. package/node/Divider/Divider.js +4 -4
  313. package/node/Drawer/Drawer.js +6 -6
  314. package/node/Fab/Fab.js +69 -65
  315. package/node/FilledInput/FilledInput.js +3 -1
  316. package/node/FormControlLabel/FormControlLabel.js +1 -1
  317. package/node/FormHelperText/FormHelperText.js +3 -3
  318. package/node/FormLabel/FormLabel.js +5 -5
  319. package/node/Icon/Icon.js +8 -8
  320. package/node/IconButton/IconButton.js +5 -5
  321. package/node/ImageListItemBar/ImageListItemBar.js +1 -1
  322. package/node/Input/Input.js +9 -4
  323. package/node/InputAdornment/InputAdornment.js +1 -1
  324. package/node/InputBase/InputBase.js +14 -8
  325. package/node/Link/Link.js +3 -9
  326. package/node/ListItem/ListItem.js +8 -8
  327. package/node/ListItemButton/ListItemButton.js +8 -8
  328. package/node/ListItemIcon/ListItemIcon.js +1 -1
  329. package/node/ListSubheader/ListSubheader.js +3 -3
  330. package/node/MenuItem/MenuItem.js +8 -8
  331. package/node/MobileStepper/MobileStepper.js +5 -5
  332. package/node/Modal/Modal.js +1 -1
  333. package/node/PaginationItem/PaginationItem.js +27 -27
  334. package/node/Rating/Rating.js +2 -2
  335. package/node/Snackbar/Snackbar.js +1 -1
  336. package/node/SpeedDial/SpeedDial.js +1 -1
  337. package/node/StepIcon/StepIcon.js +5 -5
  338. package/node/StepLabel/StepLabel.js +4 -4
  339. package/node/Stepper/StepperContext.js +11 -1
  340. package/node/Stepper/index.js +22 -1
  341. package/node/SvgIcon/SvgIcon.js +4 -4
  342. package/node/Tab/Tab.js +7 -7
  343. package/node/Table/Table.js +1 -1
  344. package/node/TablePagination/TablePagination.js +1 -1
  345. package/node/TableRow/TableRow.js +3 -3
  346. package/node/TableSortLabel/TableSortLabel.js +4 -4
  347. package/node/Tabs/Tabs.js +2 -2
  348. package/node/ToggleButton/ToggleButton.js +17 -10
  349. package/node/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  350. package/node/Tooltip/Tooltip.js +5 -5
  351. package/node/className/index.js +2 -2
  352. package/node/index.js +1 -1
  353. package/node/locale/index.js +1 -1
  354. package/node/styles/createPalette.js +2 -1
  355. package/node/styles/experimental_extendTheme.js +57 -47
  356. package/package.json +6 -5
  357. package/styles/ThemeProvider.d.ts +1 -1
  358. package/styles/createPalette.d.ts +9 -2
  359. package/styles/createPalette.js +2 -1
  360. package/styles/experimental_extendTheme.d.ts +13 -16
  361. package/styles/experimental_extendTheme.js +57 -46
  362. package/transitions/index.d.ts +1 -1
  363. package/transitions/transition.d.ts +13 -13
  364. package/transitions/utils.d.ts +23 -23
  365. package/umd/material-ui.development.js +582 -484
  366. package/umd/material-ui.production.min.js +21 -21
  367. package/useMediaQuery/useMediaQuery.d.ts +31 -31
  368. package/useTouchRipple/index.d.ts +1 -1
  369. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  370. package/utils/getScrollbarSize.d.ts +2 -2
  371. package/utils/ownerDocument.d.ts +2 -2
  372. package/utils/ownerWindow.d.ts +2 -2
  373. package/utils/setRef.d.ts +2 -2
@@ -63,33 +63,33 @@ const ListItemButtonRoot = styled(ButtonBase, {
63
63
  }),
64
64
  '&:hover': {
65
65
  textDecoration: 'none',
66
- backgroundColor: theme.palette.action.hover,
66
+ backgroundColor: (theme.vars || theme).palette.action.hover,
67
67
  // Reset on touch devices, it doesn't add specificity
68
68
  '@media (hover: none)': {
69
69
  backgroundColor: 'transparent'
70
70
  }
71
71
  },
72
72
  [`&.${listItemButtonClasses.selected}`]: {
73
- backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),
73
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),
74
74
  [`&.${listItemButtonClasses.focusVisible}`]: {
75
- backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
75
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
76
76
  }
77
77
  },
78
78
  [`&.${listItemButtonClasses.selected}:hover`]: {
79
- backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
79
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
80
80
  // Reset on touch devices, it doesn't add specificity
81
81
  '@media (hover: none)': {
82
- backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity)
82
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity)
83
83
  }
84
84
  },
85
85
  [`&.${listItemButtonClasses.focusVisible}`]: {
86
- backgroundColor: theme.palette.action.focus
86
+ backgroundColor: (theme.vars || theme).palette.action.focus
87
87
  },
88
88
  [`&.${listItemButtonClasses.disabled}`]: {
89
- opacity: theme.palette.action.disabledOpacity
89
+ opacity: (theme.vars || theme).palette.action.disabledOpacity
90
90
  }
91
91
  }, ownerState.divider && {
92
- borderBottom: `1px solid ${theme.palette.divider}`,
92
+ borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`,
93
93
  backgroundClip: 'padding-box'
94
94
  }, ownerState.alignItems === 'flex-start' && {
95
95
  alignItems: 'flex-start'
@@ -1,22 +1,22 @@
1
- export interface ListItemButtonClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** State class applied to the `component`'s `focusVisibleClassName` prop. */
5
- focusVisible: string;
6
- /** Styles applied to the component element if dense. */
7
- dense: string;
8
- /** Styles applied to the component element if `alignItems="flex-start"`. */
9
- alignItemsFlexStart: string;
10
- /** State class applied to the inner `component` element if `disabled={true}`. */
11
- disabled: string;
12
- /** Styles applied to the inner `component` element if `divider={true}`. */
13
- divider: string;
14
- /** Styles applied to the inner `component` element unless `disableGutters={true}`. */
15
- gutters: string;
16
- /** State class applied to the root element if `selected={true}`. */
17
- selected: string;
18
- }
19
- export declare type ListItemButtonClassKey = keyof ListItemButtonClasses;
20
- export declare function getListItemButtonUtilityClass(slot: string): string;
21
- declare const listItemButtonClasses: ListItemButtonClasses;
22
- export default listItemButtonClasses;
1
+ export interface ListItemButtonClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** State class applied to the `component`'s `focusVisibleClassName` prop. */
5
+ focusVisible: string;
6
+ /** Styles applied to the component element if dense. */
7
+ dense: string;
8
+ /** Styles applied to the component element if `alignItems="flex-start"`. */
9
+ alignItemsFlexStart: string;
10
+ /** State class applied to the inner `component` element if `disabled={true}`. */
11
+ disabled: string;
12
+ /** Styles applied to the inner `component` element if `divider={true}`. */
13
+ divider: string;
14
+ /** Styles applied to the inner `component` element unless `disableGutters={true}`. */
15
+ gutters: string;
16
+ /** State class applied to the root element if `selected={true}`. */
17
+ selected: string;
18
+ }
19
+ export declare type ListItemButtonClassKey = keyof ListItemButtonClasses;
20
+ export declare function getListItemButtonUtilityClass(slot: string): string;
21
+ declare const listItemButtonClasses: ListItemButtonClasses;
22
+ export default listItemButtonClasses;
@@ -36,7 +36,7 @@ const ListItemIconRoot = styled('div', {
36
36
  ownerState
37
37
  }) => _extends({
38
38
  minWidth: 56,
39
- color: theme.palette.action.active,
39
+ color: (theme.vars || theme).palette.action.active,
40
40
  flexShrink: 0,
41
41
  display: 'inline-flex'
42
42
  }, ownerState.alignItems === 'flex-start' && {
@@ -1,10 +1,10 @@
1
- export interface ListItemIconClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element when the parent `ListItem` uses `alignItems="flex-start"`. */
5
- alignItemsFlexStart: string;
6
- }
7
- export declare type ListItemIconClassKey = keyof ListItemIconClasses;
8
- export declare function getListItemIconUtilityClass(slot: string): string;
9
- declare const listItemIconClasses: ListItemIconClasses;
10
- export default listItemIconClasses;
1
+ export interface ListItemIconClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element when the parent `ListItem` uses `alignItems="flex-start"`. */
5
+ alignItemsFlexStart: string;
6
+ }
7
+ export declare type ListItemIconClassKey = keyof ListItemIconClasses;
8
+ export declare function getListItemIconUtilityClass(slot: string): string;
9
+ declare const listItemIconClasses: ListItemIconClasses;
10
+ export default listItemIconClasses;
@@ -1,10 +1,10 @@
1
- export interface ListItemSecondaryActionClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element when the parent `ListItem` has `disableGutters={true}`. */
5
- disableGutters: string;
6
- }
7
- export declare type ListItemSecondaryActionClassKey = keyof ListItemSecondaryActionClasses;
8
- export declare function getListItemSecondaryActionClassesUtilityClass(slot: string): string;
9
- declare const listItemSecondaryActionClasses: ListItemSecondaryActionClasses;
10
- export default listItemSecondaryActionClasses;
1
+ export interface ListItemSecondaryActionClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element when the parent `ListItem` has `disableGutters={true}`. */
5
+ disableGutters: string;
6
+ }
7
+ export declare type ListItemSecondaryActionClassKey = keyof ListItemSecondaryActionClasses;
8
+ export declare function getListItemSecondaryActionClassesUtilityClass(slot: string): string;
9
+ declare const listItemSecondaryActionClasses: ListItemSecondaryActionClasses;
10
+ export default listItemSecondaryActionClasses;
@@ -1,18 +1,18 @@
1
- export interface ListItemTextClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the Typography component if primary and secondary are set. */
5
- multiline: string;
6
- /** Styles applied to the Typography component if dense. */
7
- dense: string;
8
- /** Styles applied to the root element if `inset={true}`. */
9
- inset: string;
10
- /** Styles applied to the primary `Typography` component. */
11
- primary: string;
12
- /** Styles applied to the secondary `Typography` component. */
13
- secondary: string;
14
- }
15
- export declare type ListItemTextClassKey = keyof ListItemTextClasses;
16
- export declare function getListItemTextUtilityClass(slot: string): string;
17
- declare const listItemTextClasses: ListItemTextClasses;
18
- export default listItemTextClasses;
1
+ export interface ListItemTextClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the Typography component if primary and secondary are set. */
5
+ multiline: string;
6
+ /** Styles applied to the Typography component if dense. */
7
+ dense: string;
8
+ /** Styles applied to the root element if `inset={true}`. */
9
+ inset: string;
10
+ /** Styles applied to the primary `Typography` component. */
11
+ primary: string;
12
+ /** Styles applied to the secondary `Typography` component. */
13
+ secondary: string;
14
+ }
15
+ export declare type ListItemTextClassKey = keyof ListItemTextClasses;
16
+ export declare function getListItemTextUtilityClass(slot: string): string;
17
+ declare const listItemTextClasses: ListItemTextClasses;
18
+ export default listItemTextClasses;
@@ -41,12 +41,12 @@ const ListSubheaderRoot = styled('li', {
41
41
  boxSizing: 'border-box',
42
42
  lineHeight: '48px',
43
43
  listStyle: 'none',
44
- color: theme.palette.text.secondary,
44
+ color: (theme.vars || theme).palette.text.secondary,
45
45
  fontFamily: theme.typography.fontFamily,
46
46
  fontWeight: theme.typography.fontWeightMedium,
47
47
  fontSize: theme.typography.pxToRem(14)
48
48
  }, ownerState.color === 'primary' && {
49
- color: theme.palette.primary.main
49
+ color: (theme.vars || theme).palette.primary.main
50
50
  }, ownerState.color === 'inherit' && {
51
51
  color: 'inherit'
52
52
  }, !ownerState.disableGutters && {
@@ -58,7 +58,7 @@ const ListSubheaderRoot = styled('li', {
58
58
  position: 'sticky',
59
59
  top: 0,
60
60
  zIndex: 1,
61
- backgroundColor: theme.palette.background.paper
61
+ backgroundColor: (theme.vars || theme).palette.background.paper
62
62
  }));
63
63
  const ListSubheader = /*#__PURE__*/React.forwardRef(function ListSubheader(inProps, ref) {
64
64
  const props = useThemeProps({
@@ -1,18 +1,18 @@
1
- export interface ListSubheaderClasses {
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="inherit"`. */
7
- colorInherit: string;
8
- /** Styles applied to the inner `component` element unless `disableGutters={true}`. */
9
- gutters: string;
10
- /** Styles applied to the root element if `inset={true}`. */
11
- inset: string;
12
- /** Styles applied to the root element unless `disableSticky={true}`. */
13
- sticky: string;
14
- }
15
- export declare type ListSubheaderClassKey = keyof ListSubheaderClasses;
16
- export declare function getListSubheaderUtilityClass(slot: string): string;
17
- declare const listSubheaderClasses: ListSubheaderClasses;
18
- export default listSubheaderClasses;
1
+ export interface ListSubheaderClasses {
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="inherit"`. */
7
+ colorInherit: string;
8
+ /** Styles applied to the inner `component` element unless `disableGutters={true}`. */
9
+ gutters: string;
10
+ /** Styles applied to the root element if `inset={true}`. */
11
+ inset: string;
12
+ /** Styles applied to the root element unless `disableSticky={true}`. */
13
+ sticky: string;
14
+ }
15
+ export declare type ListSubheaderClassKey = keyof ListSubheaderClasses;
16
+ export declare function getListSubheaderUtilityClass(slot: string): string;
17
+ declare const listSubheaderClasses: ListSubheaderClasses;
18
+ export default listSubheaderClasses;
@@ -1,12 +1,12 @@
1
- export interface MenuClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the Paper component. */
5
- paper: string;
6
- /** Styles applied to the List component via `MenuList`. */
7
- list: string;
8
- }
9
- export declare type MenuClassKey = keyof MenuClasses;
10
- export declare function getMenuUtilityClass(slot: string): string;
11
- declare const menuClasses: MenuClasses;
12
- export default menuClasses;
1
+ export interface MenuClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the Paper component. */
5
+ paper: string;
6
+ /** Styles applied to the List component via `MenuList`. */
7
+ list: string;
8
+ }
9
+ export declare type MenuClassKey = keyof MenuClasses;
10
+ export declare function getMenuUtilityClass(slot: string): string;
11
+ declare const menuClasses: MenuClasses;
12
+ export default menuClasses;
@@ -63,35 +63,35 @@ const MenuItemRoot = styled(ButtonBase, {
63
63
  paddingLeft: 16,
64
64
  paddingRight: 16
65
65
  }, ownerState.divider && {
66
- borderBottom: `1px solid ${theme.palette.divider}`,
66
+ borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`,
67
67
  backgroundClip: 'padding-box'
68
68
  }, {
69
69
  '&:hover': {
70
70
  textDecoration: 'none',
71
- backgroundColor: theme.palette.action.hover,
71
+ backgroundColor: (theme.vars || theme).palette.action.hover,
72
72
  // Reset on touch devices, it doesn't add specificity
73
73
  '@media (hover: none)': {
74
74
  backgroundColor: 'transparent'
75
75
  }
76
76
  },
77
77
  [`&.${menuItemClasses.selected}`]: {
78
- backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),
78
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),
79
79
  [`&.${menuItemClasses.focusVisible}`]: {
80
- backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
80
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
81
81
  }
82
82
  },
83
83
  [`&.${menuItemClasses.selected}:hover`]: {
84
- backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
84
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
85
85
  // Reset on touch devices, it doesn't add specificity
86
86
  '@media (hover: none)': {
87
- backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity)
87
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity)
88
88
  }
89
89
  },
90
90
  [`&.${menuItemClasses.focusVisible}`]: {
91
- backgroundColor: theme.palette.action.focus
91
+ backgroundColor: (theme.vars || theme).palette.action.focus
92
92
  },
93
93
  [`&.${menuItemClasses.disabled}`]: {
94
- opacity: theme.palette.action.disabledOpacity
94
+ opacity: (theme.vars || theme).palette.action.disabledOpacity
95
95
  },
96
96
  [`& + .${dividerClasses.root}`]: {
97
97
  marginTop: theme.spacing(1),
@@ -1,20 +1,20 @@
1
- export interface MenuItemClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** State class applied to the root element if keyboard focused. */
5
- focusVisible: string;
6
- /** Styles applied to the root element if dense. */
7
- dense: string;
8
- /** State class applied to the root element if `disabled={true}`. */
9
- disabled: string;
10
- /** Styles applied to the root element if `divider={true}`. */
11
- divider: string;
12
- /** Styles applied to the inner `component` element unless `disableGutters={true}`. */
13
- gutters: string;
14
- /** State class applied to the root element if `selected={true}`. */
15
- selected: string;
16
- }
17
- export declare type MenuItemClassKey = keyof MenuItemClasses;
18
- export declare function getMenuItemUtilityClass(slot: string): string;
19
- declare const menuItemClasses: MenuItemClasses;
20
- export default menuItemClasses;
1
+ export interface MenuItemClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** State class applied to the root element if keyboard focused. */
5
+ focusVisible: string;
6
+ /** Styles applied to the root element if dense. */
7
+ dense: string;
8
+ /** State class applied to the root element if `disabled={true}`. */
9
+ disabled: string;
10
+ /** Styles applied to the root element if `divider={true}`. */
11
+ divider: string;
12
+ /** Styles applied to the inner `component` element unless `disableGutters={true}`. */
13
+ gutters: string;
14
+ /** State class applied to the root element if `selected={true}`. */
15
+ selected: string;
16
+ }
17
+ export declare type MenuItemClassKey = keyof MenuItemClasses;
18
+ export declare function getMenuItemUtilityClass(slot: string): string;
19
+ declare const menuItemClasses: MenuItemClasses;
20
+ export default menuItemClasses;
@@ -47,20 +47,20 @@ const MobileStepperRoot = styled(Paper, {
47
47
  flexDirection: 'row',
48
48
  justifyContent: 'space-between',
49
49
  alignItems: 'center',
50
- background: theme.palette.background.default,
50
+ background: (theme.vars || theme).palette.background.default,
51
51
  padding: 8
52
52
  }, ownerState.position === 'bottom' && {
53
53
  position: 'fixed',
54
54
  bottom: 0,
55
55
  left: 0,
56
56
  right: 0,
57
- zIndex: theme.zIndex.mobileStepper
57
+ zIndex: (theme.vars || theme).zIndex.mobileStepper
58
58
  }, ownerState.position === 'top' && {
59
59
  position: 'fixed',
60
60
  top: 0,
61
61
  left: 0,
62
62
  right: 0,
63
- zIndex: theme.zIndex.mobileStepper
63
+ zIndex: (theme.vars || theme).zIndex.mobileStepper
64
64
  }));
65
65
  const MobileStepperDots = styled('div', {
66
66
  name: 'MuiMobileStepper',
@@ -90,13 +90,13 @@ const MobileStepperDot = styled('div', {
90
90
  transition: theme.transitions.create('background-color', {
91
91
  duration: theme.transitions.duration.shortest
92
92
  }),
93
- backgroundColor: theme.palette.action.disabled,
93
+ backgroundColor: (theme.vars || theme).palette.action.disabled,
94
94
  borderRadius: '50%',
95
95
  width: 8,
96
96
  height: 8,
97
97
  margin: '0 2px'
98
98
  }, dotActive && {
99
- backgroundColor: theme.palette.primary.main
99
+ backgroundColor: (theme.vars || theme).palette.primary.main
100
100
  })));
101
101
  const MobileStepperProgress = styled(LinearProgress, {
102
102
  name: 'MuiMobileStepper',
@@ -1,22 +1,22 @@
1
- export interface MobileStepperClasses {
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="static"`. */
9
- positionStatic: string;
10
- /** Styles applied to the dots container if `variant="dots"`. */
11
- dots: string;
12
- /** Styles applied to each dot if `variant="dots"`. */
13
- dot: string;
14
- /** Styles applied to a dot if `variant="dots"` and this is the active step. */
15
- dotActive: string;
16
- /** Styles applied to the Linear Progress component if `variant="progress"`. */
17
- progress: string;
18
- }
19
- export declare type MobileStepperClassKey = keyof MobileStepperClasses;
20
- export declare function getMobileStepperUtilityClass(slot: string): string;
21
- declare const mobileStepperClasses: MobileStepperClasses;
22
- export default mobileStepperClasses;
1
+ export interface MobileStepperClasses {
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="static"`. */
9
+ positionStatic: string;
10
+ /** Styles applied to the dots container if `variant="dots"`. */
11
+ dots: string;
12
+ /** Styles applied to each dot if `variant="dots"`. */
13
+ dot: string;
14
+ /** Styles applied to a dot if `variant="dots"` and this is the active step. */
15
+ dotActive: string;
16
+ /** Styles applied to the Linear Progress component if `variant="progress"`. */
17
+ progress: string;
18
+ }
19
+ export declare type MobileStepperClassKey = keyof MobileStepperClasses;
20
+ export declare function getMobileStepperUtilityClass(slot: string): string;
21
+ declare const mobileStepperClasses: MobileStepperClasses;
22
+ export default mobileStepperClasses;
package/Modal/Modal.js CHANGED
@@ -30,7 +30,7 @@ const ModalRoot = styled('div', {
30
30
  ownerState
31
31
  }) => _extends({
32
32
  position: 'fixed',
33
- zIndex: theme.zIndex.modal,
33
+ zIndex: (theme.vars || theme).zIndex.modal,
34
34
  right: 0,
35
35
  bottom: 0,
36
36
  top: 0,
@@ -1,32 +1,32 @@
1
- export interface NativeSelectClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the select component `select` class. */
5
- select: string;
6
- /** Styles applied to the select component if `multiple={true}`. */
7
- multiple: string;
8
- /** Styles applied to the select component if `variant="filled"`. */
9
- filled: string;
10
- /** Styles applied to the select component if `variant="outlined"`. */
11
- outlined: string;
12
- /** Styles applied to the select component if `variant="standard"`. */
13
- standard: string;
14
- /** State class applied to the select component `disabled` class. */
15
- disabled: string;
16
- /** Styles applied to the icon component. */
17
- icon: string;
18
- /** Styles applied to the icon component if the popup is open. */
19
- iconOpen: string;
20
- /** Styles applied to the icon component if `variant="filled"`. */
21
- iconFilled: string;
22
- /** Styles applied to the icon component if `variant="outlined"`. */
23
- iconOutlined: string;
24
- /** Styles applied to the icon component if `variant="standard"`. */
25
- iconStandard: string;
26
- /** Styles applied to the underlying native input component. */
27
- nativeInput: string;
28
- }
29
- export declare type NativeSelectClassKey = keyof NativeSelectClasses;
30
- export declare function getNativeSelectUtilityClasses(slot: string): string;
31
- declare const nativeSelectClasses: NativeSelectClasses;
32
- export default nativeSelectClasses;
1
+ export interface NativeSelectClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the select component `select` class. */
5
+ select: string;
6
+ /** Styles applied to the select component if `multiple={true}`. */
7
+ multiple: string;
8
+ /** Styles applied to the select component if `variant="filled"`. */
9
+ filled: string;
10
+ /** Styles applied to the select component if `variant="outlined"`. */
11
+ outlined: string;
12
+ /** Styles applied to the select component if `variant="standard"`. */
13
+ standard: string;
14
+ /** State class applied to the select component `disabled` class. */
15
+ disabled: string;
16
+ /** Styles applied to the icon component. */
17
+ icon: string;
18
+ /** Styles applied to the icon component if the popup is open. */
19
+ iconOpen: string;
20
+ /** Styles applied to the icon component if `variant="filled"`. */
21
+ iconFilled: string;
22
+ /** Styles applied to the icon component if `variant="outlined"`. */
23
+ iconOutlined: string;
24
+ /** Styles applied to the icon component if `variant="standard"`. */
25
+ iconStandard: string;
26
+ /** Styles applied to the underlying native input component. */
27
+ nativeInput: string;
28
+ }
29
+ export declare type NativeSelectClassKey = keyof NativeSelectClasses;
30
+ export declare function getNativeSelectUtilityClasses(slot: string): string;
31
+ declare const nativeSelectClasses: NativeSelectClasses;
32
+ export default nativeSelectClasses;
@@ -1,36 +1,36 @@
1
- export interface OutlinedInputClasses {
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
- /** 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 NotchedOutline element. */
21
- notchedOutline: 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 `startAdornment` is provided. */
29
- inputAdornedStart: string;
30
- /** Styles applied to the input element if `endAdornment` is provided. */
31
- inputAdornedEnd: string;
32
- }
33
- export declare type OutlinedInputClassKey = keyof OutlinedInputClasses;
34
- export declare function getOutlinedInputUtilityClass(slot: string): string;
35
- declare const outlinedInputClasses: OutlinedInputClasses;
36
- export default outlinedInputClasses;
1
+ export interface OutlinedInputClasses {
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
+ /** 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 NotchedOutline element. */
21
+ notchedOutline: 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 `startAdornment` is provided. */
29
+ inputAdornedStart: string;
30
+ /** Styles applied to the input element if `endAdornment` is provided. */
31
+ inputAdornedEnd: string;
32
+ }
33
+ export declare type OutlinedInputClassKey = keyof OutlinedInputClasses;
34
+ export declare function getOutlinedInputUtilityClass(slot: string): string;
35
+ declare const outlinedInputClasses: OutlinedInputClasses;
36
+ export default outlinedInputClasses;
@@ -1,14 +1,14 @@
1
- export interface PaginationClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the ul element. */
5
- ul: string;
6
- /** Styles applied to the root element if `variant="outlined"`. */
7
- outlined: string;
8
- /** Styles applied to the root element if `variant="text"`. */
9
- text: string;
10
- }
11
- export declare type PaginationClassKey = keyof PaginationClasses;
12
- export declare function getPaginationUtilityClass(slot: string): string;
13
- declare const paginationClasses: PaginationClasses;
14
- export default paginationClasses;
1
+ export interface PaginationClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the ul element. */
5
+ ul: string;
6
+ /** Styles applied to the root element if `variant="outlined"`. */
7
+ outlined: string;
8
+ /** Styles applied to the root element if `variant="text"`. */
9
+ text: string;
10
+ }
11
+ export declare type PaginationClassKey = keyof PaginationClasses;
12
+ export declare function getPaginationUtilityClass(slot: string): string;
13
+ declare const paginationClasses: PaginationClasses;
14
+ export default paginationClasses;