@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
|
@@ -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';
|
|
@@ -118,18 +122,18 @@ const AutocompleteRoot = styled('div', {
|
|
|
118
122
|
minWidth: 30
|
|
119
123
|
}
|
|
120
124
|
},
|
|
121
|
-
|
|
125
|
+
[`& .${inputClasses.root}`]: {
|
|
122
126
|
paddingBottom: 1,
|
|
123
127
|
'& .MuiInput-input': {
|
|
124
128
|
padding: '4px 4px 4px 0px'
|
|
125
129
|
}
|
|
126
130
|
},
|
|
127
|
-
|
|
128
|
-
|
|
131
|
+
[`& .${inputClasses.root}.${inputBaseClasses.sizeSmall}`]: {
|
|
132
|
+
[`& .${inputClasses.input}`]: {
|
|
129
133
|
padding: '2px 4px 3px 0'
|
|
130
134
|
}
|
|
131
135
|
},
|
|
132
|
-
|
|
136
|
+
[`& .${outlinedInputClasses.root}`]: {
|
|
133
137
|
padding: 9,
|
|
134
138
|
[`.${autocompleteClasses.hasPopupIcon}&, .${autocompleteClasses.hasClearIcon}&`]: {
|
|
135
139
|
paddingRight: 26 + 4 + 9
|
|
@@ -144,13 +148,13 @@ const AutocompleteRoot = styled('div', {
|
|
|
144
148
|
right: 9
|
|
145
149
|
}
|
|
146
150
|
},
|
|
147
|
-
|
|
151
|
+
[`& .${outlinedInputClasses.root}.${inputBaseClasses.sizeSmall}`]: {
|
|
148
152
|
padding: 6,
|
|
149
153
|
[`& .${autocompleteClasses.input}`]: {
|
|
150
154
|
padding: '2.5px 4px 2.5px 6px'
|
|
151
155
|
}
|
|
152
156
|
},
|
|
153
|
-
|
|
157
|
+
[`& .${filledInputClasses.root}`]: {
|
|
154
158
|
paddingTop: 19,
|
|
155
159
|
paddingLeft: 8,
|
|
156
160
|
[`.${autocompleteClasses.hasPopupIcon}&, .${autocompleteClasses.hasClearIcon}&`]: {
|
|
@@ -159,16 +163,16 @@ const AutocompleteRoot = styled('div', {
|
|
|
159
163
|
[`.${autocompleteClasses.hasPopupIcon}.${autocompleteClasses.hasClearIcon}&`]: {
|
|
160
164
|
paddingRight: 52 + 4 + 9
|
|
161
165
|
},
|
|
162
|
-
|
|
166
|
+
[`& .${filledInputClasses.input}`]: {
|
|
163
167
|
padding: '7px 4px'
|
|
164
168
|
},
|
|
165
169
|
[`& .${autocompleteClasses.endAdornment}`]: {
|
|
166
170
|
right: 9
|
|
167
171
|
}
|
|
168
172
|
},
|
|
169
|
-
|
|
173
|
+
[`& .${filledInputClasses.root}.${inputBaseClasses.sizeSmall}`]: {
|
|
170
174
|
paddingBottom: 1,
|
|
171
|
-
|
|
175
|
+
[`& .${filledInputClasses.input}`]: {
|
|
172
176
|
padding: '2.5px 4px'
|
|
173
177
|
}
|
|
174
178
|
},
|
|
@@ -1033,7 +1037,7 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes
|
|
|
1033
1037
|
/**
|
|
1034
1038
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
1035
1039
|
*/
|
|
1036
|
-
sx: PropTypes.object,
|
|
1040
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
1037
1041
|
|
|
1038
1042
|
/**
|
|
1039
1043
|
* The value of the autocomplete.
|
package/modern/Avatar/Avatar.js
CHANGED
|
@@ -255,7 +255,7 @@ process.env.NODE_ENV !== "production" ? Avatar.propTypes
|
|
|
255
255
|
/**
|
|
256
256
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
257
257
|
*/
|
|
258
|
-
sx: PropTypes.object,
|
|
258
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
259
259
|
|
|
260
260
|
/**
|
|
261
261
|
* 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
|
const SPACINGS = {
|
|
@@ -37,7 +37,7 @@ const AvatarGroupRoot = styled('div', {
|
|
|
37
37
|
})(({
|
|
38
38
|
theme
|
|
39
39
|
}) => ({
|
|
40
|
-
[`& .
|
|
40
|
+
[`& .${avatarClasses.root}`]: {
|
|
41
41
|
border: `2px solid ${theme.palette.background.default}`,
|
|
42
42
|
boxSizing: 'content-box',
|
|
43
43
|
marginLeft: -8,
|
|
@@ -165,7 +165,7 @@ process.env.NODE_ENV !== "production" ? AvatarGroup.propTypes
|
|
|
165
165
|
/**
|
|
166
166
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
167
167
|
*/
|
|
168
|
-
sx: PropTypes.object,
|
|
168
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
169
169
|
|
|
170
170
|
/**
|
|
171
171
|
* The variant to use.
|
|
@@ -141,7 +141,7 @@ process.env.NODE_ENV !== "production" ? Backdrop.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
|
|
|
146
146
|
/**
|
|
147
147
|
* The duration for the transition, in milliseconds.
|
package/modern/Badge/Badge.js
CHANGED
|
@@ -296,7 +296,7 @@ process.env.NODE_ENV !== "production" ? Badge.propTypes
|
|
|
296
296
|
/**
|
|
297
297
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
298
298
|
*/
|
|
299
|
-
sx: PropTypes.object,
|
|
299
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
300
300
|
|
|
301
301
|
/**
|
|
302
302
|
* 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`.
|
|
@@ -176,7 +176,7 @@ process.env.NODE_ENV !== "production" ? BottomNavigationAction.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
|
|
|
181
181
|
/**
|
|
182
182
|
* You can provide your own value. Otherwise, we fallback to the child position index.
|
|
@@ -232,6 +232,6 @@ process.env.NODE_ENV !== "production" ? Breadcrumbs.propTypes
|
|
|
232
232
|
/**
|
|
233
233
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
234
234
|
*/
|
|
235
|
-
sx: PropTypes.object
|
|
235
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
236
236
|
} : void 0;
|
|
237
237
|
export default Breadcrumbs;
|
package/modern/Button/Button.js
CHANGED
|
@@ -372,7 +372,7 @@ process.env.NODE_ENV !== "production" ? Button.propTypes
|
|
|
372
372
|
/**
|
|
373
373
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
374
374
|
*/
|
|
375
|
-
sx: PropTypes.object,
|
|
375
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
376
376
|
|
|
377
377
|
/**
|
|
378
378
|
* @ignore
|
|
@@ -514,7 +514,7 @@ process.env.NODE_ENV !== "production" ? ButtonBase.propTypes
|
|
|
514
514
|
/**
|
|
515
515
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
516
516
|
*/
|
|
517
|
-
sx: PropTypes.object,
|
|
517
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
518
518
|
|
|
519
519
|
/**
|
|
520
520
|
* @default 0
|
|
@@ -270,7 +270,7 @@ process.env.NODE_ENV !== "production" ? ButtonGroup.propTypes
|
|
|
270
270
|
/**
|
|
271
271
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
272
272
|
*/
|
|
273
|
-
sx: PropTypes.object,
|
|
273
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
274
274
|
|
|
275
275
|
/**
|
|
276
276
|
* The variant to use.
|
package/modern/Card/Card.js
CHANGED
|
@@ -93,6 +93,6 @@ process.env.NODE_ENV !== "production" ? Card.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 Card;
|
|
@@ -122,6 +122,6 @@ process.env.NODE_ENV !== "production" ? CardActionArea.propTypes
|
|
|
122
122
|
/**
|
|
123
123
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
124
124
|
*/
|
|
125
|
-
sx: PropTypes.object
|
|
125
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
126
126
|
} : void 0;
|
|
127
127
|
export default CardActionArea;
|
|
@@ -96,6 +96,6 @@ process.env.NODE_ENV !== "production" ? CardActions.propTypes
|
|
|
96
96
|
/**
|
|
97
97
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
98
98
|
*/
|
|
99
|
-
sx: PropTypes.object
|
|
99
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
100
100
|
} : void 0;
|
|
101
101
|
export default CardActions;
|
|
@@ -88,6 +88,6 @@ process.env.NODE_ENV !== "production" ? CardContent.propTypes
|
|
|
88
88
|
/**
|
|
89
89
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
90
90
|
*/
|
|
91
|
-
sx: PropTypes.object
|
|
91
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
92
92
|
} : void 0;
|
|
93
93
|
export default CardContent;
|
|
@@ -203,7 +203,7 @@ process.env.NODE_ENV !== "production" ? CardHeader.propTypes
|
|
|
203
203
|
/**
|
|
204
204
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
205
205
|
*/
|
|
206
|
-
sx: PropTypes.object,
|
|
206
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
207
207
|
|
|
208
208
|
/**
|
|
209
209
|
* The content of the component.
|
|
@@ -82,7 +82,7 @@ const CardMedia = /*#__PURE__*/React.forwardRef(function CardMedia(inProps, ref)
|
|
|
82
82
|
return /*#__PURE__*/_jsx(CardMediaRoot, _extends({
|
|
83
83
|
className: clsx(classes.root, className),
|
|
84
84
|
as: component,
|
|
85
|
-
role: !isMediaComponent && image ? '
|
|
85
|
+
role: !isMediaComponent && image ? 'img' : undefined,
|
|
86
86
|
ref: ref,
|
|
87
87
|
style: composedStyle,
|
|
88
88
|
ownerState: ownerState,
|
|
@@ -148,6 +148,6 @@ process.env.NODE_ENV !== "production" ? CardMedia.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 CardMedia;
|
|
@@ -219,7 +219,7 @@ process.env.NODE_ENV !== "production" ? Checkbox.propTypes
|
|
|
219
219
|
/**
|
|
220
220
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
221
221
|
*/
|
|
222
|
-
sx: PropTypes.object,
|
|
222
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
223
223
|
|
|
224
224
|
/**
|
|
225
225
|
* The value of the component. The DOM API casts this to a string.
|
package/modern/Chip/Chip.js
CHANGED
|
@@ -515,7 +515,7 @@ process.env.NODE_ENV !== "production" ? Chip.propTypes
|
|
|
515
515
|
/**
|
|
516
516
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
517
517
|
*/
|
|
518
|
-
sx: PropTypes.object,
|
|
518
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
519
519
|
|
|
520
520
|
/**
|
|
521
521
|
* The variant to use.
|
|
@@ -241,7 +241,7 @@ process.env.NODE_ENV !== "production" ? CircularProgress.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
|
|
|
246
246
|
/**
|
|
247
247
|
* The thickness of the circle.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from '
|
|
2
|
-
export * from '
|
|
1
|
+
export { default } from '@mui/core/ClickAwayListener';
|
|
2
|
+
export * from '@mui/core/ClickAwayListener';
|
|
@@ -400,7 +400,7 @@ process.env.NODE_ENV !== "production" ? Collapse.propTypes
|
|
|
400
400
|
/**
|
|
401
401
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
402
402
|
*/
|
|
403
|
-
sx: PropTypes.object,
|
|
403
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
404
404
|
|
|
405
405
|
/**
|
|
406
406
|
* The duration for the transition, in milliseconds.
|
|
@@ -161,6 +161,6 @@ process.env.NODE_ENV !== "production" ? Container.propTypes
|
|
|
161
161
|
/**
|
|
162
162
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
163
163
|
*/
|
|
164
|
-
sx: PropTypes.object
|
|
164
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
165
165
|
} : void 0;
|
|
166
166
|
export default Container;
|
package/modern/Dialog/Dialog.js
CHANGED
|
@@ -387,7 +387,7 @@ process.env.NODE_ENV !== "production" ? Dialog.propTypes
|
|
|
387
387
|
/**
|
|
388
388
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
389
389
|
*/
|
|
390
|
-
sx: PropTypes.object,
|
|
390
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
391
391
|
|
|
392
392
|
/**
|
|
393
393
|
* The component used for the transition.
|
|
@@ -98,6 +98,6 @@ process.env.NODE_ENV !== "production" ? DialogActions.propTypes
|
|
|
98
98
|
/**
|
|
99
99
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
100
100
|
*/
|
|
101
|
-
sx: PropTypes.object
|
|
101
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
102
102
|
} : void 0;
|
|
103
103
|
export default DialogActions;
|
|
@@ -8,6 +8,7 @@ import { unstable_composeClasses as composeClasses } from '@mui/core';
|
|
|
8
8
|
import styled from '../styles/styled';
|
|
9
9
|
import useThemeProps from '../styles/useThemeProps';
|
|
10
10
|
import { getDialogContentUtilityClass } from './dialogContentClasses';
|
|
11
|
+
import dialogTitleClasses from '../DialogTitle/dialogTitleClasses';
|
|
11
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
13
|
|
|
13
14
|
const useUtilityClasses = ownerState => {
|
|
@@ -44,7 +45,7 @@ const DialogContentRoot = styled('div', {
|
|
|
44
45
|
borderTop: `1px solid ${theme.palette.divider}`,
|
|
45
46
|
borderBottom: `1px solid ${theme.palette.divider}`
|
|
46
47
|
} : {
|
|
47
|
-
|
|
48
|
+
[`.${dialogTitleClasses.root} + &`]: {
|
|
48
49
|
paddingTop: 0
|
|
49
50
|
}
|
|
50
51
|
}));
|
|
@@ -103,6 +104,6 @@ process.env.NODE_ENV !== "production" ? DialogContent.propTypes
|
|
|
103
104
|
/**
|
|
104
105
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
105
106
|
*/
|
|
106
|
-
sx: PropTypes.object
|
|
107
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
107
108
|
} : void 0;
|
|
108
109
|
export default DialogContent;
|
|
@@ -67,6 +67,6 @@ process.env.NODE_ENV !== "production" ? DialogContentText.propTypes
|
|
|
67
67
|
/**
|
|
68
68
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
69
69
|
*/
|
|
70
|
-
sx: PropTypes.object
|
|
70
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
71
71
|
} : void 0;
|
|
72
72
|
export default DialogContentText;
|
|
@@ -87,6 +87,6 @@ process.env.NODE_ENV !== "production" ? DialogTitle.propTypes
|
|
|
87
87
|
/**
|
|
88
88
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
89
89
|
*/
|
|
90
|
-
sx: PropTypes.object
|
|
90
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
91
91
|
} : void 0;
|
|
92
92
|
export default DialogTitle;
|
|
@@ -247,7 +247,7 @@ process.env.NODE_ENV !== "production" ? Divider.propTypes
|
|
|
247
247
|
/**
|
|
248
248
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
249
249
|
*/
|
|
250
|
-
sx: PropTypes.object,
|
|
250
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
251
251
|
|
|
252
252
|
/**
|
|
253
253
|
* The text alignment.
|
package/modern/Drawer/Drawer.js
CHANGED
|
@@ -313,7 +313,7 @@ process.env.NODE_ENV !== "production" ? Drawer.propTypes
|
|
|
313
313
|
/**
|
|
314
314
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
315
315
|
*/
|
|
316
|
-
sx: PropTypes.object,
|
|
316
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
317
317
|
|
|
318
318
|
/**
|
|
319
319
|
* The duration for the transition, in milliseconds.
|
package/modern/Fab/Fab.js
CHANGED
|
@@ -238,7 +238,7 @@ process.env.NODE_ENV !== "production" ? Fab.propTypes
|
|
|
238
238
|
/**
|
|
239
239
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
240
240
|
*/
|
|
241
|
-
sx: PropTypes.object,
|
|
241
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
242
242
|
|
|
243
243
|
/**
|
|
244
244
|
* The variant to use.
|
|
@@ -389,7 +389,7 @@ process.env.NODE_ENV !== "production" ? FilledInput.propTypes
|
|
|
389
389
|
/**
|
|
390
390
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
391
391
|
*/
|
|
392
|
-
sx: PropTypes.object,
|
|
392
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
393
393
|
|
|
394
394
|
/**
|
|
395
395
|
* 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).
|
|
@@ -314,7 +314,7 @@ process.env.NODE_ENV !== "production" ? FormControl.propTypes
|
|
|
314
314
|
/**
|
|
315
315
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
316
316
|
*/
|
|
317
|
-
sx: PropTypes.object,
|
|
317
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
318
318
|
|
|
319
319
|
/**
|
|
320
320
|
* The variant to use.
|
|
@@ -211,7 +211,7 @@ process.env.NODE_ENV !== "production" ? FormControlLabel.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 value of the component.
|
|
@@ -100,6 +100,6 @@ process.env.NODE_ENV !== "production" ? FormGroup.propTypes
|
|
|
100
100
|
/**
|
|
101
101
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
102
102
|
*/
|
|
103
|
-
sx: PropTypes.object
|
|
103
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
104
104
|
} : void 0;
|
|
105
105
|
export default FormGroup;
|
|
@@ -178,7 +178,7 @@ process.env.NODE_ENV !== "production" ? FormHelperText.propTypes
|
|
|
178
178
|
/**
|
|
179
179
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
180
180
|
*/
|
|
181
|
-
sx: PropTypes.object,
|
|
181
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
182
182
|
|
|
183
183
|
/**
|
|
184
184
|
* The variant to use.
|
|
@@ -177,6 +177,6 @@ process.env.NODE_ENV !== "production" ? FormLabel.propTypes
|
|
|
177
177
|
/**
|
|
178
178
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
179
179
|
*/
|
|
180
|
-
sx: PropTypes.object
|
|
180
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
181
181
|
} : void 0;
|
|
182
182
|
export default FormLabel;
|
package/modern/Grid/Grid.js
CHANGED
|
@@ -255,7 +255,7 @@ const Grid = /*#__PURE__*/React.forwardRef(function Grid(inProps, ref) {
|
|
|
255
255
|
|
|
256
256
|
const {
|
|
257
257
|
className,
|
|
258
|
-
columns: columnsProp
|
|
258
|
+
columns: columnsProp,
|
|
259
259
|
columnSpacing: columnSpacingProp,
|
|
260
260
|
component = 'div',
|
|
261
261
|
container = false,
|
|
@@ -275,7 +275,10 @@ const Grid = /*#__PURE__*/React.forwardRef(function Grid(inProps, ref) {
|
|
|
275
275
|
|
|
276
276
|
const rowSpacing = rowSpacingProp || spacing;
|
|
277
277
|
const columnSpacing = columnSpacingProp || spacing;
|
|
278
|
-
const
|
|
278
|
+
const columnsContext = React.useContext(GridContext); // setting prop before context to accomodate nesting
|
|
279
|
+
// colums set with default breakpoint unit of 12
|
|
280
|
+
|
|
281
|
+
const columns = columnsProp || columnsContext || 12;
|
|
279
282
|
|
|
280
283
|
const ownerState = _extends({}, props, {
|
|
281
284
|
columns,
|
|
@@ -406,7 +409,7 @@ process.env.NODE_ENV !== "production" ? Grid.propTypes
|
|
|
406
409
|
/**
|
|
407
410
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
408
411
|
*/
|
|
409
|
-
sx: PropTypes.object,
|
|
412
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
410
413
|
|
|
411
414
|
/**
|
|
412
415
|
* Defines the `flex-wrap` style property.
|
package/modern/Icon/Icon.js
CHANGED
|
@@ -154,7 +154,7 @@ process.env.NODE_ENV !== "production" ? Icon.propTypes
|
|
|
154
154
|
/**
|
|
155
155
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
156
156
|
*/
|
|
157
|
-
sx: PropTypes.object
|
|
157
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
158
158
|
} : void 0;
|
|
159
159
|
Icon.muiName = 'Icon';
|
|
160
160
|
export default Icon;
|
|
@@ -212,6 +212,6 @@ process.env.NODE_ENV !== "production" ? IconButton.propTypes
|
|
|
212
212
|
/**
|
|
213
213
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
214
214
|
*/
|
|
215
|
-
sx: PropTypes.object
|
|
215
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
216
216
|
} : void 0;
|
|
217
217
|
export default IconButton;
|
|
@@ -163,7 +163,7 @@ process.env.NODE_ENV !== "production" ? ImageList.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
|
|
|
168
168
|
/**
|
|
169
169
|
* The variant to use.
|
|
@@ -184,6 +184,6 @@ process.env.NODE_ENV !== "production" ? ImageListItem.propTypes
|
|
|
184
184
|
/**
|
|
185
185
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
186
186
|
*/
|
|
187
|
-
sx: PropTypes.object
|
|
187
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
188
188
|
} : void 0;
|
|
189
189
|
export default ImageListItem;
|
|
@@ -226,7 +226,7 @@ process.env.NODE_ENV !== "production" ? ImageListItemBar.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
|
* Title to be displayed.
|
package/modern/Input/Input.js
CHANGED
|
@@ -316,7 +316,7 @@ process.env.NODE_ENV !== "production" ? Input.propTypes
|
|
|
316
316
|
/**
|
|
317
317
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
318
318
|
*/
|
|
319
|
-
sx: PropTypes.object,
|
|
319
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
320
320
|
|
|
321
321
|
/**
|
|
322
322
|
* 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).
|
|
@@ -186,7 +186,7 @@ process.env.NODE_ENV !== "production" ? InputAdornment.propTypes
|
|
|
186
186
|
/**
|
|
187
187
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
188
188
|
*/
|
|
189
|
-
sx: PropTypes.object,
|
|
189
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
190
190
|
|
|
191
191
|
/**
|
|
192
192
|
* The variant to use.
|
|
@@ -6,17 +6,15 @@ import * as React from 'react';
|
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
7
7
|
import clsx from 'clsx';
|
|
8
8
|
import { refType, elementTypeAcceptingRef } from '@mui/utils';
|
|
9
|
-
import { unstable_composeClasses as composeClasses, isHostComponent } from '@mui/core';
|
|
9
|
+
import { unstable_composeClasses as composeClasses, isHostComponent, TextareaAutosize } from '@mui/core';
|
|
10
10
|
import formControlState from '../FormControl/formControlState';
|
|
11
11
|
import FormControlContext from '../FormControl/FormControlContext';
|
|
12
12
|
import useFormControl from '../FormControl/useFormControl';
|
|
13
13
|
import styled from '../styles/styled';
|
|
14
14
|
import useThemeProps from '../styles/useThemeProps';
|
|
15
|
-
import useTheme from '../styles/useTheme';
|
|
16
15
|
import capitalize from '../utils/capitalize';
|
|
17
16
|
import useForkRef from '../utils/useForkRef';
|
|
18
17
|
import useEnhancedEffect from '../utils/useEnhancedEffect';
|
|
19
|
-
import TextareaAutosize from '../TextareaAutosize';
|
|
20
18
|
import GlobalStyles from '../GlobalStyles';
|
|
21
19
|
import { isFilled } from './utils';
|
|
22
20
|
import inputBaseClasses, { getInputBaseUtilityClass } from './inputBaseClasses';
|
|
@@ -249,7 +247,6 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
249
247
|
} = props,
|
|
250
248
|
other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
251
249
|
|
|
252
|
-
const theme = useTheme();
|
|
253
250
|
const value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;
|
|
254
251
|
const {
|
|
255
252
|
current: isControlled
|
|
@@ -455,8 +452,7 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
455
452
|
inputProps = _extends({}, inputProps, componentsProps.input);
|
|
456
453
|
return /*#__PURE__*/_jsxs(React.Fragment, {
|
|
457
454
|
children: [inputGlobalStyles, /*#__PURE__*/_jsxs(Root, _extends({}, rootProps, !isHostComponent(Root) && {
|
|
458
|
-
ownerState: _extends({}, ownerState, rootProps.ownerState)
|
|
459
|
-
theme
|
|
455
|
+
ownerState: _extends({}, ownerState, rootProps.ownerState)
|
|
460
456
|
}, {
|
|
461
457
|
ref: ref,
|
|
462
458
|
onClick: handleClick
|
|
@@ -485,8 +481,7 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
485
481
|
type: type
|
|
486
482
|
}, inputProps, !isHostComponent(Input) && {
|
|
487
483
|
as: InputComponent,
|
|
488
|
-
ownerState: _extends({}, ownerState, inputProps.ownerState)
|
|
489
|
-
theme
|
|
484
|
+
ownerState: _extends({}, ownerState, inputProps.ownerState)
|
|
490
485
|
}, {
|
|
491
486
|
ref: handleInputRef,
|
|
492
487
|
className: clsx(classes.input, inputProps.className, inputPropsProp.className),
|
|
@@ -715,7 +710,7 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes
|
|
|
715
710
|
/**
|
|
716
711
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
717
712
|
*/
|
|
718
|
-
sx: PropTypes.object,
|
|
713
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
719
714
|
|
|
720
715
|
/**
|
|
721
716
|
* 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).
|
|
@@ -206,7 +206,7 @@ process.env.NODE_ENV !== "production" ? InputLabel.propTypes
|
|
|
206
206
|
/**
|
|
207
207
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
208
208
|
*/
|
|
209
|
-
sx: PropTypes.object,
|
|
209
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
210
210
|
|
|
211
211
|
/**
|
|
212
212
|
* The variant to use.
|