@mui/material 5.15.3 → 5.15.5
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.d.ts +30 -2
- package/Accordion/Accordion.js +43 -10
- package/AccordionActions/AccordionActions.js +4 -4
- package/AccordionDetails/AccordionDetails.js +4 -4
- package/AccordionSummary/AccordionSummary.js +4 -4
- package/AccordionSummary/accordionSummaryClasses.d.ts +4 -1
- package/Alert/Alert.d.ts +4 -2
- package/Alert/Alert.js +5 -5
- package/AlertTitle/AlertTitle.js +4 -4
- package/AppBar/AppBar.js +4 -4
- package/Autocomplete/Autocomplete.js +4 -4
- package/Avatar/Avatar.js +4 -4
- package/AvatarGroup/AvatarGroup.js +4 -4
- package/Backdrop/Backdrop.js +4 -4
- package/Badge/Badge.js +5 -5
- package/BottomNavigation/BottomNavigation.js +4 -4
- package/BottomNavigationAction/BottomNavigationAction.js +4 -4
- package/Box/Box.js +4 -4
- package/Breadcrumbs/Breadcrumbs.js +4 -4
- package/Button/Button.js +4 -4
- package/ButtonBase/ButtonBase.js +4 -4
- package/ButtonGroup/ButtonGroup.js +4 -4
- package/ButtonGroup/ButtonGroupContext.d.ts +2 -2
- package/CHANGELOG.md +184 -1
- package/Card/Card.js +4 -4
- package/CardActionArea/CardActionArea.js +4 -4
- package/CardActions/CardActions.js +4 -4
- package/CardContent/CardContent.js +4 -4
- package/CardHeader/CardHeader.js +4 -4
- package/CardMedia/CardMedia.js +4 -4
- package/Checkbox/Checkbox.js +4 -4
- package/Chip/Chip.js +4 -4
- package/CircularProgress/CircularProgress.js +4 -4
- package/ClickAwayListener/index.d.ts +2 -1
- package/Collapse/Collapse.js +4 -4
- package/Container/Container.js +4 -4
- package/CssBaseline/CssBaseline.js +4 -4
- package/Dialog/Dialog.js +4 -4
- package/DialogActions/DialogActions.js +4 -4
- package/DialogContent/DialogContent.js +4 -4
- package/DialogContentText/DialogContentText.js +4 -4
- package/DialogTitle/DialogTitle.js +4 -4
- package/Divider/Divider.d.ts +1 -0
- package/Divider/Divider.js +5 -4
- package/Divider/dividerClasses.d.ts +6 -2
- package/Drawer/Drawer.js +4 -4
- package/Fab/Fab.js +4 -4
- package/Fade/Fade.js +4 -4
- package/FilledInput/FilledInput.js +4 -4
- package/FormControl/FormControl.d.ts +1 -1
- package/FormControl/FormControl.js +4 -4
- package/FormControlLabel/FormControlLabel.js +4 -4
- package/FormGroup/FormGroup.js +4 -4
- package/FormHelperText/FormHelperText.js +4 -4
- package/FormLabel/FormLabel.d.ts +1 -1
- package/FormLabel/FormLabel.js +4 -4
- package/GlobalStyles/GlobalStyles.js +4 -4
- package/Grid/Grid.js +4 -4
- package/Grow/Grow.js +4 -4
- package/Hidden/Hidden.js +4 -4
- package/Icon/Icon.js +4 -4
- package/IconButton/IconButton.js +4 -4
- package/ImageList/ImageList.js +4 -4
- package/ImageListItem/ImageListItem.js +4 -4
- package/ImageListItemBar/ImageListItemBar.js +4 -4
- package/Input/Input.js +4 -4
- package/InputAdornment/InputAdornment.js +4 -4
- package/InputBase/InputBase.js +4 -4
- package/InputLabel/InputLabel.d.ts +1 -5
- package/InputLabel/InputLabel.js +4 -4
- package/LinearProgress/LinearProgress.js +4 -4
- package/Link/Link.js +4 -4
- package/List/List.js +4 -4
- package/ListItem/ListItem.js +4 -4
- package/ListItemAvatar/ListItemAvatar.js +4 -4
- package/ListItemButton/ListItemButton.js +4 -4
- package/ListItemIcon/ListItemIcon.js +4 -4
- package/ListItemSecondaryAction/ListItemSecondaryAction.js +4 -4
- package/ListItemText/ListItemText.js +4 -4
- package/ListSubheader/ListSubheader.js +4 -4
- package/Menu/Menu.js +4 -4
- package/MenuItem/MenuItem.js +4 -4
- package/MenuList/MenuList.js +4 -4
- package/MobileStepper/MobileStepper.js +4 -4
- package/Modal/Modal.js +4 -4
- package/NativeSelect/NativeSelect.js +4 -4
- package/OutlinedInput/OutlinedInput.js +4 -4
- package/Pagination/Pagination.js +4 -4
- package/PaginationItem/PaginationItem.js +4 -4
- package/Paper/Paper.js +4 -4
- package/Popover/Popover.js +4 -4
- package/Popper/Popper.js +4 -4
- package/Radio/Radio.js +4 -4
- package/RadioGroup/RadioGroup.js +4 -4
- package/Rating/Rating.js +5 -14
- package/ScopedCssBaseline/ScopedCssBaseline.js +4 -4
- package/Select/Select.js +4 -4
- package/Skeleton/Skeleton.js +4 -4
- package/Slide/Slide.js +4 -4
- package/Slider/Slider.js +4 -4
- package/Snackbar/Snackbar.js +4 -4
- package/SnackbarContent/SnackbarContent.js +4 -4
- package/SpeedDial/SpeedDial.js +5 -13
- package/SpeedDialAction/SpeedDialAction.js +4 -4
- package/SpeedDialIcon/SpeedDialIcon.js +4 -4
- package/Stack/Stack.js +4 -4
- package/Step/Step.js +4 -4
- package/StepButton/StepButton.js +4 -4
- package/StepConnector/StepConnector.js +4 -4
- package/StepContent/StepContent.js +4 -4
- package/StepIcon/StepIcon.js +4 -4
- package/StepLabel/StepLabel.js +4 -4
- package/Stepper/Stepper.js +4 -4
- package/SvgIcon/SvgIcon.js +4 -4
- package/SwipeableDrawer/SwipeableDrawer.js +4 -4
- package/Switch/Switch.js +4 -4
- package/Tab/Tab.js +4 -4
- package/TabScrollButton/TabScrollButton.js +4 -4
- package/Table/Table.js +4 -4
- package/TableBody/TableBody.js +4 -4
- package/TableCell/TableCell.js +4 -4
- package/TableContainer/TableContainer.js +4 -4
- package/TableFooter/TableFooter.js +4 -4
- package/TableHead/TableHead.js +4 -4
- package/TablePagination/TablePagination.js +4 -4
- package/TableRow/TableRow.js +4 -4
- package/TableSortLabel/TableSortLabel.js +4 -4
- package/Tabs/Tabs.js +4 -4
- package/TextField/TextField.d.ts +1 -1
- package/TextField/TextField.js +4 -4
- package/ToggleButton/ToggleButton.js +24 -8
- package/ToggleButtonGroup/ToggleButtonGroup.js +88 -46
- package/ToggleButtonGroup/ToggleButtonGroupButtonContext.d.ts +6 -0
- package/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +9 -0
- package/ToggleButtonGroup/ToggleButtonGroupContext.d.ts +16 -0
- package/ToggleButtonGroup/ToggleButtonGroupContext.js +9 -0
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +6 -0
- package/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
- package/Toolbar/Toolbar.js +4 -4
- package/Tooltip/Tooltip.js +4 -4
- package/Typography/Typography.js +4 -4
- package/Unstable_Grid2/Grid2.js +4 -4
- package/Zoom/Zoom.js +4 -4
- package/index.js +1 -1
- package/legacy/Accordion/Accordion.js +48 -11
- package/legacy/AccordionActions/AccordionActions.js +4 -4
- package/legacy/AccordionDetails/AccordionDetails.js +4 -4
- package/legacy/AccordionSummary/AccordionSummary.js +4 -4
- package/legacy/Alert/Alert.js +5 -5
- package/legacy/AlertTitle/AlertTitle.js +4 -4
- package/legacy/AppBar/AppBar.js +4 -4
- package/legacy/Autocomplete/Autocomplete.js +4 -4
- package/legacy/Avatar/Avatar.js +4 -4
- package/legacy/AvatarGroup/AvatarGroup.js +4 -4
- package/legacy/Backdrop/Backdrop.js +4 -4
- package/legacy/Badge/Badge.js +5 -5
- package/legacy/BottomNavigation/BottomNavigation.js +4 -4
- package/legacy/BottomNavigationAction/BottomNavigationAction.js +4 -4
- package/legacy/Box/Box.js +4 -4
- package/legacy/Breadcrumbs/Breadcrumbs.js +4 -4
- package/legacy/Button/Button.js +4 -4
- package/legacy/ButtonBase/ButtonBase.js +4 -4
- package/legacy/ButtonGroup/ButtonGroup.js +4 -4
- package/legacy/Card/Card.js +4 -4
- package/legacy/CardActionArea/CardActionArea.js +4 -4
- package/legacy/CardActions/CardActions.js +4 -4
- package/legacy/CardContent/CardContent.js +4 -4
- package/legacy/CardHeader/CardHeader.js +4 -4
- package/legacy/CardMedia/CardMedia.js +4 -4
- package/legacy/Checkbox/Checkbox.js +4 -4
- package/legacy/Chip/Chip.js +4 -4
- package/legacy/CircularProgress/CircularProgress.js +4 -4
- package/legacy/Collapse/Collapse.js +4 -4
- package/legacy/Container/Container.js +4 -4
- package/legacy/CssBaseline/CssBaseline.js +4 -4
- package/legacy/Dialog/Dialog.js +4 -4
- package/legacy/DialogActions/DialogActions.js +4 -4
- package/legacy/DialogContent/DialogContent.js +4 -4
- package/legacy/DialogContentText/DialogContentText.js +4 -4
- package/legacy/DialogTitle/DialogTitle.js +4 -4
- package/legacy/Divider/Divider.js +5 -4
- package/legacy/Drawer/Drawer.js +4 -4
- package/legacy/Fab/Fab.js +4 -4
- package/legacy/Fade/Fade.js +4 -4
- package/legacy/FilledInput/FilledInput.js +4 -4
- package/legacy/FormControl/FormControl.js +4 -4
- package/legacy/FormControlLabel/FormControlLabel.js +4 -4
- package/legacy/FormGroup/FormGroup.js +4 -4
- package/legacy/FormHelperText/FormHelperText.js +4 -4
- package/legacy/FormLabel/FormLabel.js +4 -4
- package/legacy/GlobalStyles/GlobalStyles.js +4 -4
- package/legacy/Grid/Grid.js +4 -4
- package/legacy/Grow/Grow.js +4 -4
- package/legacy/Hidden/Hidden.js +4 -4
- package/legacy/Icon/Icon.js +4 -4
- package/legacy/IconButton/IconButton.js +4 -4
- package/legacy/ImageList/ImageList.js +4 -4
- package/legacy/ImageListItem/ImageListItem.js +4 -4
- package/legacy/ImageListItemBar/ImageListItemBar.js +4 -4
- package/legacy/Input/Input.js +4 -4
- package/legacy/InputAdornment/InputAdornment.js +4 -4
- package/legacy/InputBase/InputBase.js +4 -4
- package/legacy/InputLabel/InputLabel.js +4 -4
- package/legacy/LinearProgress/LinearProgress.js +4 -4
- package/legacy/Link/Link.js +4 -4
- package/legacy/List/List.js +4 -4
- package/legacy/ListItem/ListItem.js +4 -4
- package/legacy/ListItemAvatar/ListItemAvatar.js +4 -4
- package/legacy/ListItemButton/ListItemButton.js +4 -4
- package/legacy/ListItemIcon/ListItemIcon.js +4 -4
- package/legacy/ListItemSecondaryAction/ListItemSecondaryAction.js +4 -4
- package/legacy/ListItemText/ListItemText.js +4 -4
- package/legacy/ListSubheader/ListSubheader.js +4 -4
- package/legacy/Menu/Menu.js +4 -4
- package/legacy/MenuItem/MenuItem.js +4 -4
- package/legacy/MenuList/MenuList.js +4 -4
- package/legacy/MobileStepper/MobileStepper.js +4 -4
- package/legacy/Modal/Modal.js +4 -4
- package/legacy/NativeSelect/NativeSelect.js +4 -4
- package/legacy/OutlinedInput/OutlinedInput.js +4 -4
- package/legacy/Pagination/Pagination.js +4 -4
- package/legacy/PaginationItem/PaginationItem.js +4 -4
- package/legacy/Paper/Paper.js +4 -4
- package/legacy/Popover/Popover.js +4 -4
- package/legacy/Popper/Popper.js +4 -4
- package/legacy/Radio/Radio.js +4 -4
- package/legacy/RadioGroup/RadioGroup.js +4 -4
- package/legacy/Rating/Rating.js +5 -14
- package/legacy/ScopedCssBaseline/ScopedCssBaseline.js +4 -4
- package/legacy/Select/Select.js +4 -4
- package/legacy/Skeleton/Skeleton.js +4 -4
- package/legacy/Slide/Slide.js +4 -4
- package/legacy/Slider/Slider.js +4 -4
- package/legacy/Snackbar/Snackbar.js +4 -4
- package/legacy/SnackbarContent/SnackbarContent.js +4 -4
- package/legacy/SpeedDial/SpeedDial.js +5 -13
- package/legacy/SpeedDialAction/SpeedDialAction.js +4 -4
- package/legacy/SpeedDialIcon/SpeedDialIcon.js +4 -4
- package/legacy/Stack/Stack.js +4 -4
- package/legacy/Step/Step.js +4 -4
- package/legacy/StepButton/StepButton.js +4 -4
- package/legacy/StepConnector/StepConnector.js +4 -4
- package/legacy/StepContent/StepContent.js +4 -4
- package/legacy/StepIcon/StepIcon.js +4 -4
- package/legacy/StepLabel/StepLabel.js +4 -4
- package/legacy/Stepper/Stepper.js +4 -4
- package/legacy/SvgIcon/SvgIcon.js +4 -4
- package/legacy/SwipeableDrawer/SwipeableDrawer.js +4 -4
- package/legacy/Switch/Switch.js +4 -4
- package/legacy/Tab/Tab.js +4 -4
- package/legacy/TabScrollButton/TabScrollButton.js +4 -4
- package/legacy/Table/Table.js +4 -4
- package/legacy/TableBody/TableBody.js +4 -4
- package/legacy/TableCell/TableCell.js +4 -4
- package/legacy/TableContainer/TableContainer.js +4 -4
- package/legacy/TableFooter/TableFooter.js +4 -4
- package/legacy/TableHead/TableHead.js +4 -4
- package/legacy/TablePagination/TablePagination.js +4 -4
- package/legacy/TableRow/TableRow.js +4 -4
- package/legacy/TableSortLabel/TableSortLabel.js +4 -4
- package/legacy/Tabs/Tabs.js +4 -4
- package/legacy/TextField/TextField.js +4 -4
- package/legacy/ToggleButton/ToggleButton.js +19 -6
- package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +81 -55
- package/legacy/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +9 -0
- package/legacy/ToggleButtonGroup/ToggleButtonGroupContext.js +9 -0
- package/legacy/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
- package/legacy/Toolbar/Toolbar.js +4 -4
- package/legacy/Tooltip/Tooltip.js +4 -4
- package/legacy/Typography/Typography.js +4 -4
- package/legacy/Unstable_Grid2/Grid2.js +4 -4
- package/legacy/Zoom/Zoom.js +4 -4
- package/legacy/index.js +1 -1
- package/legacy/styles/CssVarsProvider.js +3 -0
- package/legacy/utils/types.js +1 -0
- package/legacy/utils/useSlot.js +71 -0
- package/legacy/zero-styled/index.js +2 -0
- package/modern/Accordion/Accordion.js +43 -10
- package/modern/AccordionActions/AccordionActions.js +4 -4
- package/modern/AccordionDetails/AccordionDetails.js +4 -4
- package/modern/AccordionSummary/AccordionSummary.js +4 -4
- package/modern/Alert/Alert.js +5 -5
- package/modern/AlertTitle/AlertTitle.js +4 -4
- package/modern/AppBar/AppBar.js +4 -4
- package/modern/Autocomplete/Autocomplete.js +4 -4
- package/modern/Avatar/Avatar.js +4 -4
- package/modern/AvatarGroup/AvatarGroup.js +4 -4
- package/modern/Backdrop/Backdrop.js +4 -4
- package/modern/Badge/Badge.js +5 -5
- package/modern/BottomNavigation/BottomNavigation.js +4 -4
- package/modern/BottomNavigationAction/BottomNavigationAction.js +4 -4
- package/modern/Box/Box.js +4 -4
- package/modern/Breadcrumbs/Breadcrumbs.js +4 -4
- package/modern/Button/Button.js +4 -4
- package/modern/ButtonBase/ButtonBase.js +4 -4
- package/modern/ButtonGroup/ButtonGroup.js +4 -4
- package/modern/Card/Card.js +4 -4
- package/modern/CardActionArea/CardActionArea.js +4 -4
- package/modern/CardActions/CardActions.js +4 -4
- package/modern/CardContent/CardContent.js +4 -4
- package/modern/CardHeader/CardHeader.js +4 -4
- package/modern/CardMedia/CardMedia.js +4 -4
- package/modern/Checkbox/Checkbox.js +4 -4
- package/modern/Chip/Chip.js +4 -4
- package/modern/CircularProgress/CircularProgress.js +4 -4
- package/modern/Collapse/Collapse.js +4 -4
- package/modern/Container/Container.js +4 -4
- package/modern/CssBaseline/CssBaseline.js +4 -4
- package/modern/Dialog/Dialog.js +4 -4
- package/modern/DialogActions/DialogActions.js +4 -4
- package/modern/DialogContent/DialogContent.js +4 -4
- package/modern/DialogContentText/DialogContentText.js +4 -4
- package/modern/DialogTitle/DialogTitle.js +4 -4
- package/modern/Divider/Divider.js +5 -4
- package/modern/Drawer/Drawer.js +4 -4
- package/modern/Fab/Fab.js +4 -4
- package/modern/Fade/Fade.js +4 -4
- package/modern/FilledInput/FilledInput.js +4 -4
- package/modern/FormControl/FormControl.js +4 -4
- package/modern/FormControlLabel/FormControlLabel.js +4 -4
- package/modern/FormGroup/FormGroup.js +4 -4
- package/modern/FormHelperText/FormHelperText.js +4 -4
- package/modern/FormLabel/FormLabel.js +4 -4
- package/modern/GlobalStyles/GlobalStyles.js +4 -4
- package/modern/Grid/Grid.js +4 -4
- package/modern/Grow/Grow.js +4 -4
- package/modern/Hidden/Hidden.js +4 -4
- package/modern/Icon/Icon.js +4 -4
- package/modern/IconButton/IconButton.js +4 -4
- package/modern/ImageList/ImageList.js +4 -4
- package/modern/ImageListItem/ImageListItem.js +4 -4
- package/modern/ImageListItemBar/ImageListItemBar.js +4 -4
- package/modern/Input/Input.js +4 -4
- package/modern/InputAdornment/InputAdornment.js +4 -4
- package/modern/InputBase/InputBase.js +4 -4
- package/modern/InputLabel/InputLabel.js +4 -4
- package/modern/LinearProgress/LinearProgress.js +4 -4
- package/modern/Link/Link.js +4 -4
- package/modern/List/List.js +4 -4
- package/modern/ListItem/ListItem.js +4 -4
- package/modern/ListItemAvatar/ListItemAvatar.js +4 -4
- package/modern/ListItemButton/ListItemButton.js +4 -4
- package/modern/ListItemIcon/ListItemIcon.js +4 -4
- package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +4 -4
- package/modern/ListItemText/ListItemText.js +4 -4
- package/modern/ListSubheader/ListSubheader.js +4 -4
- package/modern/Menu/Menu.js +4 -4
- package/modern/MenuItem/MenuItem.js +4 -4
- package/modern/MenuList/MenuList.js +4 -4
- package/modern/MobileStepper/MobileStepper.js +4 -4
- package/modern/Modal/Modal.js +4 -4
- package/modern/NativeSelect/NativeSelect.js +4 -4
- package/modern/OutlinedInput/OutlinedInput.js +4 -4
- package/modern/Pagination/Pagination.js +4 -4
- package/modern/PaginationItem/PaginationItem.js +4 -4
- package/modern/Paper/Paper.js +4 -4
- package/modern/Popover/Popover.js +4 -4
- package/modern/Popper/Popper.js +4 -4
- package/modern/Radio/Radio.js +4 -4
- package/modern/RadioGroup/RadioGroup.js +4 -4
- package/modern/Rating/Rating.js +5 -14
- package/modern/ScopedCssBaseline/ScopedCssBaseline.js +4 -4
- package/modern/Select/Select.js +4 -4
- package/modern/Skeleton/Skeleton.js +4 -4
- package/modern/Slide/Slide.js +4 -4
- package/modern/Slider/Slider.js +4 -4
- package/modern/Snackbar/Snackbar.js +4 -4
- package/modern/SnackbarContent/SnackbarContent.js +4 -4
- package/modern/SpeedDial/SpeedDial.js +5 -13
- package/modern/SpeedDialAction/SpeedDialAction.js +4 -4
- package/modern/SpeedDialIcon/SpeedDialIcon.js +4 -4
- package/modern/Stack/Stack.js +4 -4
- package/modern/Step/Step.js +4 -4
- package/modern/StepButton/StepButton.js +4 -4
- package/modern/StepConnector/StepConnector.js +4 -4
- package/modern/StepContent/StepContent.js +4 -4
- package/modern/StepIcon/StepIcon.js +4 -4
- package/modern/StepLabel/StepLabel.js +4 -4
- package/modern/Stepper/Stepper.js +4 -4
- package/modern/SvgIcon/SvgIcon.js +4 -4
- package/modern/SwipeableDrawer/SwipeableDrawer.js +4 -4
- package/modern/Switch/Switch.js +4 -4
- package/modern/Tab/Tab.js +4 -4
- package/modern/TabScrollButton/TabScrollButton.js +4 -4
- package/modern/Table/Table.js +4 -4
- package/modern/TableBody/TableBody.js +4 -4
- package/modern/TableCell/TableCell.js +4 -4
- package/modern/TableContainer/TableContainer.js +4 -4
- package/modern/TableFooter/TableFooter.js +4 -4
- package/modern/TableHead/TableHead.js +4 -4
- package/modern/TablePagination/TablePagination.js +4 -4
- package/modern/TableRow/TableRow.js +4 -4
- package/modern/TableSortLabel/TableSortLabel.js +4 -4
- package/modern/Tabs/Tabs.js +4 -4
- package/modern/TextField/TextField.js +4 -4
- package/modern/ToggleButton/ToggleButton.js +24 -8
- package/modern/ToggleButtonGroup/ToggleButtonGroup.js +88 -46
- package/modern/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +9 -0
- package/modern/ToggleButtonGroup/ToggleButtonGroupContext.js +9 -0
- package/modern/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
- package/modern/Toolbar/Toolbar.js +4 -4
- package/modern/Tooltip/Tooltip.js +4 -4
- package/modern/Typography/Typography.js +4 -4
- package/modern/Unstable_Grid2/Grid2.js +4 -4
- package/modern/Zoom/Zoom.js +4 -4
- package/modern/index.js +1 -1
- package/modern/styles/CssVarsProvider.js +3 -0
- package/modern/utils/types.js +1 -0
- package/modern/utils/useSlot.js +82 -0
- package/modern/zero-styled/index.js +2 -0
- package/node/Accordion/Accordion.js +43 -10
- package/node/AccordionActions/AccordionActions.js +4 -4
- package/node/AccordionDetails/AccordionDetails.js +4 -4
- package/node/AccordionSummary/AccordionSummary.js +4 -4
- package/node/Alert/Alert.js +5 -5
- package/node/AlertTitle/AlertTitle.js +4 -4
- package/node/AppBar/AppBar.js +4 -4
- package/node/Autocomplete/Autocomplete.js +4 -4
- package/node/Avatar/Avatar.js +4 -4
- package/node/AvatarGroup/AvatarGroup.js +4 -4
- package/node/Backdrop/Backdrop.js +4 -4
- package/node/Badge/Badge.js +7 -7
- package/node/BottomNavigation/BottomNavigation.js +4 -4
- package/node/BottomNavigationAction/BottomNavigationAction.js +4 -4
- package/node/Box/Box.js +4 -4
- package/node/Breadcrumbs/Breadcrumbs.js +4 -4
- package/node/Button/Button.js +4 -4
- package/node/ButtonBase/ButtonBase.js +4 -4
- package/node/ButtonGroup/ButtonGroup.js +4 -4
- package/node/Card/Card.js +4 -4
- package/node/CardActionArea/CardActionArea.js +4 -4
- package/node/CardActions/CardActions.js +4 -4
- package/node/CardContent/CardContent.js +4 -4
- package/node/CardHeader/CardHeader.js +4 -4
- package/node/CardMedia/CardMedia.js +4 -4
- package/node/Checkbox/Checkbox.js +4 -4
- package/node/Chip/Chip.js +4 -4
- package/node/CircularProgress/CircularProgress.js +4 -4
- package/node/Collapse/Collapse.js +4 -4
- package/node/Container/Container.js +4 -4
- package/node/CssBaseline/CssBaseline.js +4 -4
- package/node/Dialog/Dialog.js +4 -4
- package/node/DialogActions/DialogActions.js +4 -4
- package/node/DialogContent/DialogContent.js +4 -4
- package/node/DialogContentText/DialogContentText.js +4 -4
- package/node/DialogTitle/DialogTitle.js +4 -4
- package/node/Divider/Divider.js +5 -4
- package/node/Drawer/Drawer.js +4 -4
- package/node/Fab/Fab.js +4 -4
- package/node/Fade/Fade.js +4 -4
- package/node/FilledInput/FilledInput.js +4 -4
- package/node/FormControl/FormControl.js +4 -4
- package/node/FormControlLabel/FormControlLabel.js +4 -4
- package/node/FormGroup/FormGroup.js +4 -4
- package/node/FormHelperText/FormHelperText.js +4 -4
- package/node/FormLabel/FormLabel.js +4 -4
- package/node/GlobalStyles/GlobalStyles.js +4 -4
- package/node/Grid/Grid.js +4 -4
- package/node/Grow/Grow.js +4 -4
- package/node/Hidden/Hidden.js +4 -4
- package/node/Icon/Icon.js +4 -4
- package/node/IconButton/IconButton.js +4 -4
- package/node/ImageList/ImageList.js +4 -4
- package/node/ImageListItem/ImageListItem.js +4 -4
- package/node/ImageListItemBar/ImageListItemBar.js +4 -4
- package/node/Input/Input.js +4 -4
- package/node/InputAdornment/InputAdornment.js +4 -4
- package/node/InputBase/InputBase.js +4 -4
- package/node/InputLabel/InputLabel.js +4 -4
- package/node/LinearProgress/LinearProgress.js +4 -4
- package/node/Link/Link.js +4 -4
- package/node/List/List.js +4 -4
- package/node/ListItem/ListItem.js +4 -4
- package/node/ListItemAvatar/ListItemAvatar.js +4 -4
- package/node/ListItemButton/ListItemButton.js +4 -4
- package/node/ListItemIcon/ListItemIcon.js +4 -4
- package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +4 -4
- package/node/ListItemText/ListItemText.js +4 -4
- package/node/ListSubheader/ListSubheader.js +4 -4
- package/node/Menu/Menu.js +4 -4
- package/node/MenuItem/MenuItem.js +4 -4
- package/node/MenuList/MenuList.js +4 -4
- package/node/MobileStepper/MobileStepper.js +4 -4
- package/node/Modal/Modal.js +4 -4
- package/node/NativeSelect/NativeSelect.js +4 -4
- package/node/OutlinedInput/OutlinedInput.js +4 -4
- package/node/Pagination/Pagination.js +4 -4
- package/node/PaginationItem/PaginationItem.js +4 -4
- package/node/Paper/Paper.js +4 -4
- package/node/Popover/Popover.js +4 -4
- package/node/Popper/Popper.js +4 -4
- package/node/Radio/Radio.js +4 -4
- package/node/RadioGroup/RadioGroup.js +4 -4
- package/node/Rating/Rating.js +5 -14
- package/node/ScopedCssBaseline/ScopedCssBaseline.js +4 -4
- package/node/Select/Select.js +4 -4
- package/node/Skeleton/Skeleton.js +4 -4
- package/node/Slide/Slide.js +4 -4
- package/node/Slider/Slider.js +4 -4
- package/node/Snackbar/Snackbar.js +4 -4
- package/node/SnackbarContent/SnackbarContent.js +4 -4
- package/node/SpeedDial/SpeedDial.js +6 -14
- package/node/SpeedDialAction/SpeedDialAction.js +4 -4
- package/node/SpeedDialIcon/SpeedDialIcon.js +4 -4
- package/node/Stack/Stack.js +4 -4
- package/node/Step/Step.js +4 -4
- package/node/StepButton/StepButton.js +4 -4
- package/node/StepConnector/StepConnector.js +4 -4
- package/node/StepContent/StepContent.js +4 -4
- package/node/StepIcon/StepIcon.js +4 -4
- package/node/StepLabel/StepLabel.js +4 -4
- package/node/Stepper/Stepper.js +4 -4
- package/node/SvgIcon/SvgIcon.js +4 -4
- package/node/SwipeableDrawer/SwipeableDrawer.js +4 -4
- package/node/Switch/Switch.js +4 -4
- package/node/Tab/Tab.js +4 -4
- package/node/TabScrollButton/TabScrollButton.js +4 -4
- package/node/Table/Table.js +4 -4
- package/node/TableBody/TableBody.js +4 -4
- package/node/TableCell/TableCell.js +4 -4
- package/node/TableContainer/TableContainer.js +4 -4
- package/node/TableFooter/TableFooter.js +4 -4
- package/node/TableHead/TableHead.js +4 -4
- package/node/TablePagination/TablePagination.js +4 -4
- package/node/TableRow/TableRow.js +4 -4
- package/node/TableSortLabel/TableSortLabel.js +4 -4
- package/node/Tabs/Tabs.js +4 -4
- package/node/TextField/TextField.js +4 -4
- package/node/ToggleButton/ToggleButton.js +24 -8
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +88 -46
- package/node/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +17 -0
- package/node/ToggleButtonGroup/ToggleButtonGroupContext.js +17 -0
- package/node/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
- package/node/Toolbar/Toolbar.js +4 -4
- package/node/Tooltip/Tooltip.js +4 -4
- package/node/Typography/Typography.js +4 -4
- package/node/Unstable_Grid2/Grid2.js +4 -4
- package/node/Zoom/Zoom.js +4 -4
- package/node/index.js +1 -1
- package/node/styles/CssVarsProvider.js +3 -0
- package/node/utils/types.js +5 -0
- package/node/utils/useSlot.js +88 -0
- package/node/zero-styled/index.js +13 -0
- package/package.json +11 -10
- package/styles/CssVarsProvider.d.ts +3 -3
- package/styles/CssVarsProvider.js +3 -0
- package/umd/material-ui.development.js +15848 -15745
- package/umd/material-ui.production.min.js +4 -207
- package/utils/types.d.ts +27 -0
- package/utils/types.js +1 -0
- package/utils/useSlot.d.ts +84 -0
- package/utils/useSlot.js +82 -0
- package/zero-styled/index.d.ts +2 -0
- package/zero-styled/index.js +2 -0
- package/zero-styled/package.json +6 -0
package/Unstable_Grid2/Grid2.js
CHANGED
|
@@ -16,10 +16,10 @@ const Grid2 = createGrid2({
|
|
|
16
16
|
})
|
|
17
17
|
});
|
|
18
18
|
process.env.NODE_ENV !== "production" ? Grid2.propTypes /* remove-proptypes */ = {
|
|
19
|
-
//
|
|
20
|
-
//
|
|
21
|
-
//
|
|
22
|
-
//
|
|
19
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
20
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
21
|
+
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
22
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
23
23
|
/**
|
|
24
24
|
* The content of the component.
|
|
25
25
|
*/
|
package/Zoom/Zoom.js
CHANGED
|
@@ -128,10 +128,10 @@ const Zoom = /*#__PURE__*/React.forwardRef(function Zoom(props, ref) {
|
|
|
128
128
|
}));
|
|
129
129
|
});
|
|
130
130
|
process.env.NODE_ENV !== "production" ? Zoom.propTypes /* remove-proptypes */ = {
|
|
131
|
-
//
|
|
132
|
-
//
|
|
133
|
-
//
|
|
134
|
-
//
|
|
131
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
132
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
133
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
134
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
135
135
|
/**
|
|
136
136
|
* Add a custom transition end trigger. Called with the transitioning DOM
|
|
137
137
|
* node and a done callback. Allows for more fine grained transition end
|
package/index.js
CHANGED
|
@@ -17,6 +17,7 @@ import Collapse from '../Collapse';
|
|
|
17
17
|
import Paper from '../Paper';
|
|
18
18
|
import AccordionContext from './AccordionContext';
|
|
19
19
|
import useControlled from '../utils/useControlled';
|
|
20
|
+
import useSlot from '../utils/useSlot';
|
|
20
21
|
import accordionClasses, { getAccordionUtilityClass } from './accordionClasses';
|
|
21
22
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
22
23
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -122,10 +123,13 @@ var Accordion = /*#__PURE__*/React.forwardRef(function Accordion(inProps, ref) {
|
|
|
122
123
|
onChange = props.onChange,
|
|
123
124
|
_props$square = props.square,
|
|
124
125
|
square = _props$square === void 0 ? false : _props$square,
|
|
125
|
-
_props$
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
126
|
+
_props$slots = props.slots,
|
|
127
|
+
slots = _props$slots === void 0 ? {} : _props$slots,
|
|
128
|
+
_props$slotProps = props.slotProps,
|
|
129
|
+
slotProps = _props$slotProps === void 0 ? {} : _props$slotProps,
|
|
130
|
+
TransitionComponentProp = props.TransitionComponent,
|
|
131
|
+
TransitionPropsProp = props.TransitionProps,
|
|
132
|
+
other = _objectWithoutProperties(props, ["children", "className", "defaultExpanded", "disabled", "disableGutters", "expanded", "onChange", "square", "slots", "slotProps", "TransitionComponent", "TransitionProps"]);
|
|
129
133
|
var _useControlled = useControlled({
|
|
130
134
|
controlled: expandedProp,
|
|
131
135
|
default: defaultExpanded,
|
|
@@ -160,6 +164,24 @@ var Accordion = /*#__PURE__*/React.forwardRef(function Accordion(inProps, ref) {
|
|
|
160
164
|
expanded: expanded
|
|
161
165
|
});
|
|
162
166
|
var classes = useUtilityClasses(ownerState);
|
|
167
|
+
var backwardCompatibleSlots = _extends({
|
|
168
|
+
transition: TransitionComponentProp
|
|
169
|
+
}, slots);
|
|
170
|
+
var backwardCompatibleSlotProps = _extends({
|
|
171
|
+
transition: TransitionPropsProp
|
|
172
|
+
}, slotProps);
|
|
173
|
+
var _useSlot = useSlot('transition', {
|
|
174
|
+
elementType: Collapse,
|
|
175
|
+
externalForwardedProps: {
|
|
176
|
+
slots: backwardCompatibleSlots,
|
|
177
|
+
slotProps: backwardCompatibleSlotProps
|
|
178
|
+
},
|
|
179
|
+
ownerState: ownerState
|
|
180
|
+
}),
|
|
181
|
+
_useSlot2 = _slicedToArray(_useSlot, 2),
|
|
182
|
+
TransitionSlot = _useSlot2[0],
|
|
183
|
+
transitionProps = _useSlot2[1];
|
|
184
|
+
delete transitionProps.ownerState;
|
|
163
185
|
return /*#__PURE__*/_jsxs(AccordionRoot, _extends({
|
|
164
186
|
className: clsx(classes.root, className),
|
|
165
187
|
ref: ref,
|
|
@@ -169,10 +191,10 @@ var Accordion = /*#__PURE__*/React.forwardRef(function Accordion(inProps, ref) {
|
|
|
169
191
|
children: [/*#__PURE__*/_jsx(AccordionContext.Provider, {
|
|
170
192
|
value: contextValue,
|
|
171
193
|
children: summary
|
|
172
|
-
}), /*#__PURE__*/_jsx(
|
|
194
|
+
}), /*#__PURE__*/_jsx(TransitionSlot, _extends({
|
|
173
195
|
in: expanded,
|
|
174
196
|
timeout: "auto"
|
|
175
|
-
},
|
|
197
|
+
}, transitionProps, {
|
|
176
198
|
children: /*#__PURE__*/_jsx("div", {
|
|
177
199
|
"aria-labelledby": summary.props.id,
|
|
178
200
|
id: summary.props['aria-controls'],
|
|
@@ -184,10 +206,10 @@ var Accordion = /*#__PURE__*/React.forwardRef(function Accordion(inProps, ref) {
|
|
|
184
206
|
}));
|
|
185
207
|
});
|
|
186
208
|
process.env.NODE_ENV !== "production" ? Accordion.propTypes /* remove-proptypes */ = {
|
|
187
|
-
//
|
|
188
|
-
//
|
|
189
|
-
//
|
|
190
|
-
//
|
|
209
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
210
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
211
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
212
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
191
213
|
/**
|
|
192
214
|
* The content of the component.
|
|
193
215
|
*/
|
|
@@ -236,6 +258,20 @@ process.env.NODE_ENV !== "production" ? Accordion.propTypes /* remove-proptypes
|
|
|
236
258
|
* @param {boolean} expanded The `expanded` state of the accordion.
|
|
237
259
|
*/
|
|
238
260
|
onChange: PropTypes.func,
|
|
261
|
+
/**
|
|
262
|
+
* The props used for each slot inside.
|
|
263
|
+
* @default {}
|
|
264
|
+
*/
|
|
265
|
+
slotProps: PropTypes.shape({
|
|
266
|
+
transition: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
267
|
+
}),
|
|
268
|
+
/**
|
|
269
|
+
* The components used for each slot inside.
|
|
270
|
+
* @default {}
|
|
271
|
+
*/
|
|
272
|
+
slots: PropTypes.shape({
|
|
273
|
+
transition: PropTypes.elementType
|
|
274
|
+
}),
|
|
239
275
|
/**
|
|
240
276
|
* If `true`, rounded corners are disabled.
|
|
241
277
|
* @default false
|
|
@@ -248,12 +284,13 @@ process.env.NODE_ENV !== "production" ? Accordion.propTypes /* remove-proptypes
|
|
|
248
284
|
/**
|
|
249
285
|
* The component used for the transition.
|
|
250
286
|
* [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
251
|
-
* @
|
|
287
|
+
* @deprecated Use `slots.transition` instead. This prop will be removed in v7.
|
|
252
288
|
*/
|
|
253
289
|
TransitionComponent: PropTypes.elementType,
|
|
254
290
|
/**
|
|
255
291
|
* Props applied to the transition element.
|
|
256
292
|
* By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
|
|
293
|
+
* @deprecated Use `slotProps.transition` instead. This prop will be removed in v7.
|
|
257
294
|
*/
|
|
258
295
|
TransitionProps: PropTypes.object
|
|
259
296
|
} : void 0;
|
|
@@ -58,10 +58,10 @@ var AccordionActions = /*#__PURE__*/React.forwardRef(function AccordionActions(i
|
|
|
58
58
|
}, other));
|
|
59
59
|
});
|
|
60
60
|
process.env.NODE_ENV !== "production" ? AccordionActions.propTypes /* remove-proptypes */ = {
|
|
61
|
-
//
|
|
62
|
-
//
|
|
63
|
-
//
|
|
64
|
-
//
|
|
61
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
62
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
63
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
64
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
65
65
|
/**
|
|
66
66
|
* The content of the component.
|
|
67
67
|
*/
|
|
@@ -45,10 +45,10 @@ var AccordionDetails = /*#__PURE__*/React.forwardRef(function AccordionDetails(i
|
|
|
45
45
|
}, other));
|
|
46
46
|
});
|
|
47
47
|
process.env.NODE_ENV !== "production" ? AccordionDetails.propTypes /* remove-proptypes */ = {
|
|
48
|
-
//
|
|
49
|
-
//
|
|
50
|
-
//
|
|
51
|
-
//
|
|
48
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
49
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
50
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
51
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
52
52
|
/**
|
|
53
53
|
* The content of the component.
|
|
54
54
|
*/
|
|
@@ -149,10 +149,10 @@ var AccordionSummary = /*#__PURE__*/React.forwardRef(function AccordionSummary(i
|
|
|
149
149
|
}));
|
|
150
150
|
});
|
|
151
151
|
process.env.NODE_ENV !== "production" ? AccordionSummary.propTypes /* remove-proptypes */ = {
|
|
152
|
-
//
|
|
153
|
-
//
|
|
154
|
-
//
|
|
155
|
-
//
|
|
152
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
153
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
154
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
155
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
156
156
|
/**
|
|
157
157
|
* The content of the component.
|
|
158
158
|
*/
|
package/legacy/Alert/Alert.js
CHANGED
|
@@ -204,10 +204,10 @@ var Alert = /*#__PURE__*/React.forwardRef(function Alert(inProps, ref) {
|
|
|
204
204
|
}));
|
|
205
205
|
});
|
|
206
206
|
process.env.NODE_ENV !== "production" ? Alert.propTypes /* remove-proptypes */ = {
|
|
207
|
-
//
|
|
208
|
-
//
|
|
209
|
-
//
|
|
210
|
-
//
|
|
207
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
208
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
209
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
210
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
211
211
|
/**
|
|
212
212
|
* The action to display. It renders after the message, at the end of the alert.
|
|
213
213
|
*/
|
|
@@ -295,7 +295,7 @@ process.env.NODE_ENV !== "production" ? Alert.propTypes /* remove-proptypes */ =
|
|
|
295
295
|
* The severity of the alert. This defines the color and icon used.
|
|
296
296
|
* @default 'success'
|
|
297
297
|
*/
|
|
298
|
-
severity: PropTypes.oneOf(['error', 'info', 'success', 'warning']),
|
|
298
|
+
severity: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'success', 'warning']), PropTypes.string]),
|
|
299
299
|
/**
|
|
300
300
|
* The extra props for the slot components.
|
|
301
301
|
* You can override the existing props or add new ones.
|
|
@@ -49,10 +49,10 @@ var AlertTitle = /*#__PURE__*/React.forwardRef(function AlertTitle(inProps, ref)
|
|
|
49
49
|
}, other));
|
|
50
50
|
});
|
|
51
51
|
process.env.NODE_ENV !== "production" ? AlertTitle.propTypes /* remove-proptypes */ = {
|
|
52
|
-
//
|
|
53
|
-
//
|
|
54
|
-
//
|
|
55
|
-
//
|
|
52
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
53
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
54
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
55
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
56
56
|
/**
|
|
57
57
|
* The content of the component.
|
|
58
58
|
*/
|
package/legacy/AppBar/AppBar.js
CHANGED
|
@@ -132,10 +132,10 @@ var AppBar = /*#__PURE__*/React.forwardRef(function AppBar(inProps, ref) {
|
|
|
132
132
|
}, other));
|
|
133
133
|
});
|
|
134
134
|
process.env.NODE_ENV !== "production" ? AppBar.propTypes /* remove-proptypes */ = {
|
|
135
|
-
//
|
|
136
|
-
//
|
|
137
|
-
//
|
|
138
|
-
//
|
|
135
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
136
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
137
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
138
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
139
139
|
/**
|
|
140
140
|
* The content of the component.
|
|
141
141
|
*/
|
|
@@ -666,10 +666,10 @@ var Autocomplete = /*#__PURE__*/React.forwardRef(function Autocomplete(inProps,
|
|
|
666
666
|
});
|
|
667
667
|
});
|
|
668
668
|
process.env.NODE_ENV !== "production" ? Autocomplete.propTypes /* remove-proptypes */ = {
|
|
669
|
-
//
|
|
670
|
-
//
|
|
671
|
-
//
|
|
672
|
-
//
|
|
669
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
670
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
671
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
672
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
673
673
|
/**
|
|
674
674
|
* If `true`, the portion of the selected suggestion that the user hasn't typed,
|
|
675
675
|
* known as the completion string, appears inline after the input cursor in the textbox.
|
package/legacy/Avatar/Avatar.js
CHANGED
|
@@ -185,10 +185,10 @@ var Avatar = /*#__PURE__*/React.forwardRef(function Avatar(inProps, ref) {
|
|
|
185
185
|
}));
|
|
186
186
|
});
|
|
187
187
|
process.env.NODE_ENV !== "production" ? Avatar.propTypes /* remove-proptypes */ = {
|
|
188
|
-
//
|
|
189
|
-
//
|
|
190
|
-
//
|
|
191
|
-
//
|
|
188
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
189
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
190
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
191
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
192
192
|
/**
|
|
193
193
|
* Used in combination with `src` or `srcSet` to
|
|
194
194
|
* provide an alt attribute for the rendered `img` element.
|
|
@@ -139,10 +139,10 @@ var AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps, re
|
|
|
139
139
|
}));
|
|
140
140
|
});
|
|
141
141
|
process.env.NODE_ENV !== "production" ? AvatarGroup.propTypes /* remove-proptypes */ = {
|
|
142
|
-
//
|
|
143
|
-
//
|
|
144
|
-
//
|
|
145
|
-
//
|
|
142
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
143
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
144
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
145
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
146
146
|
/**
|
|
147
147
|
* The avatars to stack.
|
|
148
148
|
*/
|
|
@@ -91,10 +91,10 @@ var Backdrop = /*#__PURE__*/React.forwardRef(function Backdrop(inProps, ref) {
|
|
|
91
91
|
}));
|
|
92
92
|
});
|
|
93
93
|
process.env.NODE_ENV !== "production" ? Backdrop.propTypes /* remove-proptypes */ = {
|
|
94
|
-
//
|
|
95
|
-
//
|
|
96
|
-
//
|
|
97
|
-
//
|
|
94
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
95
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
96
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
97
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
98
98
|
/**
|
|
99
99
|
* The content of the component.
|
|
100
100
|
*/
|
package/legacy/Badge/Badge.js
CHANGED
|
@@ -11,7 +11,7 @@ import { usePreviousProps } from '@mui/utils';
|
|
|
11
11
|
import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses';
|
|
12
12
|
import { useBadge } from '@mui/base/useBadge';
|
|
13
13
|
import { useSlotProps } from '@mui/base';
|
|
14
|
-
import styled from '../
|
|
14
|
+
import { styled } from '../zero-styled';
|
|
15
15
|
import useThemeProps from '../styles/useThemeProps';
|
|
16
16
|
import capitalize from '../utils/capitalize';
|
|
17
17
|
import badgeClasses, { getBadgeUtilityClass } from './badgeClasses';
|
|
@@ -324,10 +324,10 @@ var Badge = /*#__PURE__*/React.forwardRef(function Badge(inProps, ref) {
|
|
|
324
324
|
}));
|
|
325
325
|
});
|
|
326
326
|
process.env.NODE_ENV !== "production" ? Badge.propTypes /* remove-proptypes */ = {
|
|
327
|
-
//
|
|
328
|
-
//
|
|
329
|
-
//
|
|
330
|
-
//
|
|
327
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
328
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
329
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
330
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
331
331
|
/**
|
|
332
332
|
* The anchor of the badge.
|
|
333
333
|
* @default {
|
|
@@ -78,10 +78,10 @@ var BottomNavigation = /*#__PURE__*/React.forwardRef(function BottomNavigation(i
|
|
|
78
78
|
}));
|
|
79
79
|
});
|
|
80
80
|
process.env.NODE_ENV !== "production" ? BottomNavigation.propTypes /* remove-proptypes */ = {
|
|
81
|
-
//
|
|
82
|
-
//
|
|
83
|
-
//
|
|
84
|
-
//
|
|
81
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
82
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
83
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
84
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
85
85
|
/**
|
|
86
86
|
* The content of the component.
|
|
87
87
|
*/
|
|
@@ -113,10 +113,10 @@ var BottomNavigationAction = /*#__PURE__*/React.forwardRef(function BottomNaviga
|
|
|
113
113
|
}));
|
|
114
114
|
});
|
|
115
115
|
process.env.NODE_ENV !== "production" ? BottomNavigationAction.propTypes /* remove-proptypes */ = {
|
|
116
|
-
//
|
|
117
|
-
//
|
|
118
|
-
//
|
|
119
|
-
//
|
|
116
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
117
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
118
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
119
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
120
120
|
/**
|
|
121
121
|
* This prop isn't supported.
|
|
122
122
|
* Use the `component` prop if you need to change the children structure.
|
package/legacy/Box/Box.js
CHANGED
|
@@ -14,10 +14,10 @@ var Box = createBox({
|
|
|
14
14
|
generateClassName: ClassNameGenerator.generate
|
|
15
15
|
});
|
|
16
16
|
process.env.NODE_ENV !== "production" ? Box.propTypes /* remove-proptypes */ = {
|
|
17
|
-
//
|
|
18
|
-
//
|
|
19
|
-
//
|
|
20
|
-
//
|
|
17
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
18
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
19
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
20
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
21
21
|
/**
|
|
22
22
|
* @ignore
|
|
23
23
|
*/
|
|
@@ -179,10 +179,10 @@ var Breadcrumbs = /*#__PURE__*/React.forwardRef(function Breadcrumbs(inProps, re
|
|
|
179
179
|
}));
|
|
180
180
|
});
|
|
181
181
|
process.env.NODE_ENV !== "production" ? Breadcrumbs.propTypes /* remove-proptypes */ = {
|
|
182
|
-
//
|
|
183
|
-
//
|
|
184
|
-
//
|
|
185
|
-
//
|
|
182
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
183
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
184
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
185
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
186
186
|
/**
|
|
187
187
|
* The content of the component.
|
|
188
188
|
*/
|
package/legacy/Button/Button.js
CHANGED
|
@@ -282,10 +282,10 @@ var Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
|
|
|
282
282
|
}));
|
|
283
283
|
});
|
|
284
284
|
process.env.NODE_ENV !== "production" ? Button.propTypes /* remove-proptypes */ = {
|
|
285
|
-
//
|
|
286
|
-
//
|
|
287
|
-
//
|
|
288
|
-
//
|
|
285
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
286
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
287
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
288
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
289
289
|
/**
|
|
290
290
|
* The content of the component.
|
|
291
291
|
*/
|
|
@@ -327,10 +327,10 @@ var ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, ref)
|
|
|
327
327
|
}));
|
|
328
328
|
});
|
|
329
329
|
process.env.NODE_ENV !== "production" ? ButtonBase.propTypes /* remove-proptypes */ = {
|
|
330
|
-
//
|
|
331
|
-
//
|
|
332
|
-
//
|
|
333
|
-
//
|
|
330
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
331
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
332
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
333
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
334
334
|
/**
|
|
335
335
|
* A ref for imperative actions.
|
|
336
336
|
* It currently only supports `focusVisible()` action.
|
|
@@ -199,10 +199,10 @@ var ButtonGroup = /*#__PURE__*/React.forwardRef(function ButtonGroup(inProps, re
|
|
|
199
199
|
}));
|
|
200
200
|
});
|
|
201
201
|
process.env.NODE_ENV !== "production" ? ButtonGroup.propTypes /* remove-proptypes */ = {
|
|
202
|
-
//
|
|
203
|
-
//
|
|
204
|
-
//
|
|
205
|
-
//
|
|
202
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
203
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
204
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
205
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
206
206
|
/**
|
|
207
207
|
* The content of the component.
|
|
208
208
|
*/
|
package/legacy/Card/Card.js
CHANGED
|
@@ -51,10 +51,10 @@ var Card = /*#__PURE__*/React.forwardRef(function Card(inProps, ref) {
|
|
|
51
51
|
}, other));
|
|
52
52
|
});
|
|
53
53
|
process.env.NODE_ENV !== "production" ? Card.propTypes /* remove-proptypes */ = {
|
|
54
|
-
//
|
|
55
|
-
//
|
|
56
|
-
//
|
|
57
|
-
//
|
|
54
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
55
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
56
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
57
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
58
58
|
/**
|
|
59
59
|
* The content of the component.
|
|
60
60
|
*/
|
|
@@ -92,10 +92,10 @@ var CardActionArea = /*#__PURE__*/React.forwardRef(function CardActionArea(inPro
|
|
|
92
92
|
}));
|
|
93
93
|
});
|
|
94
94
|
process.env.NODE_ENV !== "production" ? CardActionArea.propTypes /* remove-proptypes */ = {
|
|
95
|
-
//
|
|
96
|
-
//
|
|
97
|
-
//
|
|
98
|
-
//
|
|
95
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
96
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
97
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
98
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
99
99
|
/**
|
|
100
100
|
* The content of the component.
|
|
101
101
|
*/
|
|
@@ -57,10 +57,10 @@ var CardActions = /*#__PURE__*/React.forwardRef(function CardActions(inProps, re
|
|
|
57
57
|
}, other));
|
|
58
58
|
});
|
|
59
59
|
process.env.NODE_ENV !== "production" ? CardActions.propTypes /* remove-proptypes */ = {
|
|
60
|
-
//
|
|
61
|
-
//
|
|
62
|
-
//
|
|
63
|
-
//
|
|
60
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
61
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
62
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
63
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
64
64
|
/**
|
|
65
65
|
* The content of the component.
|
|
66
66
|
*/
|
|
@@ -52,10 +52,10 @@ var CardContent = /*#__PURE__*/React.forwardRef(function CardContent(inProps, re
|
|
|
52
52
|
}, other));
|
|
53
53
|
});
|
|
54
54
|
process.env.NODE_ENV !== "production" ? CardContent.propTypes /* remove-proptypes */ = {
|
|
55
|
-
//
|
|
56
|
-
//
|
|
57
|
-
//
|
|
58
|
-
//
|
|
55
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
56
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
57
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
58
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
59
59
|
/**
|
|
60
60
|
* The content of the component.
|
|
61
61
|
*/
|
|
@@ -136,10 +136,10 @@ var CardHeader = /*#__PURE__*/React.forwardRef(function CardHeader(inProps, ref)
|
|
|
136
136
|
}));
|
|
137
137
|
});
|
|
138
138
|
process.env.NODE_ENV !== "production" ? CardHeader.propTypes /* remove-proptypes */ = {
|
|
139
|
-
//
|
|
140
|
-
//
|
|
141
|
-
//
|
|
142
|
-
//
|
|
139
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
140
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
141
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
142
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
143
143
|
/**
|
|
144
144
|
* The action to display in the card header.
|
|
145
145
|
*/
|
|
@@ -81,10 +81,10 @@ var CardMedia = /*#__PURE__*/React.forwardRef(function CardMedia(inProps, ref) {
|
|
|
81
81
|
}));
|
|
82
82
|
});
|
|
83
83
|
process.env.NODE_ENV !== "production" ? CardMedia.propTypes /* remove-proptypes */ = {
|
|
84
|
-
//
|
|
85
|
-
//
|
|
86
|
-
//
|
|
87
|
-
//
|
|
84
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
85
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
86
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
87
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
88
88
|
/**
|
|
89
89
|
* The content of the component.
|
|
90
90
|
*/
|
|
@@ -109,10 +109,10 @@ var Checkbox = /*#__PURE__*/React.forwardRef(function Checkbox(inProps, ref) {
|
|
|
109
109
|
}));
|
|
110
110
|
});
|
|
111
111
|
process.env.NODE_ENV !== "production" ? Checkbox.propTypes /* remove-proptypes */ = {
|
|
112
|
-
//
|
|
113
|
-
//
|
|
114
|
-
//
|
|
115
|
-
//
|
|
112
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
113
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
114
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
115
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
116
116
|
/**
|
|
117
117
|
* If `true`, the component is checked.
|
|
118
118
|
*/
|