@mui/material 5.4.1 → 5.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (246) hide show
  1. package/Accordion/accordionClasses.d.ts +18 -18
  2. package/AccordionActions/accordionActionsClasses.d.ts +10 -10
  3. package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
  4. package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
  5. package/Alert/alertClasses.d.ts +44 -44
  6. package/AlertTitle/alertTitleClasses.d.ts +8 -8
  7. package/AppBar/appBarClasses.d.ts +28 -28
  8. package/Autocomplete/autocompleteClasses.d.ts +54 -54
  9. package/Avatar/avatarClasses.d.ts +20 -20
  10. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  11. package/BottomNavigation/BottomNavigation.js +0 -0
  12. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  13. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  14. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  15. package/Button/buttonClasses.d.ts +76 -76
  16. package/ButtonBase/ButtonBase.d.ts +1 -1
  17. package/ButtonBase/ButtonBase.js +1 -1
  18. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  19. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  20. package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
  21. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  22. package/CHANGELOG.md +177 -0
  23. package/Card/cardClasses.d.ts +8 -8
  24. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  25. package/CardActions/cardActionsClasses.d.ts +10 -10
  26. package/CardContent/cardContentClasses.d.ts +8 -8
  27. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  28. package/CardMedia/cardMediaClasses.d.ts +12 -12
  29. package/Checkbox/checkboxClasses.d.ts +18 -18
  30. package/Chip/Chip.js +1 -0
  31. package/Chip/chipClasses.d.ts +80 -80
  32. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  33. package/ClickAwayListener/index.d.ts +2 -2
  34. package/Collapse/collapseClasses.d.ts +18 -18
  35. package/Container/containerClasses.d.ts +22 -22
  36. package/Dialog/Dialog.d.ts +4 -1
  37. package/Dialog/Dialog.js +10 -6
  38. package/Dialog/DialogContext.d.ts +6 -6
  39. package/Dialog/dialogClasses.d.ts +36 -36
  40. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  41. package/DialogContent/dialogContentClasses.d.ts +10 -10
  42. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  43. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  44. package/Divider/dividerClasses.d.ts +34 -34
  45. package/Drawer/Drawer.d.ts +4 -1
  46. package/Drawer/Drawer.js +11 -9
  47. package/Drawer/drawerClasses.d.ts +30 -30
  48. package/Fab/fabClasses.d.ts +26 -26
  49. package/Fade/Fade.d.ts +2 -2
  50. package/Fade/Fade.js +8 -8
  51. package/FilledInput/filledInputClasses.d.ts +40 -40
  52. package/FilledInput/filledInputClasses.js +5 -1
  53. package/FormControl/formControlClasses.d.ts +14 -14
  54. package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
  55. package/FormGroup/formGroupClasses.d.ts +12 -12
  56. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  57. package/FormLabel/formLabelClasses.d.ts +22 -22
  58. package/Grid/gridClasses.d.ts +48 -48
  59. package/Icon/iconClasses.d.ts +24 -24
  60. package/IconButton/iconButtonClasses.d.ts +26 -26
  61. package/ImageList/imageListClasses.d.ts +16 -16
  62. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  63. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  64. package/Input/inputClasses.d.ts +34 -34
  65. package/Input/inputClasses.js +5 -1
  66. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  67. package/InputBase/inputBaseClasses.d.ts +44 -44
  68. package/InputLabel/inputLabelClasses.d.ts +32 -32
  69. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  70. package/Link/linkClasses.d.ts +18 -18
  71. package/List/listClasses.d.ts +14 -14
  72. package/ListItem/listItemClasses.d.ts +30 -30
  73. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  74. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  75. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  76. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  77. package/ListItemText/listItemTextClasses.d.ts +18 -18
  78. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  79. package/Menu/menuClasses.d.ts +12 -12
  80. package/MenuItem/menuItemClasses.d.ts +20 -20
  81. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  82. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  83. package/OutlinedInput/NotchedOutline.js +3 -1
  84. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  85. package/OutlinedInput/outlinedInputClasses.js +5 -1
  86. package/Pagination/paginationClasses.d.ts +14 -14
  87. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  88. package/Paper/paperClasses.d.ts +39 -39
  89. package/Popover/popoverClasses.d.ts +10 -10
  90. package/Popper/Popper.d.ts +17 -17
  91. package/Popper/Popper.js +1 -1
  92. package/README.md +1 -1
  93. package/Radio/radioClasses.d.ts +16 -16
  94. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  95. package/RadioGroup/useRadioGroup.d.ts +4 -4
  96. package/Rating/ratingClasses.d.ts +40 -40
  97. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  98. package/Select/Select.js +19 -7
  99. package/Select/selectClasses.d.ts +30 -30
  100. package/Skeleton/skeletonClasses.d.ts +24 -24
  101. package/Slide/Slide.d.ts +4 -4
  102. package/Slide/Slide.js +14 -14
  103. package/Snackbar/Snackbar.d.ts +2 -2
  104. package/Snackbar/Snackbar.js +8 -8
  105. package/Snackbar/snackbarClasses.d.ts +20 -20
  106. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  107. package/SpeedDial/SpeedDial.d.ts +2 -2
  108. package/SpeedDial/SpeedDial.js +9 -7
  109. package/SpeedDial/speedDialClasses.d.ts +22 -22
  110. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  111. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  112. package/Step/StepContext.d.ts +20 -0
  113. package/Step/StepContext.js +10 -2
  114. package/Step/index.d.ts +3 -0
  115. package/Step/index.js +3 -1
  116. package/Step/stepClasses.d.ts +16 -16
  117. package/StepButton/stepButtonClasses.d.ts +14 -14
  118. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  119. package/StepContent/stepContentClasses.d.ts +12 -12
  120. package/StepIcon/stepIconClasses.d.ts +16 -16
  121. package/StepLabel/stepLabelClasses.d.ts +28 -28
  122. package/Stepper/stepperClasses.d.ts +14 -14
  123. package/SvgIcon/svgIconClasses.d.ts +24 -24
  124. package/SwipeableDrawer/SwipeableDrawer.js +8 -6
  125. package/Switch/switchClasses.d.ts +32 -32
  126. package/Tab/tabClasses.d.ts +26 -26
  127. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  128. package/Table/tableClasses.d.ts +10 -10
  129. package/TableBody/tableBodyClasses.d.ts +8 -8
  130. package/TableCell/tableCellClasses.d.ts +32 -32
  131. package/TableContainer/tableContainerClasses.d.ts +8 -8
  132. package/TableFooter/tableFooterClasses.d.ts +8 -8
  133. package/TableHead/tableHeadClasses.d.ts +8 -8
  134. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  135. package/TableRow/tableRowClasses.d.ts +16 -16
  136. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  137. package/Tabs/tabsClasses.d.ts +32 -32
  138. package/TextField/textFieldClasses.d.ts +8 -8
  139. package/ToggleButton/ToggleButton.d.ts +15 -0
  140. package/ToggleButton/ToggleButton.js +8 -2
  141. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  142. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  143. package/Toolbar/toolbarClasses.d.ts +14 -14
  144. package/Tooltip/tooltipClasses.d.ts +30 -30
  145. package/Typography/typographyClasses.d.ts +50 -50
  146. package/Zoom/Zoom.d.ts +2 -2
  147. package/Zoom/Zoom.js +8 -8
  148. package/darkScrollbar/index.d.ts +28 -28
  149. package/index.d.ts +3 -0
  150. package/index.js +3 -1
  151. package/internal/switchBaseClasses.d.ts +12 -12
  152. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  153. package/legacy/ButtonBase/ButtonBase.js +1 -1
  154. package/legacy/Chip/Chip.js +1 -0
  155. package/legacy/Dialog/Dialog.js +10 -6
  156. package/legacy/Drawer/Drawer.js +11 -9
  157. package/legacy/Fade/Fade.js +8 -8
  158. package/legacy/FilledInput/filledInputClasses.js +5 -1
  159. package/legacy/Input/inputClasses.js +5 -1
  160. package/legacy/OutlinedInput/NotchedOutline.js +3 -1
  161. package/legacy/OutlinedInput/outlinedInputClasses.js +5 -1
  162. package/legacy/Popper/Popper.js +1 -1
  163. package/legacy/Select/Select.js +23 -7
  164. package/legacy/Slide/Slide.js +14 -14
  165. package/legacy/Snackbar/Snackbar.js +8 -8
  166. package/legacy/SpeedDial/SpeedDial.js +9 -7
  167. package/legacy/Step/StepContext.js +10 -2
  168. package/legacy/Step/index.js +3 -1
  169. package/legacy/SwipeableDrawer/SwipeableDrawer.js +8 -6
  170. package/legacy/ToggleButton/ToggleButton.js +8 -2
  171. package/legacy/Zoom/Zoom.js +8 -8
  172. package/legacy/index.js +3 -1
  173. package/legacy/locale/index.js +86 -78
  174. package/legacy/styles/makeStyles.js +1 -1
  175. package/legacy/styles/withStyles.js +1 -1
  176. package/legacy/styles/withTheme.js +1 -1
  177. package/locale/index.d.ts +68 -68
  178. package/locale/index.js +12 -6
  179. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  180. package/modern/ButtonBase/ButtonBase.js +1 -1
  181. package/modern/Chip/Chip.js +1 -0
  182. package/modern/Dialog/Dialog.js +10 -6
  183. package/modern/Drawer/Drawer.js +11 -9
  184. package/modern/Fade/Fade.js +8 -8
  185. package/modern/FilledInput/filledInputClasses.js +5 -1
  186. package/modern/Input/inputClasses.js +5 -1
  187. package/modern/OutlinedInput/NotchedOutline.js +3 -1
  188. package/modern/OutlinedInput/outlinedInputClasses.js +5 -1
  189. package/modern/Popper/Popper.js +1 -1
  190. package/modern/Select/Select.js +19 -7
  191. package/modern/Slide/Slide.js +14 -14
  192. package/modern/Snackbar/Snackbar.js +8 -8
  193. package/modern/SpeedDial/SpeedDial.js +9 -7
  194. package/modern/Step/StepContext.js +10 -2
  195. package/modern/Step/index.js +3 -1
  196. package/modern/SwipeableDrawer/SwipeableDrawer.js +8 -6
  197. package/modern/ToggleButton/ToggleButton.js +8 -2
  198. package/modern/Zoom/Zoom.js +8 -8
  199. package/modern/index.js +3 -1
  200. package/modern/locale/index.js +12 -6
  201. package/modern/styles/makeStyles.js +1 -1
  202. package/modern/styles/withStyles.js +1 -1
  203. package/modern/styles/withTheme.js +1 -1
  204. package/node/BottomNavigation/BottomNavigation.js +0 -0
  205. package/node/ButtonBase/ButtonBase.js +1 -1
  206. package/node/Chip/Chip.js +1 -0
  207. package/node/Dialog/Dialog.js +11 -7
  208. package/node/Drawer/Drawer.js +11 -10
  209. package/node/Fade/Fade.js +7 -9
  210. package/node/FilledInput/filledInputClasses.js +7 -1
  211. package/node/Input/inputClasses.js +7 -1
  212. package/node/OutlinedInput/NotchedOutline.js +3 -1
  213. package/node/OutlinedInput/outlinedInputClasses.js +7 -1
  214. package/node/Popper/Popper.js +1 -1
  215. package/node/Select/Select.js +22 -9
  216. package/node/Slide/Slide.js +14 -16
  217. package/node/Snackbar/Snackbar.js +8 -9
  218. package/node/SpeedDial/SpeedDial.js +9 -7
  219. package/node/Step/StepContext.js +11 -1
  220. package/node/Step/index.js +22 -1
  221. package/node/SwipeableDrawer/SwipeableDrawer.js +8 -7
  222. package/node/ToggleButton/ToggleButton.js +8 -2
  223. package/node/Zoom/Zoom.js +7 -9
  224. package/node/index.js +22 -1
  225. package/node/locale/index.js +12 -6
  226. package/node/styles/makeStyles.js +1 -1
  227. package/node/styles/withStyles.js +1 -1
  228. package/node/styles/withTheme.js +1 -1
  229. package/package.json +6 -6
  230. package/styles/components.d.ts +0 -339
  231. package/styles/index.d.ts +3 -0
  232. package/styles/makeStyles.js +1 -1
  233. package/styles/withStyles.js +1 -1
  234. package/styles/withTheme.js +1 -1
  235. package/transitions/index.d.ts +1 -1
  236. package/transitions/transition.d.ts +13 -13
  237. package/transitions/utils.d.ts +23 -23
  238. package/umd/material-ui.development.js +2441 -2295
  239. package/umd/material-ui.production.min.js +21 -21
  240. package/useMediaQuery/useMediaQuery.d.ts +31 -31
  241. package/useTouchRipple/index.d.ts +1 -1
  242. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  243. package/utils/getScrollbarSize.d.ts +2 -2
  244. package/utils/ownerDocument.d.ts +2 -2
  245. package/utils/ownerWindow.d.ts +2 -2
  246. package/utils/setRef.d.ts +2 -2
@@ -1,76 +1,76 @@
1
- export interface ButtonClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `variant="text"`. */
5
- text: string;
6
- /** Styles applied to the root element if `variant="text"` and `color="inherit"`. */
7
- textInherit: string;
8
- /** Styles applied to the root element if `variant="text"` and `color="primary"`. */
9
- textPrimary: string;
10
- /** Styles applied to the root element if `variant="text"` and `color="secondary"`. */
11
- textSecondary: string;
12
- /** Styles applied to the root element if `variant="outlined"`. */
13
- outlined: string;
14
- /** Styles applied to the root element if `variant="outlined"` and `color="inherit"`. */
15
- outlinedInherit: string;
16
- /** Styles applied to the root element if `variant="outlined"` and `color="primary"`. */
17
- outlinedPrimary: string;
18
- /** Styles applied to the root element if `variant="outlined"` and `color="secondary"`. */
19
- outlinedSecondary: string;
20
- /** Styles applied to the root element if `variant="contained"`. */
21
- contained: string;
22
- /** Styles applied to the root element if `variant="contained"` and `color="inherit"`. */
23
- containedInherit: string;
24
- /** Styles applied to the root element if `variant="contained"` and `color="primary"`. */
25
- containedPrimary: string;
26
- /** Styles applied to the root element if `variant="contained"` and `color="secondary"`. */
27
- containedSecondary: string;
28
- /** Styles applied to the root element if `disableElevation={true}`. */
29
- disableElevation: string;
30
- /** State class applied to the ButtonBase root element if the button is keyboard focused. */
31
- focusVisible: string;
32
- /** State class applied to the root element if `disabled={true}`. */
33
- disabled: string;
34
- /** Styles applied to the root element if `color="inherit"`. */
35
- colorInherit: string;
36
- /** Styles applied to the root element if `size="small"` and `variant="text"`. */
37
- textSizeSmall: string;
38
- /** Styles applied to the root element if `size="medium"` and `variant="text"`. */
39
- textSizeMedium: string;
40
- /** Styles applied to the root element if `size="large"` and `variant="text"`. */
41
- textSizeLarge: string;
42
- /** Styles applied to the root element if `size="small"` and `variant="outlined"`. */
43
- outlinedSizeSmall: string;
44
- /** Styles applied to the root element if `size="medium"` and `variant="outlined"`. */
45
- outlinedSizeMedium: string;
46
- /** Styles applied to the root element if `size="large"` and `variant="outlined"`. */
47
- outlinedSizeLarge: string;
48
- /** Styles applied to the root element if `size="small"` and `variant="contained"`. */
49
- containedSizeSmall: string;
50
- /** Styles applied to the root element if `size="medium"` and `variant="contained"`. */
51
- containedSizeMedium: string;
52
- /** Styles applied to the root element if `size="large"` and `variant="contained"`. */
53
- containedSizeLarge: string;
54
- /** Styles applied to the root element if `size="small"`. */
55
- sizeSmall: string;
56
- /** Styles applied to the root element if `size="medium"`. */
57
- sizeMedium: string;
58
- /** Styles applied to the root element if `size="large"`. */
59
- sizeLarge: string;
60
- /** Styles applied to the root element if `fullWidth={true}`. */
61
- fullWidth: string;
62
- /** Styles applied to the startIcon element if supplied. */
63
- startIcon: string;
64
- /** Styles applied to the endIcon element if supplied. */
65
- endIcon: string;
66
- /** Styles applied to the icon element if supplied and `size="small"`. */
67
- iconSizeSmall: string;
68
- /** Styles applied to the icon element if supplied and `size="medium"`. */
69
- iconSizeMedium: string;
70
- /** Styles applied to the icon element if supplied and `size="large"`. */
71
- iconSizeLarge: string;
72
- }
73
- export declare type ButtonClassKey = keyof ButtonClasses;
74
- export declare function getButtonUtilityClass(slot: string): string;
75
- declare const buttonClasses: ButtonClasses;
76
- export default buttonClasses;
1
+ export interface ButtonClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `variant="text"`. */
5
+ text: string;
6
+ /** Styles applied to the root element if `variant="text"` and `color="inherit"`. */
7
+ textInherit: string;
8
+ /** Styles applied to the root element if `variant="text"` and `color="primary"`. */
9
+ textPrimary: string;
10
+ /** Styles applied to the root element if `variant="text"` and `color="secondary"`. */
11
+ textSecondary: string;
12
+ /** Styles applied to the root element if `variant="outlined"`. */
13
+ outlined: string;
14
+ /** Styles applied to the root element if `variant="outlined"` and `color="inherit"`. */
15
+ outlinedInherit: string;
16
+ /** Styles applied to the root element if `variant="outlined"` and `color="primary"`. */
17
+ outlinedPrimary: string;
18
+ /** Styles applied to the root element if `variant="outlined"` and `color="secondary"`. */
19
+ outlinedSecondary: string;
20
+ /** Styles applied to the root element if `variant="contained"`. */
21
+ contained: string;
22
+ /** Styles applied to the root element if `variant="contained"` and `color="inherit"`. */
23
+ containedInherit: string;
24
+ /** Styles applied to the root element if `variant="contained"` and `color="primary"`. */
25
+ containedPrimary: string;
26
+ /** Styles applied to the root element if `variant="contained"` and `color="secondary"`. */
27
+ containedSecondary: string;
28
+ /** Styles applied to the root element if `disableElevation={true}`. */
29
+ disableElevation: string;
30
+ /** State class applied to the ButtonBase root element if the button is keyboard focused. */
31
+ focusVisible: string;
32
+ /** State class applied to the root element if `disabled={true}`. */
33
+ disabled: string;
34
+ /** Styles applied to the root element if `color="inherit"`. */
35
+ colorInherit: string;
36
+ /** Styles applied to the root element if `size="small"` and `variant="text"`. */
37
+ textSizeSmall: string;
38
+ /** Styles applied to the root element if `size="medium"` and `variant="text"`. */
39
+ textSizeMedium: string;
40
+ /** Styles applied to the root element if `size="large"` and `variant="text"`. */
41
+ textSizeLarge: string;
42
+ /** Styles applied to the root element if `size="small"` and `variant="outlined"`. */
43
+ outlinedSizeSmall: string;
44
+ /** Styles applied to the root element if `size="medium"` and `variant="outlined"`. */
45
+ outlinedSizeMedium: string;
46
+ /** Styles applied to the root element if `size="large"` and `variant="outlined"`. */
47
+ outlinedSizeLarge: string;
48
+ /** Styles applied to the root element if `size="small"` and `variant="contained"`. */
49
+ containedSizeSmall: string;
50
+ /** Styles applied to the root element if `size="medium"` and `variant="contained"`. */
51
+ containedSizeMedium: string;
52
+ /** Styles applied to the root element if `size="large"` and `variant="contained"`. */
53
+ containedSizeLarge: string;
54
+ /** Styles applied to the root element if `size="small"`. */
55
+ sizeSmall: string;
56
+ /** Styles applied to the root element if `size="medium"`. */
57
+ sizeMedium: string;
58
+ /** Styles applied to the root element if `size="large"`. */
59
+ sizeLarge: string;
60
+ /** Styles applied to the root element if `fullWidth={true}`. */
61
+ fullWidth: string;
62
+ /** Styles applied to the startIcon element if supplied. */
63
+ startIcon: string;
64
+ /** Styles applied to the endIcon element if supplied. */
65
+ endIcon: string;
66
+ /** Styles applied to the icon element if supplied and `size="small"`. */
67
+ iconSizeSmall: string;
68
+ /** Styles applied to the icon element if supplied and `size="medium"`. */
69
+ iconSizeMedium: string;
70
+ /** Styles applied to the icon element if supplied and `size="large"`. */
71
+ iconSizeLarge: string;
72
+ }
73
+ export declare type ButtonClassKey = keyof ButtonClasses;
74
+ export declare function getButtonUtilityClass(slot: string): string;
75
+ declare const buttonClasses: ButtonClasses;
76
+ export default buttonClasses;
@@ -81,7 +81,7 @@ export interface ButtonBaseTypeMap<P = {}, D extends React.ElementType = 'button
81
81
  */
82
82
  TouchRippleProps?: Partial<TouchRippleProps>;
83
83
  /**
84
- * A ref that points to the `TouchRippple` element.
84
+ * A ref that points to the `TouchRipple` element.
85
85
  */
86
86
  touchRippleRef?: React.Ref<TouchRippleActions>;
87
87
  };
@@ -529,7 +529,7 @@ process.env.NODE_ENV !== "production" ? ButtonBase.propTypes
529
529
  TouchRippleProps: PropTypes.object,
530
530
 
531
531
  /**
532
- * A ref that points to the `TouchRippple` element.
532
+ * A ref that points to the `TouchRipple` element.
533
533
  */
534
534
  touchRippleRef: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({
535
535
  current: PropTypes.shape({
@@ -1,12 +1,12 @@
1
- export interface ButtonBaseClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** State class applied to the root element if `disabled={true}`. */
5
- disabled: string;
6
- /** State class applied to the root element if keyboard focused. */
7
- focusVisible: string;
8
- }
9
- export declare type ButtonBaseClassKey = keyof ButtonBaseClasses;
10
- export declare function getButtonBaseUtilityClass(slot: string): string;
11
- declare const buttonBaseClasses: ButtonBaseClasses;
12
- export default buttonBaseClasses;
1
+ export interface ButtonBaseClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** State class applied to the root element if `disabled={true}`. */
5
+ disabled: string;
6
+ /** State class applied to the root element if keyboard focused. */
7
+ focusVisible: string;
8
+ }
9
+ export declare type ButtonBaseClassKey = keyof ButtonBaseClasses;
10
+ export declare function getButtonBaseUtilityClass(slot: string): string;
11
+ declare const buttonBaseClasses: ButtonBaseClasses;
12
+ export default buttonBaseClasses;
@@ -1,20 +1,20 @@
1
- export interface TouchRippleClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the internal `Ripple` components `ripple` class. */
5
- ripple: string;
6
- /** Styles applied to the internal `Ripple` components `rippleVisible` class. */
7
- rippleVisible: string;
8
- /** Styles applied to the internal `Ripple` components `ripplePulsate` class. */
9
- ripplePulsate: string;
10
- /** Styles applied to the internal `Ripple` components `child` class. */
11
- child: string;
12
- /** Styles applied to the internal `Ripple` components `childLeaving` class. */
13
- childLeaving: string;
14
- /** Styles applied to the internal `Ripple` components `childPulsate` class. */
15
- childPulsate: string;
16
- }
17
- export declare type TouchRippleClassKey = keyof TouchRippleClasses;
18
- export declare function getTouchRippleUtilityClass(slot: string): string;
19
- declare const touchRippleClasses: TouchRippleClasses;
20
- export default touchRippleClasses;
1
+ export interface TouchRippleClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the internal `Ripple` components `ripple` class. */
5
+ ripple: string;
6
+ /** Styles applied to the internal `Ripple` components `rippleVisible` class. */
7
+ rippleVisible: string;
8
+ /** Styles applied to the internal `Ripple` components `ripplePulsate` class. */
9
+ ripplePulsate: string;
10
+ /** Styles applied to the internal `Ripple` components `child` class. */
11
+ child: string;
12
+ /** Styles applied to the internal `Ripple` components `childLeaving` class. */
13
+ childLeaving: string;
14
+ /** Styles applied to the internal `Ripple` components `childPulsate` class. */
15
+ childPulsate: string;
16
+ }
17
+ export declare type TouchRippleClassKey = keyof TouchRippleClasses;
18
+ export declare function getTouchRippleUtilityClass(slot: string): string;
19
+ declare const touchRippleClasses: TouchRippleClasses;
20
+ export default touchRippleClasses;
@@ -1,18 +1,18 @@
1
- import * as React from 'react';
2
- import type { ButtonGroupProps } from './ButtonGroup';
3
- interface IButtonGroupContext {
4
- className?: string;
5
- color?: ButtonGroupProps['color'];
6
- disabled?: boolean;
7
- disableElevation?: boolean;
8
- disableFocusRipple?: boolean;
9
- disableRipple?: boolean;
10
- fullWidth?: boolean;
11
- size?: ButtonGroupProps['size'];
12
- variant?: ButtonGroupProps['variant'];
13
- }
14
- /**
15
- * @ignore - internal component.
16
- */
17
- declare const ButtonGroupContext: React.Context<IButtonGroupContext>;
18
- export default ButtonGroupContext;
1
+ import * as React from 'react';
2
+ import type { ButtonGroupProps } from './ButtonGroup';
3
+ interface IButtonGroupContext {
4
+ className?: string;
5
+ color?: ButtonGroupProps['color'];
6
+ disabled?: boolean;
7
+ disableElevation?: boolean;
8
+ disableFocusRipple?: boolean;
9
+ disableRipple?: boolean;
10
+ fullWidth?: boolean;
11
+ size?: ButtonGroupProps['size'];
12
+ variant?: ButtonGroupProps['variant'];
13
+ }
14
+ /**
15
+ * @ignore - internal component.
16
+ */
17
+ declare const ButtonGroupContext: React.Context<IButtonGroupContext>;
18
+ export default ButtonGroupContext;
@@ -1,58 +1,58 @@
1
- export interface ButtonGroupClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `variant="contained"`. */
5
- contained: 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
- /** Styles applied to the root element if `disableElevation={true}`. */
11
- disableElevation: string;
12
- /** State class applied to the child elements if `disabled={true}`. */
13
- disabled: string;
14
- /** Styles applied to the root element if `fullWidth={true}`. */
15
- fullWidth: string;
16
- /** Styles applied to the root element if `orientation="vertical"`. */
17
- vertical: string;
18
- /** Styles applied to the children. */
19
- grouped: string;
20
- /** Styles applied to the children if `orientation="horizontal"`. */
21
- groupedHorizontal: string;
22
- /** Styles applied to the children if `orientation="vertical"`. */
23
- groupedVertical: string;
24
- /** Styles applied to the children if `variant="text"`. */
25
- groupedText: string;
26
- /** Styles applied to the children if `variant="text"` and `orientation="horizontal"`. */
27
- groupedTextHorizontal: string;
28
- /** Styles applied to the children if `variant="text"` and `orientation="vertical"`. */
29
- groupedTextVertical: string;
30
- /** Styles applied to the children if `variant="text"` and `color="primary"`. */
31
- groupedTextPrimary: string;
32
- /** Styles applied to the children if `variant="text"` and `color="secondary"`. */
33
- groupedTextSecondary: string;
34
- /** Styles applied to the children if `variant="outlined"`. */
35
- groupedOutlined: string;
36
- /** Styles applied to the children if `variant="outlined"` and `orientation="horizontal"`. */
37
- groupedOutlinedHorizontal: string;
38
- /** Styles applied to the children if `variant="outlined"` and `orientation="vertical"`. */
39
- groupedOutlinedVertical: string;
40
- /** Styles applied to the children if `variant="outlined"` and `color="primary"`. */
41
- groupedOutlinedPrimary: string;
42
- /** Styles applied to the children if `variant="outlined"` and `color="secondary"`. */
43
- groupedOutlinedSecondary: string;
44
- /** Styles applied to the children if `variant="contained"`. */
45
- groupedContained: string;
46
- /** Styles applied to the children if `variant="contained"` and `orientation="horizontal"`. */
47
- groupedContainedHorizontal: string;
48
- /** Styles applied to the children if `variant="contained"` and `orientation="vertical"`. */
49
- groupedContainedVertical: string;
50
- /** Styles applied to the children if `variant="contained"` and `color="primary"`. */
51
- groupedContainedPrimary: string;
52
- /** Styles applied to the children if `variant="contained"` and `color="secondary"`. */
53
- groupedContainedSecondary: string;
54
- }
55
- export declare type ButtonGroupClassKey = keyof ButtonGroupClasses;
56
- export declare function getButtonGroupUtilityClass(slot: string): string;
57
- declare const buttonGroupClasses: ButtonGroupClasses;
58
- export default buttonGroupClasses;
1
+ export interface ButtonGroupClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `variant="contained"`. */
5
+ contained: 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
+ /** Styles applied to the root element if `disableElevation={true}`. */
11
+ disableElevation: string;
12
+ /** State class applied to the child elements if `disabled={true}`. */
13
+ disabled: string;
14
+ /** Styles applied to the root element if `fullWidth={true}`. */
15
+ fullWidth: string;
16
+ /** Styles applied to the root element if `orientation="vertical"`. */
17
+ vertical: string;
18
+ /** Styles applied to the children. */
19
+ grouped: string;
20
+ /** Styles applied to the children if `orientation="horizontal"`. */
21
+ groupedHorizontal: string;
22
+ /** Styles applied to the children if `orientation="vertical"`. */
23
+ groupedVertical: string;
24
+ /** Styles applied to the children if `variant="text"`. */
25
+ groupedText: string;
26
+ /** Styles applied to the children if `variant="text"` and `orientation="horizontal"`. */
27
+ groupedTextHorizontal: string;
28
+ /** Styles applied to the children if `variant="text"` and `orientation="vertical"`. */
29
+ groupedTextVertical: string;
30
+ /** Styles applied to the children if `variant="text"` and `color="primary"`. */
31
+ groupedTextPrimary: string;
32
+ /** Styles applied to the children if `variant="text"` and `color="secondary"`. */
33
+ groupedTextSecondary: string;
34
+ /** Styles applied to the children if `variant="outlined"`. */
35
+ groupedOutlined: string;
36
+ /** Styles applied to the children if `variant="outlined"` and `orientation="horizontal"`. */
37
+ groupedOutlinedHorizontal: string;
38
+ /** Styles applied to the children if `variant="outlined"` and `orientation="vertical"`. */
39
+ groupedOutlinedVertical: string;
40
+ /** Styles applied to the children if `variant="outlined"` and `color="primary"`. */
41
+ groupedOutlinedPrimary: string;
42
+ /** Styles applied to the children if `variant="outlined"` and `color="secondary"`. */
43
+ groupedOutlinedSecondary: string;
44
+ /** Styles applied to the children if `variant="contained"`. */
45
+ groupedContained: string;
46
+ /** Styles applied to the children if `variant="contained"` and `orientation="horizontal"`. */
47
+ groupedContainedHorizontal: string;
48
+ /** Styles applied to the children if `variant="contained"` and `orientation="vertical"`. */
49
+ groupedContainedVertical: string;
50
+ /** Styles applied to the children if `variant="contained"` and `color="primary"`. */
51
+ groupedContainedPrimary: string;
52
+ /** Styles applied to the children if `variant="contained"` and `color="secondary"`. */
53
+ groupedContainedSecondary: string;
54
+ }
55
+ export declare type ButtonGroupClassKey = keyof ButtonGroupClasses;
56
+ export declare function getButtonGroupUtilityClass(slot: string): string;
57
+ declare const buttonGroupClasses: ButtonGroupClasses;
58
+ export default buttonGroupClasses;
package/CHANGELOG.md CHANGED
@@ -1,5 +1,182 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.4.4
4
+
5
+ <!-- generated comparing v5.4.3..master -->
6
+
7
+ _Feb 28, 2022_
8
+
9
+ A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - ✨ New `Input` and `Sheet` components were added in the experimental Joy design system by @hbjORbj (#31124, #31086) @hbjORbj
12
+ - Several 🐛 bug fixes and 📚 documentation improvements
13
+
14
+ ### `@mui/material@5.4.4`
15
+
16
+ - &#8203;<!-- 28 -->[Autocomplete] Have Autocomplete with multiline textfield log a warning instead of an error (#30680) @iclaude3
17
+ - &#8203;<!-- 27 -->[Chip] Fix ellipsis when the children is too long (#31087) @PunitSoniME
18
+ - &#8203;<!-- 14 -->[Input] Export InputBase's classes from the classes const (#31186) @mnajdova
19
+ - &#8203;<!-- 29 -->[TextField] Fix Horizontal scroll when label too long (#31187) @RedHeadphone
20
+ - &#8203;<!-- 08 -->[styles] Fix typo in import error (#31167) @davwheat
21
+
22
+ ### `@mui/system@5.4.4`
23
+
24
+ - &#8203;<!-- 07 -->[system] Fix executing server-side Emotion component as function interpolation 2 (#31024) @Andarist
25
+ - &#8203;<!-- 06 -->[system] Fix sx prop types when CSS variables are used with nested selectors (#31163) @mnajdova
26
+ - &#8203;<!-- 05 -->[system] Fix `CssVarsProvider` theme mutation (#31148) @siriwatknp
27
+
28
+ ### `@mui/codemod@5.4.4`
29
+
30
+ - &#8203;<!-- 26 -->[codemods] Add v5.0.0/top-level-imports codemod (#31195) @greengiraffe
31
+
32
+ ### `@mui/base@5.0.0-alpha.70`
33
+
34
+ - &#8203;<!-- 31 -->[SelectUnstyled, MultiSelectUnstyled, ButtonUnstyled] Export additional types to make customization easier (#31172) @michaldudak
35
+
36
+ ### `@mui/joy@5.0.0-alpha.17`
37
+
38
+ - &#8203;<!-- 13 -->[Joy] Add nested list components (#31159) @siriwatknp
39
+ - &#8203;<!-- 12 -->[Joy] Improve color customization on `Switch` (#31137) @siriwatknp
40
+ - &#8203;<!-- 11 -->[Joy] Add `Sheet` component (#31124) @hbjORbj
41
+ - &#8203;<!-- 10 -->[Joy] add `Input` component (#31086) @siriwatknp
42
+ - &#8203;<!-- 09 -->[Joy] Fix Button missing slot type (#31166) @siriwatknp
43
+
44
+ ### Docs
45
+
46
+ - &#8203;<!-- 22 -->[docs] Fix 404 link to the blog (#31234) @oliviertassinari
47
+ - &#8203;<!-- 21 -->[docs] Use `material-ui` for product name (#31200) @siriwatknp
48
+ - &#8203;<!-- 20 -->[docs] Add Base installation page (#30969) @siriwatknp
49
+ - &#8203;<!-- 19 -->[docs] Use new Algolia app for new structure (#31178) @siriwatknp
50
+ - &#8203;<!-- 18 -->[docs] Typo in the `FormControl` API documentation (#31169) @bonellia
51
+ - &#8203;<!-- 17 -->[docs] Fix typo in Stack documentation (#31176) @adriancampos
52
+ - &#8203;<!-- 16 -->[docs] Update interoperability.md broken tailwind links (#31182) @robertwt7
53
+ - &#8203;<!-- 15 -->[docs] Add missing import into tss-react migration guide (#31162) @sviande
54
+ - &#8203;<!-- 03 -->[website] The role is filled (#31216) @oliviertassinari
55
+ - &#8203;<!-- 02 -->[website] Revise the row grouping blog post (#31101) @samuelsycamore
56
+ - &#8203;<!-- 01 -->[website] Fix a few SEO issues (#31150) @oliviertassinari
57
+
58
+ ### Core
59
+
60
+ - &#8203;<!-- 30 -->[core] Add group for the @fortawesome dependencies (#31193) @mnajdova
61
+ - &#8203;<!-- 25 -->[core] Update playwright docker to match the specified version (#31236) @siriwatknp
62
+ - &#8203;<!-- 24 -->[core] Remove parallel on buildTypes (#31189) @siriwatknp
63
+ - &#8203;<!-- 23 -->[core] Fix propTypes generation for optional any props (#31141) @m4theushw
64
+ - &#8203;<!-- 04 -->[Typescript] Remove variants deprecation (#31239) @siriwatknp
65
+
66
+ All contributors of this release in alphabetical order: @adriancampos, @Andarist, @bonellia, @davwheat, @greengiraffe, @hbjORbj, @iclaude3, @m4theushw, @michaldudak, @mnajdova, @oliviertassinari, @PunitSoniME, @RedHeadphone, @robertwt7, @samuelsycamore, @siriwatknp, @sviande
67
+
68
+ ## 5.4.3
69
+
70
+ <!-- generated comparing v5.4.2..master -->
71
+
72
+ _Feb 21, 2022_
73
+
74
+ A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
75
+
76
+ - 🛠 @hbjORbj made components use theme duration/easing values by default (#30894)
77
+ - A meaningful number of 🐛 bug fixes and 📚 documentation improvements
78
+
79
+ ### `@mui/material@5.4.3`
80
+
81
+ - &#8203;<!-- 18 -->[ButtonBase] Fix typo (#31135) @Jastor11
82
+ - &#8203;<!-- 05 -->[Stepper] Export useStepContext (#31021) @michaldudak
83
+ - &#8203;<!-- 04 -->[Transitions] Some components do not use transition duration/easing values from theme (#30894) @hbjORbj
84
+
85
+ ### `@mui/icons-material@5.4.3`
86
+
87
+ - &#8203;<!-- 11 -->[icons] Add "circle" icon synonyms (#31118) @gnowland
88
+
89
+ ### `@mui/joy@5.0.0-alpha.16`
90
+
91
+ - &#8203;<!-- 10 -->[Joy] `List` second iteration (#31134) @siriwatknp
92
+ - &#8203;<!-- 09 -->[Joy] Fix typings (#31120) @siriwatknp
93
+ - &#8203;<!-- 08 -->[Joy] Add initial `List` components (#30987) @siriwatknp
94
+
95
+ ### Docs
96
+
97
+ - &#8203;<!-- 19 -->[website] Improve full-stack role job description (#31160) @Janpot
98
+ - &#8203;<!-- 14 -->[docs] Fix typo of migration guides v4 (#31136) @pppp606
99
+ - &#8203;<!-- 13 -->[docs] Update on the support page to account for v4 LTS support (#31029) @danilo-leal
100
+ - &#8203;<!-- 12 -->[docs] Fix small typo in chips.md (#31092) @cameliaben
101
+ - &#8203;<!-- 07 -->[l10n] Add it-IT translation for labelDisplayedRows (#31131) @frab90
102
+ - &#8203;<!-- 06 -->[l10n] Add pl-PL translation for labelDisplayedRows (#31088) @ThomasTheHuman
103
+ - &#8203;<!-- 03 -->[website] Sync MUI X table feature (#30913) @alexfauquette
104
+ - &#8203;<!-- 02 -->[website] Prefill source in job application links (#31036) @oliviertassinari
105
+ - &#8203;<!-- 01 -->[website] Fix a grammar mistake (#31099) @huyenltnguyen
106
+
107
+ ### Core
108
+
109
+ - &#8203;<!-- 17 -->[core] Add jsx, html, css and prisma to prettier extensions (#31161) @Janpot
110
+ - &#8203;<!-- 16 -->[core] Allow to run material-ui.com/store alongside mui.com/store (#31065) @oliviertassinari
111
+ - &#8203;<!-- 15 -->[core] Polish design tokens (#31095) @oliviertassinari
112
+
113
+ All contributors of this release in alphabetical order: @alexfauquette, @cameliaben, @danilo-leal, @frab90, @gnowland, @hbjORbj, @huyenltnguyen, @Janpot, @Jastor11, @michaldudak, @oliviertassinari, @pppp606, @siriwatknp, @ThomasTheHuman
114
+
115
+ ## 5.4.2
116
+
117
+ _Feb 15, 2022_
118
+
119
+ A big thanks to the 16 contributors who made this release possible. Here are some highlights ✨:
120
+
121
+ - 🛠 @sydneyjodon-wk improved propTypes of the ToggleButton components (#30883)
122
+ - Several 🐛 bug fixes and 📚 documentation improvements
123
+
124
+ ### `@mui/material@5.4.2`
125
+
126
+ - [Select] Allow customizing Select based on its variant (#30788) @michaldudak
127
+ - [Portal] Re-export 'Portal' in material (#31003) @liradb2000
128
+ - [ToggleButton] Add prop types for `onClick` and `onChange` (#30883) @sydneyjodon-wk
129
+ - [Typescript] Added TypeText declaration to the exports file (#30890) @agauravdev
130
+
131
+ ### `@mui/system@5.4.2`
132
+
133
+ - [system] Fix broken behavior when breakpoints input are not ordered (#30996) @mnajdova
134
+
135
+ ### `@mui/lab@5.0.0-alpha.69`
136
+
137
+ - [DatePicker] Fix passing clearable prop (#30786) @alisasanib
138
+
139
+ ### `@mui/joy@5.0.0-alpha.15`
140
+
141
+ - [Joy] Improve variant customization experience (#30878) @siriwatknp
142
+ - [Joy] Make `sx` prop work in Joy (#30955) @siriwatknp
143
+
144
+ ### Framer
145
+
146
+ - [design] Remove framer components (#30983) @mbrookes
147
+ - [design] Remove framer leftovers (#31070) @michaldudak
148
+
149
+ ### Docs
150
+
151
+ - [docs] Update installation guide of the icons package (#31026) @huyenltnguyen
152
+ - [docs] Improve the indication for the legacy APIs (#30995) @mnajdova
153
+ - [docs] Specify which props are added in the default `shouldForwardProp` option (#30978) @mnajdova
154
+ - [docs] Fix layout shift on loading (#31017) @oliviertassinari
155
+ - [docs] Increase scroll affordance in wide tables (#30713) @danilo-leal
156
+ - [docs] Fix look & feel of the Masonry demos (#30971) @oliviertassinari
157
+ - [docs] Improve Base component demos (#30884) @danilo-leal
158
+ - [docs] Use full product names (Material UI, MUI System) (#30960) @oliviertassinari
159
+ - [docs] Prefer useEnhancedEffect to avoid server side warnings (#30977) @mnajdova
160
+ - [docs] Fix force redirection to a different locale (#30967) @oliviertassinari
161
+ - [docs] Add live Tailwind CSS demo (#30966) @oliviertassinari
162
+ - [website] Add banner for promoting priority open roles (#31076) @danilo-leal
163
+ - [website] Open Full-stack Engineer role for studio (#31038) @newguy-123
164
+ - [website] Minor security improvements (#31062) @oliviertassinari
165
+ - [website] Improve title of open roles (#30963) @DanailH
166
+ - [website] Add BIMI avatar (#30444) @oliviertassinari
167
+ - [website] Add Sycamore to About page (#31000) @samuelsycamore
168
+
169
+ ### Core
170
+
171
+ - [benchmark] Add missing dependency (#30994) @michaldudak
172
+ - [core] Bump date-io version (#31016) @michaldudak
173
+ - [core] Fix typo in useSlider (#31061) @ryohey
174
+ - [core] Remove unused draft-js types package (#30993) @michaldudak
175
+ - [test] Test if certain Base members are exported from Material UI (#31067) @michaldudak
176
+ - [core] Remove dead code (#31064) @oliviertassinari
177
+
178
+ All contributors of this release in alphabetical order: @agauravdev, @alisasanib, @DanailH, @danilo-leal, @huyenltnguyen, @l10nbot, @liradb2000, @mbrookes, @michaldudak, @mnajdova, @newguy-123, @oliviertassinari, @ryohey, @samuelsycamore, @siriwatknp, @sydneyjodon-wk
179
+
3
180
  ## 5.4.1
4
181
 
5
182
  <!-- generated comparing v5.4.0..master -->
@@ -1,8 +1,8 @@
1
- export interface CardClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- }
5
- export declare type CardClassKey = keyof CardClasses;
6
- export declare function getCardUtilityClass(slot: string): string;
7
- declare const cardClasses: CardClasses;
8
- export default cardClasses;
1
+ export interface CardClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ }
5
+ export declare type CardClassKey = keyof CardClasses;
6
+ export declare function getCardUtilityClass(slot: string): string;
7
+ declare const cardClasses: CardClasses;
8
+ export default cardClasses;
@@ -1,12 +1,12 @@
1
- export interface CardActionAreaClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** State class applied to the ButtonBase root element if the action area is keyboard focused. */
5
- focusVisible: string;
6
- /** Styles applied to the overlay that covers the action area when it is keyboard focused. */
7
- focusHighlight: string;
8
- }
9
- export declare type CardActionAreaClassKey = keyof CardActionAreaClasses;
10
- export declare function getCardActionAreaUtilityClass(slot: string): string;
11
- declare const cardActionAreaClasses: CardActionAreaClasses;
12
- export default cardActionAreaClasses;
1
+ export interface CardActionAreaClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** State class applied to the ButtonBase root element if the action area is keyboard focused. */
5
+ focusVisible: string;
6
+ /** Styles applied to the overlay that covers the action area when it is keyboard focused. */
7
+ focusHighlight: string;
8
+ }
9
+ export declare type CardActionAreaClassKey = keyof CardActionAreaClasses;
10
+ export declare function getCardActionAreaUtilityClass(slot: string): string;
11
+ declare const cardActionAreaClasses: CardActionAreaClasses;
12
+ export default cardActionAreaClasses;
@@ -1,10 +1,10 @@
1
- export interface CardActionsClasses {
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 CardActionsClassKey = keyof CardActionsClasses;
8
- export declare function getCardActionsUtilityClass(slot: string): string;
9
- declare const cardActionsClasses: CardActionsClasses;
10
- export default cardActionsClasses;
1
+ export interface CardActionsClasses {
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 CardActionsClassKey = keyof CardActionsClasses;
8
+ export declare function getCardActionsUtilityClass(slot: string): string;
9
+ declare const cardActionsClasses: CardActionsClasses;
10
+ export default cardActionsClasses;