@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
package/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/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;
|
package/TableBody/TableBody.js
CHANGED
|
@@ -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;
|
package/TableCell/TableCell.js
CHANGED
|
@@ -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;
|
package/TableHead/TableHead.js
CHANGED
|
@@ -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;
|
package/TableRow/TableRow.js
CHANGED
|
@@ -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/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.
|
package/TextField/TextField.js
CHANGED
|
@@ -411,7 +411,7 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes
|
|
|
411
411
|
/**
|
|
412
412
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
413
413
|
*/
|
|
414
|
-
sx: PropTypes.object,
|
|
414
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
415
415
|
|
|
416
416
|
/**
|
|
417
417
|
* 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,2 +1,2 @@
|
|
|
1
|
-
export { default } from '
|
|
2
|
-
export * from '
|
|
1
|
+
export { default } from '@mui/core/TextareaAutosize';
|
|
2
|
+
export * from '@mui/core/TextareaAutosize';
|
|
@@ -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.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.func, PropTypes.object]),
|
|
247
247
|
|
|
248
248
|
/**
|
|
249
249
|
* The currently selected value within the group or an array of selected
|
package/Toolbar/Toolbar.js
CHANGED
|
@@ -118,7 +118,7 @@ process.env.NODE_ENV !== "production" ? Toolbar.propTypes
|
|
|
118
118
|
/**
|
|
119
119
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
120
120
|
*/
|
|
121
|
-
sx: PropTypes.object,
|
|
121
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
122
122
|
|
|
123
123
|
/**
|
|
124
124
|
* The variant to use.
|
package/Tooltip/Tooltip.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { MUIStyledCommonProps, SxProps } from '@mui/system';
|
|
3
|
+
import { PopperProps } from '@mui/core/Popper';
|
|
3
4
|
import { InternalStandardProps as StandardProps, Theme } from '..';
|
|
4
5
|
import { TransitionProps } from '../transitions/transition';
|
|
5
|
-
import { PopperProps } from '../Popper/Popper';
|
|
6
6
|
import { TooltipClasses } from './tooltipClasses';
|
|
7
7
|
|
|
8
8
|
export interface TooltipComponentsPropsOverrides {}
|
package/Tooltip/Tooltip.js
CHANGED
|
@@ -211,11 +211,11 @@ function composeEventHandler(handler, eventHandler) {
|
|
|
211
211
|
|
|
212
212
|
handler(event);
|
|
213
213
|
};
|
|
214
|
-
} // TODO
|
|
214
|
+
} // TODO v6: Remove PopperComponent, PopperProps, TransitionComponent and TransitionProps.
|
|
215
215
|
|
|
216
216
|
|
|
217
217
|
const Tooltip = /*#__PURE__*/React.forwardRef(function Tooltip(inProps, ref) {
|
|
218
|
-
var _components$Popper, _ref, _components$Tooltip, _components$Arrow, _componentsProps$popp;
|
|
218
|
+
var _components$Popper, _ref, _components$Transitio, _components$Tooltip, _components$Arrow, _componentsProps$popp;
|
|
219
219
|
|
|
220
220
|
const props = useThemeProps({
|
|
221
221
|
props: inProps,
|
|
@@ -586,7 +586,7 @@ const Tooltip = /*#__PURE__*/React.forwardRef(function Tooltip(inProps, ref) {
|
|
|
586
586
|
|
|
587
587
|
const classes = useUtilityClasses(ownerState);
|
|
588
588
|
const PopperComponent = (_components$Popper = components.Popper) != null ? _components$Popper : TooltipPopper;
|
|
589
|
-
const TransitionComponent = (_ref =
|
|
589
|
+
const TransitionComponent = (_ref = (_components$Transitio = components.Transition) != null ? _components$Transitio : TransitionComponentProp) != null ? _ref : Grow;
|
|
590
590
|
const TooltipComponent = (_components$Tooltip = components.Tooltip) != null ? _components$Tooltip : TooltipTooltip;
|
|
591
591
|
const ArrowComponent = (_components$Arrow = components.Arrow) != null ? _components$Arrow : TooltipArrow;
|
|
592
592
|
const popperProps = appendOwnerState(PopperComponent, _extends({}, PopperProps, componentsProps.popper), ownerState);
|
|
@@ -797,7 +797,7 @@ process.env.NODE_ENV !== "production" ? Tooltip.propTypes
|
|
|
797
797
|
/**
|
|
798
798
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
799
799
|
*/
|
|
800
|
-
sx: PropTypes.object,
|
|
800
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
801
801
|
|
|
802
802
|
/**
|
|
803
803
|
* Tooltip title. Zero-length titles string are never displayed.
|
package/Typography/Typography.js
CHANGED
|
@@ -180,7 +180,7 @@ process.env.NODE_ENV !== "production" ? Typography.propTypes
|
|
|
180
180
|
/**
|
|
181
181
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
182
182
|
*/
|
|
183
|
-
sx: PropTypes.object,
|
|
183
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
186
|
* Applies the theme typography styles.
|
package/index.js
CHANGED
|
@@ -269,7 +269,7 @@ process.env.NODE_ENV !== "production" ? Accordion.propTypes
|
|
|
269
269
|
/**
|
|
270
270
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
271
271
|
*/
|
|
272
|
-
sx: PropTypes.object,
|
|
272
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
273
273
|
|
|
274
274
|
/**
|
|
275
275
|
* The component used for the transition.
|
|
@@ -92,6 +92,6 @@ process.env.NODE_ENV !== "production" ? AccordionActions.propTypes
|
|
|
92
92
|
/**
|
|
93
93
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
94
94
|
*/
|
|
95
|
-
sx: PropTypes.object
|
|
95
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
96
96
|
} : void 0;
|
|
97
97
|
export default AccordionActions;
|
|
@@ -72,6 +72,6 @@ process.env.NODE_ENV !== "production" ? AccordionDetails.propTypes
|
|
|
72
72
|
/**
|
|
73
73
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
74
74
|
*/
|
|
75
|
-
sx: PropTypes.object
|
|
75
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
76
76
|
} : void 0;
|
|
77
77
|
export default AccordionDetails;
|
|
@@ -202,6 +202,6 @@ process.env.NODE_ENV !== "production" ? AccordionSummary.propTypes
|
|
|
202
202
|
/**
|
|
203
203
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
204
204
|
*/
|
|
205
|
-
sx: PropTypes.object
|
|
205
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
206
206
|
} : void 0;
|
|
207
207
|
export default AccordionSummary;
|
package/legacy/Alert/Alert.js
CHANGED
|
@@ -271,7 +271,7 @@ process.env.NODE_ENV !== "production" ? Alert.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
|
|
|
276
276
|
/**
|
|
277
277
|
* The variant to use.
|
|
@@ -76,6 +76,6 @@ process.env.NODE_ENV !== "production" ? AlertTitle.propTypes
|
|
|
76
76
|
/**
|
|
77
77
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
78
78
|
*/
|
|
79
|
-
sx: PropTypes.object
|
|
79
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
80
80
|
} : void 0;
|
|
81
81
|
export default AlertTitle;
|
package/legacy/AppBar/AppBar.js
CHANGED
|
@@ -163,6 +163,6 @@ process.env.NODE_ENV !== "production" ? AppBar.propTypes
|
|
|
163
163
|
/**
|
|
164
164
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
165
165
|
*/
|
|
166
|
-
sx: PropTypes.object
|
|
166
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
167
167
|
} : void 0;
|
|
168
168
|
export default AppBar;
|
|
@@ -15,6 +15,10 @@ import ListSubheader from '../ListSubheader';
|
|
|
15
15
|
import Paper from '../Paper';
|
|
16
16
|
import IconButton from '../IconButton';
|
|
17
17
|
import Chip from '../Chip';
|
|
18
|
+
import inputClasses from '../Input/inputClasses';
|
|
19
|
+
import inputBaseClasses from '../InputBase/inputBaseClasses';
|
|
20
|
+
import outlinedInputClasses from '../OutlinedInput/outlinedInputClasses';
|
|
21
|
+
import filledInputClasses from '../FilledInput/filledInputClasses';
|
|
18
22
|
import ClearIcon from '../internal/svg-icons/Close';
|
|
19
23
|
import ArrowDropDownIcon from '../internal/svg-icons/ArrowDropDown';
|
|
20
24
|
import useThemeProps from '../styles/useThemeProps';
|
|
@@ -67,7 +71,7 @@ var AutocompleteRoot = styled('div', {
|
|
|
67
71
|
return [_defineProperty({}, "& .".concat(autocompleteClasses.tag), styles.tag), _defineProperty({}, "& .".concat(autocompleteClasses.tag), styles["tagSize".concat(capitalize(size))]), _defineProperty({}, "& .".concat(autocompleteClasses.inputRoot), styles.inputRoot), _defineProperty({}, "& .".concat(autocompleteClasses.input), styles.input), _defineProperty({}, "& .".concat(autocompleteClasses.input), inputFocused && styles.inputFocused), styles.root, fullWidth && styles.fullWidth, hasPopupIcon && styles.hasPopupIcon, hasClearIcon && styles.hasClearIcon];
|
|
68
72
|
}
|
|
69
73
|
})(function (_ref6) {
|
|
70
|
-
var _extends2, _$concat,
|
|
74
|
+
var _extends2, _$concat, _$concat2, _$concat3, _extends3;
|
|
71
75
|
|
|
72
76
|
var ownerState = _ref6.ownerState;
|
|
73
77
|
return _extends((_extends2 = {}, _defineProperty(_extends2, "&.".concat(autocompleteClasses.focused, " .").concat(autocompleteClasses.clearIndicator), {
|
|
@@ -91,46 +95,43 @@ var AutocompleteRoot = styled('div', {
|
|
|
91
95
|
}), _defineProperty(_$concat, "& .".concat(autocompleteClasses.input), {
|
|
92
96
|
width: 0,
|
|
93
97
|
minWidth: 30
|
|
94
|
-
}), _$concat)), _defineProperty(_extends3,
|
|
98
|
+
}), _$concat)), _defineProperty(_extends3, "& .".concat(inputClasses.root), {
|
|
95
99
|
paddingBottom: 1,
|
|
96
100
|
'& .MuiInput-input': {
|
|
97
101
|
padding: '4px 4px 4px 0px'
|
|
98
102
|
}
|
|
99
|
-
}), _defineProperty(_extends3,
|
|
100
|
-
'
|
|
101
|
-
|
|
102
|
-
}
|
|
103
|
-
}), _defineProperty(_extends3, '& .MuiOutlinedInput-root', (_MuiOutlinedInput = {
|
|
103
|
+
}), _defineProperty(_extends3, "& .".concat(inputClasses.root, ".").concat(inputBaseClasses.sizeSmall), _defineProperty({}, "& .".concat(inputClasses.input), {
|
|
104
|
+
padding: '2px 4px 3px 0'
|
|
105
|
+
})), _defineProperty(_extends3, "& .".concat(outlinedInputClasses.root), (_$concat2 = {
|
|
104
106
|
padding: 9
|
|
105
|
-
}, _defineProperty(
|
|
107
|
+
}, _defineProperty(_$concat2, ".".concat(autocompleteClasses.hasPopupIcon, "&, .").concat(autocompleteClasses.hasClearIcon, "&"), {
|
|
106
108
|
paddingRight: 26 + 4 + 9
|
|
107
|
-
}), _defineProperty(
|
|
109
|
+
}), _defineProperty(_$concat2, ".".concat(autocompleteClasses.hasPopupIcon, ".").concat(autocompleteClasses.hasClearIcon, "&"), {
|
|
108
110
|
paddingRight: 52 + 4 + 9
|
|
109
|
-
}), _defineProperty(
|
|
111
|
+
}), _defineProperty(_$concat2, "& .".concat(autocompleteClasses.input), {
|
|
110
112
|
padding: '7.5px 4px 7.5px 6px'
|
|
111
|
-
}), _defineProperty(
|
|
113
|
+
}), _defineProperty(_$concat2, "& .".concat(autocompleteClasses.endAdornment), {
|
|
112
114
|
right: 9
|
|
113
|
-
}),
|
|
115
|
+
}), _$concat2)), _defineProperty(_extends3, "& .".concat(outlinedInputClasses.root, ".").concat(inputBaseClasses.sizeSmall), _defineProperty({
|
|
114
116
|
padding: 6
|
|
115
117
|
}, "& .".concat(autocompleteClasses.input), {
|
|
116
118
|
padding: '2.5px 4px 2.5px 6px'
|
|
117
|
-
})), _defineProperty(_extends3,
|
|
119
|
+
})), _defineProperty(_extends3, "& .".concat(filledInputClasses.root), (_$concat3 = {
|
|
118
120
|
paddingTop: 19,
|
|
119
121
|
paddingLeft: 8
|
|
120
|
-
}, _defineProperty(
|
|
122
|
+
}, _defineProperty(_$concat3, ".".concat(autocompleteClasses.hasPopupIcon, "&, .").concat(autocompleteClasses.hasClearIcon, "&"), {
|
|
121
123
|
paddingRight: 26 + 4 + 9
|
|
122
|
-
}), _defineProperty(
|
|
124
|
+
}), _defineProperty(_$concat3, ".".concat(autocompleteClasses.hasPopupIcon, ".").concat(autocompleteClasses.hasClearIcon, "&"), {
|
|
123
125
|
paddingRight: 52 + 4 + 9
|
|
124
|
-
}), _defineProperty(
|
|
126
|
+
}), _defineProperty(_$concat3, "& .".concat(filledInputClasses.input), {
|
|
125
127
|
padding: '7px 4px'
|
|
126
|
-
}), _defineProperty(
|
|
128
|
+
}), _defineProperty(_$concat3, "& .".concat(autocompleteClasses.endAdornment), {
|
|
127
129
|
right: 9
|
|
128
|
-
}),
|
|
129
|
-
paddingBottom: 1
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
}), _defineProperty(_extends3, "& .".concat(autocompleteClasses.input), _extends({
|
|
130
|
+
}), _$concat3)), _defineProperty(_extends3, "& .".concat(filledInputClasses.root, ".").concat(inputBaseClasses.sizeSmall), _defineProperty({
|
|
131
|
+
paddingBottom: 1
|
|
132
|
+
}, "& .".concat(filledInputClasses.input), {
|
|
133
|
+
padding: '2.5px 4px'
|
|
134
|
+
})), _defineProperty(_extends3, "& .".concat(autocompleteClasses.input), _extends({
|
|
134
135
|
flexGrow: 1,
|
|
135
136
|
textOverflow: 'ellipsis',
|
|
136
137
|
opacity: 0
|
|
@@ -239,7 +240,7 @@ var AutocompleteListbox = styled('div', {
|
|
|
239
240
|
return styles.listbox;
|
|
240
241
|
}
|
|
241
242
|
})(function (_ref14) {
|
|
242
|
-
var _ariaSelectedTru, _$
|
|
243
|
+
var _ariaSelectedTru, _$concat4;
|
|
243
244
|
|
|
244
245
|
var theme = _ref14.theme;
|
|
245
246
|
return _defineProperty({
|
|
@@ -248,7 +249,7 @@ var AutocompleteListbox = styled('div', {
|
|
|
248
249
|
padding: '8px 0',
|
|
249
250
|
maxHeight: '40vh',
|
|
250
251
|
overflow: 'auto'
|
|
251
|
-
}, "& .".concat(autocompleteClasses.option), (_$
|
|
252
|
+
}, "& .".concat(autocompleteClasses.option), (_$concat4 = {
|
|
252
253
|
minHeight: 48,
|
|
253
254
|
display: 'flex',
|
|
254
255
|
overflow: 'hidden',
|
|
@@ -262,20 +263,20 @@ var AutocompleteListbox = styled('div', {
|
|
|
262
263
|
paddingBottom: 6,
|
|
263
264
|
paddingLeft: 16,
|
|
264
265
|
paddingRight: 16
|
|
265
|
-
}, _defineProperty(_$
|
|
266
|
+
}, _defineProperty(_$concat4, theme.breakpoints.up('sm'), {
|
|
266
267
|
minHeight: 'auto'
|
|
267
|
-
}), _defineProperty(_$
|
|
268
|
+
}), _defineProperty(_$concat4, "&.".concat(autocompleteClasses.focused), {
|
|
268
269
|
backgroundColor: theme.palette.action.hover,
|
|
269
270
|
// Reset on touch devices, it doesn't add specificity
|
|
270
271
|
'@media (hover: none)': {
|
|
271
272
|
backgroundColor: 'transparent'
|
|
272
273
|
}
|
|
273
|
-
}), _defineProperty(_$
|
|
274
|
+
}), _defineProperty(_$concat4, '&[aria-disabled="true"]', {
|
|
274
275
|
opacity: theme.palette.action.disabledOpacity,
|
|
275
276
|
pointerEvents: 'none'
|
|
276
|
-
}), _defineProperty(_$
|
|
277
|
+
}), _defineProperty(_$concat4, "&.".concat(autocompleteClasses.focusVisible), {
|
|
277
278
|
backgroundColor: theme.palette.action.focus
|
|
278
|
-
}), _defineProperty(_$
|
|
279
|
+
}), _defineProperty(_$concat4, '&[aria-selected="true"]', (_ariaSelectedTru = {
|
|
279
280
|
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity)
|
|
280
281
|
}, _defineProperty(_ariaSelectedTru, "&.".concat(autocompleteClasses.focused), {
|
|
281
282
|
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
|
|
@@ -285,7 +286,7 @@ var AutocompleteListbox = styled('div', {
|
|
|
285
286
|
}
|
|
286
287
|
}), _defineProperty(_ariaSelectedTru, "&.".concat(autocompleteClasses.focusVisible), {
|
|
287
288
|
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
|
|
288
|
-
}), _ariaSelectedTru)), _$
|
|
289
|
+
}), _ariaSelectedTru)), _$concat4));
|
|
289
290
|
});
|
|
290
291
|
var AutocompleteGroupLabel = styled(ListSubheader, {
|
|
291
292
|
name: 'MuiAutocomplete',
|
|
@@ -1071,7 +1072,7 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes
|
|
|
1071
1072
|
/**
|
|
1072
1073
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
1073
1074
|
*/
|
|
1074
|
-
sx: PropTypes.object,
|
|
1075
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
1075
1076
|
|
|
1076
1077
|
/**
|
|
1077
1078
|
* The value of the autocomplete.
|
package/legacy/Avatar/Avatar.js
CHANGED
|
@@ -258,7 +258,7 @@ process.env.NODE_ENV !== "production" ? Avatar.propTypes
|
|
|
258
258
|
/**
|
|
259
259
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
260
260
|
*/
|
|
261
|
-
sx: PropTypes.object,
|
|
261
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
262
262
|
|
|
263
263
|
/**
|
|
264
264
|
* The shape of the avatar.
|
|
@@ -9,7 +9,7 @@ import { chainPropTypes } from '@mui/utils';
|
|
|
9
9
|
import { unstable_composeClasses as composeClasses } from '@mui/core';
|
|
10
10
|
import styled from '../styles/styled';
|
|
11
11
|
import useThemeProps from '../styles/useThemeProps';
|
|
12
|
-
import Avatar from '../Avatar';
|
|
12
|
+
import Avatar, { avatarClasses } from '../Avatar';
|
|
13
13
|
import avatarGroupClasses, { getAvatarGroupUtilityClass } from './avatarGroupClasses';
|
|
14
14
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
15
|
var SPACINGS = {
|
|
@@ -36,7 +36,7 @@ var AvatarGroupRoot = styled('div', {
|
|
|
36
36
|
var _ref2;
|
|
37
37
|
|
|
38
38
|
var theme = _ref.theme;
|
|
39
|
-
return _ref2 = {}, _defineProperty(_ref2, "& .
|
|
39
|
+
return _ref2 = {}, _defineProperty(_ref2, "& .".concat(avatarClasses.root), {
|
|
40
40
|
border: "2px solid ".concat(theme.palette.background.default),
|
|
41
41
|
boxSizing: 'content-box',
|
|
42
42
|
marginLeft: -8,
|
|
@@ -166,7 +166,7 @@ process.env.NODE_ENV !== "production" ? AvatarGroup.propTypes
|
|
|
166
166
|
/**
|
|
167
167
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
168
168
|
*/
|
|
169
|
-
sx: PropTypes.object,
|
|
169
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
170
170
|
|
|
171
171
|
/**
|
|
172
172
|
* The variant to use.
|
|
@@ -140,7 +140,7 @@ process.env.NODE_ENV !== "production" ? Backdrop.propTypes
|
|
|
140
140
|
/**
|
|
141
141
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
142
142
|
*/
|
|
143
|
-
sx: PropTypes.object,
|
|
143
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
146
|
* The duration for the transition, in milliseconds.
|
package/legacy/Badge/Badge.js
CHANGED
|
@@ -293,7 +293,7 @@ process.env.NODE_ENV !== "production" ? Badge.propTypes
|
|
|
293
293
|
/**
|
|
294
294
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
295
295
|
*/
|
|
296
|
-
sx: PropTypes.object,
|
|
296
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
297
297
|
|
|
298
298
|
/**
|
|
299
299
|
* The variant to use.
|
|
@@ -129,7 +129,7 @@ process.env.NODE_ENV !== "production" ? BottomNavigation.propTypes
|
|
|
129
129
|
/**
|
|
130
130
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
131
131
|
*/
|
|
132
|
-
sx: PropTypes.object,
|
|
132
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
135
|
* The value of the currently selected `BottomNavigationAction`.
|
|
@@ -172,7 +172,7 @@ process.env.NODE_ENV !== "production" ? BottomNavigationAction.propTypes
|
|
|
172
172
|
/**
|
|
173
173
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
174
174
|
*/
|
|
175
|
-
sx: PropTypes.object,
|
|
175
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
176
176
|
|
|
177
177
|
/**
|
|
178
178
|
* You can provide your own value. Otherwise, we fallback to the child position index.
|
|
@@ -241,6 +241,6 @@ process.env.NODE_ENV !== "production" ? Breadcrumbs.propTypes
|
|
|
241
241
|
/**
|
|
242
242
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
243
243
|
*/
|
|
244
|
-
sx: PropTypes.object
|
|
244
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
245
245
|
} : void 0;
|
|
246
246
|
export default Breadcrumbs;
|
package/legacy/Button/Button.js
CHANGED
|
@@ -377,7 +377,7 @@ process.env.NODE_ENV !== "production" ? Button.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
|
* @ignore
|
|
@@ -532,7 +532,7 @@ process.env.NODE_ENV !== "production" ? ButtonBase.propTypes
|
|
|
532
532
|
/**
|
|
533
533
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
534
534
|
*/
|
|
535
|
-
sx: PropTypes.object,
|
|
535
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
536
536
|
|
|
537
537
|
/**
|
|
538
538
|
* @default 0
|
|
@@ -261,7 +261,7 @@ process.env.NODE_ENV !== "production" ? ButtonGroup.propTypes
|
|
|
261
261
|
/**
|
|
262
262
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
263
263
|
*/
|
|
264
|
-
sx: PropTypes.object,
|
|
264
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
265
265
|
|
|
266
266
|
/**
|
|
267
267
|
* The variant to use.
|