@mui/material 5.15.13 → 6.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accordion/Accordion.js +31 -25
- package/AccordionActions/AccordionActions.js +14 -12
- package/AccordionDetails/AccordionDetails.js +2 -2
- package/AccordionSummary/AccordionSummary.js +30 -25
- package/Alert/Alert.js +1 -2
- package/AppBar/AppBar.js +1 -1
- package/Autocomplete/Autocomplete.d.ts +1 -1
- package/Autocomplete/Autocomplete.js +71 -50
- package/Autocomplete/autocompleteClasses.d.ts +3 -3
- package/AvatarGroup/AvatarGroup.js +27 -25
- package/Backdrop/Backdrop.d.ts +40 -22
- package/Backdrop/Backdrop.js +50 -33
- package/Badge/Badge.js +156 -164
- package/BottomNavigation/BottomNavigation.js +2 -2
- package/BottomNavigationAction/BottomNavigationAction.js +40 -24
- package/Breadcrumbs/Breadcrumbs.js +2 -2
- package/Button/Button.js +2 -4
- package/ButtonBase/ButtonBase.js +1 -2
- package/ButtonBase/TouchRipple.js +34 -39
- package/ButtonGroup/ButtonGroup.js +1 -1
- package/ButtonGroup/buttonGroupClasses.d.ts +57 -17
- package/ButtonGroup/buttonGroupClasses.js +1 -1
- package/CHANGELOG.md +195 -60
- package/Card/Card.js +4 -6
- package/CardActionArea/CardActionArea.js +3 -4
- package/CardActions/CardActions.js +16 -12
- package/CardContent/CardContent.js +7 -9
- package/CardHeader/CardHeader.js +3 -4
- package/CardMedia/CardMedia.js +22 -13
- package/Checkbox/Checkbox.js +2 -3
- package/Chip/Chip.js +191 -122
- package/CircularProgress/CircularProgress.d.ts +1 -1
- package/CircularProgress/CircularProgress.js +11 -16
- package/CssBaseline/CssBaseline.js +3 -6
- package/DialogTitle/DialogTitle.js +1 -1
- package/Divider/Divider.js +140 -81
- package/Fab/Fab.js +55 -58
- package/FilledInput/FilledInput.js +4 -6
- package/FormControl/FormControl.js +30 -15
- package/FormControlLabel/FormControlLabel.js +42 -27
- package/FormGroup/FormGroup.js +14 -10
- package/Grid/Grid.js +2 -4
- package/Icon/Icon.d.ts +1 -1
- package/Icon/Icon.js +1 -1
- package/IconButton/IconButton.js +2 -3
- package/ImageListItemBar/ImageListItemBar.js +1 -2
- package/Input/Input.js +3 -4
- package/InputAdornment/InputAdornment.js +1 -2
- package/InputBase/InputBase.js +2 -4
- package/LinearProgress/LinearProgress.js +16 -24
- package/List/List.js +1 -2
- package/ListItem/ListItem.js +1 -2
- package/ListItemText/ListItemText.js +2 -3
- package/Menu/Menu.js +2 -3
- package/MobileStepper/MobileStepper.js +80 -47
- package/Modal/Modal.js +22 -19
- package/NativeSelect/NativeSelectInput.js +1 -2
- package/OutlinedInput/OutlinedInput.js +4 -5
- package/OverridableComponent.d.ts +1 -1
- package/PaginationItem/PaginationItem.js +1 -2
- package/Paper/Paper.js +15 -18
- package/Popover/Popover.js +7 -8
- package/Popper/Popper.d.ts +3 -26
- package/Popper/Popper.js +3 -4
- package/README.md +5 -3
- package/Radio/Radio.js +2 -3
- package/Radio/RadioButtonIcon.js +1 -2
- package/Rating/Rating.js +1 -2
- package/ScopedCssBaseline/ScopedCssBaseline.js +1 -2
- package/Select/Select.d.ts +8 -20
- package/Select/SelectInput.js +3 -5
- package/Skeleton/Skeleton.js +11 -16
- package/Slider/Slider.js +358 -195
- package/Slider/SliderValueLabel.js +1 -2
- package/SnackbarContent/SnackbarContent.js +1 -2
- package/SpeedDial/SpeedDial.js +1 -2
- package/SpeedDialAction/SpeedDialAction.js +1 -2
- package/SpeedDialIcon/SpeedDialIcon.js +1 -2
- package/Step/Step.js +23 -14
- package/StepButton/StepButton.js +17 -14
- package/StepConnector/StepConnector.js +45 -26
- package/StepContent/StepContent.js +13 -8
- package/StepIcon/StepIcon.js +3 -4
- package/StepLabel/StepLabel.d.ts +25 -13
- package/StepLabel/StepLabel.js +47 -27
- package/Stepper/Stepper.js +29 -15
- package/SvgIcon/SvgIcon.js +26 -30
- package/SwipeableDrawer/SwipeableDrawer.js +2 -4
- package/Switch/Switch.js +1 -2
- package/TabScrollButton/TabScrollButton.js +2 -3
- package/TablePagination/TablePagination.js +2 -4
- package/TablePagination/TablePaginationActions.js +11 -13
- package/TableSortLabel/TableSortLabel.js +1 -2
- package/Tabs/Tabs.js +6 -10
- package/TextField/TextField.js +1 -2
- package/Tooltip/Tooltip.js +14 -17
- package/index.js +1 -1
- package/internal/SwitchBase.js +1 -2
- package/legacy/Accordion/Accordion.js +34 -24
- package/legacy/AccordionActions/AccordionActions.js +17 -14
- package/legacy/AccordionDetails/AccordionDetails.js +2 -2
- package/legacy/AccordionSummary/AccordionSummary.js +32 -24
- package/legacy/Alert/Alert.js +1 -2
- package/legacy/Autocomplete/Autocomplete.js +134 -116
- package/legacy/AvatarGroup/AvatarGroup.js +19 -11
- package/legacy/Backdrop/Backdrop.js +66 -44
- package/legacy/Badge/Badge.js +1 -2
- package/legacy/BottomNavigation/BottomNavigation.js +2 -2
- package/legacy/BottomNavigationAction/BottomNavigationAction.js +42 -23
- package/legacy/Breadcrumbs/Breadcrumbs.js +2 -2
- package/legacy/Button/Button.js +1 -2
- package/legacy/ButtonBase/ButtonBase.js +1 -2
- package/legacy/ButtonGroup/ButtonGroup.js +1 -1
- package/legacy/ButtonGroup/buttonGroupClasses.js +1 -1
- package/legacy/Card/Card.js +4 -6
- package/legacy/CardActionArea/CardActionArea.js +3 -4
- package/legacy/CardActions/CardActions.js +16 -13
- package/legacy/CardContent/CardContent.js +7 -9
- package/legacy/CardHeader/CardHeader.js +3 -4
- package/legacy/CardMedia/CardMedia.js +24 -16
- package/legacy/Chip/Chip.js +199 -107
- package/legacy/CircularProgress/CircularProgress.js +1 -1
- package/legacy/CssBaseline/CssBaseline.js +1 -2
- package/legacy/Divider/Divider.js +148 -88
- package/legacy/FormControl/FormControl.js +37 -23
- package/legacy/FormControlLabel/FormControlLabel.js +42 -25
- package/legacy/FormGroup/FormGroup.js +15 -12
- package/legacy/Icon/Icon.js +1 -1
- package/legacy/ImageListItemBar/ImageListItemBar.js +1 -2
- package/legacy/InputAdornment/InputAdornment.js +1 -2
- package/legacy/InputBase/InputBase.js +1 -2
- package/legacy/LinearProgress/LinearProgress.js +1 -2
- package/legacy/List/List.js +1 -2
- package/legacy/ListItem/ListItem.js +1 -2
- package/legacy/ListItemText/ListItemText.js +1 -2
- package/legacy/MobileStepper/MobileStepper.js +80 -48
- package/legacy/Modal/Modal.js +20 -15
- package/legacy/NativeSelect/NativeSelectInput.js +1 -2
- package/legacy/OutlinedInput/OutlinedInput.js +1 -2
- package/legacy/PaginationItem/PaginationItem.js +1 -2
- package/legacy/Popover/Popover.js +2 -2
- package/legacy/Radio/RadioButtonIcon.js +1 -2
- package/legacy/Rating/Rating.js +1 -2
- package/legacy/Select/SelectInput.js +1 -2
- package/legacy/Slider/Slider.js +374 -193
- package/legacy/Slider/SliderValueLabel.js +1 -2
- package/legacy/SnackbarContent/SnackbarContent.js +1 -2
- package/legacy/SpeedDial/SpeedDial.js +1 -2
- package/legacy/SpeedDialAction/SpeedDialAction.js +1 -2
- package/legacy/SpeedDialIcon/SpeedDialIcon.js +1 -2
- package/legacy/Step/Step.js +22 -14
- package/legacy/StepButton/StepButton.js +17 -15
- package/legacy/StepConnector/StepConnector.js +46 -28
- package/legacy/StepContent/StepContent.js +15 -10
- package/legacy/StepIcon/StepIcon.js +3 -4
- package/legacy/StepLabel/StepLabel.js +65 -44
- package/legacy/Stepper/Stepper.js +28 -15
- package/legacy/SvgIcon/SvgIcon.js +2 -3
- package/legacy/SwipeableDrawer/SwipeableDrawer.js +1 -2
- package/legacy/Switch/Switch.js +1 -2
- package/legacy/TablePagination/TablePagination.js +1 -2
- package/legacy/TablePagination/TablePaginationActions.js +1 -2
- package/legacy/TableSortLabel/TableSortLabel.js +1 -2
- package/legacy/Tabs/Tabs.js +1 -2
- package/legacy/TextField/TextField.js +1 -2
- package/legacy/Tooltip/Tooltip.js +1 -2
- package/legacy/index.js +1 -1
- package/legacy/internal/SwitchBase.js +1 -2
- package/legacy/styles/CssVarsProvider.js +1 -3
- package/legacy/styles/createGetSelector.js +21 -0
- package/legacy/styles/experimental_extendTheme.js +27 -8
- package/legacy/styles/rootShouldForwardProp.js +5 -0
- package/legacy/styles/slotShouldForwardProp.js +5 -0
- package/legacy/styles/styled.js +4 -5
- package/legacy/usePagination/usePagination.js +1 -1
- package/modern/Accordion/Accordion.js +31 -25
- package/modern/AccordionActions/AccordionActions.js +14 -12
- package/modern/AccordionDetails/AccordionDetails.js +2 -2
- package/modern/AccordionSummary/AccordionSummary.js +30 -25
- package/modern/Alert/Alert.js +1 -2
- package/modern/Autocomplete/Autocomplete.js +61 -36
- package/modern/AvatarGroup/AvatarGroup.js +25 -22
- package/modern/Backdrop/Backdrop.js +50 -32
- package/modern/Badge/Badge.js +1 -2
- package/modern/BottomNavigation/BottomNavigation.js +2 -2
- package/modern/BottomNavigationAction/BottomNavigationAction.js +40 -24
- package/modern/Breadcrumbs/Breadcrumbs.js +2 -2
- package/modern/Button/Button.js +1 -2
- package/modern/ButtonBase/ButtonBase.js +1 -2
- package/modern/ButtonGroup/ButtonGroup.js +1 -1
- package/modern/ButtonGroup/buttonGroupClasses.js +1 -1
- package/modern/Card/Card.js +4 -6
- package/modern/CardActionArea/CardActionArea.js +3 -4
- package/modern/CardActions/CardActions.js +16 -12
- package/modern/CardContent/CardContent.js +7 -9
- package/modern/CardHeader/CardHeader.js +3 -4
- package/modern/CardMedia/CardMedia.js +22 -13
- package/modern/Chip/Chip.js +191 -122
- package/modern/CircularProgress/CircularProgress.js +1 -1
- package/modern/CssBaseline/CssBaseline.js +1 -2
- package/modern/Divider/Divider.js +140 -81
- package/modern/FormControl/FormControl.js +30 -15
- package/modern/FormControlLabel/FormControlLabel.js +38 -22
- package/modern/FormGroup/FormGroup.js +14 -10
- package/modern/Icon/Icon.js +1 -1
- package/modern/ImageListItemBar/ImageListItemBar.js +1 -2
- package/modern/InputAdornment/InputAdornment.js +1 -2
- package/modern/InputBase/InputBase.js +1 -2
- package/modern/LinearProgress/LinearProgress.js +1 -2
- package/modern/List/List.js +1 -2
- package/modern/ListItem/ListItem.js +1 -2
- package/modern/ListItemText/ListItemText.js +1 -2
- package/modern/MobileStepper/MobileStepper.js +80 -47
- package/modern/Modal/Modal.js +15 -11
- package/modern/NativeSelect/NativeSelectInput.js +1 -2
- package/modern/OutlinedInput/OutlinedInput.js +1 -2
- package/modern/PaginationItem/PaginationItem.js +1 -2
- package/modern/Popover/Popover.js +2 -2
- package/modern/Radio/RadioButtonIcon.js +1 -2
- package/modern/Rating/Rating.js +1 -2
- package/modern/Select/SelectInput.js +1 -2
- package/modern/Slider/Slider.js +338 -174
- package/modern/Slider/SliderValueLabel.js +1 -2
- package/modern/SnackbarContent/SnackbarContent.js +1 -2
- package/modern/SpeedDial/SpeedDial.js +1 -2
- package/modern/SpeedDialAction/SpeedDialAction.js +1 -2
- package/modern/SpeedDialIcon/SpeedDialIcon.js +1 -2
- package/modern/Step/Step.js +23 -14
- package/modern/StepButton/StepButton.js +17 -14
- package/modern/StepConnector/StepConnector.js +45 -26
- package/modern/StepContent/StepContent.js +13 -8
- package/modern/StepIcon/StepIcon.js +3 -4
- package/modern/StepLabel/StepLabel.js +47 -26
- package/modern/Stepper/Stepper.js +29 -15
- package/modern/SvgIcon/SvgIcon.js +2 -3
- package/modern/SwipeableDrawer/SwipeableDrawer.js +1 -2
- package/modern/Switch/Switch.js +1 -2
- package/modern/TablePagination/TablePagination.js +1 -2
- package/modern/TablePagination/TablePaginationActions.js +1 -2
- package/modern/TableSortLabel/TableSortLabel.js +1 -2
- package/modern/Tabs/Tabs.js +1 -2
- package/modern/TextField/TextField.js +1 -2
- package/modern/Tooltip/Tooltip.js +1 -2
- package/modern/index.js +1 -1
- package/modern/internal/SwitchBase.js +1 -2
- package/modern/styles/CssVarsProvider.js +1 -3
- package/modern/styles/createGetSelector.js +21 -0
- package/modern/styles/experimental_extendTheme.js +22 -9
- package/modern/styles/rootShouldForwardProp.js +3 -0
- package/modern/styles/slotShouldForwardProp.js +5 -0
- package/modern/styles/styled.js +4 -3
- package/modern/usePagination/usePagination.js +1 -1
- package/node/Accordion/Accordion.js +33 -26
- package/node/Accordion/AccordionContext.js +1 -1
- package/node/Accordion/index.js +1 -1
- package/node/AccordionActions/AccordionActions.js +17 -15
- package/node/AccordionActions/index.js +1 -1
- package/node/AccordionDetails/AccordionDetails.js +5 -5
- package/node/AccordionDetails/index.js +1 -1
- package/node/AccordionSummary/AccordionSummary.js +34 -28
- package/node/AccordionSummary/index.js +1 -1
- package/node/Alert/Alert.js +1 -1
- package/node/Alert/index.js +1 -1
- package/node/AlertTitle/AlertTitle.js +1 -1
- package/node/AlertTitle/index.js +1 -1
- package/node/AppBar/AppBar.js +1 -1
- package/node/AppBar/index.js +1 -1
- package/node/Autocomplete/Autocomplete.js +73 -47
- package/node/Autocomplete/index.js +1 -1
- package/node/Avatar/Avatar.js +1 -1
- package/node/Avatar/index.js +1 -1
- package/node/AvatarGroup/AvatarGroup.js +27 -23
- package/node/AvatarGroup/index.js +1 -1
- package/node/Backdrop/Backdrop.js +53 -36
- package/node/Backdrop/index.js +1 -1
- package/node/Badge/Badge.js +1 -1
- package/node/Badge/index.js +1 -1
- package/node/BottomNavigation/BottomNavigation.js +5 -5
- package/node/BottomNavigation/index.js +1 -1
- package/node/BottomNavigationAction/BottomNavigationAction.js +43 -26
- package/node/BottomNavigationAction/index.js +1 -1
- package/node/Box/index.js +1 -1
- package/node/Breadcrumbs/BreadcrumbCollapsed.js +1 -1
- package/node/Breadcrumbs/Breadcrumbs.js +7 -7
- package/node/Breadcrumbs/index.js +1 -1
- package/node/Button/Button.js +1 -1
- package/node/Button/index.js +1 -1
- package/node/ButtonBase/ButtonBase.js +1 -1
- package/node/ButtonBase/Ripple.js +1 -1
- package/node/ButtonBase/TouchRipple.js +1 -1
- package/node/ButtonBase/index.js +1 -1
- package/node/ButtonGroup/ButtonGroup.js +2 -2
- package/node/ButtonGroup/ButtonGroupButtonContext.js +1 -1
- package/node/ButtonGroup/ButtonGroupContext.js +1 -1
- package/node/ButtonGroup/buttonGroupClasses.js +1 -1
- package/node/ButtonGroup/index.js +1 -1
- package/node/Card/Card.js +7 -9
- package/node/Card/index.js +1 -1
- package/node/CardActionArea/CardActionArea.js +6 -6
- package/node/CardActionArea/index.js +1 -1
- package/node/CardActions/CardActions.js +19 -15
- package/node/CardActions/index.js +1 -1
- package/node/CardContent/CardContent.js +10 -12
- package/node/CardContent/index.js +1 -1
- package/node/CardHeader/CardHeader.js +8 -8
- package/node/CardHeader/index.js +1 -1
- package/node/CardMedia/CardMedia.js +25 -16
- package/node/CardMedia/index.js +1 -1
- package/node/Checkbox/Checkbox.js +1 -1
- package/node/Checkbox/index.js +1 -1
- package/node/Chip/Chip.js +194 -124
- package/node/Chip/index.js +1 -1
- package/node/CircularProgress/CircularProgress.js +2 -2
- package/node/CircularProgress/index.js +1 -1
- package/node/Collapse/Collapse.js +1 -1
- package/node/Collapse/index.js +1 -1
- package/node/Container/index.js +1 -1
- package/node/CssBaseline/CssBaseline.js +1 -1
- package/node/Dialog/Dialog.js +1 -1
- package/node/Dialog/DialogContext.js +1 -1
- package/node/Dialog/index.js +1 -1
- package/node/DialogActions/DialogActions.js +1 -1
- package/node/DialogActions/index.js +1 -1
- package/node/DialogContent/DialogContent.js +1 -1
- package/node/DialogContent/index.js +1 -1
- package/node/DialogContentText/DialogContentText.js +1 -1
- package/node/DialogContentText/index.js +1 -1
- package/node/DialogTitle/DialogTitle.js +1 -1
- package/node/DialogTitle/index.js +1 -1
- package/node/Divider/Divider.js +144 -85
- package/node/Divider/index.js +1 -1
- package/node/Drawer/Drawer.js +1 -1
- package/node/Drawer/index.js +1 -1
- package/node/Fab/Fab.js +1 -1
- package/node/Fab/index.js +1 -1
- package/node/Fade/Fade.js +1 -1
- package/node/FilledInput/FilledInput.js +1 -1
- package/node/FilledInput/index.js +1 -1
- package/node/FormControl/FormControl.js +33 -18
- package/node/FormControl/FormControlContext.js +1 -1
- package/node/FormControl/index.js +1 -1
- package/node/FormControl/useFormControl.js +1 -1
- package/node/FormControlLabel/FormControlLabel.js +41 -24
- package/node/FormControlLabel/index.js +1 -1
- package/node/FormGroup/FormGroup.js +17 -13
- package/node/FormGroup/index.js +1 -1
- package/node/FormHelperText/FormHelperText.js +1 -1
- package/node/FormHelperText/index.js +1 -1
- package/node/FormLabel/FormLabel.js +1 -1
- package/node/FormLabel/index.js +1 -1
- package/node/GlobalStyles/GlobalStyles.js +1 -1
- package/node/Grid/Grid.js +1 -1
- package/node/Grid/GridContext.js +1 -1
- package/node/Grid/index.js +1 -1
- package/node/Grow/Grow.js +1 -1
- package/node/Hidden/Hidden.js +1 -1
- package/node/Hidden/HiddenCss.js +1 -1
- package/node/Hidden/HiddenJs.js +1 -1
- package/node/Hidden/withWidth.js +1 -1
- package/node/Icon/Icon.js +2 -2
- package/node/Icon/index.js +1 -1
- package/node/IconButton/IconButton.js +1 -1
- package/node/IconButton/index.js +1 -1
- package/node/ImageList/ImageList.js +1 -1
- package/node/ImageList/ImageListContext.js +1 -1
- package/node/ImageList/index.js +1 -1
- package/node/ImageListItem/ImageListItem.js +1 -1
- package/node/ImageListItem/index.js +1 -1
- package/node/ImageListItemBar/ImageListItemBar.js +1 -1
- package/node/ImageListItemBar/index.js +1 -1
- package/node/Input/Input.js +1 -1
- package/node/Input/index.js +1 -1
- package/node/InputAdornment/InputAdornment.js +1 -1
- package/node/InputAdornment/index.js +1 -1
- package/node/InputBase/InputBase.js +1 -1
- package/node/InputBase/index.js +1 -1
- package/node/InputLabel/InputLabel.js +1 -1
- package/node/InputLabel/index.js +1 -1
- package/node/LinearProgress/LinearProgress.js +1 -1
- package/node/LinearProgress/index.js +1 -1
- package/node/Link/Link.js +1 -1
- package/node/Link/index.js +1 -1
- package/node/List/List.js +1 -1
- package/node/List/ListContext.js +1 -1
- package/node/List/index.js +1 -1
- package/node/ListItem/ListItem.js +1 -1
- package/node/ListItem/index.js +1 -1
- package/node/ListItemAvatar/ListItemAvatar.js +1 -1
- package/node/ListItemAvatar/index.js +1 -1
- package/node/ListItemButton/ListItemButton.js +1 -1
- package/node/ListItemButton/index.js +1 -1
- package/node/ListItemIcon/ListItemIcon.js +1 -1
- package/node/ListItemIcon/index.js +1 -1
- package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/node/ListItemSecondaryAction/index.js +1 -1
- package/node/ListItemText/ListItemText.js +1 -1
- package/node/ListItemText/index.js +1 -1
- package/node/ListSubheader/ListSubheader.js +1 -1
- package/node/ListSubheader/index.js +1 -1
- package/node/Menu/Menu.js +1 -1
- package/node/Menu/index.js +1 -1
- package/node/MenuItem/MenuItem.js +1 -1
- package/node/MenuItem/index.js +1 -1
- package/node/MenuList/MenuList.js +1 -1
- package/node/MobileStepper/MobileStepper.js +86 -52
- package/node/MobileStepper/index.js +1 -1
- package/node/Modal/Modal.js +18 -13
- package/node/Modal/index.js +1 -1
- package/node/NativeSelect/NativeSelect.js +1 -1
- package/node/NativeSelect/NativeSelectInput.js +1 -1
- package/node/NativeSelect/index.js +1 -1
- package/node/OutlinedInput/NotchedOutline.js +1 -1
- package/node/OutlinedInput/OutlinedInput.js +1 -1
- package/node/OutlinedInput/index.js +1 -1
- package/node/Pagination/Pagination.js +1 -1
- package/node/Pagination/index.js +1 -1
- package/node/PaginationItem/PaginationItem.js +1 -1
- package/node/PaginationItem/index.js +1 -1
- package/node/Paper/Paper.js +1 -1
- package/node/Paper/index.js +1 -1
- package/node/Popover/Popover.js +6 -6
- package/node/Popover/index.js +1 -1
- package/node/Popper/Popper.js +1 -1
- package/node/Radio/Radio.js +1 -1
- package/node/Radio/RadioButtonIcon.js +1 -1
- package/node/Radio/index.js +1 -1
- package/node/RadioGroup/RadioGroup.js +1 -1
- package/node/RadioGroup/RadioGroupContext.js +1 -1
- package/node/RadioGroup/useRadioGroup.js +1 -1
- package/node/Rating/Rating.js +1 -1
- package/node/Rating/index.js +1 -1
- package/node/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
- package/node/ScopedCssBaseline/index.js +1 -1
- package/node/Select/Select.js +1 -1
- package/node/Select/SelectInput.js +1 -1
- package/node/Select/index.js +1 -1
- package/node/Skeleton/Skeleton.js +1 -1
- package/node/Skeleton/index.js +1 -1
- package/node/Slide/Slide.js +1 -1
- package/node/Slider/Slider.js +415 -234
- package/node/Slider/SliderValueLabel.js +1 -1
- package/node/Slider/index.js +1 -1
- package/node/Snackbar/Snackbar.js +1 -1
- package/node/Snackbar/index.js +1 -1
- package/node/SnackbarContent/SnackbarContent.js +1 -1
- package/node/SnackbarContent/index.js +1 -1
- package/node/SpeedDial/SpeedDial.js +1 -1
- package/node/SpeedDial/index.js +1 -1
- package/node/SpeedDialAction/SpeedDialAction.js +1 -1
- package/node/SpeedDialAction/index.js +1 -1
- package/node/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/node/SpeedDialIcon/index.js +1 -1
- package/node/Step/Step.js +25 -15
- package/node/Step/StepContext.js +1 -1
- package/node/Step/index.js +1 -1
- package/node/StepButton/StepButton.js +20 -17
- package/node/StepButton/index.js +1 -1
- package/node/StepConnector/StepConnector.js +49 -30
- package/node/StepConnector/index.js +1 -1
- package/node/StepContent/StepContent.js +17 -12
- package/node/StepContent/index.js +1 -1
- package/node/StepIcon/StepIcon.js +6 -6
- package/node/StepIcon/index.js +1 -1
- package/node/StepLabel/StepLabel.js +52 -31
- package/node/StepLabel/index.js +1 -1
- package/node/Stepper/Stepper.js +32 -18
- package/node/Stepper/StepperContext.js +1 -1
- package/node/Stepper/index.js +1 -1
- package/node/SvgIcon/SvgIcon.js +2 -2
- package/node/SvgIcon/index.js +1 -1
- package/node/SwipeableDrawer/SwipeArea.js +1 -1
- package/node/SwipeableDrawer/SwipeableDrawer.js +1 -1
- package/node/Switch/Switch.js +1 -1
- package/node/Switch/index.js +1 -1
- package/node/Tab/Tab.js +1 -1
- package/node/Tab/index.js +1 -1
- package/node/TabScrollButton/TabScrollButton.js +1 -1
- package/node/TabScrollButton/index.js +1 -1
- package/node/Table/Table.js +1 -1
- package/node/Table/TableContext.js +1 -1
- package/node/Table/Tablelvl2Context.js +1 -1
- package/node/Table/index.js +1 -1
- package/node/TableBody/TableBody.js +1 -1
- package/node/TableBody/index.js +1 -1
- package/node/TableCell/TableCell.js +1 -1
- package/node/TableCell/index.js +1 -1
- package/node/TableContainer/TableContainer.js +1 -1
- package/node/TableContainer/index.js +1 -1
- package/node/TableFooter/TableFooter.js +1 -1
- package/node/TableFooter/index.js +1 -1
- package/node/TableHead/TableHead.js +1 -1
- package/node/TableHead/index.js +1 -1
- package/node/TablePagination/TablePagination.js +1 -1
- package/node/TablePagination/TablePaginationActions.js +1 -1
- package/node/TablePagination/index.js +1 -1
- package/node/TableRow/TableRow.js +1 -1
- package/node/TableRow/index.js +1 -1
- package/node/TableSortLabel/TableSortLabel.js +1 -1
- package/node/TableSortLabel/index.js +1 -1
- package/node/Tabs/ScrollbarSize.js +1 -1
- package/node/Tabs/Tabs.js +1 -1
- package/node/Tabs/index.js +1 -1
- package/node/TextField/TextField.js +1 -1
- package/node/TextField/index.js +1 -1
- package/node/ToggleButton/ToggleButton.js +1 -1
- package/node/ToggleButton/index.js +1 -1
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/node/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +1 -1
- package/node/ToggleButtonGroup/ToggleButtonGroupContext.js +1 -1
- package/node/ToggleButtonGroup/index.js +1 -1
- package/node/Toolbar/Toolbar.js +1 -1
- package/node/Toolbar/index.js +1 -1
- package/node/Tooltip/Tooltip.js +1 -1
- package/node/Tooltip/index.js +1 -1
- package/node/Typography/Typography.js +1 -1
- package/node/Typography/index.js +1 -1
- package/node/Unstable_Grid2/index.js +1 -1
- package/node/Zoom/Zoom.js +1 -1
- package/node/index.js +2 -2
- package/node/internal/SwitchBase.js +1 -1
- package/node/internal/svg-icons/Add.js +1 -1
- package/node/internal/svg-icons/ArrowDownward.js +1 -1
- package/node/internal/svg-icons/ArrowDropDown.js +1 -1
- package/node/internal/svg-icons/Cancel.js +1 -1
- package/node/internal/svg-icons/CheckBox.js +1 -1
- package/node/internal/svg-icons/CheckBoxOutlineBlank.js +1 -1
- package/node/internal/svg-icons/CheckCircle.js +1 -1
- package/node/internal/svg-icons/Close.js +1 -1
- package/node/internal/svg-icons/ErrorOutline.js +1 -1
- package/node/internal/svg-icons/FirstPage.js +1 -1
- package/node/internal/svg-icons/IndeterminateCheckBox.js +1 -1
- package/node/internal/svg-icons/InfoOutlined.js +1 -1
- package/node/internal/svg-icons/KeyboardArrowLeft.js +1 -1
- package/node/internal/svg-icons/KeyboardArrowRight.js +1 -1
- package/node/internal/svg-icons/LastPage.js +1 -1
- package/node/internal/svg-icons/MoreHoriz.js +1 -1
- package/node/internal/svg-icons/NavigateBefore.js +1 -1
- package/node/internal/svg-icons/NavigateNext.js +1 -1
- package/node/internal/svg-icons/Person.js +1 -1
- package/node/internal/svg-icons/RadioButtonChecked.js +1 -1
- package/node/internal/svg-icons/RadioButtonUnchecked.js +1 -1
- package/node/internal/svg-icons/ReportProblemOutlined.js +1 -1
- package/node/internal/svg-icons/Star.js +1 -1
- package/node/internal/svg-icons/StarBorder.js +1 -1
- package/node/internal/svg-icons/SuccessOutlined.js +1 -1
- package/node/internal/svg-icons/Warning.js +1 -1
- package/node/styles/CssVarsProvider.js +1 -3
- package/node/styles/ThemeProvider.js +1 -1
- package/node/styles/createGetSelector.js +29 -0
- package/node/styles/createTheme.js +1 -1
- package/node/styles/experimental_extendTheme.js +23 -10
- package/node/styles/index.js +1 -1
- package/node/styles/rootShouldForwardProp.js +10 -0
- package/node/styles/slotShouldForwardProp.js +11 -0
- package/node/styles/styled.js +17 -8
- package/node/styles/useTheme.js +1 -1
- package/node/useAutocomplete/index.js +1 -1
- package/node/usePagination/usePagination.js +1 -1
- package/node/useScrollTrigger/useScrollTrigger.js +1 -1
- package/node/useTouchRipple/useTouchRipple.js +1 -1
- package/node/utils/createSvgIcon.js +1 -1
- package/package.json +6 -6
- package/styles/CssVarsProvider.js +1 -3
- package/styles/createGetSelector.d.ts +10 -0
- package/styles/createGetSelector.js +21 -0
- package/styles/createTheme.js +1 -1
- package/styles/excludeVariablesFromRoot.d.ts +1 -1
- package/styles/experimental_extendTheme.d.ts +23 -5
- package/styles/experimental_extendTheme.js +29 -17
- package/styles/rootShouldForwardProp.d.ts +2 -0
- package/styles/rootShouldForwardProp.js +3 -0
- package/styles/shouldSkipGeneratingVar.js +1 -2
- package/styles/slotShouldForwardProp.d.ts +2 -0
- package/styles/slotShouldForwardProp.js +5 -0
- package/styles/styled.d.ts +2 -3
- package/styles/styled.js +4 -3
- package/transitions/utils.js +2 -3
- package/umd/material-ui.development.js +1819 -1179
- package/umd/material-ui.production.min.js +4 -4
- package/usePagination/usePagination.js +1 -1
- package/useTouchRipple/useTouchRipple.js +4 -8
- package/utils/useSlot.js +1 -1
package/legacy/Alert/Alert.js
CHANGED
|
@@ -21,8 +21,7 @@ import ReportProblemOutlinedIcon from '../internal/svg-icons/ReportProblemOutlin
|
|
|
21
21
|
import ErrorOutlineIcon from '../internal/svg-icons/ErrorOutline';
|
|
22
22
|
import InfoOutlinedIcon from '../internal/svg-icons/InfoOutlined';
|
|
23
23
|
import CloseIcon from '../internal/svg-icons/Close';
|
|
24
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
26
25
|
var useThemeProps = createUseThemeProps('MuiAlert');
|
|
27
26
|
var useUtilityClasses = function useUtilityClasses(ownerState) {
|
|
28
27
|
var variant = ownerState.variant,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
4
4
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
5
5
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
6
|
-
var _ClearIcon, _ArrowDropDownIcon;
|
|
6
|
+
var _styled, _ClearIcon, _ArrowDropDownIcon;
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import clsx from 'clsx';
|
|
@@ -23,14 +23,13 @@ import outlinedInputClasses from '../OutlinedInput/outlinedInputClasses';
|
|
|
23
23
|
import filledInputClasses from '../FilledInput/filledInputClasses';
|
|
24
24
|
import ClearIcon from '../internal/svg-icons/Close';
|
|
25
25
|
import ArrowDropDownIcon from '../internal/svg-icons/ArrowDropDown';
|
|
26
|
-
import
|
|
27
|
-
import styled from '../styles/styled';
|
|
26
|
+
import { styled, createUseThemeProps } from '../zero-styled';
|
|
28
27
|
import autocompleteClasses, { getAutocompleteUtilityClass } from './autocompleteClasses';
|
|
29
28
|
import capitalize from '../utils/capitalize';
|
|
30
29
|
import useForkRef from '../utils/useForkRef';
|
|
31
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
32
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
30
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
33
31
|
import { createElement as _createElement } from "react";
|
|
32
|
+
var useThemeProps = createUseThemeProps('MuiAutocomplete');
|
|
34
33
|
var useUtilityClasses = function useUtilityClasses(ownerState) {
|
|
35
34
|
var classes = ownerState.classes,
|
|
36
35
|
disablePortal = ownerState.disablePortal,
|
|
@@ -73,89 +72,100 @@ var AutocompleteRoot = styled('div', {
|
|
|
73
72
|
size = ownerState.size;
|
|
74
73
|
return [_defineProperty({}, "& .".concat(autocompleteClasses.tag), styles.tag), _defineProperty({}, "& .".concat(autocompleteClasses.tag), styles["tagSize".concat(capitalize(size))]), _defineProperty({}, "& .".concat(autocompleteClasses.inputRoot), styles.inputRoot), _defineProperty({}, "& .".concat(autocompleteClasses.input), styles.input), _defineProperty({}, "& .".concat(autocompleteClasses.input), inputFocused && styles.inputFocused), styles.root, fullWidth && styles.fullWidth, hasPopupIcon && styles.hasPopupIcon, hasClearIcon && styles.hasClearIcon];
|
|
75
74
|
}
|
|
76
|
-
})(
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
75
|
+
})((_styled = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_styled, "&.".concat(autocompleteClasses.focused, " .").concat(autocompleteClasses.clearIndicator), {
|
|
76
|
+
visibility: 'visible'
|
|
77
|
+
}), '@media (pointer: fine)', _defineProperty({}, "&:hover .".concat(autocompleteClasses.clearIndicator), {
|
|
78
|
+
visibility: 'visible'
|
|
79
|
+
})), "& .".concat(autocompleteClasses.tag), {
|
|
80
|
+
margin: 3,
|
|
81
|
+
maxWidth: 'calc(100% - 6px)'
|
|
82
|
+
}), "& .".concat(autocompleteClasses.inputRoot), _defineProperty(_defineProperty(_defineProperty({
|
|
83
|
+
flexWrap: 'wrap'
|
|
84
|
+
}, ".".concat(autocompleteClasses.hasPopupIcon, "&, .").concat(autocompleteClasses.hasClearIcon, "&"), {
|
|
85
|
+
paddingRight: 26 + 4
|
|
86
|
+
}), ".".concat(autocompleteClasses.hasPopupIcon, ".").concat(autocompleteClasses.hasClearIcon, "&"), {
|
|
87
|
+
paddingRight: 52 + 4
|
|
88
|
+
}), "& .".concat(autocompleteClasses.input), {
|
|
89
|
+
width: 0,
|
|
90
|
+
minWidth: 30
|
|
91
|
+
})), "& .".concat(inputClasses.root), {
|
|
92
|
+
paddingBottom: 1,
|
|
93
|
+
'& .MuiInput-input': {
|
|
94
|
+
padding: '4px 4px 4px 0px'
|
|
95
|
+
}
|
|
96
|
+
}), "& .".concat(inputClasses.root, ".").concat(inputBaseClasses.sizeSmall), _defineProperty({}, "& .".concat(inputClasses.input), {
|
|
97
|
+
padding: '2px 4px 3px 0'
|
|
98
|
+
})), "& .".concat(outlinedInputClasses.root), _defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
99
|
+
padding: 9
|
|
100
|
+
}, ".".concat(autocompleteClasses.hasPopupIcon, "&, .").concat(autocompleteClasses.hasClearIcon, "&"), {
|
|
101
|
+
paddingRight: 26 + 4 + 9
|
|
102
|
+
}), ".".concat(autocompleteClasses.hasPopupIcon, ".").concat(autocompleteClasses.hasClearIcon, "&"), {
|
|
103
|
+
paddingRight: 52 + 4 + 9
|
|
104
|
+
}), "& .".concat(autocompleteClasses.input), {
|
|
105
|
+
padding: '7.5px 4px 7.5px 5px'
|
|
106
|
+
}), "& .".concat(autocompleteClasses.endAdornment), {
|
|
107
|
+
right: 9
|
|
108
|
+
})), "& .".concat(outlinedInputClasses.root, ".").concat(inputBaseClasses.sizeSmall), _defineProperty({
|
|
109
|
+
// Don't specify paddingRight, as it overrides the default value set when there is only
|
|
110
|
+
// one of the popup or clear icon as the specificity is equal so the latter one wins
|
|
111
|
+
paddingTop: 6,
|
|
112
|
+
paddingBottom: 6,
|
|
113
|
+
paddingLeft: 6
|
|
114
|
+
}, "& .".concat(autocompleteClasses.input), {
|
|
115
|
+
padding: '2.5px 4px 2.5px 8px'
|
|
116
|
+
})), "& .".concat(filledInputClasses.root), _defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
117
|
+
paddingTop: 19,
|
|
118
|
+
paddingLeft: 8
|
|
119
|
+
}, ".".concat(autocompleteClasses.hasPopupIcon, "&, .").concat(autocompleteClasses.hasClearIcon, "&"), {
|
|
120
|
+
paddingRight: 26 + 4 + 9
|
|
121
|
+
}), ".".concat(autocompleteClasses.hasPopupIcon, ".").concat(autocompleteClasses.hasClearIcon, "&"), {
|
|
122
|
+
paddingRight: 52 + 4 + 9
|
|
123
|
+
}), "& .".concat(filledInputClasses.input), {
|
|
124
|
+
padding: '7px 4px'
|
|
125
|
+
}), "& .".concat(autocompleteClasses.endAdornment), {
|
|
126
|
+
right: 9
|
|
127
|
+
})), "& .".concat(filledInputClasses.root, ".").concat(inputBaseClasses.sizeSmall), _defineProperty({
|
|
128
|
+
paddingBottom: 1
|
|
129
|
+
}, "& .".concat(filledInputClasses.input), {
|
|
130
|
+
padding: '2.5px 4px'
|
|
131
|
+
})), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_styled, "& .".concat(inputBaseClasses.hiddenLabel), {
|
|
132
|
+
paddingTop: 8
|
|
133
|
+
}), "& .".concat(filledInputClasses.root, ".").concat(inputBaseClasses.hiddenLabel), _defineProperty({
|
|
134
|
+
paddingTop: 0,
|
|
135
|
+
paddingBottom: 0
|
|
136
|
+
}, "& .".concat(autocompleteClasses.input), {
|
|
137
|
+
paddingTop: 16,
|
|
138
|
+
paddingBottom: 17
|
|
139
|
+
})), "& .".concat(filledInputClasses.root, ".").concat(inputBaseClasses.hiddenLabel, ".").concat(inputBaseClasses.sizeSmall), _defineProperty({}, "& .".concat(autocompleteClasses.input), {
|
|
140
|
+
paddingTop: 8,
|
|
141
|
+
paddingBottom: 9
|
|
142
|
+
})), "& .".concat(autocompleteClasses.input), {
|
|
143
|
+
flexGrow: 1,
|
|
144
|
+
textOverflow: 'ellipsis',
|
|
145
|
+
opacity: 0
|
|
146
|
+
}), "variants", [{
|
|
147
|
+
props: {
|
|
148
|
+
fullWidth: true
|
|
149
|
+
},
|
|
150
|
+
style: {
|
|
84
151
|
width: '100%'
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
152
|
+
}
|
|
153
|
+
}, {
|
|
154
|
+
props: {
|
|
155
|
+
size: 'small'
|
|
156
|
+
},
|
|
157
|
+
style: _defineProperty({}, "& .".concat(autocompleteClasses.tag), {
|
|
89
158
|
margin: 2,
|
|
90
159
|
maxWidth: 'calc(100% - 4px)'
|
|
91
|
-
})
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
}), "& .".concat(autocompleteClasses.input), {
|
|
98
|
-
width: 0,
|
|
99
|
-
minWidth: 30
|
|
100
|
-
})), "& .".concat(inputClasses.root), {
|
|
101
|
-
paddingBottom: 1,
|
|
102
|
-
'& .MuiInput-input': {
|
|
103
|
-
padding: '4px 4px 4px 0px'
|
|
104
|
-
}
|
|
105
|
-
}), "& .".concat(inputClasses.root, ".").concat(inputBaseClasses.sizeSmall), _defineProperty({}, "& .".concat(inputClasses.input), {
|
|
106
|
-
padding: '2px 4px 3px 0'
|
|
107
|
-
})), "& .".concat(outlinedInputClasses.root), _defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
108
|
-
padding: 9
|
|
109
|
-
}, ".".concat(autocompleteClasses.hasPopupIcon, "&, .").concat(autocompleteClasses.hasClearIcon, "&"), {
|
|
110
|
-
paddingRight: 26 + 4 + 9
|
|
111
|
-
}), ".".concat(autocompleteClasses.hasPopupIcon, ".").concat(autocompleteClasses.hasClearIcon, "&"), {
|
|
112
|
-
paddingRight: 52 + 4 + 9
|
|
113
|
-
}), "& .".concat(autocompleteClasses.input), {
|
|
114
|
-
padding: '7.5px 4px 7.5px 5px'
|
|
115
|
-
}), "& .".concat(autocompleteClasses.endAdornment), {
|
|
116
|
-
right: 9
|
|
117
|
-
})), "& .".concat(outlinedInputClasses.root, ".").concat(inputBaseClasses.sizeSmall), _defineProperty({
|
|
118
|
-
// Don't specify paddingRight, as it overrides the default value set when there is only
|
|
119
|
-
// one of the popup or clear icon as the specificity is equal so the latter one wins
|
|
120
|
-
paddingTop: 6,
|
|
121
|
-
paddingBottom: 6,
|
|
122
|
-
paddingLeft: 6
|
|
123
|
-
}, "& .".concat(autocompleteClasses.input), {
|
|
124
|
-
padding: '2.5px 4px 2.5px 8px'
|
|
125
|
-
})), "& .".concat(filledInputClasses.root), _defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
126
|
-
paddingTop: 19,
|
|
127
|
-
paddingLeft: 8
|
|
128
|
-
}, ".".concat(autocompleteClasses.hasPopupIcon, "&, .").concat(autocompleteClasses.hasClearIcon, "&"), {
|
|
129
|
-
paddingRight: 26 + 4 + 9
|
|
130
|
-
}), ".".concat(autocompleteClasses.hasPopupIcon, ".").concat(autocompleteClasses.hasClearIcon, "&"), {
|
|
131
|
-
paddingRight: 52 + 4 + 9
|
|
132
|
-
}), "& .".concat(filledInputClasses.input), {
|
|
133
|
-
padding: '7px 4px'
|
|
134
|
-
}), "& .".concat(autocompleteClasses.endAdornment), {
|
|
135
|
-
right: 9
|
|
136
|
-
})), "& .".concat(filledInputClasses.root, ".").concat(inputBaseClasses.sizeSmall), _defineProperty({
|
|
137
|
-
paddingBottom: 1
|
|
138
|
-
}, "& .".concat(filledInputClasses.input), {
|
|
139
|
-
padding: '2.5px 4px'
|
|
140
|
-
})), "& .".concat(inputBaseClasses.hiddenLabel), {
|
|
141
|
-
paddingTop: 8
|
|
142
|
-
}), "& .".concat(filledInputClasses.root, ".").concat(inputBaseClasses.hiddenLabel), _defineProperty({
|
|
143
|
-
paddingTop: 0,
|
|
144
|
-
paddingBottom: 0
|
|
145
|
-
}, "& .".concat(autocompleteClasses.input), {
|
|
146
|
-
paddingTop: 16,
|
|
147
|
-
paddingBottom: 17
|
|
148
|
-
})), _defineProperty(_defineProperty(_extends3, "& .".concat(filledInputClasses.root, ".").concat(inputBaseClasses.hiddenLabel, ".").concat(inputBaseClasses.sizeSmall), _defineProperty({}, "& .".concat(autocompleteClasses.input), {
|
|
149
|
-
paddingTop: 8,
|
|
150
|
-
paddingBottom: 9
|
|
151
|
-
})), "& .".concat(autocompleteClasses.input), _extends({
|
|
152
|
-
flexGrow: 1,
|
|
153
|
-
textOverflow: 'ellipsis',
|
|
154
|
-
opacity: 0
|
|
155
|
-
}, ownerState.inputFocused && {
|
|
160
|
+
})
|
|
161
|
+
}, {
|
|
162
|
+
props: {
|
|
163
|
+
inputFocused: true
|
|
164
|
+
},
|
|
165
|
+
style: _defineProperty({}, "& .".concat(autocompleteClasses.input), {
|
|
156
166
|
opacity: 1
|
|
157
|
-
})
|
|
158
|
-
});
|
|
167
|
+
})
|
|
168
|
+
}])));
|
|
159
169
|
var AutocompleteEndAdornment = styled('div', {
|
|
160
170
|
name: 'MuiAutocomplete',
|
|
161
171
|
slot: 'EndAdornment',
|
|
@@ -183,18 +193,21 @@ var AutocompleteClearIndicator = styled(IconButton, {
|
|
|
183
193
|
var AutocompletePopupIndicator = styled(IconButton, {
|
|
184
194
|
name: 'MuiAutocomplete',
|
|
185
195
|
slot: 'PopupIndicator',
|
|
186
|
-
overridesResolver: function overridesResolver(
|
|
187
|
-
var ownerState =
|
|
196
|
+
overridesResolver: function overridesResolver(_ref6, styles) {
|
|
197
|
+
var ownerState = _ref6.ownerState;
|
|
188
198
|
return _extends({}, styles.popupIndicator, ownerState.popupOpen && styles.popupIndicatorOpen);
|
|
189
199
|
}
|
|
190
|
-
})(
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
200
|
+
})({
|
|
201
|
+
padding: 2,
|
|
202
|
+
marginRight: -2,
|
|
203
|
+
variants: [{
|
|
204
|
+
props: {
|
|
205
|
+
popupOpen: true
|
|
206
|
+
},
|
|
207
|
+
style: {
|
|
208
|
+
transform: 'rotate(180deg)'
|
|
209
|
+
}
|
|
210
|
+
}]
|
|
198
211
|
});
|
|
199
212
|
var AutocompletePopper = styled(Popper, {
|
|
200
213
|
name: 'MuiAutocomplete',
|
|
@@ -203,14 +216,19 @@ var AutocompletePopper = styled(Popper, {
|
|
|
203
216
|
var ownerState = props.ownerState;
|
|
204
217
|
return [_defineProperty({}, "& .".concat(autocompleteClasses.option), styles.option), styles.popper, ownerState.disablePortal && styles.popperDisablePortal];
|
|
205
218
|
}
|
|
206
|
-
})(function (
|
|
207
|
-
var theme =
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
219
|
+
})(function (_ref8) {
|
|
220
|
+
var theme = _ref8.theme;
|
|
221
|
+
return {
|
|
222
|
+
zIndex: (theme.vars || theme).zIndex.modal,
|
|
223
|
+
variants: [{
|
|
224
|
+
props: {
|
|
225
|
+
disablePortal: true
|
|
226
|
+
},
|
|
227
|
+
style: {
|
|
228
|
+
position: 'absolute'
|
|
229
|
+
}
|
|
230
|
+
}]
|
|
231
|
+
};
|
|
214
232
|
});
|
|
215
233
|
var AutocompletePaper = styled(Paper, {
|
|
216
234
|
name: 'MuiAutocomplete',
|
|
@@ -218,8 +236,8 @@ var AutocompletePaper = styled(Paper, {
|
|
|
218
236
|
overridesResolver: function overridesResolver(props, styles) {
|
|
219
237
|
return styles.paper;
|
|
220
238
|
}
|
|
221
|
-
})(function (
|
|
222
|
-
var theme =
|
|
239
|
+
})(function (_ref9) {
|
|
240
|
+
var theme = _ref9.theme;
|
|
223
241
|
return _extends({}, theme.typography.body1, {
|
|
224
242
|
overflow: 'auto'
|
|
225
243
|
});
|
|
@@ -230,8 +248,8 @@ var AutocompleteLoading = styled('div', {
|
|
|
230
248
|
overridesResolver: function overridesResolver(props, styles) {
|
|
231
249
|
return styles.loading;
|
|
232
250
|
}
|
|
233
|
-
})(function (
|
|
234
|
-
var theme =
|
|
251
|
+
})(function (_ref10) {
|
|
252
|
+
var theme = _ref10.theme;
|
|
235
253
|
return {
|
|
236
254
|
color: (theme.vars || theme).palette.text.secondary,
|
|
237
255
|
padding: '14px 16px'
|
|
@@ -243,8 +261,8 @@ var AutocompleteNoOptions = styled('div', {
|
|
|
243
261
|
overridesResolver: function overridesResolver(props, styles) {
|
|
244
262
|
return styles.noOptions;
|
|
245
263
|
}
|
|
246
|
-
})(function (
|
|
247
|
-
var theme =
|
|
264
|
+
})(function (_ref11) {
|
|
265
|
+
var theme = _ref11.theme;
|
|
248
266
|
return {
|
|
249
267
|
color: (theme.vars || theme).palette.text.secondary,
|
|
250
268
|
padding: '14px 16px'
|
|
@@ -256,8 +274,8 @@ var AutocompleteListbox = styled('div', {
|
|
|
256
274
|
overridesResolver: function overridesResolver(props, styles) {
|
|
257
275
|
return styles.listbox;
|
|
258
276
|
}
|
|
259
|
-
})(function (
|
|
260
|
-
var theme =
|
|
277
|
+
})(function (_ref12) {
|
|
278
|
+
var theme = _ref12.theme;
|
|
261
279
|
return _defineProperty({
|
|
262
280
|
listStyle: 'none',
|
|
263
281
|
margin: 0,
|
|
@@ -310,8 +328,8 @@ var AutocompleteGroupLabel = styled(ListSubheader, {
|
|
|
310
328
|
overridesResolver: function overridesResolver(props, styles) {
|
|
311
329
|
return styles.groupLabel;
|
|
312
330
|
}
|
|
313
|
-
})(function (
|
|
314
|
-
var theme =
|
|
331
|
+
})(function (_ref14) {
|
|
332
|
+
var theme = _ref14.theme;
|
|
315
333
|
return {
|
|
316
334
|
backgroundColor: (theme.vars || theme).palette.background.paper,
|
|
317
335
|
top: -8
|
|
@@ -470,8 +488,8 @@ var Autocomplete = /*#__PURE__*/React.forwardRef(function Autocomplete(inProps,
|
|
|
470
488
|
var hasPopupIcon = (!freeSolo || forcePopupIcon === true) && forcePopupIcon !== false;
|
|
471
489
|
var _getInputProps = getInputProps(),
|
|
472
490
|
handleInputMouseDown = _getInputProps.onMouseDown;
|
|
473
|
-
var
|
|
474
|
-
externalListboxRef =
|
|
491
|
+
var _ref15 = ListboxProps != null ? ListboxProps : {},
|
|
492
|
+
externalListboxRef = _ref15.ref;
|
|
475
493
|
var _getListboxProps = getListboxProps(),
|
|
476
494
|
listboxRef = _getListboxProps.ref,
|
|
477
495
|
otherListboxProps = _objectWithoutProperties(_getListboxProps, ["ref"]);
|
|
@@ -589,7 +607,7 @@ var Autocomplete = /*#__PURE__*/React.forwardRef(function Autocomplete(inProps,
|
|
|
589
607
|
}));
|
|
590
608
|
};
|
|
591
609
|
var autocompletePopper = null;
|
|
592
|
-
if (
|
|
610
|
+
if (groupedOptions.length > 0) {
|
|
593
611
|
autocompletePopper = renderAutocompletePopperChildren( /*#__PURE__*/_jsx(AutocompleteListbox, _extends({
|
|
594
612
|
as: ListboxComponent,
|
|
595
613
|
className: classes.listbox,
|
|
@@ -928,7 +946,7 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes /* remove-proptyp
|
|
|
928
946
|
ListboxProps: PropTypes.object,
|
|
929
947
|
/**
|
|
930
948
|
* If `true`, the component is in a loading state.
|
|
931
|
-
* This shows the `loadingText` in place of suggestions (only if there are no suggestions to show,
|
|
949
|
+
* This shows the `loadingText` in place of suggestions (only if there are no suggestions to show, for example `options` are empty).
|
|
932
950
|
* @default false
|
|
933
951
|
*/
|
|
934
952
|
loading: PropTypes.bool,
|
|
@@ -9,16 +9,15 @@ import { isFragment } from 'react-is';
|
|
|
9
9
|
import clsx from 'clsx';
|
|
10
10
|
import chainPropTypes from '@mui/utils/chainPropTypes';
|
|
11
11
|
import composeClasses from '@mui/utils/composeClasses';
|
|
12
|
-
import styled from '../
|
|
13
|
-
import useThemeProps from '../styles/useThemeProps';
|
|
12
|
+
import { styled, createUseThemeProps } from '../zero-styled';
|
|
14
13
|
import Avatar, { avatarClasses } from '../Avatar';
|
|
15
14
|
import avatarGroupClasses, { getAvatarGroupUtilityClass } from './avatarGroupClasses';
|
|
16
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
17
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
18
16
|
var SPACINGS = {
|
|
19
17
|
small: -16,
|
|
20
|
-
medium:
|
|
18
|
+
medium: -8
|
|
21
19
|
};
|
|
20
|
+
var useThemeProps = createUseThemeProps('MuiAlert');
|
|
22
21
|
var useUtilityClasses = function useUtilityClasses(ownerState) {
|
|
23
22
|
var classes = ownerState.classes;
|
|
24
23
|
var slots = {
|
|
@@ -34,17 +33,18 @@ var AvatarGroupRoot = styled('div', {
|
|
|
34
33
|
return _extends(_defineProperty({}, "& .".concat(avatarGroupClasses.avatar), styles.avatar), styles.root);
|
|
35
34
|
}
|
|
36
35
|
})(function (_ref) {
|
|
37
|
-
var theme = _ref.theme
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
36
|
+
var theme = _ref.theme;
|
|
37
|
+
return _defineProperty({
|
|
38
|
+
display: 'flex',
|
|
39
|
+
flexDirection: 'row-reverse'
|
|
40
|
+
}, "& .".concat(avatarClasses.root), {
|
|
41
41
|
border: "2px solid ".concat((theme.vars || theme).palette.background.default),
|
|
42
42
|
boxSizing: 'content-box',
|
|
43
|
-
marginLeft:
|
|
43
|
+
marginLeft: 'var(--AvatarGroup-spacing, -8px)',
|
|
44
44
|
'&:last-child': {
|
|
45
45
|
marginLeft: 0
|
|
46
46
|
}
|
|
47
|
-
})
|
|
47
|
+
});
|
|
48
48
|
});
|
|
49
49
|
var AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps, ref) {
|
|
50
50
|
var _slotProps$additional;
|
|
@@ -94,6 +94,7 @@ var AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps, re
|
|
|
94
94
|
var extraAvatars = Math.max(totalAvatars - clampedMax, totalAvatars - maxAvatars, 0);
|
|
95
95
|
var extraAvatarsElement = renderSurplus ? renderSurplus(extraAvatars) : "+".concat(extraAvatars);
|
|
96
96
|
var additionalAvatarSlotProps = (_slotProps$additional = slotProps.additionalAvatar) != null ? _slotProps$additional : componentsProps.additionalAvatar;
|
|
97
|
+
var marginValue = ownerState.spacing && SPACINGS[ownerState.spacing] !== undefined ? SPACINGS[ownerState.spacing] : -ownerState.spacing || -8;
|
|
97
98
|
return /*#__PURE__*/_jsxs(AvatarGroupRoot, _extends({
|
|
98
99
|
as: component,
|
|
99
100
|
ownerState: ownerState,
|
|
@@ -104,6 +105,9 @@ var AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps, re
|
|
|
104
105
|
variant: variant
|
|
105
106
|
}, additionalAvatarSlotProps, {
|
|
106
107
|
className: clsx(classes.avatar, additionalAvatarSlotProps == null ? void 0 : additionalAvatarSlotProps.className),
|
|
108
|
+
style: _extends({
|
|
109
|
+
'--AvatarRoot-spacing': marginValue ? "".concat(marginValue, "px") : undefined
|
|
110
|
+
}, other.style),
|
|
107
111
|
children: extraAvatarsElement
|
|
108
112
|
})) : null, children.slice(0, maxAvatars).reverse().map(function (child) {
|
|
109
113
|
return /*#__PURE__*/React.cloneElement(child, {
|
|
@@ -179,6 +183,10 @@ process.env.NODE_ENV !== "production" ? AvatarGroup.propTypes /* remove-proptype
|
|
|
179
183
|
* @default 'medium'
|
|
180
184
|
*/
|
|
181
185
|
spacing: PropTypes.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.number]),
|
|
186
|
+
/**
|
|
187
|
+
* @ignore
|
|
188
|
+
*/
|
|
189
|
+
style: PropTypes.object,
|
|
182
190
|
/**
|
|
183
191
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
184
192
|
*/
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import
|
|
3
|
+
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
4
4
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
5
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
5
6
|
import * as React from 'react';
|
|
6
7
|
import PropTypes from 'prop-types';
|
|
7
8
|
import clsx from 'clsx';
|
|
8
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
9
|
-
import styled from '../
|
|
10
|
-
import
|
|
10
|
+
import { styled, createUseThemeProps } from '../zero-styled';
|
|
11
|
+
import useSlot from '../utils/useSlot';
|
|
11
12
|
import Fade from '../Fade';
|
|
12
13
|
import { getBackdropUtilityClass } from './backdropClasses';
|
|
13
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
|
+
var useThemeProps = createUseThemeProps('MuiBackdrop');
|
|
14
16
|
var useUtilityClasses = function useUtilityClasses(ownerState) {
|
|
15
17
|
var classes = ownerState.classes,
|
|
16
18
|
invisible = ownerState.invisible;
|
|
@@ -26,25 +28,27 @@ var BackdropRoot = styled('div', {
|
|
|
26
28
|
var ownerState = props.ownerState;
|
|
27
29
|
return [styles.root, ownerState.invisible && styles.invisible];
|
|
28
30
|
}
|
|
29
|
-
})(
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
31
|
+
})({
|
|
32
|
+
position: 'fixed',
|
|
33
|
+
display: 'flex',
|
|
34
|
+
alignItems: 'center',
|
|
35
|
+
justifyContent: 'center',
|
|
36
|
+
right: 0,
|
|
37
|
+
bottom: 0,
|
|
38
|
+
top: 0,
|
|
39
|
+
left: 0,
|
|
40
|
+
backgroundColor: 'rgba(0, 0, 0, 0.5)',
|
|
41
|
+
WebkitTapHighlightColor: 'transparent',
|
|
42
|
+
variants: [{
|
|
43
|
+
props: {
|
|
44
|
+
invisible: true
|
|
45
|
+
},
|
|
46
|
+
style: {
|
|
47
|
+
backgroundColor: 'transparent'
|
|
48
|
+
}
|
|
49
|
+
}]
|
|
45
50
|
});
|
|
46
51
|
var Backdrop = /*#__PURE__*/React.forwardRef(function Backdrop(inProps, ref) {
|
|
47
|
-
var _slotProps$root, _ref2, _slots$root;
|
|
48
52
|
var props = useThemeProps({
|
|
49
53
|
props: inProps,
|
|
50
54
|
name: 'MuiBackdrop'
|
|
@@ -53,37 +57,59 @@ var Backdrop = /*#__PURE__*/React.forwardRef(function Backdrop(inProps, ref) {
|
|
|
53
57
|
className = props.className,
|
|
54
58
|
_props$component = props.component,
|
|
55
59
|
component = _props$component === void 0 ? 'div' : _props$component,
|
|
60
|
+
_props$invisible = props.invisible,
|
|
61
|
+
invisible = _props$invisible === void 0 ? false : _props$invisible,
|
|
62
|
+
open = props.open,
|
|
56
63
|
_props$components = props.components,
|
|
57
64
|
components = _props$components === void 0 ? {} : _props$components,
|
|
58
65
|
_props$componentsProp = props.componentsProps,
|
|
59
66
|
componentsProps = _props$componentsProp === void 0 ? {} : _props$componentsProp,
|
|
60
|
-
_props$invisible = props.invisible,
|
|
61
|
-
invisible = _props$invisible === void 0 ? false : _props$invisible,
|
|
62
|
-
open = props.open,
|
|
63
67
|
_props$slotProps = props.slotProps,
|
|
64
68
|
slotProps = _props$slotProps === void 0 ? {} : _props$slotProps,
|
|
65
69
|
_props$slots = props.slots,
|
|
66
70
|
slots = _props$slots === void 0 ? {} : _props$slots,
|
|
67
|
-
|
|
68
|
-
TransitionComponent = _props$TransitionComp === void 0 ? Fade : _props$TransitionComp,
|
|
71
|
+
TransitionComponentProp = props.TransitionComponent,
|
|
69
72
|
transitionDuration = props.transitionDuration,
|
|
70
|
-
other = _objectWithoutProperties(props, ["children", "className", "component", "
|
|
73
|
+
other = _objectWithoutProperties(props, ["children", "className", "component", "invisible", "open", "components", "componentsProps", "slotProps", "slots", "TransitionComponent", "transitionDuration"]);
|
|
71
74
|
var ownerState = _extends({}, props, {
|
|
72
75
|
component: component,
|
|
73
76
|
invisible: invisible
|
|
74
77
|
});
|
|
75
78
|
var classes = useUtilityClasses(ownerState);
|
|
76
|
-
var
|
|
77
|
-
|
|
79
|
+
var backwardCompatibleSlots = _extends({
|
|
80
|
+
transition: TransitionComponentProp,
|
|
81
|
+
root: components.Root
|
|
82
|
+
}, slots);
|
|
83
|
+
var backwardCompatibleSlotProps = _extends({}, componentsProps, slotProps);
|
|
84
|
+
var externalForwardedProps = {
|
|
85
|
+
slots: backwardCompatibleSlots,
|
|
86
|
+
slotProps: backwardCompatibleSlotProps
|
|
87
|
+
};
|
|
88
|
+
var _useSlot = useSlot('root', {
|
|
89
|
+
elementType: BackdropRoot,
|
|
90
|
+
externalForwardedProps: externalForwardedProps,
|
|
91
|
+
className: clsx(classes.root, className),
|
|
92
|
+
ownerState: ownerState
|
|
93
|
+
}),
|
|
94
|
+
_useSlot2 = _slicedToArray(_useSlot, 2),
|
|
95
|
+
RootSlot = _useSlot2[0],
|
|
96
|
+
rootProps = _useSlot2[1];
|
|
97
|
+
var _useSlot3 = useSlot('transition', {
|
|
98
|
+
elementType: Fade,
|
|
99
|
+
externalForwardedProps: externalForwardedProps,
|
|
100
|
+
ownerState: ownerState
|
|
101
|
+
}),
|
|
102
|
+
_useSlot4 = _slicedToArray(_useSlot3, 2),
|
|
103
|
+
TransitionSlot = _useSlot4[0],
|
|
104
|
+
transitionProps = _useSlot4[1];
|
|
105
|
+
delete transitionProps.ownerState;
|
|
106
|
+
return /*#__PURE__*/_jsx(TransitionSlot, _extends({
|
|
78
107
|
in: open,
|
|
79
108
|
timeout: transitionDuration
|
|
80
|
-
}, other, {
|
|
81
|
-
children: /*#__PURE__*/_jsx(
|
|
109
|
+
}, other, transitionProps, {
|
|
110
|
+
children: /*#__PURE__*/_jsx(RootSlot, _extends({
|
|
82
111
|
"aria-hidden": true
|
|
83
|
-
},
|
|
84
|
-
as: (_ref2 = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref2 : component,
|
|
85
|
-
className: clsx(classes.root, className, rootSlotProps == null ? void 0 : rootSlotProps.className),
|
|
86
|
-
ownerState: _extends({}, ownerState, rootSlotProps == null ? void 0 : rootSlotProps.ownerState),
|
|
112
|
+
}, rootProps, {
|
|
87
113
|
classes: classes,
|
|
88
114
|
ref: ref,
|
|
89
115
|
children: children
|
|
@@ -146,25 +172,20 @@ process.env.NODE_ENV !== "production" ? Backdrop.propTypes /* remove-proptypes *
|
|
|
146
172
|
*/
|
|
147
173
|
open: PropTypes.bool.isRequired,
|
|
148
174
|
/**
|
|
149
|
-
* The
|
|
150
|
-
* You can override the existing props or add new ones.
|
|
151
|
-
*
|
|
152
|
-
* This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
|
|
153
|
-
*
|
|
175
|
+
* The props used for each slot inside.
|
|
154
176
|
* @default {}
|
|
155
177
|
*/
|
|
156
178
|
slotProps: PropTypes.shape({
|
|
157
|
-
root: PropTypes.object
|
|
179
|
+
root: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
180
|
+
transition: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
158
181
|
}),
|
|
159
182
|
/**
|
|
160
183
|
* The components used for each slot inside.
|
|
161
|
-
*
|
|
162
|
-
* This prop is an alias for the `components` prop, which will be deprecated in the future.
|
|
163
|
-
*
|
|
164
184
|
* @default {}
|
|
165
185
|
*/
|
|
166
186
|
slots: PropTypes.shape({
|
|
167
|
-
root: PropTypes.elementType
|
|
187
|
+
root: PropTypes.elementType,
|
|
188
|
+
transition: PropTypes.elementType
|
|
168
189
|
}),
|
|
169
190
|
/**
|
|
170
191
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
@@ -174,6 +195,7 @@ process.env.NODE_ENV !== "production" ? Backdrop.propTypes /* remove-proptypes *
|
|
|
174
195
|
* The component used for the transition.
|
|
175
196
|
* [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
176
197
|
* @default Fade
|
|
198
|
+
* @deprecated Use `slots.transition` instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
177
199
|
*/
|
|
178
200
|
TransitionComponent: PropTypes.elementType,
|
|
179
201
|
/**
|
package/legacy/Badge/Badge.js
CHANGED
|
@@ -14,8 +14,7 @@ import { useSlotProps } from '@mui/base/utils';
|
|
|
14
14
|
import { styled, createUseThemeProps } from '../zero-styled';
|
|
15
15
|
import capitalize from '../utils/capitalize';
|
|
16
16
|
import badgeClasses, { getBadgeUtilityClass } from './badgeClasses';
|
|
17
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
18
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
19
18
|
var RADIUS_STANDARD = 10;
|
|
20
19
|
var RADIUS_DOT = 4;
|
|
21
20
|
var useThemeProps = createUseThemeProps('MuiBadge');
|
|
@@ -7,10 +7,10 @@ import { isFragment } from 'react-is';
|
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
|
-
import styled from '../
|
|
11
|
-
import useThemeProps from '../styles/useThemeProps';
|
|
10
|
+
import { styled, createUseThemeProps } from '../zero-styled';
|
|
12
11
|
import { getBottomNavigationUtilityClass } from './bottomNavigationClasses';
|
|
13
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
var useThemeProps = createUseThemeProps('MuiBottomNavigation');
|
|
14
14
|
var useUtilityClasses = function useUtilityClasses(ownerState) {
|
|
15
15
|
var classes = ownerState.classes;
|
|
16
16
|
var slots = {
|