@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
|
@@ -484,10 +484,10 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
484
484
|
});
|
|
485
485
|
});
|
|
486
486
|
process.env.NODE_ENV !== "production" ? InputBase.propTypes /* remove-proptypes */ = {
|
|
487
|
-
//
|
|
488
|
-
//
|
|
489
|
-
//
|
|
490
|
-
//
|
|
487
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
488
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
489
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
490
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
491
491
|
/**
|
|
492
492
|
* @ignore
|
|
493
493
|
*/
|
|
@@ -155,10 +155,10 @@ const InputLabel = /*#__PURE__*/React.forwardRef(function InputLabel(inProps, re
|
|
|
155
155
|
}));
|
|
156
156
|
});
|
|
157
157
|
process.env.NODE_ENV !== "production" ? InputLabel.propTypes /* remove-proptypes */ = {
|
|
158
|
-
//
|
|
159
|
-
//
|
|
160
|
-
//
|
|
161
|
-
//
|
|
158
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
159
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
160
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
161
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
162
162
|
/**
|
|
163
163
|
* The content of the component.
|
|
164
164
|
*/
|
|
@@ -307,10 +307,10 @@ const LinearProgress = /*#__PURE__*/React.forwardRef(function LinearProgress(inP
|
|
|
307
307
|
}));
|
|
308
308
|
});
|
|
309
309
|
process.env.NODE_ENV !== "production" ? LinearProgress.propTypes /* remove-proptypes */ = {
|
|
310
|
-
//
|
|
311
|
-
//
|
|
312
|
-
//
|
|
313
|
-
//
|
|
310
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
311
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
312
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
313
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
314
314
|
/**
|
|
315
315
|
* Override or extend the styles applied to the component.
|
|
316
316
|
*/
|
package/node/Link/Link.js
CHANGED
|
@@ -163,10 +163,10 @@ const Link = /*#__PURE__*/React.forwardRef(function Link(inProps, ref) {
|
|
|
163
163
|
}, other));
|
|
164
164
|
});
|
|
165
165
|
process.env.NODE_ENV !== "production" ? Link.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 content of the component.
|
|
172
172
|
*/
|
package/node/List/List.js
CHANGED
|
@@ -90,10 +90,10 @@ const List = /*#__PURE__*/React.forwardRef(function List(inProps, ref) {
|
|
|
90
90
|
});
|
|
91
91
|
});
|
|
92
92
|
process.env.NODE_ENV !== "production" ? List.propTypes /* remove-proptypes */ = {
|
|
93
|
-
//
|
|
94
|
-
//
|
|
95
|
-
//
|
|
96
|
-
//
|
|
93
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
94
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
95
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
96
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
97
97
|
/**
|
|
98
98
|
* The content of the component.
|
|
99
99
|
*/
|
|
@@ -264,10 +264,10 @@ const ListItem = /*#__PURE__*/React.forwardRef(function ListItem(inProps, ref) {
|
|
|
264
264
|
});
|
|
265
265
|
});
|
|
266
266
|
process.env.NODE_ENV !== "production" ? ListItem.propTypes /* remove-proptypes */ = {
|
|
267
|
-
//
|
|
268
|
-
//
|
|
269
|
-
//
|
|
270
|
-
//
|
|
267
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
268
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
269
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
270
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
271
271
|
/**
|
|
272
272
|
* Defines the `align-items` style property.
|
|
273
273
|
* @default 'center'
|
|
@@ -72,10 +72,10 @@ const ListItemAvatar = /*#__PURE__*/React.forwardRef(function ListItemAvatar(inP
|
|
|
72
72
|
}, other));
|
|
73
73
|
});
|
|
74
74
|
process.env.NODE_ENV !== "production" ? ListItemAvatar.propTypes /* remove-proptypes */ = {
|
|
75
|
-
//
|
|
76
|
-
//
|
|
77
|
-
//
|
|
78
|
-
//
|
|
75
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
76
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
77
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
78
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
79
79
|
/**
|
|
80
80
|
* The content of the component, normally an `Avatar`.
|
|
81
81
|
*/
|
|
@@ -170,10 +170,10 @@ const ListItemButton = /*#__PURE__*/React.forwardRef(function ListItemButton(inP
|
|
|
170
170
|
});
|
|
171
171
|
});
|
|
172
172
|
process.env.NODE_ENV !== "production" ? ListItemButton.propTypes /* remove-proptypes */ = {
|
|
173
|
-
//
|
|
174
|
-
//
|
|
175
|
-
//
|
|
176
|
-
//
|
|
173
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
174
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
175
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
176
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
177
177
|
/**
|
|
178
178
|
* Defines the `align-items` style property.
|
|
179
179
|
* @default 'center'
|
|
@@ -75,10 +75,10 @@ const ListItemIcon = /*#__PURE__*/React.forwardRef(function ListItemIcon(inProps
|
|
|
75
75
|
}, other));
|
|
76
76
|
});
|
|
77
77
|
process.env.NODE_ENV !== "production" ? ListItemIcon.propTypes /* remove-proptypes */ = {
|
|
78
|
-
//
|
|
79
|
-
//
|
|
80
|
-
//
|
|
81
|
-
//
|
|
78
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
79
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
80
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
81
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
82
82
|
/**
|
|
83
83
|
* The content of the component, normally `Icon`, `SvgIcon`,
|
|
84
84
|
* or a `@mui/icons-material` SVG icon element.
|
|
@@ -74,10 +74,10 @@ const ListItemSecondaryAction = /*#__PURE__*/React.forwardRef(function ListItemS
|
|
|
74
74
|
}, other));
|
|
75
75
|
});
|
|
76
76
|
process.env.NODE_ENV !== "production" ? ListItemSecondaryAction.propTypes /* remove-proptypes */ = {
|
|
77
|
-
//
|
|
78
|
-
//
|
|
79
|
-
//
|
|
80
|
-
//
|
|
77
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
78
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
79
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
80
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
81
81
|
/**
|
|
82
82
|
* The content of the component, normally an `IconButton` or selection control.
|
|
83
83
|
*/
|
|
@@ -120,10 +120,10 @@ const ListItemText = /*#__PURE__*/React.forwardRef(function ListItemText(inProps
|
|
|
120
120
|
}));
|
|
121
121
|
});
|
|
122
122
|
process.env.NODE_ENV !== "production" ? ListItemText.propTypes /* remove-proptypes */ = {
|
|
123
|
-
//
|
|
124
|
-
//
|
|
125
|
-
//
|
|
126
|
-
//
|
|
123
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
124
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
125
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
126
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
127
127
|
/**
|
|
128
128
|
* Alias for the `primary` prop.
|
|
129
129
|
*/
|
|
@@ -99,10 +99,10 @@ const ListSubheader = /*#__PURE__*/React.forwardRef(function ListSubheader(inPro
|
|
|
99
99
|
});
|
|
100
100
|
ListSubheader.muiSkipListHighlight = true;
|
|
101
101
|
process.env.NODE_ENV !== "production" ? ListSubheader.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
|
* The content of the component.
|
|
108
108
|
*/
|
package/node/Menu/Menu.js
CHANGED
|
@@ -206,10 +206,10 @@ const Menu = /*#__PURE__*/React.forwardRef(function Menu(inProps, ref) {
|
|
|
206
206
|
}));
|
|
207
207
|
});
|
|
208
208
|
process.env.NODE_ENV !== "production" ? Menu.propTypes /* remove-proptypes */ = {
|
|
209
|
-
//
|
|
210
|
-
//
|
|
211
|
-
//
|
|
212
|
-
//
|
|
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
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
213
213
|
/**
|
|
214
214
|
* An HTML element, or a function that returns one.
|
|
215
215
|
* It's used to set the position of the menu.
|
|
@@ -192,10 +192,10 @@ const MenuItem = /*#__PURE__*/React.forwardRef(function MenuItem(inProps, ref) {
|
|
|
192
192
|
});
|
|
193
193
|
});
|
|
194
194
|
process.env.NODE_ENV !== "production" ? MenuItem.propTypes /* remove-proptypes */ = {
|
|
195
|
-
//
|
|
196
|
-
//
|
|
197
|
-
//
|
|
198
|
-
//
|
|
195
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
196
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
197
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
198
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
199
199
|
/**
|
|
200
200
|
* If `true`, the list item is focused during the first mount.
|
|
201
201
|
* Focus will also be triggered if the value changes from false to true.
|
|
@@ -243,10 +243,10 @@ const MenuList = /*#__PURE__*/React.forwardRef(function MenuList(props, ref) {
|
|
|
243
243
|
}));
|
|
244
244
|
});
|
|
245
245
|
process.env.NODE_ENV !== "production" ? MenuList.propTypes /* remove-proptypes */ = {
|
|
246
|
-
//
|
|
247
|
-
//
|
|
248
|
-
//
|
|
249
|
-
//
|
|
246
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
247
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
248
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
249
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
250
250
|
/**
|
|
251
251
|
* If `true`, will focus the `[role="menu"]` container and move into tab order.
|
|
252
252
|
* @default false
|
|
@@ -170,10 +170,10 @@ const MobileStepper = /*#__PURE__*/React.forwardRef(function MobileStepper(inPro
|
|
|
170
170
|
}));
|
|
171
171
|
});
|
|
172
172
|
process.env.NODE_ENV !== "production" ? MobileStepper.propTypes /* remove-proptypes */ = {
|
|
173
|
-
//
|
|
174
|
-
//
|
|
175
|
-
//
|
|
176
|
-
//
|
|
173
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
174
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
175
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
176
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
177
177
|
/**
|
|
178
178
|
* Set the active step (zero based index).
|
|
179
179
|
* Defines which dot is highlighted when the variant is 'dots'.
|
package/node/Modal/Modal.js
CHANGED
|
@@ -208,10 +208,10 @@ const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
|
|
|
208
208
|
});
|
|
209
209
|
});
|
|
210
210
|
process.env.NODE_ENV !== "production" ? Modal.propTypes /* remove-proptypes */ = {
|
|
211
|
-
//
|
|
212
|
-
//
|
|
213
|
-
//
|
|
214
|
-
//
|
|
211
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
212
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
213
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
214
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
215
215
|
/**
|
|
216
216
|
* A backdrop component. This prop enables custom backdrop rendering.
|
|
217
217
|
* @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.
|
|
@@ -81,10 +81,10 @@ const NativeSelect = /*#__PURE__*/React.forwardRef(function NativeSelect(inProps
|
|
|
81
81
|
});
|
|
82
82
|
});
|
|
83
83
|
process.env.NODE_ENV !== "production" ? NativeSelect.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 option elements to populate the select with.
|
|
90
90
|
* Can be some `<option>` elements.
|
|
@@ -188,10 +188,10 @@ const OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inPro
|
|
|
188
188
|
}));
|
|
189
189
|
});
|
|
190
190
|
process.env.NODE_ENV !== "production" ? OutlinedInput.propTypes /* remove-proptypes */ = {
|
|
191
|
-
//
|
|
192
|
-
//
|
|
193
|
-
//
|
|
194
|
-
//
|
|
191
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
192
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
193
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
194
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
195
195
|
/**
|
|
196
196
|
* This prop helps users to fill forms faster, especially on mobile devices.
|
|
197
197
|
* The name can be confusing, as it's more like an autofill.
|
|
@@ -133,10 +133,10 @@ const Pagination = /*#__PURE__*/React.forwardRef(function Pagination(inProps, re
|
|
|
133
133
|
// @default tags synced with default values from usePagination
|
|
134
134
|
|
|
135
135
|
process.env.NODE_ENV !== "production" ? Pagination.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
|
* Number of always visible pages at the beginning and end.
|
|
142
142
|
* @default 1
|
|
@@ -275,10 +275,10 @@ const PaginationItem = /*#__PURE__*/React.forwardRef(function PaginationItem(inP
|
|
|
275
275
|
}));
|
|
276
276
|
});
|
|
277
277
|
process.env.NODE_ENV !== "production" ? PaginationItem.propTypes /* remove-proptypes */ = {
|
|
278
|
-
//
|
|
279
|
-
//
|
|
280
|
-
//
|
|
281
|
-
//
|
|
278
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
279
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
280
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
281
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
282
282
|
/**
|
|
283
283
|
* @ignore
|
|
284
284
|
*/
|
package/node/Paper/Paper.js
CHANGED
|
@@ -100,10 +100,10 @@ const Paper = /*#__PURE__*/React.forwardRef(function Paper(inProps, ref) {
|
|
|
100
100
|
}, other));
|
|
101
101
|
});
|
|
102
102
|
process.env.NODE_ENV !== "production" ? Paper.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
|
*/
|
package/node/Popover/Popover.js
CHANGED
|
@@ -362,10 +362,10 @@ const Popover = /*#__PURE__*/React.forwardRef(function Popover(inProps, ref) {
|
|
|
362
362
|
}));
|
|
363
363
|
});
|
|
364
364
|
process.env.NODE_ENV !== "production" ? Popover.propTypes /* remove-proptypes */ = {
|
|
365
|
-
//
|
|
366
|
-
//
|
|
367
|
-
//
|
|
368
|
-
//
|
|
365
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
366
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
367
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
368
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
369
369
|
/**
|
|
370
370
|
* A ref for imperative actions.
|
|
371
371
|
* It currently only supports updatePosition() action.
|
package/node/Popper/Popper.js
CHANGED
|
@@ -86,10 +86,10 @@ const Popper = /*#__PURE__*/React.forwardRef(function Popper(inProps, ref) {
|
|
|
86
86
|
}));
|
|
87
87
|
});
|
|
88
88
|
process.env.NODE_ENV !== "production" ? Popper.propTypes /* remove-proptypes */ = {
|
|
89
|
-
//
|
|
90
|
-
//
|
|
91
|
-
//
|
|
92
|
-
//
|
|
89
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
90
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
91
|
+
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
92
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
93
93
|
/**
|
|
94
94
|
* An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
|
|
95
95
|
* or a function that returns either.
|
package/node/Radio/Radio.js
CHANGED
|
@@ -133,10 +133,10 @@ const Radio = /*#__PURE__*/React.forwardRef(function Radio(inProps, ref) {
|
|
|
133
133
|
}, other));
|
|
134
134
|
});
|
|
135
135
|
process.env.NODE_ENV !== "production" ? Radio.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 component is checked.
|
|
142
142
|
*/
|
|
@@ -71,10 +71,10 @@ const RadioGroup = /*#__PURE__*/React.forwardRef(function RadioGroup(props, ref)
|
|
|
71
71
|
});
|
|
72
72
|
});
|
|
73
73
|
process.env.NODE_ENV !== "production" ? RadioGroup.propTypes /* remove-proptypes */ = {
|
|
74
|
-
//
|
|
75
|
-
//
|
|
76
|
-
//
|
|
77
|
-
//
|
|
74
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
75
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
76
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
77
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
78
78
|
/**
|
|
79
79
|
* The content of the component.
|
|
80
80
|
*/
|
package/node/Rating/Rating.js
CHANGED
|
@@ -25,15 +25,6 @@ const _excluded = ["value"],
|
|
|
25
25
|
_excluded2 = ["className", "defaultValue", "disabled", "emptyIcon", "emptyLabelText", "getLabelText", "highlightSelectedOnly", "icon", "IconContainerComponent", "max", "name", "onChange", "onChangeActive", "onMouseLeave", "onMouseMove", "precision", "readOnly", "size", "value"];
|
|
26
26
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
27
27
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
28
|
-
function clamp(value, min, max) {
|
|
29
|
-
if (value < min) {
|
|
30
|
-
return min;
|
|
31
|
-
}
|
|
32
|
-
if (value > max) {
|
|
33
|
-
return max;
|
|
34
|
-
}
|
|
35
|
-
return value;
|
|
36
|
-
}
|
|
37
28
|
function getDecimalPrecision(num) {
|
|
38
29
|
const decimalPart = num.toString().split('.')[1];
|
|
39
30
|
return decimalPart ? decimalPart.length : 0;
|
|
@@ -354,7 +345,7 @@ const Rating = /*#__PURE__*/React.forwardRef(function Rating(inProps, ref) {
|
|
|
354
345
|
percent = (event.clientX - left) / containerWidth;
|
|
355
346
|
}
|
|
356
347
|
let newHover = roundValueToPrecision(max * percent + precision / 2, precision);
|
|
357
|
-
newHover = clamp(newHover, precision, max);
|
|
348
|
+
newHover = (0, _utils.clamp)(newHover, precision, max);
|
|
358
349
|
setState(prev => prev.hover === newHover && prev.focus === newHover ? prev : {
|
|
359
350
|
hover: newHover,
|
|
360
351
|
focus: newHover
|
|
@@ -527,10 +518,10 @@ const Rating = /*#__PURE__*/React.forwardRef(function Rating(inProps, ref) {
|
|
|
527
518
|
}));
|
|
528
519
|
});
|
|
529
520
|
process.env.NODE_ENV !== "production" ? Rating.propTypes /* remove-proptypes */ = {
|
|
530
|
-
//
|
|
531
|
-
//
|
|
532
|
-
//
|
|
533
|
-
//
|
|
521
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
522
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
523
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
524
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
534
525
|
/**
|
|
535
526
|
* Override or extend the styles applied to the component.
|
|
536
527
|
*/
|
|
@@ -77,10 +77,10 @@ const ScopedCssBaseline = /*#__PURE__*/React.forwardRef(function ScopedCssBaseli
|
|
|
77
77
|
}, other));
|
|
78
78
|
});
|
|
79
79
|
process.env.NODE_ENV !== "production" ? ScopedCssBaseline.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 d.ts file and run `pnpm proptypes`. │
|
|
83
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
84
84
|
/**
|
|
85
85
|
* The content of the component.
|
|
86
86
|
*/
|
package/node/Select/Select.js
CHANGED
|
@@ -141,10 +141,10 @@ const Select = /*#__PURE__*/React.forwardRef(function Select(inProps, ref) {
|
|
|
141
141
|
});
|
|
142
142
|
});
|
|
143
143
|
process.env.NODE_ENV !== "production" ? Select.propTypes /* remove-proptypes */ = {
|
|
144
|
-
//
|
|
145
|
-
//
|
|
146
|
-
//
|
|
147
|
-
//
|
|
144
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
145
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
146
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
147
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
148
148
|
/**
|
|
149
149
|
* If `true`, the width of the popover will automatically be set according to the items inside the
|
|
150
150
|
* menu, otherwise it will be at least the width of the select input.
|
|
@@ -171,10 +171,10 @@ const Skeleton = /*#__PURE__*/React.forwardRef(function Skeleton(inProps, ref) {
|
|
|
171
171
|
}));
|
|
172
172
|
});
|
|
173
173
|
process.env.NODE_ENV !== "production" ? Skeleton.propTypes /* remove-proptypes */ = {
|
|
174
|
-
//
|
|
175
|
-
//
|
|
176
|
-
//
|
|
177
|
-
//
|
|
174
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
175
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
176
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
177
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
178
178
|
/**
|
|
179
179
|
* The animation.
|
|
180
180
|
* If `false` the animation effect is disabled.
|
package/node/Slide/Slide.js
CHANGED
|
@@ -231,10 +231,10 @@ const Slide = /*#__PURE__*/React.forwardRef(function Slide(props, ref) {
|
|
|
231
231
|
}));
|
|
232
232
|
});
|
|
233
233
|
process.env.NODE_ENV !== "production" ? Slide.propTypes /* remove-proptypes */ = {
|
|
234
|
-
//
|
|
235
|
-
//
|
|
236
|
-
//
|
|
237
|
-
//
|
|
234
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
235
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
236
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
237
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
238
238
|
/**
|
|
239
239
|
* Add a custom transition end trigger. Called with the transitioning DOM
|
|
240
240
|
* node and a done callback. Allows for more fine grained transition end
|
package/node/Slider/Slider.js
CHANGED
|
@@ -587,10 +587,10 @@ const Slider = /*#__PURE__*/React.forwardRef(function Slider(inputProps, ref) {
|
|
|
587
587
|
}));
|
|
588
588
|
});
|
|
589
589
|
process.env.NODE_ENV !== "production" ? Slider.propTypes /* remove-proptypes */ = {
|
|
590
|
-
//
|
|
591
|
-
//
|
|
592
|
-
//
|
|
593
|
-
//
|
|
590
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
591
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
592
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
593
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
594
594
|
/**
|
|
595
595
|
* The label of the slider.
|
|
596
596
|
*/
|
|
@@ -183,10 +183,10 @@ const Snackbar = /*#__PURE__*/React.forwardRef(function Snackbar(inProps, ref) {
|
|
|
183
183
|
}));
|
|
184
184
|
});
|
|
185
185
|
process.env.NODE_ENV !== "production" ? Snackbar.propTypes /* remove-proptypes */ = {
|
|
186
|
-
//
|
|
187
|
-
//
|
|
188
|
-
//
|
|
189
|
-
//
|
|
186
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
187
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
188
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
189
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
190
190
|
/**
|
|
191
191
|
* The action to display. It renders after the message, at the end of the snackbar.
|
|
192
192
|
*/
|