@mui/material 5.14.2 → 5.14.4
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/Accordion.d.ts +11 -6
- package/Accordion/Accordion.js +1 -1
- package/Accordion/accordionClasses.d.ts +18 -18
- package/AccordionActions/AccordionActions.js +1 -1
- package/AccordionActions/accordionActionsClasses.d.ts +10 -10
- package/AccordionDetails/AccordionDetails.js +1 -1
- package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
- package/AccordionSummary/AccordionSummary.d.ts +9 -7
- package/AccordionSummary/AccordionSummary.js +1 -1
- package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
- package/Alert/Alert.js +1 -1
- package/Alert/alertClasses.d.ts +44 -44
- package/AlertTitle/AlertTitle.js +1 -1
- package/AlertTitle/alertTitleClasses.d.ts +8 -8
- package/AppBar/AppBar.d.ts +11 -6
- package/AppBar/AppBar.js +1 -1
- package/AppBar/appBarClasses.d.ts +28 -28
- package/Autocomplete/Autocomplete.d.ts +20 -16
- package/Autocomplete/Autocomplete.js +19 -15
- package/Autocomplete/autocompleteClasses.d.ts +58 -58
- package/Avatar/Avatar.d.ts +11 -6
- package/Avatar/Avatar.js +1 -1
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/AvatarGroup.d.ts +1 -1
- package/AvatarGroup/AvatarGroup.js +1 -1
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/Backdrop/Backdrop.d.ts +11 -6
- package/Backdrop/Backdrop.js +1 -1
- package/Backdrop/backdropClasses.d.ts +10 -10
- package/Badge/Badge.d.ts +11 -6
- package/Badge/Badge.js +2 -2
- package/Badge/badgeClasses.d.ts +56 -56
- package/BottomNavigation/BottomNavigation.d.ts +11 -6
- package/BottomNavigation/BottomNavigation.js +1 -1
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
- package/BottomNavigationAction/BottomNavigationAction.d.ts +9 -7
- package/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
- package/Box/Box.d.ts +3 -3
- package/Breadcrumbs/Breadcrumbs.d.ts +11 -6
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
- package/Button/Button.d.ts +16 -14
- package/Button/Button.js +1 -1
- package/Button/buttonClasses.d.ts +100 -100
- package/ButtonBase/ButtonBase.d.ts +17 -12
- package/ButtonBase/ButtonBase.js +1 -1
- package/ButtonBase/buttonBaseClasses.d.ts +12 -12
- package/ButtonBase/touchRippleClasses.d.ts +20 -20
- package/ButtonGroup/ButtonGroup.d.ts +11 -6
- package/ButtonGroup/ButtonGroup.js +1 -1
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
- package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
- package/CHANGELOG.md +193 -5
- package/Card/Card.d.ts +13 -8
- package/Card/Card.js +1 -1
- package/Card/cardClasses.d.ts +8 -8
- package/CardActionArea/CardActionArea.d.ts +11 -6
- package/CardActionArea/CardActionArea.js +1 -1
- package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
- package/CardActions/CardActions.js +1 -1
- package/CardActions/cardActionsClasses.d.ts +10 -10
- package/CardContent/CardContent.d.ts +11 -6
- package/CardContent/CardContent.js +1 -1
- package/CardContent/cardContentClasses.d.ts +8 -8
- package/CardHeader/CardHeader.js +1 -1
- package/CardHeader/cardHeaderClasses.d.ts +18 -18
- package/CardMedia/CardMedia.d.ts +9 -7
- package/CardMedia/CardMedia.js +1 -1
- package/CardMedia/cardMediaClasses.d.ts +12 -12
- package/Checkbox/Checkbox.js +4 -3
- package/Checkbox/checkboxClasses.d.ts +22 -18
- package/Checkbox/checkboxClasses.js +1 -1
- package/Chip/Chip.d.ts +11 -6
- package/Chip/Chip.js +1 -1
- package/Chip/chipClasses.d.ts +96 -96
- package/CircularProgress/CircularProgress.js +1 -1
- package/CircularProgress/circularProgressClasses.d.ts +26 -26
- package/ClickAwayListener/index.d.ts +1 -2
- package/ClickAwayListener/index.js +1 -2
- package/Collapse/Collapse.js +1 -1
- package/Collapse/collapseClasses.d.ts +18 -18
- package/Container/Container.d.ts +11 -6
- package/Container/containerClasses.d.ts +6 -6
- package/Dialog/Dialog.d.ts +1 -1
- package/Dialog/Dialog.js +1 -1
- package/Dialog/DialogContext.d.ts +6 -6
- package/Dialog/dialogClasses.d.ts +36 -36
- package/DialogActions/DialogActions.js +1 -1
- package/DialogActions/dialogActionsClasses.d.ts +10 -10
- package/DialogContent/DialogContent.js +1 -1
- package/DialogContent/dialogContentClasses.d.ts +10 -10
- package/DialogContentText/DialogContentText.d.ts +9 -7
- package/DialogContentText/DialogContentText.js +1 -1
- package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
- package/DialogTitle/DialogTitle.d.ts +9 -7
- package/DialogTitle/DialogTitle.js +1 -1
- package/DialogTitle/dialogTitleClasses.d.ts +8 -8
- package/Divider/Divider.d.ts +11 -6
- package/Divider/Divider.js +7 -1
- package/Divider/dividerClasses.d.ts +34 -34
- package/Drawer/Drawer.d.ts +1 -1
- package/Drawer/Drawer.js +1 -1
- package/Drawer/drawerClasses.d.ts +30 -30
- package/Fab/Fab.d.ts +11 -6
- package/Fab/Fab.js +1 -1
- package/Fab/fabClasses.d.ts +26 -26
- package/FilledInput/FilledInput.js +1 -1
- package/FilledInput/filledInputClasses.d.ts +42 -42
- package/FormControl/FormControl.d.ts +11 -6
- package/FormControl/FormControl.js +1 -1
- package/FormControl/FormControlContext.d.ts +17 -17
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControl/useFormControl.d.ts +2 -2
- package/FormControlLabel/FormControlLabel.js +1 -1
- package/FormControlLabel/formControlLabelClasses.d.ts +24 -24
- package/FormGroup/FormGroup.js +1 -1
- package/FormGroup/formGroupClasses.d.ts +12 -12
- package/FormHelperText/FormHelperText.d.ts +11 -6
- package/FormHelperText/FormHelperText.js +1 -1
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormLabel/FormLabel.d.ts +14 -9
- package/FormLabel/FormLabel.js +1 -1
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/Grid/Grid.d.ts +11 -6
- package/Grid/Grid.js +1 -1
- package/Grid/gridClasses.d.ts +48 -48
- package/Hidden/HiddenCss.js +1 -1
- package/Icon/Icon.d.ts +11 -6
- package/Icon/Icon.js +1 -1
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/IconButton.d.ts +9 -7
- package/IconButton/IconButton.js +1 -1
- package/IconButton/iconButtonClasses.d.ts +34 -34
- package/ImageList/ImageList.d.ts +11 -6
- package/ImageList/ImageList.js +1 -1
- package/ImageList/imageListClasses.d.ts +16 -16
- package/ImageListItem/ImageListItem.d.ts +11 -6
- package/ImageListItem/ImageListItem.js +1 -1
- package/ImageListItem/imageListItemClasses.d.ts +18 -18
- package/ImageListItemBar/ImageListItemBar.js +1 -1
- package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
- package/Input/Input.js +1 -1
- package/Input/inputClasses.d.ts +38 -38
- package/InputAdornment/InputAdornment.d.ts +11 -6
- package/InputAdornment/InputAdornment.js +1 -1
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/inputBaseClasses.d.ts +46 -46
- package/InputLabel/InputLabel.d.ts +9 -7
- package/InputLabel/InputLabel.js +1 -1
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LinearProgress/LinearProgress.js +1 -1
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- package/Link/Link.d.ts +20 -13
- package/Link/Link.js +1 -1
- package/Link/getTextDecoration.d.ts +15 -15
- package/Link/linkClasses.d.ts +18 -18
- package/List/List.d.ts +17 -10
- package/List/List.js +1 -1
- package/List/listClasses.d.ts +14 -14
- package/ListItem/ListItem.d.ts +9 -7
- package/ListItem/listItemClasses.d.ts +30 -30
- package/ListItemAvatar/ListItemAvatar.js +1 -1
- package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
- package/ListItemButton/ListItemButton.d.ts +9 -7
- package/ListItemButton/ListItemButton.js +1 -1
- package/ListItemButton/listItemButtonClasses.d.ts +22 -22
- package/ListItemIcon/ListItemIcon.js +1 -1
- package/ListItemIcon/listItemIconClasses.d.ts +10 -10
- package/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
- package/ListItemText/ListItemText.js +1 -1
- package/ListItemText/listItemTextClasses.d.ts +18 -18
- package/ListSubheader/ListSubheader.d.ts +11 -6
- package/ListSubheader/ListSubheader.js +1 -1
- package/ListSubheader/listSubheaderClasses.d.ts +18 -18
- package/Menu/Menu.d.ts +23 -2
- package/Menu/Menu.js +49 -10
- package/Menu/menuClasses.d.ts +12 -12
- package/MenuItem/MenuItem.d.ts +11 -6
- package/MenuItem/MenuItem.js +1 -1
- package/MenuItem/menuItemClasses.d.ts +20 -20
- package/MenuList/MenuList.d.ts +11 -6
- package/MobileStepper/MobileStepper.js +1 -1
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/Modal/Modal.d.ts +11 -6
- package/Modal/Modal.js +1 -1
- package/NativeSelect/NativeSelect.js +1 -1
- package/NativeSelect/NativeSelectInput.js +1 -1
- package/NativeSelect/nativeSelectClasses.d.ts +34 -34
- package/NoSsr/index.d.ts +1 -1
- package/NoSsr/index.js +1 -1
- package/OutlinedInput/OutlinedInput.js +1 -1
- package/OutlinedInput/outlinedInputClasses.d.ts +38 -38
- package/OverridableComponent.d.ts +14 -14
- package/Pagination/Pagination.js +1 -1
- package/Pagination/paginationClasses.d.ts +14 -14
- package/PaginationItem/PaginationItem.d.ts +12 -7
- package/PaginationItem/PaginationItem.js +1 -1
- package/PaginationItem/paginationItemClasses.d.ts +42 -42
- package/Paper/Paper.d.ts +45 -38
- package/Paper/Paper.js +1 -1
- package/Paper/index.d.ts +1 -1
- package/Paper/paperClasses.d.ts +39 -39
- package/Popover/Popover.d.ts +1 -1
- package/Popover/popoverClasses.d.ts +10 -10
- package/Popper/Popper.d.ts +65 -65
- package/Popper/Popper.js +1 -1
- package/Portal/index.d.ts +1 -1
- package/Portal/index.js +1 -1
- package/README.md +2 -2
- package/Radio/Radio.js +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/Rating.js +1 -1
- package/Rating/ratingClasses.d.ts +40 -40
- package/ScopedCssBaseline/ScopedCssBaseline.d.ts +11 -6
- package/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
- package/Select/Select.d.ts +8 -8
- package/Select/Select.js +1 -1
- package/Select/SelectInput.d.ts +7 -7
- package/Select/SelectInput.js +1 -1
- package/Select/selectClasses.d.ts +32 -32
- package/Skeleton/Skeleton.d.ts +11 -6
- package/Skeleton/Skeleton.js +1 -1
- package/Skeleton/skeletonClasses.d.ts +26 -26
- package/Slider/Slider.d.ts +11 -6
- package/Slider/Slider.js +1 -1
- package/Slider/SliderValueLabel.d.ts +10 -10
- package/Slider/SliderValueLabel.types.d.ts +24 -24
- package/Slider/sliderClasses.d.ts +58 -58
- package/Snackbar/Snackbar.js +2 -2
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/SnackbarContent/SnackbarContent.js +1 -1
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
- package/SpeedDial/SpeedDial.js +1 -1
- package/SpeedDial/speedDialClasses.d.ts +22 -22
- package/SpeedDialAction/SpeedDialAction.js +1 -1
- package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
- package/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
- package/Stack/Stack.d.ts +11 -6
- package/Stack/stackClasses.d.ts +6 -6
- package/Step/Step.d.ts +11 -6
- package/Step/Step.js +1 -1
- package/Step/StepContext.d.ts +20 -20
- package/Step/stepClasses.d.ts +16 -16
- package/StepButton/StepButton.d.ts +11 -6
- package/StepButton/StepButton.js +1 -1
- package/StepButton/stepButtonClasses.d.ts +14 -14
- package/StepConnector/StepConnector.js +1 -1
- package/StepConnector/stepConnectorClasses.d.ts +26 -26
- package/StepContent/StepContent.js +1 -1
- package/StepContent/stepContentClasses.d.ts +12 -12
- package/StepIcon/StepIcon.js +1 -1
- package/StepIcon/stepIconClasses.d.ts +16 -16
- package/StepLabel/StepLabel.js +1 -1
- package/StepLabel/stepLabelClasses.d.ts +28 -28
- package/Stepper/Stepper.d.ts +11 -6
- package/Stepper/Stepper.js +1 -1
- package/Stepper/StepperContext.d.ts +18 -18
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/SvgIcon.d.ts +11 -6
- package/SvgIcon/SvgIcon.js +1 -1
- package/SvgIcon/svgIconClasses.d.ts +26 -26
- package/Switch/Switch.js +1 -1
- package/Switch/switchClasses.d.ts +32 -32
- package/Tab/Tab.d.ts +11 -6
- package/Tab/Tab.js +1 -1
- package/Tab/tabClasses.d.ts +26 -26
- package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
- package/Table/Table.d.ts +11 -6
- package/Table/Table.js +1 -1
- package/Table/tableClasses.d.ts +10 -10
- package/TableBody/TableBody.d.ts +11 -6
- package/TableBody/TableBody.js +1 -1
- package/TableBody/tableBodyClasses.d.ts +8 -8
- package/TableCell/TableCell.js +1 -1
- package/TableCell/tableCellClasses.d.ts +32 -32
- package/TableContainer/TableContainer.d.ts +11 -6
- package/TableContainer/TableContainer.js +1 -1
- package/TableContainer/tableContainerClasses.d.ts +8 -8
- package/TableFooter/TableFooter.d.ts +11 -6
- package/TableFooter/TableFooter.js +1 -1
- package/TableFooter/tableFooterClasses.d.ts +8 -8
- package/TableHead/TableHead.d.ts +11 -6
- package/TableHead/TableHead.js +1 -1
- package/TableHead/tableHeadClasses.d.ts +8 -8
- package/TablePagination/TablePagination.d.ts +11 -6
- package/TablePagination/tablePaginationClasses.d.ts +28 -28
- package/TableRow/TableRow.d.ts +11 -6
- package/TableRow/TableRow.js +1 -1
- package/TableRow/tableRowClasses.d.ts +16 -16
- package/TableSortLabel/TableSortLabel.d.ts +9 -7
- package/TableSortLabel/TableSortLabel.js +1 -1
- package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
- package/Tabs/Tabs.d.ts +11 -6
- package/Tabs/tabsClasses.d.ts +32 -32
- package/TextField/TextField.js +1 -1
- package/TextField/textFieldClasses.d.ts +8 -8
- package/TextareaAutosize/index.d.ts +1 -1
- package/TextareaAutosize/index.js +1 -1
- package/ToggleButton/ToggleButton.d.ts +9 -7
- package/ToggleButton/ToggleButton.js +1 -1
- package/ToggleButton/toggleButtonClasses.d.ts +24 -24
- package/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
- package/Toolbar/Toolbar.d.ts +11 -6
- package/Toolbar/Toolbar.js +1 -1
- package/Toolbar/toolbarClasses.d.ts +14 -14
- package/Tooltip/tooltipClasses.d.ts +30 -30
- package/Typography/Typography.d.ts +76 -70
- package/Typography/Typography.js +5 -2
- package/Typography/typographyClasses.d.ts +50 -50
- package/Unstable_Grid2/Grid2.d.ts +4 -4
- package/Unstable_Grid2/Grid2Props.d.ts +15 -15
- package/Unstable_Grid2/grid2Classes.d.ts +5 -5
- package/Unstable_Grid2/index.d.ts +4 -4
- package/Unstable_TrapFocus/index.d.ts +1 -1
- package/Unstable_TrapFocus/index.js +1 -1
- package/className/index.d.ts +1 -1
- package/darkScrollbar/index.d.ts +28 -28
- package/generateUtilityClass/index.d.ts +2 -2
- package/generateUtilityClasses/index.d.ts +1 -1
- package/index.d.ts +10 -10
- package/index.js +2 -2
- package/internal/SwitchBase.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/Accordion/Accordion.js +1 -1
- package/legacy/AccordionActions/AccordionActions.js +1 -1
- package/legacy/AccordionDetails/AccordionDetails.js +1 -1
- package/legacy/AccordionSummary/AccordionSummary.js +1 -1
- package/legacy/Alert/Alert.js +1 -1
- package/legacy/AlertTitle/AlertTitle.js +1 -1
- package/legacy/AppBar/AppBar.js +1 -1
- package/legacy/Autocomplete/Autocomplete.js +19 -16
- package/legacy/Avatar/Avatar.js +1 -1
- package/legacy/AvatarGroup/AvatarGroup.js +1 -1
- package/legacy/Backdrop/Backdrop.js +1 -1
- package/legacy/Badge/Badge.js +2 -2
- package/legacy/BottomNavigation/BottomNavigation.js +1 -1
- package/legacy/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/legacy/Button/Button.js +1 -1
- package/legacy/ButtonBase/ButtonBase.js +1 -1
- package/legacy/ButtonGroup/ButtonGroup.js +1 -1
- package/legacy/Card/Card.js +1 -1
- package/legacy/CardActionArea/CardActionArea.js +1 -1
- package/legacy/CardActions/CardActions.js +1 -1
- package/legacy/CardContent/CardContent.js +1 -1
- package/legacy/CardHeader/CardHeader.js +1 -1
- package/legacy/CardMedia/CardMedia.js +1 -1
- package/legacy/Checkbox/Checkbox.js +4 -3
- package/legacy/Checkbox/checkboxClasses.js +1 -1
- package/legacy/Chip/Chip.js +1 -1
- package/legacy/CircularProgress/CircularProgress.js +1 -1
- package/legacy/ClickAwayListener/index.js +1 -2
- package/legacy/Collapse/Collapse.js +1 -1
- package/legacy/Dialog/Dialog.js +1 -1
- package/legacy/DialogActions/DialogActions.js +1 -1
- package/legacy/DialogContent/DialogContent.js +1 -1
- package/legacy/DialogContentText/DialogContentText.js +1 -1
- package/legacy/DialogTitle/DialogTitle.js +1 -1
- package/legacy/Divider/Divider.js +7 -1
- package/legacy/Drawer/Drawer.js +1 -1
- package/legacy/Fab/Fab.js +1 -1
- package/legacy/FilledInput/FilledInput.js +1 -1
- package/legacy/FormControl/FormControl.js +1 -1
- package/legacy/FormControlLabel/FormControlLabel.js +1 -1
- package/legacy/FormGroup/FormGroup.js +1 -1
- package/legacy/FormHelperText/FormHelperText.js +1 -1
- package/legacy/FormLabel/FormLabel.js +1 -1
- package/legacy/Grid/Grid.js +1 -1
- package/legacy/Hidden/HiddenCss.js +1 -1
- package/legacy/Icon/Icon.js +1 -1
- package/legacy/IconButton/IconButton.js +1 -1
- package/legacy/ImageList/ImageList.js +1 -1
- package/legacy/ImageListItem/ImageListItem.js +1 -1
- package/legacy/ImageListItemBar/ImageListItemBar.js +1 -1
- package/legacy/Input/Input.js +1 -1
- package/legacy/InputAdornment/InputAdornment.js +1 -1
- package/legacy/InputLabel/InputLabel.js +1 -1
- package/legacy/LinearProgress/LinearProgress.js +1 -1
- package/legacy/Link/Link.js +1 -1
- package/legacy/List/List.js +1 -1
- package/legacy/ListItemAvatar/ListItemAvatar.js +1 -1
- package/legacy/ListItemButton/ListItemButton.js +1 -1
- package/legacy/ListItemIcon/ListItemIcon.js +1 -1
- package/legacy/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/legacy/ListItemText/ListItemText.js +1 -1
- package/legacy/ListSubheader/ListSubheader.js +1 -1
- package/legacy/Menu/Menu.js +50 -9
- package/legacy/MenuItem/MenuItem.js +1 -1
- package/legacy/MobileStepper/MobileStepper.js +1 -1
- package/legacy/Modal/Modal.js +1 -1
- package/legacy/NativeSelect/NativeSelect.js +1 -1
- package/legacy/NativeSelect/NativeSelectInput.js +1 -1
- package/legacy/NoSsr/index.js +1 -1
- package/legacy/OutlinedInput/OutlinedInput.js +1 -1
- package/legacy/Pagination/Pagination.js +1 -1
- package/legacy/PaginationItem/PaginationItem.js +1 -1
- package/legacy/Paper/Paper.js +1 -1
- package/legacy/Popper/Popper.js +1 -1
- package/legacy/Portal/index.js +1 -1
- package/legacy/Radio/Radio.js +1 -1
- package/legacy/Rating/Rating.js +1 -1
- package/legacy/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
- package/legacy/Select/Select.js +1 -1
- package/legacy/Select/SelectInput.js +1 -1
- package/legacy/Skeleton/Skeleton.js +1 -1
- package/legacy/Slider/Slider.js +1 -1
- package/legacy/Snackbar/Snackbar.js +2 -2
- package/legacy/SnackbarContent/SnackbarContent.js +1 -1
- package/legacy/SpeedDial/SpeedDial.js +1 -1
- package/legacy/SpeedDialAction/SpeedDialAction.js +1 -1
- package/legacy/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/legacy/Step/Step.js +1 -1
- package/legacy/StepButton/StepButton.js +1 -1
- package/legacy/StepConnector/StepConnector.js +1 -1
- package/legacy/StepContent/StepContent.js +1 -1
- package/legacy/StepIcon/StepIcon.js +1 -1
- package/legacy/StepLabel/StepLabel.js +1 -1
- package/legacy/Stepper/Stepper.js +1 -1
- package/legacy/SvgIcon/SvgIcon.js +1 -1
- package/legacy/Switch/Switch.js +1 -1
- package/legacy/Tab/Tab.js +1 -1
- package/legacy/Table/Table.js +1 -1
- package/legacy/TableBody/TableBody.js +1 -1
- package/legacy/TableCell/TableCell.js +1 -1
- package/legacy/TableContainer/TableContainer.js +1 -1
- package/legacy/TableFooter/TableFooter.js +1 -1
- package/legacy/TableHead/TableHead.js +1 -1
- package/legacy/TableRow/TableRow.js +1 -1
- package/legacy/TableSortLabel/TableSortLabel.js +1 -1
- package/legacy/TextField/TextField.js +1 -1
- package/legacy/TextareaAutosize/index.js +1 -1
- package/legacy/ToggleButton/ToggleButton.js +1 -1
- package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/legacy/Toolbar/Toolbar.js +1 -1
- package/legacy/Typography/Typography.js +5 -2
- package/legacy/Unstable_TrapFocus/index.js +1 -1
- package/legacy/index.js +2 -2
- package/legacy/internal/SwitchBase.js +1 -1
- package/legacy/styles/createTypography.js +1 -0
- package/legacy/useAutocomplete/useAutocomplete.js +1 -1
- package/legacy/utils/index.js +1 -1
- package/locale/index.d.ts +80 -80
- package/modern/Accordion/Accordion.js +1 -1
- package/modern/AccordionActions/AccordionActions.js +1 -1
- package/modern/AccordionDetails/AccordionDetails.js +1 -1
- package/modern/AccordionSummary/AccordionSummary.js +1 -1
- package/modern/Alert/Alert.js +1 -1
- package/modern/AlertTitle/AlertTitle.js +1 -1
- package/modern/AppBar/AppBar.js +1 -1
- package/modern/Autocomplete/Autocomplete.js +16 -12
- package/modern/Avatar/Avatar.js +1 -1
- package/modern/AvatarGroup/AvatarGroup.js +1 -1
- package/modern/Backdrop/Backdrop.js +1 -1
- package/modern/Badge/Badge.js +2 -2
- package/modern/BottomNavigation/BottomNavigation.js +1 -1
- package/modern/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/modern/Button/Button.js +1 -1
- package/modern/ButtonBase/ButtonBase.js +1 -1
- package/modern/ButtonGroup/ButtonGroup.js +1 -1
- package/modern/Card/Card.js +1 -1
- package/modern/CardActionArea/CardActionArea.js +1 -1
- package/modern/CardActions/CardActions.js +1 -1
- package/modern/CardContent/CardContent.js +1 -1
- package/modern/CardHeader/CardHeader.js +1 -1
- package/modern/CardMedia/CardMedia.js +1 -1
- package/modern/Checkbox/Checkbox.js +4 -3
- package/modern/Checkbox/checkboxClasses.js +1 -1
- package/modern/Chip/Chip.js +1 -1
- package/modern/CircularProgress/CircularProgress.js +1 -1
- package/modern/ClickAwayListener/index.js +1 -2
- package/modern/Collapse/Collapse.js +1 -1
- package/modern/Dialog/Dialog.js +1 -1
- package/modern/DialogActions/DialogActions.js +1 -1
- package/modern/DialogContent/DialogContent.js +1 -1
- package/modern/DialogContentText/DialogContentText.js +1 -1
- package/modern/DialogTitle/DialogTitle.js +1 -1
- package/modern/Divider/Divider.js +7 -1
- package/modern/Drawer/Drawer.js +1 -1
- package/modern/Fab/Fab.js +1 -1
- package/modern/FilledInput/FilledInput.js +1 -1
- package/modern/FormControl/FormControl.js +1 -1
- package/modern/FormControlLabel/FormControlLabel.js +1 -1
- package/modern/FormGroup/FormGroup.js +1 -1
- package/modern/FormHelperText/FormHelperText.js +1 -1
- package/modern/FormLabel/FormLabel.js +1 -1
- package/modern/Grid/Grid.js +1 -1
- package/modern/Hidden/HiddenCss.js +1 -1
- package/modern/Icon/Icon.js +1 -1
- package/modern/IconButton/IconButton.js +1 -1
- package/modern/ImageList/ImageList.js +1 -1
- package/modern/ImageListItem/ImageListItem.js +1 -1
- package/modern/ImageListItemBar/ImageListItemBar.js +1 -1
- package/modern/Input/Input.js +1 -1
- package/modern/InputAdornment/InputAdornment.js +1 -1
- package/modern/InputLabel/InputLabel.js +1 -1
- package/modern/LinearProgress/LinearProgress.js +1 -1
- package/modern/Link/Link.js +1 -1
- package/modern/List/List.js +1 -1
- package/modern/ListItemAvatar/ListItemAvatar.js +1 -1
- package/modern/ListItemButton/ListItemButton.js +1 -1
- package/modern/ListItemIcon/ListItemIcon.js +1 -1
- package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/modern/ListItemText/ListItemText.js +1 -1
- package/modern/ListSubheader/ListSubheader.js +1 -1
- package/modern/Menu/Menu.js +48 -10
- package/modern/MenuItem/MenuItem.js +1 -1
- package/modern/MobileStepper/MobileStepper.js +1 -1
- package/modern/Modal/Modal.js +1 -1
- package/modern/NativeSelect/NativeSelect.js +1 -1
- package/modern/NativeSelect/NativeSelectInput.js +1 -1
- package/modern/NoSsr/index.js +1 -1
- package/modern/OutlinedInput/OutlinedInput.js +1 -1
- package/modern/Pagination/Pagination.js +1 -1
- package/modern/PaginationItem/PaginationItem.js +1 -1
- package/modern/Paper/Paper.js +1 -1
- package/modern/Popper/Popper.js +1 -1
- package/modern/Portal/index.js +1 -1
- package/modern/Radio/Radio.js +1 -1
- package/modern/Rating/Rating.js +1 -1
- package/modern/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
- package/modern/Select/Select.js +1 -1
- package/modern/Select/SelectInput.js +1 -1
- package/modern/Skeleton/Skeleton.js +1 -1
- package/modern/Slider/Slider.js +1 -1
- package/modern/Snackbar/Snackbar.js +2 -2
- package/modern/SnackbarContent/SnackbarContent.js +1 -1
- package/modern/SpeedDial/SpeedDial.js +1 -1
- package/modern/SpeedDialAction/SpeedDialAction.js +1 -1
- package/modern/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/modern/Step/Step.js +1 -1
- package/modern/StepButton/StepButton.js +1 -1
- package/modern/StepConnector/StepConnector.js +1 -1
- package/modern/StepContent/StepContent.js +1 -1
- package/modern/StepIcon/StepIcon.js +1 -1
- package/modern/StepLabel/StepLabel.js +1 -1
- package/modern/Stepper/Stepper.js +1 -1
- package/modern/SvgIcon/SvgIcon.js +1 -1
- package/modern/Switch/Switch.js +1 -1
- package/modern/Tab/Tab.js +1 -1
- package/modern/Table/Table.js +1 -1
- package/modern/TableBody/TableBody.js +1 -1
- package/modern/TableCell/TableCell.js +1 -1
- package/modern/TableContainer/TableContainer.js +1 -1
- package/modern/TableFooter/TableFooter.js +1 -1
- package/modern/TableHead/TableHead.js +1 -1
- package/modern/TableRow/TableRow.js +1 -1
- package/modern/TableSortLabel/TableSortLabel.js +1 -1
- package/modern/TextField/TextField.js +1 -1
- package/modern/TextareaAutosize/index.js +1 -1
- package/modern/ToggleButton/ToggleButton.js +1 -1
- package/modern/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/modern/Toolbar/Toolbar.js +1 -1
- package/modern/Typography/Typography.js +5 -2
- package/modern/Unstable_TrapFocus/index.js +1 -1
- package/modern/index.js +2 -2
- package/modern/internal/SwitchBase.js +1 -1
- package/modern/styles/createTypography.js +1 -0
- package/modern/useAutocomplete/useAutocomplete.js +1 -1
- package/modern/utils/index.js +1 -1
- package/node/Accordion/Accordion.js +2 -2
- package/node/AccordionActions/AccordionActions.js +2 -2
- package/node/AccordionDetails/AccordionDetails.js +2 -2
- package/node/AccordionSummary/AccordionSummary.js +2 -2
- package/node/Alert/Alert.js +2 -2
- package/node/AlertTitle/AlertTitle.js +2 -2
- package/node/AppBar/AppBar.js +2 -2
- package/node/Autocomplete/Autocomplete.js +19 -15
- package/node/Avatar/Avatar.js +2 -2
- package/node/AvatarGroup/AvatarGroup.js +2 -2
- package/node/Backdrop/Backdrop.js +2 -2
- package/node/Badge/Badge.js +4 -4
- package/node/BottomNavigation/BottomNavigation.js +2 -2
- package/node/BottomNavigationAction/BottomNavigationAction.js +2 -2
- package/node/Button/Button.js +2 -2
- package/node/ButtonBase/ButtonBase.js +2 -2
- package/node/ButtonGroup/ButtonGroup.js +2 -2
- package/node/Card/Card.js +2 -2
- package/node/CardActionArea/CardActionArea.js +2 -2
- package/node/CardActions/CardActions.js +2 -2
- package/node/CardContent/CardContent.js +2 -2
- package/node/CardHeader/CardHeader.js +2 -2
- package/node/CardMedia/CardMedia.js +2 -2
- package/node/Checkbox/Checkbox.js +5 -4
- package/node/Checkbox/checkboxClasses.js +1 -1
- package/node/Chip/Chip.js +2 -2
- package/node/CircularProgress/CircularProgress.js +2 -2
- package/node/ClickAwayListener/index.js +2 -16
- package/node/Collapse/Collapse.js +2 -2
- package/node/Dialog/Dialog.js +2 -2
- package/node/DialogActions/DialogActions.js +2 -2
- package/node/DialogContent/DialogContent.js +2 -2
- package/node/DialogContentText/DialogContentText.js +2 -2
- package/node/DialogTitle/DialogTitle.js +2 -2
- package/node/Divider/Divider.js +8 -2
- package/node/Drawer/Drawer.js +2 -2
- package/node/Fab/Fab.js +2 -2
- package/node/FilledInput/FilledInput.js +2 -2
- package/node/FormControl/FormControl.js +2 -2
- package/node/FormControlLabel/FormControlLabel.js +2 -2
- package/node/FormGroup/FormGroup.js +2 -2
- package/node/FormHelperText/FormHelperText.js +2 -2
- package/node/FormLabel/FormLabel.js +2 -2
- package/node/Grid/Grid.js +2 -2
- package/node/Hidden/HiddenCss.js +2 -2
- package/node/Icon/Icon.js +2 -2
- package/node/IconButton/IconButton.js +2 -2
- package/node/ImageList/ImageList.js +2 -2
- package/node/ImageListItem/ImageListItem.js +2 -2
- package/node/ImageListItemBar/ImageListItemBar.js +2 -2
- package/node/Input/Input.js +2 -2
- package/node/InputAdornment/InputAdornment.js +2 -2
- package/node/InputLabel/InputLabel.js +2 -2
- package/node/LinearProgress/LinearProgress.js +2 -2
- package/node/Link/Link.js +2 -2
- package/node/List/List.js +2 -2
- package/node/ListItemAvatar/ListItemAvatar.js +2 -2
- package/node/ListItemButton/ListItemButton.js +2 -2
- package/node/ListItemIcon/ListItemIcon.js +2 -2
- package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +2 -2
- package/node/ListItemText/ListItemText.js +2 -2
- package/node/ListSubheader/ListSubheader.js +2 -2
- package/node/Menu/Menu.js +52 -13
- package/node/MenuItem/MenuItem.js +2 -2
- package/node/MobileStepper/MobileStepper.js +2 -2
- package/node/Modal/Modal.js +2 -2
- package/node/NativeSelect/NativeSelect.js +2 -2
- package/node/NativeSelect/NativeSelectInput.js +2 -2
- package/node/NoSsr/index.js +2 -3
- package/node/OutlinedInput/OutlinedInput.js +2 -2
- package/node/Pagination/Pagination.js +2 -2
- package/node/PaginationItem/PaginationItem.js +2 -2
- package/node/Paper/Paper.js +2 -2
- package/node/Popper/Popper.js +2 -2
- package/node/Portal/index.js +2 -3
- package/node/Radio/Radio.js +2 -2
- package/node/Rating/Rating.js +2 -2
- package/node/ScopedCssBaseline/ScopedCssBaseline.js +2 -2
- package/node/Select/Select.js +1 -1
- package/node/Select/SelectInput.js +2 -2
- package/node/Skeleton/Skeleton.js +2 -2
- package/node/Slider/Slider.js +2 -2
- package/node/Snackbar/Snackbar.js +4 -4
- package/node/SnackbarContent/SnackbarContent.js +2 -2
- package/node/SpeedDial/SpeedDial.js +2 -2
- package/node/SpeedDialAction/SpeedDialAction.js +2 -2
- package/node/SpeedDialIcon/SpeedDialIcon.js +2 -2
- package/node/Step/Step.js +2 -2
- package/node/StepButton/StepButton.js +2 -2
- package/node/StepConnector/StepConnector.js +2 -2
- package/node/StepContent/StepContent.js +2 -2
- package/node/StepIcon/StepIcon.js +2 -2
- package/node/StepLabel/StepLabel.js +2 -2
- package/node/Stepper/Stepper.js +2 -2
- package/node/SvgIcon/SvgIcon.js +2 -2
- package/node/Switch/Switch.js +2 -2
- package/node/Tab/Tab.js +2 -2
- package/node/Table/Table.js +2 -2
- package/node/TableBody/TableBody.js +2 -2
- package/node/TableCell/TableCell.js +2 -2
- package/node/TableContainer/TableContainer.js +2 -2
- package/node/TableFooter/TableFooter.js +2 -2
- package/node/TableHead/TableHead.js +2 -2
- package/node/TableRow/TableRow.js +2 -2
- package/node/TableSortLabel/TableSortLabel.js +2 -2
- package/node/TextField/TextField.js +2 -2
- package/node/TextareaAutosize/index.js +2 -3
- package/node/ToggleButton/ToggleButton.js +2 -2
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +2 -2
- package/node/Toolbar/Toolbar.js +2 -2
- package/node/Typography/Typography.js +6 -3
- package/node/Unstable_TrapFocus/index.js +2 -3
- package/node/index.js +3 -3
- package/node/internal/SwitchBase.js +2 -2
- package/node/styles/createTypography.js +1 -0
- package/node/useAutocomplete/useAutocomplete.js +3 -5
- package/node/utils/index.js +2 -2
- package/package.json +6 -6
- package/styles/CssVarsProvider.d.ts +20 -20
- package/styles/ThemeProvider.d.ts +3 -3
- package/styles/components.d.ts +1 -0
- package/styles/createTypography.d.ts +9 -10
- package/styles/createTypography.js +1 -0
- package/styles/excludeVariablesFromRoot.d.ts +5 -5
- package/styles/getOverlayAlpha.d.ts +2 -2
- package/styles/identifier.d.ts +2 -2
- package/styles/overrides.d.ts +2 -0
- package/styles/shouldSkipGeneratingVar.d.ts +1 -1
- package/transitions/index.d.ts +1 -1
- package/transitions/transition.d.ts +13 -13
- package/transitions/utils.d.ts +23 -23
- package/types/OverridableComponentAugmentation.d.ts +31 -31
- package/umd/material-ui.development.js +9213 -9149
- package/umd/material-ui.production.min.js +21 -21
- package/useAutocomplete/useAutocomplete.d.ts +1 -1
- package/useAutocomplete/useAutocomplete.js +1 -1
- package/useMediaQuery/useMediaQuery.d.ts +46 -46
- 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 +1 -1
- package/utils/ownerDocument.d.ts +2 -2
- package/utils/ownerWindow.d.ts +2 -2
- package/utils/setRef.d.ts +2 -2
|
@@ -6,7 +6,7 @@ const _excluded = ["children", "className", "color", "component", "disabled", "d
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
9
|
+
import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses';
|
|
10
10
|
import { alpha } from '@mui/system';
|
|
11
11
|
import capitalize from '../utils/capitalize';
|
|
12
12
|
import styled from '../styles/styled';
|
|
@@ -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 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 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,193 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.14.4
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.14.3..master -->
|
|
6
|
+
|
|
7
|
+
_Aug 8, 2023_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
|
|
10
|
+
|
|
11
|
+
- 🎉 Added [Number input](https://mui.com/base-ui/react-number-input) component & [useNumberInput](https://mui.com/base-ui/react-number-input#hook) hook in [Base UI](https://mui.com/base-ui/getting-started/) @mj12albert
|
|
12
|
+
|
|
13
|
+
### `@mui/material@5.14.4`
|
|
14
|
+
|
|
15
|
+
- ​<!-- 25 -->[Checkbox][material] Add size classes (#38182) @michaldudak
|
|
16
|
+
- ​<!-- 03 -->[Typography] Improve inherit variant logic (#38123) @ZeeshanTamboli
|
|
17
|
+
|
|
18
|
+
### `@mui/system@5.14.4`
|
|
19
|
+
|
|
20
|
+
- ​<!-- 34 -->Revert "[Box] Remove `component` from TypeMap (#38168)" (#38356) @michaldudak
|
|
21
|
+
|
|
22
|
+
### `@mui/base@5.0.0-beta.10`
|
|
23
|
+
|
|
24
|
+
#### Breaking changes
|
|
25
|
+
|
|
26
|
+
- ​<!-- 32 -->[base] Ban default exports (#38200) @michaldudak
|
|
27
|
+
|
|
28
|
+
Base UI default exports were changed to named ones. Previously we had a mix of default and named ones.
|
|
29
|
+
This was changed to improve consistency and avoid problems some bundlers have with default exports.
|
|
30
|
+
See https://github.com/mui/material-ui/issues/21862 for more context.
|
|
31
|
+
|
|
32
|
+
```diff
|
|
33
|
+
- import Button, { buttonClasses } from '@mui/base/Button';
|
|
34
|
+
+ import { Button, buttonClasses } from '@mui/base/Button';
|
|
35
|
+
- import BaseMenu from '@mui/base/Menu';
|
|
36
|
+
+ import { Menu as BaseMenu } from '@mui/base/Menu';
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Additionally, the `ClassNameGenerator` has been moved to the directory matching its name:
|
|
40
|
+
|
|
41
|
+
```diff
|
|
42
|
+
- import ClassNameGenerator from '@mui/base/className';
|
|
43
|
+
+ import { ClassNameGenerator } from '@mui/base/ClassNameGenerator';
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
A codemod is provided to help with the migration:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
npx @mui/codemod v5.0.0/base-use-named-imports <path>
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
#### Changes
|
|
53
|
+
|
|
54
|
+
- ​<!-- 31 -->[base] Create useNumberInput and NumberInput (#36119) @mj12albert
|
|
55
|
+
- ​<!-- 28 -->[Select][base] Fix flicker on click of controlled Select button (#37855) @VishruthR
|
|
56
|
+
- ​<!-- 09 -->[Dropdown] Fix imports of types (#38296) @yash-thakur
|
|
57
|
+
|
|
58
|
+
### `@mui/joy@5.0.0-beta.1`
|
|
59
|
+
|
|
60
|
+
- ​<!-- 06 -->[joy-ui][MenuButton] Fix disable of `MenuButton` (#38342) @sai6855
|
|
61
|
+
|
|
62
|
+
### Docs
|
|
63
|
+
|
|
64
|
+
- ​<!-- 33 -->[docs][AppBar] Fix `ResponsiveAppBar` demo logo href (#38346) @iownthegame
|
|
65
|
+
- ​<!-- 30 -->[docs][base] Add Tailwind CSS + plain CSS demo on the Button page (#38240) @alisasanib
|
|
66
|
+
- ​<!-- 29 -->[docs][Menu][base] Remove `Unstyled` prefix from demos' function names (#38270) @sai6855
|
|
67
|
+
- ​<!-- 22 -->[docs] Add themeable component guide (#37908) @siriwatknp
|
|
68
|
+
- ​<!-- 21 -->[docs] Fix Joy UI demo background color (#38307) @oliviertassinari
|
|
69
|
+
- ​<!-- 20 -->[docs] Update API docs for Number Input component (#38301) @ZeeshanTamboli
|
|
70
|
+
- ​<!-- 14 -->[docs][joy-ui] Revise the theme typography page (#38285) @danilo-leal
|
|
71
|
+
- ​<!-- 13 -->[docs][joy-ui] Add TS demo for Menu Bar (#38308) @sai6855
|
|
72
|
+
- ​<!-- 10 -->[docs][joy-ui] Updated Typography callout at getting started (#38289) @zanivan
|
|
73
|
+
- ​<!-- 12 -->[docs][joy-ui] Fix the Inter font installation instructions (#38284) @danilo-leal
|
|
74
|
+
- ​<!-- 11 -->[docs][material] Add note to Autocomplete about ref forwarding (#38305) @samuelsycamore
|
|
75
|
+
- ​<!-- 05 -->[docs][Skeleton] Make the demos feel more realistic (#38212) @oliviertassinari
|
|
76
|
+
|
|
77
|
+
- ​<!-- 08 -->[examples] Swap Next.js examples between App Router and Pages Router; update naming convention (#38204) @samuelsycamore
|
|
78
|
+
- ​<!-- 07 -->[examples][material-ui] Add Material UI + Next.js (App Router) example in JS (#38323) @samuelsycamore
|
|
79
|
+
- ​<!-- 27 -->[blog] Discord announcement blog (#38258) @richbustos
|
|
80
|
+
- ​<!-- 26 -->[blog] Fix 301 links to Toolpad @oliviertassinari
|
|
81
|
+
- ​<!-- 04 -->[website] Updating Charts demo with real charts usage for MUI X marketing page (#38317) @richbustos
|
|
82
|
+
- ​<!-- 03 -->[website] Adjust styles of the Product section on the homepage (#38366) @danilo-leal
|
|
83
|
+
- ​<!-- 02 -->[website] Add Nora teamMember card to 'About' (#38358) @noraleonte
|
|
84
|
+
- ​<!-- 01 -->[website] Fix image layout shift (#38326) @oliviertassinari
|
|
85
|
+
|
|
86
|
+
### Core
|
|
87
|
+
|
|
88
|
+
- ​<!-- 24 -->[core] Fix docs demo export function consistency (#38191) @oliviertassinari
|
|
89
|
+
- ​<!-- 23 -->[core] Fix the link-check script on Windows (#38276) @michaldudak
|
|
90
|
+
- ​<!-- 26 -->[core] Use @testing-library/user-event direct API (#38325) @mj12albert
|
|
91
|
+
- ​<!-- 29 -->[core] Port GitHub workflow for ensuring triage label is present (#38312) @DanailH
|
|
92
|
+
- ​<!-- 19 -->[docs-infra] Consider files ending with .types.ts as props files (#37533) @mnajdova
|
|
93
|
+
- ​<!-- 18 -->[docs-infra] Fix skip to content design (#38304) @oliviertassinari
|
|
94
|
+
- ​<!-- 17 -->[docs-infra] Add a general round of polish to the API content display (#38282) @danilo-leal
|
|
95
|
+
- ​<!-- 16 -->[docs-infra] Make the side nav collapse animation snappier (#38259) @danilo-leal
|
|
96
|
+
- ​<!-- 15 -->[docs-infra] New Component API design followup (#38183) @cherniavskii
|
|
97
|
+
- ​<!-- 06 -->[test] Remove unnecessary `async` keyword from test (#38373) @ZeeshanTamboli
|
|
98
|
+
|
|
99
|
+
All contributors of this release in alphabetical order: @alisasanib, @cherniavskii, @DanailH, @danilo-leal, @iownthegame, @michaldudak, @mj12albert, @mnajdova, @noraleonte, @oliviertassinari, @richbustos, @sai6855, @samuelsycamore, @siriwatknp, @VishruthR, @yash-thakur, @zanivan, @ZeeshanTamboli
|
|
100
|
+
|
|
101
|
+
## 5.14.3
|
|
102
|
+
|
|
103
|
+
<!-- generated comparing v5.14.2..master -->
|
|
104
|
+
|
|
105
|
+
_Jul 31, 2023_
|
|
106
|
+
|
|
107
|
+
A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
|
|
108
|
+
|
|
109
|
+
- 🚀 [Joy UI](https://mui.com/joy-ui/getting-started/) is now in Beta
|
|
110
|
+
- ✨ Refine [Joy UI](https://mui.com/joy-ui/getting-started/)'s default theme @siriwatknp @zanivan
|
|
111
|
+
- 🎉 Added Dropdown higher-level menu component [Base UI](https://mui.com/base-ui/getting-started/) @michaldudak
|
|
112
|
+
- 💫 Added Material You [Badge](https://mui.com/material-ui/react-badge/#material-you-version) to `material-next` (#37850) @DiegoAndai
|
|
113
|
+
|
|
114
|
+
### `@mui/material@5.14.3`
|
|
115
|
+
|
|
116
|
+
- ​<!-- 36 -->[Autocomplete][material][joy] Add default `getOptionLabel` prop in ownerState (#38100) @DSK9012
|
|
117
|
+
- ​<!-- 26 -->[Menu][Divider][material] Do not allow focus on Divider when inside Menu list (#38102) @divyammadhok
|
|
118
|
+
- ​<!-- 06 -->[typescript][material] Rename one letter type parameters (#38155) @michaldudak
|
|
119
|
+
- ​<!-- 08 -->[Menu][material] Fixes slots and slotProps overriding defaults completely (#37902) @gitstart
|
|
120
|
+
- ​<!-- 07 -->[Theme][material] Add missing styleOverrides type for theme MuiStack (#38189) @DiegoAndai
|
|
121
|
+
- ​<!-- 04 -->[typescript][material] Add `component` field to `*Props` types (#38084) @michaldudak
|
|
122
|
+
|
|
123
|
+
### `@mui/base@5.0.0-beta.9`
|
|
124
|
+
|
|
125
|
+
#### Breaking changes
|
|
126
|
+
|
|
127
|
+
- ​<!-- 11 -->[Dropdown][base][joy] Introduce higher-level menu component (#37667) @michaldudak
|
|
128
|
+
|
|
129
|
+
#### Other changes
|
|
130
|
+
|
|
131
|
+
- ​<!-- 33 -->[typescript][base] Rename one letter type parameters (#38171) @michaldudak
|
|
132
|
+
|
|
133
|
+
### `@mui/joy@5.0.0-beta.0`
|
|
134
|
+
|
|
135
|
+
- ​<!-- 10 -->[joy] Refine the default theme (#36843) @siriwatknp
|
|
136
|
+
|
|
137
|
+
### `@mui/material-next@6.0.0-alpha.95`
|
|
138
|
+
|
|
139
|
+
- ​<!-- 35 -->[Badge][material-next] Add Badge component (#37850) @DiegoAndai
|
|
140
|
+
- ​<!-- 30 -->[Chip][material-next] Copy chip component from material (#38053) @DiegoAndai
|
|
141
|
+
- ​<!-- 09 -->[typescript][material-next] Rename one letter type parameters (#38172) @michaldudak
|
|
142
|
+
|
|
143
|
+
### `@mui/system@5.14.3`
|
|
144
|
+
|
|
145
|
+
- ​<!-- 32 -->[Box][system] Remove `component` from TypeMap (#38168) @michaldudak
|
|
146
|
+
- ​<!-- 05 -->[Stack][system] Fix CSS selector (#37525) @sai6855
|
|
147
|
+
|
|
148
|
+
### Docs
|
|
149
|
+
|
|
150
|
+
- ​<!-- 49 -->[docs] Update Joy UI's package README (#38262) @ZeeshanTamboli
|
|
151
|
+
- ​<!-- 48 -->[docs][base-ui] Add new batch of coming soon pages (#38025) @danilo-leal
|
|
152
|
+
- ​<!-- 44 -->[docs] fix links to standardized examples (#38193) @emmanuel-ferdman
|
|
153
|
+
- ​<!-- 43 -->[docs-infra] Small design polish to the Diamond Sponsor container (#38257) @danilo-leal
|
|
154
|
+
- ​<!-- 42 -->[docs-infra] Show props in the table of content (#38173) @alexfauquette
|
|
155
|
+
- ​<!-- 41 -->[docs-infra] Polish API page design (#38196) @oliviertassinari
|
|
156
|
+
- ​<!-- 40 -->[docs-infra] Search with productCategory when product is missing (#38239) @oliviertassinari
|
|
157
|
+
- ​<!-- 39 -->[docs][material] Revise and update Examples doc (#38205) @samuelsycamore
|
|
158
|
+
- ​<!-- 38 -->[docs] Fix typo in notifications.json @mbrookes
|
|
159
|
+
- ​<!-- 37 -->[docs-infra] Remove leftover standardNavIcon (#38252) @DiegoAndai
|
|
160
|
+
- ​<!-- 34 -->[docs][base] Add Tailwind CSS & plain CSS demos on the Popper page (#37953) @zanivan
|
|
161
|
+
- ​<!-- 31 -->[docs][Button][joy] Improve `loading` prop documentation (#38156) @sai6855
|
|
162
|
+
- ​<!-- 25 -->[docs] Prepare docs infra for Tree View migration to X (#38202) @flaviendelangle
|
|
163
|
+
- ​<!-- 24 -->[docs] Fix SEO issues reported by ahrefs @oliviertassinari
|
|
164
|
+
- ​<!-- 23 -->[docs] Fix palette pages - live edit not working (#38195) @oliviertassinari
|
|
165
|
+
- ​<!-- 22 -->[docs] Add Google Analytics action for the styling menu (#38085) @mnajdova
|
|
166
|
+
- ​<!-- 21 -->[docs] Fix Discord redirection chain @oliviertassinari
|
|
167
|
+
- ​<!-- 20 -->[docs] Cover pnpm in more places (#38161) @oliviertassinari
|
|
168
|
+
- ​<!-- 19 -->[docs] Avoid broken link (#38154) @oliviertassinari
|
|
169
|
+
- ​<!-- 18 -->[docs] Add notification for beta release of Toolpad (#38152) @prakhargupta1
|
|
170
|
+
- ​<!-- 17 -->[docs-infra] Remove sidenav icons (#38174) @oliviertassinari
|
|
171
|
+
- ​<!-- 16 -->[docs-infra] Fix search ranking when no productId (#38162) @oliviertassinari
|
|
172
|
+
- ​<!-- 15 -->[docs-infra] Adjust the side nav for deeper nested items (#38047) @cherniavskii
|
|
173
|
+
- ​<!-- 14 -->[docs][joy] Update TS file of adding more typography levels demo to match the corresponding JS file's styles (#38232) @ZeeshanTamboli
|
|
174
|
+
- ​<!-- 13 -->[docs][joy] Add TS demo for reusable component section in approaches page (#38210) @sai6855
|
|
175
|
+
- ​<!-- 12 -->[docs][joy] Add TS demo for theme typography new level customization (#38199) @sai6855
|
|
176
|
+
|
|
177
|
+
### Core
|
|
178
|
+
|
|
179
|
+
- ​<!-- 47 -->[blog] Fix blog post slug Base UI (#38254) @oliviertassinari
|
|
180
|
+
- ​<!-- 46 -->[core] Use native Node's fetch instead of node-fetch package (#38263) @michaldudak
|
|
181
|
+
- ​<!-- 45 -->[core] Remove dead code @oliviertassinari
|
|
182
|
+
- ​<!-- 29 -->[core] Polish Stack test to closer CSS injection order @oliviertassinari
|
|
183
|
+
- ​<!-- 28 -->[core] Remove unnecessary `Required` utility type from Typography font style type (#38203) @ZeeshanTamboli
|
|
184
|
+
- ​<!-- 27 -->[core] Fix generate Proptypes script skipping unstable items (#38198) @mj12albert
|
|
185
|
+
- ​<!-- 03 -->[website] Adding Rich Bustos Twitter handle in bio (#38213) @richbustos
|
|
186
|
+
- ​<!-- 02 -->[website] Prepare importing data from HiBob (#38238) @oliviertassinari
|
|
187
|
+
- ​<!-- 01 -->[website] Sync team member with HiBob, add Raffaella (#38201) @rluzists1
|
|
188
|
+
|
|
189
|
+
All contributors of this release in alphabetical order: @cherniavskii, @DiegoAndai, @divyammadhok, @DSK9012, @flaviendelangle, @gitstart, @michaldudak, @mj12albert, @mnajdova, @oliviertassinari, @prakhargupta1, @richbustos, @rluzists1, @sai6855, @siriwatknp, @zanivan, @ZeeshanTamboli
|
|
190
|
+
|
|
3
191
|
## 5.14.2
|
|
4
192
|
|
|
5
193
|
<!-- generated comparing v5.14.1..master -->
|
|
@@ -39,7 +227,7 @@ A big thanks to the 23 contributors who made this release possible.
|
|
|
39
227
|
- ​<!-- 19 -->[docs][joy] Add adjustments to the color inversion page (#37143) @danilo-leal
|
|
40
228
|
- ​<!-- 18 -->[docs][material] Improve documentation about adding custom colors (#37743) @DiegoAndai
|
|
41
229
|
- ​<!-- 17 -->[examples] Fix Joy UI Next.js App Router font loading (#38095) @IgnacioUtrilla
|
|
42
|
-
- ​<!-- 16 -->[examples] Fix material-next
|
|
230
|
+
- ​<!-- 16 -->[examples] Fix material-next Font Usage with next/font (#38026) @onderonur
|
|
43
231
|
|
|
44
232
|
### Core
|
|
45
233
|
|
|
@@ -311,7 +499,7 @@ _Jun 21, 2023_
|
|
|
311
499
|
A big thanks to the 25 contributors who made this release possible. Here are some highlights ✨:
|
|
312
500
|
|
|
313
501
|
- 💫 Added [Slider](https://mui.com/material-ui/react-slider/#material-you-version) component using the new Material You design language (#37520) @DiegoAndai.
|
|
314
|
-
- 📚 Added [examples](https://github.com/mui/material-ui/tree/master/examples/material-
|
|
502
|
+
- 📚 Added [examples](https://github.com/mui/material-ui/tree/master/examples/material-ui-nextjs-ts) showcasing how you can use Material UI with next.js's app directory (#37315) @smo043
|
|
315
503
|
|
|
316
504
|
### `@mui/material@5.13.6`
|
|
317
505
|
|
|
@@ -372,7 +560,7 @@ A big thanks to the 25 contributors who made this release possible. Here are som
|
|
|
372
560
|
- ​<!-- 19 -->[docs-infra] Add analyticsTags to Algolia (#37600) @Janpot
|
|
373
561
|
- ​<!-- 18 -->[docs-infra] Simplify product id handling (#37593) @oliviertassinari
|
|
374
562
|
- ​<!-- 35 -->[CHANGELOG] Add missing release date for v5.13.5 @oliviertassinari
|
|
375
|
-
- ​<!-- 16 -->[examples] Shell command fix in the readme file of material-next-
|
|
563
|
+
- ​<!-- 16 -->[examples] Shell command fix in the readme file of material-next-ts example (#37675) @bablukpik
|
|
376
564
|
- ​<!-- 15 -->[examples] Next.js v13 app router with Material UI (#37315) @smo043
|
|
377
565
|
|
|
378
566
|
### Core
|
|
@@ -2950,7 +3138,7 @@ _Sep 12, 2022_
|
|
|
2950
3138
|
|
|
2951
3139
|
A big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
|
|
2952
3140
|
|
|
2953
|
-
- 🚀 [Blog post](https://mui.com/blog/introducing-
|
|
3141
|
+
- 🚀 [Blog post](https://mui.com/blog/introducing-base-ui/) for announcing the release of the Base UI package is out thanks to @michaldudak.
|
|
2954
3142
|
- 🚀 Added [`Alert`](https://mui.com/joy-ui/react-alert/), [`Modal`](https://mui.com/joy-ui/react-modal/), [`ListSubheader`](https://mui.com/joy-ui/react-list-subheader/), [`FormControl`](https://mui.com/joy-ui/react-form-control/), [`CircularProgress`](https://mui.com/joy-ui/react-circular-progress/) components to Joy UI (#33859) @hbjORbj @siriwatknp
|
|
2955
3143
|
- And more 🐛 bug fixes and 📚 documentation improvements.
|
|
2956
3144
|
|
|
@@ -5019,7 +5207,7 @@ _Feb 1, 2022_
|
|
|
5019
5207
|
|
|
5020
5208
|
A big thanks to the 22 contributors who made this release possible. Here are some highlights ✨:
|
|
5021
5209
|
|
|
5022
|
-
- 🛠 @goncalovf added an example project using [Material UI with Vite.js](https://github.com/mui/material-ui/tree/master/examples/material-vite) (#28241)
|
|
5210
|
+
- 🛠 @goncalovf added an example project using [Material UI with Vite.js](https://github.com/mui/material-ui/tree/master/examples/material-ui-vite) (#28241)
|
|
5023
5211
|
- Number of 🐛 bug fixes and 📚 documentation improvements.
|
|
5024
5212
|
|
|
5025
5213
|
### `@mui/material@5.4.0`
|
package/Card/Card.d.ts
CHANGED
|
@@ -3,15 +3,18 @@ import { SxProps } from '@mui/system';
|
|
|
3
3
|
import { DistributiveOmit } from '@mui/types';
|
|
4
4
|
import { OverridableComponent, OverrideProps } from '@mui/material/OverridableComponent';
|
|
5
5
|
import { Theme } from '..';
|
|
6
|
-
import {
|
|
6
|
+
import { PaperOwnProps } from '../Paper';
|
|
7
7
|
import { CardClasses } from './cardClasses';
|
|
8
8
|
|
|
9
9
|
// TODO: v6 remove this interface, it is not used
|
|
10
10
|
export interface CardPropsColorOverrides {}
|
|
11
11
|
|
|
12
|
-
export interface CardTypeMap<
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
export interface CardTypeMap<
|
|
13
|
+
AdditionalProps = {},
|
|
14
|
+
DefaultComponent extends React.ElementType = 'div',
|
|
15
|
+
> {
|
|
16
|
+
props: AdditionalProps &
|
|
17
|
+
DistributiveOmit<PaperOwnProps, 'classes'> & {
|
|
15
18
|
/**
|
|
16
19
|
* Override or extend the styles applied to the component.
|
|
17
20
|
*/
|
|
@@ -26,7 +29,7 @@ export interface CardTypeMap<P = {}, D extends React.ElementType = 'div'> {
|
|
|
26
29
|
*/
|
|
27
30
|
sx?: SxProps<Theme>;
|
|
28
31
|
};
|
|
29
|
-
defaultComponent:
|
|
32
|
+
defaultComponent: DefaultComponent;
|
|
30
33
|
}
|
|
31
34
|
|
|
32
35
|
/**
|
|
@@ -44,8 +47,10 @@ export interface CardTypeMap<P = {}, D extends React.ElementType = 'div'> {
|
|
|
44
47
|
declare const Card: OverridableComponent<CardTypeMap>;
|
|
45
48
|
|
|
46
49
|
export type CardProps<
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
> = OverrideProps<CardTypeMap<
|
|
50
|
+
RootComponent extends React.ElementType = CardTypeMap['defaultComponent'],
|
|
51
|
+
AdditionalProps = {},
|
|
52
|
+
> = OverrideProps<CardTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
|
53
|
+
component?: React.ElementType;
|
|
54
|
+
};
|
|
50
55
|
|
|
51
56
|
export default Card;
|
package/Card/Card.js
CHANGED
|
@@ -7,7 +7,7 @@ import * as React from 'react';
|
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import { chainPropTypes } from '@mui/utils';
|
|
10
|
-
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
10
|
+
import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses';
|
|
11
11
|
import styled from '../styles/styled';
|
|
12
12
|
import useThemeProps from '../styles/useThemeProps';
|
|
13
13
|
import Paper from '../Paper';
|
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 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 type CardClassKey = keyof CardClasses;
|
|
6
|
+
export declare function getCardUtilityClass(slot: string): string;
|
|
7
|
+
declare const cardClasses: CardClasses;
|
|
8
|
+
export default cardClasses;
|
|
@@ -5,8 +5,11 @@ import { ButtonBaseTypeMap, ExtendButtonBase, ExtendButtonBaseTypeMap } from '..
|
|
|
5
5
|
import { OverrideProps } from '../OverridableComponent';
|
|
6
6
|
import { CardActionAreaClasses } from './cardActionAreaClasses';
|
|
7
7
|
|
|
8
|
-
export type CardActionAreaTypeMap<
|
|
9
|
-
|
|
8
|
+
export type CardActionAreaTypeMap<
|
|
9
|
+
AdditionalProps,
|
|
10
|
+
DefaultComponent extends React.ElementType,
|
|
11
|
+
> = ExtendButtonBaseTypeMap<{
|
|
12
|
+
props: AdditionalProps & {
|
|
10
13
|
/**
|
|
11
14
|
* Override or extend the styles applied to the component.
|
|
12
15
|
*/
|
|
@@ -17,7 +20,7 @@ export type CardActionAreaTypeMap<P, D extends React.ElementType> = ExtendButton
|
|
|
17
20
|
*/
|
|
18
21
|
sx?: SxProps<Theme>;
|
|
19
22
|
};
|
|
20
|
-
defaultComponent:
|
|
23
|
+
defaultComponent: DefaultComponent;
|
|
21
24
|
}>;
|
|
22
25
|
|
|
23
26
|
/**
|
|
@@ -36,8 +39,10 @@ declare const CardActionArea: ExtendButtonBase<
|
|
|
36
39
|
>;
|
|
37
40
|
|
|
38
41
|
export type CardActionAreaProps<
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
> = OverrideProps<CardActionAreaTypeMap<
|
|
42
|
+
RootComponent extends React.ElementType = ButtonBaseTypeMap['defaultComponent'],
|
|
43
|
+
AdditionalProps = {},
|
|
44
|
+
> = OverrideProps<CardActionAreaTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
|
45
|
+
component?: React.ElementType;
|
|
46
|
+
};
|
|
42
47
|
|
|
43
48
|
export default CardActionArea;
|
|
@@ -6,7 +6,7 @@ const _excluded = ["children", "className", "focusVisibleClassName"];
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
9
|
+
import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses';
|
|
10
10
|
import useThemeProps from '../styles/useThemeProps';
|
|
11
11
|
import styled from '../styles/styled';
|
|
12
12
|
import cardActionAreaClasses, { getCardActionAreaUtilityClass } from './cardActionAreaClasses';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export interface CardActionAreaClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** State class applied to the ButtonBase root element if the action area is keyboard focused. */
|
|
5
|
-
focusVisible: string;
|
|
6
|
-
/** Styles applied to the overlay that covers the action area when it is keyboard focused. */
|
|
7
|
-
focusHighlight: string;
|
|
8
|
-
}
|
|
9
|
-
export type CardActionAreaClassKey = keyof CardActionAreaClasses;
|
|
10
|
-
export declare function getCardActionAreaUtilityClass(slot: string): string;
|
|
11
|
-
declare const cardActionAreaClasses: CardActionAreaClasses;
|
|
12
|
-
export default cardActionAreaClasses;
|
|
1
|
+
export interface CardActionAreaClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** State class applied to the ButtonBase root element if the action area is keyboard focused. */
|
|
5
|
+
focusVisible: string;
|
|
6
|
+
/** Styles applied to the overlay that covers the action area when it is keyboard focused. */
|
|
7
|
+
focusHighlight: string;
|
|
8
|
+
}
|
|
9
|
+
export type CardActionAreaClassKey = keyof CardActionAreaClasses;
|
|
10
|
+
export declare function getCardActionAreaUtilityClass(slot: string): string;
|
|
11
|
+
declare const cardActionAreaClasses: CardActionAreaClasses;
|
|
12
|
+
export default cardActionAreaClasses;
|
|
@@ -6,7 +6,7 @@ const _excluded = ["disableSpacing", "className"];
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
9
|
+
import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses';
|
|
10
10
|
import styled from '../styles/styled';
|
|
11
11
|
import useThemeProps from '../styles/useThemeProps';
|
|
12
12
|
import { getCardActionsUtilityClass } from './cardActionsClasses';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export interface CardActionsClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element unless `disableSpacing={true}`. */
|
|
5
|
-
spacing: string;
|
|
6
|
-
}
|
|
7
|
-
export type CardActionsClassKey = keyof CardActionsClasses;
|
|
8
|
-
export declare function getCardActionsUtilityClass(slot: string): string;
|
|
9
|
-
declare const cardActionsClasses: CardActionsClasses;
|
|
10
|
-
export default cardActionsClasses;
|
|
1
|
+
export interface CardActionsClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element unless `disableSpacing={true}`. */
|
|
5
|
+
spacing: string;
|
|
6
|
+
}
|
|
7
|
+
export type CardActionsClassKey = keyof CardActionsClasses;
|
|
8
|
+
export declare function getCardActionsUtilityClass(slot: string): string;
|
|
9
|
+
declare const cardActionsClasses: CardActionsClasses;
|
|
10
|
+
export default cardActionsClasses;
|
|
@@ -4,8 +4,11 @@ import { OverridableComponent, OverrideProps } from '../OverridableComponent';
|
|
|
4
4
|
import { Theme } from '..';
|
|
5
5
|
import { CardContentClasses } from './cardContentClasses';
|
|
6
6
|
|
|
7
|
-
export interface CardContentTypeMap<
|
|
8
|
-
|
|
7
|
+
export interface CardContentTypeMap<
|
|
8
|
+
AdditionalProps = {},
|
|
9
|
+
DefaultComponent extends React.ElementType = 'div',
|
|
10
|
+
> {
|
|
11
|
+
props: AdditionalProps & {
|
|
9
12
|
/**
|
|
10
13
|
* The content of the component.
|
|
11
14
|
*/
|
|
@@ -19,7 +22,7 @@ export interface CardContentTypeMap<P = {}, D extends React.ElementType = 'div'>
|
|
|
19
22
|
*/
|
|
20
23
|
sx?: SxProps<Theme>;
|
|
21
24
|
};
|
|
22
|
-
defaultComponent:
|
|
25
|
+
defaultComponent: DefaultComponent;
|
|
23
26
|
}
|
|
24
27
|
/**
|
|
25
28
|
*
|
|
@@ -34,8 +37,10 @@ export interface CardContentTypeMap<P = {}, D extends React.ElementType = 'div'>
|
|
|
34
37
|
declare const CardContent: OverridableComponent<CardContentTypeMap>;
|
|
35
38
|
|
|
36
39
|
export type CardContentProps<
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
> = OverrideProps<CardContentTypeMap<
|
|
40
|
+
RootComponent extends React.ElementType = CardContentTypeMap['defaultComponent'],
|
|
41
|
+
AdditionalProps = {},
|
|
42
|
+
> = OverrideProps<CardContentTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
|
43
|
+
component?: React.ElementType;
|
|
44
|
+
};
|
|
40
45
|
|
|
41
46
|
export default CardContent;
|
|
@@ -6,7 +6,7 @@ const _excluded = ["className", "component"];
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
9
|
+
import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses';
|
|
10
10
|
import styled from '../styles/styled';
|
|
11
11
|
import useThemeProps from '../styles/useThemeProps';
|
|
12
12
|
import { getCardContentUtilityClass } from './cardContentClasses';
|