@mui/material 5.4.2 → 5.5.0
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/alertClasses.d.ts +44 -44
- package/AlertTitle/alertTitleClasses.d.ts +8 -8
- package/AppBar/appBarClasses.d.ts +28 -28
- package/Autocomplete/autocompleteClasses.d.ts +54 -54
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/AvatarGroup.js +4 -2
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/BottomNavigation/BottomNavigation.js +0 -0
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
- package/Box/Box.js +1 -1
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
- package/Button/buttonClasses.d.ts +76 -76
- package/ButtonBase/ButtonBase.d.ts +1 -1
- package/ButtonBase/ButtonBase.js +1 -1
- 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 +196 -2
- 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 +1 -0
- 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 +22 -22
- package/Dialog/Dialog.d.ts +4 -1
- package/Dialog/Dialog.js +10 -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/Drawer.d.ts +4 -1
- package/Drawer/Drawer.js +11 -9
- package/Drawer/drawerClasses.d.ts +30 -30
- package/Fab/fabClasses.d.ts +26 -26
- package/Fade/Fade.d.ts +2 -2
- package/Fade/Fade.js +8 -8
- package/FilledInput/filledInputClasses.d.ts +40 -40
- package/FilledInput/filledInputClasses.js +5 -1
- 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/inputClasses.d.ts +34 -34
- package/Input/inputClasses.js +5 -1
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/inputBaseClasses.d.ts +44 -44
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- 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/NativeSelect/nativeSelectClasses.d.ts +32 -32
- package/OutlinedInput/NotchedOutline.js +3 -1
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/OutlinedInput/outlinedInputClasses.js +5 -1
- 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 +17 -17
- package/Popper/Popper.js +1 -1
- package/README.md +1 -1
- 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 +2 -0
- package/Select/selectClasses.d.ts +30 -30
- package/Skeleton/skeletonClasses.d.ts +24 -24
- package/Slide/Slide.d.ts +4 -4
- package/Slide/Slide.js +14 -14
- package/Snackbar/Snackbar.d.ts +2 -2
- package/Snackbar/Snackbar.js +8 -8
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
- package/SpeedDial/SpeedDial.d.ts +2 -2
- package/SpeedDial/SpeedDial.js +9 -7
- package/SpeedDial/speedDialClasses.d.ts +22 -22
- package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
- package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
- package/Step/StepContext.d.ts +20 -0
- package/Step/StepContext.js +10 -2
- package/Step/index.d.ts +3 -0
- package/Step/index.js +3 -1
- package/Step/stepClasses.d.ts +16 -16
- package/StepButton/stepButtonClasses.d.ts +14 -14
- package/StepConnector/stepConnectorClasses.d.ts +26 -26
- package/StepContent/stepContentClasses.d.ts +12 -12
- package/StepIcon/stepIconClasses.d.ts +16 -16
- package/StepLabel/stepLabelClasses.d.ts +28 -28
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/SvgIcon.js +1 -0
- package/SvgIcon/svgIconClasses.d.ts +24 -24
- package/SwipeableDrawer/SwipeableDrawer.js +8 -6
- 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/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/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/tooltipClasses.d.ts +30 -30
- package/Typography/typographyClasses.d.ts +50 -50
- package/Zoom/Zoom.d.ts +2 -2
- package/Zoom/Zoom.js +8 -8
- package/className/index.d.ts +8 -0
- package/className/index.js +9 -0
- package/className/package.json +6 -0
- package/darkScrollbar/index.d.ts +28 -28
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/AvatarGroup/AvatarGroup.js +4 -2
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Box/Box.js +1 -1
- package/legacy/ButtonBase/ButtonBase.js +1 -1
- package/legacy/Chip/Chip.js +1 -0
- package/legacy/Dialog/Dialog.js +10 -6
- package/legacy/Drawer/Drawer.js +11 -9
- package/legacy/Fade/Fade.js +8 -8
- package/legacy/FilledInput/filledInputClasses.js +5 -1
- package/legacy/Input/inputClasses.js +5 -1
- package/legacy/OutlinedInput/NotchedOutline.js +3 -1
- package/legacy/OutlinedInput/outlinedInputClasses.js +5 -1
- package/legacy/Popper/Popper.js +1 -1
- package/legacy/Slide/Slide.js +14 -14
- package/legacy/Snackbar/Snackbar.js +8 -8
- package/legacy/SpeedDial/SpeedDial.js +9 -7
- package/legacy/Step/StepContext.js +10 -2
- package/legacy/Step/index.js +3 -1
- package/legacy/SvgIcon/SvgIcon.js +1 -0
- package/legacy/SwipeableDrawer/SwipeableDrawer.js +8 -6
- package/legacy/Zoom/Zoom.js +8 -8
- package/legacy/className/index.js +9 -0
- package/legacy/index.js +1 -1
- package/legacy/locale/index.js +268 -78
- package/legacy/styles/makeStyles.js +1 -1
- package/legacy/styles/withStyles.js +1 -1
- package/legacy/styles/withTheme.js +1 -1
- package/legacy/utils/index.js +10 -2
- package/locale/index.d.ts +70 -68
- package/locale/index.js +192 -6
- package/modern/AvatarGroup/AvatarGroup.js +4 -2
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Box/Box.js +1 -1
- package/modern/ButtonBase/ButtonBase.js +1 -1
- package/modern/Chip/Chip.js +1 -0
- package/modern/Dialog/Dialog.js +10 -6
- package/modern/Drawer/Drawer.js +11 -9
- package/modern/Fade/Fade.js +8 -8
- package/modern/FilledInput/filledInputClasses.js +5 -1
- package/modern/Input/inputClasses.js +5 -1
- package/modern/OutlinedInput/NotchedOutline.js +3 -1
- package/modern/OutlinedInput/outlinedInputClasses.js +5 -1
- package/modern/Popper/Popper.js +1 -1
- package/modern/Slide/Slide.js +14 -14
- package/modern/Snackbar/Snackbar.js +8 -8
- package/modern/SpeedDial/SpeedDial.js +9 -7
- package/modern/Step/StepContext.js +10 -2
- package/modern/Step/index.js +3 -1
- package/modern/SvgIcon/SvgIcon.js +1 -0
- package/modern/SwipeableDrawer/SwipeableDrawer.js +8 -6
- package/modern/Zoom/Zoom.js +8 -8
- package/modern/className/index.js +9 -0
- package/modern/index.js +1 -1
- package/modern/locale/index.js +192 -6
- package/modern/styles/makeStyles.js +1 -1
- package/modern/styles/withStyles.js +1 -1
- package/modern/styles/withTheme.js +1 -1
- package/modern/utils/index.js +10 -2
- package/node/AvatarGroup/AvatarGroup.js +4 -2
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/Box/Box.js +2 -2
- package/node/ButtonBase/ButtonBase.js +1 -1
- package/node/Chip/Chip.js +1 -0
- package/node/Dialog/Dialog.js +11 -7
- package/node/Drawer/Drawer.js +11 -10
- package/node/Fade/Fade.js +7 -9
- package/node/FilledInput/filledInputClasses.js +7 -1
- package/node/Input/inputClasses.js +7 -1
- package/node/OutlinedInput/NotchedOutline.js +3 -1
- package/node/OutlinedInput/outlinedInputClasses.js +7 -1
- package/node/Popper/Popper.js +1 -1
- package/node/Slide/Slide.js +14 -16
- package/node/Snackbar/Snackbar.js +8 -9
- package/node/SpeedDial/SpeedDial.js +9 -7
- package/node/Step/StepContext.js +11 -1
- package/node/Step/index.js +22 -1
- package/node/SvgIcon/SvgIcon.js +1 -0
- package/node/SwipeableDrawer/SwipeableDrawer.js +8 -7
- package/node/Zoom/Zoom.js +7 -9
- package/node/className/index.js +13 -0
- package/node/index.js +1 -1
- package/node/locale/index.js +197 -9
- package/node/styles/makeStyles.js +1 -1
- package/node/styles/withStyles.js +1 -1
- package/node/styles/withTheme.js +1 -1
- package/node/utils/index.js +13 -7
- package/package.json +6 -6
- package/styles/components.d.ts +0 -339
- package/styles/makeStyles.js +1 -1
- package/styles/withStyles.js +1 -1
- package/styles/withTheme.js +1 -1
- 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 +9242 -9030
- package/umd/material-ui.production.min.js +21 -21
- 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/index.d.ts +1 -1
- package/utils/index.js +10 -2
- package/utils/ownerDocument.d.ts +2 -2
- package/utils/ownerWindow.d.ts +2 -2
- package/utils/setRef.d.ts +2 -2
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
export interface ButtonClasses {
|
|
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="text"` and `color="inherit"`. */
|
|
7
|
-
textInherit: string;
|
|
8
|
-
/** Styles applied to the root element if `variant="text"` and `color="primary"`. */
|
|
9
|
-
textPrimary: string;
|
|
10
|
-
/** Styles applied to the root element if `variant="text"` and `color="secondary"`. */
|
|
11
|
-
textSecondary: string;
|
|
12
|
-
/** Styles applied to the root element if `variant="outlined"`. */
|
|
13
|
-
outlined: string;
|
|
14
|
-
/** Styles applied to the root element if `variant="outlined"` and `color="inherit"`. */
|
|
15
|
-
outlinedInherit: string;
|
|
16
|
-
/** Styles applied to the root element if `variant="outlined"` and `color="primary"`. */
|
|
17
|
-
outlinedPrimary: string;
|
|
18
|
-
/** Styles applied to the root element if `variant="outlined"` and `color="secondary"`. */
|
|
19
|
-
outlinedSecondary: string;
|
|
20
|
-
/** Styles applied to the root element if `variant="contained"`. */
|
|
21
|
-
contained: string;
|
|
22
|
-
/** Styles applied to the root element if `variant="contained"` and `color="inherit"`. */
|
|
23
|
-
containedInherit: string;
|
|
24
|
-
/** Styles applied to the root element if `variant="contained"` and `color="primary"`. */
|
|
25
|
-
containedPrimary: string;
|
|
26
|
-
/** Styles applied to the root element if `variant="contained"` and `color="secondary"`. */
|
|
27
|
-
containedSecondary: string;
|
|
28
|
-
/** Styles applied to the root element if `disableElevation={true}`. */
|
|
29
|
-
disableElevation: string;
|
|
30
|
-
/** State class applied to the ButtonBase root element if the button is keyboard focused. */
|
|
31
|
-
focusVisible: string;
|
|
32
|
-
/** State class applied to the root element if `disabled={true}`. */
|
|
33
|
-
disabled: string;
|
|
34
|
-
/** Styles applied to the root element if `color="inherit"`. */
|
|
35
|
-
colorInherit: string;
|
|
36
|
-
/** Styles applied to the root element if `size="small"` and `variant="text"`. */
|
|
37
|
-
textSizeSmall: string;
|
|
38
|
-
/** Styles applied to the root element if `size="medium"` and `variant="text"`. */
|
|
39
|
-
textSizeMedium: string;
|
|
40
|
-
/** Styles applied to the root element if `size="large"` and `variant="text"`. */
|
|
41
|
-
textSizeLarge: string;
|
|
42
|
-
/** Styles applied to the root element if `size="small"` and `variant="outlined"`. */
|
|
43
|
-
outlinedSizeSmall: string;
|
|
44
|
-
/** Styles applied to the root element if `size="medium"` and `variant="outlined"`. */
|
|
45
|
-
outlinedSizeMedium: string;
|
|
46
|
-
/** Styles applied to the root element if `size="large"` and `variant="outlined"`. */
|
|
47
|
-
outlinedSizeLarge: string;
|
|
48
|
-
/** Styles applied to the root element if `size="small"` and `variant="contained"`. */
|
|
49
|
-
containedSizeSmall: string;
|
|
50
|
-
/** Styles applied to the root element if `size="medium"` and `variant="contained"`. */
|
|
51
|
-
containedSizeMedium: string;
|
|
52
|
-
/** Styles applied to the root element if `size="large"` and `variant="contained"`. */
|
|
53
|
-
containedSizeLarge: string;
|
|
54
|
-
/** Styles applied to the root element if `size="small"`. */
|
|
55
|
-
sizeSmall: string;
|
|
56
|
-
/** Styles applied to the root element if `size="medium"`. */
|
|
57
|
-
sizeMedium: string;
|
|
58
|
-
/** Styles applied to the root element if `size="large"`. */
|
|
59
|
-
sizeLarge: string;
|
|
60
|
-
/** Styles applied to the root element if `fullWidth={true}`. */
|
|
61
|
-
fullWidth: string;
|
|
62
|
-
/** Styles applied to the startIcon element if supplied. */
|
|
63
|
-
startIcon: string;
|
|
64
|
-
/** Styles applied to the endIcon element if supplied. */
|
|
65
|
-
endIcon: string;
|
|
66
|
-
/** Styles applied to the icon element if supplied and `size="small"`. */
|
|
67
|
-
iconSizeSmall: string;
|
|
68
|
-
/** Styles applied to the icon element if supplied and `size="medium"`. */
|
|
69
|
-
iconSizeMedium: string;
|
|
70
|
-
/** Styles applied to the icon element if supplied and `size="large"`. */
|
|
71
|
-
iconSizeLarge: string;
|
|
72
|
-
}
|
|
73
|
-
export declare type ButtonClassKey = keyof ButtonClasses;
|
|
74
|
-
export declare function getButtonUtilityClass(slot: string): string;
|
|
75
|
-
declare const buttonClasses: ButtonClasses;
|
|
76
|
-
export default buttonClasses;
|
|
1
|
+
export interface ButtonClasses {
|
|
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="text"` and `color="inherit"`. */
|
|
7
|
+
textInherit: string;
|
|
8
|
+
/** Styles applied to the root element if `variant="text"` and `color="primary"`. */
|
|
9
|
+
textPrimary: string;
|
|
10
|
+
/** Styles applied to the root element if `variant="text"` and `color="secondary"`. */
|
|
11
|
+
textSecondary: string;
|
|
12
|
+
/** Styles applied to the root element if `variant="outlined"`. */
|
|
13
|
+
outlined: string;
|
|
14
|
+
/** Styles applied to the root element if `variant="outlined"` and `color="inherit"`. */
|
|
15
|
+
outlinedInherit: string;
|
|
16
|
+
/** Styles applied to the root element if `variant="outlined"` and `color="primary"`. */
|
|
17
|
+
outlinedPrimary: string;
|
|
18
|
+
/** Styles applied to the root element if `variant="outlined"` and `color="secondary"`. */
|
|
19
|
+
outlinedSecondary: string;
|
|
20
|
+
/** Styles applied to the root element if `variant="contained"`. */
|
|
21
|
+
contained: string;
|
|
22
|
+
/** Styles applied to the root element if `variant="contained"` and `color="inherit"`. */
|
|
23
|
+
containedInherit: string;
|
|
24
|
+
/** Styles applied to the root element if `variant="contained"` and `color="primary"`. */
|
|
25
|
+
containedPrimary: string;
|
|
26
|
+
/** Styles applied to the root element if `variant="contained"` and `color="secondary"`. */
|
|
27
|
+
containedSecondary: string;
|
|
28
|
+
/** Styles applied to the root element if `disableElevation={true}`. */
|
|
29
|
+
disableElevation: string;
|
|
30
|
+
/** State class applied to the ButtonBase root element if the button is keyboard focused. */
|
|
31
|
+
focusVisible: string;
|
|
32
|
+
/** State class applied to the root element if `disabled={true}`. */
|
|
33
|
+
disabled: string;
|
|
34
|
+
/** Styles applied to the root element if `color="inherit"`. */
|
|
35
|
+
colorInherit: string;
|
|
36
|
+
/** Styles applied to the root element if `size="small"` and `variant="text"`. */
|
|
37
|
+
textSizeSmall: string;
|
|
38
|
+
/** Styles applied to the root element if `size="medium"` and `variant="text"`. */
|
|
39
|
+
textSizeMedium: string;
|
|
40
|
+
/** Styles applied to the root element if `size="large"` and `variant="text"`. */
|
|
41
|
+
textSizeLarge: string;
|
|
42
|
+
/** Styles applied to the root element if `size="small"` and `variant="outlined"`. */
|
|
43
|
+
outlinedSizeSmall: string;
|
|
44
|
+
/** Styles applied to the root element if `size="medium"` and `variant="outlined"`. */
|
|
45
|
+
outlinedSizeMedium: string;
|
|
46
|
+
/** Styles applied to the root element if `size="large"` and `variant="outlined"`. */
|
|
47
|
+
outlinedSizeLarge: string;
|
|
48
|
+
/** Styles applied to the root element if `size="small"` and `variant="contained"`. */
|
|
49
|
+
containedSizeSmall: string;
|
|
50
|
+
/** Styles applied to the root element if `size="medium"` and `variant="contained"`. */
|
|
51
|
+
containedSizeMedium: string;
|
|
52
|
+
/** Styles applied to the root element if `size="large"` and `variant="contained"`. */
|
|
53
|
+
containedSizeLarge: string;
|
|
54
|
+
/** Styles applied to the root element if `size="small"`. */
|
|
55
|
+
sizeSmall: string;
|
|
56
|
+
/** Styles applied to the root element if `size="medium"`. */
|
|
57
|
+
sizeMedium: string;
|
|
58
|
+
/** Styles applied to the root element if `size="large"`. */
|
|
59
|
+
sizeLarge: string;
|
|
60
|
+
/** Styles applied to the root element if `fullWidth={true}`. */
|
|
61
|
+
fullWidth: string;
|
|
62
|
+
/** Styles applied to the startIcon element if supplied. */
|
|
63
|
+
startIcon: string;
|
|
64
|
+
/** Styles applied to the endIcon element if supplied. */
|
|
65
|
+
endIcon: string;
|
|
66
|
+
/** Styles applied to the icon element if supplied and `size="small"`. */
|
|
67
|
+
iconSizeSmall: string;
|
|
68
|
+
/** Styles applied to the icon element if supplied and `size="medium"`. */
|
|
69
|
+
iconSizeMedium: string;
|
|
70
|
+
/** Styles applied to the icon element if supplied and `size="large"`. */
|
|
71
|
+
iconSizeLarge: string;
|
|
72
|
+
}
|
|
73
|
+
export declare type ButtonClassKey = keyof ButtonClasses;
|
|
74
|
+
export declare function getButtonUtilityClass(slot: string): string;
|
|
75
|
+
declare const buttonClasses: ButtonClasses;
|
|
76
|
+
export default buttonClasses;
|
|
@@ -81,7 +81,7 @@ export interface ButtonBaseTypeMap<P = {}, D extends React.ElementType = 'button
|
|
|
81
81
|
*/
|
|
82
82
|
TouchRippleProps?: Partial<TouchRippleProps>;
|
|
83
83
|
/**
|
|
84
|
-
* A ref that points to the `
|
|
84
|
+
* A ref that points to the `TouchRipple` element.
|
|
85
85
|
*/
|
|
86
86
|
touchRippleRef?: React.Ref<TouchRippleActions>;
|
|
87
87
|
};
|
package/ButtonBase/ButtonBase.js
CHANGED
|
@@ -529,7 +529,7 @@ process.env.NODE_ENV !== "production" ? ButtonBase.propTypes
|
|
|
529
529
|
TouchRippleProps: PropTypes.object,
|
|
530
530
|
|
|
531
531
|
/**
|
|
532
|
-
* A ref that points to the `
|
|
532
|
+
* A ref that points to the `TouchRipple` element.
|
|
533
533
|
*/
|
|
534
534
|
touchRippleRef: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({
|
|
535
535
|
current: PropTypes.shape({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export interface ButtonBaseClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** State class applied to the root element if `disabled={true}`. */
|
|
5
|
-
disabled: string;
|
|
6
|
-
/** State class applied to the root element if keyboard focused. */
|
|
7
|
-
focusVisible: string;
|
|
8
|
-
}
|
|
9
|
-
export declare type ButtonBaseClassKey = keyof ButtonBaseClasses;
|
|
10
|
-
export declare function getButtonBaseUtilityClass(slot: string): string;
|
|
11
|
-
declare const buttonBaseClasses: ButtonBaseClasses;
|
|
12
|
-
export default buttonBaseClasses;
|
|
1
|
+
export interface ButtonBaseClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** State class applied to the root element if `disabled={true}`. */
|
|
5
|
+
disabled: string;
|
|
6
|
+
/** State class applied to the root element if keyboard focused. */
|
|
7
|
+
focusVisible: string;
|
|
8
|
+
}
|
|
9
|
+
export declare type ButtonBaseClassKey = keyof ButtonBaseClasses;
|
|
10
|
+
export declare function getButtonBaseUtilityClass(slot: string): string;
|
|
11
|
+
declare const buttonBaseClasses: ButtonBaseClasses;
|
|
12
|
+
export default buttonBaseClasses;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export interface TouchRippleClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the internal `Ripple` components `ripple` class. */
|
|
5
|
-
ripple: string;
|
|
6
|
-
/** Styles applied to the internal `Ripple` components `rippleVisible` class. */
|
|
7
|
-
rippleVisible: string;
|
|
8
|
-
/** Styles applied to the internal `Ripple` components `ripplePulsate` class. */
|
|
9
|
-
ripplePulsate: string;
|
|
10
|
-
/** Styles applied to the internal `Ripple` components `child` class. */
|
|
11
|
-
child: string;
|
|
12
|
-
/** Styles applied to the internal `Ripple` components `childLeaving` class. */
|
|
13
|
-
childLeaving: string;
|
|
14
|
-
/** Styles applied to the internal `Ripple` components `childPulsate` class. */
|
|
15
|
-
childPulsate: string;
|
|
16
|
-
}
|
|
17
|
-
export declare type TouchRippleClassKey = keyof TouchRippleClasses;
|
|
18
|
-
export declare function getTouchRippleUtilityClass(slot: string): string;
|
|
19
|
-
declare const touchRippleClasses: TouchRippleClasses;
|
|
20
|
-
export default touchRippleClasses;
|
|
1
|
+
export interface TouchRippleClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the internal `Ripple` components `ripple` class. */
|
|
5
|
+
ripple: string;
|
|
6
|
+
/** Styles applied to the internal `Ripple` components `rippleVisible` class. */
|
|
7
|
+
rippleVisible: string;
|
|
8
|
+
/** Styles applied to the internal `Ripple` components `ripplePulsate` class. */
|
|
9
|
+
ripplePulsate: string;
|
|
10
|
+
/** Styles applied to the internal `Ripple` components `child` class. */
|
|
11
|
+
child: string;
|
|
12
|
+
/** Styles applied to the internal `Ripple` components `childLeaving` class. */
|
|
13
|
+
childLeaving: string;
|
|
14
|
+
/** Styles applied to the internal `Ripple` components `childPulsate` class. */
|
|
15
|
+
childPulsate: string;
|
|
16
|
+
}
|
|
17
|
+
export declare type TouchRippleClassKey = keyof TouchRippleClasses;
|
|
18
|
+
export declare function getTouchRippleUtilityClass(slot: string): string;
|
|
19
|
+
declare const touchRippleClasses: TouchRippleClasses;
|
|
20
|
+
export default touchRippleClasses;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { ButtonGroupProps } from './ButtonGroup';
|
|
3
|
-
interface IButtonGroupContext {
|
|
4
|
-
className?: string;
|
|
5
|
-
color?: ButtonGroupProps['color'];
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
disableElevation?: boolean;
|
|
8
|
-
disableFocusRipple?: boolean;
|
|
9
|
-
disableRipple?: boolean;
|
|
10
|
-
fullWidth?: boolean;
|
|
11
|
-
size?: ButtonGroupProps['size'];
|
|
12
|
-
variant?: ButtonGroupProps['variant'];
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @ignore - internal component.
|
|
16
|
-
*/
|
|
17
|
-
declare const ButtonGroupContext: React.Context<IButtonGroupContext>;
|
|
18
|
-
export default ButtonGroupContext;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { ButtonGroupProps } from './ButtonGroup';
|
|
3
|
+
interface IButtonGroupContext {
|
|
4
|
+
className?: string;
|
|
5
|
+
color?: ButtonGroupProps['color'];
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
disableElevation?: boolean;
|
|
8
|
+
disableFocusRipple?: boolean;
|
|
9
|
+
disableRipple?: boolean;
|
|
10
|
+
fullWidth?: boolean;
|
|
11
|
+
size?: ButtonGroupProps['size'];
|
|
12
|
+
variant?: ButtonGroupProps['variant'];
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @ignore - internal component.
|
|
16
|
+
*/
|
|
17
|
+
declare const ButtonGroupContext: React.Context<IButtonGroupContext>;
|
|
18
|
+
export default ButtonGroupContext;
|
|
@@ -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,199 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.5.0
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.4.4..master -->
|
|
6
|
+
|
|
7
|
+
_Mar 7, 2022_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 16 contributors who made this release possible. Here are some highlights ✨:
|
|
10
|
+
|
|
11
|
+
- ♿️ made the `Autocomplete` conform to [ARIA 1.2 combobox](https://www.w3.org/TR/wai-aria-1.2/#combobox) (#30601) @EdmundMai
|
|
12
|
+
- Several 🐛 bug fixes and 📚 documentation improvements
|
|
13
|
+
|
|
14
|
+
### `@mui/material@5.5.0`
|
|
15
|
+
|
|
16
|
+
#### Breaking change
|
|
17
|
+
|
|
18
|
+
- ​<!-- 24 -->[ClassNameGenerator] Prevent all `base` imports (#31297) @siriwatknp
|
|
19
|
+
|
|
20
|
+
`unstable_ClassNameGenerator` has been moved from `utils` to `className` folder to prevent all MUI Base module imports. If you use the module, please update the import as suggested in the diff below:
|
|
21
|
+
|
|
22
|
+
```diff
|
|
23
|
+
- import { unstable_ClassNameGenerator } from '@mui/material/utils';
|
|
24
|
+
+ import { unstable_ClassNameGenerator } from '@mui/material/className';
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
#### Changes
|
|
28
|
+
|
|
29
|
+
- ​<!-- 28 -->[Autocomplete] Fix failing unit tests (#31302) @michaldudak
|
|
30
|
+
- ​<!-- 27 -->[Autocomplete] Have the screen reader announce when autocomplete is open and closed (#30601) @EdmundMai
|
|
31
|
+
- ​<!-- 26 -->[AvatarGroup] Fix misalignment with non-default spacing (#31165) @sjdemartini
|
|
32
|
+
- ​<!-- 15 -->[Drawer] Adjustments to the mini variant to improve UI/UX (#31267) @siriwatknp
|
|
33
|
+
- ​<!-- 04 -->[Select] Add extending `OutlinedInputProps` by SelectProps (#31209) @jrozbicki
|
|
34
|
+
|
|
35
|
+
### `@mui/icons-material@5.5.0`
|
|
36
|
+
|
|
37
|
+
- ​<!-- 13 -->[icons] Sync new Google Material Icons (#30766) @simonecervini
|
|
38
|
+
|
|
39
|
+
### `@mui/codemod@5.5.0`
|
|
40
|
+
|
|
41
|
+
- ​<!-- 23 -->[codemod] Fix top level imports codemod (#31308) @mnajdova
|
|
42
|
+
|
|
43
|
+
### `@mui/lab@5.0.0-alpha.72`
|
|
44
|
+
|
|
45
|
+
- ​<!-- 07 -->[LoadingButton] Fix padding of loading icon in small button (#31113) @PunitSoniME
|
|
46
|
+
|
|
47
|
+
### `@mui/base@5.0.0-alpha.71`
|
|
48
|
+
|
|
49
|
+
- ​<!-- 05 -->[MenuUnstyled] Create MenuUnstyled and useMenu (#30961) @michaldudak
|
|
50
|
+
- ​<!-- 03 -->[SelectUnstyled] Prevent window scrolling after opening (#31237) @michaldudak
|
|
51
|
+
|
|
52
|
+
### `@mui/joy@5.0.0-alpha.18`
|
|
53
|
+
|
|
54
|
+
- ​<!-- 12 -->[Joy] Make Icon `fontSize` adaptable to its parent (#31268) @siriwatknp
|
|
55
|
+
- ​<!-- 11 -->[Joy] Add `Link` component (#31175) @hbjORbj
|
|
56
|
+
- ​<!-- 10 -->[Joy] Improve `Sheet` tests (#31241) @hbjORbj
|
|
57
|
+
- ​<!-- 09 -->[Joy] Improve SvgIcon tests (#31242) @hbjORbj
|
|
58
|
+
|
|
59
|
+
### `@mui/material-next@6.0.0-alpha.26`
|
|
60
|
+
|
|
61
|
+
- ​<!-- 06 -->[material-next] Mark @mui/material as a dependency (#31270) @siriwatknp
|
|
62
|
+
|
|
63
|
+
### Docs
|
|
64
|
+
|
|
65
|
+
- ​<!-- 21 -->[docs] Remove career pages from translation (#31346) @oliviertassinari
|
|
66
|
+
- ​<!-- 20 -->[docs] Fix JS files overloading (#31341) @oliviertassinari
|
|
67
|
+
- ​<!-- 19 -->[docs] Add banner in solidarity of Ukraine (#31275) @danilo-leal
|
|
68
|
+
- ​<!-- 18 -->[docs] Fix maxWidth of scrollable Tabs demos (#31285) @danilo-leal
|
|
69
|
+
- ​<!-- 17 -->[docs] Fix icon linking implementation concurrent safe (#30428) @Janpot
|
|
70
|
+
- ​<!-- 16 -->[docs] Follow up new doc space issues (#31251) @siriwatknp
|
|
71
|
+
- ​<!-- 29 -->[examples] Add `@types/node` to nextjs typescript starter (#30918) @Daggy1234
|
|
72
|
+
- ​<!-- 14 -->[examples] Fix import ThemeProvider from correct package in remix-wit… (#30981) @nnecec
|
|
73
|
+
- ​<!-- 25 -->[blog] Simplify the labels (#30921) @oliviertassinari
|
|
74
|
+
- ​<!-- 08 -->[l10n] Add Croatian (hr-HR) and Serbian (sr-RS) translation (#30906) @m14d3n
|
|
75
|
+
|
|
76
|
+
### Core
|
|
77
|
+
|
|
78
|
+
- ​<!-- 23 -->[core] Fix running markdownlint on Windows (#31352) @michaldudak
|
|
79
|
+
- ​<!-- 22 -->[core] Fix the stylelint script on Windows (#31281) @mnajdova
|
|
80
|
+
- ​<!-- 02 -->[test] Fix buildApiUtils tests on Windows (#31304) @michaldudak
|
|
81
|
+
- ​<!-- 01 -->[test] Remove legacyRoot option from test renderer (#31284) @eps1lon
|
|
82
|
+
|
|
83
|
+
All contributors of this release in alphabetical order: @Daggy1234, @danilo-leal, @EdmundMai, @eps1lon, @hbjORbj, @Janpot, @jrozbicki, @m14d3n, @michaldudak, @mnajdova, @nnecec, @oliviertassinari, @PunitSoniME, @simonecervini, @siriwatknp, @sjdemartini
|
|
84
|
+
|
|
85
|
+
## 5.4.4
|
|
86
|
+
|
|
87
|
+
<!-- generated comparing v5.4.3..master -->
|
|
88
|
+
|
|
89
|
+
_Feb 28, 2022_
|
|
90
|
+
|
|
91
|
+
A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
|
|
92
|
+
|
|
93
|
+
- ✨ New `Input` and `Sheet` components were added in the experimental Joy design system by @hbjORbj (#31124, #31086) @hbjORbj
|
|
94
|
+
- Several 🐛 bug fixes and 📚 documentation improvements
|
|
95
|
+
|
|
96
|
+
### `@mui/material@5.4.4`
|
|
97
|
+
|
|
98
|
+
- ​<!-- 28 -->[Autocomplete] Have Autocomplete with multiline textfield log a warning instead of an error (#30680) @iclaude3
|
|
99
|
+
- ​<!-- 27 -->[Chip] Fix ellipsis when the children is too long (#31087) @PunitSoniME
|
|
100
|
+
- ​<!-- 14 -->[Input] Export InputBase's classes from the classes const (#31186) @mnajdova
|
|
101
|
+
- ​<!-- 29 -->[TextField] Fix Horizontal scroll when label too long (#31187) @RedHeadphone
|
|
102
|
+
- ​<!-- 08 -->[styles] Fix typo in import error (#31167) @davwheat
|
|
103
|
+
|
|
104
|
+
### `@mui/system@5.4.4`
|
|
105
|
+
|
|
106
|
+
- ​<!-- 07 -->[system] Fix executing server-side Emotion component as function interpolation 2 (#31024) @Andarist
|
|
107
|
+
- ​<!-- 06 -->[system] Fix sx prop types when CSS variables are used with nested selectors (#31163) @mnajdova
|
|
108
|
+
- ​<!-- 05 -->[system] Fix `CssVarsProvider` theme mutation (#31148) @siriwatknp
|
|
109
|
+
|
|
110
|
+
### `@mui/codemod@5.4.4`
|
|
111
|
+
|
|
112
|
+
- ​<!-- 26 -->[codemods] Add v5.0.0/top-level-imports codemod (#31195) @greengiraffe
|
|
113
|
+
|
|
114
|
+
### `@mui/base@5.0.0-alpha.70`
|
|
115
|
+
|
|
116
|
+
- ​<!-- 31 -->[SelectUnstyled, MultiSelectUnstyled, ButtonUnstyled] Export additional types to make customization easier (#31172) @michaldudak
|
|
117
|
+
|
|
118
|
+
### `@mui/joy@5.0.0-alpha.17`
|
|
119
|
+
|
|
120
|
+
- ​<!-- 13 -->[Joy] Add nested list components (#31159) @siriwatknp
|
|
121
|
+
- ​<!-- 12 -->[Joy] Improve color customization on `Switch` (#31137) @siriwatknp
|
|
122
|
+
- ​<!-- 11 -->[Joy] Add `Sheet` component (#31124) @hbjORbj
|
|
123
|
+
- ​<!-- 10 -->[Joy] add `Input` component (#31086) @siriwatknp
|
|
124
|
+
- ​<!-- 09 -->[Joy] Fix Button missing slot type (#31166) @siriwatknp
|
|
125
|
+
|
|
126
|
+
### Docs
|
|
127
|
+
|
|
128
|
+
- ​<!-- 22 -->[docs] Fix 404 link to the blog (#31234) @oliviertassinari
|
|
129
|
+
- ​<!-- 21 -->[docs] Use `material-ui` for product name (#31200) @siriwatknp
|
|
130
|
+
- ​<!-- 20 -->[docs] Add Base installation page (#30969) @siriwatknp
|
|
131
|
+
- ​<!-- 19 -->[docs] Use new Algolia app for new structure (#31178) @siriwatknp
|
|
132
|
+
- ​<!-- 18 -->[docs] Typo in the `FormControl` API documentation (#31169) @bonellia
|
|
133
|
+
- ​<!-- 17 -->[docs] Fix typo in Stack documentation (#31176) @adriancampos
|
|
134
|
+
- ​<!-- 16 -->[docs] Update interoperability.md broken tailwind links (#31182) @robertwt7
|
|
135
|
+
- ​<!-- 15 -->[docs] Add missing import into tss-react migration guide (#31162) @sviande
|
|
136
|
+
- ​<!-- 03 -->[website] The role is filled (#31216) @oliviertassinari
|
|
137
|
+
- ​<!-- 02 -->[website] Revise the row grouping blog post (#31101) @samuelsycamore
|
|
138
|
+
- ​<!-- 01 -->[website] Fix a few SEO issues (#31150) @oliviertassinari
|
|
139
|
+
|
|
140
|
+
### Core
|
|
141
|
+
|
|
142
|
+
- ​<!-- 30 -->[core] Add group for the @fortawesome dependencies (#31193) @mnajdova
|
|
143
|
+
- ​<!-- 25 -->[core] Update playwright docker to match the specified version (#31236) @siriwatknp
|
|
144
|
+
- ​<!-- 24 -->[core] Remove parallel on buildTypes (#31189) @siriwatknp
|
|
145
|
+
- ​<!-- 23 -->[core] Fix propTypes generation for optional any props (#31141) @m4theushw
|
|
146
|
+
- ​<!-- 04 -->[Typescript] Remove variants deprecation (#31239) @siriwatknp
|
|
147
|
+
|
|
148
|
+
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
|
|
149
|
+
|
|
150
|
+
## 5.4.3
|
|
151
|
+
|
|
152
|
+
<!-- generated comparing v5.4.2..master -->
|
|
153
|
+
|
|
154
|
+
_Feb 21, 2022_
|
|
155
|
+
|
|
156
|
+
A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
|
|
157
|
+
|
|
158
|
+
- 🛠 @hbjORbj made components use theme duration/easing values by default (#30894)
|
|
159
|
+
- A meaningful number of 🐛 bug fixes and 📚 documentation improvements
|
|
160
|
+
|
|
161
|
+
### `@mui/material@5.4.3`
|
|
162
|
+
|
|
163
|
+
- ​<!-- 18 -->[ButtonBase] Fix typo (#31135) @Jastor11
|
|
164
|
+
- ​<!-- 05 -->[Stepper] Export useStepContext (#31021) @michaldudak
|
|
165
|
+
- ​<!-- 04 -->[Transitions] Some components do not use transition duration/easing values from theme (#30894) @hbjORbj
|
|
166
|
+
|
|
167
|
+
### `@mui/icons-material@5.4.3`
|
|
168
|
+
|
|
169
|
+
- ​<!-- 11 -->[icons] Add "circle" icon synonyms (#31118) @gnowland
|
|
170
|
+
|
|
171
|
+
### `@mui/joy@5.0.0-alpha.16`
|
|
172
|
+
|
|
173
|
+
- ​<!-- 10 -->[Joy] `List` second iteration (#31134) @siriwatknp
|
|
174
|
+
- ​<!-- 09 -->[Joy] Fix typings (#31120) @siriwatknp
|
|
175
|
+
- ​<!-- 08 -->[Joy] Add initial `List` components (#30987) @siriwatknp
|
|
176
|
+
|
|
177
|
+
### Docs
|
|
178
|
+
|
|
179
|
+
- ​<!-- 19 -->[website] Improve full-stack role job description (#31160) @Janpot
|
|
180
|
+
- ​<!-- 14 -->[docs] Fix typo of migration guides v4 (#31136) @pppp606
|
|
181
|
+
- ​<!-- 13 -->[docs] Update on the support page to account for v4 LTS support (#31029) @danilo-leal
|
|
182
|
+
- ​<!-- 12 -->[docs] Fix small typo in chips.md (#31092) @cameliaben
|
|
183
|
+
- ​<!-- 07 -->[l10n] Add it-IT translation for labelDisplayedRows (#31131) @frab90
|
|
184
|
+
- ​<!-- 06 -->[l10n] Add pl-PL translation for labelDisplayedRows (#31088) @ThomasTheHuman
|
|
185
|
+
- ​<!-- 03 -->[website] Sync MUI X table feature (#30913) @alexfauquette
|
|
186
|
+
- ​<!-- 02 -->[website] Prefill source in job application links (#31036) @oliviertassinari
|
|
187
|
+
- ​<!-- 01 -->[website] Fix a grammar mistake (#31099) @huyenltnguyen
|
|
188
|
+
|
|
189
|
+
### Core
|
|
190
|
+
|
|
191
|
+
- ​<!-- 17 -->[core] Add jsx, html, css and prisma to prettier extensions (#31161) @Janpot
|
|
192
|
+
- ​<!-- 16 -->[core] Allow to run material-ui.com/store alongside mui.com/store (#31065) @oliviertassinari
|
|
193
|
+
- ​<!-- 15 -->[core] Polish design tokens (#31095) @oliviertassinari
|
|
194
|
+
|
|
195
|
+
All contributors of this release in alphabetical order: @alexfauquette, @cameliaben, @danilo-leal, @frab90, @gnowland, @hbjORbj, @huyenltnguyen, @Janpot, @Jastor11, @michaldudak, @oliviertassinari, @pppp606, @siriwatknp, @ThomasTheHuman
|
|
196
|
+
|
|
3
197
|
## 5.4.2
|
|
4
198
|
|
|
5
199
|
_Feb 15, 2022_
|
|
@@ -120,7 +314,7 @@ A big thanks to the 24 contributors who made this release possible. Here are som
|
|
|
120
314
|
- ​<!-- 20 -->[docs] Clarify what the name of @mui/material is (#30866) @oliviertassinari
|
|
121
315
|
- ​<!-- 19 -->[docs] Remove migration from the releases page (#30863) @mnajdova
|
|
122
316
|
- ​<!-- 18 -->[docs] Update Instructions for Google Maps Autocomplete (#30849) @kjschabra
|
|
123
|
-
- ​<!-- 17 -->[docs] Hotfix notification
|
|
317
|
+
- ​<!-- 17 -->[docs] Hotfix notification (#30862) @siriwatknp
|
|
124
318
|
- ​<!-- 04 -->[website] Sample GA to avoid hit limit (#30919) @oliviertassinari
|
|
125
319
|
- ​<!-- 03 -->[website] Hide scrollbars of hero containers (#29474) @theiliad
|
|
126
320
|
- ​<!-- 02 -->[website] Polishing spacing and other small things (#30828) @danilo-leal
|
|
@@ -3529,7 +3723,7 @@ A big thanks to the 15 contributors who made this release possible. Here are som
|
|
|
3529
3723
|
- ​<!-- 53 -->[DateTimePicker] `date` is nullable in `onChange` (#25981) @eps1lon
|
|
3530
3724
|
- ​<!-- 39 -->[internal][pickers] Remove unused TView type argument (#25936) @eps1lon
|
|
3531
3725
|
- ​<!-- 48 -->[internal][pickers] Inline some BasePickerProps usages (#25971) @eps1lon
|
|
3532
|
-
- ​<!-- 44 -->[internal][pickers] Entangle what
|
|
3726
|
+
- ​<!-- 44 -->[internal][pickers] Entangle what Props vs AllProps means (#25938) @eps1lon
|
|
3533
3727
|
- ​<!-- 19 -->[lab] Update slot components to use overridesResolver (#25906) @mnajdova
|
|
3534
3728
|
- ​<!-- 40 -->[Timeline] Remove use of nth-child in favor of nth-of-type (#25915) @wellwellmissesanderson
|
|
3535
3729
|
- ​<!-- 06 -->[Timeline] Migrate Timeline to emotion (#25838) @siriwatknp
|
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;
|