@mui/material 5.0.3 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accordion/Accordion.js +1 -1
- package/AccordionActions/AccordionActions.js +1 -1
- package/AccordionDetails/AccordionDetails.js +1 -1
- package/AccordionSummary/AccordionSummary.js +1 -1
- package/Alert/Alert.js +1 -1
- package/AlertTitle/AlertTitle.js +1 -1
- package/AppBar/AppBar.js +1 -1
- package/Autocomplete/Autocomplete.d.ts +1 -1
- package/Autocomplete/Autocomplete.js +18 -11
- package/Avatar/Avatar.js +1 -1
- package/AvatarGroup/AvatarGroup.js +3 -3
- package/Backdrop/Backdrop.js +1 -1
- package/Badge/Badge.js +1 -1
- package/BottomNavigation/BottomNavigation.js +1 -1
- package/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/Box/Box.d.ts +18 -2
- package/Box/Box.js +4 -1
- package/Breadcrumbs/Breadcrumbs.js +1 -1
- package/Button/Button.js +40 -9
- package/ButtonBase/ButtonBase.js +1 -1
- package/ButtonGroup/ButtonGroup.js +23 -27
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -0
- package/ButtonGroup/ButtonGroupContext.js +12 -0
- package/CHANGELOG.md +274 -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 +2 -2
- package/Checkbox/Checkbox.js +1 -1
- package/Chip/Chip.js +6 -5
- package/CircularProgress/CircularProgress.js +1 -1
- package/ClickAwayListener/index.d.ts +2 -2
- package/ClickAwayListener/index.js +2 -2
- package/Collapse/Collapse.js +1 -1
- package/Container/Container.js +1 -1
- package/CssBaseline/CssBaseline.d.ts +7 -0
- package/CssBaseline/CssBaseline.js +20 -12
- package/Dialog/Dialog.d.ts +1 -1
- package/Dialog/Dialog.js +1 -1
- package/DialogActions/DialogActions.js +1 -1
- package/DialogContent/DialogContent.js +3 -2
- 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/Fade/Fade.js +1 -1
- package/FilledInput/FilledInput.js +1 -1
- package/FormControl/FormControl.js +1 -1
- package/FormControlLabel/FormControlLabel.d.ts +2 -2
- package/FormControlLabel/FormControlLabel.js +3 -3
- package/FormGroup/FormGroup.js +1 -1
- package/FormHelperText/FormHelperText.js +1 -1
- package/FormLabel/FormLabel.js +1 -1
- package/Grid/Grid.d.ts +31 -11
- package/Grid/Grid.js +61 -26
- package/Grow/Grow.d.ts +1 -1
- package/Grow/Grow.js +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.js +6 -12
- 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 +1 -1
- 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.js +1 -1
- package/MenuItem/MenuItem.js +5 -2
- package/MobileStepper/MobileStepper.js +1 -1
- package/Modal/Modal.js +1 -1
- package/NativeSelect/NativeSelect.js +1 -1
- package/OutlinedInput/NotchedOutline.js +6 -1
- package/OutlinedInput/OutlinedInput.js +1 -1
- package/Pagination/Pagination.js +1 -1
- package/PaginationItem/PaginationItem.d.ts +15 -0
- package/PaginationItem/PaginationItem.js +35 -14
- package/Paper/Paper.js +1 -1
- package/Popover/Popover.d.ts +1 -1
- package/Popover/Popover.js +1 -1
- package/Popper/index.d.ts +2 -2
- package/Popper/index.js +1 -1
- package/Radio/Radio.js +1 -1
- package/RadioGroup/RadioGroupContext.d.ts +11 -0
- package/RadioGroup/RadioGroupContext.js +2 -2
- package/RadioGroup/useRadioGroup.d.ts +4 -5
- package/Rating/Rating.js +1 -2
- package/ScopedCssBaseline/ScopedCssBaseline.d.ts +6 -0
- package/ScopedCssBaseline/ScopedCssBaseline.js +21 -11
- package/Select/Select.js +1 -1
- package/Skeleton/Skeleton.js +1 -1
- package/Slide/Slide.d.ts +1 -1
- package/Slide/Slide.js +1 -1
- package/Slider/Slider.js +1 -1
- package/Snackbar/Snackbar.d.ts +2 -2
- package/Snackbar/Snackbar.js +2 -2
- package/SnackbarContent/SnackbarContent.js +1 -1
- package/SpeedDial/SpeedDial.js +1 -1
- package/SpeedDialAction/SpeedDialAction.js +1 -1
- package/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/Stack/Stack.js +5 -2
- package/Step/Step.js +1 -1
- package/StepButton/StepButton.js +1 -1
- package/StepConnector/StepConnector.js +1 -1
- package/StepContent/StepContent.js +1 -1
- 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.d.ts +6 -0
- package/Tab/Tab.js +34 -10
- package/Tab/tabClasses.d.ts +2 -0
- package/Tab/tabClasses.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.js +1 -1
- package/TextField/TextField.js +1 -1
- package/TextareaAutosize/index.d.ts +2 -2
- package/TextareaAutosize/index.js +1 -1
- package/ToggleButton/ToggleButton.js +1 -1
- package/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/Toolbar/Toolbar.js +1 -1
- package/Tooltip/Tooltip.d.ts +5 -3
- package/Tooltip/Tooltip.js +7 -5
- package/Typography/Typography.js +1 -1
- package/Zoom/Zoom.d.ts +1 -1
- package/Zoom/Zoom.js +1 -1
- package/index.d.ts +3 -0
- package/index.js +1 -1
- package/legacy/Accordion/Accordion.js +1 -1
- package/legacy/AccordionActions/AccordionActions.js +1 -1
- package/legacy/AccordionDetails/AccordionDetails.js +1 -1
- package/legacy/AccordionSummary/AccordionSummary.js +1 -1
- package/legacy/Alert/Alert.js +1 -1
- package/legacy/AlertTitle/AlertTitle.js +1 -1
- package/legacy/AppBar/AppBar.js +1 -1
- package/legacy/Autocomplete/Autocomplete.js +35 -32
- package/legacy/Avatar/Avatar.js +1 -1
- package/legacy/AvatarGroup/AvatarGroup.js +3 -3
- package/legacy/Backdrop/Backdrop.js +1 -1
- package/legacy/Badge/Badge.js +1 -1
- package/legacy/BottomNavigation/BottomNavigation.js +1 -1
- package/legacy/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/legacy/Box/Box.js +4 -1
- package/legacy/Breadcrumbs/Breadcrumbs.js +1 -1
- package/legacy/Button/Button.js +40 -16
- package/legacy/ButtonBase/ButtonBase.js +1 -1
- package/legacy/ButtonGroup/ButtonGroup.js +25 -27
- package/legacy/ButtonGroup/ButtonGroupContext.js +12 -0
- 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 +2 -2
- package/legacy/Checkbox/Checkbox.js +1 -1
- package/legacy/Chip/Chip.js +6 -5
- package/legacy/CircularProgress/CircularProgress.js +1 -1
- package/legacy/ClickAwayListener/index.js +2 -2
- package/legacy/Collapse/Collapse.js +1 -1
- package/legacy/Container/Container.js +1 -1
- package/legacy/CssBaseline/CssBaseline.js +38 -20
- package/legacy/Dialog/Dialog.js +1 -1
- package/legacy/DialogActions/DialogActions.js +1 -1
- package/legacy/DialogContent/DialogContent.js +6 -6
- 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/Fade/Fade.js +1 -1
- package/legacy/FilledInput/FilledInput.js +1 -1
- package/legacy/FormControl/FormControl.js +1 -1
- package/legacy/FormControlLabel/FormControlLabel.js +3 -3
- 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 +62 -27
- package/legacy/Grow/Grow.js +1 -1
- 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 +6 -12
- 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 +1 -1
- 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 +1 -1
- package/legacy/MenuItem/MenuItem.js +5 -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/NotchedOutline.js +6 -1
- package/legacy/OutlinedInput/OutlinedInput.js +1 -1
- package/legacy/Pagination/Pagination.js +1 -1
- package/legacy/PaginationItem/PaginationItem.js +36 -14
- package/legacy/Paper/Paper.js +1 -1
- package/legacy/Popover/Popover.js +1 -1
- package/legacy/Popper/index.js +1 -1
- package/legacy/Radio/Radio.js +1 -1
- package/legacy/RadioGroup/RadioGroupContext.js +2 -2
- package/legacy/Rating/Rating.js +1 -2
- package/legacy/ScopedCssBaseline/ScopedCssBaseline.js +13 -4
- package/legacy/Select/Select.js +1 -1
- package/legacy/Skeleton/Skeleton.js +1 -1
- package/legacy/Slide/Slide.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 +1 -1
- package/legacy/SpeedDialAction/SpeedDialAction.js +1 -1
- package/legacy/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/legacy/Stack/Stack.js +5 -2
- 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 +1 -1
- 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 +35 -10
- package/legacy/Tab/tabClasses.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 +1 -1
- package/legacy/TextareaAutosize/index.js +1 -1
- 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 +7 -5
- package/legacy/Typography/Typography.js +1 -1
- package/legacy/Zoom/Zoom.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/styles/createPalette.js +1 -1
- package/legacy/styles/index.js +1 -1
- package/legacy/utils/index.js +2 -1
- package/modern/Accordion/Accordion.js +1 -1
- package/modern/AccordionActions/AccordionActions.js +1 -1
- package/modern/AccordionDetails/AccordionDetails.js +1 -1
- package/modern/AccordionSummary/AccordionSummary.js +1 -1
- package/modern/Alert/Alert.js +1 -1
- package/modern/AlertTitle/AlertTitle.js +1 -1
- package/modern/AppBar/AppBar.js +1 -1
- package/modern/Autocomplete/Autocomplete.js +18 -11
- package/modern/Avatar/Avatar.js +1 -1
- package/modern/AvatarGroup/AvatarGroup.js +3 -3
- package/modern/Backdrop/Backdrop.js +1 -1
- package/modern/Badge/Badge.js +1 -1
- package/modern/BottomNavigation/BottomNavigation.js +1 -1
- package/modern/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/modern/Box/Box.js +4 -1
- package/modern/Breadcrumbs/Breadcrumbs.js +1 -1
- package/modern/Button/Button.js +40 -9
- package/modern/ButtonBase/ButtonBase.js +1 -1
- package/modern/ButtonGroup/ButtonGroup.js +23 -27
- package/modern/ButtonGroup/ButtonGroupContext.js +12 -0
- 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 +2 -2
- package/modern/Checkbox/Checkbox.js +1 -1
- package/modern/Chip/Chip.js +6 -5
- package/modern/CircularProgress/CircularProgress.js +1 -1
- package/modern/ClickAwayListener/index.js +2 -2
- package/modern/Collapse/Collapse.js +1 -1
- package/modern/Container/Container.js +1 -1
- package/modern/CssBaseline/CssBaseline.js +20 -12
- package/modern/Dialog/Dialog.js +1 -1
- package/modern/DialogActions/DialogActions.js +1 -1
- package/modern/DialogContent/DialogContent.js +3 -2
- 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/Fade/Fade.js +1 -1
- package/modern/FilledInput/FilledInput.js +1 -1
- package/modern/FormControl/FormControl.js +1 -1
- package/modern/FormControlLabel/FormControlLabel.js +3 -3
- 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 +61 -26
- package/modern/Grow/Grow.js +1 -1
- 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 +6 -12
- 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 +1 -1
- 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 +1 -1
- package/modern/MenuItem/MenuItem.js +5 -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/NotchedOutline.js +6 -1
- package/modern/OutlinedInput/OutlinedInput.js +1 -1
- package/modern/Pagination/Pagination.js +1 -1
- package/modern/PaginationItem/PaginationItem.js +35 -14
- package/modern/Paper/Paper.js +1 -1
- package/modern/Popover/Popover.js +1 -1
- package/modern/Popper/index.js +1 -1
- package/modern/Radio/Radio.js +1 -1
- package/modern/RadioGroup/RadioGroupContext.js +2 -2
- package/modern/Rating/Rating.js +1 -2
- package/modern/ScopedCssBaseline/ScopedCssBaseline.js +21 -11
- package/modern/Select/Select.js +1 -1
- package/modern/Skeleton/Skeleton.js +1 -1
- package/modern/Slide/Slide.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 +1 -1
- package/modern/SpeedDialAction/SpeedDialAction.js +1 -1
- package/modern/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/modern/Stack/Stack.js +5 -2
- 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 +1 -1
- 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 +34 -10
- package/modern/Tab/tabClasses.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 +1 -1
- package/modern/TextareaAutosize/index.js +1 -1
- 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 +6 -4
- package/modern/Typography/Typography.js +1 -1
- package/modern/Zoom/Zoom.js +1 -1
- package/modern/index.js +1 -1
- package/modern/styles/createPalette.js +1 -1
- package/modern/styles/index.js +1 -1
- package/modern/utils/index.js +2 -1
- package/node/Accordion/Accordion.js +1 -1
- package/node/Accordion/accordionClasses.js +1 -1
- package/node/Accordion/index.js +4 -4
- package/node/AccordionActions/AccordionActions.js +1 -1
- package/node/AccordionActions/accordionActionsClasses.js +1 -1
- package/node/AccordionActions/index.js +4 -4
- package/node/AccordionDetails/AccordionDetails.js +1 -1
- package/node/AccordionDetails/accordionDetailsClasses.js +1 -1
- package/node/AccordionDetails/index.js +4 -4
- package/node/AccordionSummary/AccordionSummary.js +1 -1
- package/node/AccordionSummary/accordionSummaryClasses.js +1 -1
- package/node/AccordionSummary/index.js +4 -4
- package/node/Alert/Alert.js +1 -1
- package/node/Alert/alertClasses.js +1 -1
- package/node/Alert/index.js +4 -4
- package/node/AlertTitle/AlertTitle.js +1 -1
- package/node/AlertTitle/alertTitleClasses.js +1 -1
- package/node/AlertTitle/index.js +4 -4
- package/node/AppBar/AppBar.js +1 -1
- package/node/AppBar/appBarClasses.js +1 -1
- package/node/AppBar/index.js +4 -4
- package/node/Autocomplete/Autocomplete.js +22 -11
- package/node/Autocomplete/autocompleteClasses.js +1 -1
- package/node/Autocomplete/index.js +4 -4
- package/node/Avatar/Avatar.js +1 -1
- package/node/Avatar/avatarClasses.js +1 -1
- package/node/Avatar/index.js +4 -4
- package/node/AvatarGroup/AvatarGroup.js +3 -3
- package/node/AvatarGroup/avatarGroupClasses.js +1 -1
- package/node/AvatarGroup/index.js +4 -4
- package/node/Backdrop/Backdrop.js +1 -1
- package/node/Badge/Badge.js +1 -1
- package/node/BottomNavigation/BottomNavigation.js +1 -1
- package/node/BottomNavigation/bottomNavigationClasses.js +1 -1
- package/node/BottomNavigation/index.js +4 -4
- package/node/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/node/BottomNavigationAction/bottomNavigationActionClasses.js +1 -1
- package/node/BottomNavigationAction/index.js +4 -4
- package/node/Box/Box.js +5 -1
- package/node/Breadcrumbs/Breadcrumbs.js +1 -1
- package/node/Breadcrumbs/breadcrumbsClasses.js +1 -1
- package/node/Breadcrumbs/index.js +4 -4
- package/node/Button/Button.js +40 -9
- package/node/Button/buttonClasses.js +1 -1
- package/node/Button/index.js +4 -4
- package/node/ButtonBase/ButtonBase.js +1 -1
- package/node/ButtonBase/TouchRipple.js +1 -1
- package/node/ButtonBase/buttonBaseClasses.js +1 -1
- package/node/ButtonBase/index.js +4 -4
- package/node/ButtonBase/touchRippleClasses.js +1 -1
- package/node/ButtonGroup/ButtonGroup.js +24 -28
- package/node/ButtonGroup/ButtonGroupContext.js +24 -0
- package/node/ButtonGroup/buttonGroupClasses.js +1 -1
- package/node/ButtonGroup/index.js +4 -4
- package/node/Card/Card.js +1 -1
- package/node/Card/cardClasses.js +1 -1
- package/node/Card/index.js +4 -4
- package/node/CardActionArea/CardActionArea.js +1 -1
- package/node/CardActionArea/cardActionAreaClasses.js +1 -1
- package/node/CardActionArea/index.js +4 -4
- package/node/CardActions/CardActions.js +1 -1
- package/node/CardActions/cardActionsClasses.js +1 -1
- package/node/CardActions/index.js +4 -4
- package/node/CardContent/CardContent.js +1 -1
- package/node/CardContent/cardContentClasses.js +1 -1
- package/node/CardContent/index.js +4 -4
- package/node/CardHeader/CardHeader.js +1 -1
- package/node/CardHeader/cardHeaderClasses.js +1 -1
- package/node/CardHeader/index.js +4 -4
- package/node/CardMedia/CardMedia.js +2 -2
- package/node/CardMedia/cardMediaClasses.js +1 -1
- package/node/CardMedia/index.js +4 -4
- package/node/Checkbox/Checkbox.js +1 -1
- package/node/Checkbox/checkboxClasses.js +1 -1
- package/node/Checkbox/index.js +4 -4
- package/node/Chip/Chip.js +6 -5
- package/node/Chip/chipClasses.js +1 -1
- package/node/Chip/index.js +4 -4
- package/node/CircularProgress/CircularProgress.js +1 -1
- package/node/CircularProgress/circularProgressClasses.js +1 -1
- package/node/CircularProgress/index.js +4 -4
- package/node/ClickAwayListener/index.js +1 -1
- package/node/Collapse/Collapse.js +1 -1
- package/node/Collapse/collapseClasses.js +1 -1
- package/node/Collapse/index.js +4 -4
- package/node/Container/Container.js +1 -1
- package/node/Container/containerClasses.js +1 -1
- package/node/Container/index.js +4 -4
- package/node/CssBaseline/CssBaseline.js +23 -13
- package/node/Dialog/Dialog.js +1 -1
- package/node/Dialog/dialogClasses.js +1 -1
- package/node/DialogActions/DialogActions.js +1 -1
- package/node/DialogActions/dialogActionsClasses.js +1 -1
- package/node/DialogContent/DialogContent.js +4 -2
- package/node/DialogContent/dialogContentClasses.js +1 -1
- package/node/DialogContentText/DialogContentText.js +1 -1
- package/node/DialogContentText/dialogContentTextClasses.js +1 -1
- package/node/DialogTitle/DialogTitle.js +1 -1
- package/node/DialogTitle/dialogTitleClasses.js +1 -1
- package/node/Divider/Divider.js +1 -1
- package/node/Divider/dividerClasses.js +1 -1
- package/node/Drawer/Drawer.js +3 -3
- package/node/Drawer/drawerClasses.js +1 -1
- package/node/Fab/Fab.js +1 -1
- package/node/Fab/fabClasses.js +1 -1
- package/node/Fade/Fade.js +1 -1
- package/node/FilledInput/FilledInput.js +1 -1
- package/node/FilledInput/filledInputClasses.js +1 -1
- package/node/FormControl/FormControl.js +1 -1
- package/node/FormControl/formControlClasses.js +1 -1
- package/node/FormControl/index.js +4 -4
- package/node/FormControlLabel/FormControlLabel.js +3 -3
- package/node/FormControlLabel/formControlLabelClasses.js +1 -1
- package/node/FormGroup/FormGroup.js +1 -1
- package/node/FormGroup/formGroupClasses.js +1 -1
- package/node/FormHelperText/FormHelperText.js +1 -1
- package/node/FormHelperText/formHelperTextClasses.js +1 -1
- package/node/FormLabel/FormLabel.js +1 -1
- package/node/FormLabel/formLabelClasses.js +1 -1
- package/node/Grid/Grid.js +63 -26
- package/node/Grid/gridClasses.js +1 -1
- package/node/Grow/Grow.js +1 -1
- package/node/Hidden/hiddenCssClasses.js +1 -1
- package/node/Hidden/withWidth.js +1 -1
- package/node/Icon/Icon.js +1 -1
- package/node/Icon/iconClasses.js +1 -1
- package/node/IconButton/IconButton.js +1 -1
- package/node/IconButton/iconButtonClasses.js +1 -1
- package/node/ImageList/ImageList.js +1 -1
- package/node/ImageList/imageListClasses.js +1 -1
- package/node/ImageListItem/ImageListItem.js +1 -1
- package/node/ImageListItem/imageListItemClasses.js +1 -1
- package/node/ImageListItemBar/ImageListItemBar.js +1 -1
- package/node/ImageListItemBar/imageListItemBarClasses.js +1 -1
- package/node/Input/Input.js +1 -1
- package/node/Input/inputClasses.js +1 -1
- package/node/InputAdornment/InputAdornment.js +1 -1
- package/node/InputAdornment/inputAdornmentClasses.js +1 -1
- package/node/InputBase/InputBase.js +7 -15
- package/node/InputBase/inputBaseClasses.js +1 -1
- package/node/InputBase/utils.js +1 -1
- package/node/InputLabel/InputLabel.js +1 -1
- package/node/InputLabel/inputLabelClasses.js +1 -1
- package/node/LinearProgress/LinearProgress.js +1 -1
- package/node/LinearProgress/linearProgressClasses.js +1 -1
- package/node/Link/Link.js +1 -1
- package/node/Link/linkClasses.js +1 -1
- package/node/List/List.js +1 -1
- package/node/List/listClasses.js +1 -1
- package/node/ListItem/ListItem.js +2 -2
- package/node/ListItem/listItemClasses.js +1 -1
- package/node/ListItemAvatar/ListItemAvatar.js +1 -1
- package/node/ListItemAvatar/listItemAvatarClasses.js +1 -1
- package/node/ListItemButton/ListItemButton.js +2 -2
- package/node/ListItemButton/listItemButtonClasses.js +1 -1
- package/node/ListItemIcon/ListItemIcon.js +1 -1
- package/node/ListItemIcon/listItemIconClasses.js +1 -1
- package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/node/ListItemSecondaryAction/listItemSecondaryActionClasses.js +1 -1
- package/node/ListItemText/ListItemText.js +1 -1
- package/node/ListItemText/listItemTextClasses.js +1 -1
- package/node/ListSubheader/ListSubheader.js +1 -1
- package/node/ListSubheader/listSubheaderClasses.js +1 -1
- package/node/Menu/Menu.js +1 -1
- package/node/Menu/menuClasses.js +1 -1
- package/node/MenuItem/MenuItem.js +6 -3
- package/node/MenuItem/menuItemClasses.js +1 -1
- package/node/MobileStepper/MobileStepper.js +1 -1
- package/node/MobileStepper/mobileStepperClasses.js +1 -1
- package/node/Modal/Modal.js +2 -2
- package/node/NativeSelect/NativeSelect.js +1 -1
- package/node/NativeSelect/NativeSelectInput.js +1 -1
- package/node/NativeSelect/nativeSelectClasses.js +1 -1
- package/node/OutlinedInput/NotchedOutline.js +6 -1
- package/node/OutlinedInput/OutlinedInput.js +1 -1
- package/node/OutlinedInput/outlinedInputClasses.js +1 -1
- package/node/Pagination/Pagination.js +1 -1
- package/node/Pagination/paginationClasses.js +1 -1
- package/node/PaginationItem/PaginationItem.js +35 -14
- package/node/PaginationItem/paginationItemClasses.js +1 -1
- package/node/Paper/Paper.js +1 -1
- package/node/Paper/paperClasses.js +1 -1
- package/node/Popover/Popover.js +3 -3
- package/node/Popover/popoverClasses.js +1 -1
- package/node/Popper/index.js +1 -1
- package/node/Radio/Radio.js +1 -1
- package/node/Radio/radioClasses.js +1 -1
- package/node/RadioGroup/RadioGroupContext.js +1 -1
- package/node/Rating/Rating.js +1 -2
- package/node/Rating/ratingClasses.js +1 -1
- package/node/ScopedCssBaseline/ScopedCssBaseline.js +21 -11
- package/node/ScopedCssBaseline/scopedCssBaselineClasses.js +1 -1
- package/node/Select/Select.js +1 -1
- package/node/Select/selectClasses.js +1 -1
- package/node/Skeleton/Skeleton.js +1 -1
- package/node/Skeleton/skeletonClasses.js +1 -1
- package/node/Slide/Slide.js +2 -2
- package/node/Slider/Slider.js +2 -2
- package/node/Snackbar/Snackbar.js +3 -3
- package/node/Snackbar/snackbarClasses.js +1 -1
- package/node/SnackbarContent/SnackbarContent.js +1 -1
- package/node/SnackbarContent/snackbarContentClasses.js +1 -1
- package/node/SpeedDial/SpeedDial.js +1 -1
- package/node/SpeedDial/speedDialClasses.js +1 -1
- package/node/SpeedDialAction/SpeedDialAction.js +1 -1
- package/node/SpeedDialAction/speedDialActionClasses.js +1 -1
- package/node/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/node/SpeedDialIcon/speedDialIconClasses.js +1 -1
- package/node/Stack/Stack.js +6 -3
- package/node/Step/Step.js +1 -1
- package/node/Step/stepClasses.js +1 -1
- package/node/StepButton/StepButton.js +1 -1
- package/node/StepButton/stepButtonClasses.js +1 -1
- package/node/StepConnector/StepConnector.js +1 -1
- package/node/StepConnector/stepConnectorClasses.js +1 -1
- package/node/StepContent/StepContent.js +1 -1
- package/node/StepContent/stepContentClasses.js +1 -1
- package/node/StepIcon/StepIcon.js +1 -1
- package/node/StepIcon/stepIconClasses.js +1 -1
- package/node/StepLabel/StepLabel.js +1 -1
- package/node/StepLabel/stepLabelClasses.js +1 -1
- package/node/Stepper/Stepper.js +1 -1
- package/node/Stepper/stepperClasses.js +1 -1
- package/node/SvgIcon/SvgIcon.js +1 -1
- package/node/SvgIcon/svgIconClasses.js +1 -1
- package/node/SwipeableDrawer/SwipeableDrawer.js +1 -1
- package/node/Switch/Switch.js +1 -1
- package/node/Switch/switchClasses.js +1 -1
- package/node/Tab/Tab.js +34 -10
- package/node/Tab/tabClasses.js +2 -2
- package/node/TabScrollButton/TabScrollButton.js +1 -1
- package/node/TabScrollButton/tabScrollButtonClasses.js +1 -1
- package/node/Table/Table.js +1 -1
- package/node/Table/tableClasses.js +1 -1
- package/node/TableBody/TableBody.js +1 -1
- package/node/TableBody/tableBodyClasses.js +1 -1
- package/node/TableCell/TableCell.js +1 -1
- package/node/TableCell/tableCellClasses.js +1 -1
- package/node/TableContainer/TableContainer.js +1 -1
- package/node/TableContainer/tableContainerClasses.js +1 -1
- package/node/TableFooter/TableFooter.js +1 -1
- package/node/TableFooter/tableFooterClasses.js +1 -1
- package/node/TableHead/TableHead.js +1 -1
- package/node/TableHead/tableHeadClasses.js +1 -1
- package/node/TablePagination/TablePagination.js +1 -1
- package/node/TablePagination/tablePaginationClasses.js +1 -1
- package/node/TableRow/TableRow.js +1 -1
- package/node/TableRow/tableRowClasses.js +1 -1
- package/node/TableSortLabel/TableSortLabel.js +1 -1
- package/node/TableSortLabel/tableSortLabelClasses.js +1 -1
- package/node/Tabs/Tabs.js +1 -1
- package/node/Tabs/tabsClasses.js +1 -1
- package/node/TextField/TextField.js +1 -1
- package/node/TextField/textFieldClasses.js +1 -1
- package/node/TextareaAutosize/index.js +1 -1
- package/node/ToggleButton/ToggleButton.js +1 -1
- package/node/ToggleButton/toggleButtonClasses.js +1 -1
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/node/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
- package/node/Toolbar/Toolbar.js +1 -1
- package/node/Toolbar/toolbarClasses.js +1 -1
- package/node/Tooltip/Tooltip.js +8 -6
- package/node/Tooltip/tooltipClasses.js +1 -1
- package/node/Typography/Typography.js +1 -1
- package/node/Typography/typographyClasses.js +1 -1
- package/node/Zoom/Zoom.js +1 -1
- package/node/colors/index.js +40 -40
- package/node/index.js +32 -32
- package/node/internal/switchBaseClasses.js +1 -1
- package/node/locale/index.js +1 -1
- package/node/styles/createPalette.js +3 -2
- package/node/styles/createTransitions.js +1 -1
- package/node/styles/cssUtils.js +4 -4
- package/node/styles/index.js +66 -54
- package/node/styles/styled.js +1 -1
- package/node/useAutocomplete/index.js +4 -4
- package/node/utils/index.js +9 -1
- package/package.json +9 -9
- package/styles/components.d.ts +0 -3
- package/styles/createPalette.js +1 -1
- package/styles/index.d.ts +4 -0
- package/styles/index.js +1 -1
- package/umd/material-ui.development.js +9065 -8295
- package/umd/material-ui.production.min.js +21 -21
- package/utils/index.d.ts +1 -0
- package/utils/index.js +2 -1
- package/ClickAwayListener/ClickAwayListener.d.ts +0 -47
- package/ClickAwayListener/ClickAwayListener.js +0 -196
- package/Popper/Popper.d.ts +0 -97
- package/Popper/Popper.js +0 -354
- package/TextareaAutosize/TextareaAutosize.d.ts +0 -27
- package/TextareaAutosize/TextareaAutosize.js +0 -224
- package/legacy/ClickAwayListener/ClickAwayListener.js +0 -199
- package/legacy/Popper/Popper.js +0 -359
- package/legacy/TextareaAutosize/TextareaAutosize.js +0 -226
- package/modern/ClickAwayListener/ClickAwayListener.js +0 -196
- package/modern/Popper/Popper.js +0 -354
- package/modern/TextareaAutosize/TextareaAutosize.js +0 -224
- package/node/ClickAwayListener/ClickAwayListener.js +0 -216
- package/node/Popper/Popper.js +0 -378
- package/node/TextareaAutosize/TextareaAutosize.js +0 -245
package/node/Fab/fabClasses.js
CHANGED
package/node/Fade/Fade.js
CHANGED
|
@@ -182,7 +182,7 @@ process.env.NODE_ENV !== "production" ? Fade.propTypes
|
|
|
182
182
|
/**
|
|
183
183
|
* A single child content element.
|
|
184
184
|
*/
|
|
185
|
-
children: _utils.elementAcceptingRef,
|
|
185
|
+
children: _utils.elementAcceptingRef.isRequired,
|
|
186
186
|
|
|
187
187
|
/**
|
|
188
188
|
* The transition timing function.
|
|
@@ -411,7 +411,7 @@ process.env.NODE_ENV !== "production" ? FilledInput.propTypes
|
|
|
411
411
|
/**
|
|
412
412
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
413
413
|
*/
|
|
414
|
-
sx: _propTypes.default.object,
|
|
414
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
415
415
|
|
|
416
416
|
/**
|
|
417
417
|
* Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.getFilledInputUtilityClass = getFilledInputUtilityClass;
|
|
7
6
|
exports.default = void 0;
|
|
7
|
+
exports.getFilledInputUtilityClass = getFilledInputUtilityClass;
|
|
8
8
|
|
|
9
9
|
var _core = require("@mui/core");
|
|
10
10
|
|
|
@@ -338,7 +338,7 @@ process.env.NODE_ENV !== "production" ? FormControl.propTypes
|
|
|
338
338
|
/**
|
|
339
339
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
340
340
|
*/
|
|
341
|
-
sx: _propTypes.default.object,
|
|
341
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
342
342
|
|
|
343
343
|
/**
|
|
344
344
|
* The variant to use.
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.getFormControlUtilityClasses = getFormControlUtilityClasses;
|
|
7
6
|
exports.default = void 0;
|
|
7
|
+
exports.getFormControlUtilityClasses = getFormControlUtilityClasses;
|
|
8
8
|
|
|
9
9
|
var _core = require("@mui/core");
|
|
10
10
|
|
|
@@ -15,16 +15,16 @@ Object.defineProperty(exports, "default", {
|
|
|
15
15
|
return _FormControl.default;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
Object.defineProperty(exports, "
|
|
18
|
+
Object.defineProperty(exports, "formControlClasses", {
|
|
19
19
|
enumerable: true,
|
|
20
20
|
get: function () {
|
|
21
|
-
return
|
|
21
|
+
return _formControlClasses.default;
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
|
-
Object.defineProperty(exports, "
|
|
24
|
+
Object.defineProperty(exports, "useFormControl", {
|
|
25
25
|
enumerable: true,
|
|
26
26
|
get: function () {
|
|
27
|
-
return
|
|
27
|
+
return _useFormControl.default;
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
30
|
|
|
@@ -208,9 +208,9 @@ process.env.NODE_ENV !== "production" ? FormControlLabel.propTypes
|
|
|
208
208
|
inputRef: _utils.refType,
|
|
209
209
|
|
|
210
210
|
/**
|
|
211
|
-
*
|
|
211
|
+
* A text or an element to be used in an enclosing label element.
|
|
212
212
|
*/
|
|
213
|
-
label: _propTypes.default.
|
|
213
|
+
label: _propTypes.default.oneOfType([_propTypes.default.element, _propTypes.default.number, _propTypes.default.string]).isRequired,
|
|
214
214
|
|
|
215
215
|
/**
|
|
216
216
|
* The position of the label.
|
|
@@ -234,7 +234,7 @@ process.env.NODE_ENV !== "production" ? FormControlLabel.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.object,
|
|
237
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
238
238
|
|
|
239
239
|
/**
|
|
240
240
|
* The value of the component.
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.getFormControlLabelUtilityClasses = getFormControlLabelUtilityClasses;
|
|
7
6
|
exports.default = void 0;
|
|
7
|
+
exports.getFormControlLabelUtilityClasses = getFormControlLabelUtilityClasses;
|
|
8
8
|
|
|
9
9
|
var _core = require("@mui/core");
|
|
10
10
|
|
|
@@ -120,7 +120,7 @@ process.env.NODE_ENV !== "production" ? FormGroup.propTypes
|
|
|
120
120
|
/**
|
|
121
121
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
122
122
|
*/
|
|
123
|
-
sx: _propTypes.default.object
|
|
123
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
124
124
|
} : void 0;
|
|
125
125
|
var _default = FormGroup;
|
|
126
126
|
exports.default = _default;
|
|
@@ -200,7 +200,7 @@ process.env.NODE_ENV !== "production" ? FormHelperText.propTypes
|
|
|
200
200
|
/**
|
|
201
201
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
202
202
|
*/
|
|
203
|
-
sx: _propTypes.default.object,
|
|
203
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
204
204
|
|
|
205
205
|
/**
|
|
206
206
|
* The variant to use.
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.getFormHelperTextUtilityClasses = getFormHelperTextUtilityClasses;
|
|
7
6
|
exports.default = void 0;
|
|
7
|
+
exports.getFormHelperTextUtilityClasses = getFormHelperTextUtilityClasses;
|
|
8
8
|
|
|
9
9
|
var _core = require("@mui/core");
|
|
10
10
|
|
|
@@ -200,7 +200,7 @@ process.env.NODE_ENV !== "production" ? FormLabel.propTypes
|
|
|
200
200
|
/**
|
|
201
201
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
202
202
|
*/
|
|
203
|
-
sx: _propTypes.default.object
|
|
203
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
204
204
|
} : void 0;
|
|
205
205
|
var _default = FormLabel;
|
|
206
206
|
exports.default = _default;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.getFormLabelUtilityClasses = getFormLabelUtilityClasses;
|
|
7
6
|
exports.default = void 0;
|
|
7
|
+
exports.getFormLabelUtilityClasses = getFormLabelUtilityClasses;
|
|
8
8
|
|
|
9
9
|
var _core = require("@mui/core");
|
|
10
10
|
|
package/node/Grid/Grid.js
CHANGED
|
@@ -5,9 +5,10 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.generateRowGap = generateRowGap;
|
|
9
|
-
exports.generateColumnGap = generateColumnGap;
|
|
10
8
|
exports.default = void 0;
|
|
9
|
+
exports.generateColumnGap = generateColumnGap;
|
|
10
|
+
exports.generateDirection = generateDirection;
|
|
11
|
+
exports.generateRowGap = generateRowGap;
|
|
11
12
|
|
|
12
13
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
13
14
|
|
|
@@ -73,10 +74,11 @@ function generateGrid(globalStyles, theme, breakpoint, ownerState) {
|
|
|
73
74
|
} else {
|
|
74
75
|
const columnsBreakpointValues = (0, _system.unstable_resolveBreakpointValues)({
|
|
75
76
|
values: ownerState.columns,
|
|
76
|
-
|
|
77
|
-
});
|
|
77
|
+
breakpoints: theme.breakpoints.values
|
|
78
|
+
});
|
|
79
|
+
const columnValue = typeof columnsBreakpointValues === 'object' ? columnsBreakpointValues[breakpoint] : columnsBreakpointValues; // Keep 7 significant numbers.
|
|
78
80
|
|
|
79
|
-
const width = `${Math.round(size /
|
|
81
|
+
const width = `${Math.round(size / columnValue * 10e7) / 10e5}%`;
|
|
80
82
|
let more = {};
|
|
81
83
|
|
|
82
84
|
if (ownerState.container && ownerState.item && ownerState.columnSpacing !== 0) {
|
|
@@ -112,9 +114,13 @@ function generateDirection({
|
|
|
112
114
|
theme,
|
|
113
115
|
ownerState
|
|
114
116
|
}) {
|
|
117
|
+
const directionValues = (0, _system.unstable_resolveBreakpointValues)({
|
|
118
|
+
values: ownerState.direction,
|
|
119
|
+
breakpoints: theme.breakpoints.values
|
|
120
|
+
});
|
|
115
121
|
return (0, _system.handleBreakpoints)({
|
|
116
122
|
theme
|
|
117
|
-
},
|
|
123
|
+
}, directionValues, propValue => {
|
|
118
124
|
const output = {
|
|
119
125
|
flexDirection: propValue
|
|
120
126
|
};
|
|
@@ -140,9 +146,13 @@ function generateRowGap({
|
|
|
140
146
|
let styles = {};
|
|
141
147
|
|
|
142
148
|
if (container && rowSpacing !== 0) {
|
|
149
|
+
const rowSpacingValues = (0, _system.unstable_resolveBreakpointValues)({
|
|
150
|
+
values: rowSpacing,
|
|
151
|
+
breakpoints: theme.breakpoints.values
|
|
152
|
+
});
|
|
143
153
|
styles = (0, _system.handleBreakpoints)({
|
|
144
154
|
theme
|
|
145
|
-
},
|
|
155
|
+
}, rowSpacingValues, propValue => {
|
|
146
156
|
const themeSpacing = theme.spacing(propValue);
|
|
147
157
|
|
|
148
158
|
if (themeSpacing !== '0px') {
|
|
@@ -172,9 +182,13 @@ function generateColumnGap({
|
|
|
172
182
|
let styles = {};
|
|
173
183
|
|
|
174
184
|
if (container && columnSpacing !== 0) {
|
|
185
|
+
const columnSpacingValues = (0, _system.unstable_resolveBreakpointValues)({
|
|
186
|
+
values: columnSpacing,
|
|
187
|
+
breakpoints: theme.breakpoints.values
|
|
188
|
+
});
|
|
175
189
|
styles = (0, _system.handleBreakpoints)({
|
|
176
190
|
theme
|
|
177
|
-
},
|
|
191
|
+
}, columnSpacingValues, propValue => {
|
|
178
192
|
const themeSpacing = theme.spacing(propValue);
|
|
179
193
|
|
|
180
194
|
if (themeSpacing !== '0px') {
|
|
@@ -274,7 +288,7 @@ const Grid = /*#__PURE__*/React.forwardRef(function Grid(inProps, ref) {
|
|
|
274
288
|
const props = (0, _system.unstable_extendSxProp)(themeProps);
|
|
275
289
|
const {
|
|
276
290
|
className,
|
|
277
|
-
columns: columnsProp
|
|
291
|
+
columns: columnsProp,
|
|
278
292
|
columnSpacing: columnSpacingProp,
|
|
279
293
|
component = 'div',
|
|
280
294
|
container = false,
|
|
@@ -293,7 +307,10 @@ const Grid = /*#__PURE__*/React.forwardRef(function Grid(inProps, ref) {
|
|
|
293
307
|
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
294
308
|
const rowSpacing = rowSpacingProp || spacing;
|
|
295
309
|
const columnSpacing = columnSpacingProp || spacing;
|
|
296
|
-
const
|
|
310
|
+
const columnsContext = React.useContext(_GridContext.default); // setting prop before context to accomodate nesting
|
|
311
|
+
// colums set with default breakpoint unit of 12
|
|
312
|
+
|
|
313
|
+
const columns = columnsProp || columnsContext || 12;
|
|
297
314
|
const ownerState = (0, _extends2.default)({}, props, {
|
|
298
315
|
columns,
|
|
299
316
|
container,
|
|
@@ -386,18 +403,26 @@ process.env.NODE_ENV !== "production" ? Grid.propTypes
|
|
|
386
403
|
item: _propTypes.default.bool,
|
|
387
404
|
|
|
388
405
|
/**
|
|
389
|
-
*
|
|
390
|
-
* It'
|
|
406
|
+
* If a number, it sets the number of columns the grid item uses.
|
|
407
|
+
* It can't be greater than the total number of columns of the container (12 by default).
|
|
408
|
+
* If 'auto', the grid item's width matches its content.
|
|
409
|
+
* If false, the prop is ignored.
|
|
410
|
+
* If true, the grid item's width grows to use the space available in the grid container.
|
|
411
|
+
* The value is applied for the `lg` breakpoint and wider screens if not overridden.
|
|
391
412
|
* @default false
|
|
392
413
|
*/
|
|
393
|
-
lg: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto'
|
|
414
|
+
lg: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number, _propTypes.default.bool]),
|
|
394
415
|
|
|
395
416
|
/**
|
|
396
|
-
*
|
|
397
|
-
* It'
|
|
417
|
+
* If a number, it sets the number of columns the grid item uses.
|
|
418
|
+
* It can't be greater than the total number of columns of the container (12 by default).
|
|
419
|
+
* If 'auto', the grid item's width matches its content.
|
|
420
|
+
* If false, the prop is ignored.
|
|
421
|
+
* If true, the grid item's width grows to use the space available in the grid container.
|
|
422
|
+
* The value is applied for the `md` breakpoint and wider screens if not overridden.
|
|
398
423
|
* @default false
|
|
399
424
|
*/
|
|
400
|
-
md: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto'
|
|
425
|
+
md: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number, _propTypes.default.bool]),
|
|
401
426
|
|
|
402
427
|
/**
|
|
403
428
|
* Defines the vertical space between the type `item` components.
|
|
@@ -406,11 +431,15 @@ process.env.NODE_ENV !== "production" ? Grid.propTypes
|
|
|
406
431
|
rowSpacing: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string])), _propTypes.default.number, _propTypes.default.object, _propTypes.default.string]),
|
|
407
432
|
|
|
408
433
|
/**
|
|
409
|
-
*
|
|
410
|
-
* It'
|
|
434
|
+
* If a number, it sets the number of columns the grid item uses.
|
|
435
|
+
* It can't be greater than the total number of columns of the container (12 by default).
|
|
436
|
+
* If 'auto', the grid item's width matches its content.
|
|
437
|
+
* If false, the prop is ignored.
|
|
438
|
+
* If true, the grid item's width grows to use the space available in the grid container.
|
|
439
|
+
* The value is applied for the `sm` breakpoint and wider screens if not overridden.
|
|
411
440
|
* @default false
|
|
412
441
|
*/
|
|
413
|
-
sm: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto'
|
|
442
|
+
sm: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number, _propTypes.default.bool]),
|
|
414
443
|
|
|
415
444
|
/**
|
|
416
445
|
* Defines the space between the type `item` components.
|
|
@@ -422,7 +451,7 @@ process.env.NODE_ENV !== "production" ? Grid.propTypes
|
|
|
422
451
|
/**
|
|
423
452
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
424
453
|
*/
|
|
425
|
-
sx: _propTypes.default.object,
|
|
454
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
426
455
|
|
|
427
456
|
/**
|
|
428
457
|
* Defines the `flex-wrap` style property.
|
|
@@ -432,18 +461,26 @@ process.env.NODE_ENV !== "production" ? Grid.propTypes
|
|
|
432
461
|
wrap: _propTypes.default.oneOf(['nowrap', 'wrap-reverse', 'wrap']),
|
|
433
462
|
|
|
434
463
|
/**
|
|
435
|
-
*
|
|
436
|
-
* It'
|
|
464
|
+
* If a number, it sets the number of columns the grid item uses.
|
|
465
|
+
* It can't be greater than the total number of columns of the container (12 by default).
|
|
466
|
+
* If 'auto', the grid item's width matches its content.
|
|
467
|
+
* If false, the prop is ignored.
|
|
468
|
+
* If true, the grid item's width grows to use the space available in the grid container.
|
|
469
|
+
* The value is applied for the `xl` breakpoint and wider screens if not overridden.
|
|
437
470
|
* @default false
|
|
438
471
|
*/
|
|
439
|
-
xl: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto'
|
|
472
|
+
xl: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number, _propTypes.default.bool]),
|
|
440
473
|
|
|
441
474
|
/**
|
|
442
|
-
*
|
|
443
|
-
* It'
|
|
475
|
+
* If a number, it sets the number of columns the grid item uses.
|
|
476
|
+
* It can't be greater than the total number of columns of the container (12 by default).
|
|
477
|
+
* If 'auto', the grid item's width matches its content.
|
|
478
|
+
* If false, the prop is ignored.
|
|
479
|
+
* If true, the grid item's width grows to use the space available in the grid container.
|
|
480
|
+
* The value is applied for all the screen sizes with the lowest priority.
|
|
444
481
|
* @default false
|
|
445
482
|
*/
|
|
446
|
-
xs: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto'
|
|
483
|
+
xs: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number, _propTypes.default.bool]),
|
|
447
484
|
|
|
448
485
|
/**
|
|
449
486
|
* If `true`, it sets `min-width: 0` on the item.
|
package/node/Grid/gridClasses.js
CHANGED
package/node/Grow/Grow.js
CHANGED
|
@@ -234,7 +234,7 @@ process.env.NODE_ENV !== "production" ? Grow.propTypes
|
|
|
234
234
|
/**
|
|
235
235
|
* A single child content element.
|
|
236
236
|
*/
|
|
237
|
-
children: _utils.elementAcceptingRef,
|
|
237
|
+
children: _utils.elementAcceptingRef.isRequired,
|
|
238
238
|
|
|
239
239
|
/**
|
|
240
240
|
* The transition timing function.
|
package/node/Hidden/withWidth.js
CHANGED
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.isWidthUp = exports.isWidthDown = exports.default = void 0;
|
|
9
9
|
|
|
10
10
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
11
|
|
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.object
|
|
178
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
179
179
|
} : void 0;
|
|
180
180
|
Icon.muiName = 'Icon';
|
|
181
181
|
var _default = Icon;
|
package/node/Icon/iconClasses.js
CHANGED
|
@@ -236,7 +236,7 @@ process.env.NODE_ENV !== "production" ? IconButton.propTypes
|
|
|
236
236
|
/**
|
|
237
237
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
238
238
|
*/
|
|
239
|
-
sx: _propTypes.default.object
|
|
239
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
240
240
|
} : void 0;
|
|
241
241
|
var _default = IconButton;
|
|
242
242
|
exports.default = _default;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.getIconButtonUtilityClass = getIconButtonUtilityClass;
|
|
7
6
|
exports.default = void 0;
|
|
7
|
+
exports.getIconButtonUtilityClass = getIconButtonUtilityClass;
|
|
8
8
|
|
|
9
9
|
var _core = require("@mui/core");
|
|
10
10
|
|
|
@@ -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.object,
|
|
187
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _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.object
|
|
212
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
213
213
|
} : void 0;
|
|
214
214
|
var _default = ImageListItem;
|
|
215
215
|
exports.default = _default;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.getImageListItemUtilityClass = getImageListItemUtilityClass;
|
|
7
6
|
exports.default = void 0;
|
|
7
|
+
exports.getImageListItemUtilityClass = getImageListItemUtilityClass;
|
|
8
8
|
|
|
9
9
|
var _core = require("@mui/core");
|
|
10
10
|
|
|
@@ -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.object,
|
|
249
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
250
250
|
|
|
251
251
|
/**
|
|
252
252
|
* Title to be displayed.
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.getImageListItemBarUtilityClass = getImageListItemBarUtilityClass;
|
|
7
6
|
exports.default = void 0;
|
|
7
|
+
exports.getImageListItemBarUtilityClass = getImageListItemBarUtilityClass;
|
|
8
8
|
|
|
9
9
|
var _core = require("@mui/core");
|
|
10
10
|
|
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.object,
|
|
342
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _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.object,
|
|
212
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
213
213
|
|
|
214
214
|
/**
|
|
215
215
|
* The variant to use.
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.getInputAdornmentUtilityClass = getInputAdornmentUtilityClass;
|
|
7
6
|
exports.default = void 0;
|
|
7
|
+
exports.getInputAdornmentUtilityClass = getInputAdornmentUtilityClass;
|
|
8
8
|
|
|
9
9
|
var _core = require("@mui/core");
|
|
10
10
|
|
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.rootOverridesResolver = exports.inputOverridesResolver = exports.default = exports.InputBaseRoot = exports.InputBaseComponent = void 0;
|
|
9
9
|
|
|
10
10
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
11
11
|
|
|
@@ -31,16 +31,12 @@ var _styled = _interopRequireDefault(require("../styles/styled"));
|
|
|
31
31
|
|
|
32
32
|
var _useThemeProps = _interopRequireDefault(require("../styles/useThemeProps"));
|
|
33
33
|
|
|
34
|
-
var _useTheme = _interopRequireDefault(require("../styles/useTheme"));
|
|
35
|
-
|
|
36
34
|
var _capitalize = _interopRequireDefault(require("../utils/capitalize"));
|
|
37
35
|
|
|
38
36
|
var _useForkRef = _interopRequireDefault(require("../utils/useForkRef"));
|
|
39
37
|
|
|
40
38
|
var _useEnhancedEffect = _interopRequireDefault(require("../utils/useEnhancedEffect"));
|
|
41
39
|
|
|
42
|
-
var _TextareaAutosize = _interopRequireDefault(require("../TextareaAutosize"));
|
|
43
|
-
|
|
44
40
|
var _GlobalStyles = _interopRequireDefault(require("../GlobalStyles"));
|
|
45
41
|
|
|
46
42
|
var _utils2 = require("./utils");
|
|
@@ -221,8 +217,7 @@ const InputBaseComponent = (0, _styled.default)('input', {
|
|
|
221
217
|
paddingTop: 0
|
|
222
218
|
}, ownerState.type === 'search' && {
|
|
223
219
|
// Improve type search style.
|
|
224
|
-
MozAppearance: 'textfield'
|
|
225
|
-
WebkitAppearance: 'textfield'
|
|
220
|
+
MozAppearance: 'textfield'
|
|
226
221
|
});
|
|
227
222
|
});
|
|
228
223
|
exports.InputBaseComponent = InputBaseComponent;
|
|
@@ -285,7 +280,6 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
285
280
|
value: valueProp
|
|
286
281
|
} = props,
|
|
287
282
|
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
288
|
-
const theme = (0, _useTheme.default)();
|
|
289
283
|
const value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;
|
|
290
284
|
const {
|
|
291
285
|
current: isControlled
|
|
@@ -453,7 +447,7 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
453
447
|
}, inputProps);
|
|
454
448
|
}
|
|
455
449
|
|
|
456
|
-
InputComponent =
|
|
450
|
+
InputComponent = _core.TextareaAutosize;
|
|
457
451
|
}
|
|
458
452
|
|
|
459
453
|
const handleAutoFill = event => {
|
|
@@ -489,8 +483,7 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
489
483
|
inputProps = (0, _extends2.default)({}, inputProps, componentsProps.input);
|
|
490
484
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(React.Fragment, {
|
|
491
485
|
children: [inputGlobalStyles, /*#__PURE__*/(0, _jsxRuntime.jsxs)(Root, (0, _extends2.default)({}, rootProps, !(0, _core.isHostComponent)(Root) && {
|
|
492
|
-
ownerState: (0, _extends2.default)({}, ownerState, rootProps.ownerState)
|
|
493
|
-
theme
|
|
486
|
+
ownerState: (0, _extends2.default)({}, ownerState, rootProps.ownerState)
|
|
494
487
|
}, {
|
|
495
488
|
ref: ref,
|
|
496
489
|
onClick: handleClick
|
|
@@ -519,11 +512,10 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
519
512
|
type: type
|
|
520
513
|
}, inputProps, !(0, _core.isHostComponent)(Input) && {
|
|
521
514
|
as: InputComponent,
|
|
522
|
-
ownerState: (0, _extends2.default)({}, ownerState, inputProps.ownerState)
|
|
523
|
-
theme
|
|
515
|
+
ownerState: (0, _extends2.default)({}, ownerState, inputProps.ownerState)
|
|
524
516
|
}, {
|
|
525
517
|
ref: handleInputRef,
|
|
526
|
-
className: (0, _clsx.default)(classes.input, inputProps.className
|
|
518
|
+
className: (0, _clsx.default)(classes.input, inputProps.className),
|
|
527
519
|
onBlur: handleBlur,
|
|
528
520
|
onChange: handleChange,
|
|
529
521
|
onFocus: handleFocus
|
|
@@ -749,7 +741,7 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes
|
|
|
749
741
|
/**
|
|
750
742
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
751
743
|
*/
|
|
752
|
-
sx: _propTypes.default.object,
|
|
744
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
753
745
|
|
|
754
746
|
/**
|
|
755
747
|
* 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).
|