@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
package/node/Grid/Grid.js
CHANGED
|
@@ -8,7 +8,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.default = void 0;
|
|
9
9
|
exports.generateColumnGap = generateColumnGap;
|
|
10
10
|
exports.generateDirection = generateDirection;
|
|
11
|
+
exports.generateGrid = generateGrid;
|
|
11
12
|
exports.generateRowGap = generateRowGap;
|
|
13
|
+
exports.resolveSpacingClasses = resolveSpacingClasses;
|
|
12
14
|
|
|
13
15
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
14
16
|
|
|
@@ -47,67 +49,83 @@ function getOffset(val) {
|
|
|
47
49
|
return `${parse}${String(val).replace(String(parse), '') || 'px'}`;
|
|
48
50
|
}
|
|
49
51
|
|
|
50
|
-
function generateGrid(
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
if (size === true) {
|
|
60
|
-
// For the auto layouting
|
|
61
|
-
styles = {
|
|
62
|
-
flexBasis: 0,
|
|
63
|
-
flexGrow: 1,
|
|
64
|
-
maxWidth: '100%'
|
|
65
|
-
};
|
|
66
|
-
} else if (size === 'auto') {
|
|
67
|
-
styles = {
|
|
68
|
-
flexBasis: 'auto',
|
|
69
|
-
flexGrow: 0,
|
|
70
|
-
flexShrink: 0,
|
|
71
|
-
maxWidth: 'none',
|
|
72
|
-
width: 'auto'
|
|
73
|
-
};
|
|
74
|
-
} else {
|
|
75
|
-
const columnsBreakpointValues = (0, _system.unstable_resolveBreakpointValues)({
|
|
76
|
-
values: ownerState.columns,
|
|
77
|
-
breakpoints: theme.breakpoints.values
|
|
78
|
-
});
|
|
79
|
-
const columnValue = typeof columnsBreakpointValues === 'object' ? columnsBreakpointValues[breakpoint] : columnsBreakpointValues; // Keep 7 significant numbers.
|
|
80
|
-
|
|
81
|
-
const width = `${Math.round(size / columnValue * 10e7) / 10e5}%`;
|
|
82
|
-
let more = {};
|
|
83
|
-
|
|
84
|
-
if (ownerState.container && ownerState.item && ownerState.columnSpacing !== 0) {
|
|
85
|
-
const themeSpacing = theme.spacing(ownerState.columnSpacing);
|
|
86
|
-
|
|
87
|
-
if (themeSpacing !== '0px') {
|
|
88
|
-
const fullWidth = `calc(${width} + ${getOffset(themeSpacing)})`;
|
|
89
|
-
more = {
|
|
90
|
-
flexBasis: fullWidth,
|
|
91
|
-
maxWidth: fullWidth
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
} // Close to the bootstrap implementation:
|
|
95
|
-
// https://github.com/twbs/bootstrap/blob/8fccaa2439e97ec72a4b7dc42ccc1f649790adb0/scss/mixins/_grid.scss#L41
|
|
52
|
+
function generateGrid({
|
|
53
|
+
theme,
|
|
54
|
+
ownerState
|
|
55
|
+
}) {
|
|
56
|
+
let size;
|
|
57
|
+
return theme.breakpoints.keys.reduce((globalStyles, breakpoint) => {
|
|
58
|
+
// Use side effect over immutability for better performance.
|
|
59
|
+
let styles = {};
|
|
96
60
|
|
|
61
|
+
if (ownerState[breakpoint]) {
|
|
62
|
+
size = ownerState[breakpoint];
|
|
63
|
+
}
|
|
97
64
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
maxWidth: width
|
|
102
|
-
}, more);
|
|
103
|
-
} // No need for a media query for the first size.
|
|
65
|
+
if (!size) {
|
|
66
|
+
return globalStyles;
|
|
67
|
+
}
|
|
104
68
|
|
|
69
|
+
if (size === true) {
|
|
70
|
+
// For the auto layouting
|
|
71
|
+
styles = {
|
|
72
|
+
flexBasis: 0,
|
|
73
|
+
flexGrow: 1,
|
|
74
|
+
maxWidth: '100%'
|
|
75
|
+
};
|
|
76
|
+
} else if (size === 'auto') {
|
|
77
|
+
styles = {
|
|
78
|
+
flexBasis: 'auto',
|
|
79
|
+
flexGrow: 0,
|
|
80
|
+
flexShrink: 0,
|
|
81
|
+
maxWidth: 'none',
|
|
82
|
+
width: 'auto'
|
|
83
|
+
};
|
|
84
|
+
} else {
|
|
85
|
+
const columnsBreakpointValues = (0, _system.unstable_resolveBreakpointValues)({
|
|
86
|
+
values: ownerState.columns,
|
|
87
|
+
breakpoints: theme.breakpoints.values
|
|
88
|
+
});
|
|
89
|
+
const columnValue = typeof columnsBreakpointValues === 'object' ? columnsBreakpointValues[breakpoint] : columnsBreakpointValues;
|
|
90
|
+
|
|
91
|
+
if (columnValue === undefined || columnValue === null) {
|
|
92
|
+
return globalStyles;
|
|
93
|
+
} // Keep 7 significant numbers.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
const width = `${Math.round(size / columnValue * 10e7) / 10e5}%`;
|
|
97
|
+
let more = {};
|
|
98
|
+
|
|
99
|
+
if (ownerState.container && ownerState.item && ownerState.columnSpacing !== 0) {
|
|
100
|
+
const themeSpacing = theme.spacing(ownerState.columnSpacing);
|
|
101
|
+
|
|
102
|
+
if (themeSpacing !== '0px') {
|
|
103
|
+
const fullWidth = `calc(${width} + ${getOffset(themeSpacing)})`;
|
|
104
|
+
more = {
|
|
105
|
+
flexBasis: fullWidth,
|
|
106
|
+
maxWidth: fullWidth
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
} // Close to the bootstrap implementation:
|
|
110
|
+
// https://github.com/twbs/bootstrap/blob/8fccaa2439e97ec72a4b7dc42ccc1f649790adb0/scss/mixins/_grid.scss#L41
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
styles = (0, _extends2.default)({
|
|
114
|
+
flexBasis: width,
|
|
115
|
+
flexGrow: 0,
|
|
116
|
+
maxWidth: width
|
|
117
|
+
}, more);
|
|
118
|
+
} // No need for a media query for the first size.
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
if (theme.breakpoints.values[breakpoint] === 0) {
|
|
122
|
+
Object.assign(globalStyles, styles);
|
|
123
|
+
} else {
|
|
124
|
+
globalStyles[theme.breakpoints.up(breakpoint)] = styles;
|
|
125
|
+
}
|
|
105
126
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
} else {
|
|
109
|
-
globalStyles[theme.breakpoints.up(breakpoint)] = styles;
|
|
110
|
-
}
|
|
127
|
+
return globalStyles;
|
|
128
|
+
}, {});
|
|
111
129
|
}
|
|
112
130
|
|
|
113
131
|
function generateDirection({
|
|
@@ -206,6 +224,28 @@ function generateColumnGap({
|
|
|
206
224
|
}
|
|
207
225
|
|
|
208
226
|
return styles;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
function resolveSpacingClasses(spacing, container, styles = {}) {
|
|
230
|
+
// in case of grid item or undefined/null or `spacing` <= 0
|
|
231
|
+
if (!container || !spacing || spacing <= 0) {
|
|
232
|
+
return [];
|
|
233
|
+
} // in case of string/number `spacing`
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
if (typeof spacing === 'string' && !Number.isNaN(Number(spacing)) || typeof spacing === 'number') {
|
|
237
|
+
return [styles[`spacing-xs-${String(spacing)}`] || `spacing-xs-${String(spacing)}`];
|
|
238
|
+
} // in case of object `spacing`
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
const {
|
|
242
|
+
xs,
|
|
243
|
+
sm,
|
|
244
|
+
md,
|
|
245
|
+
lg,
|
|
246
|
+
xl
|
|
247
|
+
} = spacing;
|
|
248
|
+
return [Number(xs) > 0 && (styles[`spacing-xs-${String(xs)}`] || `spacing-xs-${String(xs)}`), Number(sm) > 0 && (styles[`spacing-sm-${String(sm)}`] || `spacing-sm-${String(sm)}`), Number(md) > 0 && (styles[`spacing-md-${String(md)}`] || `spacing-md-${String(md)}`), Number(lg) > 0 && (styles[`spacing-lg-${String(lg)}`] || `spacing-lg-${String(lg)}`), Number(xl) > 0 && (styles[`spacing-xl-${String(xl)}`] || `spacing-xl-${String(xl)}`)];
|
|
209
249
|
} // Default CSS values
|
|
210
250
|
// flex: '0 1 auto',
|
|
211
251
|
// flexDirection: 'row',
|
|
@@ -231,7 +271,7 @@ const GridRoot = (0, _styled.default)('div', {
|
|
|
231
271
|
xs,
|
|
232
272
|
zeroMinWidth
|
|
233
273
|
} = props.ownerState;
|
|
234
|
-
return [styles.root, container && styles.container, item && styles.item, zeroMinWidth && styles.zeroMinWidth,
|
|
274
|
+
return [styles.root, container && styles.container, item && styles.item, zeroMinWidth && styles.zeroMinWidth, ...resolveSpacingClasses(spacing, container, styles), direction !== 'row' && styles[`direction-xs-${String(direction)}`], wrap !== 'wrap' && styles[`wrap-xs-${String(wrap)}`], xs !== false && styles[`grid-xs-${String(xs)}`], sm !== false && styles[`grid-sm-${String(sm)}`], md !== false && styles[`grid-md-${String(md)}`], lg !== false && styles[`grid-lg-${String(lg)}`], xl !== false && styles[`grid-xl-${String(xl)}`]];
|
|
235
275
|
}
|
|
236
276
|
})(({
|
|
237
277
|
ownerState
|
|
@@ -250,14 +290,7 @@ const GridRoot = (0, _styled.default)('div', {
|
|
|
250
290
|
flexWrap: 'nowrap'
|
|
251
291
|
}, ownerState.wrap === 'reverse' && {
|
|
252
292
|
flexWrap: 'wrap-reverse'
|
|
253
|
-
}), generateDirection, generateRowGap, generateColumnGap,
|
|
254
|
-
theme,
|
|
255
|
-
ownerState
|
|
256
|
-
}) => theme.breakpoints.keys.reduce((globalStyles, breakpoint) => {
|
|
257
|
-
// Use side effect over immutability for better performance.
|
|
258
|
-
generateGrid(globalStyles, theme, breakpoint, ownerState);
|
|
259
|
-
return globalStyles;
|
|
260
|
-
}, {}));
|
|
293
|
+
}), generateDirection, generateRowGap, generateColumnGap, generateGrid);
|
|
261
294
|
|
|
262
295
|
const useUtilityClasses = ownerState => {
|
|
263
296
|
const {
|
|
@@ -275,7 +308,7 @@ const useUtilityClasses = ownerState => {
|
|
|
275
308
|
zeroMinWidth
|
|
276
309
|
} = ownerState;
|
|
277
310
|
const slots = {
|
|
278
|
-
root: ['root', container && 'container', item && 'item', zeroMinWidth && 'zeroMinWidth',
|
|
311
|
+
root: ['root', container && 'container', item && 'item', zeroMinWidth && 'zeroMinWidth', ...resolveSpacingClasses(spacing, container), direction !== 'row' && `direction-xs-${String(direction)}`, wrap !== 'wrap' && `wrap-xs-${String(wrap)}`, xs !== false && `grid-xs-${String(xs)}`, sm !== false && `grid-sm-${String(sm)}`, md !== false && `grid-md-${String(md)}`, lg !== false && `grid-lg-${String(lg)}`, xl !== false && `grid-xl-${String(xl)}`]
|
|
279
312
|
};
|
|
280
313
|
return (0, _base.unstable_composeClasses)(slots, _gridClasses.getGridUtilityClass, classes);
|
|
281
314
|
};
|
|
@@ -451,7 +484,7 @@ process.env.NODE_ENV !== "production" ? Grid.propTypes
|
|
|
451
484
|
/**
|
|
452
485
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
453
486
|
*/
|
|
454
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
487
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
455
488
|
|
|
456
489
|
/**
|
|
457
490
|
* Defines the `flex-wrap` style property.
|
package/node/Icon/Icon.js
CHANGED
|
@@ -175,7 +175,7 @@ process.env.NODE_ENV !== "production" ? Icon.propTypes
|
|
|
175
175
|
/**
|
|
176
176
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
177
177
|
*/
|
|
178
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
178
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
179
179
|
} : void 0;
|
|
180
180
|
Icon.muiName = 'Icon';
|
|
181
181
|
var _default = Icon;
|
|
@@ -238,7 +238,7 @@ process.env.NODE_ENV !== "production" ? IconButton.propTypes
|
|
|
238
238
|
/**
|
|
239
239
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
240
240
|
*/
|
|
241
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
241
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
242
242
|
} : void 0;
|
|
243
243
|
var _default = IconButton;
|
|
244
244
|
exports.default = _default;
|
|
@@ -184,7 +184,7 @@ process.env.NODE_ENV !== "production" ? ImageList.propTypes
|
|
|
184
184
|
/**
|
|
185
185
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
186
186
|
*/
|
|
187
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
187
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
188
188
|
|
|
189
189
|
/**
|
|
190
190
|
* The variant to use.
|
|
@@ -209,7 +209,7 @@ process.env.NODE_ENV !== "production" ? ImageListItem.propTypes
|
|
|
209
209
|
/**
|
|
210
210
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
211
211
|
*/
|
|
212
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
212
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
213
213
|
} : void 0;
|
|
214
214
|
var _default = ImageListItem;
|
|
215
215
|
exports.default = _default;
|
|
@@ -246,7 +246,7 @@ process.env.NODE_ENV !== "production" ? ImageListItemBar.propTypes
|
|
|
246
246
|
/**
|
|
247
247
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
248
248
|
*/
|
|
249
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
249
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
250
250
|
|
|
251
251
|
/**
|
|
252
252
|
* Title to be displayed.
|
package/node/Input/Input.js
CHANGED
|
@@ -339,7 +339,7 @@ process.env.NODE_ENV !== "production" ? Input.propTypes
|
|
|
339
339
|
/**
|
|
340
340
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
341
341
|
*/
|
|
342
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
342
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
343
343
|
|
|
344
344
|
/**
|
|
345
345
|
* 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).
|
|
@@ -209,7 +209,7 @@ process.env.NODE_ENV !== "production" ? InputAdornment.propTypes
|
|
|
209
209
|
/**
|
|
210
210
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
211
211
|
*/
|
|
212
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
212
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
213
213
|
|
|
214
214
|
/**
|
|
215
215
|
* The variant to use.
|
|
@@ -45,7 +45,7 @@ var _inputBaseClasses = _interopRequireWildcard(require("./inputBaseClasses"));
|
|
|
45
45
|
|
|
46
46
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
47
47
|
|
|
48
|
-
const _excluded = ["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"];
|
|
48
|
+
const _excluded = ["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"];
|
|
49
49
|
|
|
50
50
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
51
51
|
|
|
@@ -255,6 +255,7 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
255
255
|
componentsProps = {},
|
|
256
256
|
defaultValue,
|
|
257
257
|
disabled,
|
|
258
|
+
disableInjectingGlobalStyles,
|
|
258
259
|
endAdornment,
|
|
259
260
|
fullWidth = false,
|
|
260
261
|
id,
|
|
@@ -482,7 +483,7 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
482
483
|
const Input = components.Input || InputBaseComponent;
|
|
483
484
|
inputProps = (0, _extends2.default)({}, inputProps, componentsProps.input);
|
|
484
485
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(React.Fragment, {
|
|
485
|
-
children: [inputGlobalStyles, /*#__PURE__*/(0, _jsxRuntime.jsxs)(Root, (0, _extends2.default)({}, rootProps, !(0, _base.isHostComponent)(Root) && {
|
|
486
|
+
children: [!disableInjectingGlobalStyles && inputGlobalStyles, /*#__PURE__*/(0, _jsxRuntime.jsxs)(Root, (0, _extends2.default)({}, rootProps, !(0, _base.isHostComponent)(Root) && {
|
|
486
487
|
ownerState: (0, _extends2.default)({}, ownerState, rootProps.ownerState)
|
|
487
488
|
}, {
|
|
488
489
|
ref: ref,
|
|
@@ -596,6 +597,13 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes
|
|
|
596
597
|
*/
|
|
597
598
|
disabled: _propTypes.default.bool,
|
|
598
599
|
|
|
600
|
+
/**
|
|
601
|
+
* 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.
|
|
602
|
+
* This option is intended to help with boosting the initial rendering performance if you are loading a big amount of Input components at once.
|
|
603
|
+
* @default false
|
|
604
|
+
*/
|
|
605
|
+
disableInjectingGlobalStyles: _propTypes.default.bool,
|
|
606
|
+
|
|
599
607
|
/**
|
|
600
608
|
* End `InputAdornment` for this component.
|
|
601
609
|
*/
|
|
@@ -741,7 +749,7 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes
|
|
|
741
749
|
/**
|
|
742
750
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
743
751
|
*/
|
|
744
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
752
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
745
753
|
|
|
746
754
|
/**
|
|
747
755
|
* 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).
|
|
@@ -227,7 +227,7 @@ process.env.NODE_ENV !== "production" ? InputLabel.propTypes
|
|
|
227
227
|
/**
|
|
228
228
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
229
229
|
*/
|
|
230
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
230
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
231
231
|
|
|
232
232
|
/**
|
|
233
233
|
* The variant to use.
|
|
@@ -361,7 +361,7 @@ process.env.NODE_ENV !== "production" ? LinearProgress.propTypes
|
|
|
361
361
|
/**
|
|
362
362
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
363
363
|
*/
|
|
364
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
364
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
365
365
|
|
|
366
366
|
/**
|
|
367
367
|
* The value of the progress indicator for the determinate and buffer variants.
|
package/node/Link/Link.js
CHANGED
|
@@ -245,7 +245,7 @@ process.env.NODE_ENV !== "production" ? Link.propTypes
|
|
|
245
245
|
/**
|
|
246
246
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
247
247
|
*/
|
|
248
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
248
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
249
249
|
|
|
250
250
|
/**
|
|
251
251
|
* `classes` prop applied to the [`Typography`](/api/typography/) element.
|
package/node/List/List.js
CHANGED
|
@@ -156,7 +156,7 @@ process.env.NODE_ENV !== "production" ? List.propTypes
|
|
|
156
156
|
/**
|
|
157
157
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
158
158
|
*/
|
|
159
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
159
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
160
160
|
} : void 0;
|
|
161
161
|
var _default = List;
|
|
162
162
|
exports.default = _default;
|
|
@@ -443,7 +443,7 @@ process.env.NODE_ENV !== "production" ? ListItem.propTypes
|
|
|
443
443
|
/**
|
|
444
444
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
445
445
|
*/
|
|
446
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
446
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
447
447
|
} : void 0;
|
|
448
448
|
var _default = ListItem;
|
|
449
449
|
exports.default = _default;
|
|
@@ -113,7 +113,7 @@ process.env.NODE_ENV !== "production" ? ListItemAvatar.propTypes
|
|
|
113
113
|
/**
|
|
114
114
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
115
115
|
*/
|
|
116
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
116
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
117
117
|
} : void 0;
|
|
118
118
|
var _default = ListItemAvatar;
|
|
119
119
|
exports.default = _default;
|
|
@@ -252,7 +252,7 @@ process.env.NODE_ENV !== "production" ? ListItemButton.propTypes
|
|
|
252
252
|
* This prop can help identify which element has keyboard focus.
|
|
253
253
|
* The class name will be applied when the element gains the focus through keyboard interaction.
|
|
254
254
|
* It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
|
|
255
|
-
* The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/
|
|
255
|
+
* The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
|
|
256
256
|
* A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
|
|
257
257
|
* if needed.
|
|
258
258
|
*/
|
|
@@ -267,7 +267,7 @@ process.env.NODE_ENV !== "production" ? ListItemButton.propTypes
|
|
|
267
267
|
/**
|
|
268
268
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
269
269
|
*/
|
|
270
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
270
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
271
271
|
} : void 0;
|
|
272
272
|
var _default = ListItemButton;
|
|
273
273
|
exports.default = _default;
|
|
@@ -117,7 +117,7 @@ process.env.NODE_ENV !== "production" ? ListItemIcon.propTypes
|
|
|
117
117
|
/**
|
|
118
118
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
119
119
|
*/
|
|
120
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
120
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
121
121
|
} : void 0;
|
|
122
122
|
var _default = ListItemIcon;
|
|
123
123
|
exports.default = _default;
|
|
@@ -115,7 +115,7 @@ process.env.NODE_ENV !== "production" ? ListItemSecondaryAction.propTypes
|
|
|
115
115
|
/**
|
|
116
116
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
117
117
|
*/
|
|
118
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
118
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
119
119
|
} : void 0;
|
|
120
120
|
ListItemSecondaryAction.muiName = 'ListItemSecondaryAction';
|
|
121
121
|
var _default = ListItemSecondaryAction;
|
|
@@ -203,7 +203,7 @@ process.env.NODE_ENV !== "production" ? ListItemText.propTypes
|
|
|
203
203
|
/**
|
|
204
204
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
205
205
|
*/
|
|
206
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
206
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
207
207
|
} : void 0;
|
|
208
208
|
var _default = ListItemText;
|
|
209
209
|
exports.default = _default;
|
|
@@ -169,7 +169,7 @@ process.env.NODE_ENV !== "production" ? ListSubheader.propTypes
|
|
|
169
169
|
/**
|
|
170
170
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
171
171
|
*/
|
|
172
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
172
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
173
173
|
} : void 0;
|
|
174
174
|
var _default = ListSubheader;
|
|
175
175
|
exports.default = _default;
|
package/node/Menu/Menu.js
CHANGED
|
@@ -292,7 +292,7 @@ process.env.NODE_ENV !== "production" ? Menu.propTypes
|
|
|
292
292
|
/**
|
|
293
293
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
294
294
|
*/
|
|
295
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
295
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
296
296
|
|
|
297
297
|
/**
|
|
298
298
|
* The length of the transition in `ms`, or 'auto'
|
|
@@ -306,7 +306,7 @@ process.env.NODE_ENV !== "production" ? Menu.propTypes
|
|
|
306
306
|
|
|
307
307
|
/**
|
|
308
308
|
* Props applied to the transition element.
|
|
309
|
-
* By default, the element is based on this [`Transition`](
|
|
309
|
+
* By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
|
|
310
310
|
* @default {}
|
|
311
311
|
*/
|
|
312
312
|
TransitionProps: _propTypes.default.object,
|
|
@@ -275,7 +275,7 @@ process.env.NODE_ENV !== "production" ? MenuItem.propTypes
|
|
|
275
275
|
* This prop can help identify which element has keyboard focus.
|
|
276
276
|
* The class name will be applied when the element gains the focus through keyboard interaction.
|
|
277
277
|
* It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
|
|
278
|
-
* The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/
|
|
278
|
+
* The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
|
|
279
279
|
* A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
|
|
280
280
|
* if needed.
|
|
281
281
|
*/
|
|
@@ -296,7 +296,7 @@ process.env.NODE_ENV !== "production" ? MenuItem.propTypes
|
|
|
296
296
|
/**
|
|
297
297
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
298
298
|
*/
|
|
299
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
299
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
300
300
|
|
|
301
301
|
/**
|
|
302
302
|
* @default 0
|
|
@@ -234,7 +234,7 @@ process.env.NODE_ENV !== "production" ? MobileStepper.propTypes
|
|
|
234
234
|
/**
|
|
235
235
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
236
236
|
*/
|
|
237
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
237
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
238
238
|
|
|
239
239
|
/**
|
|
240
240
|
* The variant to use.
|
package/node/Modal/Modal.js
CHANGED
|
@@ -295,7 +295,7 @@ process.env.NODE_ENV !== "production" ? Modal.propTypes
|
|
|
295
295
|
/**
|
|
296
296
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
297
297
|
*/
|
|
298
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
298
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
299
299
|
} : void 0;
|
|
300
300
|
var _default = Modal;
|
|
301
301
|
exports.default = _default;
|
|
@@ -151,7 +151,7 @@ process.env.NODE_ENV !== "production" ? NativeSelect.propTypes
|
|
|
151
151
|
/**
|
|
152
152
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
153
153
|
*/
|
|
154
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
154
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
155
155
|
|
|
156
156
|
/**
|
|
157
157
|
* The `input` value. The DOM API casts this to a string.
|
|
@@ -21,6 +21,10 @@ var _base = require("@mui/base");
|
|
|
21
21
|
|
|
22
22
|
var _NotchedOutline = _interopRequireDefault(require("./NotchedOutline"));
|
|
23
23
|
|
|
24
|
+
var _useFormControl = _interopRequireDefault(require("../FormControl/useFormControl"));
|
|
25
|
+
|
|
26
|
+
var _formControlState = _interopRequireDefault(require("../FormControl/formControlState"));
|
|
27
|
+
|
|
24
28
|
var _styled = _interopRequireWildcard(require("../styles/styled"));
|
|
25
29
|
|
|
26
30
|
var _outlinedInputClasses = _interopRequireWildcard(require("./outlinedInputClasses"));
|
|
@@ -126,6 +130,8 @@ const OutlinedInputInput = (0, _styled.default)(_InputBase.InputBaseComponent, {
|
|
|
126
130
|
paddingRight: 0
|
|
127
131
|
}));
|
|
128
132
|
const OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inProps, ref) {
|
|
133
|
+
var _React$Fragment;
|
|
134
|
+
|
|
129
135
|
const props = (0, _useThemeProps.default)({
|
|
130
136
|
props: inProps,
|
|
131
137
|
name: 'MuiOutlinedInput'
|
|
@@ -141,6 +147,12 @@ const OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inPro
|
|
|
141
147
|
} = props,
|
|
142
148
|
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
143
149
|
const classes = useUtilityClasses(props);
|
|
150
|
+
const muiFormControl = (0, _useFormControl.default)();
|
|
151
|
+
const fcs = (0, _formControlState.default)({
|
|
152
|
+
props,
|
|
153
|
+
muiFormControl,
|
|
154
|
+
states: ['required']
|
|
155
|
+
});
|
|
144
156
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_InputBase.default, (0, _extends2.default)({
|
|
145
157
|
components: (0, _extends2.default)({
|
|
146
158
|
Root: OutlinedInputRoot,
|
|
@@ -148,7 +160,9 @@ const OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inPro
|
|
|
148
160
|
}, components),
|
|
149
161
|
renderSuffix: state => /*#__PURE__*/(0, _jsxRuntime.jsx)(NotchedOutlineRoot, {
|
|
150
162
|
className: classes.notchedOutline,
|
|
151
|
-
label: label,
|
|
163
|
+
label: label && fcs.required ? _React$Fragment || (_React$Fragment = /*#__PURE__*/(0, _jsxRuntime.jsxs)(React.Fragment, {
|
|
164
|
+
children: [label, "\xA0", '*']
|
|
165
|
+
})) : label,
|
|
152
166
|
notched: typeof notched !== 'undefined' ? notched : Boolean(state.startAdornment || state.filled || state.focused)
|
|
153
167
|
}),
|
|
154
168
|
fullWidth: fullWidth,
|
|
@@ -333,7 +347,7 @@ process.env.NODE_ENV !== "production" ? OutlinedInput.propTypes
|
|
|
333
347
|
/**
|
|
334
348
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
335
349
|
*/
|
|
336
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
350
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
337
351
|
|
|
338
352
|
/**
|
|
339
353
|
* 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).
|
|
@@ -281,7 +281,7 @@ process.env.NODE_ENV !== "production" ? Pagination.propTypes
|
|
|
281
281
|
/**
|
|
282
282
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
283
283
|
*/
|
|
284
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
284
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
285
285
|
|
|
286
286
|
/**
|
|
287
287
|
* The variant to use.
|
|
@@ -389,7 +389,7 @@ process.env.NODE_ENV !== "production" ? PaginationItem.propTypes
|
|
|
389
389
|
/**
|
|
390
390
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
391
391
|
*/
|
|
392
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
392
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
393
393
|
|
|
394
394
|
/**
|
|
395
395
|
* The type of pagination item.
|
package/node/Paper/Paper.js
CHANGED
|
@@ -183,7 +183,7 @@ process.env.NODE_ENV !== "production" ? Paper.propTypes
|
|
|
183
183
|
/**
|
|
184
184
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
185
185
|
*/
|
|
186
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
186
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
187
187
|
|
|
188
188
|
/**
|
|
189
189
|
* The variant to use.
|