@mui/material 5.8.4 → 5.8.5

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 (235) 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/AppBar.js +22 -5
  8. package/AppBar/appBarClasses.d.ts +28 -28
  9. package/Autocomplete/autocompleteClasses.d.ts +54 -54
  10. package/Avatar/Avatar.js +7 -4
  11. package/Avatar/avatarClasses.d.ts +20 -20
  12. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  13. package/Backdrop/backdropClasses.d.ts +10 -10
  14. package/Badge/Badge.js +2 -2
  15. package/Badge/badgeClasses.d.ts +56 -56
  16. package/BottomNavigation/BottomNavigation.js +0 -0
  17. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  18. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  19. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  20. package/Button/buttonClasses.d.ts +100 -100
  21. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  22. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  23. package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
  24. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  25. package/CHANGELOG.md +69 -4
  26. package/Card/cardClasses.d.ts +8 -8
  27. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  28. package/CardActions/cardActionsClasses.d.ts +10 -10
  29. package/CardContent/cardContentClasses.d.ts +8 -8
  30. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  31. package/CardMedia/cardMediaClasses.d.ts +12 -12
  32. package/Checkbox/checkboxClasses.d.ts +18 -18
  33. package/Chip/Chip.js +31 -30
  34. package/Chip/chipClasses.d.ts +80 -80
  35. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  36. package/ClickAwayListener/index.d.ts +2 -2
  37. package/Collapse/collapseClasses.d.ts +18 -18
  38. package/Container/containerClasses.d.ts +6 -6
  39. package/Dialog/Dialog.js +11 -6
  40. package/Dialog/DialogContext.d.ts +6 -6
  41. package/Dialog/dialogClasses.d.ts +36 -36
  42. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  43. package/DialogContent/dialogContentClasses.d.ts +10 -10
  44. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  45. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  46. package/Divider/dividerClasses.d.ts +34 -34
  47. package/Drawer/drawerClasses.d.ts +30 -30
  48. package/Fab/fabClasses.d.ts +26 -26
  49. package/FilledInput/FilledInput.js +28 -13
  50. package/FilledInput/filledInputClasses.d.ts +40 -40
  51. package/FormControl/formControlClasses.d.ts +14 -14
  52. package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
  53. package/FormGroup/formGroupClasses.d.ts +12 -12
  54. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  55. package/FormLabel/formLabelClasses.d.ts +22 -22
  56. package/Grid/gridClasses.d.ts +48 -48
  57. package/Icon/iconClasses.d.ts +24 -24
  58. package/IconButton/iconButtonClasses.d.ts +26 -26
  59. package/ImageList/imageListClasses.d.ts +16 -16
  60. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  61. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  62. package/Input/inputClasses.d.ts +34 -34
  63. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  64. package/InputBase/InputBase.js +2 -2
  65. package/InputBase/inputBaseClasses.d.ts +44 -44
  66. package/InputLabel/inputLabelClasses.d.ts +32 -32
  67. package/LinearProgress/LinearProgress.js +6 -2
  68. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  69. package/Link/getTextDecoration.d.ts +15 -15
  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/Modal/Modal.d.ts +2 -0
  83. package/Modal/Modal.js +25 -8
  84. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  85. package/OutlinedInput/OutlinedInput.js +25 -10
  86. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  87. package/Pagination/paginationClasses.d.ts +14 -14
  88. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  89. package/Paper/paperClasses.d.ts +39 -39
  90. package/Popover/popoverClasses.d.ts +10 -10
  91. package/Popper/Popper.d.ts +29 -29
  92. package/Radio/radioClasses.d.ts +16 -16
  93. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  94. package/RadioGroup/useRadioGroup.d.ts +4 -4
  95. package/Rating/ratingClasses.d.ts +40 -40
  96. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  97. package/Select/selectClasses.d.ts +30 -30
  98. package/Skeleton/Skeleton.js +8 -3
  99. package/Skeleton/skeletonClasses.d.ts +24 -24
  100. package/Slider/Slider.js +12 -12
  101. package/Snackbar/snackbarClasses.d.ts +20 -20
  102. package/SnackbarContent/SnackbarContent.js +3 -3
  103. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  104. package/SpeedDial/speedDialClasses.d.ts +22 -22
  105. package/SpeedDialAction/SpeedDialAction.js +7 -7
  106. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  107. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  108. package/Step/StepContext.d.ts +20 -20
  109. package/Step/stepClasses.d.ts +16 -16
  110. package/StepButton/stepButtonClasses.d.ts +14 -14
  111. package/StepConnector/StepConnector.js +14 -11
  112. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  113. package/StepContent/StepContent.js +1 -1
  114. package/StepContent/stepContentClasses.d.ts +12 -12
  115. package/StepIcon/stepIconClasses.d.ts +16 -16
  116. package/StepLabel/stepLabelClasses.d.ts +28 -28
  117. package/Stepper/StepperContext.d.ts +18 -18
  118. package/Stepper/stepperClasses.d.ts +14 -14
  119. package/SvgIcon/svgIconClasses.d.ts +24 -24
  120. package/Switch/Switch.js +11 -11
  121. package/Switch/switchClasses.d.ts +32 -32
  122. package/Tab/tabClasses.d.ts +26 -26
  123. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  124. package/Table/tableClasses.d.ts +10 -10
  125. package/TableBody/tableBodyClasses.d.ts +8 -8
  126. package/TableCell/TableCell.js +5 -5
  127. package/TableCell/tableCellClasses.d.ts +32 -32
  128. package/TableContainer/tableContainerClasses.d.ts +8 -8
  129. package/TableFooter/tableFooterClasses.d.ts +8 -8
  130. package/TableHead/tableHeadClasses.d.ts +8 -8
  131. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  132. package/TableRow/tableRowClasses.d.ts +16 -16
  133. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  134. package/Tabs/Tabs.js +6 -16
  135. package/Tabs/tabsClasses.d.ts +32 -32
  136. package/TextField/textFieldClasses.d.ts +8 -8
  137. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  138. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  139. package/Toolbar/toolbarClasses.d.ts +14 -14
  140. package/Tooltip/Tooltip.js +1 -1
  141. package/Tooltip/tooltipClasses.d.ts +30 -30
  142. package/Typography/typographyClasses.d.ts +50 -50
  143. package/className/index.d.ts +1 -1
  144. package/darkScrollbar/index.d.ts +28 -28
  145. package/index.js +1 -1
  146. package/internal/switchBaseClasses.d.ts +12 -12
  147. package/legacy/AppBar/AppBar.js +23 -4
  148. package/legacy/Avatar/Avatar.js +7 -4
  149. package/legacy/Badge/Badge.js +2 -2
  150. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  151. package/legacy/Chip/Chip.js +31 -30
  152. package/legacy/Dialog/Dialog.js +11 -6
  153. package/legacy/FilledInput/FilledInput.js +28 -14
  154. package/legacy/InputBase/InputBase.js +2 -2
  155. package/legacy/LinearProgress/LinearProgress.js +6 -2
  156. package/legacy/Modal/Modal.js +23 -7
  157. package/legacy/OutlinedInput/OutlinedInput.js +21 -9
  158. package/legacy/Skeleton/Skeleton.js +2 -2
  159. package/legacy/Slider/Slider.js +12 -12
  160. package/legacy/SnackbarContent/SnackbarContent.js +3 -3
  161. package/legacy/SpeedDialAction/SpeedDialAction.js +7 -7
  162. package/legacy/StepConnector/StepConnector.js +2 -1
  163. package/legacy/StepContent/StepContent.js +1 -1
  164. package/legacy/Switch/Switch.js +11 -11
  165. package/legacy/TableCell/TableCell.js +5 -5
  166. package/legacy/Tabs/Tabs.js +6 -16
  167. package/legacy/Tooltip/Tooltip.js +1 -1
  168. package/legacy/index.js +1 -1
  169. package/legacy/styles/CssVarsProvider.js +1 -1
  170. package/legacy/styles/experimental_extendTheme.js +113 -18
  171. package/locale/index.d.ts +71 -71
  172. package/modern/AppBar/AppBar.js +22 -5
  173. package/modern/Avatar/Avatar.js +7 -4
  174. package/modern/Badge/Badge.js +2 -2
  175. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  176. package/modern/Chip/Chip.js +31 -30
  177. package/modern/Dialog/Dialog.js +11 -6
  178. package/modern/FilledInput/FilledInput.js +27 -12
  179. package/modern/InputBase/InputBase.js +2 -2
  180. package/modern/LinearProgress/LinearProgress.js +6 -2
  181. package/modern/Modal/Modal.js +24 -7
  182. package/modern/OutlinedInput/OutlinedInput.js +25 -10
  183. package/modern/Skeleton/Skeleton.js +7 -2
  184. package/modern/Slider/Slider.js +12 -12
  185. package/modern/SnackbarContent/SnackbarContent.js +3 -3
  186. package/modern/SpeedDialAction/SpeedDialAction.js +7 -7
  187. package/modern/StepConnector/StepConnector.js +14 -11
  188. package/modern/StepContent/StepContent.js +1 -1
  189. package/modern/Switch/Switch.js +11 -11
  190. package/modern/TableCell/TableCell.js +5 -5
  191. package/modern/Tabs/Tabs.js +6 -16
  192. package/modern/Tooltip/Tooltip.js +1 -1
  193. package/modern/index.js +1 -1
  194. package/modern/styles/CssVarsProvider.js +1 -1
  195. package/modern/styles/experimental_extendTheme.js +114 -18
  196. package/node/AppBar/AppBar.js +22 -5
  197. package/node/Avatar/Avatar.js +7 -4
  198. package/node/Badge/Badge.js +2 -2
  199. package/node/BottomNavigation/BottomNavigation.js +0 -0
  200. package/node/Chip/Chip.js +31 -30
  201. package/node/Dialog/Dialog.js +11 -6
  202. package/node/FilledInput/FilledInput.js +28 -13
  203. package/node/InputBase/InputBase.js +2 -2
  204. package/node/LinearProgress/LinearProgress.js +6 -2
  205. package/node/Modal/Modal.js +25 -8
  206. package/node/OutlinedInput/OutlinedInput.js +25 -10
  207. package/node/Skeleton/Skeleton.js +7 -2
  208. package/node/Slider/Slider.js +12 -12
  209. package/node/SnackbarContent/SnackbarContent.js +3 -3
  210. package/node/SpeedDialAction/SpeedDialAction.js +7 -7
  211. package/node/StepConnector/StepConnector.js +14 -11
  212. package/node/StepContent/StepContent.js +1 -1
  213. package/node/Switch/Switch.js +11 -11
  214. package/node/TableCell/TableCell.js +5 -5
  215. package/node/Tabs/Tabs.js +6 -16
  216. package/node/Tooltip/Tooltip.js +1 -1
  217. package/node/index.js +1 -1
  218. package/node/styles/CssVarsProvider.js +1 -1
  219. package/node/styles/experimental_extendTheme.js +112 -17
  220. package/package.json +4 -4
  221. package/styles/CssVarsProvider.js +1 -1
  222. package/styles/createPalette.d.ts +65 -2
  223. package/styles/experimental_extendTheme.js +114 -18
  224. package/transitions/index.d.ts +1 -1
  225. package/transitions/transition.d.ts +13 -13
  226. package/transitions/utils.d.ts +23 -23
  227. package/umd/material-ui.development.js +548 -240
  228. package/umd/material-ui.production.min.js +27 -22
  229. package/useMediaQuery/useMediaQuery.d.ts +31 -31
  230. package/useTouchRipple/index.d.ts +1 -1
  231. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  232. package/utils/getScrollbarSize.d.ts +2 -2
  233. package/utils/ownerDocument.d.ts +2 -2
  234. package/utils/ownerWindow.d.ts +2 -2
  235. package/utils/setRef.d.ts +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,70 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.8.5
4
+
5
+ <!-- generated comparing v5.8.4..master -->
6
+
7
+ _Jun 20, 2022_
8
+
9
+ A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - 🚀 Added support for CSS variables in the `Avatar` component and the `SpeedDialAction` component respectively by @vicasas and @gin1314
12
+ - many other 🐛 bug fixes and 📚 documentation improvements
13
+
14
+ ### `@mui/material@5.8.5`
15
+
16
+ - &#8203;<!-- 30 -->[Avatar] Add support for CSS variables (#32499) @vicasas
17
+ - &#8203;<!-- 19 -->[Dialog] Fix broken styles if `maxWidth` is set to `false` (#32987) @kmurgic
18
+ - &#8203;<!-- 04 -->[SpeedDialAction] Add support for CSS variables (#32608) @gin1314
19
+ - &#8203;<!-- 02 -->[Tabs] Increment scroll of the minimum amount possible (#33103) @oliviertassinari
20
+
21
+ ### `@mui/codemod@5.8.5`
22
+
23
+ - &#8203;<!-- 24 -->[codemod] Preserve comments within jss-to-tss-react (#33170) @ryancogswell
24
+
25
+ ### `@mui/lab@5.0.0-alpha.87`
26
+
27
+ - &#8203;<!-- 06 -->[Masonry] Fix flickering when used with React 18 (#33163) @mnajdova
28
+
29
+ ### `@mui/base@5.0.0-alpha.86`
30
+
31
+ - &#8203;<!-- 29 -->[BadgeUnstyled] Accept callbacks in componentsProps (#33176) @michaldudak
32
+ - &#8203;<!-- 25 -->[ButtonUnstyled] Use useSlotProps (#33096) @michaldudak
33
+ - &#8203;<!-- 11 -->[FormControlUnstyled] Accept callbacks in componentsProps (#33180) @michaldudak
34
+ - &#8203;<!-- 10 -->[InputUnstyled] Use useSlotProps (#33094) @michaldudak
35
+ - &#8203;<!-- 05 -->[ModalUnstyled] Define ownerState and slot props' types (#32901) @michaldudak
36
+ - &#8203;<!-- 03 -->[SwitchUnstyled] Use useSlotProps (#33174) @michaldudak
37
+
38
+ ### `@mui/joy@5.0.0-alpha.33`
39
+
40
+ - &#8203;<!-- 09 -->[Joy] Add Checkbox documentation (#33171) @siriwatknp
41
+ - &#8203;<!-- 08 -->[Joy] Add List documentation (#33120) @siriwatknp
42
+ - &#8203;<!-- 07 -->[Joy] Make slider displays Joy classname (#33051) @siriwatknp
43
+
44
+ ### Docs
45
+
46
+ - &#8203;<!-- 28 -->[blog] Update Blogpost to clear confusion on "no impact" disclaimer. (#33131) @joserodolfofreitas
47
+ - &#8203;<!-- 27 -->[blog] Add post about v5 Migration guide update (#33063) @samuelsycamore
48
+ - &#8203;<!-- 26 -->[blog] Fix display on Safari (#33102) @oliviertassinari
49
+ - &#8203;<!-- 18 -->[docs] Add guide on how to use MUI Base with Tailwind CSS (#33100) @mnajdova
50
+ - &#8203;<!-- 17 -->[docs] Improve Joy template UX (#33159) @siriwatknp
51
+ - &#8203;<!-- 16 -->[docs] Update Shadow DOM guide (#33160) @cherniavskii
52
+ - &#8203;<!-- 15 -->[docs] Fix SEO regressions (#33106) @oliviertassinari
53
+ - &#8203;<!-- 14 -->[docs] Add job ad in table of content (#33143) @mnajdova
54
+ - &#8203;<!-- 13 -->[docs] Add customization as a value proposition (#33014) @oliviertassinari
55
+ - &#8203;<!-- 12 -->[examples] Add example using nextjs & @mui/styles as a starter for the migration to v5 (#33005) @mnajdova
56
+ - &#8203;<!-- 01 -->[website] Replace Airtable with Ashby links for applying to a opened position (#33193) @DanailH
57
+
58
+ ### Core
59
+
60
+ - &#8203;<!-- 31 -->[core] Add CSS variables support for Material UI components (#32835) @siriwatknp
61
+ - &#8203;<!-- 23 -->[core] Add name to workspace root package.json (#33226) @Janpot
62
+ - &#8203;<!-- 22 -->[core] Update bug template with generic instruction (#33153) @joserodolfofreitas
63
+ - &#8203;<!-- 21 -->[core] Remove dead and redundant code (#33125) @oliviertassinari
64
+ - &#8203;<!-- 20 -->[core] Improve inline code rendering within the details tag (#33086) @Harmouch101
65
+
66
+ All contributors of this release in alphabetical order: @cherniavskii, @DanailH, @gin1314, @Harmouch101, @Janpot, @joserodolfofreitas, @kmurgic, @michaldudak, @mnajdova, @oliviertassinari, @ryancogswell, @samuelsycamore, @siriwatknp, @vicasas
67
+
3
68
  ## 5.8.4
4
69
 
5
70
  <!-- generated comparing v5.8.3..master -->
@@ -1101,7 +1166,7 @@ A big thanks to the 17 contributors who made this release possible. Here are som
1101
1166
  - &#8203;<!-- 25 -->[core] Update playwright docker to match the specified version (#31236) @siriwatknp
1102
1167
  - &#8203;<!-- 24 -->[core] Remove parallel on buildTypes (#31189) @siriwatknp
1103
1168
  - &#8203;<!-- 23 -->[core] Fix propTypes generation for optional any props (#31141) @m4theushw
1104
- - &#8203;<!-- 04 -->[Typescript] Remove variants deprecation (#31239) @siriwatknp
1169
+ - &#8203;<!-- 04 -->[typescript] Remove variants deprecation (#31239) @siriwatknp
1105
1170
 
1106
1171
  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
1107
1172
 
@@ -1166,7 +1231,7 @@ A big thanks to the 16 contributors who made this release possible. Here are som
1166
1231
  - [Select] Allow customizing Select based on its variant (#30788) @michaldudak
1167
1232
  - [Portal] Re-export 'Portal' in material (#31003) @liradb2000
1168
1233
  - [ToggleButton] Add prop types for `onClick` and `onChange` (#30883) @sydneyjodon-wk
1169
- - [Typescript] Added TypeText declaration to the exports file (#30890) @agauravdev
1234
+ - [typescript] Added TypeText declaration to the exports file (#30890) @agauravdev
1170
1235
 
1171
1236
  ### `@mui/system@5.4.2`
1172
1237
 
@@ -4604,8 +4669,8 @@ A big thanks to the 15 contributors who made this release possible. Here are som
4604
4669
  - &#8203;<!-- 29 -->[Button] Rename `pending` prop to `loading` in LoadingButton (#25874) @m4theushw
4605
4670
 
4606
4671
  ```diff
4607
- -<LoadingButton pending pendingIndicator="Pending..." pendingPosition="end" />
4608
- +<LoadingButton loading loadingIndicator="Pending..." loadingPosition="end" />
4672
+ -<LoadingButton pending pendingIndicator="Pending" pendingPosition="end" />
4673
+ +<LoadingButton loading loadingIndicator="Pending" loadingPosition="end" />
4609
4674
  ```
4610
4675
 
4611
4676
  - &#8203;<!-- 25 -->[ButtonBase] Remove buttonRef prop (#25896) @m4theushw
@@ -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;
@@ -1,8 +1,8 @@
1
- export interface CardContentClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- }
5
- export declare type CardContentClassKey = keyof CardContentClasses;
6
- export declare function getCardContentUtilityClass(slot: string): string;
7
- declare const cardContentClasses: CardContentClasses;
8
- export default cardContentClasses;
1
+ export interface CardContentClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ }
5
+ export declare type CardContentClassKey = keyof CardContentClasses;
6
+ export declare function getCardContentUtilityClass(slot: string): string;
7
+ declare const cardContentClasses: CardContentClasses;
8
+ export default cardContentClasses;
@@ -1,18 +1,18 @@
1
- export interface CardHeaderClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the avatar element. */
5
- avatar: string;
6
- /** Styles applied to the action element. */
7
- action: string;
8
- /** Styles applied to the content wrapper element. */
9
- content: string;
10
- /** Styles applied to the title Typography element. */
11
- title: string;
12
- /** Styles applied to the subheader Typography element. */
13
- subheader: string;
14
- }
15
- export declare type CardHeaderClassKey = keyof CardHeaderClasses;
16
- export declare function getCardHeaderUtilityClass(slot: string): string;
17
- declare const cardHeaderClasses: CardHeaderClasses;
18
- export default cardHeaderClasses;
1
+ export interface CardHeaderClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the avatar element. */
5
+ avatar: string;
6
+ /** Styles applied to the action element. */
7
+ action: string;
8
+ /** Styles applied to the content wrapper element. */
9
+ content: string;
10
+ /** Styles applied to the title Typography element. */
11
+ title: string;
12
+ /** Styles applied to the subheader Typography element. */
13
+ subheader: string;
14
+ }
15
+ export declare type CardHeaderClassKey = keyof CardHeaderClasses;
16
+ export declare function getCardHeaderUtilityClass(slot: string): string;
17
+ declare const cardHeaderClasses: CardHeaderClasses;
18
+ export default cardHeaderClasses;
@@ -1,12 +1,12 @@
1
- export interface CardMediaClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `component="video, audio, picture, iframe, or img"`. */
5
- media: string;
6
- /** Styles applied to the root element if `component="picture or img"`. */
7
- img: string;
8
- }
9
- export declare type CardMediaClassKey = keyof CardMediaClasses;
10
- export declare function getCardMediaUtilityClass(slot: string): string;
11
- declare const cardMediaClasses: CardMediaClasses;
12
- export default cardMediaClasses;
1
+ export interface CardMediaClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `component="video, audio, picture, iframe, or img"`. */
5
+ media: string;
6
+ /** Styles applied to the root element if `component="picture or img"`. */
7
+ img: string;
8
+ }
9
+ export declare type CardMediaClassKey = keyof CardMediaClasses;
10
+ export declare function getCardMediaUtilityClass(slot: string): string;
11
+ declare const cardMediaClasses: CardMediaClasses;
12
+ export default cardMediaClasses;
@@ -1,18 +1,18 @@
1
- export interface CheckboxClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** State class applied to the root element if `checked={true}`. */
5
- checked: string;
6
- /** State class applied to the root element if `disabled={true}`. */
7
- disabled: string;
8
- /** State class applied to the root element if `indeterminate={true}`. */
9
- indeterminate: string;
10
- /** Styles applied to the root element if `color="primary"`. */
11
- colorPrimary: string;
12
- /** Styles applied to the root element if `color="secondary"`. */
13
- colorSecondary: string;
14
- }
15
- export declare type CheckboxClassKey = keyof CheckboxClasses;
16
- export declare function getCheckboxUtilityClass(slot: string): string;
17
- declare const checkboxClasses: CheckboxClasses;
18
- export default checkboxClasses;
1
+ export interface CheckboxClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** State class applied to the root element if `checked={true}`. */
5
+ checked: string;
6
+ /** State class applied to the root element if `disabled={true}`. */
7
+ disabled: string;
8
+ /** State class applied to the root element if `indeterminate={true}`. */
9
+ indeterminate: string;
10
+ /** Styles applied to the root element if `color="primary"`. */
11
+ colorPrimary: string;
12
+ /** Styles applied to the root element if `color="secondary"`. */
13
+ colorSecondary: string;
14
+ }
15
+ export declare type CheckboxClassKey = keyof CheckboxClasses;
16
+ export declare function getCheckboxUtilityClass(slot: string): string;
17
+ declare const checkboxClasses: CheckboxClasses;
18
+ export default checkboxClasses;
package/Chip/Chip.js CHANGED
@@ -78,6 +78,7 @@ const ChipRoot = styled('div', {
78
78
  ownerState
79
79
  }) => {
80
80
  const deleteIconColor = alpha(theme.palette.text.primary, 0.26);
81
+ const textColor = theme.palette.mode === 'light' ? theme.palette.grey[700] : theme.palette.grey[300];
81
82
  return _extends({
82
83
  maxWidth: '100%',
83
84
  fontFamily: theme.typography.fontFamily,
@@ -86,8 +87,8 @@ const ChipRoot = styled('div', {
86
87
  alignItems: 'center',
87
88
  justifyContent: 'center',
88
89
  height: 32,
89
- color: theme.palette.text.primary,
90
- backgroundColor: theme.palette.action.selected,
90
+ color: (theme.vars || theme).palette.text.primary,
91
+ backgroundColor: (theme.vars || theme).palette.action.selected,
91
92
  borderRadius: 32 / 2,
92
93
  whiteSpace: 'nowrap',
93
94
  transition: theme.transitions.create(['background-color', 'box-shadow']),
@@ -103,7 +104,7 @@ const ChipRoot = styled('div', {
103
104
  verticalAlign: 'middle',
104
105
  boxSizing: 'border-box',
105
106
  [`&.${chipClasses.disabled}`]: {
106
- opacity: theme.palette.action.disabledOpacity,
107
+ opacity: (theme.vars || theme).palette.action.disabledOpacity,
107
108
  pointerEvents: 'none'
108
109
  },
109
110
  [`& .${chipClasses.avatar}`]: {
@@ -111,16 +112,16 @@ const ChipRoot = styled('div', {
111
112
  marginRight: -6,
112
113
  width: 24,
113
114
  height: 24,
114
- color: theme.palette.mode === 'light' ? theme.palette.grey[700] : theme.palette.grey[300],
115
+ color: theme.vars ? theme.vars.palette.Chip.defaultAvatarColor : textColor,
115
116
  fontSize: theme.typography.pxToRem(12)
116
117
  },
117
118
  [`& .${chipClasses.avatarColorPrimary}`]: {
118
- color: theme.palette.primary.contrastText,
119
- backgroundColor: theme.palette.primary.dark
119
+ color: (theme.vars || theme).palette.primary.contrastText,
120
+ backgroundColor: (theme.vars || theme).palette.primary.dark
120
121
  },
121
122
  [`& .${chipClasses.avatarColorSecondary}`]: {
122
- color: theme.palette.secondary.contrastText,
123
- backgroundColor: theme.palette.secondary.dark
123
+ color: (theme.vars || theme).palette.secondary.contrastText,
124
+ backgroundColor: (theme.vars || theme).palette.secondary.dark
124
125
  },
125
126
  [`& .${chipClasses.avatarSmall}`]: {
126
127
  marginLeft: 4,
@@ -130,7 +131,7 @@ const ChipRoot = styled('div', {
130
131
  fontSize: theme.typography.pxToRem(10)
131
132
  },
132
133
  [`& .${chipClasses.icon}`]: _extends({
133
- color: theme.palette.mode === 'light' ? theme.palette.grey[700] : theme.palette.grey[300],
134
+ color: theme.vars ? theme.vars.palette.Chip.defaultIconColor : textColor,
134
135
  marginLeft: 5,
135
136
  marginRight: -6
136
137
  }, ownerState.size === 'small' && {
@@ -142,35 +143,35 @@ const ChipRoot = styled('div', {
142
143
  }),
143
144
  [`& .${chipClasses.deleteIcon}`]: _extends({
144
145
  WebkitTapHighlightColor: 'transparent',
145
- color: deleteIconColor,
146
+ color: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / 0.26)` : deleteIconColor,
146
147
  fontSize: 22,
147
148
  cursor: 'pointer',
148
149
  margin: '0 5px 0 -6px',
149
150
  '&:hover': {
150
- color: alpha(deleteIconColor, 0.4)
151
+ color: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / 0.4)` : alpha(deleteIconColor, 0.4)
151
152
  }
152
153
  }, ownerState.size === 'small' && {
153
154
  fontSize: 16,
154
155
  marginRight: 4,
155
156
  marginLeft: -4
156
157
  }, ownerState.color !== 'default' && {
157
- color: alpha(theme.palette[ownerState.color].contrastText, 0.7),
158
+ color: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].contrastTextChannel} / 0.7)` : alpha(theme.palette[ownerState.color].contrastText, 0.7),
158
159
  '&:hover, &:active': {
159
- color: theme.palette[ownerState.color].contrastText
160
+ color: (theme.vars || theme).palette[ownerState.color].contrastText
160
161
  }
161
162
  })
162
163
  }, ownerState.size === 'small' && {
163
164
  height: 24
164
165
  }, ownerState.color !== 'default' && {
165
- backgroundColor: theme.palette[ownerState.color].main,
166
- color: theme.palette[ownerState.color].contrastText
166
+ backgroundColor: (theme.vars || theme).palette[ownerState.color].main,
167
+ color: (theme.vars || theme).palette[ownerState.color].contrastText
167
168
  }, ownerState.onDelete && {
168
169
  [`&.${chipClasses.focusVisible}`]: {
169
- backgroundColor: alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
170
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selectedChannel} / calc(${theme.vars.palette.action.selectedOpacity + theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
170
171
  }
171
172
  }, ownerState.onDelete && ownerState.color !== 'default' && {
172
173
  [`&.${chipClasses.focusVisible}`]: {
173
- backgroundColor: theme.palette[ownerState.color].dark
174
+ backgroundColor: (theme.vars || theme).palette[ownerState.color].dark
174
175
  }
175
176
  });
176
177
  }, ({
@@ -181,29 +182,29 @@ const ChipRoot = styled('div', {
181
182
  WebkitTapHighlightColor: 'transparent',
182
183
  cursor: 'pointer',
183
184
  '&:hover': {
184
- backgroundColor: alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity)
185
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selectedChannel} / calc(${theme.vars.palette.action.selectedOpacity + theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity)
185
186
  },
186
187
  [`&.${chipClasses.focusVisible}`]: {
187
- backgroundColor: alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
188
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selectedChannel} / calc(${theme.vars.palette.action.selectedOpacity + theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
188
189
  },
189
190
  '&:active': {
190
- boxShadow: theme.shadows[1]
191
+ boxShadow: (theme.vars || theme).shadows[1]
191
192
  }
192
193
  }, ownerState.clickable && ownerState.color !== 'default' && {
193
194
  [`&:hover, &.${chipClasses.focusVisible}`]: {
194
- backgroundColor: theme.palette[ownerState.color].dark
195
+ backgroundColor: (theme.vars || theme).palette[ownerState.color].dark
195
196
  }
196
197
  }), ({
197
198
  theme,
198
199
  ownerState
199
200
  }) => _extends({}, ownerState.variant === 'outlined' && {
200
201
  backgroundColor: 'transparent',
201
- border: `1px solid ${theme.palette.mode === 'light' ? theme.palette.grey[400] : theme.palette.grey[700]}`,
202
+ border: theme.vars ? `1px solid ${theme.vars.palette.Chip.defaultBorder}` : `1px solid ${theme.palette.mode === 'light' ? theme.palette.grey[400] : theme.palette.grey[700]}`,
202
203
  [`&.${chipClasses.clickable}:hover`]: {
203
- backgroundColor: theme.palette.action.hover
204
+ backgroundColor: (theme.vars || theme).palette.action.hover
204
205
  },
205
206
  [`&.${chipClasses.focusVisible}`]: {
206
- backgroundColor: theme.palette.action.focus
207
+ backgroundColor: (theme.vars || theme).palette.action.focus
207
208
  },
208
209
  [`& .${chipClasses.avatar}`]: {
209
210
  marginLeft: 4
@@ -224,18 +225,18 @@ const ChipRoot = styled('div', {
224
225
  marginRight: 3
225
226
  }
226
227
  }, ownerState.variant === 'outlined' && ownerState.color !== 'default' && {
227
- color: theme.palette[ownerState.color].main,
228
- border: `1px solid ${alpha(theme.palette[ownerState.color].main, 0.7)}`,
228
+ color: (theme.vars || theme).palette[ownerState.color].main,
229
+ border: `1px solid ${theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / 0.7)` : alpha(theme.palette[ownerState.color].main, 0.7)}`,
229
230
  [`&.${chipClasses.clickable}:hover`]: {
230
- backgroundColor: alpha(theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity)
231
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity)
231
232
  },
232
233
  [`&.${chipClasses.focusVisible}`]: {
233
- backgroundColor: alpha(theme.palette[ownerState.color].main, theme.palette.action.focusOpacity)
234
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / ${theme.vars.palette.action.focusOpacity})` : alpha(theme.palette[ownerState.color].main, theme.palette.action.focusOpacity)
234
235
  },
235
236
  [`& .${chipClasses.deleteIcon}`]: {
236
- color: alpha(theme.palette[ownerState.color].main, 0.7),
237
+ color: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / 0.7)` : alpha(theme.palette[ownerState.color].main, 0.7),
237
238
  '&:hover, &:active': {
238
- color: theme.palette[ownerState.color].main
239
+ color: (theme.vars || theme).palette[ownerState.color].main
239
240
  }
240
241
  }
241
242
  }));
@@ -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;