@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
|
@@ -181,10 +181,10 @@ const OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inPro
|
|
|
181
181
|
}));
|
|
182
182
|
});
|
|
183
183
|
process.env.NODE_ENV !== "production" ? OutlinedInput.propTypes /* remove-proptypes */ = {
|
|
184
|
-
//
|
|
185
|
-
//
|
|
186
|
-
//
|
|
187
|
-
//
|
|
184
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
185
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
186
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
187
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
188
188
|
/**
|
|
189
189
|
* This prop helps users to fill forms faster, especially on mobile devices.
|
|
190
190
|
* The name can be confusing, as it's more like an autofill.
|
|
@@ -125,10 +125,10 @@ const Pagination = /*#__PURE__*/React.forwardRef(function Pagination(inProps, re
|
|
|
125
125
|
// @default tags synced with default values from usePagination
|
|
126
126
|
|
|
127
127
|
process.env.NODE_ENV !== "production" ? Pagination.propTypes /* remove-proptypes */ = {
|
|
128
|
-
//
|
|
129
|
-
//
|
|
130
|
-
//
|
|
131
|
-
//
|
|
128
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
129
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
130
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
131
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
132
132
|
/**
|
|
133
133
|
* Number of always visible pages at the beginning and end.
|
|
134
134
|
* @default 1
|
|
@@ -268,10 +268,10 @@ const PaginationItem = /*#__PURE__*/React.forwardRef(function PaginationItem(inP
|
|
|
268
268
|
}));
|
|
269
269
|
});
|
|
270
270
|
process.env.NODE_ENV !== "production" ? PaginationItem.propTypes /* remove-proptypes */ = {
|
|
271
|
-
//
|
|
272
|
-
//
|
|
273
|
-
//
|
|
274
|
-
//
|
|
271
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
272
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
273
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
274
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
275
275
|
/**
|
|
276
276
|
* @ignore
|
|
277
277
|
*/
|
package/modern/Paper/Paper.js
CHANGED
|
@@ -89,10 +89,10 @@ const Paper = /*#__PURE__*/React.forwardRef(function Paper(inProps, ref) {
|
|
|
89
89
|
}, other));
|
|
90
90
|
});
|
|
91
91
|
process.env.NODE_ENV !== "production" ? Paper.propTypes /* remove-proptypes */ = {
|
|
92
|
-
//
|
|
93
|
-
//
|
|
94
|
-
//
|
|
95
|
-
//
|
|
92
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
93
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
94
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
95
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
96
96
|
/**
|
|
97
97
|
* The content of the component.
|
|
98
98
|
*/
|
|
@@ -351,10 +351,10 @@ const Popover = /*#__PURE__*/React.forwardRef(function Popover(inProps, ref) {
|
|
|
351
351
|
}));
|
|
352
352
|
});
|
|
353
353
|
process.env.NODE_ENV !== "production" ? Popover.propTypes /* remove-proptypes */ = {
|
|
354
|
-
//
|
|
355
|
-
//
|
|
356
|
-
//
|
|
357
|
-
//
|
|
354
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
355
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
356
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
357
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
358
358
|
/**
|
|
359
359
|
* A ref for imperative actions.
|
|
360
360
|
* It currently only supports updatePosition() action.
|
package/modern/Popper/Popper.js
CHANGED
|
@@ -77,10 +77,10 @@ const Popper = /*#__PURE__*/React.forwardRef(function Popper(inProps, ref) {
|
|
|
77
77
|
}));
|
|
78
78
|
});
|
|
79
79
|
process.env.NODE_ENV !== "production" ? Popper.propTypes /* remove-proptypes */ = {
|
|
80
|
-
//
|
|
81
|
-
//
|
|
82
|
-
//
|
|
83
|
-
//
|
|
80
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
81
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
82
|
+
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
83
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
84
84
|
/**
|
|
85
85
|
* An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
|
|
86
86
|
* or a function that returns either.
|
package/modern/Radio/Radio.js
CHANGED
|
@@ -124,10 +124,10 @@ const Radio = /*#__PURE__*/React.forwardRef(function Radio(inProps, ref) {
|
|
|
124
124
|
}, other));
|
|
125
125
|
});
|
|
126
126
|
process.env.NODE_ENV !== "production" ? Radio.propTypes /* remove-proptypes */ = {
|
|
127
|
-
//
|
|
128
|
-
//
|
|
129
|
-
//
|
|
130
|
-
//
|
|
127
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
128
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
129
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
130
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
131
131
|
/**
|
|
132
132
|
* If `true`, the component is checked.
|
|
133
133
|
*/
|
|
@@ -63,10 +63,10 @@ const RadioGroup = /*#__PURE__*/React.forwardRef(function RadioGroup(props, ref)
|
|
|
63
63
|
});
|
|
64
64
|
});
|
|
65
65
|
process.env.NODE_ENV !== "production" ? RadioGroup.propTypes /* remove-proptypes */ = {
|
|
66
|
-
//
|
|
67
|
-
//
|
|
68
|
-
//
|
|
69
|
-
//
|
|
66
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
67
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
68
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
69
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
70
70
|
/**
|
|
71
71
|
* The content of the component.
|
|
72
72
|
*/
|
package/modern/Rating/Rating.js
CHANGED
|
@@ -7,7 +7,7 @@ const _excluded = ["value"],
|
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import clsx from 'clsx';
|
|
10
|
-
import { chainPropTypes, visuallyHidden } from '@mui/utils';
|
|
10
|
+
import { chainPropTypes, visuallyHidden, clamp } from '@mui/utils';
|
|
11
11
|
import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses';
|
|
12
12
|
import useTheme from '../styles/useTheme';
|
|
13
13
|
import { capitalize, useForkRef, useIsFocusVisible, useControlled, unstable_useId as useId } from '../utils';
|
|
@@ -18,15 +18,6 @@ import styled, { slotShouldForwardProp } from '../styles/styled';
|
|
|
18
18
|
import ratingClasses, { getRatingUtilityClass } from './ratingClasses';
|
|
19
19
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
20
20
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
21
|
-
function clamp(value, min, max) {
|
|
22
|
-
if (value < min) {
|
|
23
|
-
return min;
|
|
24
|
-
}
|
|
25
|
-
if (value > max) {
|
|
26
|
-
return max;
|
|
27
|
-
}
|
|
28
|
-
return value;
|
|
29
|
-
}
|
|
30
21
|
function getDecimalPrecision(num) {
|
|
31
22
|
const decimalPart = num.toString().split('.')[1];
|
|
32
23
|
return decimalPart ? decimalPart.length : 0;
|
|
@@ -520,10 +511,10 @@ const Rating = /*#__PURE__*/React.forwardRef(function Rating(inProps, ref) {
|
|
|
520
511
|
}));
|
|
521
512
|
});
|
|
522
513
|
process.env.NODE_ENV !== "production" ? Rating.propTypes /* remove-proptypes */ = {
|
|
523
|
-
//
|
|
524
|
-
//
|
|
525
|
-
//
|
|
526
|
-
//
|
|
514
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
515
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
516
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
517
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
527
518
|
/**
|
|
528
519
|
* Override or extend the styles applied to the component.
|
|
529
520
|
*/
|
|
@@ -68,10 +68,10 @@ const ScopedCssBaseline = /*#__PURE__*/React.forwardRef(function ScopedCssBaseli
|
|
|
68
68
|
}, other));
|
|
69
69
|
});
|
|
70
70
|
process.env.NODE_ENV !== "production" ? ScopedCssBaseline.propTypes /* remove-proptypes */ = {
|
|
71
|
-
//
|
|
72
|
-
//
|
|
73
|
-
//
|
|
74
|
-
//
|
|
71
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
72
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
73
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
74
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
75
75
|
/**
|
|
76
76
|
* The content of the component.
|
|
77
77
|
*/
|
package/modern/Select/Select.js
CHANGED
|
@@ -133,10 +133,10 @@ const Select = /*#__PURE__*/React.forwardRef(function Select(inProps, ref) {
|
|
|
133
133
|
});
|
|
134
134
|
});
|
|
135
135
|
process.env.NODE_ENV !== "production" ? Select.propTypes /* remove-proptypes */ = {
|
|
136
|
-
//
|
|
137
|
-
//
|
|
138
|
-
//
|
|
139
|
-
//
|
|
136
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
137
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
138
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
139
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
140
140
|
/**
|
|
141
141
|
* If `true`, the width of the popover will automatically be set according to the items inside the
|
|
142
142
|
* menu, otherwise it will be at least the width of the select input.
|
|
@@ -163,10 +163,10 @@ const Skeleton = /*#__PURE__*/React.forwardRef(function Skeleton(inProps, ref) {
|
|
|
163
163
|
}));
|
|
164
164
|
});
|
|
165
165
|
process.env.NODE_ENV !== "production" ? Skeleton.propTypes /* remove-proptypes */ = {
|
|
166
|
-
//
|
|
167
|
-
//
|
|
168
|
-
//
|
|
169
|
-
//
|
|
166
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
167
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
168
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
169
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
170
170
|
/**
|
|
171
171
|
* The animation.
|
|
172
172
|
* If `false` the animation effect is disabled.
|
package/modern/Slide/Slide.js
CHANGED
|
@@ -224,10 +224,10 @@ const Slide = /*#__PURE__*/React.forwardRef(function Slide(props, ref) {
|
|
|
224
224
|
}));
|
|
225
225
|
});
|
|
226
226
|
process.env.NODE_ENV !== "production" ? Slide.propTypes /* remove-proptypes */ = {
|
|
227
|
-
//
|
|
228
|
-
//
|
|
229
|
-
//
|
|
230
|
-
//
|
|
227
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
228
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
229
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
230
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
231
231
|
/**
|
|
232
232
|
* Add a custom transition end trigger. Called with the transitioning DOM
|
|
233
233
|
* node and a done callback. Allows for more fine grained transition end
|
package/modern/Slider/Slider.js
CHANGED
|
@@ -579,10 +579,10 @@ const Slider = /*#__PURE__*/React.forwardRef(function Slider(inputProps, ref) {
|
|
|
579
579
|
}));
|
|
580
580
|
});
|
|
581
581
|
process.env.NODE_ENV !== "production" ? Slider.propTypes /* remove-proptypes */ = {
|
|
582
|
-
//
|
|
583
|
-
//
|
|
584
|
-
//
|
|
585
|
-
//
|
|
582
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
583
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
584
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
585
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
586
586
|
/**
|
|
587
587
|
* The label of the slider.
|
|
588
588
|
*/
|
|
@@ -175,10 +175,10 @@ const Snackbar = /*#__PURE__*/React.forwardRef(function Snackbar(inProps, ref) {
|
|
|
175
175
|
}));
|
|
176
176
|
});
|
|
177
177
|
process.env.NODE_ENV !== "production" ? Snackbar.propTypes /* remove-proptypes */ = {
|
|
178
|
-
//
|
|
179
|
-
//
|
|
180
|
-
//
|
|
181
|
-
//
|
|
178
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
179
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
180
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
181
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
182
182
|
/**
|
|
183
183
|
* The action to display. It renders after the message, at the end of the snackbar.
|
|
184
184
|
*/
|
|
@@ -101,10 +101,10 @@ const SnackbarContent = /*#__PURE__*/React.forwardRef(function SnackbarContent(i
|
|
|
101
101
|
}));
|
|
102
102
|
});
|
|
103
103
|
process.env.NODE_ENV !== "production" ? SnackbarContent.propTypes /* remove-proptypes */ = {
|
|
104
|
-
//
|
|
105
|
-
//
|
|
106
|
-
//
|
|
107
|
-
//
|
|
104
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
105
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
106
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
107
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
108
108
|
/**
|
|
109
109
|
* The action to display. It renders after the message, at the end of the snackbar.
|
|
110
110
|
*/
|
|
@@ -10,6 +10,7 @@ import { isFragment } from 'react-is';
|
|
|
10
10
|
import PropTypes from 'prop-types';
|
|
11
11
|
import clsx from 'clsx';
|
|
12
12
|
import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses';
|
|
13
|
+
import { clamp } from '@mui/utils';
|
|
13
14
|
import styled from '../styles/styled';
|
|
14
15
|
import useThemeProps from '../styles/useThemeProps';
|
|
15
16
|
import useTheme from '../styles/useTheme';
|
|
@@ -44,15 +45,6 @@ function getOrientation(direction) {
|
|
|
44
45
|
}
|
|
45
46
|
return undefined;
|
|
46
47
|
}
|
|
47
|
-
function clamp(value, min, max) {
|
|
48
|
-
if (value < min) {
|
|
49
|
-
return min;
|
|
50
|
-
}
|
|
51
|
-
if (value > max) {
|
|
52
|
-
return max;
|
|
53
|
-
}
|
|
54
|
-
return value;
|
|
55
|
-
}
|
|
56
48
|
const dialRadius = 32;
|
|
57
49
|
const spacingActions = 16;
|
|
58
50
|
const SpeedDialRoot = styled('div', {
|
|
@@ -391,10 +383,10 @@ const SpeedDial = /*#__PURE__*/React.forwardRef(function SpeedDial(inProps, ref)
|
|
|
391
383
|
}));
|
|
392
384
|
});
|
|
393
385
|
process.env.NODE_ENV !== "production" ? SpeedDial.propTypes /* remove-proptypes */ = {
|
|
394
|
-
//
|
|
395
|
-
//
|
|
396
|
-
//
|
|
397
|
-
//
|
|
386
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
387
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
388
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
389
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
398
390
|
/**
|
|
399
391
|
* The aria-label of the button element.
|
|
400
392
|
* Also used to provide the `id` for the `SpeedDial` element and its children.
|
|
@@ -185,10 +185,10 @@ const SpeedDialAction = /*#__PURE__*/React.forwardRef(function SpeedDialAction(i
|
|
|
185
185
|
}));
|
|
186
186
|
});
|
|
187
187
|
process.env.NODE_ENV !== "production" ? SpeedDialAction.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
|
* Override or extend the styles applied to the component.
|
|
194
194
|
*/
|
|
@@ -103,10 +103,10 @@ const SpeedDialIcon = /*#__PURE__*/React.forwardRef(function SpeedDialIcon(inPro
|
|
|
103
103
|
}));
|
|
104
104
|
});
|
|
105
105
|
process.env.NODE_ENV !== "production" ? SpeedDialIcon.propTypes /* remove-proptypes */ = {
|
|
106
|
-
//
|
|
107
|
-
//
|
|
108
|
-
//
|
|
109
|
-
//
|
|
106
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
107
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
108
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
109
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
110
110
|
/**
|
|
111
111
|
* Override or extend the styles applied to the component.
|
|
112
112
|
*/
|
package/modern/Stack/Stack.js
CHANGED
|
@@ -16,10 +16,10 @@ const Stack = createStack({
|
|
|
16
16
|
})
|
|
17
17
|
});
|
|
18
18
|
process.env.NODE_ENV !== "production" ? Stack.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 d.ts file and run `pnpm proptypes`. │
|
|
22
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
23
23
|
/**
|
|
24
24
|
* The content of the component.
|
|
25
25
|
*/
|
package/modern/Step/Step.js
CHANGED
|
@@ -112,10 +112,10 @@ const Step = /*#__PURE__*/React.forwardRef(function Step(inProps, ref) {
|
|
|
112
112
|
});
|
|
113
113
|
});
|
|
114
114
|
process.env.NODE_ENV !== "production" ? Step.propTypes /* remove-proptypes */ = {
|
|
115
|
-
//
|
|
116
|
-
//
|
|
117
|
-
//
|
|
118
|
-
//
|
|
115
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
116
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
117
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
118
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
119
119
|
/**
|
|
120
120
|
* Sets the step as active. Is passed to child components.
|
|
121
121
|
*/
|
|
@@ -99,10 +99,10 @@ const StepButton = /*#__PURE__*/React.forwardRef(function StepButton(inProps, re
|
|
|
99
99
|
}));
|
|
100
100
|
});
|
|
101
101
|
process.env.NODE_ENV !== "production" ? StepButton.propTypes /* remove-proptypes */ = {
|
|
102
|
-
//
|
|
103
|
-
//
|
|
104
|
-
//
|
|
105
|
-
//
|
|
102
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
103
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
104
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
105
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
106
106
|
/**
|
|
107
107
|
* Can be a `StepLabel` or a node to place inside `StepLabel` as children.
|
|
108
108
|
*/
|
|
@@ -114,10 +114,10 @@ const StepConnector = /*#__PURE__*/React.forwardRef(function StepConnector(inPro
|
|
|
114
114
|
}));
|
|
115
115
|
});
|
|
116
116
|
process.env.NODE_ENV !== "production" ? StepConnector.propTypes /* remove-proptypes */ = {
|
|
117
|
-
//
|
|
118
|
-
//
|
|
119
|
-
//
|
|
120
|
-
//
|
|
117
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
118
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
119
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
120
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
121
121
|
/**
|
|
122
122
|
* Override or extend the styles applied to the component.
|
|
123
123
|
*/
|
|
@@ -104,10 +104,10 @@ const StepContent = /*#__PURE__*/React.forwardRef(function StepContent(inProps,
|
|
|
104
104
|
}));
|
|
105
105
|
});
|
|
106
106
|
process.env.NODE_ENV !== "production" ? StepContent.propTypes /* remove-proptypes */ = {
|
|
107
|
-
//
|
|
108
|
-
//
|
|
109
|
-
//
|
|
110
|
-
//
|
|
107
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
108
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
109
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
110
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
111
111
|
/**
|
|
112
112
|
* The content of the component.
|
|
113
113
|
*/
|
|
@@ -122,10 +122,10 @@ const StepIcon = /*#__PURE__*/React.forwardRef(function StepIcon(inProps, ref) {
|
|
|
122
122
|
return icon;
|
|
123
123
|
});
|
|
124
124
|
process.env.NODE_ENV !== "production" ? StepIcon.propTypes /* remove-proptypes */ = {
|
|
125
|
-
//
|
|
126
|
-
//
|
|
127
|
-
//
|
|
128
|
-
//
|
|
125
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
126
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
127
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
128
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
129
129
|
/**
|
|
130
130
|
* Whether this step is active.
|
|
131
131
|
* @default false
|
|
@@ -178,10 +178,10 @@ const StepLabel = /*#__PURE__*/React.forwardRef(function StepLabel(inProps, ref)
|
|
|
178
178
|
}));
|
|
179
179
|
});
|
|
180
180
|
process.env.NODE_ENV !== "production" ? StepLabel.propTypes /* remove-proptypes */ = {
|
|
181
|
-
//
|
|
182
|
-
//
|
|
183
|
-
//
|
|
184
|
-
//
|
|
181
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
182
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
183
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
184
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
185
185
|
/**
|
|
186
186
|
* In most cases will simply be a string containing a title for the label.
|
|
187
187
|
*/
|
|
@@ -96,10 +96,10 @@ const Stepper = /*#__PURE__*/React.forwardRef(function Stepper(inProps, ref) {
|
|
|
96
96
|
});
|
|
97
97
|
});
|
|
98
98
|
process.env.NODE_ENV !== "production" ? Stepper.propTypes /* remove-proptypes */ = {
|
|
99
|
-
//
|
|
100
|
-
//
|
|
101
|
-
//
|
|
102
|
-
//
|
|
99
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
100
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
101
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
102
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
103
103
|
/**
|
|
104
104
|
* Set the active step (zero based index).
|
|
105
105
|
* Set to -1 to disable all the steps.
|
|
@@ -109,10 +109,10 @@ const SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
|
|
|
109
109
|
}));
|
|
110
110
|
});
|
|
111
111
|
process.env.NODE_ENV !== "production" ? SvgIcon.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
|
* Node passed into the SVG element.
|
|
118
118
|
*/
|
|
@@ -485,10 +485,10 @@ const SwipeableDrawer = /*#__PURE__*/React.forwardRef(function SwipeableDrawer(i
|
|
|
485
485
|
});
|
|
486
486
|
});
|
|
487
487
|
process.env.NODE_ENV !== "production" ? SwipeableDrawer.propTypes /* remove-proptypes */ = {
|
|
488
|
-
//
|
|
489
|
-
//
|
|
490
|
-
//
|
|
491
|
-
//
|
|
488
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
489
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
490
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
491
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
492
492
|
/**
|
|
493
493
|
* If set to true, the swipe event will open the drawer even if the user begins the swipe on one of the drawer's children.
|
|
494
494
|
* This can be useful in scenarios where the drawer is partially visible.
|
package/modern/Switch/Switch.js
CHANGED
|
@@ -223,10 +223,10 @@ const Switch = /*#__PURE__*/React.forwardRef(function Switch(inProps, ref) {
|
|
|
223
223
|
});
|
|
224
224
|
});
|
|
225
225
|
process.env.NODE_ENV !== "production" ? Switch.propTypes /* remove-proptypes */ = {
|
|
226
|
-
//
|
|
227
|
-
//
|
|
228
|
-
//
|
|
229
|
-
//
|
|
226
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
227
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
228
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
229
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
230
230
|
/**
|
|
231
231
|
* If `true`, the component is checked.
|
|
232
232
|
*/
|
package/modern/Tab/Tab.js
CHANGED
|
@@ -184,10 +184,10 @@ const Tab = /*#__PURE__*/React.forwardRef(function Tab(inProps, ref) {
|
|
|
184
184
|
}));
|
|
185
185
|
});
|
|
186
186
|
process.env.NODE_ENV !== "production" ? Tab.propTypes /* remove-proptypes */ = {
|
|
187
|
-
//
|
|
188
|
-
//
|
|
189
|
-
//
|
|
190
|
-
//
|
|
187
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
188
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
189
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
190
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
191
191
|
/**
|
|
192
192
|
* This prop isn't supported.
|
|
193
193
|
* Use the `component` prop if you need to change the children structure.
|
|
@@ -100,10 +100,10 @@ const TabScrollButton = /*#__PURE__*/React.forwardRef(function TabScrollButton(i
|
|
|
100
100
|
}));
|
|
101
101
|
});
|
|
102
102
|
process.env.NODE_ENV !== "production" ? TabScrollButton.propTypes /* remove-proptypes */ = {
|
|
103
|
-
//
|
|
104
|
-
//
|
|
105
|
-
//
|
|
106
|
-
//
|
|
103
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
104
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
105
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
106
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
107
107
|
/**
|
|
108
108
|
* The content of the component.
|
|
109
109
|
*/
|