@mui/material 5.6.4 → 5.7.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/Autocomplete.js +15 -14
- package/Autocomplete/autocompleteClasses.d.ts +54 -54
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/Backdrop/backdropClasses.d.ts +10 -10
- package/Badge/badgeClasses.d.ts +24 -24
- 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 +76 -76
- package/ButtonBase/buttonBaseClasses.d.ts +12 -12
- package/ButtonBase/touchRippleClasses.d.ts +20 -20
- package/ButtonGroup/ButtonGroup.js +10 -10
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
- package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
- package/CHANGELOG.md +101 -0
- package/Card/cardClasses.d.ts +8 -8
- package/CardActionArea/CardActionArea.js +2 -2
- 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/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/CssBaseline/CssBaseline.js +4 -4
- package/Dialog/DialogContext.d.ts +6 -6
- package/Dialog/dialogClasses.d.ts +36 -36
- package/DialogActions/dialogActionsClasses.d.ts +10 -10
- package/DialogContent/DialogContent.js +2 -2
- package/DialogContent/dialogContentClasses.d.ts +10 -10
- package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
- package/DialogTitle/dialogTitleClasses.d.ts +8 -8
- package/Divider/Divider.js +4 -4
- package/Divider/dividerClasses.d.ts +34 -34
- package/Drawer/Drawer.js +6 -6
- package/Drawer/drawerClasses.d.ts +30 -30
- package/Fab/Fab.js +69 -65
- package/Fab/fabClasses.d.ts +26 -26
- package/FilledInput/filledInputClasses.d.ts +40 -40
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControlLabel/FormControlLabel.js +1 -1
- package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
- package/FormGroup/formGroupClasses.d.ts +12 -12
- package/FormHelperText/FormHelperText.js +3 -3
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormLabel/FormLabel.js +5 -5
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/Grid/gridClasses.d.ts +48 -48
- package/Icon/Icon.js +8 -8
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/IconButton.js +5 -5
- package/IconButton/iconButtonClasses.d.ts +26 -26
- package/ImageList/imageListClasses.d.ts +16 -16
- package/ImageListItem/imageListItemClasses.d.ts +18 -18
- package/ImageListItemBar/ImageListItemBar.js +1 -1
- package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
- package/Input/Input.js +9 -4
- package/Input/inputClasses.d.ts +34 -34
- package/InputAdornment/InputAdornment.js +1 -1
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/InputBase.js +16 -8
- package/InputBase/inputBaseClasses.d.ts +44 -44
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- package/Link/Link.js +3 -8
- package/Link/linkClasses.d.ts +18 -18
- package/List/listClasses.d.ts +14 -14
- package/ListItem/ListItem.js +8 -8
- package/ListItem/listItemClasses.d.ts +30 -30
- package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
- package/ListItemButton/ListItemButton.js +8 -8
- package/ListItemButton/listItemButtonClasses.d.ts +22 -22
- package/ListItemIcon/ListItemIcon.js +1 -1
- package/ListItemIcon/listItemIconClasses.d.ts +10 -10
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
- package/ListItemText/listItemTextClasses.d.ts +18 -18
- package/ListSubheader/ListSubheader.js +3 -3
- package/ListSubheader/listSubheaderClasses.d.ts +18 -18
- package/Menu/menuClasses.d.ts +12 -12
- package/MenuItem/MenuItem.js +8 -8
- package/MenuItem/menuItemClasses.d.ts +20 -20
- package/MobileStepper/MobileStepper.js +5 -5
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/Modal/Modal.js +1 -1
- package/NativeSelect/nativeSelectClasses.d.ts +32 -32
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/Pagination/paginationClasses.d.ts +14 -14
- package/PaginationItem/PaginationItem.js +27 -27
- 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/Rating.js +2 -2
- package/Rating/ratingClasses.d.ts +40 -40
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
- package/Select/selectClasses.d.ts +30 -30
- package/Skeleton/skeletonClasses.d.ts +24 -24
- package/Snackbar/Snackbar.js +1 -1
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
- package/SpeedDial/SpeedDial.js +1 -1
- 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 -20
- 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/StepIcon.js +5 -5
- package/StepIcon/stepIconClasses.d.ts +16 -16
- package/StepLabel/StepLabel.js +4 -4
- package/StepLabel/stepLabelClasses.d.ts +28 -28
- package/Stepper/StepperContext.d.ts +18 -0
- package/Stepper/StepperContext.js +10 -2
- package/Stepper/index.d.ts +3 -0
- package/Stepper/index.js +3 -1
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/SvgIcon.js +4 -4
- package/SvgIcon/svgIconClasses.d.ts +24 -24
- package/Switch/switchClasses.d.ts +32 -32
- package/Tab/Tab.js +7 -7
- package/Tab/tabClasses.d.ts +26 -26
- package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
- package/Table/Table.js +1 -1
- 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/TablePagination.js +1 -1
- package/TablePagination/tablePaginationClasses.d.ts +28 -28
- package/TableRow/TableRow.js +3 -3
- package/TableRow/tableRowClasses.d.ts +16 -16
- package/TableSortLabel/TableSortLabel.js +4 -4
- package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
- package/Tabs/Tabs.js +2 -2
- package/Tabs/tabsClasses.d.ts +32 -32
- package/TextField/textFieldClasses.d.ts +8 -8
- package/ToggleButton/ToggleButton.js +17 -10
- package/ToggleButton/toggleButtonClasses.d.ts +24 -24
- package/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
- package/Toolbar/toolbarClasses.d.ts +14 -14
- package/Tooltip/Tooltip.js +5 -5
- package/Tooltip/tooltipClasses.d.ts +30 -30
- package/Typography/typographyClasses.d.ts +50 -50
- package/className/index.d.ts +1 -8
- package/className/index.js +1 -8
- package/darkScrollbar/index.d.ts +28 -28
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/Autocomplete/Autocomplete.js +15 -14
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/ButtonGroup/ButtonGroup.js +10 -10
- package/legacy/CardActionArea/CardActionArea.js +2 -2
- package/legacy/CssBaseline/CssBaseline.js +4 -4
- package/legacy/DialogContent/DialogContent.js +2 -2
- package/legacy/Divider/Divider.js +4 -4
- package/legacy/Drawer/Drawer.js +6 -6
- package/legacy/Fab/Fab.js +17 -17
- package/legacy/FormControlLabel/FormControlLabel.js +1 -1
- package/legacy/FormHelperText/FormHelperText.js +3 -3
- package/legacy/FormLabel/FormLabel.js +5 -5
- package/legacy/Icon/Icon.js +8 -8
- package/legacy/IconButton/IconButton.js +5 -5
- package/legacy/ImageListItemBar/ImageListItemBar.js +1 -1
- package/legacy/Input/Input.js +8 -3
- package/legacy/InputAdornment/InputAdornment.js +1 -1
- package/legacy/InputBase/InputBase.js +16 -8
- package/legacy/Link/Link.js +3 -9
- package/legacy/ListItem/ListItem.js +8 -8
- package/legacy/ListItemButton/ListItemButton.js +8 -8
- package/legacy/ListItemIcon/ListItemIcon.js +1 -1
- package/legacy/ListSubheader/ListSubheader.js +3 -3
- package/legacy/MenuItem/MenuItem.js +8 -8
- package/legacy/MobileStepper/MobileStepper.js +5 -5
- package/legacy/Modal/Modal.js +1 -1
- package/legacy/PaginationItem/PaginationItem.js +27 -27
- package/legacy/Rating/Rating.js +2 -2
- package/legacy/Snackbar/Snackbar.js +1 -1
- package/legacy/SpeedDial/SpeedDial.js +1 -1
- package/legacy/StepIcon/StepIcon.js +5 -5
- package/legacy/StepLabel/StepLabel.js +4 -4
- package/legacy/Stepper/StepperContext.js +10 -2
- package/legacy/Stepper/index.js +3 -1
- package/legacy/SvgIcon/SvgIcon.js +4 -4
- package/legacy/Tab/Tab.js +7 -7
- package/legacy/Table/Table.js +1 -1
- package/legacy/TablePagination/TablePagination.js +1 -1
- package/legacy/TableRow/TableRow.js +3 -3
- package/legacy/TableSortLabel/TableSortLabel.js +4 -4
- package/legacy/Tabs/Tabs.js +2 -2
- package/legacy/ToggleButton/ToggleButton.js +16 -9
- package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/legacy/Tooltip/Tooltip.js +5 -5
- package/legacy/className/index.js +1 -8
- package/legacy/index.js +1 -1
- package/legacy/styles/createPalette.js +2 -1
- package/legacy/styles/experimental_extendTheme.js +52 -43
- package/locale/index.d.ts +71 -71
- package/modern/Autocomplete/Autocomplete.js +15 -14
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/ButtonGroup/ButtonGroup.js +10 -10
- package/modern/CardActionArea/CardActionArea.js +2 -2
- package/modern/CssBaseline/CssBaseline.js +4 -4
- package/modern/DialogContent/DialogContent.js +2 -2
- package/modern/Divider/Divider.js +4 -4
- package/modern/Drawer/Drawer.js +6 -6
- package/modern/Fab/Fab.js +16 -16
- package/modern/FormControlLabel/FormControlLabel.js +1 -1
- package/modern/FormHelperText/FormHelperText.js +3 -3
- package/modern/FormLabel/FormLabel.js +5 -5
- package/modern/Icon/Icon.js +8 -8
- package/modern/IconButton/IconButton.js +5 -5
- package/modern/ImageListItemBar/ImageListItemBar.js +1 -1
- package/modern/Input/Input.js +9 -4
- package/modern/InputAdornment/InputAdornment.js +1 -1
- package/modern/InputBase/InputBase.js +16 -8
- package/modern/Link/Link.js +3 -8
- package/modern/ListItem/ListItem.js +8 -8
- package/modern/ListItemButton/ListItemButton.js +8 -8
- package/modern/ListItemIcon/ListItemIcon.js +1 -1
- package/modern/ListSubheader/ListSubheader.js +3 -3
- package/modern/MenuItem/MenuItem.js +8 -8
- package/modern/MobileStepper/MobileStepper.js +5 -5
- package/modern/Modal/Modal.js +1 -1
- package/modern/PaginationItem/PaginationItem.js +27 -27
- package/modern/Rating/Rating.js +2 -2
- package/modern/Snackbar/Snackbar.js +1 -1
- package/modern/SpeedDial/SpeedDial.js +1 -1
- package/modern/StepIcon/StepIcon.js +5 -5
- package/modern/StepLabel/StepLabel.js +4 -4
- package/modern/Stepper/StepperContext.js +10 -2
- package/modern/Stepper/index.js +3 -1
- package/modern/SvgIcon/SvgIcon.js +3 -3
- package/modern/Tab/Tab.js +7 -7
- package/modern/Table/Table.js +1 -1
- package/modern/TablePagination/TablePagination.js +1 -1
- package/modern/TableRow/TableRow.js +3 -3
- package/modern/TableSortLabel/TableSortLabel.js +4 -4
- package/modern/Tabs/Tabs.js +2 -2
- package/modern/ToggleButton/ToggleButton.js +17 -10
- package/modern/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/modern/Tooltip/Tooltip.js +5 -5
- package/modern/className/index.js +1 -8
- package/modern/index.js +1 -1
- package/modern/styles/createPalette.js +2 -1
- package/modern/styles/experimental_extendTheme.js +56 -45
- package/node/Autocomplete/Autocomplete.js +15 -14
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/ButtonGroup/ButtonGroup.js +10 -10
- package/node/CardActionArea/CardActionArea.js +2 -2
- package/node/CssBaseline/CssBaseline.js +4 -4
- package/node/DialogContent/DialogContent.js +2 -2
- package/node/Divider/Divider.js +4 -4
- package/node/Drawer/Drawer.js +6 -6
- package/node/Fab/Fab.js +69 -65
- package/node/FormControlLabel/FormControlLabel.js +1 -1
- package/node/FormHelperText/FormHelperText.js +3 -3
- package/node/FormLabel/FormLabel.js +5 -5
- package/node/Icon/Icon.js +8 -8
- package/node/IconButton/IconButton.js +5 -5
- package/node/ImageListItemBar/ImageListItemBar.js +1 -1
- package/node/Input/Input.js +9 -4
- package/node/InputAdornment/InputAdornment.js +1 -1
- package/node/InputBase/InputBase.js +14 -8
- package/node/Link/Link.js +3 -9
- package/node/ListItem/ListItem.js +8 -8
- package/node/ListItemButton/ListItemButton.js +8 -8
- package/node/ListItemIcon/ListItemIcon.js +1 -1
- package/node/ListSubheader/ListSubheader.js +3 -3
- package/node/MenuItem/MenuItem.js +8 -8
- package/node/MobileStepper/MobileStepper.js +5 -5
- package/node/Modal/Modal.js +1 -1
- package/node/PaginationItem/PaginationItem.js +27 -27
- package/node/Rating/Rating.js +2 -2
- package/node/Snackbar/Snackbar.js +1 -1
- package/node/SpeedDial/SpeedDial.js +1 -1
- package/node/StepIcon/StepIcon.js +5 -5
- package/node/StepLabel/StepLabel.js +4 -4
- package/node/Stepper/StepperContext.js +11 -1
- package/node/Stepper/index.js +22 -1
- package/node/SvgIcon/SvgIcon.js +4 -4
- package/node/Tab/Tab.js +7 -7
- package/node/Table/Table.js +1 -1
- package/node/TablePagination/TablePagination.js +1 -1
- package/node/TableRow/TableRow.js +3 -3
- package/node/TableSortLabel/TableSortLabel.js +4 -4
- package/node/Tabs/Tabs.js +2 -2
- package/node/ToggleButton/ToggleButton.js +17 -10
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/node/Tooltip/Tooltip.js +5 -5
- package/node/className/index.js +2 -2
- package/node/index.js +1 -1
- package/node/styles/createPalette.js +2 -1
- package/node/styles/experimental_extendTheme.js +57 -47
- package/package.json +6 -5
- package/styles/ThemeProvider.d.ts +1 -1
- package/styles/createPalette.d.ts +9 -2
- package/styles/createPalette.js +2 -1
- package/styles/experimental_extendTheme.d.ts +13 -16
- package/styles/experimental_extendTheme.js +57 -46
- 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 +477 -385
- 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/ownerDocument.d.ts +2 -2
- package/utils/ownerWindow.d.ts +2 -2
- package/utils/setRef.d.ts +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface BottomNavigationClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
}
|
|
5
|
-
export declare type BottomNavigationClassKey = keyof BottomNavigationClasses;
|
|
6
|
-
export declare function getBottomNavigationUtilityClass(slot: string): string;
|
|
7
|
-
declare const bottomNavigationClasses: BottomNavigationClasses;
|
|
8
|
-
export default bottomNavigationClasses;
|
|
1
|
+
export interface BottomNavigationClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
}
|
|
5
|
+
export declare type BottomNavigationClassKey = keyof BottomNavigationClasses;
|
|
6
|
+
export declare function getBottomNavigationUtilityClass(slot: string): string;
|
|
7
|
+
declare const bottomNavigationClasses: BottomNavigationClasses;
|
|
8
|
+
export default bottomNavigationClasses;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export interface BottomNavigationActionClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** State class applied to the root element if selected. */
|
|
5
|
-
selected: string;
|
|
6
|
-
/** State class applied to the root element if `showLabel={false}` and not selected. */
|
|
7
|
-
iconOnly: string;
|
|
8
|
-
/** Styles applied to the label's span element. */
|
|
9
|
-
label: string;
|
|
10
|
-
}
|
|
11
|
-
export declare type BottomNavigationActionClassKey = keyof BottomNavigationActionClasses;
|
|
12
|
-
export declare function getBottomNavigationActionUtilityClass(slot: string): string;
|
|
13
|
-
declare const bottomNavigationActionClasses: BottomNavigationActionClasses;
|
|
14
|
-
export default bottomNavigationActionClasses;
|
|
1
|
+
export interface BottomNavigationActionClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** State class applied to the root element if selected. */
|
|
5
|
+
selected: string;
|
|
6
|
+
/** State class applied to the root element if `showLabel={false}` and not selected. */
|
|
7
|
+
iconOnly: string;
|
|
8
|
+
/** Styles applied to the label's span element. */
|
|
9
|
+
label: string;
|
|
10
|
+
}
|
|
11
|
+
export declare type BottomNavigationActionClassKey = keyof BottomNavigationActionClasses;
|
|
12
|
+
export declare function getBottomNavigationActionUtilityClass(slot: string): string;
|
|
13
|
+
declare const bottomNavigationActionClasses: BottomNavigationActionClasses;
|
|
14
|
+
export default bottomNavigationActionClasses;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export interface BreadcrumbsClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the ol element. */
|
|
5
|
-
ol: string;
|
|
6
|
-
/** Styles applied to the li element. */
|
|
7
|
-
li: string;
|
|
8
|
-
/** Styles applied to the separator element. */
|
|
9
|
-
separator: string;
|
|
10
|
-
}
|
|
11
|
-
export declare type BreadcrumbsClassKey = keyof BreadcrumbsClasses;
|
|
12
|
-
export declare function getBreadcrumbsUtilityClass(slot: string): string;
|
|
13
|
-
declare const breadcrumbsClasses: BreadcrumbsClasses;
|
|
14
|
-
export default breadcrumbsClasses;
|
|
1
|
+
export interface BreadcrumbsClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the ol element. */
|
|
5
|
+
ol: string;
|
|
6
|
+
/** Styles applied to the li element. */
|
|
7
|
+
li: string;
|
|
8
|
+
/** Styles applied to the separator element. */
|
|
9
|
+
separator: string;
|
|
10
|
+
}
|
|
11
|
+
export declare type BreadcrumbsClassKey = keyof BreadcrumbsClasses;
|
|
12
|
+
export declare function getBreadcrumbsUtilityClass(slot: string): string;
|
|
13
|
+
declare const breadcrumbsClasses: BreadcrumbsClasses;
|
|
14
|
+
export default breadcrumbsClasses;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -56,9 +56,9 @@ const ButtonGroupRoot = styled('div', {
|
|
|
56
56
|
ownerState
|
|
57
57
|
}) => _extends({
|
|
58
58
|
display: 'inline-flex',
|
|
59
|
-
borderRadius: theme.shape.borderRadius
|
|
59
|
+
borderRadius: (theme.vars || theme).shape.borderRadius
|
|
60
60
|
}, ownerState.variant === 'contained' && {
|
|
61
|
-
boxShadow: theme.shadows[2]
|
|
61
|
+
boxShadow: (theme.vars || theme).shadows[2]
|
|
62
62
|
}, ownerState.disableElevation && {
|
|
63
63
|
boxShadow: 'none'
|
|
64
64
|
}, ownerState.fullWidth && {
|
|
@@ -86,27 +86,27 @@ const ButtonGroupRoot = styled('div', {
|
|
|
86
86
|
borderBottomRightRadius: 0,
|
|
87
87
|
borderBottomLeftRadius: 0
|
|
88
88
|
}, ownerState.variant === 'text' && ownerState.orientation === 'horizontal' && {
|
|
89
|
-
borderRight: `1px solid ${theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'}`
|
|
89
|
+
borderRight: theme.vars ? `1px solid rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.23)` : `1px solid ${theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'}`
|
|
90
90
|
}, ownerState.variant === 'text' && ownerState.orientation === 'vertical' && {
|
|
91
|
-
borderBottom: `1px solid ${theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'}`
|
|
91
|
+
borderBottom: theme.vars ? `1px solid rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.23)` : `1px solid ${theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'}`
|
|
92
92
|
}, ownerState.variant === 'text' && ownerState.color !== 'inherit' && {
|
|
93
|
-
borderColor: alpha(theme.palette[ownerState.color].main, 0.5)
|
|
93
|
+
borderColor: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / 0.5)` : alpha(theme.palette[ownerState.color].main, 0.5)
|
|
94
94
|
}, ownerState.variant === 'outlined' && ownerState.orientation === 'horizontal' && {
|
|
95
95
|
borderRightColor: 'transparent'
|
|
96
96
|
}, ownerState.variant === 'outlined' && ownerState.orientation === 'vertical' && {
|
|
97
97
|
borderBottomColor: 'transparent'
|
|
98
98
|
}, ownerState.variant === 'contained' && ownerState.orientation === 'horizontal' && {
|
|
99
|
-
borderRight: `1px solid ${theme.palette.grey[400]}`,
|
|
99
|
+
borderRight: `1px solid ${(theme.vars || theme).palette.grey[400]}`,
|
|
100
100
|
[`&.${buttonGroupClasses.disabled}`]: {
|
|
101
|
-
borderRight: `1px solid ${theme.palette.action.disabled}`
|
|
101
|
+
borderRight: `1px solid ${(theme.vars || theme).palette.action.disabled}`
|
|
102
102
|
}
|
|
103
103
|
}, ownerState.variant === 'contained' && ownerState.orientation === 'vertical' && {
|
|
104
|
-
borderBottom: `1px solid ${theme.palette.grey[400]}`,
|
|
104
|
+
borderBottom: `1px solid ${(theme.vars || theme).palette.grey[400]}`,
|
|
105
105
|
[`&.${buttonGroupClasses.disabled}`]: {
|
|
106
|
-
borderBottom: `1px solid ${theme.palette.action.disabled}`
|
|
106
|
+
borderBottom: `1px solid ${(theme.vars || theme).palette.action.disabled}`
|
|
107
107
|
}
|
|
108
108
|
}, ownerState.variant === 'contained' && ownerState.color !== 'inherit' && {
|
|
109
|
-
borderColor: theme.palette[ownerState.color].dark
|
|
109
|
+
borderColor: (theme.vars || theme).palette[ownerState.color].dark
|
|
110
110
|
}, {
|
|
111
111
|
'&:hover': _extends({}, ownerState.variant === 'outlined' && ownerState.orientation === 'horizontal' && {
|
|
112
112
|
borderRightColor: 'currentColor'
|
|
@@ -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,106 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.7.0
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.6.4..master -->
|
|
6
|
+
|
|
7
|
+
_May 10, 2022_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 27 contributors who made this release possible. Here are some highlights ✨:
|
|
10
|
+
|
|
11
|
+
🛠 This release is all about supporting CSS variables in many Material UI components.
|
|
12
|
+
Kudos to all contributors!
|
|
13
|
+
|
|
14
|
+
### `@mui/material@5.7.0`
|
|
15
|
+
|
|
16
|
+
- [StepLabel, StepIcon] Add support for CSS variables (#32609) @vicasas
|
|
17
|
+
- [Table, TableRow] Add support for CSS variables (#32614) @vicasas
|
|
18
|
+
- [AppBar] Add a logo component for the responsive app bar demo (#32374) @ameetmadan
|
|
19
|
+
- [Autocomplete] Fix clearing single array values (#32626) @mikepricedev
|
|
20
|
+
- [Autocomplete] Fix keep listbox open on left/right keys when inputValue is not empty (#31407) @alisasanib
|
|
21
|
+
- [Autocomplete] Add support for CSS variables (#32598) @ZeeshanTamboli
|
|
22
|
+
- [Autocomplete] Render `endAdornment` only when necessary (#32386) @g1eny0ung
|
|
23
|
+
- [ButtonGroup] Add support for CSS variables (#32498) @vicasas
|
|
24
|
+
- [CardActionArea] Add support for CSS variables (#32554) @vicasas
|
|
25
|
+
- [ClickAwayListener] Allow pointer up/down events to event handler (#32264) @vladjerca
|
|
26
|
+
- [CssBaseline] Add support for CSS vars (#32618) @haneenmahd
|
|
27
|
+
- [Dialog] Add support for CSS variables (#32555) @vicasas
|
|
28
|
+
- [Divider] Add support for CSS variables (#32519) @vicasas
|
|
29
|
+
- [Drawer] Add support for CSS variables (#32565) @nghiamvt
|
|
30
|
+
- [Fab] Add support for CSS variables (#32564) @alisasanib
|
|
31
|
+
- [FormControlLabel] Add support for CSS variables (#32588) @elliefoote
|
|
32
|
+
- [FormHelperText] Add support for CSS variables (#32596) @ZeeshanTamboli
|
|
33
|
+
- [FormLabel] Add support for CSS variables (#32602) @ZeeshanTamboli
|
|
34
|
+
- [Icon] Add support for CSS variables (#32595) @Jamaalwbrown
|
|
35
|
+
- [IconButton] Add support for CSS variables (#32590) @Ariyapong
|
|
36
|
+
- [ImageListItemBar] Add support for CSS variables (#32578) @vicasas
|
|
37
|
+
- [Input] Support CSS variables (#32128) @ivan-ngchakming
|
|
38
|
+
- [InputAdornment] Add support CSS variables (#32607) @vicasas
|
|
39
|
+
- [Link] Fix style overrides color prop (#32653) @siriwatknp
|
|
40
|
+
- [ListItem] Add support for CSS variables (#32580) @dan-mba
|
|
41
|
+
- [ListItemButton] Add support for CSS variables (#32582) @dan-mba
|
|
42
|
+
- [ListItemIcon] Add support for CSS variables (#32583) @dan-mba
|
|
43
|
+
- [ListSubheader] Add support for CSS variables (#32584) @dan-mba
|
|
44
|
+
- [MenuItem] Add support for CSS variables (#32561) @nghiamvt
|
|
45
|
+
- [MobileStepper] Add support for CSS vars (#32606) @haneenmahd
|
|
46
|
+
- [Modal] Add support for CSS variables (#32605) @haneenmahd
|
|
47
|
+
- [PaginationItem] Add support for CSS vars (#32612) @haneenmahd
|
|
48
|
+
- [Rating] Add support for CSS variables (#32556) @vicasas
|
|
49
|
+
- [Snackbar] Add support for CSS variables (#32603) @gin1314
|
|
50
|
+
- [SpeedDial] Add support for CSS variables (#32613) @alisasanib
|
|
51
|
+
- [Stepper] Export useStepperContext (#31398) @pzi
|
|
52
|
+
- [SvgIcon] Add support for CSS variables (#32610) @vicasas
|
|
53
|
+
- [TablePagination] Add support for CSS variables (#32615) @haneenmahd
|
|
54
|
+
- [TableSortLabel]: Add support for CSS vars (#32616) @haneenmahd
|
|
55
|
+
- [Tabs] Add support for CSS variables (#32547) @ZeeshanTamboli
|
|
56
|
+
- [ToggleButton] Add support for CSS variables (#32600) @Ariyapong
|
|
57
|
+
- [ToggleButtonGroup] Add support for CSS variables (#32617) @haneenmahd
|
|
58
|
+
- [Tooltip] Add support for CSS variables (#32594) @gin1314
|
|
59
|
+
|
|
60
|
+
### `@mui/system@5.7.0`
|
|
61
|
+
|
|
62
|
+
- [System] Support CSS variables for iframes & custom nodes (#32496) @siriwatknp
|
|
63
|
+
|
|
64
|
+
### `@mui/base@5.0.0-alpha.80`
|
|
65
|
+
|
|
66
|
+
- [ButtonUnstyled] Fix keyboard navigation on customized elements (#32204) @michaldudak
|
|
67
|
+
|
|
68
|
+
### `@mui/private-classnames@5.7.0`
|
|
69
|
+
|
|
70
|
+
- [classnames] Add new package for classnames utils (#32502) @mnajdova
|
|
71
|
+
|
|
72
|
+
### Docs
|
|
73
|
+
|
|
74
|
+
- [docs] Correct links to prevent 301 redirects (#32692) @michaldudak
|
|
75
|
+
- [docs] Move, split, and revise "Unstyled components" page (#32562) @samuelsycamore
|
|
76
|
+
- [docs] Nest `ListItemButton` in `ListItem` in the Drawer examples (#31987) @stefanprobst
|
|
77
|
+
- [docs] Apply callouts in the Material UI docs (#32567) @danilo-leal
|
|
78
|
+
- [docs] Show product identifier on new X pages (#32657) @cherniavskii
|
|
79
|
+
- [docs] Fix copy button childNode not found (#32652) @siriwatknp
|
|
80
|
+
- [docs] Split install commands in isolated code blocks (#32566) @danilo-leal
|
|
81
|
+
- [docs] Base Switch style revisions and final review (#32376) @samuelsycamore
|
|
82
|
+
- [docs] Adds Badge link to Base doc nav (#32619) @samuelsycamore
|
|
83
|
+
- [docs] Base Installation style revisions and final review (#32483) @samuelsycamore
|
|
84
|
+
- [docs] Fix broken redirection (#32581) @oliviertassinari
|
|
85
|
+
- [docs] Allows to use `import '<library name>'` in demonstrations (#32492) @alexfauquette
|
|
86
|
+
- [docs] Hide copy button on search icon dialog (#32577) @siriwatknp
|
|
87
|
+
- [docs] Use full API link for ThemeProvider (#32549) @jcvidiri
|
|
88
|
+
- [Joy] Add principles page (#32648) @siriwatknp
|
|
89
|
+
- [Joy] Add Button page (#32576) @siriwatknp
|
|
90
|
+
- [Joy] Add "Quick start" and "Tutorial" pages (#32383) @siriwatknp
|
|
91
|
+
- [website] Add store to the footer and "hiring" chip adjustment (#32650) @danilo-leal
|
|
92
|
+
- [website] Optimize conversion to store (#32646) @oliviertassinari
|
|
93
|
+
- [website] Remove copy button on marketing pages (#32649) @siriwatknp
|
|
94
|
+
- [website] Add missing space in copy label (#32638) @flaviendelangle
|
|
95
|
+
|
|
96
|
+
### Core
|
|
97
|
+
|
|
98
|
+
- [core] Security updates (#32636) @michaldudak
|
|
99
|
+
- [core] Fix `docs:dev` not working after upgrading `next` to 12.1.0 (#32552) @cherniavskii
|
|
100
|
+
- [core] Update minimist to fix security vulnerability (#32575) @michaldudak
|
|
101
|
+
|
|
102
|
+
All contributors of this release in alphabetical order: @alexfauquette, @alisasanib, @ameetmadan, @Ariyapong, @cherniavskii, @dan-mba, @danilo-leal, @elliefoote, @flaviendelangle, @g1eny0ung, @gin1314, @haneenmahd, @ivan-ngchakming, @Jamaalwbrown, @jcvidiri, @michaldudak, @mikepricedev, @mnajdova, @nghiamvt, @oliviertassinari, @pzi, @samuelsycamore, @siriwatknp, @stefanprobst, @vicasas, @vladjerca, @ZeeshanTamboli
|
|
103
|
+
|
|
3
104
|
## 5.6.4
|
|
4
105
|
|
|
5
106
|
<!-- generated comparing v5.6.3..master -->
|
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;
|