@mui/material 5.0.6 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accordion/Accordion.js +1 -1
- package/AccordionActions/AccordionActions.js +1 -1
- package/AccordionDetails/AccordionDetails.js +1 -1
- package/AccordionSummary/AccordionSummary.js +1 -1
- package/Alert/Alert.js +1 -1
- package/AlertTitle/AlertTitle.js +1 -1
- package/AppBar/AppBar.js +1 -1
- package/Autocomplete/Autocomplete.js +4 -1
- package/Avatar/Avatar.js +1 -1
- package/AvatarGroup/AvatarGroup.js +1 -1
- package/Backdrop/Backdrop.js +1 -1
- package/Badge/Badge.js +1 -1
- package/BottomNavigation/BottomNavigation.js +1 -1
- package/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/Box/Box.d.ts +18 -2
- package/Box/Box.js +4 -1
- package/Breadcrumbs/Breadcrumbs.js +1 -1
- package/Button/Button.js +40 -9
- package/ButtonBase/ButtonBase.js +1 -1
- package/ButtonGroup/ButtonGroup.js +23 -27
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -0
- package/ButtonGroup/ButtonGroupContext.js +12 -0
- package/CHANGELOG.md +107 -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.js +1 -1
- package/Container/Container.js +1 -1
- package/CssBaseline/CssBaseline.d.ts +7 -0
- package/CssBaseline/CssBaseline.js +20 -12
- package/Dialog/Dialog.js +1 -1
- 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/FilledInput/FilledInput.js +1 -1
- package/FormControl/FormControl.js +1 -1
- package/FormControlLabel/FormControlLabel.d.ts +2 -2
- package/FormControlLabel/FormControlLabel.js +3 -3
- package/FormGroup/FormGroup.js +1 -1
- package/FormHelperText/FormHelperText.js +1 -1
- package/FormLabel/FormLabel.js +1 -1
- package/Grid/Grid.d.ts +31 -11
- package/Grid/Grid.js +56 -24
- 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.js +3 -4
- package/InputLabel/InputLabel.js +1 -1
- package/LICENSE +21 -21
- 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 +1 -1
- 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.js +1 -1
- package/MenuItem/MenuItem.js +1 -1
- package/MobileStepper/MobileStepper.js +1 -1
- package/Modal/Modal.js +1 -1
- package/NativeSelect/NativeSelect.js +1 -1
- package/OutlinedInput/NotchedOutline.js +6 -1
- package/OutlinedInput/OutlinedInput.js +1 -1
- package/Pagination/Pagination.js +1 -1
- package/PaginationItem/PaginationItem.d.ts +15 -0
- package/PaginationItem/PaginationItem.js +32 -10
- package/Paper/Paper.js +1 -1
- package/Popover/Popover.js +1 -1
- package/Radio/Radio.js +1 -1
- package/RadioGroup/RadioGroupContext.d.ts +11 -0
- package/RadioGroup/RadioGroupContext.js +2 -2
- package/RadioGroup/useRadioGroup.d.ts +4 -5
- package/Rating/Rating.js +1 -1
- package/ScopedCssBaseline/ScopedCssBaseline.d.ts +6 -0
- package/ScopedCssBaseline/ScopedCssBaseline.js +21 -11
- package/Select/Select.js +1 -1
- package/Skeleton/Skeleton.js +1 -1
- package/Slider/Slider.js +1 -1
- package/Snackbar/Snackbar.js +1 -1
- package/SnackbarContent/SnackbarContent.js +1 -1
- package/SpeedDial/SpeedDial.js +1 -1
- package/SpeedDialAction/SpeedDialAction.js +1 -1
- package/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/Stack/Stack.js +5 -2
- package/Step/Step.js +1 -1
- package/StepButton/StepButton.js +1 -1
- package/StepConnector/StepConnector.js +1 -1
- package/StepContent/StepContent.js +1 -1
- 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.js +1 -1
- package/TextField/TextField.js +1 -1
- package/ToggleButton/ToggleButton.js +1 -1
- package/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/Toolbar/Toolbar.js +1 -1
- package/Tooltip/Tooltip.d.ts +3 -1
- package/Tooltip/Tooltip.js +4 -2
- package/Typography/Typography.js +1 -1
- package/index.d.ts +3 -0
- package/index.js +1 -1
- package/legacy/Accordion/Accordion.js +1 -1
- package/legacy/AccordionActions/AccordionActions.js +1 -1
- package/legacy/AccordionDetails/AccordionDetails.js +1 -1
- package/legacy/AccordionSummary/AccordionSummary.js +1 -1
- package/legacy/Alert/Alert.js +1 -1
- package/legacy/AlertTitle/AlertTitle.js +1 -1
- package/legacy/AppBar/AppBar.js +1 -1
- package/legacy/Autocomplete/Autocomplete.js +4 -2
- package/legacy/Avatar/Avatar.js +1 -1
- package/legacy/AvatarGroup/AvatarGroup.js +1 -1
- package/legacy/Backdrop/Backdrop.js +1 -1
- package/legacy/Badge/Badge.js +1 -1
- package/legacy/BottomNavigation/BottomNavigation.js +1 -1
- package/legacy/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/legacy/Box/Box.js +4 -1
- package/legacy/Breadcrumbs/Breadcrumbs.js +1 -1
- package/legacy/Button/Button.js +40 -16
- package/legacy/ButtonBase/ButtonBase.js +1 -1
- package/legacy/ButtonGroup/ButtonGroup.js +25 -27
- package/legacy/ButtonGroup/ButtonGroupContext.js +12 -0
- 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/CssBaseline/CssBaseline.js +38 -20
- package/legacy/Dialog/Dialog.js +1 -1
- 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 +3 -3
- 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 +57 -24
- 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 +3 -4
- 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 +1 -1
- 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 +1 -1
- package/legacy/MenuItem/MenuItem.js +1 -1
- package/legacy/MobileStepper/MobileStepper.js +1 -1
- package/legacy/Modal/Modal.js +1 -1
- package/legacy/NativeSelect/NativeSelect.js +1 -1
- package/legacy/OutlinedInput/NotchedOutline.js +6 -1
- package/legacy/OutlinedInput/OutlinedInput.js +1 -1
- package/legacy/Pagination/Pagination.js +1 -1
- package/legacy/PaginationItem/PaginationItem.js +33 -10
- package/legacy/Paper/Paper.js +1 -1
- package/legacy/Popover/Popover.js +1 -1
- package/legacy/Radio/Radio.js +1 -1
- package/legacy/RadioGroup/RadioGroupContext.js +2 -2
- package/legacy/Rating/Rating.js +1 -1
- package/legacy/ScopedCssBaseline/ScopedCssBaseline.js +13 -4
- package/legacy/Select/Select.js +1 -1
- package/legacy/Skeleton/Skeleton.js +1 -1
- package/legacy/Slider/Slider.js +1 -1
- package/legacy/Snackbar/Snackbar.js +1 -1
- package/legacy/SnackbarContent/SnackbarContent.js +1 -1
- package/legacy/SpeedDial/SpeedDial.js +1 -1
- package/legacy/SpeedDialAction/SpeedDialAction.js +1 -1
- package/legacy/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/legacy/Stack/Stack.js +5 -2
- 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 +1 -1
- 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 +1 -1
- 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 +4 -2
- package/legacy/Typography/Typography.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/styles/createPalette.js +1 -1
- package/modern/Accordion/Accordion.js +1 -1
- package/modern/AccordionActions/AccordionActions.js +1 -1
- package/modern/AccordionDetails/AccordionDetails.js +1 -1
- package/modern/AccordionSummary/AccordionSummary.js +1 -1
- package/modern/Alert/Alert.js +1 -1
- package/modern/AlertTitle/AlertTitle.js +1 -1
- package/modern/AppBar/AppBar.js +1 -1
- package/modern/Autocomplete/Autocomplete.js +4 -1
- package/modern/Avatar/Avatar.js +1 -1
- package/modern/AvatarGroup/AvatarGroup.js +1 -1
- package/modern/Backdrop/Backdrop.js +1 -1
- package/modern/Badge/Badge.js +1 -1
- package/modern/BottomNavigation/BottomNavigation.js +1 -1
- package/modern/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/modern/Box/Box.js +4 -1
- package/modern/Breadcrumbs/Breadcrumbs.js +1 -1
- package/modern/Button/Button.js +40 -9
- package/modern/ButtonBase/ButtonBase.js +1 -1
- package/modern/ButtonGroup/ButtonGroup.js +23 -27
- package/modern/ButtonGroup/ButtonGroupContext.js +12 -0
- 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/CssBaseline/CssBaseline.js +20 -12
- package/modern/Dialog/Dialog.js +1 -1
- 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 +3 -3
- 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 +56 -24
- 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 +3 -4
- 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 +1 -1
- 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 +1 -1
- package/modern/MenuItem/MenuItem.js +1 -1
- package/modern/MobileStepper/MobileStepper.js +1 -1
- package/modern/Modal/Modal.js +1 -1
- package/modern/NativeSelect/NativeSelect.js +1 -1
- package/modern/OutlinedInput/NotchedOutline.js +6 -1
- package/modern/OutlinedInput/OutlinedInput.js +1 -1
- package/modern/Pagination/Pagination.js +1 -1
- package/modern/PaginationItem/PaginationItem.js +32 -10
- package/modern/Paper/Paper.js +1 -1
- package/modern/Popover/Popover.js +1 -1
- package/modern/Radio/Radio.js +1 -1
- package/modern/RadioGroup/RadioGroupContext.js +2 -2
- package/modern/Rating/Rating.js +1 -1
- package/modern/ScopedCssBaseline/ScopedCssBaseline.js +21 -11
- package/modern/Select/Select.js +1 -1
- package/modern/Skeleton/Skeleton.js +1 -1
- package/modern/Slider/Slider.js +1 -1
- package/modern/Snackbar/Snackbar.js +1 -1
- package/modern/SnackbarContent/SnackbarContent.js +1 -1
- package/modern/SpeedDial/SpeedDial.js +1 -1
- package/modern/SpeedDialAction/SpeedDialAction.js +1 -1
- package/modern/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/modern/Stack/Stack.js +5 -2
- 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 +1 -1
- 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 +1 -1
- 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 +4 -2
- package/modern/Typography/Typography.js +1 -1
- package/modern/index.js +1 -1
- package/modern/styles/createPalette.js +1 -1
- package/node/Accordion/Accordion.js +1 -1
- package/node/AccordionActions/AccordionActions.js +1 -1
- package/node/AccordionDetails/AccordionDetails.js +1 -1
- package/node/AccordionSummary/AccordionSummary.js +1 -1
- package/node/Alert/Alert.js +1 -1
- package/node/AlertTitle/AlertTitle.js +1 -1
- package/node/AppBar/AppBar.js +1 -1
- package/node/Autocomplete/Autocomplete.js +4 -1
- package/node/Avatar/Avatar.js +1 -1
- package/node/AvatarGroup/AvatarGroup.js +1 -1
- package/node/Backdrop/Backdrop.js +1 -1
- package/node/Badge/Badge.js +1 -1
- package/node/BottomNavigation/BottomNavigation.js +1 -1
- package/node/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/node/Box/Box.js +5 -1
- package/node/Breadcrumbs/Breadcrumbs.js +1 -1
- package/node/Button/Button.js +40 -9
- package/node/ButtonBase/ButtonBase.js +1 -1
- package/node/ButtonGroup/ButtonGroup.js +24 -28
- package/node/ButtonGroup/ButtonGroupContext.js +24 -0
- 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/CssBaseline/CssBaseline.js +22 -12
- package/node/Dialog/Dialog.js +1 -1
- 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 +3 -3
- 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 +56 -22
- 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 +3 -4
- 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 +1 -1
- 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 +1 -1
- package/node/MenuItem/MenuItem.js +1 -1
- package/node/MobileStepper/MobileStepper.js +1 -1
- package/node/Modal/Modal.js +1 -1
- package/node/NativeSelect/NativeSelect.js +1 -1
- package/node/OutlinedInput/NotchedOutline.js +6 -1
- package/node/OutlinedInput/OutlinedInput.js +1 -1
- package/node/Pagination/Pagination.js +1 -1
- package/node/PaginationItem/PaginationItem.js +32 -10
- package/node/Paper/Paper.js +1 -1
- package/node/Popover/Popover.js +1 -1
- package/node/Radio/Radio.js +1 -1
- package/node/RadioGroup/RadioGroupContext.js +1 -1
- package/node/Rating/Rating.js +1 -1
- package/node/ScopedCssBaseline/ScopedCssBaseline.js +21 -11
- package/node/Select/Select.js +1 -1
- package/node/Skeleton/Skeleton.js +1 -1
- package/node/Slider/Slider.js +1 -1
- package/node/Snackbar/Snackbar.js +1 -1
- package/node/SnackbarContent/SnackbarContent.js +1 -1
- package/node/SpeedDial/SpeedDial.js +1 -1
- package/node/SpeedDialAction/SpeedDialAction.js +1 -1
- package/node/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/node/Stack/Stack.js +5 -2
- 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 +1 -1
- 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 +1 -1
- 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 +4 -2
- package/node/Typography/Typography.js +1 -1
- package/node/index.js +1 -1
- package/node/styles/createPalette.js +1 -1
- package/package.json +7 -6
- package/styles/createPalette.js +1 -1
- package/umd/material-ui.development.js +443 -258
- package/umd/material-ui.production.min.js +18 -18
|
@@ -213,6 +213,6 @@ process.env.NODE_ENV !== "production" ? IconButton.propTypes
|
|
|
213
213
|
/**
|
|
214
214
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
215
215
|
*/
|
|
216
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
216
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
217
217
|
} : void 0;
|
|
218
218
|
export default IconButton;
|
|
@@ -162,7 +162,7 @@ process.env.NODE_ENV !== "production" ? ImageList.propTypes
|
|
|
162
162
|
/**
|
|
163
163
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
164
164
|
*/
|
|
165
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
165
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
168
|
* The variant to use.
|
|
@@ -179,6 +179,6 @@ process.env.NODE_ENV !== "production" ? ImageListItem.propTypes
|
|
|
179
179
|
/**
|
|
180
180
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
181
181
|
*/
|
|
182
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
182
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
183
183
|
} : void 0;
|
|
184
184
|
export default ImageListItem;
|
|
@@ -216,7 +216,7 @@ process.env.NODE_ENV !== "production" ? ImageListItemBar.propTypes
|
|
|
216
216
|
/**
|
|
217
217
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
218
218
|
*/
|
|
219
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
219
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
220
220
|
|
|
221
221
|
/**
|
|
222
222
|
* Title to be displayed.
|
package/legacy/Input/Input.js
CHANGED
|
@@ -314,7 +314,7 @@ process.env.NODE_ENV !== "production" ? Input.propTypes
|
|
|
314
314
|
/**
|
|
315
315
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
316
316
|
*/
|
|
317
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
317
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
318
318
|
|
|
319
319
|
/**
|
|
320
320
|
* 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).
|
|
@@ -181,7 +181,7 @@ process.env.NODE_ENV !== "production" ? InputAdornment.propTypes
|
|
|
181
181
|
/**
|
|
182
182
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
183
183
|
*/
|
|
184
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
184
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
185
185
|
|
|
186
186
|
/**
|
|
187
187
|
* The variant to use.
|
|
@@ -171,8 +171,7 @@ export var InputBaseComponent = styled('input', {
|
|
|
171
171
|
paddingTop: 0
|
|
172
172
|
}, ownerState.type === 'search' && {
|
|
173
173
|
// Improve type search style.
|
|
174
|
-
MozAppearance: 'textfield'
|
|
175
|
-
WebkitAppearance: 'textfield'
|
|
174
|
+
MozAppearance: 'textfield'
|
|
176
175
|
});
|
|
177
176
|
});
|
|
178
177
|
|
|
@@ -493,7 +492,7 @@ var InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref) {
|
|
|
493
492
|
ownerState: _extends({}, ownerState, inputProps.ownerState)
|
|
494
493
|
}, {
|
|
495
494
|
ref: handleInputRef,
|
|
496
|
-
className: clsx(classes.input, inputProps.className
|
|
495
|
+
className: clsx(classes.input, inputProps.className),
|
|
497
496
|
onBlur: handleBlur,
|
|
498
497
|
onChange: handleChange,
|
|
499
498
|
onFocus: handleFocus
|
|
@@ -719,7 +718,7 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes
|
|
|
719
718
|
/**
|
|
720
719
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
721
720
|
*/
|
|
722
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
721
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
723
722
|
|
|
724
723
|
/**
|
|
725
724
|
* 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).
|
|
@@ -204,7 +204,7 @@ process.env.NODE_ENV !== "production" ? InputLabel.propTypes
|
|
|
204
204
|
/**
|
|
205
205
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
206
206
|
*/
|
|
207
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
207
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
208
208
|
|
|
209
209
|
/**
|
|
210
210
|
* The variant to use.
|
|
@@ -282,7 +282,7 @@ process.env.NODE_ENV !== "production" ? LinearProgress.propTypes
|
|
|
282
282
|
/**
|
|
283
283
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
284
284
|
*/
|
|
285
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
285
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
286
286
|
|
|
287
287
|
/**
|
|
288
288
|
* The value of the progress indicator for the determinate and buffer variants.
|
package/legacy/Link/Link.js
CHANGED
|
@@ -217,7 +217,7 @@ process.env.NODE_ENV !== "production" ? Link.propTypes
|
|
|
217
217
|
/**
|
|
218
218
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
219
219
|
*/
|
|
220
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
220
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
221
221
|
|
|
222
222
|
/**
|
|
223
223
|
* `classes` prop applied to the [`Typography`](/api/typography/) element.
|
package/legacy/List/List.js
CHANGED
|
@@ -136,6 +136,6 @@ process.env.NODE_ENV !== "production" ? List.propTypes
|
|
|
136
136
|
/**
|
|
137
137
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
138
138
|
*/
|
|
139
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
139
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
140
140
|
} : void 0;
|
|
141
141
|
export default List;
|
|
@@ -416,6 +416,6 @@ process.env.NODE_ENV !== "production" ? ListItem.propTypes
|
|
|
416
416
|
/**
|
|
417
417
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
418
418
|
*/
|
|
419
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
419
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
420
420
|
} : void 0;
|
|
421
421
|
export default ListItem;
|
|
@@ -87,6 +87,6 @@ process.env.NODE_ENV !== "production" ? ListItemAvatar.propTypes
|
|
|
87
87
|
/**
|
|
88
88
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
89
89
|
*/
|
|
90
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
90
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
91
91
|
} : void 0;
|
|
92
92
|
export default ListItemAvatar;
|
|
@@ -241,6 +241,6 @@ process.env.NODE_ENV !== "production" ? ListItemButton.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.func, PropTypes.object])
|
|
244
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
245
245
|
} : void 0;
|
|
246
246
|
export default ListItemButton;
|
|
@@ -91,6 +91,6 @@ process.env.NODE_ENV !== "production" ? ListItemIcon.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.func, PropTypes.object])
|
|
94
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
95
95
|
} : void 0;
|
|
96
96
|
export default ListItemIcon;
|
|
@@ -89,7 +89,7 @@ process.env.NODE_ENV !== "production" ? ListItemSecondaryAction.propTypes
|
|
|
89
89
|
/**
|
|
90
90
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
91
91
|
*/
|
|
92
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
92
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
93
93
|
} : void 0;
|
|
94
94
|
ListItemSecondaryAction.muiName = 'ListItemSecondaryAction';
|
|
95
95
|
export default ListItemSecondaryAction;
|
|
@@ -176,6 +176,6 @@ process.env.NODE_ENV !== "production" ? ListItemText.propTypes
|
|
|
176
176
|
/**
|
|
177
177
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
178
178
|
*/
|
|
179
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
179
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
180
180
|
} : void 0;
|
|
181
181
|
export default ListItemText;
|
|
@@ -147,6 +147,6 @@ process.env.NODE_ENV !== "production" ? ListSubheader.propTypes
|
|
|
147
147
|
/**
|
|
148
148
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
149
149
|
*/
|
|
150
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
150
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
151
151
|
} : void 0;
|
|
152
152
|
export default ListSubheader;
|
package/legacy/Menu/Menu.js
CHANGED
|
@@ -274,7 +274,7 @@ process.env.NODE_ENV !== "production" ? Menu.propTypes
|
|
|
274
274
|
/**
|
|
275
275
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
276
276
|
*/
|
|
277
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
277
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
278
278
|
|
|
279
279
|
/**
|
|
280
280
|
* The length of the transition in `ms`, or 'auto'
|
|
@@ -257,7 +257,7 @@ process.env.NODE_ENV !== "production" ? MenuItem.propTypes
|
|
|
257
257
|
/**
|
|
258
258
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
259
259
|
*/
|
|
260
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
260
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
261
261
|
|
|
262
262
|
/**
|
|
263
263
|
* @default 0
|
|
@@ -218,7 +218,7 @@ process.env.NODE_ENV !== "production" ? MobileStepper.propTypes
|
|
|
218
218
|
/**
|
|
219
219
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
220
220
|
*/
|
|
221
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
221
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
222
222
|
|
|
223
223
|
/**
|
|
224
224
|
* The variant to use.
|
package/legacy/Modal/Modal.js
CHANGED
|
@@ -288,6 +288,6 @@ process.env.NODE_ENV !== "production" ? Modal.propTypes
|
|
|
288
288
|
/**
|
|
289
289
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
290
290
|
*/
|
|
291
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
291
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
292
292
|
} : void 0;
|
|
293
293
|
export default Modal;
|
|
@@ -130,7 +130,7 @@ process.env.NODE_ENV !== "production" ? NativeSelect.propTypes
|
|
|
130
130
|
/**
|
|
131
131
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
132
132
|
*/
|
|
133
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
133
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
134
134
|
|
|
135
135
|
/**
|
|
136
136
|
* The `input` value. The DOM API casts this to a string.
|
|
@@ -25,7 +25,9 @@ var NotchedOutlineLegend = styled('legend', {
|
|
|
25
25
|
})(function (_ref) {
|
|
26
26
|
var ownerState = _ref.ownerState,
|
|
27
27
|
theme = _ref.theme;
|
|
28
|
-
return _extends({
|
|
28
|
+
return _extends({
|
|
29
|
+
float: 'unset'
|
|
30
|
+
}, ownerState.label === undefined && {
|
|
29
31
|
padding: 0,
|
|
30
32
|
lineHeight: '11px',
|
|
31
33
|
// sync with `height` in `legend` styles
|
|
@@ -35,7 +37,9 @@ var NotchedOutlineLegend = styled('legend', {
|
|
|
35
37
|
})
|
|
36
38
|
}, ownerState.label !== undefined && _extends({
|
|
37
39
|
display: 'block',
|
|
40
|
+
// Fix conflict with normalize.css and sanitize.css
|
|
38
41
|
width: 'auto',
|
|
42
|
+
// Fix conflict with bootstrap
|
|
39
43
|
padding: 0,
|
|
40
44
|
height: 11,
|
|
41
45
|
// sync with `lineHeight` in `legend` styles
|
|
@@ -46,6 +50,7 @@ var NotchedOutlineLegend = styled('legend', {
|
|
|
46
50
|
duration: 50,
|
|
47
51
|
easing: theme.transitions.easing.easeOut
|
|
48
52
|
}),
|
|
53
|
+
whiteSpace: 'nowrap',
|
|
49
54
|
'& > span': {
|
|
50
55
|
paddingLeft: 5,
|
|
51
56
|
paddingRight: 5,
|
|
@@ -312,7 +312,7 @@ process.env.NODE_ENV !== "production" ? OutlinedInput.propTypes
|
|
|
312
312
|
/**
|
|
313
313
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
314
314
|
*/
|
|
315
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
315
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
316
316
|
|
|
317
317
|
/**
|
|
318
318
|
* 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).
|
|
@@ -274,7 +274,7 @@ process.env.NODE_ENV !== "production" ? Pagination.propTypes
|
|
|
274
274
|
/**
|
|
275
275
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
276
276
|
*/
|
|
277
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
277
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
278
278
|
|
|
279
279
|
/**
|
|
280
280
|
* The variant to use.
|
|
@@ -203,6 +203,13 @@ var PaginationItem = /*#__PURE__*/React.forwardRef(function PaginationItem(inPro
|
|
|
203
203
|
_props$color = props.color,
|
|
204
204
|
color = _props$color === void 0 ? 'standard' : _props$color,
|
|
205
205
|
component = props.component,
|
|
206
|
+
_props$components = props.components,
|
|
207
|
+
components = _props$components === void 0 ? {
|
|
208
|
+
first: FirstPageIcon,
|
|
209
|
+
last: LastPageIcon,
|
|
210
|
+
next: NavigateNextIcon,
|
|
211
|
+
previous: NavigateBeforeIcon
|
|
212
|
+
} : _props$components,
|
|
206
213
|
_props$disabled = props.disabled,
|
|
207
214
|
disabled = _props$disabled === void 0 ? false : _props$disabled,
|
|
208
215
|
page = props.page,
|
|
@@ -216,7 +223,7 @@ var PaginationItem = /*#__PURE__*/React.forwardRef(function PaginationItem(inPro
|
|
|
216
223
|
type = _props$type === void 0 ? 'page' : _props$type,
|
|
217
224
|
_props$variant = props.variant,
|
|
218
225
|
variant = _props$variant === void 0 ? 'text' : _props$variant,
|
|
219
|
-
other = _objectWithoutProperties(props, ["className", "color", "component", "disabled", "page", "selected", "shape", "size", "type", "variant"]);
|
|
226
|
+
other = _objectWithoutProperties(props, ["className", "color", "component", "components", "disabled", "page", "selected", "shape", "size", "type", "variant"]);
|
|
220
227
|
|
|
221
228
|
var ownerState = _extends({}, props, {
|
|
222
229
|
color: color,
|
|
@@ -231,15 +238,15 @@ var PaginationItem = /*#__PURE__*/React.forwardRef(function PaginationItem(inPro
|
|
|
231
238
|
var theme = useTheme();
|
|
232
239
|
var classes = useUtilityClasses(ownerState);
|
|
233
240
|
var normalizedIcons = theme.direction === 'rtl' ? {
|
|
234
|
-
previous: NavigateNextIcon,
|
|
235
|
-
next: NavigateBeforeIcon,
|
|
236
|
-
last: FirstPageIcon,
|
|
237
|
-
first: LastPageIcon
|
|
241
|
+
previous: components.next || NavigateNextIcon,
|
|
242
|
+
next: components.previous || NavigateBeforeIcon,
|
|
243
|
+
last: components.first || FirstPageIcon,
|
|
244
|
+
first: components.last || LastPageIcon
|
|
238
245
|
} : {
|
|
239
|
-
previous: NavigateBeforeIcon,
|
|
240
|
-
next: NavigateNextIcon,
|
|
241
|
-
first: FirstPageIcon,
|
|
242
|
-
last: LastPageIcon
|
|
246
|
+
previous: components.previous || NavigateBeforeIcon,
|
|
247
|
+
next: components.next || NavigateNextIcon,
|
|
248
|
+
first: components.first || FirstPageIcon,
|
|
249
|
+
last: components.last || LastPageIcon
|
|
243
250
|
};
|
|
244
251
|
var Icon = normalizedIcons[type];
|
|
245
252
|
return type === 'start-ellipsis' || type === 'end-ellipsis' ? /*#__PURE__*/_jsx(PaginationItemEllipsis, {
|
|
@@ -298,6 +305,22 @@ process.env.NODE_ENV !== "production" ? PaginationItem.propTypes
|
|
|
298
305
|
*/
|
|
299
306
|
component: PropTypes.elementType,
|
|
300
307
|
|
|
308
|
+
/**
|
|
309
|
+
* The components used for first, last, next & previous item type
|
|
310
|
+
* @default {
|
|
311
|
+
* first: FirstPageIcon,
|
|
312
|
+
* last: LastPageIcon,
|
|
313
|
+
* next: NavigateNextIcon,
|
|
314
|
+
* previous: NavigateBeforeIcon,
|
|
315
|
+
* }
|
|
316
|
+
*/
|
|
317
|
+
components: PropTypes.shape({
|
|
318
|
+
first: PropTypes.elementType,
|
|
319
|
+
last: PropTypes.elementType,
|
|
320
|
+
next: PropTypes.elementType,
|
|
321
|
+
previous: PropTypes.elementType
|
|
322
|
+
}),
|
|
323
|
+
|
|
301
324
|
/**
|
|
302
325
|
* If `true`, the component is disabled.
|
|
303
326
|
* @default false
|
|
@@ -332,7 +355,7 @@ process.env.NODE_ENV !== "production" ? PaginationItem.propTypes
|
|
|
332
355
|
/**
|
|
333
356
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
334
357
|
*/
|
|
335
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
358
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
336
359
|
|
|
337
360
|
/**
|
|
338
361
|
* The type of pagination item.
|
package/legacy/Paper/Paper.js
CHANGED
|
@@ -156,7 +156,7 @@ process.env.NODE_ENV !== "production" ? Paper.propTypes
|
|
|
156
156
|
/**
|
|
157
157
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
158
158
|
*/
|
|
159
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
159
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
160
160
|
|
|
161
161
|
/**
|
|
162
162
|
* The variant to use.
|
|
@@ -471,7 +471,7 @@ process.env.NODE_ENV !== "production" ? Popover.propTypes
|
|
|
471
471
|
/**
|
|
472
472
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
473
473
|
*/
|
|
474
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
474
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
475
475
|
|
|
476
476
|
/**
|
|
477
477
|
* This is the point on the popover which
|
package/legacy/Radio/Radio.js
CHANGED
|
@@ -222,7 +222,7 @@ process.env.NODE_ENV !== "production" ? Radio.propTypes
|
|
|
222
222
|
/**
|
|
223
223
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
224
224
|
*/
|
|
225
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
225
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
226
226
|
|
|
227
227
|
/**
|
|
228
228
|
* The value of the component. The DOM API casts this to a string.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
|
|
2
3
|
/**
|
|
3
4
|
* @ignore - internal component.
|
|
4
5
|
*/
|
|
5
|
-
|
|
6
|
-
var RadioGroupContext = /*#__PURE__*/React.createContext();
|
|
6
|
+
var RadioGroupContext = /*#__PURE__*/React.createContext(undefined);
|
|
7
7
|
|
|
8
8
|
if (process.env.NODE_ENV !== 'production') {
|
|
9
9
|
RadioGroupContext.displayName = 'RadioGroupContext';
|
package/legacy/Rating/Rating.js
CHANGED
|
@@ -740,7 +740,7 @@ process.env.NODE_ENV !== "production" ? Rating.propTypes
|
|
|
740
740
|
/**
|
|
741
741
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
742
742
|
*/
|
|
743
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
743
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
744
744
|
|
|
745
745
|
/**
|
|
746
746
|
* The rating value.
|
|
@@ -25,8 +25,9 @@ var ScopedCssBaselineRoot = styled('div', {
|
|
|
25
25
|
return styles.root;
|
|
26
26
|
}
|
|
27
27
|
})(function (_ref) {
|
|
28
|
-
var theme = _ref.theme
|
|
29
|
-
|
|
28
|
+
var theme = _ref.theme,
|
|
29
|
+
ownerState = _ref.ownerState;
|
|
30
|
+
return _extends({}, html(theme, ownerState.enableColorScheme), body(theme), {
|
|
30
31
|
'& *, & *::before, & *::after': {
|
|
31
32
|
boxSizing: 'inherit'
|
|
32
33
|
},
|
|
@@ -44,7 +45,8 @@ var ScopedCssBaseline = /*#__PURE__*/React.forwardRef(function ScopedCssBaseline
|
|
|
44
45
|
var className = props.className,
|
|
45
46
|
_props$component = props.component,
|
|
46
47
|
component = _props$component === void 0 ? 'div' : _props$component,
|
|
47
|
-
|
|
48
|
+
enableColorScheme = props.enableColorScheme,
|
|
49
|
+
other = _objectWithoutProperties(props, ["className", "component", "enableColorScheme"]);
|
|
48
50
|
|
|
49
51
|
var ownerState = _extends({}, props, {
|
|
50
52
|
component: component
|
|
@@ -85,6 +87,13 @@ process.env.NODE_ENV !== "production" ? ScopedCssBaseline.propTypes
|
|
|
85
87
|
* The component used for the root node.
|
|
86
88
|
* Either a string to use a HTML element or a component.
|
|
87
89
|
*/
|
|
88
|
-
component: PropTypes.elementType
|
|
90
|
+
component: PropTypes.elementType,
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Enable `color-scheme` css property to use `theme.palette.mode`.
|
|
94
|
+
* For more details, check out https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme
|
|
95
|
+
* For browser support, check out https://caniuse.com/?search=color-scheme
|
|
96
|
+
*/
|
|
97
|
+
enableColorScheme: PropTypes.bool
|
|
89
98
|
} : void 0;
|
|
90
99
|
export default ScopedCssBaseline;
|
package/legacy/Select/Select.js
CHANGED
|
@@ -275,7 +275,7 @@ process.env.NODE_ENV !== "production" ? Select.propTypes
|
|
|
275
275
|
/**
|
|
276
276
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
277
277
|
*/
|
|
278
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
278
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
279
279
|
|
|
280
280
|
/**
|
|
281
281
|
* The `input` value. Providing an empty string will select no options.
|
|
@@ -164,7 +164,7 @@ process.env.NODE_ENV !== "production" ? Skeleton.propTypes
|
|
|
164
164
|
/**
|
|
165
165
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
166
166
|
*/
|
|
167
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
167
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
168
168
|
|
|
169
169
|
/**
|
|
170
170
|
* The type of content that will be rendered.
|
package/legacy/Slider/Slider.js
CHANGED
|
@@ -649,7 +649,7 @@ process.env.NODE_ENV !== "production" ? Slider.propTypes
|
|
|
649
649
|
/**
|
|
650
650
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
651
651
|
*/
|
|
652
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
652
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
653
653
|
|
|
654
654
|
/**
|
|
655
655
|
* Tab index attribute of the hidden `input` element.
|
|
@@ -378,7 +378,7 @@ process.env.NODE_ENV !== "production" ? Snackbar.propTypes
|
|
|
378
378
|
/**
|
|
379
379
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
380
380
|
*/
|
|
381
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
381
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
382
382
|
|
|
383
383
|
/**
|
|
384
384
|
* The component used for the transition.
|
|
@@ -142,6 +142,6 @@ process.env.NODE_ENV !== "production" ? SnackbarContent.propTypes
|
|
|
142
142
|
/**
|
|
143
143
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
144
144
|
*/
|
|
145
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
145
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
146
146
|
} : void 0;
|
|
147
147
|
export default SnackbarContent;
|
|
@@ -528,7 +528,7 @@ process.env.NODE_ENV !== "production" ? SpeedDial.propTypes
|
|
|
528
528
|
/**
|
|
529
529
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
530
530
|
*/
|
|
531
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
531
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
532
532
|
|
|
533
533
|
/**
|
|
534
534
|
* The component used for the transition.
|
|
@@ -246,7 +246,7 @@ process.env.NODE_ENV !== "production" ? SpeedDialAction.propTypes
|
|
|
246
246
|
/**
|
|
247
247
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
248
248
|
*/
|
|
249
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
249
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
250
250
|
|
|
251
251
|
/**
|
|
252
252
|
* `classes` prop applied to the [`Tooltip`](/api/tooltip/) element.
|
|
@@ -130,7 +130,7 @@ process.env.NODE_ENV !== "production" ? SpeedDialIcon.propTypes
|
|
|
130
130
|
/**
|
|
131
131
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
132
132
|
*/
|
|
133
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
133
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
134
134
|
} : void 0;
|
|
135
135
|
SpeedDialIcon.muiName = 'SpeedDialIcon';
|
|
136
136
|
export default SpeedDialIcon;
|
package/legacy/Stack/Stack.js
CHANGED
|
@@ -49,7 +49,10 @@ export var style = function style(_ref) {
|
|
|
49
49
|
display: 'flex'
|
|
50
50
|
}, handleBreakpoints({
|
|
51
51
|
theme: theme
|
|
52
|
-
},
|
|
52
|
+
}, resolveBreakpointValues({
|
|
53
|
+
values: ownerState.direction,
|
|
54
|
+
breakpoints: theme.breakpoints.values
|
|
55
|
+
}), function (propValue) {
|
|
53
56
|
return {
|
|
54
57
|
flexDirection: propValue
|
|
55
58
|
};
|
|
@@ -164,6 +167,6 @@ process.env.NODE_ENV !== "production" ? Stack.propTypes
|
|
|
164
167
|
/**
|
|
165
168
|
* The system prop, which allows defining system overrides as well as additional CSS styles.
|
|
166
169
|
*/
|
|
167
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
170
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
168
171
|
} : void 0;
|
|
169
172
|
export default Stack;
|
package/legacy/Step/Step.js
CHANGED
|
@@ -178,6 +178,6 @@ process.env.NODE_ENV !== "production" ? Step.propTypes
|
|
|
178
178
|
/**
|
|
179
179
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
180
180
|
*/
|
|
181
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
181
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
182
182
|
} : void 0;
|
|
183
183
|
export default Step;
|
|
@@ -126,6 +126,6 @@ process.env.NODE_ENV !== "production" ? StepButton.propTypes
|
|
|
126
126
|
/**
|
|
127
127
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
128
128
|
*/
|
|
129
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
129
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
130
130
|
} : void 0;
|
|
131
131
|
export default StepButton;
|
|
@@ -129,6 +129,6 @@ process.env.NODE_ENV !== "production" ? StepConnector.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.func, PropTypes.object])
|
|
132
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
133
133
|
} : void 0;
|
|
134
134
|
export default StepConnector;
|
|
@@ -134,7 +134,7 @@ process.env.NODE_ENV !== "production" ? StepContent.propTypes
|
|
|
134
134
|
/**
|
|
135
135
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
136
136
|
*/
|
|
137
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
137
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
140
|
* The component used for the transition.
|
|
@@ -178,6 +178,6 @@ process.env.NODE_ENV !== "production" ? StepIcon.propTypes
|
|
|
178
178
|
/**
|
|
179
179
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
180
180
|
*/
|
|
181
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
181
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
182
182
|
} : void 0;
|
|
183
183
|
export default StepIcon;
|
|
@@ -240,7 +240,7 @@ process.env.NODE_ENV !== "production" ? StepLabel.propTypes
|
|
|
240
240
|
/**
|
|
241
241
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
242
242
|
*/
|
|
243
|
-
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
243
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
244
244
|
} : void 0;
|
|
245
245
|
StepLabel.muiName = 'StepLabel';
|
|
246
246
|
export default StepLabel;
|