@mui/material 5.2.2 → 5.2.6
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 +1 -1
- package/Accordion/Accordion.js +2 -2
- package/AccordionActions/AccordionActions.js +1 -1
- package/AccordionDetails/AccordionDetails.js +1 -1
- package/AccordionSummary/AccordionSummary.js +2 -2
- package/Alert/Alert.js +1 -3
- package/AlertTitle/AlertTitle.js +1 -1
- package/AppBar/AppBar.js +1 -1
- package/Autocomplete/Autocomplete.js +1 -1
- package/Avatar/Avatar.d.ts +1 -1
- package/Avatar/Avatar.js +1 -1
- package/AvatarGroup/AvatarGroup.d.ts +5 -0
- package/AvatarGroup/AvatarGroup.js +20 -5
- package/Backdrop/Backdrop.js +1 -1
- package/Badge/Badge.d.ts +25 -0
- package/Badge/Badge.js +41 -11
- package/BottomNavigation/BottomNavigation.js +1 -1
- package/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/Breadcrumbs/Breadcrumbs.js +1 -1
- package/Button/Button.js +16 -35
- package/ButtonBase/ButtonBase.d.ts +1 -1
- package/ButtonBase/ButtonBase.js +2 -2
- package/ButtonGroup/ButtonGroup.js +1 -1
- package/ButtonGroup/ButtonGroupContext.d.ts +1 -1
- package/CHANGELOG.md +271 -0
- package/Card/Card.js +1 -1
- package/CardActionArea/CardActionArea.js +1 -1
- package/CardActions/CardActions.js +1 -1
- package/CardContent/CardContent.js +1 -1
- package/CardHeader/CardHeader.js +1 -1
- package/CardMedia/CardMedia.js +1 -1
- package/Checkbox/Checkbox.js +1 -1
- package/Chip/Chip.js +1 -1
- package/CircularProgress/CircularProgress.js +1 -1
- package/Collapse/Collapse.d.ts +1 -1
- package/Collapse/Collapse.js +1 -1
- package/Container/Container.js +1 -1
- package/CssBaseline/CssBaseline.d.ts +1 -1
- package/Dialog/Dialog.d.ts +1 -1
- package/Dialog/Dialog.js +2 -2
- package/DialogActions/DialogActions.js +1 -1
- package/DialogContent/DialogContent.js +1 -1
- package/DialogContentText/DialogContentText.js +1 -1
- package/DialogTitle/DialogTitle.js +1 -1
- package/Divider/Divider.js +1 -1
- package/Drawer/Drawer.js +1 -1
- package/Fab/Fab.js +1 -1
- package/Fade/Fade.d.ts +1 -1
- package/FilledInput/FilledInput.js +1 -1
- package/FormControl/FormControl.js +1 -1
- package/FormControlLabel/FormControlLabel.js +1 -1
- package/FormGroup/FormGroup.js +1 -1
- package/FormHelperText/FormHelperText.js +1 -1
- package/FormLabel/FormLabel.js +1 -1
- package/GlobalStyles/GlobalStyles.d.ts +2 -1
- package/Grid/Grid.js +98 -69
- package/Grow/Grow.d.ts +1 -1
- package/Icon/Icon.js +1 -1
- package/IconButton/IconButton.js +1 -1
- package/ImageList/ImageList.js +1 -1
- package/ImageListItem/ImageListItem.js +1 -1
- package/ImageListItemBar/ImageListItemBar.js +1 -1
- package/Input/Input.js +1 -1
- package/InputAdornment/InputAdornment.js +1 -1
- package/InputBase/InputBase.d.ts +6 -0
- package/InputBase/InputBase.js +11 -3
- package/InputLabel/InputLabel.js +1 -1
- package/LinearProgress/LinearProgress.js +1 -1
- package/Link/Link.js +1 -1
- package/List/List.js +1 -1
- package/ListItem/ListItem.d.ts +1 -1
- package/ListItem/ListItem.js +1 -1
- package/ListItemAvatar/ListItemAvatar.js +1 -1
- package/ListItemButton/ListItemButton.d.ts +1 -1
- package/ListItemButton/ListItemButton.js +2 -2
- package/ListItemIcon/ListItemIcon.js +1 -1
- package/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/ListItemText/ListItemText.js +1 -1
- package/ListSubheader/ListSubheader.js +1 -1
- package/Menu/Menu.d.ts +1 -1
- package/Menu/Menu.js +2 -2
- package/MenuItem/MenuItem.d.ts +1 -1
- package/MenuItem/MenuItem.js +2 -2
- package/MobileStepper/MobileStepper.js +1 -1
- package/Modal/Modal.js +1 -1
- package/NativeSelect/NativeSelect.js +1 -1
- package/OutlinedInput/OutlinedInput.js +15 -2
- package/Pagination/Pagination.js +1 -1
- package/PaginationItem/PaginationItem.js +1 -1
- package/Paper/Paper.js +1 -1
- package/Popover/Popover.d.ts +1 -1
- package/Popover/Popover.js +2 -2
- package/README.md +19 -31
- package/Radio/Radio.js +1 -1
- package/Rating/Rating.js +1 -1
- package/Select/Select.js +1 -1
- package/Select/SelectInput.js +13 -1
- package/Skeleton/Skeleton.js +1 -1
- package/Slide/Slide.d.ts +1 -1
- package/Slider/Slider.js +1 -1
- package/Snackbar/Snackbar.d.ts +1 -1
- package/Snackbar/Snackbar.js +2 -2
- package/SnackbarContent/SnackbarContent.js +1 -1
- package/SpeedDial/SpeedDial.d.ts +1 -1
- package/SpeedDial/SpeedDial.js +2 -2
- package/SpeedDialAction/SpeedDialAction.js +1 -1
- package/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/Stack/Stack.js +1 -1
- package/Step/Step.js +1 -1
- package/StepButton/StepButton.js +1 -1
- package/StepConnector/StepConnector.js +1 -1
- package/StepContent/StepContent.d.ts +1 -1
- package/StepContent/StepContent.js +2 -2
- package/StepIcon/StepIcon.js +1 -1
- package/StepLabel/StepLabel.js +1 -1
- package/Stepper/Stepper.js +1 -1
- package/SvgIcon/SvgIcon.js +1 -1
- package/Switch/Switch.js +1 -1
- package/Tab/Tab.js +1 -1
- package/TabScrollButton/TabScrollButton.js +1 -1
- package/Table/Table.js +1 -1
- package/TableBody/TableBody.js +1 -1
- package/TableCell/TableCell.js +1 -1
- package/TableContainer/TableContainer.js +1 -1
- package/TableFooter/TableFooter.js +1 -1
- package/TableHead/TableHead.js +1 -1
- package/TablePagination/TablePagination.js +1 -1
- package/TableRow/TableRow.js +1 -1
- package/TableSortLabel/TableSortLabel.js +1 -1
- package/Tabs/Tabs.d.ts +1 -1
- package/Tabs/Tabs.js +1 -1
- package/TextField/TextField.js +3 -10
- package/ToggleButton/ToggleButton.js +1 -1
- package/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/Toolbar/Toolbar.js +1 -1
- package/Tooltip/Tooltip.d.ts +1 -1
- package/Tooltip/Tooltip.js +2 -2
- package/Typography/Typography.js +1 -1
- package/Zoom/Zoom.d.ts +1 -1
- package/index.js +1 -1
- package/legacy/Accordion/Accordion.js +2 -2
- package/legacy/AccordionActions/AccordionActions.js +1 -1
- package/legacy/AccordionDetails/AccordionDetails.js +1 -1
- package/legacy/AccordionSummary/AccordionSummary.js +2 -2
- package/legacy/Alert/Alert.js +1 -3
- package/legacy/AlertTitle/AlertTitle.js +1 -1
- package/legacy/AppBar/AppBar.js +1 -1
- package/legacy/Autocomplete/Autocomplete.js +1 -1
- package/legacy/Avatar/Avatar.js +1 -1
- package/legacy/AvatarGroup/AvatarGroup.js +19 -4
- package/legacy/Backdrop/Backdrop.js +1 -1
- package/legacy/Badge/Badge.js +47 -12
- package/legacy/BottomNavigation/BottomNavigation.js +1 -1
- package/legacy/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/legacy/Breadcrumbs/Breadcrumbs.js +1 -1
- package/legacy/Button/Button.js +23 -35
- package/legacy/ButtonBase/ButtonBase.js +2 -2
- package/legacy/ButtonGroup/ButtonGroup.js +1 -1
- package/legacy/Card/Card.js +1 -1
- package/legacy/CardActionArea/CardActionArea.js +1 -1
- package/legacy/CardActions/CardActions.js +1 -1
- package/legacy/CardContent/CardContent.js +1 -1
- package/legacy/CardHeader/CardHeader.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/Collapse/Collapse.js +1 -1
- package/legacy/Container/Container.js +1 -1
- package/legacy/Dialog/Dialog.js +2 -2
- package/legacy/DialogActions/DialogActions.js +1 -1
- package/legacy/DialogContent/DialogContent.js +1 -1
- package/legacy/DialogContentText/DialogContentText.js +1 -1
- package/legacy/DialogTitle/DialogTitle.js +1 -1
- package/legacy/Divider/Divider.js +1 -1
- package/legacy/Drawer/Drawer.js +1 -1
- package/legacy/Fab/Fab.js +1 -1
- package/legacy/FilledInput/FilledInput.js +1 -1
- package/legacy/FormControl/FormControl.js +1 -1
- package/legacy/FormControlLabel/FormControlLabel.js +1 -1
- package/legacy/FormGroup/FormGroup.js +1 -1
- package/legacy/FormHelperText/FormHelperText.js +1 -1
- package/legacy/FormLabel/FormLabel.js +1 -1
- package/legacy/Grid/Grid.js +109 -81
- package/legacy/Icon/Icon.js +1 -1
- package/legacy/IconButton/IconButton.js +1 -1
- package/legacy/ImageList/ImageList.js +1 -1
- package/legacy/ImageListItem/ImageListItem.js +1 -1
- package/legacy/ImageListItemBar/ImageListItemBar.js +1 -1
- package/legacy/Input/Input.js +1 -1
- package/legacy/InputAdornment/InputAdornment.js +1 -1
- package/legacy/InputBase/InputBase.js +11 -3
- package/legacy/InputLabel/InputLabel.js +1 -1
- package/legacy/LinearProgress/LinearProgress.js +1 -1
- package/legacy/Link/Link.js +1 -1
- package/legacy/List/List.js +1 -1
- package/legacy/ListItem/ListItem.js +1 -1
- package/legacy/ListItemAvatar/ListItemAvatar.js +1 -1
- package/legacy/ListItemButton/ListItemButton.js +2 -2
- package/legacy/ListItemIcon/ListItemIcon.js +1 -1
- package/legacy/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/legacy/ListItemText/ListItemText.js +1 -1
- package/legacy/ListSubheader/ListSubheader.js +1 -1
- package/legacy/Menu/Menu.js +2 -2
- package/legacy/MenuItem/MenuItem.js +2 -2
- package/legacy/MobileStepper/MobileStepper.js +1 -1
- package/legacy/Modal/Modal.js +1 -1
- package/legacy/NativeSelect/NativeSelect.js +1 -1
- package/legacy/OutlinedInput/OutlinedInput.js +15 -2
- package/legacy/Pagination/Pagination.js +1 -1
- package/legacy/PaginationItem/PaginationItem.js +1 -1
- package/legacy/Paper/Paper.js +1 -1
- package/legacy/Popover/Popover.js +2 -2
- package/legacy/Radio/Radio.js +1 -1
- package/legacy/Rating/Rating.js +1 -1
- package/legacy/Select/Select.js +1 -1
- package/legacy/Select/SelectInput.js +13 -3
- package/legacy/Skeleton/Skeleton.js +1 -1
- package/legacy/Slider/Slider.js +1 -1
- package/legacy/Snackbar/Snackbar.js +2 -2
- package/legacy/SnackbarContent/SnackbarContent.js +1 -1
- package/legacy/SpeedDial/SpeedDial.js +2 -2
- package/legacy/SpeedDialAction/SpeedDialAction.js +1 -1
- package/legacy/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/legacy/Stack/Stack.js +1 -1
- package/legacy/Step/Step.js +1 -1
- package/legacy/StepButton/StepButton.js +1 -1
- package/legacy/StepConnector/StepConnector.js +1 -1
- package/legacy/StepContent/StepContent.js +2 -2
- package/legacy/StepIcon/StepIcon.js +1 -1
- package/legacy/StepLabel/StepLabel.js +1 -1
- package/legacy/Stepper/Stepper.js +1 -1
- package/legacy/SvgIcon/SvgIcon.js +1 -1
- package/legacy/Switch/Switch.js +1 -1
- package/legacy/Tab/Tab.js +1 -1
- package/legacy/TabScrollButton/TabScrollButton.js +1 -1
- package/legacy/Table/Table.js +1 -1
- package/legacy/TableBody/TableBody.js +1 -1
- package/legacy/TableCell/TableCell.js +1 -1
- package/legacy/TableContainer/TableContainer.js +1 -1
- package/legacy/TableFooter/TableFooter.js +1 -1
- package/legacy/TableHead/TableHead.js +1 -1
- package/legacy/TablePagination/TablePagination.js +1 -1
- package/legacy/TableRow/TableRow.js +1 -1
- package/legacy/TableSortLabel/TableSortLabel.js +1 -1
- package/legacy/Tabs/Tabs.js +1 -1
- package/legacy/TextField/TextField.js +3 -10
- package/legacy/ToggleButton/ToggleButton.js +1 -1
- package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/legacy/Toolbar/Toolbar.js +1 -1
- package/legacy/Tooltip/Tooltip.js +2 -2
- package/legacy/Typography/Typography.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/locale/index.js +264 -98
- package/locale/index.d.ts +2 -0
- package/locale/index.js +166 -6
- package/modern/Accordion/Accordion.js +2 -2
- package/modern/AccordionActions/AccordionActions.js +1 -1
- package/modern/AccordionDetails/AccordionDetails.js +1 -1
- package/modern/AccordionSummary/AccordionSummary.js +2 -2
- package/modern/Alert/Alert.js +1 -3
- package/modern/AlertTitle/AlertTitle.js +1 -1
- package/modern/AppBar/AppBar.js +1 -1
- package/modern/Autocomplete/Autocomplete.js +1 -1
- package/modern/Avatar/Avatar.js +1 -1
- package/modern/AvatarGroup/AvatarGroup.js +20 -5
- package/modern/Backdrop/Backdrop.js +1 -1
- package/modern/Badge/Badge.js +41 -11
- package/modern/BottomNavigation/BottomNavigation.js +1 -1
- package/modern/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/modern/Breadcrumbs/Breadcrumbs.js +1 -1
- package/modern/Button/Button.js +16 -35
- package/modern/ButtonBase/ButtonBase.js +2 -2
- package/modern/ButtonGroup/ButtonGroup.js +1 -1
- package/modern/Card/Card.js +1 -1
- package/modern/CardActionArea/CardActionArea.js +1 -1
- package/modern/CardActions/CardActions.js +1 -1
- package/modern/CardContent/CardContent.js +1 -1
- package/modern/CardHeader/CardHeader.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/Collapse/Collapse.js +1 -1
- package/modern/Container/Container.js +1 -1
- package/modern/Dialog/Dialog.js +2 -2
- package/modern/DialogActions/DialogActions.js +1 -1
- package/modern/DialogContent/DialogContent.js +1 -1
- package/modern/DialogContentText/DialogContentText.js +1 -1
- package/modern/DialogTitle/DialogTitle.js +1 -1
- package/modern/Divider/Divider.js +1 -1
- package/modern/Drawer/Drawer.js +1 -1
- package/modern/Fab/Fab.js +1 -1
- package/modern/FilledInput/FilledInput.js +1 -1
- package/modern/FormControl/FormControl.js +1 -1
- package/modern/FormControlLabel/FormControlLabel.js +1 -1
- package/modern/FormGroup/FormGroup.js +1 -1
- package/modern/FormHelperText/FormHelperText.js +1 -1
- package/modern/FormLabel/FormLabel.js +1 -1
- package/modern/Grid/Grid.js +98 -69
- package/modern/Icon/Icon.js +1 -1
- package/modern/IconButton/IconButton.js +1 -1
- package/modern/ImageList/ImageList.js +1 -1
- package/modern/ImageListItem/ImageListItem.js +1 -1
- package/modern/ImageListItemBar/ImageListItemBar.js +1 -1
- package/modern/Input/Input.js +1 -1
- package/modern/InputAdornment/InputAdornment.js +1 -1
- package/modern/InputBase/InputBase.js +11 -3
- package/modern/InputLabel/InputLabel.js +1 -1
- package/modern/LinearProgress/LinearProgress.js +1 -1
- package/modern/Link/Link.js +1 -1
- package/modern/List/List.js +1 -1
- package/modern/ListItem/ListItem.js +1 -1
- package/modern/ListItemAvatar/ListItemAvatar.js +1 -1
- package/modern/ListItemButton/ListItemButton.js +2 -2
- package/modern/ListItemIcon/ListItemIcon.js +1 -1
- package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/modern/ListItemText/ListItemText.js +1 -1
- package/modern/ListSubheader/ListSubheader.js +1 -1
- package/modern/Menu/Menu.js +2 -2
- package/modern/MenuItem/MenuItem.js +2 -2
- package/modern/MobileStepper/MobileStepper.js +1 -1
- package/modern/Modal/Modal.js +1 -1
- package/modern/NativeSelect/NativeSelect.js +1 -1
- package/modern/OutlinedInput/OutlinedInput.js +15 -2
- package/modern/Pagination/Pagination.js +1 -1
- package/modern/PaginationItem/PaginationItem.js +1 -1
- package/modern/Paper/Paper.js +1 -1
- package/modern/Popover/Popover.js +2 -2
- package/modern/Radio/Radio.js +1 -1
- package/modern/Rating/Rating.js +1 -1
- package/modern/Select/Select.js +1 -1
- package/modern/Select/SelectInput.js +13 -1
- package/modern/Skeleton/Skeleton.js +1 -1
- package/modern/Slider/Slider.js +1 -1
- package/modern/Snackbar/Snackbar.js +2 -2
- package/modern/SnackbarContent/SnackbarContent.js +1 -1
- package/modern/SpeedDial/SpeedDial.js +2 -2
- package/modern/SpeedDialAction/SpeedDialAction.js +1 -1
- package/modern/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/modern/Stack/Stack.js +1 -1
- package/modern/Step/Step.js +1 -1
- package/modern/StepButton/StepButton.js +1 -1
- package/modern/StepConnector/StepConnector.js +1 -1
- package/modern/StepContent/StepContent.js +2 -2
- package/modern/StepIcon/StepIcon.js +1 -1
- package/modern/StepLabel/StepLabel.js +1 -1
- package/modern/Stepper/Stepper.js +1 -1
- package/modern/SvgIcon/SvgIcon.js +1 -1
- package/modern/Switch/Switch.js +1 -1
- package/modern/Tab/Tab.js +1 -1
- package/modern/TabScrollButton/TabScrollButton.js +1 -1
- package/modern/Table/Table.js +1 -1
- package/modern/TableBody/TableBody.js +1 -1
- package/modern/TableCell/TableCell.js +1 -1
- package/modern/TableContainer/TableContainer.js +1 -1
- package/modern/TableFooter/TableFooter.js +1 -1
- package/modern/TableHead/TableHead.js +1 -1
- package/modern/TablePagination/TablePagination.js +1 -1
- package/modern/TableRow/TableRow.js +1 -1
- package/modern/TableSortLabel/TableSortLabel.js +1 -1
- package/modern/Tabs/Tabs.js +1 -1
- package/modern/TextField/TextField.js +3 -8
- package/modern/ToggleButton/ToggleButton.js +1 -1
- package/modern/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/modern/Toolbar/Toolbar.js +1 -1
- package/modern/Tooltip/Tooltip.js +2 -2
- package/modern/Typography/Typography.js +1 -1
- package/modern/index.js +1 -1
- package/modern/locale/index.js +166 -6
- package/node/Accordion/Accordion.js +2 -2
- package/node/AccordionActions/AccordionActions.js +1 -1
- package/node/AccordionDetails/AccordionDetails.js +1 -1
- package/node/AccordionSummary/AccordionSummary.js +2 -2
- package/node/Alert/Alert.js +1 -3
- package/node/AlertTitle/AlertTitle.js +1 -1
- package/node/AppBar/AppBar.js +1 -1
- package/node/Autocomplete/Autocomplete.js +1 -1
- package/node/Avatar/Avatar.js +1 -1
- package/node/AvatarGroup/AvatarGroup.js +20 -5
- package/node/Backdrop/Backdrop.js +1 -1
- package/node/Badge/Badge.js +41 -11
- package/node/BottomNavigation/BottomNavigation.js +1 -1
- package/node/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/node/Breadcrumbs/Breadcrumbs.js +1 -1
- package/node/Button/Button.js +17 -34
- package/node/ButtonBase/ButtonBase.js +2 -2
- package/node/ButtonGroup/ButtonGroup.js +1 -1
- package/node/Card/Card.js +1 -1
- package/node/CardActionArea/CardActionArea.js +1 -1
- package/node/CardActions/CardActions.js +1 -1
- package/node/CardContent/CardContent.js +1 -1
- package/node/CardHeader/CardHeader.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/Collapse/Collapse.js +1 -1
- package/node/Container/Container.js +1 -1
- package/node/Dialog/Dialog.js +2 -2
- package/node/DialogActions/DialogActions.js +1 -1
- package/node/DialogContent/DialogContent.js +1 -1
- package/node/DialogContentText/DialogContentText.js +1 -1
- package/node/DialogTitle/DialogTitle.js +1 -1
- package/node/Divider/Divider.js +1 -1
- package/node/Drawer/Drawer.js +1 -1
- package/node/Fab/Fab.js +1 -1
- package/node/FilledInput/FilledInput.js +1 -1
- package/node/FormControl/FormControl.js +1 -1
- package/node/FormControlLabel/FormControlLabel.js +1 -1
- package/node/FormGroup/FormGroup.js +1 -1
- package/node/FormHelperText/FormHelperText.js +1 -1
- package/node/FormLabel/FormLabel.js +1 -1
- package/node/Grid/Grid.js +101 -68
- package/node/Icon/Icon.js +1 -1
- package/node/IconButton/IconButton.js +1 -1
- package/node/ImageList/ImageList.js +1 -1
- package/node/ImageListItem/ImageListItem.js +1 -1
- package/node/ImageListItemBar/ImageListItemBar.js +1 -1
- package/node/Input/Input.js +1 -1
- package/node/InputAdornment/InputAdornment.js +1 -1
- package/node/InputBase/InputBase.js +11 -3
- package/node/InputLabel/InputLabel.js +1 -1
- package/node/LinearProgress/LinearProgress.js +1 -1
- package/node/Link/Link.js +1 -1
- package/node/List/List.js +1 -1
- package/node/ListItem/ListItem.js +1 -1
- package/node/ListItemAvatar/ListItemAvatar.js +1 -1
- package/node/ListItemButton/ListItemButton.js +2 -2
- package/node/ListItemIcon/ListItemIcon.js +1 -1
- package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/node/ListItemText/ListItemText.js +1 -1
- package/node/ListSubheader/ListSubheader.js +1 -1
- package/node/Menu/Menu.js +2 -2
- package/node/MenuItem/MenuItem.js +2 -2
- package/node/MobileStepper/MobileStepper.js +1 -1
- package/node/Modal/Modal.js +1 -1
- package/node/NativeSelect/NativeSelect.js +1 -1
- package/node/OutlinedInput/OutlinedInput.js +16 -2
- package/node/Pagination/Pagination.js +1 -1
- package/node/PaginationItem/PaginationItem.js +1 -1
- package/node/Paper/Paper.js +1 -1
- package/node/Popover/Popover.js +2 -2
- package/node/Radio/Radio.js +1 -1
- package/node/Rating/Rating.js +1 -1
- package/node/Select/Select.js +1 -1
- package/node/Select/SelectInput.js +13 -1
- package/node/Skeleton/Skeleton.js +1 -1
- package/node/Slider/Slider.js +1 -1
- package/node/Snackbar/Snackbar.js +2 -2
- package/node/SnackbarContent/SnackbarContent.js +1 -1
- package/node/SpeedDial/SpeedDial.js +2 -2
- package/node/SpeedDialAction/SpeedDialAction.js +1 -1
- package/node/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/node/Stack/Stack.js +1 -1
- package/node/Step/Step.js +1 -1
- package/node/StepButton/StepButton.js +1 -1
- package/node/StepConnector/StepConnector.js +1 -1
- package/node/StepContent/StepContent.js +2 -2
- package/node/StepIcon/StepIcon.js +1 -1
- package/node/StepLabel/StepLabel.js +1 -1
- package/node/Stepper/Stepper.js +1 -1
- package/node/SvgIcon/SvgIcon.js +1 -1
- package/node/Switch/Switch.js +1 -1
- package/node/Tab/Tab.js +1 -1
- package/node/TabScrollButton/TabScrollButton.js +1 -1
- package/node/Table/Table.js +1 -1
- package/node/TableBody/TableBody.js +1 -1
- package/node/TableCell/TableCell.js +1 -1
- package/node/TableContainer/TableContainer.js +1 -1
- package/node/TableFooter/TableFooter.js +1 -1
- package/node/TableHead/TableHead.js +1 -1
- package/node/TablePagination/TablePagination.js +1 -1
- package/node/TableRow/TableRow.js +1 -1
- package/node/TableSortLabel/TableSortLabel.js +1 -1
- package/node/Tabs/Tabs.js +1 -1
- package/node/TextField/TextField.js +2 -9
- package/node/ToggleButton/ToggleButton.js +1 -1
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/node/Toolbar/Toolbar.js +1 -1
- package/node/Tooltip/Tooltip.js +2 -2
- package/node/Typography/Typography.js +1 -1
- package/node/index.js +1 -1
- package/node/locale/index.js +169 -7
- package/package.json +5 -5
- package/styles/createTheme.d.ts +1 -1
- package/styles/cssUtils.d.ts +32 -0
- package/styles/index.d.ts +1 -0
- package/transitions/transition.d.ts +1 -2
- package/umd/material-ui.development.js +1086 -978
- package/umd/material-ui.production.min.js +21 -21
|
@@ -86,6 +86,6 @@ process.env.NODE_ENV !== "production" ? CardContent.propTypes
|
|
|
86
86
|
/**
|
|
87
87
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
88
88
|
*/
|
|
89
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
89
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
90
90
|
} : void 0;
|
|
91
91
|
export default CardContent;
|
|
@@ -208,7 +208,7 @@ process.env.NODE_ENV !== "production" ? CardHeader.propTypes
|
|
|
208
208
|
/**
|
|
209
209
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
210
210
|
*/
|
|
211
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
211
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
212
212
|
|
|
213
213
|
/**
|
|
214
214
|
* The content of the component.
|
|
@@ -141,6 +141,6 @@ process.env.NODE_ENV !== "production" ? CardMedia.propTypes
|
|
|
141
141
|
/**
|
|
142
142
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
143
143
|
*/
|
|
144
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
144
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
145
145
|
} : void 0;
|
|
146
146
|
export default CardMedia;
|
|
@@ -223,7 +223,7 @@ process.env.NODE_ENV !== "production" ? Checkbox.propTypes
|
|
|
223
223
|
/**
|
|
224
224
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
225
225
|
*/
|
|
226
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
226
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
227
227
|
|
|
228
228
|
/**
|
|
229
229
|
* The value of the component. The DOM API casts this to a string.
|
package/legacy/Chip/Chip.js
CHANGED
|
@@ -469,7 +469,7 @@ process.env.NODE_ENV !== "production" ? Chip.propTypes
|
|
|
469
469
|
/**
|
|
470
470
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
471
471
|
*/
|
|
472
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
472
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
473
473
|
|
|
474
474
|
/**
|
|
475
475
|
* The variant to use.
|
|
@@ -221,7 +221,7 @@ process.env.NODE_ENV !== "production" ? CircularProgress.propTypes
|
|
|
221
221
|
/**
|
|
222
222
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
223
223
|
*/
|
|
224
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
224
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
225
225
|
|
|
226
226
|
/**
|
|
227
227
|
* The thickness of the circle.
|
|
@@ -407,7 +407,7 @@ process.env.NODE_ENV !== "production" ? Collapse.propTypes
|
|
|
407
407
|
/**
|
|
408
408
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
409
409
|
*/
|
|
410
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
410
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
411
411
|
|
|
412
412
|
/**
|
|
413
413
|
* The duration for the transition, in milliseconds.
|
|
@@ -157,6 +157,6 @@ process.env.NODE_ENV !== "production" ? Container.propTypes
|
|
|
157
157
|
/**
|
|
158
158
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
159
159
|
*/
|
|
160
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
160
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
161
161
|
} : void 0;
|
|
162
162
|
export default Container;
|
package/legacy/Dialog/Dialog.js
CHANGED
|
@@ -387,7 +387,7 @@ process.env.NODE_ENV !== "production" ? Dialog.propTypes
|
|
|
387
387
|
/**
|
|
388
388
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
389
389
|
*/
|
|
390
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
390
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
391
391
|
|
|
392
392
|
/**
|
|
393
393
|
* The component used for the transition.
|
|
@@ -409,7 +409,7 @@ process.env.NODE_ENV !== "production" ? Dialog.propTypes
|
|
|
409
409
|
|
|
410
410
|
/**
|
|
411
411
|
* Props applied to the transition element.
|
|
412
|
-
* By default, the element is based on this [`Transition`](
|
|
412
|
+
* By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
|
|
413
413
|
*/
|
|
414
414
|
TransitionProps: PropTypes.object
|
|
415
415
|
} : void 0;
|
|
@@ -93,6 +93,6 @@ process.env.NODE_ENV !== "production" ? DialogActions.propTypes
|
|
|
93
93
|
/**
|
|
94
94
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
95
95
|
*/
|
|
96
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
96
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
97
97
|
} : void 0;
|
|
98
98
|
export default DialogActions;
|
|
@@ -98,6 +98,6 @@ process.env.NODE_ENV !== "production" ? DialogContent.propTypes
|
|
|
98
98
|
/**
|
|
99
99
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
100
100
|
*/
|
|
101
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
101
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
102
102
|
} : void 0;
|
|
103
103
|
export default DialogContent;
|
|
@@ -69,6 +69,6 @@ process.env.NODE_ENV !== "production" ? DialogContentText.propTypes
|
|
|
69
69
|
/**
|
|
70
70
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
71
71
|
*/
|
|
72
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
72
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
73
73
|
} : void 0;
|
|
74
74
|
export default DialogContentText;
|
|
@@ -86,6 +86,6 @@ process.env.NODE_ENV !== "production" ? DialogTitle.propTypes
|
|
|
86
86
|
/**
|
|
87
87
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
88
88
|
*/
|
|
89
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
89
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
90
90
|
} : void 0;
|
|
91
91
|
export default DialogTitle;
|
|
@@ -251,7 +251,7 @@ process.env.NODE_ENV !== "production" ? Divider.propTypes
|
|
|
251
251
|
/**
|
|
252
252
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
253
253
|
*/
|
|
254
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
254
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
255
255
|
|
|
256
256
|
/**
|
|
257
257
|
* The text alignment.
|
package/legacy/Drawer/Drawer.js
CHANGED
|
@@ -312,7 +312,7 @@ process.env.NODE_ENV !== "production" ? Drawer.propTypes
|
|
|
312
312
|
/**
|
|
313
313
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
314
314
|
*/
|
|
315
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
315
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
316
316
|
|
|
317
317
|
/**
|
|
318
318
|
* The duration for the transition, in milliseconds.
|
package/legacy/Fab/Fab.js
CHANGED
|
@@ -240,7 +240,7 @@ process.env.NODE_ENV !== "production" ? Fab.propTypes
|
|
|
240
240
|
/**
|
|
241
241
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
242
242
|
*/
|
|
243
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
243
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
244
244
|
|
|
245
245
|
/**
|
|
246
246
|
* The variant to use.
|
|
@@ -387,7 +387,7 @@ process.env.NODE_ENV !== "production" ? FilledInput.propTypes
|
|
|
387
387
|
/**
|
|
388
388
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
389
389
|
*/
|
|
390
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
390
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
391
391
|
|
|
392
392
|
/**
|
|
393
393
|
* 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).
|
|
@@ -328,7 +328,7 @@ process.env.NODE_ENV !== "production" ? FormControl.propTypes
|
|
|
328
328
|
/**
|
|
329
329
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
330
330
|
*/
|
|
331
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
331
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
332
332
|
|
|
333
333
|
/**
|
|
334
334
|
* The variant to use.
|
|
@@ -205,7 +205,7 @@ process.env.NODE_ENV !== "production" ? FormControlLabel.propTypes
|
|
|
205
205
|
/**
|
|
206
206
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
207
207
|
*/
|
|
208
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
208
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
209
209
|
|
|
210
210
|
/**
|
|
211
211
|
* The value of the component.
|
|
@@ -95,6 +95,6 @@ process.env.NODE_ENV !== "production" ? FormGroup.propTypes
|
|
|
95
95
|
/**
|
|
96
96
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
97
97
|
*/
|
|
98
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
98
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
99
99
|
} : void 0;
|
|
100
100
|
export default FormGroup;
|
|
@@ -181,7 +181,7 @@ process.env.NODE_ENV !== "production" ? FormHelperText.propTypes
|
|
|
181
181
|
/**
|
|
182
182
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
183
183
|
*/
|
|
184
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
184
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
185
185
|
|
|
186
186
|
/**
|
|
187
187
|
* The variant to use.
|
|
@@ -180,6 +180,6 @@ process.env.NODE_ENV !== "production" ? FormLabel.propTypes
|
|
|
180
180
|
/**
|
|
181
181
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
182
182
|
*/
|
|
183
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
183
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
184
184
|
} : void 0;
|
|
185
185
|
export default FormLabel;
|
package/legacy/Grid/Grid.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
2
|
+
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
|
2
3
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
3
4
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
5
|
import _typeof from "@babel/runtime/helpers/esm/typeof";
|
|
@@ -29,72 +30,86 @@ function getOffset(val) {
|
|
|
29
30
|
return "".concat(parse).concat(String(val).replace(String(parse), '') || 'px');
|
|
30
31
|
}
|
|
31
32
|
|
|
32
|
-
function generateGrid(
|
|
33
|
-
var
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
var styles = {};
|
|
40
|
-
|
|
41
|
-
if (size === true) {
|
|
42
|
-
// For the auto layouting
|
|
43
|
-
styles = {
|
|
44
|
-
flexBasis: 0,
|
|
45
|
-
flexGrow: 1,
|
|
46
|
-
maxWidth: '100%'
|
|
47
|
-
};
|
|
48
|
-
} else if (size === 'auto') {
|
|
49
|
-
styles = {
|
|
50
|
-
flexBasis: 'auto',
|
|
51
|
-
flexGrow: 0,
|
|
52
|
-
flexShrink: 0,
|
|
53
|
-
maxWidth: 'none',
|
|
54
|
-
width: 'auto'
|
|
55
|
-
};
|
|
56
|
-
} else {
|
|
57
|
-
var columnsBreakpointValues = resolveBreakpointValues({
|
|
58
|
-
values: ownerState.columns,
|
|
59
|
-
breakpoints: theme.breakpoints.values
|
|
60
|
-
});
|
|
61
|
-
var columnValue = _typeof(columnsBreakpointValues) === 'object' ? columnsBreakpointValues[breakpoint] : columnsBreakpointValues; // Keep 7 significant numbers.
|
|
62
|
-
|
|
63
|
-
var width = "".concat(Math.round(size / columnValue * 10e7) / 10e5, "%");
|
|
64
|
-
var more = {};
|
|
65
|
-
|
|
66
|
-
if (ownerState.container && ownerState.item && ownerState.columnSpacing !== 0) {
|
|
67
|
-
var themeSpacing = theme.spacing(ownerState.columnSpacing);
|
|
68
|
-
|
|
69
|
-
if (themeSpacing !== '0px') {
|
|
70
|
-
var fullWidth = "calc(".concat(width, " + ").concat(getOffset(themeSpacing), ")");
|
|
71
|
-
more = {
|
|
72
|
-
flexBasis: fullWidth,
|
|
73
|
-
maxWidth: fullWidth
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
} // Close to the bootstrap implementation:
|
|
77
|
-
// https://github.com/twbs/bootstrap/blob/8fccaa2439e97ec72a4b7dc42ccc1f649790adb0/scss/mixins/_grid.scss#L41
|
|
33
|
+
export function generateGrid(_ref) {
|
|
34
|
+
var theme = _ref.theme,
|
|
35
|
+
ownerState = _ref.ownerState;
|
|
36
|
+
var size;
|
|
37
|
+
return theme.breakpoints.keys.reduce(function (globalStyles, breakpoint) {
|
|
38
|
+
// Use side effect over immutability for better performance.
|
|
39
|
+
var styles = {};
|
|
78
40
|
|
|
41
|
+
if (ownerState[breakpoint]) {
|
|
42
|
+
size = ownerState[breakpoint];
|
|
43
|
+
}
|
|
79
44
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
maxWidth: width
|
|
84
|
-
}, more);
|
|
85
|
-
} // No need for a media query for the first size.
|
|
45
|
+
if (!size) {
|
|
46
|
+
return globalStyles;
|
|
47
|
+
}
|
|
86
48
|
|
|
49
|
+
if (size === true) {
|
|
50
|
+
// For the auto layouting
|
|
51
|
+
styles = {
|
|
52
|
+
flexBasis: 0,
|
|
53
|
+
flexGrow: 1,
|
|
54
|
+
maxWidth: '100%'
|
|
55
|
+
};
|
|
56
|
+
} else if (size === 'auto') {
|
|
57
|
+
styles = {
|
|
58
|
+
flexBasis: 'auto',
|
|
59
|
+
flexGrow: 0,
|
|
60
|
+
flexShrink: 0,
|
|
61
|
+
maxWidth: 'none',
|
|
62
|
+
width: 'auto'
|
|
63
|
+
};
|
|
64
|
+
} else {
|
|
65
|
+
var columnsBreakpointValues = resolveBreakpointValues({
|
|
66
|
+
values: ownerState.columns,
|
|
67
|
+
breakpoints: theme.breakpoints.values
|
|
68
|
+
});
|
|
69
|
+
var columnValue = _typeof(columnsBreakpointValues) === 'object' ? columnsBreakpointValues[breakpoint] : columnsBreakpointValues;
|
|
70
|
+
|
|
71
|
+
if (columnValue === undefined || columnValue === null) {
|
|
72
|
+
return globalStyles;
|
|
73
|
+
} // Keep 7 significant numbers.
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
var width = "".concat(Math.round(size / columnValue * 10e7) / 10e5, "%");
|
|
77
|
+
var more = {};
|
|
78
|
+
|
|
79
|
+
if (ownerState.container && ownerState.item && ownerState.columnSpacing !== 0) {
|
|
80
|
+
var themeSpacing = theme.spacing(ownerState.columnSpacing);
|
|
81
|
+
|
|
82
|
+
if (themeSpacing !== '0px') {
|
|
83
|
+
var fullWidth = "calc(".concat(width, " + ").concat(getOffset(themeSpacing), ")");
|
|
84
|
+
more = {
|
|
85
|
+
flexBasis: fullWidth,
|
|
86
|
+
maxWidth: fullWidth
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
} // Close to the bootstrap implementation:
|
|
90
|
+
// https://github.com/twbs/bootstrap/blob/8fccaa2439e97ec72a4b7dc42ccc1f649790adb0/scss/mixins/_grid.scss#L41
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
styles = _extends({
|
|
94
|
+
flexBasis: width,
|
|
95
|
+
flexGrow: 0,
|
|
96
|
+
maxWidth: width
|
|
97
|
+
}, more);
|
|
98
|
+
} // No need for a media query for the first size.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
if (theme.breakpoints.values[breakpoint] === 0) {
|
|
102
|
+
_extends(globalStyles, styles);
|
|
103
|
+
} else {
|
|
104
|
+
globalStyles[theme.breakpoints.up(breakpoint)] = styles;
|
|
105
|
+
}
|
|
87
106
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
} else {
|
|
91
|
-
globalStyles[theme.breakpoints.up(breakpoint)] = styles;
|
|
92
|
-
}
|
|
107
|
+
return globalStyles;
|
|
108
|
+
}, {});
|
|
93
109
|
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
ownerState = _ref.ownerState;
|
|
110
|
+
export function generateDirection(_ref2) {
|
|
111
|
+
var theme = _ref2.theme,
|
|
112
|
+
ownerState = _ref2.ownerState;
|
|
98
113
|
var directionValues = resolveBreakpointValues({
|
|
99
114
|
values: ownerState.direction,
|
|
100
115
|
breakpoints: theme.breakpoints.values
|
|
@@ -115,9 +130,9 @@ export function generateDirection(_ref) {
|
|
|
115
130
|
return output;
|
|
116
131
|
});
|
|
117
132
|
}
|
|
118
|
-
export function generateRowGap(
|
|
119
|
-
var theme =
|
|
120
|
-
ownerState =
|
|
133
|
+
export function generateRowGap(_ref3) {
|
|
134
|
+
var theme = _ref3.theme,
|
|
135
|
+
ownerState = _ref3.ownerState;
|
|
121
136
|
var container = ownerState.container,
|
|
122
137
|
rowSpacing = ownerState.rowSpacing;
|
|
123
138
|
var styles = {};
|
|
@@ -146,9 +161,9 @@ export function generateRowGap(_ref2) {
|
|
|
146
161
|
|
|
147
162
|
return styles;
|
|
148
163
|
}
|
|
149
|
-
export function generateColumnGap(
|
|
150
|
-
var theme =
|
|
151
|
-
ownerState =
|
|
164
|
+
export function generateColumnGap(_ref5) {
|
|
165
|
+
var theme = _ref5.theme,
|
|
166
|
+
ownerState = _ref5.ownerState;
|
|
152
167
|
var container = ownerState.container,
|
|
153
168
|
columnSpacing = ownerState.columnSpacing;
|
|
154
169
|
var styles = {};
|
|
@@ -177,6 +192,27 @@ export function generateColumnGap(_ref4) {
|
|
|
177
192
|
}
|
|
178
193
|
|
|
179
194
|
return styles;
|
|
195
|
+
}
|
|
196
|
+
export function resolveSpacingClasses(spacing, container) {
|
|
197
|
+
var styles = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
198
|
+
|
|
199
|
+
// in case of grid item or undefined/null or `spacing` <= 0
|
|
200
|
+
if (!container || !spacing || spacing <= 0) {
|
|
201
|
+
return [];
|
|
202
|
+
} // in case of string/number `spacing`
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
if (typeof spacing === 'string' && !Number.isNaN(Number(spacing)) || typeof spacing === 'number') {
|
|
206
|
+
return [styles["spacing-xs-".concat(String(spacing))] || "spacing-xs-".concat(String(spacing))];
|
|
207
|
+
} // in case of object `spacing`
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
var xs = spacing.xs,
|
|
211
|
+
sm = spacing.sm,
|
|
212
|
+
md = spacing.md,
|
|
213
|
+
lg = spacing.lg,
|
|
214
|
+
xl = spacing.xl;
|
|
215
|
+
return [Number(xs) > 0 && (styles["spacing-xs-".concat(String(xs))] || "spacing-xs-".concat(String(xs))), Number(sm) > 0 && (styles["spacing-sm-".concat(String(sm))] || "spacing-sm-".concat(String(sm))), Number(md) > 0 && (styles["spacing-md-".concat(String(md))] || "spacing-md-".concat(String(md))), Number(lg) > 0 && (styles["spacing-lg-".concat(String(lg))] || "spacing-lg-".concat(String(lg))), Number(xl) > 0 && (styles["spacing-xl-".concat(String(xl))] || "spacing-xl-".concat(String(xl)))];
|
|
180
216
|
} // Default CSS values
|
|
181
217
|
// flex: '0 1 auto',
|
|
182
218
|
// flexDirection: 'row',
|
|
@@ -200,10 +236,10 @@ var GridRoot = styled('div', {
|
|
|
200
236
|
xl = _props$ownerState.xl,
|
|
201
237
|
xs = _props$ownerState.xs,
|
|
202
238
|
zeroMinWidth = _props$ownerState.zeroMinWidth;
|
|
203
|
-
return [styles.root, container && styles.container, item && styles.item, zeroMinWidth && styles.zeroMinWidth, container
|
|
239
|
+
return [styles.root, container && styles.container, item && styles.item, zeroMinWidth && styles.zeroMinWidth].concat(_toConsumableArray(resolveSpacingClasses(spacing, container, styles)), [direction !== 'row' && styles["direction-xs-".concat(String(direction))], wrap !== 'wrap' && styles["wrap-xs-".concat(String(wrap))], xs !== false && styles["grid-xs-".concat(String(xs))], sm !== false && styles["grid-sm-".concat(String(sm))], md !== false && styles["grid-md-".concat(String(md))], lg !== false && styles["grid-lg-".concat(String(lg))], xl !== false && styles["grid-xl-".concat(String(xl))]]);
|
|
204
240
|
}
|
|
205
|
-
})(function (
|
|
206
|
-
var ownerState =
|
|
241
|
+
})(function (_ref7) {
|
|
242
|
+
var ownerState = _ref7.ownerState;
|
|
207
243
|
return _extends({
|
|
208
244
|
boxSizing: 'border-box'
|
|
209
245
|
}, ownerState.container && {
|
|
@@ -220,15 +256,7 @@ var GridRoot = styled('div', {
|
|
|
220
256
|
}, ownerState.wrap === 'reverse' && {
|
|
221
257
|
flexWrap: 'wrap-reverse'
|
|
222
258
|
});
|
|
223
|
-
}, generateDirection, generateRowGap, generateColumnGap,
|
|
224
|
-
var theme = _ref7.theme,
|
|
225
|
-
ownerState = _ref7.ownerState;
|
|
226
|
-
return theme.breakpoints.keys.reduce(function (globalStyles, breakpoint) {
|
|
227
|
-
// Use side effect over immutability for better performance.
|
|
228
|
-
generateGrid(globalStyles, theme, breakpoint, ownerState);
|
|
229
|
-
return globalStyles;
|
|
230
|
-
}, {});
|
|
231
|
-
});
|
|
259
|
+
}, generateDirection, generateRowGap, generateColumnGap, generateGrid);
|
|
232
260
|
|
|
233
261
|
var useUtilityClasses = function useUtilityClasses(ownerState) {
|
|
234
262
|
var classes = ownerState.classes,
|
|
@@ -244,7 +272,7 @@ var useUtilityClasses = function useUtilityClasses(ownerState) {
|
|
|
244
272
|
xs = ownerState.xs,
|
|
245
273
|
zeroMinWidth = ownerState.zeroMinWidth;
|
|
246
274
|
var slots = {
|
|
247
|
-
root: ['root', container && 'container', item && 'item', zeroMinWidth && 'zeroMinWidth'
|
|
275
|
+
root: ['root', container && 'container', item && 'item', zeroMinWidth && 'zeroMinWidth'].concat(_toConsumableArray(resolveSpacingClasses(spacing, container)), [direction !== 'row' && "direction-xs-".concat(String(direction)), wrap !== 'wrap' && "wrap-xs-".concat(String(wrap)), xs !== false && "grid-xs-".concat(String(xs)), sm !== false && "grid-sm-".concat(String(sm)), md !== false && "grid-md-".concat(String(md)), lg !== false && "grid-lg-".concat(String(lg)), xl !== false && "grid-xl-".concat(String(xl))])
|
|
248
276
|
};
|
|
249
277
|
return composeClasses(slots, getGridUtilityClass, classes);
|
|
250
278
|
};
|
|
@@ -436,7 +464,7 @@ process.env.NODE_ENV !== "production" ? Grid.propTypes
|
|
|
436
464
|
/**
|
|
437
465
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
438
466
|
*/
|
|
439
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
467
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
440
468
|
|
|
441
469
|
/**
|
|
442
470
|
* Defines the `flex-wrap` style property.
|
package/legacy/Icon/Icon.js
CHANGED
|
@@ -152,7 +152,7 @@ process.env.NODE_ENV !== "production" ? Icon.propTypes
|
|
|
152
152
|
/**
|
|
153
153
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
154
154
|
*/
|
|
155
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
155
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
156
156
|
} : void 0;
|
|
157
157
|
Icon.muiName = 'Icon';
|
|
158
158
|
export default Icon;
|
|
@@ -215,6 +215,6 @@ process.env.NODE_ENV !== "production" ? IconButton.propTypes
|
|
|
215
215
|
/**
|
|
216
216
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
217
217
|
*/
|
|
218
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
218
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
219
219
|
} : void 0;
|
|
220
220
|
export default IconButton;
|
|
@@ -162,7 +162,7 @@ process.env.NODE_ENV !== "production" ? ImageList.propTypes
|
|
|
162
162
|
/**
|
|
163
163
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
164
164
|
*/
|
|
165
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
165
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
168
|
* The variant to use.
|
|
@@ -179,6 +179,6 @@ process.env.NODE_ENV !== "production" ? ImageListItem.propTypes
|
|
|
179
179
|
/**
|
|
180
180
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
181
181
|
*/
|
|
182
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
182
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
183
183
|
} : void 0;
|
|
184
184
|
export default ImageListItem;
|
|
@@ -216,7 +216,7 @@ process.env.NODE_ENV !== "production" ? ImageListItemBar.propTypes
|
|
|
216
216
|
/**
|
|
217
217
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
218
218
|
*/
|
|
219
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
219
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
220
220
|
|
|
221
221
|
/**
|
|
222
222
|
* Title to be displayed.
|
package/legacy/Input/Input.js
CHANGED
|
@@ -314,7 +314,7 @@ process.env.NODE_ENV !== "production" ? Input.propTypes
|
|
|
314
314
|
/**
|
|
315
315
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
316
316
|
*/
|
|
317
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
317
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
318
318
|
|
|
319
319
|
/**
|
|
320
320
|
* 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).
|
|
@@ -181,7 +181,7 @@ process.env.NODE_ENV !== "production" ? InputAdornment.propTypes
|
|
|
181
181
|
/**
|
|
182
182
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
183
183
|
*/
|
|
184
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
184
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
185
185
|
|
|
186
186
|
/**
|
|
187
187
|
* The variant to use.
|
|
@@ -213,6 +213,7 @@ var InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref) {
|
|
|
213
213
|
componentsProps = _props$componentsProp === void 0 ? {} : _props$componentsProp,
|
|
214
214
|
defaultValue = props.defaultValue,
|
|
215
215
|
disabled = props.disabled,
|
|
216
|
+
disableInjectingGlobalStyles = props.disableInjectingGlobalStyles,
|
|
216
217
|
endAdornment = props.endAdornment,
|
|
217
218
|
error = props.error,
|
|
218
219
|
_props$fullWidth = props.fullWidth,
|
|
@@ -244,7 +245,7 @@ var InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref) {
|
|
|
244
245
|
_props$type = props.type,
|
|
245
246
|
type = _props$type === void 0 ? 'text' : _props$type,
|
|
246
247
|
valueProp = props.value,
|
|
247
|
-
other = _objectWithoutProperties(props, ["aria-describedby", "autoComplete", "autoFocus", "className", "color", "components", "componentsProps", "defaultValue", "disabled", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "size", "startAdornment", "type", "value"]);
|
|
248
|
+
other = _objectWithoutProperties(props, ["aria-describedby", "autoComplete", "autoFocus", "className", "color", "components", "componentsProps", "defaultValue", "disabled", "disableInjectingGlobalStyles", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "size", "startAdornment", "type", "value"]);
|
|
248
249
|
|
|
249
250
|
var value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;
|
|
250
251
|
|
|
@@ -459,7 +460,7 @@ var InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref) {
|
|
|
459
460
|
var Input = components.Input || InputBaseComponent;
|
|
460
461
|
inputProps = _extends({}, inputProps, componentsProps.input);
|
|
461
462
|
return /*#__PURE__*/_jsxs(React.Fragment, {
|
|
462
|
-
children: [inputGlobalStyles, /*#__PURE__*/_jsxs(Root, _extends({}, rootProps, !isHostComponent(Root) && {
|
|
463
|
+
children: [!disableInjectingGlobalStyles && inputGlobalStyles, /*#__PURE__*/_jsxs(Root, _extends({}, rootProps, !isHostComponent(Root) && {
|
|
463
464
|
ownerState: _extends({}, ownerState, rootProps.ownerState)
|
|
464
465
|
}, {
|
|
465
466
|
ref: ref,
|
|
@@ -573,6 +574,13 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes
|
|
|
573
574
|
*/
|
|
574
575
|
disabled: PropTypes.bool,
|
|
575
576
|
|
|
577
|
+
/**
|
|
578
|
+
* If `true`, GlobalStyles for the auto-fill keyframes will not be injected/removed on mount/unmount. Make sure to inject them at the top of your application.
|
|
579
|
+
* This option is intended to help with boosting the initial rendering performance if you are loading a big amount of Input components at once.
|
|
580
|
+
* @default false
|
|
581
|
+
*/
|
|
582
|
+
disableInjectingGlobalStyles: PropTypes.bool,
|
|
583
|
+
|
|
576
584
|
/**
|
|
577
585
|
* End `InputAdornment` for this component.
|
|
578
586
|
*/
|
|
@@ -718,7 +726,7 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes
|
|
|
718
726
|
/**
|
|
719
727
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
720
728
|
*/
|
|
721
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
729
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
722
730
|
|
|
723
731
|
/**
|
|
724
732
|
* 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).
|
|
@@ -204,7 +204,7 @@ process.env.NODE_ENV !== "production" ? InputLabel.propTypes
|
|
|
204
204
|
/**
|
|
205
205
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
206
206
|
*/
|
|
207
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
207
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
208
208
|
|
|
209
209
|
/**
|
|
210
210
|
* The variant to use.
|
|
@@ -282,7 +282,7 @@ process.env.NODE_ENV !== "production" ? LinearProgress.propTypes
|
|
|
282
282
|
/**
|
|
283
283
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
284
284
|
*/
|
|
285
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
285
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
286
286
|
|
|
287
287
|
/**
|
|
288
288
|
* The value of the progress indicator for the determinate and buffer variants.
|
package/legacy/Link/Link.js
CHANGED
|
@@ -217,7 +217,7 @@ process.env.NODE_ENV !== "production" ? Link.propTypes
|
|
|
217
217
|
/**
|
|
218
218
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
219
219
|
*/
|
|
220
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
220
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
221
221
|
|
|
222
222
|
/**
|
|
223
223
|
* `classes` prop applied to the [`Typography`](/api/typography/) element.
|