@mui/material 5.8.4 → 5.8.7
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.
- package/Accordion/accordionClasses.d.ts +18 -18
- package/AccordionActions/accordionActionsClasses.d.ts +10 -10
- package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
- package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
- package/Alert/Alert.js +19 -11
- package/Alert/alertClasses.d.ts +44 -44
- package/AlertTitle/alertTitleClasses.d.ts +8 -8
- package/AppBar/AppBar.js +22 -5
- package/AppBar/appBarClasses.d.ts +28 -28
- package/Autocomplete/Autocomplete.d.ts +2 -0
- package/Autocomplete/Autocomplete.js +12 -8
- package/Autocomplete/autocompleteClasses.d.ts +54 -54
- package/Avatar/Avatar.js +7 -4
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/Backdrop/backdropClasses.d.ts +10 -10
- package/Badge/Badge.js +2 -2
- package/Badge/badgeClasses.d.ts +56 -56
- package/BottomNavigation/BottomNavigation.js +0 -0
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
- package/Button/buttonClasses.d.ts +100 -100
- package/ButtonBase/buttonBaseClasses.d.ts +12 -12
- package/ButtonBase/touchRippleClasses.d.ts +20 -20
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
- package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
- package/CHANGELOG.md +185 -4
- package/Card/cardClasses.d.ts +8 -8
- package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
- package/CardActions/cardActionsClasses.d.ts +10 -10
- package/CardContent/cardContentClasses.d.ts +8 -8
- package/CardHeader/cardHeaderClasses.d.ts +18 -18
- package/CardMedia/cardMediaClasses.d.ts +12 -12
- package/Checkbox/checkboxClasses.d.ts +18 -18
- package/Chip/Chip.js +31 -30
- package/Chip/chipClasses.d.ts +80 -80
- package/CircularProgress/circularProgressClasses.d.ts +26 -26
- package/ClickAwayListener/index.d.ts +2 -2
- package/Collapse/collapseClasses.d.ts +18 -18
- package/Container/containerClasses.d.ts +6 -6
- package/Dialog/Dialog.js +11 -6
- package/Dialog/DialogContext.d.ts +6 -6
- package/Dialog/dialogClasses.d.ts +36 -36
- package/DialogActions/dialogActionsClasses.d.ts +10 -10
- package/DialogContent/dialogContentClasses.d.ts +10 -10
- package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
- package/DialogTitle/dialogTitleClasses.d.ts +8 -8
- package/Divider/dividerClasses.d.ts +34 -34
- package/Drawer/drawerClasses.d.ts +30 -30
- package/Fab/fabClasses.d.ts +26 -26
- package/FilledInput/FilledInput.js +28 -13
- package/FilledInput/filledInputClasses.d.ts +40 -40
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
- package/FormGroup/formGroupClasses.d.ts +12 -12
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/Grid/gridClasses.d.ts +48 -48
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/iconButtonClasses.d.ts +26 -26
- package/ImageList/imageListClasses.d.ts +16 -16
- package/ImageListItem/imageListItemClasses.d.ts +18 -18
- package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
- package/Input/Input.js +1 -1
- package/Input/inputClasses.d.ts +34 -34
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/InputBase.js +2 -2
- package/InputBase/inputBaseClasses.d.ts +44 -44
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LinearProgress/LinearProgress.js +6 -2
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- package/Link/getTextDecoration.d.ts +15 -15
- package/Link/linkClasses.d.ts +18 -18
- package/List/listClasses.d.ts +14 -14
- package/ListItem/listItemClasses.d.ts +30 -30
- package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
- package/ListItemButton/listItemButtonClasses.d.ts +22 -22
- package/ListItemIcon/listItemIconClasses.d.ts +10 -10
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
- package/ListItemText/listItemTextClasses.d.ts +18 -18
- package/ListSubheader/listSubheaderClasses.d.ts +18 -18
- package/Menu/menuClasses.d.ts +12 -12
- package/MenuItem/menuItemClasses.d.ts +20 -20
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/Modal/Modal.d.ts +2 -0
- package/Modal/Modal.js +25 -8
- package/NativeSelect/nativeSelectClasses.d.ts +32 -32
- package/OutlinedInput/OutlinedInput.js +40 -10
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/Pagination/paginationClasses.d.ts +14 -14
- package/PaginationItem/paginationItemClasses.d.ts +42 -42
- package/Paper/paperClasses.d.ts +39 -39
- package/Popover/popoverClasses.d.ts +10 -10
- package/Popper/Popper.d.ts +29 -29
- package/Radio/radioClasses.d.ts +16 -16
- package/RadioGroup/RadioGroupContext.d.ts +11 -11
- package/RadioGroup/useRadioGroup.d.ts +4 -4
- package/Rating/ratingClasses.d.ts +40 -40
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
- package/Select/Select.d.ts +1 -1
- package/Select/Select.js +1 -1
- package/Select/selectClasses.d.ts +30 -30
- package/Skeleton/Skeleton.js +8 -3
- package/Skeleton/skeletonClasses.d.ts +24 -24
- package/Slider/Slider.js +21 -21
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/SnackbarContent/SnackbarContent.js +3 -3
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
- package/SpeedDial/speedDialClasses.d.ts +22 -22
- package/SpeedDialAction/SpeedDialAction.js +7 -7
- package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
- package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
- package/Step/StepContext.d.ts +20 -20
- package/Step/stepClasses.d.ts +16 -16
- package/StepButton/stepButtonClasses.d.ts +14 -14
- package/StepConnector/StepConnector.js +14 -11
- package/StepConnector/stepConnectorClasses.d.ts +26 -26
- package/StepContent/StepContent.js +1 -1
- package/StepContent/stepContentClasses.d.ts +12 -12
- package/StepIcon/stepIconClasses.d.ts +16 -16
- package/StepLabel/stepLabelClasses.d.ts +28 -28
- package/Stepper/StepperContext.d.ts +18 -18
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/svgIconClasses.d.ts +24 -24
- package/Switch/Switch.js +11 -11
- package/Switch/switchClasses.d.ts +32 -32
- package/Tab/tabClasses.d.ts +26 -26
- package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
- package/Table/tableClasses.d.ts +10 -10
- package/TableBody/tableBodyClasses.d.ts +8 -8
- package/TableCell/TableCell.js +5 -5
- package/TableCell/tableCellClasses.d.ts +32 -32
- package/TableContainer/tableContainerClasses.d.ts +8 -8
- package/TableFooter/tableFooterClasses.d.ts +8 -8
- package/TableHead/tableHeadClasses.d.ts +8 -8
- package/TablePagination/tablePaginationClasses.d.ts +28 -28
- package/TableRow/tableRowClasses.d.ts +16 -16
- package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
- package/Tabs/Tabs.js +16 -18
- package/Tabs/tabsClasses.d.ts +32 -32
- package/TextField/textFieldClasses.d.ts +8 -8
- package/ToggleButton/toggleButtonClasses.d.ts +24 -24
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
- package/Toolbar/toolbarClasses.d.ts +14 -14
- package/Tooltip/Tooltip.js +1 -1
- package/Tooltip/tooltipClasses.d.ts +30 -30
- package/Typography/typographyClasses.d.ts +50 -50
- package/className/index.d.ts +1 -1
- package/darkScrollbar/index.d.ts +28 -28
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/Alert/Alert.js +19 -11
- package/legacy/AppBar/AppBar.js +23 -4
- package/legacy/Autocomplete/Autocomplete.js +12 -8
- package/legacy/Avatar/Avatar.js +7 -4
- package/legacy/Badge/Badge.js +2 -2
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Chip/Chip.js +31 -30
- package/legacy/Dialog/Dialog.js +11 -6
- package/legacy/FilledInput/FilledInput.js +28 -14
- package/legacy/Input/Input.js +1 -1
- package/legacy/InputBase/InputBase.js +2 -2
- package/legacy/LinearProgress/LinearProgress.js +6 -2
- package/legacy/Modal/Modal.js +23 -7
- package/legacy/OutlinedInput/OutlinedInput.js +36 -9
- package/legacy/Select/Select.js +1 -1
- package/legacy/Skeleton/Skeleton.js +2 -2
- package/legacy/Slider/Slider.js +21 -21
- package/legacy/SnackbarContent/SnackbarContent.js +3 -3
- package/legacy/SpeedDialAction/SpeedDialAction.js +7 -7
- package/legacy/StepConnector/StepConnector.js +2 -1
- package/legacy/StepContent/StepContent.js +1 -1
- package/legacy/Switch/Switch.js +11 -11
- package/legacy/TableCell/TableCell.js +5 -5
- package/legacy/Tabs/Tabs.js +16 -18
- package/legacy/Tooltip/Tooltip.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/styles/CssVarsProvider.js +10 -8
- package/legacy/styles/experimental_extendTheme.js +170 -19
- package/locale/index.d.ts +71 -71
- package/modern/Alert/Alert.js +19 -11
- package/modern/AppBar/AppBar.js +22 -5
- package/modern/Autocomplete/Autocomplete.js +11 -7
- package/modern/Avatar/Avatar.js +7 -4
- package/modern/Badge/Badge.js +2 -2
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Chip/Chip.js +31 -30
- package/modern/Dialog/Dialog.js +11 -6
- package/modern/FilledInput/FilledInput.js +27 -12
- package/modern/Input/Input.js +1 -1
- package/modern/InputBase/InputBase.js +2 -2
- package/modern/LinearProgress/LinearProgress.js +6 -2
- package/modern/Modal/Modal.js +24 -7
- package/modern/OutlinedInput/OutlinedInput.js +40 -10
- package/modern/Select/Select.js +1 -1
- package/modern/Skeleton/Skeleton.js +7 -2
- package/modern/Slider/Slider.js +21 -21
- package/modern/SnackbarContent/SnackbarContent.js +3 -3
- package/modern/SpeedDialAction/SpeedDialAction.js +7 -7
- package/modern/StepConnector/StepConnector.js +14 -11
- package/modern/StepContent/StepContent.js +1 -1
- package/modern/Switch/Switch.js +11 -11
- package/modern/TableCell/TableCell.js +5 -5
- package/modern/Tabs/Tabs.js +16 -18
- package/modern/Tooltip/Tooltip.js +1 -1
- package/modern/index.js +1 -1
- package/modern/styles/CssVarsProvider.js +6 -6
- package/modern/styles/experimental_extendTheme.js +166 -20
- package/node/Alert/Alert.js +19 -11
- package/node/AppBar/AppBar.js +22 -5
- package/node/Autocomplete/Autocomplete.js +12 -8
- package/node/Avatar/Avatar.js +7 -4
- package/node/Badge/Badge.js +2 -2
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/Chip/Chip.js +31 -30
- package/node/Dialog/Dialog.js +11 -6
- package/node/FilledInput/FilledInput.js +28 -13
- package/node/Input/Input.js +1 -1
- package/node/InputBase/InputBase.js +2 -2
- package/node/LinearProgress/LinearProgress.js +6 -2
- package/node/Modal/Modal.js +25 -8
- package/node/OutlinedInput/OutlinedInput.js +38 -10
- package/node/Select/Select.js +1 -1
- package/node/Skeleton/Skeleton.js +7 -2
- package/node/Slider/Slider.js +21 -21
- package/node/SnackbarContent/SnackbarContent.js +3 -3
- package/node/SpeedDialAction/SpeedDialAction.js +7 -7
- package/node/StepConnector/StepConnector.js +14 -11
- package/node/StepContent/StepContent.js +1 -1
- package/node/Switch/Switch.js +11 -11
- package/node/TableCell/TableCell.js +5 -5
- package/node/Tabs/Tabs.js +16 -18
- package/node/Tooltip/Tooltip.js +1 -1
- package/node/index.js +1 -1
- package/node/styles/CssVarsProvider.js +11 -6
- package/node/styles/experimental_extendTheme.js +167 -19
- package/package.json +7 -7
- package/styles/CssVarsProvider.d.ts +14 -28
- package/styles/CssVarsProvider.js +10 -6
- package/styles/createPalette.d.ts +0 -26
- package/styles/experimental_extendTheme.d.ts +238 -35
- package/styles/experimental_extendTheme.js +166 -20
- package/styles/index.d.ts +24 -1
- package/themeCssVarsAugmentation/index.d.ts +30 -0
- package/transitions/index.d.ts +1 -1
- package/transitions/transition.d.ts +13 -13
- package/transitions/utils.d.ts +23 -23
- package/umd/material-ui.development.js +954 -471
- package/umd/material-ui.production.min.js +27 -22
- package/useMediaQuery/useMediaQuery.d.ts +31 -31
- package/useTouchRipple/index.d.ts +1 -1
- package/useTouchRipple/useTouchRipple.d.ts +28 -28
- package/utils/getScrollbarSize.d.ts +2 -2
- package/utils/ownerDocument.d.ts +2 -2
- package/utils/ownerWindow.d.ts +2 -2
- package/utils/setRef.d.ts +2 -2
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
export interface ButtonGroupClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `variant="contained"`. */
|
|
5
|
-
contained: string;
|
|
6
|
-
/** Styles applied to the root element if `variant="outlined"`. */
|
|
7
|
-
outlined: string;
|
|
8
|
-
/** Styles applied to the root element if `variant="text"`. */
|
|
9
|
-
text: string;
|
|
10
|
-
/** Styles applied to the root element if `disableElevation={true}`. */
|
|
11
|
-
disableElevation: string;
|
|
12
|
-
/** State class applied to the child elements if `disabled={true}`. */
|
|
13
|
-
disabled: string;
|
|
14
|
-
/** Styles applied to the root element if `fullWidth={true}`. */
|
|
15
|
-
fullWidth: string;
|
|
16
|
-
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
17
|
-
vertical: string;
|
|
18
|
-
/** Styles applied to the children. */
|
|
19
|
-
grouped: string;
|
|
20
|
-
/** Styles applied to the children if `orientation="horizontal"`. */
|
|
21
|
-
groupedHorizontal: string;
|
|
22
|
-
/** Styles applied to the children if `orientation="vertical"`. */
|
|
23
|
-
groupedVertical: string;
|
|
24
|
-
/** Styles applied to the children if `variant="text"`. */
|
|
25
|
-
groupedText: string;
|
|
26
|
-
/** Styles applied to the children if `variant="text"` and `orientation="horizontal"`. */
|
|
27
|
-
groupedTextHorizontal: string;
|
|
28
|
-
/** Styles applied to the children if `variant="text"` and `orientation="vertical"`. */
|
|
29
|
-
groupedTextVertical: string;
|
|
30
|
-
/** Styles applied to the children if `variant="text"` and `color="primary"`. */
|
|
31
|
-
groupedTextPrimary: string;
|
|
32
|
-
/** Styles applied to the children if `variant="text"` and `color="secondary"`. */
|
|
33
|
-
groupedTextSecondary: string;
|
|
34
|
-
/** Styles applied to the children if `variant="outlined"`. */
|
|
35
|
-
groupedOutlined: string;
|
|
36
|
-
/** Styles applied to the children if `variant="outlined"` and `orientation="horizontal"`. */
|
|
37
|
-
groupedOutlinedHorizontal: string;
|
|
38
|
-
/** Styles applied to the children if `variant="outlined"` and `orientation="vertical"`. */
|
|
39
|
-
groupedOutlinedVertical: string;
|
|
40
|
-
/** Styles applied to the children if `variant="outlined"` and `color="primary"`. */
|
|
41
|
-
groupedOutlinedPrimary: string;
|
|
42
|
-
/** Styles applied to the children if `variant="outlined"` and `color="secondary"`. */
|
|
43
|
-
groupedOutlinedSecondary: string;
|
|
44
|
-
/** Styles applied to the children if `variant="contained"`. */
|
|
45
|
-
groupedContained: string;
|
|
46
|
-
/** Styles applied to the children if `variant="contained"` and `orientation="horizontal"`. */
|
|
47
|
-
groupedContainedHorizontal: string;
|
|
48
|
-
/** Styles applied to the children if `variant="contained"` and `orientation="vertical"`. */
|
|
49
|
-
groupedContainedVertical: string;
|
|
50
|
-
/** Styles applied to the children if `variant="contained"` and `color="primary"`. */
|
|
51
|
-
groupedContainedPrimary: string;
|
|
52
|
-
/** Styles applied to the children if `variant="contained"` and `color="secondary"`. */
|
|
53
|
-
groupedContainedSecondary: string;
|
|
54
|
-
}
|
|
55
|
-
export declare type ButtonGroupClassKey = keyof ButtonGroupClasses;
|
|
56
|
-
export declare function getButtonGroupUtilityClass(slot: string): string;
|
|
57
|
-
declare const buttonGroupClasses: ButtonGroupClasses;
|
|
58
|
-
export default buttonGroupClasses;
|
|
1
|
+
export interface ButtonGroupClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `variant="contained"`. */
|
|
5
|
+
contained: string;
|
|
6
|
+
/** Styles applied to the root element if `variant="outlined"`. */
|
|
7
|
+
outlined: string;
|
|
8
|
+
/** Styles applied to the root element if `variant="text"`. */
|
|
9
|
+
text: string;
|
|
10
|
+
/** Styles applied to the root element if `disableElevation={true}`. */
|
|
11
|
+
disableElevation: string;
|
|
12
|
+
/** State class applied to the child elements if `disabled={true}`. */
|
|
13
|
+
disabled: string;
|
|
14
|
+
/** Styles applied to the root element if `fullWidth={true}`. */
|
|
15
|
+
fullWidth: string;
|
|
16
|
+
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
17
|
+
vertical: string;
|
|
18
|
+
/** Styles applied to the children. */
|
|
19
|
+
grouped: string;
|
|
20
|
+
/** Styles applied to the children if `orientation="horizontal"`. */
|
|
21
|
+
groupedHorizontal: string;
|
|
22
|
+
/** Styles applied to the children if `orientation="vertical"`. */
|
|
23
|
+
groupedVertical: string;
|
|
24
|
+
/** Styles applied to the children if `variant="text"`. */
|
|
25
|
+
groupedText: string;
|
|
26
|
+
/** Styles applied to the children if `variant="text"` and `orientation="horizontal"`. */
|
|
27
|
+
groupedTextHorizontal: string;
|
|
28
|
+
/** Styles applied to the children if `variant="text"` and `orientation="vertical"`. */
|
|
29
|
+
groupedTextVertical: string;
|
|
30
|
+
/** Styles applied to the children if `variant="text"` and `color="primary"`. */
|
|
31
|
+
groupedTextPrimary: string;
|
|
32
|
+
/** Styles applied to the children if `variant="text"` and `color="secondary"`. */
|
|
33
|
+
groupedTextSecondary: string;
|
|
34
|
+
/** Styles applied to the children if `variant="outlined"`. */
|
|
35
|
+
groupedOutlined: string;
|
|
36
|
+
/** Styles applied to the children if `variant="outlined"` and `orientation="horizontal"`. */
|
|
37
|
+
groupedOutlinedHorizontal: string;
|
|
38
|
+
/** Styles applied to the children if `variant="outlined"` and `orientation="vertical"`. */
|
|
39
|
+
groupedOutlinedVertical: string;
|
|
40
|
+
/** Styles applied to the children if `variant="outlined"` and `color="primary"`. */
|
|
41
|
+
groupedOutlinedPrimary: string;
|
|
42
|
+
/** Styles applied to the children if `variant="outlined"` and `color="secondary"`. */
|
|
43
|
+
groupedOutlinedSecondary: string;
|
|
44
|
+
/** Styles applied to the children if `variant="contained"`. */
|
|
45
|
+
groupedContained: string;
|
|
46
|
+
/** Styles applied to the children if `variant="contained"` and `orientation="horizontal"`. */
|
|
47
|
+
groupedContainedHorizontal: string;
|
|
48
|
+
/** Styles applied to the children if `variant="contained"` and `orientation="vertical"`. */
|
|
49
|
+
groupedContainedVertical: string;
|
|
50
|
+
/** Styles applied to the children if `variant="contained"` and `color="primary"`. */
|
|
51
|
+
groupedContainedPrimary: string;
|
|
52
|
+
/** Styles applied to the children if `variant="contained"` and `color="secondary"`. */
|
|
53
|
+
groupedContainedSecondary: string;
|
|
54
|
+
}
|
|
55
|
+
export declare type ButtonGroupClassKey = keyof ButtonGroupClasses;
|
|
56
|
+
export declare function getButtonGroupUtilityClass(slot: string): string;
|
|
57
|
+
declare const buttonGroupClasses: ButtonGroupClasses;
|
|
58
|
+
export default buttonGroupClasses;
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,186 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.8.7
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.8.6..master -->
|
|
6
|
+
|
|
7
|
+
_Jul 4, 2022_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
|
|
10
|
+
|
|
11
|
+
- 🐛 Fixed an issue causing Typescript errors when building a project with Material UI v5.8.6 (@michaldudak)
|
|
12
|
+
- 🐛 Fixed a few bugs in Material UI components. Thanks @henriqueholtz, @jake-collibra, @MattiasMartens and @TimoWilhelm!
|
|
13
|
+
- many other 🐛 bug fixes and 📚 documentation improvements
|
|
14
|
+
|
|
15
|
+
### `@mui/material@5.8.7`
|
|
16
|
+
|
|
17
|
+
- [Autocomplete] Add some missing props in `useAutocomplete` (#33269) @henriqueholtz
|
|
18
|
+
- [Autocomplete] Extend `componentsProps` to include `popper` and `popupIndicator` slots (#33283) @jake-collibra
|
|
19
|
+
- [Select] Annotate empty string as valid value prop (#33088) @MattiasMartens
|
|
20
|
+
- [SnackbarContent] Fix message text color with css var provider (#33285) @TimoWilhelm
|
|
21
|
+
|
|
22
|
+
### `@mui/styled-engine@5.8.7`
|
|
23
|
+
|
|
24
|
+
- [styled-engine] Add missing type dependency on csstype (#33310) @Methuselah96
|
|
25
|
+
|
|
26
|
+
### `@mui/system@5.8.7`
|
|
27
|
+
|
|
28
|
+
- [system] Simplify theme input types for `CssVarsProvider` (#33381) @siriwatknp
|
|
29
|
+
- [system] Export required types (#33324) @michaldudak
|
|
30
|
+
|
|
31
|
+
### `@mui/joy@5.0.0-alpha.35`
|
|
32
|
+
|
|
33
|
+
- [Joy] Add radio button documentation (#33254) @siriwatknp
|
|
34
|
+
- [Joy] Add switch documentation (#33302) @siriwatknp
|
|
35
|
+
- [Joy] Batch a couple of documentation refinements (#33158)
|
|
36
|
+
- [Joy] Enable Joy and Material UI compatibility (#33379) @siriwatknp
|
|
37
|
+
|
|
38
|
+
### `@mui/base@5.0.0-alpha.88`
|
|
39
|
+
|
|
40
|
+
- [base] Remove a type incompatible with Typescript 3.5 (#33361) @michaldudak
|
|
41
|
+
- [BadgeUnstyled] Export BadgeUnstyledOwnProps interface to fix typescript compiler error (#33314) @aaronlademann-wf
|
|
42
|
+
- [TablePaginationUnstyled] Accept callbacks in componentsProps (#33309) @michaldudak
|
|
43
|
+
|
|
44
|
+
### Docs
|
|
45
|
+
|
|
46
|
+
- [docs] Fix Link typings in the react-router example (#32308) @aaarichter
|
|
47
|
+
- [docs] Add caveat about class components with Tooltip (#33325) @joshkel
|
|
48
|
+
- [docs] Fix SEO issues (#33288) @oliviertassinari
|
|
49
|
+
- [docs] Fix Slider's "player" demo (#33267) @xlianghang
|
|
50
|
+
- [website] Link MUI Toolpad in mui.com (#33287) @oliviertassinari
|
|
51
|
+
|
|
52
|
+
All contributors of this release in alphabetical order: @aaarichter, @aaronlademann-wf, @danilo-leal, @henriqueholtz, @jake-collibra, @joshkel, @MattiasMartens, @Methuselah96, @michaldudak, @oliviertassinari, @siriwatknp, @TimoWilhelm, @xlianghang
|
|
53
|
+
|
|
54
|
+
## 5.8.6
|
|
55
|
+
|
|
56
|
+
<!-- generated comparing v5.8.5..master -->
|
|
57
|
+
|
|
58
|
+
_Jun 27, 2022_
|
|
59
|
+
|
|
60
|
+
A big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
|
|
61
|
+
|
|
62
|
+
- ⚒️ Fixed React 18 issues in few components
|
|
63
|
+
- 🚀 Improved the TypeScript augmentation when using CSS variables with `@mui/material`
|
|
64
|
+
- many other 🐛 bug fixes and 📚 documentation improvements
|
|
65
|
+
|
|
66
|
+
### `@mui/material@5.8.6`
|
|
67
|
+
|
|
68
|
+
- ​<!-- 27 -->[Alert] Add support for CSS vars (#32624) @haneenmahd
|
|
69
|
+
- ​<!-- 26 -->[Alert] Use `getContrastText` for filled variant font color (#29813) @SamoraMabuya
|
|
70
|
+
|
|
71
|
+
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
|
|
72
|
+
|
|
73
|
+
- ​<!-- 11 -->[OutlinedInput] Fix `ownerState` undefined in theme style overrides (#33241) @siriwatknp
|
|
74
|
+
- ​<!-- 08 -->[Tabs] Fix crash when used with React 18 & Suspense (#33277) @mnajdova
|
|
75
|
+
- ​<!-- 05 -->[TypeScript] Add CSS vars type augmentation for Material UI (#33211) @siriwatknp
|
|
76
|
+
|
|
77
|
+
### `@mui/system@5.8.6`
|
|
78
|
+
|
|
79
|
+
- ​<!-- 09 -->[system] Add enableColorScheme option to getInitColorSchemeScript (#33261) @siriwatknp
|
|
80
|
+
|
|
81
|
+
### `@mui/utils@5.8.6`
|
|
82
|
+
|
|
83
|
+
- ​<!-- 04 -->[utils] Allow state prefix to be configurable (#32972) @siriwatknp
|
|
84
|
+
|
|
85
|
+
### `@mui/base@5.0.0-alpha.87`
|
|
86
|
+
|
|
87
|
+
- ​<!-- 25 -->[base] Improve the return type of useSlotProps (#33279) @michaldudak
|
|
88
|
+
- ​<!-- 24 -->[base] Improve some types (#33270) @mnajdova
|
|
89
|
+
- ​<!-- 13 -->[MenuUnstyled] Fix keyboard accessibility of menu items (#33145) @michaldudak
|
|
90
|
+
- ​<!-- 12 -->[ModalManager] Lock body scroll when container is inside shadow DOM (#33168) @jacobweberbowery
|
|
91
|
+
- ​<!-- 10 -->[SliderUnstyled] Use useSlotProps (#33132) @michaldudak
|
|
92
|
+
- ​<!-- 07 -->[TextareaAutosize] Fix crash when used with React 18 & Suspense (#33238) @howlettt
|
|
93
|
+
- ​<!-- 06 -->[TextareaAutosize] Fix warnings for too many renders in React 18 (#33253) @mnajdova
|
|
94
|
+
|
|
95
|
+
### `@mui/joy@5.0.0-alpha.34`
|
|
96
|
+
|
|
97
|
+
- ​<!-- 14 -->[Joy] Add `Sheet` doc (#32820) @hbjORbj
|
|
98
|
+
|
|
99
|
+
### Docs
|
|
100
|
+
|
|
101
|
+
- ​<!-- 23 -->[blog] Polish Why you should migrate to Material UI v5 today (#33244) @oliviertassinari
|
|
102
|
+
- ​<!-- 21 -->[docs] Add note in docs about `componentsProps.root` taking precedence (#33097) @ZeeshanTamboli
|
|
103
|
+
- ​<!-- 20 -->[docs] Remove a note about Base components being reexported from Material UI (#33265) @michaldudak
|
|
104
|
+
- ​<!-- 19 -->[docs] Update code snippet in docs for custom color palette (#32946) @ZeeshanTamboli
|
|
105
|
+
- ​<!-- 18 -->[docs] Fix the docs for production class generation (#31933) @Fafruch
|
|
106
|
+
- ​<!-- 17 -->[docs] Fix internal link in Box page (#33149) @davidgarciab
|
|
107
|
+
- ​<!-- 16 -->[docs] Badge component link in Base docs should be under Data Display section (#33249) @ZeeshanTamboli
|
|
108
|
+
- ​<!-- 15 -->[examples] Fix comment typo (#33256) @WinmezzZ
|
|
109
|
+
|
|
110
|
+
### Core
|
|
111
|
+
|
|
112
|
+
- ​<!-- 22 -->[core] Remove dead code (#33243) @oliviertassinari
|
|
113
|
+
- ​<!-- 03 -->[website] Fix the scroll-top for all the website (#33215) @oliviertassinari
|
|
114
|
+
- ​<!-- 02 -->[website] List new core role @oliviertassinari
|
|
115
|
+
- ​<!-- 01 -->[website] Fix navigation menu close behavior (#33203) @oliviertassinari
|
|
116
|
+
|
|
117
|
+
All contributors of this release in alphabetical order: @davidgarciab, @Fafruch, @haneenmahd, @hbjORbj, @howlettt, @jacobweberbowery, @michaldudak, @mnajdova, @oliviertassinari, @SamoraMabuya, @siriwatknp, @WinmezzZ, @ZeeshanTamboli
|
|
118
|
+
|
|
119
|
+
## 5.8.5
|
|
120
|
+
|
|
121
|
+
<!-- generated comparing v5.8.4..master -->
|
|
122
|
+
|
|
123
|
+
_Jun 20, 2022_
|
|
124
|
+
|
|
125
|
+
A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
|
|
126
|
+
|
|
127
|
+
- 🚀 Added support for CSS variables in the `Avatar` component and the `SpeedDialAction` component respectively by @vicasas and @gin1314
|
|
128
|
+
- many other 🐛 bug fixes and 📚 documentation improvements
|
|
129
|
+
|
|
130
|
+
### `@mui/material@5.8.5`
|
|
131
|
+
|
|
132
|
+
- ​<!-- 30 -->[Avatar] Add support for CSS variables (#32499) @vicasas
|
|
133
|
+
- ​<!-- 19 -->[Dialog] Fix broken styles if `maxWidth` is set to `false` (#32987) @kmurgic
|
|
134
|
+
- ​<!-- 04 -->[SpeedDialAction] Add support for CSS variables (#32608) @gin1314
|
|
135
|
+
- ​<!-- 02 -->[Tabs] Increment scroll of the minimum amount possible (#33103) @oliviertassinari
|
|
136
|
+
|
|
137
|
+
### `@mui/codemod@5.8.5`
|
|
138
|
+
|
|
139
|
+
- ​<!-- 24 -->[codemod] Preserve comments within jss-to-tss-react (#33170) @ryancogswell
|
|
140
|
+
|
|
141
|
+
### `@mui/lab@5.0.0-alpha.87`
|
|
142
|
+
|
|
143
|
+
- ​<!-- 06 -->[Masonry] Fix flickering when used with React 18 (#33163) @mnajdova
|
|
144
|
+
|
|
145
|
+
### `@mui/base@5.0.0-alpha.86`
|
|
146
|
+
|
|
147
|
+
- ​<!-- 29 -->[BadgeUnstyled] Accept callbacks in componentsProps (#33176) @michaldudak
|
|
148
|
+
- ​<!-- 25 -->[ButtonUnstyled] Use useSlotProps (#33096) @michaldudak
|
|
149
|
+
- ​<!-- 11 -->[FormControlUnstyled] Accept callbacks in componentsProps (#33180) @michaldudak
|
|
150
|
+
- ​<!-- 10 -->[InputUnstyled] Use useSlotProps (#33094) @michaldudak
|
|
151
|
+
- ​<!-- 05 -->[ModalUnstyled] Define ownerState and slot props' types (#32901) @michaldudak
|
|
152
|
+
- ​<!-- 03 -->[SwitchUnstyled] Use useSlotProps (#33174) @michaldudak
|
|
153
|
+
|
|
154
|
+
### `@mui/joy@5.0.0-alpha.33`
|
|
155
|
+
|
|
156
|
+
- ​<!-- 09 -->[Joy] Add Checkbox documentation (#33171) @siriwatknp
|
|
157
|
+
- ​<!-- 08 -->[Joy] Add List documentation (#33120) @siriwatknp
|
|
158
|
+
- ​<!-- 07 -->[Joy] Make slider displays Joy classname (#33051) @siriwatknp
|
|
159
|
+
|
|
160
|
+
### Docs
|
|
161
|
+
|
|
162
|
+
- ​<!-- 28 -->[blog] Update Blogpost to clear confusion on "no impact" disclaimer. (#33131) @joserodolfofreitas
|
|
163
|
+
- ​<!-- 27 -->[blog] Add post about v5 Migration guide update (#33063) @samuelsycamore
|
|
164
|
+
- ​<!-- 26 -->[blog] Fix display on Safari (#33102) @oliviertassinari
|
|
165
|
+
- ​<!-- 18 -->[docs] Add guide on how to use MUI Base with Tailwind CSS (#33100) @mnajdova
|
|
166
|
+
- ​<!-- 17 -->[docs] Improve Joy template UX (#33159) @siriwatknp
|
|
167
|
+
- ​<!-- 16 -->[docs] Update Shadow DOM guide (#33160) @cherniavskii
|
|
168
|
+
- ​<!-- 15 -->[docs] Fix SEO regressions (#33106) @oliviertassinari
|
|
169
|
+
- ​<!-- 14 -->[docs] Add job ad in table of content (#33143) @mnajdova
|
|
170
|
+
- ​<!-- 13 -->[docs] Add customization as a value proposition (#33014) @oliviertassinari
|
|
171
|
+
- ​<!-- 12 -->[examples] Add example using nextjs & @mui/styles as a starter for the migration to v5 (#33005) @mnajdova
|
|
172
|
+
- ​<!-- 01 -->[website] Replace Airtable with Ashby links for applying to a opened position (#33193) @DanailH
|
|
173
|
+
|
|
174
|
+
### Core
|
|
175
|
+
|
|
176
|
+
- ​<!-- 31 -->[core] Add CSS variables support for Material UI components (#32835) @siriwatknp
|
|
177
|
+
- ​<!-- 23 -->[core] Add name to workspace root package.json (#33226) @Janpot
|
|
178
|
+
- ​<!-- 22 -->[core] Update bug template with generic instruction (#33153) @joserodolfofreitas
|
|
179
|
+
- ​<!-- 21 -->[core] Remove dead and redundant code (#33125) @oliviertassinari
|
|
180
|
+
- ​<!-- 20 -->[core] Improve inline code rendering within the details tag (#33086) @Harmouch101
|
|
181
|
+
|
|
182
|
+
All contributors of this release in alphabetical order: @cherniavskii, @DanailH, @gin1314, @Harmouch101, @Janpot, @joserodolfofreitas, @kmurgic, @michaldudak, @mnajdova, @oliviertassinari, @ryancogswell, @samuelsycamore, @siriwatknp, @vicasas
|
|
183
|
+
|
|
3
184
|
## 5.8.4
|
|
4
185
|
|
|
5
186
|
<!-- generated comparing v5.8.3..master -->
|
|
@@ -1101,7 +1282,7 @@ A big thanks to the 17 contributors who made this release possible. Here are som
|
|
|
1101
1282
|
- ​<!-- 25 -->[core] Update playwright docker to match the specified version (#31236) @siriwatknp
|
|
1102
1283
|
- ​<!-- 24 -->[core] Remove parallel on buildTypes (#31189) @siriwatknp
|
|
1103
1284
|
- ​<!-- 23 -->[core] Fix propTypes generation for optional any props (#31141) @m4theushw
|
|
1104
|
-
- ​<!-- 04 -->[
|
|
1285
|
+
- ​<!-- 04 -->[typescript] Remove variants deprecation (#31239) @siriwatknp
|
|
1105
1286
|
|
|
1106
1287
|
All contributors of this release in alphabetical order: @adriancampos, @Andarist, @bonellia, @davwheat, @greengiraffe, @hbjORbj, @iclaude3, @m4theushw, @michaldudak, @mnajdova, @oliviertassinari, @PunitSoniME, @RedHeadphone, @robertwt7, @samuelsycamore, @siriwatknp, @sviande
|
|
1107
1288
|
|
|
@@ -1166,7 +1347,7 @@ A big thanks to the 16 contributors who made this release possible. Here are som
|
|
|
1166
1347
|
- [Select] Allow customizing Select based on its variant (#30788) @michaldudak
|
|
1167
1348
|
- [Portal] Re-export 'Portal' in material (#31003) @liradb2000
|
|
1168
1349
|
- [ToggleButton] Add prop types for `onClick` and `onChange` (#30883) @sydneyjodon-wk
|
|
1169
|
-
- [
|
|
1350
|
+
- [typescript] Added TypeText declaration to the exports file (#30890) @agauravdev
|
|
1170
1351
|
|
|
1171
1352
|
### `@mui/system@5.4.2`
|
|
1172
1353
|
|
|
@@ -4604,8 +4785,8 @@ A big thanks to the 15 contributors who made this release possible. Here are som
|
|
|
4604
4785
|
- ​<!-- 29 -->[Button] Rename `pending` prop to `loading` in LoadingButton (#25874) @m4theushw
|
|
4605
4786
|
|
|
4606
4787
|
```diff
|
|
4607
|
-
-<LoadingButton pending pendingIndicator="Pending
|
|
4608
|
-
+<LoadingButton loading loadingIndicator="Pending
|
|
4788
|
+
-<LoadingButton pending pendingIndicator="Pending…" pendingPosition="end" />
|
|
4789
|
+
+<LoadingButton loading loadingIndicator="Pending…" loadingPosition="end" />
|
|
4609
4790
|
```
|
|
4610
4791
|
|
|
4611
4792
|
- ​<!-- 25 -->[ButtonBase] Remove buttonRef prop (#25896) @m4theushw
|
package/Card/cardClasses.d.ts
CHANGED
|
@@ -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;
|