@mui/material 5.6.3 → 5.8.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 (385) 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.d.ts +23 -1
  11. package/Autocomplete/Autocomplete.js +18 -16
  12. package/Autocomplete/autocompleteClasses.d.ts +54 -54
  13. package/Avatar/avatarClasses.d.ts +20 -20
  14. package/AvatarGroup/AvatarGroup.js +2 -2
  15. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  16. package/Backdrop/backdropClasses.d.ts +10 -10
  17. package/Badge/Badge.d.ts +1 -34
  18. package/Badge/Badge.js +2 -2
  19. package/Badge/badgeClasses.d.ts +56 -24
  20. package/BottomNavigation/BottomNavigation.js +1 -1
  21. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  22. package/BottomNavigationAction/BottomNavigationAction.js +2 -2
  23. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  24. package/Box/Box.js +1 -1
  25. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  26. package/Button/buttonClasses.d.ts +76 -76
  27. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  28. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  29. package/ButtonGroup/ButtonGroup.js +10 -10
  30. package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
  31. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  32. package/CHANGELOG.md +238 -0
  33. package/Card/cardClasses.d.ts +8 -8
  34. package/CardActionArea/CardActionArea.js +2 -2
  35. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  36. package/CardActions/cardActionsClasses.d.ts +10 -10
  37. package/CardContent/cardContentClasses.d.ts +8 -8
  38. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  39. package/CardMedia/cardMediaClasses.d.ts +12 -12
  40. package/Checkbox/checkboxClasses.d.ts +18 -18
  41. package/Chip/chipClasses.d.ts +80 -80
  42. package/CircularProgress/CircularProgress.js +1 -1
  43. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  44. package/ClickAwayListener/index.d.ts +2 -2
  45. package/Collapse/collapseClasses.d.ts +18 -18
  46. package/Container/Container.js +17 -106
  47. package/Container/containerClasses.d.ts +6 -22
  48. package/CssBaseline/CssBaseline.js +4 -4
  49. package/Dialog/DialogContext.d.ts +6 -6
  50. package/Dialog/dialogClasses.d.ts +36 -36
  51. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  52. package/DialogContent/DialogContent.js +2 -2
  53. package/DialogContent/dialogContentClasses.d.ts +10 -10
  54. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  55. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  56. package/Divider/Divider.js +4 -4
  57. package/Divider/dividerClasses.d.ts +34 -34
  58. package/Drawer/Drawer.js +6 -6
  59. package/Drawer/drawerClasses.d.ts +30 -30
  60. package/Fab/Fab.js +69 -65
  61. package/Fab/fabClasses.d.ts +26 -26
  62. package/FilledInput/FilledInput.js +3 -1
  63. package/FilledInput/filledInputClasses.d.ts +40 -40
  64. package/FormControl/formControlClasses.d.ts +14 -14
  65. package/FormControlLabel/FormControlLabel.js +1 -1
  66. package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
  67. package/FormGroup/formGroupClasses.d.ts +12 -12
  68. package/FormHelperText/FormHelperText.js +3 -3
  69. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  70. package/FormLabel/FormLabel.js +5 -5
  71. package/FormLabel/formLabelClasses.d.ts +22 -22
  72. package/Grid/gridClasses.d.ts +48 -48
  73. package/Icon/Icon.js +8 -8
  74. package/Icon/iconClasses.d.ts +24 -24
  75. package/IconButton/IconButton.js +5 -5
  76. package/IconButton/iconButtonClasses.d.ts +26 -26
  77. package/ImageList/imageListClasses.d.ts +16 -16
  78. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  79. package/ImageListItemBar/ImageListItemBar.js +1 -1
  80. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  81. package/Input/Input.js +9 -4
  82. package/Input/inputClasses.d.ts +34 -34
  83. package/InputAdornment/InputAdornment.js +1 -1
  84. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  85. package/InputBase/InputBase.js +16 -8
  86. package/InputBase/inputBaseClasses.d.ts +44 -44
  87. package/InputLabel/inputLabelClasses.d.ts +32 -32
  88. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  89. package/Link/Link.js +3 -8
  90. package/Link/linkClasses.d.ts +18 -18
  91. package/List/listClasses.d.ts +14 -14
  92. package/ListItem/ListItem.js +8 -8
  93. package/ListItem/listItemClasses.d.ts +30 -30
  94. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  95. package/ListItemButton/ListItemButton.js +8 -8
  96. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  97. package/ListItemIcon/ListItemIcon.js +1 -1
  98. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  99. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  100. package/ListItemText/listItemTextClasses.d.ts +18 -18
  101. package/ListSubheader/ListSubheader.js +3 -3
  102. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  103. package/Menu/menuClasses.d.ts +12 -12
  104. package/MenuItem/MenuItem.js +8 -8
  105. package/MenuItem/menuItemClasses.d.ts +20 -20
  106. package/MobileStepper/MobileStepper.js +5 -5
  107. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  108. package/Modal/Modal.js +1 -1
  109. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  110. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  111. package/Pagination/paginationClasses.d.ts +14 -14
  112. package/PaginationItem/PaginationItem.js +27 -27
  113. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  114. package/Paper/paperClasses.d.ts +39 -39
  115. package/Popover/popoverClasses.d.ts +10 -10
  116. package/Popper/Popper.d.ts +29 -29
  117. package/README.md +2 -3
  118. package/Radio/radioClasses.d.ts +16 -16
  119. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  120. package/RadioGroup/useRadioGroup.d.ts +4 -4
  121. package/Rating/Rating.js +2 -2
  122. package/Rating/ratingClasses.d.ts +40 -40
  123. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  124. package/Select/selectClasses.d.ts +30 -30
  125. package/Skeleton/skeletonClasses.d.ts +24 -24
  126. package/Snackbar/Snackbar.js +1 -1
  127. package/Snackbar/snackbarClasses.d.ts +20 -20
  128. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  129. package/SpeedDial/SpeedDial.js +1 -1
  130. package/SpeedDial/speedDialClasses.d.ts +22 -22
  131. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  132. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  133. package/Step/StepContext.d.ts +20 -20
  134. package/Step/stepClasses.d.ts +16 -16
  135. package/StepButton/stepButtonClasses.d.ts +14 -14
  136. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  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 +18 -16
  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 +2 -2
  190. package/legacy/Box/Box.js +1 -1
  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/Container/Container.js +18 -103
  195. package/legacy/CssBaseline/CssBaseline.js +4 -4
  196. package/legacy/DialogContent/DialogContent.js +2 -2
  197. package/legacy/Divider/Divider.js +4 -4
  198. package/legacy/Drawer/Drawer.js +6 -6
  199. package/legacy/Fab/Fab.js +17 -17
  200. package/legacy/FilledInput/FilledInput.js +2 -2
  201. package/legacy/FormControlLabel/FormControlLabel.js +1 -1
  202. package/legacy/FormHelperText/FormHelperText.js +3 -3
  203. package/legacy/FormLabel/FormLabel.js +5 -5
  204. package/legacy/Icon/Icon.js +8 -8
  205. package/legacy/IconButton/IconButton.js +5 -5
  206. package/legacy/ImageListItemBar/ImageListItemBar.js +1 -1
  207. package/legacy/Input/Input.js +8 -3
  208. package/legacy/InputAdornment/InputAdornment.js +1 -1
  209. package/legacy/InputBase/InputBase.js +16 -8
  210. package/legacy/Link/Link.js +3 -9
  211. package/legacy/ListItem/ListItem.js +8 -8
  212. package/legacy/ListItemButton/ListItemButton.js +8 -8
  213. package/legacy/ListItemIcon/ListItemIcon.js +1 -1
  214. package/legacy/ListSubheader/ListSubheader.js +3 -3
  215. package/legacy/MenuItem/MenuItem.js +8 -8
  216. package/legacy/MobileStepper/MobileStepper.js +5 -5
  217. package/legacy/Modal/Modal.js +1 -1
  218. package/legacy/PaginationItem/PaginationItem.js +27 -27
  219. package/legacy/Rating/Rating.js +2 -2
  220. package/legacy/Snackbar/Snackbar.js +1 -1
  221. package/legacy/SpeedDial/SpeedDial.js +1 -1
  222. package/legacy/StepIcon/StepIcon.js +5 -5
  223. package/legacy/StepLabel/StepLabel.js +4 -4
  224. package/legacy/Stepper/StepperContext.js +10 -2
  225. package/legacy/Stepper/index.js +3 -1
  226. package/legacy/SvgIcon/SvgIcon.js +4 -4
  227. package/legacy/Tab/Tab.js +7 -7
  228. package/legacy/Table/Table.js +1 -1
  229. package/legacy/TablePagination/TablePagination.js +1 -1
  230. package/legacy/TableRow/TableRow.js +3 -3
  231. package/legacy/TableSortLabel/TableSortLabel.js +4 -4
  232. package/legacy/Tabs/Tabs.js +2 -2
  233. package/legacy/ToggleButton/ToggleButton.js +16 -9
  234. package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  235. package/legacy/Tooltip/Tooltip.js +5 -5
  236. package/legacy/className/index.js +1 -8
  237. package/legacy/index.js +1 -1
  238. package/legacy/locale/index.js +23 -23
  239. package/legacy/styles/createMixins.js +1 -1
  240. package/legacy/styles/createPalette.js +2 -1
  241. package/legacy/styles/createTheme.js +1 -1
  242. package/legacy/styles/experimental_extendTheme.js +52 -43
  243. package/locale/index.d.ts +71 -71
  244. package/locale/index.js +23 -23
  245. package/modern/Accordion/Accordion.js +6 -6
  246. package/modern/AccordionSummary/AccordionSummary.js +3 -3
  247. package/modern/Autocomplete/Autocomplete.js +18 -16
  248. package/modern/AvatarGroup/AvatarGroup.js +2 -2
  249. package/modern/Badge/Badge.js +2 -2
  250. package/modern/BottomNavigation/BottomNavigation.js +1 -1
  251. package/modern/BottomNavigationAction/BottomNavigationAction.js +2 -2
  252. package/modern/Box/Box.js +1 -1
  253. package/modern/ButtonGroup/ButtonGroup.js +10 -10
  254. package/modern/CardActionArea/CardActionArea.js +2 -2
  255. package/modern/CircularProgress/CircularProgress.js +1 -1
  256. package/modern/Container/Container.js +17 -106
  257. package/modern/CssBaseline/CssBaseline.js +4 -4
  258. package/modern/DialogContent/DialogContent.js +2 -2
  259. package/modern/Divider/Divider.js +4 -4
  260. package/modern/Drawer/Drawer.js +6 -6
  261. package/modern/Fab/Fab.js +16 -16
  262. package/modern/FilledInput/FilledInput.js +1 -1
  263. package/modern/FormControlLabel/FormControlLabel.js +1 -1
  264. package/modern/FormHelperText/FormHelperText.js +3 -3
  265. package/modern/FormLabel/FormLabel.js +5 -5
  266. package/modern/Icon/Icon.js +8 -8
  267. package/modern/IconButton/IconButton.js +5 -5
  268. package/modern/ImageListItemBar/ImageListItemBar.js +1 -1
  269. package/modern/Input/Input.js +9 -4
  270. package/modern/InputAdornment/InputAdornment.js +1 -1
  271. package/modern/InputBase/InputBase.js +16 -8
  272. package/modern/Link/Link.js +3 -8
  273. package/modern/ListItem/ListItem.js +8 -8
  274. package/modern/ListItemButton/ListItemButton.js +8 -8
  275. package/modern/ListItemIcon/ListItemIcon.js +1 -1
  276. package/modern/ListSubheader/ListSubheader.js +3 -3
  277. package/modern/MenuItem/MenuItem.js +8 -8
  278. package/modern/MobileStepper/MobileStepper.js +5 -5
  279. package/modern/Modal/Modal.js +1 -1
  280. package/modern/PaginationItem/PaginationItem.js +27 -27
  281. package/modern/Rating/Rating.js +2 -2
  282. package/modern/Snackbar/Snackbar.js +1 -1
  283. package/modern/SpeedDial/SpeedDial.js +1 -1
  284. package/modern/StepIcon/StepIcon.js +5 -5
  285. package/modern/StepLabel/StepLabel.js +4 -4
  286. package/modern/Stepper/StepperContext.js +10 -2
  287. package/modern/Stepper/index.js +3 -1
  288. package/modern/SvgIcon/SvgIcon.js +3 -3
  289. package/modern/Tab/Tab.js +7 -7
  290. package/modern/Table/Table.js +1 -1
  291. package/modern/TablePagination/TablePagination.js +1 -1
  292. package/modern/TableRow/TableRow.js +3 -3
  293. package/modern/TableSortLabel/TableSortLabel.js +4 -4
  294. package/modern/Tabs/Tabs.js +2 -2
  295. package/modern/ToggleButton/ToggleButton.js +17 -10
  296. package/modern/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  297. package/modern/Tooltip/Tooltip.js +5 -5
  298. package/modern/className/index.js +1 -8
  299. package/modern/index.js +1 -1
  300. package/modern/locale/index.js +23 -23
  301. package/modern/styles/createMixins.js +1 -1
  302. package/modern/styles/createPalette.js +2 -1
  303. package/modern/styles/createTheme.js +1 -1
  304. package/modern/styles/experimental_extendTheme.js +56 -45
  305. package/node/Accordion/Accordion.js +6 -6
  306. package/node/AccordionSummary/AccordionSummary.js +3 -3
  307. package/node/Autocomplete/Autocomplete.js +19 -16
  308. package/node/AvatarGroup/AvatarGroup.js +2 -2
  309. package/node/Badge/Badge.js +2 -2
  310. package/node/BottomNavigation/BottomNavigation.js +1 -1
  311. package/node/BottomNavigationAction/BottomNavigationAction.js +2 -2
  312. package/node/Box/Box.js +2 -2
  313. package/node/ButtonGroup/ButtonGroup.js +10 -10
  314. package/node/CardActionArea/CardActionArea.js +2 -2
  315. package/node/CircularProgress/CircularProgress.js +1 -1
  316. package/node/Container/Container.js +17 -113
  317. package/node/CssBaseline/CssBaseline.js +4 -4
  318. package/node/DialogContent/DialogContent.js +2 -2
  319. package/node/Divider/Divider.js +4 -4
  320. package/node/Drawer/Drawer.js +6 -6
  321. package/node/Fab/Fab.js +69 -65
  322. package/node/FilledInput/FilledInput.js +3 -1
  323. package/node/FormControlLabel/FormControlLabel.js +1 -1
  324. package/node/FormHelperText/FormHelperText.js +3 -3
  325. package/node/FormLabel/FormLabel.js +5 -5
  326. package/node/Icon/Icon.js +8 -8
  327. package/node/IconButton/IconButton.js +5 -5
  328. package/node/ImageListItemBar/ImageListItemBar.js +1 -1
  329. package/node/Input/Input.js +9 -4
  330. package/node/InputAdornment/InputAdornment.js +1 -1
  331. package/node/InputBase/InputBase.js +14 -8
  332. package/node/Link/Link.js +3 -9
  333. package/node/ListItem/ListItem.js +8 -8
  334. package/node/ListItemButton/ListItemButton.js +8 -8
  335. package/node/ListItemIcon/ListItemIcon.js +1 -1
  336. package/node/ListSubheader/ListSubheader.js +3 -3
  337. package/node/MenuItem/MenuItem.js +8 -8
  338. package/node/MobileStepper/MobileStepper.js +5 -5
  339. package/node/Modal/Modal.js +1 -1
  340. package/node/PaginationItem/PaginationItem.js +27 -27
  341. package/node/Rating/Rating.js +2 -2
  342. package/node/Snackbar/Snackbar.js +1 -1
  343. package/node/SpeedDial/SpeedDial.js +1 -1
  344. package/node/StepIcon/StepIcon.js +5 -5
  345. package/node/StepLabel/StepLabel.js +4 -4
  346. package/node/Stepper/StepperContext.js +11 -1
  347. package/node/Stepper/index.js +22 -1
  348. package/node/SvgIcon/SvgIcon.js +4 -4
  349. package/node/Tab/Tab.js +7 -7
  350. package/node/Table/Table.js +1 -1
  351. package/node/TablePagination/TablePagination.js +1 -1
  352. package/node/TableRow/TableRow.js +3 -3
  353. package/node/TableSortLabel/TableSortLabel.js +4 -4
  354. package/node/Tabs/Tabs.js +2 -2
  355. package/node/ToggleButton/ToggleButton.js +17 -10
  356. package/node/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  357. package/node/Tooltip/Tooltip.js +5 -5
  358. package/node/className/index.js +2 -2
  359. package/node/index.js +1 -1
  360. package/node/locale/index.js +23 -23
  361. package/node/styles/createMixins.js +1 -1
  362. package/node/styles/createPalette.js +2 -1
  363. package/node/styles/createTheme.js +1 -1
  364. package/node/styles/experimental_extendTheme.js +57 -47
  365. package/package.json +5 -5
  366. package/styles/ThemeProvider.d.ts +1 -1
  367. package/styles/createMixins.d.ts +2 -6
  368. package/styles/createMixins.js +1 -1
  369. package/styles/createPalette.d.ts +9 -2
  370. package/styles/createPalette.js +2 -1
  371. package/styles/createTheme.js +1 -1
  372. package/styles/experimental_extendTheme.d.ts +13 -16
  373. package/styles/experimental_extendTheme.js +57 -46
  374. package/transitions/index.d.ts +1 -1
  375. package/transitions/transition.d.ts +13 -13
  376. package/transitions/utils.d.ts +23 -23
  377. package/umd/material-ui.development.js +915 -767
  378. package/umd/material-ui.production.min.js +19 -19
  379. package/useMediaQuery/useMediaQuery.d.ts +31 -31
  380. package/useTouchRipple/index.d.ts +1 -1
  381. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  382. package/utils/getScrollbarSize.d.ts +2 -2
  383. package/utils/ownerDocument.d.ts +2 -2
  384. package/utils/ownerWindow.d.ts +2 -2
  385. package/utils/setRef.d.ts +2 -2
@@ -1,80 +1,80 @@
1
- export interface ChipClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `size="small"`. */
5
- sizeSmall: string;
6
- /** Styles applied to the root element if `size="medium"`. */
7
- sizeMedium: string;
8
- /** Styles applied to the root element if `color="primary"`. */
9
- colorPrimary: string;
10
- /** Styles applied to the root element if `color="secondary"`. */
11
- colorSecondary: string;
12
- /** State class applied to the root element if `disabled={true}`. */
13
- disabled: string;
14
- /** Styles applied to the root element if `onClick` is defined or `clickable={true}`. */
15
- clickable: string;
16
- /** Styles applied to the root element if `onClick` and `color="primary"` is defined or `clickable={true}`. */
17
- clickableColorPrimary: string;
18
- /** Styles applied to the root element if `onClick` and `color="secondary"` is defined or `clickable={true}`. */
19
- clickableColorSecondary: string;
20
- /** Styles applied to the root element if `onDelete` is defined. */
21
- deletable: string;
22
- /** Styles applied to the root element if `onDelete` and `color="primary"` is defined. */
23
- deletableColorPrimary: string;
24
- /** Styles applied to the root element if `onDelete` and `color="secondary"` is defined. */
25
- deletableColorSecondary: string;
26
- /** Styles applied to the root element if `variant="outlined"`. */
27
- outlined: string;
28
- /** Styles applied to the root element if `variant="filled"`. */
29
- filled: string;
30
- /** Styles applied to the root element if `variant="outlined"` and `color="primary"`. */
31
- outlinedPrimary: string;
32
- /** Styles applied to the root element if `variant="outlined"` and `color="secondary"`. */
33
- outlinedSecondary: string;
34
- /** Styles applied to the avatar element. */
35
- avatar: string;
36
- /** Styles applied to the avatar element if `size="small"`. */
37
- avatarSmall: string;
38
- /** Styles applied to the avatar element if `size="medium"`. */
39
- avatarMedium: string;
40
- /** Styles applied to the avatar element if `color="primary"`. */
41
- avatarColorPrimary: string;
42
- /** Styles applied to the avatar element if `color="secondary"`. */
43
- avatarColorSecondary: string;
44
- /** Styles applied to the icon element. */
45
- icon: string;
46
- /** Styles applied to the icon element if `size="small"`. */
47
- iconSmall: string;
48
- /** Styles applied to the icon element if `size="medium"`. */
49
- iconMedium: string;
50
- /** Styles applied to the icon element if `color="primary"`. */
51
- iconColorPrimary: string;
52
- /** Styles applied to the icon element if `color="secondary"`. */
53
- iconColorSecondary: string;
54
- /** Styles applied to the label `span` element. */
55
- label: string;
56
- /** Styles applied to the label `span` element if `size="small"`. */
57
- labelSmall: string;
58
- /** Styles applied to the label `span` element if `size="medium"`. */
59
- labelMedium: string;
60
- /** Styles applied to the deleteIcon element. */
61
- deleteIcon: string;
62
- /** Styles applied to the deleteIcon element if `size="small"`. */
63
- deleteIconSmall: string;
64
- /** Styles applied to the deleteIcon element if `size="medium"`. */
65
- deleteIconMedium: string;
66
- /** Styles applied to the deleteIcon element if `color="primary"` and `variant="filled"`. */
67
- deleteIconColorPrimary: string;
68
- /** Styles applied to the deleteIcon element if `color="secondary"` and `variant="filled"`. */
69
- deleteIconColorSecondary: string;
70
- /** Styles applied to the deleteIcon element if `color="primary"` and `variant="outlined"`. */
71
- deleteIconOutlinedColorPrimary: string;
72
- /** Styles applied to the deleteIcon element if `color="secondary"` and `variant="outlined"`. */
73
- deleteIconOutlinedColorSecondary: string;
74
- /** State class applied to the root element if keyboard focused. */
75
- focusVisible: string;
76
- }
77
- export declare type ChipClassKey = keyof ChipClasses;
78
- export declare function getChipUtilityClass(slot: string): string;
79
- declare const chipClasses: ChipClasses;
80
- export default chipClasses;
1
+ export interface ChipClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `size="small"`. */
5
+ sizeSmall: string;
6
+ /** Styles applied to the root element if `size="medium"`. */
7
+ sizeMedium: string;
8
+ /** Styles applied to the root element if `color="primary"`. */
9
+ colorPrimary: string;
10
+ /** Styles applied to the root element if `color="secondary"`. */
11
+ colorSecondary: string;
12
+ /** State class applied to the root element if `disabled={true}`. */
13
+ disabled: string;
14
+ /** Styles applied to the root element if `onClick` is defined or `clickable={true}`. */
15
+ clickable: string;
16
+ /** Styles applied to the root element if `onClick` and `color="primary"` is defined or `clickable={true}`. */
17
+ clickableColorPrimary: string;
18
+ /** Styles applied to the root element if `onClick` and `color="secondary"` is defined or `clickable={true}`. */
19
+ clickableColorSecondary: string;
20
+ /** Styles applied to the root element if `onDelete` is defined. */
21
+ deletable: string;
22
+ /** Styles applied to the root element if `onDelete` and `color="primary"` is defined. */
23
+ deletableColorPrimary: string;
24
+ /** Styles applied to the root element if `onDelete` and `color="secondary"` is defined. */
25
+ deletableColorSecondary: string;
26
+ /** Styles applied to the root element if `variant="outlined"`. */
27
+ outlined: string;
28
+ /** Styles applied to the root element if `variant="filled"`. */
29
+ filled: string;
30
+ /** Styles applied to the root element if `variant="outlined"` and `color="primary"`. */
31
+ outlinedPrimary: string;
32
+ /** Styles applied to the root element if `variant="outlined"` and `color="secondary"`. */
33
+ outlinedSecondary: string;
34
+ /** Styles applied to the avatar element. */
35
+ avatar: string;
36
+ /** Styles applied to the avatar element if `size="small"`. */
37
+ avatarSmall: string;
38
+ /** Styles applied to the avatar element if `size="medium"`. */
39
+ avatarMedium: string;
40
+ /** Styles applied to the avatar element if `color="primary"`. */
41
+ avatarColorPrimary: string;
42
+ /** Styles applied to the avatar element if `color="secondary"`. */
43
+ avatarColorSecondary: string;
44
+ /** Styles applied to the icon element. */
45
+ icon: string;
46
+ /** Styles applied to the icon element if `size="small"`. */
47
+ iconSmall: string;
48
+ /** Styles applied to the icon element if `size="medium"`. */
49
+ iconMedium: string;
50
+ /** Styles applied to the icon element if `color="primary"`. */
51
+ iconColorPrimary: string;
52
+ /** Styles applied to the icon element if `color="secondary"`. */
53
+ iconColorSecondary: string;
54
+ /** Styles applied to the label `span` element. */
55
+ label: string;
56
+ /** Styles applied to the label `span` element if `size="small"`. */
57
+ labelSmall: string;
58
+ /** Styles applied to the label `span` element if `size="medium"`. */
59
+ labelMedium: string;
60
+ /** Styles applied to the deleteIcon element. */
61
+ deleteIcon: string;
62
+ /** Styles applied to the deleteIcon element if `size="small"`. */
63
+ deleteIconSmall: string;
64
+ /** Styles applied to the deleteIcon element if `size="medium"`. */
65
+ deleteIconMedium: string;
66
+ /** Styles applied to the deleteIcon element if `color="primary"` and `variant="filled"`. */
67
+ deleteIconColorPrimary: string;
68
+ /** Styles applied to the deleteIcon element if `color="secondary"` and `variant="filled"`. */
69
+ deleteIconColorSecondary: string;
70
+ /** Styles applied to the deleteIcon element if `color="primary"` and `variant="outlined"`. */
71
+ deleteIconOutlinedColorPrimary: string;
72
+ /** Styles applied to the deleteIcon element if `color="secondary"` and `variant="outlined"`. */
73
+ deleteIconOutlinedColorSecondary: string;
74
+ /** State class applied to the root element if keyboard focused. */
75
+ focusVisible: string;
76
+ }
77
+ export declare type ChipClassKey = keyof ChipClasses;
78
+ export declare function getChipUtilityClass(slot: string): string;
79
+ declare const chipClasses: ChipClasses;
80
+ export default chipClasses;
@@ -78,7 +78,7 @@ const CircularProgressRoot = styled('span', {
78
78
  }, ownerState.variant === 'determinate' && {
79
79
  transition: theme.transitions.create('transform')
80
80
  }, ownerState.color !== 'inherit' && {
81
- color: theme.palette[ownerState.color].main
81
+ color: (theme.vars || theme).palette[ownerState.color].main
82
82
  }), ({
83
83
  ownerState
84
84
  }) => ownerState.variant === 'indeterminate' && css(_t3 || (_t3 = _`
@@ -1,26 +1,26 @@
1
- export interface CircularProgressClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `variant="determinate"`. */
5
- determinate: string;
6
- /** Styles applied to the root element if `variant="indeterminate"`. */
7
- indeterminate: string;
8
- /** Styles applied to the root element if `color="primary"`. */
9
- colorPrimary: string;
10
- /** Styles applied to the root element if `color="secondary"`. */
11
- colorSecondary: string;
12
- /** Styles applied to the svg element. */
13
- svg: string;
14
- /** Styles applied to the `circle` svg path. */
15
- circle: string;
16
- /** Styles applied to the `circle` svg path if `variant="determinate"`. */
17
- circleDeterminate: string;
18
- /** Styles applied to the `circle` svg path if `variant="indeterminate"`. */
19
- circleIndeterminate: string;
20
- /** Styles applied to the `circle` svg path if `disableShrink={true}`. */
21
- circleDisableShrink: string;
22
- }
23
- export declare type CircularProgressClassKey = keyof CircularProgressClasses;
24
- export declare function getCircularProgressUtilityClass(slot: string): string;
25
- declare const circularProgressClasses: CircularProgressClasses;
26
- export default circularProgressClasses;
1
+ export interface CircularProgressClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `variant="determinate"`. */
5
+ determinate: string;
6
+ /** Styles applied to the root element if `variant="indeterminate"`. */
7
+ indeterminate: string;
8
+ /** Styles applied to the root element if `color="primary"`. */
9
+ colorPrimary: string;
10
+ /** Styles applied to the root element if `color="secondary"`. */
11
+ colorSecondary: string;
12
+ /** Styles applied to the svg element. */
13
+ svg: string;
14
+ /** Styles applied to the `circle` svg path. */
15
+ circle: string;
16
+ /** Styles applied to the `circle` svg path if `variant="determinate"`. */
17
+ circleDeterminate: string;
18
+ /** Styles applied to the `circle` svg path if `variant="indeterminate"`. */
19
+ circleIndeterminate: string;
20
+ /** Styles applied to the `circle` svg path if `disableShrink={true}`. */
21
+ circleDisableShrink: string;
22
+ }
23
+ export declare type CircularProgressClassKey = keyof CircularProgressClasses;
24
+ export declare function getCircularProgressUtilityClass(slot: string): string;
25
+ declare const circularProgressClasses: CircularProgressClasses;
26
+ export default circularProgressClasses;
@@ -1,2 +1,2 @@
1
- export { default } from '@mui/base/ClickAwayListener';
2
- export * from '@mui/base/ClickAwayListener';
1
+ export { default } from '@mui/base/ClickAwayListener';
2
+ export * from '@mui/base/ClickAwayListener';
@@ -1,18 +1,18 @@
1
- export interface CollapseClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** State class applied to the root element if `orientation="horizontal"`. */
5
- horizontal: string;
6
- /** Styles applied to the root element when the transition has entered. */
7
- entered: string;
8
- /** Styles applied to the root element when the transition has exited and `collapsedSize` = 0px. */
9
- hidden: string;
10
- /** Styles applied to the outer wrapper element. */
11
- wrapper: string;
12
- /** Styles applied to the inner wrapper element. */
13
- wrapperInner: string;
14
- }
15
- export declare type CollapseClassKey = keyof CollapseClasses;
16
- export declare function getCollapseUtilityClass(slot: string): string;
17
- declare const collapseClasses: CollapseClasses;
18
- export default collapseClasses;
1
+ export interface CollapseClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** State class applied to the root element if `orientation="horizontal"`. */
5
+ horizontal: string;
6
+ /** Styles applied to the root element when the transition has entered. */
7
+ entered: string;
8
+ /** Styles applied to the root element when the transition has exited and `collapsedSize` = 0px. */
9
+ hidden: string;
10
+ /** Styles applied to the outer wrapper element. */
11
+ wrapper: string;
12
+ /** Styles applied to the inner wrapper element. */
13
+ wrapperInner: string;
14
+ }
15
+ export declare type CollapseClassKey = keyof CollapseClasses;
16
+ export declare function getCollapseUtilityClass(slot: string): string;
17
+ declare const collapseClasses: CollapseClasses;
18
+ export default collapseClasses;
@@ -1,108 +1,24 @@
1
- import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
2
- import _extends from "@babel/runtime/helpers/esm/extends";
3
- const _excluded = ["className", "component", "disableGutters", "fixed", "maxWidth"];
4
- import * as React from 'react';
1
+ /* eslint-disable material-ui/mui-name-matches-component-name */
5
2
  import PropTypes from 'prop-types';
6
- import clsx from 'clsx';
7
- import { unstable_composeClasses as composeClasses } from '@mui/base';
8
- import useThemeProps from '../styles/useThemeProps';
9
- import styled from '../styles/styled';
10
- import { getContainerUtilityClass } from './containerClasses';
3
+ import { createContainer } from '@mui/system';
11
4
  import capitalize from '../utils/capitalize';
12
- import { jsx as _jsx } from "react/jsx-runtime";
13
-
14
- const useUtilityClasses = ownerState => {
15
- const {
16
- classes,
17
- fixed,
18
- disableGutters,
19
- maxWidth
20
- } = ownerState;
21
- const slots = {
22
- root: ['root', maxWidth && `maxWidth${capitalize(String(maxWidth))}`, fixed && 'fixed', disableGutters && 'disableGutters']
23
- };
24
- return composeClasses(slots, getContainerUtilityClass, classes);
25
- };
26
-
27
- const ContainerRoot = styled('div', {
28
- name: 'MuiContainer',
29
- slot: 'Root',
30
- overridesResolver: (props, styles) => {
31
- const {
32
- ownerState
33
- } = props;
34
- return [styles.root, styles[`maxWidth${capitalize(String(ownerState.maxWidth))}`], ownerState.fixed && styles.fixed, ownerState.disableGutters && styles.disableGutters];
35
- }
36
- })(({
37
- theme,
38
- ownerState
39
- }) => _extends({
40
- width: '100%',
41
- marginLeft: 'auto',
42
- boxSizing: 'border-box',
43
- marginRight: 'auto',
44
- display: 'block'
45
- }, !ownerState.disableGutters && {
46
- paddingLeft: theme.spacing(2),
47
- paddingRight: theme.spacing(2),
48
- [theme.breakpoints.up('sm')]: {
49
- paddingLeft: theme.spacing(3),
50
- paddingRight: theme.spacing(3)
51
- }
52
- }), ({
53
- theme,
54
- ownerState
55
- }) => ownerState.fixed && Object.keys(theme.breakpoints.values).reduce((acc, breakpoint) => {
56
- const value = theme.breakpoints.values[breakpoint];
57
-
58
- if (value !== 0) {
59
- acc[theme.breakpoints.up(breakpoint)] = {
60
- maxWidth: `${value}${theme.breakpoints.unit}`
61
- };
62
- }
63
-
64
- return acc;
65
- }, {}), ({
66
- theme,
67
- ownerState
68
- }) => _extends({}, ownerState.maxWidth === 'xs' && {
69
- [theme.breakpoints.up('xs')]: {
70
- maxWidth: Math.max(theme.breakpoints.values.xs, 444)
71
- }
72
- }, ownerState.maxWidth && ownerState.maxWidth !== 'xs' && {
73
- [theme.breakpoints.up(ownerState.maxWidth)]: {
74
- maxWidth: `${theme.breakpoints.values[ownerState.maxWidth]}${theme.breakpoints.unit}`
75
- }
76
- }));
77
- const Container = /*#__PURE__*/React.forwardRef(function Container(inProps, ref) {
78
- const props = useThemeProps({
5
+ import styled from '../styles/styled';
6
+ import useThemeProps from '../styles/useThemeProps';
7
+ const Container = createContainer({
8
+ createStyledComponent: styled('div', {
9
+ name: 'MuiContainer',
10
+ slot: 'Root',
11
+ overridesResolver: (props, styles) => {
12
+ const {
13
+ ownerState
14
+ } = props;
15
+ return [styles.root, styles[`maxWidth${capitalize(String(ownerState.maxWidth))}`], ownerState.fixed && styles.fixed, ownerState.disableGutters && styles.disableGutters];
16
+ }
17
+ }),
18
+ useThemeProps: inProps => useThemeProps({
79
19
  props: inProps,
80
20
  name: 'MuiContainer'
81
- });
82
-
83
- const {
84
- className,
85
- component = 'div',
86
- disableGutters = false,
87
- fixed = false,
88
- maxWidth = 'lg'
89
- } = props,
90
- other = _objectWithoutPropertiesLoose(props, _excluded);
91
-
92
- const ownerState = _extends({}, props, {
93
- component,
94
- disableGutters,
95
- fixed,
96
- maxWidth
97
- });
98
-
99
- const classes = useUtilityClasses(ownerState);
100
- return /*#__PURE__*/_jsx(ContainerRoot, _extends({
101
- as: component,
102
- ownerState: ownerState,
103
- className: clsx(classes.root, className),
104
- ref: ref
105
- }, other));
21
+ })
106
22
  });
107
23
  process.env.NODE_ENV !== "production" ? Container.propTypes
108
24
  /* remove-proptypes */
@@ -122,11 +38,6 @@ process.env.NODE_ENV !== "production" ? Container.propTypes
122
38
  */
123
39
  classes: PropTypes.object,
124
40
 
125
- /**
126
- * @ignore
127
- */
128
- className: PropTypes.string,
129
-
130
41
  /**
131
42
  * The component used for the root node.
132
43
  * Either a string to use a HTML element or a component.
@@ -1,22 +1,6 @@
1
- export interface ContainerClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `disableGutters={true}`. */
5
- disableGutters: string;
6
- /** Styles applied to the root element if `fixed={true}`. */
7
- fixed: string;
8
- /** Styles applied to the root element if `maxWidth="xs"`. */
9
- maxWidthXs: string;
10
- /** Styles applied to the root element if `maxWidth="sm"`. */
11
- maxWidthSm: string;
12
- /** Styles applied to the root element if `maxWidth="md"`. */
13
- maxWidthMd: string;
14
- /** Styles applied to the root element if `maxWidth="lg"`. */
15
- maxWidthLg: string;
16
- /** Styles applied to the root element if `maxWidth="xl"`. */
17
- maxWidthXl: string;
18
- }
19
- export declare type ContainerClassKey = keyof ContainerClasses;
20
- export declare function getContainerUtilityClass(slot: string): string;
21
- declare const containerClasses: ContainerClasses;
22
- export default containerClasses;
1
+ import { ContainerClasses } from '@mui/system';
2
+ export type { ContainerClassKey } from '@mui/system';
3
+ export type { ContainerClasses };
4
+ export declare function getContainerUtilityClass(slot: string): string;
5
+ declare const containerClasses: ContainerClasses;
6
+ export default containerClasses;
@@ -19,12 +19,12 @@ export const html = (theme, enableColorScheme) => _extends({
19
19
  colorScheme: theme.palette.mode
20
20
  });
21
21
  export const body = theme => _extends({
22
- color: theme.palette.text.primary
22
+ color: (theme.vars || theme).palette.text.primary
23
23
  }, theme.typography.body1, {
24
- backgroundColor: theme.palette.background.default,
24
+ backgroundColor: (theme.vars || theme).palette.background.default,
25
25
  '@media print': {
26
26
  // Save printer ink.
27
- backgroundColor: theme.palette.common.white
27
+ backgroundColor: (theme.vars || theme).palette.common.white
28
28
  }
29
29
  });
30
30
  export const styles = (theme, enableColorScheme = false) => {
@@ -44,7 +44,7 @@ export const styles = (theme, enableColorScheme = false) => {
44
44
  // Add support for document.body.requestFullScreen().
45
45
  // Other elements, if background transparent, are not supported.
46
46
  '&::backdrop': {
47
- backgroundColor: theme.palette.background.default
47
+ backgroundColor: (theme.vars || theme).palette.background.default
48
48
  }
49
49
  })
50
50
  };
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
2
- interface DialogContextValue {
3
- titleId?: string;
4
- }
5
- declare const DialogContext: import("react").Context<DialogContextValue>;
6
- export default DialogContext;
1
+ /// <reference types="react" />
2
+ interface DialogContextValue {
3
+ titleId?: string;
4
+ }
5
+ declare const DialogContext: import("react").Context<DialogContextValue>;
6
+ export default DialogContext;
@@ -1,36 +1,36 @@
1
- export interface DialogClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the container element if `scroll="paper"`. */
5
- scrollPaper: string;
6
- /** Styles applied to the container element if `scroll="body"`. */
7
- scrollBody: string;
8
- /** Styles applied to the container element. */
9
- container: string;
10
- /** Styles applied to the Paper component. */
11
- paper: string;
12
- /** Styles applied to the Paper component if `scroll="paper"`. */
13
- paperScrollPaper: string;
14
- /** Styles applied to the Paper component if `scroll="body"`. */
15
- paperScrollBody: string;
16
- /** Styles applied to the Paper component if `maxWidth=false`. */
17
- paperWidthFalse: string;
18
- /** Styles applied to the Paper component if `maxWidth="xs"`. */
19
- paperWidthXs: string;
20
- /** Styles applied to the Paper component if `maxWidth="sm"`. */
21
- paperWidthSm: string;
22
- /** Styles applied to the Paper component if `maxWidth="md"`. */
23
- paperWidthMd: string;
24
- /** Styles applied to the Paper component if `maxWidth="lg"`. */
25
- paperWidthLg: string;
26
- /** Styles applied to the Paper component if `maxWidth="xl"`. */
27
- paperWidthXl: string;
28
- /** Styles applied to the Paper component if `fullWidth={true}`. */
29
- paperFullWidth: string;
30
- /** Styles applied to the Paper component if `fullScreen={true}`. */
31
- paperFullScreen: string;
32
- }
33
- export declare type DialogClassKey = keyof DialogClasses;
34
- export declare function getDialogUtilityClass(slot: string): string;
35
- declare const dialogClasses: DialogClasses;
36
- export default dialogClasses;
1
+ export interface DialogClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the container element if `scroll="paper"`. */
5
+ scrollPaper: string;
6
+ /** Styles applied to the container element if `scroll="body"`. */
7
+ scrollBody: string;
8
+ /** Styles applied to the container element. */
9
+ container: string;
10
+ /** Styles applied to the Paper component. */
11
+ paper: string;
12
+ /** Styles applied to the Paper component if `scroll="paper"`. */
13
+ paperScrollPaper: string;
14
+ /** Styles applied to the Paper component if `scroll="body"`. */
15
+ paperScrollBody: string;
16
+ /** Styles applied to the Paper component if `maxWidth=false`. */
17
+ paperWidthFalse: string;
18
+ /** Styles applied to the Paper component if `maxWidth="xs"`. */
19
+ paperWidthXs: string;
20
+ /** Styles applied to the Paper component if `maxWidth="sm"`. */
21
+ paperWidthSm: string;
22
+ /** Styles applied to the Paper component if `maxWidth="md"`. */
23
+ paperWidthMd: string;
24
+ /** Styles applied to the Paper component if `maxWidth="lg"`. */
25
+ paperWidthLg: string;
26
+ /** Styles applied to the Paper component if `maxWidth="xl"`. */
27
+ paperWidthXl: string;
28
+ /** Styles applied to the Paper component if `fullWidth={true}`. */
29
+ paperFullWidth: string;
30
+ /** Styles applied to the Paper component if `fullScreen={true}`. */
31
+ paperFullScreen: string;
32
+ }
33
+ export declare type DialogClassKey = keyof DialogClasses;
34
+ export declare function getDialogUtilityClass(slot: string): string;
35
+ declare const dialogClasses: DialogClasses;
36
+ export default dialogClasses;
@@ -1,10 +1,10 @@
1
- export interface DialogActionsClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element unless `disableSpacing={true}`. */
5
- spacing: string;
6
- }
7
- export declare type DialogActionsClassKey = keyof DialogActionsClasses;
8
- export declare function getDialogActionsUtilityClass(slot: string): string;
9
- declare const dialogActionsClasses: DialogActionsClasses;
10
- export default dialogActionsClasses;
1
+ export interface DialogActionsClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element unless `disableSpacing={true}`. */
5
+ spacing: string;
6
+ }
7
+ export declare type DialogActionsClassKey = keyof DialogActionsClasses;
8
+ export declare function getDialogActionsUtilityClass(slot: string): string;
9
+ declare const dialogActionsClasses: DialogActionsClasses;
10
+ export default dialogActionsClasses;
@@ -42,8 +42,8 @@ const DialogContentRoot = styled('div', {
42
42
  padding: '20px 24px'
43
43
  }, ownerState.dividers ? {
44
44
  padding: '16px 24px',
45
- borderTop: `1px solid ${theme.palette.divider}`,
46
- borderBottom: `1px solid ${theme.palette.divider}`
45
+ borderTop: `1px solid ${(theme.vars || theme).palette.divider}`,
46
+ borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`
47
47
  } : {
48
48
  [`.${dialogTitleClasses.root} + &`]: {
49
49
  paddingTop: 0
@@ -1,10 +1,10 @@
1
- export interface DialogContentClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `dividers={true}`. */
5
- dividers: string;
6
- }
7
- export declare type DialogContentClassKey = keyof DialogContentClasses;
8
- export declare function getDialogContentUtilityClass(slot: string): string;
9
- declare const dialogContentClasses: DialogContentClasses;
10
- export default dialogContentClasses;
1
+ export interface DialogContentClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `dividers={true}`. */
5
+ dividers: string;
6
+ }
7
+ export declare type DialogContentClassKey = keyof DialogContentClasses;
8
+ export declare function getDialogContentUtilityClass(slot: string): string;
9
+ declare const dialogContentClasses: DialogContentClasses;
10
+ export default dialogContentClasses;
@@ -1,8 +1,8 @@
1
- export interface DialogContentTextClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- }
5
- export declare type DialogContentTextClassKey = keyof DialogContentTextClasses;
6
- export declare function getDialogContentTextUtilityClass(slot: string): string;
7
- declare const dialogContentTextClasses: DialogContentTextClasses;
8
- export default dialogContentTextClasses;
1
+ export interface DialogContentTextClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ }
5
+ export declare type DialogContentTextClassKey = keyof DialogContentTextClasses;
6
+ export declare function getDialogContentTextUtilityClass(slot: string): string;
7
+ declare const dialogContentTextClasses: DialogContentTextClasses;
8
+ export default dialogContentTextClasses;
@@ -1,8 +1,8 @@
1
- export interface DialogTitleClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- }
5
- export declare type DialogTitleClassKey = keyof DialogTitleClasses;
6
- export declare function getDialogTitleUtilityClass(slot: string): string;
7
- declare const dialogTitleClasses: DialogTitleClasses;
8
- export default dialogTitleClasses;
1
+ export interface DialogTitleClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ }
5
+ export declare type DialogTitleClassKey = keyof DialogTitleClasses;
6
+ export declare function getDialogTitleUtilityClass(slot: string): string;
7
+ declare const dialogTitleClasses: DialogTitleClasses;
8
+ export default dialogTitleClasses;