@mui/material 5.0.3 → 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.d.ts +1 -1
- package/Autocomplete/Autocomplete.js +18 -11
- package/Avatar/Avatar.js +1 -1
- package/AvatarGroup/AvatarGroup.js +3 -3
- 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 +274 -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 +2 -2
- package/Checkbox/Checkbox.js +1 -1
- package/Chip/Chip.js +6 -5
- package/CircularProgress/CircularProgress.js +1 -1
- package/ClickAwayListener/index.d.ts +2 -2
- package/ClickAwayListener/index.js +2 -2
- 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.d.ts +1 -1
- package/Dialog/Dialog.js +1 -1
- package/DialogActions/DialogActions.js +1 -1
- package/DialogContent/DialogContent.js +3 -2
- 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/Fade/Fade.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 +61 -26
- package/Grow/Grow.d.ts +1 -1
- package/Grow/Grow.js +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.js +6 -12
- 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 +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 +5 -2
- 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 +35 -14
- package/Paper/Paper.js +1 -1
- package/Popover/Popover.d.ts +1 -1
- package/Popover/Popover.js +1 -1
- package/Popper/index.d.ts +2 -2
- package/Popper/index.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 -2
- 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/Slide/Slide.d.ts +1 -1
- package/Slide/Slide.js +1 -1
- package/Slider/Slider.js +1 -1
- package/Snackbar/Snackbar.d.ts +2 -2
- package/Snackbar/Snackbar.js +2 -2
- 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.d.ts +6 -0
- package/Tab/Tab.js +34 -10
- package/Tab/tabClasses.d.ts +2 -0
- package/Tab/tabClasses.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/TextareaAutosize/index.d.ts +2 -2
- package/TextareaAutosize/index.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 +5 -3
- package/Tooltip/Tooltip.js +7 -5
- package/Typography/Typography.js +1 -1
- package/Zoom/Zoom.d.ts +1 -1
- package/Zoom/Zoom.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 +35 -32
- package/legacy/Avatar/Avatar.js +1 -1
- package/legacy/AvatarGroup/AvatarGroup.js +3 -3
- 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 +2 -2
- package/legacy/Checkbox/Checkbox.js +1 -1
- package/legacy/Chip/Chip.js +6 -5
- package/legacy/CircularProgress/CircularProgress.js +1 -1
- package/legacy/ClickAwayListener/index.js +2 -2
- 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 +6 -6
- 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/Fade/Fade.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 +62 -27
- package/legacy/Grow/Grow.js +1 -1
- 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 +6 -12
- 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 +5 -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/NotchedOutline.js +6 -1
- package/legacy/OutlinedInput/OutlinedInput.js +1 -1
- package/legacy/Pagination/Pagination.js +1 -1
- package/legacy/PaginationItem/PaginationItem.js +36 -14
- package/legacy/Paper/Paper.js +1 -1
- package/legacy/Popover/Popover.js +1 -1
- package/legacy/Popper/index.js +1 -1
- package/legacy/Radio/Radio.js +1 -1
- package/legacy/RadioGroup/RadioGroupContext.js +2 -2
- package/legacy/Rating/Rating.js +1 -2
- package/legacy/ScopedCssBaseline/ScopedCssBaseline.js +13 -4
- package/legacy/Select/Select.js +1 -1
- package/legacy/Skeleton/Skeleton.js +1 -1
- package/legacy/Slide/Slide.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 +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 +35 -10
- package/legacy/Tab/tabClasses.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/TextareaAutosize/index.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 +7 -5
- package/legacy/Typography/Typography.js +1 -1
- package/legacy/Zoom/Zoom.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/styles/createPalette.js +1 -1
- package/legacy/styles/index.js +1 -1
- package/legacy/utils/index.js +2 -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 +18 -11
- package/modern/Avatar/Avatar.js +1 -1
- package/modern/AvatarGroup/AvatarGroup.js +3 -3
- 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 +2 -2
- package/modern/Checkbox/Checkbox.js +1 -1
- package/modern/Chip/Chip.js +6 -5
- package/modern/CircularProgress/CircularProgress.js +1 -1
- package/modern/ClickAwayListener/index.js +2 -2
- 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 +3 -2
- 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/Fade/Fade.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 +61 -26
- package/modern/Grow/Grow.js +1 -1
- 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 +6 -12
- 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 +5 -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/NotchedOutline.js +6 -1
- package/modern/OutlinedInput/OutlinedInput.js +1 -1
- package/modern/Pagination/Pagination.js +1 -1
- package/modern/PaginationItem/PaginationItem.js +35 -14
- package/modern/Paper/Paper.js +1 -1
- package/modern/Popover/Popover.js +1 -1
- package/modern/Popper/index.js +1 -1
- package/modern/Radio/Radio.js +1 -1
- package/modern/RadioGroup/RadioGroupContext.js +2 -2
- package/modern/Rating/Rating.js +1 -2
- package/modern/ScopedCssBaseline/ScopedCssBaseline.js +21 -11
- package/modern/Select/Select.js +1 -1
- package/modern/Skeleton/Skeleton.js +1 -1
- package/modern/Slide/Slide.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 +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 +34 -10
- package/modern/Tab/tabClasses.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/TextareaAutosize/index.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 +6 -4
- package/modern/Typography/Typography.js +1 -1
- package/modern/Zoom/Zoom.js +1 -1
- package/modern/index.js +1 -1
- package/modern/styles/createPalette.js +1 -1
- package/modern/styles/index.js +1 -1
- package/modern/utils/index.js +2 -1
- package/node/Accordion/Accordion.js +1 -1
- package/node/Accordion/accordionClasses.js +1 -1
- package/node/Accordion/index.js +4 -4
- package/node/AccordionActions/AccordionActions.js +1 -1
- package/node/AccordionActions/accordionActionsClasses.js +1 -1
- package/node/AccordionActions/index.js +4 -4
- package/node/AccordionDetails/AccordionDetails.js +1 -1
- package/node/AccordionDetails/accordionDetailsClasses.js +1 -1
- package/node/AccordionDetails/index.js +4 -4
- package/node/AccordionSummary/AccordionSummary.js +1 -1
- package/node/AccordionSummary/accordionSummaryClasses.js +1 -1
- package/node/AccordionSummary/index.js +4 -4
- package/node/Alert/Alert.js +1 -1
- package/node/Alert/alertClasses.js +1 -1
- package/node/Alert/index.js +4 -4
- package/node/AlertTitle/AlertTitle.js +1 -1
- package/node/AlertTitle/alertTitleClasses.js +1 -1
- package/node/AlertTitle/index.js +4 -4
- package/node/AppBar/AppBar.js +1 -1
- package/node/AppBar/appBarClasses.js +1 -1
- package/node/AppBar/index.js +4 -4
- package/node/Autocomplete/Autocomplete.js +22 -11
- package/node/Autocomplete/autocompleteClasses.js +1 -1
- package/node/Autocomplete/index.js +4 -4
- package/node/Avatar/Avatar.js +1 -1
- package/node/Avatar/avatarClasses.js +1 -1
- package/node/Avatar/index.js +4 -4
- package/node/AvatarGroup/AvatarGroup.js +3 -3
- package/node/AvatarGroup/avatarGroupClasses.js +1 -1
- package/node/AvatarGroup/index.js +4 -4
- package/node/Backdrop/Backdrop.js +1 -1
- package/node/Badge/Badge.js +1 -1
- package/node/BottomNavigation/BottomNavigation.js +1 -1
- package/node/BottomNavigation/bottomNavigationClasses.js +1 -1
- package/node/BottomNavigation/index.js +4 -4
- package/node/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/node/BottomNavigationAction/bottomNavigationActionClasses.js +1 -1
- package/node/BottomNavigationAction/index.js +4 -4
- package/node/Box/Box.js +5 -1
- package/node/Breadcrumbs/Breadcrumbs.js +1 -1
- package/node/Breadcrumbs/breadcrumbsClasses.js +1 -1
- package/node/Breadcrumbs/index.js +4 -4
- package/node/Button/Button.js +40 -9
- package/node/Button/buttonClasses.js +1 -1
- package/node/Button/index.js +4 -4
- package/node/ButtonBase/ButtonBase.js +1 -1
- package/node/ButtonBase/TouchRipple.js +1 -1
- package/node/ButtonBase/buttonBaseClasses.js +1 -1
- package/node/ButtonBase/index.js +4 -4
- package/node/ButtonBase/touchRippleClasses.js +1 -1
- package/node/ButtonGroup/ButtonGroup.js +24 -28
- package/node/ButtonGroup/ButtonGroupContext.js +24 -0
- package/node/ButtonGroup/buttonGroupClasses.js +1 -1
- package/node/ButtonGroup/index.js +4 -4
- package/node/Card/Card.js +1 -1
- package/node/Card/cardClasses.js +1 -1
- package/node/Card/index.js +4 -4
- package/node/CardActionArea/CardActionArea.js +1 -1
- package/node/CardActionArea/cardActionAreaClasses.js +1 -1
- package/node/CardActionArea/index.js +4 -4
- package/node/CardActions/CardActions.js +1 -1
- package/node/CardActions/cardActionsClasses.js +1 -1
- package/node/CardActions/index.js +4 -4
- package/node/CardContent/CardContent.js +1 -1
- package/node/CardContent/cardContentClasses.js +1 -1
- package/node/CardContent/index.js +4 -4
- package/node/CardHeader/CardHeader.js +1 -1
- package/node/CardHeader/cardHeaderClasses.js +1 -1
- package/node/CardHeader/index.js +4 -4
- package/node/CardMedia/CardMedia.js +2 -2
- package/node/CardMedia/cardMediaClasses.js +1 -1
- package/node/CardMedia/index.js +4 -4
- package/node/Checkbox/Checkbox.js +1 -1
- package/node/Checkbox/checkboxClasses.js +1 -1
- package/node/Checkbox/index.js +4 -4
- package/node/Chip/Chip.js +6 -5
- package/node/Chip/chipClasses.js +1 -1
- package/node/Chip/index.js +4 -4
- package/node/CircularProgress/CircularProgress.js +1 -1
- package/node/CircularProgress/circularProgressClasses.js +1 -1
- package/node/CircularProgress/index.js +4 -4
- package/node/ClickAwayListener/index.js +1 -1
- package/node/Collapse/Collapse.js +1 -1
- package/node/Collapse/collapseClasses.js +1 -1
- package/node/Collapse/index.js +4 -4
- package/node/Container/Container.js +1 -1
- package/node/Container/containerClasses.js +1 -1
- package/node/Container/index.js +4 -4
- package/node/CssBaseline/CssBaseline.js +23 -13
- package/node/Dialog/Dialog.js +1 -1
- package/node/Dialog/dialogClasses.js +1 -1
- package/node/DialogActions/DialogActions.js +1 -1
- package/node/DialogActions/dialogActionsClasses.js +1 -1
- package/node/DialogContent/DialogContent.js +4 -2
- package/node/DialogContent/dialogContentClasses.js +1 -1
- package/node/DialogContentText/DialogContentText.js +1 -1
- package/node/DialogContentText/dialogContentTextClasses.js +1 -1
- package/node/DialogTitle/DialogTitle.js +1 -1
- package/node/DialogTitle/dialogTitleClasses.js +1 -1
- package/node/Divider/Divider.js +1 -1
- package/node/Divider/dividerClasses.js +1 -1
- package/node/Drawer/Drawer.js +3 -3
- package/node/Drawer/drawerClasses.js +1 -1
- package/node/Fab/Fab.js +1 -1
- package/node/Fab/fabClasses.js +1 -1
- package/node/Fade/Fade.js +1 -1
- package/node/FilledInput/FilledInput.js +1 -1
- package/node/FilledInput/filledInputClasses.js +1 -1
- package/node/FormControl/FormControl.js +1 -1
- package/node/FormControl/formControlClasses.js +1 -1
- package/node/FormControl/index.js +4 -4
- package/node/FormControlLabel/FormControlLabel.js +3 -3
- package/node/FormControlLabel/formControlLabelClasses.js +1 -1
- package/node/FormGroup/FormGroup.js +1 -1
- package/node/FormGroup/formGroupClasses.js +1 -1
- package/node/FormHelperText/FormHelperText.js +1 -1
- package/node/FormHelperText/formHelperTextClasses.js +1 -1
- package/node/FormLabel/FormLabel.js +1 -1
- package/node/FormLabel/formLabelClasses.js +1 -1
- package/node/Grid/Grid.js +63 -26
- package/node/Grid/gridClasses.js +1 -1
- package/node/Grow/Grow.js +1 -1
- package/node/Hidden/hiddenCssClasses.js +1 -1
- package/node/Hidden/withWidth.js +1 -1
- package/node/Icon/Icon.js +1 -1
- package/node/Icon/iconClasses.js +1 -1
- package/node/IconButton/IconButton.js +1 -1
- package/node/IconButton/iconButtonClasses.js +1 -1
- package/node/ImageList/ImageList.js +1 -1
- package/node/ImageList/imageListClasses.js +1 -1
- package/node/ImageListItem/ImageListItem.js +1 -1
- package/node/ImageListItem/imageListItemClasses.js +1 -1
- package/node/ImageListItemBar/ImageListItemBar.js +1 -1
- package/node/ImageListItemBar/imageListItemBarClasses.js +1 -1
- package/node/Input/Input.js +1 -1
- package/node/Input/inputClasses.js +1 -1
- package/node/InputAdornment/InputAdornment.js +1 -1
- package/node/InputAdornment/inputAdornmentClasses.js +1 -1
- package/node/InputBase/InputBase.js +7 -15
- package/node/InputBase/inputBaseClasses.js +1 -1
- package/node/InputBase/utils.js +1 -1
- package/node/InputLabel/InputLabel.js +1 -1
- package/node/InputLabel/inputLabelClasses.js +1 -1
- package/node/LinearProgress/LinearProgress.js +1 -1
- package/node/LinearProgress/linearProgressClasses.js +1 -1
- package/node/Link/Link.js +1 -1
- package/node/Link/linkClasses.js +1 -1
- package/node/List/List.js +1 -1
- package/node/List/listClasses.js +1 -1
- package/node/ListItem/ListItem.js +2 -2
- package/node/ListItem/listItemClasses.js +1 -1
- package/node/ListItemAvatar/ListItemAvatar.js +1 -1
- package/node/ListItemAvatar/listItemAvatarClasses.js +1 -1
- package/node/ListItemButton/ListItemButton.js +2 -2
- package/node/ListItemButton/listItemButtonClasses.js +1 -1
- package/node/ListItemIcon/ListItemIcon.js +1 -1
- package/node/ListItemIcon/listItemIconClasses.js +1 -1
- package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/node/ListItemSecondaryAction/listItemSecondaryActionClasses.js +1 -1
- package/node/ListItemText/ListItemText.js +1 -1
- package/node/ListItemText/listItemTextClasses.js +1 -1
- package/node/ListSubheader/ListSubheader.js +1 -1
- package/node/ListSubheader/listSubheaderClasses.js +1 -1
- package/node/Menu/Menu.js +1 -1
- package/node/Menu/menuClasses.js +1 -1
- package/node/MenuItem/MenuItem.js +6 -3
- package/node/MenuItem/menuItemClasses.js +1 -1
- package/node/MobileStepper/MobileStepper.js +1 -1
- package/node/MobileStepper/mobileStepperClasses.js +1 -1
- package/node/Modal/Modal.js +2 -2
- package/node/NativeSelect/NativeSelect.js +1 -1
- package/node/NativeSelect/NativeSelectInput.js +1 -1
- package/node/NativeSelect/nativeSelectClasses.js +1 -1
- package/node/OutlinedInput/NotchedOutline.js +6 -1
- package/node/OutlinedInput/OutlinedInput.js +1 -1
- package/node/OutlinedInput/outlinedInputClasses.js +1 -1
- package/node/Pagination/Pagination.js +1 -1
- package/node/Pagination/paginationClasses.js +1 -1
- package/node/PaginationItem/PaginationItem.js +35 -14
- package/node/PaginationItem/paginationItemClasses.js +1 -1
- package/node/Paper/Paper.js +1 -1
- package/node/Paper/paperClasses.js +1 -1
- package/node/Popover/Popover.js +3 -3
- package/node/Popover/popoverClasses.js +1 -1
- package/node/Popper/index.js +1 -1
- package/node/Radio/Radio.js +1 -1
- package/node/Radio/radioClasses.js +1 -1
- package/node/RadioGroup/RadioGroupContext.js +1 -1
- package/node/Rating/Rating.js +1 -2
- package/node/Rating/ratingClasses.js +1 -1
- package/node/ScopedCssBaseline/ScopedCssBaseline.js +21 -11
- package/node/ScopedCssBaseline/scopedCssBaselineClasses.js +1 -1
- package/node/Select/Select.js +1 -1
- package/node/Select/selectClasses.js +1 -1
- package/node/Skeleton/Skeleton.js +1 -1
- package/node/Skeleton/skeletonClasses.js +1 -1
- package/node/Slide/Slide.js +2 -2
- package/node/Slider/Slider.js +2 -2
- package/node/Snackbar/Snackbar.js +3 -3
- package/node/Snackbar/snackbarClasses.js +1 -1
- package/node/SnackbarContent/SnackbarContent.js +1 -1
- package/node/SnackbarContent/snackbarContentClasses.js +1 -1
- package/node/SpeedDial/SpeedDial.js +1 -1
- package/node/SpeedDial/speedDialClasses.js +1 -1
- package/node/SpeedDialAction/SpeedDialAction.js +1 -1
- package/node/SpeedDialAction/speedDialActionClasses.js +1 -1
- package/node/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/node/SpeedDialIcon/speedDialIconClasses.js +1 -1
- package/node/Stack/Stack.js +6 -3
- package/node/Step/Step.js +1 -1
- package/node/Step/stepClasses.js +1 -1
- package/node/StepButton/StepButton.js +1 -1
- package/node/StepButton/stepButtonClasses.js +1 -1
- package/node/StepConnector/StepConnector.js +1 -1
- package/node/StepConnector/stepConnectorClasses.js +1 -1
- package/node/StepContent/StepContent.js +1 -1
- package/node/StepContent/stepContentClasses.js +1 -1
- package/node/StepIcon/StepIcon.js +1 -1
- package/node/StepIcon/stepIconClasses.js +1 -1
- package/node/StepLabel/StepLabel.js +1 -1
- package/node/StepLabel/stepLabelClasses.js +1 -1
- package/node/Stepper/Stepper.js +1 -1
- package/node/Stepper/stepperClasses.js +1 -1
- package/node/SvgIcon/SvgIcon.js +1 -1
- package/node/SvgIcon/svgIconClasses.js +1 -1
- package/node/SwipeableDrawer/SwipeableDrawer.js +1 -1
- package/node/Switch/Switch.js +1 -1
- package/node/Switch/switchClasses.js +1 -1
- package/node/Tab/Tab.js +34 -10
- package/node/Tab/tabClasses.js +2 -2
- package/node/TabScrollButton/TabScrollButton.js +1 -1
- package/node/TabScrollButton/tabScrollButtonClasses.js +1 -1
- package/node/Table/Table.js +1 -1
- package/node/Table/tableClasses.js +1 -1
- package/node/TableBody/TableBody.js +1 -1
- package/node/TableBody/tableBodyClasses.js +1 -1
- package/node/TableCell/TableCell.js +1 -1
- package/node/TableCell/tableCellClasses.js +1 -1
- package/node/TableContainer/TableContainer.js +1 -1
- package/node/TableContainer/tableContainerClasses.js +1 -1
- package/node/TableFooter/TableFooter.js +1 -1
- package/node/TableFooter/tableFooterClasses.js +1 -1
- package/node/TableHead/TableHead.js +1 -1
- package/node/TableHead/tableHeadClasses.js +1 -1
- package/node/TablePagination/TablePagination.js +1 -1
- package/node/TablePagination/tablePaginationClasses.js +1 -1
- package/node/TableRow/TableRow.js +1 -1
- package/node/TableRow/tableRowClasses.js +1 -1
- package/node/TableSortLabel/TableSortLabel.js +1 -1
- package/node/TableSortLabel/tableSortLabelClasses.js +1 -1
- package/node/Tabs/Tabs.js +1 -1
- package/node/Tabs/tabsClasses.js +1 -1
- package/node/TextField/TextField.js +1 -1
- package/node/TextField/textFieldClasses.js +1 -1
- package/node/TextareaAutosize/index.js +1 -1
- package/node/ToggleButton/ToggleButton.js +1 -1
- package/node/ToggleButton/toggleButtonClasses.js +1 -1
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/node/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
- package/node/Toolbar/Toolbar.js +1 -1
- package/node/Toolbar/toolbarClasses.js +1 -1
- package/node/Tooltip/Tooltip.js +8 -6
- package/node/Tooltip/tooltipClasses.js +1 -1
- package/node/Typography/Typography.js +1 -1
- package/node/Typography/typographyClasses.js +1 -1
- package/node/Zoom/Zoom.js +1 -1
- package/node/colors/index.js +40 -40
- package/node/index.js +32 -32
- package/node/internal/switchBaseClasses.js +1 -1
- package/node/locale/index.js +1 -1
- package/node/styles/createPalette.js +3 -2
- package/node/styles/createTransitions.js +1 -1
- package/node/styles/cssUtils.js +4 -4
- package/node/styles/index.js +66 -54
- package/node/styles/styled.js +1 -1
- package/node/useAutocomplete/index.js +4 -4
- package/node/utils/index.js +9 -1
- package/package.json +9 -9
- package/styles/components.d.ts +0 -3
- package/styles/createPalette.js +1 -1
- package/styles/index.d.ts +4 -0
- package/styles/index.js +1 -1
- package/umd/material-ui.development.js +9065 -8295
- package/umd/material-ui.production.min.js +21 -21
- package/utils/index.d.ts +1 -0
- package/utils/index.js +2 -1
- package/ClickAwayListener/ClickAwayListener.d.ts +0 -47
- package/ClickAwayListener/ClickAwayListener.js +0 -196
- package/Popper/Popper.d.ts +0 -97
- package/Popper/Popper.js +0 -354
- package/TextareaAutosize/TextareaAutosize.d.ts +0 -27
- package/TextareaAutosize/TextareaAutosize.js +0 -224
- package/legacy/ClickAwayListener/ClickAwayListener.js +0 -199
- package/legacy/Popper/Popper.js +0 -359
- package/legacy/TextareaAutosize/TextareaAutosize.js +0 -226
- package/modern/ClickAwayListener/ClickAwayListener.js +0 -196
- package/modern/Popper/Popper.js +0 -354
- package/modern/TextareaAutosize/TextareaAutosize.js +0 -224
- package/node/ClickAwayListener/ClickAwayListener.js +0 -216
- package/node/Popper/Popper.js +0 -378
- package/node/TextareaAutosize/TextareaAutosize.js +0 -245
package/modern/Paper/Paper.js
CHANGED
|
@@ -160,7 +160,7 @@ process.env.NODE_ENV !== "production" ? Paper.propTypes
|
|
|
160
160
|
/**
|
|
161
161
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
162
162
|
*/
|
|
163
|
-
sx: PropTypes.object,
|
|
163
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
164
164
|
|
|
165
165
|
/**
|
|
166
166
|
* The variant to use.
|
|
@@ -458,7 +458,7 @@ process.env.NODE_ENV !== "production" ? Popover.propTypes
|
|
|
458
458
|
/**
|
|
459
459
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
460
460
|
*/
|
|
461
|
-
sx: PropTypes.object,
|
|
461
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
462
462
|
|
|
463
463
|
/**
|
|
464
464
|
* This is the point on the popover which
|
package/modern/Popper/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from '
|
|
1
|
+
export { default } from '@mui/core/Popper';
|
package/modern/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.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
|
-
const RadioGroupContext = /*#__PURE__*/React.createContext();
|
|
6
|
+
const RadioGroupContext = /*#__PURE__*/React.createContext(undefined);
|
|
7
7
|
|
|
8
8
|
if (process.env.NODE_ENV !== 'production') {
|
|
9
9
|
RadioGroupContext.displayName = 'RadioGroupContext';
|
package/modern/Rating/Rating.js
CHANGED
|
@@ -536,7 +536,6 @@ const Rating = /*#__PURE__*/React.forwardRef(function Rating(inProps, ref) {
|
|
|
536
536
|
style: items.length - 1 === indexDecimal ? {} : {
|
|
537
537
|
width: itemDecimalValue === value ? `${(indexDecimal + 1) * precision * 100}%` : '0%',
|
|
538
538
|
overflow: 'hidden',
|
|
539
|
-
zIndex: 1,
|
|
540
539
|
position: 'absolute'
|
|
541
540
|
}
|
|
542
541
|
}
|
|
@@ -711,7 +710,7 @@ process.env.NODE_ENV !== "production" ? Rating.propTypes
|
|
|
711
710
|
/**
|
|
712
711
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
713
712
|
*/
|
|
714
|
-
sx: PropTypes.object,
|
|
713
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
715
714
|
|
|
716
715
|
/**
|
|
717
716
|
* The rating value.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
|
-
const _excluded = ["className", "component"];
|
|
3
|
+
const _excluded = ["className", "component", "enableColorScheme"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import clsx from 'clsx';
|
|
@@ -26,15 +26,18 @@ const ScopedCssBaselineRoot = styled('div', {
|
|
|
26
26
|
slot: 'Root',
|
|
27
27
|
overridesResolver: (props, styles) => styles.root
|
|
28
28
|
})(({
|
|
29
|
-
theme
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
29
|
+
theme,
|
|
30
|
+
ownerState
|
|
31
|
+
}) => {
|
|
32
|
+
return _extends({}, html(theme, ownerState.enableColorScheme), body(theme), {
|
|
33
|
+
'& *, & *::before, & *::after': {
|
|
34
|
+
boxSizing: 'inherit'
|
|
35
|
+
},
|
|
36
|
+
'& strong, & b': {
|
|
37
|
+
fontWeight: theme.typography.fontWeightBold
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
});
|
|
38
41
|
const ScopedCssBaseline = /*#__PURE__*/React.forwardRef(function ScopedCssBaseline(inProps, ref) {
|
|
39
42
|
const props = useThemeProps({
|
|
40
43
|
props: inProps,
|
|
@@ -86,6 +89,13 @@ process.env.NODE_ENV !== "production" ? ScopedCssBaseline.propTypes
|
|
|
86
89
|
* The component used for the root node.
|
|
87
90
|
* Either a string to use a HTML element or a component.
|
|
88
91
|
*/
|
|
89
|
-
component: PropTypes.elementType
|
|
92
|
+
component: PropTypes.elementType,
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Enable `color-scheme` css property to use `theme.palette.mode`.
|
|
96
|
+
* For more details, check out https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme
|
|
97
|
+
* For browser support, check out https://caniuse.com/?search=color-scheme
|
|
98
|
+
*/
|
|
99
|
+
enableColorScheme: PropTypes.bool
|
|
90
100
|
} : void 0;
|
|
91
101
|
export default ScopedCssBaseline;
|
package/modern/Select/Select.js
CHANGED
|
@@ -273,7 +273,7 @@ process.env.NODE_ENV !== "production" ? Select.propTypes
|
|
|
273
273
|
/**
|
|
274
274
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
275
275
|
*/
|
|
276
|
-
sx: PropTypes.object,
|
|
276
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
277
277
|
|
|
278
278
|
/**
|
|
279
279
|
* The `input` value. Providing an empty string will select no options.
|
|
@@ -208,7 +208,7 @@ process.env.NODE_ENV !== "production" ? Skeleton.propTypes
|
|
|
208
208
|
/**
|
|
209
209
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
210
210
|
*/
|
|
211
|
-
sx: PropTypes.object,
|
|
211
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
212
212
|
|
|
213
213
|
/**
|
|
214
214
|
* The type of content that will be rendered.
|
package/modern/Slide/Slide.js
CHANGED
|
@@ -271,7 +271,7 @@ process.env.NODE_ENV !== "production" ? Slide.propTypes
|
|
|
271
271
|
/**
|
|
272
272
|
* A single child content element.
|
|
273
273
|
*/
|
|
274
|
-
children: elementAcceptingRef,
|
|
274
|
+
children: elementAcceptingRef.isRequired,
|
|
275
275
|
|
|
276
276
|
/**
|
|
277
277
|
* An HTML element, or a function that returns one.
|
package/modern/Slider/Slider.js
CHANGED
|
@@ -631,7 +631,7 @@ process.env.NODE_ENV !== "production" ? Slider.propTypes
|
|
|
631
631
|
/**
|
|
632
632
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
633
633
|
*/
|
|
634
|
-
sx: PropTypes.object,
|
|
634
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
635
635
|
|
|
636
636
|
/**
|
|
637
637
|
* Tab index attribute of the hidden `input` element.
|
|
@@ -6,11 +6,11 @@ import * as React from 'react';
|
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
7
7
|
import clsx from 'clsx';
|
|
8
8
|
import { unstable_composeClasses as composeClasses } from '@mui/core';
|
|
9
|
+
import ClickAwayListener from '@mui/core/ClickAwayListener';
|
|
9
10
|
import styled from '../styles/styled';
|
|
10
11
|
import useTheme from '../styles/useTheme';
|
|
11
12
|
import useThemeProps from '../styles/useThemeProps';
|
|
12
13
|
import { duration } from '../styles/createTransitions';
|
|
13
|
-
import ClickAwayListener from '../ClickAwayListener';
|
|
14
14
|
import useEventCallback from '../utils/useEventCallback';
|
|
15
15
|
import capitalize from '../utils/capitalize';
|
|
16
16
|
import Grow from '../Grow';
|
|
@@ -377,7 +377,7 @@ process.env.NODE_ENV !== "production" ? Snackbar.propTypes
|
|
|
377
377
|
/**
|
|
378
378
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
379
379
|
*/
|
|
380
|
-
sx: PropTypes.object,
|
|
380
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
381
381
|
|
|
382
382
|
/**
|
|
383
383
|
* The component used for the transition.
|
|
@@ -141,6 +141,6 @@ process.env.NODE_ENV !== "production" ? SnackbarContent.propTypes
|
|
|
141
141
|
/**
|
|
142
142
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
143
143
|
*/
|
|
144
|
-
sx: PropTypes.object
|
|
144
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
145
145
|
} : void 0;
|
|
146
146
|
export default SnackbarContent;
|
|
@@ -529,7 +529,7 @@ process.env.NODE_ENV !== "production" ? SpeedDial.propTypes
|
|
|
529
529
|
/**
|
|
530
530
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
531
531
|
*/
|
|
532
|
-
sx: PropTypes.object,
|
|
532
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
533
533
|
|
|
534
534
|
/**
|
|
535
535
|
* The component used for the transition.
|
|
@@ -243,7 +243,7 @@ process.env.NODE_ENV !== "production" ? SpeedDialAction.propTypes
|
|
|
243
243
|
/**
|
|
244
244
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
245
245
|
*/
|
|
246
|
-
sx: PropTypes.object,
|
|
246
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
247
247
|
|
|
248
248
|
/**
|
|
249
249
|
* `classes` prop applied to the [`Tooltip`](/api/tooltip/) element.
|
|
@@ -144,7 +144,7 @@ process.env.NODE_ENV !== "production" ? SpeedDialIcon.propTypes
|
|
|
144
144
|
/**
|
|
145
145
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
146
146
|
*/
|
|
147
|
-
sx: PropTypes.object
|
|
147
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
148
148
|
} : void 0;
|
|
149
149
|
SpeedDialIcon.muiName = 'SpeedDialIcon';
|
|
150
150
|
export default SpeedDialIcon;
|
package/modern/Stack/Stack.js
CHANGED
|
@@ -49,7 +49,10 @@ export const style = ({
|
|
|
49
49
|
display: 'flex'
|
|
50
50
|
}, handleBreakpoints({
|
|
51
51
|
theme
|
|
52
|
-
},
|
|
52
|
+
}, resolveBreakpointValues({
|
|
53
|
+
values: ownerState.direction,
|
|
54
|
+
breakpoints: theme.breakpoints.values
|
|
55
|
+
}), propValue => ({
|
|
53
56
|
flexDirection: propValue
|
|
54
57
|
})));
|
|
55
58
|
|
|
@@ -162,6 +165,6 @@ process.env.NODE_ENV !== "production" ? Stack.propTypes
|
|
|
162
165
|
/**
|
|
163
166
|
* The system prop, which allows defining system overrides as well as additional CSS styles.
|
|
164
167
|
*/
|
|
165
|
-
sx: PropTypes.object
|
|
168
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
166
169
|
} : void 0;
|
|
167
170
|
export default Stack;
|
package/modern/Step/Step.js
CHANGED
|
@@ -176,6 +176,6 @@ process.env.NODE_ENV !== "production" ? Step.propTypes
|
|
|
176
176
|
/**
|
|
177
177
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
178
178
|
*/
|
|
179
|
-
sx: 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 Step;
|
|
@@ -136,6 +136,6 @@ process.env.NODE_ENV !== "production" ? StepButton.propTypes
|
|
|
136
136
|
/**
|
|
137
137
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
138
138
|
*/
|
|
139
|
-
sx: 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 StepButton;
|
|
@@ -136,6 +136,6 @@ process.env.NODE_ENV !== "production" ? StepConnector.propTypes
|
|
|
136
136
|
/**
|
|
137
137
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
138
138
|
*/
|
|
139
|
-
sx: 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 StepConnector;
|
|
@@ -137,7 +137,7 @@ process.env.NODE_ENV !== "production" ? StepContent.propTypes
|
|
|
137
137
|
/**
|
|
138
138
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
139
139
|
*/
|
|
140
|
-
sx: PropTypes.object,
|
|
140
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
141
141
|
|
|
142
142
|
/**
|
|
143
143
|
* The component used for the transition.
|
|
@@ -174,6 +174,6 @@ process.env.NODE_ENV !== "production" ? StepIcon.propTypes
|
|
|
174
174
|
/**
|
|
175
175
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
176
176
|
*/
|
|
177
|
-
sx: PropTypes.object
|
|
177
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
178
178
|
} : void 0;
|
|
179
179
|
export default StepIcon;
|
|
@@ -236,7 +236,7 @@ process.env.NODE_ENV !== "production" ? StepLabel.propTypes
|
|
|
236
236
|
/**
|
|
237
237
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
238
238
|
*/
|
|
239
|
-
sx: PropTypes.object
|
|
239
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
240
240
|
} : void 0;
|
|
241
241
|
StepLabel.muiName = 'StepLabel';
|
|
242
242
|
export default StepLabel;
|
|
@@ -155,6 +155,6 @@ process.env.NODE_ENV !== "production" ? Stepper.propTypes
|
|
|
155
155
|
/**
|
|
156
156
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
157
157
|
*/
|
|
158
|
-
sx: PropTypes.object
|
|
158
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
159
159
|
} : void 0;
|
|
160
160
|
export default Stepper;
|
|
@@ -162,7 +162,7 @@ process.env.NODE_ENV !== "production" ? SvgIcon.propTypes
|
|
|
162
162
|
/**
|
|
163
163
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
164
164
|
*/
|
|
165
|
-
sx: PropTypes.object,
|
|
165
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
168
|
* Provides a human-readable title for the element that contains it.
|
package/modern/Switch/Switch.js
CHANGED
|
@@ -333,7 +333,7 @@ process.env.NODE_ENV !== "production" ? Switch.propTypes
|
|
|
333
333
|
/**
|
|
334
334
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
335
335
|
*/
|
|
336
|
-
sx: PropTypes.object,
|
|
336
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
337
337
|
|
|
338
338
|
/**
|
|
339
339
|
* The value of the component. The DOM API casts this to a string.
|
package/modern/Tab/Tab.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
|
-
const _excluded = ["className", "disabled", "disableFocusRipple", "fullWidth", "icon", "indicator", "label", "onChange", "onClick", "onFocus", "selected", "selectionFollowsFocus", "textColor", "value", "wrapped"];
|
|
3
|
+
const _excluded = ["className", "disabled", "disableFocusRipple", "fullWidth", "icon", "iconPosition", "indicator", "label", "onChange", "onClick", "onFocus", "selected", "selectionFollowsFocus", "textColor", "value", "wrapped"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import clsx from 'clsx';
|
|
@@ -25,7 +25,8 @@ const useUtilityClasses = ownerState => {
|
|
|
25
25
|
disabled
|
|
26
26
|
} = ownerState;
|
|
27
27
|
const slots = {
|
|
28
|
-
root: ['root', icon && label && 'labelIcon', `textColor${capitalize(textColor)}`, fullWidth && 'fullWidth', wrapped && 'wrapped', selected && 'selected', disabled && 'disabled']
|
|
28
|
+
root: ['root', icon && label && 'labelIcon', `textColor${capitalize(textColor)}`, fullWidth && 'fullWidth', wrapped && 'wrapped', selected && 'selected', disabled && 'disabled'],
|
|
29
|
+
iconWrapper: ['iconWrapper']
|
|
29
30
|
};
|
|
30
31
|
return composeClasses(slots, getTabUtilityClass, classes);
|
|
31
32
|
};
|
|
@@ -51,16 +52,24 @@ const TabRoot = styled(ButtonBase, {
|
|
|
51
52
|
padding: '12px 16px',
|
|
52
53
|
overflow: 'hidden',
|
|
53
54
|
whiteSpace: 'normal',
|
|
54
|
-
textAlign: 'center'
|
|
55
|
-
|
|
55
|
+
textAlign: 'center'
|
|
56
|
+
}, ownerState.label && {
|
|
57
|
+
flexDirection: ownerState.iconPosition === 'top' || ownerState.iconPosition === 'bottom' ? 'column' : 'row'
|
|
58
|
+
}, {
|
|
56
59
|
lineHeight: 1.25
|
|
57
60
|
}, ownerState.icon && ownerState.label && {
|
|
58
61
|
minHeight: 72,
|
|
59
62
|
paddingTop: 9,
|
|
60
63
|
paddingBottom: 9,
|
|
61
|
-
[`& >
|
|
64
|
+
[`& > .${tabClasses.iconWrapper}`]: _extends({}, ownerState.iconPosition === 'top' && {
|
|
62
65
|
marginBottom: 6
|
|
63
|
-
}
|
|
66
|
+
}, ownerState.iconPosition === 'bottom' && {
|
|
67
|
+
marginTop: 6
|
|
68
|
+
}, ownerState.iconPosition === 'start' && {
|
|
69
|
+
marginRight: theme.spacing(1)
|
|
70
|
+
}, ownerState.iconPosition === 'end' && {
|
|
71
|
+
marginLeft: theme.spacing(1)
|
|
72
|
+
})
|
|
64
73
|
}, ownerState.textColor === 'inherit' && {
|
|
65
74
|
color: 'inherit',
|
|
66
75
|
opacity: 0.6,
|
|
@@ -107,7 +116,8 @@ const Tab = /*#__PURE__*/React.forwardRef(function Tab(inProps, ref) {
|
|
|
107
116
|
disableFocusRipple = false,
|
|
108
117
|
// eslint-disable-next-line react/prop-types
|
|
109
118
|
fullWidth,
|
|
110
|
-
icon,
|
|
119
|
+
icon: iconProp,
|
|
120
|
+
iconPosition = 'top',
|
|
111
121
|
// eslint-disable-next-line react/prop-types
|
|
112
122
|
indicator,
|
|
113
123
|
label,
|
|
@@ -129,7 +139,8 @@ const Tab = /*#__PURE__*/React.forwardRef(function Tab(inProps, ref) {
|
|
|
129
139
|
disabled,
|
|
130
140
|
disableFocusRipple,
|
|
131
141
|
selected,
|
|
132
|
-
icon: !!
|
|
142
|
+
icon: !!iconProp,
|
|
143
|
+
iconPosition,
|
|
133
144
|
label: !!label,
|
|
134
145
|
fullWidth,
|
|
135
146
|
textColor,
|
|
@@ -137,6 +148,9 @@ const Tab = /*#__PURE__*/React.forwardRef(function Tab(inProps, ref) {
|
|
|
137
148
|
});
|
|
138
149
|
|
|
139
150
|
const classes = useUtilityClasses(ownerState);
|
|
151
|
+
const icon = iconProp && label && /*#__PURE__*/React.isValidElement(iconProp) ? /*#__PURE__*/React.cloneElement(iconProp, {
|
|
152
|
+
className: clsx(classes.iconWrapper, iconProp.props.className)
|
|
153
|
+
}) : iconProp;
|
|
140
154
|
|
|
141
155
|
const handleClick = event => {
|
|
142
156
|
if (!selected && onChange) {
|
|
@@ -170,7 +184,11 @@ const Tab = /*#__PURE__*/React.forwardRef(function Tab(inProps, ref) {
|
|
|
170
184
|
ownerState: ownerState,
|
|
171
185
|
tabIndex: selected ? 0 : -1
|
|
172
186
|
}, other, {
|
|
173
|
-
children: [
|
|
187
|
+
children: [iconPosition === 'top' || iconPosition === 'start' ? /*#__PURE__*/_jsxs(React.Fragment, {
|
|
188
|
+
children: [icon, label]
|
|
189
|
+
}) : /*#__PURE__*/_jsxs(React.Fragment, {
|
|
190
|
+
children: [label, icon]
|
|
191
|
+
}), indicator]
|
|
174
192
|
}));
|
|
175
193
|
});
|
|
176
194
|
process.env.NODE_ENV !== "production" ? Tab.propTypes
|
|
@@ -223,6 +241,12 @@ process.env.NODE_ENV !== "production" ? Tab.propTypes
|
|
|
223
241
|
*/
|
|
224
242
|
icon: PropTypes.oneOfType([PropTypes.element, PropTypes.string]),
|
|
225
243
|
|
|
244
|
+
/**
|
|
245
|
+
* The position of the icon relative to the label.
|
|
246
|
+
* @default 'top'
|
|
247
|
+
*/
|
|
248
|
+
iconPosition: PropTypes.oneOf(['bottom', 'end', 'start', 'top']),
|
|
249
|
+
|
|
226
250
|
/**
|
|
227
251
|
* The label element.
|
|
228
252
|
*/
|
|
@@ -246,7 +270,7 @@ process.env.NODE_ENV !== "production" ? Tab.propTypes
|
|
|
246
270
|
/**
|
|
247
271
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
248
272
|
*/
|
|
249
|
-
sx: PropTypes.object,
|
|
273
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
250
274
|
|
|
251
275
|
/**
|
|
252
276
|
* You can provide your own value. Otherwise, we fallback to the child position index.
|
package/modern/Tab/tabClasses.js
CHANGED
|
@@ -2,5 +2,5 @@ import { generateUtilityClass, generateUtilityClasses } from '@mui/core';
|
|
|
2
2
|
export function getTabUtilityClass(slot) {
|
|
3
3
|
return generateUtilityClass('MuiTab', slot);
|
|
4
4
|
}
|
|
5
|
-
const tabClasses = generateUtilityClasses('MuiTab', ['root', 'labelIcon', 'textColorInherit', 'textColorPrimary', 'textColorSecondary', 'selected', 'disabled', 'fullWidth', 'wrapped']);
|
|
5
|
+
const tabClasses = generateUtilityClasses('MuiTab', ['root', 'labelIcon', 'textColorInherit', 'textColorPrimary', 'textColorSecondary', 'selected', 'disabled', 'fullWidth', 'wrapped', 'iconWrapper']);
|
|
6
6
|
export default tabClasses;
|
|
@@ -132,6 +132,6 @@ process.env.NODE_ENV !== "production" ? TabScrollButton.propTypes
|
|
|
132
132
|
/**
|
|
133
133
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
134
134
|
*/
|
|
135
|
-
sx: PropTypes.object
|
|
135
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
136
136
|
} : void 0;
|
|
137
137
|
export default TabScrollButton;
|
package/modern/Table/Table.js
CHANGED
|
@@ -142,6 +142,6 @@ process.env.NODE_ENV !== "production" ? Table.propTypes
|
|
|
142
142
|
/**
|
|
143
143
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
144
144
|
*/
|
|
145
|
-
sx: 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 Table;
|
|
@@ -92,6 +92,6 @@ process.env.NODE_ENV !== "production" ? TableBody.propTypes
|
|
|
92
92
|
/**
|
|
93
93
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
94
94
|
*/
|
|
95
|
-
sx: PropTypes.object
|
|
95
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
96
96
|
} : void 0;
|
|
97
97
|
export default TableBody;
|
|
@@ -222,7 +222,7 @@ process.env.NODE_ENV !== "production" ? TableCell.propTypes
|
|
|
222
222
|
/**
|
|
223
223
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
224
224
|
*/
|
|
225
|
-
sx: PropTypes.object,
|
|
225
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
226
226
|
|
|
227
227
|
/**
|
|
228
228
|
* Specify the cell type.
|
|
@@ -84,6 +84,6 @@ process.env.NODE_ENV !== "production" ? TableContainer.propTypes
|
|
|
84
84
|
/**
|
|
85
85
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
86
86
|
*/
|
|
87
|
-
sx: PropTypes.object
|
|
87
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
88
88
|
} : void 0;
|
|
89
89
|
export default TableContainer;
|
|
@@ -92,6 +92,6 @@ process.env.NODE_ENV !== "production" ? TableFooter.propTypes
|
|
|
92
92
|
/**
|
|
93
93
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
94
94
|
*/
|
|
95
|
-
sx: PropTypes.object
|
|
95
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
96
96
|
} : void 0;
|
|
97
97
|
export default TableFooter;
|
|
@@ -92,6 +92,6 @@ process.env.NODE_ENV !== "production" ? TableHead.propTypes
|
|
|
92
92
|
/**
|
|
93
93
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
94
94
|
*/
|
|
95
|
-
sx: PropTypes.object
|
|
95
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
96
96
|
} : void 0;
|
|
97
97
|
export default TableHead;
|
|
@@ -417,6 +417,6 @@ process.env.NODE_ENV !== "production" ? TablePagination.propTypes
|
|
|
417
417
|
/**
|
|
418
418
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
419
419
|
*/
|
|
420
|
-
sx: PropTypes.object
|
|
420
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
421
421
|
} : void 0;
|
|
422
422
|
export default TablePagination;
|
|
@@ -136,6 +136,6 @@ process.env.NODE_ENV !== "production" ? TableRow.propTypes
|
|
|
136
136
|
/**
|
|
137
137
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
138
138
|
*/
|
|
139
|
-
sx: 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 TableRow;
|
|
@@ -179,6 +179,6 @@ process.env.NODE_ENV !== "production" ? TableSortLabel.propTypes
|
|
|
179
179
|
/**
|
|
180
180
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
181
181
|
*/
|
|
182
|
-
sx: 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 TableSortLabel;
|
package/modern/Tabs/Tabs.js
CHANGED
|
@@ -807,7 +807,7 @@ process.env.NODE_ENV !== "production" ? Tabs.propTypes
|
|
|
807
807
|
/**
|
|
808
808
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
809
809
|
*/
|
|
810
|
-
sx: PropTypes.object,
|
|
810
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
811
811
|
|
|
812
812
|
/**
|
|
813
813
|
* Props applied to the tab indicator element.
|
|
@@ -409,7 +409,7 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes
|
|
|
409
409
|
/**
|
|
410
410
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
411
411
|
*/
|
|
412
|
-
sx: PropTypes.object,
|
|
412
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
413
413
|
|
|
414
414
|
/**
|
|
415
415
|
* 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).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from '
|
|
1
|
+
export { default } from '@mui/core/TextareaAutosize';
|
|
@@ -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.object,
|
|
229
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), 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.object,
|
|
246
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
247
247
|
|
|
248
248
|
/**
|
|
249
249
|
* The currently selected value within the group or an array of selected
|
|
@@ -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.object,
|
|
121
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
122
122
|
|
|
123
123
|
/**
|
|
124
124
|
* The variant to use.
|