@mui/material 5.15.9 → 5.15.11
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 +26 -22
- package/AlertTitle/AlertTitle.js +1 -1
- package/AppBar/AppBar.js +1 -1
- package/Autocomplete/Autocomplete.js +7 -4
- package/Avatar/Avatar.d.ts +23 -1
- package/Avatar/Avatar.js +38 -11
- 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 +3 -3
- 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 +187 -23
- 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.js +3 -3
- package/Chip/Chip.js +2 -2
- 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/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.js +4 -3
- 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.d.ts +1 -1
- package/TableRow/TableRow.js +3 -3
- 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 +33 -22
- package/legacy/AlertTitle/AlertTitle.js +1 -1
- package/legacy/AppBar/AppBar.js +1 -1
- package/legacy/Autocomplete/Autocomplete.js +7 -4
- package/legacy/Avatar/Avatar.js +44 -11
- 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 +3 -3
- 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 +4 -3
- 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 +3 -3
- 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 +26 -21
- package/modern/AlertTitle/AlertTitle.js +1 -1
- package/modern/AppBar/AppBar.js +1 -1
- package/modern/Autocomplete/Autocomplete.js +7 -4
- package/modern/Avatar/Avatar.js +38 -11
- 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 +3 -3
- 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 +4 -3
- 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 +3 -3
- 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 +27 -23
- package/node/AlertTitle/AlertTitle.js +2 -2
- package/node/AppBar/AppBar.js +2 -2
- package/node/Autocomplete/Autocomplete.js +13 -10
- package/node/Avatar/Avatar.js +39 -12
- 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 +9 -9
- 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 +21 -20
- 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 +6 -6
- 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/umd/material-ui.development.js +5998 -5997
- 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/Popper/Popper.js
CHANGED
|
@@ -4,8 +4,9 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
4
4
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
5
5
|
const _excluded = ["anchorEl", "component", "components", "componentsProps", "container", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "transition", "slots", "slotProps"];
|
|
6
6
|
import { Popper as BasePopper } from '@mui/base/Popper';
|
|
7
|
-
import
|
|
8
|
-
import
|
|
7
|
+
import useTheme from '@mui/system/useThemeWithoutDefault';
|
|
8
|
+
import refType from '@mui/utils/refType';
|
|
9
|
+
import HTMLElementType from '@mui/utils/HTMLElementType';
|
|
9
10
|
import PropTypes from 'prop-types';
|
|
10
11
|
import * as React from 'react';
|
|
11
12
|
import { styled, useThemeProps } from '../styles';
|
package/Radio/Radio.js
CHANGED
|
@@ -6,9 +6,9 @@ const _excluded = ["checked", "checkedIcon", "color", "icon", "name", "onChange"
|
|
|
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 useThemeProps from '../styles/useThemeProps';
|
|
14
14
|
import RadioButtonIcon from './RadioButtonIcon';
|
package/Radio/RadioButtonIcon.js
CHANGED
package/Rating/Rating.js
CHANGED
|
@@ -7,8 +7,10 @@ const _excluded = ["value"],
|
|
|
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 clamp from '@mui/utils/clamp';
|
|
11
|
+
import visuallyHidden from '@mui/utils/visuallyHidden';
|
|
12
|
+
import chainPropTypes from '@mui/utils/chainPropTypes';
|
|
13
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
12
14
|
import useTheme from '../styles/useTheme';
|
|
13
15
|
import { capitalize, useForkRef, useIsFocusVisible, useControlled, unstable_useId as useId } from '../utils';
|
|
14
16
|
import Star from '../internal/svg-icons/Star';
|
|
@@ -6,7 +6,7 @@ const _excluded = ["className", "component", "enableColorScheme"];
|
|
|
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 { html, body } from '../CssBaseline/CssBaseline';
|
package/Select/Select.d.ts
CHANGED
|
@@ -6,12 +6,12 @@ import { MenuProps } from '../Menu';
|
|
|
6
6
|
import { SelectChangeEvent, SelectInputProps } from './SelectInput';
|
|
7
7
|
import { SelectClasses } from './selectClasses';
|
|
8
8
|
import { OutlinedInputProps } from '../OutlinedInput';
|
|
9
|
+
import { FilledInputProps } from '../FilledInput';
|
|
9
10
|
|
|
10
11
|
export { SelectChangeEvent };
|
|
11
12
|
|
|
12
|
-
export interface
|
|
13
|
-
extends StandardProps<InputProps, 'value' | 'onChange'
|
|
14
|
-
Omit<OutlinedInputProps, 'value' | 'onChange'> {
|
|
13
|
+
export interface BaseSelectProps<Value = unknown>
|
|
14
|
+
extends StandardProps<InputProps, 'value' | 'onChange'> {
|
|
15
15
|
/**
|
|
16
16
|
* If `true`, the width of the popover will automatically be set according to the items inside the
|
|
17
17
|
* menu, otherwise it will be at least the width of the select input.
|
|
@@ -148,9 +148,45 @@ export interface SelectProps<Value = unknown>
|
|
|
148
148
|
* The variant to use.
|
|
149
149
|
* @default 'outlined'
|
|
150
150
|
*/
|
|
151
|
-
variant?: '
|
|
151
|
+
variant?: 'filled' | 'standard' | 'outlined';
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
+
export interface FilledSelectProps extends Omit<FilledInputProps, 'value' | 'onChange'> {
|
|
155
|
+
/**
|
|
156
|
+
* The variant to use.
|
|
157
|
+
* @default 'outlined'
|
|
158
|
+
*/
|
|
159
|
+
variant: 'filled';
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export interface StandardSelectProps extends Omit<InputProps, 'value' | 'onChange'> {
|
|
163
|
+
/**
|
|
164
|
+
* The variant to use.
|
|
165
|
+
* @default 'outlined'
|
|
166
|
+
*/
|
|
167
|
+
variant: 'standard';
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export interface OutlinedSelectProps extends Omit<OutlinedInputProps, 'value' | 'onChange'> {
|
|
171
|
+
/**
|
|
172
|
+
* The variant to use.
|
|
173
|
+
* @default 'outlined'
|
|
174
|
+
*/
|
|
175
|
+
variant: 'outlined';
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export type SelectVariants = 'outlined' | 'standard' | 'filled';
|
|
179
|
+
|
|
180
|
+
export type SelectProps<
|
|
181
|
+
Value = unknown,
|
|
182
|
+
Variant extends SelectVariants = SelectVariants,
|
|
183
|
+
> = BaseSelectProps<Value> &
|
|
184
|
+
(Variant extends 'filled'
|
|
185
|
+
? FilledSelectProps
|
|
186
|
+
: Variant extends 'standard'
|
|
187
|
+
? StandardSelectProps
|
|
188
|
+
: OutlinedSelectProps);
|
|
189
|
+
|
|
154
190
|
/**
|
|
155
191
|
*
|
|
156
192
|
* Demos:
|
|
@@ -162,8 +198,15 @@ export interface SelectProps<Value = unknown>
|
|
|
162
198
|
* - [Select API](https://mui.com/material-ui/api/select/)
|
|
163
199
|
* - inherits [OutlinedInput API](https://mui.com/material-ui/api/outlined-input/)
|
|
164
200
|
*/
|
|
165
|
-
|
|
201
|
+
|
|
202
|
+
export default function Select<Value = unknown, Variant extends SelectVariants = 'outlined'>(
|
|
203
|
+
props: {
|
|
204
|
+
/**
|
|
205
|
+
* The variant to use.
|
|
206
|
+
* @default 'outlined'
|
|
207
|
+
*/
|
|
208
|
+
variant?: Variant;
|
|
209
|
+
} & Omit<SelectProps<Value, Variant>, 'variant'>,
|
|
210
|
+
): JSX.Element & {
|
|
166
211
|
muiName: string;
|
|
167
212
|
};
|
|
168
|
-
|
|
169
|
-
export default Select;
|
package/Select/Select.js
CHANGED
|
@@ -7,7 +7,7 @@ const _excluded = ["autoWidth", "children", "classes", "className", "defaultOpen
|
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import clsx from 'clsx';
|
|
10
|
-
import
|
|
10
|
+
import deepmerge from '@mui/utils/deepmerge';
|
|
11
11
|
import SelectInput from './SelectInput';
|
|
12
12
|
import formControlState from '../FormControl/formControlState';
|
|
13
13
|
import useFormControl from '../FormControl/useFormControl';
|
package/Select/SelectInput.js
CHANGED
|
@@ -9,8 +9,9 @@ import * as React from 'react';
|
|
|
9
9
|
import { isFragment } from 'react-is';
|
|
10
10
|
import PropTypes from 'prop-types';
|
|
11
11
|
import clsx from 'clsx';
|
|
12
|
-
import
|
|
13
|
-
import
|
|
12
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
13
|
+
import useId from '@mui/utils/useId';
|
|
14
|
+
import refType from '@mui/utils/refType';
|
|
14
15
|
import ownerDocument from '../utils/ownerDocument';
|
|
15
16
|
import capitalize from '../utils/capitalize';
|
|
16
17
|
import Menu from '../Menu/Menu';
|
|
@@ -534,7 +535,6 @@ process.env.NODE_ENV !== "production" ? SelectInput.propTypes = {
|
|
|
534
535
|
children: PropTypes.node,
|
|
535
536
|
/**
|
|
536
537
|
* Override or extend the styles applied to the component.
|
|
537
|
-
* See [CSS API](#css) below for more details.
|
|
538
538
|
*/
|
|
539
539
|
classes: PropTypes.object,
|
|
540
540
|
/**
|
package/Skeleton/Skeleton.js
CHANGED
|
@@ -12,7 +12,7 @@ import * as React from 'react';
|
|
|
12
12
|
import clsx from 'clsx';
|
|
13
13
|
import PropTypes from 'prop-types';
|
|
14
14
|
import { keyframes, css } from '@mui/system';
|
|
15
|
-
import
|
|
15
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
16
16
|
import { alpha, unstable_getUnit as getUnit, unstable_toUnitless as toUnitless } from '../styles';
|
|
17
17
|
import styled from '../styles/styled';
|
|
18
18
|
import useThemeProps from '../styles/useThemeProps';
|
package/Slide/Slide.d.ts
CHANGED
|
@@ -59,6 +59,6 @@ export interface SlideProps extends TransitionProps {
|
|
|
59
59
|
* API:
|
|
60
60
|
*
|
|
61
61
|
* - [Slide API](https://mui.com/material-ui/api/slide/)
|
|
62
|
-
* - inherits [Transition API](
|
|
62
|
+
* - inherits [Transition API](https://reactcommunity.org/react-transition-group/transition/#Transition-props)
|
|
63
63
|
*/
|
|
64
64
|
export default function Slide(props: SlideProps): JSX.Element;
|
package/Slide/Slide.js
CHANGED
|
@@ -6,7 +6,9 @@ const _excluded = ["addEndListener", "appear", "children", "container", "directi
|
|
|
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 chainPropTypes from '@mui/utils/chainPropTypes';
|
|
10
|
+
import HTMLElementType from '@mui/utils/HTMLElementType';
|
|
11
|
+
import elementAcceptingRef from '@mui/utils/elementAcceptingRef';
|
|
10
12
|
import debounce from '../utils/debounce';
|
|
11
13
|
import useForkRef from '../utils/useForkRef';
|
|
12
14
|
import useTheme from '../styles/useTheme';
|
package/Slider/Slider.js
CHANGED
|
@@ -6,10 +6,11 @@ const _excluded = ["aria-label", "aria-valuetext", "aria-labelledby", "component
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import
|
|
10
|
-
import { isHostComponent, useSlotProps
|
|
9
|
+
import chainPropTypes from '@mui/utils/chainPropTypes';
|
|
10
|
+
import { isHostComponent, useSlotProps } from '@mui/base/utils';
|
|
11
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
11
12
|
import { useSlider, valueToPercent } from '@mui/base/useSlider';
|
|
12
|
-
import { alpha, lighten, darken } from '@mui/system';
|
|
13
|
+
import { alpha, lighten, darken } from '@mui/system/colorManipulator';
|
|
13
14
|
import useThemeProps from '../styles/useThemeProps';
|
|
14
15
|
import styled, { slotShouldForwardProp } from '../styles/styled';
|
|
15
16
|
import useTheme from '../styles/useTheme';
|
package/Snackbar/Snackbar.d.ts
CHANGED
|
@@ -111,7 +111,7 @@ export interface SnackbarProps extends StandardProps<React.HTMLAttributes<HTMLDi
|
|
|
111
111
|
transitionDuration?: TransitionProps['timeout'];
|
|
112
112
|
/**
|
|
113
113
|
* Props applied to the transition element.
|
|
114
|
-
* By default, the element is based on this [`Transition`](
|
|
114
|
+
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
115
115
|
* @default {}
|
|
116
116
|
*/
|
|
117
117
|
TransitionProps?: TransitionProps;
|
package/Snackbar/Snackbar.js
CHANGED
|
@@ -6,7 +6,8 @@ const _excluded = ["onEnter", "onExited"],
|
|
|
6
6
|
_excluded2 = ["action", "anchorOrigin", "autoHideDuration", "children", "className", "ClickAwayListenerProps", "ContentProps", "disableWindowBlurListener", "message", "onBlur", "onClose", "onFocus", "onMouseEnter", "onMouseLeave", "open", "resumeHideDuration", "TransitionComponent", "transitionDuration", "TransitionProps"];
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
|
-
import {
|
|
9
|
+
import { useSlotProps } from '@mui/base/utils';
|
|
10
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
10
11
|
import { ClickAwayListener } from '@mui/base/ClickAwayListener';
|
|
11
12
|
import { useSnackbar } from '@mui/base/useSnackbar';
|
|
12
13
|
import styled from '../styles/styled';
|
|
@@ -300,7 +301,7 @@ process.env.NODE_ENV !== "production" ? Snackbar.propTypes /* remove-proptypes *
|
|
|
300
301
|
})]),
|
|
301
302
|
/**
|
|
302
303
|
* Props applied to the transition element.
|
|
303
|
-
* By default, the element is based on this [`Transition`](
|
|
304
|
+
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
304
305
|
* @default {}
|
|
305
306
|
*/
|
|
306
307
|
TransitionProps: PropTypes.object
|
|
@@ -6,8 +6,8 @@ const _excluded = ["action", "className", "message", "role"];
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import
|
|
10
|
-
import { emphasize } from '@mui/system';
|
|
9
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
10
|
+
import { emphasize } from '@mui/system/colorManipulator';
|
|
11
11
|
import styled from '../styles/styled';
|
|
12
12
|
import useThemeProps from '../styles/useThemeProps';
|
|
13
13
|
import Paper from '../Paper';
|
package/SpeedDial/SpeedDial.d.ts
CHANGED
|
@@ -87,7 +87,7 @@ export interface SpeedDialProps
|
|
|
87
87
|
transitionDuration?: TransitionProps['timeout'];
|
|
88
88
|
/**
|
|
89
89
|
* Props applied to the transition element.
|
|
90
|
-
* By default, the element is based on this [`Transition`](
|
|
90
|
+
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
91
91
|
*/
|
|
92
92
|
TransitionProps?: TransitionProps;
|
|
93
93
|
}
|
package/SpeedDial/SpeedDial.js
CHANGED
|
@@ -9,8 +9,9 @@ import * as React from 'react';
|
|
|
9
9
|
import { isFragment } from 'react-is';
|
|
10
10
|
import PropTypes from 'prop-types';
|
|
11
11
|
import clsx from 'clsx';
|
|
12
|
-
import
|
|
13
|
-
import
|
|
12
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
13
|
+
import useTimeout from '@mui/utils/useTimeout';
|
|
14
|
+
import clamp from '@mui/utils/clamp';
|
|
14
15
|
import styled from '../styles/styled';
|
|
15
16
|
import useThemeProps from '../styles/useThemeProps';
|
|
16
17
|
import useTheme from '../styles/useTheme';
|
|
@@ -486,7 +487,7 @@ process.env.NODE_ENV !== "production" ? SpeedDial.propTypes /* remove-proptypes
|
|
|
486
487
|
})]),
|
|
487
488
|
/**
|
|
488
489
|
* Props applied to the transition element.
|
|
489
|
-
* By default, the element is based on this [`Transition`](
|
|
490
|
+
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
490
491
|
*/
|
|
491
492
|
TransitionProps: PropTypes.object
|
|
492
493
|
} : void 0;
|
|
@@ -7,8 +7,8 @@ const _excluded = ["className", "delay", "FabProps", "icon", "id", "open", "Tool
|
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import clsx from 'clsx';
|
|
10
|
-
import
|
|
11
|
-
import { emphasize } from '@mui/system';
|
|
10
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
11
|
+
import { emphasize } from '@mui/system/colorManipulator';
|
|
12
12
|
import styled from '../styles/styled';
|
|
13
13
|
import useThemeProps from '../styles/useThemeProps';
|
|
14
14
|
import Fab from '../Fab';
|
|
@@ -6,7 +6,7 @@ const _excluded = ["className", "icon", "open", "openIcon"];
|
|
|
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 AddIcon from '../internal/svg-icons/Add';
|
package/Step/Step.js
CHANGED
|
@@ -6,8 +6,8 @@ const _excluded = ["active", "children", "className", "component", "completed",
|
|
|
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 integerPropType from '@mui/utils/integerPropType';
|
|
10
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
11
11
|
import StepperContext from '../Stepper/StepperContext';
|
|
12
12
|
import StepContext from './StepContext';
|
|
13
13
|
import useThemeProps from '../styles/useThemeProps';
|
package/StepButton/StepButton.js
CHANGED
|
@@ -6,7 +6,7 @@ const _excluded = ["children", "className", "icon", "optional"];
|
|
|
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 ButtonBase from '../ButtonBase';
|
|
@@ -6,7 +6,7 @@ const _excluded = ["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 capitalize from '../utils/capitalize';
|
|
11
11
|
import styled from '../styles/styled';
|
|
12
12
|
import useThemeProps from '../styles/useThemeProps';
|
|
@@ -36,7 +36,7 @@ export interface StepContentProps extends StandardProps<React.HTMLAttributes<HTM
|
|
|
36
36
|
transitionDuration?: TransitionProps['timeout'] | 'auto';
|
|
37
37
|
/**
|
|
38
38
|
* Props applied to the transition element.
|
|
39
|
-
* By default, the element is based on this [`Transition`](
|
|
39
|
+
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
40
40
|
*/
|
|
41
41
|
TransitionProps?: TransitionProps;
|
|
42
42
|
}
|
|
@@ -6,7 +6,7 @@ const _excluded = ["children", "className", "TransitionComponent", "transitionDu
|
|
|
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 Collapse from '../Collapse';
|
|
@@ -144,7 +144,7 @@ process.env.NODE_ENV !== "production" ? StepContent.propTypes /* remove-proptype
|
|
|
144
144
|
})]),
|
|
145
145
|
/**
|
|
146
146
|
* Props applied to the transition element.
|
|
147
|
-
* By default, the element is based on this [`Transition`](
|
|
147
|
+
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
148
148
|
*/
|
|
149
149
|
TransitionProps: PropTypes.object
|
|
150
150
|
} : void 0;
|
package/StepIcon/StepIcon.js
CHANGED
|
@@ -7,7 +7,7 @@ const _excluded = ["active", "className", "completed", "error", "icon"];
|
|
|
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 styled from '../styles/styled';
|
|
12
12
|
import useThemeProps from '../styles/useThemeProps';
|
|
13
13
|
import CheckCircle from '../internal/svg-icons/CheckCircle';
|
package/StepLabel/StepLabel.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export interface StepLabelProps extends StandardProps<React.HTMLAttributes<HTMLD
|
|
|
52
52
|
/**
|
|
53
53
|
* The component to render in place of the [`StepIcon`](/material-ui/api/step-icon/).
|
|
54
54
|
*/
|
|
55
|
-
StepIconComponent?: React.ElementType
|
|
55
|
+
StepIconComponent?: React.ElementType<StepIconProps>;
|
|
56
56
|
/**
|
|
57
57
|
* Props applied to the [`StepIcon`](/material-ui/api/step-icon/) element.
|
|
58
58
|
*/
|
package/StepLabel/StepLabel.js
CHANGED
|
@@ -6,7 +6,7 @@ const _excluded = ["children", "className", "componentsProps", "error", "icon",
|
|
|
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 StepIcon from '../StepIcon';
|
package/Stepper/Stepper.js
CHANGED
|
@@ -6,8 +6,8 @@ const _excluded = ["activeStep", "alternativeLabel", "children", "className", "c
|
|
|
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 integerPropType from '@mui/utils/integerPropType';
|
|
10
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
11
11
|
import useThemeProps from '../styles/useThemeProps';
|
|
12
12
|
import styled from '../styles/styled';
|
|
13
13
|
import { getStepperUtilityClass } from './stepperClasses';
|
package/SvgIcon/SvgIcon.js
CHANGED
|
@@ -6,7 +6,7 @@ const _excluded = ["children", "className", "color", "component", "fontSize", "h
|
|
|
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 capitalize from '../utils/capitalize';
|
|
11
11
|
import useThemeProps from '../styles/useThemeProps';
|
|
12
12
|
import styled from '../styles/styled';
|
|
@@ -7,8 +7,8 @@ const _excluded = ["BackdropProps"],
|
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import * as ReactDOM from 'react-dom';
|
|
9
9
|
import PropTypes from 'prop-types';
|
|
10
|
-
import
|
|
11
|
-
import
|
|
10
|
+
import elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';
|
|
11
|
+
import useThemeProps from '@mui/system/useThemeProps';
|
|
12
12
|
import { NoSsr } from '@mui/base';
|
|
13
13
|
import Drawer, { getAnchor, isHorizontal } from '../Drawer/Drawer';
|
|
14
14
|
import useForkRef from '../utils/useForkRef';
|
package/Switch/Switch.js
CHANGED
|
@@ -7,9 +7,9 @@ const _excluded = ["className", "color", "edge", "size", "sx"];
|
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import clsx from 'clsx';
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { alpha, darken, lighten } from '@mui/system';
|
|
10
|
+
import refType from '@mui/utils/refType';
|
|
11
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
12
|
+
import { alpha, darken, lighten } from '@mui/system/colorManipulator';
|
|
13
13
|
import capitalize from '../utils/capitalize';
|
|
14
14
|
import SwitchBase from '../internal/SwitchBase';
|
|
15
15
|
import useThemeProps from '../styles/useThemeProps';
|
package/Tab/Tab.js
CHANGED
|
@@ -6,7 +6,7 @@ const _excluded = ["className", "disabled", "disableFocusRipple", "fullWidth", "
|
|
|
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';
|
|
@@ -7,7 +7,8 @@ const _excluded = ["className", "slots", "slotProps", "direction", "orientation"
|
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import clsx from 'clsx';
|
|
10
|
-
import {
|
|
10
|
+
import { useSlotProps } from '@mui/base/utils';
|
|
11
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
11
12
|
import KeyboardArrowLeft from '../internal/svg-icons/KeyboardArrowLeft';
|
|
12
13
|
import KeyboardArrowRight from '../internal/svg-icons/KeyboardArrowRight';
|
|
13
14
|
import ButtonBase from '../ButtonBase';
|
package/Table/Table.js
CHANGED
|
@@ -6,7 +6,7 @@ const _excluded = ["className", "component", "padding", "size", "stickyHeader"];
|
|
|
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 TableContext from './TableContext';
|
|
11
11
|
import useThemeProps from '../styles/useThemeProps';
|
|
12
12
|
import styled from '../styles/styled';
|
package/TableBody/TableBody.js
CHANGED
|
@@ -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 Tablelvl2Context from '../Table/Tablelvl2Context';
|
|
11
11
|
import useThemeProps from '../styles/useThemeProps';
|
|
12
12
|
import styled from '../styles/styled';
|
package/TableCell/TableCell.js
CHANGED
|
@@ -6,8 +6,8 @@ const _excluded = ["align", "className", "component", "padding", "scope", "size"
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import
|
|
10
|
-
import { darken, alpha, lighten } from '@mui/system';
|
|
9
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
10
|
+
import { darken, alpha, lighten } from '@mui/system/colorManipulator';
|
|
11
11
|
import capitalize from '../utils/capitalize';
|
|
12
12
|
import TableContext from '../Table/TableContext';
|
|
13
13
|
import Tablelvl2Context from '../Table/Tablelvl2Context';
|
|
@@ -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 useThemeProps from '../styles/useThemeProps';
|
|
11
11
|
import styled from '../styles/styled';
|
|
12
12
|
import { getTableContainerUtilityClass } from './tableContainerClasses';
|
|
@@ -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 Tablelvl2Context from '../Table/Tablelvl2Context';
|
|
11
11
|
import useThemeProps from '../styles/useThemeProps';
|
|
12
12
|
import styled from '../styles/styled';
|
package/TableHead/TableHead.js
CHANGED
|
@@ -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 Tablelvl2Context from '../Table/Tablelvl2Context';
|
|
11
11
|
import useThemeProps from '../styles/useThemeProps';
|
|
12
12
|
import styled from '../styles/styled';
|
|
@@ -7,8 +7,10 @@ const _excluded = ["ActionsComponent", "backIconButtonProps", "className", "colS
|
|
|
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 chainPropTypes from '@mui/utils/chainPropTypes';
|
|
12
|
+
import { isHostComponent } from '@mui/base/utils';
|
|
13
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
12
14
|
import styled from '../styles/styled';
|
|
13
15
|
import useThemeProps from '../styles/useThemeProps';
|
|
14
16
|
import InputBase from '../InputBase';
|
package/TableRow/TableRow.d.ts
CHANGED
package/TableRow/TableRow.js
CHANGED
|
@@ -6,8 +6,8 @@ const _excluded = ["className", "component", "hover", "selected"];
|
|
|
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 Tablelvl2Context from '../Table/Tablelvl2Context';
|
|
12
12
|
import useThemeProps from '../styles/useThemeProps';
|
|
13
13
|
import styled from '../styles/styled';
|
|
@@ -93,7 +93,7 @@ process.env.NODE_ENV !== "production" ? TableRow.propTypes /* remove-proptypes *
|
|
|
93
93
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
94
94
|
// └─────────────────────────────────────────────────────────────────────┘
|
|
95
95
|
/**
|
|
96
|
-
* Should be valid
|
|
96
|
+
* Should be valid `<tr>` children such as `TableCell`.
|
|
97
97
|
*/
|
|
98
98
|
children: PropTypes.node,
|
|
99
99
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
4
4
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
5
5
|
const _excluded = ["active", "children", "className", "direction", "hideSortIcon", "IconComponent"];
|
|
6
|
-
import
|
|
6
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
7
7
|
import clsx from 'clsx';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import * as React from 'react';
|
package/Tabs/Tabs.js
CHANGED
|
@@ -7,8 +7,9 @@ import * as React from 'react';
|
|
|
7
7
|
import { isFragment } from 'react-is';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import clsx from 'clsx';
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
10
|
+
import refType from '@mui/utils/refType';
|
|
11
|
+
import { useSlotProps } from '@mui/base/utils';
|
|
12
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
12
13
|
import styled from '../styles/styled';
|
|
13
14
|
import useThemeProps from '../styles/useThemeProps';
|
|
14
15
|
import useTheme from '../styles/useTheme';
|