@mui/material 7.0.0-rc.0 → 7.0.1
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 +5 -5
- package/Accordion/Accordion.js +2 -2
- package/AccordionActions/AccordionActions.d.ts +2 -2
- package/AccordionDetails/AccordionDetails.d.ts +2 -2
- package/AccordionSummary/AccordionSummary.d.ts +3 -3
- package/Alert/Alert.d.ts +5 -5
- package/Alert/Alert.js +2 -2
- package/AlertTitle/AlertTitle.d.ts +3 -3
- package/AppBar/AppBar.d.ts +3 -3
- package/Autocomplete/Autocomplete.d.ts +11 -11
- package/Autocomplete/Autocomplete.js +7 -7
- package/Avatar/Avatar.d.ts +3 -3
- package/Avatar/Avatar.js +1 -1
- package/AvatarGroup/AvatarGroup.d.ts +4 -4
- package/AvatarGroup/AvatarGroup.js +1 -1
- package/Backdrop/Backdrop.d.ts +6 -6
- package/Backdrop/Backdrop.js +3 -3
- package/Badge/Badge.d.ts +5 -5
- package/Badge/Badge.js +2 -2
- package/BottomNavigation/BottomNavigation.d.ts +2 -2
- package/BottomNavigationAction/BottomNavigationAction.d.ts +3 -3
- package/Box/Box.d.ts +2 -2
- package/Breadcrumbs/Breadcrumbs.d.ts +3 -3
- package/Button/Button.d.ts +4 -4
- package/Button/Button.js +1 -1
- package/ButtonBase/ButtonBase.d.ts +2 -2
- package/ButtonGroup/ButtonGroup.d.ts +2 -2
- package/CHANGELOG.md +93 -0
- package/Card/Card.d.ts +3 -3
- package/CardActionArea/CardActionArea.d.ts +3 -3
- package/CardActions/CardActions.d.ts +2 -2
- package/CardContent/CardContent.d.ts +2 -2
- package/CardHeader/CardHeader.d.ts +4 -4
- package/CardHeader/CardHeader.js +2 -2
- package/CardMedia/CardMedia.d.ts +2 -2
- package/Checkbox/Checkbox.d.ts +4 -4
- package/Checkbox/Checkbox.js +1 -1
- package/Chip/Chip.d.ts +2 -2
- package/CircularProgress/CircularProgress.d.ts +2 -2
- package/ClickAwayListener/ClickAwayListener.d.ts +3 -3
- package/ClickAwayListener/ClickAwayListener.js +3 -3
- package/Collapse/Collapse.d.ts +5 -5
- package/Container/Container.d.ts +2 -2
- package/CssBaseline/CssBaseline.d.ts +2 -2
- package/Dialog/Dialog.d.ts +6 -6
- package/Dialog/Dialog.js +3 -3
- package/DialogActions/DialogActions.d.ts +2 -2
- package/DialogContent/DialogContent.d.ts +2 -2
- package/DialogContentText/DialogContentText.d.ts +3 -3
- package/DialogTitle/DialogTitle.d.ts +3 -3
- package/Divider/Divider.d.ts +3 -3
- package/Drawer/Drawer.d.ts +5 -5
- package/Drawer/Drawer.js +2 -2
- package/Fab/Fab.d.ts +3 -3
- package/Fab/Fab.js +1 -1
- package/Fade/Fade.d.ts +3 -3
- package/FilledInput/FilledInput.d.ts +3 -3
- package/FilledInput/FilledInput.js +2 -2
- package/FormControl/FormControl.d.ts +6 -6
- package/FormControlLabel/FormControlLabel.d.ts +5 -5
- package/FormControlLabel/FormControlLabel.js +1 -1
- package/FormGroup/FormGroup.d.ts +3 -3
- package/FormHelperText/FormHelperText.d.ts +2 -2
- package/FormLabel/FormLabel.d.ts +4 -4
- package/GlobalStyles/GlobalStyles.d.ts +2 -2
- package/Grid/Grid.d.ts +2 -2
- package/Grid/Grid.js +2 -2
- package/GridLegacy/GridLegacy.d.ts +2 -2
- package/Grow/Grow.d.ts +5 -5
- package/Icon/Icon.d.ts +3 -3
- package/IconButton/IconButton.d.ts +4 -4
- package/IconButton/IconButton.js +1 -1
- package/ImageList/ImageList.d.ts +2 -2
- package/ImageListItem/ImageListItem.d.ts +2 -2
- package/ImageListItemBar/ImageListItemBar.d.ts +2 -2
- package/Input/Input.d.ts +3 -3
- package/Input/Input.js +2 -2
- package/InputAdornment/InputAdornment.d.ts +2 -2
- package/InputBase/InputBase.d.ts +4 -4
- package/InputBase/InputBase.js +2 -2
- package/InputLabel/InputLabel.d.ts +3 -3
- package/LinearProgress/LinearProgress.d.ts +2 -2
- package/Link/Link.d.ts +4 -4
- package/List/List.d.ts +3 -3
- package/ListItem/ListItem.d.ts +7 -7
- package/ListItem/ListItem.js +6 -6
- package/ListItemAvatar/ListItemAvatar.d.ts +2 -2
- package/ListItemButton/ListItemButton.d.ts +3 -3
- package/ListItemIcon/ListItemIcon.d.ts +2 -2
- package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +3 -3
- package/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/ListItemText/ListItemText.d.ts +4 -4
- package/ListItemText/ListItemText.js +2 -2
- package/ListSubheader/ListSubheader.d.ts +2 -2
- package/Menu/Menu.d.ts +6 -6
- package/Menu/Menu.js +2 -2
- package/MenuItem/MenuItem.d.ts +3 -3
- package/MenuList/MenuList.d.ts +4 -4
- package/MobileStepper/MobileStepper.d.ts +4 -4
- package/MobileStepper/MobileStepper.js +1 -1
- package/Modal/Modal.d.ts +9 -9
- package/Modal/Modal.js +2 -2
- package/NativeSelect/NativeSelect.d.ts +3 -3
- package/NoSsr/NoSsr.d.ts +2 -2
- package/NoSsr/NoSsr.js +2 -2
- package/OutlinedInput/OutlinedInput.d.ts +3 -3
- package/OutlinedInput/OutlinedInput.js +1 -1
- package/Pagination/Pagination.d.ts +2 -2
- package/PaginationItem/PaginationItem.d.ts +3 -3
- package/PaginationItem/PaginationItem.js +1 -1
- package/Paper/Paper.d.ts +3 -3
- package/PigmentContainer/PigmentContainer.d.ts +2 -2
- package/PigmentContainer/PigmentContainer.js +2 -2
- package/PigmentGrid/PigmentGrid.d.ts +2 -2
- package/PigmentGrid/PigmentGrid.js +2 -2
- package/PigmentStack/PigmentStack.d.ts +2 -2
- package/PigmentStack/PigmentStack.js +2 -2
- package/Popover/Popover.d.ts +9 -9
- package/Popover/Popover.js +5 -5
- package/Popper/Popper.d.ts +6 -6
- package/Popper/Popper.js +6 -6
- package/Portal/Portal.d.ts +2 -2
- package/Portal/Portal.js +2 -2
- package/README.md +3 -3
- package/Radio/Radio.d.ts +3 -3
- package/Radio/Radio.js +2 -2
- package/RadioGroup/RadioGroup.d.ts +3 -3
- package/Rating/Rating.d.ts +3 -3
- package/Rating/Rating.js +1 -1
- package/ScopedCssBaseline/ScopedCssBaseline.d.ts +2 -2
- package/Select/Select.d.ts +3 -3
- package/Skeleton/Skeleton.d.ts +2 -2
- package/Slide/Slide.d.ts +4 -4
- package/Slider/Slider.d.ts +4 -4
- package/Slider/Slider.js +2 -2
- package/Snackbar/Snackbar.d.ts +6 -6
- package/Snackbar/Snackbar.js +4 -4
- package/SnackbarContent/SnackbarContent.d.ts +3 -3
- package/SpeedDial/SpeedDial.d.ts +4 -4
- package/SpeedDial/SpeedDial.js +2 -2
- package/SpeedDialAction/SpeedDialAction.d.ts +8 -8
- package/SpeedDialAction/SpeedDialAction.js +5 -5
- package/SpeedDialIcon/SpeedDialIcon.d.ts +2 -2
- package/Stack/Stack.d.ts +2 -2
- package/Step/Step.d.ts +2 -2
- package/StepButton/StepButton.d.ts +3 -3
- package/StepConnector/StepConnector.d.ts +2 -2
- package/StepContent/StepContent.d.ts +4 -4
- package/StepContent/StepContent.js +2 -2
- package/StepIcon/StepIcon.d.ts +3 -3
- package/StepLabel/StepLabel.d.ts +5 -5
- package/StepLabel/StepLabel.js +3 -3
- package/Stepper/Stepper.d.ts +2 -2
- package/SvgIcon/SvgIcon.d.ts +3 -3
- package/SwipeableDrawer/SwipeableDrawer.d.ts +4 -4
- package/SwipeableDrawer/SwipeableDrawer.js +1 -1
- package/Switch/Switch.d.ts +4 -4
- package/Switch/Switch.js +2 -2
- package/Tab/Tab.d.ts +3 -3
- package/TabScrollButton/TabScrollButton.d.ts +2 -2
- package/Table/Table.d.ts +2 -2
- package/TableBody/TableBody.d.ts +2 -2
- package/TableCell/TableCell.d.ts +2 -2
- package/TableContainer/TableContainer.d.ts +2 -2
- package/TableFooter/TableFooter.d.ts +2 -2
- package/TableHead/TableHead.d.ts +2 -2
- package/TablePagination/TablePagination.d.ts +4 -4
- package/TableRow/TableRow.d.ts +2 -2
- package/TableSortLabel/TableSortLabel.d.ts +3 -3
- package/Tabs/Tabs.d.ts +5 -5
- package/Tabs/Tabs.js +7 -3
- package/TextField/TextField.d.ts +17 -17
- package/TextField/TextField.js +5 -5
- package/TextareaAutosize/TextareaAutosize.d.ts +2 -2
- package/TextareaAutosize/TextareaAutosize.js +2 -2
- package/ToggleButton/ToggleButton.d.ts +3 -3
- package/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -2
- package/Toolbar/Toolbar.d.ts +2 -2
- package/Tooltip/Tooltip.d.ts +9 -9
- package/Tooltip/Tooltip.js +6 -6
- package/Typography/Typography.d.ts +4 -4
- package/Typography/Typography.js +1 -1
- package/Zoom/Zoom.d.ts +3 -3
- package/esm/Accordion/Accordion.d.ts +5 -5
- package/esm/Accordion/Accordion.js +2 -2
- package/esm/AccordionActions/AccordionActions.d.ts +2 -2
- package/esm/AccordionDetails/AccordionDetails.d.ts +2 -2
- package/esm/AccordionSummary/AccordionSummary.d.ts +3 -3
- package/esm/Alert/Alert.d.ts +5 -5
- package/esm/Alert/Alert.js +2 -2
- package/esm/AlertTitle/AlertTitle.d.ts +3 -3
- package/esm/AppBar/AppBar.d.ts +3 -3
- package/esm/Autocomplete/Autocomplete.d.ts +11 -11
- package/esm/Autocomplete/Autocomplete.js +7 -7
- package/esm/Avatar/Avatar.d.ts +3 -3
- package/esm/Avatar/Avatar.js +1 -1
- package/esm/AvatarGroup/AvatarGroup.d.ts +4 -4
- package/esm/AvatarGroup/AvatarGroup.js +1 -1
- package/esm/Backdrop/Backdrop.d.ts +6 -6
- package/esm/Backdrop/Backdrop.js +3 -3
- package/esm/Badge/Badge.d.ts +5 -5
- package/esm/Badge/Badge.js +2 -2
- package/esm/BottomNavigation/BottomNavigation.d.ts +2 -2
- package/esm/BottomNavigationAction/BottomNavigationAction.d.ts +3 -3
- package/esm/Box/Box.d.ts +2 -2
- package/esm/Breadcrumbs/Breadcrumbs.d.ts +3 -3
- package/esm/Button/Button.d.ts +4 -4
- package/esm/Button/Button.js +1 -1
- package/esm/ButtonBase/ButtonBase.d.ts +2 -2
- package/esm/ButtonGroup/ButtonGroup.d.ts +2 -2
- package/esm/Card/Card.d.ts +3 -3
- package/esm/CardActionArea/CardActionArea.d.ts +3 -3
- package/esm/CardActions/CardActions.d.ts +2 -2
- package/esm/CardContent/CardContent.d.ts +2 -2
- package/esm/CardHeader/CardHeader.d.ts +4 -4
- package/esm/CardHeader/CardHeader.js +2 -2
- package/esm/CardMedia/CardMedia.d.ts +2 -2
- package/esm/Checkbox/Checkbox.d.ts +4 -4
- package/esm/Checkbox/Checkbox.js +1 -1
- package/esm/Chip/Chip.d.ts +2 -2
- package/esm/CircularProgress/CircularProgress.d.ts +2 -2
- package/esm/ClickAwayListener/ClickAwayListener.d.ts +3 -3
- package/esm/ClickAwayListener/ClickAwayListener.js +3 -3
- package/esm/Collapse/Collapse.d.ts +5 -5
- package/esm/Container/Container.d.ts +2 -2
- package/esm/CssBaseline/CssBaseline.d.ts +2 -2
- package/esm/Dialog/Dialog.d.ts +6 -6
- package/esm/Dialog/Dialog.js +3 -3
- package/esm/DialogActions/DialogActions.d.ts +2 -2
- package/esm/DialogContent/DialogContent.d.ts +2 -2
- package/esm/DialogContentText/DialogContentText.d.ts +3 -3
- package/esm/DialogTitle/DialogTitle.d.ts +3 -3
- package/esm/Divider/Divider.d.ts +3 -3
- package/esm/Drawer/Drawer.d.ts +5 -5
- package/esm/Drawer/Drawer.js +2 -2
- package/esm/Fab/Fab.d.ts +3 -3
- package/esm/Fab/Fab.js +1 -1
- package/esm/Fade/Fade.d.ts +3 -3
- package/esm/FilledInput/FilledInput.d.ts +3 -3
- package/esm/FilledInput/FilledInput.js +2 -2
- package/esm/FormControl/FormControl.d.ts +6 -6
- package/esm/FormControlLabel/FormControlLabel.d.ts +5 -5
- package/esm/FormControlLabel/FormControlLabel.js +1 -1
- package/esm/FormGroup/FormGroup.d.ts +3 -3
- package/esm/FormHelperText/FormHelperText.d.ts +2 -2
- package/esm/FormLabel/FormLabel.d.ts +4 -4
- package/esm/GlobalStyles/GlobalStyles.d.ts +2 -2
- package/esm/Grid/Grid.d.ts +2 -2
- package/esm/Grid/Grid.js +2 -2
- package/esm/GridLegacy/GridLegacy.d.ts +2 -2
- package/esm/Grow/Grow.d.ts +5 -5
- package/esm/Icon/Icon.d.ts +3 -3
- package/esm/IconButton/IconButton.d.ts +4 -4
- package/esm/IconButton/IconButton.js +1 -1
- package/esm/ImageList/ImageList.d.ts +2 -2
- package/esm/ImageListItem/ImageListItem.d.ts +2 -2
- package/esm/ImageListItemBar/ImageListItemBar.d.ts +2 -2
- package/esm/Input/Input.d.ts +3 -3
- package/esm/Input/Input.js +2 -2
- package/esm/InputAdornment/InputAdornment.d.ts +2 -2
- package/esm/InputBase/InputBase.d.ts +4 -4
- package/esm/InputBase/InputBase.js +2 -2
- package/esm/InputLabel/InputLabel.d.ts +3 -3
- package/esm/LinearProgress/LinearProgress.d.ts +2 -2
- package/esm/Link/Link.d.ts +4 -4
- package/esm/List/List.d.ts +3 -3
- package/esm/ListItem/ListItem.d.ts +7 -7
- package/esm/ListItem/ListItem.js +6 -6
- package/esm/ListItemAvatar/ListItemAvatar.d.ts +2 -2
- package/esm/ListItemButton/ListItemButton.d.ts +3 -3
- package/esm/ListItemIcon/ListItemIcon.d.ts +2 -2
- package/esm/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +3 -3
- package/esm/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/esm/ListItemText/ListItemText.d.ts +4 -4
- package/esm/ListItemText/ListItemText.js +2 -2
- package/esm/ListSubheader/ListSubheader.d.ts +2 -2
- package/esm/Menu/Menu.d.ts +6 -6
- package/esm/Menu/Menu.js +2 -2
- package/esm/MenuItem/MenuItem.d.ts +3 -3
- package/esm/MenuList/MenuList.d.ts +4 -4
- package/esm/MobileStepper/MobileStepper.d.ts +4 -4
- package/esm/MobileStepper/MobileStepper.js +1 -1
- package/esm/Modal/Modal.d.ts +9 -9
- package/esm/Modal/Modal.js +2 -2
- package/esm/NativeSelect/NativeSelect.d.ts +3 -3
- package/esm/NoSsr/NoSsr.d.ts +2 -2
- package/esm/NoSsr/NoSsr.js +2 -2
- package/esm/OutlinedInput/OutlinedInput.d.ts +3 -3
- package/esm/OutlinedInput/OutlinedInput.js +1 -1
- package/esm/Pagination/Pagination.d.ts +2 -2
- package/esm/PaginationItem/PaginationItem.d.ts +3 -3
- package/esm/PaginationItem/PaginationItem.js +1 -1
- package/esm/Paper/Paper.d.ts +3 -3
- package/esm/PigmentContainer/PigmentContainer.d.ts +2 -2
- package/esm/PigmentContainer/PigmentContainer.js +2 -2
- package/esm/PigmentGrid/PigmentGrid.d.ts +2 -2
- package/esm/PigmentGrid/PigmentGrid.js +2 -2
- package/esm/PigmentStack/PigmentStack.d.ts +2 -2
- package/esm/PigmentStack/PigmentStack.js +2 -2
- package/esm/Popover/Popover.d.ts +9 -9
- package/esm/Popover/Popover.js +5 -5
- package/esm/Popper/Popper.d.ts +6 -6
- package/esm/Popper/Popper.js +6 -6
- package/esm/Portal/Portal.d.ts +2 -2
- package/esm/Portal/Portal.js +2 -2
- package/esm/Radio/Radio.d.ts +3 -3
- package/esm/Radio/Radio.js +2 -2
- package/esm/RadioGroup/RadioGroup.d.ts +3 -3
- package/esm/Rating/Rating.d.ts +3 -3
- package/esm/Rating/Rating.js +1 -1
- package/esm/ScopedCssBaseline/ScopedCssBaseline.d.ts +2 -2
- package/esm/Select/Select.d.ts +3 -3
- package/esm/Skeleton/Skeleton.d.ts +2 -2
- package/esm/Slide/Slide.d.ts +4 -4
- package/esm/Slider/Slider.d.ts +4 -4
- package/esm/Slider/Slider.js +2 -2
- package/esm/Snackbar/Snackbar.d.ts +6 -6
- package/esm/Snackbar/Snackbar.js +4 -4
- package/esm/SnackbarContent/SnackbarContent.d.ts +3 -3
- package/esm/SpeedDial/SpeedDial.d.ts +4 -4
- package/esm/SpeedDial/SpeedDial.js +2 -2
- package/esm/SpeedDialAction/SpeedDialAction.d.ts +8 -8
- package/esm/SpeedDialAction/SpeedDialAction.js +5 -5
- package/esm/SpeedDialIcon/SpeedDialIcon.d.ts +2 -2
- package/esm/Stack/Stack.d.ts +2 -2
- package/esm/Step/Step.d.ts +2 -2
- package/esm/StepButton/StepButton.d.ts +3 -3
- package/esm/StepConnector/StepConnector.d.ts +2 -2
- package/esm/StepContent/StepContent.d.ts +4 -4
- package/esm/StepContent/StepContent.js +2 -2
- package/esm/StepIcon/StepIcon.d.ts +3 -3
- package/esm/StepLabel/StepLabel.d.ts +5 -5
- package/esm/StepLabel/StepLabel.js +3 -3
- package/esm/Stepper/Stepper.d.ts +2 -2
- package/esm/SvgIcon/SvgIcon.d.ts +3 -3
- package/esm/SwipeableDrawer/SwipeableDrawer.d.ts +4 -4
- package/esm/SwipeableDrawer/SwipeableDrawer.js +1 -1
- package/esm/Switch/Switch.d.ts +4 -4
- package/esm/Switch/Switch.js +2 -2
- package/esm/Tab/Tab.d.ts +3 -3
- package/esm/TabScrollButton/TabScrollButton.d.ts +2 -2
- package/esm/Table/Table.d.ts +2 -2
- package/esm/TableBody/TableBody.d.ts +2 -2
- package/esm/TableCell/TableCell.d.ts +2 -2
- package/esm/TableContainer/TableContainer.d.ts +2 -2
- package/esm/TableFooter/TableFooter.d.ts +2 -2
- package/esm/TableHead/TableHead.d.ts +2 -2
- package/esm/TablePagination/TablePagination.d.ts +4 -4
- package/esm/TableRow/TableRow.d.ts +2 -2
- package/esm/TableSortLabel/TableSortLabel.d.ts +3 -3
- package/esm/Tabs/Tabs.d.ts +5 -5
- package/esm/Tabs/Tabs.js +7 -3
- package/esm/TextField/TextField.d.ts +17 -17
- package/esm/TextField/TextField.js +5 -5
- package/esm/TextareaAutosize/TextareaAutosize.d.ts +2 -2
- package/esm/TextareaAutosize/TextareaAutosize.js +2 -2
- package/esm/ToggleButton/ToggleButton.d.ts +3 -3
- package/esm/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -2
- package/esm/Toolbar/Toolbar.d.ts +2 -2
- package/esm/Tooltip/Tooltip.d.ts +9 -9
- package/esm/Tooltip/Tooltip.js +6 -6
- package/esm/Typography/Typography.d.ts +4 -4
- package/esm/Typography/Typography.js +1 -1
- package/esm/Zoom/Zoom.d.ts +3 -3
- package/esm/index.js +1 -1
- package/esm/internal/SwitchBase.d.ts +2 -2
- package/esm/styles/createTypography.d.ts +1 -23
- package/esm/styles/cssUtils.d.ts +1 -1
- package/esm/styles/index.d.ts +2 -2
- package/esm/useAutocomplete/useAutocomplete.d.ts +2 -2
- package/esm/useAutocomplete/useAutocomplete.js +3 -3
- package/esm/version/index.js +3 -3
- package/index.js +1 -1
- package/internal/SwitchBase.d.ts +2 -2
- package/modern/Accordion/Accordion.d.ts +5 -5
- package/modern/Accordion/Accordion.js +2 -2
- package/modern/AccordionActions/AccordionActions.d.ts +2 -2
- package/modern/AccordionDetails/AccordionDetails.d.ts +2 -2
- package/modern/AccordionSummary/AccordionSummary.d.ts +3 -3
- package/modern/Alert/Alert.d.ts +5 -5
- package/modern/Alert/Alert.js +2 -2
- package/modern/AlertTitle/AlertTitle.d.ts +3 -3
- package/modern/AppBar/AppBar.d.ts +3 -3
- package/modern/Autocomplete/Autocomplete.d.ts +11 -11
- package/modern/Autocomplete/Autocomplete.js +7 -7
- package/modern/Avatar/Avatar.d.ts +3 -3
- package/modern/Avatar/Avatar.js +1 -1
- package/modern/AvatarGroup/AvatarGroup.d.ts +4 -4
- package/modern/AvatarGroup/AvatarGroup.js +1 -1
- package/modern/Backdrop/Backdrop.d.ts +6 -6
- package/modern/Backdrop/Backdrop.js +3 -3
- package/modern/Badge/Badge.d.ts +5 -5
- package/modern/Badge/Badge.js +2 -2
- package/modern/BottomNavigation/BottomNavigation.d.ts +2 -2
- package/modern/BottomNavigationAction/BottomNavigationAction.d.ts +3 -3
- package/modern/Box/Box.d.ts +2 -2
- package/modern/Breadcrumbs/Breadcrumbs.d.ts +3 -3
- package/modern/Button/Button.d.ts +4 -4
- package/modern/Button/Button.js +1 -1
- package/modern/ButtonBase/ButtonBase.d.ts +2 -2
- package/modern/ButtonGroup/ButtonGroup.d.ts +2 -2
- package/modern/Card/Card.d.ts +3 -3
- package/modern/CardActionArea/CardActionArea.d.ts +3 -3
- package/modern/CardActions/CardActions.d.ts +2 -2
- package/modern/CardContent/CardContent.d.ts +2 -2
- package/modern/CardHeader/CardHeader.d.ts +4 -4
- package/modern/CardHeader/CardHeader.js +2 -2
- package/modern/CardMedia/CardMedia.d.ts +2 -2
- package/modern/Checkbox/Checkbox.d.ts +4 -4
- package/modern/Checkbox/Checkbox.js +1 -1
- package/modern/Chip/Chip.d.ts +2 -2
- package/modern/CircularProgress/CircularProgress.d.ts +2 -2
- package/modern/ClickAwayListener/ClickAwayListener.d.ts +3 -3
- package/modern/ClickAwayListener/ClickAwayListener.js +3 -3
- package/modern/Collapse/Collapse.d.ts +5 -5
- package/modern/Container/Container.d.ts +2 -2
- package/modern/CssBaseline/CssBaseline.d.ts +2 -2
- package/modern/Dialog/Dialog.d.ts +6 -6
- package/modern/Dialog/Dialog.js +3 -3
- package/modern/DialogActions/DialogActions.d.ts +2 -2
- package/modern/DialogContent/DialogContent.d.ts +2 -2
- package/modern/DialogContentText/DialogContentText.d.ts +3 -3
- package/modern/DialogTitle/DialogTitle.d.ts +3 -3
- package/modern/Divider/Divider.d.ts +3 -3
- package/modern/Drawer/Drawer.d.ts +5 -5
- package/modern/Drawer/Drawer.js +2 -2
- package/modern/Fab/Fab.d.ts +3 -3
- package/modern/Fab/Fab.js +1 -1
- package/modern/Fade/Fade.d.ts +3 -3
- package/modern/FilledInput/FilledInput.d.ts +3 -3
- package/modern/FilledInput/FilledInput.js +2 -2
- package/modern/FormControl/FormControl.d.ts +6 -6
- package/modern/FormControlLabel/FormControlLabel.d.ts +5 -5
- package/modern/FormControlLabel/FormControlLabel.js +1 -1
- package/modern/FormGroup/FormGroup.d.ts +3 -3
- package/modern/FormHelperText/FormHelperText.d.ts +2 -2
- package/modern/FormLabel/FormLabel.d.ts +4 -4
- package/modern/GlobalStyles/GlobalStyles.d.ts +2 -2
- package/modern/Grid/Grid.d.ts +2 -2
- package/modern/Grid/Grid.js +2 -2
- package/modern/GridLegacy/GridLegacy.d.ts +2 -2
- package/modern/Grow/Grow.d.ts +5 -5
- package/modern/Icon/Icon.d.ts +3 -3
- package/modern/IconButton/IconButton.d.ts +4 -4
- package/modern/IconButton/IconButton.js +1 -1
- package/modern/ImageList/ImageList.d.ts +2 -2
- package/modern/ImageListItem/ImageListItem.d.ts +2 -2
- package/modern/ImageListItemBar/ImageListItemBar.d.ts +2 -2
- package/modern/Input/Input.d.ts +3 -3
- package/modern/Input/Input.js +2 -2
- package/modern/InputAdornment/InputAdornment.d.ts +2 -2
- package/modern/InputBase/InputBase.d.ts +4 -4
- package/modern/InputBase/InputBase.js +2 -2
- package/modern/InputLabel/InputLabel.d.ts +3 -3
- package/modern/LinearProgress/LinearProgress.d.ts +2 -2
- package/modern/Link/Link.d.ts +4 -4
- package/modern/List/List.d.ts +3 -3
- package/modern/ListItem/ListItem.d.ts +7 -7
- package/modern/ListItem/ListItem.js +6 -6
- package/modern/ListItemAvatar/ListItemAvatar.d.ts +2 -2
- package/modern/ListItemButton/ListItemButton.d.ts +3 -3
- package/modern/ListItemIcon/ListItemIcon.d.ts +2 -2
- package/modern/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +3 -3
- package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/modern/ListItemText/ListItemText.d.ts +4 -4
- package/modern/ListItemText/ListItemText.js +2 -2
- package/modern/ListSubheader/ListSubheader.d.ts +2 -2
- package/modern/Menu/Menu.d.ts +6 -6
- package/modern/Menu/Menu.js +2 -2
- package/modern/MenuItem/MenuItem.d.ts +3 -3
- package/modern/MenuList/MenuList.d.ts +4 -4
- package/modern/MobileStepper/MobileStepper.d.ts +4 -4
- package/modern/MobileStepper/MobileStepper.js +1 -1
- package/modern/Modal/Modal.d.ts +9 -9
- package/modern/Modal/Modal.js +2 -2
- package/modern/NativeSelect/NativeSelect.d.ts +3 -3
- package/modern/NoSsr/NoSsr.d.ts +2 -2
- package/modern/NoSsr/NoSsr.js +2 -2
- package/modern/OutlinedInput/OutlinedInput.d.ts +3 -3
- package/modern/OutlinedInput/OutlinedInput.js +1 -1
- package/modern/Pagination/Pagination.d.ts +2 -2
- package/modern/PaginationItem/PaginationItem.d.ts +3 -3
- package/modern/PaginationItem/PaginationItem.js +1 -1
- package/modern/Paper/Paper.d.ts +3 -3
- package/modern/PigmentContainer/PigmentContainer.d.ts +2 -2
- package/modern/PigmentContainer/PigmentContainer.js +2 -2
- package/modern/PigmentGrid/PigmentGrid.d.ts +2 -2
- package/modern/PigmentGrid/PigmentGrid.js +2 -2
- package/modern/PigmentStack/PigmentStack.d.ts +2 -2
- package/modern/PigmentStack/PigmentStack.js +2 -2
- package/modern/Popover/Popover.d.ts +9 -9
- package/modern/Popover/Popover.js +5 -5
- package/modern/Popper/Popper.d.ts +6 -6
- package/modern/Popper/Popper.js +6 -6
- package/modern/Portal/Portal.d.ts +2 -2
- package/modern/Portal/Portal.js +2 -2
- package/modern/Radio/Radio.d.ts +3 -3
- package/modern/Radio/Radio.js +2 -2
- package/modern/RadioGroup/RadioGroup.d.ts +3 -3
- package/modern/Rating/Rating.d.ts +3 -3
- package/modern/Rating/Rating.js +1 -1
- package/modern/ScopedCssBaseline/ScopedCssBaseline.d.ts +2 -2
- package/modern/Select/Select.d.ts +3 -3
- package/modern/Skeleton/Skeleton.d.ts +2 -2
- package/modern/Slide/Slide.d.ts +4 -4
- package/modern/Slider/Slider.d.ts +4 -4
- package/modern/Slider/Slider.js +2 -2
- package/modern/Snackbar/Snackbar.d.ts +6 -6
- package/modern/Snackbar/Snackbar.js +4 -4
- package/modern/SnackbarContent/SnackbarContent.d.ts +3 -3
- package/modern/SpeedDial/SpeedDial.d.ts +4 -4
- package/modern/SpeedDial/SpeedDial.js +2 -2
- package/modern/SpeedDialAction/SpeedDialAction.d.ts +8 -8
- package/modern/SpeedDialAction/SpeedDialAction.js +5 -5
- package/modern/SpeedDialIcon/SpeedDialIcon.d.ts +2 -2
- package/modern/Stack/Stack.d.ts +2 -2
- package/modern/Step/Step.d.ts +2 -2
- package/modern/StepButton/StepButton.d.ts +3 -3
- package/modern/StepConnector/StepConnector.d.ts +2 -2
- package/modern/StepContent/StepContent.d.ts +4 -4
- package/modern/StepContent/StepContent.js +2 -2
- package/modern/StepIcon/StepIcon.d.ts +3 -3
- package/modern/StepLabel/StepLabel.d.ts +5 -5
- package/modern/StepLabel/StepLabel.js +3 -3
- package/modern/Stepper/Stepper.d.ts +2 -2
- package/modern/SvgIcon/SvgIcon.d.ts +3 -3
- package/modern/SwipeableDrawer/SwipeableDrawer.d.ts +4 -4
- package/modern/SwipeableDrawer/SwipeableDrawer.js +1 -1
- package/modern/Switch/Switch.d.ts +4 -4
- package/modern/Switch/Switch.js +2 -2
- package/modern/Tab/Tab.d.ts +3 -3
- package/modern/TabScrollButton/TabScrollButton.d.ts +2 -2
- package/modern/Table/Table.d.ts +2 -2
- package/modern/TableBody/TableBody.d.ts +2 -2
- package/modern/TableCell/TableCell.d.ts +2 -2
- package/modern/TableContainer/TableContainer.d.ts +2 -2
- package/modern/TableFooter/TableFooter.d.ts +2 -2
- package/modern/TableHead/TableHead.d.ts +2 -2
- package/modern/TablePagination/TablePagination.d.ts +4 -4
- package/modern/TableRow/TableRow.d.ts +2 -2
- package/modern/TableSortLabel/TableSortLabel.d.ts +3 -3
- package/modern/Tabs/Tabs.d.ts +5 -5
- package/modern/Tabs/Tabs.js +7 -3
- package/modern/TextField/TextField.d.ts +17 -17
- package/modern/TextField/TextField.js +5 -5
- package/modern/TextareaAutosize/TextareaAutosize.d.ts +2 -2
- package/modern/TextareaAutosize/TextareaAutosize.js +2 -2
- package/modern/ToggleButton/ToggleButton.d.ts +3 -3
- package/modern/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -2
- package/modern/Toolbar/Toolbar.d.ts +2 -2
- package/modern/Tooltip/Tooltip.d.ts +9 -9
- package/modern/Tooltip/Tooltip.js +6 -6
- package/modern/Typography/Typography.d.ts +4 -4
- package/modern/Typography/Typography.js +1 -1
- package/modern/Zoom/Zoom.d.ts +3 -3
- package/modern/index.js +1 -1
- package/modern/internal/SwitchBase.d.ts +2 -2
- package/modern/styles/createTypography.d.ts +1 -23
- package/modern/styles/cssUtils.d.ts +1 -1
- package/modern/styles/index.d.ts +2 -2
- package/modern/useAutocomplete/useAutocomplete.d.ts +2 -2
- package/modern/useAutocomplete/useAutocomplete.js +3 -3
- package/modern/version/index.js +3 -3
- package/package.json +6 -6
- package/styles/createTypography.d.ts +1 -23
- package/styles/cssUtils.d.ts +1 -1
- package/styles/index.d.ts +2 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/useAutocomplete/useAutocomplete.d.ts +2 -2
- package/useAutocomplete/useAutocomplete.js +3 -3
- package/version/index.js +3 -3
|
@@ -25,11 +25,11 @@ const useUtilityClasses = () => {
|
|
|
25
25
|
*
|
|
26
26
|
* Demos:
|
|
27
27
|
*
|
|
28
|
-
* - [Stack](https://
|
|
28
|
+
* - [Stack](https://mui.com/material-ui/react-stack/)
|
|
29
29
|
*
|
|
30
30
|
* API:
|
|
31
31
|
*
|
|
32
|
-
* - [PigmentStack API](https://
|
|
32
|
+
* - [PigmentStack API](https://mui.com/material-ui/api/pigment-stack/)
|
|
33
33
|
*/
|
|
34
34
|
const PigmentStack = /*#__PURE__*/React.forwardRef(function PigmentStack({
|
|
35
35
|
className,
|
package/Popover/Popover.d.ts
CHANGED
|
@@ -82,7 +82,7 @@ export interface PopoverProps extends StandardProps<Omit<ModalProps, 'slots' | '
|
|
|
82
82
|
* or a function that returns either.
|
|
83
83
|
* It's used to set the position of the popover.
|
|
84
84
|
*/
|
|
85
|
-
anchorEl?: null | Element | (() => Element
|
|
85
|
+
anchorEl?: null | Element | PopoverVirtualElement | (() => Element | PopoverVirtualElement | null);
|
|
86
86
|
/**
|
|
87
87
|
* This is the point on the anchor where the popover's
|
|
88
88
|
* `anchorEl` will attach to. This is not used when the
|
|
@@ -110,7 +110,7 @@ export interface PopoverProps extends StandardProps<Omit<ModalProps, 'slots' | '
|
|
|
110
110
|
anchorReference?: PopoverReference;
|
|
111
111
|
/**
|
|
112
112
|
* A backdrop component. This prop enables custom backdrop rendering.
|
|
113
|
-
* @deprecated Use `slots.backdrop` instead. This prop will be removed in
|
|
113
|
+
* @deprecated Use `slots.backdrop` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
114
114
|
* @default styled(Backdrop, {
|
|
115
115
|
* name: 'MuiModal',
|
|
116
116
|
* slot: 'Backdrop',
|
|
@@ -124,7 +124,7 @@ export interface PopoverProps extends StandardProps<Omit<ModalProps, 'slots' | '
|
|
|
124
124
|
BackdropComponent?: React.ElementType<BackdropProps>;
|
|
125
125
|
/**
|
|
126
126
|
* Props applied to the [`Backdrop`](/material-ui/api/backdrop/) element.
|
|
127
|
-
* @deprecated Use `slotProps.backdrop` instead. This prop will be removed in
|
|
127
|
+
* @deprecated Use `slotProps.backdrop` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
128
128
|
*/
|
|
129
129
|
BackdropProps?: Partial<BackdropProps>;
|
|
130
130
|
/**
|
|
@@ -188,7 +188,7 @@ export interface PopoverProps extends StandardProps<Omit<ModalProps, 'slots' | '
|
|
|
188
188
|
/**
|
|
189
189
|
* The component used for the transition.
|
|
190
190
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
191
|
-
* @deprecated use the `slots.transition` prop instead. This prop will be removed in
|
|
191
|
+
* @deprecated use the `slots.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
192
192
|
* @default Grow
|
|
193
193
|
*/
|
|
194
194
|
TransitionComponent?: React.JSXElementConstructor<TransitionProps & {
|
|
@@ -202,7 +202,7 @@ export interface PopoverProps extends StandardProps<Omit<ModalProps, 'slots' | '
|
|
|
202
202
|
/**
|
|
203
203
|
* Props applied to the transition element.
|
|
204
204
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
205
|
-
* @deprecated use the `slotProps.transition` prop instead. This prop will be removed in
|
|
205
|
+
* @deprecated use the `slotProps.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
206
206
|
* @default {}
|
|
207
207
|
*/
|
|
208
208
|
TransitionProps?: TransitionProps;
|
|
@@ -222,12 +222,12 @@ export declare const PopoverPaper: React.FC<PopoverPaperProps>;
|
|
|
222
222
|
*
|
|
223
223
|
* Demos:
|
|
224
224
|
*
|
|
225
|
-
* - [Menu](https://
|
|
226
|
-
* - [Popover](https://
|
|
225
|
+
* - [Menu](https://mui.com/material-ui/react-menu/)
|
|
226
|
+
* - [Popover](https://mui.com/material-ui/react-popover/)
|
|
227
227
|
*
|
|
228
228
|
* API:
|
|
229
229
|
*
|
|
230
|
-
* - [Popover API](https://
|
|
231
|
-
* - inherits [Modal API](https://
|
|
230
|
+
* - [Popover API](https://mui.com/material-ui/api/popover/)
|
|
231
|
+
* - inherits [Modal API](https://mui.com/material-ui/api/modal/)
|
|
232
232
|
*/
|
|
233
233
|
export default function Popover(props: PopoverProps): React.JSX.Element;
|
package/Popover/Popover.js
CHANGED
|
@@ -285,7 +285,7 @@ const Popover = /*#__PURE__*/React.forwardRef(function Popover(inProps, ref) {
|
|
|
285
285
|
const handleResize = (0, _debounce.default)(() => {
|
|
286
286
|
setPositioningStyles();
|
|
287
287
|
});
|
|
288
|
-
const containerWindow = (0, _ownerWindow.default)(anchorEl);
|
|
288
|
+
const containerWindow = (0, _ownerWindow.default)(resolveAnchorEl(anchorEl));
|
|
289
289
|
containerWindow.addEventListener('resize', handleResize);
|
|
290
290
|
return () => {
|
|
291
291
|
handleResize.clear();
|
|
@@ -452,7 +452,7 @@ process.env.NODE_ENV !== "production" ? Popover.propTypes /* remove-proptypes */
|
|
|
452
452
|
anchorReference: _propTypes.default.oneOf(['anchorEl', 'anchorPosition', 'none']),
|
|
453
453
|
/**
|
|
454
454
|
* A backdrop component. This prop enables custom backdrop rendering.
|
|
455
|
-
* @deprecated Use `slots.backdrop` instead. This prop will be removed in
|
|
455
|
+
* @deprecated Use `slots.backdrop` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
456
456
|
* @default styled(Backdrop, {
|
|
457
457
|
* name: 'MuiModal',
|
|
458
458
|
* slot: 'Backdrop',
|
|
@@ -466,7 +466,7 @@ process.env.NODE_ENV !== "production" ? Popover.propTypes /* remove-proptypes */
|
|
|
466
466
|
BackdropComponent: _propTypes.default.elementType,
|
|
467
467
|
/**
|
|
468
468
|
* Props applied to the [`Backdrop`](/material-ui/api/backdrop/) element.
|
|
469
|
-
* @deprecated Use `slotProps.backdrop` instead. This prop will be removed in
|
|
469
|
+
* @deprecated Use `slotProps.backdrop` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
470
470
|
*/
|
|
471
471
|
BackdropProps: _propTypes.default.object,
|
|
472
472
|
/**
|
|
@@ -568,7 +568,7 @@ process.env.NODE_ENV !== "production" ? Popover.propTypes /* remove-proptypes */
|
|
|
568
568
|
/**
|
|
569
569
|
* The component used for the transition.
|
|
570
570
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
571
|
-
* @deprecated use the `slots.transition` prop instead. This prop will be removed in
|
|
571
|
+
* @deprecated use the `slots.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
572
572
|
* @default Grow
|
|
573
573
|
*/
|
|
574
574
|
TransitionComponent: _propTypes.default.elementType,
|
|
@@ -584,7 +584,7 @@ process.env.NODE_ENV !== "production" ? Popover.propTypes /* remove-proptypes */
|
|
|
584
584
|
/**
|
|
585
585
|
* Props applied to the transition element.
|
|
586
586
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
587
|
-
* @deprecated use the `slotProps.transition` prop instead. This prop will be removed in
|
|
587
|
+
* @deprecated use the `slotProps.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
588
588
|
* @default {}
|
|
589
589
|
*/
|
|
590
590
|
TransitionProps: _propTypes.default.object
|
package/Popper/Popper.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export interface PopperProps extends Omit<BasePopperProps, 'direction'> {
|
|
|
12
12
|
* The components used for each slot inside the Popper.
|
|
13
13
|
* Either a string to use a HTML element or a component.
|
|
14
14
|
*
|
|
15
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
15
|
+
* @deprecated use the `slots` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
16
16
|
* @default {}
|
|
17
17
|
*/
|
|
18
18
|
components?: {
|
|
@@ -21,7 +21,7 @@ export interface PopperProps extends Omit<BasePopperProps, 'direction'> {
|
|
|
21
21
|
/**
|
|
22
22
|
* The props used for each slot inside the Popper.
|
|
23
23
|
*
|
|
24
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
24
|
+
* @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
25
25
|
* @default {}
|
|
26
26
|
*/
|
|
27
27
|
componentsProps?: BasePopperProps['slotProps'];
|
|
@@ -34,13 +34,13 @@ export interface PopperProps extends Omit<BasePopperProps, 'direction'> {
|
|
|
34
34
|
*
|
|
35
35
|
* Demos:
|
|
36
36
|
*
|
|
37
|
-
* - [Autocomplete](https://
|
|
38
|
-
* - [Menu](https://
|
|
39
|
-
* - [Popper](https://
|
|
37
|
+
* - [Autocomplete](https://mui.com/material-ui/react-autocomplete/)
|
|
38
|
+
* - [Menu](https://mui.com/material-ui/react-menu/)
|
|
39
|
+
* - [Popper](https://mui.com/material-ui/react-popper/)
|
|
40
40
|
*
|
|
41
41
|
* API:
|
|
42
42
|
*
|
|
43
|
-
* - [Popper API](https://
|
|
43
|
+
* - [Popper API](https://mui.com/material-ui/api/popper/)
|
|
44
44
|
*/
|
|
45
45
|
declare const Popper: React.ForwardRefExoticComponent<PopperProps & React.RefAttributes<HTMLDivElement>>;
|
|
46
46
|
export default Popper;
|
package/Popper/Popper.js
CHANGED
|
@@ -26,13 +26,13 @@ const PopperRoot = (0, _zeroStyled.styled)(_BasePopper.default, {
|
|
|
26
26
|
*
|
|
27
27
|
* Demos:
|
|
28
28
|
*
|
|
29
|
-
* - [Autocomplete](https://
|
|
30
|
-
* - [Menu](https://
|
|
31
|
-
* - [Popper](https://
|
|
29
|
+
* - [Autocomplete](https://mui.com/material-ui/react-autocomplete/)
|
|
30
|
+
* - [Menu](https://mui.com/material-ui/react-menu/)
|
|
31
|
+
* - [Popper](https://mui.com/material-ui/react-popper/)
|
|
32
32
|
*
|
|
33
33
|
* API:
|
|
34
34
|
*
|
|
35
|
-
* - [Popper API](https://
|
|
35
|
+
* - [Popper API](https://mui.com/material-ui/api/popper/)
|
|
36
36
|
*/
|
|
37
37
|
const Popper = /*#__PURE__*/React.forwardRef(function Popper(inProps, ref) {
|
|
38
38
|
const isRtl = (0, _RtlProvider.useRtl)();
|
|
@@ -108,7 +108,7 @@ process.env.NODE_ENV !== "production" ? Popper.propTypes /* remove-proptypes */
|
|
|
108
108
|
* The components used for each slot inside the Popper.
|
|
109
109
|
* Either a string to use a HTML element or a component.
|
|
110
110
|
*
|
|
111
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
111
|
+
* @deprecated use the `slots` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
112
112
|
* @default {}
|
|
113
113
|
*/
|
|
114
114
|
components: _propTypes.default.shape({
|
|
@@ -117,7 +117,7 @@ process.env.NODE_ENV !== "production" ? Popper.propTypes /* remove-proptypes */
|
|
|
117
117
|
/**
|
|
118
118
|
* The props used for each slot inside the Popper.
|
|
119
119
|
*
|
|
120
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
120
|
+
* @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
121
121
|
* @default {}
|
|
122
122
|
*/
|
|
123
123
|
componentsProps: _propTypes.default.shape({
|
package/Portal/Portal.d.ts
CHANGED
|
@@ -6,11 +6,11 @@ import { PortalProps } from "./Portal.types.js";
|
|
|
6
6
|
*
|
|
7
7
|
* Demos:
|
|
8
8
|
*
|
|
9
|
-
* - [Portal](https://
|
|
9
|
+
* - [Portal](https://mui.com/material-ui/react-portal/)
|
|
10
10
|
*
|
|
11
11
|
* API:
|
|
12
12
|
*
|
|
13
|
-
* - [Portal API](https://
|
|
13
|
+
* - [Portal API](https://mui.com/material-ui/api/portal/)
|
|
14
14
|
*/
|
|
15
15
|
declare const Portal: React.ForwardRefExoticComponent<PortalProps & React.RefAttributes<Element>>;
|
|
16
16
|
export default Portal;
|
package/Portal/Portal.js
CHANGED
|
@@ -21,11 +21,11 @@ function getContainer(container) {
|
|
|
21
21
|
*
|
|
22
22
|
* Demos:
|
|
23
23
|
*
|
|
24
|
-
* - [Portal](https://
|
|
24
|
+
* - [Portal](https://mui.com/material-ui/react-portal/)
|
|
25
25
|
*
|
|
26
26
|
* API:
|
|
27
27
|
*
|
|
28
|
-
* - [Portal API](https://
|
|
28
|
+
* - [Portal API](https://mui.com/material-ui/api/portal/)
|
|
29
29
|
*/
|
|
30
30
|
const Portal = /*#__PURE__*/React.forwardRef(function Portal(props, forwardedRef) {
|
|
31
31
|
const {
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!-- #host-reference -->
|
|
2
2
|
<!-- markdownlint-disable-next-line -->
|
|
3
3
|
<p align="center">
|
|
4
|
-
<a href="https://
|
|
4
|
+
<a href="https://mui.com/material-ui/" rel="noopener" target="_blank"><img width="150" height="133" src="https://mui.com/static/logo.svg" alt="Material UI logo"></a>
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
7
|
<h1 align="center">Material UI</h1>
|
|
@@ -15,12 +15,12 @@ Install the package in your project directory with:
|
|
|
15
15
|
<!-- #npm-tag-reference -->
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
npm install @mui/material
|
|
18
|
+
npm install @mui/material @emotion/react @emotion/styled
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
## Documentation
|
|
22
22
|
|
|
23
|
-
Visit [https://
|
|
23
|
+
Visit [https://mui.com/material-ui/](https://mui.com/material-ui/) to view the full documentation.
|
|
24
24
|
|
|
25
25
|
## Questions
|
|
26
26
|
|
package/Radio/Radio.d.ts
CHANGED
|
@@ -76,11 +76,11 @@ export interface RadioOwnerState extends Omit<RadioProps, 'slots' | 'slotProps'>
|
|
|
76
76
|
*
|
|
77
77
|
* Demos:
|
|
78
78
|
*
|
|
79
|
-
* - [Radio Group](https://
|
|
79
|
+
* - [Radio Group](https://mui.com/material-ui/react-radio-button/)
|
|
80
80
|
*
|
|
81
81
|
* API:
|
|
82
82
|
*
|
|
83
|
-
* - [Radio API](https://
|
|
84
|
-
* - inherits [ButtonBase API](https://
|
|
83
|
+
* - [Radio API](https://mui.com/material-ui/api/radio/)
|
|
84
|
+
* - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/)
|
|
85
85
|
*/
|
|
86
86
|
export default function Radio(props: RadioProps): React.JSX.Element;
|
package/Radio/Radio.js
CHANGED
|
@@ -257,12 +257,12 @@ process.env.NODE_ENV !== "production" ? Radio.propTypes /* remove-proptypes */ =
|
|
|
257
257
|
id: _propTypes.default.string,
|
|
258
258
|
/**
|
|
259
259
|
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
|
|
260
|
-
* @deprecated Use `slotProps.input` instead. This prop will be removed in
|
|
260
|
+
* @deprecated Use `slotProps.input` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
261
261
|
*/
|
|
262
262
|
inputProps: _propTypes.default.object,
|
|
263
263
|
/**
|
|
264
264
|
* Pass a ref to the `input` element.
|
|
265
|
-
* @deprecated Use `slotProps.input.ref` instead. This prop will be removed in
|
|
265
|
+
* @deprecated Use `slotProps.input.ref` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
266
266
|
*/
|
|
267
267
|
inputRef: _refType.default,
|
|
268
268
|
/**
|
|
@@ -28,11 +28,11 @@ export interface RadioGroupProps extends Omit<FormGroupProps, 'onChange'> {
|
|
|
28
28
|
*
|
|
29
29
|
* Demos:
|
|
30
30
|
*
|
|
31
|
-
* - [Radio Group](https://
|
|
31
|
+
* - [Radio Group](https://mui.com/material-ui/react-radio-button/)
|
|
32
32
|
*
|
|
33
33
|
* API:
|
|
34
34
|
*
|
|
35
|
-
* - [RadioGroup API](https://
|
|
36
|
-
* - inherits [FormGroup API](https://
|
|
35
|
+
* - [RadioGroup API](https://mui.com/material-ui/api/radio-group/)
|
|
36
|
+
* - inherits [FormGroup API](https://mui.com/material-ui/api/form-group/)
|
|
37
37
|
*/
|
|
38
38
|
export default function RadioGroup(props: RadioGroupProps): React.JSX.Element;
|
package/Rating/Rating.d.ts
CHANGED
|
@@ -106,7 +106,7 @@ export interface RatingOwnProps extends RatingSlotsAndSlotProps {
|
|
|
106
106
|
icon?: React.ReactNode;
|
|
107
107
|
/**
|
|
108
108
|
* The component containing the icon.
|
|
109
|
-
* @deprecated Use `slotProps.icon.component` instead. This prop will be removed in
|
|
109
|
+
* @deprecated Use `slotProps.icon.component` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
110
110
|
* @default function IconContainer(props) {
|
|
111
111
|
* const { value, ...other } = props;
|
|
112
112
|
* return <span {...other} />;
|
|
@@ -170,11 +170,11 @@ export type RatingTypeMap<AdditionalProps = {}, RootComponent extends React.Elem
|
|
|
170
170
|
*
|
|
171
171
|
* Demos:
|
|
172
172
|
*
|
|
173
|
-
* - [Rating](https://
|
|
173
|
+
* - [Rating](https://mui.com/material-ui/react-rating/)
|
|
174
174
|
*
|
|
175
175
|
* API:
|
|
176
176
|
*
|
|
177
|
-
* - [Rating API](https://
|
|
177
|
+
* - [Rating API](https://mui.com/material-ui/api/rating/)
|
|
178
178
|
*/
|
|
179
179
|
declare const Rating: OverridableComponent<RatingTypeMap>;
|
|
180
180
|
export type RatingProps<RootComponent extends React.ElementType = RatingTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<RatingTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
package/Rating/Rating.js
CHANGED
|
@@ -694,7 +694,7 @@ process.env.NODE_ENV !== "production" ? Rating.propTypes /* remove-proptypes */
|
|
|
694
694
|
icon: _propTypes.default.node,
|
|
695
695
|
/**
|
|
696
696
|
* The component containing the icon.
|
|
697
|
-
* @deprecated Use `slotProps.icon.component` instead. This prop will be removed in
|
|
697
|
+
* @deprecated Use `slotProps.icon.component` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
698
698
|
* @default function IconContainer(props) {
|
|
699
699
|
* const { value, ...other } = props;
|
|
700
700
|
* return <span {...other} />;
|
|
@@ -31,11 +31,11 @@ export interface ScopedCssBaselineTypeMap<AdditionalProps = {}, RootComponent ex
|
|
|
31
31
|
*
|
|
32
32
|
* Demos:
|
|
33
33
|
*
|
|
34
|
-
* - [CSS Baseline](https://
|
|
34
|
+
* - [CSS Baseline](https://mui.com/material-ui/react-css-baseline/)
|
|
35
35
|
*
|
|
36
36
|
* API:
|
|
37
37
|
*
|
|
38
|
-
* - [ScopedCssBaseline API](https://
|
|
38
|
+
* - [ScopedCssBaseline API](https://mui.com/material-ui/api/scoped-css-baseline/)
|
|
39
39
|
*/
|
|
40
40
|
declare const ScopedCssBaseline: OverridableComponent<ScopedCssBaselineTypeMap>;
|
|
41
41
|
export type ScopedCssBaselineProps<RootComponent extends React.ElementType = ScopedCssBaselineTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<ScopedCssBaselineTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
package/Select/Select.d.ts
CHANGED
|
@@ -175,12 +175,12 @@ export type SelectProps<Value = unknown> = (FilledSelectProps & BaseSelectProps<
|
|
|
175
175
|
*
|
|
176
176
|
* Demos:
|
|
177
177
|
*
|
|
178
|
-
* - [Select](https://
|
|
178
|
+
* - [Select](https://mui.com/material-ui/react-select/)
|
|
179
179
|
*
|
|
180
180
|
* API:
|
|
181
181
|
*
|
|
182
|
-
* - [Select API](https://
|
|
183
|
-
* - inherits [OutlinedInput API](https://
|
|
182
|
+
* - [Select API](https://mui.com/material-ui/api/select/)
|
|
183
|
+
* - inherits [OutlinedInput API](https://mui.com/material-ui/api/outlined-input/)
|
|
184
184
|
*/
|
|
185
185
|
declare const Select: (<Value = unknown>(props: SelectProps<Value>) => React.JSX.Element) & {
|
|
186
186
|
muiName: string;
|
package/Skeleton/Skeleton.d.ts
CHANGED
|
@@ -49,11 +49,11 @@ export interface SkeletonTypeMap<AdditionalProps = {}, RootComponent extends Rea
|
|
|
49
49
|
*
|
|
50
50
|
* Demos:
|
|
51
51
|
*
|
|
52
|
-
* - [Skeleton](https://
|
|
52
|
+
* - [Skeleton](https://mui.com/material-ui/react-skeleton/)
|
|
53
53
|
*
|
|
54
54
|
* API:
|
|
55
55
|
*
|
|
56
|
-
* - [Skeleton API](https://
|
|
56
|
+
* - [Skeleton API](https://mui.com/material-ui/api/skeleton/)
|
|
57
57
|
*/
|
|
58
58
|
declare const Skeleton: OverridableComponent<SkeletonTypeMap>;
|
|
59
59
|
export type SkeletonProps<RootComponent extends React.ElementType = SkeletonTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<SkeletonTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
package/Slide/Slide.d.ts
CHANGED
|
@@ -47,17 +47,17 @@ export interface SlideProps extends TransitionProps {
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
|
-
* The Slide transition is used by the [Drawer](https://
|
|
50
|
+
* The Slide transition is used by the [Drawer](https://mui.com/material-ui/react-drawer/) component.
|
|
51
51
|
* It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.
|
|
52
52
|
*
|
|
53
53
|
* Demos:
|
|
54
54
|
*
|
|
55
|
-
* - [Dialog](https://
|
|
56
|
-
* - [Transitions](https://
|
|
55
|
+
* - [Dialog](https://mui.com/material-ui/react-dialog/)
|
|
56
|
+
* - [Transitions](https://mui.com/material-ui/transitions/)
|
|
57
57
|
*
|
|
58
58
|
* API:
|
|
59
59
|
*
|
|
60
|
-
* - [Slide API](https://
|
|
60
|
+
* - [Slide API](https://mui.com/material-ui/api/slide/)
|
|
61
61
|
* - inherits [Transition API](https://reactcommunity.org/react-transition-group/transition/#Transition-props)
|
|
62
62
|
*/
|
|
63
63
|
export default function Slide(props: SlideProps): React.JSX.Element;
|
package/Slider/Slider.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ export interface SliderOwnProps<Value extends number | number[]> {
|
|
|
38
38
|
/**
|
|
39
39
|
* The components used for each slot inside.
|
|
40
40
|
*
|
|
41
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
41
|
+
* @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
42
42
|
*
|
|
43
43
|
* @default {}
|
|
44
44
|
*/
|
|
@@ -56,7 +56,7 @@ export interface SliderOwnProps<Value extends number | number[]> {
|
|
|
56
56
|
* The extra props for the slot components.
|
|
57
57
|
* You can override the existing props or add new ones.
|
|
58
58
|
*
|
|
59
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
59
|
+
* @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
60
60
|
*
|
|
61
61
|
* @default {}
|
|
62
62
|
*/
|
|
@@ -285,11 +285,11 @@ export declare const SliderValueLabel: React.FC<SliderValueLabelProps>;
|
|
|
285
285
|
*
|
|
286
286
|
* Demos:
|
|
287
287
|
*
|
|
288
|
-
* - [Slider](https://
|
|
288
|
+
* - [Slider](https://mui.com/material-ui/react-slider/)
|
|
289
289
|
*
|
|
290
290
|
* API:
|
|
291
291
|
*
|
|
292
|
-
* - [Slider API](https://
|
|
292
|
+
* - [Slider API](https://mui.com/material-ui/api/slider/)
|
|
293
293
|
*/
|
|
294
294
|
declare const Slider: SliderType;
|
|
295
295
|
export type SliderProps<RootComponent extends React.ElementType = SliderTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<SliderTypeMap<RootComponent, AdditionalProps>, RootComponent> & {
|
package/Slider/Slider.js
CHANGED
|
@@ -872,7 +872,7 @@ process.env.NODE_ENV !== "production" ? Slider.propTypes /* remove-proptypes */
|
|
|
872
872
|
/**
|
|
873
873
|
* The components used for each slot inside.
|
|
874
874
|
*
|
|
875
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
875
|
+
* @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
876
876
|
*
|
|
877
877
|
* @default {}
|
|
878
878
|
*/
|
|
@@ -890,7 +890,7 @@ process.env.NODE_ENV !== "production" ? Slider.propTypes /* remove-proptypes */
|
|
|
890
890
|
* The extra props for the slot components.
|
|
891
891
|
* You can override the existing props or add new ones.
|
|
892
892
|
*
|
|
893
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
893
|
+
* @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
894
894
|
*
|
|
895
895
|
* @default {}
|
|
896
896
|
*/
|
package/Snackbar/Snackbar.d.ts
CHANGED
|
@@ -91,12 +91,12 @@ export interface SnackbarProps extends Omit<StandardProps<React.HTMLAttributes<H
|
|
|
91
91
|
classes?: Partial<SnackbarClasses>;
|
|
92
92
|
/**
|
|
93
93
|
* Props applied to the `ClickAwayListener` element.
|
|
94
|
-
* @deprecated Use `slotProps.clickAwayListener` instead. This prop will be removed in
|
|
94
|
+
* @deprecated Use `slotProps.clickAwayListener` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
95
95
|
*/
|
|
96
96
|
ClickAwayListenerProps?: Partial<ClickAwayListenerProps>;
|
|
97
97
|
/**
|
|
98
98
|
* Props applied to the [`SnackbarContent`](https://mui.com/material-ui/api/snackbar-content/) element.
|
|
99
|
-
* @deprecated Use `slotProps.content` instead. This prop will be removed in
|
|
99
|
+
* @deprecated Use `slotProps.content` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
100
100
|
*/
|
|
101
101
|
ContentProps?: Partial<SnackbarContentProps>;
|
|
102
102
|
/**
|
|
@@ -144,7 +144,7 @@ export interface SnackbarProps extends Omit<StandardProps<React.HTMLAttributes<H
|
|
|
144
144
|
/**
|
|
145
145
|
* The component used for the transition.
|
|
146
146
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
147
|
-
* @deprecated Use `slots.transition` instead. This prop will be removed in
|
|
147
|
+
* @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
148
148
|
* @default Grow
|
|
149
149
|
*/
|
|
150
150
|
TransitionComponent?: React.JSXElementConstructor<TransitionProps & {
|
|
@@ -162,7 +162,7 @@ export interface SnackbarProps extends Omit<StandardProps<React.HTMLAttributes<H
|
|
|
162
162
|
/**
|
|
163
163
|
* Props applied to the transition element.
|
|
164
164
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
165
|
-
* @deprecated Use `slotProps.transition` instead. This prop will be removed in
|
|
165
|
+
* @deprecated Use `slotProps.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
166
166
|
* @default {}
|
|
167
167
|
*/
|
|
168
168
|
TransitionProps?: TransitionProps;
|
|
@@ -172,11 +172,11 @@ export interface SnackbarProps extends Omit<StandardProps<React.HTMLAttributes<H
|
|
|
172
172
|
*
|
|
173
173
|
* Demos:
|
|
174
174
|
*
|
|
175
|
-
* - [Snackbar](https://
|
|
175
|
+
* - [Snackbar](https://mui.com/material-ui/react-snackbar/)
|
|
176
176
|
*
|
|
177
177
|
* API:
|
|
178
178
|
*
|
|
179
|
-
* - [Snackbar API](https://
|
|
179
|
+
* - [Snackbar API](https://mui.com/material-ui/api/snackbar/)
|
|
180
180
|
*/
|
|
181
181
|
export default function Snackbar(props: SnackbarProps): React.JSX.Element;
|
|
182
182
|
export interface SnackbarOwnerState extends Omit<SnackbarProps, 'slots' | 'slotProps'> {}
|
package/Snackbar/Snackbar.js
CHANGED
|
@@ -310,12 +310,12 @@ process.env.NODE_ENV !== "production" ? Snackbar.propTypes /* remove-proptypes *
|
|
|
310
310
|
className: _propTypes.default.string,
|
|
311
311
|
/**
|
|
312
312
|
* Props applied to the `ClickAwayListener` element.
|
|
313
|
-
* @deprecated Use `slotProps.clickAwayListener` instead. This prop will be removed in
|
|
313
|
+
* @deprecated Use `slotProps.clickAwayListener` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
314
314
|
*/
|
|
315
315
|
ClickAwayListenerProps: _propTypes.default.object,
|
|
316
316
|
/**
|
|
317
317
|
* Props applied to the [`SnackbarContent`](https://mui.com/material-ui/api/snackbar-content/) element.
|
|
318
|
-
* @deprecated Use `slotProps.content` instead. This prop will be removed in
|
|
318
|
+
* @deprecated Use `slotProps.content` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
319
319
|
*/
|
|
320
320
|
ContentProps: _propTypes.default.object,
|
|
321
321
|
/**
|
|
@@ -405,7 +405,7 @@ process.env.NODE_ENV !== "production" ? Snackbar.propTypes /* remove-proptypes *
|
|
|
405
405
|
/**
|
|
406
406
|
* The component used for the transition.
|
|
407
407
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
408
|
-
* @deprecated Use `slots.transition` instead. This prop will be removed in
|
|
408
|
+
* @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
409
409
|
* @default Grow
|
|
410
410
|
*/
|
|
411
411
|
TransitionComponent: _propTypes.default.elementType,
|
|
@@ -425,7 +425,7 @@ process.env.NODE_ENV !== "production" ? Snackbar.propTypes /* remove-proptypes *
|
|
|
425
425
|
/**
|
|
426
426
|
* Props applied to the transition element.
|
|
427
427
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
428
|
-
* @deprecated Use `slotProps.transition` instead. This prop will be removed in
|
|
428
|
+
* @deprecated Use `slotProps.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
429
429
|
* @default {}
|
|
430
430
|
*/
|
|
431
431
|
TransitionProps: _propTypes.default.object
|
|
@@ -32,11 +32,11 @@ export interface SnackbarContentProps extends StandardProps<PaperProps, 'childre
|
|
|
32
32
|
*
|
|
33
33
|
* Demos:
|
|
34
34
|
*
|
|
35
|
-
* - [Snackbar](https://
|
|
35
|
+
* - [Snackbar](https://mui.com/material-ui/react-snackbar/)
|
|
36
36
|
*
|
|
37
37
|
* API:
|
|
38
38
|
*
|
|
39
|
-
* - [SnackbarContent API](https://
|
|
40
|
-
* - inherits [Paper API](https://
|
|
39
|
+
* - [SnackbarContent API](https://mui.com/material-ui/api/snackbar-content/)
|
|
40
|
+
* - inherits [Paper API](https://mui.com/material-ui/api/paper/)
|
|
41
41
|
*/
|
|
42
42
|
export default function SnackbarContent(props: SnackbarContentProps): React.JSX.Element;
|
package/SpeedDial/SpeedDial.d.ts
CHANGED
|
@@ -97,7 +97,7 @@ export interface SpeedDialProps extends Omit<StandardProps<React.HTMLAttributes<
|
|
|
97
97
|
* The component used for the transition.
|
|
98
98
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
99
99
|
* @default Zoom
|
|
100
|
-
* * @deprecated Use `slots.transition` instead. This prop will be removed in
|
|
100
|
+
* * @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
101
101
|
*/
|
|
102
102
|
TransitionComponent?: React.JSXElementConstructor<TransitionProps>;
|
|
103
103
|
/**
|
|
@@ -112,7 +112,7 @@ export interface SpeedDialProps extends Omit<StandardProps<React.HTMLAttributes<
|
|
|
112
112
|
/**
|
|
113
113
|
* Props applied to the transition element.
|
|
114
114
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
115
|
-
* @deprecated Use `slotProps.transition` instead. This prop will be removed in
|
|
115
|
+
* @deprecated Use `slotProps.transition` instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
116
116
|
*/
|
|
117
117
|
TransitionProps?: TransitionProps;
|
|
118
118
|
}
|
|
@@ -122,10 +122,10 @@ export interface SpeedDialOwnerState extends SpeedDialProps {}
|
|
|
122
122
|
*
|
|
123
123
|
* Demos:
|
|
124
124
|
*
|
|
125
|
-
* - [Speed Dial](https://
|
|
125
|
+
* - [Speed Dial](https://mui.com/material-ui/react-speed-dial/)
|
|
126
126
|
*
|
|
127
127
|
* API:
|
|
128
128
|
*
|
|
129
|
-
* - [SpeedDial API](https://
|
|
129
|
+
* - [SpeedDial API](https://mui.com/material-ui/api/speed-dial/)
|
|
130
130
|
*/
|
|
131
131
|
export default function SpeedDial(props: SpeedDialProps): React.JSX.Element;
|
package/SpeedDial/SpeedDial.js
CHANGED
|
@@ -560,7 +560,7 @@ process.env.NODE_ENV !== "production" ? SpeedDial.propTypes /* remove-proptypes
|
|
|
560
560
|
* The component used for the transition.
|
|
561
561
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
562
562
|
* @default Zoom
|
|
563
|
-
* * @deprecated Use `slots.transition` instead. This prop will be removed in
|
|
563
|
+
* * @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
564
564
|
*/
|
|
565
565
|
TransitionComponent: _propTypes.default.elementType,
|
|
566
566
|
/**
|
|
@@ -579,7 +579,7 @@ process.env.NODE_ENV !== "production" ? SpeedDial.propTypes /* remove-proptypes
|
|
|
579
579
|
/**
|
|
580
580
|
* Props applied to the transition element.
|
|
581
581
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
582
|
-
* @deprecated Use `slotProps.transition` instead. This prop will be removed in
|
|
582
|
+
* @deprecated Use `slotProps.transition` instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
583
583
|
*/
|
|
584
584
|
TransitionProps: _propTypes.default.object
|
|
585
585
|
} : void 0;
|