@mui/material 5.8.5 → 5.8.6

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 (182) 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/Alert.js +19 -11
  6. package/Alert/alertClasses.d.ts +44 -44
  7. package/AlertTitle/alertTitleClasses.d.ts +8 -8
  8. package/AppBar/appBarClasses.d.ts +28 -28
  9. package/Autocomplete/autocompleteClasses.d.ts +54 -54
  10. package/Avatar/avatarClasses.d.ts +20 -20
  11. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  12. package/Backdrop/backdropClasses.d.ts +10 -10
  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/buttonClasses.d.ts +100 -100
  19. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  20. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  21. package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
  22. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  23. package/CHANGELOG.md +65 -0
  24. package/Card/cardClasses.d.ts +8 -8
  25. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  26. package/CardActions/cardActionsClasses.d.ts +10 -10
  27. package/CardContent/cardContentClasses.d.ts +8 -8
  28. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  29. package/CardMedia/cardMediaClasses.d.ts +12 -12
  30. package/Checkbox/checkboxClasses.d.ts +18 -18
  31. package/Chip/chipClasses.d.ts +80 -80
  32. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  33. package/ClickAwayListener/index.d.ts +2 -2
  34. package/Collapse/collapseClasses.d.ts +18 -18
  35. package/Container/containerClasses.d.ts +6 -6
  36. package/Dialog/DialogContext.d.ts +6 -6
  37. package/Dialog/dialogClasses.d.ts +36 -36
  38. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  39. package/DialogContent/dialogContentClasses.d.ts +10 -10
  40. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  41. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  42. package/Divider/dividerClasses.d.ts +34 -34
  43. package/Drawer/drawerClasses.d.ts +30 -30
  44. package/Fab/fabClasses.d.ts +26 -26
  45. package/FilledInput/FilledInput.js +1 -1
  46. package/FilledInput/filledInputClasses.d.ts +40 -40
  47. package/FormControl/formControlClasses.d.ts +14 -14
  48. package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
  49. package/FormGroup/formGroupClasses.d.ts +12 -12
  50. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  51. package/FormLabel/formLabelClasses.d.ts +22 -22
  52. package/Grid/gridClasses.d.ts +48 -48
  53. package/Icon/iconClasses.d.ts +24 -24
  54. package/IconButton/iconButtonClasses.d.ts +26 -26
  55. package/ImageList/imageListClasses.d.ts +16 -16
  56. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  57. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  58. package/Input/Input.js +1 -1
  59. package/Input/inputClasses.d.ts +34 -34
  60. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  61. package/InputBase/inputBaseClasses.d.ts +44 -44
  62. package/InputLabel/inputLabelClasses.d.ts +32 -32
  63. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  64. package/Link/getTextDecoration.d.ts +15 -15
  65. package/Link/linkClasses.d.ts +18 -18
  66. package/List/listClasses.d.ts +14 -14
  67. package/ListItem/listItemClasses.d.ts +30 -30
  68. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  69. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  70. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  71. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  72. package/ListItemText/listItemTextClasses.d.ts +18 -18
  73. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  74. package/Menu/menuClasses.d.ts +12 -12
  75. package/MenuItem/menuItemClasses.d.ts +20 -20
  76. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  77. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  78. package/OutlinedInput/OutlinedInput.js +15 -0
  79. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  80. package/Pagination/paginationClasses.d.ts +14 -14
  81. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  82. package/Paper/paperClasses.d.ts +39 -39
  83. package/Popover/popoverClasses.d.ts +10 -10
  84. package/Popper/Popper.d.ts +29 -29
  85. package/Radio/radioClasses.d.ts +16 -16
  86. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  87. package/RadioGroup/useRadioGroup.d.ts +4 -4
  88. package/Rating/ratingClasses.d.ts +40 -40
  89. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  90. package/Select/selectClasses.d.ts +30 -30
  91. package/Skeleton/skeletonClasses.d.ts +24 -24
  92. package/Slider/Slider.js +9 -9
  93. package/Snackbar/snackbarClasses.d.ts +20 -20
  94. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  95. package/SpeedDial/speedDialClasses.d.ts +22 -22
  96. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  97. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  98. package/Step/StepContext.d.ts +20 -20
  99. package/Step/stepClasses.d.ts +16 -16
  100. package/StepButton/stepButtonClasses.d.ts +14 -14
  101. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  102. package/StepContent/stepContentClasses.d.ts +12 -12
  103. package/StepIcon/stepIconClasses.d.ts +16 -16
  104. package/StepLabel/stepLabelClasses.d.ts +28 -28
  105. package/Stepper/StepperContext.d.ts +18 -18
  106. package/Stepper/stepperClasses.d.ts +14 -14
  107. package/SvgIcon/svgIconClasses.d.ts +24 -24
  108. package/Switch/switchClasses.d.ts +32 -32
  109. package/Tab/tabClasses.d.ts +26 -26
  110. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  111. package/Table/tableClasses.d.ts +10 -10
  112. package/TableBody/tableBodyClasses.d.ts +8 -8
  113. package/TableCell/tableCellClasses.d.ts +32 -32
  114. package/TableContainer/tableContainerClasses.d.ts +8 -8
  115. package/TableFooter/tableFooterClasses.d.ts +8 -8
  116. package/TableHead/tableHeadClasses.d.ts +8 -8
  117. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  118. package/TableRow/tableRowClasses.d.ts +16 -16
  119. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  120. package/Tabs/Tabs.js +10 -2
  121. package/Tabs/tabsClasses.d.ts +32 -32
  122. package/TextField/textFieldClasses.d.ts +8 -8
  123. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  124. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  125. package/Toolbar/toolbarClasses.d.ts +14 -14
  126. package/Tooltip/tooltipClasses.d.ts +30 -30
  127. package/Typography/typographyClasses.d.ts +50 -50
  128. package/className/index.d.ts +1 -1
  129. package/darkScrollbar/index.d.ts +28 -28
  130. package/index.js +1 -1
  131. package/internal/switchBaseClasses.d.ts +12 -12
  132. package/legacy/Alert/Alert.js +19 -11
  133. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  134. package/legacy/FilledInput/FilledInput.js +1 -1
  135. package/legacy/Input/Input.js +1 -1
  136. package/legacy/OutlinedInput/OutlinedInput.js +15 -0
  137. package/legacy/Slider/Slider.js +9 -9
  138. package/legacy/Tabs/Tabs.js +10 -2
  139. package/legacy/index.js +1 -1
  140. package/legacy/styles/CssVarsProvider.js +3 -1
  141. package/legacy/styles/experimental_extendTheme.js +43 -3
  142. package/locale/index.d.ts +71 -71
  143. package/modern/Alert/Alert.js +19 -11
  144. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  145. package/modern/FilledInput/FilledInput.js +1 -1
  146. package/modern/Input/Input.js +1 -1
  147. package/modern/OutlinedInput/OutlinedInput.js +15 -0
  148. package/modern/Slider/Slider.js +9 -9
  149. package/modern/Tabs/Tabs.js +10 -2
  150. package/modern/index.js +1 -1
  151. package/modern/styles/CssVarsProvider.js +1 -1
  152. package/modern/styles/experimental_extendTheme.js +43 -3
  153. package/node/Alert/Alert.js +19 -11
  154. package/node/BottomNavigation/BottomNavigation.js +0 -0
  155. package/node/FilledInput/FilledInput.js +1 -1
  156. package/node/Input/Input.js +1 -1
  157. package/node/OutlinedInput/OutlinedInput.js +13 -0
  158. package/node/Slider/Slider.js +9 -9
  159. package/node/Tabs/Tabs.js +10 -2
  160. package/node/index.js +1 -1
  161. package/node/styles/CssVarsProvider.js +5 -1
  162. package/node/styles/experimental_extendTheme.js +43 -3
  163. package/package.json +4 -4
  164. package/styles/CssVarsProvider.d.ts +10 -28
  165. package/styles/CssVarsProvider.js +5 -1
  166. package/styles/createPalette.d.ts +0 -89
  167. package/styles/experimental_extendTheme.d.ts +225 -37
  168. package/styles/experimental_extendTheme.js +43 -3
  169. package/styles/index.d.ts +24 -1
  170. package/themeCssVarsAugmentation/index.d.ts +61 -0
  171. package/transitions/index.d.ts +1 -1
  172. package/transitions/transition.d.ts +13 -13
  173. package/transitions/utils.d.ts +23 -23
  174. package/umd/material-ui.development.js +355 -173
  175. package/umd/material-ui.production.min.js +21 -21
  176. package/useMediaQuery/useMediaQuery.d.ts +31 -31
  177. package/useTouchRipple/index.d.ts +1 -1
  178. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  179. package/utils/getScrollbarSize.d.ts +2 -2
  180. package/utils/ownerDocument.d.ts +2 -2
  181. package/utils/ownerWindow.d.ts +2 -2
  182. 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.6
4
+
5
+ <!-- generated comparing v5.8.5..master -->
6
+
7
+ _Jun 27, 2022_
8
+
9
+ A big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - ⚒️ Fixed React 18 issues in few components
12
+ - 🚀 Improved the TypeScript augmentation when using CSS variables with `@mui/material`
13
+ - many other 🐛 bug fixes and 📚 documentation improvements
14
+
15
+ ### `@mui/material@5.8.6`
16
+
17
+ - &#8203;<!-- 27 -->[Alert] Add support for CSS vars (#32624) @haneenmahd
18
+ - &#8203;<!-- 26 -->[Alert] Use `getContrastText` for filled variant font color (#29813) @SamoraMabuya
19
+
20
+ Note: The color of the text in the warning contained `Alert` in dark mode was changed to black in order to improve the color contrast ratio
21
+
22
+ - &#8203;<!-- 11 -->[OutlinedInput] Fix `ownerState` undefined in theme style overrides (#33241) @siriwatknp
23
+ - &#8203;<!-- 08 -->[Tabs] Fix crash when used with React 18 & Suspense (#33277) @mnajdova
24
+ - &#8203;<!-- 05 -->[TypeScript] Add CSS vars type augmentation for Material UI (#33211) @siriwatknp
25
+
26
+ ### `@mui/system@5.8.6`
27
+
28
+ - &#8203;<!-- 09 -->[system] Add enableColorScheme option to getInitColorSchemeScript (#33261) @siriwatknp
29
+
30
+ ### `@mui/utils@5.8.6`
31
+
32
+ - &#8203;<!-- 04 -->[utils] Allow state prefix to be configurable (#32972) @siriwatknp
33
+
34
+ ### `@mui/base@5.0.0-alpha.87`
35
+
36
+ - &#8203;<!-- 25 -->[base] Improve the return type of useSlotProps (#33279) @michaldudak
37
+ - &#8203;<!-- 24 -->[base] Improve some types (#33270) @mnajdova
38
+ - &#8203;<!-- 13 -->[MenuUnstyled] Fix keyboard accessibility of menu items (#33145) @michaldudak
39
+ - &#8203;<!-- 12 -->[ModalManager] Lock body scroll when container is inside shadow DOM (#33168) @jacobweberbowery
40
+ - &#8203;<!-- 10 -->[SliderUnstyled] Use useSlotProps (#33132) @michaldudak
41
+ - &#8203;<!-- 07 -->[TextareaAutosize] Fix crash when used with React 18 & Suspense (#33238) @howlettt
42
+ - &#8203;<!-- 06 -->[TextareaAutosize] Fix warnings for too many renders in React 18 (#33253) @mnajdova
43
+
44
+ ### `@mui/joy@5.0.0-alpha.34`
45
+
46
+ - &#8203;<!-- 14 -->[Joy] Add `Sheet` doc (#32820) @hbjORbj
47
+
48
+ ### Docs
49
+
50
+ - &#8203;<!-- 23 -->[blog] Polish Why you should migrate to Material UI v5 today (#33244) @oliviertassinari
51
+ - &#8203;<!-- 21 -->[docs] Add note in docs about `componentsProps.root` taking precedence (#33097) @ZeeshanTamboli
52
+ - &#8203;<!-- 20 -->[docs] Remove a note about Base components being reexported from Material UI (#33265) @michaldudak
53
+ - &#8203;<!-- 19 -->[docs] Update code snippet in docs for custom color palette (#32946) @ZeeshanTamboli
54
+ - &#8203;<!-- 18 -->[docs] Fix the docs for production class generation (#31933) @Fafruch
55
+ - &#8203;<!-- 17 -->[docs] Fix internal link in Box page (#33149) @davidgarciab
56
+ - &#8203;<!-- 16 -->[docs] Badge component link in Base docs should be under Data Display section (#33249) @ZeeshanTamboli
57
+ - &#8203;<!-- 15 -->[examples] Fix comment typo (#33256) @WinmezzZ
58
+
59
+ ### Core
60
+
61
+ - &#8203;<!-- 22 -->[core] Remove dead code (#33243) @oliviertassinari
62
+ - &#8203;<!-- 03 -->[website] Fix the scroll-top for all the website (#33215) @oliviertassinari
63
+ - &#8203;<!-- 02 -->[website] List new core role @oliviertassinari
64
+ - &#8203;<!-- 01 -->[website] Fix navigation menu close behavior (#33203) @oliviertassinari
65
+
66
+ All contributors of this release in alphabetical order: @davidgarciab, @Fafruch, @haneenmahd, @hbjORbj, @howlettt, @jacobweberbowery, @michaldudak, @mnajdova, @oliviertassinari, @SamoraMabuya, @siriwatknp, @WinmezzZ, @ZeeshanTamboli
67
+
3
68
  ## 5.8.5
4
69
 
5
70
  <!-- generated comparing v5.8.4..master -->
@@ -1,8 +1,8 @@
1
- export interface CardClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- }
5
- export declare type CardClassKey = keyof CardClasses;
6
- export declare function getCardUtilityClass(slot: string): string;
7
- declare const cardClasses: CardClasses;
8
- export default cardClasses;
1
+ export interface CardClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ }
5
+ export declare type CardClassKey = keyof CardClasses;
6
+ export declare function getCardUtilityClass(slot: string): string;
7
+ declare const cardClasses: CardClasses;
8
+ export default cardClasses;
@@ -1,12 +1,12 @@
1
- export interface CardActionAreaClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** State class applied to the ButtonBase root element if the action area is keyboard focused. */
5
- focusVisible: string;
6
- /** Styles applied to the overlay that covers the action area when it is keyboard focused. */
7
- focusHighlight: string;
8
- }
9
- export declare type CardActionAreaClassKey = keyof CardActionAreaClasses;
10
- export declare function getCardActionAreaUtilityClass(slot: string): string;
11
- declare const cardActionAreaClasses: CardActionAreaClasses;
12
- export default cardActionAreaClasses;
1
+ export interface CardActionAreaClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** State class applied to the ButtonBase root element if the action area is keyboard focused. */
5
+ focusVisible: string;
6
+ /** Styles applied to the overlay that covers the action area when it is keyboard focused. */
7
+ focusHighlight: string;
8
+ }
9
+ export declare type CardActionAreaClassKey = keyof CardActionAreaClasses;
10
+ export declare function getCardActionAreaUtilityClass(slot: string): string;
11
+ declare const cardActionAreaClasses: CardActionAreaClasses;
12
+ export default cardActionAreaClasses;
@@ -1,10 +1,10 @@
1
- export interface CardActionsClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element unless `disableSpacing={true}`. */
5
- spacing: string;
6
- }
7
- export declare type CardActionsClassKey = keyof CardActionsClasses;
8
- export declare function getCardActionsUtilityClass(slot: string): string;
9
- declare const cardActionsClasses: CardActionsClasses;
10
- export default cardActionsClasses;
1
+ export interface CardActionsClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element unless `disableSpacing={true}`. */
5
+ spacing: string;
6
+ }
7
+ export declare type CardActionsClassKey = keyof CardActionsClasses;
8
+ export declare function getCardActionsUtilityClass(slot: string): string;
9
+ declare const cardActionsClasses: CardActionsClasses;
10
+ export default cardActionsClasses;
@@ -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;
@@ -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;
@@ -1,26 +1,26 @@
1
- export interface CircularProgressClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `variant="determinate"`. */
5
- determinate: string;
6
- /** Styles applied to the root element if `variant="indeterminate"`. */
7
- indeterminate: string;
8
- /** Styles applied to the root element if `color="primary"`. */
9
- colorPrimary: string;
10
- /** Styles applied to the root element if `color="secondary"`. */
11
- colorSecondary: string;
12
- /** Styles applied to the svg element. */
13
- svg: string;
14
- /** Styles applied to the `circle` svg path. */
15
- circle: string;
16
- /** Styles applied to the `circle` svg path if `variant="determinate"`. */
17
- circleDeterminate: string;
18
- /** Styles applied to the `circle` svg path if `variant="indeterminate"`. */
19
- circleIndeterminate: string;
20
- /** Styles applied to the `circle` svg path if `disableShrink={true}`. */
21
- circleDisableShrink: string;
22
- }
23
- export declare type CircularProgressClassKey = keyof CircularProgressClasses;
24
- export declare function getCircularProgressUtilityClass(slot: string): string;
25
- declare const circularProgressClasses: CircularProgressClasses;
26
- export default circularProgressClasses;
1
+ export interface CircularProgressClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `variant="determinate"`. */
5
+ determinate: string;
6
+ /** Styles applied to the root element if `variant="indeterminate"`. */
7
+ indeterminate: string;
8
+ /** Styles applied to the root element if `color="primary"`. */
9
+ colorPrimary: string;
10
+ /** Styles applied to the root element if `color="secondary"`. */
11
+ colorSecondary: string;
12
+ /** Styles applied to the svg element. */
13
+ svg: string;
14
+ /** Styles applied to the `circle` svg path. */
15
+ circle: string;
16
+ /** Styles applied to the `circle` svg path if `variant="determinate"`. */
17
+ circleDeterminate: string;
18
+ /** Styles applied to the `circle` svg path if `variant="indeterminate"`. */
19
+ circleIndeterminate: string;
20
+ /** Styles applied to the `circle` svg path if `disableShrink={true}`. */
21
+ circleDisableShrink: string;
22
+ }
23
+ export declare type CircularProgressClassKey = keyof CircularProgressClasses;
24
+ export declare function getCircularProgressUtilityClass(slot: string): string;
25
+ declare const circularProgressClasses: CircularProgressClasses;
26
+ export default circularProgressClasses;
@@ -1,2 +1,2 @@
1
- export { default } from '@mui/base/ClickAwayListener';
2
- export * from '@mui/base/ClickAwayListener';
1
+ export { default } from '@mui/base/ClickAwayListener';
2
+ export * from '@mui/base/ClickAwayListener';
@@ -1,18 +1,18 @@
1
- export interface CollapseClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** State class applied to the root element if `orientation="horizontal"`. */
5
- horizontal: string;
6
- /** Styles applied to the root element when the transition has entered. */
7
- entered: string;
8
- /** Styles applied to the root element when the transition has exited and `collapsedSize` = 0px. */
9
- hidden: string;
10
- /** Styles applied to the outer wrapper element. */
11
- wrapper: string;
12
- /** Styles applied to the inner wrapper element. */
13
- wrapperInner: string;
14
- }
15
- export declare type CollapseClassKey = keyof CollapseClasses;
16
- export declare function getCollapseUtilityClass(slot: string): string;
17
- declare const collapseClasses: CollapseClasses;
18
- export default collapseClasses;
1
+ export interface CollapseClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** State class applied to the root element if `orientation="horizontal"`. */
5
+ horizontal: string;
6
+ /** Styles applied to the root element when the transition has entered. */
7
+ entered: string;
8
+ /** Styles applied to the root element when the transition has exited and `collapsedSize` = 0px. */
9
+ hidden: string;
10
+ /** Styles applied to the outer wrapper element. */
11
+ wrapper: string;
12
+ /** Styles applied to the inner wrapper element. */
13
+ wrapperInner: string;
14
+ }
15
+ export declare type CollapseClassKey = keyof CollapseClasses;
16
+ export declare function getCollapseUtilityClass(slot: string): string;
17
+ declare const collapseClasses: CollapseClasses;
18
+ export default collapseClasses;
@@ -1,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;
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
2
- interface DialogContextValue {
3
- titleId?: string;
4
- }
5
- declare const DialogContext: import("react").Context<DialogContextValue>;
6
- export default DialogContext;
1
+ /// <reference types="react" />
2
+ interface DialogContextValue {
3
+ titleId?: string;
4
+ }
5
+ declare const DialogContext: import("react").Context<DialogContextValue>;
6
+ export default DialogContext;
@@ -1,36 +1,36 @@
1
- export interface DialogClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the container element if `scroll="paper"`. */
5
- scrollPaper: string;
6
- /** Styles applied to the container element if `scroll="body"`. */
7
- scrollBody: string;
8
- /** Styles applied to the container element. */
9
- container: string;
10
- /** Styles applied to the Paper component. */
11
- paper: string;
12
- /** Styles applied to the Paper component if `scroll="paper"`. */
13
- paperScrollPaper: string;
14
- /** Styles applied to the Paper component if `scroll="body"`. */
15
- paperScrollBody: string;
16
- /** Styles applied to the Paper component if `maxWidth=false`. */
17
- paperWidthFalse: string;
18
- /** Styles applied to the Paper component if `maxWidth="xs"`. */
19
- paperWidthXs: string;
20
- /** Styles applied to the Paper component if `maxWidth="sm"`. */
21
- paperWidthSm: string;
22
- /** Styles applied to the Paper component if `maxWidth="md"`. */
23
- paperWidthMd: string;
24
- /** Styles applied to the Paper component if `maxWidth="lg"`. */
25
- paperWidthLg: string;
26
- /** Styles applied to the Paper component if `maxWidth="xl"`. */
27
- paperWidthXl: string;
28
- /** Styles applied to the Paper component if `fullWidth={true}`. */
29
- paperFullWidth: string;
30
- /** Styles applied to the Paper component if `fullScreen={true}`. */
31
- paperFullScreen: string;
32
- }
33
- export declare type DialogClassKey = keyof DialogClasses;
34
- export declare function getDialogUtilityClass(slot: string): string;
35
- declare const dialogClasses: DialogClasses;
36
- export default dialogClasses;
1
+ export interface DialogClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the container element if `scroll="paper"`. */
5
+ scrollPaper: string;
6
+ /** Styles applied to the container element if `scroll="body"`. */
7
+ scrollBody: string;
8
+ /** Styles applied to the container element. */
9
+ container: string;
10
+ /** Styles applied to the Paper component. */
11
+ paper: string;
12
+ /** Styles applied to the Paper component if `scroll="paper"`. */
13
+ paperScrollPaper: string;
14
+ /** Styles applied to the Paper component if `scroll="body"`. */
15
+ paperScrollBody: string;
16
+ /** Styles applied to the Paper component if `maxWidth=false`. */
17
+ paperWidthFalse: string;
18
+ /** Styles applied to the Paper component if `maxWidth="xs"`. */
19
+ paperWidthXs: string;
20
+ /** Styles applied to the Paper component if `maxWidth="sm"`. */
21
+ paperWidthSm: string;
22
+ /** Styles applied to the Paper component if `maxWidth="md"`. */
23
+ paperWidthMd: string;
24
+ /** Styles applied to the Paper component if `maxWidth="lg"`. */
25
+ paperWidthLg: string;
26
+ /** Styles applied to the Paper component if `maxWidth="xl"`. */
27
+ paperWidthXl: string;
28
+ /** Styles applied to the Paper component if `fullWidth={true}`. */
29
+ paperFullWidth: string;
30
+ /** Styles applied to the Paper component if `fullScreen={true}`. */
31
+ paperFullScreen: string;
32
+ }
33
+ export declare type DialogClassKey = keyof DialogClasses;
34
+ export declare function getDialogUtilityClass(slot: string): string;
35
+ declare const dialogClasses: DialogClasses;
36
+ export default dialogClasses;
@@ -1,10 +1,10 @@
1
- export interface DialogActionsClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element unless `disableSpacing={true}`. */
5
- spacing: string;
6
- }
7
- export declare type DialogActionsClassKey = keyof DialogActionsClasses;
8
- export declare function getDialogActionsUtilityClass(slot: string): string;
9
- declare const dialogActionsClasses: DialogActionsClasses;
10
- export default dialogActionsClasses;
1
+ export interface DialogActionsClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element unless `disableSpacing={true}`. */
5
+ spacing: string;
6
+ }
7
+ export declare type DialogActionsClassKey = keyof DialogActionsClasses;
8
+ export declare function getDialogActionsUtilityClass(slot: string): string;
9
+ declare const dialogActionsClasses: DialogActionsClasses;
10
+ export default dialogActionsClasses;