@mui/material 5.0.4 → 5.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accordion/Accordion.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 +14 -10
- 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/Breadcrumbs/Breadcrumbs.js +1 -1
- package/Button/Button.js +1 -1
- package/ButtonBase/ButtonBase.js +1 -1
- package/ButtonGroup/ButtonGroup.js +1 -1
- package/CHANGELOG.md +79 -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 +1 -1
- 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/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/FilledInput/FilledInput.js +1 -1
- package/FormControl/FormControl.js +1 -1
- package/FormControlLabel/FormControlLabel.js +1 -1
- package/FormGroup/FormGroup.js +1 -1
- package/FormHelperText/FormHelperText.js +1 -1
- package/FormLabel/FormLabel.js +1 -1
- package/Grid/Grid.js +6 -3
- 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 +4 -9
- 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.js +1 -1
- package/ListItemAvatar/ListItemAvatar.js +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/OutlinedInput.js +1 -1
- package/Pagination/Pagination.js +1 -1
- package/PaginationItem/PaginationItem.js +1 -1
- package/Paper/Paper.js +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/Rating/Rating.js +1 -1
- package/Select/Select.js +1 -1
- package/Skeleton/Skeleton.js +1 -1
- package/Slider/Slider.js +1 -1
- package/Snackbar/Snackbar.d.ts +1 -1
- package/Snackbar/Snackbar.js +2 -2
- package/SnackbarContent/SnackbarContent.js +1 -1
- package/SpeedDial/SpeedDial.js +1 -1
- package/SpeedDialAction/SpeedDialAction.js +1 -1
- package/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/Stack/Stack.js +1 -1
- package/Step/Step.js +1 -1
- package/StepButton/StepButton.js +1 -1
- package/StepConnector/StepConnector.js +1 -1
- package/StepContent/StepContent.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 +27 -7
- 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 +1 -1
- package/Tooltip/Tooltip.js +4 -4
- package/Typography/Typography.js +1 -1
- 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 +33 -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/Breadcrumbs/Breadcrumbs.js +1 -1
- package/legacy/Button/Button.js +1 -1
- package/legacy/ButtonBase/ButtonBase.js +1 -1
- package/legacy/ButtonGroup/ButtonGroup.js +1 -1
- package/legacy/Card/Card.js +1 -1
- package/legacy/CardActionArea/CardActionArea.js +1 -1
- package/legacy/CardActions/CardActions.js +1 -1
- package/legacy/CardContent/CardContent.js +1 -1
- package/legacy/CardHeader/CardHeader.js +1 -1
- package/legacy/CardMedia/CardMedia.js +2 -2
- package/legacy/Checkbox/Checkbox.js +1 -1
- package/legacy/Chip/Chip.js +1 -1
- 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/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/FilledInput/FilledInput.js +1 -1
- package/legacy/FormControl/FormControl.js +1 -1
- package/legacy/FormControlLabel/FormControlLabel.js +1 -1
- package/legacy/FormGroup/FormGroup.js +1 -1
- package/legacy/FormHelperText/FormHelperText.js +1 -1
- package/legacy/FormLabel/FormLabel.js +1 -1
- package/legacy/Grid/Grid.js +6 -4
- 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 +4 -9
- 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/OutlinedInput.js +1 -1
- package/legacy/Pagination/Pagination.js +1 -1
- package/legacy/PaginationItem/PaginationItem.js +1 -1
- package/legacy/Paper/Paper.js +1 -1
- package/legacy/Popover/Popover.js +1 -1
- package/legacy/Popper/index.js +1 -1
- package/legacy/Radio/Radio.js +1 -1
- package/legacy/Rating/Rating.js +1 -1
- 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 +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 +1 -1
- package/legacy/Step/Step.js +1 -1
- package/legacy/StepButton/StepButton.js +1 -1
- package/legacy/StepConnector/StepConnector.js +1 -1
- package/legacy/StepContent/StepContent.js +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 +28 -7
- 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 +4 -4
- package/legacy/Typography/Typography.js +1 -1
- package/legacy/index.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 +14 -10
- 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/Breadcrumbs/Breadcrumbs.js +1 -1
- package/modern/Button/Button.js +1 -1
- package/modern/ButtonBase/ButtonBase.js +1 -1
- package/modern/ButtonGroup/ButtonGroup.js +1 -1
- package/modern/Card/Card.js +1 -1
- package/modern/CardActionArea/CardActionArea.js +1 -1
- package/modern/CardActions/CardActions.js +1 -1
- package/modern/CardContent/CardContent.js +1 -1
- package/modern/CardHeader/CardHeader.js +1 -1
- package/modern/CardMedia/CardMedia.js +2 -2
- package/modern/Checkbox/Checkbox.js +1 -1
- package/modern/Chip/Chip.js +1 -1
- 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/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/FilledInput/FilledInput.js +1 -1
- package/modern/FormControl/FormControl.js +1 -1
- package/modern/FormControlLabel/FormControlLabel.js +1 -1
- package/modern/FormGroup/FormGroup.js +1 -1
- package/modern/FormHelperText/FormHelperText.js +1 -1
- package/modern/FormLabel/FormLabel.js +1 -1
- package/modern/Grid/Grid.js +6 -3
- 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 +4 -9
- 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/OutlinedInput.js +1 -1
- package/modern/Pagination/Pagination.js +1 -1
- package/modern/PaginationItem/PaginationItem.js +1 -1
- package/modern/Paper/Paper.js +1 -1
- package/modern/Popover/Popover.js +1 -1
- package/modern/Popper/index.js +1 -1
- package/modern/Radio/Radio.js +1 -1
- package/modern/Rating/Rating.js +1 -1
- 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 +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 +1 -1
- package/modern/Step/Step.js +1 -1
- package/modern/StepButton/StepButton.js +1 -1
- package/modern/StepConnector/StepConnector.js +1 -1
- package/modern/StepContent/StepContent.js +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 +27 -7
- 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 +3 -3
- package/modern/Typography/Typography.js +1 -1
- package/modern/index.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/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 +18 -10
- package/node/Avatar/Avatar.js +1 -1
- package/node/AvatarGroup/AvatarGroup.js +3 -3
- 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/Breadcrumbs/Breadcrumbs.js +1 -1
- package/node/Button/Button.js +1 -1
- package/node/ButtonBase/ButtonBase.js +1 -1
- package/node/ButtonGroup/ButtonGroup.js +1 -1
- package/node/Card/Card.js +1 -1
- package/node/CardActionArea/CardActionArea.js +1 -1
- package/node/CardActions/CardActions.js +1 -1
- package/node/CardContent/CardContent.js +1 -1
- package/node/CardHeader/CardHeader.js +1 -1
- package/node/CardMedia/CardMedia.js +2 -2
- package/node/Checkbox/Checkbox.js +1 -1
- package/node/Chip/Chip.js +1 -1
- package/node/CircularProgress/CircularProgress.js +1 -1
- package/node/ClickAwayListener/index.js +1 -1
- package/node/Collapse/Collapse.js +1 -1
- package/node/Container/Container.js +1 -1
- package/node/Dialog/Dialog.js +1 -1
- package/node/DialogActions/DialogActions.js +1 -1
- package/node/DialogContent/DialogContent.js +4 -2
- package/node/DialogContentText/DialogContentText.js +1 -1
- package/node/DialogTitle/DialogTitle.js +1 -1
- package/node/Divider/Divider.js +1 -1
- package/node/Drawer/Drawer.js +1 -1
- package/node/Fab/Fab.js +1 -1
- package/node/FilledInput/FilledInput.js +1 -1
- package/node/FormControl/FormControl.js +1 -1
- package/node/FormControlLabel/FormControlLabel.js +1 -1
- package/node/FormGroup/FormGroup.js +1 -1
- package/node/FormHelperText/FormHelperText.js +1 -1
- package/node/FormLabel/FormLabel.js +1 -1
- package/node/Grid/Grid.js +6 -3
- 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 +4 -11
- 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 +5 -2
- package/node/MobileStepper/MobileStepper.js +1 -1
- package/node/Modal/Modal.js +1 -1
- package/node/NativeSelect/NativeSelect.js +1 -1
- package/node/OutlinedInput/OutlinedInput.js +1 -1
- package/node/Pagination/Pagination.js +1 -1
- package/node/PaginationItem/PaginationItem.js +1 -1
- package/node/Paper/Paper.js +1 -1
- package/node/Popover/Popover.js +1 -1
- package/node/Popper/index.js +1 -1
- package/node/Radio/Radio.js +1 -1
- package/node/Rating/Rating.js +1 -1
- 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 +3 -3
- 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 +1 -1
- package/node/Step/Step.js +1 -1
- package/node/StepButton/StepButton.js +1 -1
- package/node/StepConnector/StepConnector.js +1 -1
- package/node/StepContent/StepContent.js +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 +27 -7
- 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/TextareaAutosize/index.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 -4
- package/node/Typography/Typography.js +1 -1
- package/node/index.js +1 -1
- package/node/styles/index.js +12 -0
- package/node/utils/index.js +9 -1
- package/package.json +5 -6
- package/styles/components.d.ts +0 -3
- package/styles/index.d.ts +4 -0
- package/styles/index.js +1 -1
- package/umd/material-ui.development.js +7835 -7748
- 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
|
@@ -338,7 +338,7 @@ process.env.NODE_ENV !== "production" ? LinearProgress.propTypes
|
|
|
338
338
|
/**
|
|
339
339
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
340
340
|
*/
|
|
341
|
-
sx: PropTypes.object,
|
|
341
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
342
342
|
|
|
343
343
|
/**
|
|
344
344
|
* The value of the progress indicator for the determinate and buffer variants.
|
package/modern/Link/Link.js
CHANGED
|
@@ -218,7 +218,7 @@ process.env.NODE_ENV !== "production" ? Link.propTypes
|
|
|
218
218
|
/**
|
|
219
219
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
220
220
|
*/
|
|
221
|
-
sx: PropTypes.object,
|
|
221
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
222
222
|
|
|
223
223
|
/**
|
|
224
224
|
* `classes` prop applied to the [`Typography`](/api/typography/) element.
|
package/modern/List/List.js
CHANGED
|
@@ -137,6 +137,6 @@ process.env.NODE_ENV !== "production" ? List.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.func, PropTypes.object])
|
|
141
141
|
} : void 0;
|
|
142
142
|
export default List;
|
|
@@ -414,6 +414,6 @@ process.env.NODE_ENV !== "production" ? ListItem.propTypes
|
|
|
414
414
|
/**
|
|
415
415
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
416
416
|
*/
|
|
417
|
-
sx: PropTypes.object
|
|
417
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
418
418
|
} : void 0;
|
|
419
419
|
export default ListItem;
|
|
@@ -93,6 +93,6 @@ process.env.NODE_ENV !== "production" ? ListItemAvatar.propTypes
|
|
|
93
93
|
/**
|
|
94
94
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
95
95
|
*/
|
|
96
|
-
sx: PropTypes.object
|
|
96
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
97
97
|
} : void 0;
|
|
98
98
|
export default ListItemAvatar;
|
|
@@ -240,6 +240,6 @@ process.env.NODE_ENV !== "production" ? ListItemButton.propTypes
|
|
|
240
240
|
/**
|
|
241
241
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
242
242
|
*/
|
|
243
|
-
sx: PropTypes.object
|
|
243
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
244
244
|
} : void 0;
|
|
245
245
|
export default ListItemButton;
|
|
@@ -97,6 +97,6 @@ process.env.NODE_ENV !== "production" ? ListItemIcon.propTypes
|
|
|
97
97
|
/**
|
|
98
98
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
99
99
|
*/
|
|
100
|
-
sx: PropTypes.object
|
|
100
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
101
101
|
} : void 0;
|
|
102
102
|
export default ListItemIcon;
|
|
@@ -95,7 +95,7 @@ process.env.NODE_ENV !== "production" ? ListItemSecondaryAction.propTypes
|
|
|
95
95
|
/**
|
|
96
96
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
97
97
|
*/
|
|
98
|
-
sx: PropTypes.object
|
|
98
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
99
99
|
} : void 0;
|
|
100
100
|
ListItemSecondaryAction.muiName = 'ListItemSecondaryAction';
|
|
101
101
|
export default ListItemSecondaryAction;
|
|
@@ -183,6 +183,6 @@ process.env.NODE_ENV !== "production" ? ListItemText.propTypes
|
|
|
183
183
|
/**
|
|
184
184
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
185
185
|
*/
|
|
186
|
-
sx: PropTypes.object
|
|
186
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
187
187
|
} : void 0;
|
|
188
188
|
export default ListItemText;
|
|
@@ -148,6 +148,6 @@ process.env.NODE_ENV !== "production" ? ListSubheader.propTypes
|
|
|
148
148
|
/**
|
|
149
149
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
150
150
|
*/
|
|
151
|
-
sx: PropTypes.object
|
|
151
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
152
152
|
} : void 0;
|
|
153
153
|
export default ListSubheader;
|
package/modern/Menu/Menu.js
CHANGED
|
@@ -266,7 +266,7 @@ process.env.NODE_ENV !== "production" ? Menu.propTypes
|
|
|
266
266
|
/**
|
|
267
267
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
268
268
|
*/
|
|
269
|
-
sx: PropTypes.object,
|
|
269
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
270
270
|
|
|
271
271
|
/**
|
|
272
272
|
* The length of the transition in `ms`, or 'auto'
|
|
@@ -115,7 +115,10 @@ const MenuItemRoot = styled(ButtonBase, {
|
|
|
115
115
|
minHeight: 'auto'
|
|
116
116
|
}
|
|
117
117
|
}, ownerState.dense && _extends({
|
|
118
|
-
minHeight:
|
|
118
|
+
minHeight: 32,
|
|
119
|
+
// https://material.io/components/menus#specs > Dense
|
|
120
|
+
paddingTop: 4,
|
|
121
|
+
paddingBottom: 4
|
|
119
122
|
}, theme.typography.body2, {
|
|
120
123
|
[`& .${listItemIconClasses.root} svg`]: {
|
|
121
124
|
fontSize: '1.25rem'
|
|
@@ -263,7 +266,7 @@ process.env.NODE_ENV !== "production" ? MenuItem.propTypes
|
|
|
263
266
|
/**
|
|
264
267
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
265
268
|
*/
|
|
266
|
-
sx: PropTypes.object,
|
|
269
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
267
270
|
|
|
268
271
|
/**
|
|
269
272
|
* @default 0
|
|
@@ -211,7 +211,7 @@ process.env.NODE_ENV !== "production" ? MobileStepper.propTypes
|
|
|
211
211
|
/**
|
|
212
212
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
213
213
|
*/
|
|
214
|
-
sx: PropTypes.object,
|
|
214
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
217
|
* The variant to use.
|
package/modern/Modal/Modal.js
CHANGED
|
@@ -271,6 +271,6 @@ process.env.NODE_ENV !== "production" ? Modal.propTypes
|
|
|
271
271
|
/**
|
|
272
272
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
273
273
|
*/
|
|
274
|
-
sx: PropTypes.object
|
|
274
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
275
275
|
} : void 0;
|
|
276
276
|
export default Modal;
|
|
@@ -131,7 +131,7 @@ process.env.NODE_ENV !== "production" ? NativeSelect.propTypes
|
|
|
131
131
|
/**
|
|
132
132
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
133
133
|
*/
|
|
134
|
-
sx: PropTypes.object,
|
|
134
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
135
135
|
|
|
136
136
|
/**
|
|
137
137
|
* The `input` value. The DOM API casts this to a string.
|
|
@@ -310,7 +310,7 @@ process.env.NODE_ENV !== "production" ? OutlinedInput.propTypes
|
|
|
310
310
|
/**
|
|
311
311
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
312
312
|
*/
|
|
313
|
-
sx: PropTypes.object,
|
|
313
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
314
314
|
|
|
315
315
|
/**
|
|
316
316
|
* 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).
|
|
@@ -259,7 +259,7 @@ process.env.NODE_ENV !== "production" ? Pagination.propTypes
|
|
|
259
259
|
/**
|
|
260
260
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
261
261
|
*/
|
|
262
|
-
sx: PropTypes.object,
|
|
262
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
263
263
|
|
|
264
264
|
/**
|
|
265
265
|
* The variant to use.
|
|
@@ -340,7 +340,7 @@ process.env.NODE_ENV !== "production" ? PaginationItem.propTypes
|
|
|
340
340
|
/**
|
|
341
341
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
342
342
|
*/
|
|
343
|
-
sx: PropTypes.object,
|
|
343
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
344
344
|
|
|
345
345
|
/**
|
|
346
346
|
* The type of pagination item.
|
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.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.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.func, PropTypes.object]),
|
|
226
226
|
|
|
227
227
|
/**
|
|
228
228
|
* The value of the component. The DOM API casts this to a string.
|
package/modern/Rating/Rating.js
CHANGED
|
@@ -711,7 +711,7 @@ process.env.NODE_ENV !== "production" ? Rating.propTypes
|
|
|
711
711
|
/**
|
|
712
712
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
713
713
|
*/
|
|
714
|
-
sx: PropTypes.object,
|
|
714
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
715
715
|
|
|
716
716
|
/**
|
|
717
717
|
* The rating value.
|
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.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.func, PropTypes.object]),
|
|
212
212
|
|
|
213
213
|
/**
|
|
214
214
|
* The type of content that will be rendered.
|
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.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.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.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.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.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.func, PropTypes.object])
|
|
148
148
|
} : void 0;
|
|
149
149
|
SpeedDialIcon.muiName = 'SpeedDialIcon';
|
|
150
150
|
export default SpeedDialIcon;
|
package/modern/Stack/Stack.js
CHANGED
|
@@ -162,6 +162,6 @@ process.env.NODE_ENV !== "production" ? Stack.propTypes
|
|
|
162
162
|
/**
|
|
163
163
|
* The system prop, which allows defining system overrides as well as additional CSS styles.
|
|
164
164
|
*/
|
|
165
|
-
sx: PropTypes.object
|
|
165
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
166
166
|
} : void 0;
|
|
167
167
|
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.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.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.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.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.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.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.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.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.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';
|
|
@@ -52,16 +52,24 @@ const TabRoot = styled(ButtonBase, {
|
|
|
52
52
|
padding: '12px 16px',
|
|
53
53
|
overflow: 'hidden',
|
|
54
54
|
whiteSpace: 'normal',
|
|
55
|
-
textAlign: 'center'
|
|
56
|
-
|
|
55
|
+
textAlign: 'center'
|
|
56
|
+
}, ownerState.label && {
|
|
57
|
+
flexDirection: ownerState.iconPosition === 'top' || ownerState.iconPosition === 'bottom' ? 'column' : 'row'
|
|
58
|
+
}, {
|
|
57
59
|
lineHeight: 1.25
|
|
58
60
|
}, ownerState.icon && ownerState.label && {
|
|
59
61
|
minHeight: 72,
|
|
60
62
|
paddingTop: 9,
|
|
61
63
|
paddingBottom: 9,
|
|
62
|
-
[`& > .${tabClasses.iconWrapper}`]: {
|
|
64
|
+
[`& > .${tabClasses.iconWrapper}`]: _extends({}, ownerState.iconPosition === 'top' && {
|
|
63
65
|
marginBottom: 6
|
|
64
|
-
}
|
|
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
|
+
})
|
|
65
73
|
}, ownerState.textColor === 'inherit' && {
|
|
66
74
|
color: 'inherit',
|
|
67
75
|
opacity: 0.6,
|
|
@@ -109,6 +117,7 @@ const Tab = /*#__PURE__*/React.forwardRef(function Tab(inProps, ref) {
|
|
|
109
117
|
// eslint-disable-next-line react/prop-types
|
|
110
118
|
fullWidth,
|
|
111
119
|
icon: iconProp,
|
|
120
|
+
iconPosition = 'top',
|
|
112
121
|
// eslint-disable-next-line react/prop-types
|
|
113
122
|
indicator,
|
|
114
123
|
label,
|
|
@@ -131,6 +140,7 @@ const Tab = /*#__PURE__*/React.forwardRef(function Tab(inProps, ref) {
|
|
|
131
140
|
disableFocusRipple,
|
|
132
141
|
selected,
|
|
133
142
|
icon: !!iconProp,
|
|
143
|
+
iconPosition,
|
|
134
144
|
label: !!label,
|
|
135
145
|
fullWidth,
|
|
136
146
|
textColor,
|
|
@@ -174,7 +184,11 @@ const Tab = /*#__PURE__*/React.forwardRef(function Tab(inProps, ref) {
|
|
|
174
184
|
ownerState: ownerState,
|
|
175
185
|
tabIndex: selected ? 0 : -1
|
|
176
186
|
}, other, {
|
|
177
|
-
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]
|
|
178
192
|
}));
|
|
179
193
|
});
|
|
180
194
|
process.env.NODE_ENV !== "production" ? Tab.propTypes
|
|
@@ -227,6 +241,12 @@ process.env.NODE_ENV !== "production" ? Tab.propTypes
|
|
|
227
241
|
*/
|
|
228
242
|
icon: PropTypes.oneOfType([PropTypes.element, PropTypes.string]),
|
|
229
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
|
+
|
|
230
250
|
/**
|
|
231
251
|
* The label element.
|
|
232
252
|
*/
|
|
@@ -250,7 +270,7 @@ process.env.NODE_ENV !== "production" ? Tab.propTypes
|
|
|
250
270
|
/**
|
|
251
271
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
252
272
|
*/
|
|
253
|
-
sx: PropTypes.object,
|
|
273
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
254
274
|
|
|
255
275
|
/**
|
|
256
276
|
* You can provide your own value. Otherwise, we fallback to the child position index.
|
|
@@ -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.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.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.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.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.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.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.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.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.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.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.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.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';
|