@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
|
@@ -7,7 +7,7 @@ import PropTypes from 'prop-types';
|
|
|
7
7
|
import clsx from 'clsx';
|
|
8
8
|
import composeClasses from '@mui/utils/composeClasses';
|
|
9
9
|
import styled from '../styles/styled';
|
|
10
|
-
import
|
|
10
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
11
11
|
import { getListItemIconUtilityClass } from './listItemIconClasses';
|
|
12
12
|
import ListContext from '../List/ListContext';
|
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -43,7 +43,7 @@ var ListItemIconRoot = styled('div', {
|
|
|
43
43
|
* A simple wrapper to apply `List` styles to an `Icon` or `SvgIcon`.
|
|
44
44
|
*/
|
|
45
45
|
var ListItemIcon = /*#__PURE__*/React.forwardRef(function ListItemIcon(inProps, ref) {
|
|
46
|
-
var props =
|
|
46
|
+
var props = useDefaultProps({
|
|
47
47
|
props: inProps,
|
|
48
48
|
name: 'MuiListItemIcon'
|
|
49
49
|
});
|
|
@@ -7,7 +7,7 @@ import PropTypes from 'prop-types';
|
|
|
7
7
|
import clsx from 'clsx';
|
|
8
8
|
import composeClasses from '@mui/utils/composeClasses';
|
|
9
9
|
import styled from '../styles/styled';
|
|
10
|
-
import
|
|
10
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
11
11
|
import ListContext from '../List/ListContext';
|
|
12
12
|
import { getListItemSecondaryActionClassesUtilityClass } from './listItemSecondaryActionClasses';
|
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -42,7 +42,7 @@ var ListItemSecondaryActionRoot = styled('div', {
|
|
|
42
42
|
* Must be used as the last child of ListItem to function properly.
|
|
43
43
|
*/
|
|
44
44
|
var ListItemSecondaryAction = /*#__PURE__*/React.forwardRef(function ListItemSecondaryAction(inProps, ref) {
|
|
45
|
-
var props =
|
|
45
|
+
var props = useDefaultProps({
|
|
46
46
|
props: inProps,
|
|
47
47
|
name: 'MuiListItemSecondaryAction'
|
|
48
48
|
});
|
|
@@ -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";
|
|
@@ -49,7 +49,7 @@ var ListItemTextRoot = styled('div', {
|
|
|
49
49
|
});
|
|
50
50
|
});
|
|
51
51
|
var ListItemText = /*#__PURE__*/React.forwardRef(function ListItemText(inProps, ref) {
|
|
52
|
-
var props =
|
|
52
|
+
var props = useDefaultProps({
|
|
53
53
|
props: inProps,
|
|
54
54
|
name: 'MuiListItemText'
|
|
55
55
|
});
|
|
@@ -7,7 +7,7 @@ import PropTypes from 'prop-types';
|
|
|
7
7
|
import clsx from 'clsx';
|
|
8
8
|
import composeClasses from '@mui/utils/composeClasses';
|
|
9
9
|
import styled from '../styles/styled';
|
|
10
|
-
import
|
|
10
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
11
11
|
import capitalize from '../utils/capitalize';
|
|
12
12
|
import { getListSubheaderUtilityClass } from './listSubheaderClasses';
|
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -57,7 +57,7 @@ var ListSubheaderRoot = styled('li', {
|
|
|
57
57
|
});
|
|
58
58
|
});
|
|
59
59
|
var ListSubheader = /*#__PURE__*/React.forwardRef(function ListSubheader(inProps, ref) {
|
|
60
|
-
var props =
|
|
60
|
+
var props = useDefaultProps({
|
|
61
61
|
props: inProps,
|
|
62
62
|
name: 'MuiListSubheader'
|
|
63
63
|
});
|
package/legacy/Menu/Menu.js
CHANGED
|
@@ -13,7 +13,7 @@ import { useRtl } from '@mui/system/RtlProvider';
|
|
|
13
13
|
import MenuList from '../MenuList';
|
|
14
14
|
import Popover, { PopoverPaper } from '../Popover';
|
|
15
15
|
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
16
|
-
import
|
|
16
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
17
17
|
import { getMenuUtilityClass } from './menuClasses';
|
|
18
18
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
19
19
|
var RTL_ORIGIN = {
|
|
@@ -69,7 +69,7 @@ var MenuMenuList = styled(MenuList, {
|
|
|
69
69
|
});
|
|
70
70
|
var Menu = /*#__PURE__*/React.forwardRef(function Menu(inProps, ref) {
|
|
71
71
|
var _slots$paper, _slotProps$paper;
|
|
72
|
-
var props =
|
|
72
|
+
var props = useDefaultProps({
|
|
73
73
|
props: inProps,
|
|
74
74
|
name: 'MuiMenu'
|
|
75
75
|
});
|
|
@@ -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';
|
|
@@ -110,7 +110,7 @@ var MenuItemRoot = styled(ButtonBase, {
|
|
|
110
110
|
})));
|
|
111
111
|
});
|
|
112
112
|
var MenuItem = /*#__PURE__*/React.forwardRef(function MenuItem(inProps, ref) {
|
|
113
|
-
var props =
|
|
113
|
+
var props = useDefaultProps({
|
|
114
114
|
props: inProps,
|
|
115
115
|
name: 'MuiMenuItem'
|
|
116
116
|
});
|
|
@@ -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";
|
|
@@ -112,7 +112,7 @@ var MobileStepperProgress = styled(LinearProgress, {
|
|
|
112
112
|
});
|
|
113
113
|
});
|
|
114
114
|
var MobileStepper = /*#__PURE__*/React.forwardRef(function MobileStepper(inProps, ref) {
|
|
115
|
-
var props =
|
|
115
|
+
var props = useDefaultProps({
|
|
116
116
|
props: inProps,
|
|
117
117
|
name: 'MuiMobileStepper'
|
|
118
118
|
});
|
package/legacy/Modal/Modal.js
CHANGED
|
@@ -13,7 +13,7 @@ import composeClasses from '@mui/utils/composeClasses';
|
|
|
13
13
|
import FocusTrap from '../Unstable_TrapFocus';
|
|
14
14
|
import Portal from '../Portal';
|
|
15
15
|
import styled from '../styles/styled';
|
|
16
|
-
import
|
|
16
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
17
17
|
import Backdrop from '../Backdrop';
|
|
18
18
|
import { getModalUtilityClass } from './modalClasses';
|
|
19
19
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -74,7 +74,7 @@ var ModalBackdrop = styled(Backdrop, {
|
|
|
74
74
|
*/
|
|
75
75
|
var Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
|
|
76
76
|
var _ref2, _slots$root, _ref3, _slots$backdrop, _slotProps$root, _slotProps$backdrop;
|
|
77
|
-
var props =
|
|
77
|
+
var props = useDefaultProps({
|
|
78
78
|
name: 'MuiModal',
|
|
79
79
|
props: inProps
|
|
80
80
|
});
|
|
@@ -11,7 +11,7 @@ import formControlState from '../FormControl/formControlState';
|
|
|
11
11
|
import useFormControl from '../FormControl/useFormControl';
|
|
12
12
|
import ArrowDropDownIcon from '../internal/svg-icons/ArrowDropDown';
|
|
13
13
|
import Input from '../Input';
|
|
14
|
-
import
|
|
14
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
15
15
|
import { getNativeSelectUtilityClasses } from './nativeSelectClasses';
|
|
16
16
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
17
17
|
var useUtilityClasses = function useUtilityClasses(ownerState) {
|
|
@@ -26,7 +26,7 @@ var defaultInput = /*#__PURE__*/_jsx(Input, {});
|
|
|
26
26
|
* An alternative to `<Select native />` with a much smaller bundle size footprint.
|
|
27
27
|
*/
|
|
28
28
|
var NativeSelect = /*#__PURE__*/React.forwardRef(function NativeSelect(inProps, ref) {
|
|
29
|
-
var props =
|
|
29
|
+
var props = useDefaultProps({
|
|
30
30
|
name: 'MuiNativeSelect',
|
|
31
31
|
props: inProps
|
|
32
32
|
});
|
|
@@ -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
|
var useUtilityClasses = function useUtilityClasses(ownerState) {
|
|
@@ -112,7 +112,7 @@ var OutlinedInputInput = styled(InputBaseInput, {
|
|
|
112
112
|
});
|
|
113
113
|
var OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inProps, ref) {
|
|
114
114
|
var _ref5, _slots$root, _ref6, _slots$input, _React$Fragment;
|
|
115
|
-
var props =
|
|
115
|
+
var props = useDefaultProps({
|
|
116
116
|
props: inProps,
|
|
117
117
|
name: 'MuiOutlinedInput'
|
|
118
118
|
});
|
|
@@ -7,7 +7,7 @@ import PropTypes from 'prop-types';
|
|
|
7
7
|
import clsx from 'clsx';
|
|
8
8
|
import composeClasses from '@mui/utils/composeClasses';
|
|
9
9
|
import integerPropType from '@mui/utils/integerPropType';
|
|
10
|
-
import
|
|
10
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
11
11
|
import { getPaginationUtilityClass } from './paginationClasses';
|
|
12
12
|
import usePagination from '../usePagination';
|
|
13
13
|
import PaginationItem from '../PaginationItem';
|
|
@@ -51,7 +51,7 @@ function defaultGetAriaLabel(type, page, selected) {
|
|
|
51
51
|
return "Go to ".concat(type, " page");
|
|
52
52
|
}
|
|
53
53
|
var Pagination = /*#__PURE__*/React.forwardRef(function Pagination(inProps, ref) {
|
|
54
|
-
var props =
|
|
54
|
+
var props = useDefaultProps({
|
|
55
55
|
props: inProps,
|
|
56
56
|
name: 'MuiPagination'
|
|
57
57
|
});
|
|
@@ -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';
|
|
@@ -191,7 +191,7 @@ var PaginationItemPageIcon = styled('div', {
|
|
|
191
191
|
});
|
|
192
192
|
});
|
|
193
193
|
var PaginationItem = /*#__PURE__*/React.forwardRef(function PaginationItem(inProps, ref) {
|
|
194
|
-
var props =
|
|
194
|
+
var props = useDefaultProps({
|
|
195
195
|
props: inProps,
|
|
196
196
|
name: 'MuiPaginationItem'
|
|
197
197
|
});
|
package/legacy/Paper/Paper.js
CHANGED
|
@@ -11,7 +11,7 @@ import composeClasses from '@mui/utils/composeClasses';
|
|
|
11
11
|
import { alpha } from '@mui/system/colorManipulator';
|
|
12
12
|
import styled from '../styles/styled';
|
|
13
13
|
import getOverlayAlpha from '../styles/getOverlayAlpha';
|
|
14
|
-
import
|
|
14
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
15
15
|
import useTheme from '../styles/useTheme';
|
|
16
16
|
import { getPaperUtilityClass } from './paperClasses';
|
|
17
17
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -53,7 +53,7 @@ var PaperRoot = styled('div', {
|
|
|
53
53
|
}));
|
|
54
54
|
});
|
|
55
55
|
var Paper = /*#__PURE__*/React.forwardRef(function Paper(inProps, ref) {
|
|
56
|
-
var props =
|
|
56
|
+
var props = useDefaultProps({
|
|
57
57
|
props: inProps,
|
|
58
58
|
name: 'MuiPaper'
|
|
59
59
|
});
|
|
@@ -13,7 +13,7 @@ import elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';
|
|
|
13
13
|
import integerPropType from '@mui/utils/integerPropType';
|
|
14
14
|
import chainPropTypes from '@mui/utils/chainPropTypes';
|
|
15
15
|
import styled from '../styles/styled';
|
|
16
|
-
import
|
|
16
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
17
17
|
import debounce from '../utils/debounce';
|
|
18
18
|
import ownerDocument from '../utils/ownerDocument';
|
|
19
19
|
import ownerWindow from '../utils/ownerWindow';
|
|
@@ -89,7 +89,7 @@ export var PopoverPaper = styled(PaperBase, {
|
|
|
89
89
|
});
|
|
90
90
|
var Popover = /*#__PURE__*/React.forwardRef(function Popover(inProps, ref) {
|
|
91
91
|
var _slotProps$paper, _slots$root, _slots$paper;
|
|
92
|
-
var props =
|
|
92
|
+
var props = useDefaultProps({
|
|
93
93
|
props: inProps,
|
|
94
94
|
name: 'MuiPopover'
|
|
95
95
|
});
|
package/legacy/Popper/Popper.js
CHANGED
|
@@ -8,7 +8,8 @@ import refType from '@mui/utils/refType';
|
|
|
8
8
|
import HTMLElementType from '@mui/utils/HTMLElementType';
|
|
9
9
|
import PropTypes from 'prop-types';
|
|
10
10
|
import * as React from 'react';
|
|
11
|
-
import { styled
|
|
11
|
+
import { styled } from '../styles';
|
|
12
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
12
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
14
|
var PopperRoot = styled(BasePopper, {
|
|
14
15
|
name: 'MuiPopper',
|
|
@@ -33,7 +34,7 @@ var PopperRoot = styled(BasePopper, {
|
|
|
33
34
|
var Popper = /*#__PURE__*/React.forwardRef(function Popper(inProps, ref) {
|
|
34
35
|
var _slots$root;
|
|
35
36
|
var theme = useTheme();
|
|
36
|
-
var props =
|
|
37
|
+
var props = useDefaultProps({
|
|
37
38
|
props: inProps,
|
|
38
39
|
name: 'MuiPopper'
|
|
39
40
|
});
|
package/legacy/Radio/Radio.js
CHANGED
|
@@ -11,7 +11,7 @@ import refType from '@mui/utils/refType';
|
|
|
11
11
|
import composeClasses from '@mui/utils/composeClasses';
|
|
12
12
|
import { alpha } from '@mui/system/colorManipulator';
|
|
13
13
|
import SwitchBase from '../internal/SwitchBase';
|
|
14
|
-
import
|
|
14
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
15
15
|
import RadioButtonIcon from './RadioButtonIcon';
|
|
16
16
|
import capitalize from '../utils/capitalize';
|
|
17
17
|
import createChainedFunction from '../utils/createChainedFunction';
|
|
@@ -71,7 +71,7 @@ var defaultCheckedIcon = /*#__PURE__*/_jsx(RadioButtonIcon, {
|
|
|
71
71
|
var defaultIcon = /*#__PURE__*/_jsx(RadioButtonIcon, {});
|
|
72
72
|
var Radio = /*#__PURE__*/React.forwardRef(function Radio(inProps, ref) {
|
|
73
73
|
var _defaultIcon$props$fo, _defaultCheckedIcon$p;
|
|
74
|
-
var props =
|
|
74
|
+
var props = useDefaultProps({
|
|
75
75
|
props: inProps,
|
|
76
76
|
name: 'MuiRadio'
|
|
77
77
|
});
|
package/legacy/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";
|
|
@@ -260,7 +260,7 @@ function defaultLabelText(value) {
|
|
|
260
260
|
return "".concat(value, " Star").concat(value !== 1 ? 's' : '');
|
|
261
261
|
}
|
|
262
262
|
var Rating = /*#__PURE__*/React.forwardRef(function Rating(inProps, ref) {
|
|
263
|
-
var props =
|
|
263
|
+
var props = useDefaultProps({
|
|
264
264
|
name: 'MuiRating',
|
|
265
265
|
props: inProps
|
|
266
266
|
});
|
|
@@ -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';
|
|
@@ -50,7 +50,7 @@ var ScopedCssBaselineRoot = styled('div', {
|
|
|
50
50
|
}, colorSchemeStyles);
|
|
51
51
|
});
|
|
52
52
|
var ScopedCssBaseline = /*#__PURE__*/React.forwardRef(function ScopedCssBaseline(inProps, ref) {
|
|
53
|
-
var props =
|
|
53
|
+
var props = useDefaultProps({
|
|
54
54
|
props: inProps,
|
|
55
55
|
name: 'MuiScopedCssBaseline'
|
|
56
56
|
});
|
package/legacy/Select/Select.js
CHANGED
|
@@ -14,7 +14,7 @@ import Input from '../Input';
|
|
|
14
14
|
import NativeSelectInput from '../NativeSelect/NativeSelectInput';
|
|
15
15
|
import FilledInput from '../FilledInput';
|
|
16
16
|
import OutlinedInput from '../OutlinedInput';
|
|
17
|
-
import
|
|
17
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
18
18
|
import useForkRef from '../utils/useForkRef';
|
|
19
19
|
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
20
20
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -36,7 +36,7 @@ var StyledInput = styled(Input, styledRootConfig)('');
|
|
|
36
36
|
var StyledOutlinedInput = styled(OutlinedInput, styledRootConfig)('');
|
|
37
37
|
var StyledFilledInput = styled(FilledInput, styledRootConfig)('');
|
|
38
38
|
var Select = /*#__PURE__*/React.forwardRef(function Select(inProps, ref) {
|
|
39
|
-
var props =
|
|
39
|
+
var props = useDefaultProps({
|
|
40
40
|
name: 'MuiSelect',
|
|
41
41
|
props: inProps
|
|
42
42
|
});
|
|
@@ -11,7 +11,7 @@ import { keyframes, css } from '@mui/system';
|
|
|
11
11
|
import composeClasses from '@mui/utils/composeClasses';
|
|
12
12
|
import { alpha, unstable_getUnit as getUnit, unstable_toUnitless as toUnitless } from '../styles';
|
|
13
13
|
import styled from '../styles/styled';
|
|
14
|
-
import
|
|
14
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
15
15
|
import { getSkeletonUtilityClass } from './skeletonClasses';
|
|
16
16
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
17
17
|
var useUtilityClasses = function useUtilityClasses(ownerState) {
|
|
@@ -77,7 +77,7 @@ var SkeletonRoot = styled('span', {
|
|
|
77
77
|
return ownerState.animation === 'wave' && css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n position: relative;\n overflow: hidden;\n\n /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */\n -webkit-mask-image: -webkit-radial-gradient(white, black);\n\n &::after {\n animation: ", " 2s linear 0.5s infinite;\n background: linear-gradient(\n 90deg,\n transparent,\n ", ",\n transparent\n );\n content: '';\n position: absolute;\n transform: translateX(-100%); /* Avoid flash during server-side hydration */\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n }\n "])), waveKeyframe, (theme.vars || theme).palette.action.hover);
|
|
78
78
|
});
|
|
79
79
|
var Skeleton = /*#__PURE__*/React.forwardRef(function Skeleton(inProps, ref) {
|
|
80
|
-
var props =
|
|
80
|
+
var props = useDefaultProps({
|
|
81
81
|
props: inProps,
|
|
82
82
|
name: 'MuiSkeleton'
|
|
83
83
|
});
|
package/legacy/Slider/Slider.js
CHANGED
|
@@ -13,7 +13,8 @@ import composeClasses from '@mui/utils/composeClasses';
|
|
|
13
13
|
import { useSlider, valueToPercent } from '@mui/base/useSlider';
|
|
14
14
|
import { alpha, lighten, darken } from '@mui/system/colorManipulator';
|
|
15
15
|
import { useRtl } from '@mui/system/RtlProvider';
|
|
16
|
-
import { styled
|
|
16
|
+
import { styled } from '../zero-styled';
|
|
17
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
17
18
|
import slotShouldForwardProp from '../styles/slotShouldForwardProp';
|
|
18
19
|
import shouldSpreadAdditionalProps from '../utils/shouldSpreadAdditionalProps';
|
|
19
20
|
import capitalize from '../utils/capitalize';
|
|
@@ -21,7 +22,6 @@ import BaseSliderValueLabel from './SliderValueLabel';
|
|
|
21
22
|
import sliderClasses, { getSliderUtilityClass } from './sliderClasses';
|
|
22
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
23
24
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
|
-
var useThemeProps = createUseThemeProps('MuiSlider');
|
|
25
25
|
function Identity(x) {
|
|
26
26
|
return x;
|
|
27
27
|
}
|
|
@@ -548,7 +548,7 @@ var Forward = function Forward(_ref9) {
|
|
|
548
548
|
};
|
|
549
549
|
var Slider = /*#__PURE__*/React.forwardRef(function Slider(inputProps, ref) {
|
|
550
550
|
var _ref10, _slots$root, _ref11, _slots$rail, _ref12, _slots$track, _ref13, _slots$thumb, _ref14, _slots$valueLabel, _ref15, _slots$mark, _ref16, _slots$markLabel, _ref17, _slots$input, _slotProps$root, _slotProps$rail, _slotProps$track, _slotProps$thumb, _slotProps$valueLabel, _slotProps$mark, _slotProps$markLabel, _slotProps$input;
|
|
551
|
-
var props =
|
|
551
|
+
var props = useDefaultProps({
|
|
552
552
|
props: inputProps,
|
|
553
553
|
name: 'MuiSlider'
|
|
554
554
|
});
|
|
@@ -11,7 +11,7 @@ import { ClickAwayListener } from '@mui/base/ClickAwayListener';
|
|
|
11
11
|
import { useSnackbar } from '@mui/base/useSnackbar';
|
|
12
12
|
import styled from '../styles/styled';
|
|
13
13
|
import useTheme from '../styles/useTheme';
|
|
14
|
-
import
|
|
14
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
15
15
|
import capitalize from '../utils/capitalize';
|
|
16
16
|
import Grow from '../Grow';
|
|
17
17
|
import SnackbarContent from '../SnackbarContent';
|
|
@@ -69,7 +69,7 @@ var SnackbarRoot = styled('div', {
|
|
|
69
69
|
})));
|
|
70
70
|
});
|
|
71
71
|
var Snackbar = /*#__PURE__*/React.forwardRef(function Snackbar(inProps, ref) {
|
|
72
|
-
var props =
|
|
72
|
+
var props = useDefaultProps({
|
|
73
73
|
props: inProps,
|
|
74
74
|
name: 'MuiSnackbar'
|
|
75
75
|
});
|
|
@@ -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";
|
|
@@ -70,7 +70,7 @@ var SnackbarContentAction = styled('div', {
|
|
|
70
70
|
marginRight: -8
|
|
71
71
|
});
|
|
72
72
|
var SnackbarContent = /*#__PURE__*/React.forwardRef(function SnackbarContent(inProps, ref) {
|
|
73
|
-
var props =
|
|
73
|
+
var props = useDefaultProps({
|
|
74
74
|
props: inProps,
|
|
75
75
|
name: 'MuiSnackbarContent'
|
|
76
76
|
});
|
|
@@ -12,7 +12,7 @@ import composeClasses from '@mui/utils/composeClasses';
|
|
|
12
12
|
import useTimeout from '@mui/utils/useTimeout';
|
|
13
13
|
import clamp from '@mui/utils/clamp';
|
|
14
14
|
import styled from '../styles/styled';
|
|
15
|
-
import
|
|
15
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
16
16
|
import useTheme from '../styles/useTheme';
|
|
17
17
|
import Zoom from '../Zoom';
|
|
18
18
|
import Fab from '../Fab';
|
|
@@ -115,7 +115,7 @@ var SpeedDialActions = styled('div', {
|
|
|
115
115
|
});
|
|
116
116
|
});
|
|
117
117
|
var SpeedDial = /*#__PURE__*/React.forwardRef(function SpeedDial(inProps, ref) {
|
|
118
|
-
var props =
|
|
118
|
+
var props = useDefaultProps({
|
|
119
119
|
props: inProps,
|
|
120
120
|
name: 'MuiSpeedDial'
|
|
121
121
|
});
|
|
@@ -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';
|
|
@@ -107,7 +107,7 @@ var SpeedDialActionStaticTooltipLabel = styled('span', {
|
|
|
107
107
|
});
|
|
108
108
|
});
|
|
109
109
|
var SpeedDialAction = /*#__PURE__*/React.forwardRef(function SpeedDialAction(inProps, ref) {
|
|
110
|
-
var props =
|
|
110
|
+
var props = useDefaultProps({
|
|
111
111
|
props: inProps,
|
|
112
112
|
name: 'MuiSpeedDialAction'
|
|
113
113
|
});
|
|
@@ -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";
|
|
@@ -57,7 +57,7 @@ var SpeedDialIconRoot = styled('span', {
|
|
|
57
57
|
}));
|
|
58
58
|
});
|
|
59
59
|
var SpeedDialIcon = /*#__PURE__*/React.forwardRef(function SpeedDialIcon(inProps, ref) {
|
|
60
|
-
var props =
|
|
60
|
+
var props = useDefaultProps({
|
|
61
61
|
props: inProps,
|
|
62
62
|
name: 'MuiSpeedDialIcon'
|
|
63
63
|
});
|
package/legacy/Stack/Stack.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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
|
var Stack = createStack({
|
|
8
8
|
createStyledComponent: styled('div', {
|
|
9
9
|
name: 'MuiStack',
|
|
@@ -13,7 +13,7 @@ var Stack = createStack({
|
|
|
13
13
|
}
|
|
14
14
|
}),
|
|
15
15
|
useThemeProps: function useThemeProps(inProps) {
|
|
16
|
-
return
|
|
16
|
+
return useDefaultProps({
|
|
17
17
|
props: inProps,
|
|
18
18
|
name: 'MuiStack'
|
|
19
19
|
});
|
package/legacy/Step/Step.js
CHANGED
|
@@ -9,7 +9,7 @@ import integerPropType from '@mui/utils/integerPropType';
|
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import StepperContext from '../Stepper/StepperContext';
|
|
11
11
|
import StepContext from './StepContext';
|
|
12
|
-
import
|
|
12
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
13
13
|
import styled from '../styles/styled';
|
|
14
14
|
import { getStepUtilityClass } from './stepClasses';
|
|
15
15
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -42,7 +42,7 @@ var StepRoot = styled('div', {
|
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
44
|
var Step = /*#__PURE__*/React.forwardRef(function Step(inProps, ref) {
|
|
45
|
-
var props =
|
|
45
|
+
var props = useDefaultProps({
|
|
46
46
|
props: inProps,
|
|
47
47
|
name: 'MuiStep'
|
|
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 ButtonBase from '../ButtonBase';
|
|
13
13
|
import StepLabel from '../StepLabel';
|
|
14
14
|
import isMuiElement from '../utils/isMuiElement';
|
|
@@ -48,7 +48,7 @@ var StepButtonRoot = styled(ButtonBase, {
|
|
|
48
48
|
}));
|
|
49
49
|
});
|
|
50
50
|
var StepButton = /*#__PURE__*/React.forwardRef(function StepButton(inProps, ref) {
|
|
51
|
-
var props =
|
|
51
|
+
var props = useDefaultProps({
|
|
52
52
|
props: inProps,
|
|
53
53
|
name: 'MuiStepButton'
|
|
54
54
|
});
|
|
@@ -8,7 +8,7 @@ import clsx from 'clsx';
|
|
|
8
8
|
import composeClasses from '@mui/utils/composeClasses';
|
|
9
9
|
import capitalize from '../utils/capitalize';
|
|
10
10
|
import styled from '../styles/styled';
|
|
11
|
-
import
|
|
11
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
12
12
|
import StepperContext from '../Stepper/StepperContext';
|
|
13
13
|
import StepContext from '../Step/StepContext';
|
|
14
14
|
import { getStepConnectorUtilityClass } from './stepConnectorClasses';
|
|
@@ -70,7 +70,7 @@ var StepConnectorLine = styled('span', {
|
|
|
70
70
|
});
|
|
71
71
|
});
|
|
72
72
|
var StepConnector = /*#__PURE__*/React.forwardRef(function StepConnector(inProps, ref) {
|
|
73
|
-
var props =
|
|
73
|
+
var props = useDefaultProps({
|
|
74
74
|
props: inProps,
|
|
75
75
|
name: 'MuiStepConnector'
|
|
76
76
|
});
|
|
@@ -7,7 +7,7 @@ import PropTypes from 'prop-types';
|
|
|
7
7
|
import clsx from 'clsx';
|
|
8
8
|
import composeClasses from '@mui/utils/composeClasses';
|
|
9
9
|
import styled from '../styles/styled';
|
|
10
|
-
import
|
|
10
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
11
11
|
import Collapse from '../Collapse';
|
|
12
12
|
import StepperContext from '../Stepper/StepperContext';
|
|
13
13
|
import StepContext from '../Step/StepContext';
|
|
@@ -51,7 +51,7 @@ var StepContentTransition = styled(Collapse, {
|
|
|
51
51
|
}
|
|
52
52
|
})({});
|
|
53
53
|
var StepContent = /*#__PURE__*/React.forwardRef(function StepContent(inProps, ref) {
|
|
54
|
-
var props =
|
|
54
|
+
var props = useDefaultProps({
|
|
55
55
|
props: inProps,
|
|
56
56
|
name: 'MuiStepContent'
|
|
57
57
|
});
|
|
@@ -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 CheckCircle from '../internal/svg-icons/CheckCircle';
|
|
14
14
|
import Warning from '../internal/svg-icons/Warning';
|
|
15
15
|
import SvgIcon from '../SvgIcon';
|
|
@@ -64,7 +64,7 @@ var StepIconText = styled('text', {
|
|
|
64
64
|
};
|
|
65
65
|
});
|
|
66
66
|
var StepIcon = /*#__PURE__*/React.forwardRef(function StepIcon(inProps, ref) {
|
|
67
|
-
var props =
|
|
67
|
+
var props = useDefaultProps({
|
|
68
68
|
props: inProps,
|
|
69
69
|
name: 'MuiStepIcon'
|
|
70
70
|
});
|
|
@@ -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 StepIcon from '../StepIcon';
|
|
13
13
|
import StepperContext from '../Stepper/StepperContext';
|
|
14
14
|
import StepContext from '../Step/StepContext';
|
|
@@ -110,7 +110,7 @@ var StepLabelLabelContainer = styled('span', {
|
|
|
110
110
|
});
|
|
111
111
|
var StepLabel = /*#__PURE__*/React.forwardRef(function StepLabel(inProps, ref) {
|
|
112
112
|
var _slotProps$label;
|
|
113
|
-
var props =
|
|
113
|
+
var props = useDefaultProps({
|
|
114
114
|
props: inProps,
|
|
115
115
|
name: 'MuiStepLabel'
|
|
116
116
|
});
|