@mui/material 5.0.3 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accordion/Accordion.js +1 -1
- package/AccordionActions/AccordionActions.js +1 -1
- package/AccordionDetails/AccordionDetails.js +1 -1
- package/AccordionSummary/AccordionSummary.js +1 -1
- package/Alert/Alert.js +1 -1
- package/AlertTitle/AlertTitle.js +1 -1
- package/AppBar/AppBar.js +1 -1
- package/Autocomplete/Autocomplete.d.ts +1 -1
- package/Autocomplete/Autocomplete.js +18 -11
- package/Avatar/Avatar.js +1 -1
- package/AvatarGroup/AvatarGroup.js +3 -3
- package/Backdrop/Backdrop.js +1 -1
- package/Badge/Badge.js +1 -1
- package/BottomNavigation/BottomNavigation.js +1 -1
- package/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/Box/Box.d.ts +18 -2
- package/Box/Box.js +4 -1
- package/Breadcrumbs/Breadcrumbs.js +1 -1
- package/Button/Button.js +40 -9
- package/ButtonBase/ButtonBase.js +1 -1
- package/ButtonGroup/ButtonGroup.js +23 -27
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -0
- package/ButtonGroup/ButtonGroupContext.js +12 -0
- package/CHANGELOG.md +274 -0
- package/Card/Card.js +1 -1
- package/CardActionArea/CardActionArea.js +1 -1
- package/CardActions/CardActions.js +1 -1
- package/CardContent/CardContent.js +1 -1
- package/CardHeader/CardHeader.js +1 -1
- package/CardMedia/CardMedia.js +2 -2
- package/Checkbox/Checkbox.js +1 -1
- package/Chip/Chip.js +6 -5
- package/CircularProgress/CircularProgress.js +1 -1
- package/ClickAwayListener/index.d.ts +2 -2
- package/ClickAwayListener/index.js +2 -2
- package/Collapse/Collapse.js +1 -1
- package/Container/Container.js +1 -1
- package/CssBaseline/CssBaseline.d.ts +7 -0
- package/CssBaseline/CssBaseline.js +20 -12
- package/Dialog/Dialog.d.ts +1 -1
- package/Dialog/Dialog.js +1 -1
- package/DialogActions/DialogActions.js +1 -1
- package/DialogContent/DialogContent.js +3 -2
- package/DialogContentText/DialogContentText.js +1 -1
- package/DialogTitle/DialogTitle.js +1 -1
- package/Divider/Divider.js +1 -1
- package/Drawer/Drawer.js +1 -1
- package/Fab/Fab.js +1 -1
- package/Fade/Fade.d.ts +1 -1
- package/Fade/Fade.js +1 -1
- package/FilledInput/FilledInput.js +1 -1
- package/FormControl/FormControl.js +1 -1
- package/FormControlLabel/FormControlLabel.d.ts +2 -2
- package/FormControlLabel/FormControlLabel.js +3 -3
- package/FormGroup/FormGroup.js +1 -1
- package/FormHelperText/FormHelperText.js +1 -1
- package/FormLabel/FormLabel.js +1 -1
- package/Grid/Grid.d.ts +31 -11
- package/Grid/Grid.js +61 -26
- package/Grow/Grow.d.ts +1 -1
- package/Grow/Grow.js +1 -1
- package/Icon/Icon.js +1 -1
- package/IconButton/IconButton.js +1 -1
- package/ImageList/ImageList.js +1 -1
- package/ImageListItem/ImageListItem.js +1 -1
- package/ImageListItemBar/ImageListItemBar.js +1 -1
- package/Input/Input.js +1 -1
- package/InputAdornment/InputAdornment.js +1 -1
- package/InputBase/InputBase.js +6 -12
- package/InputLabel/InputLabel.js +1 -1
- package/LinearProgress/LinearProgress.js +1 -1
- package/Link/Link.js +1 -1
- package/List/List.js +1 -1
- package/ListItem/ListItem.d.ts +1 -1
- package/ListItem/ListItem.js +1 -1
- package/ListItemAvatar/ListItemAvatar.js +1 -1
- package/ListItemButton/ListItemButton.d.ts +1 -1
- package/ListItemButton/ListItemButton.js +1 -1
- package/ListItemIcon/ListItemIcon.js +1 -1
- package/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/ListItemText/ListItemText.js +1 -1
- package/ListSubheader/ListSubheader.js +1 -1
- package/Menu/Menu.js +1 -1
- package/MenuItem/MenuItem.js +5 -2
- package/MobileStepper/MobileStepper.js +1 -1
- package/Modal/Modal.js +1 -1
- package/NativeSelect/NativeSelect.js +1 -1
- package/OutlinedInput/NotchedOutline.js +6 -1
- package/OutlinedInput/OutlinedInput.js +1 -1
- package/Pagination/Pagination.js +1 -1
- package/PaginationItem/PaginationItem.d.ts +15 -0
- package/PaginationItem/PaginationItem.js +35 -14
- package/Paper/Paper.js +1 -1
- package/Popover/Popover.d.ts +1 -1
- package/Popover/Popover.js +1 -1
- package/Popper/index.d.ts +2 -2
- package/Popper/index.js +1 -1
- package/Radio/Radio.js +1 -1
- package/RadioGroup/RadioGroupContext.d.ts +11 -0
- package/RadioGroup/RadioGroupContext.js +2 -2
- package/RadioGroup/useRadioGroup.d.ts +4 -5
- package/Rating/Rating.js +1 -2
- package/ScopedCssBaseline/ScopedCssBaseline.d.ts +6 -0
- package/ScopedCssBaseline/ScopedCssBaseline.js +21 -11
- package/Select/Select.js +1 -1
- package/Skeleton/Skeleton.js +1 -1
- package/Slide/Slide.d.ts +1 -1
- package/Slide/Slide.js +1 -1
- package/Slider/Slider.js +1 -1
- package/Snackbar/Snackbar.d.ts +2 -2
- package/Snackbar/Snackbar.js +2 -2
- package/SnackbarContent/SnackbarContent.js +1 -1
- package/SpeedDial/SpeedDial.js +1 -1
- package/SpeedDialAction/SpeedDialAction.js +1 -1
- package/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/Stack/Stack.js +5 -2
- package/Step/Step.js +1 -1
- package/StepButton/StepButton.js +1 -1
- package/StepConnector/StepConnector.js +1 -1
- package/StepContent/StepContent.js +1 -1
- package/StepIcon/StepIcon.js +1 -1
- package/StepLabel/StepLabel.js +1 -1
- package/Stepper/Stepper.js +1 -1
- package/SvgIcon/SvgIcon.js +1 -1
- package/Switch/Switch.js +1 -1
- package/Tab/Tab.d.ts +6 -0
- package/Tab/Tab.js +34 -10
- package/Tab/tabClasses.d.ts +2 -0
- package/Tab/tabClasses.js +1 -1
- package/TabScrollButton/TabScrollButton.js +1 -1
- package/Table/Table.js +1 -1
- package/TableBody/TableBody.js +1 -1
- package/TableCell/TableCell.js +1 -1
- package/TableContainer/TableContainer.js +1 -1
- package/TableFooter/TableFooter.js +1 -1
- package/TableHead/TableHead.js +1 -1
- package/TablePagination/TablePagination.js +1 -1
- package/TableRow/TableRow.js +1 -1
- package/TableSortLabel/TableSortLabel.js +1 -1
- package/Tabs/Tabs.js +1 -1
- package/TextField/TextField.js +1 -1
- package/TextareaAutosize/index.d.ts +2 -2
- package/TextareaAutosize/index.js +1 -1
- package/ToggleButton/ToggleButton.js +1 -1
- package/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/Toolbar/Toolbar.js +1 -1
- package/Tooltip/Tooltip.d.ts +5 -3
- package/Tooltip/Tooltip.js +7 -5
- package/Typography/Typography.js +1 -1
- package/Zoom/Zoom.d.ts +1 -1
- package/Zoom/Zoom.js +1 -1
- package/index.d.ts +3 -0
- package/index.js +1 -1
- package/legacy/Accordion/Accordion.js +1 -1
- package/legacy/AccordionActions/AccordionActions.js +1 -1
- package/legacy/AccordionDetails/AccordionDetails.js +1 -1
- package/legacy/AccordionSummary/AccordionSummary.js +1 -1
- package/legacy/Alert/Alert.js +1 -1
- package/legacy/AlertTitle/AlertTitle.js +1 -1
- package/legacy/AppBar/AppBar.js +1 -1
- package/legacy/Autocomplete/Autocomplete.js +35 -32
- package/legacy/Avatar/Avatar.js +1 -1
- package/legacy/AvatarGroup/AvatarGroup.js +3 -3
- package/legacy/Backdrop/Backdrop.js +1 -1
- package/legacy/Badge/Badge.js +1 -1
- package/legacy/BottomNavigation/BottomNavigation.js +1 -1
- package/legacy/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/legacy/Box/Box.js +4 -1
- package/legacy/Breadcrumbs/Breadcrumbs.js +1 -1
- package/legacy/Button/Button.js +40 -16
- package/legacy/ButtonBase/ButtonBase.js +1 -1
- package/legacy/ButtonGroup/ButtonGroup.js +25 -27
- package/legacy/ButtonGroup/ButtonGroupContext.js +12 -0
- package/legacy/Card/Card.js +1 -1
- package/legacy/CardActionArea/CardActionArea.js +1 -1
- package/legacy/CardActions/CardActions.js +1 -1
- package/legacy/CardContent/CardContent.js +1 -1
- package/legacy/CardHeader/CardHeader.js +1 -1
- package/legacy/CardMedia/CardMedia.js +2 -2
- package/legacy/Checkbox/Checkbox.js +1 -1
- package/legacy/Chip/Chip.js +6 -5
- package/legacy/CircularProgress/CircularProgress.js +1 -1
- package/legacy/ClickAwayListener/index.js +2 -2
- package/legacy/Collapse/Collapse.js +1 -1
- package/legacy/Container/Container.js +1 -1
- package/legacy/CssBaseline/CssBaseline.js +38 -20
- package/legacy/Dialog/Dialog.js +1 -1
- package/legacy/DialogActions/DialogActions.js +1 -1
- package/legacy/DialogContent/DialogContent.js +6 -6
- package/legacy/DialogContentText/DialogContentText.js +1 -1
- package/legacy/DialogTitle/DialogTitle.js +1 -1
- package/legacy/Divider/Divider.js +1 -1
- package/legacy/Drawer/Drawer.js +1 -1
- package/legacy/Fab/Fab.js +1 -1
- package/legacy/Fade/Fade.js +1 -1
- package/legacy/FilledInput/FilledInput.js +1 -1
- package/legacy/FormControl/FormControl.js +1 -1
- package/legacy/FormControlLabel/FormControlLabel.js +3 -3
- package/legacy/FormGroup/FormGroup.js +1 -1
- package/legacy/FormHelperText/FormHelperText.js +1 -1
- package/legacy/FormLabel/FormLabel.js +1 -1
- package/legacy/Grid/Grid.js +62 -27
- package/legacy/Grow/Grow.js +1 -1
- package/legacy/Icon/Icon.js +1 -1
- package/legacy/IconButton/IconButton.js +1 -1
- package/legacy/ImageList/ImageList.js +1 -1
- package/legacy/ImageListItem/ImageListItem.js +1 -1
- package/legacy/ImageListItemBar/ImageListItemBar.js +1 -1
- package/legacy/Input/Input.js +1 -1
- package/legacy/InputAdornment/InputAdornment.js +1 -1
- package/legacy/InputBase/InputBase.js +6 -12
- package/legacy/InputLabel/InputLabel.js +1 -1
- package/legacy/LinearProgress/LinearProgress.js +1 -1
- package/legacy/Link/Link.js +1 -1
- package/legacy/List/List.js +1 -1
- package/legacy/ListItem/ListItem.js +1 -1
- package/legacy/ListItemAvatar/ListItemAvatar.js +1 -1
- package/legacy/ListItemButton/ListItemButton.js +1 -1
- package/legacy/ListItemIcon/ListItemIcon.js +1 -1
- package/legacy/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/legacy/ListItemText/ListItemText.js +1 -1
- package/legacy/ListSubheader/ListSubheader.js +1 -1
- package/legacy/Menu/Menu.js +1 -1
- package/legacy/MenuItem/MenuItem.js +5 -2
- package/legacy/MobileStepper/MobileStepper.js +1 -1
- package/legacy/Modal/Modal.js +1 -1
- package/legacy/NativeSelect/NativeSelect.js +1 -1
- package/legacy/OutlinedInput/NotchedOutline.js +6 -1
- package/legacy/OutlinedInput/OutlinedInput.js +1 -1
- package/legacy/Pagination/Pagination.js +1 -1
- package/legacy/PaginationItem/PaginationItem.js +36 -14
- package/legacy/Paper/Paper.js +1 -1
- package/legacy/Popover/Popover.js +1 -1
- package/legacy/Popper/index.js +1 -1
- package/legacy/Radio/Radio.js +1 -1
- package/legacy/RadioGroup/RadioGroupContext.js +2 -2
- package/legacy/Rating/Rating.js +1 -2
- package/legacy/ScopedCssBaseline/ScopedCssBaseline.js +13 -4
- package/legacy/Select/Select.js +1 -1
- package/legacy/Skeleton/Skeleton.js +1 -1
- package/legacy/Slide/Slide.js +1 -1
- package/legacy/Slider/Slider.js +1 -1
- package/legacy/Snackbar/Snackbar.js +2 -2
- package/legacy/SnackbarContent/SnackbarContent.js +1 -1
- package/legacy/SpeedDial/SpeedDial.js +1 -1
- package/legacy/SpeedDialAction/SpeedDialAction.js +1 -1
- package/legacy/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/legacy/Stack/Stack.js +5 -2
- package/legacy/Step/Step.js +1 -1
- package/legacy/StepButton/StepButton.js +1 -1
- package/legacy/StepConnector/StepConnector.js +1 -1
- package/legacy/StepContent/StepContent.js +1 -1
- package/legacy/StepIcon/StepIcon.js +1 -1
- package/legacy/StepLabel/StepLabel.js +1 -1
- package/legacy/Stepper/Stepper.js +1 -1
- package/legacy/SvgIcon/SvgIcon.js +1 -1
- package/legacy/Switch/Switch.js +1 -1
- package/legacy/Tab/Tab.js +35 -10
- package/legacy/Tab/tabClasses.js +1 -1
- package/legacy/TabScrollButton/TabScrollButton.js +1 -1
- package/legacy/Table/Table.js +1 -1
- package/legacy/TableBody/TableBody.js +1 -1
- package/legacy/TableCell/TableCell.js +1 -1
- package/legacy/TableContainer/TableContainer.js +1 -1
- package/legacy/TableFooter/TableFooter.js +1 -1
- package/legacy/TableHead/TableHead.js +1 -1
- package/legacy/TablePagination/TablePagination.js +1 -1
- package/legacy/TableRow/TableRow.js +1 -1
- package/legacy/TableSortLabel/TableSortLabel.js +1 -1
- package/legacy/Tabs/Tabs.js +1 -1
- package/legacy/TextField/TextField.js +1 -1
- package/legacy/TextareaAutosize/index.js +1 -1
- package/legacy/ToggleButton/ToggleButton.js +1 -1
- package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/legacy/Toolbar/Toolbar.js +1 -1
- package/legacy/Tooltip/Tooltip.js +7 -5
- package/legacy/Typography/Typography.js +1 -1
- package/legacy/Zoom/Zoom.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/styles/createPalette.js +1 -1
- package/legacy/styles/index.js +1 -1
- package/legacy/utils/index.js +2 -1
- package/modern/Accordion/Accordion.js +1 -1
- package/modern/AccordionActions/AccordionActions.js +1 -1
- package/modern/AccordionDetails/AccordionDetails.js +1 -1
- package/modern/AccordionSummary/AccordionSummary.js +1 -1
- package/modern/Alert/Alert.js +1 -1
- package/modern/AlertTitle/AlertTitle.js +1 -1
- package/modern/AppBar/AppBar.js +1 -1
- package/modern/Autocomplete/Autocomplete.js +18 -11
- package/modern/Avatar/Avatar.js +1 -1
- package/modern/AvatarGroup/AvatarGroup.js +3 -3
- package/modern/Backdrop/Backdrop.js +1 -1
- package/modern/Badge/Badge.js +1 -1
- package/modern/BottomNavigation/BottomNavigation.js +1 -1
- package/modern/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/modern/Box/Box.js +4 -1
- package/modern/Breadcrumbs/Breadcrumbs.js +1 -1
- package/modern/Button/Button.js +40 -9
- package/modern/ButtonBase/ButtonBase.js +1 -1
- package/modern/ButtonGroup/ButtonGroup.js +23 -27
- package/modern/ButtonGroup/ButtonGroupContext.js +12 -0
- package/modern/Card/Card.js +1 -1
- package/modern/CardActionArea/CardActionArea.js +1 -1
- package/modern/CardActions/CardActions.js +1 -1
- package/modern/CardContent/CardContent.js +1 -1
- package/modern/CardHeader/CardHeader.js +1 -1
- package/modern/CardMedia/CardMedia.js +2 -2
- package/modern/Checkbox/Checkbox.js +1 -1
- package/modern/Chip/Chip.js +6 -5
- package/modern/CircularProgress/CircularProgress.js +1 -1
- package/modern/ClickAwayListener/index.js +2 -2
- package/modern/Collapse/Collapse.js +1 -1
- package/modern/Container/Container.js +1 -1
- package/modern/CssBaseline/CssBaseline.js +20 -12
- package/modern/Dialog/Dialog.js +1 -1
- package/modern/DialogActions/DialogActions.js +1 -1
- package/modern/DialogContent/DialogContent.js +3 -2
- package/modern/DialogContentText/DialogContentText.js +1 -1
- package/modern/DialogTitle/DialogTitle.js +1 -1
- package/modern/Divider/Divider.js +1 -1
- package/modern/Drawer/Drawer.js +1 -1
- package/modern/Fab/Fab.js +1 -1
- package/modern/Fade/Fade.js +1 -1
- package/modern/FilledInput/FilledInput.js +1 -1
- package/modern/FormControl/FormControl.js +1 -1
- package/modern/FormControlLabel/FormControlLabel.js +3 -3
- package/modern/FormGroup/FormGroup.js +1 -1
- package/modern/FormHelperText/FormHelperText.js +1 -1
- package/modern/FormLabel/FormLabel.js +1 -1
- package/modern/Grid/Grid.js +61 -26
- package/modern/Grow/Grow.js +1 -1
- package/modern/Icon/Icon.js +1 -1
- package/modern/IconButton/IconButton.js +1 -1
- package/modern/ImageList/ImageList.js +1 -1
- package/modern/ImageListItem/ImageListItem.js +1 -1
- package/modern/ImageListItemBar/ImageListItemBar.js +1 -1
- package/modern/Input/Input.js +1 -1
- package/modern/InputAdornment/InputAdornment.js +1 -1
- package/modern/InputBase/InputBase.js +6 -12
- package/modern/InputLabel/InputLabel.js +1 -1
- package/modern/LinearProgress/LinearProgress.js +1 -1
- package/modern/Link/Link.js +1 -1
- package/modern/List/List.js +1 -1
- package/modern/ListItem/ListItem.js +1 -1
- package/modern/ListItemAvatar/ListItemAvatar.js +1 -1
- package/modern/ListItemButton/ListItemButton.js +1 -1
- package/modern/ListItemIcon/ListItemIcon.js +1 -1
- package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/modern/ListItemText/ListItemText.js +1 -1
- package/modern/ListSubheader/ListSubheader.js +1 -1
- package/modern/Menu/Menu.js +1 -1
- package/modern/MenuItem/MenuItem.js +5 -2
- package/modern/MobileStepper/MobileStepper.js +1 -1
- package/modern/Modal/Modal.js +1 -1
- package/modern/NativeSelect/NativeSelect.js +1 -1
- package/modern/OutlinedInput/NotchedOutline.js +6 -1
- package/modern/OutlinedInput/OutlinedInput.js +1 -1
- package/modern/Pagination/Pagination.js +1 -1
- package/modern/PaginationItem/PaginationItem.js +35 -14
- package/modern/Paper/Paper.js +1 -1
- package/modern/Popover/Popover.js +1 -1
- package/modern/Popper/index.js +1 -1
- package/modern/Radio/Radio.js +1 -1
- package/modern/RadioGroup/RadioGroupContext.js +2 -2
- package/modern/Rating/Rating.js +1 -2
- package/modern/ScopedCssBaseline/ScopedCssBaseline.js +21 -11
- package/modern/Select/Select.js +1 -1
- package/modern/Skeleton/Skeleton.js +1 -1
- package/modern/Slide/Slide.js +1 -1
- package/modern/Slider/Slider.js +1 -1
- package/modern/Snackbar/Snackbar.js +2 -2
- package/modern/SnackbarContent/SnackbarContent.js +1 -1
- package/modern/SpeedDial/SpeedDial.js +1 -1
- package/modern/SpeedDialAction/SpeedDialAction.js +1 -1
- package/modern/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/modern/Stack/Stack.js +5 -2
- package/modern/Step/Step.js +1 -1
- package/modern/StepButton/StepButton.js +1 -1
- package/modern/StepConnector/StepConnector.js +1 -1
- package/modern/StepContent/StepContent.js +1 -1
- package/modern/StepIcon/StepIcon.js +1 -1
- package/modern/StepLabel/StepLabel.js +1 -1
- package/modern/Stepper/Stepper.js +1 -1
- package/modern/SvgIcon/SvgIcon.js +1 -1
- package/modern/Switch/Switch.js +1 -1
- package/modern/Tab/Tab.js +34 -10
- package/modern/Tab/tabClasses.js +1 -1
- package/modern/TabScrollButton/TabScrollButton.js +1 -1
- package/modern/Table/Table.js +1 -1
- package/modern/TableBody/TableBody.js +1 -1
- package/modern/TableCell/TableCell.js +1 -1
- package/modern/TableContainer/TableContainer.js +1 -1
- package/modern/TableFooter/TableFooter.js +1 -1
- package/modern/TableHead/TableHead.js +1 -1
- package/modern/TablePagination/TablePagination.js +1 -1
- package/modern/TableRow/TableRow.js +1 -1
- package/modern/TableSortLabel/TableSortLabel.js +1 -1
- package/modern/Tabs/Tabs.js +1 -1
- package/modern/TextField/TextField.js +1 -1
- package/modern/TextareaAutosize/index.js +1 -1
- package/modern/ToggleButton/ToggleButton.js +1 -1
- package/modern/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/modern/Toolbar/Toolbar.js +1 -1
- package/modern/Tooltip/Tooltip.js +6 -4
- package/modern/Typography/Typography.js +1 -1
- package/modern/Zoom/Zoom.js +1 -1
- package/modern/index.js +1 -1
- package/modern/styles/createPalette.js +1 -1
- package/modern/styles/index.js +1 -1
- package/modern/utils/index.js +2 -1
- package/node/Accordion/Accordion.js +1 -1
- package/node/Accordion/accordionClasses.js +1 -1
- package/node/Accordion/index.js +4 -4
- package/node/AccordionActions/AccordionActions.js +1 -1
- package/node/AccordionActions/accordionActionsClasses.js +1 -1
- package/node/AccordionActions/index.js +4 -4
- package/node/AccordionDetails/AccordionDetails.js +1 -1
- package/node/AccordionDetails/accordionDetailsClasses.js +1 -1
- package/node/AccordionDetails/index.js +4 -4
- package/node/AccordionSummary/AccordionSummary.js +1 -1
- package/node/AccordionSummary/accordionSummaryClasses.js +1 -1
- package/node/AccordionSummary/index.js +4 -4
- package/node/Alert/Alert.js +1 -1
- package/node/Alert/alertClasses.js +1 -1
- package/node/Alert/index.js +4 -4
- package/node/AlertTitle/AlertTitle.js +1 -1
- package/node/AlertTitle/alertTitleClasses.js +1 -1
- package/node/AlertTitle/index.js +4 -4
- package/node/AppBar/AppBar.js +1 -1
- package/node/AppBar/appBarClasses.js +1 -1
- package/node/AppBar/index.js +4 -4
- package/node/Autocomplete/Autocomplete.js +22 -11
- package/node/Autocomplete/autocompleteClasses.js +1 -1
- package/node/Autocomplete/index.js +4 -4
- package/node/Avatar/Avatar.js +1 -1
- package/node/Avatar/avatarClasses.js +1 -1
- package/node/Avatar/index.js +4 -4
- package/node/AvatarGroup/AvatarGroup.js +3 -3
- package/node/AvatarGroup/avatarGroupClasses.js +1 -1
- package/node/AvatarGroup/index.js +4 -4
- package/node/Backdrop/Backdrop.js +1 -1
- package/node/Badge/Badge.js +1 -1
- package/node/BottomNavigation/BottomNavigation.js +1 -1
- package/node/BottomNavigation/bottomNavigationClasses.js +1 -1
- package/node/BottomNavigation/index.js +4 -4
- package/node/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/node/BottomNavigationAction/bottomNavigationActionClasses.js +1 -1
- package/node/BottomNavigationAction/index.js +4 -4
- package/node/Box/Box.js +5 -1
- package/node/Breadcrumbs/Breadcrumbs.js +1 -1
- package/node/Breadcrumbs/breadcrumbsClasses.js +1 -1
- package/node/Breadcrumbs/index.js +4 -4
- package/node/Button/Button.js +40 -9
- package/node/Button/buttonClasses.js +1 -1
- package/node/Button/index.js +4 -4
- package/node/ButtonBase/ButtonBase.js +1 -1
- package/node/ButtonBase/TouchRipple.js +1 -1
- package/node/ButtonBase/buttonBaseClasses.js +1 -1
- package/node/ButtonBase/index.js +4 -4
- package/node/ButtonBase/touchRippleClasses.js +1 -1
- package/node/ButtonGroup/ButtonGroup.js +24 -28
- package/node/ButtonGroup/ButtonGroupContext.js +24 -0
- package/node/ButtonGroup/buttonGroupClasses.js +1 -1
- package/node/ButtonGroup/index.js +4 -4
- package/node/Card/Card.js +1 -1
- package/node/Card/cardClasses.js +1 -1
- package/node/Card/index.js +4 -4
- package/node/CardActionArea/CardActionArea.js +1 -1
- package/node/CardActionArea/cardActionAreaClasses.js +1 -1
- package/node/CardActionArea/index.js +4 -4
- package/node/CardActions/CardActions.js +1 -1
- package/node/CardActions/cardActionsClasses.js +1 -1
- package/node/CardActions/index.js +4 -4
- package/node/CardContent/CardContent.js +1 -1
- package/node/CardContent/cardContentClasses.js +1 -1
- package/node/CardContent/index.js +4 -4
- package/node/CardHeader/CardHeader.js +1 -1
- package/node/CardHeader/cardHeaderClasses.js +1 -1
- package/node/CardHeader/index.js +4 -4
- package/node/CardMedia/CardMedia.js +2 -2
- package/node/CardMedia/cardMediaClasses.js +1 -1
- package/node/CardMedia/index.js +4 -4
- package/node/Checkbox/Checkbox.js +1 -1
- package/node/Checkbox/checkboxClasses.js +1 -1
- package/node/Checkbox/index.js +4 -4
- package/node/Chip/Chip.js +6 -5
- package/node/Chip/chipClasses.js +1 -1
- package/node/Chip/index.js +4 -4
- package/node/CircularProgress/CircularProgress.js +1 -1
- package/node/CircularProgress/circularProgressClasses.js +1 -1
- package/node/CircularProgress/index.js +4 -4
- package/node/ClickAwayListener/index.js +1 -1
- package/node/Collapse/Collapse.js +1 -1
- package/node/Collapse/collapseClasses.js +1 -1
- package/node/Collapse/index.js +4 -4
- package/node/Container/Container.js +1 -1
- package/node/Container/containerClasses.js +1 -1
- package/node/Container/index.js +4 -4
- package/node/CssBaseline/CssBaseline.js +23 -13
- package/node/Dialog/Dialog.js +1 -1
- package/node/Dialog/dialogClasses.js +1 -1
- package/node/DialogActions/DialogActions.js +1 -1
- package/node/DialogActions/dialogActionsClasses.js +1 -1
- package/node/DialogContent/DialogContent.js +4 -2
- package/node/DialogContent/dialogContentClasses.js +1 -1
- package/node/DialogContentText/DialogContentText.js +1 -1
- package/node/DialogContentText/dialogContentTextClasses.js +1 -1
- package/node/DialogTitle/DialogTitle.js +1 -1
- package/node/DialogTitle/dialogTitleClasses.js +1 -1
- package/node/Divider/Divider.js +1 -1
- package/node/Divider/dividerClasses.js +1 -1
- package/node/Drawer/Drawer.js +3 -3
- package/node/Drawer/drawerClasses.js +1 -1
- package/node/Fab/Fab.js +1 -1
- package/node/Fab/fabClasses.js +1 -1
- package/node/Fade/Fade.js +1 -1
- package/node/FilledInput/FilledInput.js +1 -1
- package/node/FilledInput/filledInputClasses.js +1 -1
- package/node/FormControl/FormControl.js +1 -1
- package/node/FormControl/formControlClasses.js +1 -1
- package/node/FormControl/index.js +4 -4
- package/node/FormControlLabel/FormControlLabel.js +3 -3
- package/node/FormControlLabel/formControlLabelClasses.js +1 -1
- package/node/FormGroup/FormGroup.js +1 -1
- package/node/FormGroup/formGroupClasses.js +1 -1
- package/node/FormHelperText/FormHelperText.js +1 -1
- package/node/FormHelperText/formHelperTextClasses.js +1 -1
- package/node/FormLabel/FormLabel.js +1 -1
- package/node/FormLabel/formLabelClasses.js +1 -1
- package/node/Grid/Grid.js +63 -26
- package/node/Grid/gridClasses.js +1 -1
- package/node/Grow/Grow.js +1 -1
- package/node/Hidden/hiddenCssClasses.js +1 -1
- package/node/Hidden/withWidth.js +1 -1
- package/node/Icon/Icon.js +1 -1
- package/node/Icon/iconClasses.js +1 -1
- package/node/IconButton/IconButton.js +1 -1
- package/node/IconButton/iconButtonClasses.js +1 -1
- package/node/ImageList/ImageList.js +1 -1
- package/node/ImageList/imageListClasses.js +1 -1
- package/node/ImageListItem/ImageListItem.js +1 -1
- package/node/ImageListItem/imageListItemClasses.js +1 -1
- package/node/ImageListItemBar/ImageListItemBar.js +1 -1
- package/node/ImageListItemBar/imageListItemBarClasses.js +1 -1
- package/node/Input/Input.js +1 -1
- package/node/Input/inputClasses.js +1 -1
- package/node/InputAdornment/InputAdornment.js +1 -1
- package/node/InputAdornment/inputAdornmentClasses.js +1 -1
- package/node/InputBase/InputBase.js +7 -15
- package/node/InputBase/inputBaseClasses.js +1 -1
- package/node/InputBase/utils.js +1 -1
- package/node/InputLabel/InputLabel.js +1 -1
- package/node/InputLabel/inputLabelClasses.js +1 -1
- package/node/LinearProgress/LinearProgress.js +1 -1
- package/node/LinearProgress/linearProgressClasses.js +1 -1
- package/node/Link/Link.js +1 -1
- package/node/Link/linkClasses.js +1 -1
- package/node/List/List.js +1 -1
- package/node/List/listClasses.js +1 -1
- package/node/ListItem/ListItem.js +2 -2
- package/node/ListItem/listItemClasses.js +1 -1
- package/node/ListItemAvatar/ListItemAvatar.js +1 -1
- package/node/ListItemAvatar/listItemAvatarClasses.js +1 -1
- package/node/ListItemButton/ListItemButton.js +2 -2
- package/node/ListItemButton/listItemButtonClasses.js +1 -1
- package/node/ListItemIcon/ListItemIcon.js +1 -1
- package/node/ListItemIcon/listItemIconClasses.js +1 -1
- package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/node/ListItemSecondaryAction/listItemSecondaryActionClasses.js +1 -1
- package/node/ListItemText/ListItemText.js +1 -1
- package/node/ListItemText/listItemTextClasses.js +1 -1
- package/node/ListSubheader/ListSubheader.js +1 -1
- package/node/ListSubheader/listSubheaderClasses.js +1 -1
- package/node/Menu/Menu.js +1 -1
- package/node/Menu/menuClasses.js +1 -1
- package/node/MenuItem/MenuItem.js +6 -3
- package/node/MenuItem/menuItemClasses.js +1 -1
- package/node/MobileStepper/MobileStepper.js +1 -1
- package/node/MobileStepper/mobileStepperClasses.js +1 -1
- package/node/Modal/Modal.js +2 -2
- package/node/NativeSelect/NativeSelect.js +1 -1
- package/node/NativeSelect/NativeSelectInput.js +1 -1
- package/node/NativeSelect/nativeSelectClasses.js +1 -1
- package/node/OutlinedInput/NotchedOutline.js +6 -1
- package/node/OutlinedInput/OutlinedInput.js +1 -1
- package/node/OutlinedInput/outlinedInputClasses.js +1 -1
- package/node/Pagination/Pagination.js +1 -1
- package/node/Pagination/paginationClasses.js +1 -1
- package/node/PaginationItem/PaginationItem.js +35 -14
- package/node/PaginationItem/paginationItemClasses.js +1 -1
- package/node/Paper/Paper.js +1 -1
- package/node/Paper/paperClasses.js +1 -1
- package/node/Popover/Popover.js +3 -3
- package/node/Popover/popoverClasses.js +1 -1
- package/node/Popper/index.js +1 -1
- package/node/Radio/Radio.js +1 -1
- package/node/Radio/radioClasses.js +1 -1
- package/node/RadioGroup/RadioGroupContext.js +1 -1
- package/node/Rating/Rating.js +1 -2
- package/node/Rating/ratingClasses.js +1 -1
- package/node/ScopedCssBaseline/ScopedCssBaseline.js +21 -11
- package/node/ScopedCssBaseline/scopedCssBaselineClasses.js +1 -1
- package/node/Select/Select.js +1 -1
- package/node/Select/selectClasses.js +1 -1
- package/node/Skeleton/Skeleton.js +1 -1
- package/node/Skeleton/skeletonClasses.js +1 -1
- package/node/Slide/Slide.js +2 -2
- package/node/Slider/Slider.js +2 -2
- package/node/Snackbar/Snackbar.js +3 -3
- package/node/Snackbar/snackbarClasses.js +1 -1
- package/node/SnackbarContent/SnackbarContent.js +1 -1
- package/node/SnackbarContent/snackbarContentClasses.js +1 -1
- package/node/SpeedDial/SpeedDial.js +1 -1
- package/node/SpeedDial/speedDialClasses.js +1 -1
- package/node/SpeedDialAction/SpeedDialAction.js +1 -1
- package/node/SpeedDialAction/speedDialActionClasses.js +1 -1
- package/node/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/node/SpeedDialIcon/speedDialIconClasses.js +1 -1
- package/node/Stack/Stack.js +6 -3
- package/node/Step/Step.js +1 -1
- package/node/Step/stepClasses.js +1 -1
- package/node/StepButton/StepButton.js +1 -1
- package/node/StepButton/stepButtonClasses.js +1 -1
- package/node/StepConnector/StepConnector.js +1 -1
- package/node/StepConnector/stepConnectorClasses.js +1 -1
- package/node/StepContent/StepContent.js +1 -1
- package/node/StepContent/stepContentClasses.js +1 -1
- package/node/StepIcon/StepIcon.js +1 -1
- package/node/StepIcon/stepIconClasses.js +1 -1
- package/node/StepLabel/StepLabel.js +1 -1
- package/node/StepLabel/stepLabelClasses.js +1 -1
- package/node/Stepper/Stepper.js +1 -1
- package/node/Stepper/stepperClasses.js +1 -1
- package/node/SvgIcon/SvgIcon.js +1 -1
- package/node/SvgIcon/svgIconClasses.js +1 -1
- package/node/SwipeableDrawer/SwipeableDrawer.js +1 -1
- package/node/Switch/Switch.js +1 -1
- package/node/Switch/switchClasses.js +1 -1
- package/node/Tab/Tab.js +34 -10
- package/node/Tab/tabClasses.js +2 -2
- package/node/TabScrollButton/TabScrollButton.js +1 -1
- package/node/TabScrollButton/tabScrollButtonClasses.js +1 -1
- package/node/Table/Table.js +1 -1
- package/node/Table/tableClasses.js +1 -1
- package/node/TableBody/TableBody.js +1 -1
- package/node/TableBody/tableBodyClasses.js +1 -1
- package/node/TableCell/TableCell.js +1 -1
- package/node/TableCell/tableCellClasses.js +1 -1
- package/node/TableContainer/TableContainer.js +1 -1
- package/node/TableContainer/tableContainerClasses.js +1 -1
- package/node/TableFooter/TableFooter.js +1 -1
- package/node/TableFooter/tableFooterClasses.js +1 -1
- package/node/TableHead/TableHead.js +1 -1
- package/node/TableHead/tableHeadClasses.js +1 -1
- package/node/TablePagination/TablePagination.js +1 -1
- package/node/TablePagination/tablePaginationClasses.js +1 -1
- package/node/TableRow/TableRow.js +1 -1
- package/node/TableRow/tableRowClasses.js +1 -1
- package/node/TableSortLabel/TableSortLabel.js +1 -1
- package/node/TableSortLabel/tableSortLabelClasses.js +1 -1
- package/node/Tabs/Tabs.js +1 -1
- package/node/Tabs/tabsClasses.js +1 -1
- package/node/TextField/TextField.js +1 -1
- package/node/TextField/textFieldClasses.js +1 -1
- package/node/TextareaAutosize/index.js +1 -1
- package/node/ToggleButton/ToggleButton.js +1 -1
- package/node/ToggleButton/toggleButtonClasses.js +1 -1
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/node/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
- package/node/Toolbar/Toolbar.js +1 -1
- package/node/Toolbar/toolbarClasses.js +1 -1
- package/node/Tooltip/Tooltip.js +8 -6
- package/node/Tooltip/tooltipClasses.js +1 -1
- package/node/Typography/Typography.js +1 -1
- package/node/Typography/typographyClasses.js +1 -1
- package/node/Zoom/Zoom.js +1 -1
- package/node/colors/index.js +40 -40
- package/node/index.js +32 -32
- package/node/internal/switchBaseClasses.js +1 -1
- package/node/locale/index.js +1 -1
- package/node/styles/createPalette.js +3 -2
- package/node/styles/createTransitions.js +1 -1
- package/node/styles/cssUtils.js +4 -4
- package/node/styles/index.js +66 -54
- package/node/styles/styled.js +1 -1
- package/node/useAutocomplete/index.js +4 -4
- package/node/utils/index.js +9 -1
- package/package.json +9 -9
- package/styles/components.d.ts +0 -3
- package/styles/createPalette.js +1 -1
- package/styles/index.d.ts +4 -0
- package/styles/index.js +1 -1
- package/umd/material-ui.development.js +9065 -8295
- package/umd/material-ui.production.min.js +21 -21
- package/utils/index.d.ts +1 -0
- package/utils/index.js +2 -1
- package/ClickAwayListener/ClickAwayListener.d.ts +0 -47
- package/ClickAwayListener/ClickAwayListener.js +0 -196
- package/Popper/Popper.d.ts +0 -97
- package/Popper/Popper.js +0 -354
- package/TextareaAutosize/TextareaAutosize.d.ts +0 -27
- package/TextareaAutosize/TextareaAutosize.js +0 -224
- package/legacy/ClickAwayListener/ClickAwayListener.js +0 -199
- package/legacy/Popper/Popper.js +0 -359
- package/legacy/TextareaAutosize/TextareaAutosize.js +0 -226
- package/modern/ClickAwayListener/ClickAwayListener.js +0 -196
- package/modern/Popper/Popper.js +0 -354
- package/modern/TextareaAutosize/TextareaAutosize.js +0 -224
- package/node/ClickAwayListener/ClickAwayListener.js +0 -216
- package/node/Popper/Popper.js +0 -378
- package/node/TextareaAutosize/TextareaAutosize.js +0 -245
|
@@ -15,6 +15,10 @@ import ListSubheader from '../ListSubheader';
|
|
|
15
15
|
import Paper from '../Paper';
|
|
16
16
|
import IconButton from '../IconButton';
|
|
17
17
|
import Chip from '../Chip';
|
|
18
|
+
import inputClasses from '../Input/inputClasses';
|
|
19
|
+
import inputBaseClasses from '../InputBase/inputBaseClasses';
|
|
20
|
+
import outlinedInputClasses from '../OutlinedInput/outlinedInputClasses';
|
|
21
|
+
import filledInputClasses from '../FilledInput/filledInputClasses';
|
|
18
22
|
import ClearIcon from '../internal/svg-icons/Close';
|
|
19
23
|
import ArrowDropDownIcon from '../internal/svg-icons/ArrowDropDown';
|
|
20
24
|
import useThemeProps from '../styles/useThemeProps';
|
|
@@ -67,7 +71,7 @@ var AutocompleteRoot = styled('div', {
|
|
|
67
71
|
return [_defineProperty({}, "& .".concat(autocompleteClasses.tag), styles.tag), _defineProperty({}, "& .".concat(autocompleteClasses.tag), styles["tagSize".concat(capitalize(size))]), _defineProperty({}, "& .".concat(autocompleteClasses.inputRoot), styles.inputRoot), _defineProperty({}, "& .".concat(autocompleteClasses.input), styles.input), _defineProperty({}, "& .".concat(autocompleteClasses.input), inputFocused && styles.inputFocused), styles.root, fullWidth && styles.fullWidth, hasPopupIcon && styles.hasPopupIcon, hasClearIcon && styles.hasClearIcon];
|
|
68
72
|
}
|
|
69
73
|
})(function (_ref6) {
|
|
70
|
-
var _extends2, _$concat,
|
|
74
|
+
var _extends2, _$concat, _$concat2, _$concat3, _extends3;
|
|
71
75
|
|
|
72
76
|
var ownerState = _ref6.ownerState;
|
|
73
77
|
return _extends((_extends2 = {}, _defineProperty(_extends2, "&.".concat(autocompleteClasses.focused, " .").concat(autocompleteClasses.clearIndicator), {
|
|
@@ -91,45 +95,44 @@ var AutocompleteRoot = styled('div', {
|
|
|
91
95
|
}), _defineProperty(_$concat, "& .".concat(autocompleteClasses.input), {
|
|
92
96
|
width: 0,
|
|
93
97
|
minWidth: 30
|
|
94
|
-
}), _$concat)), _defineProperty(_extends3,
|
|
98
|
+
}), _$concat)), _defineProperty(_extends3, "& .".concat(inputClasses.root), {
|
|
95
99
|
paddingBottom: 1,
|
|
96
100
|
'& .MuiInput-input': {
|
|
97
101
|
padding: '4px 4px 4px 0px'
|
|
98
102
|
}
|
|
99
|
-
}), _defineProperty(_extends3,
|
|
100
|
-
'
|
|
101
|
-
|
|
102
|
-
}
|
|
103
|
-
}), _defineProperty(_extends3, '& .MuiOutlinedInput-root', (_MuiOutlinedInput = {
|
|
103
|
+
}), _defineProperty(_extends3, "& .".concat(inputClasses.root, ".").concat(inputBaseClasses.sizeSmall), _defineProperty({}, "& .".concat(inputClasses.input), {
|
|
104
|
+
padding: '2px 4px 3px 0'
|
|
105
|
+
})), _defineProperty(_extends3, "& .".concat(outlinedInputClasses.root), (_$concat2 = {
|
|
104
106
|
padding: 9
|
|
105
|
-
}, _defineProperty(
|
|
107
|
+
}, _defineProperty(_$concat2, ".".concat(autocompleteClasses.hasPopupIcon, "&, .").concat(autocompleteClasses.hasClearIcon, "&"), {
|
|
106
108
|
paddingRight: 26 + 4 + 9
|
|
107
|
-
}), _defineProperty(
|
|
109
|
+
}), _defineProperty(_$concat2, ".".concat(autocompleteClasses.hasPopupIcon, ".").concat(autocompleteClasses.hasClearIcon, "&"), {
|
|
108
110
|
paddingRight: 52 + 4 + 9
|
|
109
|
-
}), _defineProperty(
|
|
111
|
+
}), _defineProperty(_$concat2, "& .".concat(autocompleteClasses.input), {
|
|
110
112
|
padding: '7.5px 4px 7.5px 6px'
|
|
111
|
-
}), _defineProperty(
|
|
113
|
+
}), _defineProperty(_$concat2, "& .".concat(autocompleteClasses.endAdornment), {
|
|
112
114
|
right: 9
|
|
113
|
-
}),
|
|
115
|
+
}), _$concat2)), _defineProperty(_extends3, "& .".concat(outlinedInputClasses.root, ".").concat(inputBaseClasses.sizeSmall), _defineProperty({
|
|
114
116
|
padding: 6
|
|
115
117
|
}, "& .".concat(autocompleteClasses.input), {
|
|
116
118
|
padding: '2.5px 4px 2.5px 6px'
|
|
117
|
-
})), _defineProperty(_extends3,
|
|
119
|
+
})), _defineProperty(_extends3, "& .".concat(filledInputClasses.root), (_$concat3 = {
|
|
118
120
|
paddingTop: 19,
|
|
119
121
|
paddingLeft: 8
|
|
120
|
-
}, _defineProperty(
|
|
122
|
+
}, _defineProperty(_$concat3, ".".concat(autocompleteClasses.hasPopupIcon, "&, .").concat(autocompleteClasses.hasClearIcon, "&"), {
|
|
121
123
|
paddingRight: 26 + 4 + 9
|
|
122
|
-
}), _defineProperty(
|
|
124
|
+
}), _defineProperty(_$concat3, ".".concat(autocompleteClasses.hasPopupIcon, ".").concat(autocompleteClasses.hasClearIcon, "&"), {
|
|
123
125
|
paddingRight: 52 + 4 + 9
|
|
124
|
-
}), _defineProperty(
|
|
126
|
+
}), _defineProperty(_$concat3, "& .".concat(filledInputClasses.input), {
|
|
125
127
|
padding: '7px 4px'
|
|
126
|
-
}), _defineProperty(
|
|
128
|
+
}), _defineProperty(_$concat3, "& .".concat(autocompleteClasses.endAdornment), {
|
|
127
129
|
right: 9
|
|
128
|
-
}),
|
|
129
|
-
paddingBottom: 1
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
130
|
+
}), _$concat3)), _defineProperty(_extends3, "& .".concat(filledInputClasses.root, ".").concat(inputBaseClasses.sizeSmall), _defineProperty({
|
|
131
|
+
paddingBottom: 1
|
|
132
|
+
}, "& .".concat(filledInputClasses.input), {
|
|
133
|
+
padding: '2.5px 4px'
|
|
134
|
+
})), _defineProperty(_extends3, "& .".concat(inputBaseClasses.hiddenLabel), {
|
|
135
|
+
paddingTop: 8
|
|
133
136
|
}), _defineProperty(_extends3, "& .".concat(autocompleteClasses.input), _extends({
|
|
134
137
|
flexGrow: 1,
|
|
135
138
|
textOverflow: 'ellipsis',
|
|
@@ -239,7 +242,7 @@ var AutocompleteListbox = styled('div', {
|
|
|
239
242
|
return styles.listbox;
|
|
240
243
|
}
|
|
241
244
|
})(function (_ref14) {
|
|
242
|
-
var _ariaSelectedTru, _$
|
|
245
|
+
var _ariaSelectedTru, _$concat4;
|
|
243
246
|
|
|
244
247
|
var theme = _ref14.theme;
|
|
245
248
|
return _defineProperty({
|
|
@@ -248,7 +251,7 @@ var AutocompleteListbox = styled('div', {
|
|
|
248
251
|
padding: '8px 0',
|
|
249
252
|
maxHeight: '40vh',
|
|
250
253
|
overflow: 'auto'
|
|
251
|
-
}, "& .".concat(autocompleteClasses.option), (_$
|
|
254
|
+
}, "& .".concat(autocompleteClasses.option), (_$concat4 = {
|
|
252
255
|
minHeight: 48,
|
|
253
256
|
display: 'flex',
|
|
254
257
|
overflow: 'hidden',
|
|
@@ -262,20 +265,20 @@ var AutocompleteListbox = styled('div', {
|
|
|
262
265
|
paddingBottom: 6,
|
|
263
266
|
paddingLeft: 16,
|
|
264
267
|
paddingRight: 16
|
|
265
|
-
}, _defineProperty(_$
|
|
268
|
+
}, _defineProperty(_$concat4, theme.breakpoints.up('sm'), {
|
|
266
269
|
minHeight: 'auto'
|
|
267
|
-
}), _defineProperty(_$
|
|
270
|
+
}), _defineProperty(_$concat4, "&.".concat(autocompleteClasses.focused), {
|
|
268
271
|
backgroundColor: theme.palette.action.hover,
|
|
269
272
|
// Reset on touch devices, it doesn't add specificity
|
|
270
273
|
'@media (hover: none)': {
|
|
271
274
|
backgroundColor: 'transparent'
|
|
272
275
|
}
|
|
273
|
-
}), _defineProperty(_$
|
|
276
|
+
}), _defineProperty(_$concat4, '&[aria-disabled="true"]', {
|
|
274
277
|
opacity: theme.palette.action.disabledOpacity,
|
|
275
278
|
pointerEvents: 'none'
|
|
276
|
-
}), _defineProperty(_$
|
|
279
|
+
}), _defineProperty(_$concat4, "&.".concat(autocompleteClasses.focusVisible), {
|
|
277
280
|
backgroundColor: theme.palette.action.focus
|
|
278
|
-
}), _defineProperty(_$
|
|
281
|
+
}), _defineProperty(_$concat4, '&[aria-selected="true"]', (_ariaSelectedTru = {
|
|
279
282
|
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity)
|
|
280
283
|
}, _defineProperty(_ariaSelectedTru, "&.".concat(autocompleteClasses.focused), {
|
|
281
284
|
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
|
|
@@ -285,7 +288,7 @@ var AutocompleteListbox = styled('div', {
|
|
|
285
288
|
}
|
|
286
289
|
}), _defineProperty(_ariaSelectedTru, "&.".concat(autocompleteClasses.focusVisible), {
|
|
287
290
|
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
|
|
288
|
-
}), _ariaSelectedTru)), _$
|
|
291
|
+
}), _ariaSelectedTru)), _$concat4));
|
|
289
292
|
});
|
|
290
293
|
var AutocompleteGroupLabel = styled(ListSubheader, {
|
|
291
294
|
name: 'MuiAutocomplete',
|
|
@@ -1021,7 +1024,7 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes
|
|
|
1021
1024
|
/**
|
|
1022
1025
|
* Render the group.
|
|
1023
1026
|
*
|
|
1024
|
-
* @param {
|
|
1027
|
+
* @param {AutocompleteRenderGroupParams} params The group to render.
|
|
1025
1028
|
* @returns {ReactNode}
|
|
1026
1029
|
*/
|
|
1027
1030
|
renderGroup: PropTypes.func,
|
|
@@ -1071,7 +1074,7 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes
|
|
|
1071
1074
|
/**
|
|
1072
1075
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
1073
1076
|
*/
|
|
1074
|
-
sx: PropTypes.object,
|
|
1077
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
1075
1078
|
|
|
1076
1079
|
/**
|
|
1077
1080
|
* The value of the autocomplete.
|
package/legacy/Avatar/Avatar.js
CHANGED
|
@@ -258,7 +258,7 @@ process.env.NODE_ENV !== "production" ? Avatar.propTypes
|
|
|
258
258
|
/**
|
|
259
259
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
260
260
|
*/
|
|
261
|
-
sx: PropTypes.object,
|
|
261
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
262
262
|
|
|
263
263
|
/**
|
|
264
264
|
* The shape of the avatar.
|
|
@@ -9,7 +9,7 @@ import { chainPropTypes } from '@mui/utils';
|
|
|
9
9
|
import { unstable_composeClasses as composeClasses } from '@mui/core';
|
|
10
10
|
import styled from '../styles/styled';
|
|
11
11
|
import useThemeProps from '../styles/useThemeProps';
|
|
12
|
-
import Avatar from '../Avatar';
|
|
12
|
+
import Avatar, { avatarClasses } from '../Avatar';
|
|
13
13
|
import avatarGroupClasses, { getAvatarGroupUtilityClass } from './avatarGroupClasses';
|
|
14
14
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
15
|
var SPACINGS = {
|
|
@@ -36,7 +36,7 @@ var AvatarGroupRoot = styled('div', {
|
|
|
36
36
|
var _ref2;
|
|
37
37
|
|
|
38
38
|
var theme = _ref.theme;
|
|
39
|
-
return _ref2 = {}, _defineProperty(_ref2, "& .
|
|
39
|
+
return _ref2 = {}, _defineProperty(_ref2, "& .".concat(avatarClasses.root), {
|
|
40
40
|
border: "2px solid ".concat(theme.palette.background.default),
|
|
41
41
|
boxSizing: 'content-box',
|
|
42
42
|
marginLeft: -8,
|
|
@@ -166,7 +166,7 @@ process.env.NODE_ENV !== "production" ? AvatarGroup.propTypes
|
|
|
166
166
|
/**
|
|
167
167
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
168
168
|
*/
|
|
169
|
-
sx: PropTypes.object,
|
|
169
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
170
170
|
|
|
171
171
|
/**
|
|
172
172
|
* The variant to use.
|
|
@@ -140,7 +140,7 @@ process.env.NODE_ENV !== "production" ? Backdrop.propTypes
|
|
|
140
140
|
/**
|
|
141
141
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
142
142
|
*/
|
|
143
|
-
sx: PropTypes.object,
|
|
143
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
146
|
* The duration for the transition, in milliseconds.
|
package/legacy/Badge/Badge.js
CHANGED
|
@@ -293,7 +293,7 @@ process.env.NODE_ENV !== "production" ? Badge.propTypes
|
|
|
293
293
|
/**
|
|
294
294
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
295
295
|
*/
|
|
296
|
-
sx: PropTypes.object,
|
|
296
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
297
297
|
|
|
298
298
|
/**
|
|
299
299
|
* The variant to use.
|
|
@@ -129,7 +129,7 @@ process.env.NODE_ENV !== "production" ? BottomNavigation.propTypes
|
|
|
129
129
|
/**
|
|
130
130
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
131
131
|
*/
|
|
132
|
-
sx: PropTypes.object,
|
|
132
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
135
|
* The value of the currently selected `BottomNavigationAction`.
|
|
@@ -172,7 +172,7 @@ process.env.NODE_ENV !== "production" ? BottomNavigationAction.propTypes
|
|
|
172
172
|
/**
|
|
173
173
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
174
174
|
*/
|
|
175
|
-
sx: PropTypes.object,
|
|
175
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
176
176
|
|
|
177
177
|
/**
|
|
178
178
|
* You can provide your own value. Otherwise, we fallback to the child position index.
|
package/legacy/Box/Box.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createBox } from '@mui/system';
|
|
2
|
+
import { unstable_ClassNameGenerator as ClassNameGenerator } from '../utils';
|
|
2
3
|
import { createTheme } from '../styles';
|
|
3
4
|
var defaultTheme = createTheme();
|
|
4
5
|
/**
|
|
@@ -6,6 +7,8 @@ var defaultTheme = createTheme();
|
|
|
6
7
|
*/
|
|
7
8
|
|
|
8
9
|
var Box = createBox({
|
|
9
|
-
defaultTheme: defaultTheme
|
|
10
|
+
defaultTheme: defaultTheme,
|
|
11
|
+
defaultClassName: 'MuiBox-root',
|
|
12
|
+
generateClassName: ClassNameGenerator.generate
|
|
10
13
|
});
|
|
11
14
|
export default Box;
|
|
@@ -241,6 +241,6 @@ process.env.NODE_ENV !== "production" ? Breadcrumbs.propTypes
|
|
|
241
241
|
/**
|
|
242
242
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
243
243
|
*/
|
|
244
|
-
sx: PropTypes.object
|
|
244
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
245
245
|
} : void 0;
|
|
246
246
|
export default Breadcrumbs;
|
package/legacy/Button/Button.js
CHANGED
|
@@ -11,6 +11,7 @@ import useThemeProps from '../styles/useThemeProps';
|
|
|
11
11
|
import ButtonBase from '../ButtonBase';
|
|
12
12
|
import capitalize from '../utils/capitalize';
|
|
13
13
|
import buttonClasses, { getButtonUtilityClass } from './buttonClasses';
|
|
14
|
+
import ButtonGroupContext from '../ButtonGroup/ButtonGroupContext';
|
|
14
15
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
16
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
17
|
|
|
@@ -217,28 +218,44 @@ var Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
|
|
|
217
218
|
name: 'MuiButton'
|
|
218
219
|
});
|
|
219
220
|
|
|
221
|
+
var _React$useContext = React.useContext(ButtonGroupContext),
|
|
222
|
+
classNameContext = _React$useContext.className,
|
|
223
|
+
colorContext = _React$useContext.color,
|
|
224
|
+
disabledContext = _React$useContext.disabled,
|
|
225
|
+
disableElevationContext = _React$useContext.disableElevation,
|
|
226
|
+
disableFocusRippleContext = _React$useContext.disableFocusRipple,
|
|
227
|
+
disableRippleContext = _React$useContext.disableRipple,
|
|
228
|
+
fullWidthContext = _React$useContext.fullWidth,
|
|
229
|
+
sizeContext = _React$useContext.size,
|
|
230
|
+
variantContext = _React$useContext.variant;
|
|
231
|
+
|
|
220
232
|
var children = props.children,
|
|
221
|
-
|
|
222
|
-
|
|
233
|
+
className = props.className,
|
|
234
|
+
colorProp = props.color,
|
|
223
235
|
_props$component = props.component,
|
|
224
236
|
component = _props$component === void 0 ? 'button' : _props$component,
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
_props$disableFocusRi = props.disableFocusRipple,
|
|
230
|
-
disableFocusRipple = _props$disableFocusRi === void 0 ? false : _props$disableFocusRi,
|
|
237
|
+
disabledProp = props.disabled,
|
|
238
|
+
disableElevationProp = props.disableElevation,
|
|
239
|
+
disableFocusRippleProp = props.disableFocusRipple,
|
|
240
|
+
disableRippleProp = props.disableRipple,
|
|
231
241
|
endIconProp = props.endIcon,
|
|
232
242
|
focusVisibleClassName = props.focusVisibleClassName,
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
_props$size = props.size,
|
|
236
|
-
size = _props$size === void 0 ? 'medium' : _props$size,
|
|
243
|
+
fullWidthProp = props.fullWidth,
|
|
244
|
+
sizeProp = props.size,
|
|
237
245
|
startIconProp = props.startIcon,
|
|
238
246
|
type = props.type,
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
247
|
+
variantProp = props.variant,
|
|
248
|
+
other = _objectWithoutProperties(props, ["children", "className", "color", "component", "disabled", "disableElevation", "disableFocusRipple", "disableRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"]);
|
|
249
|
+
|
|
250
|
+
var color = colorProp || colorContext || 'primary'; // TODO v6: Use nullish coalescing (??) instead of OR operator for these boolean props so that these boolean props for Button with ButtonGroup context take priority. See conversation from https://github.com/mui-org/material-ui/pull/28645#discussion_r738380902.
|
|
251
|
+
|
|
252
|
+
var disabled = disabledProp || disabledContext || false;
|
|
253
|
+
var disableElevation = disableElevationProp || disableElevationContext || false;
|
|
254
|
+
var disableFocusRipple = disableFocusRippleProp || disableFocusRippleContext || false;
|
|
255
|
+
var fullWidth = fullWidthProp || fullWidthContext || false;
|
|
256
|
+
var size = sizeProp || sizeContext || 'medium';
|
|
257
|
+
var variant = variantProp || variantContext || 'text';
|
|
258
|
+
var disableRipple = disableRippleProp || disableRippleContext || false;
|
|
242
259
|
|
|
243
260
|
var ownerState = _extends({}, props, {
|
|
244
261
|
color: color,
|
|
@@ -268,8 +285,10 @@ var Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
|
|
|
268
285
|
|
|
269
286
|
return /*#__PURE__*/_jsxs(ButtonRoot, _extends({
|
|
270
287
|
ownerState: ownerState,
|
|
288
|
+
className: clsx(className, classNameContext),
|
|
271
289
|
component: component,
|
|
272
290
|
disabled: disabled,
|
|
291
|
+
disableRipple: disableRipple,
|
|
273
292
|
focusRipple: !disableFocusRipple,
|
|
274
293
|
focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
|
|
275
294
|
ref: ref,
|
|
@@ -297,6 +316,11 @@ process.env.NODE_ENV !== "production" ? Button.propTypes
|
|
|
297
316
|
*/
|
|
298
317
|
classes: PropTypes.object,
|
|
299
318
|
|
|
319
|
+
/**
|
|
320
|
+
* @ignore
|
|
321
|
+
*/
|
|
322
|
+
className: PropTypes.string,
|
|
323
|
+
|
|
300
324
|
/**
|
|
301
325
|
* The color of the component. It supports those theme colors that make sense for this component.
|
|
302
326
|
* @default 'primary'
|
|
@@ -377,7 +401,7 @@ process.env.NODE_ENV !== "production" ? Button.propTypes
|
|
|
377
401
|
/**
|
|
378
402
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
379
403
|
*/
|
|
380
|
-
sx: PropTypes.object,
|
|
404
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
381
405
|
|
|
382
406
|
/**
|
|
383
407
|
* @ignore
|
|
@@ -532,7 +532,7 @@ process.env.NODE_ENV !== "production" ? ButtonBase.propTypes
|
|
|
532
532
|
/**
|
|
533
533
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
534
534
|
*/
|
|
535
|
-
sx: PropTypes.object,
|
|
535
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
536
536
|
|
|
537
537
|
/**
|
|
538
538
|
* @default 0
|
|
@@ -2,7 +2,6 @@ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutPr
|
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
4
|
import * as React from 'react';
|
|
5
|
-
import { isFragment } from 'react-is';
|
|
6
5
|
import PropTypes from 'prop-types';
|
|
7
6
|
import clsx from 'clsx';
|
|
8
7
|
import { unstable_composeClasses as composeClasses } from '@mui/core';
|
|
@@ -11,6 +10,7 @@ import capitalize from '../utils/capitalize';
|
|
|
11
10
|
import styled from '../styles/styled';
|
|
12
11
|
import useThemeProps from '../styles/useThemeProps';
|
|
13
12
|
import buttonGroupClasses, { getButtonGroupUtilityClass } from './buttonGroupClasses';
|
|
13
|
+
import ButtonGroupContext from './ButtonGroupContext';
|
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
15
|
|
|
16
16
|
var overridesResolver = function overridesResolver(props, styles) {
|
|
@@ -90,10 +90,14 @@ var ButtonGroupRoot = styled('div', {
|
|
|
90
90
|
borderBottom: "1px solid ".concat(theme.palette.action.disabled)
|
|
91
91
|
}), ownerState.variant === 'contained' && ownerState.color !== 'inherit' && {
|
|
92
92
|
borderColor: theme.palette[ownerState.color].dark
|
|
93
|
+
}, {
|
|
94
|
+
'&:hover': _extends({}, ownerState.variant === 'outlined' && ownerState.orientation === 'horizontal' && {
|
|
95
|
+
borderRightColor: 'currentColor'
|
|
96
|
+
}, ownerState.variant === 'outlined' && ownerState.orientation === 'vertical' && {
|
|
97
|
+
borderBottomColor: 'currentColor'
|
|
98
|
+
})
|
|
93
99
|
}),
|
|
94
|
-
'&:hover': _extends({}, ownerState.variant === '
|
|
95
|
-
borderColor: theme.palette[ownerState.color].main
|
|
96
|
-
}, ownerState.variant === 'contained' && {
|
|
100
|
+
'&:hover': _extends({}, ownerState.variant === 'contained' && {
|
|
97
101
|
boxShadow: 'none'
|
|
98
102
|
})
|
|
99
103
|
}, ownerState.variant === 'contained' && {
|
|
@@ -144,6 +148,19 @@ var ButtonGroup = /*#__PURE__*/React.forwardRef(function ButtonGroup(inProps, re
|
|
|
144
148
|
});
|
|
145
149
|
|
|
146
150
|
var classes = useUtilityClasses(ownerState);
|
|
151
|
+
var context = React.useMemo(function () {
|
|
152
|
+
return {
|
|
153
|
+
className: classes.grouped,
|
|
154
|
+
color: color,
|
|
155
|
+
disabled: disabled,
|
|
156
|
+
disableElevation: disableElevation,
|
|
157
|
+
disableFocusRipple: disableFocusRipple,
|
|
158
|
+
disableRipple: disableRipple,
|
|
159
|
+
fullWidth: fullWidth,
|
|
160
|
+
size: size,
|
|
161
|
+
variant: variant
|
|
162
|
+
};
|
|
163
|
+
}, [color, disabled, disableElevation, disableFocusRipple, disableRipple, fullWidth, size, variant, classes.grouped]);
|
|
147
164
|
return /*#__PURE__*/_jsx(ButtonGroupRoot, _extends({
|
|
148
165
|
as: component,
|
|
149
166
|
role: "group",
|
|
@@ -151,28 +168,9 @@ var ButtonGroup = /*#__PURE__*/React.forwardRef(function ButtonGroup(inProps, re
|
|
|
151
168
|
ref: ref,
|
|
152
169
|
ownerState: ownerState
|
|
153
170
|
}, other, {
|
|
154
|
-
children:
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
160
|
-
if (isFragment(child)) {
|
|
161
|
-
console.error(["MUI: The ButtonGroup component doesn't accept a Fragment as a child.", 'Consider providing an array instead.'].join('\n'));
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
return /*#__PURE__*/React.cloneElement(child, {
|
|
166
|
-
className: clsx(classes.grouped, child.props.className),
|
|
167
|
-
color: child.props.color || color,
|
|
168
|
-
disabled: child.props.disabled || disabled,
|
|
169
|
-
disableElevation: child.props.disableElevation || disableElevation,
|
|
170
|
-
disableFocusRipple: disableFocusRipple,
|
|
171
|
-
disableRipple: disableRipple,
|
|
172
|
-
fullWidth: fullWidth,
|
|
173
|
-
size: child.props.size || size,
|
|
174
|
-
variant: child.props.variant || variant
|
|
175
|
-
});
|
|
171
|
+
children: /*#__PURE__*/_jsx(ButtonGroupContext.Provider, {
|
|
172
|
+
value: context,
|
|
173
|
+
children: children
|
|
176
174
|
})
|
|
177
175
|
}));
|
|
178
176
|
});
|
|
@@ -261,7 +259,7 @@ process.env.NODE_ENV !== "production" ? ButtonGroup.propTypes
|
|
|
261
259
|
/**
|
|
262
260
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
263
261
|
*/
|
|
264
|
-
sx: PropTypes.object,
|
|
262
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
265
263
|
|
|
266
264
|
/**
|
|
267
265
|
* The variant to use.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @ignore - internal component.
|
|
5
|
+
*/
|
|
6
|
+
var ButtonGroupContext = /*#__PURE__*/React.createContext({});
|
|
7
|
+
|
|
8
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
9
|
+
ButtonGroupContext.displayName = 'ButtonGroupContext';
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export default ButtonGroupContext;
|
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.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), 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.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), 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.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), 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.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), 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.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), 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.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), 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.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), 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
|
@@ -305,11 +305,12 @@ var Chip = /*#__PURE__*/React.forwardRef(function Chip(inProps, ref) {
|
|
|
305
305
|
});
|
|
306
306
|
|
|
307
307
|
var classes = useUtilityClasses(ownerState);
|
|
308
|
-
var moreProps = component === ButtonBase ? {
|
|
308
|
+
var moreProps = component === ButtonBase ? _extends({
|
|
309
309
|
component: ComponentProp || 'div',
|
|
310
|
-
focusVisibleClassName: classes.focusVisible
|
|
311
|
-
|
|
312
|
-
|
|
310
|
+
focusVisibleClassName: classes.focusVisible
|
|
311
|
+
}, onDelete && {
|
|
312
|
+
disableRipple: true
|
|
313
|
+
}) : {};
|
|
313
314
|
var deleteIcon = null;
|
|
314
315
|
|
|
315
316
|
if (onDelete) {
|
|
@@ -468,7 +469,7 @@ process.env.NODE_ENV !== "production" ? Chip.propTypes
|
|
|
468
469
|
/**
|
|
469
470
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
470
471
|
*/
|
|
471
|
-
sx: PropTypes.object,
|
|
472
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
472
473
|
|
|
473
474
|
/**
|
|
474
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.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), 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.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), 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.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
161
161
|
} : void 0;
|
|
162
162
|
export default Container;
|