@mui/material 5.10.4 → 5.10.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 (165) hide show
  1. package/Accordion/accordionClasses.d.ts +18 -18
  2. package/AccordionActions/accordionActionsClasses.d.ts +10 -10
  3. package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
  4. package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
  5. package/Alert/alertClasses.d.ts +44 -44
  6. package/AlertTitle/alertTitleClasses.d.ts +8 -8
  7. package/AppBar/appBarClasses.d.ts +28 -28
  8. package/Autocomplete/autocompleteClasses.d.ts +54 -54
  9. package/Avatar/avatarClasses.d.ts +20 -20
  10. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  11. package/Backdrop/backdropClasses.d.ts +10 -10
  12. package/Badge/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/breadcrumbsClasses.d.ts +14 -14
  17. package/Button/buttonClasses.d.ts +100 -100
  18. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  19. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  20. package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
  21. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  22. package/CHANGELOG.md +121 -0
  23. package/Card/cardClasses.d.ts +8 -8
  24. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  25. package/CardActions/cardActionsClasses.d.ts +10 -10
  26. package/CardContent/cardContentClasses.d.ts +8 -8
  27. package/CardHeader/CardHeader.js +1 -3
  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 +88 -88
  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/filledInputClasses.d.ts +40 -40
  46. package/FormControl/formControlClasses.d.ts +14 -14
  47. package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
  48. package/FormGroup/formGroupClasses.d.ts +12 -12
  49. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  50. package/FormLabel/formLabelClasses.d.ts +22 -22
  51. package/Grid/gridClasses.d.ts +48 -48
  52. package/Icon/iconClasses.d.ts +24 -24
  53. package/IconButton/iconButtonClasses.d.ts +26 -26
  54. package/ImageList/imageListClasses.d.ts +16 -16
  55. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  56. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  57. package/Input/inputClasses.d.ts +34 -34
  58. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  59. package/InputBase/inputBaseClasses.d.ts +46 -46
  60. package/InputLabel/inputLabelClasses.d.ts +32 -32
  61. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  62. package/Link/getTextDecoration.d.ts +15 -15
  63. package/Link/linkClasses.d.ts +18 -18
  64. package/List/listClasses.d.ts +14 -14
  65. package/ListItem/listItemClasses.d.ts +30 -30
  66. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  67. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  68. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  69. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  70. package/ListItemText/ListItemText.js +1 -1
  71. package/ListItemText/listItemTextClasses.d.ts +18 -18
  72. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  73. package/Menu/menuClasses.d.ts +12 -12
  74. package/MenuItem/menuItemClasses.d.ts +20 -20
  75. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  76. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  77. package/OutlinedInput/NotchedOutline.js +2 -2
  78. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  79. package/OverridableComponentAugmentation.d.ts +31 -31
  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 +24 -24
  85. package/README.md +3 -2
  86. package/Radio/radioClasses.d.ts +16 -16
  87. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  88. package/RadioGroup/useRadioGroup.d.ts +4 -4
  89. package/Rating/ratingClasses.d.ts +40 -40
  90. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  91. package/Select/selectClasses.d.ts +30 -30
  92. package/Skeleton/skeletonClasses.d.ts +26 -26
  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/tabsClasses.d.ts +32 -32
  121. package/TextField/textFieldClasses.d.ts +8 -8
  122. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  123. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  124. package/Toolbar/toolbarClasses.d.ts +14 -14
  125. package/Tooltip/tooltipClasses.d.ts +30 -30
  126. package/Typography/typographyClasses.d.ts +50 -50
  127. package/Unstable_Grid2/Grid2.d.ts +4 -4
  128. package/Unstable_Grid2/Grid2Props.d.ts +15 -15
  129. package/Unstable_Grid2/grid2Classes.d.ts +5 -5
  130. package/Unstable_Grid2/index.d.ts +4 -4
  131. package/className/index.d.ts +1 -1
  132. package/darkScrollbar/index.d.ts +28 -28
  133. package/esm/BottomNavigation/BottomNavigation.js +0 -0
  134. package/esm/CardHeader/CardHeader.js +1 -3
  135. package/esm/ListItemText/ListItemText.js +1 -1
  136. package/esm/OutlinedInput/NotchedOutline.js +2 -2
  137. package/esm/index.js +2 -1
  138. package/index.d.ts +3 -0
  139. package/index.js +11 -2
  140. package/internal/switchBaseClasses.d.ts +12 -12
  141. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  142. package/legacy/CardHeader/CardHeader.js +1 -3
  143. package/legacy/ListItemText/ListItemText.js +1 -1
  144. package/legacy/OutlinedInput/NotchedOutline.js +2 -2
  145. package/legacy/index.js +3 -2
  146. package/locale/index.d.ts +71 -71
  147. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  148. package/modern/CardHeader/CardHeader.js +1 -3
  149. package/modern/ListItemText/ListItemText.js +1 -1
  150. package/modern/OutlinedInput/NotchedOutline.js +2 -2
  151. package/modern/index.js +3 -2
  152. package/package.json +6 -6
  153. package/styles/CssVarsProvider.d.ts +14 -14
  154. package/transitions/index.d.ts +1 -1
  155. package/transitions/transition.d.ts +13 -13
  156. package/transitions/utils.d.ts +23 -23
  157. package/umd/material-ui.development.js +37 -54
  158. package/umd/material-ui.production.min.js +20 -20
  159. package/useMediaQuery/useMediaQuery.d.ts +31 -31
  160. package/useTouchRipple/index.d.ts +1 -1
  161. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  162. package/utils/getScrollbarSize.d.ts +2 -2
  163. package/utils/ownerDocument.d.ts +2 -2
  164. package/utils/ownerWindow.d.ts +2 -2
  165. package/utils/setRef.d.ts +2 -2
@@ -1,30 +1,30 @@
1
- export interface TooltipClasses {
2
- /** Styles applied to the Popper component. */
3
- popper: string;
4
- /** Styles applied to the Popper component unless `disableInteractive={true}`. */
5
- popperInteractive: string;
6
- /** Styles applied to the Popper component if `arrow={true}`. */
7
- popperArrow: string;
8
- /** Styles applied to the Popper component unless the tooltip is open. */
9
- popperClose: string;
10
- /** Styles applied to the tooltip (label wrapper) element. */
11
- tooltip: string;
12
- /** Styles applied to the tooltip (label wrapper) element if `arrow={true}`. */
13
- tooltipArrow: string;
14
- /** Styles applied to the arrow element. */
15
- arrow: string;
16
- /** Styles applied to the tooltip (label wrapper) element if the tooltip is opened by touch. */
17
- touch: string;
18
- /** Styles applied to the tooltip (label wrapper) element if `placement` contains "left". */
19
- tooltipPlacementLeft: string;
20
- /** Styles applied to the tooltip (label wrapper) element if `placement` contains "right". */
21
- tooltipPlacementRight: string;
22
- /** Styles applied to the tooltip (label wrapper) element if `placement` contains "top". */
23
- tooltipPlacementTop: string;
24
- /** Styles applied to the tooltip (label wrapper) element if `placement` contains "bottom". */
25
- tooltipPlacementBottom: string;
26
- }
27
- export declare type TooltipClassKey = keyof TooltipClasses;
28
- export declare function getTooltipUtilityClass(slot: string): string;
29
- declare const tooltipClasses: TooltipClasses;
30
- export default tooltipClasses;
1
+ export interface TooltipClasses {
2
+ /** Styles applied to the Popper component. */
3
+ popper: string;
4
+ /** Styles applied to the Popper component unless `disableInteractive={true}`. */
5
+ popperInteractive: string;
6
+ /** Styles applied to the Popper component if `arrow={true}`. */
7
+ popperArrow: string;
8
+ /** Styles applied to the Popper component unless the tooltip is open. */
9
+ popperClose: string;
10
+ /** Styles applied to the tooltip (label wrapper) element. */
11
+ tooltip: string;
12
+ /** Styles applied to the tooltip (label wrapper) element if `arrow={true}`. */
13
+ tooltipArrow: string;
14
+ /** Styles applied to the arrow element. */
15
+ arrow: string;
16
+ /** Styles applied to the tooltip (label wrapper) element if the tooltip is opened by touch. */
17
+ touch: string;
18
+ /** Styles applied to the tooltip (label wrapper) element if `placement` contains "left". */
19
+ tooltipPlacementLeft: string;
20
+ /** Styles applied to the tooltip (label wrapper) element if `placement` contains "right". */
21
+ tooltipPlacementRight: string;
22
+ /** Styles applied to the tooltip (label wrapper) element if `placement` contains "top". */
23
+ tooltipPlacementTop: string;
24
+ /** Styles applied to the tooltip (label wrapper) element if `placement` contains "bottom". */
25
+ tooltipPlacementBottom: string;
26
+ }
27
+ export declare type TooltipClassKey = keyof TooltipClasses;
28
+ export declare function getTooltipUtilityClass(slot: string): string;
29
+ declare const tooltipClasses: TooltipClasses;
30
+ export default tooltipClasses;
@@ -1,50 +1,50 @@
1
- export interface TypographyClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `variant="body2"`. */
5
- body2: string;
6
- /** Styles applied to the root element if `variant="body1"`. */
7
- body1: string;
8
- /** Styles applied to the root element if `variant="caption"`. */
9
- caption: string;
10
- /** Styles applied to the root element if `variant="button"`. */
11
- button: string;
12
- /** Styles applied to the root element if `variant="h1"`. */
13
- h1: string;
14
- /** Styles applied to the root element if `variant="h2"`. */
15
- h2: string;
16
- /** Styles applied to the root element if `variant="h3"`. */
17
- h3: string;
18
- /** Styles applied to the root element if `variant="h4"`. */
19
- h4: string;
20
- /** Styles applied to the root element if `variant="h5"`. */
21
- h5: string;
22
- /** Styles applied to the root element if `variant="h6"`. */
23
- h6: string;
24
- /** Styles applied to the root element if `variant="subtitle1"`. */
25
- subtitle1: string;
26
- /** Styles applied to the root element if `variant="subtitle2"`. */
27
- subtitle2: string;
28
- /** Styles applied to the root element if `variant="overline"`. */
29
- overline: string;
30
- /** Styles applied to the root element if `variant="inherit"`. */
31
- inherit: string;
32
- /** Styles applied to the root element if `align="left"`. */
33
- alignLeft: string;
34
- /** Styles applied to the root element if `align="center"`. */
35
- alignCenter: string;
36
- /** Styles applied to the root element if `align="right"`. */
37
- alignRight: string;
38
- /** Styles applied to the root element if `align="justify"`. */
39
- alignJustify: string;
40
- /** Styles applied to the root element if `nowrap={true}`. */
41
- noWrap: string;
42
- /** Styles applied to the root element if `gutterBottom={true}`. */
43
- gutterBottom: string;
44
- /** Styles applied to the root element if `paragraph={true}`. */
45
- paragraph: string;
46
- }
47
- export declare type TypographyClassKey = keyof TypographyClasses;
48
- export declare function getTypographyUtilityClass(slot: string): string;
49
- declare const typographyClasses: TypographyClasses;
50
- export default typographyClasses;
1
+ export interface TypographyClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `variant="body2"`. */
5
+ body2: string;
6
+ /** Styles applied to the root element if `variant="body1"`. */
7
+ body1: string;
8
+ /** Styles applied to the root element if `variant="caption"`. */
9
+ caption: string;
10
+ /** Styles applied to the root element if `variant="button"`. */
11
+ button: string;
12
+ /** Styles applied to the root element if `variant="h1"`. */
13
+ h1: string;
14
+ /** Styles applied to the root element if `variant="h2"`. */
15
+ h2: string;
16
+ /** Styles applied to the root element if `variant="h3"`. */
17
+ h3: string;
18
+ /** Styles applied to the root element if `variant="h4"`. */
19
+ h4: string;
20
+ /** Styles applied to the root element if `variant="h5"`. */
21
+ h5: string;
22
+ /** Styles applied to the root element if `variant="h6"`. */
23
+ h6: string;
24
+ /** Styles applied to the root element if `variant="subtitle1"`. */
25
+ subtitle1: string;
26
+ /** Styles applied to the root element if `variant="subtitle2"`. */
27
+ subtitle2: string;
28
+ /** Styles applied to the root element if `variant="overline"`. */
29
+ overline: string;
30
+ /** Styles applied to the root element if `variant="inherit"`. */
31
+ inherit: string;
32
+ /** Styles applied to the root element if `align="left"`. */
33
+ alignLeft: string;
34
+ /** Styles applied to the root element if `align="center"`. */
35
+ alignCenter: string;
36
+ /** Styles applied to the root element if `align="right"`. */
37
+ alignRight: string;
38
+ /** Styles applied to the root element if `align="justify"`. */
39
+ alignJustify: string;
40
+ /** Styles applied to the root element if `nowrap={true}`. */
41
+ noWrap: string;
42
+ /** Styles applied to the root element if `gutterBottom={true}`. */
43
+ gutterBottom: string;
44
+ /** Styles applied to the root element if `paragraph={true}`. */
45
+ paragraph: string;
46
+ }
47
+ export declare type TypographyClassKey = keyof TypographyClasses;
48
+ export declare function getTypographyUtilityClass(slot: string): string;
49
+ declare const typographyClasses: TypographyClasses;
50
+ export default typographyClasses;
@@ -1,4 +1,4 @@
1
- import { OverridableComponent } from '@mui/types';
2
- import { Grid2TypeMap } from './Grid2Props';
3
- declare const Grid2: OverridableComponent<Grid2TypeMap<{}, "div">>;
4
- export default Grid2;
1
+ import { OverridableComponent } from '@mui/types';
2
+ import { Grid2TypeMap } from './Grid2Props';
3
+ declare const Grid2: OverridableComponent<Grid2TypeMap<{}, "div">>;
4
+ export default Grid2;
@@ -1,15 +1,15 @@
1
- import React from 'react';
2
- import { OverrideProps } from '@mui/types';
3
- import { SxProps, SystemProps } from '@mui/system';
4
- import { GridBaseProps } from '@mui/system/Unstable_Grid';
5
- import { Theme } from '../styles';
6
- export declare type Grid2Slot = 'root';
7
- export interface Grid2TypeMap<P = {}, D extends React.ElementType = 'div'> {
8
- props: P & GridBaseProps & {
9
- sx?: SxProps<Theme>;
10
- } & SystemProps<Theme>;
11
- defaultComponent: D;
12
- }
13
- export declare type Grid2Props<D extends React.ElementType = Grid2TypeMap['defaultComponent'], P = {
14
- component?: React.ElementType;
15
- }> = OverrideProps<Grid2TypeMap<P, D>, D>;
1
+ import React from 'react';
2
+ import { OverrideProps } from '@mui/types';
3
+ import { SxProps, SystemProps } from '@mui/system';
4
+ import { GridBaseProps } from '@mui/system/Unstable_Grid';
5
+ import { Theme } from '../styles';
6
+ export declare type Grid2Slot = 'root';
7
+ export interface Grid2TypeMap<P = {}, D extends React.ElementType = 'div'> {
8
+ props: P & GridBaseProps & {
9
+ sx?: SxProps<Theme>;
10
+ } & SystemProps<Theme>;
11
+ defaultComponent: D;
12
+ }
13
+ export declare type Grid2Props<D extends React.ElementType = Grid2TypeMap['defaultComponent'], P = {
14
+ component?: React.ElementType;
15
+ }> = OverrideProps<Grid2TypeMap<P, D>, D>;
@@ -1,5 +1,5 @@
1
- import { GridClasses } from '@mui/system/Unstable_Grid';
2
- export declare type Grid2ClassKey = keyof GridClasses;
3
- export declare function getGrid2UtilityClass(slot: string): string;
4
- declare const grid2Classes: GridClasses;
5
- export default grid2Classes;
1
+ import { GridClasses } from '@mui/system/Unstable_Grid';
2
+ export declare type Grid2ClassKey = keyof GridClasses;
3
+ export declare function getGrid2UtilityClass(slot: string): string;
4
+ declare const grid2Classes: GridClasses;
5
+ export default grid2Classes;
@@ -1,4 +1,4 @@
1
- export { default } from './Grid2';
2
- export * from './Grid2Props';
3
- export { default as grid2Classes } from './grid2Classes';
4
- export * from './grid2Classes';
1
+ export { default } from './Grid2';
2
+ export * from './Grid2Props';
3
+ export { default as grid2Classes } from './grid2Classes';
4
+ export * from './grid2Classes';
@@ -1 +1 @@
1
- export { unstable_ClassNameGenerator } from '@mui/utils';
1
+ export { unstable_ClassNameGenerator } from '@mui/utils';
@@ -1,28 +1,28 @@
1
- export default function darkScrollbar(options?: {
2
- track: string;
3
- thumb: string;
4
- active: string;
5
- }): {
6
- scrollbarColor: string;
7
- '&::-webkit-scrollbar, & *::-webkit-scrollbar': {
8
- backgroundColor: string;
9
- };
10
- '&::-webkit-scrollbar-thumb, & *::-webkit-scrollbar-thumb': {
11
- borderRadius: number;
12
- backgroundColor: string;
13
- minHeight: number;
14
- border: string;
15
- };
16
- '&::-webkit-scrollbar-thumb:focus, & *::-webkit-scrollbar-thumb:focus': {
17
- backgroundColor: string;
18
- };
19
- '&::-webkit-scrollbar-thumb:active, & *::-webkit-scrollbar-thumb:active': {
20
- backgroundColor: string;
21
- };
22
- '&::-webkit-scrollbar-thumb:hover, & *::-webkit-scrollbar-thumb:hover': {
23
- backgroundColor: string;
24
- };
25
- '&::-webkit-scrollbar-corner, & *::-webkit-scrollbar-corner': {
26
- backgroundColor: string;
27
- };
28
- };
1
+ export default function darkScrollbar(options?: {
2
+ track: string;
3
+ thumb: string;
4
+ active: string;
5
+ }): {
6
+ scrollbarColor: string;
7
+ '&::-webkit-scrollbar, & *::-webkit-scrollbar': {
8
+ backgroundColor: string;
9
+ };
10
+ '&::-webkit-scrollbar-thumb, & *::-webkit-scrollbar-thumb': {
11
+ borderRadius: number;
12
+ backgroundColor: string;
13
+ minHeight: number;
14
+ border: string;
15
+ };
16
+ '&::-webkit-scrollbar-thumb:focus, & *::-webkit-scrollbar-thumb:focus': {
17
+ backgroundColor: string;
18
+ };
19
+ '&::-webkit-scrollbar-thumb:active, & *::-webkit-scrollbar-thumb:active': {
20
+ backgroundColor: string;
21
+ };
22
+ '&::-webkit-scrollbar-thumb:hover, & *::-webkit-scrollbar-thumb:hover': {
23
+ backgroundColor: string;
24
+ };
25
+ '&::-webkit-scrollbar-corner, & *::-webkit-scrollbar-corner': {
26
+ backgroundColor: string;
27
+ };
28
+ };
File without changes
@@ -176,9 +176,7 @@ process.env.NODE_ENV !== "production" ? CardHeader.propTypes
176
176
  * The component used for the root node.
177
177
  * Either a string to use a HTML element or a component.
178
178
  */
179
- component: PropTypes
180
- /* @typescript-to-proptypes-ignore */
181
- .elementType,
179
+ component: PropTypes.elementType,
182
180
 
183
181
  /**
184
182
  * If `true`, `subheader` and `title` won't be wrapped by a Typography component.
@@ -93,7 +93,7 @@ const ListItemText = /*#__PURE__*/React.forwardRef(function ListItemText(inProps
93
93
  primary = /*#__PURE__*/_jsx(Typography, _extends({
94
94
  variant: dense ? 'body2' : 'body1',
95
95
  className: classes.primary,
96
- component: "span",
96
+ component: primaryTypographyProps != null && primaryTypographyProps.variant ? undefined : 'span',
97
97
  display: "block"
98
98
  }, primaryTypographyProps, {
99
99
  children: primary
@@ -30,6 +30,8 @@ const NotchedOutlineLegend = styled('legend')(({
30
30
  }) => _extends({
31
31
  float: 'unset',
32
32
  // Fix conflict with bootstrap
33
+ width: 'auto',
34
+ // Fix conflict with bootstrap
33
35
  overflow: 'hidden'
34
36
  }, !ownerState.withLabel && {
35
37
  padding: 0,
@@ -42,8 +44,6 @@ const NotchedOutlineLegend = styled('legend')(({
42
44
  }, ownerState.withLabel && _extends({
43
45
  display: 'block',
44
46
  // Fix conflict with normalize.css and sanitize.css
45
- width: 'auto',
46
- // Fix conflict with bootstrap
47
47
  padding: 0,
48
48
  height: 11,
49
49
  // sync with `lineHeight` in `legend` styles
package/esm/index.js CHANGED
@@ -275,4 +275,5 @@ export { StyledEngineProvider } from './styles';
275
275
  export { default as unstable_composeClasses } from '@mui/base/composeClasses';
276
276
  export { default as generateUtilityClass } from '@mui/base/generateUtilityClass';
277
277
  export * from '@mui/base/generateUtilityClass';
278
- export { default as generateUtilityClasses } from '@mui/base/generateUtilityClasses';
278
+ export { default as generateUtilityClasses } from '@mui/base/generateUtilityClasses';
279
+ export { default as Unstable_TrapFocus } from './Unstable_TrapFocus';
package/index.d.ts CHANGED
@@ -487,3 +487,6 @@ export { default as generateUtilityClass } from '@mui/base/generateUtilityClass'
487
487
  export * from '@mui/base/generateUtilityClass';
488
488
 
489
489
  export { default as generateUtilityClasses } from '@mui/base/generateUtilityClasses';
490
+
491
+ export { default as Unstable_TrapFocus } from './Unstable_TrapFocus';
492
+ export * from './Unstable_TrapFocus';
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.10.4
1
+ /** @license MUI v5.10.6
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -149,7 +149,8 @@ var _exportNames = {
149
149
  GlobalStyles: true,
150
150
  unstable_composeClasses: true,
151
151
  generateUtilityClass: true,
152
- generateUtilityClasses: true
152
+ generateUtilityClasses: true,
153
+ Unstable_TrapFocus: true
153
154
  };
154
155
  Object.defineProperty(exports, "Accordion", {
155
156
  enumerable: true,
@@ -925,6 +926,12 @@ Object.defineProperty(exports, "Unstable_Grid2", {
925
926
  return _Unstable_Grid.default;
926
927
  }
927
928
  });
929
+ Object.defineProperty(exports, "Unstable_TrapFocus", {
930
+ enumerable: true,
931
+ get: function () {
932
+ return _Unstable_TrapFocus.default;
933
+ }
934
+ });
928
935
  Object.defineProperty(exports, "Zoom", {
929
936
  enumerable: true,
930
937
  get: function () {
@@ -2895,6 +2902,8 @@ Object.keys(_generateUtilityClass).forEach(function (key) {
2895
2902
 
2896
2903
  var _generateUtilityClasses = _interopRequireDefault(require("@mui/base/generateUtilityClasses"));
2897
2904
 
2905
+ var _Unstable_TrapFocus = _interopRequireDefault(require("./Unstable_TrapFocus"));
2906
+
2898
2907
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
2899
2908
 
2900
2909
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -1,12 +1,12 @@
1
- export interface SwitchBaseClasses {
2
- root: string;
3
- checked: string;
4
- disabled: string;
5
- input: string;
6
- edgeStart: string;
7
- edgeEnd: string;
8
- }
9
- export declare type SwitchBaseClassKey = keyof SwitchBaseClasses;
10
- export declare function getSwitchBaseUtilityClass(slot: string): string;
11
- declare const switchBaseClasses: SwitchBaseClasses;
12
- export default switchBaseClasses;
1
+ export interface SwitchBaseClasses {
2
+ root: string;
3
+ checked: string;
4
+ disabled: string;
5
+ input: string;
6
+ edgeStart: string;
7
+ edgeEnd: string;
8
+ }
9
+ export declare type SwitchBaseClassKey = keyof SwitchBaseClasses;
10
+ export declare function getSwitchBaseUtilityClass(slot: string): string;
11
+ declare const switchBaseClasses: SwitchBaseClasses;
12
+ export default switchBaseClasses;
File without changes
@@ -181,9 +181,7 @@ process.env.NODE_ENV !== "production" ? CardHeader.propTypes
181
181
  * The component used for the root node.
182
182
  * Either a string to use a HTML element or a component.
183
183
  */
184
- component: PropTypes
185
- /* @typescript-to-proptypes-ignore */
186
- .elementType,
184
+ component: PropTypes.elementType,
187
185
 
188
186
  /**
189
187
  * If `true`, `subheader` and `title` won't be wrapped by a Typography component.
@@ -86,7 +86,7 @@ var ListItemText = /*#__PURE__*/React.forwardRef(function ListItemText(inProps,
86
86
  primary = /*#__PURE__*/_jsx(Typography, _extends({
87
87
  variant: dense ? 'body2' : 'body1',
88
88
  className: classes.primary,
89
- component: "span",
89
+ component: primaryTypographyProps != null && primaryTypographyProps.variant ? undefined : 'span',
90
90
  display: "block"
91
91
  }, primaryTypographyProps, {
92
92
  children: primary
@@ -29,6 +29,8 @@ var NotchedOutlineLegend = styled('legend')(function (_ref) {
29
29
  return _extends({
30
30
  float: 'unset',
31
31
  // Fix conflict with bootstrap
32
+ width: 'auto',
33
+ // Fix conflict with bootstrap
32
34
  overflow: 'hidden'
33
35
  }, !ownerState.withLabel && {
34
36
  padding: 0,
@@ -41,8 +43,6 @@ var NotchedOutlineLegend = styled('legend')(function (_ref) {
41
43
  }, ownerState.withLabel && _extends({
42
44
  display: 'block',
43
45
  // Fix conflict with normalize.css and sanitize.css
44
- width: 'auto',
45
- // Fix conflict with bootstrap
46
46
  padding: 0,
47
47
  height: 11,
48
48
  // sync with `lineHeight` in `legend` styles
package/legacy/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.10.4
1
+ /** @license MUI v5.10.6
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -280,4 +280,5 @@ export { StyledEngineProvider } from './styles';
280
280
  export { default as unstable_composeClasses } from '@mui/base/composeClasses';
281
281
  export { default as generateUtilityClass } from '@mui/base/generateUtilityClass';
282
282
  export * from '@mui/base/generateUtilityClass';
283
- export { default as generateUtilityClasses } from '@mui/base/generateUtilityClasses';
283
+ export { default as generateUtilityClasses } from '@mui/base/generateUtilityClasses';
284
+ export { default as Unstable_TrapFocus } from './Unstable_TrapFocus';
package/locale/index.d.ts CHANGED
@@ -1,71 +1,71 @@
1
- import { ComponentsPropsList } from '../styles/props';
2
- export interface Localization {
3
- components?: {
4
- MuiAlert?: {
5
- defaultProps: Pick<ComponentsPropsList['MuiAlert'], 'closeText'>;
6
- };
7
- MuiBreadcrumbs?: {
8
- defaultProps: Pick<ComponentsPropsList['MuiBreadcrumbs'], 'expandText'>;
9
- };
10
- MuiTablePagination?: {
11
- defaultProps: Pick<ComponentsPropsList['MuiTablePagination'], 'labelRowsPerPage' | 'labelDisplayedRows' | 'getItemAriaLabel'>;
12
- };
13
- MuiRating?: {
14
- defaultProps: Pick<ComponentsPropsList['MuiRating'], 'emptyLabelText' | 'getLabelText'>;
15
- };
16
- MuiAutocomplete?: {
17
- defaultProps: Pick<ComponentsPropsList['MuiAutocomplete'], 'clearText' | 'closeText' | 'loadingText' | 'noOptionsText' | 'openText'>;
18
- };
19
- MuiPagination?: {
20
- defaultProps: Pick<ComponentsPropsList['MuiPagination'], 'aria-label' | 'getItemAriaLabel'>;
21
- };
22
- };
23
- }
24
- export declare const amET: Localization;
25
- export declare const arEG: Localization;
26
- export declare const arSD: Localization;
27
- export declare const azAZ: Localization;
28
- export declare const bnBD: Localization;
29
- export declare const bgBG: Localization;
30
- export declare const caES: Localization;
31
- export declare const csCZ: Localization;
32
- export declare const daDK: Localization;
33
- export declare const deDE: Localization;
34
- export declare const elGR: Localization;
35
- export declare const enUS: Localization;
36
- export declare const esES: Localization;
37
- export declare const etEE: Localization;
38
- export declare const faIR: Localization;
39
- export declare const fiFI: Localization;
40
- export declare const frFR: Localization;
41
- export declare const heIL: Localization;
42
- export declare const hiIN: Localization;
43
- export declare const hrHR: Localization;
44
- export declare const huHU: Localization;
45
- export declare const hyAM: Localization;
46
- export declare const idID: Localization;
47
- export declare const isIS: Localization;
48
- export declare const itIT: Localization;
49
- export declare const jaJP: Localization;
50
- export declare const khKH: Localization;
51
- export declare const koKR: Localization;
52
- export declare const kzKZ: Localization;
53
- export declare const mkMK: Localization;
54
- export declare const nbNO: Localization;
55
- export declare const nlNL: Localization;
56
- export declare const plPL: Localization;
57
- export declare const ptBR: Localization;
58
- export declare const ptPT: Localization;
59
- export declare const roRO: Localization;
60
- export declare const srRS: Localization;
61
- export declare const ruRU: Localization;
62
- export declare const siLK: Localization;
63
- export declare const skSK: Localization;
64
- export declare const svSE: Localization;
65
- export declare const thTH: Localization;
66
- export declare const trTR: Localization;
67
- export declare const ukUA: Localization;
68
- export declare const viVN: Localization;
69
- export declare const zhCN: Localization;
70
- export declare const zhHK: Localization;
71
- export declare const zhTW: Localization;
1
+ import { ComponentsPropsList } from '../styles/props';
2
+ export interface Localization {
3
+ components?: {
4
+ MuiAlert?: {
5
+ defaultProps: Pick<ComponentsPropsList['MuiAlert'], 'closeText'>;
6
+ };
7
+ MuiBreadcrumbs?: {
8
+ defaultProps: Pick<ComponentsPropsList['MuiBreadcrumbs'], 'expandText'>;
9
+ };
10
+ MuiTablePagination?: {
11
+ defaultProps: Pick<ComponentsPropsList['MuiTablePagination'], 'labelRowsPerPage' | 'labelDisplayedRows' | 'getItemAriaLabel'>;
12
+ };
13
+ MuiRating?: {
14
+ defaultProps: Pick<ComponentsPropsList['MuiRating'], 'emptyLabelText' | 'getLabelText'>;
15
+ };
16
+ MuiAutocomplete?: {
17
+ defaultProps: Pick<ComponentsPropsList['MuiAutocomplete'], 'clearText' | 'closeText' | 'loadingText' | 'noOptionsText' | 'openText'>;
18
+ };
19
+ MuiPagination?: {
20
+ defaultProps: Pick<ComponentsPropsList['MuiPagination'], 'aria-label' | 'getItemAriaLabel'>;
21
+ };
22
+ };
23
+ }
24
+ export declare const amET: Localization;
25
+ export declare const arEG: Localization;
26
+ export declare const arSD: Localization;
27
+ export declare const azAZ: Localization;
28
+ export declare const bnBD: Localization;
29
+ export declare const bgBG: Localization;
30
+ export declare const caES: Localization;
31
+ export declare const csCZ: Localization;
32
+ export declare const daDK: Localization;
33
+ export declare const deDE: Localization;
34
+ export declare const elGR: Localization;
35
+ export declare const enUS: Localization;
36
+ export declare const esES: Localization;
37
+ export declare const etEE: Localization;
38
+ export declare const faIR: Localization;
39
+ export declare const fiFI: Localization;
40
+ export declare const frFR: Localization;
41
+ export declare const heIL: Localization;
42
+ export declare const hiIN: Localization;
43
+ export declare const hrHR: Localization;
44
+ export declare const huHU: Localization;
45
+ export declare const hyAM: Localization;
46
+ export declare const idID: Localization;
47
+ export declare const isIS: Localization;
48
+ export declare const itIT: Localization;
49
+ export declare const jaJP: Localization;
50
+ export declare const khKH: Localization;
51
+ export declare const koKR: Localization;
52
+ export declare const kzKZ: Localization;
53
+ export declare const mkMK: Localization;
54
+ export declare const nbNO: Localization;
55
+ export declare const nlNL: Localization;
56
+ export declare const plPL: Localization;
57
+ export declare const ptBR: Localization;
58
+ export declare const ptPT: Localization;
59
+ export declare const roRO: Localization;
60
+ export declare const srRS: Localization;
61
+ export declare const ruRU: Localization;
62
+ export declare const siLK: Localization;
63
+ export declare const skSK: Localization;
64
+ export declare const svSE: Localization;
65
+ export declare const thTH: Localization;
66
+ export declare const trTR: Localization;
67
+ export declare const ukUA: Localization;
68
+ export declare const viVN: Localization;
69
+ export declare const zhCN: Localization;
70
+ export declare const zhHK: Localization;
71
+ export declare const zhTW: Localization;
File without changes
@@ -176,9 +176,7 @@ process.env.NODE_ENV !== "production" ? CardHeader.propTypes
176
176
  * The component used for the root node.
177
177
  * Either a string to use a HTML element or a component.
178
178
  */
179
- component: PropTypes
180
- /* @typescript-to-proptypes-ignore */
181
- .elementType,
179
+ component: PropTypes.elementType,
182
180
 
183
181
  /**
184
182
  * If `true`, `subheader` and `title` won't be wrapped by a Typography component.
@@ -93,7 +93,7 @@ const ListItemText = /*#__PURE__*/React.forwardRef(function ListItemText(inProps
93
93
  primary = /*#__PURE__*/_jsx(Typography, _extends({
94
94
  variant: dense ? 'body2' : 'body1',
95
95
  className: classes.primary,
96
- component: "span",
96
+ component: primaryTypographyProps?.variant ? undefined : 'span',
97
97
  display: "block"
98
98
  }, primaryTypographyProps, {
99
99
  children: primary