@mui/material 5.2.0 → 5.2.4
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.d.ts +1 -1
- 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 +17 -4
- 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.d.ts +1 -1
- 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 +244 -1
- 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 +2 -2
- 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/GlobalStyles/GlobalStyles.d.ts +2 -1
- package/Grid/Grid.js +98 -69
- 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 +1 -1
- 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.d.ts +6 -0
- package/InputBase/InputBase.js +11 -3
- 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.d.ts +1 -1
- 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.d.ts +1 -1
- 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.d.ts +1 -1
- 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 +15 -2
- 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/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 +17 -1
- 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 +6 -12
- 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 +19 -5
- 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 +109 -81
- package/legacy/Icon/Icon.js +1 -1
- package/legacy/IconButton/IconButton.js +1 -1
- package/legacy/ImageList/ImageList.js +1 -1
- package/legacy/ImageListItem/ImageListItem.js +1 -1
- package/legacy/ImageListItemBar/ImageListItemBar.js +1 -1
- package/legacy/Input/Input.js +1 -1
- package/legacy/InputAdornment/InputAdornment.js +1 -1
- package/legacy/InputBase/InputBase.js +11 -3
- package/legacy/InputLabel/InputLabel.js +1 -1
- package/legacy/LinearProgress/LinearProgress.js +1 -1
- package/legacy/Link/Link.js +1 -1
- package/legacy/List/List.js +1 -1
- package/legacy/ListItem/ListItem.js +1 -1
- package/legacy/ListItemAvatar/ListItemAvatar.js +1 -1
- package/legacy/ListItemButton/ListItemButton.js +2 -2
- package/legacy/ListItemIcon/ListItemIcon.js +1 -1
- package/legacy/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/legacy/ListItemText/ListItemText.js +1 -1
- package/legacy/ListSubheader/ListSubheader.js +1 -1
- package/legacy/Menu/Menu.js +2 -2
- package/legacy/MenuItem/MenuItem.js +2 -2
- package/legacy/MobileStepper/MobileStepper.js +1 -1
- package/legacy/Modal/Modal.js +1 -1
- package/legacy/NativeSelect/NativeSelect.js +1 -1
- package/legacy/OutlinedInput/OutlinedInput.js +15 -2
- package/legacy/Pagination/Pagination.js +1 -1
- package/legacy/PaginationItem/PaginationItem.js +1 -1
- package/legacy/Paper/Paper.js +1 -1
- package/legacy/Popover/Popover.js +2 -2
- package/legacy/Radio/Radio.js +1 -1
- package/legacy/Rating/Rating.js +1 -1
- package/legacy/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
- package/legacy/Select/Select.js +1 -1
- package/legacy/Select/SelectInput.js +17 -1
- 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 +6 -12
- 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/styles/adaptV4Theme.js +1 -1
- package/legacy/styles/index.js +1 -1
- package/legacy/styles/responsiveFontSizes.js +1 -1
- package/legacy/useMediaQuery/useMediaQuery.js +31 -83
- package/locale/index.d.ts +66 -66
- 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 +17 -4
- 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 +98 -69
- package/modern/Icon/Icon.js +1 -1
- package/modern/IconButton/IconButton.js +1 -1
- package/modern/ImageList/ImageList.js +1 -1
- package/modern/ImageListItem/ImageListItem.js +1 -1
- package/modern/ImageListItemBar/ImageListItemBar.js +1 -1
- package/modern/Input/Input.js +1 -1
- package/modern/InputAdornment/InputAdornment.js +1 -1
- package/modern/InputBase/InputBase.js +11 -3
- package/modern/InputLabel/InputLabel.js +1 -1
- package/modern/LinearProgress/LinearProgress.js +1 -1
- package/modern/Link/Link.js +1 -1
- package/modern/List/List.js +1 -1
- package/modern/ListItem/ListItem.js +1 -1
- package/modern/ListItemAvatar/ListItemAvatar.js +1 -1
- package/modern/ListItemButton/ListItemButton.js +2 -2
- package/modern/ListItemIcon/ListItemIcon.js +1 -1
- package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/modern/ListItemText/ListItemText.js +1 -1
- package/modern/ListSubheader/ListSubheader.js +1 -1
- package/modern/Menu/Menu.js +2 -2
- package/modern/MenuItem/MenuItem.js +2 -2
- package/modern/MobileStepper/MobileStepper.js +1 -1
- package/modern/Modal/Modal.js +1 -1
- package/modern/NativeSelect/NativeSelect.js +1 -1
- package/modern/OutlinedInput/OutlinedInput.js +15 -2
- package/modern/Pagination/Pagination.js +1 -1
- package/modern/PaginationItem/PaginationItem.js +1 -1
- package/modern/Paper/Paper.js +1 -1
- package/modern/Popover/Popover.js +2 -2
- package/modern/Radio/Radio.js +1 -1
- package/modern/Rating/Rating.js +1 -1
- package/modern/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
- package/modern/Select/Select.js +1 -1
- package/modern/Select/SelectInput.js +17 -1
- 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 +6 -10
- 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/styles/adaptV4Theme.js +1 -1
- package/modern/styles/index.js +1 -1
- package/modern/styles/responsiveFontSizes.js +1 -1
- package/modern/useMediaQuery/useMediaQuery.js +26 -65
- 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 +17 -4
- 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 +101 -68
- package/node/Icon/Icon.js +1 -1
- package/node/IconButton/IconButton.js +1 -1
- package/node/ImageList/ImageList.js +1 -1
- package/node/ImageListItem/ImageListItem.js +1 -1
- package/node/ImageListItemBar/ImageListItemBar.js +1 -1
- package/node/Input/Input.js +1 -1
- package/node/InputAdornment/InputAdornment.js +1 -1
- package/node/InputBase/InputBase.js +11 -3
- package/node/InputLabel/InputLabel.js +1 -1
- package/node/LinearProgress/LinearProgress.js +1 -1
- package/node/Link/Link.js +1 -1
- package/node/List/List.js +1 -1
- package/node/ListItem/ListItem.js +1 -1
- package/node/ListItemAvatar/ListItemAvatar.js +1 -1
- package/node/ListItemButton/ListItemButton.js +2 -2
- package/node/ListItemIcon/ListItemIcon.js +1 -1
- package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/node/ListItemText/ListItemText.js +1 -1
- package/node/ListSubheader/ListSubheader.js +1 -1
- package/node/Menu/Menu.js +2 -2
- package/node/MenuItem/MenuItem.js +2 -2
- package/node/MobileStepper/MobileStepper.js +1 -1
- package/node/Modal/Modal.js +1 -1
- package/node/NativeSelect/NativeSelect.js +1 -1
- package/node/OutlinedInput/OutlinedInput.js +16 -2
- package/node/Pagination/Pagination.js +1 -1
- package/node/PaginationItem/PaginationItem.js +1 -1
- package/node/Paper/Paper.js +1 -1
- package/node/Popover/Popover.js +2 -2
- package/node/Radio/Radio.js +1 -1
- package/node/Rating/Rating.js +1 -1
- package/node/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
- package/node/Select/Select.js +1 -1
- package/node/Select/SelectInput.js +17 -1
- 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 +4 -10
- 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/styles/adaptV4Theme.js +1 -1
- package/node/styles/index.js +6 -0
- package/node/styles/responsiveFontSizes.js +1 -1
- package/node/useMediaQuery/useMediaQuery.js +26 -65
- package/package.json +5 -5
- package/styles/adaptV4Theme.js +1 -1
- package/styles/createTheme.d.ts +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/transitions/index.d.ts +1 -1
- package/transitions/transition.d.ts +13 -14
- package/transitions/utils.d.ts +23 -23
- package/umd/material-ui.development.js +1116 -1032
- package/umd/material-ui.production.min.js +21 -21
- package/useMediaQuery/useMediaQuery.d.ts +27 -31
- package/useMediaQuery/useMediaQuery.js +26 -65
- 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
package/SpeedDial/SpeedDial.js
CHANGED
|
@@ -529,7 +529,7 @@ process.env.NODE_ENV !== "production" ? SpeedDial.propTypes
|
|
|
529
529
|
/**
|
|
530
530
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
531
531
|
*/
|
|
532
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
532
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
533
533
|
|
|
534
534
|
/**
|
|
535
535
|
* The component used for the transition.
|
|
@@ -554,7 +554,7 @@ process.env.NODE_ENV !== "production" ? SpeedDial.propTypes
|
|
|
554
554
|
|
|
555
555
|
/**
|
|
556
556
|
* Props applied to the transition element.
|
|
557
|
-
* By default, the element is based on this [`Transition`](
|
|
557
|
+
* By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
|
|
558
558
|
*/
|
|
559
559
|
TransitionProps: PropTypes.object
|
|
560
560
|
} : void 0;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export interface SpeedDialClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the Fab component. */
|
|
5
|
-
fab: string;
|
|
6
|
-
/** Styles applied to the root element if direction="up" */
|
|
7
|
-
directionUp: string;
|
|
8
|
-
/** Styles applied to the root element if direction="down" */
|
|
9
|
-
directionDown: string;
|
|
10
|
-
/** Styles applied to the root element if direction="left" */
|
|
11
|
-
directionLeft: string;
|
|
12
|
-
/** Styles applied to the root element if direction="right" */
|
|
13
|
-
directionRight: string;
|
|
14
|
-
/** Styles applied to the actions (`children` wrapper) element. */
|
|
15
|
-
actions: string;
|
|
16
|
-
/** Styles applied to the actions (`children` wrapper) element if `open={false}`. */
|
|
17
|
-
actionsClosed: string;
|
|
18
|
-
}
|
|
19
|
-
export declare type SpeedDialClassKey = keyof SpeedDialClasses;
|
|
20
|
-
export declare function getSpeedDialUtilityClass(slot: string): string;
|
|
21
|
-
declare const speedDialClasses: SpeedDialClasses;
|
|
22
|
-
export default speedDialClasses;
|
|
1
|
+
export interface SpeedDialClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the Fab component. */
|
|
5
|
+
fab: string;
|
|
6
|
+
/** Styles applied to the root element if direction="up" */
|
|
7
|
+
directionUp: string;
|
|
8
|
+
/** Styles applied to the root element if direction="down" */
|
|
9
|
+
directionDown: string;
|
|
10
|
+
/** Styles applied to the root element if direction="left" */
|
|
11
|
+
directionLeft: string;
|
|
12
|
+
/** Styles applied to the root element if direction="right" */
|
|
13
|
+
directionRight: string;
|
|
14
|
+
/** Styles applied to the actions (`children` wrapper) element. */
|
|
15
|
+
actions: string;
|
|
16
|
+
/** Styles applied to the actions (`children` wrapper) element if `open={false}`. */
|
|
17
|
+
actionsClosed: string;
|
|
18
|
+
}
|
|
19
|
+
export declare type SpeedDialClassKey = keyof SpeedDialClasses;
|
|
20
|
+
export declare function getSpeedDialUtilityClass(slot: string): string;
|
|
21
|
+
declare const speedDialClasses: SpeedDialClasses;
|
|
22
|
+
export default speedDialClasses;
|
|
@@ -243,7 +243,7 @@ process.env.NODE_ENV !== "production" ? SpeedDialAction.propTypes
|
|
|
243
243
|
/**
|
|
244
244
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
245
245
|
*/
|
|
246
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
246
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
247
247
|
|
|
248
248
|
/**
|
|
249
249
|
* `classes` prop applied to the [`Tooltip`](/api/tooltip/) element.
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export interface SpeedDialActionClasses {
|
|
2
|
-
/** Styles applied to the Fab component. */
|
|
3
|
-
fab: string;
|
|
4
|
-
/** Styles applied to the Fab component if `open={false}`. */
|
|
5
|
-
fabClosed: string;
|
|
6
|
-
/** Styles applied to the root element if `tooltipOpen={true}`. */
|
|
7
|
-
staticTooltip: string;
|
|
8
|
-
/** Styles applied to the root element if `tooltipOpen={true}` and `open={false}`. */
|
|
9
|
-
staticTooltipClosed: string;
|
|
10
|
-
/** Styles applied to the static tooltip label if `tooltipOpen={true}`. */
|
|
11
|
-
staticTooltipLabel: string;
|
|
12
|
-
/** Styles applied to the root element if `tooltipOpen={true}` and `tooltipPlacement="left"`` */
|
|
13
|
-
tooltipPlacementLeft: string;
|
|
14
|
-
/** Styles applied to the root element if `tooltipOpen={true}` and `tooltipPlacement="right"`` */
|
|
15
|
-
tooltipPlacementRight: string;
|
|
16
|
-
}
|
|
17
|
-
export declare type SpeedDialActionClassKey = keyof SpeedDialActionClasses;
|
|
18
|
-
export declare function getSpeedDialActionUtilityClass(slot: string): string;
|
|
19
|
-
declare const speedDialActionClasses: SpeedDialActionClasses;
|
|
20
|
-
export default speedDialActionClasses;
|
|
1
|
+
export interface SpeedDialActionClasses {
|
|
2
|
+
/** Styles applied to the Fab component. */
|
|
3
|
+
fab: string;
|
|
4
|
+
/** Styles applied to the Fab component if `open={false}`. */
|
|
5
|
+
fabClosed: string;
|
|
6
|
+
/** Styles applied to the root element if `tooltipOpen={true}`. */
|
|
7
|
+
staticTooltip: string;
|
|
8
|
+
/** Styles applied to the root element if `tooltipOpen={true}` and `open={false}`. */
|
|
9
|
+
staticTooltipClosed: string;
|
|
10
|
+
/** Styles applied to the static tooltip label if `tooltipOpen={true}`. */
|
|
11
|
+
staticTooltipLabel: string;
|
|
12
|
+
/** Styles applied to the root element if `tooltipOpen={true}` and `tooltipPlacement="left"`` */
|
|
13
|
+
tooltipPlacementLeft: string;
|
|
14
|
+
/** Styles applied to the root element if `tooltipOpen={true}` and `tooltipPlacement="right"`` */
|
|
15
|
+
tooltipPlacementRight: string;
|
|
16
|
+
}
|
|
17
|
+
export declare type SpeedDialActionClassKey = keyof SpeedDialActionClasses;
|
|
18
|
+
export declare function getSpeedDialActionUtilityClass(slot: string): string;
|
|
19
|
+
declare const speedDialActionClasses: SpeedDialActionClasses;
|
|
20
|
+
export default speedDialActionClasses;
|
|
@@ -144,7 +144,7 @@ process.env.NODE_ENV !== "production" ? SpeedDialIcon.propTypes
|
|
|
144
144
|
/**
|
|
145
145
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
146
146
|
*/
|
|
147
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
147
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
148
148
|
} : void 0;
|
|
149
149
|
SpeedDialIcon.muiName = 'SpeedDialIcon';
|
|
150
150
|
export default SpeedDialIcon;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export interface SpeedDialIconClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the icon component. */
|
|
5
|
-
icon: string;
|
|
6
|
-
/** Styles applied to the icon component if `open={true}`. */
|
|
7
|
-
iconOpen: string;
|
|
8
|
-
/** Styles applied to the icon when an `openIcon` is provided and if `open={true}`. */
|
|
9
|
-
iconWithOpenIconOpen: string;
|
|
10
|
-
/** Styles applied to the `openIcon` if provided. */
|
|
11
|
-
openIcon: string;
|
|
12
|
-
/** Styles applied to the `openIcon` if provided and if `open={true}`. */
|
|
13
|
-
openIconOpen: string;
|
|
14
|
-
}
|
|
15
|
-
export declare type SpeedDialIconClassKey = keyof SpeedDialIconClasses;
|
|
16
|
-
export declare function getSpeedDialIconUtilityClass(slot: string): string;
|
|
17
|
-
declare const speedDialIconClasses: SpeedDialIconClasses;
|
|
18
|
-
export default speedDialIconClasses;
|
|
1
|
+
export interface SpeedDialIconClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the icon component. */
|
|
5
|
+
icon: string;
|
|
6
|
+
/** Styles applied to the icon component if `open={true}`. */
|
|
7
|
+
iconOpen: string;
|
|
8
|
+
/** Styles applied to the icon when an `openIcon` is provided and if `open={true}`. */
|
|
9
|
+
iconWithOpenIconOpen: string;
|
|
10
|
+
/** Styles applied to the `openIcon` if provided. */
|
|
11
|
+
openIcon: string;
|
|
12
|
+
/** Styles applied to the `openIcon` if provided and if `open={true}`. */
|
|
13
|
+
openIconOpen: string;
|
|
14
|
+
}
|
|
15
|
+
export declare type SpeedDialIconClassKey = keyof SpeedDialIconClasses;
|
|
16
|
+
export declare function getSpeedDialIconUtilityClass(slot: string): string;
|
|
17
|
+
declare const speedDialIconClasses: SpeedDialIconClasses;
|
|
18
|
+
export default speedDialIconClasses;
|
package/Stack/Stack.js
CHANGED
|
@@ -165,6 +165,6 @@ process.env.NODE_ENV !== "production" ? Stack.propTypes
|
|
|
165
165
|
/**
|
|
166
166
|
* The system prop, which allows defining system overrides as well as additional CSS styles.
|
|
167
167
|
*/
|
|
168
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
168
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
169
169
|
} : void 0;
|
|
170
170
|
export default Stack;
|
package/Step/Step.js
CHANGED
|
@@ -176,6 +176,6 @@ process.env.NODE_ENV !== "production" ? Step.propTypes
|
|
|
176
176
|
/**
|
|
177
177
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
178
178
|
*/
|
|
179
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
179
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
180
180
|
} : void 0;
|
|
181
181
|
export default Step;
|
package/Step/stepClasses.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export interface StepClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `orientation="horizontal"`. */
|
|
5
|
-
horizontal: string;
|
|
6
|
-
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
7
|
-
vertical: string;
|
|
8
|
-
/** Styles applied to the root element if `alternativeLabel={true}`. */
|
|
9
|
-
alternativeLabel: string;
|
|
10
|
-
/** State class applied to the root element if `completed={true}`. */
|
|
11
|
-
completed: string;
|
|
12
|
-
}
|
|
13
|
-
export declare type StepClassKey = keyof StepClasses;
|
|
14
|
-
export declare function getStepUtilityClass(slot: string): string;
|
|
15
|
-
declare const stepClasses: StepClasses;
|
|
16
|
-
export default stepClasses;
|
|
1
|
+
export interface StepClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `orientation="horizontal"`. */
|
|
5
|
+
horizontal: string;
|
|
6
|
+
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
7
|
+
vertical: string;
|
|
8
|
+
/** Styles applied to the root element if `alternativeLabel={true}`. */
|
|
9
|
+
alternativeLabel: string;
|
|
10
|
+
/** State class applied to the root element if `completed={true}`. */
|
|
11
|
+
completed: string;
|
|
12
|
+
}
|
|
13
|
+
export declare type StepClassKey = keyof StepClasses;
|
|
14
|
+
export declare function getStepUtilityClass(slot: string): string;
|
|
15
|
+
declare const stepClasses: StepClasses;
|
|
16
|
+
export default stepClasses;
|
package/StepButton/StepButton.js
CHANGED
|
@@ -136,6 +136,6 @@ process.env.NODE_ENV !== "production" ? StepButton.propTypes
|
|
|
136
136
|
/**
|
|
137
137
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
138
138
|
*/
|
|
139
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
139
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
140
140
|
} : void 0;
|
|
141
141
|
export default StepButton;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export interface StepButtonClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `orientation="horizontal"`. */
|
|
5
|
-
horizontal: string;
|
|
6
|
-
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
7
|
-
vertical: string;
|
|
8
|
-
/** Styles applied to the `ButtonBase` touch-ripple. */
|
|
9
|
-
touchRipple: string;
|
|
10
|
-
}
|
|
11
|
-
export declare type StepButtonClassKey = keyof StepButtonClasses;
|
|
12
|
-
export declare function getStepButtonUtilityClass(slot: string): string;
|
|
13
|
-
declare const stepButtonClasses: StepButtonClasses;
|
|
14
|
-
export default stepButtonClasses;
|
|
1
|
+
export interface StepButtonClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `orientation="horizontal"`. */
|
|
5
|
+
horizontal: string;
|
|
6
|
+
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
7
|
+
vertical: string;
|
|
8
|
+
/** Styles applied to the `ButtonBase` touch-ripple. */
|
|
9
|
+
touchRipple: string;
|
|
10
|
+
}
|
|
11
|
+
export declare type StepButtonClassKey = keyof StepButtonClasses;
|
|
12
|
+
export declare function getStepButtonUtilityClass(slot: string): string;
|
|
13
|
+
declare const stepButtonClasses: StepButtonClasses;
|
|
14
|
+
export default stepButtonClasses;
|
|
@@ -136,6 +136,6 @@ process.env.NODE_ENV !== "production" ? StepConnector.propTypes
|
|
|
136
136
|
/**
|
|
137
137
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
138
138
|
*/
|
|
139
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
139
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
140
140
|
} : void 0;
|
|
141
141
|
export default StepConnector;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export interface StepConnectorClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `orientation="horizontal"`. */
|
|
5
|
-
horizontal: string;
|
|
6
|
-
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
7
|
-
vertical: string;
|
|
8
|
-
/** Styles applied to the root element if `alternativeLabel={true}`. */
|
|
9
|
-
alternativeLabel: string;
|
|
10
|
-
/** State class applied to the root element if `active={true}`. */
|
|
11
|
-
active: string;
|
|
12
|
-
/** State class applied to the root element if `completed={true}`. */
|
|
13
|
-
completed: string;
|
|
14
|
-
/** State class applied to the root element if `disabled={true}`. */
|
|
15
|
-
disabled: string;
|
|
16
|
-
/** Styles applied to the line element. */
|
|
17
|
-
line: string;
|
|
18
|
-
/** Styles applied to the root element if `orientation="horizontal"`. */
|
|
19
|
-
lineHorizontal: string;
|
|
20
|
-
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
21
|
-
lineVertical: string;
|
|
22
|
-
}
|
|
23
|
-
export declare type StepConnectorClassKey = keyof StepConnectorClasses;
|
|
24
|
-
export declare function getStepConnectorUtilityClass(slot: string): string;
|
|
25
|
-
declare const stepConnectorClasses: StepConnectorClasses;
|
|
26
|
-
export default stepConnectorClasses;
|
|
1
|
+
export interface StepConnectorClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `orientation="horizontal"`. */
|
|
5
|
+
horizontal: string;
|
|
6
|
+
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
7
|
+
vertical: string;
|
|
8
|
+
/** Styles applied to the root element if `alternativeLabel={true}`. */
|
|
9
|
+
alternativeLabel: string;
|
|
10
|
+
/** State class applied to the root element if `active={true}`. */
|
|
11
|
+
active: string;
|
|
12
|
+
/** State class applied to the root element if `completed={true}`. */
|
|
13
|
+
completed: string;
|
|
14
|
+
/** State class applied to the root element if `disabled={true}`. */
|
|
15
|
+
disabled: string;
|
|
16
|
+
/** Styles applied to the line element. */
|
|
17
|
+
line: string;
|
|
18
|
+
/** Styles applied to the root element if `orientation="horizontal"`. */
|
|
19
|
+
lineHorizontal: string;
|
|
20
|
+
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
21
|
+
lineVertical: string;
|
|
22
|
+
}
|
|
23
|
+
export declare type StepConnectorClassKey = keyof StepConnectorClasses;
|
|
24
|
+
export declare function getStepConnectorUtilityClass(slot: string): string;
|
|
25
|
+
declare const stepConnectorClasses: StepConnectorClasses;
|
|
26
|
+
export default stepConnectorClasses;
|
|
@@ -34,7 +34,7 @@ export interface StepContentProps extends StandardProps<React.HTMLAttributes<HTM
|
|
|
34
34
|
transitionDuration?: TransitionProps['timeout'] | 'auto';
|
|
35
35
|
/**
|
|
36
36
|
* Props applied to the transition element.
|
|
37
|
-
* By default, the element is based on this [`Transition`](
|
|
37
|
+
* By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
|
|
38
38
|
*/
|
|
39
39
|
TransitionProps?: TransitionProps;
|
|
40
40
|
}
|
|
@@ -137,7 +137,7 @@ process.env.NODE_ENV !== "production" ? StepContent.propTypes
|
|
|
137
137
|
/**
|
|
138
138
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
139
139
|
*/
|
|
140
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
140
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
141
141
|
|
|
142
142
|
/**
|
|
143
143
|
* The component used for the transition.
|
|
@@ -161,7 +161,7 @@ process.env.NODE_ENV !== "production" ? StepContent.propTypes
|
|
|
161
161
|
|
|
162
162
|
/**
|
|
163
163
|
* Props applied to the transition element.
|
|
164
|
-
* By default, the element is based on this [`Transition`](
|
|
164
|
+
* By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
|
|
165
165
|
*/
|
|
166
166
|
TransitionProps: PropTypes.object
|
|
167
167
|
} : void 0;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export interface StepContentClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `last={true}` (controlled by `Step`). */
|
|
5
|
-
last: string;
|
|
6
|
-
/** Styles applied to the Transition component. */
|
|
7
|
-
transition: string;
|
|
8
|
-
}
|
|
9
|
-
export declare type StepContentClassKey = keyof StepContentClasses;
|
|
10
|
-
export declare function getStepContentUtilityClass(slot: string): string;
|
|
11
|
-
declare const stepContentClasses: StepContentClasses;
|
|
12
|
-
export default stepContentClasses;
|
|
1
|
+
export interface StepContentClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `last={true}` (controlled by `Step`). */
|
|
5
|
+
last: string;
|
|
6
|
+
/** Styles applied to the Transition component. */
|
|
7
|
+
transition: string;
|
|
8
|
+
}
|
|
9
|
+
export declare type StepContentClassKey = keyof StepContentClasses;
|
|
10
|
+
export declare function getStepContentUtilityClass(slot: string): string;
|
|
11
|
+
declare const stepContentClasses: StepContentClasses;
|
|
12
|
+
export default stepContentClasses;
|
package/StepIcon/StepIcon.js
CHANGED
|
@@ -174,6 +174,6 @@ process.env.NODE_ENV !== "production" ? StepIcon.propTypes
|
|
|
174
174
|
/**
|
|
175
175
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
176
176
|
*/
|
|
177
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
177
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
178
178
|
} : void 0;
|
|
179
179
|
export default StepIcon;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export interface StepIconClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the SVG text element. */
|
|
5
|
-
text: string;
|
|
6
|
-
/** State class applied to the root element if `active={true}`. */
|
|
7
|
-
active: string;
|
|
8
|
-
/** State class applied to the root element if `completed={true}`. */
|
|
9
|
-
completed: string;
|
|
10
|
-
/** State class applied to the root element if `error={true}`. */
|
|
11
|
-
error: string;
|
|
12
|
-
}
|
|
13
|
-
export declare type StepIconClassKey = keyof StepIconClasses;
|
|
14
|
-
export declare function getStepIconUtilityClass(slot: string): string;
|
|
15
|
-
declare const stepIconClasses: StepIconClasses;
|
|
16
|
-
export default stepIconClasses;
|
|
1
|
+
export interface StepIconClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the SVG text element. */
|
|
5
|
+
text: string;
|
|
6
|
+
/** State class applied to the root element if `active={true}`. */
|
|
7
|
+
active: string;
|
|
8
|
+
/** State class applied to the root element if `completed={true}`. */
|
|
9
|
+
completed: string;
|
|
10
|
+
/** State class applied to the root element if `error={true}`. */
|
|
11
|
+
error: string;
|
|
12
|
+
}
|
|
13
|
+
export declare type StepIconClassKey = keyof StepIconClasses;
|
|
14
|
+
export declare function getStepIconUtilityClass(slot: string): string;
|
|
15
|
+
declare const stepIconClasses: StepIconClasses;
|
|
16
|
+
export default stepIconClasses;
|
package/StepLabel/StepLabel.js
CHANGED
|
@@ -236,7 +236,7 @@ process.env.NODE_ENV !== "production" ? StepLabel.propTypes
|
|
|
236
236
|
/**
|
|
237
237
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
238
238
|
*/
|
|
239
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
239
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
240
240
|
} : void 0;
|
|
241
241
|
StepLabel.muiName = 'StepLabel';
|
|
242
242
|
export default StepLabel;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
export interface StepLabelClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `orientation="horizontal"`. */
|
|
5
|
-
horizontal: string;
|
|
6
|
-
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
7
|
-
vertical: string;
|
|
8
|
-
/** Styles applied to the label element that wraps `children`. */
|
|
9
|
-
label: string;
|
|
10
|
-
/** State class applied to the label element if `active={true}`. */
|
|
11
|
-
active: string;
|
|
12
|
-
/** State class applied to the label element if `completed={true}`. */
|
|
13
|
-
completed: string;
|
|
14
|
-
/** State class applied to the root and label elements if `error={true}`. */
|
|
15
|
-
error: string;
|
|
16
|
-
/** State class applied to the root and label elements if `disabled={true}`. */
|
|
17
|
-
disabled: string;
|
|
18
|
-
/** Styles applied to the `icon` container element. */
|
|
19
|
-
iconContainer: string;
|
|
20
|
-
/** State class applied to the root and icon container and label if `alternativeLabel={true}`. */
|
|
21
|
-
alternativeLabel: string;
|
|
22
|
-
/** Styles applied to the container element which wraps label and `optional`. */
|
|
23
|
-
labelContainer: string;
|
|
24
|
-
}
|
|
25
|
-
export declare type StepLabelClassKey = keyof StepLabelClasses;
|
|
26
|
-
export declare function getStepLabelUtilityClass(slot: string): string;
|
|
27
|
-
declare const stepLabelClasses: StepLabelClasses;
|
|
28
|
-
export default stepLabelClasses;
|
|
1
|
+
export interface StepLabelClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `orientation="horizontal"`. */
|
|
5
|
+
horizontal: string;
|
|
6
|
+
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
7
|
+
vertical: string;
|
|
8
|
+
/** Styles applied to the label element that wraps `children`. */
|
|
9
|
+
label: string;
|
|
10
|
+
/** State class applied to the label element if `active={true}`. */
|
|
11
|
+
active: string;
|
|
12
|
+
/** State class applied to the label element if `completed={true}`. */
|
|
13
|
+
completed: string;
|
|
14
|
+
/** State class applied to the root and label elements if `error={true}`. */
|
|
15
|
+
error: string;
|
|
16
|
+
/** State class applied to the root and label elements if `disabled={true}`. */
|
|
17
|
+
disabled: string;
|
|
18
|
+
/** Styles applied to the `icon` container element. */
|
|
19
|
+
iconContainer: string;
|
|
20
|
+
/** State class applied to the root and icon container and label if `alternativeLabel={true}`. */
|
|
21
|
+
alternativeLabel: string;
|
|
22
|
+
/** Styles applied to the container element which wraps label and `optional`. */
|
|
23
|
+
labelContainer: string;
|
|
24
|
+
}
|
|
25
|
+
export declare type StepLabelClassKey = keyof StepLabelClasses;
|
|
26
|
+
export declare function getStepLabelUtilityClass(slot: string): string;
|
|
27
|
+
declare const stepLabelClasses: StepLabelClasses;
|
|
28
|
+
export default stepLabelClasses;
|
package/Stepper/Stepper.js
CHANGED
|
@@ -155,6 +155,6 @@ process.env.NODE_ENV !== "production" ? Stepper.propTypes
|
|
|
155
155
|
/**
|
|
156
156
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
157
157
|
*/
|
|
158
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
|
|
158
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
159
159
|
} : void 0;
|
|
160
160
|
export default Stepper;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export interface StepperClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `orientation="horizontal"`. */
|
|
5
|
-
horizontal: string;
|
|
6
|
-
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
7
|
-
vertical: string;
|
|
8
|
-
/** Styles applied to the root element if `alternativeLabel={true}`. */
|
|
9
|
-
alternativeLabel: string;
|
|
10
|
-
}
|
|
11
|
-
export declare type StepperClassKey = keyof StepperClasses;
|
|
12
|
-
export declare function getStepperUtilityClass(slot: string): string;
|
|
13
|
-
declare const stepperClasses: StepperClasses;
|
|
14
|
-
export default stepperClasses;
|
|
1
|
+
export interface StepperClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `orientation="horizontal"`. */
|
|
5
|
+
horizontal: string;
|
|
6
|
+
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
7
|
+
vertical: string;
|
|
8
|
+
/** Styles applied to the root element if `alternativeLabel={true}`. */
|
|
9
|
+
alternativeLabel: string;
|
|
10
|
+
}
|
|
11
|
+
export declare type StepperClassKey = keyof StepperClasses;
|
|
12
|
+
export declare function getStepperUtilityClass(slot: string): string;
|
|
13
|
+
declare const stepperClasses: StepperClasses;
|
|
14
|
+
export default stepperClasses;
|
package/SvgIcon/SvgIcon.js
CHANGED
|
@@ -166,7 +166,7 @@ process.env.NODE_ENV !== "production" ? SvgIcon.propTypes
|
|
|
166
166
|
/**
|
|
167
167
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
168
168
|
*/
|
|
169
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
169
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
170
170
|
|
|
171
171
|
/**
|
|
172
172
|
* Provides a human-readable title for the element that contains it.
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export interface SvgIconClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `color="primary"`. */
|
|
5
|
-
colorPrimary: string;
|
|
6
|
-
/** Styles applied to the root element if `color="secondary"`. */
|
|
7
|
-
colorSecondary: string;
|
|
8
|
-
/** Styles applied to the root element if `color="action"`. */
|
|
9
|
-
colorAction: string;
|
|
10
|
-
/** Styles applied to the root element if `color="error"`. */
|
|
11
|
-
colorError: string;
|
|
12
|
-
/** Styles applied to the root element if `color="disabled"`. */
|
|
13
|
-
colorDisabled: string;
|
|
14
|
-
/** Styles applied to the root element if `fontSize="inherit"`. */
|
|
15
|
-
fontSizeInherit: string;
|
|
16
|
-
/** Styles applied to the root element if `fontSize="small"`. */
|
|
17
|
-
fontSizeSmall: string;
|
|
18
|
-
/** Styles applied to the root element if `fontSize="large"`. */
|
|
19
|
-
fontSizeLarge: string;
|
|
20
|
-
}
|
|
21
|
-
export declare type SvgIconClassKey = keyof SvgIconClasses;
|
|
22
|
-
export declare function getSvgIconUtilityClass(slot: string): string;
|
|
23
|
-
declare const svgIconClasses: SvgIconClasses;
|
|
24
|
-
export default svgIconClasses;
|
|
1
|
+
export interface SvgIconClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `color="primary"`. */
|
|
5
|
+
colorPrimary: string;
|
|
6
|
+
/** Styles applied to the root element if `color="secondary"`. */
|
|
7
|
+
colorSecondary: string;
|
|
8
|
+
/** Styles applied to the root element if `color="action"`. */
|
|
9
|
+
colorAction: string;
|
|
10
|
+
/** Styles applied to the root element if `color="error"`. */
|
|
11
|
+
colorError: string;
|
|
12
|
+
/** Styles applied to the root element if `color="disabled"`. */
|
|
13
|
+
colorDisabled: string;
|
|
14
|
+
/** Styles applied to the root element if `fontSize="inherit"`. */
|
|
15
|
+
fontSizeInherit: string;
|
|
16
|
+
/** Styles applied to the root element if `fontSize="small"`. */
|
|
17
|
+
fontSizeSmall: string;
|
|
18
|
+
/** Styles applied to the root element if `fontSize="large"`. */
|
|
19
|
+
fontSizeLarge: string;
|
|
20
|
+
}
|
|
21
|
+
export declare type SvgIconClassKey = keyof SvgIconClasses;
|
|
22
|
+
export declare function getSvgIconUtilityClass(slot: string): string;
|
|
23
|
+
declare const svgIconClasses: SvgIconClasses;
|
|
24
|
+
export default svgIconClasses;
|
package/Switch/Switch.js
CHANGED
|
@@ -333,7 +333,7 @@ process.env.NODE_ENV !== "production" ? Switch.propTypes
|
|
|
333
333
|
/**
|
|
334
334
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
335
335
|
*/
|
|
336
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
|
|
336
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
337
337
|
|
|
338
338
|
/**
|
|
339
339
|
* The value of the component. The DOM API casts this to a string.
|