@mui/material 5.11.12 → 5.11.14

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 (212) 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 +56 -56
  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/badgeClasses.d.ts +56 -56
  13. package/BottomNavigation/BottomNavigation.js +0 -0
  14. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  15. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  16. package/Breadcrumbs/BreadcrumbCollapsed.js +26 -3
  17. package/Breadcrumbs/Breadcrumbs.d.ts +31 -0
  18. package/Breadcrumbs/Breadcrumbs.js +30 -2
  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 +114 -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/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/dialogTitleClasses.d.ts +8 -8
  44. package/Divider/dividerClasses.d.ts +34 -34
  45. package/Drawer/drawerClasses.d.ts +30 -30
  46. package/Fab/fabClasses.d.ts +26 -26
  47. package/FilledInput/filledInputClasses.d.ts +40 -40
  48. package/FormControl/FormControlContext.d.ts +17 -17
  49. package/FormControl/formControlClasses.d.ts +14 -14
  50. package/FormControl/useFormControl.d.ts +2 -2
  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/gridClasses.d.ts +48 -48
  56. package/Icon/iconClasses.d.ts +24 -24
  57. package/IconButton/iconButtonClasses.d.ts +34 -34
  58. package/ImageList/imageListClasses.d.ts +16 -16
  59. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  60. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  61. package/Input/inputClasses.d.ts +34 -34
  62. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  63. package/InputBase/inputBaseClasses.d.ts +46 -46
  64. package/InputLabel/inputLabelClasses.d.ts +32 -32
  65. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  66. package/Link/getTextDecoration.d.ts +15 -15
  67. package/Link/linkClasses.d.ts +18 -18
  68. package/List/listClasses.d.ts +14 -14
  69. package/ListItem/listItemClasses.d.ts +30 -30
  70. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  71. package/ListItemButton/ListItemButton.js +4 -2
  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/menuClasses.d.ts +12 -12
  78. package/MenuItem/menuItemClasses.d.ts +20 -20
  79. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  80. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  81. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  82. package/Pagination/paginationClasses.d.ts +14 -14
  83. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  84. package/Paper/paperClasses.d.ts +39 -39
  85. package/Popover/popoverClasses.d.ts +10 -10
  86. package/Popper/Popper.d.ts +55 -55
  87. package/README.md +5 -4
  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/StepButton.js +4 -2
  107. package/StepButton/stepButtonClasses.d.ts +14 -14
  108. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  109. package/StepContent/stepContentClasses.d.ts +12 -12
  110. package/StepIcon/stepIconClasses.d.ts +16 -16
  111. package/StepLabel/stepLabelClasses.d.ts +28 -28
  112. package/Stepper/StepperContext.d.ts +18 -18
  113. package/Stepper/stepperClasses.d.ts +14 -14
  114. package/SvgIcon/svgIconClasses.d.ts +26 -26
  115. package/Switch/switchClasses.d.ts +32 -32
  116. package/Tab/tabClasses.d.ts +26 -26
  117. package/TabScrollButton/TabScrollButton.d.ts +34 -1
  118. package/TabScrollButton/TabScrollButton.js +41 -8
  119. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  120. package/Table/tableClasses.d.ts +10 -10
  121. package/TableBody/tableBodyClasses.d.ts +8 -8
  122. package/TableCell/tableCellClasses.d.ts +32 -32
  123. package/TableContainer/tableContainerClasses.d.ts +8 -8
  124. package/TableFooter/tableFooterClasses.d.ts +8 -8
  125. package/TableHead/tableHeadClasses.d.ts +8 -8
  126. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  127. package/TableRow/tableRowClasses.d.ts +16 -16
  128. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  129. package/Tabs/Tabs.d.ts +40 -0
  130. package/Tabs/Tabs.js +43 -2
  131. package/Tabs/tabsClasses.d.ts +32 -32
  132. package/TextField/textFieldClasses.d.ts +8 -8
  133. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  134. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  135. package/Toolbar/toolbarClasses.d.ts +14 -14
  136. package/Tooltip/tooltipClasses.d.ts +30 -30
  137. package/Typography/typographyClasses.d.ts +50 -50
  138. package/Unstable_Grid2/Grid2.d.ts +4 -4
  139. package/Unstable_Grid2/Grid2Props.d.ts +15 -15
  140. package/Unstable_Grid2/grid2Classes.d.ts +5 -5
  141. package/Unstable_Grid2/index.d.ts +4 -4
  142. package/className/index.d.ts +1 -1
  143. package/darkScrollbar/index.d.ts +28 -28
  144. package/generateUtilityClass/index.d.ts +2 -2
  145. package/generateUtilityClasses/index.d.ts +1 -1
  146. package/index.js +1 -1
  147. package/internal/switchBaseClasses.d.ts +12 -12
  148. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  149. package/legacy/Breadcrumbs/BreadcrumbCollapsed.js +25 -3
  150. package/legacy/Breadcrumbs/Breadcrumbs.js +32 -2
  151. package/legacy/ListItemButton/ListItemButton.js +4 -2
  152. package/legacy/StepButton/StepButton.js +4 -2
  153. package/legacy/TabScrollButton/TabScrollButton.js +43 -8
  154. package/legacy/Tabs/Tabs.js +45 -2
  155. package/legacy/index.js +1 -1
  156. package/legacy/locale/index.js +156 -80
  157. package/legacy/styles/createTypography.js +8 -1
  158. package/legacy/styles/experimental_extendTheme.js +1 -6
  159. package/legacy/styles/index.js +1 -0
  160. package/legacy/styles/shouldSkipGeneratingVar.js +6 -0
  161. package/locale/index.d.ts +76 -75
  162. package/locale/index.js +73 -0
  163. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  164. package/modern/Breadcrumbs/BreadcrumbCollapsed.js +26 -3
  165. package/modern/Breadcrumbs/Breadcrumbs.js +30 -2
  166. package/modern/ListItemButton/ListItemButton.js +4 -2
  167. package/modern/StepButton/StepButton.js +4 -2
  168. package/modern/TabScrollButton/TabScrollButton.js +40 -8
  169. package/modern/Tabs/Tabs.js +43 -2
  170. package/modern/index.js +1 -1
  171. package/modern/locale/index.js +73 -0
  172. package/modern/styles/createTypography.js +8 -1
  173. package/modern/styles/experimental_extendTheme.js +1 -3
  174. package/modern/styles/index.js +1 -0
  175. package/modern/styles/shouldSkipGeneratingVar.js +5 -0
  176. package/node/BottomNavigation/BottomNavigation.js +0 -0
  177. package/node/Breadcrumbs/BreadcrumbCollapsed.js +26 -3
  178. package/node/Breadcrumbs/Breadcrumbs.js +29 -1
  179. package/node/ListItemButton/ListItemButton.js +4 -2
  180. package/node/StepButton/StepButton.js +4 -2
  181. package/node/TabScrollButton/TabScrollButton.js +42 -9
  182. package/node/Tabs/Tabs.js +42 -1
  183. package/node/index.js +1 -1
  184. package/node/locale/index.js +75 -1
  185. package/node/styles/createTypography.js +8 -1
  186. package/node/styles/experimental_extendTheme.js +2 -9
  187. package/node/styles/index.js +8 -0
  188. package/node/styles/shouldSkipGeneratingVar.js +12 -0
  189. package/package.json +5 -5
  190. package/styles/CssVarsProvider.d.ts +15 -15
  191. package/styles/createTypography.js +8 -1
  192. package/styles/excludeVariablesFromRoot.d.ts +5 -5
  193. package/styles/experimental_extendTheme.d.ts +5 -1
  194. package/styles/experimental_extendTheme.js +1 -6
  195. package/styles/getOverlayAlpha.d.ts +2 -2
  196. package/styles/index.d.ts +1 -0
  197. package/styles/index.js +1 -0
  198. package/styles/shouldSkipGeneratingVar.d.ts +1 -0
  199. package/styles/shouldSkipGeneratingVar.js +6 -0
  200. package/transitions/index.d.ts +1 -1
  201. package/transitions/transition.d.ts +13 -13
  202. package/transitions/utils.d.ts +23 -23
  203. package/types/OverridableComponentAugmentation.d.ts +31 -31
  204. package/umd/material-ui.development.js +335 -131
  205. package/umd/material-ui.production.min.js +20 -20
  206. package/useMediaQuery/useMediaQuery.d.ts +46 -46
  207. package/useTouchRipple/index.d.ts +1 -1
  208. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  209. package/utils/getScrollbarSize.d.ts +2 -2
  210. package/utils/ownerDocument.d.ts +2 -2
  211. package/utils/ownerWindow.d.ts +2 -2
  212. package/utils/setRef.d.ts +2 -2
@@ -1,39 +1,39 @@
1
- export interface PaperClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element unless `square={true}`. */
5
- rounded: string;
6
- /** Styles applied to the root element if `variant="outlined"`. */
7
- outlined: string;
8
- /** Styles applied to the root element if `variant="elevation"`. */
9
- elevation: string;
10
- elevation0: string;
11
- elevation1: string;
12
- elevation2: string;
13
- elevation3: string;
14
- elevation4: string;
15
- elevation5: string;
16
- elevation6: string;
17
- elevation7: string;
18
- elevation8: string;
19
- elevation9: string;
20
- elevation10: string;
21
- elevation11: string;
22
- elevation12: string;
23
- elevation13: string;
24
- elevation14: string;
25
- elevation15: string;
26
- elevation16: string;
27
- elevation17: string;
28
- elevation18: string;
29
- elevation19: string;
30
- elevation20: string;
31
- elevation21: string;
32
- elevation22: string;
33
- elevation23: string;
34
- elevation24: string;
35
- }
36
- export type PaperClassKey = keyof PaperClasses;
37
- export declare function getPaperUtilityClass(slot: string): string;
38
- declare const paperClasses: PaperClasses;
39
- export default paperClasses;
1
+ export interface PaperClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element unless `square={true}`. */
5
+ rounded: string;
6
+ /** Styles applied to the root element if `variant="outlined"`. */
7
+ outlined: string;
8
+ /** Styles applied to the root element if `variant="elevation"`. */
9
+ elevation: string;
10
+ elevation0: string;
11
+ elevation1: string;
12
+ elevation2: string;
13
+ elevation3: string;
14
+ elevation4: string;
15
+ elevation5: string;
16
+ elevation6: string;
17
+ elevation7: string;
18
+ elevation8: string;
19
+ elevation9: string;
20
+ elevation10: string;
21
+ elevation11: string;
22
+ elevation12: string;
23
+ elevation13: string;
24
+ elevation14: string;
25
+ elevation15: string;
26
+ elevation16: string;
27
+ elevation17: string;
28
+ elevation18: string;
29
+ elevation19: string;
30
+ elevation20: string;
31
+ elevation21: string;
32
+ elevation22: string;
33
+ elevation23: string;
34
+ elevation24: string;
35
+ }
36
+ export type PaperClassKey = keyof PaperClasses;
37
+ export declare function getPaperUtilityClass(slot: string): string;
38
+ declare const paperClasses: PaperClasses;
39
+ export default paperClasses;
@@ -1,10 +1,10 @@
1
- export interface PopoverClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the Paper component. */
5
- paper: string;
6
- }
7
- export type PopoverClassKey = keyof PopoverClasses;
8
- export declare function getPopoverUtilityClass(slot: string): string;
9
- declare const popoverClasses: PopoverClasses;
10
- export default popoverClasses;
1
+ export interface PopoverClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the Paper component. */
5
+ paper: string;
6
+ }
7
+ export type PopoverClassKey = keyof PopoverClasses;
8
+ export declare function getPopoverUtilityClass(slot: string): string;
9
+ declare const popoverClasses: PopoverClasses;
10
+ export default popoverClasses;
@@ -1,55 +1,55 @@
1
- import { PopperUnstyledProps } from '@mui/base/PopperUnstyled';
2
- import { SxProps } from '@mui/system';
3
- import * as React from 'react';
4
- import { Theme } from '../styles';
5
- export type PopperProps = Omit<PopperUnstyledProps, 'direction'> & {
6
- /**
7
- * The components used for each slot inside the Popper.
8
- * Either a string to use a HTML element or a component.
9
- * @default {}
10
- */
11
- components?: {
12
- Root?: React.ElementType;
13
- };
14
- /**
15
- * The props used for each slot inside the Popper.
16
- * @default {}
17
- */
18
- componentsProps?: PopperUnstyledProps['slotProps'];
19
- /**
20
- * The system prop that allows defining system overrides as well as additional CSS styles.
21
- */
22
- sx?: SxProps<Theme>;
23
- };
24
- /**
25
- *
26
- * Demos:
27
- *
28
- * - [Autocomplete](https://mui.com/material-ui/react-autocomplete/)
29
- * - [Menu](https://mui.com/material-ui/react-menu/)
30
- * - [Popper](https://mui.com/material-ui/react-popper/)
31
- *
32
- * API:
33
- *
34
- * - [Popper API](https://mui.com/material-ui/api/popper/)
35
- */
36
- declare const Popper: React.ForwardRefExoticComponent<Omit<PopperUnstyledProps<"div", {}>, "direction"> & {
37
- /**
38
- * The components used for each slot inside the Popper.
39
- * Either a string to use a HTML element or a component.
40
- * @default {}
41
- */
42
- components?: {
43
- Root?: React.ElementType<any> | undefined;
44
- } | undefined;
45
- /**
46
- * The props used for each slot inside the Popper.
47
- * @default {}
48
- */
49
- componentsProps?: PopperUnstyledProps['slotProps'];
50
- /**
51
- * The system prop that allows defining system overrides as well as additional CSS styles.
52
- */
53
- sx?: SxProps<Theme> | undefined;
54
- } & React.RefAttributes<HTMLDivElement>>;
55
- export default Popper;
1
+ import { PopperUnstyledProps } from '@mui/base/PopperUnstyled';
2
+ import { SxProps } from '@mui/system';
3
+ import * as React from 'react';
4
+ import { Theme } from '../styles';
5
+ export type PopperProps = Omit<PopperUnstyledProps, 'direction'> & {
6
+ /**
7
+ * The components used for each slot inside the Popper.
8
+ * Either a string to use a HTML element or a component.
9
+ * @default {}
10
+ */
11
+ components?: {
12
+ Root?: React.ElementType;
13
+ };
14
+ /**
15
+ * The props used for each slot inside the Popper.
16
+ * @default {}
17
+ */
18
+ componentsProps?: PopperUnstyledProps['slotProps'];
19
+ /**
20
+ * The system prop that allows defining system overrides as well as additional CSS styles.
21
+ */
22
+ sx?: SxProps<Theme>;
23
+ };
24
+ /**
25
+ *
26
+ * Demos:
27
+ *
28
+ * - [Autocomplete](https://mui.com/material-ui/react-autocomplete/)
29
+ * - [Menu](https://mui.com/material-ui/react-menu/)
30
+ * - [Popper](https://mui.com/material-ui/react-popper/)
31
+ *
32
+ * API:
33
+ *
34
+ * - [Popper API](https://mui.com/material-ui/api/popper/)
35
+ */
36
+ declare const Popper: React.ForwardRefExoticComponent<Omit<PopperUnstyledProps<"div", {}>, "direction"> & {
37
+ /**
38
+ * The components used for each slot inside the Popper.
39
+ * Either a string to use a HTML element or a component.
40
+ * @default {}
41
+ */
42
+ components?: {
43
+ Root?: React.ElementType<any> | undefined;
44
+ } | undefined;
45
+ /**
46
+ * The props used for each slot inside the Popper.
47
+ * @default {}
48
+ */
49
+ componentsProps?: PopperUnstyledProps['slotProps'];
50
+ /**
51
+ * The system prop that allows defining system overrides as well as additional CSS styles.
52
+ */
53
+ sx?: SxProps<Theme> | undefined;
54
+ } & React.RefAttributes<HTMLDivElement>>;
55
+ export default Popper;
package/README.md CHANGED
@@ -133,6 +133,7 @@ via [OpenCollective](https://opencollective.com/mui) or via [Patreon](https://ww
133
133
  <p>
134
134
  <a href="https://tidelift.com/subscription/pkg/npm-material-ui?utm_source=npm-material-ui&utm_medium=referral&utm_campaign=homepage" rel="noopener sponsored" target="_blank"><img height="96" width="96" src="https://avatars.githubusercontent.com/u/30204434?s=192" alt="tidelift.com" title="Enterprise-ready open-source software" loading="lazy" /></a>
135
135
  <a href="https://www.text-em-all.com/?utm_source=MUI&utm_medium=referral&utm_content=readme" rel="noopener sponsored" target="_blank"><img src="https://avatars.githubusercontent.com/u/1262264?s=192" alt="text-em-all.com" title="Mass Text Messaging & Automated Calling" height="96" width="96" loading="lazy"></a>
136
+ <a href="https://open.spotify.com/?utm_source=MUI&utm_medium=referral&utm_content=readme" rel="noopener sponsored" target="_blank"><img height="96" width="96" src="https://images.opencollective.com/spotify/f37ea28/logo/192.png" alt="Spotify" title="Music service to access to millions of songs" loading="lazy" /></a>
136
137
  <a href="https://megafamous.com/?utm_source=MUI&utm_medium=referral&utm_content=readme" rel="noopener sponsored" target="_blank"><img height="96" width="96" src="https://mui.com/static/sponsors/megafamous.png" alt="megafamous.com" title="The best place to buy Instagram followers & likes." loading="lazy" /></a>
137
138
  <a href="https://www.dialmycalls.com/?utm_source=MUI&utm_medium=referral&utm_content=readme" rel="noopener sponsored" target="_blank"><img height="96" width="96" src="https://images.opencollective.com/dialmycalls/f5ae9ab/avatar/192.png" alt="dialmycalls.com" title="Send text messages, calls & emails to thousands with ease." loading="lazy" /></a>
138
139
  <a href="https://goread.io/?utm_source=MUI&utm_medium=referral&utm_content=readme" rel="noopener sponsored" target="_blank"><img height="96" width="96" src="https://images.opencollective.com/goread_io/eb6337d/logo/192.png" alt="goread.io" title="Instagram followers, likes, power likes, views, comments, saves in minutes." loading="lazy" /></a>
@@ -217,7 +218,7 @@ These great services sponsor MUI's core infrastructure:
217
218
  <picture>
218
219
  <source media="(prefers-color-scheme: dark)" srcset="/docs/public/static/readme/github-darkmode.svg">
219
220
  <source media="(prefers-color-scheme: light)" srcset="/docs/public/static/readme/github-lightmode.svg">
220
- <img alt="GitHub logo" src="/docs/public/static/readme/github-darkmode.svg">
221
+ <img alt="GitHub logo" src="/docs/public/static/readme/github-lightmode.svg" width="80" height="43">
221
222
  </picture>
222
223
 
223
224
  [GitHub](https://github.com/) lets us host the Git repository and coordinate contributions.
@@ -225,7 +226,7 @@ These great services sponsor MUI's core infrastructure:
225
226
  <picture>
226
227
  <source media="(prefers-color-scheme: dark)" srcset="/docs/public/static/readme/netlify-darkmode.svg">
227
228
  <source media="(prefers-color-scheme: light)" srcset="/docs/public/static/readme/netlify-lightmode.svg">
228
- <img alt="Netlify logo" src="/docs/public/static/readme/netlify-darkmode.svg">
229
+ <img alt="Netlify logo" src="/docs/public/static/readme/netlify-lightmode.svg" width="100" height="27" style="margin-top: 1rem;">
229
230
  </picture>
230
231
 
231
232
  [Netlify](https://www.netlify.com/) lets us distribute the documentation.
@@ -233,11 +234,11 @@ These great services sponsor MUI's core infrastructure:
233
234
  <picture>
234
235
  <source media="(prefers-color-scheme: dark)" srcset="/docs/public/static/readme/browserstack-darkmode.svg">
235
236
  <source media="(prefers-color-scheme: light)" srcset="/docs/public/static/readme/browserstack-lightmode.svg">
236
- <img alt="GitHub logo" src="/docs/public/static/readme/browserstack-darkmode.svg">
237
+ <img alt="BrowserStack logo" src="/docs/public/static/readme/browserstack-lightmode.svg" width="140" height="25" style="margin-top: 1rem;">
237
238
  </picture>
238
239
 
239
240
  [BrowserStack](https://www.browserstack.com/) lets us test in real browsers.
240
241
 
241
- <img loading="lazy" alt="CodeCov logo" src="https://github.com/codecov.png?size=70" width="35" height="35">
242
+ <img loading="lazy" alt="CodeCov logo" src="https://avatars.githubusercontent.com/u/8226205?s=70" width="35" height="35" style="margin-top: 1rem;">
242
243
 
243
244
  [CodeCov](https://about.codecov.io/) lets us monitor test coverage.
@@ -1,16 +1,16 @@
1
- export interface RadioClasses {
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
- /** 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
- }
13
- export type RadioClassKey = keyof RadioClasses;
14
- export declare function getRadioUtilityClass(slot: string): string;
15
- declare const radioClasses: RadioClasses;
16
- export default radioClasses;
1
+ export interface RadioClasses {
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
+ /** 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
+ }
13
+ export type RadioClassKey = keyof RadioClasses;
14
+ export declare function getRadioUtilityClass(slot: string): string;
15
+ declare const radioClasses: RadioClasses;
16
+ export default radioClasses;
@@ -1,11 +1,11 @@
1
- import * as React from 'react';
2
- export interface RadioGroupContextValue {
3
- name: string | undefined;
4
- onChange: (event: React.ChangeEvent<HTMLInputElement>, value: string) => void;
5
- value: any;
6
- }
7
- /**
8
- * @ignore - internal component.
9
- */
10
- declare const RadioGroupContext: React.Context<RadioGroupContextValue | undefined>;
11
- export default RadioGroupContext;
1
+ import * as React from 'react';
2
+ export interface RadioGroupContextValue {
3
+ name: string | undefined;
4
+ onChange: (event: React.ChangeEvent<HTMLInputElement>, value: string) => void;
5
+ value: any;
6
+ }
7
+ /**
8
+ * @ignore - internal component.
9
+ */
10
+ declare const RadioGroupContext: React.Context<RadioGroupContextValue | undefined>;
11
+ export default RadioGroupContext;
@@ -1,4 +1,4 @@
1
- import { RadioGroupContextValue } from './RadioGroupContext';
2
- export interface RadioGroupState extends RadioGroupContextValue {
3
- }
4
- export default function useRadioGroup(): RadioGroupState | undefined;
1
+ import { RadioGroupContextValue } from './RadioGroupContext';
2
+ export interface RadioGroupState extends RadioGroupContextValue {
3
+ }
4
+ export default function useRadioGroup(): RadioGroupState | undefined;
@@ -1,40 +1,40 @@
1
- export interface RatingClasses {
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 `size="large"`. */
9
- sizeLarge: string;
10
- /** Styles applied to the root element if `readOnly={true}`. */
11
- readOnly: string;
12
- /** State class applied to the root element if `disabled={true}`. */
13
- disabled: string;
14
- /** State class applied to the root element if keyboard focused. */
15
- focusVisible: string;
16
- /** Visually hide an element. */
17
- visuallyHidden: string;
18
- /** Styles applied to the label elements. */
19
- label: string;
20
- /** Styles applied to the label of the "no value" input when it is active. */
21
- labelEmptyValueActive: string;
22
- /** Styles applied to the icon wrapping elements. */
23
- icon: string;
24
- /** Styles applied to the icon wrapping elements when empty. */
25
- iconEmpty: string;
26
- /** Styles applied to the icon wrapping elements when filled. */
27
- iconFilled: string;
28
- /** Styles applied to the icon wrapping elements when hover. */
29
- iconHover: string;
30
- /** Styles applied to the icon wrapping elements when focus. */
31
- iconFocus: string;
32
- /** Styles applied to the icon wrapping elements when active. */
33
- iconActive: string;
34
- /** Styles applied to the icon wrapping elements when decimals are necessary. */
35
- decimal: string;
36
- }
37
- export type RatingClassKey = keyof RatingClasses;
38
- export declare function getRatingUtilityClass(slot: string): string;
39
- declare const ratingClasses: RatingClasses;
40
- export default ratingClasses;
1
+ export interface RatingClasses {
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 `size="large"`. */
9
+ sizeLarge: string;
10
+ /** Styles applied to the root element if `readOnly={true}`. */
11
+ readOnly: string;
12
+ /** State class applied to the root element if `disabled={true}`. */
13
+ disabled: string;
14
+ /** State class applied to the root element if keyboard focused. */
15
+ focusVisible: string;
16
+ /** Visually hide an element. */
17
+ visuallyHidden: string;
18
+ /** Styles applied to the label elements. */
19
+ label: string;
20
+ /** Styles applied to the label of the "no value" input when it is active. */
21
+ labelEmptyValueActive: string;
22
+ /** Styles applied to the icon wrapping elements. */
23
+ icon: string;
24
+ /** Styles applied to the icon wrapping elements when empty. */
25
+ iconEmpty: string;
26
+ /** Styles applied to the icon wrapping elements when filled. */
27
+ iconFilled: string;
28
+ /** Styles applied to the icon wrapping elements when hover. */
29
+ iconHover: string;
30
+ /** Styles applied to the icon wrapping elements when focus. */
31
+ iconFocus: string;
32
+ /** Styles applied to the icon wrapping elements when active. */
33
+ iconActive: string;
34
+ /** Styles applied to the icon wrapping elements when decimals are necessary. */
35
+ decimal: string;
36
+ }
37
+ export type RatingClassKey = keyof RatingClasses;
38
+ export declare function getRatingUtilityClass(slot: string): string;
39
+ declare const ratingClasses: RatingClasses;
40
+ export default ratingClasses;
@@ -1,8 +1,8 @@
1
- export interface ScopedCssBaselineClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- }
5
- export type ScopedCssBaselineClassKey = keyof ScopedCssBaselineClasses;
6
- export declare function getScopedCssBaselineUtilityClass(slot: string): string;
7
- declare const scopedCssBaselineClasses: Record<"root", string>;
8
- export default scopedCssBaselineClasses;
1
+ export interface ScopedCssBaselineClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ }
5
+ export type ScopedCssBaselineClassKey = keyof ScopedCssBaselineClasses;
6
+ export declare function getScopedCssBaselineUtilityClass(slot: string): string;
7
+ declare const scopedCssBaselineClasses: Record<"root", string>;
8
+ export default scopedCssBaselineClasses;
@@ -1,30 +1,30 @@
1
- export interface SelectClasses {
2
- /** Styles applied to the select component `select` class. */
3
- select: string;
4
- /** Styles applied to the select component if `multiple={true}`. */
5
- multiple: string;
6
- /** Styles applied to the select component if `variant="filled"`. */
7
- filled: string;
8
- /** Styles applied to the select component if `variant="outlined"`. */
9
- outlined: string;
10
- /** Styles applied to the select component if `variant="standard"`. */
11
- standard: string;
12
- /** State class applied to the select component `disabled` class. */
13
- disabled: string;
14
- /** Styles applied to the icon component. */
15
- icon: string;
16
- /** Styles applied to the icon component if the popup is open. */
17
- iconOpen: string;
18
- /** Styles applied to the icon component if `variant="filled"`. */
19
- iconFilled: string;
20
- /** Styles applied to the icon component if `variant="outlined"`. */
21
- iconOutlined: string;
22
- /** Styles applied to the icon component if `variant="standard"`. */
23
- iconStandard: string;
24
- /** Styles applied to the underlying native input component. */
25
- nativeInput: string;
26
- }
27
- export type SelectClassKey = keyof SelectClasses;
28
- export declare function getSelectUtilityClasses(slot: string): string;
29
- declare const selectClasses: SelectClasses;
30
- export default selectClasses;
1
+ export interface SelectClasses {
2
+ /** Styles applied to the select component `select` class. */
3
+ select: string;
4
+ /** Styles applied to the select component if `multiple={true}`. */
5
+ multiple: string;
6
+ /** Styles applied to the select component if `variant="filled"`. */
7
+ filled: string;
8
+ /** Styles applied to the select component if `variant="outlined"`. */
9
+ outlined: string;
10
+ /** Styles applied to the select component if `variant="standard"`. */
11
+ standard: string;
12
+ /** State class applied to the select component `disabled` class. */
13
+ disabled: string;
14
+ /** Styles applied to the icon component. */
15
+ icon: string;
16
+ /** Styles applied to the icon component if the popup is open. */
17
+ iconOpen: string;
18
+ /** Styles applied to the icon component if `variant="filled"`. */
19
+ iconFilled: string;
20
+ /** Styles applied to the icon component if `variant="outlined"`. */
21
+ iconOutlined: string;
22
+ /** Styles applied to the icon component if `variant="standard"`. */
23
+ iconStandard: string;
24
+ /** Styles applied to the underlying native input component. */
25
+ nativeInput: string;
26
+ }
27
+ export type SelectClassKey = keyof SelectClasses;
28
+ export declare function getSelectUtilityClasses(slot: string): string;
29
+ declare const selectClasses: SelectClasses;
30
+ export default selectClasses;
@@ -1,26 +1,26 @@
1
- export interface SkeletonClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `variant="text"`. */
5
- text: string;
6
- /** Styles applied to the root element if `variant="rectangular"`. */
7
- rectangular: string;
8
- /** Styles applied to the root element if `variant="rounded"`. */
9
- rounded: string;
10
- /** Styles applied to the root element if `variant="circular"`. */
11
- circular: string;
12
- /** Styles applied to the root element if `animation="pulse"`. */
13
- pulse: string;
14
- /** Styles applied to the root element if `animation="wave"`. */
15
- wave: string;
16
- /** Styles applied when the component is passed children. */
17
- withChildren: string;
18
- /** Styles applied when the component is passed children and no width. */
19
- fitContent: string;
20
- /** Styles applied when the component is passed children and no height. */
21
- heightAuto: string;
22
- }
23
- export type SkeletonClassKey = keyof SkeletonClasses;
24
- export declare function getSkeletonUtilityClass(slot: string): string;
25
- declare const skeletonClasses: SkeletonClasses;
26
- export default skeletonClasses;
1
+ export interface SkeletonClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `variant="text"`. */
5
+ text: string;
6
+ /** Styles applied to the root element if `variant="rectangular"`. */
7
+ rectangular: string;
8
+ /** Styles applied to the root element if `variant="rounded"`. */
9
+ rounded: string;
10
+ /** Styles applied to the root element if `variant="circular"`. */
11
+ circular: string;
12
+ /** Styles applied to the root element if `animation="pulse"`. */
13
+ pulse: string;
14
+ /** Styles applied to the root element if `animation="wave"`. */
15
+ wave: string;
16
+ /** Styles applied when the component is passed children. */
17
+ withChildren: string;
18
+ /** Styles applied when the component is passed children and no width. */
19
+ fitContent: string;
20
+ /** Styles applied when the component is passed children and no height. */
21
+ heightAuto: string;
22
+ }
23
+ export type SkeletonClassKey = keyof SkeletonClasses;
24
+ export declare function getSkeletonUtilityClass(slot: string): string;
25
+ declare const skeletonClasses: SkeletonClasses;
26
+ export default skeletonClasses;
@@ -1,15 +1,15 @@
1
- import * as React from 'react';
2
- import PropTypes from 'prop-types';
3
- import { SliderValueLabelProps } from './SliderValueLabel.types';
4
- /**
5
- * @ignore - internal component.
6
- */
7
- declare function SliderValueLabel(props: SliderValueLabelProps): React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
8
- declare namespace SliderValueLabel {
9
- var propTypes: {
10
- children: PropTypes.Validator<PropTypes.ReactElementLike>;
11
- className: PropTypes.Requireable<string>;
12
- value: PropTypes.Requireable<PropTypes.ReactNodeLike>;
13
- };
14
- }
15
- export default SliderValueLabel;
1
+ import * as React from 'react';
2
+ import PropTypes from 'prop-types';
3
+ import { SliderValueLabelProps } from './SliderValueLabel.types';
4
+ /**
5
+ * @ignore - internal component.
6
+ */
7
+ declare function SliderValueLabel(props: SliderValueLabelProps): React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
8
+ declare namespace SliderValueLabel {
9
+ var propTypes: {
10
+ children: PropTypes.Validator<PropTypes.ReactElementLike>;
11
+ className: PropTypes.Requireable<string>;
12
+ value: PropTypes.Requireable<PropTypes.ReactNodeLike>;
13
+ };
14
+ }
15
+ export default SliderValueLabel;
@@ -1,24 +1,24 @@
1
- /// <reference types="react" />
2
- export interface SliderValueLabelProps {
3
- children?: React.ReactElement;
4
- className?: string;
5
- style?: React.CSSProperties;
6
- /**
7
- * If `true`, the value label is visible.
8
- */
9
- open: boolean;
10
- /**
11
- * The value of the slider.
12
- * For ranged sliders, provide an array with two values.
13
- */
14
- value: number;
15
- /**
16
- * Controls when the value label is displayed:
17
- *
18
- * - `auto` the value label will display when the thumb is hovered or focused.
19
- * - `on` will display persistently.
20
- * - `off` will never display.
21
- * @default 'off'
22
- */
23
- valueLabelDisplay?: 'on' | 'auto' | 'off';
24
- }
1
+ /// <reference types="react" />
2
+ export interface SliderValueLabelProps {
3
+ children?: React.ReactElement;
4
+ className?: string;
5
+ style?: React.CSSProperties;
6
+ /**
7
+ * If `true`, the value label is visible.
8
+ */
9
+ open: boolean;
10
+ /**
11
+ * The value of the slider.
12
+ * For ranged sliders, provide an array with two values.
13
+ */
14
+ value: number;
15
+ /**
16
+ * Controls when the value label is displayed:
17
+ *
18
+ * - `auto` the value label will display when the thumb is hovered or focused.
19
+ * - `on` will display persistently.
20
+ * - `off` will never display.
21
+ * @default 'off'
22
+ */
23
+ valueLabelDisplay?: 'on' | 'auto' | 'off';
24
+ }