@mui/material 5.2.2 → 5.2.6
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 +1 -1
- package/Accordion/Accordion.js +2 -2
- package/AccordionActions/AccordionActions.js +1 -1
- package/AccordionDetails/AccordionDetails.js +1 -1
- package/AccordionSummary/AccordionSummary.js +2 -2
- package/Alert/Alert.js +1 -3
- package/AlertTitle/AlertTitle.js +1 -1
- package/AppBar/AppBar.js +1 -1
- package/Autocomplete/Autocomplete.js +1 -1
- package/Avatar/Avatar.d.ts +1 -1
- package/Avatar/Avatar.js +1 -1
- package/AvatarGroup/AvatarGroup.d.ts +5 -0
- package/AvatarGroup/AvatarGroup.js +20 -5
- package/Backdrop/Backdrop.js +1 -1
- package/Badge/Badge.d.ts +25 -0
- package/Badge/Badge.js +41 -11
- package/BottomNavigation/BottomNavigation.js +1 -1
- package/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/Breadcrumbs/Breadcrumbs.js +1 -1
- package/Button/Button.js +16 -35
- package/ButtonBase/ButtonBase.d.ts +1 -1
- package/ButtonBase/ButtonBase.js +2 -2
- package/ButtonGroup/ButtonGroup.js +1 -1
- package/ButtonGroup/ButtonGroupContext.d.ts +1 -1
- package/CHANGELOG.md +271 -0
- package/Card/Card.js +1 -1
- package/CardActionArea/CardActionArea.js +1 -1
- package/CardActions/CardActions.js +1 -1
- package/CardContent/CardContent.js +1 -1
- package/CardHeader/CardHeader.js +1 -1
- package/CardMedia/CardMedia.js +1 -1
- package/Checkbox/Checkbox.js +1 -1
- package/Chip/Chip.js +1 -1
- package/CircularProgress/CircularProgress.js +1 -1
- package/Collapse/Collapse.d.ts +1 -1
- package/Collapse/Collapse.js +1 -1
- package/Container/Container.js +1 -1
- package/CssBaseline/CssBaseline.d.ts +1 -1
- package/Dialog/Dialog.d.ts +1 -1
- package/Dialog/Dialog.js +2 -2
- package/DialogActions/DialogActions.js +1 -1
- package/DialogContent/DialogContent.js +1 -1
- package/DialogContentText/DialogContentText.js +1 -1
- package/DialogTitle/DialogTitle.js +1 -1
- package/Divider/Divider.js +1 -1
- package/Drawer/Drawer.js +1 -1
- package/Fab/Fab.js +1 -1
- package/Fade/Fade.d.ts +1 -1
- package/FilledInput/FilledInput.js +1 -1
- package/FormControl/FormControl.js +1 -1
- package/FormControlLabel/FormControlLabel.js +1 -1
- package/FormGroup/FormGroup.js +1 -1
- package/FormHelperText/FormHelperText.js +1 -1
- package/FormLabel/FormLabel.js +1 -1
- package/GlobalStyles/GlobalStyles.d.ts +2 -1
- package/Grid/Grid.js +98 -69
- package/Grow/Grow.d.ts +1 -1
- package/Icon/Icon.js +1 -1
- package/IconButton/IconButton.js +1 -1
- package/ImageList/ImageList.js +1 -1
- package/ImageListItem/ImageListItem.js +1 -1
- package/ImageListItemBar/ImageListItemBar.js +1 -1
- package/Input/Input.js +1 -1
- package/InputAdornment/InputAdornment.js +1 -1
- package/InputBase/InputBase.d.ts +6 -0
- package/InputBase/InputBase.js +11 -3
- package/InputLabel/InputLabel.js +1 -1
- package/LinearProgress/LinearProgress.js +1 -1
- package/Link/Link.js +1 -1
- package/List/List.js +1 -1
- package/ListItem/ListItem.d.ts +1 -1
- package/ListItem/ListItem.js +1 -1
- package/ListItemAvatar/ListItemAvatar.js +1 -1
- package/ListItemButton/ListItemButton.d.ts +1 -1
- package/ListItemButton/ListItemButton.js +2 -2
- package/ListItemIcon/ListItemIcon.js +1 -1
- package/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/ListItemText/ListItemText.js +1 -1
- package/ListSubheader/ListSubheader.js +1 -1
- package/Menu/Menu.d.ts +1 -1
- package/Menu/Menu.js +2 -2
- package/MenuItem/MenuItem.d.ts +1 -1
- package/MenuItem/MenuItem.js +2 -2
- package/MobileStepper/MobileStepper.js +1 -1
- package/Modal/Modal.js +1 -1
- package/NativeSelect/NativeSelect.js +1 -1
- package/OutlinedInput/OutlinedInput.js +15 -2
- package/Pagination/Pagination.js +1 -1
- package/PaginationItem/PaginationItem.js +1 -1
- package/Paper/Paper.js +1 -1
- package/Popover/Popover.d.ts +1 -1
- package/Popover/Popover.js +2 -2
- package/README.md +19 -31
- package/Radio/Radio.js +1 -1
- package/Rating/Rating.js +1 -1
- package/Select/Select.js +1 -1
- package/Select/SelectInput.js +13 -1
- package/Skeleton/Skeleton.js +1 -1
- package/Slide/Slide.d.ts +1 -1
- package/Slider/Slider.js +1 -1
- package/Snackbar/Snackbar.d.ts +1 -1
- package/Snackbar/Snackbar.js +2 -2
- package/SnackbarContent/SnackbarContent.js +1 -1
- package/SpeedDial/SpeedDial.d.ts +1 -1
- package/SpeedDial/SpeedDial.js +2 -2
- package/SpeedDialAction/SpeedDialAction.js +1 -1
- package/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/Stack/Stack.js +1 -1
- package/Step/Step.js +1 -1
- package/StepButton/StepButton.js +1 -1
- package/StepConnector/StepConnector.js +1 -1
- package/StepContent/StepContent.d.ts +1 -1
- package/StepContent/StepContent.js +2 -2
- package/StepIcon/StepIcon.js +1 -1
- package/StepLabel/StepLabel.js +1 -1
- package/Stepper/Stepper.js +1 -1
- package/SvgIcon/SvgIcon.js +1 -1
- package/Switch/Switch.js +1 -1
- package/Tab/Tab.js +1 -1
- package/TabScrollButton/TabScrollButton.js +1 -1
- package/Table/Table.js +1 -1
- package/TableBody/TableBody.js +1 -1
- package/TableCell/TableCell.js +1 -1
- package/TableContainer/TableContainer.js +1 -1
- package/TableFooter/TableFooter.js +1 -1
- package/TableHead/TableHead.js +1 -1
- package/TablePagination/TablePagination.js +1 -1
- package/TableRow/TableRow.js +1 -1
- package/TableSortLabel/TableSortLabel.js +1 -1
- package/Tabs/Tabs.d.ts +1 -1
- package/Tabs/Tabs.js +1 -1
- package/TextField/TextField.js +3 -10
- package/ToggleButton/ToggleButton.js +1 -1
- package/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/Toolbar/Toolbar.js +1 -1
- package/Tooltip/Tooltip.d.ts +1 -1
- package/Tooltip/Tooltip.js +2 -2
- package/Typography/Typography.js +1 -1
- package/Zoom/Zoom.d.ts +1 -1
- package/index.js +1 -1
- package/legacy/Accordion/Accordion.js +2 -2
- package/legacy/AccordionActions/AccordionActions.js +1 -1
- package/legacy/AccordionDetails/AccordionDetails.js +1 -1
- package/legacy/AccordionSummary/AccordionSummary.js +2 -2
- package/legacy/Alert/Alert.js +1 -3
- package/legacy/AlertTitle/AlertTitle.js +1 -1
- package/legacy/AppBar/AppBar.js +1 -1
- package/legacy/Autocomplete/Autocomplete.js +1 -1
- package/legacy/Avatar/Avatar.js +1 -1
- package/legacy/AvatarGroup/AvatarGroup.js +19 -4
- package/legacy/Backdrop/Backdrop.js +1 -1
- package/legacy/Badge/Badge.js +47 -12
- package/legacy/BottomNavigation/BottomNavigation.js +1 -1
- package/legacy/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/legacy/Breadcrumbs/Breadcrumbs.js +1 -1
- package/legacy/Button/Button.js +23 -35
- package/legacy/ButtonBase/ButtonBase.js +2 -2
- package/legacy/ButtonGroup/ButtonGroup.js +1 -1
- package/legacy/Card/Card.js +1 -1
- package/legacy/CardActionArea/CardActionArea.js +1 -1
- package/legacy/CardActions/CardActions.js +1 -1
- package/legacy/CardContent/CardContent.js +1 -1
- package/legacy/CardHeader/CardHeader.js +1 -1
- package/legacy/CardMedia/CardMedia.js +1 -1
- package/legacy/Checkbox/Checkbox.js +1 -1
- package/legacy/Chip/Chip.js +1 -1
- package/legacy/CircularProgress/CircularProgress.js +1 -1
- package/legacy/Collapse/Collapse.js +1 -1
- package/legacy/Container/Container.js +1 -1
- package/legacy/Dialog/Dialog.js +2 -2
- package/legacy/DialogActions/DialogActions.js +1 -1
- package/legacy/DialogContent/DialogContent.js +1 -1
- package/legacy/DialogContentText/DialogContentText.js +1 -1
- package/legacy/DialogTitle/DialogTitle.js +1 -1
- package/legacy/Divider/Divider.js +1 -1
- package/legacy/Drawer/Drawer.js +1 -1
- package/legacy/Fab/Fab.js +1 -1
- package/legacy/FilledInput/FilledInput.js +1 -1
- package/legacy/FormControl/FormControl.js +1 -1
- package/legacy/FormControlLabel/FormControlLabel.js +1 -1
- package/legacy/FormGroup/FormGroup.js +1 -1
- package/legacy/FormHelperText/FormHelperText.js +1 -1
- package/legacy/FormLabel/FormLabel.js +1 -1
- package/legacy/Grid/Grid.js +109 -81
- package/legacy/Icon/Icon.js +1 -1
- package/legacy/IconButton/IconButton.js +1 -1
- package/legacy/ImageList/ImageList.js +1 -1
- package/legacy/ImageListItem/ImageListItem.js +1 -1
- package/legacy/ImageListItemBar/ImageListItemBar.js +1 -1
- package/legacy/Input/Input.js +1 -1
- package/legacy/InputAdornment/InputAdornment.js +1 -1
- package/legacy/InputBase/InputBase.js +11 -3
- package/legacy/InputLabel/InputLabel.js +1 -1
- package/legacy/LinearProgress/LinearProgress.js +1 -1
- package/legacy/Link/Link.js +1 -1
- package/legacy/List/List.js +1 -1
- package/legacy/ListItem/ListItem.js +1 -1
- package/legacy/ListItemAvatar/ListItemAvatar.js +1 -1
- package/legacy/ListItemButton/ListItemButton.js +2 -2
- package/legacy/ListItemIcon/ListItemIcon.js +1 -1
- package/legacy/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/legacy/ListItemText/ListItemText.js +1 -1
- package/legacy/ListSubheader/ListSubheader.js +1 -1
- package/legacy/Menu/Menu.js +2 -2
- package/legacy/MenuItem/MenuItem.js +2 -2
- package/legacy/MobileStepper/MobileStepper.js +1 -1
- package/legacy/Modal/Modal.js +1 -1
- package/legacy/NativeSelect/NativeSelect.js +1 -1
- package/legacy/OutlinedInput/OutlinedInput.js +15 -2
- package/legacy/Pagination/Pagination.js +1 -1
- package/legacy/PaginationItem/PaginationItem.js +1 -1
- package/legacy/Paper/Paper.js +1 -1
- package/legacy/Popover/Popover.js +2 -2
- package/legacy/Radio/Radio.js +1 -1
- package/legacy/Rating/Rating.js +1 -1
- package/legacy/Select/Select.js +1 -1
- package/legacy/Select/SelectInput.js +13 -3
- package/legacy/Skeleton/Skeleton.js +1 -1
- package/legacy/Slider/Slider.js +1 -1
- package/legacy/Snackbar/Snackbar.js +2 -2
- package/legacy/SnackbarContent/SnackbarContent.js +1 -1
- package/legacy/SpeedDial/SpeedDial.js +2 -2
- package/legacy/SpeedDialAction/SpeedDialAction.js +1 -1
- package/legacy/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/legacy/Stack/Stack.js +1 -1
- package/legacy/Step/Step.js +1 -1
- package/legacy/StepButton/StepButton.js +1 -1
- package/legacy/StepConnector/StepConnector.js +1 -1
- package/legacy/StepContent/StepContent.js +2 -2
- package/legacy/StepIcon/StepIcon.js +1 -1
- package/legacy/StepLabel/StepLabel.js +1 -1
- package/legacy/Stepper/Stepper.js +1 -1
- package/legacy/SvgIcon/SvgIcon.js +1 -1
- package/legacy/Switch/Switch.js +1 -1
- package/legacy/Tab/Tab.js +1 -1
- package/legacy/TabScrollButton/TabScrollButton.js +1 -1
- package/legacy/Table/Table.js +1 -1
- package/legacy/TableBody/TableBody.js +1 -1
- package/legacy/TableCell/TableCell.js +1 -1
- package/legacy/TableContainer/TableContainer.js +1 -1
- package/legacy/TableFooter/TableFooter.js +1 -1
- package/legacy/TableHead/TableHead.js +1 -1
- package/legacy/TablePagination/TablePagination.js +1 -1
- package/legacy/TableRow/TableRow.js +1 -1
- package/legacy/TableSortLabel/TableSortLabel.js +1 -1
- package/legacy/Tabs/Tabs.js +1 -1
- package/legacy/TextField/TextField.js +3 -10
- package/legacy/ToggleButton/ToggleButton.js +1 -1
- package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/legacy/Toolbar/Toolbar.js +1 -1
- package/legacy/Tooltip/Tooltip.js +2 -2
- package/legacy/Typography/Typography.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/locale/index.js +264 -98
- package/locale/index.d.ts +2 -0
- package/locale/index.js +166 -6
- package/modern/Accordion/Accordion.js +2 -2
- package/modern/AccordionActions/AccordionActions.js +1 -1
- package/modern/AccordionDetails/AccordionDetails.js +1 -1
- package/modern/AccordionSummary/AccordionSummary.js +2 -2
- package/modern/Alert/Alert.js +1 -3
- package/modern/AlertTitle/AlertTitle.js +1 -1
- package/modern/AppBar/AppBar.js +1 -1
- package/modern/Autocomplete/Autocomplete.js +1 -1
- package/modern/Avatar/Avatar.js +1 -1
- package/modern/AvatarGroup/AvatarGroup.js +20 -5
- package/modern/Backdrop/Backdrop.js +1 -1
- package/modern/Badge/Badge.js +41 -11
- package/modern/BottomNavigation/BottomNavigation.js +1 -1
- package/modern/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/modern/Breadcrumbs/Breadcrumbs.js +1 -1
- package/modern/Button/Button.js +16 -35
- package/modern/ButtonBase/ButtonBase.js +2 -2
- package/modern/ButtonGroup/ButtonGroup.js +1 -1
- package/modern/Card/Card.js +1 -1
- package/modern/CardActionArea/CardActionArea.js +1 -1
- package/modern/CardActions/CardActions.js +1 -1
- package/modern/CardContent/CardContent.js +1 -1
- package/modern/CardHeader/CardHeader.js +1 -1
- package/modern/CardMedia/CardMedia.js +1 -1
- package/modern/Checkbox/Checkbox.js +1 -1
- package/modern/Chip/Chip.js +1 -1
- package/modern/CircularProgress/CircularProgress.js +1 -1
- package/modern/Collapse/Collapse.js +1 -1
- package/modern/Container/Container.js +1 -1
- package/modern/Dialog/Dialog.js +2 -2
- package/modern/DialogActions/DialogActions.js +1 -1
- package/modern/DialogContent/DialogContent.js +1 -1
- package/modern/DialogContentText/DialogContentText.js +1 -1
- package/modern/DialogTitle/DialogTitle.js +1 -1
- package/modern/Divider/Divider.js +1 -1
- package/modern/Drawer/Drawer.js +1 -1
- package/modern/Fab/Fab.js +1 -1
- package/modern/FilledInput/FilledInput.js +1 -1
- package/modern/FormControl/FormControl.js +1 -1
- package/modern/FormControlLabel/FormControlLabel.js +1 -1
- package/modern/FormGroup/FormGroup.js +1 -1
- package/modern/FormHelperText/FormHelperText.js +1 -1
- package/modern/FormLabel/FormLabel.js +1 -1
- package/modern/Grid/Grid.js +98 -69
- package/modern/Icon/Icon.js +1 -1
- package/modern/IconButton/IconButton.js +1 -1
- package/modern/ImageList/ImageList.js +1 -1
- package/modern/ImageListItem/ImageListItem.js +1 -1
- package/modern/ImageListItemBar/ImageListItemBar.js +1 -1
- package/modern/Input/Input.js +1 -1
- package/modern/InputAdornment/InputAdornment.js +1 -1
- package/modern/InputBase/InputBase.js +11 -3
- package/modern/InputLabel/InputLabel.js +1 -1
- package/modern/LinearProgress/LinearProgress.js +1 -1
- package/modern/Link/Link.js +1 -1
- package/modern/List/List.js +1 -1
- package/modern/ListItem/ListItem.js +1 -1
- package/modern/ListItemAvatar/ListItemAvatar.js +1 -1
- package/modern/ListItemButton/ListItemButton.js +2 -2
- package/modern/ListItemIcon/ListItemIcon.js +1 -1
- package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/modern/ListItemText/ListItemText.js +1 -1
- package/modern/ListSubheader/ListSubheader.js +1 -1
- package/modern/Menu/Menu.js +2 -2
- package/modern/MenuItem/MenuItem.js +2 -2
- package/modern/MobileStepper/MobileStepper.js +1 -1
- package/modern/Modal/Modal.js +1 -1
- package/modern/NativeSelect/NativeSelect.js +1 -1
- package/modern/OutlinedInput/OutlinedInput.js +15 -2
- package/modern/Pagination/Pagination.js +1 -1
- package/modern/PaginationItem/PaginationItem.js +1 -1
- package/modern/Paper/Paper.js +1 -1
- package/modern/Popover/Popover.js +2 -2
- package/modern/Radio/Radio.js +1 -1
- package/modern/Rating/Rating.js +1 -1
- package/modern/Select/Select.js +1 -1
- package/modern/Select/SelectInput.js +13 -1
- package/modern/Skeleton/Skeleton.js +1 -1
- package/modern/Slider/Slider.js +1 -1
- package/modern/Snackbar/Snackbar.js +2 -2
- package/modern/SnackbarContent/SnackbarContent.js +1 -1
- package/modern/SpeedDial/SpeedDial.js +2 -2
- package/modern/SpeedDialAction/SpeedDialAction.js +1 -1
- package/modern/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/modern/Stack/Stack.js +1 -1
- package/modern/Step/Step.js +1 -1
- package/modern/StepButton/StepButton.js +1 -1
- package/modern/StepConnector/StepConnector.js +1 -1
- package/modern/StepContent/StepContent.js +2 -2
- package/modern/StepIcon/StepIcon.js +1 -1
- package/modern/StepLabel/StepLabel.js +1 -1
- package/modern/Stepper/Stepper.js +1 -1
- package/modern/SvgIcon/SvgIcon.js +1 -1
- package/modern/Switch/Switch.js +1 -1
- package/modern/Tab/Tab.js +1 -1
- package/modern/TabScrollButton/TabScrollButton.js +1 -1
- package/modern/Table/Table.js +1 -1
- package/modern/TableBody/TableBody.js +1 -1
- package/modern/TableCell/TableCell.js +1 -1
- package/modern/TableContainer/TableContainer.js +1 -1
- package/modern/TableFooter/TableFooter.js +1 -1
- package/modern/TableHead/TableHead.js +1 -1
- package/modern/TablePagination/TablePagination.js +1 -1
- package/modern/TableRow/TableRow.js +1 -1
- package/modern/TableSortLabel/TableSortLabel.js +1 -1
- package/modern/Tabs/Tabs.js +1 -1
- package/modern/TextField/TextField.js +3 -8
- package/modern/ToggleButton/ToggleButton.js +1 -1
- package/modern/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/modern/Toolbar/Toolbar.js +1 -1
- package/modern/Tooltip/Tooltip.js +2 -2
- package/modern/Typography/Typography.js +1 -1
- package/modern/index.js +1 -1
- package/modern/locale/index.js +166 -6
- package/node/Accordion/Accordion.js +2 -2
- package/node/AccordionActions/AccordionActions.js +1 -1
- package/node/AccordionDetails/AccordionDetails.js +1 -1
- package/node/AccordionSummary/AccordionSummary.js +2 -2
- package/node/Alert/Alert.js +1 -3
- package/node/AlertTitle/AlertTitle.js +1 -1
- package/node/AppBar/AppBar.js +1 -1
- package/node/Autocomplete/Autocomplete.js +1 -1
- package/node/Avatar/Avatar.js +1 -1
- package/node/AvatarGroup/AvatarGroup.js +20 -5
- package/node/Backdrop/Backdrop.js +1 -1
- package/node/Badge/Badge.js +41 -11
- package/node/BottomNavigation/BottomNavigation.js +1 -1
- package/node/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/node/Breadcrumbs/Breadcrumbs.js +1 -1
- package/node/Button/Button.js +17 -34
- package/node/ButtonBase/ButtonBase.js +2 -2
- package/node/ButtonGroup/ButtonGroup.js +1 -1
- package/node/Card/Card.js +1 -1
- package/node/CardActionArea/CardActionArea.js +1 -1
- package/node/CardActions/CardActions.js +1 -1
- package/node/CardContent/CardContent.js +1 -1
- package/node/CardHeader/CardHeader.js +1 -1
- package/node/CardMedia/CardMedia.js +1 -1
- package/node/Checkbox/Checkbox.js +1 -1
- package/node/Chip/Chip.js +1 -1
- package/node/CircularProgress/CircularProgress.js +1 -1
- package/node/Collapse/Collapse.js +1 -1
- package/node/Container/Container.js +1 -1
- package/node/Dialog/Dialog.js +2 -2
- package/node/DialogActions/DialogActions.js +1 -1
- package/node/DialogContent/DialogContent.js +1 -1
- package/node/DialogContentText/DialogContentText.js +1 -1
- package/node/DialogTitle/DialogTitle.js +1 -1
- package/node/Divider/Divider.js +1 -1
- package/node/Drawer/Drawer.js +1 -1
- package/node/Fab/Fab.js +1 -1
- package/node/FilledInput/FilledInput.js +1 -1
- package/node/FormControl/FormControl.js +1 -1
- package/node/FormControlLabel/FormControlLabel.js +1 -1
- package/node/FormGroup/FormGroup.js +1 -1
- package/node/FormHelperText/FormHelperText.js +1 -1
- package/node/FormLabel/FormLabel.js +1 -1
- package/node/Grid/Grid.js +101 -68
- package/node/Icon/Icon.js +1 -1
- package/node/IconButton/IconButton.js +1 -1
- package/node/ImageList/ImageList.js +1 -1
- package/node/ImageListItem/ImageListItem.js +1 -1
- package/node/ImageListItemBar/ImageListItemBar.js +1 -1
- package/node/Input/Input.js +1 -1
- package/node/InputAdornment/InputAdornment.js +1 -1
- package/node/InputBase/InputBase.js +11 -3
- package/node/InputLabel/InputLabel.js +1 -1
- package/node/LinearProgress/LinearProgress.js +1 -1
- package/node/Link/Link.js +1 -1
- package/node/List/List.js +1 -1
- package/node/ListItem/ListItem.js +1 -1
- package/node/ListItemAvatar/ListItemAvatar.js +1 -1
- package/node/ListItemButton/ListItemButton.js +2 -2
- package/node/ListItemIcon/ListItemIcon.js +1 -1
- package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/node/ListItemText/ListItemText.js +1 -1
- package/node/ListSubheader/ListSubheader.js +1 -1
- package/node/Menu/Menu.js +2 -2
- package/node/MenuItem/MenuItem.js +2 -2
- package/node/MobileStepper/MobileStepper.js +1 -1
- package/node/Modal/Modal.js +1 -1
- package/node/NativeSelect/NativeSelect.js +1 -1
- package/node/OutlinedInput/OutlinedInput.js +16 -2
- package/node/Pagination/Pagination.js +1 -1
- package/node/PaginationItem/PaginationItem.js +1 -1
- package/node/Paper/Paper.js +1 -1
- package/node/Popover/Popover.js +2 -2
- package/node/Radio/Radio.js +1 -1
- package/node/Rating/Rating.js +1 -1
- package/node/Select/Select.js +1 -1
- package/node/Select/SelectInput.js +13 -1
- package/node/Skeleton/Skeleton.js +1 -1
- package/node/Slider/Slider.js +1 -1
- package/node/Snackbar/Snackbar.js +2 -2
- package/node/SnackbarContent/SnackbarContent.js +1 -1
- package/node/SpeedDial/SpeedDial.js +2 -2
- package/node/SpeedDialAction/SpeedDialAction.js +1 -1
- package/node/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/node/Stack/Stack.js +1 -1
- package/node/Step/Step.js +1 -1
- package/node/StepButton/StepButton.js +1 -1
- package/node/StepConnector/StepConnector.js +1 -1
- package/node/StepContent/StepContent.js +2 -2
- package/node/StepIcon/StepIcon.js +1 -1
- package/node/StepLabel/StepLabel.js +1 -1
- package/node/Stepper/Stepper.js +1 -1
- package/node/SvgIcon/SvgIcon.js +1 -1
- package/node/Switch/Switch.js +1 -1
- package/node/Tab/Tab.js +1 -1
- package/node/TabScrollButton/TabScrollButton.js +1 -1
- package/node/Table/Table.js +1 -1
- package/node/TableBody/TableBody.js +1 -1
- package/node/TableCell/TableCell.js +1 -1
- package/node/TableContainer/TableContainer.js +1 -1
- package/node/TableFooter/TableFooter.js +1 -1
- package/node/TableHead/TableHead.js +1 -1
- package/node/TablePagination/TablePagination.js +1 -1
- package/node/TableRow/TableRow.js +1 -1
- package/node/TableSortLabel/TableSortLabel.js +1 -1
- package/node/Tabs/Tabs.js +1 -1
- package/node/TextField/TextField.js +2 -9
- package/node/ToggleButton/ToggleButton.js +1 -1
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/node/Toolbar/Toolbar.js +1 -1
- package/node/Tooltip/Tooltip.js +2 -2
- package/node/Typography/Typography.js +1 -1
- package/node/index.js +1 -1
- package/node/locale/index.js +169 -7
- package/package.json +5 -5
- package/styles/createTheme.d.ts +1 -1
- package/styles/cssUtils.d.ts +32 -0
- package/styles/index.d.ts +1 -0
- package/transitions/transition.d.ts +1 -2
- package/umd/material-ui.development.js +1086 -978
- package/umd/material-ui.production.min.js +21 -21
package/TextField/TextField.js
CHANGED
|
@@ -16,8 +16,8 @@ import FormControl from '../FormControl';
|
|
|
16
16
|
import FormHelperText from '../FormHelperText';
|
|
17
17
|
import Select from '../Select';
|
|
18
18
|
import { getTextFieldUtilityClass } from './textFieldClasses';
|
|
19
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
20
19
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
20
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
21
21
|
const variantComponent = {
|
|
22
22
|
standard: Input,
|
|
23
23
|
filled: FilledInput,
|
|
@@ -141,14 +141,7 @@ const TextField = /*#__PURE__*/React.forwardRef(function TextField(inProps, ref)
|
|
|
141
141
|
InputMore.notched = InputLabelProps.shrink;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
|
|
145
|
-
var _InputLabelProps$requ;
|
|
146
|
-
|
|
147
|
-
const displayRequired = (_InputLabelProps$requ = InputLabelProps == null ? void 0 : InputLabelProps.required) != null ? _InputLabelProps$requ : required;
|
|
148
|
-
InputMore.label = /*#__PURE__*/_jsxs(React.Fragment, {
|
|
149
|
-
children: [label, displayRequired && '\u00a0*']
|
|
150
|
-
});
|
|
151
|
-
}
|
|
144
|
+
InputMore.label = label;
|
|
152
145
|
}
|
|
153
146
|
|
|
154
147
|
if (select) {
|
|
@@ -412,7 +405,7 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes
|
|
|
412
405
|
/**
|
|
413
406
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
414
407
|
*/
|
|
415
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
408
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
416
409
|
|
|
417
410
|
/**
|
|
418
411
|
* Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
|
|
@@ -226,7 +226,7 @@ process.env.NODE_ENV !== "production" ? ToggleButton.propTypes
|
|
|
226
226
|
/**
|
|
227
227
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
228
228
|
*/
|
|
229
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
229
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
230
230
|
|
|
231
231
|
/**
|
|
232
232
|
* The value to associate with the button when selected in a
|
|
@@ -243,7 +243,7 @@ process.env.NODE_ENV !== "production" ? ToggleButtonGroup.propTypes
|
|
|
243
243
|
/**
|
|
244
244
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
245
245
|
*/
|
|
246
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
246
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
247
247
|
|
|
248
248
|
/**
|
|
249
249
|
* The currently selected value within the group or an array of selected
|
package/Toolbar/Toolbar.js
CHANGED
|
@@ -118,7 +118,7 @@ process.env.NODE_ENV !== "production" ? Toolbar.propTypes
|
|
|
118
118
|
/**
|
|
119
119
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
120
120
|
*/
|
|
121
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
121
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
122
122
|
|
|
123
123
|
/**
|
|
124
124
|
* The variant to use.
|
package/Tooltip/Tooltip.d.ts
CHANGED
|
@@ -173,7 +173,7 @@ export interface TooltipProps extends StandardProps<React.HTMLAttributes<HTMLDiv
|
|
|
173
173
|
>;
|
|
174
174
|
/**
|
|
175
175
|
* Props applied to the transition element.
|
|
176
|
-
* By default, the element is based on this [`Transition`](
|
|
176
|
+
* By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
|
|
177
177
|
*/
|
|
178
178
|
TransitionProps?: TransitionProps;
|
|
179
179
|
}
|
package/Tooltip/Tooltip.js
CHANGED
|
@@ -799,7 +799,7 @@ process.env.NODE_ENV !== "production" ? Tooltip.propTypes
|
|
|
799
799
|
/**
|
|
800
800
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
801
801
|
*/
|
|
802
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
802
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
803
803
|
|
|
804
804
|
/**
|
|
805
805
|
* Tooltip title. Zero-length titles string are never displayed.
|
|
@@ -817,7 +817,7 @@ process.env.NODE_ENV !== "production" ? Tooltip.propTypes
|
|
|
817
817
|
|
|
818
818
|
/**
|
|
819
819
|
* Props applied to the transition element.
|
|
820
|
-
* By default, the element is based on this [`Transition`](
|
|
820
|
+
* By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
|
|
821
821
|
*/
|
|
822
822
|
TransitionProps: PropTypes.object
|
|
823
823
|
} : void 0;
|
package/Typography/Typography.js
CHANGED
|
@@ -180,7 +180,7 @@ process.env.NODE_ENV !== "production" ? Typography.propTypes
|
|
|
180
180
|
/**
|
|
181
181
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
182
182
|
*/
|
|
183
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
183
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
186
|
* Applies the theme typography styles.
|
package/Zoom/Zoom.d.ts
CHANGED
|
@@ -45,6 +45,6 @@ export interface ZoomProps extends TransitionProps {
|
|
|
45
45
|
* API:
|
|
46
46
|
*
|
|
47
47
|
* - [Zoom API](https://mui.com/api/zoom/)
|
|
48
|
-
* - inherits [Transition API](
|
|
48
|
+
* - inherits [Transition API](http://reactcommunity.org/react-transition-group/transition/#Transition-props)
|
|
49
49
|
*/
|
|
50
50
|
export default function Zoom(props: ZoomProps): JSX.Element;
|
package/index.js
CHANGED
|
@@ -269,7 +269,7 @@ process.env.NODE_ENV !== "production" ? Accordion.propTypes
|
|
|
269
269
|
/**
|
|
270
270
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
271
271
|
*/
|
|
272
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
272
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
273
273
|
|
|
274
274
|
/**
|
|
275
275
|
* The component used for the transition.
|
|
@@ -280,7 +280,7 @@ process.env.NODE_ENV !== "production" ? Accordion.propTypes
|
|
|
280
280
|
|
|
281
281
|
/**
|
|
282
282
|
* Props applied to the transition element.
|
|
283
|
-
* By default, the element is based on this [`Transition`](
|
|
283
|
+
* By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
|
|
284
284
|
*/
|
|
285
285
|
TransitionProps: PropTypes.object
|
|
286
286
|
} : void 0;
|
|
@@ -92,6 +92,6 @@ process.env.NODE_ENV !== "production" ? AccordionActions.propTypes
|
|
|
92
92
|
/**
|
|
93
93
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
94
94
|
*/
|
|
95
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
95
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
96
96
|
} : void 0;
|
|
97
97
|
export default AccordionActions;
|
|
@@ -72,6 +72,6 @@ process.env.NODE_ENV !== "production" ? AccordionDetails.propTypes
|
|
|
72
72
|
/**
|
|
73
73
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
74
74
|
*/
|
|
75
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
75
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
76
76
|
} : void 0;
|
|
77
77
|
export default AccordionDetails;
|
|
@@ -188,7 +188,7 @@ process.env.NODE_ENV !== "production" ? AccordionSummary.propTypes
|
|
|
188
188
|
* This prop can help identify which element has keyboard focus.
|
|
189
189
|
* The class name will be applied when the element gains the focus through keyboard interaction.
|
|
190
190
|
* It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
|
|
191
|
-
* The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/
|
|
191
|
+
* The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
|
|
192
192
|
* A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
|
|
193
193
|
* if needed.
|
|
194
194
|
*/
|
|
@@ -202,6 +202,6 @@ process.env.NODE_ENV !== "production" ? AccordionSummary.propTypes
|
|
|
202
202
|
/**
|
|
203
203
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
204
204
|
*/
|
|
205
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
205
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
206
206
|
} : void 0;
|
|
207
207
|
export default AccordionSummary;
|
package/legacy/Alert/Alert.js
CHANGED
|
@@ -51,7 +51,6 @@ var AlertRoot = styled(Paper, {
|
|
|
51
51
|
var getBackgroundColor = theme.palette.mode === 'light' ? lighten : darken;
|
|
52
52
|
var color = ownerState.color || ownerState.severity;
|
|
53
53
|
return _extends({}, theme.typography.body2, {
|
|
54
|
-
borderRadius: theme.shape.borderRadius,
|
|
55
54
|
backgroundColor: 'transparent',
|
|
56
55
|
display: 'flex',
|
|
57
56
|
padding: '6px 16px'
|
|
@@ -153,7 +152,6 @@ var Alert = /*#__PURE__*/React.forwardRef(function Alert(inProps, ref) {
|
|
|
153
152
|
var classes = useUtilityClasses(ownerState);
|
|
154
153
|
return /*#__PURE__*/_jsxs(AlertRoot, _extends({
|
|
155
154
|
role: role,
|
|
156
|
-
square: true,
|
|
157
155
|
elevation: 0,
|
|
158
156
|
ownerState: ownerState,
|
|
159
157
|
className: clsx(classes.root, className),
|
|
@@ -271,7 +269,7 @@ process.env.NODE_ENV !== "production" ? Alert.propTypes
|
|
|
271
269
|
/**
|
|
272
270
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
273
271
|
*/
|
|
274
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
272
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
275
273
|
|
|
276
274
|
/**
|
|
277
275
|
* The variant to use.
|
|
@@ -76,6 +76,6 @@ process.env.NODE_ENV !== "production" ? AlertTitle.propTypes
|
|
|
76
76
|
/**
|
|
77
77
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
78
78
|
*/
|
|
79
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
79
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
80
80
|
} : void 0;
|
|
81
81
|
export default AlertTitle;
|
package/legacy/AppBar/AppBar.js
CHANGED
|
@@ -163,6 +163,6 @@ process.env.NODE_ENV !== "production" ? AppBar.propTypes
|
|
|
163
163
|
/**
|
|
164
164
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
165
165
|
*/
|
|
166
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
166
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
167
167
|
} : void 0;
|
|
168
168
|
export default AppBar;
|
|
@@ -1074,7 +1074,7 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes
|
|
|
1074
1074
|
/**
|
|
1075
1075
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
1076
1076
|
*/
|
|
1077
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
1077
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
1078
1078
|
|
|
1079
1079
|
/**
|
|
1080
1080
|
* The value of the autocomplete.
|
package/legacy/Avatar/Avatar.js
CHANGED
|
@@ -258,7 +258,7 @@ process.env.NODE_ENV !== "production" ? Avatar.propTypes
|
|
|
258
258
|
/**
|
|
259
259
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
260
260
|
*/
|
|
261
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
261
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
262
262
|
|
|
263
263
|
/**
|
|
264
264
|
* The shape of the avatar.
|
|
@@ -74,9 +74,10 @@ var AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps, re
|
|
|
74
74
|
max = _props$max === void 0 ? 5 : _props$max,
|
|
75
75
|
_props$spacing = props.spacing,
|
|
76
76
|
spacing = _props$spacing === void 0 ? 'medium' : _props$spacing,
|
|
77
|
+
total = props.total,
|
|
77
78
|
_props$variant = props.variant,
|
|
78
79
|
variant = _props$variant === void 0 ? 'circular' : _props$variant,
|
|
79
|
-
other = _objectWithoutProperties(props, ["children", "className", "max", "spacing", "variant"]);
|
|
80
|
+
other = _objectWithoutProperties(props, ["children", "className", "max", "spacing", "total", "variant"]);
|
|
80
81
|
|
|
81
82
|
var clampedMax = max < 2 ? 2 : max;
|
|
82
83
|
|
|
@@ -96,7 +97,15 @@ var AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps, re
|
|
|
96
97
|
|
|
97
98
|
return /*#__PURE__*/React.isValidElement(child);
|
|
98
99
|
});
|
|
99
|
-
var
|
|
100
|
+
var totalAvatars = total || children.length;
|
|
101
|
+
|
|
102
|
+
if (totalAvatars === clampedMax) {
|
|
103
|
+
clampedMax += 1;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
clampedMax = Math.min(totalAvatars + 1, clampedMax);
|
|
107
|
+
var maxAvatars = Math.min(children.length, clampedMax - 1);
|
|
108
|
+
var extraAvatars = Math.max(totalAvatars - clampedMax, totalAvatars - maxAvatars, 0);
|
|
100
109
|
var marginLeft = spacing && SPACINGS[spacing] !== undefined ? SPACINGS[spacing] : -spacing;
|
|
101
110
|
return /*#__PURE__*/_jsxs(AvatarGroupRoot, _extends({
|
|
102
111
|
ownerState: ownerState,
|
|
@@ -111,7 +120,7 @@ var AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps, re
|
|
|
111
120
|
},
|
|
112
121
|
variant: variant,
|
|
113
122
|
children: ["+", extraAvatars]
|
|
114
|
-
}) : null, children.slice(0,
|
|
123
|
+
}) : null, children.slice(0, maxAvatars).reverse().map(function (child) {
|
|
115
124
|
return /*#__PURE__*/React.cloneElement(child, {
|
|
116
125
|
className: clsx(child.props.className, classes.avatar),
|
|
117
126
|
style: _extends({
|
|
@@ -166,7 +175,13 @@ process.env.NODE_ENV !== "production" ? AvatarGroup.propTypes
|
|
|
166
175
|
/**
|
|
167
176
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
168
177
|
*/
|
|
169
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
178
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* The total number of avatars. Used for calculating the number of extra avatars.
|
|
182
|
+
* @default children.length
|
|
183
|
+
*/
|
|
184
|
+
total: PropTypes.number,
|
|
170
185
|
|
|
171
186
|
/**
|
|
172
187
|
* The variant to use.
|
|
@@ -140,7 +140,7 @@ process.env.NODE_ENV !== "production" ? Backdrop.propTypes
|
|
|
140
140
|
/**
|
|
141
141
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
142
142
|
*/
|
|
143
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
143
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
146
|
* The duration for the transition, in milliseconds.
|
package/legacy/Badge/Badge.js
CHANGED
|
@@ -11,16 +11,19 @@ import styled from '../styles/styled';
|
|
|
11
11
|
import useThemeProps from '../styles/useThemeProps';
|
|
12
12
|
import capitalize from '../utils/capitalize';
|
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
-
export var badgeClasses = _extends({}, badgeUnstyledClasses, generateUtilityClasses('MuiBadge', ['colorError', 'colorInfo', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorWarning'
|
|
14
|
+
export var badgeClasses = _extends({}, badgeUnstyledClasses, generateUtilityClasses('MuiBadge', ['colorError', 'colorInfo', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorWarning', 'overlapRectangular', 'overlapCircular', // TODO: v6 remove the overlap value from these class keys
|
|
15
|
+
'anchorOriginTopLeftCircular', 'anchorOriginTopLeftRectangular', 'anchorOriginTopRightCircular', 'anchorOriginTopRightRectangular', 'anchorOriginBottomLeftCircular', 'anchorOriginBottomLeftRectangular', 'anchorOriginBottomRightCircular', 'anchorOriginBottomRightRectangular']));
|
|
15
16
|
var RADIUS_STANDARD = 10;
|
|
16
17
|
var RADIUS_DOT = 4;
|
|
17
18
|
|
|
18
19
|
var extendUtilityClasses = function extendUtilityClasses(ownerState) {
|
|
19
20
|
var color = ownerState.color,
|
|
21
|
+
anchorOrigin = ownerState.anchorOrigin,
|
|
22
|
+
overlap = ownerState.overlap,
|
|
20
23
|
_ownerState$classes = ownerState.classes,
|
|
21
24
|
classes = _ownerState$classes === void 0 ? {} : _ownerState$classes;
|
|
22
25
|
return _extends({}, classes, {
|
|
23
|
-
badge: clsx(classes.badge, color !== 'default' && [getBadgeUtilityClass("color".concat(capitalize(color))), classes["color".concat(capitalize(color))]])
|
|
26
|
+
badge: clsx(classes.badge, getBadgeUtilityClass("anchorOrigin".concat(capitalize(anchorOrigin.vertical)).concat(capitalize(anchorOrigin.horizontal)).concat(capitalize(overlap))), getBadgeUtilityClass("overlap".concat(capitalize(overlap))), color !== 'default' && [getBadgeUtilityClass("color".concat(capitalize(color))), classes["color".concat(capitalize(color))]])
|
|
24
27
|
});
|
|
25
28
|
};
|
|
26
29
|
|
|
@@ -141,6 +144,11 @@ var BadgeBadge = styled('span', {
|
|
|
141
144
|
})
|
|
142
145
|
});
|
|
143
146
|
});
|
|
147
|
+
|
|
148
|
+
var shouldSpreadAdditionalProps = function shouldSpreadAdditionalProps(Slot) {
|
|
149
|
+
return !Slot || !isHostComponent(Slot);
|
|
150
|
+
};
|
|
151
|
+
|
|
144
152
|
var Badge = /*#__PURE__*/React.forwardRef(function Badge(inProps, ref) {
|
|
145
153
|
var _componentsProps$root, _componentsProps$badg;
|
|
146
154
|
|
|
@@ -149,10 +157,19 @@ var Badge = /*#__PURE__*/React.forwardRef(function Badge(inProps, ref) {
|
|
|
149
157
|
name: 'MuiBadge'
|
|
150
158
|
});
|
|
151
159
|
|
|
152
|
-
var _props$
|
|
160
|
+
var _props$anchorOrigin = props.anchorOrigin,
|
|
161
|
+
anchorOriginProp = _props$anchorOrigin === void 0 ? {
|
|
162
|
+
vertical: 'top',
|
|
163
|
+
horizontal: 'right'
|
|
164
|
+
} : _props$anchorOrigin,
|
|
165
|
+
_props$component = props.component,
|
|
166
|
+
component = _props$component === void 0 ? 'span' : _props$component,
|
|
167
|
+
_props$components = props.components,
|
|
153
168
|
components = _props$components === void 0 ? {} : _props$components,
|
|
154
169
|
_props$componentsProp = props.componentsProps,
|
|
155
170
|
componentsProps = _props$componentsProp === void 0 ? {} : _props$componentsProp,
|
|
171
|
+
_props$overlap = props.overlap,
|
|
172
|
+
overlapProp = _props$overlap === void 0 ? 'rectangular' : _props$overlap,
|
|
156
173
|
_props$color = props.color,
|
|
157
174
|
colorProp = _props$color === void 0 ? 'default' : _props$color,
|
|
158
175
|
invisibleProp = props.invisible,
|
|
@@ -161,10 +178,12 @@ var Badge = /*#__PURE__*/React.forwardRef(function Badge(inProps, ref) {
|
|
|
161
178
|
showZero = _props$showZero === void 0 ? false : _props$showZero,
|
|
162
179
|
_props$variant = props.variant,
|
|
163
180
|
variantProp = _props$variant === void 0 ? 'standard' : _props$variant,
|
|
164
|
-
other = _objectWithoutProperties(props, ["components", "componentsProps", "color", "invisible", "badgeContent", "showZero", "variant"]);
|
|
181
|
+
other = _objectWithoutProperties(props, ["anchorOrigin", "component", "components", "componentsProps", "overlap", "color", "invisible", "badgeContent", "showZero", "variant"]);
|
|
165
182
|
|
|
166
183
|
var prevProps = usePreviousProps({
|
|
167
|
-
|
|
184
|
+
anchorOrigin: anchorOriginProp,
|
|
185
|
+
color: colorProp,
|
|
186
|
+
overlap: overlapProp
|
|
168
187
|
});
|
|
169
188
|
var invisible = invisibleProp;
|
|
170
189
|
|
|
@@ -174,15 +193,22 @@ var Badge = /*#__PURE__*/React.forwardRef(function Badge(inProps, ref) {
|
|
|
174
193
|
|
|
175
194
|
var _ref10 = invisible ? prevProps : props,
|
|
176
195
|
_ref10$color = _ref10.color,
|
|
177
|
-
color = _ref10$color === void 0 ? colorProp : _ref10$color
|
|
196
|
+
color = _ref10$color === void 0 ? colorProp : _ref10$color,
|
|
197
|
+
_ref10$overlap = _ref10.overlap,
|
|
198
|
+
overlap = _ref10$overlap === void 0 ? overlapProp : _ref10$overlap,
|
|
199
|
+
_ref10$anchorOrigin = _ref10.anchorOrigin,
|
|
200
|
+
anchorOrigin = _ref10$anchorOrigin === void 0 ? anchorOriginProp : _ref10$anchorOrigin;
|
|
178
201
|
|
|
179
202
|
var ownerState = _extends({}, props, {
|
|
203
|
+
anchorOrigin: anchorOrigin,
|
|
180
204
|
invisible: invisible,
|
|
181
|
-
color: color
|
|
205
|
+
color: color,
|
|
206
|
+
overlap: overlap
|
|
182
207
|
});
|
|
183
208
|
|
|
184
209
|
var classes = extendUtilityClasses(ownerState);
|
|
185
210
|
return /*#__PURE__*/_jsx(BadgeUnstyled, _extends({
|
|
211
|
+
anchorOrigin: anchorOrigin,
|
|
186
212
|
invisible: invisibleProp,
|
|
187
213
|
badgeContent: badgeContentProp,
|
|
188
214
|
showZero: showZero,
|
|
@@ -193,14 +219,17 @@ var Badge = /*#__PURE__*/React.forwardRef(function Badge(inProps, ref) {
|
|
|
193
219
|
Badge: BadgeBadge
|
|
194
220
|
}, components),
|
|
195
221
|
componentsProps: {
|
|
196
|
-
root: _extends({}, componentsProps.root, (
|
|
222
|
+
root: _extends({}, componentsProps.root, shouldSpreadAdditionalProps(components.Root) && {
|
|
223
|
+
as: component,
|
|
197
224
|
ownerState: _extends({}, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.ownerState, {
|
|
198
|
-
color: color
|
|
225
|
+
color: color,
|
|
226
|
+
overlap: overlap
|
|
199
227
|
})
|
|
200
228
|
}),
|
|
201
|
-
badge: _extends({}, componentsProps.badge, (
|
|
229
|
+
badge: _extends({}, componentsProps.badge, shouldSpreadAdditionalProps(components.Badge) && {
|
|
202
230
|
ownerState: _extends({}, (_componentsProps$badg = componentsProps.badge) == null ? void 0 : _componentsProps$badg.ownerState, {
|
|
203
|
-
color: color
|
|
231
|
+
color: color,
|
|
232
|
+
overlap: overlap
|
|
204
233
|
})
|
|
205
234
|
})
|
|
206
235
|
},
|
|
@@ -251,6 +280,12 @@ process.env.NODE_ENV !== "production" ? Badge.propTypes
|
|
|
251
280
|
/* @typescript-to-proptypes-ignore */
|
|
252
281
|
.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
|
|
253
282
|
|
|
283
|
+
/**
|
|
284
|
+
* The component used for the root node.
|
|
285
|
+
* Either a string to use a HTML element or a component.
|
|
286
|
+
*/
|
|
287
|
+
component: PropTypes.elementType,
|
|
288
|
+
|
|
254
289
|
/**
|
|
255
290
|
* The components used for each slot inside the Badge.
|
|
256
291
|
* Either a string to use a HTML element or a component.
|
|
@@ -293,7 +328,7 @@ process.env.NODE_ENV !== "production" ? Badge.propTypes
|
|
|
293
328
|
/**
|
|
294
329
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
295
330
|
*/
|
|
296
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
331
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
297
332
|
|
|
298
333
|
/**
|
|
299
334
|
* The variant to use.
|
|
@@ -129,7 +129,7 @@ process.env.NODE_ENV !== "production" ? BottomNavigation.propTypes
|
|
|
129
129
|
/**
|
|
130
130
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
131
131
|
*/
|
|
132
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
132
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
135
|
* The value of the currently selected `BottomNavigationAction`.
|
|
@@ -172,7 +172,7 @@ process.env.NODE_ENV !== "production" ? BottomNavigationAction.propTypes
|
|
|
172
172
|
/**
|
|
173
173
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
174
174
|
*/
|
|
175
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
175
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
176
176
|
|
|
177
177
|
/**
|
|
178
178
|
* You can provide your own value. Otherwise, we fallback to the child position index.
|
|
@@ -241,6 +241,6 @@ process.env.NODE_ENV !== "production" ? Breadcrumbs.propTypes
|
|
|
241
241
|
/**
|
|
242
242
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
243
243
|
*/
|
|
244
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
244
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
245
245
|
} : void 0;
|
|
246
246
|
export default Breadcrumbs;
|
package/legacy/Button/Button.js
CHANGED
|
@@ -4,6 +4,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import clsx from 'clsx';
|
|
7
|
+
import { internal_resolveProps as resolveProps } from '@mui/utils';
|
|
7
8
|
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
8
9
|
import { alpha } from '@mui/system';
|
|
9
10
|
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
@@ -213,49 +214,37 @@ var ButtonEndIcon = styled('span', {
|
|
|
213
214
|
}, commonIconStyles(ownerState));
|
|
214
215
|
});
|
|
215
216
|
var Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
|
|
217
|
+
// props priority: `inProps` > `contextProps` > `themeDefaultProps`
|
|
218
|
+
var contextProps = React.useContext(ButtonGroupContext);
|
|
219
|
+
var resolvedProps = resolveProps(contextProps, inProps);
|
|
216
220
|
var props = useThemeProps({
|
|
217
|
-
props:
|
|
221
|
+
props: resolvedProps,
|
|
218
222
|
name: 'MuiButton'
|
|
219
223
|
});
|
|
220
224
|
|
|
221
|
-
var _React$useContext = React.useContext(ButtonGroupContext),
|
|
222
|
-
classNameContext = _React$useContext.className,
|
|
223
|
-
colorContext = _React$useContext.color,
|
|
224
|
-
disabledContext = _React$useContext.disabled,
|
|
225
|
-
disableElevationContext = _React$useContext.disableElevation,
|
|
226
|
-
disableFocusRippleContext = _React$useContext.disableFocusRipple,
|
|
227
|
-
disableRippleContext = _React$useContext.disableRipple,
|
|
228
|
-
fullWidthContext = _React$useContext.fullWidth,
|
|
229
|
-
sizeContext = _React$useContext.size,
|
|
230
|
-
variantContext = _React$useContext.variant;
|
|
231
|
-
|
|
232
225
|
var children = props.children,
|
|
233
|
-
|
|
234
|
-
|
|
226
|
+
_props$color = props.color,
|
|
227
|
+
color = _props$color === void 0 ? 'primary' : _props$color,
|
|
235
228
|
_props$component = props.component,
|
|
236
229
|
component = _props$component === void 0 ? 'button' : _props$component,
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
230
|
+
className = props.className,
|
|
231
|
+
_props$disabled = props.disabled,
|
|
232
|
+
disabled = _props$disabled === void 0 ? false : _props$disabled,
|
|
233
|
+
_props$disableElevati = props.disableElevation,
|
|
234
|
+
disableElevation = _props$disableElevati === void 0 ? false : _props$disableElevati,
|
|
235
|
+
_props$disableFocusRi = props.disableFocusRipple,
|
|
236
|
+
disableFocusRipple = _props$disableFocusRi === void 0 ? false : _props$disableFocusRi,
|
|
241
237
|
endIconProp = props.endIcon,
|
|
242
238
|
focusVisibleClassName = props.focusVisibleClassName,
|
|
243
|
-
|
|
244
|
-
|
|
239
|
+
_props$fullWidth = props.fullWidth,
|
|
240
|
+
fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth,
|
|
241
|
+
_props$size = props.size,
|
|
242
|
+
size = _props$size === void 0 ? 'medium' : _props$size,
|
|
245
243
|
startIconProp = props.startIcon,
|
|
246
244
|
type = props.type,
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
var color = colorProp || colorContext || 'primary'; // TODO v6: Use nullish coalescing (??) instead of OR operator for these boolean props so that these boolean props for Button with ButtonGroup context take priority. See conversation from https://github.com/mui-org/material-ui/pull/28645#discussion_r738380902.
|
|
251
|
-
|
|
252
|
-
var disabled = disabledProp || disabledContext || false;
|
|
253
|
-
var disableElevation = disableElevationProp || disableElevationContext || false;
|
|
254
|
-
var disableFocusRipple = disableFocusRippleProp || disableFocusRippleContext || false;
|
|
255
|
-
var fullWidth = fullWidthProp || fullWidthContext || false;
|
|
256
|
-
var size = sizeProp || sizeContext || 'medium';
|
|
257
|
-
var variant = variantProp || variantContext || 'text';
|
|
258
|
-
var disableRipple = disableRippleProp || disableRippleContext || false;
|
|
245
|
+
_props$variant = props.variant,
|
|
246
|
+
variant = _props$variant === void 0 ? 'text' : _props$variant,
|
|
247
|
+
other = _objectWithoutProperties(props, ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"]);
|
|
259
248
|
|
|
260
249
|
var ownerState = _extends({}, props, {
|
|
261
250
|
color: color,
|
|
@@ -285,10 +274,9 @@ var Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
|
|
|
285
274
|
|
|
286
275
|
return /*#__PURE__*/_jsxs(ButtonRoot, _extends({
|
|
287
276
|
ownerState: ownerState,
|
|
288
|
-
className: clsx(className,
|
|
277
|
+
className: clsx(className, contextProps.className),
|
|
289
278
|
component: component,
|
|
290
279
|
disabled: disabled,
|
|
291
|
-
disableRipple: disableRipple,
|
|
292
280
|
focusRipple: !disableFocusRipple,
|
|
293
281
|
focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
|
|
294
282
|
ref: ref,
|
|
@@ -401,7 +389,7 @@ process.env.NODE_ENV !== "production" ? Button.propTypes
|
|
|
401
389
|
/**
|
|
402
390
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
403
391
|
*/
|
|
404
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
392
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
405
393
|
|
|
406
394
|
/**
|
|
407
395
|
* @ignore
|
|
@@ -439,7 +439,7 @@ process.env.NODE_ENV !== "production" ? ButtonBase.propTypes
|
|
|
439
439
|
* This prop can help identify which element has keyboard focus.
|
|
440
440
|
* The class name will be applied when the element gains the focus through keyboard interaction.
|
|
441
441
|
* It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
|
|
442
|
-
* The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/
|
|
442
|
+
* The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
|
|
443
443
|
* A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
|
|
444
444
|
* if needed.
|
|
445
445
|
*/
|
|
@@ -532,7 +532,7 @@ process.env.NODE_ENV !== "production" ? ButtonBase.propTypes
|
|
|
532
532
|
/**
|
|
533
533
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
534
534
|
*/
|
|
535
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
535
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
536
536
|
|
|
537
537
|
/**
|
|
538
538
|
* @default 0
|
|
@@ -259,7 +259,7 @@ process.env.NODE_ENV !== "production" ? ButtonGroup.propTypes
|
|
|
259
259
|
/**
|
|
260
260
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
261
261
|
*/
|
|
262
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
262
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
263
263
|
|
|
264
264
|
/**
|
|
265
265
|
* The variant to use.
|
package/legacy/Card/Card.js
CHANGED
|
@@ -91,6 +91,6 @@ process.env.NODE_ENV !== "production" ? Card.propTypes
|
|
|
91
91
|
/**
|
|
92
92
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
93
93
|
*/
|
|
94
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
94
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
95
95
|
} : void 0;
|
|
96
96
|
export default Card;
|
|
@@ -124,6 +124,6 @@ process.env.NODE_ENV !== "production" ? CardActionArea.propTypes
|
|
|
124
124
|
/**
|
|
125
125
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
126
126
|
*/
|
|
127
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
127
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
128
128
|
} : void 0;
|
|
129
129
|
export default CardActionArea;
|
|
@@ -91,6 +91,6 @@ process.env.NODE_ENV !== "production" ? CardActions.propTypes
|
|
|
91
91
|
/**
|
|
92
92
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
93
93
|
*/
|
|
94
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
94
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
95
95
|
} : void 0;
|
|
96
96
|
export default CardActions;
|