@mui/material 5.0.0-rc.1 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accordion/Accordion.d.ts +4 -4
- package/Accordion/Accordion.js +3 -3
- package/Accordion/AccordionContext.js +1 -1
- 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 +3 -3
- package/AlertTitle/AlertTitle.d.ts +2 -2
- package/AppBar/AppBar.d.ts +3 -3
- package/Autocomplete/Autocomplete.d.ts +2 -2
- package/Autocomplete/Autocomplete.js +2 -2
- package/Avatar/Avatar.d.ts +2 -2
- package/AvatarGroup/AvatarGroup.d.ts +2 -2
- package/AvatarGroup/AvatarGroup.js +2 -2
- package/Backdrop/Backdrop.d.ts +3 -3
- package/Badge/Badge.d.ts +4 -4
- package/BottomNavigation/BottomNavigation.d.ts +2 -2
- package/BottomNavigation/BottomNavigation.js +1 -1
- package/BottomNavigationAction/BottomNavigationAction.d.ts +3 -3
- package/Box/Box.d.ts +4 -4
- package/Breadcrumbs/Breadcrumbs.d.ts +2 -2
- package/Breadcrumbs/Breadcrumbs.js +2 -2
- package/Button/Button.d.ts +4 -4
- package/ButtonBase/ButtonBase.d.ts +2 -2
- package/ButtonBase/ButtonBase.js +200 -30
- package/ButtonGroup/ButtonGroup.d.ts +2 -2
- package/ButtonGroup/ButtonGroup.js +1 -1
- package/CHANGELOG.md +119 -39
- package/Card/Card.d.ts +3 -3
- package/Card/Card.js +1 -1
- 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 +2 -2
- package/CardMedia/CardMedia.d.ts +2 -2
- package/CardMedia/CardMedia.js +1 -1
- package/Checkbox/Checkbox.d.ts +4 -4
- package/Checkbox/Checkbox.js +1 -1
- package/Chip/Chip.d.ts +2 -2
- package/Chip/Chip.js +1 -1
- package/CircularProgress/CircularProgress.d.ts +2 -2
- package/CircularProgress/CircularProgress.js +1 -1
- 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 +4 -4
- package/Dialog/Dialog.js +1 -1
- 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 +2 -2
- package/Divider/Divider.d.ts +3 -3
- package/Drawer/Drawer.d.ts +3 -3
- package/Fab/Fab.d.ts +3 -3
- package/Fade/Fade.d.ts +3 -3
- package/FilledInput/FilledInput.d.ts +3 -3
- package/FormControl/FormControl.d.ts +6 -6
- package/FormControl/FormControl.js +1 -1
- package/FormControlLabel/FormControlLabel.d.ts +4 -4
- 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/Grow/Grow.d.ts +5 -5
- package/Hidden/Hidden.d.ts +2 -2
- package/Hidden/HiddenCss.js +1 -1
- 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/ImageList/ImageList.js +2 -4
- package/ImageListItem/ImageListItem.d.ts +2 -2
- package/ImageListItem/ImageListItem.js +1 -1
- package/ImageListItemBar/ImageListItemBar.d.ts +2 -2
- package/Input/Input.d.ts +3 -3
- package/InputAdornment/InputAdornment.d.ts +2 -2
- package/InputAdornment/InputAdornment.js +1 -1
- package/InputBase/InputBase.d.ts +2 -2
- package/InputBase/InputBase.js +3 -3
- package/InputLabel/InputLabel.d.ts +3 -3
- package/LinearProgress/LinearProgress.d.ts +2 -2
- package/LinearProgress/LinearProgress.js +2 -2
- package/Link/Link.d.ts +4 -4
- package/List/List.d.ts +3 -3
- package/ListItem/ListItem.d.ts +3 -3
- package/ListItem/ListItem.js +2 -2
- package/ListItemAvatar/ListItemAvatar.d.ts +2 -2
- package/ListItemButton/ListItemButton.d.ts +3 -3
- package/ListItemButton/ListItemButton.js +1 -1
- package/ListItemIcon/ListItemIcon.d.ts +2 -2
- package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -2
- package/ListItemText/ListItemText.d.ts +2 -2
- package/ListSubheader/ListSubheader.d.ts +2 -2
- package/Menu/Menu.d.ts +5 -5
- package/Menu/Menu.js +2 -2
- package/MenuItem/MenuItem.d.ts +3 -3
- package/MenuItem/MenuItem.js +1 -1
- package/MenuList/MenuList.d.ts +4 -4
- package/MenuList/MenuList.js +1 -1
- package/MobileStepper/MobileStepper.d.ts +3 -3
- package/Modal/Modal.d.ts +7 -7
- package/NativeSelect/NativeSelect.d.ts +3 -3
- package/OutlinedInput/OutlinedInput.d.ts +3 -3
- package/Pagination/Pagination.d.ts +2 -2
- package/PaginationItem/PaginationItem.d.ts +2 -2
- package/Paper/Paper.d.ts +3 -3
- package/Paper/Paper.js +2 -2
- package/Popover/Popover.d.ts +5 -5
- package/Popover/Popover.js +6 -6
- package/Popper/Popper.d.ts +4 -4
- package/Popper/Popper.js +3 -3
- package/README.md +24 -35
- package/Radio/Radio.d.ts +3 -3
- package/RadioGroup/RadioGroup.d.ts +3 -3
- package/Rating/Rating.d.ts +2 -2
- package/Rating/Rating.js +1 -1
- package/ScopedCssBaseline/ScopedCssBaseline.d.ts +4 -4
- package/Select/Select.d.ts +3 -3
- package/Select/SelectInput.js +3 -3
- package/Skeleton/Skeleton.d.ts +2 -2
- package/Slide/Slide.d.ts +4 -4
- package/Slide/Slide.js +2 -2
- package/Slider/Slider.d.ts +3 -3
- package/Slider/Slider.js +2 -2
- package/Snackbar/Snackbar.d.ts +3 -3
- package/Snackbar/Snackbar.js +1 -1
- package/SnackbarContent/SnackbarContent.d.ts +3 -3
- package/SpeedDial/SpeedDial.d.ts +3 -3
- package/SpeedDial/SpeedDial.js +2 -2
- package/SpeedDialAction/SpeedDialAction.d.ts +3 -3
- 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 +3 -3
- package/StepContent/StepContent.js +2 -2
- package/StepIcon/StepIcon.d.ts +2 -2
- package/StepLabel/StepLabel.d.ts +2 -2
- package/Stepper/Stepper.d.ts +2 -2
- package/SvgIcon/SvgIcon.d.ts +3 -3
- package/SwipeableDrawer/SwipeableDrawer.d.ts +3 -3
- package/Switch/Switch.d.ts +4 -4
- 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 +3 -3
- package/TablePagination/TablePagination.js +1 -1
- package/TableRow/TableRow.d.ts +2 -2
- package/TableSortLabel/TableSortLabel.d.ts +3 -3
- package/Tabs/Tabs.d.ts +2 -2
- package/Tabs/Tabs.js +4 -4
- package/TextField/TextField.d.ts +11 -11
- package/TextField/TextField.js +4 -2
- package/TextareaAutosize/TextareaAutosize.d.ts +2 -2
- package/TextareaAutosize/TextareaAutosize.js +1 -1
- package/ToggleButton/ToggleButton.d.ts +3 -3
- package/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -2
- package/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/Toolbar/Toolbar.d.ts +2 -2
- package/Tooltip/Tooltip.d.ts +3 -3
- package/Tooltip/Tooltip.js +5 -5
- package/Typography/Typography.d.ts +3 -3
- package/Zoom/Zoom.d.ts +3 -3
- package/colors/amber.d.ts +15 -15
- package/colors/blue.d.ts +15 -15
- package/colors/blueGrey.d.ts +15 -15
- package/colors/brown.d.ts +15 -15
- package/colors/common.d.ts +3 -3
- package/colors/cyan.d.ts +15 -15
- package/colors/deepOrange.d.ts +15 -15
- package/colors/deepPurple.d.ts +15 -15
- package/colors/green.d.ts +15 -15
- package/colors/grey.d.ts +15 -15
- package/colors/indigo.d.ts +15 -15
- package/colors/lightBlue.d.ts +15 -15
- package/colors/lightGreen.d.ts +15 -15
- package/colors/lime.d.ts +15 -15
- package/colors/orange.d.ts +15 -15
- package/colors/pink.d.ts +15 -15
- package/colors/purple.d.ts +15 -15
- package/colors/red.d.ts +15 -15
- package/colors/teal.d.ts +15 -15
- package/colors/yellow.d.ts +15 -15
- package/index.js +1 -1
- package/legacy/Accordion/Accordion.js +3 -3
- package/legacy/Accordion/AccordionContext.js +1 -1
- package/legacy/Autocomplete/Autocomplete.js +2 -2
- package/legacy/AvatarGroup/AvatarGroup.js +2 -2
- package/legacy/BottomNavigation/BottomNavigation.js +1 -1
- package/legacy/Breadcrumbs/Breadcrumbs.js +2 -2
- package/legacy/ButtonBase/ButtonBase.js +191 -28
- package/legacy/ButtonGroup/ButtonGroup.js +1 -1
- package/legacy/Card/Card.js +1 -1
- package/legacy/CardMedia/CardMedia.js +1 -1
- package/legacy/Checkbox/Checkbox.js +1 -1
- package/legacy/Chip/Chip.js +1 -1
- package/legacy/CircularProgress/CircularProgress.js +1 -1
- package/legacy/ClickAwayListener/ClickAwayListener.js +3 -3
- package/legacy/Dialog/Dialog.js +1 -1
- package/legacy/FormControl/FormControl.js +1 -1
- package/legacy/Hidden/HiddenCss.js +1 -1
- package/legacy/IconButton/IconButton.js +1 -1
- package/legacy/ImageList/ImageList.js +2 -4
- package/legacy/ImageListItem/ImageListItem.js +1 -1
- package/legacy/InputAdornment/InputAdornment.js +1 -1
- package/legacy/InputBase/InputBase.js +3 -3
- package/legacy/LinearProgress/LinearProgress.js +2 -2
- package/legacy/ListItem/ListItem.js +2 -2
- package/legacy/ListItemButton/ListItemButton.js +1 -1
- package/legacy/Menu/Menu.js +2 -2
- package/legacy/MenuItem/MenuItem.js +1 -1
- package/legacy/MenuList/MenuList.js +1 -1
- package/legacy/Paper/Paper.js +2 -2
- package/legacy/Popover/Popover.js +6 -6
- package/legacy/Popper/Popper.js +3 -3
- package/legacy/Rating/Rating.js +1 -1
- package/legacy/Select/SelectInput.js +3 -3
- package/legacy/Slide/Slide.js +2 -2
- package/legacy/Slider/Slider.js +2 -2
- package/legacy/Snackbar/Snackbar.js +1 -1
- package/legacy/SpeedDial/SpeedDial.js +2 -2
- package/legacy/StepContent/StepContent.js +2 -2
- package/legacy/TablePagination/TablePagination.js +1 -1
- package/legacy/Tabs/Tabs.js +4 -4
- package/legacy/TextField/TextField.js +4 -2
- package/legacy/TextareaAutosize/TextareaAutosize.js +1 -1
- package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/legacy/Tooltip/Tooltip.js +5 -5
- package/legacy/index.js +1 -1
- package/legacy/styles/adaptV4Theme.js +1 -1
- package/legacy/styles/createPalette.js +4 -4
- package/legacy/styles/createStyles.js +1 -1
- package/legacy/styles/createTheme.js +3 -3
- package/legacy/styles/createTransitions.js +5 -5
- package/legacy/styles/createTypography.js +2 -2
- package/legacy/styles/makeStyles.js +1 -1
- package/legacy/styles/responsiveFontSizes.js +1 -1
- package/legacy/styles/withStyles.js +1 -1
- package/legacy/styles/withTheme.js +1 -1
- package/legacy/useMediaQuery/useMediaQuery.js +2 -2
- package/modern/Accordion/Accordion.js +3 -3
- package/modern/Accordion/AccordionContext.js +1 -1
- package/modern/Autocomplete/Autocomplete.js +2 -2
- package/modern/AvatarGroup/AvatarGroup.js +2 -2
- package/modern/BottomNavigation/BottomNavigation.js +1 -1
- package/modern/Breadcrumbs/Breadcrumbs.js +2 -2
- package/modern/ButtonBase/ButtonBase.js +200 -30
- package/modern/ButtonGroup/ButtonGroup.js +1 -1
- package/modern/Card/Card.js +1 -1
- package/modern/CardMedia/CardMedia.js +1 -1
- package/modern/Checkbox/Checkbox.js +1 -1
- package/modern/Chip/Chip.js +1 -1
- package/modern/CircularProgress/CircularProgress.js +1 -1
- package/modern/ClickAwayListener/ClickAwayListener.js +3 -3
- package/modern/Dialog/Dialog.js +1 -1
- package/modern/FormControl/FormControl.js +1 -1
- package/modern/Hidden/HiddenCss.js +1 -1
- package/modern/IconButton/IconButton.js +1 -1
- package/modern/ImageList/ImageList.js +2 -4
- package/modern/ImageListItem/ImageListItem.js +1 -1
- package/modern/InputAdornment/InputAdornment.js +1 -1
- package/modern/InputBase/InputBase.js +3 -3
- package/modern/LinearProgress/LinearProgress.js +2 -2
- package/modern/ListItem/ListItem.js +2 -2
- package/modern/ListItemButton/ListItemButton.js +1 -1
- package/modern/Menu/Menu.js +2 -2
- package/modern/MenuItem/MenuItem.js +1 -1
- package/modern/MenuList/MenuList.js +1 -1
- package/modern/Paper/Paper.js +2 -2
- package/modern/Popover/Popover.js +6 -6
- package/modern/Popper/Popper.js +3 -3
- package/modern/Rating/Rating.js +1 -1
- package/modern/Select/SelectInput.js +3 -3
- package/modern/Slide/Slide.js +2 -2
- package/modern/Slider/Slider.js +2 -2
- package/modern/Snackbar/Snackbar.js +1 -1
- package/modern/SpeedDial/SpeedDial.js +2 -2
- package/modern/StepContent/StepContent.js +2 -2
- package/modern/TablePagination/TablePagination.js +1 -1
- package/modern/Tabs/Tabs.js +4 -4
- package/modern/TextField/TextField.js +4 -2
- package/modern/TextareaAutosize/TextareaAutosize.js +1 -1
- package/modern/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/modern/Tooltip/Tooltip.js +5 -5
- package/modern/index.js +1 -1
- package/modern/styles/adaptV4Theme.js +1 -1
- package/modern/styles/createPalette.js +4 -4
- package/modern/styles/createStyles.js +1 -1
- package/modern/styles/createTheme.js +3 -3
- package/modern/styles/createTransitions.js +5 -5
- package/modern/styles/createTypography.js +3 -3
- package/modern/styles/makeStyles.js +2 -2
- package/modern/styles/responsiveFontSizes.js +1 -1
- package/modern/styles/withStyles.js +2 -2
- package/modern/styles/withTheme.js +2 -2
- package/modern/useMediaQuery/useMediaQuery.js +2 -2
- package/node/Accordion/Accordion.js +3 -3
- package/node/Accordion/AccordionContext.js +1 -1
- package/node/Autocomplete/Autocomplete.js +2 -2
- package/node/AvatarGroup/AvatarGroup.js +2 -2
- package/node/BottomNavigation/BottomNavigation.js +1 -1
- package/node/Breadcrumbs/Breadcrumbs.js +2 -2
- package/node/ButtonBase/ButtonBase.js +202 -32
- package/node/ButtonGroup/ButtonGroup.js +1 -1
- package/node/Card/Card.js +1 -1
- package/node/CardMedia/CardMedia.js +1 -1
- package/node/Checkbox/Checkbox.js +1 -1
- package/node/Chip/Chip.js +1 -1
- package/node/CircularProgress/CircularProgress.js +1 -1
- package/node/ClickAwayListener/ClickAwayListener.js +3 -3
- package/node/Dialog/Dialog.js +1 -1
- package/node/FormControl/FormControl.js +1 -1
- package/node/Hidden/HiddenCss.js +1 -1
- package/node/IconButton/IconButton.js +1 -1
- package/node/ImageList/ImageList.js +2 -4
- package/node/ImageListItem/ImageListItem.js +1 -1
- package/node/InputAdornment/InputAdornment.js +1 -1
- package/node/InputBase/InputBase.js +3 -3
- package/node/LinearProgress/LinearProgress.js +2 -2
- package/node/ListItem/ListItem.js +2 -2
- package/node/ListItemButton/ListItemButton.js +1 -1
- package/node/Menu/Menu.js +2 -2
- package/node/MenuItem/MenuItem.js +1 -1
- package/node/MenuList/MenuList.js +1 -1
- package/node/Paper/Paper.js +2 -2
- package/node/Popover/Popover.js +6 -6
- package/node/Popper/Popper.js +3 -3
- package/node/Rating/Rating.js +1 -1
- package/node/Select/SelectInput.js +3 -3
- package/node/Slide/Slide.js +2 -2
- package/node/Slider/Slider.js +2 -2
- package/node/Snackbar/Snackbar.js +1 -1
- package/node/SpeedDial/SpeedDial.js +2 -2
- package/node/StepContent/StepContent.js +2 -2
- package/node/TablePagination/TablePagination.js +1 -1
- package/node/Tabs/Tabs.js +4 -4
- package/node/TextField/TextField.js +4 -2
- package/node/TextareaAutosize/TextareaAutosize.js +1 -1
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/node/Tooltip/Tooltip.js +5 -5
- package/node/index.js +1 -1
- package/node/styles/adaptV4Theme.js +1 -1
- package/node/styles/createPalette.js +4 -4
- package/node/styles/createStyles.js +1 -1
- package/node/styles/createTheme.js +3 -3
- package/node/styles/createTransitions.js +5 -5
- package/node/styles/createTypography.js +3 -3
- package/node/styles/makeStyles.js +2 -2
- package/node/styles/responsiveFontSizes.js +1 -1
- package/node/styles/withStyles.js +2 -2
- package/node/styles/withTheme.js +2 -2
- package/node/useMediaQuery/useMediaQuery.js +2 -2
- package/package.json +10 -10
- package/styles/ThemeProvider.d.ts +1 -1
- package/styles/adaptV4Theme.d.ts +2 -2
- package/styles/adaptV4Theme.js +1 -1
- package/styles/createPalette.js +4 -4
- package/styles/createStyles.js +1 -1
- package/styles/createTheme.d.ts +2 -2
- package/styles/createTheme.js +3 -3
- package/styles/createTransitions.js +5 -5
- package/styles/createTypography.js +3 -3
- package/styles/makeStyles.js +2 -2
- package/styles/responsiveFontSizes.js +1 -1
- package/styles/withStyles.js +2 -2
- package/styles/withTheme.js +2 -2
- package/umd/material-ui.development.js +787 -364
- package/umd/material-ui.production.min.js +21 -21
- package/useMediaQuery/useMediaQuery.js +2 -2
package/StepLabel/StepLabel.d.ts
CHANGED
|
@@ -58,11 +58,11 @@ export type StepLabelClasskey = keyof NonNullable<StepLabelProps['classes']>;
|
|
|
58
58
|
*
|
|
59
59
|
* Demos:
|
|
60
60
|
*
|
|
61
|
-
* - [Steppers](https://
|
|
61
|
+
* - [Steppers](https://mui.com/components/steppers/)
|
|
62
62
|
*
|
|
63
63
|
* API:
|
|
64
64
|
*
|
|
65
|
-
* - [StepLabel API](https://
|
|
65
|
+
* - [StepLabel API](https://mui.com/api/step-label/)
|
|
66
66
|
*/
|
|
67
67
|
declare const StepLabel: ((props: StepLabelProps) => JSX.Element) & { muiName: string };
|
|
68
68
|
|
package/Stepper/Stepper.d.ts
CHANGED
|
@@ -55,10 +55,10 @@ export type StepperClasskey = keyof NonNullable<StepperProps['classes']>;
|
|
|
55
55
|
*
|
|
56
56
|
* Demos:
|
|
57
57
|
*
|
|
58
|
-
* - [Steppers](https://
|
|
58
|
+
* - [Steppers](https://mui.com/components/steppers/)
|
|
59
59
|
*
|
|
60
60
|
* API:
|
|
61
61
|
*
|
|
62
|
-
* - [Stepper API](https://
|
|
62
|
+
* - [Stepper API](https://mui.com/api/stepper/)
|
|
63
63
|
*/
|
|
64
64
|
export default function Stepper(props: StepperProps): JSX.Element;
|
package/SvgIcon/SvgIcon.d.ts
CHANGED
|
@@ -79,12 +79,12 @@ export interface SvgIconTypeMap<P = {}, D extends React.ElementType = 'svg'> {
|
|
|
79
79
|
*
|
|
80
80
|
* Demos:
|
|
81
81
|
*
|
|
82
|
-
* - [Icons](https://
|
|
83
|
-
* - [Material Icons](https://
|
|
82
|
+
* - [Icons](https://mui.com/components/icons/)
|
|
83
|
+
* - [Material Icons](https://mui.com/components/material-icons/)
|
|
84
84
|
*
|
|
85
85
|
* API:
|
|
86
86
|
*
|
|
87
|
-
* - [SvgIcon API](https://
|
|
87
|
+
* - [SvgIcon API](https://mui.com/api/svg-icon/)
|
|
88
88
|
*/
|
|
89
89
|
declare const SvgIcon: OverridableComponent<SvgIconTypeMap> & { muiName: string };
|
|
90
90
|
|
|
@@ -65,12 +65,12 @@ export interface SwipeableDrawerProps extends Omit<DrawerProps, 'onClose' | 'ope
|
|
|
65
65
|
*
|
|
66
66
|
* Demos:
|
|
67
67
|
*
|
|
68
|
-
* - [Drawers](https://
|
|
68
|
+
* - [Drawers](https://mui.com/components/drawers/)
|
|
69
69
|
*
|
|
70
70
|
* API:
|
|
71
71
|
*
|
|
72
|
-
* - [SwipeableDrawer API](https://
|
|
73
|
-
* - inherits [Drawer API](https://
|
|
72
|
+
* - [SwipeableDrawer API](https://mui.com/api/swipeable-drawer/)
|
|
73
|
+
* - inherits [Drawer API](https://mui.com/api/drawer/)
|
|
74
74
|
*/
|
|
75
75
|
declare const SwipeableDrawer: React.JSXElementConstructor<SwipeableDrawerProps>;
|
|
76
76
|
|
package/Switch/Switch.d.ts
CHANGED
|
@@ -56,12 +56,12 @@ export interface SwitchProps
|
|
|
56
56
|
*
|
|
57
57
|
* Demos:
|
|
58
58
|
*
|
|
59
|
-
* - [Switches](https://
|
|
60
|
-
* - [Transfer List](https://
|
|
59
|
+
* - [Switches](https://mui.com/components/switches/)
|
|
60
|
+
* - [Transfer List](https://mui.com/components/transfer-list/)
|
|
61
61
|
*
|
|
62
62
|
* API:
|
|
63
63
|
*
|
|
64
|
-
* - [Switch API](https://
|
|
65
|
-
* - inherits [IconButton API](https://
|
|
64
|
+
* - [Switch API](https://mui.com/api/switch/)
|
|
65
|
+
* - inherits [IconButton API](https://mui.com/api/icon-button/)
|
|
66
66
|
*/
|
|
67
67
|
export default function Switch(props: SwitchProps): JSX.Element;
|
package/Tab/Tab.d.ts
CHANGED
|
@@ -56,12 +56,12 @@ export type TabTypeMap<P = {}, D extends React.ElementType = 'div'> = ExtendButt
|
|
|
56
56
|
*
|
|
57
57
|
* Demos:
|
|
58
58
|
*
|
|
59
|
-
* - [Tabs](https://
|
|
59
|
+
* - [Tabs](https://mui.com/components/tabs/)
|
|
60
60
|
*
|
|
61
61
|
* API:
|
|
62
62
|
*
|
|
63
|
-
* - [Tab API](https://
|
|
64
|
-
* - inherits [ButtonBase API](https://
|
|
63
|
+
* - [Tab API](https://mui.com/api/tab/)
|
|
64
|
+
* - inherits [ButtonBase API](https://mui.com/api/button-base/)
|
|
65
65
|
*/
|
|
66
66
|
declare const Tab: ExtendButtonBase<TabTypeMap>;
|
|
67
67
|
|
|
@@ -34,10 +34,10 @@ export interface TabScrollButtonProps extends StandardProps<React.HTMLAttributes
|
|
|
34
34
|
*
|
|
35
35
|
* Demos:
|
|
36
36
|
*
|
|
37
|
-
* - [Tabs](https://
|
|
37
|
+
* - [Tabs](https://mui.com/components/tabs/)
|
|
38
38
|
*
|
|
39
39
|
* API:
|
|
40
40
|
*
|
|
41
|
-
* - [TabScrollButton API](https://
|
|
41
|
+
* - [TabScrollButton API](https://mui.com/api/tab-scroll-button/)
|
|
42
42
|
*/
|
|
43
43
|
export default function TabScrollButton(props: TabScrollButtonProps): JSX.Element;
|
package/Table/Table.d.ts
CHANGED
|
@@ -45,11 +45,11 @@ export interface TableTypeMap<P = {}, D extends React.ElementType = 'table'> {
|
|
|
45
45
|
*
|
|
46
46
|
* Demos:
|
|
47
47
|
*
|
|
48
|
-
* - [Tables](https://
|
|
48
|
+
* - [Tables](https://mui.com/components/tables/)
|
|
49
49
|
*
|
|
50
50
|
* API:
|
|
51
51
|
*
|
|
52
|
-
* - [Table API](https://
|
|
52
|
+
* - [Table API](https://mui.com/api/table/)
|
|
53
53
|
*/
|
|
54
54
|
declare const Table: OverridableComponent<TableTypeMap>;
|
|
55
55
|
|
package/TableBody/TableBody.d.ts
CHANGED
|
@@ -25,11 +25,11 @@ export interface TableBodyTypeMap<P = {}, D extends React.ElementType = 'tbody'>
|
|
|
25
25
|
*
|
|
26
26
|
* Demos:
|
|
27
27
|
*
|
|
28
|
-
* - [Tables](https://
|
|
28
|
+
* - [Tables](https://mui.com/components/tables/)
|
|
29
29
|
*
|
|
30
30
|
* API:
|
|
31
31
|
*
|
|
32
|
-
* - [TableBody API](https://
|
|
32
|
+
* - [TableBody API](https://mui.com/api/table-body/)
|
|
33
33
|
*/
|
|
34
34
|
declare const TableBody: OverridableComponent<TableBodyTypeMap>;
|
|
35
35
|
|
package/TableCell/TableCell.d.ts
CHANGED
|
@@ -73,10 +73,10 @@ export type SortDirection = 'asc' | 'desc' | false;
|
|
|
73
73
|
*
|
|
74
74
|
* Demos:
|
|
75
75
|
*
|
|
76
|
-
* - [Tables](https://
|
|
76
|
+
* - [Tables](https://mui.com/components/tables/)
|
|
77
77
|
*
|
|
78
78
|
* API:
|
|
79
79
|
*
|
|
80
|
-
* - [TableCell API](https://
|
|
80
|
+
* - [TableCell API](https://mui.com/api/table-cell/)
|
|
81
81
|
*/
|
|
82
82
|
export default function TableCell(props: TableCellProps): JSX.Element;
|
|
@@ -25,11 +25,11 @@ export interface TableContainerTypeMap<P = {}, D extends React.ElementType = 'di
|
|
|
25
25
|
*
|
|
26
26
|
* Demos:
|
|
27
27
|
*
|
|
28
|
-
* - [Tables](https://
|
|
28
|
+
* - [Tables](https://mui.com/components/tables/)
|
|
29
29
|
*
|
|
30
30
|
* API:
|
|
31
31
|
*
|
|
32
|
-
* - [TableContainer API](https://
|
|
32
|
+
* - [TableContainer API](https://mui.com/api/table-container/)
|
|
33
33
|
*/
|
|
34
34
|
declare const TableContainer: OverridableComponent<TableContainerTypeMap>;
|
|
35
35
|
|
|
@@ -25,11 +25,11 @@ export interface TableFooterTypeMap<P = {}, D extends React.ElementType = 'tfoot
|
|
|
25
25
|
*
|
|
26
26
|
* Demos:
|
|
27
27
|
*
|
|
28
|
-
* - [Tables](https://
|
|
28
|
+
* - [Tables](https://mui.com/components/tables/)
|
|
29
29
|
*
|
|
30
30
|
* API:
|
|
31
31
|
*
|
|
32
|
-
* - [TableFooter API](https://
|
|
32
|
+
* - [TableFooter API](https://mui.com/api/table-footer/)
|
|
33
33
|
*/
|
|
34
34
|
declare const TableFooter: OverridableComponent<TableFooterTypeMap>;
|
|
35
35
|
|
package/TableHead/TableHead.d.ts
CHANGED
|
@@ -25,11 +25,11 @@ export interface TableHeadTypeMap<P = {}, D extends React.ElementType = 'thead'>
|
|
|
25
25
|
*
|
|
26
26
|
* Demos:
|
|
27
27
|
*
|
|
28
|
-
* - [Tables](https://
|
|
28
|
+
* - [Tables](https://mui.com/components/tables/)
|
|
29
29
|
*
|
|
30
30
|
* API:
|
|
31
31
|
*
|
|
32
|
-
* - [TableHead API](https://
|
|
32
|
+
* - [TableHead API](https://mui.com/api/table-head/)
|
|
33
33
|
*/
|
|
34
34
|
declare const TableHead: OverridableComponent<TableHeadTypeMap>;
|
|
35
35
|
|
|
@@ -129,12 +129,12 @@ export interface TablePaginationTypeMap<P, D extends React.ElementType> {
|
|
|
129
129
|
*
|
|
130
130
|
* Demos:
|
|
131
131
|
*
|
|
132
|
-
* - [Tables](https://
|
|
132
|
+
* - [Tables](https://mui.com/components/tables/)
|
|
133
133
|
*
|
|
134
134
|
* API:
|
|
135
135
|
*
|
|
136
|
-
* - [TablePagination API](https://
|
|
137
|
-
* - inherits [TableCell API](https://
|
|
136
|
+
* - [TablePagination API](https://mui.com/api/table-pagination/)
|
|
137
|
+
* - inherits [TableCell API](https://mui.com/api/table-cell/)
|
|
138
138
|
*/
|
|
139
139
|
declare const TablePagination: OverridableComponent<
|
|
140
140
|
TablePaginationTypeMap<{}, React.JSXElementConstructor<TablePaginationBaseProps>>
|
|
@@ -372,7 +372,7 @@ process.env.NODE_ENV !== "production" ? TablePagination.propTypes
|
|
|
372
372
|
const newLastPage = Math.max(0, Math.ceil(count / rowsPerPage) - 1);
|
|
373
373
|
|
|
374
374
|
if (page < 0 || page > newLastPage) {
|
|
375
|
-
return new Error('
|
|
375
|
+
return new Error('MUI: The page prop of a TablePagination is out of range ' + `(0 to ${newLastPage}, but page is ${page}).`);
|
|
376
376
|
}
|
|
377
377
|
|
|
378
378
|
return null;
|
package/TableRow/TableRow.d.ts
CHANGED
|
@@ -37,11 +37,11 @@ export interface TableRowTypeMap<P = {}, D extends React.ElementType = 'tr'> {
|
|
|
37
37
|
*
|
|
38
38
|
* Demos:
|
|
39
39
|
*
|
|
40
|
-
* - [Tables](https://
|
|
40
|
+
* - [Tables](https://mui.com/components/tables/)
|
|
41
41
|
*
|
|
42
42
|
* API:
|
|
43
43
|
*
|
|
44
|
-
* - [TableRow API](https://
|
|
44
|
+
* - [TableRow API](https://mui.com/api/table-row/)
|
|
45
45
|
*/
|
|
46
46
|
declare const TableRow: OverridableComponent<TableRowTypeMap>;
|
|
47
47
|
|
|
@@ -51,12 +51,12 @@ export type TableSortLabelTypeMap<
|
|
|
51
51
|
*
|
|
52
52
|
* Demos:
|
|
53
53
|
*
|
|
54
|
-
* - [Tables](https://
|
|
54
|
+
* - [Tables](https://mui.com/components/tables/)
|
|
55
55
|
*
|
|
56
56
|
* API:
|
|
57
57
|
*
|
|
58
|
-
* - [TableSortLabel API](https://
|
|
59
|
-
* - inherits [ButtonBase API](https://
|
|
58
|
+
* - [TableSortLabel API](https://mui.com/api/table-sort-label/)
|
|
59
|
+
* - inherits [ButtonBase API](https://mui.com/api/button-base/)
|
|
60
60
|
*/
|
|
61
61
|
declare const TableSortLabel: ExtendButtonBase<TableSortLabelTypeMap>;
|
|
62
62
|
|
package/Tabs/Tabs.d.ts
CHANGED
|
@@ -133,11 +133,11 @@ export interface TabsTypeMap<P = {}, D extends React.ElementType = typeof Button
|
|
|
133
133
|
*
|
|
134
134
|
* Demos:
|
|
135
135
|
*
|
|
136
|
-
* - [Tabs](https://
|
|
136
|
+
* - [Tabs](https://mui.com/components/tabs/)
|
|
137
137
|
*
|
|
138
138
|
* API:
|
|
139
139
|
*
|
|
140
|
-
* - [Tabs API](https://
|
|
140
|
+
* - [Tabs API](https://mui.com/api/tabs/)
|
|
141
141
|
*/
|
|
142
142
|
declare const Tabs: OverridableComponent<TabsTypeMap>;
|
|
143
143
|
|
package/Tabs/Tabs.js
CHANGED
|
@@ -279,7 +279,7 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
|
|
|
279
279
|
|
|
280
280
|
if (process.env.NODE_ENV !== 'production') {
|
|
281
281
|
if (centered && scrollable) {
|
|
282
|
-
console.error('
|
|
282
|
+
console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties ' + 'at the same time on a `Tabs` component.');
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
|
|
@@ -327,7 +327,7 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
|
|
|
327
327
|
|
|
328
328
|
if (process.env.NODE_ENV !== 'production') {
|
|
329
329
|
if (!tab) {
|
|
330
|
-
console.error([`
|
|
330
|
+
console.error([`MUI: The \`value\` provided to the Tabs component is invalid.`, `None of the Tabs' children match with "${value}".`, valueToIndex.keys ? `You can provide one of the following values: ${Array.from(valueToIndex.keys()).join(', ')}.` : null].join('\n'));
|
|
331
331
|
}
|
|
332
332
|
}
|
|
333
333
|
|
|
@@ -336,7 +336,7 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
|
|
|
336
336
|
if (process.env.NODE_ENV !== 'production') {
|
|
337
337
|
if (process.env.NODE_ENV !== 'test' && !warnedOnceTabPresent && tabMeta && tabMeta.width === 0 && tabMeta.height === 0) {
|
|
338
338
|
tabsMeta = null;
|
|
339
|
-
console.error(['
|
|
339
|
+
console.error(['MUI: The `value` provided to the Tabs component is invalid.', `The Tab with this \`value\` ("${value}") is not part of the document layout.`, "Make sure the tab item is present in the document or that it's not `display: none`."].join('\n'));
|
|
340
340
|
warnedOnceTabPresent = true;
|
|
341
341
|
}
|
|
342
342
|
}
|
|
@@ -596,7 +596,7 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
|
|
|
596
596
|
|
|
597
597
|
if (process.env.NODE_ENV !== 'production') {
|
|
598
598
|
if (isFragment(child)) {
|
|
599
|
-
console.error(["
|
|
599
|
+
console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.", 'Consider providing an array instead.'].join('\n'));
|
|
600
600
|
}
|
|
601
601
|
}
|
|
602
602
|
|
package/TextField/TextField.d.ts
CHANGED
|
@@ -234,12 +234,12 @@ export type TextFieldProps = StandardTextFieldProps | FilledTextFieldProps | Out
|
|
|
234
234
|
* It's important to understand that the text field is a simple abstraction
|
|
235
235
|
* on top of the following components:
|
|
236
236
|
*
|
|
237
|
-
* * [FormControl](https://
|
|
238
|
-
* * [InputLabel](https://
|
|
239
|
-
* * [FilledInput](https://
|
|
240
|
-
* * [OutlinedInput](https://
|
|
241
|
-
* * [Input](https://
|
|
242
|
-
* * [FormHelperText](https://
|
|
237
|
+
* * [FormControl](https://mui.com/api/form-control/)
|
|
238
|
+
* * [InputLabel](https://mui.com/api/input-label/)
|
|
239
|
+
* * [FilledInput](https://mui.com/api/filled-input/)
|
|
240
|
+
* * [OutlinedInput](https://mui.com/api/outlined-input/)
|
|
241
|
+
* * [Input](https://mui.com/api/input/)
|
|
242
|
+
* * [FormHelperText](https://mui.com/api/form-helper-text/)
|
|
243
243
|
*
|
|
244
244
|
* If you wish to alter the props applied to the `input` element, you can do so as follows:
|
|
245
245
|
*
|
|
@@ -259,13 +259,13 @@ export type TextFieldProps = StandardTextFieldProps | FilledTextFieldProps | Out
|
|
|
259
259
|
*
|
|
260
260
|
* Demos:
|
|
261
261
|
*
|
|
262
|
-
* - [Autocomplete](https://
|
|
263
|
-
* - [Pickers](https://
|
|
264
|
-
* - [Text Fields](https://
|
|
262
|
+
* - [Autocomplete](https://mui.com/components/autocomplete/)
|
|
263
|
+
* - [Pickers](https://mui.com/components/pickers/)
|
|
264
|
+
* - [Text Fields](https://mui.com/components/text-fields/)
|
|
265
265
|
*
|
|
266
266
|
* API:
|
|
267
267
|
*
|
|
268
|
-
* - [TextField API](https://
|
|
269
|
-
* - inherits [FormControl API](https://
|
|
268
|
+
* - [TextField API](https://mui.com/api/text-field/)
|
|
269
|
+
* - inherits [FormControl API](https://mui.com/api/form-control/)
|
|
270
270
|
*/
|
|
271
271
|
export default function TextField(props: TextFieldProps): JSX.Element;
|
package/TextField/TextField.js
CHANGED
|
@@ -130,7 +130,7 @@ const TextField = /*#__PURE__*/React.forwardRef(function TextField(inProps, ref)
|
|
|
130
130
|
|
|
131
131
|
if (process.env.NODE_ENV !== 'production') {
|
|
132
132
|
if (select && !children) {
|
|
133
|
-
console.error('
|
|
133
|
+
console.error('MUI: `children` must be passed when using the `TextField` component with `select`.');
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
|
|
@@ -416,7 +416,9 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes
|
|
|
416
416
|
/**
|
|
417
417
|
* Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
|
|
418
418
|
*/
|
|
419
|
-
type: PropTypes
|
|
419
|
+
type: PropTypes
|
|
420
|
+
/* @typescript-to-proptypes-ignore */
|
|
421
|
+
.string,
|
|
420
422
|
|
|
421
423
|
/**
|
|
422
424
|
* The value of the `input` element, required for a controlled component.
|
|
@@ -18,10 +18,10 @@ export interface TextareaAutosizeProps
|
|
|
18
18
|
*
|
|
19
19
|
* Demos:
|
|
20
20
|
*
|
|
21
|
-
* - [Textarea Autosize](https://
|
|
21
|
+
* - [Textarea Autosize](https://mui.com/components/textarea-autosize/)
|
|
22
22
|
*
|
|
23
23
|
* API:
|
|
24
24
|
*
|
|
25
|
-
* - [TextareaAutosize API](https://
|
|
25
|
+
* - [TextareaAutosize API](https://mui.com/api/textarea-autosize/)
|
|
26
26
|
*/
|
|
27
27
|
export default function TextareaAutosize(props: TextareaAutosizeProps): JSX.Element;
|
|
@@ -103,7 +103,7 @@ const TextareaAutosize = /*#__PURE__*/React.forwardRef(function TextareaAutosize
|
|
|
103
103
|
|
|
104
104
|
if (process.env.NODE_ENV !== 'production') {
|
|
105
105
|
if (renders.current === 20) {
|
|
106
|
-
console.error(['
|
|
106
|
+
console.error(['MUI: Too many re-renders. The layout is unstable.', 'TextareaAutosize limits the number of renders to prevent an infinite loop.'].join('\n'));
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
|
|
@@ -72,12 +72,12 @@ export type ToggleButtonTypeMap<
|
|
|
72
72
|
*
|
|
73
73
|
* Demos:
|
|
74
74
|
*
|
|
75
|
-
* - [Toggle Button](https://
|
|
75
|
+
* - [Toggle Button](https://mui.com/components/toggle-button/)
|
|
76
76
|
*
|
|
77
77
|
* API:
|
|
78
78
|
*
|
|
79
|
-
* - [ToggleButton API](https://
|
|
80
|
-
* - inherits [ButtonBase API](https://
|
|
79
|
+
* - [ToggleButton API](https://mui.com/api/toggle-button/)
|
|
80
|
+
* - inherits [ButtonBase API](https://mui.com/api/button-base/)
|
|
81
81
|
*/
|
|
82
82
|
declare const ToggleButton: ExtendButtonBase<ToggleButtonTypeMap>;
|
|
83
83
|
|
|
@@ -78,10 +78,10 @@ export interface ToggleButtonGroupProps
|
|
|
78
78
|
*
|
|
79
79
|
* Demos:
|
|
80
80
|
*
|
|
81
|
-
* - [Toggle Button](https://
|
|
81
|
+
* - [Toggle Button](https://mui.com/components/toggle-button/)
|
|
82
82
|
*
|
|
83
83
|
* API:
|
|
84
84
|
*
|
|
85
|
-
* - [ToggleButtonGroup API](https://
|
|
85
|
+
* - [ToggleButtonGroup API](https://mui.com/api/toggle-button-group/)
|
|
86
86
|
*/
|
|
87
87
|
export default function ToggleButtonGroup(props: ToggleButtonGroupProps): JSX.Element;
|
|
@@ -151,7 +151,7 @@ const ToggleButtonGroup = /*#__PURE__*/React.forwardRef(function ToggleButtonGro
|
|
|
151
151
|
|
|
152
152
|
if (process.env.NODE_ENV !== 'production') {
|
|
153
153
|
if (isFragment(child)) {
|
|
154
|
-
console.error(["
|
|
154
|
+
console.error(["MUI: The ToggleButtonGroup component doesn't accept a Fragment as a child.", 'Consider providing an array instead.'].join('\n'));
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
|
package/Toolbar/Toolbar.d.ts
CHANGED
|
@@ -39,11 +39,11 @@ export interface ToolbarTypeMap<P = {}, D extends React.ElementType = 'div'> {
|
|
|
39
39
|
*
|
|
40
40
|
* Demos:
|
|
41
41
|
*
|
|
42
|
-
* - [App Bar](https://
|
|
42
|
+
* - [App Bar](https://mui.com/components/app-bar/)
|
|
43
43
|
*
|
|
44
44
|
* API:
|
|
45
45
|
*
|
|
46
|
-
* - [Toolbar API](https://
|
|
46
|
+
* - [Toolbar API](https://mui.com/api/toolbar/)
|
|
47
47
|
*/
|
|
48
48
|
declare const Toolbar: OverridableComponent<ToolbarTypeMap>;
|
|
49
49
|
|