@mui/material 5.15.20 → 5.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accordion/Accordion.js +3 -3
- package/AccordionActions/AccordionActions.js +3 -3
- package/AccordionDetails/AccordionDetails.js +3 -3
- package/AccordionSummary/AccordionSummary.js +3 -3
- package/Alert/Alert.d.ts +12 -3
- package/Alert/Alert.js +3 -3
- package/AlertTitle/AlertTitle.js +3 -3
- package/AppBar/AppBar.js +2 -2
- package/Autocomplete/Autocomplete.d.ts +1 -1
- package/Autocomplete/Autocomplete.js +3 -3
- package/Avatar/Avatar.js +3 -3
- package/AvatarGroup/AvatarGroup.js +2 -2
- package/Backdrop/Backdrop.js +2 -2
- package/Badge/Badge.js +3 -3
- package/BottomNavigation/BottomNavigation.js +2 -2
- package/BottomNavigationAction/BottomNavigationAction.js +2 -2
- package/Breadcrumbs/Breadcrumbs.js +2 -2
- package/Button/Button.js +2 -2
- package/ButtonBase/ButtonBase.js +2 -2
- package/ButtonBase/TouchRipple.js +2 -2
- package/ButtonGroup/ButtonGroup.js +2 -2
- package/CHANGELOG.md +58 -0
- package/Card/Card.js +2 -2
- package/CardActionArea/CardActionArea.js +2 -2
- package/CardActions/CardActions.js +2 -2
- package/CardContent/CardContent.js +2 -2
- package/CardHeader/CardHeader.js +2 -2
- package/CardMedia/CardMedia.js +2 -2
- package/Checkbox/Checkbox.js +2 -2
- package/Chip/Chip.js +2 -2
- package/CircularProgress/CircularProgress.js +2 -2
- package/Collapse/Collapse.js +2 -2
- package/Container/Container.js +2 -2
- package/CssBaseline/CssBaseline.js +2 -2
- package/DefaultPropsProvider/DefaultPropsProvider.d.ts +15 -0
- package/DefaultPropsProvider/DefaultPropsProvider.js +28 -0
- package/DefaultPropsProvider/index.d.ts +1 -0
- package/DefaultPropsProvider/index.js +1 -0
- package/DefaultPropsProvider/package.json +6 -0
- package/Dialog/Dialog.js +2 -2
- package/DialogActions/DialogActions.js +2 -2
- package/DialogContent/DialogContent.js +2 -2
- package/DialogContentText/DialogContentText.js +2 -2
- package/DialogTitle/DialogTitle.js +2 -2
- package/Divider/Divider.js +2 -2
- package/Drawer/Drawer.js +2 -2
- package/Fab/Fab.js +2 -2
- package/FilledInput/FilledInput.js +2 -2
- package/FormControl/FormControl.js +2 -2
- package/FormControlLabel/FormControlLabel.js +2 -2
- package/FormGroup/FormGroup.js +2 -2
- package/FormHelperText/FormHelperText.js +2 -2
- package/FormLabel/FormLabel.js +2 -2
- package/Grid/Grid.js +2 -2
- package/Icon/Icon.js +2 -2
- package/IconButton/IconButton.js +2 -2
- package/ImageList/ImageList.js +2 -2
- package/ImageListItem/ImageListItem.js +2 -2
- package/ImageListItemBar/ImageListItemBar.js +2 -2
- package/InitColorSchemeScript/InitColorSchemeScript.d.ts +10 -0
- package/InitColorSchemeScript/InitColorSchemeScript.js +14 -0
- package/InitColorSchemeScript/index.d.ts +1 -0
- package/InitColorSchemeScript/index.js +1 -0
- package/InitColorSchemeScript/package.json +6 -0
- package/Input/Input.js +2 -2
- package/InputAdornment/InputAdornment.js +2 -2
- package/InputBase/InputBase.js +2 -2
- package/InputLabel/InputLabel.js +2 -2
- package/LinearProgress/LinearProgress.js +2 -2
- package/Link/Link.js +2 -2
- package/List/List.js +2 -2
- package/ListItem/ListItem.js +2 -2
- package/ListItemAvatar/ListItemAvatar.js +2 -2
- package/ListItemButton/ListItemButton.js +2 -2
- package/ListItemIcon/ListItemIcon.js +2 -2
- package/ListItemSecondaryAction/ListItemSecondaryAction.js +2 -2
- package/ListItemText/ListItemText.js +2 -2
- package/ListSubheader/ListSubheader.js +2 -2
- package/Menu/Menu.js +2 -2
- package/MenuItem/MenuItem.js +2 -2
- package/MobileStepper/MobileStepper.js +2 -2
- package/Modal/Modal.js +2 -2
- package/NativeSelect/NativeSelect.js +2 -2
- package/OutlinedInput/OutlinedInput.js +2 -2
- package/Pagination/Pagination.js +2 -2
- package/PaginationItem/PaginationItem.js +2 -2
- package/Paper/Paper.js +2 -2
- package/Popover/Popover.js +2 -2
- package/Popper/Popper.js +3 -2
- package/Radio/Radio.js +2 -2
- package/Rating/Rating.js +2 -2
- package/ScopedCssBaseline/ScopedCssBaseline.js +2 -2
- package/Select/Select.js +2 -2
- package/Skeleton/Skeleton.js +2 -2
- package/Slider/Slider.js +3 -3
- package/Snackbar/Snackbar.js +2 -2
- package/SnackbarContent/SnackbarContent.js +2 -2
- package/SpeedDial/SpeedDial.js +2 -2
- package/SpeedDialAction/SpeedDialAction.js +2 -2
- package/SpeedDialIcon/SpeedDialIcon.js +2 -2
- package/Stack/Stack.js +2 -2
- package/Step/Step.js +2 -2
- package/StepButton/StepButton.js +2 -2
- package/StepConnector/StepConnector.js +2 -2
- package/StepContent/StepContent.js +2 -2
- package/StepIcon/StepIcon.js +2 -2
- package/StepLabel/StepLabel.js +2 -2
- package/Stepper/Stepper.js +6 -4
- package/Stepper/stepperClasses.d.ts +2 -0
- package/Stepper/stepperClasses.js +1 -1
- package/SvgIcon/SvgIcon.js +2 -2
- package/SwipeableDrawer/SwipeableDrawer.js +2 -2
- package/Switch/Switch.js +3 -3
- package/Tab/Tab.js +2 -2
- package/TabScrollButton/TabScrollButton.js +2 -2
- package/Table/Table.js +2 -2
- package/TableBody/TableBody.js +2 -2
- package/TableCell/TableCell.js +2 -2
- package/TableContainer/TableContainer.js +2 -2
- package/TableFooter/TableFooter.js +2 -2
- package/TableHead/TableHead.js +2 -2
- package/TablePagination/TablePagination.js +2 -2
- package/TableRow/TableRow.js +2 -2
- package/TableSortLabel/TableSortLabel.js +2 -2
- package/Tabs/Tabs.js +2 -2
- package/TextField/TextField.js +2 -2
- package/ToggleButton/ToggleButton.js +2 -2
- package/ToggleButtonGroup/ToggleButtonGroup.js +2 -2
- package/Toolbar/Toolbar.js +2 -2
- package/Tooltip/Tooltip.js +2 -2
- package/Typography/Typography.js +2 -2
- package/Unstable_Grid2/Grid2.js +3 -2
- package/index.js +1 -1
- package/legacy/Accordion/Accordion.js +3 -3
- package/legacy/AccordionActions/AccordionActions.js +3 -3
- package/legacy/AccordionDetails/AccordionDetails.js +3 -3
- package/legacy/AccordionSummary/AccordionSummary.js +3 -3
- package/legacy/Alert/Alert.js +3 -3
- package/legacy/AlertTitle/AlertTitle.js +3 -3
- package/legacy/AppBar/AppBar.js +2 -2
- package/legacy/Autocomplete/Autocomplete.js +3 -3
- package/legacy/Avatar/Avatar.js +3 -3
- package/legacy/AvatarGroup/AvatarGroup.js +2 -2
- package/legacy/Backdrop/Backdrop.js +2 -2
- package/legacy/Badge/Badge.js +3 -3
- package/legacy/BottomNavigation/BottomNavigation.js +2 -2
- package/legacy/BottomNavigationAction/BottomNavigationAction.js +2 -2
- package/legacy/Breadcrumbs/Breadcrumbs.js +2 -2
- package/legacy/Button/Button.js +2 -2
- package/legacy/ButtonBase/ButtonBase.js +2 -2
- package/legacy/ButtonBase/TouchRipple.js +2 -2
- package/legacy/ButtonGroup/ButtonGroup.js +2 -2
- package/legacy/Card/Card.js +2 -2
- package/legacy/CardActionArea/CardActionArea.js +2 -2
- package/legacy/CardActions/CardActions.js +2 -2
- package/legacy/CardContent/CardContent.js +2 -2
- package/legacy/CardHeader/CardHeader.js +2 -2
- package/legacy/CardMedia/CardMedia.js +2 -2
- package/legacy/Checkbox/Checkbox.js +2 -2
- package/legacy/Chip/Chip.js +2 -2
- package/legacy/CircularProgress/CircularProgress.js +2 -2
- package/legacy/Collapse/Collapse.js +2 -2
- package/legacy/Container/Container.js +2 -2
- package/legacy/CssBaseline/CssBaseline.js +2 -2
- package/legacy/DefaultPropsProvider/DefaultPropsProvider.js +28 -0
- package/legacy/DefaultPropsProvider/index.js +1 -0
- package/legacy/Dialog/Dialog.js +2 -2
- package/legacy/DialogActions/DialogActions.js +2 -2
- package/legacy/DialogContent/DialogContent.js +2 -2
- package/legacy/DialogContentText/DialogContentText.js +2 -2
- package/legacy/DialogTitle/DialogTitle.js +2 -2
- package/legacy/Divider/Divider.js +2 -2
- package/legacy/Drawer/Drawer.js +2 -2
- package/legacy/Fab/Fab.js +2 -2
- package/legacy/FilledInput/FilledInput.js +2 -2
- package/legacy/FormControl/FormControl.js +2 -2
- package/legacy/FormControlLabel/FormControlLabel.js +2 -2
- package/legacy/FormGroup/FormGroup.js +2 -2
- package/legacy/FormHelperText/FormHelperText.js +2 -2
- package/legacy/FormLabel/FormLabel.js +2 -2
- package/legacy/Grid/Grid.js +2 -2
- package/legacy/Icon/Icon.js +2 -2
- package/legacy/IconButton/IconButton.js +2 -2
- package/legacy/ImageList/ImageList.js +2 -2
- package/legacy/ImageListItem/ImageListItem.js +2 -2
- package/legacy/ImageListItemBar/ImageListItemBar.js +2 -2
- package/legacy/InitColorSchemeScript/InitColorSchemeScript.js +14 -0
- package/legacy/InitColorSchemeScript/index.js +1 -0
- package/legacy/Input/Input.js +2 -2
- package/legacy/InputAdornment/InputAdornment.js +2 -2
- package/legacy/InputBase/InputBase.js +2 -2
- package/legacy/InputLabel/InputLabel.js +2 -2
- package/legacy/LinearProgress/LinearProgress.js +2 -2
- package/legacy/Link/Link.js +2 -2
- package/legacy/List/List.js +2 -2
- package/legacy/ListItem/ListItem.js +2 -2
- package/legacy/ListItemAvatar/ListItemAvatar.js +2 -2
- package/legacy/ListItemButton/ListItemButton.js +2 -2
- package/legacy/ListItemIcon/ListItemIcon.js +2 -2
- package/legacy/ListItemSecondaryAction/ListItemSecondaryAction.js +2 -2
- package/legacy/ListItemText/ListItemText.js +2 -2
- package/legacy/ListSubheader/ListSubheader.js +2 -2
- package/legacy/Menu/Menu.js +2 -2
- package/legacy/MenuItem/MenuItem.js +2 -2
- package/legacy/MobileStepper/MobileStepper.js +2 -2
- package/legacy/Modal/Modal.js +2 -2
- package/legacy/NativeSelect/NativeSelect.js +2 -2
- package/legacy/OutlinedInput/OutlinedInput.js +2 -2
- package/legacy/Pagination/Pagination.js +2 -2
- package/legacy/PaginationItem/PaginationItem.js +2 -2
- package/legacy/Paper/Paper.js +2 -2
- package/legacy/Popover/Popover.js +2 -2
- package/legacy/Popper/Popper.js +3 -2
- package/legacy/Radio/Radio.js +2 -2
- package/legacy/Rating/Rating.js +2 -2
- package/legacy/ScopedCssBaseline/ScopedCssBaseline.js +2 -2
- package/legacy/Select/Select.js +2 -2
- package/legacy/Skeleton/Skeleton.js +2 -2
- package/legacy/Slider/Slider.js +3 -3
- package/legacy/Snackbar/Snackbar.js +2 -2
- package/legacy/SnackbarContent/SnackbarContent.js +2 -2
- package/legacy/SpeedDial/SpeedDial.js +2 -2
- package/legacy/SpeedDialAction/SpeedDialAction.js +2 -2
- package/legacy/SpeedDialIcon/SpeedDialIcon.js +2 -2
- package/legacy/Stack/Stack.js +2 -2
- package/legacy/Step/Step.js +2 -2
- package/legacy/StepButton/StepButton.js +2 -2
- package/legacy/StepConnector/StepConnector.js +2 -2
- package/legacy/StepContent/StepContent.js +2 -2
- package/legacy/StepIcon/StepIcon.js +2 -2
- package/legacy/StepLabel/StepLabel.js +2 -2
- package/legacy/Stepper/Stepper.js +6 -4
- package/legacy/Stepper/stepperClasses.js +1 -1
- package/legacy/SvgIcon/SvgIcon.js +2 -2
- package/legacy/SwipeableDrawer/SwipeableDrawer.js +2 -2
- package/legacy/Switch/Switch.js +3 -3
- package/legacy/Tab/Tab.js +2 -2
- package/legacy/TabScrollButton/TabScrollButton.js +2 -2
- package/legacy/Table/Table.js +2 -2
- package/legacy/TableBody/TableBody.js +2 -2
- package/legacy/TableCell/TableCell.js +2 -2
- package/legacy/TableContainer/TableContainer.js +2 -2
- package/legacy/TableFooter/TableFooter.js +2 -2
- package/legacy/TableHead/TableHead.js +2 -2
- package/legacy/TablePagination/TablePagination.js +2 -2
- package/legacy/TableRow/TableRow.js +2 -2
- package/legacy/TableSortLabel/TableSortLabel.js +2 -2
- package/legacy/Tabs/Tabs.js +2 -2
- package/legacy/TextField/TextField.js +2 -2
- package/legacy/ToggleButton/ToggleButton.js +2 -2
- package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +2 -2
- package/legacy/Toolbar/Toolbar.js +2 -2
- package/legacy/Tooltip/Tooltip.js +2 -2
- package/legacy/Typography/Typography.js +2 -2
- package/legacy/Unstable_Grid2/Grid2.js +3 -2
- package/legacy/index.js +1 -1
- package/legacy/styles/CssVarsProvider.js +19 -7
- package/modern/Accordion/Accordion.js +3 -3
- package/modern/AccordionActions/AccordionActions.js +3 -3
- package/modern/AccordionDetails/AccordionDetails.js +3 -3
- package/modern/AccordionSummary/AccordionSummary.js +3 -3
- package/modern/Alert/Alert.js +3 -3
- package/modern/AlertTitle/AlertTitle.js +3 -3
- package/modern/AppBar/AppBar.js +2 -2
- package/modern/Autocomplete/Autocomplete.js +3 -3
- package/modern/Avatar/Avatar.js +3 -3
- package/modern/AvatarGroup/AvatarGroup.js +2 -2
- package/modern/Backdrop/Backdrop.js +2 -2
- package/modern/Badge/Badge.js +3 -3
- package/modern/BottomNavigation/BottomNavigation.js +2 -2
- package/modern/BottomNavigationAction/BottomNavigationAction.js +2 -2
- package/modern/Breadcrumbs/Breadcrumbs.js +2 -2
- package/modern/Button/Button.js +2 -2
- package/modern/ButtonBase/ButtonBase.js +2 -2
- package/modern/ButtonBase/TouchRipple.js +2 -2
- package/modern/ButtonGroup/ButtonGroup.js +2 -2
- package/modern/Card/Card.js +2 -2
- package/modern/CardActionArea/CardActionArea.js +2 -2
- package/modern/CardActions/CardActions.js +2 -2
- package/modern/CardContent/CardContent.js +2 -2
- package/modern/CardHeader/CardHeader.js +2 -2
- package/modern/CardMedia/CardMedia.js +2 -2
- package/modern/Checkbox/Checkbox.js +2 -2
- package/modern/Chip/Chip.js +2 -2
- package/modern/CircularProgress/CircularProgress.js +2 -2
- package/modern/Collapse/Collapse.js +2 -2
- package/modern/Container/Container.js +2 -2
- package/modern/CssBaseline/CssBaseline.js +2 -2
- package/modern/DefaultPropsProvider/DefaultPropsProvider.js +28 -0
- package/modern/DefaultPropsProvider/index.js +1 -0
- package/modern/Dialog/Dialog.js +2 -2
- package/modern/DialogActions/DialogActions.js +2 -2
- package/modern/DialogContent/DialogContent.js +2 -2
- package/modern/DialogContentText/DialogContentText.js +2 -2
- package/modern/DialogTitle/DialogTitle.js +2 -2
- package/modern/Divider/Divider.js +2 -2
- package/modern/Drawer/Drawer.js +2 -2
- package/modern/Fab/Fab.js +2 -2
- package/modern/FilledInput/FilledInput.js +2 -2
- package/modern/FormControl/FormControl.js +2 -2
- package/modern/FormControlLabel/FormControlLabel.js +2 -2
- package/modern/FormGroup/FormGroup.js +2 -2
- package/modern/FormHelperText/FormHelperText.js +2 -2
- package/modern/FormLabel/FormLabel.js +2 -2
- package/modern/Grid/Grid.js +2 -2
- package/modern/Icon/Icon.js +2 -2
- package/modern/IconButton/IconButton.js +2 -2
- package/modern/ImageList/ImageList.js +2 -2
- package/modern/ImageListItem/ImageListItem.js +2 -2
- package/modern/ImageListItemBar/ImageListItemBar.js +2 -2
- package/modern/InitColorSchemeScript/InitColorSchemeScript.js +14 -0
- package/modern/InitColorSchemeScript/index.js +1 -0
- package/modern/Input/Input.js +2 -2
- package/modern/InputAdornment/InputAdornment.js +2 -2
- package/modern/InputBase/InputBase.js +2 -2
- package/modern/InputLabel/InputLabel.js +2 -2
- package/modern/LinearProgress/LinearProgress.js +2 -2
- package/modern/Link/Link.js +2 -2
- package/modern/List/List.js +2 -2
- package/modern/ListItem/ListItem.js +2 -2
- package/modern/ListItemAvatar/ListItemAvatar.js +2 -2
- package/modern/ListItemButton/ListItemButton.js +2 -2
- package/modern/ListItemIcon/ListItemIcon.js +2 -2
- package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +2 -2
- package/modern/ListItemText/ListItemText.js +2 -2
- package/modern/ListSubheader/ListSubheader.js +2 -2
- package/modern/Menu/Menu.js +2 -2
- package/modern/MenuItem/MenuItem.js +2 -2
- package/modern/MobileStepper/MobileStepper.js +2 -2
- package/modern/Modal/Modal.js +2 -2
- package/modern/NativeSelect/NativeSelect.js +2 -2
- package/modern/OutlinedInput/OutlinedInput.js +2 -2
- package/modern/Pagination/Pagination.js +2 -2
- package/modern/PaginationItem/PaginationItem.js +2 -2
- package/modern/Paper/Paper.js +2 -2
- package/modern/Popover/Popover.js +2 -2
- package/modern/Popper/Popper.js +3 -2
- package/modern/Radio/Radio.js +2 -2
- package/modern/Rating/Rating.js +2 -2
- package/modern/ScopedCssBaseline/ScopedCssBaseline.js +2 -2
- package/modern/Select/Select.js +2 -2
- package/modern/Skeleton/Skeleton.js +2 -2
- package/modern/Slider/Slider.js +3 -3
- package/modern/Snackbar/Snackbar.js +2 -2
- package/modern/SnackbarContent/SnackbarContent.js +2 -2
- package/modern/SpeedDial/SpeedDial.js +2 -2
- package/modern/SpeedDialAction/SpeedDialAction.js +2 -2
- package/modern/SpeedDialIcon/SpeedDialIcon.js +2 -2
- package/modern/Stack/Stack.js +2 -2
- package/modern/Step/Step.js +2 -2
- package/modern/StepButton/StepButton.js +2 -2
- package/modern/StepConnector/StepConnector.js +2 -2
- package/modern/StepContent/StepContent.js +2 -2
- package/modern/StepIcon/StepIcon.js +2 -2
- package/modern/StepLabel/StepLabel.js +2 -2
- package/modern/Stepper/Stepper.js +6 -4
- package/modern/Stepper/stepperClasses.js +1 -1
- package/modern/SvgIcon/SvgIcon.js +2 -2
- package/modern/SwipeableDrawer/SwipeableDrawer.js +2 -2
- package/modern/Switch/Switch.js +3 -3
- package/modern/Tab/Tab.js +2 -2
- package/modern/TabScrollButton/TabScrollButton.js +2 -2
- package/modern/Table/Table.js +2 -2
- package/modern/TableBody/TableBody.js +2 -2
- package/modern/TableCell/TableCell.js +2 -2
- package/modern/TableContainer/TableContainer.js +2 -2
- package/modern/TableFooter/TableFooter.js +2 -2
- package/modern/TableHead/TableHead.js +2 -2
- package/modern/TablePagination/TablePagination.js +2 -2
- package/modern/TableRow/TableRow.js +2 -2
- package/modern/TableSortLabel/TableSortLabel.js +2 -2
- package/modern/Tabs/Tabs.js +2 -2
- package/modern/TextField/TextField.js +2 -2
- package/modern/ToggleButton/ToggleButton.js +2 -2
- package/modern/ToggleButtonGroup/ToggleButtonGroup.js +2 -2
- package/modern/Toolbar/Toolbar.js +2 -2
- package/modern/Tooltip/Tooltip.js +2 -2
- package/modern/Typography/Typography.js +2 -2
- package/modern/Unstable_Grid2/Grid2.js +3 -2
- package/modern/index.js +1 -1
- package/modern/styles/CssVarsProvider.js +20 -7
- 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 +2 -2
- 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 +2 -2
- package/node/BottomNavigation/BottomNavigation.js +2 -2
- package/node/BottomNavigationAction/BottomNavigationAction.js +2 -2
- package/node/Breadcrumbs/Breadcrumbs.js +2 -2
- package/node/Button/Button.js +2 -2
- package/node/ButtonBase/ButtonBase.js +2 -2
- package/node/ButtonBase/TouchRipple.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 +2 -2
- package/node/Chip/Chip.js +2 -2
- package/node/CircularProgress/CircularProgress.js +2 -2
- package/node/Collapse/Collapse.js +2 -2
- package/node/Container/Container.js +2 -2
- package/node/CssBaseline/CssBaseline.js +2 -2
- package/node/DefaultPropsProvider/DefaultPropsProvider.js +37 -0
- package/node/DefaultPropsProvider/index.js +20 -0
- 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 +2 -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/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/InitColorSchemeScript/InitColorSchemeScript.js +23 -0
- package/node/InitColorSchemeScript/index.js +13 -0
- package/node/Input/Input.js +2 -2
- package/node/InputAdornment/InputAdornment.js +2 -2
- package/node/InputBase/InputBase.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/ListItem/ListItem.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 +2 -2
- 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/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/Popover/Popover.js +2 -2
- package/node/Popper/Popper.js +2 -1
- 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 +2 -2
- package/node/Skeleton/Skeleton.js +2 -2
- package/node/Slider/Slider.js +2 -2
- package/node/Snackbar/Snackbar.js +2 -2
- 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/Stack/Stack.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 +6 -4
- package/node/Stepper/stepperClasses.js +1 -1
- package/node/SvgIcon/SvgIcon.js +2 -2
- package/node/SwipeableDrawer/SwipeableDrawer.js +2 -2
- package/node/Switch/Switch.js +2 -2
- package/node/Tab/Tab.js +2 -2
- package/node/TabScrollButton/TabScrollButton.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/TablePagination/TablePagination.js +2 -2
- package/node/TableRow/TableRow.js +2 -2
- package/node/TableSortLabel/TableSortLabel.js +2 -2
- package/node/Tabs/Tabs.js +2 -2
- package/node/TextField/TextField.js +2 -2
- package/node/ToggleButton/ToggleButton.js +2 -2
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +2 -2
- package/node/Toolbar/Toolbar.js +2 -2
- package/node/Tooltip/Tooltip.js +2 -2
- package/node/Typography/Typography.js +2 -2
- package/node/Unstable_Grid2/Grid2.js +2 -1
- package/node/index.js +1 -1
- package/node/styles/CssVarsProvider.js +20 -8
- package/package.json +6 -6
- package/styles/CssVarsProvider.d.ts +13 -2
- package/styles/CssVarsProvider.js +20 -7
- package/styles/responsiveFontSizes.d.ts +3 -4
- package/umd/material-ui.development.js +245 -158
- package/umd/material-ui.production.min.js +2 -2
package/Accordion/Accordion.js
CHANGED
|
@@ -9,7 +9,8 @@ import PropTypes from 'prop-types';
|
|
|
9
9
|
import clsx from 'clsx';
|
|
10
10
|
import chainPropTypes from '@mui/utils/chainPropTypes';
|
|
11
11
|
import composeClasses from '@mui/utils/composeClasses';
|
|
12
|
-
import { styled
|
|
12
|
+
import { styled } from '../zero-styled';
|
|
13
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
13
14
|
import Collapse from '../Collapse';
|
|
14
15
|
import Paper from '../Paper';
|
|
15
16
|
import AccordionContext from './AccordionContext';
|
|
@@ -18,7 +19,6 @@ import useSlot from '../utils/useSlot';
|
|
|
18
19
|
import accordionClasses, { getAccordionUtilityClass } from './accordionClasses';
|
|
19
20
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
20
21
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
21
|
-
const useThemeProps = createUseThemeProps('MuiAccordion');
|
|
22
22
|
const useUtilityClasses = ownerState => {
|
|
23
23
|
const {
|
|
24
24
|
classes,
|
|
@@ -122,7 +122,7 @@ const AccordionRoot = styled(Paper, {
|
|
|
122
122
|
}]
|
|
123
123
|
}));
|
|
124
124
|
const Accordion = /*#__PURE__*/React.forwardRef(function Accordion(inProps, ref) {
|
|
125
|
-
const props =
|
|
125
|
+
const props = useDefaultProps({
|
|
126
126
|
props: inProps,
|
|
127
127
|
name: 'MuiAccordion'
|
|
128
128
|
});
|
|
@@ -7,10 +7,10 @@ import * as React from 'react';
|
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
|
-
import { styled
|
|
10
|
+
import { styled } from '../zero-styled';
|
|
11
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
11
12
|
import { getAccordionActionsUtilityClass } from './accordionActionsClasses';
|
|
12
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
const useThemeProps = createUseThemeProps('MuiAccordionActions');
|
|
14
14
|
const useUtilityClasses = ownerState => {
|
|
15
15
|
const {
|
|
16
16
|
classes,
|
|
@@ -45,7 +45,7 @@ const AccordionActionsRoot = styled('div', {
|
|
|
45
45
|
}]
|
|
46
46
|
});
|
|
47
47
|
const AccordionActions = /*#__PURE__*/React.forwardRef(function AccordionActions(inProps, ref) {
|
|
48
|
-
const props =
|
|
48
|
+
const props = useDefaultProps({
|
|
49
49
|
props: inProps,
|
|
50
50
|
name: 'MuiAccordionActions'
|
|
51
51
|
});
|
|
@@ -7,10 +7,10 @@ import * as React from 'react';
|
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
|
-
import { styled
|
|
10
|
+
import { styled } from '../zero-styled';
|
|
11
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
11
12
|
import { getAccordionDetailsUtilityClass } from './accordionDetailsClasses';
|
|
12
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
const useThemeProps = createUseThemeProps('MuiAccordionDetails');
|
|
14
14
|
const useUtilityClasses = ownerState => {
|
|
15
15
|
const {
|
|
16
16
|
classes
|
|
@@ -30,7 +30,7 @@ const AccordionDetailsRoot = styled('div', {
|
|
|
30
30
|
padding: theme.spacing(1, 2, 2)
|
|
31
31
|
}));
|
|
32
32
|
const AccordionDetails = /*#__PURE__*/React.forwardRef(function AccordionDetails(inProps, ref) {
|
|
33
|
-
const props =
|
|
33
|
+
const props = useDefaultProps({
|
|
34
34
|
props: inProps,
|
|
35
35
|
name: 'MuiAccordionDetails'
|
|
36
36
|
});
|
|
@@ -7,13 +7,13 @@ import * as React from 'react';
|
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
|
-
import { styled
|
|
10
|
+
import { styled } from '../zero-styled';
|
|
11
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
11
12
|
import ButtonBase from '../ButtonBase';
|
|
12
13
|
import AccordionContext from '../Accordion/AccordionContext';
|
|
13
14
|
import accordionSummaryClasses, { getAccordionSummaryUtilityClass } from './accordionSummaryClasses';
|
|
14
15
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
16
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
|
-
const useThemeProps = createUseThemeProps('MuiAccordionSummary');
|
|
17
17
|
const useUtilityClasses = ownerState => {
|
|
18
18
|
const {
|
|
19
19
|
classes,
|
|
@@ -103,7 +103,7 @@ const AccordionSummaryExpandIconWrapper = styled('div', {
|
|
|
103
103
|
}
|
|
104
104
|
}));
|
|
105
105
|
const AccordionSummary = /*#__PURE__*/React.forwardRef(function AccordionSummary(inProps, ref) {
|
|
106
|
-
const props =
|
|
106
|
+
const props = useDefaultProps({
|
|
107
107
|
props: inProps,
|
|
108
108
|
name: 'MuiAccordionSummary'
|
|
109
109
|
});
|
package/Alert/Alert.d.ts
CHANGED
|
@@ -9,8 +9,9 @@ import { CreateSlotsAndSlotProps, SlotProps } from '../utils/types';
|
|
|
9
9
|
export type AlertColor = 'success' | 'info' | 'warning' | 'error';
|
|
10
10
|
|
|
11
11
|
export interface AlertPropsVariantOverrides {}
|
|
12
|
-
|
|
13
12
|
export interface AlertPropsColorOverrides {}
|
|
13
|
+
export interface AlertCloseButtonSlotPropsOverrides {}
|
|
14
|
+
export interface AlertCloseIconSlotPropsOverrides {}
|
|
14
15
|
|
|
15
16
|
export interface AlertSlots {
|
|
16
17
|
/**
|
|
@@ -28,8 +29,16 @@ export interface AlertSlots {
|
|
|
28
29
|
export type AlertSlotsAndSlotProps = CreateSlotsAndSlotProps<
|
|
29
30
|
AlertSlots,
|
|
30
31
|
{
|
|
31
|
-
closeButton: SlotProps<
|
|
32
|
-
|
|
32
|
+
closeButton: SlotProps<
|
|
33
|
+
React.ElementType<IconButtonProps>,
|
|
34
|
+
AlertCloseButtonSlotPropsOverrides,
|
|
35
|
+
AlertOwnerState
|
|
36
|
+
>;
|
|
37
|
+
closeIcon: SlotProps<
|
|
38
|
+
React.ElementType<SvgIconProps>,
|
|
39
|
+
AlertCloseIconSlotPropsOverrides,
|
|
40
|
+
AlertOwnerState
|
|
41
|
+
>;
|
|
33
42
|
}
|
|
34
43
|
>;
|
|
35
44
|
|
package/Alert/Alert.js
CHANGED
|
@@ -8,7 +8,8 @@ import PropTypes from 'prop-types';
|
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import { darken, lighten } from '@mui/system/colorManipulator';
|
|
11
|
-
import { styled
|
|
11
|
+
import { styled } from '../zero-styled';
|
|
12
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
12
13
|
import useSlot from '../utils/useSlot';
|
|
13
14
|
import capitalize from '../utils/capitalize';
|
|
14
15
|
import Paper from '../Paper';
|
|
@@ -21,7 +22,6 @@ import InfoOutlinedIcon from '../internal/svg-icons/InfoOutlined';
|
|
|
21
22
|
import CloseIcon from '../internal/svg-icons/Close';
|
|
22
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
23
24
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
|
-
const useThemeProps = createUseThemeProps('MuiAlert');
|
|
25
25
|
const useUtilityClasses = ownerState => {
|
|
26
26
|
const {
|
|
27
27
|
variant,
|
|
@@ -146,7 +146,7 @@ const defaultIconMapping = {
|
|
|
146
146
|
})
|
|
147
147
|
};
|
|
148
148
|
const Alert = /*#__PURE__*/React.forwardRef(function Alert(inProps, ref) {
|
|
149
|
-
const props =
|
|
149
|
+
const props = useDefaultProps({
|
|
150
150
|
props: inProps,
|
|
151
151
|
name: 'MuiAlert'
|
|
152
152
|
});
|
package/AlertTitle/AlertTitle.js
CHANGED
|
@@ -7,11 +7,11 @@ import * as React from 'react';
|
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
|
-
import { styled
|
|
10
|
+
import { styled } from '../zero-styled';
|
|
11
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
11
12
|
import Typography from '../Typography';
|
|
12
13
|
import { getAlertTitleUtilityClass } from './alertTitleClasses';
|
|
13
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
-
const useThemeProps = createUseThemeProps('MuiAlertTitle');
|
|
15
15
|
const useUtilityClasses = ownerState => {
|
|
16
16
|
const {
|
|
17
17
|
classes
|
|
@@ -34,7 +34,7 @@ const AlertTitleRoot = styled(Typography, {
|
|
|
34
34
|
};
|
|
35
35
|
});
|
|
36
36
|
const AlertTitle = /*#__PURE__*/React.forwardRef(function AlertTitle(inProps, ref) {
|
|
37
|
-
const props =
|
|
37
|
+
const props = useDefaultProps({
|
|
38
38
|
props: inProps,
|
|
39
39
|
name: 'MuiAlertTitle'
|
|
40
40
|
});
|
package/AppBar/AppBar.js
CHANGED
|
@@ -8,7 +8,7 @@ import PropTypes from 'prop-types';
|
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import styled from '../styles/styled';
|
|
11
|
-
import
|
|
11
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
12
12
|
import capitalize from '../utils/capitalize';
|
|
13
13
|
import Paper from '../Paper';
|
|
14
14
|
import { getAppBarUtilityClass } from './appBarClasses';
|
|
@@ -108,7 +108,7 @@ const AppBarRoot = styled(Paper, {
|
|
|
108
108
|
}));
|
|
109
109
|
});
|
|
110
110
|
const AppBar = /*#__PURE__*/React.forwardRef(function AppBar(inProps, ref) {
|
|
111
|
-
const props =
|
|
111
|
+
const props = useDefaultProps({
|
|
112
112
|
props: inProps,
|
|
113
113
|
name: 'MuiAppBar'
|
|
114
114
|
});
|
|
@@ -249,7 +249,7 @@ export interface AutocompleteProps<
|
|
|
249
249
|
* @returns {ReactNode}
|
|
250
250
|
*/
|
|
251
251
|
renderOption?: (
|
|
252
|
-
props: React.HTMLAttributes<HTMLLIElement
|
|
252
|
+
props: React.HTMLAttributes<HTMLLIElement> & { key: any },
|
|
253
253
|
option: Value,
|
|
254
254
|
state: AutocompleteRenderOptionState,
|
|
255
255
|
ownerState: AutocompleteOwnerState<Value, Multiple, DisableClearable, FreeSolo, ChipComponent>,
|
|
@@ -26,13 +26,13 @@ import outlinedInputClasses from '../OutlinedInput/outlinedInputClasses';
|
|
|
26
26
|
import filledInputClasses from '../FilledInput/filledInputClasses';
|
|
27
27
|
import ClearIcon from '../internal/svg-icons/Close';
|
|
28
28
|
import ArrowDropDownIcon from '../internal/svg-icons/ArrowDropDown';
|
|
29
|
-
import { styled
|
|
29
|
+
import { styled } from '../zero-styled';
|
|
30
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
30
31
|
import autocompleteClasses, { getAutocompleteUtilityClass } from './autocompleteClasses';
|
|
31
32
|
import capitalize from '../utils/capitalize';
|
|
32
33
|
import useForkRef from '../utils/useForkRef';
|
|
33
34
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
34
35
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
35
|
-
const useThemeProps = createUseThemeProps('MuiAutocomplete');
|
|
36
36
|
const useUtilityClasses = ownerState => {
|
|
37
37
|
const {
|
|
38
38
|
classes,
|
|
@@ -407,7 +407,7 @@ const AutocompleteGroupUl = styled('ul', {
|
|
|
407
407
|
export { createFilterOptions };
|
|
408
408
|
const Autocomplete = /*#__PURE__*/React.forwardRef(function Autocomplete(inProps, ref) {
|
|
409
409
|
var _slotProps$clearIndic, _slotProps$paper, _slotProps$popper, _slotProps$popupIndic;
|
|
410
|
-
const props =
|
|
410
|
+
const props = useDefaultProps({
|
|
411
411
|
props: inProps,
|
|
412
412
|
name: 'MuiAutocomplete'
|
|
413
413
|
});
|
package/Avatar/Avatar.js
CHANGED
|
@@ -7,12 +7,12 @@ import * as React from 'react';
|
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
|
-
import { styled
|
|
10
|
+
import { styled } from '../zero-styled';
|
|
11
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
11
12
|
import Person from '../internal/svg-icons/Person';
|
|
12
13
|
import { getAvatarUtilityClass } from './avatarClasses';
|
|
13
14
|
import useSlot from '../utils/useSlot';
|
|
14
15
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
|
-
const useThemeProps = createUseThemeProps('MuiAvatar');
|
|
16
16
|
const useUtilityClasses = ownerState => {
|
|
17
17
|
const {
|
|
18
18
|
classes,
|
|
@@ -142,7 +142,7 @@ function useLoaded({
|
|
|
142
142
|
return loaded;
|
|
143
143
|
}
|
|
144
144
|
const Avatar = /*#__PURE__*/React.forwardRef(function Avatar(inProps, ref) {
|
|
145
|
-
const props =
|
|
145
|
+
const props = useDefaultProps({
|
|
146
146
|
props: inProps,
|
|
147
147
|
name: 'MuiAvatar'
|
|
148
148
|
});
|
|
@@ -10,7 +10,7 @@ import clsx from 'clsx';
|
|
|
10
10
|
import chainPropTypes from '@mui/utils/chainPropTypes';
|
|
11
11
|
import composeClasses from '@mui/utils/composeClasses';
|
|
12
12
|
import styled from '../styles/styled';
|
|
13
|
-
import
|
|
13
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
14
14
|
import Avatar, { avatarClasses } from '../Avatar';
|
|
15
15
|
import avatarGroupClasses, { getAvatarGroupUtilityClass } from './avatarGroupClasses';
|
|
16
16
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -55,7 +55,7 @@ const AvatarGroupRoot = styled('div', {
|
|
|
55
55
|
});
|
|
56
56
|
const AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps, ref) {
|
|
57
57
|
var _slotProps$additional;
|
|
58
|
-
const props =
|
|
58
|
+
const props = useDefaultProps({
|
|
59
59
|
props: inProps,
|
|
60
60
|
name: 'MuiAvatarGroup'
|
|
61
61
|
});
|
package/Backdrop/Backdrop.js
CHANGED
|
@@ -8,7 +8,7 @@ import PropTypes from 'prop-types';
|
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import styled from '../styles/styled';
|
|
11
|
-
import
|
|
11
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
12
12
|
import Fade from '../Fade';
|
|
13
13
|
import { getBackdropUtilityClass } from './backdropClasses';
|
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -49,7 +49,7 @@ const BackdropRoot = styled('div', {
|
|
|
49
49
|
}));
|
|
50
50
|
const Backdrop = /*#__PURE__*/React.forwardRef(function Backdrop(inProps, ref) {
|
|
51
51
|
var _slotProps$root, _ref, _slots$root;
|
|
52
|
-
const props =
|
|
52
|
+
const props = useDefaultProps({
|
|
53
53
|
props: inProps,
|
|
54
54
|
name: 'MuiBackdrop'
|
|
55
55
|
});
|
package/Badge/Badge.js
CHANGED
|
@@ -10,14 +10,14 @@ import usePreviousProps from '@mui/utils/usePreviousProps';
|
|
|
10
10
|
import composeClasses from '@mui/utils/composeClasses';
|
|
11
11
|
import { useBadge } from '@mui/base/useBadge';
|
|
12
12
|
import { useSlotProps } from '@mui/base/utils';
|
|
13
|
-
import { styled
|
|
13
|
+
import { styled } from '../zero-styled';
|
|
14
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
14
15
|
import capitalize from '../utils/capitalize';
|
|
15
16
|
import badgeClasses, { getBadgeUtilityClass } from './badgeClasses';
|
|
16
17
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
17
18
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
18
19
|
const RADIUS_STANDARD = 10;
|
|
19
20
|
const RADIUS_DOT = 4;
|
|
20
|
-
const useThemeProps = createUseThemeProps('MuiBadge');
|
|
21
21
|
const useUtilityClasses = ownerState => {
|
|
22
22
|
const {
|
|
23
23
|
color,
|
|
@@ -220,7 +220,7 @@ const BadgeBadge = styled('span', {
|
|
|
220
220
|
});
|
|
221
221
|
const Badge = /*#__PURE__*/React.forwardRef(function Badge(inProps, ref) {
|
|
222
222
|
var _ref, _slots$root, _ref2, _slots$badge, _slotProps$root, _slotProps$badge;
|
|
223
|
-
const props =
|
|
223
|
+
const props = useDefaultProps({
|
|
224
224
|
props: inProps,
|
|
225
225
|
name: 'MuiBadge'
|
|
226
226
|
});
|
|
@@ -9,7 +9,7 @@ import PropTypes from 'prop-types';
|
|
|
9
9
|
import clsx from 'clsx';
|
|
10
10
|
import composeClasses from '@mui/utils/composeClasses';
|
|
11
11
|
import styled from '../styles/styled';
|
|
12
|
-
import
|
|
12
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
13
13
|
import { getBottomNavigationUtilityClass } from './bottomNavigationClasses';
|
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
15
|
const useUtilityClasses = ownerState => {
|
|
@@ -34,7 +34,7 @@ const BottomNavigationRoot = styled('div', {
|
|
|
34
34
|
backgroundColor: (theme.vars || theme).palette.background.paper
|
|
35
35
|
}));
|
|
36
36
|
const BottomNavigation = /*#__PURE__*/React.forwardRef(function BottomNavigation(inProps, ref) {
|
|
37
|
-
const props =
|
|
37
|
+
const props = useDefaultProps({
|
|
38
38
|
props: inProps,
|
|
39
39
|
name: 'MuiBottomNavigation'
|
|
40
40
|
});
|
|
@@ -8,7 +8,7 @@ import PropTypes from 'prop-types';
|
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import styled from '../styles/styled';
|
|
11
|
-
import
|
|
11
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
12
12
|
import ButtonBase from '../ButtonBase';
|
|
13
13
|
import unsupportedProp from '../utils/unsupportedProp';
|
|
14
14
|
import bottomNavigationActionClasses, { getBottomNavigationActionUtilityClass } from './bottomNavigationActionClasses';
|
|
@@ -79,7 +79,7 @@ const BottomNavigationActionLabel = styled('span', {
|
|
|
79
79
|
}
|
|
80
80
|
}));
|
|
81
81
|
const BottomNavigationAction = /*#__PURE__*/React.forwardRef(function BottomNavigationAction(inProps, ref) {
|
|
82
|
-
const props =
|
|
82
|
+
const props = useDefaultProps({
|
|
83
83
|
props: inProps,
|
|
84
84
|
name: 'MuiBottomNavigationAction'
|
|
85
85
|
});
|
|
@@ -11,7 +11,7 @@ import integerPropType from '@mui/utils/integerPropType';
|
|
|
11
11
|
import { useSlotProps } from '@mui/base/utils';
|
|
12
12
|
import composeClasses from '@mui/utils/composeClasses';
|
|
13
13
|
import styled from '../styles/styled';
|
|
14
|
-
import
|
|
14
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
15
15
|
import Typography from '../Typography';
|
|
16
16
|
import BreadcrumbCollapsed from './BreadcrumbCollapsed';
|
|
17
17
|
import breadcrumbsClasses, { getBreadcrumbsUtilityClass } from './breadcrumbsClasses';
|
|
@@ -75,7 +75,7 @@ function insertSeparators(items, className, separator, ownerState) {
|
|
|
75
75
|
}, []);
|
|
76
76
|
}
|
|
77
77
|
const Breadcrumbs = /*#__PURE__*/React.forwardRef(function Breadcrumbs(inProps, ref) {
|
|
78
|
-
const props =
|
|
78
|
+
const props = useDefaultProps({
|
|
79
79
|
props: inProps,
|
|
80
80
|
name: 'MuiBreadcrumbs'
|
|
81
81
|
});
|
package/Button/Button.js
CHANGED
|
@@ -10,7 +10,7 @@ import resolveProps from '@mui/utils/resolveProps';
|
|
|
10
10
|
import composeClasses from '@mui/utils/composeClasses';
|
|
11
11
|
import { alpha } from '@mui/system/colorManipulator';
|
|
12
12
|
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
13
|
-
import
|
|
13
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
14
14
|
import ButtonBase from '../ButtonBase';
|
|
15
15
|
import capitalize from '../utils/capitalize';
|
|
16
16
|
import buttonClasses, { getButtonUtilityClass } from './buttonClasses';
|
|
@@ -224,7 +224,7 @@ const Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
|
|
|
224
224
|
const contextProps = React.useContext(ButtonGroupContext);
|
|
225
225
|
const buttonGroupButtonContextPositionClassName = React.useContext(ButtonGroupButtonContext);
|
|
226
226
|
const resolvedProps = resolveProps(contextProps, inProps);
|
|
227
|
-
const props =
|
|
227
|
+
const props = useDefaultProps({
|
|
228
228
|
props: resolvedProps,
|
|
229
229
|
name: 'MuiButton'
|
|
230
230
|
});
|
package/ButtonBase/ButtonBase.js
CHANGED
|
@@ -10,7 +10,7 @@ import refType from '@mui/utils/refType';
|
|
|
10
10
|
import elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';
|
|
11
11
|
import composeClasses from '@mui/utils/composeClasses';
|
|
12
12
|
import styled from '../styles/styled';
|
|
13
|
-
import
|
|
13
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
14
14
|
import useForkRef from '../utils/useForkRef';
|
|
15
15
|
import useEventCallback from '../utils/useEventCallback';
|
|
16
16
|
import useIsFocusVisible from '../utils/useIsFocusVisible';
|
|
@@ -84,7 +84,7 @@ export const ButtonBaseRoot = styled('button', {
|
|
|
84
84
|
* It contains a load of style reset and some focus/ripple logic.
|
|
85
85
|
*/
|
|
86
86
|
const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, ref) {
|
|
87
|
-
const props =
|
|
87
|
+
const props = useDefaultProps({
|
|
88
88
|
props: inProps,
|
|
89
89
|
name: 'MuiButtonBase'
|
|
90
90
|
});
|
|
@@ -15,7 +15,7 @@ import clsx from 'clsx';
|
|
|
15
15
|
import { keyframes } from '@mui/system';
|
|
16
16
|
import useTimeout from '@mui/utils/useTimeout';
|
|
17
17
|
import styled from '../styles/styled';
|
|
18
|
-
import
|
|
18
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
19
19
|
import Ripple from './Ripple';
|
|
20
20
|
import touchRippleClasses from './touchRippleClasses';
|
|
21
21
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -133,7 +133,7 @@ export const TouchRippleRipple = styled(Ripple, {
|
|
|
133
133
|
* TODO v5: Make private
|
|
134
134
|
*/
|
|
135
135
|
const TouchRipple = /*#__PURE__*/React.forwardRef(function TouchRipple(inProps, ref) {
|
|
136
|
-
const props =
|
|
136
|
+
const props = useDefaultProps({
|
|
137
137
|
props: inProps,
|
|
138
138
|
name: 'MuiTouchRipple'
|
|
139
139
|
});
|
|
@@ -11,7 +11,7 @@ import { alpha } from '@mui/system/colorManipulator';
|
|
|
11
11
|
import getValidReactChildren from '@mui/utils/getValidReactChildren';
|
|
12
12
|
import capitalize from '../utils/capitalize';
|
|
13
13
|
import styled from '../styles/styled';
|
|
14
|
-
import
|
|
14
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
15
15
|
import buttonGroupClasses, { getButtonGroupUtilityClass } from './buttonGroupClasses';
|
|
16
16
|
import ButtonGroupContext from './ButtonGroupContext';
|
|
17
17
|
import ButtonGroupButtonContext from './ButtonGroupButtonContext';
|
|
@@ -138,7 +138,7 @@ const ButtonGroupRoot = styled('div', {
|
|
|
138
138
|
})
|
|
139
139
|
}));
|
|
140
140
|
const ButtonGroup = /*#__PURE__*/React.forwardRef(function ButtonGroup(inProps, ref) {
|
|
141
|
-
const props =
|
|
141
|
+
const props = useDefaultProps({
|
|
142
142
|
props: inProps,
|
|
143
143
|
name: 'MuiButtonGroup'
|
|
144
144
|
});
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,63 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## v5.16.0
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.15.21..master -->
|
|
6
|
+
|
|
7
|
+
_Jul 5, 2024_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 5 contributors who made this release possible. Here are some highlights ✨:
|
|
10
|
+
|
|
11
|
+
- 🚀 Added `InitColorSchemeScript` for Next.js App Router (#42829) @siriwatknp
|
|
12
|
+
|
|
13
|
+
### `@mui/material@5.16.0`
|
|
14
|
+
|
|
15
|
+
- [Alert] Add ability to override slot props (@alexey-kozlenkov) (#42808) @alexey-kozlenkov
|
|
16
|
+
- Add `InitColorSchemeScript` for Next.js App Router (#42829) @siriwatknp
|
|
17
|
+
- Add `DefaultPropsProvider` (#42820) @siriwatknp
|
|
18
|
+
- Support `CssVarsTheme` in `responsiveFontSizes` return type (@jxdp) (#42806) @jxdp
|
|
19
|
+
- Remove warning from `getInitColorSchemeScript` (#42838) @siriwatknp
|
|
20
|
+
|
|
21
|
+
### Docs
|
|
22
|
+
|
|
23
|
+
- [docs] Fix 301 MDN redirections @oliviertassinari
|
|
24
|
+
|
|
25
|
+
### Core
|
|
26
|
+
|
|
27
|
+
- [mui-utils][test] Remove usages of deprecated react-dom APIs (@aarongarciah) (#42813) @aarongarciah
|
|
28
|
+
|
|
29
|
+
All contributors of this release in alphabetical order: @aarongarciah, @alexey-kozlenkov, @jxdp, @oliviertassinari, @siriwatknp
|
|
30
|
+
|
|
31
|
+
## v5.15.21
|
|
32
|
+
|
|
33
|
+
<!-- generated comparing v5.15.20..master -->
|
|
34
|
+
|
|
35
|
+
_Jun 28, 2024_
|
|
36
|
+
|
|
37
|
+
A big thanks to the 7 contributors who made this release possible.
|
|
38
|
+
|
|
39
|
+
### `@mui/material@5.15.21`
|
|
40
|
+
|
|
41
|
+
- [Autocomplete] Fix renderOption props type (@DiegoAndai) (#42709) @DiegoAndai
|
|
42
|
+
- [Stepper] Generate class for `nonLinear` prop (@alexismo) (#42677) @alexismo
|
|
43
|
+
|
|
44
|
+
### Docs
|
|
45
|
+
|
|
46
|
+
- Use new email for sponsoring @oliviertassinari
|
|
47
|
+
- Fix 301 links (@alexfauquette) (#42700) @alexfauquette
|
|
48
|
+
- [material-ui][Select] Fix the `SelectAutoWidth` demo menu item value (@Danielkhakbaz) (#42696) @Danielkhakbaz
|
|
49
|
+
- [material-ui][Autocomplete] Fix more React 18.3 key spread warnings in demos (#42766) @wbt
|
|
50
|
+
- [material-ui] Fix sign in side image (#42708) @zanivan
|
|
51
|
+
- [website] Add Ale to team (#42769) @alelthomas
|
|
52
|
+
|
|
53
|
+
### Core
|
|
54
|
+
|
|
55
|
+
- [core] Cherry pick pnpm updates (#42763) @DiegoAndai
|
|
56
|
+
- [website] Add Armin to the team members (@arminmeh) (#42681) @arminmeh
|
|
57
|
+
- [website] Open Staff Engineer role for Pigment CSS (@mnajdova) (#42669) @mnajdova
|
|
58
|
+
|
|
59
|
+
All contributors of this release in alphabetical order: @alexfauquette, @alexismo, @arminmeh, @Danielkhakbaz, @DiegoAndai, @mnajdova, @oliviertassinari
|
|
60
|
+
|
|
3
61
|
## v5.15.20
|
|
4
62
|
|
|
5
63
|
<!-- generated comparing v5.15.19..master -->
|
package/Card/Card.js
CHANGED
|
@@ -9,7 +9,7 @@ import clsx from 'clsx';
|
|
|
9
9
|
import chainPropTypes from '@mui/utils/chainPropTypes';
|
|
10
10
|
import composeClasses from '@mui/utils/composeClasses';
|
|
11
11
|
import styled from '../styles/styled';
|
|
12
|
-
import
|
|
12
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
13
13
|
import Paper from '../Paper';
|
|
14
14
|
import { getCardUtilityClass } from './cardClasses';
|
|
15
15
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -32,7 +32,7 @@ const CardRoot = styled(Paper, {
|
|
|
32
32
|
};
|
|
33
33
|
});
|
|
34
34
|
const Card = /*#__PURE__*/React.forwardRef(function Card(inProps, ref) {
|
|
35
|
-
const props =
|
|
35
|
+
const props = useDefaultProps({
|
|
36
36
|
props: inProps,
|
|
37
37
|
name: 'MuiCard'
|
|
38
38
|
});
|
|
@@ -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 composeClasses from '@mui/utils/composeClasses';
|
|
10
|
-
import
|
|
10
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
11
11
|
import styled from '../styles/styled';
|
|
12
12
|
import cardActionAreaClasses, { getCardActionAreaUtilityClass } from './cardActionAreaClasses';
|
|
13
13
|
import ButtonBase from '../ButtonBase';
|
|
@@ -67,7 +67,7 @@ const CardActionAreaFocusHighlight = styled('span', {
|
|
|
67
67
|
})
|
|
68
68
|
}));
|
|
69
69
|
const CardActionArea = /*#__PURE__*/React.forwardRef(function CardActionArea(inProps, ref) {
|
|
70
|
-
const props =
|
|
70
|
+
const props = useDefaultProps({
|
|
71
71
|
props: inProps,
|
|
72
72
|
name: 'MuiCardActionArea'
|
|
73
73
|
});
|
|
@@ -8,7 +8,7 @@ import PropTypes from 'prop-types';
|
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import styled from '../styles/styled';
|
|
11
|
-
import
|
|
11
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
12
12
|
import { getCardActionsUtilityClass } from './cardActionsClasses';
|
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
14
|
const useUtilityClasses = ownerState => {
|
|
@@ -42,7 +42,7 @@ const CardActionsRoot = styled('div', {
|
|
|
42
42
|
}
|
|
43
43
|
}));
|
|
44
44
|
const CardActions = /*#__PURE__*/React.forwardRef(function CardActions(inProps, ref) {
|
|
45
|
-
const props =
|
|
45
|
+
const props = useDefaultProps({
|
|
46
46
|
props: inProps,
|
|
47
47
|
name: 'MuiCardActions'
|
|
48
48
|
});
|
|
@@ -8,7 +8,7 @@ import PropTypes from 'prop-types';
|
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import styled from '../styles/styled';
|
|
11
|
-
import
|
|
11
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
12
12
|
import { getCardContentUtilityClass } from './cardContentClasses';
|
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
14
|
const useUtilityClasses = ownerState => {
|
|
@@ -33,7 +33,7 @@ const CardContentRoot = styled('div', {
|
|
|
33
33
|
};
|
|
34
34
|
});
|
|
35
35
|
const CardContent = /*#__PURE__*/React.forwardRef(function CardContent(inProps, ref) {
|
|
36
|
-
const props =
|
|
36
|
+
const props = useDefaultProps({
|
|
37
37
|
props: inProps,
|
|
38
38
|
name: 'MuiCardContent'
|
|
39
39
|
});
|
package/CardHeader/CardHeader.js
CHANGED
|
@@ -8,7 +8,7 @@ import PropTypes from 'prop-types';
|
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import Typography from '../Typography';
|
|
11
|
-
import
|
|
11
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
12
12
|
import styled from '../styles/styled';
|
|
13
13
|
import cardHeaderClasses, { getCardHeaderUtilityClass } from './cardHeaderClasses';
|
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -67,7 +67,7 @@ const CardHeaderContent = styled('div', {
|
|
|
67
67
|
flex: '1 1 auto'
|
|
68
68
|
});
|
|
69
69
|
const CardHeader = /*#__PURE__*/React.forwardRef(function CardHeader(inProps, ref) {
|
|
70
|
-
const props =
|
|
70
|
+
const props = useDefaultProps({
|
|
71
71
|
props: inProps,
|
|
72
72
|
name: 'MuiCardHeader'
|
|
73
73
|
});
|
package/CardMedia/CardMedia.js
CHANGED
|
@@ -8,7 +8,7 @@ import PropTypes from 'prop-types';
|
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import chainPropTypes from '@mui/utils/chainPropTypes';
|
|
10
10
|
import composeClasses from '@mui/utils/composeClasses';
|
|
11
|
-
import
|
|
11
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
12
12
|
import styled from '../styles/styled';
|
|
13
13
|
import { getCardMediaUtilityClass } from './cardMediaClasses';
|
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -52,7 +52,7 @@ const CardMediaRoot = styled('div', {
|
|
|
52
52
|
const MEDIA_COMPONENTS = ['video', 'audio', 'picture', 'iframe', 'img'];
|
|
53
53
|
const IMAGE_COMPONENTS = ['picture', 'img'];
|
|
54
54
|
const CardMedia = /*#__PURE__*/React.forwardRef(function CardMedia(inProps, ref) {
|
|
55
|
-
const props =
|
|
55
|
+
const props = useDefaultProps({
|
|
56
56
|
props: inProps,
|
|
57
57
|
name: 'MuiCardMedia'
|
|
58
58
|
});
|