@mui/material 5.15.10 → 5.15.12
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.d.ts +1 -1
- package/Accordion/Accordion.js +3 -4
- package/AccordionActions/AccordionActions.js +1 -1
- package/AccordionDetails/AccordionDetails.js +1 -1
- package/AccordionSummary/AccordionSummary.js +1 -1
- package/AccordionSummary/accordionSummaryClasses.d.ts +1 -1
- package/Alert/Alert.d.ts +27 -28
- package/Alert/Alert.js +78 -56
- package/Alert/alertClasses.d.ts +68 -12
- package/Alert/alertClasses.js +1 -1
- package/AlertTitle/AlertTitle.js +3 -3
- package/AppBar/AppBar.js +1 -1
- package/Autocomplete/Autocomplete.js +7 -4
- package/Avatar/Avatar.js +3 -3
- package/AvatarGroup/AvatarGroup.js +2 -2
- package/Backdrop/Backdrop.js +1 -1
- package/Badge/Badge.js +3 -3
- package/BottomNavigation/BottomNavigation.js +1 -1
- package/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/Breadcrumbs/BreadcrumbCollapsed.js +1 -1
- package/Breadcrumbs/Breadcrumbs.js +3 -2
- package/Button/Button.js +6 -6
- package/Button/buttonClasses.d.ts +113 -33
- package/Button/buttonClasses.js +1 -1
- package/ButtonBase/ButtonBase.js +3 -2
- package/ButtonBase/Ripple.js +0 -1
- package/ButtonBase/TouchRipple.js +1 -2
- package/ButtonGroup/ButtonGroup.js +3 -3
- package/CHANGELOG.md +331 -140
- package/Card/Card.js +2 -2
- 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.d.ts +1 -1
- package/Checkbox/Checkbox.js +3 -3
- package/Chip/Chip.js +2 -2
- package/Chip/chipClasses.d.ts +78 -26
- package/CircularProgress/CircularProgress.js +2 -2
- package/Collapse/Collapse.d.ts +1 -1
- package/Collapse/Collapse.js +7 -4
- package/Dialog/Dialog.d.ts +1 -1
- package/Dialog/Dialog.js +3 -3
- package/DialogActions/DialogActions.js +1 -1
- package/DialogContent/DialogContent.js +1 -1
- package/DialogContentText/DialogContentText.js +1 -1
- package/DialogTitle/DialogTitle.js +1 -1
- package/Divider/Divider.js +2 -2
- package/Drawer/Drawer.js +2 -2
- package/Fab/Fab.js +1 -1
- package/Fade/Fade.d.ts +1 -1
- package/Fade/Fade.js +1 -1
- package/FilledInput/FilledInput.js +3 -2
- package/FormControl/FormControl.js +1 -1
- package/FormControlLabel/FormControlLabel.js +2 -2
- package/FormGroup/FormGroup.js +1 -1
- package/FormHelperText/FormHelperText.js +1 -1
- package/FormLabel/FormLabel.js +1 -1
- package/Grid/Grid.js +3 -2
- package/Grow/Grow.d.ts +1 -1
- package/Grow/Grow.js +2 -1
- package/Hidden/HiddenCss.js +1 -1
- package/Hidden/HiddenJs.js +1 -1
- package/Hidden/withWidth.js +2 -2
- package/Icon/Icon.js +1 -1
- package/IconButton/IconButton.js +5 -5
- package/ImageList/ImageList.js +2 -2
- package/ImageListItem/ImageListItem.js +2 -2
- package/ImageListItemBar/ImageListItemBar.js +1 -1
- package/Input/Input.js +3 -2
- package/InputAdornment/InputAdornment.js +1 -1
- package/InputBase/InputBase.js +5 -2
- package/InputLabel/InputLabel.js +1 -1
- package/LinearProgress/LinearProgress.js +3 -2
- package/Link/Link.js +2 -2
- package/Link/getTextDecoration.js +2 -1
- package/List/List.js +1 -1
- package/ListItem/ListItem.js +5 -3
- package/ListItemAvatar/ListItemAvatar.js +1 -1
- package/ListItemButton/ListItemButton.js +2 -2
- 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.d.ts +1 -1
- package/Menu/Menu.js +3 -3
- package/MenuItem/MenuItem.js +2 -2
- package/MobileStepper/MobileStepper.js +2 -2
- package/Modal/Modal.js +4 -3
- package/NativeSelect/NativeSelect.js +1 -1
- package/NativeSelect/NativeSelectInput.js +2 -3
- package/OutlinedInput/NotchedOutline.js +0 -1
- package/OutlinedInput/OutlinedInput.js +2 -2
- package/Pagination/Pagination.js +2 -2
- package/PaginationItem/PaginationItem.js +2 -2
- package/PaginationItem/paginationItemClasses.d.ts +4 -8
- package/Paper/Paper.js +4 -3
- package/Popover/Popover.d.ts +1 -1
- package/Popover/Popover.js +8 -3
- package/Popper/Popper.js +3 -2
- package/README.md +1 -1
- package/Radio/Radio.js +3 -3
- package/Radio/RadioButtonIcon.js +0 -1
- package/Rating/Rating.js +4 -2
- package/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
- package/Select/Select.d.ts +50 -7
- package/Select/Select.js +1 -1
- package/Select/SelectInput.js +3 -3
- package/Skeleton/Skeleton.js +1 -1
- package/Slide/Slide.d.ts +1 -1
- package/Slide/Slide.js +3 -1
- package/Slider/Slider.d.ts +2 -4
- package/Slider/Slider.js +6 -7
- package/Snackbar/Snackbar.d.ts +1 -1
- package/Snackbar/Snackbar.js +3 -2
- package/SnackbarContent/SnackbarContent.js +2 -2
- package/SpeedDial/SpeedDial.d.ts +1 -1
- package/SpeedDial/SpeedDial.js +4 -3
- package/SpeedDialAction/SpeedDialAction.js +2 -2
- package/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/Step/Step.js +2 -2
- package/StepButton/StepButton.js +1 -1
- package/StepConnector/StepConnector.js +1 -1
- package/StepContent/StepContent.d.ts +1 -1
- package/StepContent/StepContent.js +2 -2
- package/StepIcon/StepIcon.js +1 -1
- package/StepLabel/StepLabel.d.ts +1 -1
- package/StepLabel/StepLabel.js +1 -1
- package/Stepper/Stepper.js +2 -2
- package/SvgIcon/SvgIcon.js +1 -1
- package/SwipeableDrawer/SwipeableDrawer.js +2 -2
- package/Switch/Switch.js +3 -3
- package/Tab/Tab.js +1 -1
- package/TabScrollButton/TabScrollButton.js +2 -1
- package/Table/Table.js +1 -1
- package/TableBody/TableBody.js +1 -1
- package/TableCell/TableCell.js +2 -2
- package/TableContainer/TableContainer.js +1 -1
- package/TableFooter/TableFooter.js +1 -1
- package/TableHead/TableHead.js +1 -1
- package/TablePagination/TablePagination.js +4 -2
- package/TableRow/TableRow.js +2 -2
- package/TableSortLabel/TableSortLabel.js +1 -1
- package/Tabs/Tabs.js +3 -2
- package/TextField/TextField.js +3 -2
- package/ToggleButton/ToggleButton.js +2 -2
- package/ToggleButtonGroup/ToggleButtonGroup.js +2 -2
- package/Toolbar/Toolbar.js +1 -1
- package/Tooltip/Tooltip.d.ts +1 -1
- package/Tooltip/Tooltip.js +11 -11
- package/Typography/Typography.js +2 -2
- package/Zoom/Zoom.d.ts +1 -1
- package/Zoom/Zoom.js +1 -1
- package/index.js +1 -1
- package/internal/SwitchBase.js +2 -3
- package/legacy/Accordion/Accordion.js +3 -4
- 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 +108 -54
- package/legacy/Alert/alertClasses.js +1 -1
- package/legacy/AlertTitle/AlertTitle.js +3 -3
- package/legacy/AppBar/AppBar.js +1 -1
- package/legacy/Autocomplete/Autocomplete.js +7 -4
- package/legacy/Avatar/Avatar.js +3 -3
- package/legacy/AvatarGroup/AvatarGroup.js +2 -2
- package/legacy/Backdrop/Backdrop.js +1 -1
- package/legacy/Badge/Badge.js +3 -3
- package/legacy/BottomNavigation/BottomNavigation.js +1 -1
- package/legacy/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/legacy/Breadcrumbs/BreadcrumbCollapsed.js +1 -1
- package/legacy/Breadcrumbs/Breadcrumbs.js +3 -2
- package/legacy/Button/Button.js +6 -6
- package/legacy/Button/buttonClasses.js +1 -1
- package/legacy/ButtonBase/ButtonBase.js +3 -2
- package/legacy/ButtonBase/Ripple.js +0 -1
- package/legacy/ButtonBase/TouchRipple.js +1 -2
- package/legacy/ButtonGroup/ButtonGroup.js +3 -3
- package/legacy/Card/Card.js +2 -2
- 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 +3 -3
- package/legacy/Chip/Chip.js +2 -2
- package/legacy/CircularProgress/CircularProgress.js +2 -2
- package/legacy/Collapse/Collapse.js +7 -4
- package/legacy/Dialog/Dialog.js +3 -3
- package/legacy/DialogActions/DialogActions.js +1 -1
- package/legacy/DialogContent/DialogContent.js +1 -1
- package/legacy/DialogContentText/DialogContentText.js +1 -1
- package/legacy/DialogTitle/DialogTitle.js +1 -1
- package/legacy/Divider/Divider.js +2 -2
- package/legacy/Drawer/Drawer.js +2 -2
- package/legacy/Fab/Fab.js +1 -1
- package/legacy/Fade/Fade.js +1 -1
- package/legacy/FilledInput/FilledInput.js +3 -2
- package/legacy/FormControl/FormControl.js +1 -1
- package/legacy/FormControlLabel/FormControlLabel.js +2 -2
- 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 +3 -2
- package/legacy/Grow/Grow.js +2 -1
- package/legacy/Hidden/HiddenCss.js +1 -1
- package/legacy/Hidden/HiddenJs.js +1 -1
- package/legacy/Hidden/withWidth.js +2 -2
- package/legacy/Icon/Icon.js +1 -1
- package/legacy/IconButton/IconButton.js +5 -5
- package/legacy/ImageList/ImageList.js +2 -2
- package/legacy/ImageListItem/ImageListItem.js +2 -2
- package/legacy/ImageListItemBar/ImageListItemBar.js +1 -1
- package/legacy/Input/Input.js +3 -2
- package/legacy/InputAdornment/InputAdornment.js +1 -1
- package/legacy/InputBase/InputBase.js +5 -2
- package/legacy/InputLabel/InputLabel.js +1 -1
- package/legacy/LinearProgress/LinearProgress.js +3 -2
- package/legacy/Link/Link.js +2 -2
- package/legacy/Link/getTextDecoration.js +2 -1
- package/legacy/List/List.js +1 -1
- package/legacy/ListItem/ListItem.js +5 -3
- package/legacy/ListItemAvatar/ListItemAvatar.js +1 -1
- package/legacy/ListItemButton/ListItemButton.js +2 -2
- 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 +3 -3
- package/legacy/MenuItem/MenuItem.js +2 -2
- package/legacy/MobileStepper/MobileStepper.js +2 -2
- package/legacy/Modal/Modal.js +4 -3
- package/legacy/NativeSelect/NativeSelect.js +1 -1
- package/legacy/NativeSelect/NativeSelectInput.js +2 -3
- package/legacy/OutlinedInput/NotchedOutline.js +0 -1
- package/legacy/OutlinedInput/OutlinedInput.js +2 -2
- package/legacy/Pagination/Pagination.js +2 -2
- package/legacy/PaginationItem/PaginationItem.js +2 -2
- package/legacy/Paper/Paper.js +4 -3
- package/legacy/Popover/Popover.js +8 -3
- package/legacy/Popper/Popper.js +3 -2
- package/legacy/Radio/Radio.js +3 -3
- package/legacy/Radio/RadioButtonIcon.js +0 -1
- package/legacy/Rating/Rating.js +4 -2
- package/legacy/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
- package/legacy/Select/Select.js +1 -1
- package/legacy/Select/SelectInput.js +3 -3
- package/legacy/Skeleton/Skeleton.js +1 -1
- package/legacy/Slide/Slide.js +3 -1
- package/legacy/Slider/Slider.js +6 -7
- package/legacy/Snackbar/Snackbar.js +3 -2
- package/legacy/SnackbarContent/SnackbarContent.js +2 -2
- package/legacy/SpeedDial/SpeedDial.js +4 -3
- package/legacy/SpeedDialAction/SpeedDialAction.js +2 -2
- package/legacy/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/legacy/Step/Step.js +2 -2
- package/legacy/StepButton/StepButton.js +1 -1
- package/legacy/StepConnector/StepConnector.js +1 -1
- package/legacy/StepContent/StepContent.js +2 -2
- package/legacy/StepIcon/StepIcon.js +1 -1
- package/legacy/StepLabel/StepLabel.js +1 -1
- package/legacy/Stepper/Stepper.js +2 -2
- package/legacy/SvgIcon/SvgIcon.js +1 -1
- package/legacy/SwipeableDrawer/SwipeableDrawer.js +2 -2
- package/legacy/Switch/Switch.js +3 -3
- package/legacy/Tab/Tab.js +1 -1
- package/legacy/TabScrollButton/TabScrollButton.js +2 -1
- package/legacy/Table/Table.js +1 -1
- package/legacy/TableBody/TableBody.js +1 -1
- package/legacy/TableCell/TableCell.js +2 -2
- 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 +4 -2
- package/legacy/TableRow/TableRow.js +2 -2
- package/legacy/TableSortLabel/TableSortLabel.js +1 -1
- package/legacy/Tabs/Tabs.js +3 -2
- package/legacy/TextField/TextField.js +3 -2
- package/legacy/ToggleButton/ToggleButton.js +2 -2
- package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +2 -2
- package/legacy/Toolbar/Toolbar.js +1 -1
- package/legacy/Tooltip/Tooltip.js +11 -11
- package/legacy/Typography/Typography.js +2 -2
- package/legacy/Zoom/Zoom.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/internal/SwitchBase.js +2 -3
- package/legacy/styles/CssVarsProvider.js +2 -1
- package/legacy/styles/createMuiStrictModeTheme.js +1 -1
- package/legacy/styles/createPalette.js +2 -2
- package/legacy/styles/createTheme.js +3 -2
- package/legacy/styles/createTypography.js +1 -1
- package/legacy/styles/experimental_extendTheme.js +4 -2
- package/legacy/styles/styled.js +1 -1
- package/legacy/styles/useThemeProps.js +1 -1
- package/legacy/useMediaQuery/index.js +1 -3
- package/legacy/useMediaQuery/useMediaQueryTheme.js +1 -1
- package/legacy/usePagination/usePagination.js +1 -1
- package/legacy/utils/capitalize.js +1 -1
- package/legacy/utils/createChainedFunction.js +1 -1
- package/legacy/utils/debounce.js +1 -1
- package/legacy/utils/deprecatedPropType.js +1 -1
- package/legacy/utils/getScrollbarSize.js +1 -1
- package/legacy/utils/isMuiElement.js +1 -1
- package/legacy/utils/ownerDocument.js +1 -1
- package/legacy/utils/ownerWindow.js +1 -1
- package/legacy/utils/requirePropFactory.js +1 -1
- package/legacy/utils/setRef.js +1 -1
- package/legacy/utils/shouldSpreadAdditionalProps.js +1 -1
- package/legacy/utils/unsupportedProp.js +1 -1
- package/legacy/utils/useControlled.js +1 -1
- package/legacy/utils/useEnhancedEffect.js +1 -1
- package/legacy/utils/useEventCallback.js +1 -1
- package/legacy/utils/useForkRef.js +1 -1
- package/legacy/utils/useId.js +1 -1
- package/legacy/utils/useIsFocusVisible.js +1 -1
- package/legacy/utils/useSlot.js +1 -1
- package/modern/Accordion/Accordion.js +3 -4
- 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 +78 -55
- package/modern/Alert/alertClasses.js +1 -1
- package/modern/AlertTitle/AlertTitle.js +3 -3
- package/modern/AppBar/AppBar.js +1 -1
- package/modern/Autocomplete/Autocomplete.js +7 -4
- package/modern/Avatar/Avatar.js +3 -3
- package/modern/AvatarGroup/AvatarGroup.js +2 -2
- package/modern/Backdrop/Backdrop.js +1 -1
- package/modern/Badge/Badge.js +3 -3
- package/modern/BottomNavigation/BottomNavigation.js +1 -1
- package/modern/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/modern/Breadcrumbs/BreadcrumbCollapsed.js +1 -1
- package/modern/Breadcrumbs/Breadcrumbs.js +3 -2
- package/modern/Button/Button.js +6 -6
- package/modern/Button/buttonClasses.js +1 -1
- package/modern/ButtonBase/ButtonBase.js +3 -2
- package/modern/ButtonBase/Ripple.js +0 -1
- package/modern/ButtonBase/TouchRipple.js +1 -2
- package/modern/ButtonGroup/ButtonGroup.js +3 -3
- package/modern/Card/Card.js +2 -2
- 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 +3 -3
- package/modern/Chip/Chip.js +2 -2
- package/modern/CircularProgress/CircularProgress.js +2 -2
- package/modern/Collapse/Collapse.js +7 -4
- package/modern/Dialog/Dialog.js +3 -3
- package/modern/DialogActions/DialogActions.js +1 -1
- package/modern/DialogContent/DialogContent.js +1 -1
- package/modern/DialogContentText/DialogContentText.js +1 -1
- package/modern/DialogTitle/DialogTitle.js +1 -1
- package/modern/Divider/Divider.js +2 -2
- package/modern/Drawer/Drawer.js +2 -2
- package/modern/Fab/Fab.js +1 -1
- package/modern/Fade/Fade.js +1 -1
- package/modern/FilledInput/FilledInput.js +3 -2
- package/modern/FormControl/FormControl.js +1 -1
- package/modern/FormControlLabel/FormControlLabel.js +2 -2
- 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 +3 -2
- package/modern/Grow/Grow.js +2 -1
- package/modern/Hidden/HiddenCss.js +1 -1
- package/modern/Hidden/HiddenJs.js +1 -1
- package/modern/Hidden/withWidth.js +2 -2
- package/modern/Icon/Icon.js +1 -1
- package/modern/IconButton/IconButton.js +5 -5
- package/modern/ImageList/ImageList.js +2 -2
- package/modern/ImageListItem/ImageListItem.js +2 -2
- package/modern/ImageListItemBar/ImageListItemBar.js +1 -1
- package/modern/Input/Input.js +3 -2
- package/modern/InputAdornment/InputAdornment.js +1 -1
- package/modern/InputBase/InputBase.js +5 -2
- package/modern/InputLabel/InputLabel.js +1 -1
- package/modern/LinearProgress/LinearProgress.js +3 -2
- package/modern/Link/Link.js +2 -2
- package/modern/Link/getTextDecoration.js +2 -1
- package/modern/List/List.js +1 -1
- package/modern/ListItem/ListItem.js +5 -3
- package/modern/ListItemAvatar/ListItemAvatar.js +1 -1
- package/modern/ListItemButton/ListItemButton.js +2 -2
- 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 +3 -3
- package/modern/MenuItem/MenuItem.js +2 -2
- package/modern/MobileStepper/MobileStepper.js +2 -2
- package/modern/Modal/Modal.js +4 -3
- package/modern/NativeSelect/NativeSelect.js +1 -1
- package/modern/NativeSelect/NativeSelectInput.js +2 -3
- package/modern/OutlinedInput/NotchedOutline.js +0 -1
- package/modern/OutlinedInput/OutlinedInput.js +2 -2
- package/modern/Pagination/Pagination.js +2 -2
- package/modern/PaginationItem/PaginationItem.js +2 -2
- package/modern/Paper/Paper.js +4 -3
- package/modern/Popover/Popover.js +8 -3
- package/modern/Popper/Popper.js +3 -2
- package/modern/Radio/Radio.js +3 -3
- package/modern/Radio/RadioButtonIcon.js +0 -1
- package/modern/Rating/Rating.js +4 -2
- package/modern/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
- package/modern/Select/Select.js +1 -1
- package/modern/Select/SelectInput.js +3 -3
- package/modern/Skeleton/Skeleton.js +1 -1
- package/modern/Slide/Slide.js +3 -1
- package/modern/Slider/Slider.js +6 -7
- package/modern/Snackbar/Snackbar.js +3 -2
- package/modern/SnackbarContent/SnackbarContent.js +2 -2
- package/modern/SpeedDial/SpeedDial.js +4 -3
- package/modern/SpeedDialAction/SpeedDialAction.js +2 -2
- package/modern/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/modern/Step/Step.js +2 -2
- package/modern/StepButton/StepButton.js +1 -1
- package/modern/StepConnector/StepConnector.js +1 -1
- package/modern/StepContent/StepContent.js +2 -2
- package/modern/StepIcon/StepIcon.js +1 -1
- package/modern/StepLabel/StepLabel.js +1 -1
- package/modern/Stepper/Stepper.js +2 -2
- package/modern/SvgIcon/SvgIcon.js +1 -1
- package/modern/SwipeableDrawer/SwipeableDrawer.js +2 -2
- package/modern/Switch/Switch.js +3 -3
- package/modern/Tab/Tab.js +1 -1
- package/modern/TabScrollButton/TabScrollButton.js +2 -1
- package/modern/Table/Table.js +1 -1
- package/modern/TableBody/TableBody.js +1 -1
- package/modern/TableCell/TableCell.js +2 -2
- 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 +4 -2
- package/modern/TableRow/TableRow.js +2 -2
- package/modern/TableSortLabel/TableSortLabel.js +1 -1
- package/modern/Tabs/Tabs.js +3 -2
- package/modern/TextField/TextField.js +3 -2
- package/modern/ToggleButton/ToggleButton.js +2 -2
- package/modern/ToggleButtonGroup/ToggleButtonGroup.js +2 -2
- package/modern/Toolbar/Toolbar.js +1 -1
- package/modern/Tooltip/Tooltip.js +11 -11
- package/modern/Typography/Typography.js +2 -2
- package/modern/Zoom/Zoom.js +1 -1
- package/modern/index.js +1 -1
- package/modern/internal/SwitchBase.js +2 -3
- package/modern/styles/CssVarsProvider.js +2 -1
- package/modern/styles/createMuiStrictModeTheme.js +1 -1
- package/modern/styles/createPalette.js +2 -2
- package/modern/styles/createTheme.js +3 -2
- package/modern/styles/createTypography.js +1 -1
- package/modern/styles/experimental_extendTheme.js +4 -2
- package/modern/styles/styled.js +1 -1
- package/modern/styles/useThemeProps.js +1 -1
- package/modern/useMediaQuery/index.js +1 -3
- package/modern/useMediaQuery/useMediaQueryTheme.js +1 -1
- package/modern/usePagination/usePagination.js +1 -1
- package/modern/utils/capitalize.js +1 -1
- package/modern/utils/createChainedFunction.js +1 -1
- package/modern/utils/debounce.js +1 -1
- package/modern/utils/deprecatedPropType.js +1 -1
- package/modern/utils/getScrollbarSize.js +1 -1
- package/modern/utils/isMuiElement.js +1 -1
- package/modern/utils/ownerDocument.js +1 -1
- package/modern/utils/ownerWindow.js +1 -1
- package/modern/utils/requirePropFactory.js +1 -1
- package/modern/utils/setRef.js +1 -1
- package/modern/utils/shouldSpreadAdditionalProps.js +1 -1
- package/modern/utils/unsupportedProp.js +1 -1
- package/modern/utils/useControlled.js +1 -1
- package/modern/utils/useEnhancedEffect.js +1 -1
- package/modern/utils/useEventCallback.js +1 -1
- package/modern/utils/useForkRef.js +1 -1
- package/modern/utils/useId.js +1 -1
- package/modern/utils/useIsFocusVisible.js +1 -1
- package/modern/utils/useSlot.js +1 -1
- package/node/Accordion/Accordion.js +5 -6
- package/node/AccordionActions/AccordionActions.js +2 -2
- package/node/AccordionDetails/AccordionDetails.js +2 -2
- package/node/AccordionSummary/AccordionSummary.js +2 -2
- package/node/Alert/Alert.js +86 -64
- package/node/Alert/alertClasses.js +1 -1
- package/node/AlertTitle/AlertTitle.js +6 -6
- package/node/AppBar/AppBar.js +2 -2
- package/node/Autocomplete/Autocomplete.js +13 -10
- package/node/Avatar/Avatar.js +8 -8
- package/node/AvatarGroup/AvatarGroup.js +4 -4
- package/node/Backdrop/Backdrop.js +2 -2
- package/node/Badge/Badge.js +7 -7
- package/node/BottomNavigation/BottomNavigation.js +2 -2
- package/node/BottomNavigationAction/BottomNavigationAction.js +2 -2
- package/node/Breadcrumbs/BreadcrumbCollapsed.js +3 -3
- package/node/Breadcrumbs/Breadcrumbs.js +8 -7
- package/node/Button/Button.js +12 -12
- package/node/Button/buttonClasses.js +1 -1
- package/node/ButtonBase/ButtonBase.js +6 -5
- package/node/ButtonBase/Ripple.js +0 -1
- package/node/ButtonBase/TouchRipple.js +2 -3
- package/node/ButtonGroup/ButtonGroup.js +6 -6
- package/node/Card/Card.js +4 -4
- package/node/CardActionArea/CardActionArea.js +2 -2
- package/node/CardActions/CardActions.js +2 -2
- package/node/CardContent/CardContent.js +2 -2
- package/node/CardHeader/CardHeader.js +2 -2
- package/node/CardMedia/CardMedia.js +4 -4
- package/node/Checkbox/Checkbox.js +6 -6
- package/node/Chip/Chip.js +13 -13
- package/node/CircularProgress/CircularProgress.js +4 -4
- package/node/Collapse/Collapse.js +15 -12
- package/node/Dialog/Dialog.js +5 -5
- package/node/DialogActions/DialogActions.js +2 -2
- package/node/DialogContent/DialogContent.js +2 -2
- package/node/DialogContentText/DialogContentText.js +2 -2
- package/node/DialogTitle/DialogTitle.js +2 -2
- package/node/Divider/Divider.js +4 -4
- package/node/Drawer/Drawer.js +4 -4
- package/node/Fab/Fab.js +2 -2
- package/node/Fade/Fade.js +6 -6
- package/node/FilledInput/FilledInput.js +6 -5
- package/node/FormControl/FormControl.js +2 -2
- package/node/FormControlLabel/FormControlLabel.js +4 -4
- package/node/FormGroup/FormGroup.js +2 -2
- package/node/FormHelperText/FormHelperText.js +2 -2
- package/node/FormLabel/FormLabel.js +2 -2
- package/node/Grid/Grid.js +4 -3
- package/node/Grow/Grow.js +8 -7
- package/node/Hidden/HiddenCss.js +2 -2
- package/node/Hidden/HiddenJs.js +2 -2
- package/node/Hidden/withWidth.js +4 -4
- package/node/Icon/Icon.js +2 -2
- package/node/IconButton/IconButton.js +9 -9
- package/node/ImageList/ImageList.js +4 -4
- package/node/ImageListItem/ImageListItem.js +5 -5
- package/node/ImageListItemBar/ImageListItemBar.js +2 -2
- package/node/Input/Input.js +6 -5
- package/node/InputAdornment/InputAdornment.js +2 -2
- package/node/InputBase/InputBase.js +9 -6
- package/node/InputLabel/InputLabel.js +2 -2
- package/node/LinearProgress/LinearProgress.js +4 -3
- package/node/Link/Link.js +4 -4
- package/node/Link/getTextDecoration.js +2 -1
- package/node/List/List.js +2 -2
- package/node/ListItem/ListItem.js +14 -12
- package/node/ListItemAvatar/ListItemAvatar.js +2 -2
- package/node/ListItemButton/ListItemButton.js +7 -7
- package/node/ListItemIcon/ListItemIcon.js +2 -2
- package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +2 -2
- package/node/ListItemText/ListItemText.js +2 -2
- package/node/ListSubheader/ListSubheader.js +2 -2
- package/node/Menu/Menu.js +5 -5
- package/node/MenuItem/MenuItem.js +7 -7
- package/node/MobileStepper/MobileStepper.js +5 -5
- package/node/Modal/Modal.js +9 -8
- package/node/NativeSelect/NativeSelect.js +2 -2
- package/node/NativeSelect/NativeSelectInput.js +4 -5
- package/node/OutlinedInput/NotchedOutline.js +0 -1
- package/node/OutlinedInput/OutlinedInput.js +4 -4
- package/node/Pagination/Pagination.js +8 -8
- package/node/PaginationItem/PaginationItem.js +9 -9
- package/node/Paper/Paper.js +7 -6
- package/node/Popover/Popover.js +17 -12
- package/node/Popper/Popper.js +7 -6
- package/node/Radio/Radio.js +6 -6
- package/node/Radio/RadioButtonIcon.js +0 -1
- package/node/Rating/Rating.js +16 -14
- package/node/ScopedCssBaseline/ScopedCssBaseline.js +2 -2
- package/node/Select/Select.js +2 -2
- package/node/Select/SelectInput.js +8 -8
- package/node/Skeleton/Skeleton.js +2 -2
- package/node/Slide/Slide.js +12 -10
- package/node/Slider/Slider.js +23 -24
- package/node/Snackbar/Snackbar.js +5 -4
- package/node/SnackbarContent/SnackbarContent.js +4 -4
- package/node/SpeedDial/SpeedDial.js +7 -6
- package/node/SpeedDialAction/SpeedDialAction.js +4 -4
- package/node/SpeedDialIcon/SpeedDialIcon.js +2 -2
- package/node/Step/Step.js +4 -4
- package/node/StepButton/StepButton.js +2 -2
- package/node/StepConnector/StepConnector.js +2 -2
- package/node/StepContent/StepContent.js +3 -3
- package/node/StepIcon/StepIcon.js +2 -2
- package/node/StepLabel/StepLabel.js +2 -2
- package/node/Stepper/Stepper.js +4 -4
- package/node/SvgIcon/SvgIcon.js +2 -2
- package/node/SwipeableDrawer/SwipeableDrawer.js +7 -7
- package/node/Switch/Switch.js +8 -8
- package/node/Tab/Tab.js +2 -2
- package/node/TabScrollButton/TabScrollButton.js +5 -4
- package/node/Table/Table.js +2 -2
- package/node/TableBody/TableBody.js +2 -2
- package/node/TableCell/TableCell.js +4 -4
- package/node/TableContainer/TableContainer.js +2 -2
- package/node/TableFooter/TableFooter.js +2 -2
- package/node/TableHead/TableHead.js +2 -2
- package/node/TablePagination/TablePagination.js +9 -7
- package/node/TableRow/TableRow.js +5 -5
- package/node/TableSortLabel/TableSortLabel.js +2 -2
- package/node/Tabs/Tabs.js +7 -6
- package/node/TextField/TextField.js +6 -5
- package/node/ToggleButton/ToggleButton.js +4 -4
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +4 -4
- package/node/Toolbar/Toolbar.js +2 -2
- package/node/Tooltip/Tooltip.js +24 -24
- package/node/Typography/Typography.js +4 -4
- package/node/Zoom/Zoom.js +6 -6
- package/node/index.js +1 -1
- package/node/internal/SwitchBase.js +4 -5
- package/node/styles/CssVarsProvider.js +2 -1
- package/node/styles/createMuiStrictModeTheme.js +2 -2
- package/node/styles/createPalette.js +7 -7
- package/node/styles/createTheme.js +11 -8
- package/node/styles/createTypography.js +2 -2
- package/node/styles/experimental_extendTheme.js +74 -70
- package/node/styles/styled.js +6 -4
- package/node/styles/useThemeProps.js +2 -2
- package/node/useMediaQuery/index.js +1 -2
- package/node/useMediaQuery/useMediaQueryTheme.js +1 -1
- package/node/usePagination/usePagination.js +2 -2
- package/node/utils/capitalize.js +3 -2
- package/node/utils/createChainedFunction.js +3 -2
- package/node/utils/debounce.js +3 -2
- package/node/utils/deprecatedPropType.js +3 -2
- package/node/utils/getScrollbarSize.js +3 -2
- package/node/utils/isMuiElement.js +3 -2
- package/node/utils/ownerDocument.js +3 -2
- package/node/utils/ownerWindow.js +3 -2
- package/node/utils/requirePropFactory.js +3 -2
- package/node/utils/setRef.js +3 -2
- package/node/utils/shouldSpreadAdditionalProps.js +2 -2
- package/node/utils/unsupportedProp.js +3 -2
- package/node/utils/useControlled.js +3 -2
- package/node/utils/useEnhancedEffect.js +3 -2
- package/node/utils/useEventCallback.js +3 -2
- package/node/utils/useForkRef.js +3 -2
- package/node/utils/useId.js +3 -2
- package/node/utils/useIsFocusVisible.js +3 -2
- package/node/utils/useSlot.js +6 -6
- package/package.json +5 -5
- package/styles/CssVarsProvider.js +2 -1
- package/styles/createMuiStrictModeTheme.js +1 -1
- package/styles/createPalette.js +2 -2
- package/styles/createTheme.js +3 -2
- package/styles/createTypography.js +1 -1
- package/styles/experimental_extendTheme.js +4 -2
- package/styles/styled.js +1 -1
- package/styles/useThemeProps.js +1 -1
- package/styles/variants.d.ts +7 -1
- package/umd/material-ui.development.js +3327 -3314
- package/umd/material-ui.production.min.js +3 -3
- package/useMediaQuery/index.d.ts +2 -2
- package/useMediaQuery/index.js +1 -3
- package/useMediaQuery/useMediaQueryTheme.d.ts +1 -1
- package/useMediaQuery/useMediaQueryTheme.js +1 -1
- package/usePagination/usePagination.js +1 -1
- package/utils/capitalize.d.ts +1 -1
- package/utils/capitalize.js +1 -1
- package/utils/createChainedFunction.d.ts +1 -1
- package/utils/createChainedFunction.js +1 -1
- package/utils/debounce.d.ts +1 -1
- package/utils/debounce.js +1 -1
- package/utils/deprecatedPropType.d.ts +1 -1
- package/utils/deprecatedPropType.js +1 -1
- package/utils/getScrollbarSize.d.ts +1 -1
- package/utils/getScrollbarSize.js +1 -1
- package/utils/isMuiElement.d.ts +1 -1
- package/utils/isMuiElement.js +1 -1
- package/utils/ownerDocument.d.ts +1 -1
- package/utils/ownerDocument.js +1 -1
- package/utils/ownerWindow.d.ts +1 -1
- package/utils/ownerWindow.js +1 -1
- package/utils/requirePropFactory.d.ts +1 -1
- package/utils/requirePropFactory.js +1 -1
- package/utils/setRef.d.ts +1 -1
- package/utils/setRef.js +1 -1
- package/utils/shouldSpreadAdditionalProps.js +1 -1
- package/utils/unsupportedProp.d.ts +1 -1
- package/utils/unsupportedProp.js +1 -1
- package/utils/useControlled.d.ts +1 -1
- package/utils/useControlled.js +1 -1
- package/utils/useEnhancedEffect.d.ts +1 -1
- package/utils/useEnhancedEffect.js +1 -1
- package/utils/useEventCallback.d.ts +1 -1
- package/utils/useEventCallback.js +1 -1
- package/utils/useForkRef.d.ts +1 -1
- package/utils/useForkRef.js +1 -1
- package/utils/useId.d.ts +1 -1
- package/utils/useId.js +1 -1
- package/utils/useIsFocusVisible.d.ts +1 -1
- package/utils/useIsFocusVisible.js +1 -1
- package/utils/useSlot.js +1 -1
- package/legacy/useMediaQuery/useMediaQuery.js +0 -144
- package/modern/useMediaQuery/useMediaQuery.js +0 -125
- package/node/useMediaQuery/useMediaQuery.js +0 -132
- package/useMediaQuery/useMediaQuery.d.ts +0 -46
- package/useMediaQuery/useMediaQuery.js +0 -125
package/Card/Card.js
CHANGED
|
@@ -6,8 +6,8 @@ const _excluded = ["className", "raised"];
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import
|
|
10
|
-
import
|
|
9
|
+
import chainPropTypes from '@mui/utils/chainPropTypes';
|
|
10
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
11
11
|
import styled from '../styles/styled';
|
|
12
12
|
import useThemeProps from '../styles/useThemeProps';
|
|
13
13
|
import Paper from '../Paper';
|
|
@@ -6,7 +6,7 @@ const _excluded = ["children", "className", "focusVisibleClassName"];
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import
|
|
9
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import useThemeProps from '../styles/useThemeProps';
|
|
11
11
|
import styled from '../styles/styled';
|
|
12
12
|
import cardActionAreaClasses, { getCardActionAreaUtilityClass } from './cardActionAreaClasses';
|
|
@@ -6,7 +6,7 @@ const _excluded = ["disableSpacing", "className"];
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import
|
|
9
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import styled from '../styles/styled';
|
|
11
11
|
import useThemeProps from '../styles/useThemeProps';
|
|
12
12
|
import { getCardActionsUtilityClass } from './cardActionsClasses';
|
|
@@ -6,7 +6,7 @@ const _excluded = ["className", "component"];
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import
|
|
9
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import styled from '../styles/styled';
|
|
11
11
|
import useThemeProps from '../styles/useThemeProps';
|
|
12
12
|
import { getCardContentUtilityClass } from './cardContentClasses';
|
package/CardHeader/CardHeader.js
CHANGED
|
@@ -6,7 +6,7 @@ const _excluded = ["action", "avatar", "className", "component", "disableTypogra
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import
|
|
9
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import Typography from '../Typography';
|
|
11
11
|
import useThemeProps from '../styles/useThemeProps';
|
|
12
12
|
import styled from '../styles/styled';
|
package/CardMedia/CardMedia.js
CHANGED
|
@@ -6,8 +6,8 @@ const _excluded = ["children", "className", "component", "image", "src", "style"
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import
|
|
10
|
-
import
|
|
9
|
+
import chainPropTypes from '@mui/utils/chainPropTypes';
|
|
10
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
11
11
|
import useThemeProps from '../styles/useThemeProps';
|
|
12
12
|
import styled from '../styles/styled';
|
|
13
13
|
import { getCardMediaUtilityClass } from './cardMediaClasses';
|
package/Checkbox/Checkbox.d.ts
CHANGED
|
@@ -91,7 +91,7 @@ export interface CheckboxProps
|
|
|
91
91
|
* `small` is equivalent to the dense checkbox styling.
|
|
92
92
|
* @default 'medium'
|
|
93
93
|
*/
|
|
94
|
-
size?: OverridableStringUnion<'small' | 'medium', CheckboxPropsSizeOverrides>;
|
|
94
|
+
size?: OverridableStringUnion<'small' | 'medium' | 'large', CheckboxPropsSizeOverrides>;
|
|
95
95
|
/**
|
|
96
96
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
97
97
|
*/
|
package/Checkbox/Checkbox.js
CHANGED
|
@@ -6,9 +6,9 @@ const _excluded = ["checkedIcon", "color", "icon", "indeterminate", "indetermina
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { alpha } from '@mui/system';
|
|
9
|
+
import refType from '@mui/utils/refType';
|
|
10
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
11
|
+
import { alpha } from '@mui/system/colorManipulator';
|
|
12
12
|
import SwitchBase from '../internal/SwitchBase';
|
|
13
13
|
import CheckBoxOutlineBlankIcon from '../internal/svg-icons/CheckBoxOutlineBlank';
|
|
14
14
|
import CheckBoxIcon from '../internal/svg-icons/CheckBox';
|
package/Chip/Chip.js
CHANGED
|
@@ -6,8 +6,8 @@ const _excluded = ["avatar", "className", "clickable", "color", "component", "de
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import
|
|
10
|
-
import { alpha } from '@mui/system';
|
|
9
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
10
|
+
import { alpha } from '@mui/system/colorManipulator';
|
|
11
11
|
import CancelIcon from '../internal/svg-icons/Cancel';
|
|
12
12
|
import useForkRef from '../utils/useForkRef';
|
|
13
13
|
import unsupportedProp from '../utils/unsupportedProp';
|
package/Chip/chipClasses.d.ts
CHANGED
|
@@ -21,71 +21,123 @@ export interface ChipClasses {
|
|
|
21
21
|
disabled: string;
|
|
22
22
|
/** Styles applied to the root element if `onClick` is defined or `clickable={true}`. */
|
|
23
23
|
clickable: string;
|
|
24
|
-
/** Styles applied to the root element if `onClick` and `color="primary"` is defined or `clickable={true}`.
|
|
24
|
+
/** Styles applied to the root element if `onClick` and `color="primary"` is defined or `clickable={true}`.
|
|
25
|
+
* @deprecated Combine the [.MuiChip-clickable](/material-ui/api/chip/#chip-classes-clickable) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
26
|
+
*/
|
|
25
27
|
clickableColorPrimary: string;
|
|
26
|
-
/** Styles applied to the root element if `onClick` and `color="secondary"` is defined or `clickable={true}`.
|
|
28
|
+
/** Styles applied to the root element if `onClick` and `color="secondary"` is defined or `clickable={true}`.
|
|
29
|
+
* @deprecated Combine the [.MuiChip-clickable](/material-ui/api/chip/#chip-classes-clickable) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
30
|
+
*/
|
|
27
31
|
clickableColorSecondary: string;
|
|
28
32
|
/** Styles applied to the root element if `onDelete` is defined. */
|
|
29
33
|
deletable: string;
|
|
30
|
-
/** Styles applied to the root element if `onDelete` and `color="primary"` is defined.
|
|
34
|
+
/** Styles applied to the root element if `onDelete` and `color="primary"` is defined.
|
|
35
|
+
* @deprecated Combine the [.MuiChip-deletable](/material-ui/api/chip/#chip-classes-deletable) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
36
|
+
*/
|
|
31
37
|
deletableColorPrimary: string;
|
|
32
|
-
/** Styles applied to the root element if `onDelete` and `color="secondary"` is defined.
|
|
38
|
+
/** Styles applied to the root element if `onDelete` and `color="secondary"` is defined.
|
|
39
|
+
* @deprecated Combine the [.MuiChip-deletable](/material-ui/api/chip/#chip-classes-deletable) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
40
|
+
*/
|
|
33
41
|
deletableColorSecondary: string;
|
|
34
42
|
/** Styles applied to the root element if `variant="outlined"`. */
|
|
35
43
|
outlined: string;
|
|
36
44
|
/** Styles applied to the root element if `variant="filled"`. */
|
|
37
45
|
filled: string;
|
|
38
|
-
/** Styles applied to the root element if `variant="outlined"` and `color="primary"`.
|
|
46
|
+
/** Styles applied to the root element if `variant="outlined"` and `color="primary"`.
|
|
47
|
+
* @deprecated Combine the [.MuiChip-outlined](/material-ui/api/chip/#chip-classes-outlined) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
48
|
+
*/
|
|
39
49
|
outlinedPrimary: string;
|
|
40
|
-
/** Styles applied to the root element if `variant="outlined"` and `color="secondary"`.
|
|
50
|
+
/** Styles applied to the root element if `variant="outlined"` and `color="secondary"`.
|
|
51
|
+
* @deprecated Combine the [.MuiChip-outlined](/material-ui/api/chip/#chip-classes-outlined) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
52
|
+
*/
|
|
41
53
|
outlinedSecondary: string;
|
|
42
|
-
/** Styles applied to the root element if `variant="filled"` and `color="primary"`.
|
|
54
|
+
/** Styles applied to the root element if `variant="filled"` and `color="primary"`.
|
|
55
|
+
* @deprecated Combine the [.MuiChip-filled](/material-ui/api/chip/#chip-classes-filled) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
56
|
+
*/
|
|
43
57
|
filledPrimary: string;
|
|
44
|
-
/** Styles applied to the root element if `variant="filled"` and `color="secondary"`.
|
|
58
|
+
/** Styles applied to the root element if `variant="filled"` and `color="secondary"`.
|
|
59
|
+
* @deprecated Combine the [.MuiChip-filled](/material-ui/api/chip/#chip-classes-filled) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
60
|
+
*/
|
|
45
61
|
filledSecondary: string;
|
|
46
62
|
/** Styles applied to the avatar element. */
|
|
47
63
|
avatar: string;
|
|
48
|
-
/** Styles applied to the avatar element if `size="small"`.
|
|
64
|
+
/** Styles applied to the avatar element if `size="small"`.
|
|
65
|
+
* @deprecated Combine the [.MuiChip-avatar](/material-ui/api/chip/#chip-classes-avatar) and [.MuiChip-sizeSmall](/material-ui/api/chip/#chip-classes-sizeSmall) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
66
|
+
*/
|
|
49
67
|
avatarSmall: string;
|
|
50
|
-
/** Styles applied to the avatar element if `size="medium"`.
|
|
68
|
+
/** Styles applied to the avatar element if `size="medium"`.
|
|
69
|
+
* @deprecated Combine the [.MuiChip-avatar](/material-ui/api/chip/#chip-classes-avatar) and [.MuiChip-sizeMedium](/material-ui/api/chip/#chip-classes-sizeMedium) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
70
|
+
*/
|
|
51
71
|
avatarMedium: string;
|
|
52
|
-
/** Styles applied to the avatar element if `color="primary"`.
|
|
72
|
+
/** Styles applied to the avatar element if `color="primary"`.
|
|
73
|
+
* @deprecated Combine the [.MuiChip-avatar](/material-ui/api/chip/#chip-classes-avatar) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
74
|
+
*/
|
|
53
75
|
avatarColorPrimary: string;
|
|
54
|
-
/** Styles applied to the avatar element if `color="secondary"`.
|
|
76
|
+
/** Styles applied to the avatar element if `color="secondary"`.
|
|
77
|
+
* @deprecated Combine the [.MuiChip-avatar](/material-ui/api/chip/#chip-classes-avatar) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
78
|
+
*/
|
|
55
79
|
avatarColorSecondary: string;
|
|
56
80
|
/** Styles applied to the icon element. */
|
|
57
81
|
icon: string;
|
|
58
|
-
/** Styles applied to the icon element if `size="small"`.
|
|
82
|
+
/** Styles applied to the icon element if `size="small"`.
|
|
83
|
+
* @deprecated Combine the [.MuiChip-icon](/material-ui/api/chip/#chip-classes-icon) and [.MuiChip-sizeSmall](/material-ui/api/chip/#chip-classes-sizeSmall) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
84
|
+
*/
|
|
59
85
|
iconSmall: string;
|
|
60
|
-
/** Styles applied to the icon element if `size="medium"`.
|
|
86
|
+
/** Styles applied to the icon element if `size="medium"`.
|
|
87
|
+
* @deprecated Combine the [.MuiChip-icon](/material-ui/api/chip/#chip-classes-icon) and [.MuiChip-sizeMedium](/material-ui/api/chip/#chip-classes-sizeMedium) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
88
|
+
*/
|
|
61
89
|
iconMedium: string;
|
|
62
|
-
/** Styles applied to the icon element if `color="primary"`.
|
|
90
|
+
/** Styles applied to the icon element if `color="primary"`.
|
|
91
|
+
* @deprecated Combine the [.MuiChip-icon](/material-ui/api/chip/#chip-classes-icon) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
92
|
+
*/
|
|
63
93
|
iconColorPrimary: string;
|
|
64
|
-
/** Styles applied to the icon element if `color="secondary"`.
|
|
94
|
+
/** Styles applied to the icon element if `color="secondary"`.
|
|
95
|
+
* @deprecated Combine the [.MuiChip-icon](/material-ui/api/chip/#chip-classes-icon) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
96
|
+
*/
|
|
65
97
|
iconColorSecondary: string;
|
|
66
98
|
/** Styles applied to the label `span` element. */
|
|
67
99
|
label: string;
|
|
68
|
-
/** Styles applied to the label `span` element if `size="small"`.
|
|
100
|
+
/** Styles applied to the label `span` element if `size="small"`.
|
|
101
|
+
* @deprecated Combine the [.MuiChip-label](/material-ui/api/chip/#chip-classes-label) and [.MuiChip-sizeSmall](/material-ui/api/chip/#chip-classes-sizeSmall) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
102
|
+
*/
|
|
69
103
|
labelSmall: string;
|
|
70
|
-
/** Styles applied to the label `span` element if `size="medium"`.
|
|
104
|
+
/** Styles applied to the label `span` element if `size="medium"`.
|
|
105
|
+
* @deprecated Combine the [.MuiChip-label](/material-ui/api/chip/#chip-classes-label) and [.MuiChip-sizeMedium](/material-ui/api/chip/#chip-classes-sizeMedium) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
106
|
+
*/
|
|
71
107
|
labelMedium: string;
|
|
72
108
|
/** Styles applied to the deleteIcon element. */
|
|
73
109
|
deleteIcon: string;
|
|
74
|
-
/** Styles applied to the deleteIcon element if `size="small"`.
|
|
110
|
+
/** Styles applied to the deleteIcon element if `size="small"`.
|
|
111
|
+
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) and [.MuiChip-sizeSmall](/material-ui/api/chip/#chip-classes-sizeSmall) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
112
|
+
*/
|
|
75
113
|
deleteIconSmall: string;
|
|
76
|
-
/** Styles applied to the deleteIcon element if `size="medium"`.
|
|
114
|
+
/** Styles applied to the deleteIcon element if `size="medium"`.
|
|
115
|
+
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) and [.MuiChip-sizeMedium](/material-ui/api/chip/#chip-classes-sizeMedium) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
116
|
+
*/
|
|
77
117
|
deleteIconMedium: string;
|
|
78
|
-
/** Styles applied to the deleteIcon element if `color="primary"
|
|
118
|
+
/** Styles applied to the deleteIcon element if `color="primary"`.
|
|
119
|
+
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
120
|
+
*/
|
|
79
121
|
deleteIconColorPrimary: string;
|
|
80
|
-
/** Styles applied to the deleteIcon element if `color="secondary"
|
|
122
|
+
/** Styles applied to the deleteIcon element if `color="secondary"`.
|
|
123
|
+
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
124
|
+
*/
|
|
81
125
|
deleteIconColorSecondary: string;
|
|
82
|
-
/** Styles applied to the deleteIcon element if `color="primary"` and `variant="outlined"`.
|
|
126
|
+
/** Styles applied to the deleteIcon element if `color="primary"` and `variant="outlined"`.
|
|
127
|
+
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) , [.MuiChip-outlined](/material-ui/api/chip/#chip-classes-outlined) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
128
|
+
*/
|
|
83
129
|
deleteIconOutlinedColorPrimary: string;
|
|
84
|
-
/** Styles applied to the deleteIcon element if `color="secondary"` and `variant="outlined"`.
|
|
130
|
+
/** Styles applied to the deleteIcon element if `color="secondary"` and `variant="outlined"`.
|
|
131
|
+
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) , [.MuiChip-outlined](/material-ui/api/chip/#chip-classes-outlined) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
132
|
+
*/
|
|
85
133
|
deleteIconOutlinedColorSecondary: string;
|
|
86
|
-
/** Styles applied to the deleteIcon element if `color="primary"` and `variant="filled"`.
|
|
134
|
+
/** Styles applied to the deleteIcon element if `color="primary"` and `variant="filled"`.
|
|
135
|
+
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) , [.MuiChip-filled](/material-ui/api/chip/#chip-classes-filled) and [.MuiChip-colorPrimary](/material-ui/api/chip/#chip-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
136
|
+
*/
|
|
87
137
|
deleteIconFilledColorPrimary: string;
|
|
88
|
-
/** Styles applied to the deleteIcon element if `color="secondary"` and `variant="filled"`.
|
|
138
|
+
/** Styles applied to the deleteIcon element if `color="secondary"` and `variant="filled"`.
|
|
139
|
+
* @deprecated Combine the [.MuiChip-deleteIcon](/material-ui/api/chip/#chip-classes-deleteIcon) , [.MuiChip-filled](/material-ui/api/chip/#chip-classes-filled) and [.MuiChip-colorSecondary](/material-ui/api/chip/#chip-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
140
|
+
*/
|
|
89
141
|
deleteIconFilledColorSecondary: string;
|
|
90
142
|
/** State class applied to the root element if keyboard focused. */
|
|
91
143
|
focusVisible: string;
|
|
@@ -11,8 +11,8 @@ let _ = t => t,
|
|
|
11
11
|
import * as React from 'react';
|
|
12
12
|
import PropTypes from 'prop-types';
|
|
13
13
|
import clsx from 'clsx';
|
|
14
|
-
import
|
|
15
|
-
import
|
|
14
|
+
import chainPropTypes from '@mui/utils/chainPropTypes';
|
|
15
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
16
16
|
import { keyframes, css } from '@mui/system';
|
|
17
17
|
import capitalize from '../utils/capitalize';
|
|
18
18
|
import useThemeProps from '../styles/useThemeProps';
|
package/Collapse/Collapse.d.ts
CHANGED
|
@@ -66,7 +66,7 @@ export interface CollapseProps extends StandardProps<TransitionProps, 'timeout'>
|
|
|
66
66
|
* API:
|
|
67
67
|
*
|
|
68
68
|
* - [Collapse API](https://mui.com/material-ui/api/collapse/)
|
|
69
|
-
* - inherits [Transition API](
|
|
69
|
+
* - inherits [Transition API](https://reactcommunity.org/react-transition-group/transition/#Transition-props)
|
|
70
70
|
*/
|
|
71
71
|
|
|
72
72
|
export default function Collapse(props: CollapseProps): JSX.Element;
|
package/Collapse/Collapse.js
CHANGED
|
@@ -7,8 +7,9 @@ import * as React from 'react';
|
|
|
7
7
|
import clsx from 'clsx';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import { Transition } from 'react-transition-group';
|
|
10
|
-
import
|
|
11
|
-
import
|
|
10
|
+
import useTimeout from '@mui/utils/useTimeout';
|
|
11
|
+
import elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';
|
|
12
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
12
13
|
import styled from '../styles/styled';
|
|
13
14
|
import useThemeProps from '../styles/useThemeProps';
|
|
14
15
|
import { duration } from '../styles/createTransitions';
|
|
@@ -253,11 +254,13 @@ const Collapse = /*#__PURE__*/React.forwardRef(function Collapse(inProps, ref) {
|
|
|
253
254
|
style: _extends({
|
|
254
255
|
[isHorizontal ? 'minWidth' : 'minHeight']: collapsedSize
|
|
255
256
|
}, style),
|
|
257
|
+
ref: handleRef
|
|
258
|
+
}, childProps, {
|
|
259
|
+
// `ownerState` is set after `childProps` to override any existing `ownerState` property in `childProps`
|
|
260
|
+
// that might have been forwarded from the Transition component.
|
|
256
261
|
ownerState: _extends({}, ownerState, {
|
|
257
262
|
state
|
|
258
263
|
}),
|
|
259
|
-
ref: handleRef
|
|
260
|
-
}, childProps, {
|
|
261
264
|
children: /*#__PURE__*/_jsx(CollapseWrapper, {
|
|
262
265
|
ownerState: _extends({}, ownerState, {
|
|
263
266
|
state
|
package/Dialog/Dialog.d.ts
CHANGED
|
@@ -101,7 +101,7 @@ export interface DialogProps extends StandardProps<ModalProps, 'children'> {
|
|
|
101
101
|
transitionDuration?: TransitionProps['timeout'];
|
|
102
102
|
/**
|
|
103
103
|
* Props applied to the transition element.
|
|
104
|
-
* By default, the element is based on this [`Transition`](
|
|
104
|
+
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
105
105
|
*/
|
|
106
106
|
TransitionProps?: TransitionProps;
|
|
107
107
|
}
|
package/Dialog/Dialog.js
CHANGED
|
@@ -6,8 +6,8 @@ const _excluded = ["aria-describedby", "aria-labelledby", "BackdropComponent", "
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import
|
|
10
|
-
import
|
|
9
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
10
|
+
import useId from '@mui/utils/useId';
|
|
11
11
|
import capitalize from '../utils/capitalize';
|
|
12
12
|
import Modal from '../Modal';
|
|
13
13
|
import Fade from '../Fade';
|
|
@@ -385,7 +385,7 @@ process.env.NODE_ENV !== "production" ? Dialog.propTypes /* remove-proptypes */
|
|
|
385
385
|
})]),
|
|
386
386
|
/**
|
|
387
387
|
* Props applied to the transition element.
|
|
388
|
-
* By default, the element is based on this [`Transition`](
|
|
388
|
+
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
389
389
|
*/
|
|
390
390
|
TransitionProps: PropTypes.object
|
|
391
391
|
} : void 0;
|
|
@@ -6,7 +6,7 @@ const _excluded = ["className", "disableSpacing"];
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import
|
|
9
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import styled from '../styles/styled';
|
|
11
11
|
import useThemeProps from '../styles/useThemeProps';
|
|
12
12
|
import { getDialogActionsUtilityClass } from './dialogActionsClasses';
|
|
@@ -6,7 +6,7 @@ const _excluded = ["className", "dividers"];
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import
|
|
9
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import styled from '../styles/styled';
|
|
11
11
|
import useThemeProps from '../styles/useThemeProps';
|
|
12
12
|
import { getDialogContentUtilityClass } from './dialogContentClasses';
|
|
@@ -6,7 +6,7 @@ const _excluded = ["children", "className"];
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import
|
|
9
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
11
11
|
import useThemeProps from '../styles/useThemeProps';
|
|
12
12
|
import Typography from '../Typography';
|
|
@@ -6,7 +6,7 @@ const _excluded = ["className", "id"];
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import
|
|
9
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import Typography from '../Typography';
|
|
11
11
|
import styled from '../styles/styled';
|
|
12
12
|
import useThemeProps from '../styles/useThemeProps';
|
package/Divider/Divider.js
CHANGED
|
@@ -6,8 +6,8 @@ const _excluded = ["absolute", "children", "className", "component", "flexItem",
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import
|
|
10
|
-
import { alpha } from '@mui/system';
|
|
9
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
10
|
+
import { alpha } from '@mui/system/colorManipulator';
|
|
11
11
|
import styled from '../styles/styled';
|
|
12
12
|
import useThemeProps from '../styles/useThemeProps';
|
|
13
13
|
import { getDividerUtilityClass } from './dividerClasses';
|
package/Drawer/Drawer.js
CHANGED
|
@@ -7,8 +7,8 @@ const _excluded = ["BackdropProps"],
|
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import clsx from 'clsx';
|
|
10
|
-
import
|
|
11
|
-
import
|
|
10
|
+
import integerPropType from '@mui/utils/integerPropType';
|
|
11
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
12
12
|
import Modal from '../Modal';
|
|
13
13
|
import Slide from '../Slide';
|
|
14
14
|
import Paper from '../Paper';
|
package/Fab/Fab.js
CHANGED
|
@@ -6,7 +6,7 @@ const _excluded = ["children", "className", "color", "component", "disabled", "d
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import
|
|
9
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import ButtonBase from '../ButtonBase';
|
|
11
11
|
import capitalize from '../utils/capitalize';
|
|
12
12
|
import useThemeProps from '../styles/useThemeProps';
|
package/Fade/Fade.d.ts
CHANGED
|
@@ -44,6 +44,6 @@ export interface FadeProps extends Omit<TransitionProps, 'children'> {
|
|
|
44
44
|
* API:
|
|
45
45
|
*
|
|
46
46
|
* - [Fade API](https://mui.com/material-ui/api/fade/)
|
|
47
|
-
* - inherits [Transition API](
|
|
47
|
+
* - inherits [Transition API](https://reactcommunity.org/react-transition-group/transition/#Transition-props)
|
|
48
48
|
*/
|
|
49
49
|
export default function Fade(props: FadeProps): JSX.Element;
|
package/Fade/Fade.js
CHANGED
|
@@ -6,7 +6,7 @@ const _excluded = ["addEndListener", "appear", "children", "easing", "in", "onEn
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import { Transition } from 'react-transition-group';
|
|
9
|
-
import
|
|
9
|
+
import elementAcceptingRef from '@mui/utils/elementAcceptingRef';
|
|
10
10
|
import useTheme from '../styles/useTheme';
|
|
11
11
|
import { reflow, getTransitionProps } from '../transitions/utils';
|
|
12
12
|
import useForkRef from '../utils/useForkRef';
|
|
@@ -4,9 +4,10 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWith
|
|
|
4
4
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
5
5
|
const _excluded = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "slotProps", "slots", "type"];
|
|
6
6
|
import * as React from 'react';
|
|
7
|
-
import
|
|
7
|
+
import deepmerge from '@mui/utils/deepmerge';
|
|
8
|
+
import refType from '@mui/utils/refType';
|
|
8
9
|
import PropTypes from 'prop-types';
|
|
9
|
-
import
|
|
10
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
10
11
|
import InputBase from '../InputBase';
|
|
11
12
|
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
12
13
|
import useThemeProps from '../styles/useThemeProps';
|
|
@@ -6,7 +6,7 @@ const _excluded = ["children", "className", "color", "component", "disabled", "e
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import
|
|
9
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import useThemeProps from '../styles/useThemeProps';
|
|
11
11
|
import styled from '../styles/styled';
|
|
12
12
|
import { isFilled, isAdornedStart } from '../InputBase/utils';
|
|
@@ -6,8 +6,8 @@ const _excluded = ["checked", "className", "componentsProps", "control", "disabl
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import
|
|
10
|
-
import
|
|
9
|
+
import refType from '@mui/utils/refType';
|
|
10
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
11
11
|
import { useFormControl } from '../FormControl';
|
|
12
12
|
import Stack from '../Stack';
|
|
13
13
|
import Typography from '../Typography';
|
package/FormGroup/FormGroup.js
CHANGED
|
@@ -6,7 +6,7 @@ const _excluded = ["className", "row"];
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import
|
|
9
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import styled from '../styles/styled';
|
|
11
11
|
import useThemeProps from '../styles/useThemeProps';
|
|
12
12
|
import { getFormGroupUtilityClass } from './formGroupClasses';
|
|
@@ -7,7 +7,7 @@ const _excluded = ["children", "className", "component", "disabled", "error", "f
|
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import clsx from 'clsx';
|
|
10
|
-
import
|
|
10
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
11
11
|
import formControlState from '../FormControl/formControlState';
|
|
12
12
|
import useFormControl from '../FormControl/useFormControl';
|
|
13
13
|
import styled from '../styles/styled';
|
package/FormLabel/FormLabel.js
CHANGED
|
@@ -6,7 +6,7 @@ const _excluded = ["children", "className", "color", "component", "disabled", "e
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import
|
|
9
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import formControlState from '../FormControl/formControlState';
|
|
11
11
|
import useFormControl from '../FormControl/useFormControl';
|
|
12
12
|
import capitalize from '../utils/capitalize';
|
package/Grid/Grid.js
CHANGED
|
@@ -16,8 +16,9 @@ const _excluded = ["className", "columns", "columnSpacing", "component", "contai
|
|
|
16
16
|
import * as React from 'react';
|
|
17
17
|
import PropTypes from 'prop-types';
|
|
18
18
|
import clsx from 'clsx';
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
19
|
+
import { handleBreakpoints, unstable_resolveBreakpointValues as resolveBreakpointValues } from '@mui/system';
|
|
20
|
+
import { extendSxProp } from '@mui/system/styleFunctionSx';
|
|
21
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
21
22
|
import requirePropFactory from '../utils/requirePropFactory';
|
|
22
23
|
import styled from '../styles/styled';
|
|
23
24
|
import useThemeProps from '../styles/useThemeProps';
|
package/Grow/Grow.d.ts
CHANGED
|
@@ -45,6 +45,6 @@ export interface GrowProps extends Omit<TransitionProps, 'timeout'> {
|
|
|
45
45
|
* API:
|
|
46
46
|
*
|
|
47
47
|
* - [Grow API](https://mui.com/material-ui/api/grow/)
|
|
48
|
-
* - inherits [Transition API](
|
|
48
|
+
* - inherits [Transition API](https://reactcommunity.org/react-transition-group/transition/#Transition-props)
|
|
49
49
|
*/
|
|
50
50
|
export default function Grow(props: GrowProps): JSX.Element;
|
package/Grow/Grow.js
CHANGED
|
@@ -5,7 +5,8 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWith
|
|
|
5
5
|
const _excluded = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
|
-
import
|
|
8
|
+
import useTimeout from '@mui/utils/useTimeout';
|
|
9
|
+
import elementAcceptingRef from '@mui/utils/elementAcceptingRef';
|
|
9
10
|
import { Transition } from 'react-transition-group';
|
|
10
11
|
import useTheme from '../styles/useTheme';
|
|
11
12
|
import { getTransitionProps, reflow } from '../transitions/utils';
|
package/Hidden/HiddenCss.js
CHANGED
|
@@ -6,7 +6,7 @@ const _excluded = ["children", "className", "only"];
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import clsx from 'clsx';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
|
-
import
|
|
9
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import capitalize from '../utils/capitalize';
|
|
11
11
|
import styled from '../styles/styled';
|
|
12
12
|
import useTheme from '../styles/useTheme';
|
package/Hidden/HiddenJs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
|
-
import
|
|
5
|
+
import exactProp from '@mui/utils/exactProp';
|
|
6
6
|
import withWidth, { isWidthDown, isWidthUp } from './withWidth';
|
|
7
7
|
import useTheme from '../styles/useTheme';
|
|
8
8
|
|
package/Hidden/withWidth.js
CHANGED
|
@@ -3,8 +3,8 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWith
|
|
|
3
3
|
const _excluded = ["initialWidth", "width"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
|
-
import
|
|
7
|
-
import { getThemeProps } from '@mui/system';
|
|
6
|
+
import getDisplayName from '@mui/utils/getDisplayName';
|
|
7
|
+
import { getThemeProps } from '@mui/system/useThemeProps';
|
|
8
8
|
import useTheme from '../styles/useTheme';
|
|
9
9
|
import useEnhancedEffect from '../utils/useEnhancedEffect';
|
|
10
10
|
import useMediaQuery from '../useMediaQuery';
|
package/Icon/Icon.js
CHANGED
|
@@ -6,7 +6,7 @@ const _excluded = ["baseClassName", "className", "color", "component", "fontSize
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import
|
|
9
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import styled from '../styles/styled';
|
|
11
11
|
import useThemeProps from '../styles/useThemeProps';
|
|
12
12
|
import capitalize from '../utils/capitalize';
|