@mui/material 5.1.1 → 5.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accordion/Accordion.d.ts +1 -1
- package/Accordion/Accordion.js +2 -2
- package/Accordion/accordionClasses.d.ts +18 -18
- package/AccordionActions/AccordionActions.js +1 -1
- package/AccordionActions/accordionActionsClasses.d.ts +10 -10
- package/AccordionDetails/AccordionDetails.js +1 -1
- package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
- package/AccordionSummary/AccordionSummary.js +2 -2
- package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
- package/Alert/Alert.js +1 -3
- package/Alert/alertClasses.d.ts +44 -44
- package/AlertTitle/AlertTitle.js +1 -1
- package/AlertTitle/alertTitleClasses.d.ts +8 -8
- package/AppBar/AppBar.js +1 -1
- package/AppBar/appBarClasses.d.ts +28 -28
- package/Autocomplete/Autocomplete.js +1 -1
- package/Autocomplete/autocompleteClasses.d.ts +54 -54
- package/Avatar/Avatar.js +1 -1
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/AvatarGroup.d.ts +5 -0
- package/AvatarGroup/AvatarGroup.js +20 -5
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/Backdrop/Backdrop.js +1 -1
- package/Badge/Badge.js +1 -1
- package/BottomNavigation/BottomNavigation.js +1 -1
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
- package/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
- package/Breadcrumbs/Breadcrumbs.js +1 -1
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
- package/Button/Button.js +16 -35
- package/Button/buttonClasses.d.ts +76 -76
- package/ButtonBase/ButtonBase.d.ts +1 -1
- package/ButtonBase/ButtonBase.js +2 -2
- package/ButtonBase/buttonBaseClasses.d.ts +12 -12
- package/ButtonBase/touchRippleClasses.d.ts +20 -20
- package/ButtonGroup/ButtonGroup.js +1 -1
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
- package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
- package/CHANGELOG.md +265 -3
- package/Card/Card.js +1 -1
- package/Card/cardClasses.d.ts +8 -8
- package/CardActionArea/CardActionArea.js +1 -1
- package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
- package/CardActions/CardActions.js +1 -1
- package/CardActions/cardActionsClasses.d.ts +10 -10
- package/CardContent/CardContent.js +1 -1
- package/CardContent/cardContentClasses.d.ts +8 -8
- package/CardHeader/CardHeader.js +1 -1
- package/CardHeader/cardHeaderClasses.d.ts +18 -18
- package/CardMedia/CardMedia.js +1 -1
- package/CardMedia/cardMediaClasses.d.ts +12 -12
- package/Checkbox/Checkbox.js +1 -1
- package/Checkbox/checkboxClasses.d.ts +18 -18
- package/Chip/Chip.js +1 -1
- package/Chip/chipClasses.d.ts +80 -80
- package/CircularProgress/CircularProgress.js +1 -1
- package/CircularProgress/circularProgressClasses.d.ts +26 -26
- package/ClickAwayListener/index.d.ts +2 -2
- package/Collapse/Collapse.d.ts +1 -1
- package/Collapse/Collapse.js +1 -1
- package/Collapse/collapseClasses.d.ts +18 -18
- package/Container/Container.js +1 -1
- package/Container/containerClasses.d.ts +22 -22
- package/CssBaseline/CssBaseline.d.ts +1 -1
- package/CssBaseline/CssBaseline.js +1 -1
- package/Dialog/Dialog.d.ts +1 -1
- package/Dialog/Dialog.js +2 -2
- package/Dialog/DialogContext.d.ts +6 -6
- package/Dialog/dialogClasses.d.ts +36 -36
- package/DialogActions/DialogActions.js +1 -1
- package/DialogActions/dialogActionsClasses.d.ts +10 -10
- package/DialogContent/DialogContent.js +1 -1
- package/DialogContent/dialogContentClasses.d.ts +10 -10
- package/DialogContentText/DialogContentText.js +1 -1
- package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
- package/DialogTitle/DialogTitle.js +1 -1
- package/DialogTitle/dialogTitleClasses.d.ts +8 -8
- package/Divider/Divider.js +1 -1
- package/Divider/dividerClasses.d.ts +34 -34
- package/Drawer/Drawer.js +1 -1
- package/Drawer/drawerClasses.d.ts +30 -30
- package/Fab/Fab.js +1 -1
- package/Fab/fabClasses.d.ts +26 -26
- package/Fade/Fade.d.ts +1 -1
- package/FilledInput/FilledInput.js +1 -1
- package/FilledInput/filledInputClasses.d.ts +40 -40
- package/FormControl/FormControl.js +1 -1
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControlLabel/FormControlLabel.js +1 -1
- package/FormControlLabel/formControlLabelClasses.d.ts +18 -18
- package/FormGroup/FormGroup.js +1 -1
- package/FormGroup/formGroupClasses.d.ts +10 -10
- package/FormHelperText/FormHelperText.js +1 -1
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormLabel/FormLabel.js +1 -1
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/Grid/Grid.js +24 -3
- package/Grid/gridClasses.d.ts +48 -48
- package/Grow/Grow.d.ts +1 -1
- package/Icon/Icon.js +1 -1
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/IconButton.js +7 -5
- package/IconButton/iconButtonClasses.d.ts +26 -26
- package/ImageList/ImageList.js +1 -1
- package/ImageList/imageListClasses.d.ts +16 -16
- package/ImageListItem/ImageListItem.js +1 -1
- package/ImageListItem/imageListItemClasses.d.ts +18 -18
- package/ImageListItemBar/ImageListItemBar.js +1 -1
- package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
- package/Input/Input.js +1 -1
- package/Input/inputClasses.d.ts +34 -34
- package/InputAdornment/InputAdornment.js +1 -1
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/InputBase.js +1 -1
- package/InputBase/inputBaseClasses.d.ts +44 -44
- package/InputLabel/InputLabel.js +1 -1
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LinearProgress/LinearProgress.js +1 -1
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- package/Link/Link.js +1 -1
- package/Link/linkClasses.d.ts +18 -18
- package/List/List.d.ts +12 -2
- package/List/List.js +1 -1
- package/List/listClasses.d.ts +14 -14
- package/ListItem/ListItem.js +1 -1
- package/ListItem/listItemClasses.d.ts +30 -30
- package/ListItemAvatar/ListItemAvatar.js +1 -1
- package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
- package/ListItemButton/ListItemButton.js +2 -2
- package/ListItemButton/listItemButtonClasses.d.ts +22 -22
- package/ListItemIcon/ListItemIcon.js +1 -1
- package/ListItemIcon/listItemIconClasses.d.ts +10 -10
- package/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
- package/ListItemText/ListItemText.js +1 -1
- package/ListItemText/listItemTextClasses.d.ts +18 -18
- package/ListSubheader/ListSubheader.js +1 -1
- package/ListSubheader/listSubheaderClasses.d.ts +18 -18
- package/Menu/Menu.d.ts +1 -1
- package/Menu/Menu.js +2 -2
- package/Menu/menuClasses.d.ts +12 -12
- package/MenuItem/MenuItem.js +2 -2
- package/MenuItem/menuItemClasses.d.ts +20 -20
- package/MenuList/MenuList.d.ts +47 -36
- package/MobileStepper/MobileStepper.js +1 -1
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/Modal/Modal.js +1 -1
- package/NativeSelect/NativeSelect.js +1 -1
- package/NativeSelect/nativeSelectClasses.d.ts +32 -32
- package/OutlinedInput/OutlinedInput.js +1 -1
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/Pagination/Pagination.js +1 -1
- package/Pagination/paginationClasses.d.ts +14 -14
- package/PaginationItem/PaginationItem.js +1 -1
- package/PaginationItem/paginationItemClasses.d.ts +42 -42
- package/Paper/Paper.js +1 -1
- package/Paper/paperClasses.d.ts +39 -39
- package/Popover/Popover.d.ts +1 -1
- package/Popover/Popover.js +2 -2
- package/Popover/popoverClasses.d.ts +10 -10
- package/Popper/Popper.d.ts +17 -17
- package/Popper/Popper.js +4 -23
- package/README.md +9 -7
- package/Radio/Radio.js +1 -1
- package/Radio/radioClasses.d.ts +16 -16
- package/RadioGroup/RadioGroupContext.d.ts +11 -11
- package/RadioGroup/useRadioGroup.d.ts +4 -4
- package/Rating/Rating.js +1 -1
- package/Rating/ratingClasses.d.ts +40 -40
- package/ScopedCssBaseline/ScopedCssBaseline.d.ts +1 -1
- package/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
- package/Select/Select.js +1 -1
- package/Select/SelectInput.js +10 -2
- package/Select/selectClasses.d.ts +30 -30
- package/Skeleton/Skeleton.js +1 -1
- package/Skeleton/skeletonClasses.d.ts +24 -24
- package/Slide/Slide.d.ts +1 -1
- package/Slider/Slider.js +1 -1
- package/Snackbar/Snackbar.d.ts +5 -5
- package/Snackbar/Snackbar.js +62 -6
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/SnackbarContent/SnackbarContent.js +1 -1
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
- package/SpeedDial/SpeedDial.d.ts +1 -1
- package/SpeedDial/SpeedDial.js +2 -2
- package/SpeedDial/speedDialClasses.d.ts +22 -22
- package/SpeedDialAction/SpeedDialAction.js +1 -1
- package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
- package/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
- package/Stack/Stack.js +1 -1
- package/Step/Step.js +1 -1
- package/Step/stepClasses.d.ts +16 -16
- package/StepButton/StepButton.js +1 -1
- package/StepButton/stepButtonClasses.d.ts +14 -14
- package/StepConnector/StepConnector.js +1 -1
- package/StepConnector/stepConnectorClasses.d.ts +26 -26
- package/StepContent/StepContent.d.ts +1 -1
- package/StepContent/StepContent.js +2 -2
- package/StepContent/stepContentClasses.d.ts +12 -12
- package/StepIcon/StepIcon.js +1 -1
- package/StepIcon/stepIconClasses.d.ts +16 -16
- package/StepLabel/StepLabel.js +1 -1
- package/StepLabel/stepLabelClasses.d.ts +28 -28
- package/Stepper/Stepper.js +1 -1
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/SvgIcon.js +1 -1
- package/SvgIcon/svgIconClasses.d.ts +24 -24
- package/Switch/Switch.js +1 -1
- package/Switch/switchClasses.d.ts +32 -32
- package/Tab/Tab.js +1 -1
- package/Tab/tabClasses.d.ts +26 -26
- package/TabScrollButton/TabScrollButton.js +1 -1
- package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
- package/Table/Table.js +1 -1
- package/Table/tableClasses.d.ts +10 -10
- package/TableBody/TableBody.js +1 -1
- package/TableBody/tableBodyClasses.d.ts +8 -8
- package/TableCell/TableCell.js +1 -1
- package/TableCell/tableCellClasses.d.ts +32 -32
- package/TableContainer/TableContainer.js +1 -1
- package/TableContainer/tableContainerClasses.d.ts +8 -8
- package/TableFooter/TableFooter.js +1 -1
- package/TableFooter/tableFooterClasses.d.ts +8 -8
- package/TableHead/TableHead.js +1 -1
- package/TableHead/tableHeadClasses.d.ts +8 -8
- package/TablePagination/TablePagination.js +1 -1
- package/TablePagination/tablePaginationClasses.d.ts +28 -28
- package/TableRow/TableRow.js +1 -1
- package/TableRow/tableRowClasses.d.ts +16 -16
- package/TableSortLabel/TableSortLabel.js +1 -1
- package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
- package/Tabs/Tabs.js +1 -1
- package/Tabs/tabsClasses.d.ts +32 -32
- package/TextField/TextField.js +4 -3
- package/TextField/textFieldClasses.d.ts +8 -8
- package/ToggleButton/ToggleButton.js +1 -1
- package/ToggleButton/toggleButtonClasses.d.ts +24 -24
- package/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
- package/Toolbar/Toolbar.js +1 -1
- package/Toolbar/toolbarClasses.d.ts +14 -14
- package/Tooltip/Tooltip.d.ts +1 -1
- package/Tooltip/Tooltip.js +2 -2
- package/Tooltip/tooltipClasses.d.ts +30 -30
- package/Typography/Typography.js +1 -1
- package/Typography/typographyClasses.d.ts +50 -50
- package/Zoom/Zoom.d.ts +1 -1
- package/darkScrollbar/index.d.ts +28 -28
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/Accordion/Accordion.js +2 -2
- package/legacy/AccordionActions/AccordionActions.js +1 -1
- package/legacy/AccordionDetails/AccordionDetails.js +1 -1
- package/legacy/AccordionSummary/AccordionSummary.js +2 -2
- package/legacy/Alert/Alert.js +1 -3
- package/legacy/AlertTitle/AlertTitle.js +1 -1
- package/legacy/AppBar/AppBar.js +1 -1
- package/legacy/Autocomplete/Autocomplete.js +1 -1
- package/legacy/Avatar/Avatar.js +1 -1
- package/legacy/AvatarGroup/AvatarGroup.js +19 -4
- package/legacy/Backdrop/Backdrop.js +1 -1
- package/legacy/Badge/Badge.js +1 -1
- package/legacy/BottomNavigation/BottomNavigation.js +1 -1
- package/legacy/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/legacy/Breadcrumbs/Breadcrumbs.js +1 -1
- package/legacy/Button/Button.js +23 -35
- package/legacy/ButtonBase/ButtonBase.js +2 -2
- package/legacy/ButtonGroup/ButtonGroup.js +1 -1
- package/legacy/Card/Card.js +1 -1
- package/legacy/CardActionArea/CardActionArea.js +1 -1
- package/legacy/CardActions/CardActions.js +1 -1
- package/legacy/CardContent/CardContent.js +1 -1
- package/legacy/CardHeader/CardHeader.js +1 -1
- package/legacy/CardMedia/CardMedia.js +1 -1
- package/legacy/Checkbox/Checkbox.js +1 -1
- package/legacy/Chip/Chip.js +1 -1
- package/legacy/CircularProgress/CircularProgress.js +1 -1
- package/legacy/Collapse/Collapse.js +1 -1
- package/legacy/Container/Container.js +1 -1
- package/legacy/CssBaseline/CssBaseline.js +1 -1
- package/legacy/Dialog/Dialog.js +2 -2
- package/legacy/DialogActions/DialogActions.js +1 -1
- package/legacy/DialogContent/DialogContent.js +1 -1
- package/legacy/DialogContentText/DialogContentText.js +1 -1
- package/legacy/DialogTitle/DialogTitle.js +1 -1
- package/legacy/Divider/Divider.js +1 -1
- package/legacy/Drawer/Drawer.js +1 -1
- package/legacy/Fab/Fab.js +1 -1
- package/legacy/FilledInput/FilledInput.js +1 -1
- package/legacy/FormControl/FormControl.js +1 -1
- package/legacy/FormControlLabel/FormControlLabel.js +1 -1
- package/legacy/FormGroup/FormGroup.js +1 -1
- package/legacy/FormHelperText/FormHelperText.js +1 -1
- package/legacy/FormLabel/FormLabel.js +1 -1
- package/legacy/Grid/Grid.js +25 -3
- package/legacy/Icon/Icon.js +1 -1
- package/legacy/IconButton/IconButton.js +7 -5
- 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 +1 -1
- package/legacy/InputLabel/InputLabel.js +1 -1
- package/legacy/LinearProgress/LinearProgress.js +1 -1
- package/legacy/Link/Link.js +1 -1
- package/legacy/List/List.js +1 -1
- package/legacy/ListItem/ListItem.js +1 -1
- package/legacy/ListItemAvatar/ListItemAvatar.js +1 -1
- package/legacy/ListItemButton/ListItemButton.js +2 -2
- package/legacy/ListItemIcon/ListItemIcon.js +1 -1
- package/legacy/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/legacy/ListItemText/ListItemText.js +1 -1
- package/legacy/ListSubheader/ListSubheader.js +1 -1
- package/legacy/Menu/Menu.js +2 -2
- package/legacy/MenuItem/MenuItem.js +2 -2
- package/legacy/MobileStepper/MobileStepper.js +1 -1
- package/legacy/Modal/Modal.js +1 -1
- package/legacy/NativeSelect/NativeSelect.js +1 -1
- package/legacy/OutlinedInput/OutlinedInput.js +1 -1
- package/legacy/Pagination/Pagination.js +1 -1
- package/legacy/PaginationItem/PaginationItem.js +1 -1
- package/legacy/Paper/Paper.js +1 -1
- package/legacy/Popover/Popover.js +2 -2
- package/legacy/Popper/Popper.js +4 -23
- package/legacy/Radio/Radio.js +1 -1
- package/legacy/Rating/Rating.js +1 -1
- package/legacy/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
- package/legacy/Select/Select.js +1 -1
- package/legacy/Select/SelectInput.js +12 -2
- package/legacy/Skeleton/Skeleton.js +1 -1
- package/legacy/Slider/Slider.js +1 -1
- package/legacy/Snackbar/Snackbar.js +62 -6
- package/legacy/SnackbarContent/SnackbarContent.js +1 -1
- package/legacy/SpeedDial/SpeedDial.js +2 -2
- package/legacy/SpeedDialAction/SpeedDialAction.js +1 -1
- package/legacy/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/legacy/Stack/Stack.js +1 -1
- package/legacy/Step/Step.js +1 -1
- package/legacy/StepButton/StepButton.js +1 -1
- package/legacy/StepConnector/StepConnector.js +1 -1
- package/legacy/StepContent/StepContent.js +2 -2
- package/legacy/StepIcon/StepIcon.js +1 -1
- package/legacy/StepLabel/StepLabel.js +1 -1
- package/legacy/Stepper/Stepper.js +1 -1
- package/legacy/SvgIcon/SvgIcon.js +1 -1
- package/legacy/Switch/Switch.js +1 -1
- package/legacy/Tab/Tab.js +1 -1
- package/legacy/TabScrollButton/TabScrollButton.js +1 -1
- package/legacy/Table/Table.js +1 -1
- package/legacy/TableBody/TableBody.js +1 -1
- package/legacy/TableCell/TableCell.js +1 -1
- package/legacy/TableContainer/TableContainer.js +1 -1
- package/legacy/TableFooter/TableFooter.js +1 -1
- package/legacy/TableHead/TableHead.js +1 -1
- package/legacy/TablePagination/TablePagination.js +1 -1
- package/legacy/TableRow/TableRow.js +1 -1
- package/legacy/TableSortLabel/TableSortLabel.js +1 -1
- package/legacy/Tabs/Tabs.js +1 -1
- package/legacy/TextField/TextField.js +4 -3
- package/legacy/ToggleButton/ToggleButton.js +1 -1
- package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/legacy/Toolbar/Toolbar.js +1 -1
- package/legacy/Tooltip/Tooltip.js +2 -2
- package/legacy/Typography/Typography.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/locale/index.js +191 -108
- package/legacy/styles/adaptV4Theme.js +1 -1
- package/legacy/styles/index.js +1 -1
- package/legacy/styles/responsiveFontSizes.js +1 -1
- package/locale/index.d.ts +66 -65
- package/locale/index.js +80 -0
- package/modern/Accordion/Accordion.js +2 -2
- package/modern/AccordionActions/AccordionActions.js +1 -1
- package/modern/AccordionDetails/AccordionDetails.js +1 -1
- package/modern/AccordionSummary/AccordionSummary.js +2 -2
- package/modern/Alert/Alert.js +1 -3
- package/modern/AlertTitle/AlertTitle.js +1 -1
- package/modern/AppBar/AppBar.js +1 -1
- package/modern/Autocomplete/Autocomplete.js +1 -1
- package/modern/Avatar/Avatar.js +1 -1
- package/modern/AvatarGroup/AvatarGroup.js +20 -5
- package/modern/Backdrop/Backdrop.js +1 -1
- package/modern/Badge/Badge.js +1 -1
- package/modern/BottomNavigation/BottomNavigation.js +1 -1
- package/modern/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/modern/Breadcrumbs/Breadcrumbs.js +1 -1
- package/modern/Button/Button.js +16 -35
- package/modern/ButtonBase/ButtonBase.js +2 -2
- package/modern/ButtonGroup/ButtonGroup.js +1 -1
- package/modern/Card/Card.js +1 -1
- package/modern/CardActionArea/CardActionArea.js +1 -1
- package/modern/CardActions/CardActions.js +1 -1
- package/modern/CardContent/CardContent.js +1 -1
- package/modern/CardHeader/CardHeader.js +1 -1
- package/modern/CardMedia/CardMedia.js +1 -1
- package/modern/Checkbox/Checkbox.js +1 -1
- package/modern/Chip/Chip.js +1 -1
- package/modern/CircularProgress/CircularProgress.js +1 -1
- package/modern/Collapse/Collapse.js +1 -1
- package/modern/Container/Container.js +1 -1
- package/modern/CssBaseline/CssBaseline.js +1 -1
- package/modern/Dialog/Dialog.js +2 -2
- package/modern/DialogActions/DialogActions.js +1 -1
- package/modern/DialogContent/DialogContent.js +1 -1
- package/modern/DialogContentText/DialogContentText.js +1 -1
- package/modern/DialogTitle/DialogTitle.js +1 -1
- package/modern/Divider/Divider.js +1 -1
- package/modern/Drawer/Drawer.js +1 -1
- package/modern/Fab/Fab.js +1 -1
- package/modern/FilledInput/FilledInput.js +1 -1
- package/modern/FormControl/FormControl.js +1 -1
- package/modern/FormControlLabel/FormControlLabel.js +1 -1
- package/modern/FormGroup/FormGroup.js +1 -1
- package/modern/FormHelperText/FormHelperText.js +1 -1
- package/modern/FormLabel/FormLabel.js +1 -1
- package/modern/Grid/Grid.js +24 -3
- package/modern/Icon/Icon.js +1 -1
- package/modern/IconButton/IconButton.js +7 -5
- 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 +1 -1
- package/modern/InputLabel/InputLabel.js +1 -1
- package/modern/LinearProgress/LinearProgress.js +1 -1
- package/modern/Link/Link.js +1 -1
- package/modern/List/List.js +1 -1
- package/modern/ListItem/ListItem.js +1 -1
- package/modern/ListItemAvatar/ListItemAvatar.js +1 -1
- package/modern/ListItemButton/ListItemButton.js +2 -2
- package/modern/ListItemIcon/ListItemIcon.js +1 -1
- package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/modern/ListItemText/ListItemText.js +1 -1
- package/modern/ListSubheader/ListSubheader.js +1 -1
- package/modern/Menu/Menu.js +2 -2
- package/modern/MenuItem/MenuItem.js +2 -2
- package/modern/MobileStepper/MobileStepper.js +1 -1
- package/modern/Modal/Modal.js +1 -1
- package/modern/NativeSelect/NativeSelect.js +1 -1
- package/modern/OutlinedInput/OutlinedInput.js +1 -1
- package/modern/Pagination/Pagination.js +1 -1
- package/modern/PaginationItem/PaginationItem.js +1 -1
- package/modern/Paper/Paper.js +1 -1
- package/modern/Popover/Popover.js +2 -2
- package/modern/Popper/Popper.js +4 -23
- package/modern/Radio/Radio.js +1 -1
- package/modern/Rating/Rating.js +1 -1
- package/modern/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
- package/modern/Select/Select.js +1 -1
- package/modern/Select/SelectInput.js +10 -2
- package/modern/Skeleton/Skeleton.js +1 -1
- package/modern/Slider/Slider.js +1 -1
- package/modern/Snackbar/Snackbar.js +62 -6
- package/modern/SnackbarContent/SnackbarContent.js +1 -1
- package/modern/SpeedDial/SpeedDial.js +2 -2
- package/modern/SpeedDialAction/SpeedDialAction.js +1 -1
- package/modern/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/modern/Stack/Stack.js +1 -1
- package/modern/Step/Step.js +1 -1
- package/modern/StepButton/StepButton.js +1 -1
- package/modern/StepConnector/StepConnector.js +1 -1
- package/modern/StepContent/StepContent.js +2 -2
- package/modern/StepIcon/StepIcon.js +1 -1
- package/modern/StepLabel/StepLabel.js +1 -1
- package/modern/Stepper/Stepper.js +1 -1
- package/modern/SvgIcon/SvgIcon.js +1 -1
- package/modern/Switch/Switch.js +1 -1
- package/modern/Tab/Tab.js +1 -1
- package/modern/TabScrollButton/TabScrollButton.js +1 -1
- package/modern/Table/Table.js +1 -1
- package/modern/TableBody/TableBody.js +1 -1
- package/modern/TableCell/TableCell.js +1 -1
- package/modern/TableContainer/TableContainer.js +1 -1
- package/modern/TableFooter/TableFooter.js +1 -1
- package/modern/TableHead/TableHead.js +1 -1
- package/modern/TablePagination/TablePagination.js +1 -1
- package/modern/TableRow/TableRow.js +1 -1
- package/modern/TableSortLabel/TableSortLabel.js +1 -1
- package/modern/Tabs/Tabs.js +1 -1
- package/modern/TextField/TextField.js +4 -3
- package/modern/ToggleButton/ToggleButton.js +1 -1
- package/modern/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/modern/Toolbar/Toolbar.js +1 -1
- package/modern/Tooltip/Tooltip.js +2 -2
- package/modern/Typography/Typography.js +1 -1
- package/modern/index.js +1 -1
- package/modern/locale/index.js +80 -0
- package/modern/styles/adaptV4Theme.js +1 -1
- package/modern/styles/index.js +1 -1
- package/modern/styles/responsiveFontSizes.js +1 -1
- package/node/Accordion/Accordion.js +2 -2
- package/node/AccordionActions/AccordionActions.js +1 -1
- package/node/AccordionDetails/AccordionDetails.js +1 -1
- package/node/AccordionSummary/AccordionSummary.js +2 -2
- package/node/Alert/Alert.js +1 -3
- package/node/AlertTitle/AlertTitle.js +1 -1
- package/node/AppBar/AppBar.js +1 -1
- package/node/Autocomplete/Autocomplete.js +1 -1
- package/node/Avatar/Avatar.js +1 -1
- package/node/AvatarGroup/AvatarGroup.js +20 -5
- package/node/Backdrop/Backdrop.js +1 -1
- package/node/Badge/Badge.js +1 -1
- package/node/BottomNavigation/BottomNavigation.js +1 -1
- package/node/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/node/Breadcrumbs/Breadcrumbs.js +1 -1
- package/node/Button/Button.js +17 -34
- package/node/ButtonBase/ButtonBase.js +2 -2
- package/node/ButtonGroup/ButtonGroup.js +1 -1
- package/node/Card/Card.js +1 -1
- package/node/CardActionArea/CardActionArea.js +1 -1
- package/node/CardActions/CardActions.js +1 -1
- package/node/CardContent/CardContent.js +1 -1
- package/node/CardHeader/CardHeader.js +1 -1
- package/node/CardMedia/CardMedia.js +1 -1
- package/node/Checkbox/Checkbox.js +1 -1
- package/node/Chip/Chip.js +1 -1
- package/node/CircularProgress/CircularProgress.js +1 -1
- package/node/Collapse/Collapse.js +1 -1
- package/node/Container/Container.js +1 -1
- package/node/CssBaseline/CssBaseline.js +1 -1
- package/node/Dialog/Dialog.js +2 -2
- package/node/DialogActions/DialogActions.js +1 -1
- package/node/DialogContent/DialogContent.js +1 -1
- package/node/DialogContentText/DialogContentText.js +1 -1
- package/node/DialogTitle/DialogTitle.js +1 -1
- package/node/Divider/Divider.js +1 -1
- package/node/Drawer/Drawer.js +1 -1
- package/node/Fab/Fab.js +1 -1
- package/node/FilledInput/FilledInput.js +1 -1
- package/node/FormControl/FormControl.js +1 -1
- package/node/FormControlLabel/FormControlLabel.js +1 -1
- package/node/FormGroup/FormGroup.js +1 -1
- package/node/FormHelperText/FormHelperText.js +1 -1
- package/node/FormLabel/FormLabel.js +1 -1
- package/node/Grid/Grid.js +26 -3
- package/node/Icon/Icon.js +1 -1
- package/node/IconButton/IconButton.js +7 -5
- package/node/ImageList/ImageList.js +1 -1
- package/node/ImageListItem/ImageListItem.js +1 -1
- package/node/ImageListItemBar/ImageListItemBar.js +1 -1
- package/node/Input/Input.js +1 -1
- package/node/InputAdornment/InputAdornment.js +1 -1
- package/node/InputBase/InputBase.js +1 -1
- package/node/InputLabel/InputLabel.js +1 -1
- package/node/LinearProgress/LinearProgress.js +1 -1
- package/node/Link/Link.js +1 -1
- package/node/List/List.js +1 -1
- package/node/ListItem/ListItem.js +1 -1
- package/node/ListItemAvatar/ListItemAvatar.js +1 -1
- package/node/ListItemButton/ListItemButton.js +2 -2
- package/node/ListItemIcon/ListItemIcon.js +1 -1
- package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/node/ListItemText/ListItemText.js +1 -1
- package/node/ListSubheader/ListSubheader.js +1 -1
- package/node/Menu/Menu.js +2 -2
- package/node/MenuItem/MenuItem.js +2 -2
- package/node/MobileStepper/MobileStepper.js +1 -1
- package/node/Modal/Modal.js +1 -1
- package/node/NativeSelect/NativeSelect.js +1 -1
- package/node/OutlinedInput/OutlinedInput.js +1 -1
- package/node/Pagination/Pagination.js +1 -1
- package/node/PaginationItem/PaginationItem.js +1 -1
- package/node/Paper/Paper.js +1 -1
- package/node/Popover/Popover.js +2 -2
- package/node/Popper/Popper.js +3 -22
- package/node/Radio/Radio.js +1 -1
- package/node/Rating/Rating.js +1 -1
- package/node/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
- package/node/Select/Select.js +1 -1
- package/node/Select/SelectInput.js +10 -2
- package/node/Skeleton/Skeleton.js +1 -1
- package/node/Slider/Slider.js +1 -1
- package/node/Snackbar/Snackbar.js +62 -6
- package/node/SnackbarContent/SnackbarContent.js +1 -1
- package/node/SpeedDial/SpeedDial.js +2 -2
- package/node/SpeedDialAction/SpeedDialAction.js +1 -1
- package/node/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/node/Stack/Stack.js +1 -1
- package/node/Step/Step.js +1 -1
- package/node/StepButton/StepButton.js +1 -1
- package/node/StepConnector/StepConnector.js +1 -1
- package/node/StepContent/StepContent.js +2 -2
- package/node/StepIcon/StepIcon.js +1 -1
- package/node/StepLabel/StepLabel.js +1 -1
- package/node/Stepper/Stepper.js +1 -1
- package/node/SvgIcon/SvgIcon.js +1 -1
- package/node/Switch/Switch.js +1 -1
- package/node/Tab/Tab.js +1 -1
- package/node/TabScrollButton/TabScrollButton.js +1 -1
- package/node/Table/Table.js +1 -1
- package/node/TableBody/TableBody.js +1 -1
- package/node/TableCell/TableCell.js +1 -1
- package/node/TableContainer/TableContainer.js +1 -1
- package/node/TableFooter/TableFooter.js +1 -1
- package/node/TableHead/TableHead.js +1 -1
- package/node/TablePagination/TablePagination.js +1 -1
- package/node/TableRow/TableRow.js +1 -1
- package/node/TableSortLabel/TableSortLabel.js +1 -1
- package/node/Tabs/Tabs.js +1 -1
- package/node/TextField/TextField.js +3 -2
- package/node/ToggleButton/ToggleButton.js +1 -1
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/node/Toolbar/Toolbar.js +1 -1
- package/node/Tooltip/Tooltip.js +2 -2
- package/node/Typography/Typography.js +1 -1
- package/node/index.js +1 -1
- package/node/locale/index.js +82 -1
- package/node/styles/adaptV4Theme.js +1 -1
- package/node/styles/index.js +6 -0
- package/node/styles/responsiveFontSizes.js +1 -1
- package/package.json +6 -6
- package/styles/adaptV4Theme.js +1 -1
- package/styles/cssUtils.d.ts +32 -0
- package/styles/index.d.ts +4 -1
- package/styles/index.js +1 -1
- package/styles/responsiveFontSizes.js +1 -1
- package/styles/variants.d.ts +3 -2
- package/transitions/index.d.ts +1 -1
- package/transitions/transition.d.ts +14 -14
- package/transitions/utils.d.ts +23 -23
- package/umd/material-ui.development.js +1509 -522
- package/umd/material-ui.production.min.js +21 -21
- package/useMediaQuery/useMediaQuery.d.ts +27 -27
- package/useTouchRipple/index.d.ts +1 -1
- package/useTouchRipple/useTouchRipple.d.ts +28 -28
- package/utils/getScrollbarSize.d.ts +2 -2
- package/utils/ownerDocument.d.ts +2 -2
- package/utils/ownerWindow.d.ts +2 -2
- package/utils/setRef.d.ts +2 -2
|
@@ -180,7 +180,7 @@ process.env.NODE_ENV !== "production" ? Typography.propTypes
|
|
|
180
180
|
/**
|
|
181
181
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
182
182
|
*/
|
|
183
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
183
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
186
|
* Applies the theme typography styles.
|
package/modern/index.js
CHANGED
package/modern/locale/index.js
CHANGED
|
@@ -1,3 +1,83 @@
|
|
|
1
|
+
export const amET = {
|
|
2
|
+
components: {
|
|
3
|
+
MuiBreadcrumbs: {
|
|
4
|
+
defaultProps: {
|
|
5
|
+
expandText: 'መንገድ አሳይ'
|
|
6
|
+
}
|
|
7
|
+
},
|
|
8
|
+
MuiTablePagination: {
|
|
9
|
+
defaultProps: {
|
|
10
|
+
getItemAriaLabel: type => {
|
|
11
|
+
if (type === 'first') {
|
|
12
|
+
return 'ወደ መጀመሪያው ገጽ ይሂዱ';
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
if (type === 'last') {
|
|
16
|
+
return 'ወደ መጨረሻው ገጽ ይሂዱ';
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
if (type === 'next') {
|
|
20
|
+
return 'ወደ ቀጣዩ ገጽ ይሂዱ';
|
|
21
|
+
} // if (type === 'previous') {
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
return 'ወደ ቀዳሚው ገጽ ይሂዱ';
|
|
25
|
+
},
|
|
26
|
+
labelRowsPerPage: 'ረድፎች በአንድ ገጽ:',
|
|
27
|
+
labelDisplayedRows: ({
|
|
28
|
+
from,
|
|
29
|
+
to,
|
|
30
|
+
count
|
|
31
|
+
}) => `${from}-${to} ከ ${count !== -1 ? count : `${to} በላይ`}`
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
MuiRating: {
|
|
35
|
+
defaultProps: {
|
|
36
|
+
getLabelText: value => `${value} ኮከ${value !== 1 ? 'ቦች' : 'ብ'}`,
|
|
37
|
+
emptyLabelText: 'ባዶ'
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
MuiAutocomplete: {
|
|
41
|
+
defaultProps: {
|
|
42
|
+
clearText: 'አጽዳ',
|
|
43
|
+
closeText: 'ዝጋ',
|
|
44
|
+
loadingText: 'በመጫን ላይ…',
|
|
45
|
+
noOptionsText: 'አማራጮች የሉም',
|
|
46
|
+
openText: 'ክፈት'
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
MuiAlert: {
|
|
50
|
+
defaultProps: {
|
|
51
|
+
closeText: 'ዝጋ'
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
MuiPagination: {
|
|
55
|
+
defaultProps: {
|
|
56
|
+
'aria-label': 'የገጽ አሰሳ',
|
|
57
|
+
getItemAriaLabel: (type, page, selected) => {
|
|
58
|
+
if (type === 'page') {
|
|
59
|
+
return `${selected ? '' : 'ወደ '}ገጽ ${page}${selected ? '' : ' ሂድ'}`;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
if (type === 'first') {
|
|
63
|
+
return 'ወደ መጀመሪያው ገጽ ይሂዱ';
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
if (type === 'last') {
|
|
67
|
+
return 'ወደ መጨረሻው ገጽ ይሂዱ';
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
if (type === 'next') {
|
|
71
|
+
return 'ወደ ቀጣዩ ገጽ ይሂዱ';
|
|
72
|
+
} // if (type === 'previous') {
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
return 'ወደ ቀዳሚው ገጽ ይሂዱ';
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
};
|
|
1
81
|
export const arEG = {
|
|
2
82
|
components: {
|
|
3
83
|
MuiBreadcrumbs: {
|
|
@@ -32,7 +32,7 @@ export default function adaptV4Theme(inputTheme) {
|
|
|
32
32
|
const componentValue = theme.components[component] || {};
|
|
33
33
|
componentValue.defaultProps = props[component];
|
|
34
34
|
theme.components[component] = componentValue;
|
|
35
|
-
}); //
|
|
35
|
+
}); // CSS overrides
|
|
36
36
|
|
|
37
37
|
Object.keys(styleOverrides).forEach(component => {
|
|
38
38
|
const componentValue = theme.components[component] || {};
|
package/modern/styles/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { default as adaptV4Theme } from './adaptV4Theme';
|
|
2
|
-
export { hexToRgb, rgbToHex, hslToRgb, decomposeColor, recomposeColor, getContrastRatio, getLuminance, emphasize, alpha, darken, lighten, css, keyframes } from '@mui/system';
|
|
2
|
+
export { hexToRgb, rgbToHex, hslToRgb, decomposeColor, recomposeColor, getContrastRatio, getLuminance, emphasize, alpha, darken, lighten, css, keyframes, experimental_sx } from '@mui/system';
|
|
3
3
|
export { default as createTheme, createMuiTheme } from './createTheme';
|
|
4
4
|
export { default as unstable_createMuiStrictModeTheme } from './createMuiStrictModeTheme';
|
|
5
5
|
export { default as createStyles } from './createStyles';
|
|
@@ -12,7 +12,7 @@ export default function responsiveFontSizes(themeInput, options = {}) {
|
|
|
12
12
|
const theme = _extends({}, themeInput);
|
|
13
13
|
|
|
14
14
|
theme.typography = _extends({}, theme.typography);
|
|
15
|
-
const typography = theme.typography; // Convert between
|
|
15
|
+
const typography = theme.typography; // Convert between CSS lengths e.g. em->px or px->rem
|
|
16
16
|
// Set the baseFontSize for your project. Defaults to 16px (also the browser default).
|
|
17
17
|
|
|
18
18
|
const convert = convertLength(typography.htmlFontSize);
|
|
@@ -285,7 +285,7 @@ process.env.NODE_ENV !== "production" ? Accordion.propTypes
|
|
|
285
285
|
/**
|
|
286
286
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
287
287
|
*/
|
|
288
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
288
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
289
289
|
|
|
290
290
|
/**
|
|
291
291
|
* The component used for the transition.
|
|
@@ -296,7 +296,7 @@ process.env.NODE_ENV !== "production" ? Accordion.propTypes
|
|
|
296
296
|
|
|
297
297
|
/**
|
|
298
298
|
* Props applied to the transition element.
|
|
299
|
-
* By default, the element is based on this [`Transition`](
|
|
299
|
+
* By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
|
|
300
300
|
*/
|
|
301
301
|
TransitionProps: _propTypes.default.object
|
|
302
302
|
} : void 0;
|
|
@@ -117,7 +117,7 @@ process.env.NODE_ENV !== "production" ? AccordionActions.propTypes
|
|
|
117
117
|
/**
|
|
118
118
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
119
119
|
*/
|
|
120
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
120
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
121
121
|
} : void 0;
|
|
122
122
|
var _default = AccordionActions;
|
|
123
123
|
exports.default = _default;
|
|
@@ -95,7 +95,7 @@ process.env.NODE_ENV !== "production" ? AccordionDetails.propTypes
|
|
|
95
95
|
/**
|
|
96
96
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
97
97
|
*/
|
|
98
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
98
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
99
99
|
} : void 0;
|
|
100
100
|
var _default = AccordionDetails;
|
|
101
101
|
exports.default = _default;
|
|
@@ -211,7 +211,7 @@ process.env.NODE_ENV !== "production" ? AccordionSummary.propTypes
|
|
|
211
211
|
* This prop can help identify which element has keyboard focus.
|
|
212
212
|
* The class name will be applied when the element gains the focus through keyboard interaction.
|
|
213
213
|
* It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
|
|
214
|
-
* The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/
|
|
214
|
+
* The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
|
|
215
215
|
* A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
|
|
216
216
|
* if needed.
|
|
217
217
|
*/
|
|
@@ -225,7 +225,7 @@ process.env.NODE_ENV !== "production" ? AccordionSummary.propTypes
|
|
|
225
225
|
/**
|
|
226
226
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
227
227
|
*/
|
|
228
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
228
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
229
229
|
} : void 0;
|
|
230
230
|
var _default = AccordionSummary;
|
|
231
231
|
exports.default = _default;
|
package/node/Alert/Alert.js
CHANGED
|
@@ -86,7 +86,6 @@ const AlertRoot = (0, _styled.default)(_Paper.default, {
|
|
|
86
86
|
const getBackgroundColor = theme.palette.mode === 'light' ? _system.lighten : _system.darken;
|
|
87
87
|
const color = ownerState.color || ownerState.severity;
|
|
88
88
|
return (0, _extends2.default)({}, theme.typography.body2, {
|
|
89
|
-
borderRadius: theme.shape.borderRadius,
|
|
90
89
|
backgroundColor: 'transparent',
|
|
91
90
|
display: 'flex',
|
|
92
91
|
padding: '6px 16px'
|
|
@@ -178,7 +177,6 @@ const Alert = /*#__PURE__*/React.forwardRef(function Alert(inProps, ref) {
|
|
|
178
177
|
const classes = useUtilityClasses(ownerState);
|
|
179
178
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(AlertRoot, (0, _extends2.default)({
|
|
180
179
|
role: role,
|
|
181
|
-
square: true,
|
|
182
180
|
elevation: 0,
|
|
183
181
|
ownerState: ownerState,
|
|
184
182
|
className: (0, _clsx.default)(classes.root, className),
|
|
@@ -296,7 +294,7 @@ process.env.NODE_ENV !== "production" ? Alert.propTypes
|
|
|
296
294
|
/**
|
|
297
295
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
298
296
|
*/
|
|
299
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
297
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
300
298
|
|
|
301
299
|
/**
|
|
302
300
|
* The variant to use.
|
|
@@ -102,7 +102,7 @@ process.env.NODE_ENV !== "production" ? AlertTitle.propTypes
|
|
|
102
102
|
/**
|
|
103
103
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
104
104
|
*/
|
|
105
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
105
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
106
106
|
} : void 0;
|
|
107
107
|
var _default = AlertTitle;
|
|
108
108
|
exports.default = _default;
|
package/node/AppBar/AppBar.js
CHANGED
|
@@ -190,7 +190,7 @@ process.env.NODE_ENV !== "production" ? AppBar.propTypes
|
|
|
190
190
|
/**
|
|
191
191
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
192
192
|
*/
|
|
193
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
193
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
194
194
|
} : void 0;
|
|
195
195
|
var _default = AppBar;
|
|
196
196
|
exports.default = _default;
|
|
@@ -1083,7 +1083,7 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes
|
|
|
1083
1083
|
/**
|
|
1084
1084
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
1085
1085
|
*/
|
|
1086
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
1086
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
1087
1087
|
|
|
1088
1088
|
/**
|
|
1089
1089
|
* The value of the autocomplete.
|
package/node/Avatar/Avatar.js
CHANGED
|
@@ -275,7 +275,7 @@ process.env.NODE_ENV !== "production" ? Avatar.propTypes
|
|
|
275
275
|
/**
|
|
276
276
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
277
277
|
*/
|
|
278
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
278
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
279
279
|
|
|
280
280
|
/**
|
|
281
281
|
* The shape of the avatar.
|
|
@@ -33,7 +33,7 @@ var _avatarGroupClasses = _interopRequireWildcard(require("./avatarGroupClasses"
|
|
|
33
33
|
|
|
34
34
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
35
35
|
|
|
36
|
-
const _excluded = ["children", "className", "max", "spacing", "variant"];
|
|
36
|
+
const _excluded = ["children", "className", "max", "spacing", "total", "variant"];
|
|
37
37
|
|
|
38
38
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
39
39
|
|
|
@@ -99,10 +99,11 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps,
|
|
|
99
99
|
className,
|
|
100
100
|
max = 5,
|
|
101
101
|
spacing = 'medium',
|
|
102
|
+
total,
|
|
102
103
|
variant = 'circular'
|
|
103
104
|
} = props,
|
|
104
105
|
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
105
|
-
|
|
106
|
+
let clampedMax = max < 2 ? 2 : max;
|
|
106
107
|
const ownerState = (0, _extends2.default)({}, props, {
|
|
107
108
|
max,
|
|
108
109
|
spacing,
|
|
@@ -118,7 +119,15 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps,
|
|
|
118
119
|
|
|
119
120
|
return /*#__PURE__*/React.isValidElement(child);
|
|
120
121
|
});
|
|
121
|
-
const
|
|
122
|
+
const totalAvatars = total || children.length;
|
|
123
|
+
|
|
124
|
+
if (totalAvatars === clampedMax) {
|
|
125
|
+
clampedMax += 1;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
clampedMax = Math.min(totalAvatars + 1, clampedMax);
|
|
129
|
+
const maxAvatars = Math.min(children.length, clampedMax - 1);
|
|
130
|
+
const extraAvatars = Math.max(totalAvatars - clampedMax, totalAvatars - maxAvatars, 0);
|
|
122
131
|
const marginLeft = spacing && SPACINGS[spacing] !== undefined ? SPACINGS[spacing] : -spacing;
|
|
123
132
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(AvatarGroupRoot, (0, _extends2.default)({
|
|
124
133
|
ownerState: ownerState,
|
|
@@ -133,7 +142,7 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps,
|
|
|
133
142
|
},
|
|
134
143
|
variant: variant,
|
|
135
144
|
children: ["+", extraAvatars]
|
|
136
|
-
}) : null, children.slice(0,
|
|
145
|
+
}) : null, children.slice(0, maxAvatars).reverse().map(child => {
|
|
137
146
|
return /*#__PURE__*/React.cloneElement(child, {
|
|
138
147
|
className: (0, _clsx.default)(child.props.className, classes.avatar),
|
|
139
148
|
style: (0, _extends2.default)({
|
|
@@ -188,7 +197,13 @@ process.env.NODE_ENV !== "production" ? AvatarGroup.propTypes
|
|
|
188
197
|
/**
|
|
189
198
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
190
199
|
*/
|
|
191
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
200
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* The total number of avatars. Used for calculating the number of extra avatars.
|
|
204
|
+
* @default children.length
|
|
205
|
+
*/
|
|
206
|
+
total: _propTypes.default.number,
|
|
192
207
|
|
|
193
208
|
/**
|
|
194
209
|
* The variant to use.
|
|
@@ -165,7 +165,7 @@ process.env.NODE_ENV !== "production" ? Backdrop.propTypes
|
|
|
165
165
|
/**
|
|
166
166
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
167
167
|
*/
|
|
168
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
168
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
169
169
|
|
|
170
170
|
/**
|
|
171
171
|
* The duration for the transition, in milliseconds.
|
package/node/Badge/Badge.js
CHANGED
|
@@ -321,7 +321,7 @@ process.env.NODE_ENV !== "production" ? Badge.propTypes
|
|
|
321
321
|
/**
|
|
322
322
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
323
323
|
*/
|
|
324
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
324
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
325
325
|
|
|
326
326
|
/**
|
|
327
327
|
* The variant to use.
|
|
@@ -150,7 +150,7 @@ process.env.NODE_ENV !== "production" ? BottomNavigation.propTypes
|
|
|
150
150
|
/**
|
|
151
151
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
152
152
|
*/
|
|
153
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
153
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
154
154
|
|
|
155
155
|
/**
|
|
156
156
|
* The value of the currently selected `BottomNavigationAction`.
|
|
@@ -198,7 +198,7 @@ process.env.NODE_ENV !== "production" ? BottomNavigationAction.propTypes
|
|
|
198
198
|
/**
|
|
199
199
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
200
200
|
*/
|
|
201
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
201
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
202
202
|
|
|
203
203
|
/**
|
|
204
204
|
* You can provide your own value. Otherwise, we fallback to the child position index.
|
|
@@ -255,7 +255,7 @@ process.env.NODE_ENV !== "production" ? Breadcrumbs.propTypes
|
|
|
255
255
|
/**
|
|
256
256
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
257
257
|
*/
|
|
258
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
258
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
259
259
|
} : void 0;
|
|
260
260
|
var _default = Breadcrumbs;
|
|
261
261
|
exports.default = _default;
|
package/node/Button/Button.js
CHANGED
|
@@ -17,6 +17,8 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
|
17
17
|
|
|
18
18
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
19
19
|
|
|
20
|
+
var _utils = require("@mui/utils");
|
|
21
|
+
|
|
20
22
|
var _base = require("@mui/base");
|
|
21
23
|
|
|
22
24
|
var _system = require("@mui/system");
|
|
@@ -35,7 +37,7 @@ var _ButtonGroupContext = _interopRequireDefault(require("../ButtonGroup/ButtonG
|
|
|
35
37
|
|
|
36
38
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
37
39
|
|
|
38
|
-
const _excluded = ["children", "
|
|
40
|
+
const _excluded = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
|
|
39
41
|
|
|
40
42
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
41
43
|
|
|
@@ -240,48 +242,30 @@ const ButtonEndIcon = (0, _styled.default)('span', {
|
|
|
240
242
|
marginRight: -2
|
|
241
243
|
}, commonIconStyles(ownerState)));
|
|
242
244
|
const Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
|
|
245
|
+
// props priority: `inProps` > `contextProps` > `themeDefaultProps`
|
|
246
|
+
const contextProps = React.useContext(_ButtonGroupContext.default);
|
|
247
|
+
const resolvedProps = (0, _utils.internal_resolveProps)(contextProps, inProps);
|
|
243
248
|
const props = (0, _useThemeProps.default)({
|
|
244
|
-
props:
|
|
249
|
+
props: resolvedProps,
|
|
245
250
|
name: 'MuiButton'
|
|
246
251
|
});
|
|
247
|
-
const {
|
|
248
|
-
className: classNameContext,
|
|
249
|
-
color: colorContext,
|
|
250
|
-
disabled: disabledContext,
|
|
251
|
-
disableElevation: disableElevationContext,
|
|
252
|
-
disableFocusRipple: disableFocusRippleContext,
|
|
253
|
-
disableRipple: disableRippleContext,
|
|
254
|
-
fullWidth: fullWidthContext,
|
|
255
|
-
size: sizeContext,
|
|
256
|
-
variant: variantContext
|
|
257
|
-
} = React.useContext(_ButtonGroupContext.default);
|
|
258
252
|
const {
|
|
259
253
|
children,
|
|
260
|
-
|
|
261
|
-
color: colorProp,
|
|
254
|
+
color = 'primary',
|
|
262
255
|
component = 'button',
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
256
|
+
className,
|
|
257
|
+
disabled = false,
|
|
258
|
+
disableElevation = false,
|
|
259
|
+
disableFocusRipple = false,
|
|
267
260
|
endIcon: endIconProp,
|
|
268
261
|
focusVisibleClassName,
|
|
269
|
-
fullWidth
|
|
270
|
-
size
|
|
262
|
+
fullWidth = false,
|
|
263
|
+
size = 'medium',
|
|
271
264
|
startIcon: startIconProp,
|
|
272
265
|
type,
|
|
273
|
-
variant
|
|
266
|
+
variant = 'text'
|
|
274
267
|
} = props,
|
|
275
268
|
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
276
|
-
const color = colorProp || colorContext || 'primary'; // TODO v6: Use nullish coalescing (??) instead of OR operator for these boolean props so that these boolean props for Button with ButtonGroup context take priority. See conversation from https://github.com/mui-org/material-ui/pull/28645#discussion_r738380902.
|
|
277
|
-
|
|
278
|
-
const disabled = disabledProp || disabledContext || false;
|
|
279
|
-
const disableElevation = disableElevationProp || disableElevationContext || false;
|
|
280
|
-
const disableFocusRipple = disableFocusRippleProp || disableFocusRippleContext || false;
|
|
281
|
-
const fullWidth = fullWidthProp || fullWidthContext || false;
|
|
282
|
-
const size = sizeProp || sizeContext || 'medium';
|
|
283
|
-
const variant = variantProp || variantContext || 'text';
|
|
284
|
-
const disableRipple = disableRippleProp || disableRippleContext || false;
|
|
285
269
|
const ownerState = (0, _extends2.default)({}, props, {
|
|
286
270
|
color,
|
|
287
271
|
component,
|
|
@@ -306,10 +290,9 @@ const Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
|
|
|
306
290
|
});
|
|
307
291
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(ButtonRoot, (0, _extends2.default)({
|
|
308
292
|
ownerState: ownerState,
|
|
309
|
-
className: (0, _clsx.default)(className,
|
|
293
|
+
className: (0, _clsx.default)(className, contextProps.className),
|
|
310
294
|
component: component,
|
|
311
295
|
disabled: disabled,
|
|
312
|
-
disableRipple: disableRipple,
|
|
313
296
|
focusRipple: !disableFocusRipple,
|
|
314
297
|
focusVisibleClassName: (0, _clsx.default)(classes.focusVisible, focusVisibleClassName),
|
|
315
298
|
ref: ref,
|
|
@@ -422,7 +405,7 @@ process.env.NODE_ENV !== "production" ? Button.propTypes
|
|
|
422
405
|
/**
|
|
423
406
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
424
407
|
*/
|
|
425
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
408
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
426
409
|
|
|
427
410
|
/**
|
|
428
411
|
* @ignore
|
|
@@ -446,7 +446,7 @@ process.env.NODE_ENV !== "production" ? ButtonBase.propTypes
|
|
|
446
446
|
* This prop can help identify which element has keyboard focus.
|
|
447
447
|
* The class name will be applied when the element gains the focus through keyboard interaction.
|
|
448
448
|
* It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
|
|
449
|
-
* The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/
|
|
449
|
+
* The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
|
|
450
450
|
* A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
|
|
451
451
|
* if needed.
|
|
452
452
|
*/
|
|
@@ -539,7 +539,7 @@ process.env.NODE_ENV !== "production" ? ButtonBase.propTypes
|
|
|
539
539
|
/**
|
|
540
540
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
541
541
|
*/
|
|
542
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
542
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
543
543
|
|
|
544
544
|
/**
|
|
545
545
|
* @default 0
|
|
@@ -289,7 +289,7 @@ process.env.NODE_ENV !== "production" ? ButtonGroup.propTypes
|
|
|
289
289
|
/**
|
|
290
290
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
291
291
|
*/
|
|
292
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
292
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
293
293
|
|
|
294
294
|
/**
|
|
295
295
|
* The variant to use.
|
package/node/Card/Card.js
CHANGED
|
@@ -115,7 +115,7 @@ process.env.NODE_ENV !== "production" ? Card.propTypes
|
|
|
115
115
|
/**
|
|
116
116
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
117
117
|
*/
|
|
118
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
118
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
119
119
|
} : void 0;
|
|
120
120
|
var _default = Card;
|
|
121
121
|
exports.default = _default;
|
|
@@ -143,7 +143,7 @@ process.env.NODE_ENV !== "production" ? CardActionArea.propTypes
|
|
|
143
143
|
/**
|
|
144
144
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
145
145
|
*/
|
|
146
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
146
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
147
147
|
} : void 0;
|
|
148
148
|
var _default = CardActionArea;
|
|
149
149
|
exports.default = _default;
|
|
@@ -116,7 +116,7 @@ process.env.NODE_ENV !== "production" ? CardActions.propTypes
|
|
|
116
116
|
/**
|
|
117
117
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
118
118
|
*/
|
|
119
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
119
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
120
120
|
} : void 0;
|
|
121
121
|
var _default = CardActions;
|
|
122
122
|
exports.default = _default;
|
|
@@ -108,7 +108,7 @@ process.env.NODE_ENV !== "production" ? CardContent.propTypes
|
|
|
108
108
|
/**
|
|
109
109
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
110
110
|
*/
|
|
111
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
111
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
112
112
|
} : void 0;
|
|
113
113
|
var _default = CardContent;
|
|
114
114
|
exports.default = _default;
|
|
@@ -223,7 +223,7 @@ process.env.NODE_ENV !== "production" ? CardHeader.propTypes
|
|
|
223
223
|
/**
|
|
224
224
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
225
225
|
*/
|
|
226
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
226
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
227
227
|
|
|
228
228
|
/**
|
|
229
229
|
* The content of the component.
|
|
@@ -168,7 +168,7 @@ process.env.NODE_ENV !== "production" ? CardMedia.propTypes
|
|
|
168
168
|
/**
|
|
169
169
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
170
170
|
*/
|
|
171
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
171
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
172
172
|
} : void 0;
|
|
173
173
|
var _default = CardMedia;
|
|
174
174
|
exports.default = _default;
|
|
@@ -242,7 +242,7 @@ process.env.NODE_ENV !== "production" ? Checkbox.propTypes
|
|
|
242
242
|
/**
|
|
243
243
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
244
244
|
*/
|
|
245
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
245
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
246
246
|
|
|
247
247
|
/**
|
|
248
248
|
* The value of the component. The DOM API casts this to a string.
|
package/node/Chip/Chip.js
CHANGED
|
@@ -539,7 +539,7 @@ process.env.NODE_ENV !== "production" ? Chip.propTypes
|
|
|
539
539
|
/**
|
|
540
540
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
541
541
|
*/
|
|
542
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
542
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
543
543
|
|
|
544
544
|
/**
|
|
545
545
|
* The variant to use.
|
|
@@ -265,7 +265,7 @@ process.env.NODE_ENV !== "production" ? CircularProgress.propTypes
|
|
|
265
265
|
/**
|
|
266
266
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
267
267
|
*/
|
|
268
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
268
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
269
269
|
|
|
270
270
|
/**
|
|
271
271
|
* The thickness of the circle.
|
|
@@ -426,7 +426,7 @@ process.env.NODE_ENV !== "production" ? Collapse.propTypes
|
|
|
426
426
|
/**
|
|
427
427
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
428
428
|
*/
|
|
429
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object]),
|
|
429
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
430
430
|
|
|
431
431
|
/**
|
|
432
432
|
* The duration for the transition, in milliseconds.
|
|
@@ -182,7 +182,7 @@ process.env.NODE_ENV !== "production" ? Container.propTypes
|
|
|
182
182
|
/**
|
|
183
183
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
184
184
|
*/
|
|
185
|
-
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])), _propTypes.default.func, _propTypes.default.object])
|
|
185
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
186
186
|
} : void 0;
|
|
187
187
|
var _default = Container;
|
|
188
188
|
exports.default = _default;
|
|
@@ -117,7 +117,7 @@ process.env.NODE_ENV !== "production" ? CssBaseline.propTypes
|
|
|
117
117
|
children: _propTypes.default.node,
|
|
118
118
|
|
|
119
119
|
/**
|
|
120
|
-
* Enable `color-scheme`
|
|
120
|
+
* Enable `color-scheme` CSS property to use `theme.palette.mode`.
|
|
121
121
|
* For more details, check out https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme
|
|
122
122
|
* For browser support, check out https://caniuse.com/?search=color-scheme
|
|
123
123
|
* @default false
|