@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
|
@@ -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
|
})
|
package/Step/Step.js
CHANGED
|
@@ -10,7 +10,7 @@ import integerPropType from '@mui/utils/integerPropType';
|
|
|
10
10
|
import composeClasses from '@mui/utils/composeClasses';
|
|
11
11
|
import StepperContext from '../Stepper/StepperContext';
|
|
12
12
|
import StepContext from './StepContext';
|
|
13
|
-
import
|
|
13
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
14
14
|
import styled from '../styles/styled';
|
|
15
15
|
import { getStepUtilityClass } from './stepClasses';
|
|
16
16
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -46,7 +46,7 @@ const StepRoot = styled('div', {
|
|
|
46
46
|
position: 'relative'
|
|
47
47
|
}));
|
|
48
48
|
const Step = /*#__PURE__*/React.forwardRef(function Step(inProps, ref) {
|
|
49
|
-
const props =
|
|
49
|
+
const props = useDefaultProps({
|
|
50
50
|
props: inProps,
|
|
51
51
|
name: 'MuiStep'
|
|
52
52
|
});
|
package/StepButton/StepButton.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 ButtonBase from '../ButtonBase';
|
|
13
13
|
import StepLabel from '../StepLabel';
|
|
14
14
|
import isMuiElement from '../utils/isMuiElement';
|
|
@@ -55,7 +55,7 @@ const StepButtonRoot = styled(ButtonBase, {
|
|
|
55
55
|
}
|
|
56
56
|
}));
|
|
57
57
|
const StepButton = /*#__PURE__*/React.forwardRef(function StepButton(inProps, ref) {
|
|
58
|
-
const props =
|
|
58
|
+
const props = useDefaultProps({
|
|
59
59
|
props: inProps,
|
|
60
60
|
name: 'MuiStepButton'
|
|
61
61
|
});
|
|
@@ -9,7 +9,7 @@ import clsx from 'clsx';
|
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import capitalize from '../utils/capitalize';
|
|
11
11
|
import styled from '../styles/styled';
|
|
12
|
-
import
|
|
12
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
13
13
|
import StepperContext from '../Stepper/StepperContext';
|
|
14
14
|
import StepContext from '../Step/StepContext';
|
|
15
15
|
import { getStepConnectorUtilityClass } from './stepConnectorClasses';
|
|
@@ -77,7 +77,7 @@ const StepConnectorLine = styled('span', {
|
|
|
77
77
|
});
|
|
78
78
|
});
|
|
79
79
|
const StepConnector = /*#__PURE__*/React.forwardRef(function StepConnector(inProps, ref) {
|
|
80
|
-
const props =
|
|
80
|
+
const props = useDefaultProps({
|
|
81
81
|
props: inProps,
|
|
82
82
|
name: 'MuiStepConnector'
|
|
83
83
|
});
|
|
@@ -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 Collapse from '../Collapse';
|
|
13
13
|
import StepperContext from '../Stepper/StepperContext';
|
|
14
14
|
import StepContext from '../Step/StepContext';
|
|
@@ -53,7 +53,7 @@ const StepContentTransition = styled(Collapse, {
|
|
|
53
53
|
overridesResolver: (props, styles) => styles.transition
|
|
54
54
|
})({});
|
|
55
55
|
const StepContent = /*#__PURE__*/React.forwardRef(function StepContent(inProps, ref) {
|
|
56
|
-
const props =
|
|
56
|
+
const props = useDefaultProps({
|
|
57
57
|
props: inProps,
|
|
58
58
|
name: 'MuiStepContent'
|
|
59
59
|
});
|
package/StepIcon/StepIcon.js
CHANGED
|
@@ -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';
|
|
@@ -63,7 +63,7 @@ const StepIconText = styled('text', {
|
|
|
63
63
|
fontFamily: theme.typography.fontFamily
|
|
64
64
|
}));
|
|
65
65
|
const StepIcon = /*#__PURE__*/React.forwardRef(function StepIcon(inProps, ref) {
|
|
66
|
-
const props =
|
|
66
|
+
const props = useDefaultProps({
|
|
67
67
|
props: inProps,
|
|
68
68
|
name: 'MuiStepIcon'
|
|
69
69
|
});
|
package/StepLabel/StepLabel.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 StepIcon from '../StepIcon';
|
|
13
13
|
import StepperContext from '../Stepper/StepperContext';
|
|
14
14
|
import StepContext from '../Step/StepContext';
|
|
@@ -111,7 +111,7 @@ const StepLabelLabelContainer = styled('span', {
|
|
|
111
111
|
}));
|
|
112
112
|
const StepLabel = /*#__PURE__*/React.forwardRef(function StepLabel(inProps, ref) {
|
|
113
113
|
var _slotProps$label;
|
|
114
|
-
const props =
|
|
114
|
+
const props = useDefaultProps({
|
|
115
115
|
props: inProps,
|
|
116
116
|
name: 'MuiStepLabel'
|
|
117
117
|
});
|
package/Stepper/Stepper.js
CHANGED
|
@@ -8,7 +8,7 @@ import PropTypes from 'prop-types';
|
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import integerPropType from '@mui/utils/integerPropType';
|
|
10
10
|
import composeClasses from '@mui/utils/composeClasses';
|
|
11
|
-
import
|
|
11
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
12
12
|
import styled from '../styles/styled';
|
|
13
13
|
import { getStepperUtilityClass } from './stepperClasses';
|
|
14
14
|
import StepConnector from '../StepConnector';
|
|
@@ -17,11 +17,12 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
17
17
|
const useUtilityClasses = ownerState => {
|
|
18
18
|
const {
|
|
19
19
|
orientation,
|
|
20
|
+
nonLinear,
|
|
20
21
|
alternativeLabel,
|
|
21
22
|
classes
|
|
22
23
|
} = ownerState;
|
|
23
24
|
const slots = {
|
|
24
|
-
root: ['root', orientation, alternativeLabel && 'alternativeLabel']
|
|
25
|
+
root: ['root', orientation, nonLinear && 'nonLinear', alternativeLabel && 'alternativeLabel']
|
|
25
26
|
};
|
|
26
27
|
return composeClasses(slots, getStepperUtilityClass, classes);
|
|
27
28
|
};
|
|
@@ -32,7 +33,7 @@ const StepperRoot = styled('div', {
|
|
|
32
33
|
const {
|
|
33
34
|
ownerState
|
|
34
35
|
} = props;
|
|
35
|
-
return [styles.root, styles[ownerState.orientation], ownerState.alternativeLabel && styles.alternativeLabel];
|
|
36
|
+
return [styles.root, styles[ownerState.orientation], ownerState.alternativeLabel && styles.alternativeLabel, ownerState.nonLinear && styles.nonLinear];
|
|
36
37
|
}
|
|
37
38
|
})(({
|
|
38
39
|
ownerState
|
|
@@ -48,7 +49,7 @@ const StepperRoot = styled('div', {
|
|
|
48
49
|
}));
|
|
49
50
|
const defaultConnector = /*#__PURE__*/_jsx(StepConnector, {});
|
|
50
51
|
const Stepper = /*#__PURE__*/React.forwardRef(function Stepper(inProps, ref) {
|
|
51
|
-
const props =
|
|
52
|
+
const props = useDefaultProps({
|
|
52
53
|
props: inProps,
|
|
53
54
|
name: 'MuiStepper'
|
|
54
55
|
});
|
|
@@ -64,6 +65,7 @@ const Stepper = /*#__PURE__*/React.forwardRef(function Stepper(inProps, ref) {
|
|
|
64
65
|
} = props,
|
|
65
66
|
other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
66
67
|
const ownerState = _extends({}, props, {
|
|
68
|
+
nonLinear,
|
|
67
69
|
alternativeLabel,
|
|
68
70
|
orientation,
|
|
69
71
|
component
|
|
@@ -5,6 +5,8 @@ export interface StepperClasses {
|
|
|
5
5
|
horizontal: string;
|
|
6
6
|
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
7
7
|
vertical: string;
|
|
8
|
+
/** Styles applied to the root element if `nonLinear={true}`. */
|
|
9
|
+
nonLinear: string;
|
|
8
10
|
/** Styles applied to the root element if `alternativeLabel={true}`. */
|
|
9
11
|
alternativeLabel: string;
|
|
10
12
|
}
|
|
@@ -3,5 +3,5 @@ import generateUtilityClass from '@mui/utils/generateUtilityClass';
|
|
|
3
3
|
export function getStepperUtilityClass(slot) {
|
|
4
4
|
return generateUtilityClass('MuiStepper', slot);
|
|
5
5
|
}
|
|
6
|
-
const stepperClasses = generateUtilityClasses('MuiStepper', ['root', 'horizontal', 'vertical', 'alternativeLabel']);
|
|
6
|
+
const stepperClasses = generateUtilityClasses('MuiStepper', ['root', 'horizontal', 'vertical', 'nonLinear', 'alternativeLabel']);
|
|
7
7
|
export default stepperClasses;
|
package/SvgIcon/SvgIcon.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 capitalize from '../utils/capitalize';
|
|
11
|
-
import
|
|
11
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
12
12
|
import styled from '../styles/styled';
|
|
13
13
|
import { getSvgIconUtilityClass } from './svgIconClasses';
|
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -65,7 +65,7 @@ const SvgIconRoot = styled('svg', {
|
|
|
65
65
|
};
|
|
66
66
|
});
|
|
67
67
|
const SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
|
|
68
|
-
const props =
|
|
68
|
+
const props = useDefaultProps({
|
|
69
69
|
props: inProps,
|
|
70
70
|
name: 'MuiSvgIcon'
|
|
71
71
|
});
|
|
@@ -8,8 +8,8 @@ import * as React from 'react';
|
|
|
8
8
|
import * as ReactDOM from 'react-dom';
|
|
9
9
|
import PropTypes from 'prop-types';
|
|
10
10
|
import elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';
|
|
11
|
-
import useThemeProps from '@mui/system/useThemeProps';
|
|
12
11
|
import { NoSsr } from '@mui/base';
|
|
12
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
13
13
|
import Drawer, { getAnchor, isHorizontal } from '../Drawer/Drawer';
|
|
14
14
|
import useForkRef from '../utils/useForkRef';
|
|
15
15
|
import ownerDocument from '../utils/ownerDocument';
|
|
@@ -119,7 +119,7 @@ function computeHasNativeHandler({
|
|
|
119
119
|
}
|
|
120
120
|
const iOS = typeof navigator !== 'undefined' && /iPad|iPhone|iPod/.test(navigator.userAgent);
|
|
121
121
|
const SwipeableDrawer = /*#__PURE__*/React.forwardRef(function SwipeableDrawer(inProps, ref) {
|
|
122
|
-
const props =
|
|
122
|
+
const props = useDefaultProps({
|
|
123
123
|
name: 'MuiSwipeableDrawer',
|
|
124
124
|
props: inProps
|
|
125
125
|
});
|
package/Switch/Switch.js
CHANGED
|
@@ -12,11 +12,11 @@ import composeClasses from '@mui/utils/composeClasses';
|
|
|
12
12
|
import { alpha, darken, lighten } from '@mui/system/colorManipulator';
|
|
13
13
|
import capitalize from '../utils/capitalize';
|
|
14
14
|
import SwitchBase from '../internal/SwitchBase';
|
|
15
|
-
import { styled
|
|
15
|
+
import { styled } from '../zero-styled';
|
|
16
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
16
17
|
import switchClasses, { getSwitchUtilityClass } from './switchClasses';
|
|
17
18
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
18
19
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
19
|
-
const useThemeProps = createUseThemeProps('MuiSwitch');
|
|
20
20
|
const useUtilityClasses = ownerState => {
|
|
21
21
|
const {
|
|
22
22
|
classes,
|
|
@@ -200,7 +200,7 @@ const SwitchThumb = styled('span', {
|
|
|
200
200
|
borderRadius: '50%'
|
|
201
201
|
}));
|
|
202
202
|
const Switch = /*#__PURE__*/React.forwardRef(function Switch(inProps, ref) {
|
|
203
|
-
const props =
|
|
203
|
+
const props = useDefaultProps({
|
|
204
204
|
props: inProps,
|
|
205
205
|
name: 'MuiSwitch'
|
|
206
206
|
});
|
package/Tab/Tab.js
CHANGED
|
@@ -9,7 +9,7 @@ import clsx from 'clsx';
|
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import ButtonBase from '../ButtonBase';
|
|
11
11
|
import capitalize from '../utils/capitalize';
|
|
12
|
-
import
|
|
12
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
13
13
|
import styled from '../styles/styled';
|
|
14
14
|
import unsupportedProp from '../utils/unsupportedProp';
|
|
15
15
|
import tabClasses, { getTabUtilityClass } from './tabClasses';
|
|
@@ -107,7 +107,7 @@ const TabRoot = styled(ButtonBase, {
|
|
|
107
107
|
fontSize: theme.typography.pxToRem(12)
|
|
108
108
|
}));
|
|
109
109
|
const Tab = /*#__PURE__*/React.forwardRef(function Tab(inProps, ref) {
|
|
110
|
-
const props =
|
|
110
|
+
const props = useDefaultProps({
|
|
111
111
|
props: inProps,
|
|
112
112
|
name: 'MuiTab'
|
|
113
113
|
});
|
|
@@ -13,7 +13,7 @@ import { useRtl } from '@mui/system/RtlProvider';
|
|
|
13
13
|
import KeyboardArrowLeft from '../internal/svg-icons/KeyboardArrowLeft';
|
|
14
14
|
import KeyboardArrowRight from '../internal/svg-icons/KeyboardArrowRight';
|
|
15
15
|
import ButtonBase from '../ButtonBase';
|
|
16
|
-
import
|
|
16
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
17
17
|
import styled from '../styles/styled';
|
|
18
18
|
import tabScrollButtonClasses, { getTabScrollButtonUtilityClass } from './tabScrollButtonClasses';
|
|
19
19
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -55,7 +55,7 @@ const TabScrollButtonRoot = styled(ButtonBase, {
|
|
|
55
55
|
}));
|
|
56
56
|
const TabScrollButton = /*#__PURE__*/React.forwardRef(function TabScrollButton(inProps, ref) {
|
|
57
57
|
var _slots$StartScrollBut, _slots$EndScrollButto;
|
|
58
|
-
const props =
|
|
58
|
+
const props = useDefaultProps({
|
|
59
59
|
props: inProps,
|
|
60
60
|
name: 'MuiTabScrollButton'
|
|
61
61
|
});
|
package/Table/Table.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 TableContext from './TableContext';
|
|
11
|
-
import
|
|
11
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
12
12
|
import styled from '../styles/styled';
|
|
13
13
|
import { getTableUtilityClass } from './tableClasses';
|
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -50,7 +50,7 @@ const TableRoot = styled('table', {
|
|
|
50
50
|
}));
|
|
51
51
|
const defaultComponent = 'table';
|
|
52
52
|
const Table = /*#__PURE__*/React.forwardRef(function Table(inProps, ref) {
|
|
53
|
-
const props =
|
|
53
|
+
const props = useDefaultProps({
|
|
54
54
|
props: inProps,
|
|
55
55
|
name: 'MuiTable'
|
|
56
56
|
});
|
package/TableBody/TableBody.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 Tablelvl2Context from '../Table/Tablelvl2Context';
|
|
11
|
-
import
|
|
11
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
12
12
|
import styled from '../styles/styled';
|
|
13
13
|
import { getTableBodyUtilityClass } from './tableBodyClasses';
|
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -33,7 +33,7 @@ const tablelvl2 = {
|
|
|
33
33
|
};
|
|
34
34
|
const defaultComponent = 'tbody';
|
|
35
35
|
const TableBody = /*#__PURE__*/React.forwardRef(function TableBody(inProps, ref) {
|
|
36
|
-
const props =
|
|
36
|
+
const props = useDefaultProps({
|
|
37
37
|
props: inProps,
|
|
38
38
|
name: 'MuiTableBody'
|
|
39
39
|
});
|
package/TableCell/TableCell.js
CHANGED
|
@@ -11,7 +11,7 @@ import { darken, alpha, lighten } from '@mui/system/colorManipulator';
|
|
|
11
11
|
import capitalize from '../utils/capitalize';
|
|
12
12
|
import TableContext from '../Table/TableContext';
|
|
13
13
|
import Tablelvl2Context from '../Table/Tablelvl2Context';
|
|
14
|
-
import
|
|
14
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
15
15
|
import styled from '../styles/styled';
|
|
16
16
|
import tableCellClasses, { getTableCellUtilityClass } from './tableCellClasses';
|
|
17
17
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -97,7 +97,7 @@ const TableCellRoot = styled('td', {
|
|
|
97
97
|
* or otherwise a `<td>` element.
|
|
98
98
|
*/
|
|
99
99
|
const TableCell = /*#__PURE__*/React.forwardRef(function TableCell(inProps, ref) {
|
|
100
|
-
const props =
|
|
100
|
+
const props = useDefaultProps({
|
|
101
101
|
props: inProps,
|
|
102
102
|
name: 'MuiTableCell'
|
|
103
103
|
});
|
|
@@ -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 { getTableContainerUtilityClass } from './tableContainerClasses';
|
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -29,7 +29,7 @@ const TableContainerRoot = styled('div', {
|
|
|
29
29
|
overflowX: 'auto'
|
|
30
30
|
});
|
|
31
31
|
const TableContainer = /*#__PURE__*/React.forwardRef(function TableContainer(inProps, ref) {
|
|
32
|
-
const props =
|
|
32
|
+
const props = useDefaultProps({
|
|
33
33
|
props: inProps,
|
|
34
34
|
name: 'MuiTableContainer'
|
|
35
35
|
});
|
|
@@ -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 Tablelvl2Context from '../Table/Tablelvl2Context';
|
|
11
|
-
import
|
|
11
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
12
12
|
import styled from '../styles/styled';
|
|
13
13
|
import { getTableFooterUtilityClass } from './tableFooterClasses';
|
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -33,7 +33,7 @@ const tablelvl2 = {
|
|
|
33
33
|
};
|
|
34
34
|
const defaultComponent = 'tfoot';
|
|
35
35
|
const TableFooter = /*#__PURE__*/React.forwardRef(function TableFooter(inProps, ref) {
|
|
36
|
-
const props =
|
|
36
|
+
const props = useDefaultProps({
|
|
37
37
|
props: inProps,
|
|
38
38
|
name: 'MuiTableFooter'
|
|
39
39
|
});
|
package/TableHead/TableHead.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 Tablelvl2Context from '../Table/Tablelvl2Context';
|
|
11
|
-
import
|
|
11
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
12
12
|
import styled from '../styles/styled';
|
|
13
13
|
import { getTableHeadUtilityClass } from './tableHeadClasses';
|
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -33,7 +33,7 @@ const tablelvl2 = {
|
|
|
33
33
|
};
|
|
34
34
|
const defaultComponent = 'thead';
|
|
35
35
|
const TableHead = /*#__PURE__*/React.forwardRef(function TableHead(inProps, ref) {
|
|
36
|
-
const props =
|
|
36
|
+
const props = useDefaultProps({
|
|
37
37
|
props: inProps,
|
|
38
38
|
name: 'MuiTableHead'
|
|
39
39
|
});
|
|
@@ -12,7 +12,7 @@ import chainPropTypes from '@mui/utils/chainPropTypes';
|
|
|
12
12
|
import { isHostComponent } from '@mui/base/utils';
|
|
13
13
|
import composeClasses from '@mui/utils/composeClasses';
|
|
14
14
|
import styled from '../styles/styled';
|
|
15
|
-
import
|
|
15
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
16
16
|
import InputBase from '../InputBase';
|
|
17
17
|
import MenuItem from '../MenuItem';
|
|
18
18
|
import Select from '../Select';
|
|
@@ -146,7 +146,7 @@ const useUtilityClasses = ownerState => {
|
|
|
146
146
|
*/
|
|
147
147
|
const TablePagination = /*#__PURE__*/React.forwardRef(function TablePagination(inProps, ref) {
|
|
148
148
|
var _slotProps$select;
|
|
149
|
-
const props =
|
|
149
|
+
const props = useDefaultProps({
|
|
150
150
|
props: inProps,
|
|
151
151
|
name: 'MuiTablePagination'
|
|
152
152
|
});
|
package/TableRow/TableRow.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 Tablelvl2Context from '../Table/Tablelvl2Context';
|
|
12
|
-
import
|
|
12
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
13
13
|
import styled from '../styles/styled';
|
|
14
14
|
import tableRowClasses, { getTableRowUtilityClass } from './tableRowClasses';
|
|
15
15
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -59,7 +59,7 @@ const defaultComponent = 'tr';
|
|
|
59
59
|
* based on the material table element parent (head, body, etc).
|
|
60
60
|
*/
|
|
61
61
|
const TableRow = /*#__PURE__*/React.forwardRef(function TableRow(inProps, ref) {
|
|
62
|
-
const props =
|
|
62
|
+
const props = useDefaultProps({
|
|
63
63
|
props: inProps,
|
|
64
64
|
name: 'MuiTableRow'
|
|
65
65
|
});
|
|
@@ -10,7 +10,7 @@ import * as React from 'react';
|
|
|
10
10
|
import ButtonBase from '../ButtonBase';
|
|
11
11
|
import ArrowDownwardIcon from '../internal/svg-icons/ArrowDownward';
|
|
12
12
|
import styled from '../styles/styled';
|
|
13
|
-
import
|
|
13
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
14
14
|
import capitalize from '../utils/capitalize';
|
|
15
15
|
import tableSortLabelClasses, { getTableSortLabelUtilityClass } from './tableSortLabelClasses';
|
|
16
16
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -92,7 +92,7 @@ const TableSortLabelIcon = styled('span', {
|
|
|
92
92
|
* A button based label for placing inside `TableCell` for column sorting.
|
|
93
93
|
*/
|
|
94
94
|
const TableSortLabel = /*#__PURE__*/React.forwardRef(function TableSortLabel(inProps, ref) {
|
|
95
|
-
const props =
|
|
95
|
+
const props = useDefaultProps({
|
|
96
96
|
props: inProps,
|
|
97
97
|
name: 'MuiTableSortLabel'
|
|
98
98
|
});
|
package/Tabs/Tabs.js
CHANGED
|
@@ -12,7 +12,7 @@ import { useSlotProps } from '@mui/base/utils';
|
|
|
12
12
|
import composeClasses from '@mui/utils/composeClasses';
|
|
13
13
|
import { useRtl } from '@mui/system/RtlProvider';
|
|
14
14
|
import styled from '../styles/styled';
|
|
15
|
-
import
|
|
15
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
16
16
|
import useTheme from '../styles/useTheme';
|
|
17
17
|
import debounce from '../utils/debounce';
|
|
18
18
|
import { getNormalizedScrollLeft, detectScrollType } from '../utils/scrollLeft';
|
|
@@ -205,7 +205,7 @@ const TabsScrollbarSize = styled(ScrollbarSize)({
|
|
|
205
205
|
const defaultIndicatorStyle = {};
|
|
206
206
|
let warnedOnceTabPresent = false;
|
|
207
207
|
const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
|
|
208
|
-
const props =
|
|
208
|
+
const props = useDefaultProps({
|
|
209
209
|
props: inProps,
|
|
210
210
|
name: 'MuiTabs'
|
|
211
211
|
});
|
package/TextField/TextField.js
CHANGED
|
@@ -10,7 +10,7 @@ import composeClasses from '@mui/utils/composeClasses';
|
|
|
10
10
|
import useId from '@mui/utils/useId';
|
|
11
11
|
import refType from '@mui/utils/refType';
|
|
12
12
|
import styled from '../styles/styled';
|
|
13
|
-
import
|
|
13
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
14
14
|
import Input from '../Input';
|
|
15
15
|
import FilledInput from '../FilledInput';
|
|
16
16
|
import OutlinedInput from '../OutlinedInput';
|
|
@@ -74,7 +74,7 @@ const TextFieldRoot = styled(FormControl, {
|
|
|
74
74
|
* - using the underlying components directly as shown in the demos
|
|
75
75
|
*/
|
|
76
76
|
const TextField = /*#__PURE__*/React.forwardRef(function TextField(inProps, ref) {
|
|
77
|
-
const props =
|
|
77
|
+
const props = useDefaultProps({
|
|
78
78
|
props: inProps,
|
|
79
79
|
name: 'MuiTextField'
|
|
80
80
|
});
|
|
@@ -13,7 +13,7 @@ import composeClasses from '@mui/utils/composeClasses';
|
|
|
13
13
|
import { alpha } from '../styles';
|
|
14
14
|
import ButtonBase from '../ButtonBase';
|
|
15
15
|
import capitalize from '../utils/capitalize';
|
|
16
|
-
import
|
|
16
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
17
17
|
import styled from '../styles/styled';
|
|
18
18
|
import toggleButtonClasses, { getToggleButtonUtilityClass } from './toggleButtonClasses';
|
|
19
19
|
import ToggleButtonGroupContext from '../ToggleButtonGroup/ToggleButtonGroupContext';
|
|
@@ -103,7 +103,7 @@ const ToggleButton = /*#__PURE__*/React.forwardRef(function ToggleButton(inProps
|
|
|
103
103
|
const resolvedProps = resolveProps(_extends({}, contextProps, {
|
|
104
104
|
selected: isValueSelected(inProps.value, contextValue)
|
|
105
105
|
}), inProps);
|
|
106
|
-
const props =
|
|
106
|
+
const props = useDefaultProps({
|
|
107
107
|
props: resolvedProps,
|
|
108
108
|
name: 'MuiToggleButton'
|
|
109
109
|
});
|
|
@@ -10,7 +10,7 @@ import clsx from 'clsx';
|
|
|
10
10
|
import composeClasses from '@mui/utils/composeClasses';
|
|
11
11
|
import getValidReactChildren from '@mui/utils/getValidReactChildren';
|
|
12
12
|
import styled from '../styles/styled';
|
|
13
|
-
import
|
|
13
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
14
14
|
import capitalize from '../utils/capitalize';
|
|
15
15
|
import toggleButtonGroupClasses, { getToggleButtonGroupUtilityClass } from './toggleButtonGroupClasses';
|
|
16
16
|
import ToggleButtonGroupContext from './ToggleButtonGroupContext';
|
|
@@ -106,7 +106,7 @@ const ToggleButtonGroupRoot = styled('div', {
|
|
|
106
106
|
}
|
|
107
107
|
}));
|
|
108
108
|
const ToggleButtonGroup = /*#__PURE__*/React.forwardRef(function ToggleButtonGroup(inProps, ref) {
|
|
109
|
-
const props =
|
|
109
|
+
const props = useDefaultProps({
|
|
110
110
|
props: inProps,
|
|
111
111
|
name: 'MuiToggleButtonGroup'
|
|
112
112
|
});
|
package/Toolbar/Toolbar.js
CHANGED
|
@@ -7,7 +7,7 @@ import * as React from 'react';
|
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
|
-
import
|
|
10
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
11
11
|
import styled from '../styles/styled';
|
|
12
12
|
import { getToolbarUtilityClass } from './toolbarClasses';
|
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -52,7 +52,7 @@ const ToolbarRoot = styled('div', {
|
|
|
52
52
|
ownerState
|
|
53
53
|
}) => ownerState.variant === 'regular' && theme.mixins.toolbar);
|
|
54
54
|
const Toolbar = /*#__PURE__*/React.forwardRef(function Toolbar(inProps, ref) {
|
|
55
|
-
const props =
|
|
55
|
+
const props = useDefaultProps({
|
|
56
56
|
props: inProps,
|
|
57
57
|
name: 'MuiToolbar'
|
|
58
58
|
});
|
package/Tooltip/Tooltip.js
CHANGED
|
@@ -14,7 +14,7 @@ import { alpha } from '@mui/system/colorManipulator';
|
|
|
14
14
|
import { useRtl } from '@mui/system/RtlProvider';
|
|
15
15
|
import styled from '../styles/styled';
|
|
16
16
|
import useTheme from '../styles/useTheme';
|
|
17
|
-
import
|
|
17
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
18
18
|
import capitalize from '../utils/capitalize';
|
|
19
19
|
import Grow from '../Grow';
|
|
20
20
|
import Popper from '../Popper';
|
|
@@ -218,7 +218,7 @@ function composeEventHandler(handler, eventHandler) {
|
|
|
218
218
|
// TODO v6: Remove PopperComponent, PopperProps, TransitionComponent and TransitionProps.
|
|
219
219
|
const Tooltip = /*#__PURE__*/React.forwardRef(function Tooltip(inProps, ref) {
|
|
220
220
|
var _ref, _slots$popper, _ref2, _ref3, _slots$transition, _ref4, _slots$tooltip, _ref5, _slots$arrow, _slotProps$popper, _ref6, _slotProps$popper2, _slotProps$transition, _slotProps$tooltip, _ref7, _slotProps$tooltip2, _slotProps$arrow, _ref8, _slotProps$arrow2;
|
|
221
|
-
const props =
|
|
221
|
+
const props = useDefaultProps({
|
|
222
222
|
props: inProps,
|
|
223
223
|
name: 'MuiTooltip'
|
|
224
224
|
});
|
package/Typography/Typography.js
CHANGED
|
@@ -9,7 +9,7 @@ import clsx from 'clsx';
|
|
|
9
9
|
import { extendSxProp } from '@mui/system/styleFunctionSx';
|
|
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 capitalize from '../utils/capitalize';
|
|
14
14
|
import { getTypographyUtilityClass } from './typographyClasses';
|
|
15
15
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -81,7 +81,7 @@ const transformDeprecatedColors = color => {
|
|
|
81
81
|
return colorTransformations[color] || color;
|
|
82
82
|
};
|
|
83
83
|
const Typography = /*#__PURE__*/React.forwardRef(function Typography(inProps, ref) {
|
|
84
|
-
const themeProps =
|
|
84
|
+
const themeProps = useDefaultProps({
|
|
85
85
|
props: inProps,
|
|
86
86
|
name: 'MuiTypography'
|
|
87
87
|
});
|
package/Unstable_Grid2/Grid2.js
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { createGrid as createGrid2 } from '@mui/system/Unstable_Grid';
|
|
5
|
-
import { styled
|
|
5
|
+
import { styled } from '../styles';
|
|
6
|
+
import { useDefaultProps } from '../DefaultPropsProvider';
|
|
6
7
|
const Grid2 = createGrid2({
|
|
7
8
|
createStyledComponent: styled('div', {
|
|
8
9
|
name: 'MuiGrid2',
|
|
@@ -10,7 +11,7 @@ const Grid2 = createGrid2({
|
|
|
10
11
|
overridesResolver: (props, styles) => styles.root
|
|
11
12
|
}),
|
|
12
13
|
componentName: 'MuiGrid2',
|
|
13
|
-
useThemeProps: inProps =>
|
|
14
|
+
useThemeProps: inProps => useDefaultProps({
|
|
14
15
|
props: inProps,
|
|
15
16
|
name: 'MuiGrid2'
|
|
16
17
|
})
|