@mui/material 5.9.2 → 5.10.1

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 (222) 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/Backdrop/backdropClasses.d.ts +10 -10
  12. package/Badge/Badge.js +1 -1
  13. package/Badge/badgeClasses.d.ts +56 -56
  14. package/BottomNavigation/BottomNavigation.js +0 -0
  15. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  16. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  17. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  18. package/Button/Button.js +8 -3
  19. package/Button/buttonClasses.d.ts +100 -100
  20. package/ButtonBase/TouchRipple.js +1 -1
  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 +196 -5
  26. package/Card/cardClasses.d.ts +8 -8
  27. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  28. package/CardActions/cardActionsClasses.d.ts +10 -10
  29. package/CardContent/cardContentClasses.d.ts +8 -8
  30. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  31. package/CardMedia/cardMediaClasses.d.ts +12 -12
  32. package/Checkbox/checkboxClasses.d.ts +18 -18
  33. package/Chip/Chip.js +5 -7
  34. package/Chip/chipClasses.d.ts +88 -80
  35. package/Chip/chipClasses.js +1 -1
  36. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  37. package/ClickAwayListener/index.d.ts +2 -2
  38. package/Collapse/collapseClasses.d.ts +18 -18
  39. package/Container/containerClasses.d.ts +6 -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/filledInputClasses.d.ts +40 -40
  50. package/FormControl/formControlClasses.d.ts +14 -14
  51. package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
  52. package/FormGroup/formGroupClasses.d.ts +12 -12
  53. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  54. package/FormLabel/formLabelClasses.d.ts +22 -22
  55. package/Grid/Grid.d.ts +1 -1
  56. package/Grid/Grid.js +71 -4
  57. package/Grid/gridClasses.d.ts +48 -48
  58. package/Icon/iconClasses.d.ts +24 -24
  59. package/IconButton/iconButtonClasses.d.ts +26 -26
  60. package/ImageList/imageListClasses.d.ts +16 -16
  61. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  62. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  63. package/Input/inputClasses.d.ts +34 -34
  64. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  65. package/InputBase/InputBase.js +3 -2
  66. package/InputBase/inputBaseClasses.d.ts +46 -44
  67. package/InputBase/inputBaseClasses.js +1 -1
  68. package/InputLabel/inputLabelClasses.d.ts +32 -32
  69. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  70. package/Link/getTextDecoration.d.ts +15 -15
  71. package/Link/linkClasses.d.ts +18 -18
  72. package/List/listClasses.d.ts +14 -14
  73. package/ListItem/listItemClasses.d.ts +30 -30
  74. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  75. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  76. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  77. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  78. package/ListItemText/listItemTextClasses.d.ts +18 -18
  79. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  80. package/Menu/menuClasses.d.ts +12 -12
  81. package/MenuItem/menuItemClasses.d.ts +20 -20
  82. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  83. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  84. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  85. package/Pagination/paginationClasses.d.ts +14 -14
  86. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  87. package/Paper/paperClasses.d.ts +39 -39
  88. package/Popover/popoverClasses.d.ts +10 -10
  89. package/Popper/Popper.d.ts +24 -24
  90. package/README.md +8 -8
  91. package/Radio/radioClasses.d.ts +16 -16
  92. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  93. package/RadioGroup/useRadioGroup.d.ts +4 -4
  94. package/Rating/ratingClasses.d.ts +40 -40
  95. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  96. package/Select/SelectInput.js +1 -1
  97. package/Select/selectClasses.d.ts +30 -30
  98. package/Skeleton/Skeleton.d.ts +1 -1
  99. package/Skeleton/Skeleton.js +3 -1
  100. package/Skeleton/skeletonClasses.d.ts +26 -24
  101. package/Skeleton/skeletonClasses.js +1 -1
  102. package/Snackbar/snackbarClasses.d.ts +20 -20
  103. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  104. package/SpeedDial/speedDialClasses.d.ts +22 -22
  105. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  106. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  107. package/Stack/Stack.js +2 -1
  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/stepConnectorClasses.d.ts +26 -26
  112. package/StepContent/stepContentClasses.d.ts +12 -12
  113. package/StepIcon/stepIconClasses.d.ts +16 -16
  114. package/StepLabel/StepLabel.js +1 -1
  115. package/StepLabel/stepLabelClasses.d.ts +28 -28
  116. package/Stepper/StepperContext.d.ts +18 -18
  117. package/Stepper/stepperClasses.d.ts +14 -14
  118. package/SvgIcon/svgIconClasses.d.ts +24 -24
  119. package/Switch/switchClasses.d.ts +32 -32
  120. package/Tab/tabClasses.d.ts +26 -26
  121. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  122. package/Table/tableClasses.d.ts +10 -10
  123. package/TableBody/tableBodyClasses.d.ts +8 -8
  124. package/TableCell/TableCell.d.ts +6 -2
  125. package/TableCell/TableCell.js +6 -2
  126. package/TableCell/tableCellClasses.d.ts +32 -32
  127. package/TableContainer/tableContainerClasses.d.ts +8 -8
  128. package/TableFooter/tableFooterClasses.d.ts +8 -8
  129. package/TableHead/tableHeadClasses.d.ts +8 -8
  130. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  131. package/TableRow/tableRowClasses.d.ts +16 -16
  132. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  133. package/Tabs/tabsClasses.d.ts +32 -32
  134. package/TextField/textFieldClasses.d.ts +8 -8
  135. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  136. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  137. package/Toolbar/toolbarClasses.d.ts +14 -14
  138. package/Tooltip/Tooltip.js +1 -1
  139. package/Tooltip/tooltipClasses.d.ts +30 -30
  140. package/Typography/typographyClasses.d.ts +50 -50
  141. package/Unstable_Grid2/Grid2.d.ts +4 -4
  142. package/Unstable_Grid2/Grid2Props.d.ts +15 -15
  143. package/Unstable_Grid2/grid2Classes.d.ts +5 -5
  144. package/Unstable_Grid2/index.d.ts +4 -4
  145. package/className/index.d.ts +1 -1
  146. package/darkScrollbar/index.d.ts +28 -28
  147. package/index.js +1 -1
  148. package/internal/switchBaseClasses.d.ts +12 -12
  149. package/legacy/Badge/Badge.js +1 -1
  150. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  151. package/legacy/Button/Button.js +4 -2
  152. package/legacy/ButtonBase/TouchRipple.js +1 -1
  153. package/legacy/Chip/Chip.js +4 -6
  154. package/legacy/Chip/chipClasses.js +1 -1
  155. package/legacy/Grid/Grid.js +76 -12
  156. package/legacy/InputBase/InputBase.js +3 -2
  157. package/legacy/InputBase/inputBaseClasses.js +1 -1
  158. package/legacy/Select/SelectInput.js +1 -1
  159. package/legacy/Skeleton/Skeleton.js +3 -1
  160. package/legacy/Skeleton/skeletonClasses.js +1 -1
  161. package/legacy/Stack/Stack.js +2 -1
  162. package/legacy/StepLabel/StepLabel.js +1 -1
  163. package/legacy/TableCell/TableCell.js +6 -2
  164. package/legacy/Tooltip/Tooltip.js +1 -1
  165. package/legacy/index.js +1 -1
  166. package/legacy/styles/createTheme.js +5 -0
  167. package/legacy/useScrollTrigger/useScrollTrigger.js +6 -2
  168. package/locale/index.d.ts +71 -71
  169. package/modern/Badge/Badge.js +1 -1
  170. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  171. package/modern/Button/Button.js +8 -3
  172. package/modern/ButtonBase/TouchRipple.js +1 -1
  173. package/modern/Chip/Chip.js +5 -7
  174. package/modern/Chip/chipClasses.js +1 -1
  175. package/modern/Grid/Grid.js +67 -4
  176. package/modern/InputBase/InputBase.js +3 -2
  177. package/modern/InputBase/inputBaseClasses.js +1 -1
  178. package/modern/Select/SelectInput.js +1 -1
  179. package/modern/Skeleton/Skeleton.js +3 -1
  180. package/modern/Skeleton/skeletonClasses.js +1 -1
  181. package/modern/Stack/Stack.js +2 -1
  182. package/modern/StepLabel/StepLabel.js +1 -1
  183. package/modern/TableCell/TableCell.js +6 -2
  184. package/modern/Tooltip/Tooltip.js +1 -1
  185. package/modern/index.js +1 -1
  186. package/modern/styles/createTheme.js +6 -0
  187. package/modern/useScrollTrigger/useScrollTrigger.js +6 -2
  188. package/node/Badge/Badge.js +1 -1
  189. package/node/BottomNavigation/BottomNavigation.js +0 -0
  190. package/node/Button/Button.js +10 -3
  191. package/node/ButtonBase/TouchRipple.js +1 -1
  192. package/node/Chip/Chip.js +5 -7
  193. package/node/Chip/chipClasses.js +1 -1
  194. package/node/Grid/Grid.js +71 -4
  195. package/node/InputBase/InputBase.js +3 -2
  196. package/node/InputBase/inputBaseClasses.js +1 -1
  197. package/node/Select/SelectInput.js +1 -1
  198. package/node/Skeleton/Skeleton.js +3 -1
  199. package/node/Skeleton/skeletonClasses.js +1 -1
  200. package/node/Stack/Stack.js +1 -0
  201. package/node/StepLabel/StepLabel.js +1 -1
  202. package/node/TableCell/TableCell.js +6 -2
  203. package/node/Tooltip/Tooltip.js +1 -1
  204. package/node/index.js +1 -1
  205. package/node/styles/createTheme.js +6 -0
  206. package/node/useScrollTrigger/useScrollTrigger.js +6 -2
  207. package/package.json +6 -5
  208. package/styles/CssVarsProvider.d.ts +14 -14
  209. package/styles/createTheme.js +6 -0
  210. package/transitions/index.d.ts +1 -1
  211. package/transitions/transition.d.ts +13 -13
  212. package/transitions/utils.d.ts +23 -23
  213. package/umd/material-ui.development.js +245 -104
  214. package/umd/material-ui.production.min.js +20 -20
  215. package/useMediaQuery/useMediaQuery.d.ts +31 -31
  216. package/useScrollTrigger/useScrollTrigger.js +6 -2
  217. package/useTouchRipple/index.d.ts +1 -1
  218. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  219. package/utils/getScrollbarSize.d.ts +2 -2
  220. package/utils/ownerDocument.d.ts +2 -2
  221. package/utils/ownerWindow.d.ts +2 -2
  222. package/utils/setRef.d.ts +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,196 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.10.1
4
+
5
+ <!-- generated comparing v5.10.0..master -->
6
+
7
+ _Aug 15, 2022_
8
+
9
+ A big thanks to the 18 contributors who made this release possible. This release was mostly around 🐛 bug fixes and 📚 documentation improvements.
10
+
11
+ ### `@mui/material@5.10.1`
12
+
13
+ - &#8203;<!-- 04 -->[TableCell] Enable variant overrides via TypeScript module augmentation (#33856) @arjunvijayanathakurup
14
+
15
+ ### `@mui/system@5.10.1`
16
+
17
+ - &#8203;<!-- 05 -->[system] Fix `ContainerProps` export (#33923) @bugzpodder
18
+
19
+ ### `@mui/base@5.0.0-alpha.93`
20
+
21
+ - &#8203;<!-- 31 -->[TrapFocus] Removes invisible tabbable elements from (#33543) @EthanStandel
22
+ - &#8203;<!-- 30 -->[Input][base] Pass the rows prop to the underlying textarea (#33873) @michaldudak
23
+ - &#8203;<!-- 06 -->[SelectUnstyled] Add ability to post the select's value when submitting a form (#33697) @michaldudak
24
+
25
+ ### `@mui/joy@5.0.0-alpha.41`
26
+
27
+ - &#8203;<!-- 07 -->[IconButton][joy] Fix large IconButton scaling (#33885) @cherewaty
28
+
29
+ ### Docs
30
+
31
+ - &#8203;<!-- 23 -->[docs] Expand on a11y section for Material UI `Link` component (#32839) @TKrishnasamy
32
+ - &#8203;<!-- 22 -->[docs] Fix typo in Joy UI's `AspectRatio` docs (#33895) @IsaacInsoll
33
+ - &#8203;<!-- 21 -->[docs] Improve the Base Usage page (#33272) @samuelsycamore
34
+ - &#8203;<!-- 20 -->[docs] Avoid refreshing the page when button on demo is clicked (#33852) @PunitSoniME
35
+ - &#8203;<!-- 19 -->[docs] Improve the HorizontalNonLinearStepper demo styling (#33886) @hayawata3626
36
+ - &#8203;<!-- 18 -->[docs] Remove dead NoSsr in the demos (#33910) @oliviertassinari
37
+ - &#8203;<!-- 17 -->[docs] Fix the reopening menu problem in MenuUnstyled demo (#33890) @michaldudak
38
+ - &#8203;<!-- 24 -->[docs] Fix a few link issues (#33909) @oliviertassinari
39
+ - &#8203;<!-- 16 -->[docs] Explain the icons package dependencies (#33592) @michaldudak
40
+ - &#8203;<!-- 15 -->[docs] Fix reported SEO issues (#33818) @oliviertassinari
41
+ - &#8203;<!-- 14 -->[docs] Add permanent notifications back (#33843) @oliviertassinari
42
+ - &#8203;<!-- 13 -->[docs] Enforce description for all pages (#33698) @oliviertassinari
43
+ - &#8203;<!-- 12 -->[docs] Clarify difference in startup times between named and default imports (#33109) @cmdcolin
44
+ - &#8203;<!-- 11 -->[docs] Update transform function in the sx prop sizing docs (#33850) @ZeeshanTamboli
45
+ - &#8203;<!-- 10 -->[docs] Adding missing accessibility labels (#33782) @PunitSoniME
46
+ - &#8203;<!-- 09 -->[docs] Fix `/system/getting-started/advanced/` does not exist (#33867) @MonstraG
47
+ - &#8203;<!-- 32 -->[docs] New Crowdin updates (#32213) @l10nbot
48
+ - &#8203;<!-- 08 -->[examples] Fix broken path to favicon.ico (#33906) @mmostafavi
49
+ - &#8203;<!-- 02 -->[website] Add new FAQ to pricing page (#33553) @oliviertassinari
50
+ - &#8203;<!-- 03 -->[website] Miscellaneous improvements to the marketing pages (#33897) @danilo-leal
51
+
52
+ ### Core
53
+
54
+ - &#8203;<!-- 29 -->[core] Add the download tracker package (#33899) @michaldudak
55
+ - &#8203;<!-- 28 -->[core] Use proper external build id for Argos uploads (#33929) @cherniavskii
56
+ - &#8203;<!-- 27 -->[core] Enforce 70 as the max width on the title on the docs (#33819) @oliviertassinari
57
+ - &#8203;<!-- 26 -->[core] Clear yarn installation warning (#33776) @michaldudak
58
+ - &#8203;<!-- 25 -->[core] Bump yarn to 1.22.19 (#33656) @michaldudak
59
+ - &#8203;<!-- 24 -->[core] Remove outdated Next.js options (#33845) @oliviertassinari
60
+ - &#8203;<!-- 34 -->[core] Add the download tracker build script (#33941) @michaldudak
61
+ - &#8203;<!-- 01 -->[website] Allow /r/store- redirection pattern @oliviertassinari
62
+
63
+ All contributors of this release in alphabetical order: @arjunvijayanathakurup, @bugzpodder, @cherewaty, @cherniavskii, @cmdcolin, @danilo-leal, @EthanStandel, @hayawata3626, @IsaacInsoll, @l10nbot, @michaldudak, @mmostafavi, @MonstraG, @oliviertassinari, @PunitSoniME, @samuelsycamore, @TKrishnasamy, @ZeeshanTamboli
64
+
65
+ ## 5.10.0
66
+
67
+ <!-- generated comparing v5.9.3..master -->
68
+
69
+ _Aug 8, 2022_
70
+
71
+ A big thanks to the 16 contributors who made this release possible. Here are some highlights ✨:
72
+
73
+ - ✨ [Stack](https://mui.com/system/react-stack/) component is added to MUI System and Joy UI #33760 #33800 @mnajdova
74
+ - ✨ [Breadcrumbs](https://mui.com/joy-ui/react-breadcrumbs/) component is added to Joy UI (#32697) @hbjORbj
75
+ - Many other 🐛 bug fixes, 📚 documentation, and ⚙️ infrastructure improvements
76
+
77
+ ### `@mui/material@5.10.0`
78
+
79
+ - [Grid] Prevent crash if spacing is set to zero in theme (#33777) @PunitSoniME
80
+ - [Grid] Export interface `RegularBreakpoints` to fix type error (#33751) @ZeeshanTamboli
81
+ - [Skeleton] Add `rounded` variant (#33687) @siriwatknp
82
+ - [Stepper] Fix classes for icon container (#33734) @pratikkarad
83
+ - [TableCell] Enable size prop overrides via module augmentation (#33816) @brentertz
84
+ - [Tooltip] Fix tooltip arrow css var background (#33753) @TimoWilhelm
85
+ - [useScrollTrigger] Add passive flag to scroll trigger event listener #32437 (#33749) @Dsalazar1685
86
+
87
+ ### `@mui/system@5.10.0`
88
+
89
+ - Fix unnecessary styles created from `sx` (#33752) @siriwatknp
90
+ - Fix duplicated styles in Box (#33774) @iamxukai
91
+ - Don't spread props to DOM for string tags (#33761) @siriwatknp
92
+ - Add `Stack` component (#33760) @mnajdova
93
+
94
+ ### `@mui/joy@5.0.0-alpha.40`
95
+
96
+ - [Stack] Add new component (#33800) @mnajdova
97
+ - [Breadcrumbs] Add `Breadcrumbs` component (#32697) @hbjORbj
98
+ - [Card] Fix wrong api description for `size` prop (#33862) @hbjORbj
99
+ - Miscellaneous fixes (#33796, #33750) @siriwatknp
100
+
101
+ ### Docs
102
+
103
+ - [docs] Create, revise, and expand System "Getting started" docs (#33503) @samuelsycamore
104
+ - [docs] Test new image best practice @oliviertassinari
105
+ - [docs] Fix typo in the ClickAwayListerner name (#33813) @pawelsmigielski
106
+ - [docs] Fix link to `Basics` section in `Trap Focus` docs (#33772) @ZeeshanTamboli
107
+ - [docs] z-index added in popper when used by split button (#33763) @PunitSoniME
108
+ - [docs] Improve the guide for using @mui/base with Tailwind CSS (#33670) @mnajdova
109
+ - [docs] Fix warnings related to Next.js' links (#33693) @mnajdova
110
+ - [docs] Add notification to aggregation blogpost (#33745) @joserodolfofreitas
111
+ - [docs] Add Grid version 2 docs (#33554) @siriwatknp
112
+ - [examples] Fix `NextLinkComposedProps` type error (#33842) @adham618
113
+
114
+ ### Core
115
+
116
+ - [blog] Add social card to Tenerife retreat post (#33764)
117
+ - [blog] Fix blue outline bug (#33707) @oliviertassinari
118
+ - [blog] Improve the width of the layout (#33706) @oliviertassinari@samuelsycamore
119
+ - [core] Remove unnecessary packageName attribute from pages (#33488) @cherniavskii
120
+ - [core] Remove duplicated CODE_OF_CONDUCT (#33702) @oliviertassinari
121
+ - [core] Update Playwright packages together (#33737) @michaldudak
122
+ - [website] Fix notifications not being marked as read in production (#33756) @cherniavskii
123
+
124
+ All contributors of this release in alphabetical order: @adham618, @brentertz, @cherniavskii, @Dsalazar1685, @hbjORbj, @iamxukai, @joserodolfofreitas, @michaldudak, @mnajdova, @oliviertassinari, @pawelsmigielski, @pratikkarad, @PunitSoniME, @siriwatknp, @TimoWilhelm, @ZeeshanTamboli
125
+
126
+ ## 5.9.3
127
+
128
+ <!-- generated comparing v5.9.2..master -->
129
+
130
+ _Aug 1, 2022_
131
+
132
+ A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
133
+
134
+ - 🖼️ @garronej worked on improving the support of Emotion packages in the System (#33205)
135
+ - Many other 🐛 bug fixes, 📚 documentation, and ⚙️ infrastructure improvements
136
+
137
+ ### `@mui/material@5.9.3`
138
+
139
+ - [Chip] Assign classnames and associated styles for `filled` variant (#33587) @hbjORbj
140
+ - [Grid] Fix `columnSpacing` and `rowSpacing` props ignore higher breakpoints with 0 (#33480) @ZeeshanTamboli
141
+ - [Input] Add the readOnly state class (#33654) @michaldudak
142
+ - [Stack] Responsive styles based on breakpoints should be in the correct order (#33552) @hbjORbj
143
+
144
+ ### `@mui/system@5.9.3`
145
+
146
+ - [system] Make @emotion/\* fully supported in the System (#33205) @garronej
147
+
148
+ ### `@mui/codemod@5.9.3`
149
+
150
+ - [codemod] Fix theme-spacing performance (#33691) @siriwatknp
151
+ - [codemod] Support @mui import for variant-prop (#33692) @siriwatknp
152
+
153
+ ### `@mui/styled-engine-sc@5.9.3`
154
+
155
+ - [styled-engine-sc] Add missing @babel/runtime dependency (#33741) @MonstraG
156
+
157
+ ### `@mui/joy@5.0.0-alpha.38`
158
+
159
+ - [Joy] Add Tabs components (#33664) @siriwatknp
160
+ - [Joy] Miscellaneous fixes (#33685) @siriwatknp
161
+ - [Joy] Update read.me content (#33643) @danilo-leal
162
+
163
+ ### Docs
164
+
165
+ - [blog] Add blog post about company retreat in Tenerife 🏝 (#33566) @samuelsycamore
166
+ - [blog] Add blog post to announce the aggregation feature (#33595) @joserodolfofreitas
167
+ - [blog] Fix horizontal scrollbar with code snippets (#33648) @joserodolfofreitas
168
+ - [docs] Fix a typo in the code in `Sorting & selecting` Table demo (#33674) @mracette
169
+ - [docs] Fix en-US format in the Skeleton demo (#33699) @husseinsaad98
170
+ - [docs] Update module reference for `usePagination` (#33675) @fullstackzach
171
+ - [docs] Fix code examples in `styled` API vs `sx` prop docs (#33665) @ZeeshanTamboli
172
+ - [docs][system] Throw an informative error when `theme.vars` is used in `createTheme` and mention this in the theming docs (#33619) @hbjORbj
173
+ - [website] Remove legacy redirect @oliviertassinari
174
+ - [website] Add new legal pages (#33650) @oliviertassinari
175
+ - [website] Clarify when a license in development is required (#33668) @oliviertassinari
176
+ - [website] Update links to rows pages (#33739) @cherniavskii
177
+ - [website] Update pricing table to add aggregation and row pinning (#33659) @joserodolfofreitas
178
+
179
+ ### Core
180
+
181
+ - [core] Replace `getInitialProps` with `getStaticProps` (#33684) @mnajdova
182
+ - [core] Remove accidentally added files (#33636) @michaldudak
183
+ - [core] Update packages with security issues (#33679) @michaldudak
184
+ - [core] Add React 17 nightly build (#33594) @mnajdova
185
+ - [core] Update lerna to 5.2.0 (#33635) @michaldudak
186
+ - [core] Prepare isolation of Next.js X app (#33649) @oliviertassinari
187
+ - [core] Remove thenify version override from package.json resolutions (#33638) @michaldudak
188
+ - [core] Update Node.js to 14 on CircleCI, CodeSandbox, and Netlify (#33642) @michaldudak
189
+ - [test] Replace istanbul-instrumenter-loader with babel-plugin-istanbul (#33666) @michaldudak
190
+ - [test] Run TypeScript module augmentation tests for Joy UI in CI (#33667) @ZeeshanTamboli
191
+
192
+ All contributors of this release in alphabetical order: @cherniavskii, @danilo-leal, @fullstackzach, @garronej, @hbjORbj, @husseinsaad98, @joserodolfofreitas, @michaldudak, @mnajdova, @MonstraG, @mracette, @oliviertassinari, @samuelsycamore, @siriwatknp, @ZeeshanTamboli
193
+
3
194
  ## 5.9.2
4
195
 
5
196
  <!-- generated comparing v5.9.1..master -->
@@ -159,7 +350,7 @@ A big thanks to the 19 contributors who made this release possible. Here are som
159
350
 
160
351
  ### `@mui/base@5.0.0-alpha.89`
161
352
 
162
- - Base] Change the order of class names merged in useSlotProps (#33383) @michaldudak
353
+ - [Base] Change the order of class names merged in useSlotProps (#33383) @michaldudak
163
354
  - [ModalUnstyled] Accept callbacks in componentsProps (#33181) @michaldudak
164
355
  - [SelectUnstyled] Accept callbacks in componentsProps (#33197) @michaldudak
165
356
  - [TabsUnstyled] Accept callbacks in componentsProps (#33284) @michaldudak
@@ -6812,7 +7003,7 @@ A big thanks to the 34 contributors who made this release possible. Here are som
6812
7003
 
6813
7004
  While the source code is currently hosted in the [main repository](https://github.com/mui/material-ui), we might move it to the [x repository](https://github.com/mui/mui-x) in the future, depending on what is easier for the commercial date range picker. The date picker will stay open source no matter what.
6814
7005
 
6815
- - 📚 Revamp the documentation for [the system](https://mui.com/system/basics/). The System contains CSS utilities. The documentation now promotes the use of the `sx` prop. It's ideal for adding one-off styles, e.g. padding, but when pushed to its limits, it can be used to implement quickly a complete page.
7006
+ - 📚 Revamp the documentation for [the system](https://mui.com/system/getting-started/overview/). The System contains CSS utilities. The documentation now promotes the use of the `sx` prop. It's ideal for adding one-off styles, e.g. padding, but when pushed to its limits, it can be used to implement quickly a complete page.
6816
7007
  - 👩‍🎨 Upgrade emotion to v11 (#23007) @mnajdova.
6817
7008
  - And many more 🐛 bug fixes and 📚 improvements.
6818
7009
 
@@ -7214,7 +7405,7 @@ Here are some highlights ✨:
7214
7405
  If you target IE11, you need to use the new bundle (`legacy`). We are treating IE11 as a second class-citizen, which is a continuation of the direction taken in #22873.
7215
7406
 
7216
7407
  - 🚀 Improve the internal benchmark suite (#22923, #23058) @mnajdova.
7217
- This was a prerequisite step to improve the [system](https://mui.com/system/basics/). We needed to be able to measure performance. After #22945, we have measured that the `Box` component is x3 faster in v5-alpha compared to v4.
7408
+ This was a prerequisite step to improve the [system](https://mui.com/system/getting-started/overview/). We needed to be able to measure performance. After #22945, we have measured that the `Box` component is x3 faster in v5-alpha compared to v4.
7218
7409
  - ✏️ A new blog post: [Q3 2020 Update](https://mui.com/blog/2020-q3-update/) (#23055) @oliviertassinari.
7219
7410
  - 🐙 Migrate more tests to react-testing-library @deiga, @Morteza-Jenabzadeh, @nicholas-l.
7220
7411
  - And many more 🐛 bug fixes and 📚 improvements.
@@ -7555,7 +7746,7 @@ Here are some highlights ✨:
7555
7746
 
7556
7747
  The new styling solution saves 2kB gzipped in the bundle compared to JSS, and about 14 kB gzipped if you were already using emotion or styled-components.
7557
7748
 
7558
- Last but not least, the change allows us to take advantage dynamic style props. We will use them for dynamic color props, variant props, and new style props (an improved [system](https://mui.com/system/basics/)).
7749
+ Last but not least, the change allows us to take advantage dynamic style props. We will use them for dynamic color props, variant props, and new style props (an improved [system](https://mui.com/system/getting-started/overview/)).
7559
7750
 
7560
7751
  This change has been in our roadmap for more than a year.
7561
7752
  We announced it in the [v4 release blog post](https://mui.com/blog/material-ui-v4-is-out/) as a direction v5 would take.
@@ -8808,7 +8999,7 @@ A big thanks to the 33 contributors who made this release possible. Here are som
8808
8999
  />
8809
9000
  ```
8810
9001
 
8811
- - [Typography] Replace the `srOnly` prop so as to not duplicate the capabilities of [System](https://mui.com/system/basics/) (#21413) @mnajdova.
9002
+ - [Typography] Replace the `srOnly` prop so as to not duplicate the capabilities of [System](https://mui.com/system/getting-started/overview/) (#21413) @mnajdova.
8812
9003
 
8813
9004
  ```diff
8814
9005
  -import Typography from '@material-ui/core/Typography';
@@ -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
@@ -32,7 +32,7 @@ const useUtilityClasses = ownerState => {
32
32
  label: ['label', `label${capitalize(size)}`],
33
33
  avatar: ['avatar', `avatar${capitalize(size)}`, `avatarColor${capitalize(color)}`],
34
34
  icon: ['icon', `icon${capitalize(size)}`, `iconColor${capitalize(color)}`],
35
- deleteIcon: ['deleteIcon', `deleteIcon${capitalize(size)}`, `deleteIconColor${capitalize(color)}`, `deleteIconOutlinedColor${capitalize(color)}`]
35
+ deleteIcon: ['deleteIcon', `deleteIcon${capitalize(size)}`, `deleteIconColor${capitalize(color)}`, `deleteIcon${capitalize(variant)}Color${capitalize(color)}`]
36
36
  };
37
37
  return composeClasses(slots, getChipUtilityClass, classes);
38
38
  };
@@ -70,8 +70,8 @@ const ChipRoot = styled('div', {
70
70
  }, {
71
71
  [`& .${chipClasses.deleteIcon}`]: styles[`deleteIconColor${capitalize(color)}`]
72
72
  }, {
73
- [`& .${chipClasses.deleteIcon}`]: styles[`deleteIconOutlinedColor${capitalize(color)}`]
74
- }, styles.root, styles[`size${capitalize(size)}`], styles[`color${capitalize(color)}`], clickable && styles.clickable, clickable && color !== 'default' && styles[`clickableColor${capitalize(color)})`], onDelete && styles.deletable, onDelete && color !== 'default' && styles[`deletableColor${capitalize(color)}`], styles[variant], variant === 'outlined' && styles[`outlined${capitalize(color)}`]];
73
+ [`& .${chipClasses.deleteIcon}`]: styles[`deleteIcon${capitalize(variant)}Color${capitalize(color)}`]
74
+ }, styles.root, styles[`size${capitalize(size)}`], styles[`color${capitalize(color)}`], clickable && styles.clickable, clickable && color !== 'default' && styles[`clickableColor${capitalize(color)})`], onDelete && styles.deletable, onDelete && color !== 'default' && styles[`deletableColor${capitalize(color)}`], styles[variant], styles[`${variant}${capitalize(color)}`]];
75
75
  }
76
76
  })(({
77
77
  theme,
@@ -339,7 +339,6 @@ const Chip = /*#__PURE__*/React.forwardRef(function Chip(inProps, ref) {
339
339
  };
340
340
 
341
341
  const clickable = clickableProp !== false && onClick ? true : clickableProp;
342
- const small = size === 'small';
343
342
  const component = clickable || onDelete ? ButtonBase : ComponentProp || 'div';
344
343
 
345
344
  const ownerState = _extends({}, props, {
@@ -362,12 +361,11 @@ const Chip = /*#__PURE__*/React.forwardRef(function Chip(inProps, ref) {
362
361
  let deleteIcon = null;
363
362
 
364
363
  if (onDelete) {
365
- const customClasses = clsx(color !== 'default' && (variant === 'outlined' ? classes[`deleteIconOutlinedColor${capitalize(color)}`] : classes[`deleteIconColor${capitalize(color)}`]), small && classes.deleteIconSmall);
366
364
  deleteIcon = deleteIconProp && /*#__PURE__*/React.isValidElement(deleteIconProp) ? /*#__PURE__*/React.cloneElement(deleteIconProp, {
367
- className: clsx(deleteIconProp.props.className, classes.deleteIcon, customClasses),
365
+ className: clsx(deleteIconProp.props.className, classes.deleteIcon),
368
366
  onClick: handleDeleteIconClick
369
367
  }) : /*#__PURE__*/_jsx(CancelIcon, {
370
- className: clsx(classes.deleteIcon, customClasses),
368
+ className: clsx(classes.deleteIcon),
371
369
  onClick: handleDeleteIconClick
372
370
  });
373
371
  }
@@ -1,80 +1,88 @@
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 root element if `variant="filled"` and `color="primary"`. */
35
+ filledPrimary: string;
36
+ /** Styles applied to the root element if `variant="filled"` and `color="secondary"`. */
37
+ filledSecondary: string;
38
+ /** Styles applied to the avatar element. */
39
+ avatar: string;
40
+ /** Styles applied to the avatar element if `size="small"`. */
41
+ avatarSmall: string;
42
+ /** Styles applied to the avatar element if `size="medium"`. */
43
+ avatarMedium: string;
44
+ /** Styles applied to the avatar element if `color="primary"`. */
45
+ avatarColorPrimary: string;
46
+ /** Styles applied to the avatar element if `color="secondary"`. */
47
+ avatarColorSecondary: string;
48
+ /** Styles applied to the icon element. */
49
+ icon: string;
50
+ /** Styles applied to the icon element if `size="small"`. */
51
+ iconSmall: string;
52
+ /** Styles applied to the icon element if `size="medium"`. */
53
+ iconMedium: string;
54
+ /** Styles applied to the icon element if `color="primary"`. */
55
+ iconColorPrimary: string;
56
+ /** Styles applied to the icon element if `color="secondary"`. */
57
+ iconColorSecondary: string;
58
+ /** Styles applied to the label `span` element. */
59
+ label: string;
60
+ /** Styles applied to the label `span` element if `size="small"`. */
61
+ labelSmall: string;
62
+ /** Styles applied to the label `span` element if `size="medium"`. */
63
+ labelMedium: string;
64
+ /** Styles applied to the deleteIcon element. */
65
+ deleteIcon: string;
66
+ /** Styles applied to the deleteIcon element if `size="small"`. */
67
+ deleteIconSmall: string;
68
+ /** Styles applied to the deleteIcon element if `size="medium"`. */
69
+ deleteIconMedium: string;
70
+ /** Styles applied to the deleteIcon element if `color="primary"` and `variant="filled"`. */
71
+ deleteIconColorPrimary: string;
72
+ /** Styles applied to the deleteIcon element if `color="secondary"` and `variant="filled"`. */
73
+ deleteIconColorSecondary: string;
74
+ /** Styles applied to the deleteIcon element if `color="primary"` and `variant="outlined"`. */
75
+ deleteIconOutlinedColorPrimary: string;
76
+ /** Styles applied to the deleteIcon element if `color="secondary"` and `variant="outlined"`. */
77
+ deleteIconOutlinedColorSecondary: string;
78
+ /** Styles applied to the deleteIcon element if `color="primary"` and `variant="filled"`. */
79
+ deleteIconFilledColorPrimary: string;
80
+ /** Styles applied to the deleteIcon element if `color="secondary"` and `variant="filled"`. */
81
+ deleteIconFilledColorSecondary: string;
82
+ /** State class applied to the root element if keyboard focused. */
83
+ focusVisible: string;
84
+ }
85
+ export declare type ChipClassKey = keyof ChipClasses;
86
+ export declare function getChipUtilityClass(slot: string): string;
87
+ declare const chipClasses: ChipClasses;
88
+ export default chipClasses;