@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/legacy/Card/Card.js
CHANGED
|
@@ -91,6 +91,6 @@ process.env.NODE_ENV !== "production" ? Card.propTypes
|
|
|
91
91
|
/**
|
|
92
92
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
93
93
|
*/
|
|
94
|
-
sx: PropTypes.object
|
|
94
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
95
95
|
} : void 0;
|
|
96
96
|
export default Card;
|
|
@@ -124,6 +124,6 @@ process.env.NODE_ENV !== "production" ? CardActionArea.propTypes
|
|
|
124
124
|
/**
|
|
125
125
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
126
126
|
*/
|
|
127
|
-
sx: PropTypes.object
|
|
127
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
128
128
|
} : void 0;
|
|
129
129
|
export default CardActionArea;
|
|
@@ -91,6 +91,6 @@ process.env.NODE_ENV !== "production" ? CardActions.propTypes
|
|
|
91
91
|
/**
|
|
92
92
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
93
93
|
*/
|
|
94
|
-
sx: PropTypes.object
|
|
94
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
95
95
|
} : void 0;
|
|
96
96
|
export default CardActions;
|
|
@@ -86,6 +86,6 @@ process.env.NODE_ENV !== "production" ? CardContent.propTypes
|
|
|
86
86
|
/**
|
|
87
87
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
88
88
|
*/
|
|
89
|
-
sx: PropTypes.object
|
|
89
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
90
90
|
} : void 0;
|
|
91
91
|
export default CardContent;
|
|
@@ -208,7 +208,7 @@ process.env.NODE_ENV !== "production" ? CardHeader.propTypes
|
|
|
208
208
|
/**
|
|
209
209
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
210
210
|
*/
|
|
211
|
-
sx: PropTypes.object,
|
|
211
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
212
212
|
|
|
213
213
|
/**
|
|
214
214
|
* The content of the component.
|
|
@@ -75,7 +75,7 @@ var CardMedia = /*#__PURE__*/React.forwardRef(function CardMedia(inProps, ref) {
|
|
|
75
75
|
return /*#__PURE__*/_jsx(CardMediaRoot, _extends({
|
|
76
76
|
className: clsx(classes.root, className),
|
|
77
77
|
as: component,
|
|
78
|
-
role: !isMediaComponent && image ? '
|
|
78
|
+
role: !isMediaComponent && image ? 'img' : undefined,
|
|
79
79
|
ref: ref,
|
|
80
80
|
style: composedStyle,
|
|
81
81
|
ownerState: ownerState,
|
|
@@ -141,6 +141,6 @@ process.env.NODE_ENV !== "production" ? CardMedia.propTypes
|
|
|
141
141
|
/**
|
|
142
142
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
143
143
|
*/
|
|
144
|
-
sx: PropTypes.object
|
|
144
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
145
145
|
} : void 0;
|
|
146
146
|
export default CardMedia;
|
|
@@ -223,7 +223,7 @@ process.env.NODE_ENV !== "production" ? Checkbox.propTypes
|
|
|
223
223
|
/**
|
|
224
224
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
225
225
|
*/
|
|
226
|
-
sx: PropTypes.object,
|
|
226
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
227
227
|
|
|
228
228
|
/**
|
|
229
229
|
* The value of the component. The DOM API casts this to a string.
|
package/legacy/Chip/Chip.js
CHANGED
|
@@ -469,7 +469,7 @@ process.env.NODE_ENV !== "production" ? Chip.propTypes
|
|
|
469
469
|
/**
|
|
470
470
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
471
471
|
*/
|
|
472
|
-
sx: PropTypes.object,
|
|
472
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
473
473
|
|
|
474
474
|
/**
|
|
475
475
|
* The variant to use.
|
|
@@ -221,7 +221,7 @@ process.env.NODE_ENV !== "production" ? CircularProgress.propTypes
|
|
|
221
221
|
/**
|
|
222
222
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
223
223
|
*/
|
|
224
|
-
sx: PropTypes.object,
|
|
224
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
225
225
|
|
|
226
226
|
/**
|
|
227
227
|
* 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';
|
|
@@ -407,7 +407,7 @@ process.env.NODE_ENV !== "production" ? Collapse.propTypes
|
|
|
407
407
|
/**
|
|
408
408
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
409
409
|
*/
|
|
410
|
-
sx: PropTypes.object,
|
|
410
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
411
411
|
|
|
412
412
|
/**
|
|
413
413
|
* The duration for the transition, in milliseconds.
|
|
@@ -157,6 +157,6 @@ process.env.NODE_ENV !== "production" ? Container.propTypes
|
|
|
157
157
|
/**
|
|
158
158
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
159
159
|
*/
|
|
160
|
-
sx: PropTypes.object
|
|
160
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
161
161
|
} : void 0;
|
|
162
162
|
export default Container;
|
package/legacy/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.
|
|
@@ -93,6 +93,6 @@ process.env.NODE_ENV !== "production" ? DialogActions.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 DialogActions;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
2
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
3
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
4
|
import * as React from 'react';
|
|
4
5
|
import PropTypes from 'prop-types';
|
|
@@ -7,6 +8,7 @@ import { unstable_composeClasses as composeClasses } from '@mui/core';
|
|
|
7
8
|
import styled from '../styles/styled';
|
|
8
9
|
import useThemeProps from '../styles/useThemeProps';
|
|
9
10
|
import { getDialogContentUtilityClass } from './dialogContentClasses';
|
|
11
|
+
import dialogTitleClasses from '../DialogTitle/dialogTitleClasses';
|
|
10
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
13
|
|
|
12
14
|
var useUtilityClasses = function useUtilityClasses(ownerState) {
|
|
@@ -38,11 +40,9 @@ var DialogContentRoot = styled('div', {
|
|
|
38
40
|
padding: '16px 24px',
|
|
39
41
|
borderTop: "1px solid ".concat(theme.palette.divider),
|
|
40
42
|
borderBottom: "1px solid ".concat(theme.palette.divider)
|
|
41
|
-
} : {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
});
|
|
43
|
+
} : _defineProperty({}, ".".concat(dialogTitleClasses.root, " + &"), {
|
|
44
|
+
paddingTop: 0
|
|
45
|
+
}));
|
|
46
46
|
});
|
|
47
47
|
var DialogContent = /*#__PURE__*/React.forwardRef(function DialogContent(inProps, ref) {
|
|
48
48
|
var props = useThemeProps({
|
|
@@ -98,6 +98,6 @@ process.env.NODE_ENV !== "production" ? DialogContent.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 DialogContent;
|
|
@@ -69,6 +69,6 @@ process.env.NODE_ENV !== "production" ? DialogContentText.propTypes
|
|
|
69
69
|
/**
|
|
70
70
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
71
71
|
*/
|
|
72
|
-
sx: PropTypes.object
|
|
72
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
73
73
|
} : void 0;
|
|
74
74
|
export default DialogContentText;
|
|
@@ -86,6 +86,6 @@ process.env.NODE_ENV !== "production" ? DialogTitle.propTypes
|
|
|
86
86
|
/**
|
|
87
87
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
88
88
|
*/
|
|
89
|
-
sx: PropTypes.object
|
|
89
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
90
90
|
} : void 0;
|
|
91
91
|
export default DialogTitle;
|
|
@@ -251,7 +251,7 @@ process.env.NODE_ENV !== "production" ? Divider.propTypes
|
|
|
251
251
|
/**
|
|
252
252
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
253
253
|
*/
|
|
254
|
-
sx: PropTypes.object,
|
|
254
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
255
255
|
|
|
256
256
|
/**
|
|
257
257
|
* The text alignment.
|
package/legacy/Drawer/Drawer.js
CHANGED
|
@@ -312,7 +312,7 @@ process.env.NODE_ENV !== "production" ? Drawer.propTypes
|
|
|
312
312
|
/**
|
|
313
313
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
314
314
|
*/
|
|
315
|
-
sx: PropTypes.object,
|
|
315
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
316
316
|
|
|
317
317
|
/**
|
|
318
318
|
* The duration for the transition, in milliseconds.
|
package/legacy/Fab/Fab.js
CHANGED
|
@@ -240,7 +240,7 @@ process.env.NODE_ENV !== "production" ? Fab.propTypes
|
|
|
240
240
|
/**
|
|
241
241
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
242
242
|
*/
|
|
243
|
-
sx: PropTypes.object,
|
|
243
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
244
244
|
|
|
245
245
|
/**
|
|
246
246
|
* The variant to use.
|
|
@@ -387,7 +387,7 @@ process.env.NODE_ENV !== "production" ? FilledInput.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
|
* 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).
|
|
@@ -328,7 +328,7 @@ process.env.NODE_ENV !== "production" ? FormControl.propTypes
|
|
|
328
328
|
/**
|
|
329
329
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
330
330
|
*/
|
|
331
|
-
sx: PropTypes.object,
|
|
331
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
332
332
|
|
|
333
333
|
/**
|
|
334
334
|
* The variant to use.
|
|
@@ -205,7 +205,7 @@ process.env.NODE_ENV !== "production" ? FormControlLabel.propTypes
|
|
|
205
205
|
/**
|
|
206
206
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
207
207
|
*/
|
|
208
|
-
sx: PropTypes.object,
|
|
208
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
209
209
|
|
|
210
210
|
/**
|
|
211
211
|
* The value of the component.
|
|
@@ -95,6 +95,6 @@ process.env.NODE_ENV !== "production" ? FormGroup.propTypes
|
|
|
95
95
|
/**
|
|
96
96
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
97
97
|
*/
|
|
98
|
-
sx: PropTypes.object
|
|
98
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
99
99
|
} : void 0;
|
|
100
100
|
export default FormGroup;
|
|
@@ -181,7 +181,7 @@ process.env.NODE_ENV !== "production" ? FormHelperText.propTypes
|
|
|
181
181
|
/**
|
|
182
182
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
183
183
|
*/
|
|
184
|
-
sx: PropTypes.object,
|
|
184
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
185
185
|
|
|
186
186
|
/**
|
|
187
187
|
* The variant to use.
|
|
@@ -180,6 +180,6 @@ process.env.NODE_ENV !== "production" ? FormLabel.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
|
} : void 0;
|
|
185
185
|
export default FormLabel;
|
package/legacy/Grid/Grid.js
CHANGED
|
@@ -244,8 +244,7 @@ var Grid = /*#__PURE__*/React.forwardRef(function Grid(inProps, ref) {
|
|
|
244
244
|
var props = extendSxProp(themeProps);
|
|
245
245
|
|
|
246
246
|
var className = props.className,
|
|
247
|
-
|
|
248
|
-
columnsProp = _props$columns === void 0 ? 12 : _props$columns,
|
|
247
|
+
columnsProp = props.columns,
|
|
249
248
|
columnSpacingProp = props.columnSpacing,
|
|
250
249
|
_props$component = props.component,
|
|
251
250
|
component = _props$component === void 0 ? 'div' : _props$component,
|
|
@@ -276,7 +275,10 @@ var Grid = /*#__PURE__*/React.forwardRef(function Grid(inProps, ref) {
|
|
|
276
275
|
|
|
277
276
|
var rowSpacing = rowSpacingProp || spacing;
|
|
278
277
|
var columnSpacing = columnSpacingProp || spacing;
|
|
279
|
-
var
|
|
278
|
+
var columnsContext = React.useContext(GridContext); // setting prop before context to accomodate nesting
|
|
279
|
+
// colums set with default breakpoint unit of 12
|
|
280
|
+
|
|
281
|
+
var columns = columnsProp || columnsContext || 12;
|
|
280
282
|
|
|
281
283
|
var ownerState = _extends({}, props, {
|
|
282
284
|
columns: columns,
|
|
@@ -409,7 +411,7 @@ process.env.NODE_ENV !== "production" ? Grid.propTypes
|
|
|
409
411
|
/**
|
|
410
412
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
411
413
|
*/
|
|
412
|
-
sx: PropTypes.object,
|
|
414
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
413
415
|
|
|
414
416
|
/**
|
|
415
417
|
* Defines the `flex-wrap` style property.
|
package/legacy/Icon/Icon.js
CHANGED
|
@@ -152,7 +152,7 @@ process.env.NODE_ENV !== "production" ? Icon.propTypes
|
|
|
152
152
|
/**
|
|
153
153
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
154
154
|
*/
|
|
155
|
-
sx: PropTypes.object
|
|
155
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
156
156
|
} : void 0;
|
|
157
157
|
Icon.muiName = 'Icon';
|
|
158
158
|
export default Icon;
|
|
@@ -213,6 +213,6 @@ process.env.NODE_ENV !== "production" ? IconButton.propTypes
|
|
|
213
213
|
/**
|
|
214
214
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
215
215
|
*/
|
|
216
|
-
sx: PropTypes.object
|
|
216
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
217
217
|
} : void 0;
|
|
218
218
|
export default IconButton;
|
|
@@ -162,7 +162,7 @@ process.env.NODE_ENV !== "production" ? ImageList.propTypes
|
|
|
162
162
|
/**
|
|
163
163
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
164
164
|
*/
|
|
165
|
-
sx: PropTypes.object,
|
|
165
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
168
|
* The variant to use.
|
|
@@ -179,6 +179,6 @@ process.env.NODE_ENV !== "production" ? ImageListItem.propTypes
|
|
|
179
179
|
/**
|
|
180
180
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
181
181
|
*/
|
|
182
|
-
sx: PropTypes.object
|
|
182
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
183
183
|
} : void 0;
|
|
184
184
|
export default ImageListItem;
|
|
@@ -216,7 +216,7 @@ process.env.NODE_ENV !== "production" ? ImageListItemBar.propTypes
|
|
|
216
216
|
/**
|
|
217
217
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
218
218
|
*/
|
|
219
|
-
sx: PropTypes.object,
|
|
219
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
220
220
|
|
|
221
221
|
/**
|
|
222
222
|
* Title to be displayed.
|
package/legacy/Input/Input.js
CHANGED
|
@@ -314,7 +314,7 @@ process.env.NODE_ENV !== "production" ? Input.propTypes
|
|
|
314
314
|
/**
|
|
315
315
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
316
316
|
*/
|
|
317
|
-
sx: PropTypes.object,
|
|
317
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
318
318
|
|
|
319
319
|
/**
|
|
320
320
|
* Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
|
|
@@ -181,7 +181,7 @@ process.env.NODE_ENV !== "production" ? InputAdornment.propTypes
|
|
|
181
181
|
/**
|
|
182
182
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
183
183
|
*/
|
|
184
|
-
sx: PropTypes.object,
|
|
184
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
185
185
|
|
|
186
186
|
/**
|
|
187
187
|
* 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 @@ var InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref) {
|
|
|
249
247
|
valueProp = props.value,
|
|
250
248
|
other = _objectWithoutProperties(props, ["aria-describedby", "autoComplete", "autoFocus", "className", "color", "components", "componentsProps", "defaultValue", "disabled", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "size", "startAdornment", "type", "value"]);
|
|
251
249
|
|
|
252
|
-
var theme = useTheme();
|
|
253
250
|
var value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;
|
|
254
251
|
|
|
255
252
|
var _React$useRef = React.useRef(value != null),
|
|
@@ -464,8 +461,7 @@ var InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref) {
|
|
|
464
461
|
inputProps = _extends({}, inputProps, componentsProps.input);
|
|
465
462
|
return /*#__PURE__*/_jsxs(React.Fragment, {
|
|
466
463
|
children: [inputGlobalStyles, /*#__PURE__*/_jsxs(Root, _extends({}, rootProps, !isHostComponent(Root) && {
|
|
467
|
-
ownerState: _extends({}, ownerState, rootProps.ownerState)
|
|
468
|
-
theme: theme
|
|
464
|
+
ownerState: _extends({}, ownerState, rootProps.ownerState)
|
|
469
465
|
}, {
|
|
470
466
|
ref: ref,
|
|
471
467
|
onClick: handleClick
|
|
@@ -494,8 +490,7 @@ var InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref) {
|
|
|
494
490
|
type: type
|
|
495
491
|
}, inputProps, !isHostComponent(Input) && {
|
|
496
492
|
as: InputComponent,
|
|
497
|
-
ownerState: _extends({}, ownerState, inputProps.ownerState)
|
|
498
|
-
theme: theme
|
|
493
|
+
ownerState: _extends({}, ownerState, inputProps.ownerState)
|
|
499
494
|
}, {
|
|
500
495
|
ref: handleInputRef,
|
|
501
496
|
className: clsx(classes.input, inputProps.className, inputPropsProp.className),
|
|
@@ -724,7 +719,7 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes
|
|
|
724
719
|
/**
|
|
725
720
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
726
721
|
*/
|
|
727
|
-
sx: PropTypes.object,
|
|
722
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
728
723
|
|
|
729
724
|
/**
|
|
730
725
|
* Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
|
|
@@ -204,7 +204,7 @@ process.env.NODE_ENV !== "production" ? InputLabel.propTypes
|
|
|
204
204
|
/**
|
|
205
205
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
206
206
|
*/
|
|
207
|
-
sx: PropTypes.object,
|
|
207
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
208
208
|
|
|
209
209
|
/**
|
|
210
210
|
* The variant to use.
|
|
@@ -282,7 +282,7 @@ process.env.NODE_ENV !== "production" ? LinearProgress.propTypes
|
|
|
282
282
|
/**
|
|
283
283
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
284
284
|
*/
|
|
285
|
-
sx: PropTypes.object,
|
|
285
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
286
286
|
|
|
287
287
|
/**
|
|
288
288
|
* The value of the progress indicator for the determinate and buffer variants.
|
package/legacy/Link/Link.js
CHANGED
|
@@ -217,7 +217,7 @@ process.env.NODE_ENV !== "production" ? Link.propTypes
|
|
|
217
217
|
/**
|
|
218
218
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
219
219
|
*/
|
|
220
|
-
sx: PropTypes.object,
|
|
220
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
221
221
|
|
|
222
222
|
/**
|
|
223
223
|
* `classes` prop applied to the [`Typography`](/api/typography/) element.
|
package/legacy/List/List.js
CHANGED
|
@@ -136,6 +136,6 @@ process.env.NODE_ENV !== "production" ? List.propTypes
|
|
|
136
136
|
/**
|
|
137
137
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
138
138
|
*/
|
|
139
|
-
sx: PropTypes.object
|
|
139
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
140
140
|
} : void 0;
|
|
141
141
|
export default List;
|
|
@@ -416,6 +416,6 @@ process.env.NODE_ENV !== "production" ? ListItem.propTypes
|
|
|
416
416
|
/**
|
|
417
417
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
418
418
|
*/
|
|
419
|
-
sx: PropTypes.object
|
|
419
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
420
420
|
} : void 0;
|
|
421
421
|
export default ListItem;
|
|
@@ -87,6 +87,6 @@ process.env.NODE_ENV !== "production" ? ListItemAvatar.propTypes
|
|
|
87
87
|
/**
|
|
88
88
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
89
89
|
*/
|
|
90
|
-
sx: PropTypes.object
|
|
90
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
91
91
|
} : void 0;
|
|
92
92
|
export default ListItemAvatar;
|
|
@@ -241,6 +241,6 @@ process.env.NODE_ENV !== "production" ? ListItemButton.propTypes
|
|
|
241
241
|
/**
|
|
242
242
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
243
243
|
*/
|
|
244
|
-
sx: PropTypes.object
|
|
244
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
245
245
|
} : void 0;
|
|
246
246
|
export default ListItemButton;
|
|
@@ -91,6 +91,6 @@ process.env.NODE_ENV !== "production" ? ListItemIcon.propTypes
|
|
|
91
91
|
/**
|
|
92
92
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
93
93
|
*/
|
|
94
|
-
sx: PropTypes.object
|
|
94
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
95
95
|
} : void 0;
|
|
96
96
|
export default ListItemIcon;
|
|
@@ -89,7 +89,7 @@ process.env.NODE_ENV !== "production" ? ListItemSecondaryAction.propTypes
|
|
|
89
89
|
/**
|
|
90
90
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
91
91
|
*/
|
|
92
|
-
sx: PropTypes.object
|
|
92
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
93
93
|
} : void 0;
|
|
94
94
|
ListItemSecondaryAction.muiName = 'ListItemSecondaryAction';
|
|
95
95
|
export default ListItemSecondaryAction;
|
|
@@ -176,6 +176,6 @@ process.env.NODE_ENV !== "production" ? ListItemText.propTypes
|
|
|
176
176
|
/**
|
|
177
177
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
178
178
|
*/
|
|
179
|
-
sx: PropTypes.object
|
|
179
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
180
180
|
} : void 0;
|
|
181
181
|
export default ListItemText;
|
|
@@ -147,6 +147,6 @@ process.env.NODE_ENV !== "production" ? ListSubheader.propTypes
|
|
|
147
147
|
/**
|
|
148
148
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
149
149
|
*/
|
|
150
|
-
sx: PropTypes.object
|
|
150
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
151
151
|
} : void 0;
|
|
152
152
|
export default ListSubheader;
|
package/legacy/Menu/Menu.js
CHANGED
|
@@ -274,7 +274,7 @@ process.env.NODE_ENV !== "production" ? Menu.propTypes
|
|
|
274
274
|
/**
|
|
275
275
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
276
276
|
*/
|
|
277
|
-
sx: PropTypes.object,
|
|
277
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
278
278
|
|
|
279
279
|
/**
|
|
280
280
|
* The length of the transition in `ms`, or 'auto'
|
|
@@ -103,7 +103,10 @@ var MenuItemRoot = styled(ButtonBase, {
|
|
|
103
103
|
}), _extends2), !ownerState.dense && _defineProperty({}, theme.breakpoints.up('sm'), {
|
|
104
104
|
minHeight: 'auto'
|
|
105
105
|
}), ownerState.dense && _extends({
|
|
106
|
-
minHeight:
|
|
106
|
+
minHeight: 32,
|
|
107
|
+
// https://material.io/components/menus#specs > Dense
|
|
108
|
+
paddingTop: 4,
|
|
109
|
+
paddingBottom: 4
|
|
107
110
|
}, theme.typography.body2, _defineProperty({}, "& .".concat(listItemIconClasses.root, " svg"), {
|
|
108
111
|
fontSize: '1.25rem'
|
|
109
112
|
})));
|
|
@@ -254,7 +257,7 @@ process.env.NODE_ENV !== "production" ? MenuItem.propTypes
|
|
|
254
257
|
/**
|
|
255
258
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
256
259
|
*/
|
|
257
|
-
sx: PropTypes.object,
|
|
260
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
258
261
|
|
|
259
262
|
/**
|
|
260
263
|
* @default 0
|
|
@@ -218,7 +218,7 @@ process.env.NODE_ENV !== "production" ? MobileStepper.propTypes
|
|
|
218
218
|
/**
|
|
219
219
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
220
220
|
*/
|
|
221
|
-
sx: PropTypes.object,
|
|
221
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
222
222
|
|
|
223
223
|
/**
|
|
224
224
|
* The variant to use.
|
package/legacy/Modal/Modal.js
CHANGED
|
@@ -288,6 +288,6 @@ process.env.NODE_ENV !== "production" ? Modal.propTypes
|
|
|
288
288
|
/**
|
|
289
289
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
290
290
|
*/
|
|
291
|
-
sx: PropTypes.object
|
|
291
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
292
292
|
} : void 0;
|
|
293
293
|
export default Modal;
|
|
@@ -130,7 +130,7 @@ process.env.NODE_ENV !== "production" ? NativeSelect.propTypes
|
|
|
130
130
|
/**
|
|
131
131
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
132
132
|
*/
|
|
133
|
-
sx: PropTypes.object,
|
|
133
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
134
134
|
|
|
135
135
|
/**
|
|
136
136
|
* The `input` value. The DOM API casts this to a string.
|
|
@@ -312,7 +312,7 @@ process.env.NODE_ENV !== "production" ? OutlinedInput.propTypes
|
|
|
312
312
|
/**
|
|
313
313
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
314
314
|
*/
|
|
315
|
-
sx: PropTypes.object,
|
|
315
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
316
316
|
|
|
317
317
|
/**
|
|
318
318
|
* Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
|
|
@@ -274,7 +274,7 @@ process.env.NODE_ENV !== "production" ? Pagination.propTypes
|
|
|
274
274
|
/**
|
|
275
275
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
276
276
|
*/
|
|
277
|
-
sx: PropTypes.object,
|
|
277
|
+
sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
278
278
|
|
|
279
279
|
/**
|
|
280
280
|
* The variant to use.
|