@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
|
@@ -112,12 +112,12 @@ export interface SwitchProps extends StandardProps<SwitchBaseProps, 'checkedIcon
|
|
|
112
112
|
*
|
|
113
113
|
* Demos:
|
|
114
114
|
*
|
|
115
|
-
* - [Switch](https://
|
|
116
|
-
* - [Transfer List](https://
|
|
115
|
+
* - [Switch](https://mui.com/material-ui/react-switch/)
|
|
116
|
+
* - [Transfer List](https://mui.com/material-ui/react-transfer-list/)
|
|
117
117
|
*
|
|
118
118
|
* API:
|
|
119
119
|
*
|
|
120
|
-
* - [Switch API](https://
|
|
121
|
-
* - inherits [IconButton API](https://
|
|
120
|
+
* - [Switch API](https://mui.com/material-ui/api/switch/)
|
|
121
|
+
* - inherits [IconButton API](https://mui.com/material-ui/api/icon-button/)
|
|
122
122
|
*/
|
|
123
123
|
export default function Switch(props: SwitchProps): React.JSX.Element;
|
package/modern/Switch/Switch.js
CHANGED
|
@@ -345,12 +345,12 @@ process.env.NODE_ENV !== "production" ? Switch.propTypes /* remove-proptypes */
|
|
|
345
345
|
id: PropTypes.string,
|
|
346
346
|
/**
|
|
347
347
|
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
|
|
348
|
-
* @deprecated Use `slotProps.input` instead. This prop will be removed in
|
|
348
|
+
* @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.
|
|
349
349
|
*/
|
|
350
350
|
inputProps: PropTypes.object,
|
|
351
351
|
/**
|
|
352
352
|
* Pass a ref to the `input` element.
|
|
353
|
-
* @deprecated Use `slotProps.input.ref` instead. This prop will be removed in
|
|
353
|
+
* @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.
|
|
354
354
|
*/
|
|
355
355
|
inputRef: refType,
|
|
356
356
|
/**
|
package/modern/Tab/Tab.d.ts
CHANGED
|
@@ -61,12 +61,12 @@ export type TabTypeMap<AdditionalProps = {}, RootComponent extends React.Element
|
|
|
61
61
|
*
|
|
62
62
|
* Demos:
|
|
63
63
|
*
|
|
64
|
-
* - [Tabs](https://
|
|
64
|
+
* - [Tabs](https://mui.com/material-ui/react-tabs/)
|
|
65
65
|
*
|
|
66
66
|
* API:
|
|
67
67
|
*
|
|
68
|
-
* - [Tab API](https://
|
|
69
|
-
* - inherits [ButtonBase API](https://
|
|
68
|
+
* - [Tab API](https://mui.com/material-ui/api/tab/)
|
|
69
|
+
* - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/)
|
|
70
70
|
*/
|
|
71
71
|
declare const Tab: ExtendButtonBase<TabTypeMap>;
|
|
72
72
|
export type TabProps<RootComponent extends React.ElementType = TabTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<TabTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
|
@@ -58,10 +58,10 @@ export interface TabScrollButtonProps extends ButtonBaseProps {
|
|
|
58
58
|
*
|
|
59
59
|
* Demos:
|
|
60
60
|
*
|
|
61
|
-
* - [Tabs](https://
|
|
61
|
+
* - [Tabs](https://mui.com/material-ui/react-tabs/)
|
|
62
62
|
*
|
|
63
63
|
* API:
|
|
64
64
|
*
|
|
65
|
-
* - [TabScrollButton API](https://
|
|
65
|
+
* - [TabScrollButton API](https://mui.com/material-ui/api/tab-scroll-button/)
|
|
66
66
|
*/
|
|
67
67
|
export default function TabScrollButton(props: TabScrollButtonProps): React.JSX.Element;
|
package/modern/Table/Table.d.ts
CHANGED
|
@@ -42,11 +42,11 @@ export interface TableTypeMap<AdditionalProps = {}, RootComponent extends React.
|
|
|
42
42
|
*
|
|
43
43
|
* Demos:
|
|
44
44
|
*
|
|
45
|
-
* - [Table](https://
|
|
45
|
+
* - [Table](https://mui.com/material-ui/react-table/)
|
|
46
46
|
*
|
|
47
47
|
* API:
|
|
48
48
|
*
|
|
49
|
-
* - [Table API](https://
|
|
49
|
+
* - [Table API](https://mui.com/material-ui/api/table/)
|
|
50
50
|
*/
|
|
51
51
|
declare const Table: OverridableComponent<TableTypeMap>;
|
|
52
52
|
export type TableProps<RootComponent extends React.ElementType = TableTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<TableTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
|
@@ -25,11 +25,11 @@ export interface TableBodyTypeMap<AdditionalProps = {}, RootComponent extends Re
|
|
|
25
25
|
*
|
|
26
26
|
* Demos:
|
|
27
27
|
*
|
|
28
|
-
* - [Table](https://
|
|
28
|
+
* - [Table](https://mui.com/material-ui/react-table/)
|
|
29
29
|
*
|
|
30
30
|
* API:
|
|
31
31
|
*
|
|
32
|
-
* - [TableBody API](https://
|
|
32
|
+
* - [TableBody API](https://mui.com/material-ui/api/table-body/)
|
|
33
33
|
*/
|
|
34
34
|
declare const TableBody: OverridableComponent<TableBodyTypeMap>;
|
|
35
35
|
export type TableBodyProps<RootComponent extends React.ElementType = TableBodyTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<TableBodyTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
|
@@ -73,10 +73,10 @@ export type SortDirection = 'asc' | 'desc' | false;
|
|
|
73
73
|
*
|
|
74
74
|
* Demos:
|
|
75
75
|
*
|
|
76
|
-
* - [Table](https://
|
|
76
|
+
* - [Table](https://mui.com/material-ui/react-table/)
|
|
77
77
|
*
|
|
78
78
|
* API:
|
|
79
79
|
*
|
|
80
|
-
* - [TableCell API](https://
|
|
80
|
+
* - [TableCell API](https://mui.com/material-ui/api/table-cell/)
|
|
81
81
|
*/
|
|
82
82
|
export default function TableCell(props: TableCellProps): React.JSX.Element;
|
|
@@ -25,11 +25,11 @@ export interface TableContainerTypeMap<AdditionalProps = {}, RootComponent exten
|
|
|
25
25
|
*
|
|
26
26
|
* Demos:
|
|
27
27
|
*
|
|
28
|
-
* - [Table](https://
|
|
28
|
+
* - [Table](https://mui.com/material-ui/react-table/)
|
|
29
29
|
*
|
|
30
30
|
* API:
|
|
31
31
|
*
|
|
32
|
-
* - [TableContainer API](https://
|
|
32
|
+
* - [TableContainer API](https://mui.com/material-ui/api/table-container/)
|
|
33
33
|
*/
|
|
34
34
|
declare const TableContainer: OverridableComponent<TableContainerTypeMap>;
|
|
35
35
|
export type TableContainerProps<RootComponent extends React.ElementType = TableContainerTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<TableContainerTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
|
@@ -25,11 +25,11 @@ export interface TableFooterTypeMap<AdditionalProps = {}, RootComponent extends
|
|
|
25
25
|
*
|
|
26
26
|
* Demos:
|
|
27
27
|
*
|
|
28
|
-
* - [Table](https://
|
|
28
|
+
* - [Table](https://mui.com/material-ui/react-table/)
|
|
29
29
|
*
|
|
30
30
|
* API:
|
|
31
31
|
*
|
|
32
|
-
* - [TableFooter API](https://
|
|
32
|
+
* - [TableFooter API](https://mui.com/material-ui/api/table-footer/)
|
|
33
33
|
*/
|
|
34
34
|
declare const TableFooter: OverridableComponent<TableFooterTypeMap>;
|
|
35
35
|
export type TableFooterProps<RootComponent extends React.ElementType = TableFooterTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<TableFooterTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
|
@@ -25,11 +25,11 @@ export interface TableHeadTypeMap<AdditionalProps = {}, RootComponent extends Re
|
|
|
25
25
|
*
|
|
26
26
|
* Demos:
|
|
27
27
|
*
|
|
28
|
-
* - [Table](https://
|
|
28
|
+
* - [Table](https://mui.com/material-ui/react-table/)
|
|
29
29
|
*
|
|
30
30
|
* API:
|
|
31
31
|
*
|
|
32
|
-
* - [TableHead API](https://
|
|
32
|
+
* - [TableHead API](https://mui.com/material-ui/api/table-head/)
|
|
33
33
|
*/
|
|
34
34
|
declare const TableHead: OverridableComponent<TableHeadTypeMap>;
|
|
35
35
|
export type TableHeadProps<RootComponent extends React.ElementType = TableHeadTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<TableHeadTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
|
@@ -248,13 +248,13 @@ export interface TablePaginationTypeMap<AdditionalProps, RootComponent extends R
|
|
|
248
248
|
*
|
|
249
249
|
* Demos:
|
|
250
250
|
*
|
|
251
|
-
* - [Pagination](https://
|
|
252
|
-
* - [Table](https://
|
|
251
|
+
* - [Pagination](https://mui.com/material-ui/react-pagination/)
|
|
252
|
+
* - [Table](https://mui.com/material-ui/react-table/)
|
|
253
253
|
*
|
|
254
254
|
* API:
|
|
255
255
|
*
|
|
256
|
-
* - [TablePagination API](https://
|
|
257
|
-
* - inherits [TableCell API](https://
|
|
256
|
+
* - [TablePagination API](https://mui.com/material-ui/api/table-pagination/)
|
|
257
|
+
* - inherits [TableCell API](https://mui.com/material-ui/api/table-cell/)
|
|
258
258
|
*/
|
|
259
259
|
declare const TablePagination: OverridableComponent<TablePaginationTypeMap<{}, React.JSXElementConstructor<TablePaginationBaseProps>>>;
|
|
260
260
|
export type TablePaginationProps<RootComponent extends React.ElementType = React.JSXElementConstructor<TablePaginationBaseProps>, AdditionalProps = {}> = OverrideProps<TablePaginationTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
|
@@ -37,11 +37,11 @@ export interface TableRowTypeMap<AdditionalProps = {}, RootComponent extends Rea
|
|
|
37
37
|
*
|
|
38
38
|
* Demos:
|
|
39
39
|
*
|
|
40
|
-
* - [Table](https://
|
|
40
|
+
* - [Table](https://mui.com/material-ui/react-table/)
|
|
41
41
|
*
|
|
42
42
|
* API:
|
|
43
43
|
*
|
|
44
|
-
* - [TableRow API](https://
|
|
44
|
+
* - [TableRow API](https://mui.com/material-ui/api/table-row/)
|
|
45
45
|
*/
|
|
46
46
|
declare const TableRow: OverridableComponent<TableRowTypeMap>;
|
|
47
47
|
export type TableRowProps<RootComponent extends React.ElementType = TableRowTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<TableRowTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
|
@@ -76,12 +76,12 @@ export type TableSortLabelTypeMap<AdditionalProps = {}, RootComponent extends Re
|
|
|
76
76
|
*
|
|
77
77
|
* Demos:
|
|
78
78
|
*
|
|
79
|
-
* - [Table](https://
|
|
79
|
+
* - [Table](https://mui.com/material-ui/react-table/)
|
|
80
80
|
*
|
|
81
81
|
* API:
|
|
82
82
|
*
|
|
83
|
-
* - [TableSortLabel API](https://
|
|
84
|
-
* - inherits [ButtonBase API](https://
|
|
83
|
+
* - [TableSortLabel API](https://mui.com/material-ui/api/table-sort-label/)
|
|
84
|
+
* - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/)
|
|
85
85
|
*/
|
|
86
86
|
declare const TableSortLabel: ExtendButtonBase<TableSortLabelTypeMap>;
|
|
87
87
|
export type TableSortLabelProps<RootComponent extends React.ElementType = TableSortLabelTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<TableSortLabelTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
package/modern/Tabs/Tabs.d.ts
CHANGED
|
@@ -179,7 +179,7 @@ export interface TabsOwnProps extends TabsSlotsAndSlotProps {
|
|
|
179
179
|
orientation?: 'horizontal' | 'vertical';
|
|
180
180
|
/**
|
|
181
181
|
* The component used to render the scroll buttons.
|
|
182
|
-
* @deprecated use the `slots.scrollButtons` prop instead. This prop will be removed in
|
|
182
|
+
* @deprecated use the `slots.scrollButtons` 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.
|
|
183
183
|
* @default TabScrollButton
|
|
184
184
|
*/
|
|
185
185
|
ScrollButtonComponent?: React.ElementType;
|
|
@@ -202,7 +202,7 @@ export interface TabsOwnProps extends TabsSlotsAndSlotProps {
|
|
|
202
202
|
selectionFollowsFocus?: boolean;
|
|
203
203
|
/**
|
|
204
204
|
* Props applied to the tab indicator element.
|
|
205
|
-
* @deprecated use the `slotProps.indicator` prop instead. This prop will be removed in
|
|
205
|
+
* @deprecated use the `slotProps.indicator` 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
|
TabIndicatorProps?: React.HTMLAttributes<HTMLDivElement> & {
|
|
@@ -210,7 +210,7 @@ export interface TabsOwnProps extends TabsSlotsAndSlotProps {
|
|
|
210
210
|
};
|
|
211
211
|
/**
|
|
212
212
|
* Props applied to the [`TabScrollButton`](https://mui.com/material-ui/api/tab-scroll-button/) element.
|
|
213
|
-
* @deprecated use the `slotProps.scrollButtons` prop instead. This prop will be removed in
|
|
213
|
+
* @deprecated use the `slotProps.scrollButtons` 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.
|
|
214
214
|
* @default {}
|
|
215
215
|
*/
|
|
216
216
|
TabScrollButtonProps?: Partial<TabScrollButtonProps>;
|
|
@@ -255,11 +255,11 @@ export interface TabsTypeMap<AdditionalProps = {}, RootComponent extends React.E
|
|
|
255
255
|
*
|
|
256
256
|
* Demos:
|
|
257
257
|
*
|
|
258
|
-
* - [Tabs](https://
|
|
258
|
+
* - [Tabs](https://mui.com/material-ui/react-tabs/)
|
|
259
259
|
*
|
|
260
260
|
* API:
|
|
261
261
|
*
|
|
262
|
-
* - [Tabs API](https://
|
|
262
|
+
* - [Tabs API](https://mui.com/material-ui/api/tabs/)
|
|
263
263
|
*/
|
|
264
264
|
declare const Tabs: OverridableComponent<TabsTypeMap>;
|
|
265
265
|
export interface TabsActions {
|
package/modern/Tabs/Tabs.js
CHANGED
|
@@ -693,6 +693,10 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
|
|
|
693
693
|
});
|
|
694
694
|
});
|
|
695
695
|
const handleKeyDown = event => {
|
|
696
|
+
// Check if a modifier key (Alt, Shift, Ctrl, Meta) is pressed
|
|
697
|
+
if (event.altKey || event.shiftKey || event.ctrlKey || event.metaKey) {
|
|
698
|
+
return;
|
|
699
|
+
}
|
|
696
700
|
const list = tabListRef.current;
|
|
697
701
|
const currentFocus = ownerDocument(list).activeElement;
|
|
698
702
|
// Keyboard navigation assumes that [role="tab"] are siblings
|
|
@@ -854,7 +858,7 @@ process.env.NODE_ENV !== "production" ? Tabs.propTypes /* remove-proptypes */ =
|
|
|
854
858
|
orientation: PropTypes.oneOf(['horizontal', 'vertical']),
|
|
855
859
|
/**
|
|
856
860
|
* The component used to render the scroll buttons.
|
|
857
|
-
* @deprecated use the `slots.scrollButtons` prop instead. This prop will be removed in
|
|
861
|
+
* @deprecated use the `slots.scrollButtons` 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.
|
|
858
862
|
* @default TabScrollButton
|
|
859
863
|
*/
|
|
860
864
|
ScrollButtonComponent: PropTypes.elementType,
|
|
@@ -911,13 +915,13 @@ process.env.NODE_ENV !== "production" ? Tabs.propTypes /* remove-proptypes */ =
|
|
|
911
915
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
912
916
|
/**
|
|
913
917
|
* Props applied to the tab indicator element.
|
|
914
|
-
* @deprecated use the `slotProps.indicator` prop instead. This prop will be removed in
|
|
918
|
+
* @deprecated use the `slotProps.indicator` 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.
|
|
915
919
|
* @default {}
|
|
916
920
|
*/
|
|
917
921
|
TabIndicatorProps: PropTypes.object,
|
|
918
922
|
/**
|
|
919
923
|
* Props applied to the [`TabScrollButton`](https://mui.com/material-ui/api/tab-scroll-button/) element.
|
|
920
|
-
* @deprecated use the `slotProps.scrollButtons` prop instead. This prop will be removed in
|
|
924
|
+
* @deprecated use the `slotProps.scrollButtons` 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.
|
|
921
925
|
* @default {}
|
|
922
926
|
*/
|
|
923
927
|
TabScrollButtonProps: PropTypes.object,
|
|
@@ -124,7 +124,7 @@ export interface BaseTextFieldProps extends StandardProps<FormControlProps,
|
|
|
124
124
|
error?: boolean;
|
|
125
125
|
/**
|
|
126
126
|
* Props applied to the [`FormHelperText`](https://mui.com/material-ui/api/form-helper-text/) element.
|
|
127
|
-
* @deprecated Use `slotProps.formHelperText` instead. This prop will be removed in
|
|
127
|
+
* @deprecated Use `slotProps.formHelperText` 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
|
FormHelperTextProps?: Partial<FormHelperTextProps>;
|
|
130
130
|
/**
|
|
@@ -144,12 +144,12 @@ export interface BaseTextFieldProps extends StandardProps<FormControlProps,
|
|
|
144
144
|
/**
|
|
145
145
|
* Props applied to the [`InputLabel`](https://mui.com/material-ui/api/input-label/) element.
|
|
146
146
|
* Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
|
|
147
|
-
* @deprecated Use `slotProps.inputLabel` instead. This prop will be removed in
|
|
147
|
+
* @deprecated Use `slotProps.inputLabel` 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.
|
|
148
148
|
*/
|
|
149
149
|
InputLabelProps?: Partial<InputLabelProps>;
|
|
150
150
|
/**
|
|
151
151
|
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
|
|
152
|
-
* @deprecated Use `slotProps.htmlInput` instead. This prop will be removed in
|
|
152
|
+
* @deprecated Use `slotProps.htmlInput` 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.
|
|
153
153
|
*/
|
|
154
154
|
inputProps?: InputBaseProps['inputProps'];
|
|
155
155
|
/**
|
|
@@ -200,7 +200,7 @@ export interface BaseTextFieldProps extends StandardProps<FormControlProps,
|
|
|
200
200
|
select?: boolean;
|
|
201
201
|
/**
|
|
202
202
|
* Props applied to the [`Select`](https://mui.com/material-ui/api/select/) element.
|
|
203
|
-
* @deprecated Use `slotProps.select` instead. This prop will be removed in
|
|
203
|
+
* @deprecated Use `slotProps.select` 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.
|
|
204
204
|
*/
|
|
205
205
|
SelectProps?: Partial<SelectProps>;
|
|
206
206
|
/**
|
|
@@ -239,7 +239,7 @@ export interface StandardTextFieldProps extends BaseTextFieldProps, TextFieldSlo
|
|
|
239
239
|
* It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
|
|
240
240
|
* [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
|
|
241
241
|
* component depending on the `variant` prop value.
|
|
242
|
-
* @deprecated Use `slotProps.input` instead. This prop will be removed in
|
|
242
|
+
* @deprecated Use `slotProps.input` 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.
|
|
243
243
|
*/
|
|
244
244
|
InputProps?: Partial<StandardInputProps>;
|
|
245
245
|
}
|
|
@@ -261,7 +261,7 @@ export interface FilledTextFieldProps extends BaseTextFieldProps, TextFieldSlots
|
|
|
261
261
|
* It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
|
|
262
262
|
* [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
|
|
263
263
|
* component depending on the `variant` prop value.
|
|
264
|
-
* @deprecated Use `slotProps.input` instead. This prop will be removed in
|
|
264
|
+
* @deprecated Use `slotProps.input` 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.
|
|
265
265
|
*/
|
|
266
266
|
InputProps?: Partial<FilledInputProps>;
|
|
267
267
|
}
|
|
@@ -283,7 +283,7 @@ export interface OutlinedTextFieldProps extends BaseTextFieldProps, TextFieldSlo
|
|
|
283
283
|
* It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
|
|
284
284
|
* [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
|
|
285
285
|
* component depending on the `variant` prop value.
|
|
286
|
-
* @deprecated Use `slotProps.input` instead. This prop will be removed in
|
|
286
|
+
* @deprecated Use `slotProps.input` 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.
|
|
287
287
|
*/
|
|
288
288
|
InputProps?: Partial<OutlinedInputProps>;
|
|
289
289
|
}
|
|
@@ -300,12 +300,12 @@ export type TextFieldOwnerState = BaseTextFieldProps;
|
|
|
300
300
|
* It's important to understand that the text field is a simple abstraction
|
|
301
301
|
* on top of the following components:
|
|
302
302
|
*
|
|
303
|
-
* * [FormControl](https://
|
|
304
|
-
* * [InputLabel](https://
|
|
305
|
-
* * [FilledInput](https://
|
|
306
|
-
* * [OutlinedInput](https://
|
|
307
|
-
* * [Input](https://
|
|
308
|
-
* * [FormHelperText](https://
|
|
303
|
+
* * [FormControl](https://mui.com/material-ui/api/form-control/)
|
|
304
|
+
* * [InputLabel](https://mui.com/material-ui/api/input-label/)
|
|
305
|
+
* * [FilledInput](https://mui.com/material-ui/api/filled-input/)
|
|
306
|
+
* * [OutlinedInput](https://mui.com/material-ui/api/outlined-input/)
|
|
307
|
+
* * [Input](https://mui.com/material-ui/api/input/)
|
|
308
|
+
* * [FormHelperText](https://mui.com/material-ui/api/form-helper-text/)
|
|
309
309
|
*
|
|
310
310
|
* If you wish to alter the props applied to the `input` element, you can do so as follows:
|
|
311
311
|
*
|
|
@@ -325,13 +325,13 @@ export type TextFieldOwnerState = BaseTextFieldProps;
|
|
|
325
325
|
*
|
|
326
326
|
* Demos:
|
|
327
327
|
*
|
|
328
|
-
* - [Autocomplete](https://
|
|
329
|
-
* - [Text Field](https://
|
|
328
|
+
* - [Autocomplete](https://mui.com/material-ui/react-autocomplete/)
|
|
329
|
+
* - [Text Field](https://mui.com/material-ui/react-text-field/)
|
|
330
330
|
*
|
|
331
331
|
* API:
|
|
332
332
|
*
|
|
333
|
-
* - [TextField API](https://
|
|
334
|
-
* - inherits [FormControl API](https://
|
|
333
|
+
* - [TextField API](https://mui.com/material-ui/api/text-field/)
|
|
334
|
+
* - inherits [FormControl API](https://mui.com/material-ui/api/form-control/)
|
|
335
335
|
*/
|
|
336
336
|
export default function TextField<Variant extends TextFieldVariants>(props: {
|
|
337
337
|
/**
|
|
@@ -303,7 +303,7 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes /* remove-proptypes
|
|
|
303
303
|
error: PropTypes.bool,
|
|
304
304
|
/**
|
|
305
305
|
* Props applied to the [`FormHelperText`](https://mui.com/material-ui/api/form-helper-text/) element.
|
|
306
|
-
* @deprecated Use `slotProps.formHelperText` instead. This prop will be removed in
|
|
306
|
+
* @deprecated Use `slotProps.formHelperText` 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.
|
|
307
307
|
*/
|
|
308
308
|
FormHelperTextProps: PropTypes.object,
|
|
309
309
|
/**
|
|
@@ -323,12 +323,12 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes /* remove-proptypes
|
|
|
323
323
|
/**
|
|
324
324
|
* Props applied to the [`InputLabel`](https://mui.com/material-ui/api/input-label/) element.
|
|
325
325
|
* Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
|
|
326
|
-
* @deprecated Use `slotProps.inputLabel` instead. This prop will be removed in
|
|
326
|
+
* @deprecated Use `slotProps.inputLabel` 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.
|
|
327
327
|
*/
|
|
328
328
|
InputLabelProps: PropTypes.object,
|
|
329
329
|
/**
|
|
330
330
|
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
|
|
331
|
-
* @deprecated Use `slotProps.htmlInput` instead. This prop will be removed in
|
|
331
|
+
* @deprecated Use `slotProps.htmlInput` 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.
|
|
332
332
|
*/
|
|
333
333
|
inputProps: PropTypes.object,
|
|
334
334
|
/**
|
|
@@ -336,7 +336,7 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes /* remove-proptypes
|
|
|
336
336
|
* It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
|
|
337
337
|
* [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
|
|
338
338
|
* component depending on the `variant` prop value.
|
|
339
|
-
* @deprecated Use `slotProps.input` instead. This prop will be removed in
|
|
339
|
+
* @deprecated Use `slotProps.input` 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.
|
|
340
340
|
*/
|
|
341
341
|
InputProps: PropTypes.object,
|
|
342
342
|
/**
|
|
@@ -405,7 +405,7 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes /* remove-proptypes
|
|
|
405
405
|
select: PropTypes.bool,
|
|
406
406
|
/**
|
|
407
407
|
* Props applied to the [`Select`](https://mui.com/material-ui/api/select/) element.
|
|
408
|
-
* @deprecated Use `slotProps.select` instead. This prop will be removed in
|
|
408
|
+
* @deprecated Use `slotProps.select` 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.
|
|
409
409
|
*/
|
|
410
410
|
SelectProps: PropTypes.object,
|
|
411
411
|
/**
|
|
@@ -4,11 +4,11 @@ import { TextareaAutosizeProps } from "./TextareaAutosize.types.js";
|
|
|
4
4
|
*
|
|
5
5
|
* Demos:
|
|
6
6
|
*
|
|
7
|
-
* - [Textarea Autosize](https://
|
|
7
|
+
* - [Textarea Autosize](https://mui.com/material-ui/react-textarea-autosize/)
|
|
8
8
|
*
|
|
9
9
|
* API:
|
|
10
10
|
*
|
|
11
|
-
* - [TextareaAutosize API](https://
|
|
11
|
+
* - [TextareaAutosize API](https://mui.com/material-ui/api/textarea-autosize/)
|
|
12
12
|
*/
|
|
13
13
|
declare const TextareaAutosize: React.ForwardRefExoticComponent<TextareaAutosizeProps & React.RefAttributes<Element>>;
|
|
14
14
|
export default TextareaAutosize;
|
|
@@ -37,11 +37,11 @@ function isEmpty(obj) {
|
|
|
37
37
|
*
|
|
38
38
|
* Demos:
|
|
39
39
|
*
|
|
40
|
-
* - [Textarea Autosize](https://
|
|
40
|
+
* - [Textarea Autosize](https://mui.com/material-ui/react-textarea-autosize/)
|
|
41
41
|
*
|
|
42
42
|
* API:
|
|
43
43
|
*
|
|
44
|
-
* - [TextareaAutosize API](https://
|
|
44
|
+
* - [TextareaAutosize API](https://mui.com/material-ui/api/textarea-autosize/)
|
|
45
45
|
*/
|
|
46
46
|
const TextareaAutosize = /*#__PURE__*/React.forwardRef(function TextareaAutosize(props, forwardedRef) {
|
|
47
47
|
const {
|
|
@@ -81,12 +81,12 @@ export type ToggleButtonTypeMap<AdditionalProps = {}, RootComponent extends Reac
|
|
|
81
81
|
*
|
|
82
82
|
* Demos:
|
|
83
83
|
*
|
|
84
|
-
* - [Toggle Button](https://
|
|
84
|
+
* - [Toggle Button](https://mui.com/material-ui/react-toggle-button/)
|
|
85
85
|
*
|
|
86
86
|
* API:
|
|
87
87
|
*
|
|
88
|
-
* - [ToggleButton API](https://
|
|
89
|
-
* - inherits [ButtonBase API](https://
|
|
88
|
+
* - [ToggleButton API](https://mui.com/material-ui/api/toggle-button/)
|
|
89
|
+
* - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/)
|
|
90
90
|
*/
|
|
91
91
|
declare const ToggleButton: ExtendButtonBase<ToggleButtonTypeMap>;
|
|
92
92
|
export type ToggleButtonProps<RootComponent extends React.ElementType = ToggleButtonTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<ToggleButtonTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
|
@@ -73,10 +73,10 @@ export interface ToggleButtonGroupProps extends StandardProps<React.HTMLAttribut
|
|
|
73
73
|
*
|
|
74
74
|
* Demos:
|
|
75
75
|
*
|
|
76
|
-
* - [Toggle Button](https://
|
|
76
|
+
* - [Toggle Button](https://mui.com/material-ui/react-toggle-button/)
|
|
77
77
|
*
|
|
78
78
|
* API:
|
|
79
79
|
*
|
|
80
|
-
* - [ToggleButtonGroup API](https://
|
|
80
|
+
* - [ToggleButtonGroup API](https://mui.com/material-ui/api/toggle-button-group/)
|
|
81
81
|
*/
|
|
82
82
|
export default function ToggleButtonGroup(props: ToggleButtonGroupProps): React.JSX.Element;
|
|
@@ -38,11 +38,11 @@ export interface ToolbarTypeMap<AdditionalProps = {}, RootComponent extends Reac
|
|
|
38
38
|
*
|
|
39
39
|
* Demos:
|
|
40
40
|
*
|
|
41
|
-
* - [App Bar](https://
|
|
41
|
+
* - [App Bar](https://mui.com/material-ui/react-app-bar/)
|
|
42
42
|
*
|
|
43
43
|
* API:
|
|
44
44
|
*
|
|
45
|
-
* - [Toolbar API](https://
|
|
45
|
+
* - [Toolbar API](https://mui.com/material-ui/api/toolbar/)
|
|
46
46
|
*/
|
|
47
47
|
declare const Toolbar: OverridableComponent<ToolbarTypeMap>;
|
|
48
48
|
export type ToolbarProps<RootComponent extends React.ElementType = ToolbarTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<ToolbarTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { MUIStyledCommonProps, SxProps } from '@mui/system';
|
|
3
|
-
import { PopperProps } from
|
|
3
|
+
import { PopperProps } from "../Popper/index.js";
|
|
4
4
|
import { InternalStandardProps as StandardProps, Theme } from "../index.js";
|
|
5
5
|
import { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
|
|
6
6
|
import { TransitionProps } from "../transitions/transition.js";
|
|
@@ -70,7 +70,7 @@ export interface TooltipProps extends StandardProps<React.HTMLAttributes<HTMLDiv
|
|
|
70
70
|
/**
|
|
71
71
|
* The components used for each slot inside.
|
|
72
72
|
*
|
|
73
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
73
|
+
* @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.
|
|
74
74
|
*
|
|
75
75
|
* @default {}
|
|
76
76
|
*/
|
|
@@ -84,7 +84,7 @@ export interface TooltipProps extends StandardProps<React.HTMLAttributes<HTMLDiv
|
|
|
84
84
|
* The extra props for the slot components.
|
|
85
85
|
* You can override the existing props or add new ones.
|
|
86
86
|
*
|
|
87
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
87
|
+
* @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.
|
|
88
88
|
*
|
|
89
89
|
* @default {}
|
|
90
90
|
*/
|
|
@@ -181,12 +181,12 @@ export interface TooltipProps extends StandardProps<React.HTMLAttributes<HTMLDiv
|
|
|
181
181
|
placement?: PopperProps['placement'];
|
|
182
182
|
/**
|
|
183
183
|
* The component used for the popper.
|
|
184
|
-
* @deprecated use the `slots.popper` prop instead. This prop will be removed in
|
|
184
|
+
* @deprecated use the `slots.popper` 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.
|
|
185
185
|
*/
|
|
186
186
|
PopperComponent?: React.JSXElementConstructor<PopperProps>;
|
|
187
187
|
/**
|
|
188
188
|
* Props applied to the [`Popper`](https://mui.com/material-ui/api/popper/) element.
|
|
189
|
-
* @deprecated use the `slotProps.popper` prop instead. This prop will be removed in
|
|
189
|
+
* @deprecated use the `slotProps.popper` 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.
|
|
190
190
|
* @default {}
|
|
191
191
|
*/
|
|
192
192
|
PopperProps?: Partial<PopperProps>;
|
|
@@ -201,7 +201,7 @@ export interface TooltipProps extends StandardProps<React.HTMLAttributes<HTMLDiv
|
|
|
201
201
|
/**
|
|
202
202
|
* The component used for the transition.
|
|
203
203
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
204
|
-
* @deprecated use the `slots.transition` prop instead. This prop will be removed in
|
|
204
|
+
* @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.
|
|
205
205
|
*/
|
|
206
206
|
TransitionComponent?: React.JSXElementConstructor<TransitionProps & {
|
|
207
207
|
children: React.ReactElement<unknown, any>;
|
|
@@ -209,7 +209,7 @@ export interface TooltipProps extends StandardProps<React.HTMLAttributes<HTMLDiv
|
|
|
209
209
|
/**
|
|
210
210
|
* Props applied to the transition element.
|
|
211
211
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
212
|
-
* @deprecated use the `slotProps.transition` prop instead. This prop will be removed in
|
|
212
|
+
* @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.
|
|
213
213
|
* @default {}
|
|
214
214
|
*/
|
|
215
215
|
TransitionProps?: TransitionProps;
|
|
@@ -220,10 +220,10 @@ export interface TooltipOwnerState extends TooltipProps {}
|
|
|
220
220
|
*
|
|
221
221
|
* Demos:
|
|
222
222
|
*
|
|
223
|
-
* - [Tooltip](https://
|
|
223
|
+
* - [Tooltip](https://mui.com/material-ui/react-tooltip/)
|
|
224
224
|
*
|
|
225
225
|
* API:
|
|
226
226
|
*
|
|
227
|
-
* - [Tooltip API](https://
|
|
227
|
+
* - [Tooltip API](https://mui.com/material-ui/api/tooltip/)
|
|
228
228
|
*/
|
|
229
229
|
export default function Tooltip(props: TooltipProps): React.JSX.Element;
|