@mui/material 5.15.2 → 5.15.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.js +4 -4
- package/AccordionActions/AccordionActions.js +4 -4
- package/AccordionDetails/AccordionDetails.js +4 -4
- package/AccordionSummary/AccordionSummary.js +4 -4
- package/Alert/Alert.js +4 -4
- package/AlertTitle/AlertTitle.js +4 -4
- package/AppBar/AppBar.js +4 -4
- package/Autocomplete/Autocomplete.js +4 -4
- package/Avatar/Avatar.js +4 -4
- package/AvatarGroup/AvatarGroup.js +4 -4
- package/Backdrop/Backdrop.js +4 -4
- package/Badge/Badge.js +4 -4
- package/BottomNavigation/BottomNavigation.js +4 -4
- package/BottomNavigationAction/BottomNavigationAction.js +4 -4
- package/Box/Box.js +4 -4
- package/Breadcrumbs/Breadcrumbs.js +4 -4
- package/Button/Button.js +4 -4
- package/ButtonBase/ButtonBase.js +4 -4
- package/ButtonGroup/ButtonGroup.js +4 -4
- package/ButtonGroup/ButtonGroupContext.d.ts +2 -2
- package/CHANGELOG.md +161 -6
- package/Card/Card.js +4 -4
- package/CardActionArea/CardActionArea.js +4 -4
- package/CardActions/CardActions.js +4 -4
- package/CardContent/CardContent.js +4 -4
- package/CardHeader/CardHeader.js +4 -4
- package/CardMedia/CardMedia.js +4 -4
- package/Checkbox/Checkbox.js +4 -4
- package/Chip/Chip.js +4 -4
- package/CircularProgress/CircularProgress.js +4 -4
- package/ClickAwayListener/index.d.ts +2 -1
- package/Collapse/Collapse.js +4 -4
- package/Container/Container.js +4 -4
- package/CssBaseline/CssBaseline.js +4 -4
- package/Dialog/Dialog.js +4 -4
- package/DialogActions/DialogActions.js +4 -4
- package/DialogContent/DialogContent.js +4 -4
- package/DialogContentText/DialogContentText.js +4 -4
- package/DialogTitle/DialogTitle.js +4 -4
- package/Divider/Divider.js +4 -4
- package/Drawer/Drawer.js +4 -4
- package/Fab/Fab.js +4 -4
- package/Fade/Fade.js +4 -4
- package/FilledInput/FilledInput.js +4 -4
- package/FormControl/FormControl.d.ts +1 -1
- package/FormControl/FormControl.js +4 -4
- package/FormControlLabel/FormControlLabel.js +4 -4
- package/FormGroup/FormGroup.js +4 -4
- package/FormHelperText/FormHelperText.js +4 -4
- package/FormLabel/FormLabel.d.ts +1 -1
- package/FormLabel/FormLabel.js +4 -4
- package/GlobalStyles/GlobalStyles.js +4 -4
- package/Grid/Grid.js +4 -4
- package/Grow/Grow.js +4 -4
- package/Hidden/Hidden.js +4 -4
- package/Icon/Icon.js +4 -4
- package/IconButton/IconButton.js +4 -4
- package/ImageList/ImageList.js +4 -4
- package/ImageListItem/ImageListItem.js +4 -4
- package/ImageListItemBar/ImageListItemBar.js +4 -4
- package/Input/Input.js +4 -4
- package/InputAdornment/InputAdornment.js +4 -4
- package/InputBase/InputBase.js +4 -4
- package/InputLabel/InputLabel.d.ts +1 -5
- package/InputLabel/InputLabel.js +4 -4
- package/LinearProgress/LinearProgress.js +4 -4
- package/Link/Link.js +4 -4
- package/List/List.js +4 -4
- package/ListItem/ListItem.js +4 -4
- package/ListItemAvatar/ListItemAvatar.js +4 -4
- package/ListItemButton/ListItemButton.js +4 -4
- package/ListItemIcon/ListItemIcon.js +4 -4
- package/ListItemSecondaryAction/ListItemSecondaryAction.js +4 -4
- package/ListItemText/ListItemText.js +4 -4
- package/ListSubheader/ListSubheader.js +4 -4
- package/Menu/Menu.js +4 -4
- package/MenuItem/MenuItem.js +4 -4
- package/MenuList/MenuList.js +4 -4
- package/MobileStepper/MobileStepper.js +4 -4
- package/Modal/Modal.js +4 -4
- package/NativeSelect/NativeSelect.js +4 -4
- package/OutlinedInput/OutlinedInput.js +4 -4
- package/Pagination/Pagination.js +4 -4
- package/PaginationItem/PaginationItem.js +4 -4
- package/Paper/Paper.js +4 -4
- package/Popover/Popover.js +4 -4
- package/Popper/Popper.d.ts +2 -2
- package/Popper/Popper.js +4 -4
- package/Radio/Radio.js +4 -4
- package/RadioGroup/RadioGroup.js +4 -4
- package/Rating/Rating.js +4 -4
- package/ScopedCssBaseline/ScopedCssBaseline.js +4 -4
- package/Select/Select.js +4 -4
- package/Skeleton/Skeleton.js +4 -4
- package/Slide/Slide.js +4 -4
- package/Slider/Slider.js +4 -4
- package/Snackbar/Snackbar.js +4 -4
- package/SnackbarContent/SnackbarContent.js +4 -4
- package/SpeedDial/SpeedDial.js +4 -4
- package/SpeedDialAction/SpeedDialAction.js +4 -4
- package/SpeedDialIcon/SpeedDialIcon.js +4 -4
- package/Stack/Stack.js +4 -4
- package/Step/Step.js +4 -4
- package/StepButton/StepButton.js +4 -4
- package/StepConnector/StepConnector.js +4 -4
- package/StepContent/StepContent.js +4 -4
- package/StepIcon/StepIcon.js +4 -4
- package/StepLabel/StepLabel.js +4 -4
- package/Stepper/Stepper.js +4 -4
- package/SvgIcon/SvgIcon.js +4 -4
- package/SwipeableDrawer/SwipeableDrawer.js +4 -4
- package/Switch/Switch.js +4 -4
- package/Tab/Tab.js +4 -4
- package/TabScrollButton/TabScrollButton.js +4 -4
- package/Table/Table.js +4 -4
- package/TableBody/TableBody.js +4 -4
- package/TableCell/TableCell.js +4 -4
- package/TableContainer/TableContainer.js +4 -4
- package/TableFooter/TableFooter.js +4 -4
- package/TableHead/TableHead.js +4 -4
- package/TablePagination/TablePagination.js +4 -4
- package/TableRow/TableRow.js +4 -4
- package/TableSortLabel/TableSortLabel.js +4 -4
- package/Tabs/Tabs.js +4 -4
- package/TextField/TextField.d.ts +1 -1
- package/TextField/TextField.js +4 -4
- package/ToggleButton/ToggleButton.js +24 -8
- package/ToggleButtonGroup/ToggleButtonGroup.js +88 -46
- package/ToggleButtonGroup/ToggleButtonGroupButtonContext.d.ts +6 -0
- package/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +9 -0
- package/ToggleButtonGroup/ToggleButtonGroupContext.d.ts +16 -0
- package/ToggleButtonGroup/ToggleButtonGroupContext.js +9 -0
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +6 -0
- package/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
- package/Toolbar/Toolbar.js +4 -4
- package/Tooltip/Tooltip.js +4 -4
- package/Typography/Typography.js +4 -4
- package/Unstable_Grid2/Grid2.js +4 -4
- package/Zoom/Zoom.js +4 -4
- package/index.js +1 -1
- package/legacy/Accordion/Accordion.js +4 -4
- package/legacy/AccordionActions/AccordionActions.js +4 -4
- package/legacy/AccordionDetails/AccordionDetails.js +4 -4
- package/legacy/AccordionSummary/AccordionSummary.js +4 -4
- package/legacy/Alert/Alert.js +4 -4
- package/legacy/AlertTitle/AlertTitle.js +4 -4
- package/legacy/AppBar/AppBar.js +4 -4
- package/legacy/Autocomplete/Autocomplete.js +4 -4
- package/legacy/Avatar/Avatar.js +4 -4
- package/legacy/AvatarGroup/AvatarGroup.js +4 -4
- package/legacy/Backdrop/Backdrop.js +4 -4
- package/legacy/Badge/Badge.js +4 -4
- package/legacy/BottomNavigation/BottomNavigation.js +4 -4
- package/legacy/BottomNavigationAction/BottomNavigationAction.js +4 -4
- package/legacy/Box/Box.js +4 -4
- package/legacy/Breadcrumbs/Breadcrumbs.js +4 -4
- package/legacy/Button/Button.js +4 -4
- package/legacy/ButtonBase/ButtonBase.js +4 -4
- package/legacy/ButtonGroup/ButtonGroup.js +4 -4
- package/legacy/Card/Card.js +4 -4
- package/legacy/CardActionArea/CardActionArea.js +4 -4
- package/legacy/CardActions/CardActions.js +4 -4
- package/legacy/CardContent/CardContent.js +4 -4
- package/legacy/CardHeader/CardHeader.js +4 -4
- package/legacy/CardMedia/CardMedia.js +4 -4
- package/legacy/Checkbox/Checkbox.js +4 -4
- package/legacy/Chip/Chip.js +4 -4
- package/legacy/CircularProgress/CircularProgress.js +4 -4
- package/legacy/Collapse/Collapse.js +4 -4
- package/legacy/Container/Container.js +4 -4
- package/legacy/CssBaseline/CssBaseline.js +4 -4
- package/legacy/Dialog/Dialog.js +4 -4
- package/legacy/DialogActions/DialogActions.js +4 -4
- package/legacy/DialogContent/DialogContent.js +4 -4
- package/legacy/DialogContentText/DialogContentText.js +4 -4
- package/legacy/DialogTitle/DialogTitle.js +4 -4
- package/legacy/Divider/Divider.js +4 -4
- package/legacy/Drawer/Drawer.js +4 -4
- package/legacy/Fab/Fab.js +4 -4
- package/legacy/Fade/Fade.js +4 -4
- package/legacy/FilledInput/FilledInput.js +4 -4
- package/legacy/FormControl/FormControl.js +4 -4
- package/legacy/FormControlLabel/FormControlLabel.js +4 -4
- package/legacy/FormGroup/FormGroup.js +4 -4
- package/legacy/FormHelperText/FormHelperText.js +4 -4
- package/legacy/FormLabel/FormLabel.js +4 -4
- package/legacy/GlobalStyles/GlobalStyles.js +4 -4
- package/legacy/Grid/Grid.js +4 -4
- package/legacy/Grow/Grow.js +4 -4
- package/legacy/Hidden/Hidden.js +4 -4
- package/legacy/Icon/Icon.js +4 -4
- package/legacy/IconButton/IconButton.js +4 -4
- package/legacy/ImageList/ImageList.js +4 -4
- package/legacy/ImageListItem/ImageListItem.js +4 -4
- package/legacy/ImageListItemBar/ImageListItemBar.js +4 -4
- package/legacy/Input/Input.js +4 -4
- package/legacy/InputAdornment/InputAdornment.js +4 -4
- package/legacy/InputBase/InputBase.js +4 -4
- package/legacy/InputLabel/InputLabel.js +4 -4
- package/legacy/LinearProgress/LinearProgress.js +4 -4
- package/legacy/Link/Link.js +4 -4
- package/legacy/List/List.js +4 -4
- package/legacy/ListItem/ListItem.js +4 -4
- package/legacy/ListItemAvatar/ListItemAvatar.js +4 -4
- package/legacy/ListItemButton/ListItemButton.js +4 -4
- package/legacy/ListItemIcon/ListItemIcon.js +4 -4
- package/legacy/ListItemSecondaryAction/ListItemSecondaryAction.js +4 -4
- package/legacy/ListItemText/ListItemText.js +4 -4
- package/legacy/ListSubheader/ListSubheader.js +4 -4
- package/legacy/Menu/Menu.js +4 -4
- package/legacy/MenuItem/MenuItem.js +4 -4
- package/legacy/MenuList/MenuList.js +4 -4
- package/legacy/MobileStepper/MobileStepper.js +4 -4
- package/legacy/Modal/Modal.js +4 -4
- package/legacy/NativeSelect/NativeSelect.js +4 -4
- package/legacy/OutlinedInput/OutlinedInput.js +4 -4
- package/legacy/Pagination/Pagination.js +4 -4
- package/legacy/PaginationItem/PaginationItem.js +4 -4
- package/legacy/Paper/Paper.js +4 -4
- package/legacy/Popover/Popover.js +4 -4
- package/legacy/Popper/Popper.js +4 -4
- package/legacy/Radio/Radio.js +4 -4
- package/legacy/RadioGroup/RadioGroup.js +4 -4
- package/legacy/Rating/Rating.js +4 -4
- package/legacy/ScopedCssBaseline/ScopedCssBaseline.js +4 -4
- package/legacy/Select/Select.js +4 -4
- package/legacy/Skeleton/Skeleton.js +4 -4
- package/legacy/Slide/Slide.js +4 -4
- package/legacy/Slider/Slider.js +4 -4
- package/legacy/Snackbar/Snackbar.js +4 -4
- package/legacy/SnackbarContent/SnackbarContent.js +4 -4
- package/legacy/SpeedDial/SpeedDial.js +4 -4
- package/legacy/SpeedDialAction/SpeedDialAction.js +4 -4
- package/legacy/SpeedDialIcon/SpeedDialIcon.js +4 -4
- package/legacy/Stack/Stack.js +4 -4
- package/legacy/Step/Step.js +4 -4
- package/legacy/StepButton/StepButton.js +4 -4
- package/legacy/StepConnector/StepConnector.js +4 -4
- package/legacy/StepContent/StepContent.js +4 -4
- package/legacy/StepIcon/StepIcon.js +4 -4
- package/legacy/StepLabel/StepLabel.js +4 -4
- package/legacy/Stepper/Stepper.js +4 -4
- package/legacy/SvgIcon/SvgIcon.js +4 -4
- package/legacy/SwipeableDrawer/SwipeableDrawer.js +4 -4
- package/legacy/Switch/Switch.js +4 -4
- package/legacy/Tab/Tab.js +4 -4
- package/legacy/TabScrollButton/TabScrollButton.js +4 -4
- package/legacy/Table/Table.js +4 -4
- package/legacy/TableBody/TableBody.js +4 -4
- package/legacy/TableCell/TableCell.js +4 -4
- package/legacy/TableContainer/TableContainer.js +4 -4
- package/legacy/TableFooter/TableFooter.js +4 -4
- package/legacy/TableHead/TableHead.js +4 -4
- package/legacy/TablePagination/TablePagination.js +4 -4
- package/legacy/TableRow/TableRow.js +4 -4
- package/legacy/TableSortLabel/TableSortLabel.js +4 -4
- package/legacy/Tabs/Tabs.js +4 -4
- package/legacy/TextField/TextField.js +4 -4
- package/legacy/ToggleButton/ToggleButton.js +19 -6
- package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +81 -55
- package/legacy/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +9 -0
- package/legacy/ToggleButtonGroup/ToggleButtonGroupContext.js +9 -0
- package/legacy/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
- package/legacy/Toolbar/Toolbar.js +4 -4
- package/legacy/Tooltip/Tooltip.js +4 -4
- package/legacy/Typography/Typography.js +4 -4
- package/legacy/Unstable_Grid2/Grid2.js +4 -4
- package/legacy/Zoom/Zoom.js +4 -4
- package/legacy/index.js +1 -1
- package/legacy/styles/CssVarsProvider.js +3 -0
- package/legacy/styles/index.js +1 -0
- package/modern/Accordion/Accordion.js +4 -4
- package/modern/AccordionActions/AccordionActions.js +4 -4
- package/modern/AccordionDetails/AccordionDetails.js +4 -4
- package/modern/AccordionSummary/AccordionSummary.js +4 -4
- package/modern/Alert/Alert.js +4 -4
- package/modern/AlertTitle/AlertTitle.js +4 -4
- package/modern/AppBar/AppBar.js +4 -4
- package/modern/Autocomplete/Autocomplete.js +4 -4
- package/modern/Avatar/Avatar.js +4 -4
- package/modern/AvatarGroup/AvatarGroup.js +4 -4
- package/modern/Backdrop/Backdrop.js +4 -4
- package/modern/Badge/Badge.js +4 -4
- package/modern/BottomNavigation/BottomNavigation.js +4 -4
- package/modern/BottomNavigationAction/BottomNavigationAction.js +4 -4
- package/modern/Box/Box.js +4 -4
- package/modern/Breadcrumbs/Breadcrumbs.js +4 -4
- package/modern/Button/Button.js +4 -4
- package/modern/ButtonBase/ButtonBase.js +4 -4
- package/modern/ButtonGroup/ButtonGroup.js +4 -4
- package/modern/Card/Card.js +4 -4
- package/modern/CardActionArea/CardActionArea.js +4 -4
- package/modern/CardActions/CardActions.js +4 -4
- package/modern/CardContent/CardContent.js +4 -4
- package/modern/CardHeader/CardHeader.js +4 -4
- package/modern/CardMedia/CardMedia.js +4 -4
- package/modern/Checkbox/Checkbox.js +4 -4
- package/modern/Chip/Chip.js +4 -4
- package/modern/CircularProgress/CircularProgress.js +4 -4
- package/modern/Collapse/Collapse.js +4 -4
- package/modern/Container/Container.js +4 -4
- package/modern/CssBaseline/CssBaseline.js +4 -4
- package/modern/Dialog/Dialog.js +4 -4
- package/modern/DialogActions/DialogActions.js +4 -4
- package/modern/DialogContent/DialogContent.js +4 -4
- package/modern/DialogContentText/DialogContentText.js +4 -4
- package/modern/DialogTitle/DialogTitle.js +4 -4
- package/modern/Divider/Divider.js +4 -4
- package/modern/Drawer/Drawer.js +4 -4
- package/modern/Fab/Fab.js +4 -4
- package/modern/Fade/Fade.js +4 -4
- package/modern/FilledInput/FilledInput.js +4 -4
- package/modern/FormControl/FormControl.js +4 -4
- package/modern/FormControlLabel/FormControlLabel.js +4 -4
- package/modern/FormGroup/FormGroup.js +4 -4
- package/modern/FormHelperText/FormHelperText.js +4 -4
- package/modern/FormLabel/FormLabel.js +4 -4
- package/modern/GlobalStyles/GlobalStyles.js +4 -4
- package/modern/Grid/Grid.js +4 -4
- package/modern/Grow/Grow.js +4 -4
- package/modern/Hidden/Hidden.js +4 -4
- package/modern/Icon/Icon.js +4 -4
- package/modern/IconButton/IconButton.js +4 -4
- package/modern/ImageList/ImageList.js +4 -4
- package/modern/ImageListItem/ImageListItem.js +4 -4
- package/modern/ImageListItemBar/ImageListItemBar.js +4 -4
- package/modern/Input/Input.js +4 -4
- package/modern/InputAdornment/InputAdornment.js +4 -4
- package/modern/InputBase/InputBase.js +4 -4
- package/modern/InputLabel/InputLabel.js +4 -4
- package/modern/LinearProgress/LinearProgress.js +4 -4
- package/modern/Link/Link.js +4 -4
- package/modern/List/List.js +4 -4
- package/modern/ListItem/ListItem.js +4 -4
- package/modern/ListItemAvatar/ListItemAvatar.js +4 -4
- package/modern/ListItemButton/ListItemButton.js +4 -4
- package/modern/ListItemIcon/ListItemIcon.js +4 -4
- package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +4 -4
- package/modern/ListItemText/ListItemText.js +4 -4
- package/modern/ListSubheader/ListSubheader.js +4 -4
- package/modern/Menu/Menu.js +4 -4
- package/modern/MenuItem/MenuItem.js +4 -4
- package/modern/MenuList/MenuList.js +4 -4
- package/modern/MobileStepper/MobileStepper.js +4 -4
- package/modern/Modal/Modal.js +4 -4
- package/modern/NativeSelect/NativeSelect.js +4 -4
- package/modern/OutlinedInput/OutlinedInput.js +4 -4
- package/modern/Pagination/Pagination.js +4 -4
- package/modern/PaginationItem/PaginationItem.js +4 -4
- package/modern/Paper/Paper.js +4 -4
- package/modern/Popover/Popover.js +4 -4
- package/modern/Popper/Popper.js +4 -4
- package/modern/Radio/Radio.js +4 -4
- package/modern/RadioGroup/RadioGroup.js +4 -4
- package/modern/Rating/Rating.js +4 -4
- package/modern/ScopedCssBaseline/ScopedCssBaseline.js +4 -4
- package/modern/Select/Select.js +4 -4
- package/modern/Skeleton/Skeleton.js +4 -4
- package/modern/Slide/Slide.js +4 -4
- package/modern/Slider/Slider.js +4 -4
- package/modern/Snackbar/Snackbar.js +4 -4
- package/modern/SnackbarContent/SnackbarContent.js +4 -4
- package/modern/SpeedDial/SpeedDial.js +4 -4
- package/modern/SpeedDialAction/SpeedDialAction.js +4 -4
- package/modern/SpeedDialIcon/SpeedDialIcon.js +4 -4
- package/modern/Stack/Stack.js +4 -4
- package/modern/Step/Step.js +4 -4
- package/modern/StepButton/StepButton.js +4 -4
- package/modern/StepConnector/StepConnector.js +4 -4
- package/modern/StepContent/StepContent.js +4 -4
- package/modern/StepIcon/StepIcon.js +4 -4
- package/modern/StepLabel/StepLabel.js +4 -4
- package/modern/Stepper/Stepper.js +4 -4
- package/modern/SvgIcon/SvgIcon.js +4 -4
- package/modern/SwipeableDrawer/SwipeableDrawer.js +4 -4
- package/modern/Switch/Switch.js +4 -4
- package/modern/Tab/Tab.js +4 -4
- package/modern/TabScrollButton/TabScrollButton.js +4 -4
- package/modern/Table/Table.js +4 -4
- package/modern/TableBody/TableBody.js +4 -4
- package/modern/TableCell/TableCell.js +4 -4
- package/modern/TableContainer/TableContainer.js +4 -4
- package/modern/TableFooter/TableFooter.js +4 -4
- package/modern/TableHead/TableHead.js +4 -4
- package/modern/TablePagination/TablePagination.js +4 -4
- package/modern/TableRow/TableRow.js +4 -4
- package/modern/TableSortLabel/TableSortLabel.js +4 -4
- package/modern/Tabs/Tabs.js +4 -4
- package/modern/TextField/TextField.js +4 -4
- package/modern/ToggleButton/ToggleButton.js +24 -8
- package/modern/ToggleButtonGroup/ToggleButtonGroup.js +88 -46
- package/modern/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +9 -0
- package/modern/ToggleButtonGroup/ToggleButtonGroupContext.js +9 -0
- package/modern/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
- package/modern/Toolbar/Toolbar.js +4 -4
- package/modern/Tooltip/Tooltip.js +4 -4
- package/modern/Typography/Typography.js +4 -4
- package/modern/Unstable_Grid2/Grid2.js +4 -4
- package/modern/Zoom/Zoom.js +4 -4
- package/modern/index.js +1 -1
- package/modern/styles/CssVarsProvider.js +3 -0
- package/modern/styles/index.js +1 -0
- package/node/Accordion/Accordion.js +4 -4
- package/node/AccordionActions/AccordionActions.js +4 -4
- package/node/AccordionDetails/AccordionDetails.js +4 -4
- package/node/AccordionSummary/AccordionSummary.js +4 -4
- package/node/Alert/Alert.js +4 -4
- package/node/AlertTitle/AlertTitle.js +4 -4
- package/node/AppBar/AppBar.js +4 -4
- package/node/Autocomplete/Autocomplete.js +4 -4
- package/node/Avatar/Avatar.js +4 -4
- package/node/AvatarGroup/AvatarGroup.js +4 -4
- package/node/Backdrop/Backdrop.js +4 -4
- package/node/Badge/Badge.js +4 -4
- package/node/BottomNavigation/BottomNavigation.js +4 -4
- package/node/BottomNavigationAction/BottomNavigationAction.js +4 -4
- package/node/Box/Box.js +4 -4
- package/node/Breadcrumbs/Breadcrumbs.js +4 -4
- package/node/Button/Button.js +4 -4
- package/node/ButtonBase/ButtonBase.js +4 -4
- package/node/ButtonGroup/ButtonGroup.js +4 -4
- package/node/Card/Card.js +4 -4
- package/node/CardActionArea/CardActionArea.js +4 -4
- package/node/CardActions/CardActions.js +4 -4
- package/node/CardContent/CardContent.js +4 -4
- package/node/CardHeader/CardHeader.js +4 -4
- package/node/CardMedia/CardMedia.js +4 -4
- package/node/Checkbox/Checkbox.js +4 -4
- package/node/Chip/Chip.js +4 -4
- package/node/CircularProgress/CircularProgress.js +4 -4
- package/node/Collapse/Collapse.js +4 -4
- package/node/Container/Container.js +4 -4
- package/node/CssBaseline/CssBaseline.js +4 -4
- package/node/Dialog/Dialog.js +4 -4
- package/node/DialogActions/DialogActions.js +4 -4
- package/node/DialogContent/DialogContent.js +4 -4
- package/node/DialogContentText/DialogContentText.js +4 -4
- package/node/DialogTitle/DialogTitle.js +4 -4
- package/node/Divider/Divider.js +4 -4
- package/node/Drawer/Drawer.js +4 -4
- package/node/Fab/Fab.js +4 -4
- package/node/Fade/Fade.js +4 -4
- package/node/FilledInput/FilledInput.js +4 -4
- package/node/FormControl/FormControl.js +4 -4
- package/node/FormControlLabel/FormControlLabel.js +4 -4
- package/node/FormGroup/FormGroup.js +4 -4
- package/node/FormHelperText/FormHelperText.js +4 -4
- package/node/FormLabel/FormLabel.js +4 -4
- package/node/GlobalStyles/GlobalStyles.js +4 -4
- package/node/Grid/Grid.js +4 -4
- package/node/Grow/Grow.js +4 -4
- package/node/Hidden/Hidden.js +4 -4
- package/node/Icon/Icon.js +4 -4
- package/node/IconButton/IconButton.js +4 -4
- package/node/ImageList/ImageList.js +4 -4
- package/node/ImageListItem/ImageListItem.js +4 -4
- package/node/ImageListItemBar/ImageListItemBar.js +4 -4
- package/node/Input/Input.js +4 -4
- package/node/InputAdornment/InputAdornment.js +4 -4
- package/node/InputBase/InputBase.js +4 -4
- package/node/InputLabel/InputLabel.js +4 -4
- package/node/LinearProgress/LinearProgress.js +4 -4
- package/node/Link/Link.js +4 -4
- package/node/List/List.js +4 -4
- package/node/ListItem/ListItem.js +4 -4
- package/node/ListItemAvatar/ListItemAvatar.js +4 -4
- package/node/ListItemButton/ListItemButton.js +4 -4
- package/node/ListItemIcon/ListItemIcon.js +4 -4
- package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +4 -4
- package/node/ListItemText/ListItemText.js +4 -4
- package/node/ListSubheader/ListSubheader.js +4 -4
- package/node/Menu/Menu.js +4 -4
- package/node/MenuItem/MenuItem.js +4 -4
- package/node/MenuList/MenuList.js +4 -4
- package/node/MobileStepper/MobileStepper.js +4 -4
- package/node/Modal/Modal.js +4 -4
- package/node/NativeSelect/NativeSelect.js +4 -4
- package/node/OutlinedInput/OutlinedInput.js +4 -4
- package/node/Pagination/Pagination.js +4 -4
- package/node/PaginationItem/PaginationItem.js +4 -4
- package/node/Paper/Paper.js +4 -4
- package/node/Popover/Popover.js +4 -4
- package/node/Popper/Popper.js +4 -4
- package/node/Radio/Radio.js +4 -4
- package/node/RadioGroup/RadioGroup.js +4 -4
- package/node/Rating/Rating.js +4 -4
- package/node/ScopedCssBaseline/ScopedCssBaseline.js +4 -4
- package/node/Select/Select.js +4 -4
- package/node/Skeleton/Skeleton.js +4 -4
- package/node/Slide/Slide.js +4 -4
- package/node/Slider/Slider.js +4 -4
- package/node/Snackbar/Snackbar.js +4 -4
- package/node/SnackbarContent/SnackbarContent.js +4 -4
- package/node/SpeedDial/SpeedDial.js +4 -4
- package/node/SpeedDialAction/SpeedDialAction.js +4 -4
- package/node/SpeedDialIcon/SpeedDialIcon.js +4 -4
- package/node/Stack/Stack.js +4 -4
- package/node/Step/Step.js +4 -4
- package/node/StepButton/StepButton.js +4 -4
- package/node/StepConnector/StepConnector.js +4 -4
- package/node/StepContent/StepContent.js +4 -4
- package/node/StepIcon/StepIcon.js +4 -4
- package/node/StepLabel/StepLabel.js +4 -4
- package/node/Stepper/Stepper.js +4 -4
- package/node/SvgIcon/SvgIcon.js +4 -4
- package/node/SwipeableDrawer/SwipeableDrawer.js +4 -4
- package/node/Switch/Switch.js +4 -4
- package/node/Tab/Tab.js +4 -4
- package/node/TabScrollButton/TabScrollButton.js +4 -4
- package/node/Table/Table.js +4 -4
- package/node/TableBody/TableBody.js +4 -4
- package/node/TableCell/TableCell.js +4 -4
- package/node/TableContainer/TableContainer.js +4 -4
- package/node/TableFooter/TableFooter.js +4 -4
- package/node/TableHead/TableHead.js +4 -4
- package/node/TablePagination/TablePagination.js +4 -4
- package/node/TableRow/TableRow.js +4 -4
- package/node/TableSortLabel/TableSortLabel.js +4 -4
- package/node/Tabs/Tabs.js +4 -4
- package/node/TextField/TextField.js +4 -4
- package/node/ToggleButton/ToggleButton.js +24 -8
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +88 -46
- package/node/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +17 -0
- package/node/ToggleButtonGroup/ToggleButtonGroupContext.js +17 -0
- package/node/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
- package/node/Toolbar/Toolbar.js +4 -4
- package/node/Tooltip/Tooltip.js +4 -4
- package/node/Typography/Typography.js +4 -4
- package/node/Unstable_Grid2/Grid2.js +4 -4
- package/node/Zoom/Zoom.js +4 -4
- package/node/index.js +1 -1
- package/node/styles/CssVarsProvider.js +3 -0
- package/node/styles/index.js +8 -0
- package/package.json +11 -10
- package/styles/CssVarsProvider.d.ts +3 -3
- package/styles/CssVarsProvider.js +3 -0
- package/styles/index.js +1 -0
- package/umd/material-ui.development.js +15440 -15434
- package/umd/material-ui.production.min.js +4 -207
package/Accordion/Accordion.js
CHANGED
|
@@ -181,10 +181,10 @@ const Accordion = /*#__PURE__*/React.forwardRef(function Accordion(inProps, ref)
|
|
|
181
181
|
}));
|
|
182
182
|
});
|
|
183
183
|
process.env.NODE_ENV !== "production" ? Accordion.propTypes /* remove-proptypes */ = {
|
|
184
|
-
//
|
|
185
|
-
//
|
|
186
|
-
//
|
|
187
|
-
//
|
|
184
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
185
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
186
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
187
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
188
188
|
/**
|
|
189
189
|
* The content of the component.
|
|
190
190
|
*/
|
|
@@ -63,10 +63,10 @@ const AccordionActions = /*#__PURE__*/React.forwardRef(function AccordionActions
|
|
|
63
63
|
}, other));
|
|
64
64
|
});
|
|
65
65
|
process.env.NODE_ENV !== "production" ? AccordionActions.propTypes /* remove-proptypes */ = {
|
|
66
|
-
//
|
|
67
|
-
//
|
|
68
|
-
//
|
|
69
|
-
//
|
|
66
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
67
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
68
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
69
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
70
70
|
/**
|
|
71
71
|
* The content of the component.
|
|
72
72
|
*/
|
|
@@ -47,10 +47,10 @@ const AccordionDetails = /*#__PURE__*/React.forwardRef(function AccordionDetails
|
|
|
47
47
|
}, other));
|
|
48
48
|
});
|
|
49
49
|
process.env.NODE_ENV !== "production" ? AccordionDetails.propTypes /* remove-proptypes */ = {
|
|
50
|
-
//
|
|
51
|
-
//
|
|
52
|
-
//
|
|
53
|
-
//
|
|
50
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
51
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
52
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
53
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
54
54
|
/**
|
|
55
55
|
* The content of the component.
|
|
56
56
|
*/
|
|
@@ -153,10 +153,10 @@ const AccordionSummary = /*#__PURE__*/React.forwardRef(function AccordionSummary
|
|
|
153
153
|
}));
|
|
154
154
|
});
|
|
155
155
|
process.env.NODE_ENV !== "production" ? AccordionSummary.propTypes /* remove-proptypes */ = {
|
|
156
|
-
//
|
|
157
|
-
//
|
|
158
|
-
//
|
|
159
|
-
//
|
|
156
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
157
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
158
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
159
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
160
160
|
/**
|
|
161
161
|
* The content of the component.
|
|
162
162
|
*/
|
package/Alert/Alert.js
CHANGED
|
@@ -198,10 +198,10 @@ const Alert = /*#__PURE__*/React.forwardRef(function Alert(inProps, ref) {
|
|
|
198
198
|
}));
|
|
199
199
|
});
|
|
200
200
|
process.env.NODE_ENV !== "production" ? Alert.propTypes /* remove-proptypes */ = {
|
|
201
|
-
//
|
|
202
|
-
//
|
|
203
|
-
//
|
|
204
|
-
//
|
|
201
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
202
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
203
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
204
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
205
205
|
/**
|
|
206
206
|
* The action to display. It renders after the message, at the end of the alert.
|
|
207
207
|
*/
|
package/AlertTitle/AlertTitle.js
CHANGED
|
@@ -53,10 +53,10 @@ const AlertTitle = /*#__PURE__*/React.forwardRef(function AlertTitle(inProps, re
|
|
|
53
53
|
}, other));
|
|
54
54
|
});
|
|
55
55
|
process.env.NODE_ENV !== "production" ? AlertTitle.propTypes /* remove-proptypes */ = {
|
|
56
|
-
//
|
|
57
|
-
//
|
|
58
|
-
//
|
|
59
|
-
//
|
|
56
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
57
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
58
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
59
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
60
60
|
/**
|
|
61
61
|
* The content of the component.
|
|
62
62
|
*/
|
package/AppBar/AppBar.js
CHANGED
|
@@ -135,10 +135,10 @@ const AppBar = /*#__PURE__*/React.forwardRef(function AppBar(inProps, ref) {
|
|
|
135
135
|
}, other));
|
|
136
136
|
});
|
|
137
137
|
process.env.NODE_ENV !== "production" ? AppBar.propTypes /* remove-proptypes */ = {
|
|
138
|
-
//
|
|
139
|
-
//
|
|
140
|
-
//
|
|
141
|
-
//
|
|
138
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
139
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
140
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
141
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
142
142
|
/**
|
|
143
143
|
* The content of the component.
|
|
144
144
|
*/
|
|
@@ -655,10 +655,10 @@ const Autocomplete = /*#__PURE__*/React.forwardRef(function Autocomplete(inProps
|
|
|
655
655
|
});
|
|
656
656
|
});
|
|
657
657
|
process.env.NODE_ENV !== "production" ? Autocomplete.propTypes /* remove-proptypes */ = {
|
|
658
|
-
//
|
|
659
|
-
//
|
|
660
|
-
//
|
|
661
|
-
//
|
|
658
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
659
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
660
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
661
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
662
662
|
/**
|
|
663
663
|
* If `true`, the portion of the selected suggestion that the user hasn't typed,
|
|
664
664
|
* known as the completion string, appears inline after the input cursor in the textbox.
|
package/Avatar/Avatar.js
CHANGED
|
@@ -184,10 +184,10 @@ const Avatar = /*#__PURE__*/React.forwardRef(function Avatar(inProps, ref) {
|
|
|
184
184
|
}));
|
|
185
185
|
});
|
|
186
186
|
process.env.NODE_ENV !== "production" ? Avatar.propTypes /* remove-proptypes */ = {
|
|
187
|
-
//
|
|
188
|
-
//
|
|
189
|
-
//
|
|
190
|
-
//
|
|
187
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
188
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
189
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
190
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
191
191
|
/**
|
|
192
192
|
* Used in combination with `src` or `srcSet` to
|
|
193
193
|
* provide an alt attribute for the rendered `img` element.
|
|
@@ -137,10 +137,10 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps,
|
|
|
137
137
|
}));
|
|
138
138
|
});
|
|
139
139
|
process.env.NODE_ENV !== "production" ? AvatarGroup.propTypes /* remove-proptypes */ = {
|
|
140
|
-
//
|
|
141
|
-
//
|
|
142
|
-
//
|
|
143
|
-
//
|
|
140
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
141
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
142
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
143
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
144
144
|
/**
|
|
145
145
|
* The avatars to stack.
|
|
146
146
|
*/
|
package/Backdrop/Backdrop.js
CHANGED
|
@@ -90,10 +90,10 @@ const Backdrop = /*#__PURE__*/React.forwardRef(function Backdrop(inProps, ref) {
|
|
|
90
90
|
}));
|
|
91
91
|
});
|
|
92
92
|
process.env.NODE_ENV !== "production" ? Backdrop.propTypes /* remove-proptypes */ = {
|
|
93
|
-
//
|
|
94
|
-
//
|
|
95
|
-
//
|
|
96
|
-
//
|
|
93
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
94
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
95
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
96
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
97
97
|
/**
|
|
98
98
|
* The content of the component.
|
|
99
99
|
*/
|
package/Badge/Badge.js
CHANGED
|
@@ -313,10 +313,10 @@ const Badge = /*#__PURE__*/React.forwardRef(function Badge(inProps, ref) {
|
|
|
313
313
|
}));
|
|
314
314
|
});
|
|
315
315
|
process.env.NODE_ENV !== "production" ? Badge.propTypes /* remove-proptypes */ = {
|
|
316
|
-
//
|
|
317
|
-
//
|
|
318
|
-
//
|
|
319
|
-
//
|
|
316
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
317
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
318
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
319
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
320
320
|
/**
|
|
321
321
|
* The anchor of the badge.
|
|
322
322
|
* @default {
|
|
@@ -78,10 +78,10 @@ const BottomNavigation = /*#__PURE__*/React.forwardRef(function BottomNavigation
|
|
|
78
78
|
}));
|
|
79
79
|
});
|
|
80
80
|
process.env.NODE_ENV !== "production" ? BottomNavigation.propTypes /* remove-proptypes */ = {
|
|
81
|
-
//
|
|
82
|
-
//
|
|
83
|
-
//
|
|
84
|
-
//
|
|
81
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
82
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
83
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
84
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
85
85
|
/**
|
|
86
86
|
* The content of the component.
|
|
87
87
|
*/
|
|
@@ -120,10 +120,10 @@ const BottomNavigationAction = /*#__PURE__*/React.forwardRef(function BottomNavi
|
|
|
120
120
|
}));
|
|
121
121
|
});
|
|
122
122
|
process.env.NODE_ENV !== "production" ? BottomNavigationAction.propTypes /* remove-proptypes */ = {
|
|
123
|
-
//
|
|
124
|
-
//
|
|
125
|
-
//
|
|
126
|
-
//
|
|
123
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
124
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
125
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
126
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
127
127
|
/**
|
|
128
128
|
* This prop isn't supported.
|
|
129
129
|
* Use the `component` prop if you need to change the children structure.
|
package/Box/Box.js
CHANGED
|
@@ -14,10 +14,10 @@ const Box = createBox({
|
|
|
14
14
|
generateClassName: ClassNameGenerator.generate
|
|
15
15
|
});
|
|
16
16
|
process.env.NODE_ENV !== "production" ? Box.propTypes /* remove-proptypes */ = {
|
|
17
|
-
//
|
|
18
|
-
//
|
|
19
|
-
//
|
|
20
|
-
//
|
|
17
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
18
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
19
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
20
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
21
21
|
/**
|
|
22
22
|
* @ignore
|
|
23
23
|
*/
|
|
@@ -168,10 +168,10 @@ const Breadcrumbs = /*#__PURE__*/React.forwardRef(function Breadcrumbs(inProps,
|
|
|
168
168
|
}));
|
|
169
169
|
});
|
|
170
170
|
process.env.NODE_ENV !== "production" ? Breadcrumbs.propTypes /* remove-proptypes */ = {
|
|
171
|
-
//
|
|
172
|
-
//
|
|
173
|
-
//
|
|
174
|
-
//
|
|
171
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
172
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
173
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
174
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
175
175
|
/**
|
|
176
176
|
* The content of the component.
|
|
177
177
|
*/
|
package/Button/Button.js
CHANGED
|
@@ -283,10 +283,10 @@ const Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
|
|
|
283
283
|
}));
|
|
284
284
|
});
|
|
285
285
|
process.env.NODE_ENV !== "production" ? Button.propTypes /* remove-proptypes */ = {
|
|
286
|
-
//
|
|
287
|
-
//
|
|
288
|
-
//
|
|
289
|
-
//
|
|
286
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
287
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
288
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
289
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
290
290
|
/**
|
|
291
291
|
* The content of the component.
|
|
292
292
|
*/
|
package/ButtonBase/ButtonBase.js
CHANGED
|
@@ -316,10 +316,10 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
|
|
|
316
316
|
}));
|
|
317
317
|
});
|
|
318
318
|
process.env.NODE_ENV !== "production" ? ButtonBase.propTypes /* remove-proptypes */ = {
|
|
319
|
-
//
|
|
320
|
-
//
|
|
321
|
-
//
|
|
322
|
-
//
|
|
319
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
320
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
321
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
322
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
323
323
|
/**
|
|
324
324
|
* A ref for imperative actions.
|
|
325
325
|
* It currently only supports `focusVisible()` action.
|
|
@@ -216,10 +216,10 @@ const ButtonGroup = /*#__PURE__*/React.forwardRef(function ButtonGroup(inProps,
|
|
|
216
216
|
}));
|
|
217
217
|
});
|
|
218
218
|
process.env.NODE_ENV !== "production" ? ButtonGroup.propTypes /* remove-proptypes */ = {
|
|
219
|
-
//
|
|
220
|
-
//
|
|
221
|
-
//
|
|
222
|
-
//
|
|
219
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
220
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
221
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
222
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
223
223
|
/**
|
|
224
224
|
* The content of the component.
|
|
225
225
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { ButtonGroupProps } from './ButtonGroup';
|
|
3
|
-
interface
|
|
3
|
+
interface ButtonGroupContextType {
|
|
4
4
|
className?: string;
|
|
5
5
|
color?: ButtonGroupProps['color'];
|
|
6
6
|
disabled?: boolean;
|
|
@@ -14,5 +14,5 @@ interface IButtonGroupContext {
|
|
|
14
14
|
/**
|
|
15
15
|
* @ignore - internal component.
|
|
16
16
|
*/
|
|
17
|
-
declare const ButtonGroupContext: React.Context<
|
|
17
|
+
declare const ButtonGroupContext: React.Context<ButtonGroupContextType>;
|
|
18
18
|
export default ButtonGroupContext;
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,160 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.15.4
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.15.3..master -->
|
|
6
|
+
|
|
7
|
+
_Jan 10, 2024_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 22 contributors who made this release possible. Here are some highlights:
|
|
10
|
+
|
|
11
|
+
- ✨ Material UI's [ToggleButtonGroup](https://mui.com/material-ui/react-toggle-button/) now supports non-button element as a child (e.g., showing a Tooltip on a disabled ToggleButton) (#40220) @Methuselah96
|
|
12
|
+
|
|
13
|
+
### `@mui/material@5.15.4`
|
|
14
|
+
|
|
15
|
+
- [TextField][FormLabel][InputLabel][FormControl] Use exact children type to allow React children type augmentation (#38872) @nicegamer7
|
|
16
|
+
- [Select] Add form submission regression test (#40176) @mj12albert
|
|
17
|
+
- [ToggleButtonGroup] Support different elements under it (#40220) @Methuselah96
|
|
18
|
+
- [ClickAwayListener] Fix export of types (#40485) @illume
|
|
19
|
+
|
|
20
|
+
### `@mui/material-nextjs@5.15.4`
|
|
21
|
+
|
|
22
|
+
- Improve build size issue (#40436) @siriwatknp
|
|
23
|
+
|
|
24
|
+
### `@mui/icons-material@5.15.4`
|
|
25
|
+
|
|
26
|
+
- Update the icons (#40365) @michaldudak
|
|
27
|
+
|
|
28
|
+
### `@mui/system@5.15.4`
|
|
29
|
+
|
|
30
|
+
- [zero] Move zero runtime related packages (#40426) @brijeshb42
|
|
31
|
+
- Fix all use of styled(Box) (#40449) @oliviertassinari
|
|
32
|
+
|
|
33
|
+
### `@mui/utils@5.15.4`
|
|
34
|
+
|
|
35
|
+
- Fix `isPlainObject` to work across realm (#39981) @brijeshb42
|
|
36
|
+
|
|
37
|
+
### `@mui/base@5.0.0-beta.31`
|
|
38
|
+
|
|
39
|
+
- [base-ui][NumberInput] Remove inputId and inputRef types from NumberInput component (#40425) @sai6855
|
|
40
|
+
|
|
41
|
+
### `@mui/joy@5.0.0-beta.22`
|
|
42
|
+
|
|
43
|
+
- [Badge] Shouldn't crash when using custom size (#39986) @iamsaumya
|
|
44
|
+
- [ToggleButtonGroup] Add `JoyToggleButtonGroup` to extendTheme's components type export (#40407) @RiceCrisp
|
|
45
|
+
|
|
46
|
+
### Docs
|
|
47
|
+
|
|
48
|
+
- [base-ui] Visual tweaks to the plain CSS theme stylesheet (#40487) @zanivan
|
|
49
|
+
- [base-ui] Add tokens to plain CSS theme stylesheet (#40113) @zanivan
|
|
50
|
+
- [base-ui] Update the overview page (#40412) @danilo-leal
|
|
51
|
+
- [material-ui][Drawer] Resolve flickering when double-clicking on the backdrop to close it (#40343) @aacevski
|
|
52
|
+
- [material-ui] Refactor form submission in FormDialog component (#40470) @sai6855
|
|
53
|
+
- [material-ui] Replace recharts with MUI X charts on the Dashboard template (#40107) @alexfauquette
|
|
54
|
+
- [material-ui] Revise the Alert demo page (#34892) @samuelsycamore
|
|
55
|
+
- [material-ui] Revise the Accordion page (#40284) @anle9650
|
|
56
|
+
- [material-ui] Add docs for complementary Card components (#40346) @anle9650
|
|
57
|
+
- [material-ui] Add Material 3 components page (#40350) @DiegoAndai
|
|
58
|
+
- Fix strange italic style @oliviertassinari
|
|
59
|
+
- Fix references to ESLint @oliviertassinari
|
|
60
|
+
- Fix 301 redirections @oliviertassinari
|
|
61
|
+
- Right-to-left revision and addition to Joy UI (#39158) @danilo-leal
|
|
62
|
+
|
|
63
|
+
### Core
|
|
64
|
+
|
|
65
|
+
- [examples] Use material-nextjs integration package (#40199) @siriwatknp
|
|
66
|
+
- [code-infra] Configure build dependencies in nx (#40482) @michaldudak
|
|
67
|
+
- [code-infra] Don't require noreferrer on target link (#40447) @oliviertassinari
|
|
68
|
+
- [code-infra] Use tsx instead of ts-node (#40428) @michaldudak
|
|
69
|
+
- [code-infra] Add options to docs-api generation to support X code structure (#40111) @alexfauquette
|
|
70
|
+
- [docs-infra] Add types for withDocsInfra (#40301) @oliviertassinari
|
|
71
|
+
- [docs-infra] Fix anchor links in API pages (#40450) @oliviertassinari
|
|
72
|
+
- [docs-infra] Fix API table full-width (#40476) @oliviertassinari
|
|
73
|
+
- [docs-infra] Fix the copy button overlapping with the scrollbar (#40405) @danilo-leal
|
|
74
|
+
- [docs-infra] Remove explicit `mui-x` dependency resolving (#40257) @LukasTy
|
|
75
|
+
- [docs-infra] Update the outlined Demo container dark mode color (#40488) @danilo-leal
|
|
76
|
+
- [core] Lock file maintenance (#34538) @renovate[bot]
|
|
77
|
+
- [core] Remove duplicate devDependencies (#40438) @michaldudak
|
|
78
|
+
- [core] Remove issue emoji @oliviertassinari
|
|
79
|
+
- [core] Move prefetch at the core, will propagate to MUI X @oliviertassinari
|
|
80
|
+
- [core] Change package manager to pnpm (#36287) @Janpot
|
|
81
|
+
- [core][docs] Remove the "Understand MUI packages" page (#39835) @savalaram-redkar
|
|
82
|
+
- [website] Evolve the Developer Advocate role (#40337) @oliviertassinari
|
|
83
|
+
- [website] Fix default social card @oliviertassinari
|
|
84
|
+
- [test] Restore the `t` command (#40430) @michaldudak
|
|
85
|
+
|
|
86
|
+
All contributors of this release in alphabetical order: @aacevski, @alexfauquette, @anle9650, @brijeshb42, @danilo-leal, @DiegoAndai, @iamsaumya, @illume, @Janpot, @LukasTy, @Methuselah96, @michaldudak, @mj12albert, @nicegamer7, @oliviertassinari, @renovate[bot], @RiceCrisp, @sai6855, @samuelsycamore, @savalaram-redkar, @siriwatknp, @zanivan
|
|
87
|
+
|
|
88
|
+
## 5.15.3
|
|
89
|
+
|
|
90
|
+
<!-- generated comparing v5.15.2..master -->
|
|
91
|
+
|
|
92
|
+
_Jan 3, 2024_
|
|
93
|
+
|
|
94
|
+
A big thanks to the 11 contributors who made this release possible.
|
|
95
|
+
This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
|
|
96
|
+
|
|
97
|
+
### `@mui/material-nextjs@5.15.3`
|
|
98
|
+
|
|
99
|
+
- ​<!-- 06 -->[material-nextjs] Fix order of emotion server (#40409) @siriwatknp
|
|
100
|
+
|
|
101
|
+
### `@mui/base@5.0.0-beta.30`
|
|
102
|
+
|
|
103
|
+
- ​<!-- 40 -->[useSlider] Rearrange passive option in eventlisteners (#40235) @Kamino0
|
|
104
|
+
|
|
105
|
+
### `@mui/lab@5.0.0-alpha.159`
|
|
106
|
+
|
|
107
|
+
- ​<!-- 14 -->Add use client directive (#40358) @DiegoAndai
|
|
108
|
+
|
|
109
|
+
### `@mui/material-next@6.0.0-alpha.116`
|
|
110
|
+
|
|
111
|
+
- ​<!-- 13 -->[List] Copy all List\* components to material-next package (#40367) @sai6855
|
|
112
|
+
- ​<!-- 12 -->Update CONTRIBUTING guide given v6/v7 rescheduling (#40363) @DiegoAndai
|
|
113
|
+
- ​<!-- 11 -->[MenuItem] Fix spec import (#40271) @DiegoAndai
|
|
114
|
+
- ​<!-- 10 -->[Option] Add Option component (#40270) @DiegoAndai
|
|
115
|
+
- ​<!-- 09 -->[Slider] Replace lodash with internal utils (#40261) @DiegoAndai
|
|
116
|
+
- ​<!-- 08 -->[Switch] Change files to TypeScript (#39894) @lhilgert9
|
|
117
|
+
- ​<!-- 07 -->[theme] Move ref palette out of color schemes (#40341) @DiegoAndai
|
|
118
|
+
|
|
119
|
+
### Docs
|
|
120
|
+
|
|
121
|
+
- ​<!-- 41 -->[base-ui] Polish the Table Pagination demos (#40281) @danilo-leal
|
|
122
|
+
- ​<!-- 22 -->[joy-ui] Fix dashboard template console errors (#40316) @oliviertassinari
|
|
123
|
+
- ​<!-- 21 -->[joy-ui] Fix image size on the Files template (#40315) @oliviertassinari
|
|
124
|
+
- ​<!-- 20 -->[material-ui] Revise the Divider page (#40356) @danilo-leal
|
|
125
|
+
- ​<!-- 19 -->[material-ui] Polish the Next.js integration page (#40317) @oliviertassinari
|
|
126
|
+
- ​<!-- 18 -->[material-ui] Adding autoFocus on Virtual Popover (#40239) @aacevski
|
|
127
|
+
- ​<!-- 17 -->[material-ui] Revise the Roadmap page (#40054) @danilo-leal
|
|
128
|
+
- ​<!-- 16 -->[material-ui] Update the "showing and hiding" section on the Tooltip page (#40283) @anle9650
|
|
129
|
+
- ​<!-- 05 -->[material-ui] Fix Slider's customized iOS demo to use updated official colors (#39813) @Super-Kenil
|
|
130
|
+
- ​<!-- 15 -->[examples] Simplify Next.js example (#40318) @oliviertassinari
|
|
131
|
+
|
|
132
|
+
### Core
|
|
133
|
+
|
|
134
|
+
- ​<!-- 39 -->[blog] Update open-graph cards for all posts (#40328) @danilo-leal
|
|
135
|
+
- ​<!-- 38 -->[blog] Correct git diff @oliviertassinari
|
|
136
|
+
- ​<!-- 37 -->[code-infra] Update lerna and unpin its version (#40399) @michaldudak
|
|
137
|
+
- ​<!-- 36 -->[code-infra] Break package dependency cycle between @mui/material and @mui/icons-material (#40400) @michaldudak
|
|
138
|
+
- ​<!-- 35 -->[code-infra] Break package dependency cycles (#40398) @michaldudak
|
|
139
|
+
- ​<!-- 34 -->[code-infra] Sync bug issue template (#40305) @oliviertassinari
|
|
140
|
+
- ​<!-- 33 -->[docs] Fix 301 link to Base UI (#40396) @oliviertassinari
|
|
141
|
+
- ​<!-- 32 -->[docs] Link new MUI X components in sidnav (#40345) @oliviertassinari
|
|
142
|
+
- ​<!-- 31 -->[docs] Fix 301 links to Toolpad @oliviertassinari
|
|
143
|
+
- ​<!-- 30 -->[docs] Remove old notifications @oliviertassinari
|
|
144
|
+
- ​<!-- 29 -->[docs] Always mention the npm tag with npx (#40335) @oliviertassinari
|
|
145
|
+
- ​<!-- 28 -->[docs] Reduce network use on the All Components pages (#40313) @oliviertassinari
|
|
146
|
+
- ​<!-- 27 -->[docs-infra] Fix missing button aria-label (#40394) @oliviertassinari
|
|
147
|
+
- ​<!-- 26 -->[docs-infra] Fix a11y violation rule (#40393) @oliviertassinari
|
|
148
|
+
- ​<!-- 25 -->[docs-infra] Prefetch pages on hover (#40314) @oliviertassinari
|
|
149
|
+
- ​<!-- 24 -->[docs-infra] Fix footer links to link to the main domain (#40373) @oliviertassinari
|
|
150
|
+
- ​<!-- 23 -->[docs-infra] Add stray design adjustments (#40347) @danilo-leal
|
|
151
|
+
- ​<!-- 04 -->[website] Fix Base UI page's component section imports & styles (#40231) @danilo-leal
|
|
152
|
+
- ​<!-- 03 -->[website] Fix outdated Nhost image link @oliviertassinari
|
|
153
|
+
- ​<!-- 02 -->[website] Shorten Joy UI description, 7 chars too long @oliviertassinari
|
|
154
|
+
- ​<!-- 01 -->[website] Update some social preview images (#40282) @danilo-leal
|
|
155
|
+
|
|
156
|
+
All contributors of this release in alphabetical order: @aacevski, @anle9650, @danilo-leal, @DiegoAndai, @Kamino0, @lhilgert9, @michaldudak, @oliviertassinari, @sai6855, @siriwatknp, @Super-Kenil
|
|
157
|
+
|
|
3
158
|
## 5.15.2
|
|
4
159
|
|
|
5
160
|
<!-- generated comparing v5.15.1..master -->
|
|
@@ -11,12 +166,12 @@ A big thanks to the 13 contributors who made this release possible. Here are som
|
|
|
11
166
|
- 🚀 Added support for callbacks in the [variant's props definition](https://mui.com/material-ui/customization/theme-components/#creating-new-component-variants) (#40094) @mnajdova
|
|
12
167
|
- 💫 Published a [blogpost](https://mui.com/blog/2023-material-ui-v6-and-beyond/) for the 2024's plan about Material UI
|
|
13
168
|
|
|
14
|
-
### `@mui/material@5.15.
|
|
169
|
+
### `@mui/material@5.15.2`
|
|
15
170
|
|
|
16
171
|
- ​<!-- 31 -->[Badge] Use the variants API in the styled call (#40213) @mnajdova
|
|
17
172
|
- ​<!-- 04 -->[Paper] Add missing Paper classes descriptions (#40300) @sai6855
|
|
18
173
|
|
|
19
|
-
### `@mui/system@5.15.
|
|
174
|
+
### `@mui/system@5.15.2`
|
|
20
175
|
|
|
21
176
|
- ​<!-- 03 -->Support props callback in the variant's definition (#40094) @mnajdova
|
|
22
177
|
|
|
@@ -1369,7 +1524,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
|
|
|
1369
1524
|
A codemod is provided to help with the migration:
|
|
1370
1525
|
|
|
1371
1526
|
```bash
|
|
1372
|
-
npx @mui/codemod v5.0.0/base-use-named-exports <path>
|
|
1527
|
+
npx @mui/codemod@latest v5.0.0/base-use-named-exports <path>
|
|
1373
1528
|
```
|
|
1374
1529
|
|
|
1375
1530
|
#### Changes
|
|
@@ -2251,7 +2406,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
|
|
|
2251
2406
|
There is codemod that you can run in your project to do the transformation:
|
|
2252
2407
|
|
|
2253
2408
|
```bash
|
|
2254
|
-
npx @mui/codemod v5.0.0/base-remove-component-prop <path>
|
|
2409
|
+
npx @mui/codemod@latest v5.0.0/base-remove-component-prop <path>
|
|
2255
2410
|
```
|
|
2256
2411
|
|
|
2257
2412
|
The full documentation about the codemod can be found [here](https://github.com/mui/material-ui/blob/master/packages/mui-codemod/README.md#base-remove-component-prop).
|
|
@@ -2350,7 +2505,7 @@ A big thanks to the 12 contributors who made this release possible. Here are som
|
|
|
2350
2505
|
You can use this [codemod](https://github.com/mui/material-ui/blob/master/packages/mui-codemod/src/v5.0.0/base-remove-unstyled-suffix.js) to help with the migration:
|
|
2351
2506
|
|
|
2352
2507
|
```bash
|
|
2353
|
-
npx @mui/codemod v5.0.0/base-remove-unstyled-suffix <path>
|
|
2508
|
+
npx @mui/codemod@latest v5.0.0/base-remove-unstyled-suffix <path>
|
|
2354
2509
|
```
|
|
2355
2510
|
|
|
2356
2511
|
#### Changes
|
|
@@ -12410,7 +12565,7 @@ Here are some highlights ✨:
|
|
|
12410
12565
|
|
|
12411
12566
|
- 👩🎨 A first iteration on the new styling solution.
|
|
12412
12567
|
|
|
12413
|
-
You can find a [new version](https://mui.com/components/slider-styled/) of the slider in the lab powered by [
|
|
12568
|
+
You can find a [new version](https://mui.com/components/slider-styled/) of the slider in the lab powered by [Emotion](https://emotion.sh/).
|
|
12414
12569
|
|
|
12415
12570
|
In the event that you are already using styled-components in your application, you can swap emotion for styled-components 💅. Check [this CodeSandbox](https://codesandbox.io/p/sandbox/sliderstyled-with-styled-components-forked-olc27?file=/package.json) for a demo. It relies on aliases to prevent any bundle size overhead.
|
|
12416
12571
|
|
package/Card/Card.js
CHANGED
|
@@ -53,10 +53,10 @@ const Card = /*#__PURE__*/React.forwardRef(function Card(inProps, ref) {
|
|
|
53
53
|
}, other));
|
|
54
54
|
});
|
|
55
55
|
process.env.NODE_ENV !== "production" ? Card.propTypes /* remove-proptypes */ = {
|
|
56
|
-
//
|
|
57
|
-
//
|
|
58
|
-
//
|
|
59
|
-
//
|
|
56
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
57
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
58
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
59
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
60
60
|
/**
|
|
61
61
|
* The content of the component.
|
|
62
62
|
*/
|
|
@@ -92,10 +92,10 @@ const CardActionArea = /*#__PURE__*/React.forwardRef(function CardActionArea(inP
|
|
|
92
92
|
}));
|
|
93
93
|
});
|
|
94
94
|
process.env.NODE_ENV !== "production" ? CardActionArea.propTypes /* remove-proptypes */ = {
|
|
95
|
-
//
|
|
96
|
-
//
|
|
97
|
-
//
|
|
98
|
-
//
|
|
95
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
96
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
97
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
98
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
99
99
|
/**
|
|
100
100
|
* The content of the component.
|
|
101
101
|
*/
|
|
@@ -62,10 +62,10 @@ const CardActions = /*#__PURE__*/React.forwardRef(function CardActions(inProps,
|
|
|
62
62
|
}, other));
|
|
63
63
|
});
|
|
64
64
|
process.env.NODE_ENV !== "production" ? CardActions.propTypes /* remove-proptypes */ = {
|
|
65
|
-
//
|
|
66
|
-
//
|
|
67
|
-
//
|
|
68
|
-
//
|
|
65
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
66
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
67
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
68
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
69
69
|
/**
|
|
70
70
|
* The content of the component.
|
|
71
71
|
*/
|
|
@@ -54,10 +54,10 @@ const CardContent = /*#__PURE__*/React.forwardRef(function CardContent(inProps,
|
|
|
54
54
|
}, other));
|
|
55
55
|
});
|
|
56
56
|
process.env.NODE_ENV !== "production" ? CardContent.propTypes /* remove-proptypes */ = {
|
|
57
|
-
//
|
|
58
|
-
//
|
|
59
|
-
//
|
|
60
|
-
//
|
|
57
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
58
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
59
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
60
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
61
61
|
/**
|
|
62
62
|
* The content of the component.
|
|
63
63
|
*/
|