@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/FormLabel/FormLabel.d.ts
CHANGED
|
@@ -57,13 +57,13 @@ export interface FormLabelTypeMap<P = {}, D extends React.ElementType = 'label'>
|
|
|
57
57
|
*
|
|
58
58
|
* Demos:
|
|
59
59
|
*
|
|
60
|
-
* - [Checkboxes](https://
|
|
61
|
-
* - [Radio Buttons](https://
|
|
62
|
-
* - [Switches](https://
|
|
60
|
+
* - [Checkboxes](https://mui.com/components/checkboxes/)
|
|
61
|
+
* - [Radio Buttons](https://mui.com/components/radio-buttons/)
|
|
62
|
+
* - [Switches](https://mui.com/components/switches/)
|
|
63
63
|
*
|
|
64
64
|
* API:
|
|
65
65
|
*
|
|
66
|
-
* - [FormLabel API](https://
|
|
66
|
+
* - [FormLabel API](https://mui.com/api/form-label/)
|
|
67
67
|
*/
|
|
68
68
|
declare const FormLabel: OverridableComponent<FormLabelTypeMap>;
|
|
69
69
|
|
|
@@ -11,10 +11,10 @@ export interface GlobalStylesProps {
|
|
|
11
11
|
*
|
|
12
12
|
* Demos:
|
|
13
13
|
*
|
|
14
|
-
* - [How To Customize](https://
|
|
14
|
+
* - [How To Customize](https://mui.com/customization/how-to-customize/)
|
|
15
15
|
*
|
|
16
16
|
* API:
|
|
17
17
|
*
|
|
18
|
-
* - [GlobalStyles API](https://
|
|
18
|
+
* - [GlobalStyles API](https://mui.com/api/global-styles/)
|
|
19
19
|
*/
|
|
20
20
|
export default function GlobalStyles(props: GlobalStylesProps): React.ReactElement;
|
package/Grid/Grid.d.ts
CHANGED
|
@@ -116,11 +116,11 @@ export interface GridTypeMap<P = {}, D extends React.ElementType = 'div'> {
|
|
|
116
116
|
*
|
|
117
117
|
* Demos:
|
|
118
118
|
*
|
|
119
|
-
* - [Grid](https://
|
|
119
|
+
* - [Grid](https://mui.com/components/grid/)
|
|
120
120
|
*
|
|
121
121
|
* API:
|
|
122
122
|
*
|
|
123
|
-
* - [Grid API](https://
|
|
123
|
+
* - [Grid API](https://mui.com/api/grid/)
|
|
124
124
|
*/
|
|
125
125
|
declare const Grid: OverridableComponent<GridTypeMap>;
|
|
126
126
|
|
package/Grow/Grow.d.ts
CHANGED
|
@@ -33,18 +33,18 @@ export interface GrowProps extends Omit<TransitionProps, 'timeout'> {
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
|
-
* The Grow transition is used by the [Tooltip](https://
|
|
37
|
-
* [Popover](https://
|
|
36
|
+
* The Grow transition is used by the [Tooltip](https://mui.com/components/tooltips/) and
|
|
37
|
+
* [Popover](https://mui.com/components/popover/) components.
|
|
38
38
|
* It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.
|
|
39
39
|
*
|
|
40
40
|
* Demos:
|
|
41
41
|
*
|
|
42
|
-
* - [Popover](https://
|
|
43
|
-
* - [Transitions](https://
|
|
42
|
+
* - [Popover](https://mui.com/components/popover/)
|
|
43
|
+
* - [Transitions](https://mui.com/components/transitions/)
|
|
44
44
|
*
|
|
45
45
|
* API:
|
|
46
46
|
*
|
|
47
|
-
* - [Grow API](https://
|
|
47
|
+
* - [Grow API](https://mui.com/api/grow/)
|
|
48
48
|
* - inherits [Transition API](https://reactcommunity.org/react-transition-group/transition#Transition-props)
|
|
49
49
|
*/
|
|
50
50
|
export default function Grow(props: GrowProps): JSX.Element;
|
package/Hidden/Hidden.d.ts
CHANGED
|
@@ -85,11 +85,11 @@ export interface HiddenProps {
|
|
|
85
85
|
*
|
|
86
86
|
* Demos:
|
|
87
87
|
*
|
|
88
|
-
* - [Hidden](https://
|
|
88
|
+
* - [Hidden](https://mui.com/components/hidden/)
|
|
89
89
|
*
|
|
90
90
|
* API:
|
|
91
91
|
*
|
|
92
|
-
* - [Hidden API](https://
|
|
92
|
+
* - [Hidden API](https://mui.com/api/hidden/)
|
|
93
93
|
*/
|
|
94
94
|
declare const Hidden: React.JSXElementConstructor<HiddenProps>;
|
|
95
95
|
|
package/Hidden/HiddenCss.js
CHANGED
|
@@ -82,7 +82,7 @@ function HiddenCss(props) {
|
|
|
82
82
|
});
|
|
83
83
|
|
|
84
84
|
if (unknownProps.length > 0) {
|
|
85
|
-
console.error(`
|
|
85
|
+
console.error(`MUI: Unsupported props received by \`<Hidden implementation="css" />\`: ${unknownProps.join(', ')}. Did you forget to wrap this component in a ThemeProvider declaring these breakpoints?`);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
|
package/Icon/Icon.d.ts
CHANGED
|
@@ -60,12 +60,12 @@ export interface IconTypeMap<P = {}, D extends React.ElementType = 'span'> {
|
|
|
60
60
|
*
|
|
61
61
|
* Demos:
|
|
62
62
|
*
|
|
63
|
-
* - [Icons](https://
|
|
64
|
-
* - [Material Icons](https://
|
|
63
|
+
* - [Icons](https://mui.com/components/icons/)
|
|
64
|
+
* - [Material Icons](https://mui.com/components/material-icons/)
|
|
65
65
|
*
|
|
66
66
|
* API:
|
|
67
67
|
*
|
|
68
|
-
* - [Icon API](https://
|
|
68
|
+
* - [Icon API](https://mui.com/api/icon/)
|
|
69
69
|
*/
|
|
70
70
|
declare const Icon: OverridableComponent<IconTypeMap> & { muiName: string };
|
|
71
71
|
|
|
@@ -64,17 +64,17 @@ export type IconButtonTypeMap<
|
|
|
64
64
|
}>;
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
|
-
* Refer to the [Icons](https://
|
|
67
|
+
* Refer to the [Icons](https://mui.com/components/icons/) section of the documentation
|
|
68
68
|
* regarding the available icon options.
|
|
69
69
|
*
|
|
70
70
|
* Demos:
|
|
71
71
|
*
|
|
72
|
-
* - [Buttons](https://
|
|
72
|
+
* - [Buttons](https://mui.com/components/buttons/)
|
|
73
73
|
*
|
|
74
74
|
* API:
|
|
75
75
|
*
|
|
76
|
-
* - [IconButton API](https://
|
|
77
|
-
* - inherits [ButtonBase API](https://
|
|
76
|
+
* - [IconButton API](https://mui.com/api/icon-button/)
|
|
77
|
+
* - inherits [ButtonBase API](https://mui.com/api/button-base/)
|
|
78
78
|
*/
|
|
79
79
|
declare const IconButton: ExtendButtonBase<IconButtonTypeMap>;
|
|
80
80
|
|
package/IconButton/IconButton.js
CHANGED
|
@@ -146,7 +146,7 @@ process.env.NODE_ENV !== "production" ? IconButton.propTypes
|
|
|
146
146
|
const found = React.Children.toArray(props.children).some(child => /*#__PURE__*/React.isValidElement(child) && child.props.onClick);
|
|
147
147
|
|
|
148
148
|
if (found) {
|
|
149
|
-
return new Error(['
|
|
149
|
+
return new Error(['MUI: You are providing an onClick event listener to a child of a button element.', 'Prefer applying it to the IconButton directly.', 'This guarantees that the whole <button> will be responsive to click events.'].join('\n'));
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
return null;
|
package/ImageList/ImageList.d.ts
CHANGED
|
@@ -51,11 +51,11 @@ export interface ImageListTypeMap<P = {}, D extends React.ElementType = 'ul'> {
|
|
|
51
51
|
*
|
|
52
52
|
* Demos:
|
|
53
53
|
*
|
|
54
|
-
* - [Image List](https://
|
|
54
|
+
* - [Image List](https://mui.com/components/image-list/)
|
|
55
55
|
*
|
|
56
56
|
* API:
|
|
57
57
|
*
|
|
58
|
-
* - [ImageList API](https://
|
|
58
|
+
* - [ImageList API](https://mui.com/api/image-list/)
|
|
59
59
|
*/
|
|
60
60
|
declare const ImageList: OverridableComponent<ImageListTypeMap>;
|
|
61
61
|
|
package/ImageList/ImageList.js
CHANGED
|
@@ -73,7 +73,7 @@ const ImageList = /*#__PURE__*/React.forwardRef(function ImageList(inProps, ref)
|
|
|
73
73
|
if (process.env.NODE_ENV !== 'production') {
|
|
74
74
|
// Detect Internet Explorer 8+
|
|
75
75
|
if (document !== undefined && 'objectFit' in document.documentElement.style === false) {
|
|
76
|
-
console.error(['
|
|
76
|
+
console.error(['MUI: ImageList v5+ no longer natively supports Internet Explorer.', 'Use v4 of this component instead, or polyfill CSS object-fit.'].join('\n'));
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
}, []);
|
|
@@ -169,8 +169,6 @@ process.env.NODE_ENV !== "production" ? ImageList.propTypes
|
|
|
169
169
|
* The variant to use.
|
|
170
170
|
* @default 'standard'
|
|
171
171
|
*/
|
|
172
|
-
variant: PropTypes
|
|
173
|
-
/* @typescript-to-proptypes-ignore */
|
|
174
|
-
.oneOfType([PropTypes.oneOf(['masonry', 'quilted', 'standard', 'woven']), PropTypes.string])
|
|
172
|
+
variant: PropTypes.oneOf(['masonry', 'quilted', 'standard', 'woven'])
|
|
175
173
|
} : void 0;
|
|
176
174
|
export default ImageList;
|
|
@@ -35,11 +35,11 @@ export interface ImageListItemTypeMap<P = {}, D extends React.ElementType = 'li'
|
|
|
35
35
|
*
|
|
36
36
|
* Demos:
|
|
37
37
|
*
|
|
38
|
-
* - [Image List](https://
|
|
38
|
+
* - [Image List](https://mui.com/components/image-list/)
|
|
39
39
|
*
|
|
40
40
|
* API:
|
|
41
41
|
*
|
|
42
|
-
* - [ImageListItem API](https://
|
|
42
|
+
* - [ImageListItem API](https://mui.com/api/image-list-item/)
|
|
43
43
|
*/
|
|
44
44
|
declare const ImageListItem: OverridableComponent<ImageListItemTypeMap>;
|
|
45
45
|
|
|
@@ -121,7 +121,7 @@ const ImageListItem = /*#__PURE__*/React.forwardRef(function ImageListItem(inPro
|
|
|
121
121
|
|
|
122
122
|
if (process.env.NODE_ENV !== 'production') {
|
|
123
123
|
if (isFragment(child)) {
|
|
124
|
-
console.error(["
|
|
124
|
+
console.error(["MUI: The ImageListItem component doesn't accept a Fragment as a child.", 'Consider providing an array instead.'].join('\n'));
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
|
|
@@ -42,10 +42,10 @@ export interface ImageListItemBarProps
|
|
|
42
42
|
*
|
|
43
43
|
* Demos:
|
|
44
44
|
*
|
|
45
|
-
* - [Image List](https://
|
|
45
|
+
* - [Image List](https://mui.com/components/image-list/)
|
|
46
46
|
*
|
|
47
47
|
* API:
|
|
48
48
|
*
|
|
49
|
-
* - [ImageListItemBar API](https://
|
|
49
|
+
* - [ImageListItemBar API](https://mui.com/api/image-list-item-bar/)
|
|
50
50
|
*/
|
|
51
51
|
export default function ImageListItemBar(props: ImageListItemBarProps): JSX.Element;
|
package/Input/Input.d.ts
CHANGED
|
@@ -22,12 +22,12 @@ export interface InputProps extends StandardProps<InputBaseProps> {
|
|
|
22
22
|
*
|
|
23
23
|
* Demos:
|
|
24
24
|
*
|
|
25
|
-
* - [Text Fields](https://
|
|
25
|
+
* - [Text Fields](https://mui.com/components/text-fields/)
|
|
26
26
|
*
|
|
27
27
|
* API:
|
|
28
28
|
*
|
|
29
|
-
* - [Input API](https://
|
|
30
|
-
* - inherits [InputBase API](https://
|
|
29
|
+
* - [Input API](https://mui.com/api/input/)
|
|
30
|
+
* - inherits [InputBase API](https://mui.com/api/input-base/)
|
|
31
31
|
*/
|
|
32
32
|
declare const Input: ((props: InputProps) => JSX.Element) & { muiName: string };
|
|
33
33
|
|
|
@@ -46,11 +46,11 @@ export interface InputAdornmentTypeMap<P = {}, D extends React.ElementType = 'di
|
|
|
46
46
|
*
|
|
47
47
|
* Demos:
|
|
48
48
|
*
|
|
49
|
-
* - [Text Fields](https://
|
|
49
|
+
* - [Text Fields](https://mui.com/components/text-fields/)
|
|
50
50
|
*
|
|
51
51
|
* API:
|
|
52
52
|
*
|
|
53
|
-
* - [InputAdornment API](https://
|
|
53
|
+
* - [InputAdornment API](https://mui.com/api/input-adornment/)
|
|
54
54
|
*/
|
|
55
55
|
declare const InputAdornment: OverridableComponent<InputAdornmentTypeMap>;
|
|
56
56
|
|
|
@@ -90,7 +90,7 @@ const InputAdornment = /*#__PURE__*/React.forwardRef(function InputAdornment(inP
|
|
|
90
90
|
if (variantProp && muiFormControl.variant) {
|
|
91
91
|
if (process.env.NODE_ENV !== 'production') {
|
|
92
92
|
if (variantProp === muiFormControl.variant) {
|
|
93
|
-
console.error('
|
|
93
|
+
console.error('MUI: The `InputAdornment` variant infers the variant prop ' + 'you do not have to provide one.');
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
}
|
package/InputBase/InputBase.d.ts
CHANGED
|
@@ -205,10 +205,10 @@ export interface InputBaseComponentProps
|
|
|
205
205
|
*
|
|
206
206
|
* Demos:
|
|
207
207
|
*
|
|
208
|
-
* - [Text Fields](https://
|
|
208
|
+
* - [Text Fields](https://mui.com/components/text-fields/)
|
|
209
209
|
*
|
|
210
210
|
* API:
|
|
211
211
|
*
|
|
212
|
-
* - [InputBase API](https://
|
|
212
|
+
* - [InputBase API](https://mui.com/api/input-base/)
|
|
213
213
|
*/
|
|
214
214
|
export default function InputBase(props: InputBaseProps): JSX.Element;
|
package/InputBase/InputBase.js
CHANGED
|
@@ -258,7 +258,7 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
258
258
|
const handleInputRefWarning = React.useCallback(instance => {
|
|
259
259
|
if (process.env.NODE_ENV !== 'production') {
|
|
260
260
|
if (instance && instance.nodeName !== 'INPUT' && !instance.focus) {
|
|
261
|
-
console.error(['
|
|
261
|
+
console.error(['MUI: You have provided a `inputComponent` to the input component', 'that does not correctly handle the `ref` prop.', 'Make sure the `ref` prop is called with a HTMLInputElement.'].join('\n'));
|
|
262
262
|
}
|
|
263
263
|
}
|
|
264
264
|
}, []);
|
|
@@ -359,7 +359,7 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
359
359
|
const element = event.target || inputRef.current;
|
|
360
360
|
|
|
361
361
|
if (element == null) {
|
|
362
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `
|
|
362
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Expected valid input target. Did you use a custom \`inputComponent\` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info.` : _formatMuiErrorMessage(1));
|
|
363
363
|
}
|
|
364
364
|
|
|
365
365
|
checkDirty({
|
|
@@ -400,7 +400,7 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
400
400
|
if (rows) {
|
|
401
401
|
if (process.env.NODE_ENV !== 'production') {
|
|
402
402
|
if (minRows || maxRows) {
|
|
403
|
-
console.warn('
|
|
403
|
+
console.warn('MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set.');
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
406
|
|
|
@@ -59,11 +59,11 @@ export interface InputLabelProps extends StandardProps<FormLabelProps> {
|
|
|
59
59
|
*
|
|
60
60
|
* Demos:
|
|
61
61
|
*
|
|
62
|
-
* - [Text Fields](https://
|
|
62
|
+
* - [Text Fields](https://mui.com/components/text-fields/)
|
|
63
63
|
*
|
|
64
64
|
* API:
|
|
65
65
|
*
|
|
66
|
-
* - [InputLabel API](https://
|
|
67
|
-
* - inherits [FormLabel API](https://
|
|
66
|
+
* - [InputLabel API](https://mui.com/api/input-label/)
|
|
67
|
+
* - inherits [FormLabel API](https://mui.com/api/form-label/)
|
|
68
68
|
*/
|
|
69
69
|
export default function InputLabel(props: InputLabelProps): JSX.Element;
|
|
@@ -51,10 +51,10 @@ export interface LinearProgressProps
|
|
|
51
51
|
*
|
|
52
52
|
* Demos:
|
|
53
53
|
*
|
|
54
|
-
* - [Progress](https://
|
|
54
|
+
* - [Progress](https://mui.com/components/progress/)
|
|
55
55
|
*
|
|
56
56
|
* API:
|
|
57
57
|
*
|
|
58
|
-
* - [LinearProgress API](https://
|
|
58
|
+
* - [LinearProgress API](https://mui.com/api/linear-progress/)
|
|
59
59
|
*/
|
|
60
60
|
export default function LinearProgress(props: LinearProgressProps): JSX.Element;
|
|
@@ -279,7 +279,7 @@ const LinearProgress = /*#__PURE__*/React.forwardRef(function LinearProgress(inP
|
|
|
279
279
|
|
|
280
280
|
inlineStyles.bar1.transform = `translateX(${transform}%)`;
|
|
281
281
|
} else if (process.env.NODE_ENV !== 'production') {
|
|
282
|
-
console.error('
|
|
282
|
+
console.error('MUI: You need to provide a value prop ' + 'when using the determinate or buffer variant of LinearProgress .');
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
|
|
@@ -293,7 +293,7 @@ const LinearProgress = /*#__PURE__*/React.forwardRef(function LinearProgress(inP
|
|
|
293
293
|
|
|
294
294
|
inlineStyles.bar2.transform = `translateX(${transform}%)`;
|
|
295
295
|
} else if (process.env.NODE_ENV !== 'production') {
|
|
296
|
-
console.error('
|
|
296
|
+
console.error('MUI: You need to provide a valueBuffer prop ' + 'when using the buffer variant of LinearProgress.');
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
299
|
|
package/Link/Link.d.ts
CHANGED
|
@@ -48,13 +48,13 @@ export interface LinkTypeMap<P = {}, D extends React.ElementType = 'a'> {
|
|
|
48
48
|
*
|
|
49
49
|
* Demos:
|
|
50
50
|
*
|
|
51
|
-
* - [Breadcrumbs](https://
|
|
52
|
-
* - [Links](https://
|
|
51
|
+
* - [Breadcrumbs](https://mui.com/components/breadcrumbs/)
|
|
52
|
+
* - [Links](https://mui.com/components/links/)
|
|
53
53
|
*
|
|
54
54
|
* API:
|
|
55
55
|
*
|
|
56
|
-
* - [Link API](https://
|
|
57
|
-
* - inherits [Typography API](https://
|
|
56
|
+
* - [Link API](https://mui.com/api/link/)
|
|
57
|
+
* - inherits [Typography API](https://mui.com/api/typography/)
|
|
58
58
|
*/
|
|
59
59
|
declare const Link: OverridableComponent<LinkTypeMap>;
|
|
60
60
|
|
package/List/List.d.ts
CHANGED
|
@@ -42,12 +42,12 @@ export interface ListTypeMap<P = {}, D extends React.ElementType = 'ul'> {
|
|
|
42
42
|
*
|
|
43
43
|
* Demos:
|
|
44
44
|
*
|
|
45
|
-
* - [Lists](https://
|
|
46
|
-
* - [Transfer List](https://
|
|
45
|
+
* - [Lists](https://mui.com/components/lists/)
|
|
46
|
+
* - [Transfer List](https://mui.com/components/transfer-list/)
|
|
47
47
|
*
|
|
48
48
|
* API:
|
|
49
49
|
*
|
|
50
|
-
* - [List API](https://
|
|
50
|
+
* - [List API](https://mui.com/api/list/)
|
|
51
51
|
*/
|
|
52
52
|
declare const List: OverridableComponent<ListTypeMap>;
|
|
53
53
|
|
package/ListItem/ListItem.d.ts
CHANGED
|
@@ -111,12 +111,12 @@ export interface ListItemTypeMap<P, D extends React.ElementType> {
|
|
|
111
111
|
*
|
|
112
112
|
* Demos:
|
|
113
113
|
*
|
|
114
|
-
* - [Lists](https://
|
|
115
|
-
* - [Transfer List](https://
|
|
114
|
+
* - [Lists](https://mui.com/components/lists/)
|
|
115
|
+
* - [Transfer List](https://mui.com/components/transfer-list/)
|
|
116
116
|
*
|
|
117
117
|
* API:
|
|
118
118
|
*
|
|
119
|
-
* - [ListItem API](https://
|
|
119
|
+
* - [ListItem API](https://mui.com/api/list-item/)
|
|
120
120
|
*/
|
|
121
121
|
declare const ListItem: ExtendButtonBase<
|
|
122
122
|
ListItemTypeMap<
|
package/ListItem/ListItem.js
CHANGED
|
@@ -176,7 +176,7 @@ const ListItem = /*#__PURE__*/React.forwardRef(function ListItem(inProps, ref) {
|
|
|
176
176
|
if (listItemRef.current) {
|
|
177
177
|
listItemRef.current.focus();
|
|
178
178
|
} else if (process.env.NODE_ENV !== 'production') {
|
|
179
|
-
console.error('
|
|
179
|
+
console.error('MUI: Unable to set focus to a ListItem whose component has not been rendered.');
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
}, [autoFocus]);
|
|
@@ -311,7 +311,7 @@ process.env.NODE_ENV !== "production" ? ListItem.propTypes
|
|
|
311
311
|
|
|
312
312
|
|
|
313
313
|
if (secondaryActionIndex !== -1 && secondaryActionIndex !== children.length - 1) {
|
|
314
|
-
return new Error('
|
|
314
|
+
return new Error('MUI: You used an element after ListItemSecondaryAction. ' + 'For ListItem to detect that it has a secondary action ' + 'you must pass it as the last child to ListItem.');
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
return null;
|
|
@@ -22,10 +22,10 @@ export interface ListItemAvatarProps extends StandardProps<React.HTMLAttributes<
|
|
|
22
22
|
*
|
|
23
23
|
* Demos:
|
|
24
24
|
*
|
|
25
|
-
* - [Lists](https://
|
|
25
|
+
* - [Lists](https://mui.com/components/lists/)
|
|
26
26
|
*
|
|
27
27
|
* API:
|
|
28
28
|
*
|
|
29
|
-
* - [ListItemAvatar API](https://
|
|
29
|
+
* - [ListItemAvatar API](https://mui.com/api/list-item-avatar/)
|
|
30
30
|
*/
|
|
31
31
|
export default function ListItemAvatar(props: ListItemAvatarProps): JSX.Element;
|
|
@@ -70,12 +70,12 @@ export type ListItemButtonTypeMap<
|
|
|
70
70
|
*
|
|
71
71
|
* Demos:
|
|
72
72
|
*
|
|
73
|
-
* - [Lists](https://
|
|
73
|
+
* - [Lists](https://mui.com/components/lists/)
|
|
74
74
|
*
|
|
75
75
|
* API:
|
|
76
76
|
*
|
|
77
|
-
* - [ListItemButton API](https://
|
|
78
|
-
* - inherits [ButtonBase API](https://
|
|
77
|
+
* - [ListItemButton API](https://mui.com/api/list-item-button/)
|
|
78
|
+
* - inherits [ButtonBase API](https://mui.com/api/button-base/)
|
|
79
79
|
*/
|
|
80
80
|
declare const ListItemButton: ExtendButtonBase<ListItemButtonTypeMap>;
|
|
81
81
|
|