@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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,279 @@
|
|
|
1
1
|
### [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.1.0
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.0.6..master -->
|
|
6
|
+
|
|
7
|
+
_Nov 8, 2021_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 33 contributors who made this release possible. Here are some highlights ✨:
|
|
10
|
+
|
|
11
|
+
- 🎉 Support custom elements under `ButtonGroup` (#28645) @ZeeshanTamboli
|
|
12
|
+
- 🛠 Add support for arrays in the `sx` prop (#29297) @siriwatknp
|
|
13
|
+
- And many more 🐛 bug fixes and 📚 improvements.
|
|
14
|
+
|
|
15
|
+
### `@mui/material@5.1.0`
|
|
16
|
+
|
|
17
|
+
- ​<!-- 68 -->[Autocomplete] Fix `hiddenLabel` prop of `TextField variant={filled}` inside Autocomplete (#29234) @jatinsandilya
|
|
18
|
+
- ​<!-- 67 -->[Box] Support generateClassName and defaultClassName (#29347) @siriwatknp
|
|
19
|
+
- ​<!-- 66 -->[ButtonGroup] Fix variant outlined always has primary color borders on hover (#29487) @ZeeshanTamboli
|
|
20
|
+
- ​<!-- 65 -->[ButtonGroup] Support different elements under ButtonGroup (#28645) @ZeeshanTamboli
|
|
21
|
+
- ​<!-- 62 -->[CssBaseline] Add `enableColorScheme` prop so enable using `color-scheme` property to deal with dark mode (#29454) @alexfauquette
|
|
22
|
+
- ​<!-- 29 -->[FormControlLabel] Narrow the label type (#29324) @michaldudak
|
|
23
|
+
- ​<!-- 28 -->[Grid] Fix usage when columns > 12 (#29196) @tanay123456789
|
|
24
|
+
- ​<!-- 27 -->[InputBase] Do not repeat the same classname (#29353) @hbjORbj
|
|
25
|
+
- ​<!-- 30 -->[InputBase] Remove WebkitAppearance from search type (#29383) @nicbarajas
|
|
26
|
+
- ​<!-- 25 -->[ListItem] Add missing exports (#29571) @robcaldecott
|
|
27
|
+
- ​<!-- 22 -->[Pagination] Allow customization of icons (#29336) @mbeltramin
|
|
28
|
+
- ​<!-- 11 -->[TextField] Fix bootstrap, normalize.css, sanitize.css conflicts (#28674) @ChrisClaude
|
|
29
|
+
- ​<!-- 10 -->[TextField] Fix invisible wrap within notched inputs (#29088) @DASPRiD
|
|
30
|
+
- ​<!-- 09 -->[Tooltip] `open` prop in `componentsProps.popper` can be optional (#29370) @ZeeshanTamboli
|
|
31
|
+
- ​<!-- 08 -->[Tooltip] Fix `className` not getting applied from PopperProps (#29023) @ZeeshanTamboli
|
|
32
|
+
- ​<!-- 07 -->[useRadioGroup] Convert to TypeScript (#29326) @eps1lon
|
|
33
|
+
|
|
34
|
+
### `@mui/system@5.1.0`
|
|
35
|
+
|
|
36
|
+
- ​<!-- 21 -->[system] Introduce `mode` to CssVarsProvider (#29418) @siriwatknp
|
|
37
|
+
- ​<!-- 20 -->[system] Improve breakpoints resolver function (#29300) @hbjORbj
|
|
38
|
+
- ​<!-- 19 -->[system] Add array support for `sx` prop (#29297) @siriwatknp
|
|
39
|
+
|
|
40
|
+
### `@mui/codemod@5.1.0`
|
|
41
|
+
|
|
42
|
+
- ​<!-- 64 -->[codemod] Add codemod parser flag (#29059) (#29229) @ElonVolo
|
|
43
|
+
|
|
44
|
+
### `@mui/lab@5.0.0-alpha.54`
|
|
45
|
+
|
|
46
|
+
- ​<!-- 52 -->[DatePicker] Fix disabled/readOnly for view components (#28815) @adamfitzgibbon
|
|
47
|
+
- ​<!-- 24 -->[Masonry] Fix crash on unmount when using React 18 (#29358) @eps1lon
|
|
48
|
+
- ​<!-- 23 -->[Masonry] Improve height computation and detect changes in `children` (#29351) @hbjORbj
|
|
49
|
+
|
|
50
|
+
### `@mui/joy@5.0.0-alpha.0`
|
|
51
|
+
|
|
52
|
+
- ​<!-- 28 -->[Joy] Update default theme (#29478) @siriwatknp
|
|
53
|
+
- ​<!-- 26 -->[Joy] Export CssVarsProvider with default theme (#29150) @siriwatknp
|
|
54
|
+
- ​<!-- 25 -->[Joy] Remove `private` to leverage CodeSandbox (#29280) @siriwatknp
|
|
55
|
+
|
|
56
|
+
### Docs
|
|
57
|
+
|
|
58
|
+
- ​<!-- 51 -->[docs] Add differences between styled and sx (#28685) @eric-burel
|
|
59
|
+
- ​<!-- 50 -->[docs] Track usage of dark mode in Google Analytics (#29419) @oliviertassinari
|
|
60
|
+
- ​<!-- 49 -->[docs] Remove create-mui-theme as it is no longer working (#29472) @IPJT
|
|
61
|
+
- ​<!-- 48 -->[docs] Fix warnings in AppSearch (#29459) @eps1lon
|
|
62
|
+
- ​<!-- 47 -->[docs] Add framework example for ClassNameGenerator (#29453) @siriwatknp
|
|
63
|
+
- ​<!-- 46 -->[docs] Fix layout shift when scrolling (#29436) @oliviertassinari
|
|
64
|
+
- ​<!-- 45 -->[docs] Fix layout-shift on id='main-content' (#29425) @oliviertassinari
|
|
65
|
+
- ​<!-- 44 -->[docs] Remove usage of `process.browser` (#29438) @oliviertassinari
|
|
66
|
+
- ​<!-- 43 -->[docs] Add instruction on how to use the child selector API with emotion (#29350) @mnajdova
|
|
67
|
+
- ​<!-- 42 -->[docs] Fix small typos (#29424) @oliviertassinari
|
|
68
|
+
- ​<!-- 41 -->[docs] Fix TOC highlighting logic (#29435) @oliviertassinari
|
|
69
|
+
- ​<!-- 40 -->[docs] Fix about page flags (#29314) @mbrookes
|
|
70
|
+
- ​<!-- 39 -->[docs] Fix Box JS docs (#29282) @Pablion
|
|
71
|
+
- ​<!-- 38 -->[docs] Update storybook section in migration to v5 docs (#28800) @siriwatknp
|
|
72
|
+
- ​<!-- 37 -->[docs] Document how to enable color on dark mode (#29340) @Wimukti
|
|
73
|
+
- ​<!-- 36 -->[docs] Display search functionality in all viewports (#28819) @eps1lon
|
|
74
|
+
- ​<!-- 35 -->[docs] Query heading for ToC on demand (#29204) @eps1lon
|
|
75
|
+
- ​<!-- 34 -->[docs] Add next.js styled-component guide and update links to example (#29118) @Jareechang
|
|
76
|
+
- ​<!-- 33 -->[docs] Fix overriding `MuiTextField`'s default props in the migration guide (#29174) @tm1000
|
|
77
|
+
- ​<!-- 32 -->[docs] Fix "clickable" and "deletable" typos (#28702) @jacklaurencegaray
|
|
78
|
+
- ​<!-- 31 -->[docs] Update migration-v4 docs for wrong import path (#29042) @busches
|
|
79
|
+
- ​<!-- 30 -->[docs] Add GitHub icon change to "Migration from v4 to v5" guide (#29182) @dan-mba
|
|
80
|
+
- ​<!-- 06 -->[website] Benny Joo joining MUI (#29499) @mnajdova
|
|
81
|
+
- ​<!-- 05 -->[website] Update the `Print export` feature info on the pricing page (#29484) @DanailH
|
|
82
|
+
- ​<!-- 04 -->[website] Improve the dev rel role description (#29477) @oliviertassinari
|
|
83
|
+
- ​<!-- 03 -->[website] Add customers section on Design Kits and Templates marketing pages (#29168) @danilo-leal
|
|
84
|
+
- ​<!-- 02 -->[website] Improvements to the /core product page @danilo-leal
|
|
85
|
+
- ​<!-- 01 -->[website] Fix typo on the About Page (#29286) @gssakash
|
|
86
|
+
|
|
87
|
+
### Core
|
|
88
|
+
|
|
89
|
+
- ​<!-- 63 -->[core] Handle RecordType and FieldType in generatePropDescription.ts (#29467) @flaviendelangle
|
|
90
|
+
- ​<!-- 61 -->[core] Convert a named color to lowercase (#29465) @ainatenhi
|
|
91
|
+
- ​<!-- 60 -->[core] Allow to reuse functions from `docs:api` (#28828) @m4theushw
|
|
92
|
+
- ​<!-- 59 -->[core] Commit new nextjs 12 tsconfig (#29458) @eps1lon
|
|
93
|
+
- ​<!-- 58 -->[core] Settle on MUI X for the official name (#29420) @oliviertassinari
|
|
94
|
+
- ​<!-- 57 -->[core] Add mui as a npm keyword (#29427) @oliviertassinari
|
|
95
|
+
- ​<!-- 56 -->[core] Fix issue template redirection (#29432) @oliviertassinari
|
|
96
|
+
- ​<!-- 55 -->[core] Remove unecessary destructuration (#29354) @oliviertassinari
|
|
97
|
+
- ​<!-- 54 -->[core] Use cross-env to set env variables in material-icons scripts (#29327) @michaldudak
|
|
98
|
+
- ​<!-- 53 -->[core] Don't bump peer dependency ranges on dependency updates (#29303) @eps1lon
|
|
99
|
+
- ​<!-- 18 -->[test] Fix browser tests (#29505) @eps1lon
|
|
100
|
+
- ​<!-- 69 -->[test] Fix missing act warnings in latest React 18 alpha (#29357) @eps1lon
|
|
101
|
+
- ​<!-- 17 -->[test] Replace `createClientRender` with new `createRenderer` API (#29471) @eps1lon
|
|
102
|
+
- ​<!-- 16 -->[test] Fix possible "missing act" warning (#29463) @eps1lon
|
|
103
|
+
- ​<!-- 15 -->[test] Remove render#baseElement (#29462) @eps1lon
|
|
104
|
+
- ​<!-- 14 -->[test] Expose `AbortController` on global (#29360) @eps1lon
|
|
105
|
+
- ​<!-- 13 -->[test] Add internal test for uniqe `name` in `Rating` (#29329) @eps1lon
|
|
106
|
+
- ​<!-- 12 -->[test] Fix browser tests (#29305) @eps1lon
|
|
107
|
+
|
|
108
|
+
All contributors of this release in alphabetical order: @adamfitzgibbon, @ainatenhi, @alexfauquette, @busches, @ChrisClaude, @dan-mba, @DanailH, @danilo-leal, @DASPRiD, @ElonVolo, @eps1lon, @eric-burel, @flaviendelangle, @gssakash, @hbjORbj, @IPJT, @jacklaurencegaray, @Jareechang, @jatinsandilya, @m4theushw, @mbeltramin, @mbrookes, @michaldudak, @mnajdova, @nicbarajas, @oliviertassinari, @Pablion, @robcaldecott, @siriwatknp, @tanay123456789, @tm1000, @Wimukti, @ZeeshanTamboli
|
|
109
|
+
|
|
110
|
+
## 5.0.6
|
|
111
|
+
|
|
112
|
+
<!-- generated comparing v5.0.5..master -->
|
|
113
|
+
|
|
114
|
+
_Oct 27, 2021_
|
|
115
|
+
|
|
116
|
+
A big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
|
|
117
|
+
|
|
118
|
+
- 🔧 Fix reported TypeScript issues on the `@mui/system` package because some packages were not released
|
|
119
|
+
|
|
120
|
+
### `@mui/material@5.0.6`
|
|
121
|
+
|
|
122
|
+
- ​<!-- 4 -->[Autocomplete] Fix `clearOnBlur` prop (#29208) @hbjORbj
|
|
123
|
+
- ​<!-- 2 -->[Rating] Remove z-index from decimal stars (#29295) @williamhaley
|
|
124
|
+
|
|
125
|
+
### `@mui/system@5.0.6`
|
|
126
|
+
|
|
127
|
+
- ​<!-- 5 -->[system] Fix various issues reported by using @mui/styled-engine-sc (#29035) @mnajdova
|
|
128
|
+
- ​<!-- 1 -->[system] Fix executing server-side Emotion component as function interpolation (#29290) @Andarist
|
|
129
|
+
|
|
130
|
+
### Docs
|
|
131
|
+
|
|
132
|
+
- ​<!-- 3 -->[blog] Q3 2021 Update (#28970) @oliviertassinari
|
|
133
|
+
|
|
134
|
+
All contributors of this release in alphabetical order: @Andarist, @hbjORbj, @oliviertassinari, @williamhaley
|
|
135
|
+
|
|
136
|
+
## 5.0.5
|
|
137
|
+
|
|
138
|
+
<!-- generated comparing v5.0.4..master -->
|
|
139
|
+
|
|
140
|
+
_Oct 26, 2021_
|
|
141
|
+
|
|
142
|
+
A big thanks to the 19 contributors who made this release possible. Here are some highlights ✨:
|
|
143
|
+
|
|
144
|
+
- 🔧 Implement `Masonry` using Flexbox by @hbjORbj.
|
|
145
|
+
- 🧪 Add three components to `@mui/core` by @rebeccahongsf and @hbjORbj.
|
|
146
|
+
|
|
147
|
+
### `@mui/codemod@5.0.5`
|
|
148
|
+
|
|
149
|
+
- ​<!-- 38 -->[codemod] Support new package name in `link-underline-hover` transformer (#29214) @siriwatknp
|
|
150
|
+
|
|
151
|
+
### `@mui/core@5.0.0-alpha.52`
|
|
152
|
+
|
|
153
|
+
- ​<!-- 39 -->[ClickAwayListener] Move to the core package (#29186) @hbjORbj
|
|
154
|
+
- ​<!-- 13 -->[Popper] Move from mui-material to mui-core (#28923) @rebeccahongsf
|
|
155
|
+
- ​<!-- 04 -->[TextareaAutosize] Move to the core package (#29148) @hbjORbj
|
|
156
|
+
|
|
157
|
+
### `@mui/lab@5.0.0-alpha.52`
|
|
158
|
+
|
|
159
|
+
- ​<!-- 16 -->[Masonry] Improve demo styles (#29218) @hbjORbj
|
|
160
|
+
- ​<!-- 15 -->[Masonry] Implement Masonry using Flexbox (#28059) @hbjORbj
|
|
161
|
+
|
|
162
|
+
### `@mui/icons@5.0.5`
|
|
163
|
+
|
|
164
|
+
- ​<!-- 19 -->[icons] Add TipsAndUpdates icon (#29004) @hbjORbj
|
|
165
|
+
|
|
166
|
+
### `@mui/material@5.0.5`
|
|
167
|
+
|
|
168
|
+
- ​<!-- 40 -->[CardMedia] Apply specified `img` role instead of custom `image` role (#29172) @eps1lon
|
|
169
|
+
- ​<!-- 32 -->[CSSBaseline] Remove incorrect @deprecated annotation (#29069) @adamfitzgibbon
|
|
170
|
+
- ​<!-- 20 -->[Grid] Support custom columns with nested grid (#28743) @Devesh21700Kumar
|
|
171
|
+
- ​<!-- 18 -->[InputBase] Remove wrong theme overriding with MUI's default theme (#29157) @hbjORbj
|
|
172
|
+
- ​<!-- 17 -->[LoadingButton] Fix `fullWidth` styling (#28652) @nikitabobers
|
|
173
|
+
- ​<!-- 16 -->[Popper] make Popper display:none whenever it's closed (#29233) @adamfitzgibbon
|
|
174
|
+
- ​<!-- 14 -->[Menu] Reduce min-height & padding in menu-item with dense property (#29180) @jatinsandilya
|
|
175
|
+
- ​<!-- 07 -->[Tab] `iconPosition` prop added in Tab (#28764) @deepanshu2506
|
|
176
|
+
- ​<!-- 03 -->[Tooltip] Correct inconsistent prop precedence (#29132) @michaldudak
|
|
177
|
+
|
|
178
|
+
### `@mui/system@5.0.5`
|
|
179
|
+
|
|
180
|
+
- ​<!-- 11 -->[system] Allow function type for `sx` prop (#29198) @hbjORbj
|
|
181
|
+
- ​<!-- 10 -->[system] Fix various issues reported by using @mui/styled-engine-sc (#29035) @mnajdova
|
|
182
|
+
- ​<!-- 09 -->[system] Fix `colorScheme` conflict between application (#29139) @siriwatknp
|
|
183
|
+
- ​<!-- 08 -->[system] Add `unstable_createCssVarsProvider` api (#28965) @siriwatknp
|
|
184
|
+
|
|
185
|
+
### Documentation
|
|
186
|
+
|
|
187
|
+
- ​<!-- 31 -->[docs] Fix path to `DataGrid` CSV export options page (#29220) @DanailH
|
|
188
|
+
- ​<!-- 30 -->[docs] Give anonymous components a name (#29189) @eps1lon
|
|
189
|
+
- ​<!-- 29 -->[docs] Add deploy context variables (#29195) @siriwatknp
|
|
190
|
+
- ​<!-- 28 -->[docs] Add MUI packages explanation (#29073) @siriwatknp
|
|
191
|
+
- ​<!-- 27 -->[docs] Fix typo in CSP policy (#29187) @JuliaNeumann
|
|
192
|
+
- ​<!-- 26 -->[docs] Dark mode conditional content rendering (#28665) @michal-perlakowski
|
|
193
|
+
- ​<!-- 25 -->[docs] Fix ClassNameGenerator introduced version #29177 @siriwatknp
|
|
194
|
+
- ​<!-- 24 -->[docs] Add missing `justifyContent` values and update box styling (#29117) @omarmosid
|
|
195
|
+
- ​<!-- 23 -->[docs] Make landing page hero section scrollable (#29141) @waxidiotic
|
|
196
|
+
- ​<!-- 22 -->[docs] Discourage importing different bundles directly (#29133) @eps1lon
|
|
197
|
+
- ​<!-- 21 -->[docs] Update module augmentation reference url (#29064) @gnowland
|
|
198
|
+
- ​<!-- 12 -->[pricing] Add tooltip to pricing icon (#28959) @siriwatknp
|
|
199
|
+
- ​<!-- 07 -->[Team] Add Alexandre in the about page (#29289)
|
|
200
|
+
- ​<!-- 02 -->[website] Fix status label overflow in AdvancedShowcase (#29143) @LorenzHenk
|
|
201
|
+
- ​<!-- 01 -->[website] Update legacy logos (#28908) @michaldudak
|
|
202
|
+
|
|
203
|
+
### Core
|
|
204
|
+
|
|
205
|
+
- ​<!-- 37 -->[core] Order repro methods by preference (#29156) @eps1lon
|
|
206
|
+
- ​<!-- 36 -->[core] Remove unnecessary usages of `useEventCallback` (#28910) @NMinhNguyen
|
|
207
|
+
- ​<!-- 35 -->[core] add `unstable_ClassNameGenerator` API (#29051) @siriwatknp
|
|
208
|
+
- ​<!-- 34 -->[core] Fix issues when using styled-components (#29048) @mnajdova
|
|
209
|
+
- ​<!-- 33 -->[core] replace hard-coded classname with classes (#29070) @siriwatknp
|
|
210
|
+
- ​<!-- 06 -->[test] Add documentation for visual regression tests (#29154) @eps1lon
|
|
211
|
+
- ​<!-- 05 -->[test] Enable "missing act" warnings using new proposal (#29167) @eps1lon
|
|
212
|
+
|
|
213
|
+
All contributors of this release in alphabetical order: @adamfitzgibbon, @DanailH, @deepanshu2506, @Devesh21700Kumar, @eps1lon, @gnowland, @hbjORbj, @jatinsandilya, @JuliaNeumann, @LorenzHenk, @michal-perlakowski, @michaldudak, @mnajdova, @nikitabobers, @NMinhNguyen, @omarmosid, @rebeccahongsf, @siriwatknp, @waxidiotic
|
|
214
|
+
|
|
215
|
+
## 5.0.4
|
|
216
|
+
|
|
217
|
+
<!-- generated comparing v5.0.3..master -->
|
|
218
|
+
|
|
219
|
+
_Oct 14, 2021_
|
|
220
|
+
|
|
221
|
+
A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
|
|
222
|
+
|
|
223
|
+
- 🧪 Added `UnstyledInput` and `useInput` hook in the the first component in @mui/core package @michaldudak (#28053)
|
|
224
|
+
- 🐛 Fixed many bugs and improved the documentation 📚.
|
|
225
|
+
|
|
226
|
+
### `@mui/material@5.0.4`
|
|
227
|
+
|
|
228
|
+
- ​<!-- 31 -->[Chip] disable ripple only if onDelete is present. (#29034) @mottox2
|
|
229
|
+
- ​<!-- 06 -->[Pagination] Fix clicking on `...` triggering `onChange` with page value `null` (#28884) @ZeeshanTamboli
|
|
230
|
+
- ​<!-- 04 -->[Tabs] Alternative way to disable ":first-child is unsafe" error (#28982) @hbjORbj
|
|
231
|
+
- ​<!-- 03 -->[Tabs] Fix ":first-child is potentially unsafe" error (#28890) @hbjORbj
|
|
232
|
+
- ​<!-- 01 -->[transitions] Mark `children` as required where nullish `children` would crash at runtime (#29028) @eps1lon
|
|
233
|
+
|
|
234
|
+
### `@mui/system@5.0.4`
|
|
235
|
+
|
|
236
|
+
- ​<!-- 05 -->[system] Update typing for `style` function (#28744) @hbjORbj
|
|
237
|
+
|
|
238
|
+
### `@mui/core@5.0.0-alpha.51`
|
|
239
|
+
|
|
240
|
+
- ​<!-- 07 -->[InputUnstyled] Create unstyled input and useInput hook (#28053) @michaldudak
|
|
241
|
+
|
|
242
|
+
### `@mui/lab@5.0.0-alpha.51`
|
|
243
|
+
|
|
244
|
+
- ​<!-- 25 -->[DesktopDatePicker] add Paper props to pass down to Paper component (#28865) @amen-souissi
|
|
245
|
+
|
|
246
|
+
### Docs
|
|
247
|
+
|
|
248
|
+
- ​<!-- 24 -->[docs] Add JSDoc to `theme.breakpoints` (#29039) @eps1lon
|
|
249
|
+
- ​<!-- 23 -->[docs] Rename broken package names in docs pointing to `@mui/material` (#29006) @visualfanatic
|
|
250
|
+
- ​<!-- 22 -->[docs] Add troubleshooting guide for unexpected styles (#28907) @mnajdova
|
|
251
|
+
- ​<!-- 21 -->[docs] Fix issues reported by ahref (#28986) @mnajdova
|
|
252
|
+
- ​<!-- 20 -->[docs] Remove json translations for dropped locales (#28987) @mnajdova
|
|
253
|
+
- ​<!-- 19 -->[docs] Fix type signature of renderGroup in Autocomplete (#28876) @tanyabouman
|
|
254
|
+
- ​<!-- 18 -->[docs] Minor typo in v4-v5 migration docs (#28995) @kgregory
|
|
255
|
+
- ​<!-- 17 -->[docs] Add `mui-image` related project (#28621) @benmneb
|
|
256
|
+
- ​<!-- 16 -->[docs] Update Getting Started Templates' Source URIs (#28929) @epodol
|
|
257
|
+
- ​<!-- 15 -->[docs] Improve search experience (#28801) @siriwatknp
|
|
258
|
+
- ​<!-- 14 -->[docs] Fix demo of the responsive drawer (#28226) @goncalovf
|
|
259
|
+
- ​<!-- 13 -->[docs] Fix global theme link demo (#28974) @ZeeshanTamboli
|
|
260
|
+
- ​<!-- 12 -->[docs] Update box example to use 'backgroundColor' rather than 'bgColor' (#28958) @Jareechang
|
|
261
|
+
- ​<!-- 11 -->[docs] corrected `Box` import for `sx-prop` example (#28873) @phudekar
|
|
262
|
+
- ​<!-- 10 -->[docs] Fix footnote ID links in CONTRIBUTING.md (#28849) @officialpiyush
|
|
263
|
+
- ​<!-- 09 -->[docs] Fix color & density playground (#28803) @siriwatknp
|
|
264
|
+
- ​<!-- 08 -->[docs] Improve visibility of styled engine configuration section in installation guide (#28903) @Jareechang
|
|
265
|
+
|
|
266
|
+
### Core
|
|
267
|
+
|
|
268
|
+
- ​<!-- 30 -->[core] Prevent yarn cache growing infinitely (#29040) @eps1lon
|
|
269
|
+
- ​<!-- 29 -->[core] Update browserslist (#29025) @eps1lon
|
|
270
|
+
- ​<!-- 28 -->[core] Update `peerDependencies` to require `latest` instead of `next` (#29007) @eps1lon
|
|
271
|
+
- ​<!-- 27 -->[core] Increase memory limit for size:snapshot (#29005) @eps1lon
|
|
272
|
+
- ​<!-- 26 -->[core] Init `private` Joy package (#28957) @siriwatknp
|
|
273
|
+
- ​<!-- 02 -->[test] Remove a11y snapshot tests (#28887) @eps1lon
|
|
274
|
+
|
|
275
|
+
All contributors of this release in alphabetical order: @amen-souissi, @benmneb, @epodol, @eps1lon, @goncalovf, @hbjORbj, @Jareechang, @kgregory, @michaldudak, @mnajdova, @mottox2, @officialpiyush, @phudekar, @siriwatknp, @tanyabouman, @visualfanatic, @ZeeshanTamboli
|
|
276
|
+
|
|
3
277
|
## 5.0.3
|
|
4
278
|
|
|
5
279
|
<!-- generated comparing v5.0.2..master -->
|
package/Card/Card.js
CHANGED
|
@@ -93,6 +93,6 @@ process.env.NODE_ENV !== "production" ? Card.propTypes
|
|
|
93
93
|
/**
|
|
94
94
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
95
95
|
*/
|
|
96
|
-
sx: PropTypes.object
|
|
96
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
97
97
|
} : void 0;
|
|
98
98
|
export default Card;
|
|
@@ -122,6 +122,6 @@ process.env.NODE_ENV !== "production" ? CardActionArea.propTypes
|
|
|
122
122
|
/**
|
|
123
123
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
124
124
|
*/
|
|
125
|
-
sx: PropTypes.object
|
|
125
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
126
126
|
} : void 0;
|
|
127
127
|
export default CardActionArea;
|
|
@@ -96,6 +96,6 @@ process.env.NODE_ENV !== "production" ? CardActions.propTypes
|
|
|
96
96
|
/**
|
|
97
97
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
98
98
|
*/
|
|
99
|
-
sx: PropTypes.object
|
|
99
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
100
100
|
} : void 0;
|
|
101
101
|
export default CardActions;
|
|
@@ -88,6 +88,6 @@ process.env.NODE_ENV !== "production" ? CardContent.propTypes
|
|
|
88
88
|
/**
|
|
89
89
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
90
90
|
*/
|
|
91
|
-
sx: PropTypes.object
|
|
91
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
92
92
|
} : void 0;
|
|
93
93
|
export default CardContent;
|
package/CardHeader/CardHeader.js
CHANGED
|
@@ -203,7 +203,7 @@ process.env.NODE_ENV !== "production" ? CardHeader.propTypes
|
|
|
203
203
|
/**
|
|
204
204
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
205
205
|
*/
|
|
206
|
-
sx: PropTypes.object,
|
|
206
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
207
207
|
|
|
208
208
|
/**
|
|
209
209
|
* The content of the component.
|
package/CardMedia/CardMedia.js
CHANGED
|
@@ -82,7 +82,7 @@ const CardMedia = /*#__PURE__*/React.forwardRef(function CardMedia(inProps, ref)
|
|
|
82
82
|
return /*#__PURE__*/_jsx(CardMediaRoot, _extends({
|
|
83
83
|
className: clsx(classes.root, className),
|
|
84
84
|
as: component,
|
|
85
|
-
role: !isMediaComponent && image ? '
|
|
85
|
+
role: !isMediaComponent && image ? 'img' : undefined,
|
|
86
86
|
ref: ref,
|
|
87
87
|
style: composedStyle,
|
|
88
88
|
ownerState: ownerState,
|
|
@@ -148,6 +148,6 @@ process.env.NODE_ENV !== "production" ? CardMedia.propTypes
|
|
|
148
148
|
/**
|
|
149
149
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
150
150
|
*/
|
|
151
|
-
sx: PropTypes.object
|
|
151
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
152
152
|
} : void 0;
|
|
153
153
|
export default CardMedia;
|
package/Checkbox/Checkbox.js
CHANGED
|
@@ -221,7 +221,7 @@ process.env.NODE_ENV !== "production" ? Checkbox.propTypes
|
|
|
221
221
|
/**
|
|
222
222
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
223
223
|
*/
|
|
224
|
-
sx: PropTypes.object,
|
|
224
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
225
225
|
|
|
226
226
|
/**
|
|
227
227
|
* The value of the component. The DOM API casts this to a string.
|
package/Chip/Chip.js
CHANGED
|
@@ -351,11 +351,12 @@ const Chip = /*#__PURE__*/React.forwardRef(function Chip(inProps, ref) {
|
|
|
351
351
|
});
|
|
352
352
|
|
|
353
353
|
const classes = useUtilityClasses(ownerState);
|
|
354
|
-
const moreProps = component === ButtonBase ? {
|
|
354
|
+
const moreProps = component === ButtonBase ? _extends({
|
|
355
355
|
component: ComponentProp || 'div',
|
|
356
|
-
focusVisibleClassName: classes.focusVisible
|
|
357
|
-
|
|
358
|
-
|
|
356
|
+
focusVisibleClassName: classes.focusVisible
|
|
357
|
+
}, onDelete && {
|
|
358
|
+
disableRipple: true
|
|
359
|
+
}) : {};
|
|
359
360
|
let deleteIcon = null;
|
|
360
361
|
|
|
361
362
|
if (onDelete) {
|
|
@@ -514,7 +515,7 @@ process.env.NODE_ENV !== "production" ? Chip.propTypes
|
|
|
514
515
|
/**
|
|
515
516
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
516
517
|
*/
|
|
517
|
-
sx: PropTypes.object,
|
|
518
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
518
519
|
|
|
519
520
|
/**
|
|
520
521
|
* The variant to use.
|
|
@@ -248,7 +248,7 @@ process.env.NODE_ENV !== "production" ? CircularProgress.propTypes
|
|
|
248
248
|
/**
|
|
249
249
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
250
250
|
*/
|
|
251
|
-
sx: PropTypes.object,
|
|
251
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
252
252
|
|
|
253
253
|
/**
|
|
254
254
|
* The thickness of the circle.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from '
|
|
2
|
-
export * from '
|
|
1
|
+
export { default } from '@mui/core/ClickAwayListener';
|
|
2
|
+
export * from '@mui/core/ClickAwayListener';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from '
|
|
2
|
-
export * from '
|
|
1
|
+
export { default } from '@mui/core/ClickAwayListener';
|
|
2
|
+
export * from '@mui/core/ClickAwayListener';
|
package/Collapse/Collapse.js
CHANGED
|
@@ -400,7 +400,7 @@ process.env.NODE_ENV !== "production" ? Collapse.propTypes
|
|
|
400
400
|
/**
|
|
401
401
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
402
402
|
*/
|
|
403
|
-
sx: PropTypes.object,
|
|
403
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
404
404
|
|
|
405
405
|
/**
|
|
406
406
|
* The duration for the transition, in milliseconds.
|
package/Container/Container.js
CHANGED
|
@@ -161,6 +161,6 @@ process.env.NODE_ENV !== "production" ? Container.propTypes
|
|
|
161
161
|
/**
|
|
162
162
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
163
163
|
*/
|
|
164
|
-
sx: PropTypes.object
|
|
164
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
165
165
|
} : void 0;
|
|
166
166
|
export default Container;
|
|
@@ -6,6 +6,13 @@ export interface CssBaselineProps extends StyledComponentProps<never> {
|
|
|
6
6
|
* You can wrap a node.
|
|
7
7
|
*/
|
|
8
8
|
children?: React.ReactNode;
|
|
9
|
+
/**
|
|
10
|
+
* Enable `color-scheme` css property to use `theme.palette.mode`.
|
|
11
|
+
* For more details, check out https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme
|
|
12
|
+
* For browser support, check out https://caniuse.com/?search=color-scheme
|
|
13
|
+
* @default false
|
|
14
|
+
*/
|
|
15
|
+
enableColorScheme?: boolean;
|
|
9
16
|
}
|
|
10
17
|
|
|
11
18
|
/**
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
-
|
|
3
|
-
var _GlobalStyles;
|
|
4
|
-
|
|
5
2
|
import * as React from 'react';
|
|
6
3
|
import PropTypes from 'prop-types';
|
|
7
4
|
import useThemeProps from '../styles/useThemeProps';
|
|
8
5
|
import GlobalStyles from '../GlobalStyles';
|
|
9
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
7
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
-
export const html = {
|
|
8
|
+
export const html = (theme, enableColorScheme) => _extends({
|
|
12
9
|
WebkitFontSmoothing: 'antialiased',
|
|
13
10
|
// Antialiasing.
|
|
14
11
|
MozOsxFontSmoothing: 'grayscale',
|
|
@@ -18,7 +15,9 @@ export const html = {
|
|
|
18
15
|
boxSizing: 'border-box',
|
|
19
16
|
// Fix font resize problem in iOS
|
|
20
17
|
WebkitTextSizeAdjust: '100%'
|
|
21
|
-
}
|
|
18
|
+
}, enableColorScheme && {
|
|
19
|
+
colorScheme: theme.palette.mode
|
|
20
|
+
});
|
|
22
21
|
export const body = theme => _extends({
|
|
23
22
|
color: theme.palette.text.primary
|
|
24
23
|
}, theme.typography.body1, {
|
|
@@ -28,11 +27,11 @@ export const body = theme => _extends({
|
|
|
28
27
|
backgroundColor: theme.palette.common.white
|
|
29
28
|
}
|
|
30
29
|
});
|
|
31
|
-
export const styles = theme => {
|
|
30
|
+
export const styles = (theme, enableColorScheme = false) => {
|
|
32
31
|
var _theme$components, _theme$components$Mui;
|
|
33
32
|
|
|
34
33
|
let defaultStyles = {
|
|
35
|
-
html,
|
|
34
|
+
html: html(theme, enableColorScheme),
|
|
36
35
|
'*, *::before, *::after': {
|
|
37
36
|
boxSizing: 'inherit'
|
|
38
37
|
},
|
|
@@ -67,12 +66,13 @@ function CssBaseline(inProps) {
|
|
|
67
66
|
name: 'MuiCssBaseline'
|
|
68
67
|
});
|
|
69
68
|
const {
|
|
70
|
-
children
|
|
69
|
+
children,
|
|
70
|
+
enableColorScheme = false
|
|
71
71
|
} = props;
|
|
72
72
|
return /*#__PURE__*/_jsxs(React.Fragment, {
|
|
73
|
-
children: [
|
|
74
|
-
styles: styles
|
|
75
|
-
})
|
|
73
|
+
children: [/*#__PURE__*/_jsx(GlobalStyles, {
|
|
74
|
+
styles: theme => styles(theme, enableColorScheme)
|
|
75
|
+
}), children]
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
78
|
|
|
@@ -87,6 +87,14 @@ process.env.NODE_ENV !== "production" ? CssBaseline.propTypes
|
|
|
87
87
|
/**
|
|
88
88
|
* You can wrap a node.
|
|
89
89
|
*/
|
|
90
|
-
children: PropTypes.node
|
|
90
|
+
children: PropTypes.node,
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Enable `color-scheme` css property to use `theme.palette.mode`.
|
|
94
|
+
* For more details, check out https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme
|
|
95
|
+
* For browser support, check out https://caniuse.com/?search=color-scheme
|
|
96
|
+
* @default false
|
|
97
|
+
*/
|
|
98
|
+
enableColorScheme: PropTypes.bool
|
|
91
99
|
} : void 0;
|
|
92
100
|
export default CssBaseline;
|
package/Dialog/Dialog.d.ts
CHANGED
|
@@ -87,7 +87,7 @@ export interface DialogProps extends StandardProps<ModalProps, 'children'> {
|
|
|
87
87
|
* @default Fade
|
|
88
88
|
*/
|
|
89
89
|
TransitionComponent?: React.JSXElementConstructor<
|
|
90
|
-
TransitionProps & { children
|
|
90
|
+
TransitionProps & { children: React.ReactElement<any, any> }
|
|
91
91
|
>;
|
|
92
92
|
/**
|
|
93
93
|
* The duration for the transition, in milliseconds.
|
package/Dialog/Dialog.js
CHANGED
|
@@ -387,7 +387,7 @@ process.env.NODE_ENV !== "production" ? Dialog.propTypes
|
|
|
387
387
|
/**
|
|
388
388
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
389
389
|
*/
|
|
390
|
-
sx: PropTypes.object,
|
|
390
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
391
391
|
|
|
392
392
|
/**
|
|
393
393
|
* The component used for the transition.
|
|
@@ -98,6 +98,6 @@ process.env.NODE_ENV !== "production" ? DialogActions.propTypes
|
|
|
98
98
|
/**
|
|
99
99
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
100
100
|
*/
|
|
101
|
-
sx: PropTypes.object
|
|
101
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
102
102
|
} : void 0;
|
|
103
103
|
export default DialogActions;
|
|
@@ -8,6 +8,7 @@ import { unstable_composeClasses as composeClasses } from '@mui/core';
|
|
|
8
8
|
import styled from '../styles/styled';
|
|
9
9
|
import useThemeProps from '../styles/useThemeProps';
|
|
10
10
|
import { getDialogContentUtilityClass } from './dialogContentClasses';
|
|
11
|
+
import dialogTitleClasses from '../DialogTitle/dialogTitleClasses';
|
|
11
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
13
|
|
|
13
14
|
const useUtilityClasses = ownerState => {
|
|
@@ -44,7 +45,7 @@ const DialogContentRoot = styled('div', {
|
|
|
44
45
|
borderTop: `1px solid ${theme.palette.divider}`,
|
|
45
46
|
borderBottom: `1px solid ${theme.palette.divider}`
|
|
46
47
|
} : {
|
|
47
|
-
|
|
48
|
+
[`.${dialogTitleClasses.root} + &`]: {
|
|
48
49
|
paddingTop: 0
|
|
49
50
|
}
|
|
50
51
|
}));
|
|
@@ -103,6 +104,6 @@ process.env.NODE_ENV !== "production" ? DialogContent.propTypes
|
|
|
103
104
|
/**
|
|
104
105
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
105
106
|
*/
|
|
106
|
-
sx: PropTypes.object
|
|
107
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
107
108
|
} : void 0;
|
|
108
109
|
export default DialogContent;
|
|
@@ -67,6 +67,6 @@ process.env.NODE_ENV !== "production" ? DialogContentText.propTypes
|
|
|
67
67
|
/**
|
|
68
68
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
69
69
|
*/
|
|
70
|
-
sx: PropTypes.object
|
|
70
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
71
71
|
} : void 0;
|
|
72
72
|
export default DialogContentText;
|
|
@@ -87,6 +87,6 @@ process.env.NODE_ENV !== "production" ? DialogTitle.propTypes
|
|
|
87
87
|
/**
|
|
88
88
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
89
89
|
*/
|
|
90
|
-
sx: PropTypes.object
|
|
90
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
91
91
|
} : void 0;
|
|
92
92
|
export default DialogTitle;
|
package/Divider/Divider.js
CHANGED
|
@@ -247,7 +247,7 @@ process.env.NODE_ENV !== "production" ? Divider.propTypes
|
|
|
247
247
|
/**
|
|
248
248
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
249
249
|
*/
|
|
250
|
-
sx: PropTypes.object,
|
|
250
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
251
251
|
|
|
252
252
|
/**
|
|
253
253
|
* The text alignment.
|
package/Drawer/Drawer.js
CHANGED
|
@@ -313,7 +313,7 @@ process.env.NODE_ENV !== "production" ? Drawer.propTypes
|
|
|
313
313
|
/**
|
|
314
314
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
315
315
|
*/
|
|
316
|
-
sx: PropTypes.object,
|
|
316
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
317
317
|
|
|
318
318
|
/**
|
|
319
319
|
* The duration for the transition, in milliseconds.
|
package/Fab/Fab.js
CHANGED
|
@@ -238,7 +238,7 @@ process.env.NODE_ENV !== "production" ? Fab.propTypes
|
|
|
238
238
|
/**
|
|
239
239
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
240
240
|
*/
|
|
241
|
-
sx: PropTypes.object,
|
|
241
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
242
242
|
|
|
243
243
|
/**
|
|
244
244
|
* The variant to use.
|
package/Fade/Fade.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface FadeProps extends Omit<TransitionProps, 'children'> {
|
|
|
11
11
|
/**
|
|
12
12
|
* A single child content element.
|
|
13
13
|
*/
|
|
14
|
-
children
|
|
14
|
+
children: React.ReactElement<any, any>;
|
|
15
15
|
/**
|
|
16
16
|
* The transition timing function.
|
|
17
17
|
* You may specify a single easing or a object containing enter and exit values.
|
package/Fade/Fade.js
CHANGED
|
@@ -389,7 +389,7 @@ process.env.NODE_ENV !== "production" ? FilledInput.propTypes
|
|
|
389
389
|
/**
|
|
390
390
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
391
391
|
*/
|
|
392
|
-
sx: PropTypes.object,
|
|
392
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
393
393
|
|
|
394
394
|
/**
|
|
395
395
|
* 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).
|