@mui/material 5.11.11 → 5.11.12

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 (187) 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/Autocomplete.d.ts +1 -0
  9. package/Autocomplete/Autocomplete.js +5 -2
  10. package/Autocomplete/autocompleteClasses.d.ts +56 -54
  11. package/Autocomplete/autocompleteClasses.js +1 -1
  12. package/Avatar/avatarClasses.d.ts +20 -20
  13. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  14. package/Backdrop/backdropClasses.d.ts +10 -10
  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 +144 -0
  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/chipClasses.d.ts +96 -96
  34. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  35. package/ClickAwayListener/index.d.ts +2 -2
  36. package/Collapse/collapseClasses.d.ts +18 -18
  37. package/Container/containerClasses.d.ts +6 -6
  38. package/Dialog/DialogContext.d.ts +6 -6
  39. package/Dialog/dialogClasses.d.ts +36 -36
  40. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  41. package/DialogContent/dialogContentClasses.d.ts +10 -10
  42. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  43. package/DialogTitle/DialogTitle.js +2 -2
  44. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  45. package/Divider/dividerClasses.d.ts +34 -34
  46. package/Drawer/drawerClasses.d.ts +30 -30
  47. package/Fab/fabClasses.d.ts +26 -26
  48. package/FilledInput/filledInputClasses.d.ts +40 -40
  49. package/FormControl/FormControlContext.d.ts +17 -17
  50. package/FormControl/formControlClasses.d.ts +14 -14
  51. package/FormControl/useFormControl.d.ts +2 -2
  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 +34 -34
  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/inputBaseClasses.d.ts +46 -46
  65. package/InputLabel/inputLabelClasses.d.ts +32 -32
  66. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  67. package/Link/getTextDecoration.d.ts +15 -15
  68. package/Link/linkClasses.d.ts +18 -18
  69. package/List/listClasses.d.ts +14 -14
  70. package/ListItem/listItemClasses.d.ts +30 -30
  71. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  72. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  73. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  74. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  75. package/ListItemText/listItemTextClasses.d.ts +18 -18
  76. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  77. package/Menu/Menu.js +1 -1
  78. package/Menu/menuClasses.d.ts +12 -12
  79. package/MenuItem/menuItemClasses.d.ts +20 -20
  80. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  81. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  82. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  83. package/Pagination/paginationClasses.d.ts +14 -14
  84. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  85. package/Paper/paperClasses.d.ts +39 -39
  86. package/Popover/popoverClasses.d.ts +10 -10
  87. package/Popper/Popper.d.ts +55 -55
  88. package/Radio/radioClasses.d.ts +16 -16
  89. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  90. package/RadioGroup/useRadioGroup.d.ts +4 -4
  91. package/Rating/ratingClasses.d.ts +40 -40
  92. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  93. package/Select/selectClasses.d.ts +30 -30
  94. package/Skeleton/skeletonClasses.d.ts +26 -26
  95. package/Slider/SliderValueLabel.d.ts +15 -15
  96. package/Slider/SliderValueLabel.types.d.ts +24 -24
  97. package/Slider/sliderClasses.d.ts +58 -58
  98. package/Snackbar/snackbarClasses.d.ts +20 -20
  99. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  100. package/SpeedDial/speedDialClasses.d.ts +22 -22
  101. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  102. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  103. package/Stack/stackClasses.d.ts +6 -6
  104. package/Step/StepContext.d.ts +20 -20
  105. package/Step/stepClasses.d.ts +16 -16
  106. package/StepButton/stepButtonClasses.d.ts +14 -14
  107. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  108. package/StepContent/stepContentClasses.d.ts +12 -12
  109. package/StepIcon/stepIconClasses.d.ts +16 -16
  110. package/StepLabel/stepLabelClasses.d.ts +28 -28
  111. package/Stepper/StepperContext.d.ts +18 -18
  112. package/Stepper/stepperClasses.d.ts +14 -14
  113. package/SvgIcon/svgIconClasses.d.ts +26 -26
  114. package/Switch/switchClasses.d.ts +32 -32
  115. package/Tab/tabClasses.d.ts +26 -26
  116. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  117. package/Table/tableClasses.d.ts +10 -10
  118. package/TableBody/tableBodyClasses.d.ts +8 -8
  119. package/TableCell/tableCellClasses.d.ts +32 -32
  120. package/TableContainer/tableContainerClasses.d.ts +8 -8
  121. package/TableFooter/tableFooterClasses.d.ts +8 -8
  122. package/TableHead/tableHeadClasses.d.ts +8 -8
  123. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  124. package/TableRow/tableRowClasses.d.ts +16 -16
  125. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  126. package/Tabs/tabsClasses.d.ts +32 -32
  127. package/TextField/textFieldClasses.d.ts +8 -8
  128. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  129. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  130. package/Toolbar/toolbarClasses.d.ts +14 -14
  131. package/Tooltip/tooltipClasses.d.ts +30 -30
  132. package/Typography/typographyClasses.d.ts +50 -50
  133. package/Unstable_Grid2/Grid2.d.ts +4 -4
  134. package/Unstable_Grid2/Grid2Props.d.ts +15 -15
  135. package/Unstable_Grid2/grid2Classes.d.ts +5 -5
  136. package/Unstable_Grid2/index.d.ts +4 -4
  137. package/className/index.d.ts +1 -1
  138. package/darkScrollbar/index.d.ts +28 -28
  139. package/generateUtilityClass/index.d.ts +2 -2
  140. package/generateUtilityClasses/index.d.ts +1 -1
  141. package/index.js +1 -1
  142. package/internal/switchBaseClasses.d.ts +12 -12
  143. package/legacy/Autocomplete/Autocomplete.js +5 -2
  144. package/legacy/Autocomplete/autocompleteClasses.js +1 -1
  145. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  146. package/legacy/DialogTitle/DialogTitle.js +2 -2
  147. package/legacy/Menu/Menu.js +1 -1
  148. package/legacy/index.js +1 -1
  149. package/legacy/styles/CssVarsProvider.js +1 -8
  150. package/legacy/styles/experimental_extendTheme.js +64 -40
  151. package/locale/index.d.ts +75 -75
  152. package/modern/Autocomplete/Autocomplete.js +5 -2
  153. package/modern/Autocomplete/autocompleteClasses.js +1 -1
  154. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  155. package/modern/DialogTitle/DialogTitle.js +2 -2
  156. package/modern/Menu/Menu.js +1 -1
  157. package/modern/index.js +1 -1
  158. package/modern/styles/CssVarsProvider.js +1 -5
  159. package/modern/styles/experimental_extendTheme.js +62 -41
  160. package/node/Autocomplete/Autocomplete.js +5 -2
  161. package/node/Autocomplete/autocompleteClasses.js +1 -1
  162. package/node/BottomNavigation/BottomNavigation.js +0 -0
  163. package/node/DialogTitle/DialogTitle.js +2 -2
  164. package/node/Menu/Menu.js +1 -1
  165. package/node/index.js +1 -1
  166. package/node/styles/CssVarsProvider.js +1 -9
  167. package/node/styles/experimental_extendTheme.js +66 -40
  168. package/package.json +4 -4
  169. package/styles/CssVarsProvider.d.ts +15 -16
  170. package/styles/CssVarsProvider.js +1 -8
  171. package/styles/excludeVariablesFromRoot.d.ts +5 -5
  172. package/styles/experimental_extendTheme.d.ts +16 -0
  173. package/styles/experimental_extendTheme.js +65 -41
  174. package/styles/getOverlayAlpha.d.ts +2 -2
  175. package/transitions/index.d.ts +1 -1
  176. package/transitions/transition.d.ts +13 -13
  177. package/transitions/utils.d.ts +23 -23
  178. package/types/OverridableComponentAugmentation.d.ts +31 -31
  179. package/umd/material-ui.development.js +287 -214
  180. package/umd/material-ui.production.min.js +20 -20
  181. package/useMediaQuery/useMediaQuery.d.ts +46 -46
  182. package/useTouchRipple/index.d.ts +1 -1
  183. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  184. package/utils/getScrollbarSize.d.ts +2 -2
  185. package/utils/ownerDocument.d.ts +2 -2
  186. package/utils/ownerWindow.d.ts +2 -2
  187. package/utils/setRef.d.ts +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,149 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.11.12
4
+
5
+ <!-- generated comparing v5.11.11..master -->
6
+
7
+ _Mar 6, 2023_
8
+
9
+ A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - @michaldudak added the multiselect functionality to SelectUnstyled (#36274)
12
+ - @mnajdova updated `extendTheme` so that it can generate CSS variables with default values. This means that the `CssVarsProvider` is no longer required for Joy UI when using the default theme (#35739)
13
+ - other 🐛 bug fixes and 📚 documentation improvements.
14
+
15
+ ### `@mui/material@5.11.12`
16
+
17
+ - &#8203;<!-- 30 -->[Autocomplete] Fix list scrolls to the top when new data is added on touch devices (#36231) @SaidMarar
18
+ - &#8203;<!-- 29 -->[Autocomplete] Add `Mui-expanded` class (#33312) @Osman-Sodefa
19
+ - &#8203;<!-- 24 -->[Dialog] Use the `id` prop provided to the `DialogTitle` component (#36353) @Kundan28
20
+ - &#8203;<!-- 07 -->[Menu] Fix Menu Paper styles overriding in the theme (#36316) @Paatus
21
+
22
+ ### `@mui/lab@5.0.0-alpha.122`
23
+
24
+ - &#8203;<!-- 05 -->[TreeView] Fix Tree View inside shadow root crashes (#36225) @NoFr1ends
25
+
26
+ ### `@mui/system@5.11.12`
27
+
28
+ #### Breaking changes
29
+
30
+ - &#8203;<!-- 26 -->[core] Generate vars in `extendTheme` (#35739) @mnajdova
31
+
32
+ The `shouldSkipGeneratingVar` prop was moved from the `createCssVarsProvider`'s option to the `theme`. If the default theme does not use `extendTheme` from Material UI or Joy UI, it needs to be wrapped inside `unstable_createCssVarsTheme` - a util exported from the MUI System. Below is an example of how the migration should look like:
33
+
34
+ ```diff
35
+ import {
36
+ unstable_createCssVarsProvider as createCssVarsProvider,
37
+ + unstable_createCssVarsTheme as createCssVarsTheme,
38
+ } from '@mui/system';
39
+
40
+ const { CssVarsProvider } = createCssVarsProvider({
41
+ - theme: {
42
+ + theme: createCssVarsTheme({
43
+ colorSchemes: {
44
+ light: {
45
+ typography: {
46
+ htmlFontSize: '16px',
47
+ h1: {
48
+ fontSize: '1rem',
49
+ fontWeight: 500,
50
+ },
51
+ },
52
+ },
53
+ },
54
+ + shouldSkipGeneratingVar: (keys) => keys[0] === 'typography' && keys[1] === 'h1',
55
+ - },
56
+ + }),
57
+ defaultColorScheme: 'light',
58
+ - shouldSkipGeneratingVar: (keys) => keys[0] === 'typography' && keys[1] === 'h1',
59
+ });
60
+ ```
61
+
62
+ Or you can define it directly in the theme prop:
63
+
64
+ ```diff
65
+ <CssVarsProvider
66
+ + theme={createCssVarsProvider({
67
+ + // other theme keys
68
+ + shouldSkipGeneratingVar: (keys) => keys[0] === 'typography' && keys[1] === 'h1'
69
+ + })} />
70
+ ```
71
+
72
+ This breaking change **only** affects experimental APIs
73
+
74
+ ### `@mui/base@5.0.0-alpha.120`
75
+
76
+ #### Breaking changes
77
+
78
+ - &#8203;<!-- 27 -->[Select][base] Add the multiselect functionality to SelectUnstyled (#36274) @michaldudak
79
+
80
+ The MultiSelectUnstyled was removed. The `SelectUnstyled` component with the `multiple` prop should be used instead. Additionally, the SelectUnstyledProps received a second generic parameter: `Multiple extends boolean`. If you deal with strictly single- or multi-select components, you can hard-code this parameter to `false` or `true`, respectively. Below is an example of how the migration should look like:
81
+
82
+ ```diff
83
+ -import MultiSelectUnstyled from '@mui/base/MultiSelectUnstyled';
84
+ +import SelectUnstyled from '@mui/base/SelectUnstyled';
85
+
86
+ export default App() {
87
+ -return <MultiSelectUnstyled />
88
+ +return <SelectUnstyled multiple />
89
+ }
90
+ ```
91
+
92
+ #### Changes
93
+
94
+ - &#8203;<!-- 34 -->[useSnackBar] Add explicit return type (#36052) @sai6855
95
+ - &#8203;<!-- 04 -->[useMenu] Fix `import type` syntax (#36411) @ZeeshanTamboli
96
+ - &#8203;<!-- 03 -->[useSwitch] Add explicit return type (#36050) @sai6855
97
+
98
+ ### `@mui/joy@5.0.0-alpha.70`
99
+
100
+ #### Breaking changes
101
+
102
+ - &#8203;<!-- 09 -->[Joy] Change CSS variables naming for components (#36282) @hbjORbj
103
+
104
+ Joy UI has new naming standards of the CSS variables for its components. Below is an example of how the migration should look like:
105
+
106
+ ```diff
107
+ -<List sx={{ py: 'var(--List-divider-gap)' }}>
108
+ +<List sx={{ py: 'var(--ListDivider-gap)' }}>
109
+ -<Switch sx={{ '--Switch-track-width': '40px' }}>
110
+ +<Switch sx={{ '--Switch-trackWidth': '40px' }}>
111
+ ```
112
+
113
+ #### Changes
114
+
115
+ - &#8203;<!-- 28 -->[Autocomplete][joy] Add disabled class to the popup indicator (#36397) @hbjORbj
116
+ - &#8203;<!-- 08 -->[Joy] Fix broken loading button in Safari (#36298) @Kuba429
117
+
118
+ ### Docs
119
+
120
+ - &#8203;<!-- 33 -->[docs][joy] Clarify when `CssVarsProvider` is required (#36410) @mnajdova
121
+ - &#8203;<!-- 32 -->MUI X v6 release announcement (#36398) @joserodolfofreitas
122
+ - &#8203;<!-- 23 -->[docs] Add instructions for deploying docs without a release (#36301) @cherniavskii
123
+ - &#8203;<!-- 22 -->[docs] Fix 301 redirections on the docs @oliviertassinari
124
+ - &#8203;<!-- 21 -->[docs] Update MUI X banner to reflect stable release (#36354) @MBilalShafi
125
+ - &#8203;<!-- 20 -->[docs] Clarify the future plan for integrating MUI Base in Material UI (#36365) @mnajdova
126
+ - &#8203;<!-- 19 -->[docs] Improve visual look of loose lists (#36190) @oliviertassinari
127
+ - &#8203;<!-- 18 -->[docs] Fix @mui/styles example links (#36331) @oliviertassinari
128
+ - &#8203;<!-- 17 -->[docs][joy] Build TS versions for List component demos (#36382) @sai6855
129
+ - &#8203;<!-- 16 -->[docs][joy] Build TS versions for Radio component demos (#36406) @sai6855
130
+ - &#8203;<!-- 15 -->[docs][joy] Build TS versions for Checkbox component demos (#36381) @sai6855
131
+ - &#8203;<!-- 14 -->[docs][joy] Build TS versions for Select component demos (#36380) @sai6855
132
+ - &#8203;<!-- 13 -->[docs][joy] Build TS versions for Typography component demos (#36378) @varunmulay22
133
+ - &#8203;<!-- 12 -->[docs][joy] Add typescript demos for `Divider` (#36374) @sai6855
134
+ - &#8203;<!-- 11 -->[docs][joy] Build TS versions for Textarea component demos (#36371) @varunmulay22
135
+ - &#8203;<!-- 10 -->[docs][joy] Build TS versions for Link component demos (#36366) @hbjORbj
136
+
137
+ ### Core
138
+
139
+ - &#8203;<!-- 31 -->Revert "Bump rimraf to ^4.1.3" (#36420) @mnajdova
140
+ - &#8203;<!-- 25 -->[core] Fix test utils types and external `buildApiUtils` usage issues (#36310) @LukasTy
141
+ - &#8203;<!-- 06 -->[test] Remove duplicate `combobox` role queries in Autocomplete tests (#36394) @ZeeshanTamboli
142
+ - &#8203;<!-- 02 -->[website] Clarify redistribution @oliviertassinari
143
+ - &#8203;<!-- 01 -->[website] Sync /about page (#36334) @oliviertassinari
144
+
145
+ All contributors of this release in alphabetical order: @cherniavskii, @hbjORbj, @joserodolfofreitas, @Kuba429, @Kundan28, @LukasTy, @MBilalShafi, @michaldudak, @mnajdova, @NoFr1ends, @oliviertassinari, @Osman-Sodefa, @Paatus, @sai6855, @SaidMarar, @varunmulay22, @ZeeshanTamboli
146
+
3
147
  ## 5.11.11
4
148
 
5
149
  <!-- generated comparing v5.11.10..master -->
@@ -1,8 +1,8 @@
1
- export interface CardClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- }
5
- export 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 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 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 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 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 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 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 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 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 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 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 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 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 type CheckboxClassKey = keyof CheckboxClasses;
16
+ export declare function getCheckboxUtilityClass(slot: string): string;
17
+ declare const checkboxClasses: CheckboxClasses;
18
+ export default checkboxClasses;
@@ -1,96 +1,96 @@
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="error"`. */
9
- colorError: string;
10
- /** Styles applied to the root element if `color="info"`. */
11
- colorInfo: string;
12
- /** Styles applied to the root element if `color="primary"`. */
13
- colorPrimary: string;
14
- /** Styles applied to the root element if `color="secondary"`. */
15
- colorSecondary: string;
16
- /** Styles applied to the root element if `color="success"`. */
17
- colorSuccess: string;
18
- /** Styles applied to the root element if `color="warning"`. */
19
- colorWarning: string;
20
- /** State class applied to the root element if `disabled={true}`. */
21
- disabled: string;
22
- /** Styles applied to the root element if `onClick` is defined or `clickable={true}`. */
23
- clickable: string;
24
- /** Styles applied to the root element if `onClick` and `color="primary"` is defined or `clickable={true}`. */
25
- clickableColorPrimary: string;
26
- /** Styles applied to the root element if `onClick` and `color="secondary"` is defined or `clickable={true}`. */
27
- clickableColorSecondary: string;
28
- /** Styles applied to the root element if `onDelete` is defined. */
29
- deletable: string;
30
- /** Styles applied to the root element if `onDelete` and `color="primary"` is defined. */
31
- deletableColorPrimary: string;
32
- /** Styles applied to the root element if `onDelete` and `color="secondary"` is defined. */
33
- deletableColorSecondary: string;
34
- /** Styles applied to the root element if `variant="outlined"`. */
35
- outlined: string;
36
- /** Styles applied to the root element if `variant="filled"`. */
37
- filled: string;
38
- /** Styles applied to the root element if `variant="outlined"` and `color="primary"`. */
39
- outlinedPrimary: string;
40
- /** Styles applied to the root element if `variant="outlined"` and `color="secondary"`. */
41
- outlinedSecondary: string;
42
- /** Styles applied to the root element if `variant="filled"` and `color="primary"`. */
43
- filledPrimary: string;
44
- /** Styles applied to the root element if `variant="filled"` and `color="secondary"`. */
45
- filledSecondary: string;
46
- /** Styles applied to the avatar element. */
47
- avatar: string;
48
- /** Styles applied to the avatar element if `size="small"`. */
49
- avatarSmall: string;
50
- /** Styles applied to the avatar element if `size="medium"`. */
51
- avatarMedium: string;
52
- /** Styles applied to the avatar element if `color="primary"`. */
53
- avatarColorPrimary: string;
54
- /** Styles applied to the avatar element if `color="secondary"`. */
55
- avatarColorSecondary: string;
56
- /** Styles applied to the icon element. */
57
- icon: string;
58
- /** Styles applied to the icon element if `size="small"`. */
59
- iconSmall: string;
60
- /** Styles applied to the icon element if `size="medium"`. */
61
- iconMedium: string;
62
- /** Styles applied to the icon element if `color="primary"`. */
63
- iconColorPrimary: string;
64
- /** Styles applied to the icon element if `color="secondary"`. */
65
- iconColorSecondary: string;
66
- /** Styles applied to the label `span` element. */
67
- label: string;
68
- /** Styles applied to the label `span` element if `size="small"`. */
69
- labelSmall: string;
70
- /** Styles applied to the label `span` element if `size="medium"`. */
71
- labelMedium: string;
72
- /** Styles applied to the deleteIcon element. */
73
- deleteIcon: string;
74
- /** Styles applied to the deleteIcon element if `size="small"`. */
75
- deleteIconSmall: string;
76
- /** Styles applied to the deleteIcon element if `size="medium"`. */
77
- deleteIconMedium: string;
78
- /** Styles applied to the deleteIcon element if `color="primary"` and `variant="filled"`. */
79
- deleteIconColorPrimary: string;
80
- /** Styles applied to the deleteIcon element if `color="secondary"` and `variant="filled"`. */
81
- deleteIconColorSecondary: string;
82
- /** Styles applied to the deleteIcon element if `color="primary"` and `variant="outlined"`. */
83
- deleteIconOutlinedColorPrimary: string;
84
- /** Styles applied to the deleteIcon element if `color="secondary"` and `variant="outlined"`. */
85
- deleteIconOutlinedColorSecondary: string;
86
- /** Styles applied to the deleteIcon element if `color="primary"` and `variant="filled"`. */
87
- deleteIconFilledColorPrimary: string;
88
- /** Styles applied to the deleteIcon element if `color="secondary"` and `variant="filled"`. */
89
- deleteIconFilledColorSecondary: string;
90
- /** State class applied to the root element if keyboard focused. */
91
- focusVisible: string;
92
- }
93
- export type ChipClassKey = keyof ChipClasses;
94
- export declare function getChipUtilityClass(slot: string): string;
95
- declare const chipClasses: ChipClasses;
96
- 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="error"`. */
9
+ colorError: string;
10
+ /** Styles applied to the root element if `color="info"`. */
11
+ colorInfo: string;
12
+ /** Styles applied to the root element if `color="primary"`. */
13
+ colorPrimary: string;
14
+ /** Styles applied to the root element if `color="secondary"`. */
15
+ colorSecondary: string;
16
+ /** Styles applied to the root element if `color="success"`. */
17
+ colorSuccess: string;
18
+ /** Styles applied to the root element if `color="warning"`. */
19
+ colorWarning: string;
20
+ /** State class applied to the root element if `disabled={true}`. */
21
+ disabled: string;
22
+ /** Styles applied to the root element if `onClick` is defined or `clickable={true}`. */
23
+ clickable: string;
24
+ /** Styles applied to the root element if `onClick` and `color="primary"` is defined or `clickable={true}`. */
25
+ clickableColorPrimary: string;
26
+ /** Styles applied to the root element if `onClick` and `color="secondary"` is defined or `clickable={true}`. */
27
+ clickableColorSecondary: string;
28
+ /** Styles applied to the root element if `onDelete` is defined. */
29
+ deletable: string;
30
+ /** Styles applied to the root element if `onDelete` and `color="primary"` is defined. */
31
+ deletableColorPrimary: string;
32
+ /** Styles applied to the root element if `onDelete` and `color="secondary"` is defined. */
33
+ deletableColorSecondary: string;
34
+ /** Styles applied to the root element if `variant="outlined"`. */
35
+ outlined: string;
36
+ /** Styles applied to the root element if `variant="filled"`. */
37
+ filled: string;
38
+ /** Styles applied to the root element if `variant="outlined"` and `color="primary"`. */
39
+ outlinedPrimary: string;
40
+ /** Styles applied to the root element if `variant="outlined"` and `color="secondary"`. */
41
+ outlinedSecondary: string;
42
+ /** Styles applied to the root element if `variant="filled"` and `color="primary"`. */
43
+ filledPrimary: string;
44
+ /** Styles applied to the root element if `variant="filled"` and `color="secondary"`. */
45
+ filledSecondary: string;
46
+ /** Styles applied to the avatar element. */
47
+ avatar: string;
48
+ /** Styles applied to the avatar element if `size="small"`. */
49
+ avatarSmall: string;
50
+ /** Styles applied to the avatar element if `size="medium"`. */
51
+ avatarMedium: string;
52
+ /** Styles applied to the avatar element if `color="primary"`. */
53
+ avatarColorPrimary: string;
54
+ /** Styles applied to the avatar element if `color="secondary"`. */
55
+ avatarColorSecondary: string;
56
+ /** Styles applied to the icon element. */
57
+ icon: string;
58
+ /** Styles applied to the icon element if `size="small"`. */
59
+ iconSmall: string;
60
+ /** Styles applied to the icon element if `size="medium"`. */
61
+ iconMedium: string;
62
+ /** Styles applied to the icon element if `color="primary"`. */
63
+ iconColorPrimary: string;
64
+ /** Styles applied to the icon element if `color="secondary"`. */
65
+ iconColorSecondary: string;
66
+ /** Styles applied to the label `span` element. */
67
+ label: string;
68
+ /** Styles applied to the label `span` element if `size="small"`. */
69
+ labelSmall: string;
70
+ /** Styles applied to the label `span` element if `size="medium"`. */
71
+ labelMedium: string;
72
+ /** Styles applied to the deleteIcon element. */
73
+ deleteIcon: string;
74
+ /** Styles applied to the deleteIcon element if `size="small"`. */
75
+ deleteIconSmall: string;
76
+ /** Styles applied to the deleteIcon element if `size="medium"`. */
77
+ deleteIconMedium: string;
78
+ /** Styles applied to the deleteIcon element if `color="primary"` and `variant="filled"`. */
79
+ deleteIconColorPrimary: string;
80
+ /** Styles applied to the deleteIcon element if `color="secondary"` and `variant="filled"`. */
81
+ deleteIconColorSecondary: string;
82
+ /** Styles applied to the deleteIcon element if `color="primary"` and `variant="outlined"`. */
83
+ deleteIconOutlinedColorPrimary: string;
84
+ /** Styles applied to the deleteIcon element if `color="secondary"` and `variant="outlined"`. */
85
+ deleteIconOutlinedColorSecondary: string;
86
+ /** Styles applied to the deleteIcon element if `color="primary"` and `variant="filled"`. */
87
+ deleteIconFilledColorPrimary: string;
88
+ /** Styles applied to the deleteIcon element if `color="secondary"` and `variant="filled"`. */
89
+ deleteIconFilledColorSecondary: string;
90
+ /** State class applied to the root element if keyboard focused. */
91
+ focusVisible: string;
92
+ }
93
+ export type ChipClassKey = keyof ChipClasses;
94
+ export declare function getChipUtilityClass(slot: string): string;
95
+ declare const chipClasses: ChipClasses;
96
+ export default chipClasses;
@@ -1,26 +1,26 @@
1
- export interface CircularProgressClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `variant="determinate"`. */
5
- determinate: string;
6
- /** Styles applied to the root element if `variant="indeterminate"`. */
7
- indeterminate: string;
8
- /** Styles applied to the root element if `color="primary"`. */
9
- colorPrimary: string;
10
- /** Styles applied to the root element if `color="secondary"`. */
11
- colorSecondary: string;
12
- /** Styles applied to the svg element. */
13
- svg: string;
14
- /** Styles applied to the `circle` svg path. */
15
- circle: string;
16
- /** Styles applied to the `circle` svg path if `variant="determinate"`. */
17
- circleDeterminate: string;
18
- /** Styles applied to the `circle` svg path if `variant="indeterminate"`. */
19
- circleIndeterminate: string;
20
- /** Styles applied to the `circle` svg path if `disableShrink={true}`. */
21
- circleDisableShrink: string;
22
- }
23
- export type CircularProgressClassKey = keyof CircularProgressClasses;
24
- export declare function getCircularProgressUtilityClass(slot: string): string;
25
- declare const circularProgressClasses: CircularProgressClasses;
26
- export default circularProgressClasses;
1
+ export interface CircularProgressClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `variant="determinate"`. */
5
+ determinate: string;
6
+ /** Styles applied to the root element if `variant="indeterminate"`. */
7
+ indeterminate: string;
8
+ /** Styles applied to the root element if `color="primary"`. */
9
+ colorPrimary: string;
10
+ /** Styles applied to the root element if `color="secondary"`. */
11
+ colorSecondary: string;
12
+ /** Styles applied to the svg element. */
13
+ svg: string;
14
+ /** Styles applied to the `circle` svg path. */
15
+ circle: string;
16
+ /** Styles applied to the `circle` svg path if `variant="determinate"`. */
17
+ circleDeterminate: string;
18
+ /** Styles applied to the `circle` svg path if `variant="indeterminate"`. */
19
+ circleIndeterminate: string;
20
+ /** Styles applied to the `circle` svg path if `disableShrink={true}`. */
21
+ circleDisableShrink: string;
22
+ }
23
+ export type CircularProgressClassKey = keyof CircularProgressClasses;
24
+ export declare function getCircularProgressUtilityClass(slot: string): string;
25
+ declare const circularProgressClasses: CircularProgressClasses;
26
+ export default circularProgressClasses;
@@ -1,2 +1,2 @@
1
- export { default } from '@mui/base/ClickAwayListener';
2
- export * from '@mui/base/ClickAwayListener';
1
+ export { default } from '@mui/base/ClickAwayListener';
2
+ export * from '@mui/base/ClickAwayListener';
@@ -1,18 +1,18 @@
1
- export interface CollapseClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** State class applied to the root element if `orientation="horizontal"`. */
5
- horizontal: string;
6
- /** Styles applied to the root element when the transition has entered. */
7
- entered: string;
8
- /** Styles applied to the root element when the transition has exited and `collapsedSize` = 0px. */
9
- hidden: string;
10
- /** Styles applied to the outer wrapper element. */
11
- wrapper: string;
12
- /** Styles applied to the inner wrapper element. */
13
- wrapperInner: string;
14
- }
15
- export type CollapseClassKey = keyof CollapseClasses;
16
- export declare function getCollapseUtilityClass(slot: string): string;
17
- declare const collapseClasses: CollapseClasses;
18
- export default collapseClasses;
1
+ export interface CollapseClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** State class applied to the root element if `orientation="horizontal"`. */
5
+ horizontal: string;
6
+ /** Styles applied to the root element when the transition has entered. */
7
+ entered: string;
8
+ /** Styles applied to the root element when the transition has exited and `collapsedSize` = 0px. */
9
+ hidden: string;
10
+ /** Styles applied to the outer wrapper element. */
11
+ wrapper: string;
12
+ /** Styles applied to the inner wrapper element. */
13
+ wrapperInner: string;
14
+ }
15
+ export type CollapseClassKey = keyof CollapseClasses;
16
+ export declare function getCollapseUtilityClass(slot: string): string;
17
+ declare const collapseClasses: CollapseClasses;
18
+ export default collapseClasses;
@@ -1,6 +1,6 @@
1
- import { ContainerClasses } from '@mui/system';
2
- export type { ContainerClassKey } from '@mui/system';
3
- export type { ContainerClasses };
4
- export declare function getContainerUtilityClass(slot: string): string;
5
- declare const containerClasses: ContainerClasses;
6
- export default containerClasses;
1
+ import { ContainerClasses } from '@mui/system';
2
+ export type { ContainerClassKey } from '@mui/system';
3
+ export type { ContainerClasses };
4
+ export declare function getContainerUtilityClass(slot: string): string;
5
+ declare const containerClasses: ContainerClasses;
6
+ export default containerClasses;