@mui/material 5.15.21 → 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.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 +28 -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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +5 -5
- 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 +240 -155
- package/umd/material-ui.production.min.js +2 -2
|
@@ -19,7 +19,7 @@ import { darken, lighten } from '@mui/system/colorManipulator';
|
|
|
19
19
|
import { useRtl } from '@mui/system/RtlProvider';
|
|
20
20
|
import capitalize from '../utils/capitalize';
|
|
21
21
|
import styled from '../styles/styled';
|
|
22
|
-
import
|
|
22
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
23
23
|
import { getLinearProgressUtilityClass } from './linearProgressClasses';
|
|
24
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -238,7 +238,7 @@ const LinearProgressBar2 = styled('span', {
|
|
|
238
238
|
* attribute to `true` on that region until it has finished loading.
|
|
239
239
|
*/
|
|
240
240
|
const LinearProgress = /*#__PURE__*/React.forwardRef(function LinearProgress(inProps, ref) {
|
|
241
|
-
const props =
|
|
241
|
+
const props = useDefaultProps({
|
|
242
242
|
props: inProps,
|
|
243
243
|
name: 'MuiLinearProgress'
|
|
244
244
|
});
|
package/Link/Link.js
CHANGED
|
@@ -10,7 +10,7 @@ import elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';
|
|
|
10
10
|
import composeClasses from '@mui/utils/composeClasses';
|
|
11
11
|
import capitalize from '../utils/capitalize';
|
|
12
12
|
import styled from '../styles/styled';
|
|
13
|
-
import
|
|
13
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
14
14
|
import useIsFocusVisible from '../utils/useIsFocusVisible';
|
|
15
15
|
import useForkRef from '../utils/useForkRef';
|
|
16
16
|
import Typography from '../Typography';
|
|
@@ -89,7 +89,7 @@ const LinkRoot = styled(Typography, {
|
|
|
89
89
|
});
|
|
90
90
|
});
|
|
91
91
|
const Link = /*#__PURE__*/React.forwardRef(function Link(inProps, ref) {
|
|
92
|
-
const props =
|
|
92
|
+
const props = useDefaultProps({
|
|
93
93
|
props: inProps,
|
|
94
94
|
name: 'MuiLink'
|
|
95
95
|
});
|
package/List/List.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 ListContext from './ListContext';
|
|
13
13
|
import { getListUtilityClass } from './listClasses';
|
|
14
14
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -48,7 +48,7 @@ const ListRoot = styled('ul', {
|
|
|
48
48
|
paddingTop: 0
|
|
49
49
|
}));
|
|
50
50
|
const List = /*#__PURE__*/React.forwardRef(function List(inProps, ref) {
|
|
51
|
-
const props =
|
|
51
|
+
const props = useDefaultProps({
|
|
52
52
|
props: inProps,
|
|
53
53
|
name: 'MuiList'
|
|
54
54
|
});
|
package/ListItem/ListItem.js
CHANGED
|
@@ -13,7 +13,7 @@ import elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';
|
|
|
13
13
|
import chainPropTypes from '@mui/utils/chainPropTypes';
|
|
14
14
|
import { alpha } from '@mui/system/colorManipulator';
|
|
15
15
|
import styled from '../styles/styled';
|
|
16
|
-
import
|
|
16
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
17
17
|
import ButtonBase from '../ButtonBase';
|
|
18
18
|
import isMuiElement from '../utils/isMuiElement';
|
|
19
19
|
import useEnhancedEffect from '../utils/useEnhancedEffect';
|
|
@@ -136,7 +136,7 @@ const ListItemContainer = styled('li', {
|
|
|
136
136
|
* Uses an additional container component if `ListItemSecondaryAction` is the last child.
|
|
137
137
|
*/
|
|
138
138
|
const ListItem = /*#__PURE__*/React.forwardRef(function ListItem(inProps, ref) {
|
|
139
|
-
const props =
|
|
139
|
+
const props = useDefaultProps({
|
|
140
140
|
props: inProps,
|
|
141
141
|
name: 'MuiListItem'
|
|
142
142
|
});
|
|
@@ -9,7 +9,7 @@ import clsx from 'clsx';
|
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import ListContext from '../List/ListContext';
|
|
11
11
|
import styled from '../styles/styled';
|
|
12
|
-
import
|
|
12
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
13
13
|
import { getListItemAvatarUtilityClass } from './listItemAvatarClasses';
|
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
15
|
const useUtilityClasses = ownerState => {
|
|
@@ -44,7 +44,7 @@ const ListItemAvatarRoot = styled('div', {
|
|
|
44
44
|
* A simple wrapper to apply `List` styles to an `Avatar`.
|
|
45
45
|
*/
|
|
46
46
|
const ListItemAvatar = /*#__PURE__*/React.forwardRef(function ListItemAvatar(inProps, ref) {
|
|
47
|
-
const props =
|
|
47
|
+
const props = useDefaultProps({
|
|
48
48
|
props: inProps,
|
|
49
49
|
name: 'MuiListItemAvatar'
|
|
50
50
|
});
|
|
@@ -9,7 +9,7 @@ import clsx from 'clsx';
|
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import { alpha } from '@mui/system/colorManipulator';
|
|
11
11
|
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
12
|
-
import
|
|
12
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
13
13
|
import ButtonBase from '../ButtonBase';
|
|
14
14
|
import useEnhancedEffect from '../utils/useEnhancedEffect';
|
|
15
15
|
import useForkRef from '../utils/useForkRef';
|
|
@@ -101,7 +101,7 @@ const ListItemButtonRoot = styled(ButtonBase, {
|
|
|
101
101
|
paddingBottom: 4
|
|
102
102
|
}));
|
|
103
103
|
const ListItemButton = /*#__PURE__*/React.forwardRef(function ListItemButton(inProps, ref) {
|
|
104
|
-
const props =
|
|
104
|
+
const props = useDefaultProps({
|
|
105
105
|
props: inProps,
|
|
106
106
|
name: 'MuiListItemButton'
|
|
107
107
|
});
|
|
@@ -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 { getListItemIconUtilityClass } from './listItemIconClasses';
|
|
13
13
|
import ListContext from '../List/ListContext';
|
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -47,7 +47,7 @@ const ListItemIconRoot = styled('div', {
|
|
|
47
47
|
* A simple wrapper to apply `List` styles to an `Icon` or `SvgIcon`.
|
|
48
48
|
*/
|
|
49
49
|
const ListItemIcon = /*#__PURE__*/React.forwardRef(function ListItemIcon(inProps, ref) {
|
|
50
|
-
const props =
|
|
50
|
+
const props = useDefaultProps({
|
|
51
51
|
props: inProps,
|
|
52
52
|
name: 'MuiListItemIcon'
|
|
53
53
|
});
|
|
@@ -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 ListContext from '../List/ListContext';
|
|
13
13
|
import { getListItemSecondaryActionClassesUtilityClass } from './listItemSecondaryActionClasses';
|
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -46,7 +46,7 @@ const ListItemSecondaryActionRoot = styled('div', {
|
|
|
46
46
|
* Must be used as the last child of ListItem to function properly.
|
|
47
47
|
*/
|
|
48
48
|
const ListItemSecondaryAction = /*#__PURE__*/React.forwardRef(function ListItemSecondaryAction(inProps, ref) {
|
|
49
|
-
const props =
|
|
49
|
+
const props = useDefaultProps({
|
|
50
50
|
props: inProps,
|
|
51
51
|
name: 'MuiListItemSecondaryAction'
|
|
52
52
|
});
|
|
@@ -9,7 +9,7 @@ import clsx from 'clsx';
|
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import Typography from '../Typography';
|
|
11
11
|
import ListContext from '../List/ListContext';
|
|
12
|
-
import
|
|
12
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
13
13
|
import styled from '../styles/styled';
|
|
14
14
|
import listItemTextClasses, { getListItemTextUtilityClass } from './listItemTextClasses';
|
|
15
15
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -56,7 +56,7 @@ const ListItemTextRoot = styled('div', {
|
|
|
56
56
|
paddingLeft: 56
|
|
57
57
|
}));
|
|
58
58
|
const ListItemText = /*#__PURE__*/React.forwardRef(function ListItemText(inProps, ref) {
|
|
59
|
-
const props =
|
|
59
|
+
const props = useDefaultProps({
|
|
60
60
|
props: inProps,
|
|
61
61
|
name: 'MuiListItemText'
|
|
62
62
|
});
|
|
@@ -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 { getListSubheaderUtilityClass } from './listSubheaderClasses';
|
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -61,7 +61,7 @@ const ListSubheaderRoot = styled('li', {
|
|
|
61
61
|
backgroundColor: (theme.vars || theme).palette.background.paper
|
|
62
62
|
}));
|
|
63
63
|
const ListSubheader = /*#__PURE__*/React.forwardRef(function ListSubheader(inProps, ref) {
|
|
64
|
-
const props =
|
|
64
|
+
const props = useDefaultProps({
|
|
65
65
|
props: inProps,
|
|
66
66
|
name: 'MuiListSubheader'
|
|
67
67
|
});
|
package/Menu/Menu.js
CHANGED
|
@@ -15,7 +15,7 @@ import { useRtl } from '@mui/system/RtlProvider';
|
|
|
15
15
|
import MenuList from '../MenuList';
|
|
16
16
|
import Popover, { PopoverPaper } from '../Popover';
|
|
17
17
|
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
18
|
-
import
|
|
18
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
19
19
|
import { getMenuUtilityClass } from './menuClasses';
|
|
20
20
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
21
21
|
const RTL_ORIGIN = {
|
|
@@ -65,7 +65,7 @@ const MenuMenuList = styled(MenuList, {
|
|
|
65
65
|
});
|
|
66
66
|
const Menu = /*#__PURE__*/React.forwardRef(function Menu(inProps, ref) {
|
|
67
67
|
var _slots$paper, _slotProps$paper;
|
|
68
|
-
const props =
|
|
68
|
+
const props = useDefaultProps({
|
|
69
69
|
props: inProps,
|
|
70
70
|
name: 'MuiMenu'
|
|
71
71
|
});
|
package/MenuItem/MenuItem.js
CHANGED
|
@@ -9,7 +9,7 @@ import clsx from 'clsx';
|
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import { alpha } from '@mui/system/colorManipulator';
|
|
11
11
|
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
12
|
-
import
|
|
12
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
13
13
|
import ListContext from '../List/ListContext';
|
|
14
14
|
import ButtonBase from '../ButtonBase';
|
|
15
15
|
import useEnhancedEffect from '../utils/useEnhancedEffect';
|
|
@@ -125,7 +125,7 @@ const MenuItemRoot = styled(ButtonBase, {
|
|
|
125
125
|
}
|
|
126
126
|
})));
|
|
127
127
|
const MenuItem = /*#__PURE__*/React.forwardRef(function MenuItem(inProps, ref) {
|
|
128
|
-
const props =
|
|
128
|
+
const props = useDefaultProps({
|
|
129
129
|
props: inProps,
|
|
130
130
|
name: 'MuiMenuItem'
|
|
131
131
|
});
|
|
@@ -11,7 +11,7 @@ import composeClasses from '@mui/utils/composeClasses';
|
|
|
11
11
|
import Paper from '../Paper';
|
|
12
12
|
import capitalize from '../utils/capitalize';
|
|
13
13
|
import LinearProgress from '../LinearProgress';
|
|
14
|
-
import
|
|
14
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
15
15
|
import styled, { slotShouldForwardProp } from '../styles/styled';
|
|
16
16
|
import { getMobileStepperUtilityClass } from './mobileStepperClasses';
|
|
17
17
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -108,7 +108,7 @@ const MobileStepperProgress = styled(LinearProgress, {
|
|
|
108
108
|
width: '50%'
|
|
109
109
|
}));
|
|
110
110
|
const MobileStepper = /*#__PURE__*/React.forwardRef(function MobileStepper(inProps, ref) {
|
|
111
|
-
const props =
|
|
111
|
+
const props = useDefaultProps({
|
|
112
112
|
props: inProps,
|
|
113
113
|
name: 'MuiMobileStepper'
|
|
114
114
|
});
|
package/Modal/Modal.js
CHANGED
|
@@ -14,7 +14,7 @@ import composeClasses from '@mui/utils/composeClasses';
|
|
|
14
14
|
import FocusTrap from '../Unstable_TrapFocus';
|
|
15
15
|
import Portal from '../Portal';
|
|
16
16
|
import styled from '../styles/styled';
|
|
17
|
-
import
|
|
17
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
18
18
|
import Backdrop from '../Backdrop';
|
|
19
19
|
import { getModalUtilityClass } from './modalClasses';
|
|
20
20
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -78,7 +78,7 @@ const ModalBackdrop = styled(Backdrop, {
|
|
|
78
78
|
*/
|
|
79
79
|
const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
|
|
80
80
|
var _ref, _slots$root, _ref2, _slots$backdrop, _slotProps$root, _slotProps$backdrop;
|
|
81
|
-
const props =
|
|
81
|
+
const props = useDefaultProps({
|
|
82
82
|
name: 'MuiModal',
|
|
83
83
|
props: inProps
|
|
84
84
|
});
|
|
@@ -13,7 +13,7 @@ import formControlState from '../FormControl/formControlState';
|
|
|
13
13
|
import useFormControl from '../FormControl/useFormControl';
|
|
14
14
|
import ArrowDropDownIcon from '../internal/svg-icons/ArrowDropDown';
|
|
15
15
|
import Input from '../Input';
|
|
16
|
-
import
|
|
16
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
17
17
|
import { getNativeSelectUtilityClasses } from './nativeSelectClasses';
|
|
18
18
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
19
19
|
const useUtilityClasses = ownerState => {
|
|
@@ -30,7 +30,7 @@ const defaultInput = /*#__PURE__*/_jsx(Input, {});
|
|
|
30
30
|
* An alternative to `<Select native />` with a much smaller bundle size footprint.
|
|
31
31
|
*/
|
|
32
32
|
const NativeSelect = /*#__PURE__*/React.forwardRef(function NativeSelect(inProps, ref) {
|
|
33
|
-
const props =
|
|
33
|
+
const props = useDefaultProps({
|
|
34
34
|
name: 'MuiNativeSelect',
|
|
35
35
|
props: inProps
|
|
36
36
|
});
|
|
@@ -13,7 +13,7 @@ import formControlState from '../FormControl/formControlState';
|
|
|
13
13
|
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
14
14
|
import outlinedInputClasses, { getOutlinedInputUtilityClass } from './outlinedInputClasses';
|
|
15
15
|
import InputBase, { rootOverridesResolver as inputBaseRootOverridesResolver, inputOverridesResolver as inputBaseInputOverridesResolver, InputBaseRoot, InputBaseComponent as InputBaseInput } from '../InputBase/InputBase';
|
|
16
|
-
import
|
|
16
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
17
17
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
18
18
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
19
19
|
const useUtilityClasses = ownerState => {
|
|
@@ -120,7 +120,7 @@ const OutlinedInputInput = styled(InputBaseInput, {
|
|
|
120
120
|
}));
|
|
121
121
|
const OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inProps, ref) {
|
|
122
122
|
var _ref, _slots$root, _ref2, _slots$input, _React$Fragment;
|
|
123
|
-
const props =
|
|
123
|
+
const props = useDefaultProps({
|
|
124
124
|
props: inProps,
|
|
125
125
|
name: 'MuiOutlinedInput'
|
|
126
126
|
});
|
package/Pagination/Pagination.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 integerPropType from '@mui/utils/integerPropType';
|
|
11
|
-
import
|
|
11
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
12
12
|
import { getPaginationUtilityClass } from './paginationClasses';
|
|
13
13
|
import usePagination from '../usePagination';
|
|
14
14
|
import PaginationItem from '../PaginationItem';
|
|
@@ -54,7 +54,7 @@ function defaultGetAriaLabel(type, page, selected) {
|
|
|
54
54
|
return `Go to ${type} page`;
|
|
55
55
|
}
|
|
56
56
|
const Pagination = /*#__PURE__*/React.forwardRef(function Pagination(inProps, ref) {
|
|
57
|
-
const props =
|
|
57
|
+
const props = useDefaultProps({
|
|
58
58
|
props: inProps,
|
|
59
59
|
name: 'MuiPagination'
|
|
60
60
|
});
|
|
@@ -9,7 +9,7 @@ import clsx from 'clsx';
|
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import { alpha } from '@mui/system/colorManipulator';
|
|
11
11
|
import { useRtl } from '@mui/system/RtlProvider';
|
|
12
|
-
import
|
|
12
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
13
13
|
import paginationItemClasses, { getPaginationItemUtilityClass } from './paginationItemClasses';
|
|
14
14
|
import ButtonBase from '../ButtonBase';
|
|
15
15
|
import capitalize from '../utils/capitalize';
|
|
@@ -206,7 +206,7 @@ const PaginationItemPageIcon = styled('div', {
|
|
|
206
206
|
fontSize: theme.typography.pxToRem(22)
|
|
207
207
|
}));
|
|
208
208
|
const PaginationItem = /*#__PURE__*/React.forwardRef(function PaginationItem(inProps, ref) {
|
|
209
|
-
const props =
|
|
209
|
+
const props = useDefaultProps({
|
|
210
210
|
props: inProps,
|
|
211
211
|
name: 'MuiPaginationItem'
|
|
212
212
|
});
|
package/Paper/Paper.js
CHANGED
|
@@ -12,7 +12,7 @@ import composeClasses from '@mui/utils/composeClasses';
|
|
|
12
12
|
import { alpha } from '@mui/system/colorManipulator';
|
|
13
13
|
import styled from '../styles/styled';
|
|
14
14
|
import getOverlayAlpha from '../styles/getOverlayAlpha';
|
|
15
|
-
import
|
|
15
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
16
16
|
import useTheme from '../styles/useTheme';
|
|
17
17
|
import { getPaperUtilityClass } from './paperClasses';
|
|
18
18
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -59,7 +59,7 @@ const PaperRoot = styled('div', {
|
|
|
59
59
|
}));
|
|
60
60
|
});
|
|
61
61
|
const Paper = /*#__PURE__*/React.forwardRef(function Paper(inProps, ref) {
|
|
62
|
-
const props =
|
|
62
|
+
const props = useDefaultProps({
|
|
63
63
|
props: inProps,
|
|
64
64
|
name: 'MuiPaper'
|
|
65
65
|
});
|
package/Popover/Popover.js
CHANGED
|
@@ -16,7 +16,7 @@ import elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';
|
|
|
16
16
|
import integerPropType from '@mui/utils/integerPropType';
|
|
17
17
|
import chainPropTypes from '@mui/utils/chainPropTypes';
|
|
18
18
|
import styled from '../styles/styled';
|
|
19
|
-
import
|
|
19
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
20
20
|
import debounce from '../utils/debounce';
|
|
21
21
|
import ownerDocument from '../utils/ownerDocument';
|
|
22
22
|
import ownerWindow from '../utils/ownerWindow';
|
|
@@ -88,7 +88,7 @@ export const PopoverPaper = styled(PaperBase, {
|
|
|
88
88
|
});
|
|
89
89
|
const Popover = /*#__PURE__*/React.forwardRef(function Popover(inProps, ref) {
|
|
90
90
|
var _slotProps$paper, _slots$root, _slots$paper;
|
|
91
|
-
const props =
|
|
91
|
+
const props = useDefaultProps({
|
|
92
92
|
props: inProps,
|
|
93
93
|
name: 'MuiPopover'
|
|
94
94
|
});
|
package/Popper/Popper.js
CHANGED
|
@@ -9,7 +9,8 @@ import refType from '@mui/utils/refType';
|
|
|
9
9
|
import HTMLElementType from '@mui/utils/HTMLElementType';
|
|
10
10
|
import PropTypes from 'prop-types';
|
|
11
11
|
import * as React from 'react';
|
|
12
|
-
import { styled
|
|
12
|
+
import { styled } from '../styles';
|
|
13
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
13
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
15
|
const PopperRoot = styled(BasePopper, {
|
|
15
16
|
name: 'MuiPopper',
|
|
@@ -32,7 +33,7 @@ const PopperRoot = styled(BasePopper, {
|
|
|
32
33
|
const Popper = /*#__PURE__*/React.forwardRef(function Popper(inProps, ref) {
|
|
33
34
|
var _slots$root;
|
|
34
35
|
const theme = useTheme();
|
|
35
|
-
const props =
|
|
36
|
+
const props = useDefaultProps({
|
|
36
37
|
props: inProps,
|
|
37
38
|
name: 'MuiPopper'
|
|
38
39
|
});
|
package/Radio/Radio.js
CHANGED
|
@@ -10,7 +10,7 @@ import refType from '@mui/utils/refType';
|
|
|
10
10
|
import composeClasses from '@mui/utils/composeClasses';
|
|
11
11
|
import { alpha } from '@mui/system/colorManipulator';
|
|
12
12
|
import SwitchBase from '../internal/SwitchBase';
|
|
13
|
-
import
|
|
13
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
14
14
|
import RadioButtonIcon from './RadioButtonIcon';
|
|
15
15
|
import capitalize from '../utils/capitalize';
|
|
16
16
|
import createChainedFunction from '../utils/createChainedFunction';
|
|
@@ -75,7 +75,7 @@ const defaultCheckedIcon = /*#__PURE__*/_jsx(RadioButtonIcon, {
|
|
|
75
75
|
const defaultIcon = /*#__PURE__*/_jsx(RadioButtonIcon, {});
|
|
76
76
|
const Radio = /*#__PURE__*/React.forwardRef(function Radio(inProps, ref) {
|
|
77
77
|
var _defaultIcon$props$fo, _defaultCheckedIcon$p;
|
|
78
|
-
const props =
|
|
78
|
+
const props = useDefaultProps({
|
|
79
79
|
props: inProps,
|
|
80
80
|
name: 'MuiRadio'
|
|
81
81
|
});
|
package/Rating/Rating.js
CHANGED
|
@@ -15,7 +15,7 @@ import { useRtl } from '@mui/system/RtlProvider';
|
|
|
15
15
|
import { capitalize, useForkRef, useIsFocusVisible, useControlled, unstable_useId as useId } from '../utils';
|
|
16
16
|
import Star from '../internal/svg-icons/Star';
|
|
17
17
|
import StarBorder from '../internal/svg-icons/StarBorder';
|
|
18
|
-
import
|
|
18
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
19
19
|
import styled, { slotShouldForwardProp } from '../styles/styled';
|
|
20
20
|
import ratingClasses, { getRatingUtilityClass } from './ratingClasses';
|
|
21
21
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -267,7 +267,7 @@ function defaultLabelText(value) {
|
|
|
267
267
|
return `${value} Star${value !== 1 ? 's' : ''}`;
|
|
268
268
|
}
|
|
269
269
|
const Rating = /*#__PURE__*/React.forwardRef(function Rating(inProps, ref) {
|
|
270
|
-
const props =
|
|
270
|
+
const props = useDefaultProps({
|
|
271
271
|
name: 'MuiRating',
|
|
272
272
|
props: inProps
|
|
273
273
|
});
|
|
@@ -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 { html, body } from '../CssBaseline/CssBaseline';
|
|
13
13
|
import { getScopedCssBaselineUtilityClass } from './scopedCssBaselineClasses';
|
|
@@ -48,7 +48,7 @@ const ScopedCssBaselineRoot = styled('div', {
|
|
|
48
48
|
}, colorSchemeStyles);
|
|
49
49
|
});
|
|
50
50
|
const ScopedCssBaseline = /*#__PURE__*/React.forwardRef(function ScopedCssBaseline(inProps, ref) {
|
|
51
|
-
const props =
|
|
51
|
+
const props = useDefaultProps({
|
|
52
52
|
props: inProps,
|
|
53
53
|
name: 'MuiScopedCssBaseline'
|
|
54
54
|
});
|
package/Select/Select.js
CHANGED
|
@@ -16,7 +16,7 @@ import Input from '../Input';
|
|
|
16
16
|
import NativeSelectInput from '../NativeSelect/NativeSelectInput';
|
|
17
17
|
import FilledInput from '../FilledInput';
|
|
18
18
|
import OutlinedInput from '../OutlinedInput';
|
|
19
|
-
import
|
|
19
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
20
20
|
import useForkRef from '../utils/useForkRef';
|
|
21
21
|
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
22
22
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -36,7 +36,7 @@ const StyledInput = styled(Input, styledRootConfig)('');
|
|
|
36
36
|
const StyledOutlinedInput = styled(OutlinedInput, styledRootConfig)('');
|
|
37
37
|
const StyledFilledInput = styled(FilledInput, styledRootConfig)('');
|
|
38
38
|
const Select = /*#__PURE__*/React.forwardRef(function Select(inProps, ref) {
|
|
39
|
-
const props =
|
|
39
|
+
const props = useDefaultProps({
|
|
40
40
|
name: 'MuiSelect',
|
|
41
41
|
props: inProps
|
|
42
42
|
});
|
package/Skeleton/Skeleton.js
CHANGED
|
@@ -15,7 +15,7 @@ import { keyframes, css } from '@mui/system';
|
|
|
15
15
|
import composeClasses from '@mui/utils/composeClasses';
|
|
16
16
|
import { alpha, unstable_getUnit as getUnit, unstable_toUnitless as toUnitless } from '../styles';
|
|
17
17
|
import styled from '../styles/styled';
|
|
18
|
-
import
|
|
18
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
19
19
|
import { getSkeletonUtilityClass } from './skeletonClasses';
|
|
20
20
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
21
21
|
const useUtilityClasses = ownerState => {
|
|
@@ -134,7 +134,7 @@ const SkeletonRoot = styled('span', {
|
|
|
134
134
|
}
|
|
135
135
|
`), waveKeyframe, (theme.vars || theme).palette.action.hover));
|
|
136
136
|
const Skeleton = /*#__PURE__*/React.forwardRef(function Skeleton(inProps, ref) {
|
|
137
|
-
const props =
|
|
137
|
+
const props = useDefaultProps({
|
|
138
138
|
props: inProps,
|
|
139
139
|
name: 'MuiSkeleton'
|
|
140
140
|
});
|
package/Slider/Slider.js
CHANGED
|
@@ -12,7 +12,8 @@ import composeClasses from '@mui/utils/composeClasses';
|
|
|
12
12
|
import { useSlider, valueToPercent } from '@mui/base/useSlider';
|
|
13
13
|
import { alpha, lighten, darken } from '@mui/system/colorManipulator';
|
|
14
14
|
import { useRtl } from '@mui/system/RtlProvider';
|
|
15
|
-
import { styled
|
|
15
|
+
import { styled } from '../zero-styled';
|
|
16
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
16
17
|
import slotShouldForwardProp from '../styles/slotShouldForwardProp';
|
|
17
18
|
import shouldSpreadAdditionalProps from '../utils/shouldSpreadAdditionalProps';
|
|
18
19
|
import capitalize from '../utils/capitalize';
|
|
@@ -20,7 +21,6 @@ import BaseSliderValueLabel from './SliderValueLabel';
|
|
|
20
21
|
import sliderClasses, { getSliderUtilityClass } from './sliderClasses';
|
|
21
22
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
22
23
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
23
|
-
const useThemeProps = createUseThemeProps('MuiSlider');
|
|
24
24
|
function Identity(x) {
|
|
25
25
|
return x;
|
|
26
26
|
}
|
|
@@ -548,7 +548,7 @@ const Forward = ({
|
|
|
548
548
|
}) => children;
|
|
549
549
|
const Slider = /*#__PURE__*/React.forwardRef(function Slider(inputProps, ref) {
|
|
550
550
|
var _ref, _slots$root, _ref2, _slots$rail, _ref3, _slots$track, _ref4, _slots$thumb, _ref5, _slots$valueLabel, _ref6, _slots$mark, _ref7, _slots$markLabel, _ref8, _slots$input, _slotProps$root, _slotProps$rail, _slotProps$track, _slotProps$thumb, _slotProps$valueLabel, _slotProps$mark, _slotProps$markLabel, _slotProps$input;
|
|
551
|
-
const props =
|
|
551
|
+
const props = useDefaultProps({
|
|
552
552
|
props: inputProps,
|
|
553
553
|
name: 'MuiSlider'
|
|
554
554
|
});
|
package/Snackbar/Snackbar.js
CHANGED
|
@@ -12,7 +12,7 @@ import { ClickAwayListener } from '@mui/base/ClickAwayListener';
|
|
|
12
12
|
import { useSnackbar } from '@mui/base/useSnackbar';
|
|
13
13
|
import styled from '../styles/styled';
|
|
14
14
|
import useTheme from '../styles/useTheme';
|
|
15
|
-
import
|
|
15
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
16
16
|
import capitalize from '../utils/capitalize';
|
|
17
17
|
import Grow from '../Grow';
|
|
18
18
|
import SnackbarContent from '../SnackbarContent';
|
|
@@ -77,7 +77,7 @@ const SnackbarRoot = styled('div', {
|
|
|
77
77
|
});
|
|
78
78
|
});
|
|
79
79
|
const Snackbar = /*#__PURE__*/React.forwardRef(function Snackbar(inProps, ref) {
|
|
80
|
-
const props =
|
|
80
|
+
const props = useDefaultProps({
|
|
81
81
|
props: inProps,
|
|
82
82
|
name: 'MuiSnackbar'
|
|
83
83
|
});
|
|
@@ -9,7 +9,7 @@ import clsx from 'clsx';
|
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import { emphasize } from '@mui/system/colorManipulator';
|
|
11
11
|
import styled from '../styles/styled';
|
|
12
|
-
import
|
|
12
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
13
13
|
import Paper from '../Paper';
|
|
14
14
|
import { getSnackbarContentUtilityClass } from './snackbarContentClasses';
|
|
15
15
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -68,7 +68,7 @@ const SnackbarContentAction = styled('div', {
|
|
|
68
68
|
marginRight: -8
|
|
69
69
|
});
|
|
70
70
|
const SnackbarContent = /*#__PURE__*/React.forwardRef(function SnackbarContent(inProps, ref) {
|
|
71
|
-
const props =
|
|
71
|
+
const props = useDefaultProps({
|
|
72
72
|
props: inProps,
|
|
73
73
|
name: 'MuiSnackbarContent'
|
|
74
74
|
});
|
package/SpeedDial/SpeedDial.js
CHANGED
|
@@ -13,7 +13,7 @@ import composeClasses from '@mui/utils/composeClasses';
|
|
|
13
13
|
import useTimeout from '@mui/utils/useTimeout';
|
|
14
14
|
import clamp from '@mui/utils/clamp';
|
|
15
15
|
import styled from '../styles/styled';
|
|
16
|
-
import
|
|
16
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
17
17
|
import useTheme from '../styles/useTheme';
|
|
18
18
|
import Zoom from '../Zoom';
|
|
19
19
|
import Fab from '../Fab';
|
|
@@ -120,7 +120,7 @@ const SpeedDialActions = styled('div', {
|
|
|
120
120
|
pointerEvents: 'none'
|
|
121
121
|
}));
|
|
122
122
|
const SpeedDial = /*#__PURE__*/React.forwardRef(function SpeedDial(inProps, ref) {
|
|
123
|
-
const props =
|
|
123
|
+
const props = useDefaultProps({
|
|
124
124
|
props: inProps,
|
|
125
125
|
name: 'MuiSpeedDial'
|
|
126
126
|
});
|
|
@@ -10,7 +10,7 @@ import clsx from 'clsx';
|
|
|
10
10
|
import composeClasses from '@mui/utils/composeClasses';
|
|
11
11
|
import { emphasize } from '@mui/system/colorManipulator';
|
|
12
12
|
import styled from '../styles/styled';
|
|
13
|
-
import
|
|
13
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
14
14
|
import Fab from '../Fab';
|
|
15
15
|
import Tooltip from '../Tooltip';
|
|
16
16
|
import capitalize from '../utils/capitalize';
|
|
@@ -109,7 +109,7 @@ const SpeedDialActionStaticTooltipLabel = styled('span', {
|
|
|
109
109
|
wordBreak: 'keep-all'
|
|
110
110
|
}));
|
|
111
111
|
const SpeedDialAction = /*#__PURE__*/React.forwardRef(function SpeedDialAction(inProps, ref) {
|
|
112
|
-
const props =
|
|
112
|
+
const props = useDefaultProps({
|
|
113
113
|
props: inProps,
|
|
114
114
|
name: 'MuiSpeedDialAction'
|
|
115
115
|
});
|
|
@@ -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 AddIcon from '../internal/svg-icons/Add';
|
|
13
13
|
import speedDialIconClasses, { getSpeedDialIconUtilityClass } from './speedDialIconClasses';
|
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -72,7 +72,7 @@ const SpeedDialIconRoot = styled('span', {
|
|
|
72
72
|
})
|
|
73
73
|
}));
|
|
74
74
|
const SpeedDialIcon = /*#__PURE__*/React.forwardRef(function SpeedDialIcon(inProps, ref) {
|
|
75
|
-
const props =
|
|
75
|
+
const props = useDefaultProps({
|
|
76
76
|
props: inProps,
|
|
77
77
|
name: 'MuiSpeedDialIcon'
|
|
78
78
|
});
|
package/Stack/Stack.js
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { createStack } from '@mui/system';
|
|
5
5
|
import styled from '../styles/styled';
|
|
6
|
-
import
|
|
6
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
7
7
|
const Stack = createStack({
|
|
8
8
|
createStyledComponent: styled('div', {
|
|
9
9
|
name: 'MuiStack',
|
|
10
10
|
slot: 'Root',
|
|
11
11
|
overridesResolver: (props, styles) => styles.root
|
|
12
12
|
}),
|
|
13
|
-
useThemeProps: inProps =>
|
|
13
|
+
useThemeProps: inProps => useDefaultProps({
|
|
14
14
|
props: inProps,
|
|
15
15
|
name: 'MuiStack'
|
|
16
16
|
})
|