@mui/material 5.14.11 → 5.14.13
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/Alert/Alert.d.ts +1 -1
- package/Alert/Alert.js +1 -1
- package/AppBar/AppBar.d.ts +1 -1
- package/AppBar/AppBar.js +1 -1
- package/Badge/Badge.d.ts +1 -1
- package/Badge/Badge.js +1 -1
- package/BottomNavigation/BottomNavigation.js +0 -0
- package/Button/Button.d.ts +1 -1
- package/Button/Button.js +1 -1
- package/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/ButtonGroup/ButtonGroup.js +9 -9
- package/CHANGELOG.md +147 -0
- package/Checkbox/Checkbox.d.ts +1 -1
- package/Checkbox/Checkbox.js +2 -2
- package/Chip/Chip.d.ts +1 -1
- package/Chip/Chip.js +7 -1
- package/CircularProgress/CircularProgress.d.ts +1 -1
- package/CircularProgress/CircularProgress.js +1 -1
- package/DialogActions/DialogActions.js +1 -1
- package/Fab/Fab.d.ts +1 -1
- package/Fab/Fab.js +1 -1
- package/FilledInput/FilledInput.js +1 -1
- package/FormControl/FormControl.d.ts +1 -1
- package/FormControl/FormControl.js +1 -1
- package/FormLabel/FormLabel.d.ts +1 -1
- package/FormLabel/FormLabel.js +1 -1
- package/Icon/Icon.d.ts +1 -1
- package/Icon/Icon.js +1 -1
- package/IconButton/IconButton.d.ts +1 -1
- package/IconButton/IconButton.js +1 -1
- package/Input/Input.js +1 -1
- package/InputBase/InputBase.d.ts +1 -1
- package/InputBase/InputBase.js +1 -1
- package/InputLabel/InputLabel.js +1 -1
- package/LinearProgress/LinearProgress.d.ts +1 -1
- package/LinearProgress/LinearProgress.js +1 -1
- package/Menu/Menu.d.ts +2 -23
- package/OutlinedInput/OutlinedInput.js +1 -1
- package/Pagination/Pagination.d.ts +1 -1
- package/Pagination/Pagination.js +1 -1
- package/PaginationItem/PaginationItem.d.ts +1 -1
- package/PaginationItem/PaginationItem.js +3 -3
- package/Radio/Radio.d.ts +1 -1
- package/Radio/Radio.js +1 -1
- package/Select/SelectInput.js +8 -5
- package/Slider/Slider.d.ts +5 -2
- package/Slider/Slider.js +2 -2
- package/Slider/sliderClasses.d.ts +16 -0
- package/Slider/sliderClasses.js +1 -1
- package/SvgIcon/SvgIcon.d.ts +1 -1
- package/SvgIcon/SvgIcon.js +1 -1
- package/Switch/Switch.d.ts +1 -1
- package/Switch/Switch.js +1 -1
- package/TextField/TextField.d.ts +1 -1
- package/TextField/TextField.js +1 -1
- package/ToggleButton/ToggleButton.d.ts +1 -1
- package/ToggleButton/ToggleButton.js +1 -1
- package/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
- package/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/index.js +1 -1
- package/legacy/Alert/Alert.js +1 -1
- package/legacy/AppBar/AppBar.js +1 -1
- package/legacy/Badge/Badge.js +1 -1
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Button/Button.js +1 -1
- package/legacy/ButtonGroup/ButtonGroup.js +9 -9
- package/legacy/Checkbox/Checkbox.js +2 -2
- package/legacy/Chip/Chip.js +7 -1
- package/legacy/CircularProgress/CircularProgress.js +1 -1
- package/legacy/DialogActions/DialogActions.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/FormLabel/FormLabel.js +1 -1
- package/legacy/Icon/Icon.js +1 -1
- package/legacy/IconButton/IconButton.js +1 -1
- package/legacy/Input/Input.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/OutlinedInput/OutlinedInput.js +1 -1
- package/legacy/Pagination/Pagination.js +1 -1
- package/legacy/PaginationItem/PaginationItem.js +3 -3
- package/legacy/Radio/Radio.js +1 -1
- package/legacy/Select/SelectInput.js +8 -5
- package/legacy/Slider/Slider.js +2 -2
- package/legacy/Slider/sliderClasses.js +1 -1
- package/legacy/SvgIcon/SvgIcon.js +1 -1
- package/legacy/Switch/Switch.js +1 -1
- package/legacy/TextField/TextField.js +1 -1
- package/legacy/ToggleButton/ToggleButton.js +1 -1
- package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/legacy/index.js +1 -1
- package/modern/Alert/Alert.js +1 -1
- package/modern/AppBar/AppBar.js +1 -1
- package/modern/Badge/Badge.js +1 -1
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Button/Button.js +1 -1
- package/modern/ButtonGroup/ButtonGroup.js +9 -9
- package/modern/Checkbox/Checkbox.js +2 -2
- package/modern/Chip/Chip.js +7 -1
- package/modern/CircularProgress/CircularProgress.js +1 -1
- package/modern/DialogActions/DialogActions.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/FormLabel/FormLabel.js +1 -1
- package/modern/Icon/Icon.js +1 -1
- package/modern/IconButton/IconButton.js +1 -1
- package/modern/Input/Input.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/OutlinedInput/OutlinedInput.js +1 -1
- package/modern/Pagination/Pagination.js +1 -1
- package/modern/PaginationItem/PaginationItem.js +3 -3
- package/modern/Radio/Radio.js +1 -1
- package/modern/Select/SelectInput.js +8 -5
- package/modern/Slider/Slider.js +2 -2
- package/modern/Slider/sliderClasses.js +1 -1
- package/modern/SvgIcon/SvgIcon.js +1 -1
- package/modern/Switch/Switch.js +1 -1
- package/modern/TextField/TextField.js +1 -1
- package/modern/ToggleButton/ToggleButton.js +1 -1
- package/modern/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/modern/index.js +1 -1
- package/node/Accordion/Accordion.js +1 -2
- package/node/Accordion/AccordionContext.js +1 -2
- package/node/Accordion/accordionClasses.js +1 -2
- package/node/AccordionActions/AccordionActions.js +1 -2
- package/node/AccordionActions/accordionActionsClasses.js +1 -2
- package/node/AccordionDetails/AccordionDetails.js +1 -2
- package/node/AccordionDetails/accordionDetailsClasses.js +1 -2
- package/node/AccordionSummary/AccordionSummary.js +1 -2
- package/node/AccordionSummary/accordionSummaryClasses.js +1 -2
- package/node/Alert/Alert.js +2 -3
- package/node/Alert/alertClasses.js +1 -2
- package/node/AlertTitle/AlertTitle.js +1 -2
- package/node/AlertTitle/alertTitleClasses.js +1 -2
- package/node/AppBar/AppBar.js +2 -3
- package/node/AppBar/appBarClasses.js +1 -2
- package/node/Autocomplete/Autocomplete.js +1 -2
- package/node/Autocomplete/autocompleteClasses.js +1 -2
- package/node/Avatar/Avatar.js +1 -2
- package/node/Avatar/avatarClasses.js +1 -2
- package/node/AvatarGroup/AvatarGroup.js +1 -2
- package/node/AvatarGroup/avatarGroupClasses.js +1 -2
- package/node/Backdrop/Backdrop.js +1 -2
- package/node/Backdrop/backdropClasses.js +1 -2
- package/node/Badge/Badge.js +2 -3
- package/node/Badge/badgeClasses.js +1 -2
- package/node/BottomNavigation/BottomNavigation.js +1 -2
- package/node/BottomNavigation/bottomNavigationClasses.js +1 -2
- package/node/BottomNavigationAction/BottomNavigationAction.js +1 -2
- package/node/BottomNavigationAction/bottomNavigationActionClasses.js +1 -2
- package/node/Box/Box.js +1 -2
- package/node/Breadcrumbs/BreadcrumbCollapsed.js +1 -2
- package/node/Breadcrumbs/Breadcrumbs.js +1 -2
- package/node/Breadcrumbs/breadcrumbsClasses.js +1 -2
- package/node/Button/Button.js +2 -3
- package/node/Button/buttonClasses.js +1 -2
- package/node/ButtonBase/ButtonBase.js +2 -4
- package/node/ButtonBase/Ripple.js +1 -2
- package/node/ButtonBase/TouchRipple.js +4 -8
- package/node/ButtonBase/buttonBaseClasses.js +1 -2
- package/node/ButtonBase/touchRippleClasses.js +1 -2
- package/node/ButtonGroup/ButtonGroup.js +10 -11
- package/node/ButtonGroup/ButtonGroupButtonContext.js +1 -2
- package/node/ButtonGroup/ButtonGroupContext.js +1 -2
- package/node/ButtonGroup/buttonGroupClasses.js +1 -2
- package/node/Card/Card.js +1 -2
- package/node/Card/cardClasses.js +1 -2
- package/node/CardActionArea/CardActionArea.js +1 -2
- package/node/CardActionArea/cardActionAreaClasses.js +1 -2
- package/node/CardActions/CardActions.js +1 -2
- package/node/CardActions/cardActionsClasses.js +1 -2
- package/node/CardContent/CardContent.js +1 -2
- package/node/CardContent/cardContentClasses.js +1 -2
- package/node/CardHeader/CardHeader.js +1 -2
- package/node/CardHeader/cardHeaderClasses.js +1 -2
- package/node/CardMedia/CardMedia.js +1 -2
- package/node/CardMedia/cardMediaClasses.js +1 -2
- package/node/Checkbox/Checkbox.js +3 -4
- package/node/Checkbox/checkboxClasses.js +1 -2
- package/node/Chip/Chip.js +8 -3
- package/node/Chip/chipClasses.js +1 -2
- package/node/CircularProgress/CircularProgress.js +2 -3
- package/node/CircularProgress/circularProgressClasses.js +1 -2
- package/node/Collapse/Collapse.js +1 -2
- package/node/Collapse/collapseClasses.js +1 -2
- package/node/Container/Container.js +1 -2
- package/node/Container/containerClasses.js +1 -2
- package/node/CssBaseline/CssBaseline.js +1 -2
- package/node/Dialog/Dialog.js +1 -2
- package/node/Dialog/DialogContext.js +1 -2
- package/node/Dialog/dialogClasses.js +1 -2
- package/node/DialogActions/DialogActions.js +2 -3
- package/node/DialogActions/dialogActionsClasses.js +1 -2
- package/node/DialogContent/DialogContent.js +1 -2
- package/node/DialogContent/dialogContentClasses.js +1 -2
- package/node/DialogContentText/DialogContentText.js +1 -2
- package/node/DialogContentText/dialogContentTextClasses.js +1 -2
- package/node/DialogTitle/DialogTitle.js +1 -2
- package/node/DialogTitle/dialogTitleClasses.js +1 -2
- package/node/Divider/Divider.js +1 -2
- package/node/Divider/dividerClasses.js +1 -2
- package/node/Drawer/Drawer.js +1 -2
- package/node/Drawer/drawerClasses.js +1 -2
- package/node/Fab/Fab.js +2 -3
- package/node/Fab/fabClasses.js +1 -2
- package/node/Fade/Fade.js +1 -2
- package/node/FilledInput/FilledInput.js +2 -3
- package/node/FilledInput/filledInputClasses.js +1 -2
- package/node/FormControl/FormControl.js +2 -3
- package/node/FormControl/FormControlContext.js +1 -2
- package/node/FormControl/formControlClasses.js +1 -2
- package/node/FormControlLabel/FormControlLabel.js +2 -4
- package/node/FormControlLabel/formControlLabelClasses.js +1 -2
- package/node/FormGroup/FormGroup.js +1 -2
- package/node/FormGroup/formGroupClasses.js +1 -2
- package/node/FormHelperText/FormHelperText.js +1 -2
- package/node/FormHelperText/formHelperTextClasses.js +1 -2
- package/node/FormLabel/FormLabel.js +3 -5
- package/node/FormLabel/formLabelClasses.js +1 -2
- package/node/GlobalStyles/GlobalStyles.js +1 -2
- package/node/Grid/Grid.js +1 -2
- package/node/Grid/GridContext.js +1 -2
- package/node/Grid/gridClasses.js +1 -2
- package/node/Grow/Grow.js +1 -2
- package/node/Hidden/Hidden.js +1 -2
- package/node/Hidden/HiddenCss.js +1 -2
- package/node/Hidden/HiddenJs.js +1 -2
- package/node/Hidden/hiddenCssClasses.js +1 -2
- package/node/Hidden/withWidth.js +1 -2
- package/node/Icon/Icon.js +2 -3
- package/node/Icon/iconClasses.js +1 -2
- package/node/IconButton/IconButton.js +2 -3
- package/node/IconButton/iconButtonClasses.js +1 -2
- package/node/ImageList/ImageList.js +1 -2
- package/node/ImageList/ImageListContext.js +1 -2
- package/node/ImageList/imageListClasses.js +1 -2
- package/node/ImageListItem/ImageListItem.js +1 -2
- package/node/ImageListItem/imageListItemClasses.js +1 -2
- package/node/ImageListItemBar/ImageListItemBar.js +1 -2
- package/node/ImageListItemBar/imageListItemBarClasses.js +1 -2
- package/node/Input/Input.js +2 -3
- package/node/Input/inputClasses.js +1 -2
- package/node/InputAdornment/InputAdornment.js +1 -2
- package/node/InputAdornment/inputAdornmentClasses.js +1 -2
- package/node/InputBase/InputBase.js +4 -7
- package/node/InputBase/inputBaseClasses.js +1 -2
- package/node/InputLabel/InputLabel.js +2 -3
- package/node/InputLabel/inputLabelClasses.js +1 -2
- package/node/LinearProgress/LinearProgress.js +2 -3
- package/node/LinearProgress/linearProgressClasses.js +1 -2
- package/node/Link/Link.js +1 -2
- package/node/Link/getTextDecoration.js +2 -4
- package/node/Link/linkClasses.js +1 -2
- package/node/List/List.js +1 -2
- package/node/List/ListContext.js +1 -2
- package/node/List/listClasses.js +1 -2
- package/node/ListItem/ListItem.js +2 -4
- package/node/ListItem/listItemClasses.js +1 -2
- package/node/ListItemAvatar/ListItemAvatar.js +1 -2
- package/node/ListItemAvatar/listItemAvatarClasses.js +1 -2
- package/node/ListItemButton/ListItemButton.js +1 -2
- package/node/ListItemButton/listItemButtonClasses.js +1 -2
- package/node/ListItemIcon/ListItemIcon.js +1 -2
- package/node/ListItemIcon/listItemIconClasses.js +1 -2
- package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -2
- package/node/ListItemSecondaryAction/listItemSecondaryActionClasses.js +1 -2
- package/node/ListItemText/ListItemText.js +1 -2
- package/node/ListItemText/listItemTextClasses.js +1 -2
- package/node/ListSubheader/ListSubheader.js +1 -2
- package/node/ListSubheader/listSubheaderClasses.js +1 -2
- package/node/Menu/Menu.js +2 -4
- package/node/Menu/menuClasses.js +1 -2
- package/node/MenuItem/MenuItem.js +1 -2
- package/node/MenuItem/menuItemClasses.js +1 -2
- package/node/MenuList/MenuList.js +1 -2
- package/node/MobileStepper/MobileStepper.js +1 -2
- package/node/MobileStepper/mobileStepperClasses.js +1 -2
- package/node/Modal/Modal.js +1 -2
- package/node/Modal/modalClasses.js +1 -2
- package/node/NativeSelect/NativeSelect.js +1 -2
- package/node/NativeSelect/NativeSelectInput.js +1 -2
- package/node/NativeSelect/nativeSelectClasses.js +1 -2
- package/node/OutlinedInput/OutlinedInput.js +2 -3
- package/node/OutlinedInput/outlinedInputClasses.js +1 -2
- package/node/Pagination/Pagination.js +2 -3
- package/node/Pagination/paginationClasses.js +1 -2
- package/node/PaginationItem/PaginationItem.js +4 -5
- package/node/PaginationItem/paginationItemClasses.js +1 -2
- package/node/Paper/Paper.js +1 -2
- package/node/Paper/paperClasses.js +1 -2
- package/node/Popover/Popover.js +3 -6
- package/node/Popover/popoverClasses.js +1 -2
- package/node/Popper/Popper.js +1 -2
- package/node/Radio/Radio.js +2 -3
- package/node/Radio/RadioButtonIcon.js +1 -2
- package/node/Radio/radioClasses.js +1 -2
- package/node/RadioGroup/RadioGroup.js +1 -2
- package/node/RadioGroup/RadioGroupContext.js +1 -2
- package/node/Rating/Rating.js +1 -2
- package/node/Rating/ratingClasses.js +1 -2
- package/node/ScopedCssBaseline/ScopedCssBaseline.js +1 -2
- package/node/ScopedCssBaseline/scopedCssBaselineClasses.js +1 -2
- package/node/Select/Select.js +1 -2
- package/node/Select/SelectInput.js +8 -6
- package/node/Select/selectClasses.js +1 -2
- package/node/Skeleton/Skeleton.js +1 -2
- package/node/Skeleton/skeletonClasses.js +1 -2
- package/node/Slide/Slide.js +1 -2
- package/node/Slider/Slider.js +10 -18
- package/node/Slider/sliderClasses.js +2 -3
- package/node/Snackbar/Snackbar.js +1 -2
- package/node/Snackbar/snackbarClasses.js +1 -2
- package/node/SnackbarContent/SnackbarContent.js +1 -2
- package/node/SnackbarContent/snackbarContentClasses.js +1 -2
- package/node/SpeedDial/SpeedDial.js +1 -2
- package/node/SpeedDial/speedDialClasses.js +1 -2
- package/node/SpeedDialAction/SpeedDialAction.js +1 -2
- package/node/SpeedDialAction/speedDialActionClasses.js +1 -2
- package/node/SpeedDialIcon/SpeedDialIcon.js +1 -2
- package/node/SpeedDialIcon/speedDialIconClasses.js +1 -2
- package/node/Stack/Stack.js +1 -2
- package/node/Stack/stackClasses.js +1 -2
- package/node/Step/Step.js +1 -2
- package/node/Step/StepContext.js +1 -2
- package/node/Step/stepClasses.js +1 -2
- package/node/StepButton/StepButton.js +1 -2
- package/node/StepButton/stepButtonClasses.js +1 -2
- package/node/StepConnector/StepConnector.js +1 -2
- package/node/StepConnector/stepConnectorClasses.js +1 -2
- package/node/StepContent/StepContent.js +1 -2
- package/node/StepContent/stepContentClasses.js +1 -2
- package/node/StepIcon/StepIcon.js +1 -2
- package/node/StepIcon/stepIconClasses.js +1 -2
- package/node/StepLabel/StepLabel.js +1 -2
- package/node/StepLabel/stepLabelClasses.js +1 -2
- package/node/Stepper/Stepper.js +1 -2
- package/node/Stepper/StepperContext.js +1 -2
- package/node/Stepper/stepperClasses.js +1 -2
- package/node/SvgIcon/SvgIcon.js +2 -3
- package/node/SvgIcon/svgIconClasses.js +1 -2
- package/node/SwipeableDrawer/SwipeArea.js +1 -2
- package/node/SwipeableDrawer/SwipeableDrawer.js +1 -2
- package/node/Switch/Switch.js +2 -3
- package/node/Switch/switchClasses.js +1 -2
- package/node/Tab/Tab.js +1 -2
- package/node/Tab/tabClasses.js +1 -2
- package/node/TabScrollButton/TabScrollButton.js +1 -2
- package/node/TabScrollButton/tabScrollButtonClasses.js +1 -2
- package/node/Table/Table.js +1 -2
- package/node/Table/TableContext.js +1 -2
- package/node/Table/Tablelvl2Context.js +1 -2
- package/node/Table/tableClasses.js +1 -2
- package/node/TableBody/TableBody.js +1 -2
- package/node/TableBody/tableBodyClasses.js +1 -2
- package/node/TableCell/TableCell.js +1 -2
- package/node/TableCell/tableCellClasses.js +1 -2
- package/node/TableContainer/TableContainer.js +1 -2
- package/node/TableContainer/tableContainerClasses.js +1 -2
- package/node/TableFooter/TableFooter.js +1 -2
- package/node/TableFooter/tableFooterClasses.js +1 -2
- package/node/TableHead/TableHead.js +1 -2
- package/node/TableHead/tableHeadClasses.js +1 -2
- package/node/TablePagination/TablePagination.js +1 -2
- package/node/TablePagination/TablePaginationActions.js +1 -2
- package/node/TablePagination/tablePaginationClasses.js +1 -2
- package/node/TableRow/TableRow.js +1 -2
- package/node/TableRow/tableRowClasses.js +1 -2
- package/node/TableSortLabel/TableSortLabel.js +1 -2
- package/node/TableSortLabel/tableSortLabelClasses.js +1 -2
- package/node/Tabs/Tabs.js +1 -2
- package/node/Tabs/tabsClasses.js +1 -2
- package/node/TextField/TextField.js +2 -3
- package/node/TextField/textFieldClasses.js +1 -2
- package/node/ToggleButton/ToggleButton.js +2 -3
- package/node/ToggleButton/toggleButtonClasses.js +1 -2
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +2 -3
- package/node/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -2
- package/node/Toolbar/Toolbar.js +1 -2
- package/node/Toolbar/toolbarClasses.js +1 -2
- package/node/Tooltip/Tooltip.js +1 -2
- package/node/Tooltip/tooltipClasses.js +1 -2
- package/node/Typography/Typography.js +2 -4
- package/node/Typography/typographyClasses.js +1 -2
- package/node/Unstable_Grid2/Grid2.js +1 -2
- package/node/Unstable_Grid2/grid2Classes.js +1 -2
- package/node/Zoom/Zoom.js +1 -2
- package/node/colors/amber.js +1 -2
- package/node/colors/blue.js +1 -2
- package/node/colors/blueGrey.js +1 -2
- package/node/colors/brown.js +1 -2
- package/node/colors/common.js +1 -2
- package/node/colors/cyan.js +1 -2
- package/node/colors/deepOrange.js +1 -2
- package/node/colors/deepPurple.js +1 -2
- package/node/colors/green.js +1 -2
- package/node/colors/grey.js +1 -2
- package/node/colors/indigo.js +1 -2
- package/node/colors/lightBlue.js +1 -2
- package/node/colors/lightGreen.js +1 -2
- package/node/colors/lime.js +1 -2
- package/node/colors/orange.js +1 -2
- package/node/colors/pink.js +1 -2
- package/node/colors/purple.js +1 -2
- package/node/colors/red.js +1 -2
- package/node/colors/teal.js +1 -2
- package/node/colors/yellow.js +1 -2
- package/node/index.js +1 -1
- package/node/internal/SwitchBase.js +1 -2
- package/node/internal/svg-icons/Add.js +2 -3
- package/node/internal/svg-icons/ArrowDownward.js +2 -3
- package/node/internal/svg-icons/ArrowDropDown.js +2 -3
- package/node/internal/svg-icons/Cancel.js +2 -3
- package/node/internal/svg-icons/CheckBox.js +2 -3
- package/node/internal/svg-icons/CheckBoxOutlineBlank.js +2 -3
- package/node/internal/svg-icons/CheckCircle.js +2 -3
- package/node/internal/svg-icons/Close.js +2 -3
- package/node/internal/svg-icons/ErrorOutline.js +2 -3
- package/node/internal/svg-icons/FirstPage.js +2 -3
- package/node/internal/svg-icons/IndeterminateCheckBox.js +2 -3
- package/node/internal/svg-icons/InfoOutlined.js +2 -3
- package/node/internal/svg-icons/KeyboardArrowLeft.js +2 -3
- package/node/internal/svg-icons/KeyboardArrowRight.js +2 -3
- package/node/internal/svg-icons/LastPage.js +2 -3
- package/node/internal/svg-icons/MoreHoriz.js +2 -3
- package/node/internal/svg-icons/NavigateBefore.js +2 -3
- package/node/internal/svg-icons/NavigateNext.js +2 -3
- package/node/internal/svg-icons/Person.js +2 -3
- package/node/internal/svg-icons/RadioButtonChecked.js +2 -3
- package/node/internal/svg-icons/RadioButtonUnchecked.js +2 -3
- package/node/internal/svg-icons/ReportProblemOutlined.js +2 -3
- package/node/internal/svg-icons/Star.js +2 -3
- package/node/internal/svg-icons/StarBorder.js +2 -3
- package/node/internal/svg-icons/SuccessOutlined.js +2 -3
- package/node/internal/svg-icons/Warning.js +2 -3
- package/node/internal/switchBaseClasses.js +1 -2
- package/node/locale/index.js +62 -115
- package/node/styles/createPalette.js +2 -4
- package/node/styles/createTheme.js +1 -2
- package/node/styles/createTransitions.js +2 -4
- package/node/styles/defaultTheme.js +1 -2
- package/node/styles/excludeVariablesFromRoot.js +1 -2
- package/node/styles/getOverlayAlpha.js +1 -2
- package/node/styles/identifier.js +1 -2
- package/node/styles/shadows.js +1 -2
- package/node/styles/styled.js +2 -4
- package/node/styles/zIndex.js +1 -2
- package/node/useTouchRipple/useTouchRipple.js +1 -2
- package/node/utils/capitalize.js +1 -2
- package/node/utils/createChainedFunction.js +1 -2
- package/node/utils/debounce.js +1 -2
- package/node/utils/deprecatedPropType.js +1 -2
- package/node/utils/getScrollbarSize.js +1 -2
- package/node/utils/index.js +2 -3
- package/node/utils/isMuiElement.js +1 -2
- package/node/utils/ownerDocument.js +1 -2
- package/node/utils/ownerWindow.js +1 -2
- package/node/utils/requirePropFactory.js +1 -2
- package/node/utils/setRef.js +1 -2
- package/node/utils/shouldSpreadAdditionalProps.js +1 -2
- package/node/utils/unsupportedProp.js +1 -2
- package/node/utils/useControlled.js +1 -2
- package/node/utils/useEnhancedEffect.js +1 -2
- package/node/utils/useEventCallback.js +1 -2
- package/node/utils/useForkRef.js +1 -2
- package/node/utils/useId.js +1 -2
- package/node/utils/useIsFocusVisible.js +1 -2
- package/package.json +8 -8
- package/styles/components.d.ts +1 -0
- package/styles/overrides.d.ts +2 -0
- package/umd/material-ui.development.js +188 -96
- package/umd/material-ui.production.min.js +21 -21
|
@@ -109,14 +109,14 @@ var PaginationItemPage = styled(ButtonBase, {
|
|
|
109
109
|
}), _defineProperty(_extends3, "&.".concat(paginationItemClasses.selected), (_$concat = {
|
|
110
110
|
backgroundColor: (theme.vars || theme).palette.action.selected,
|
|
111
111
|
'&:hover': {
|
|
112
|
-
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette.action.
|
|
112
|
+
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette.action.selectedChannel, " / calc(").concat(theme.vars.palette.action.selectedOpacity, " + ").concat(theme.vars.palette.action.hoverOpacity, "))") : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
|
|
113
113
|
// Reset on touch devices, it doesn't add specificity
|
|
114
114
|
'@media (hover: none)': {
|
|
115
115
|
backgroundColor: (theme.vars || theme).palette.action.selected
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
}, _defineProperty(_$concat, "&.".concat(paginationItemClasses.focusVisible), {
|
|
119
|
-
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette.action.
|
|
119
|
+
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette.action.selectedChannel, " / calc(").concat(theme.vars.palette.action.selectedOpacity, " + ").concat(theme.vars.palette.action.focusOpacity, "))") : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
|
|
120
120
|
}), _defineProperty(_$concat, "&.".concat(paginationItemClasses.disabled), {
|
|
121
121
|
opacity: 1,
|
|
122
122
|
color: (theme.vars || theme).palette.action.disabled,
|
|
@@ -280,7 +280,7 @@ process.env.NODE_ENV !== "production" ? PaginationItem.propTypes /* remove-propt
|
|
|
280
280
|
/**
|
|
281
281
|
* The active color.
|
|
282
282
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
283
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
283
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
284
284
|
* @default 'standard'
|
|
285
285
|
*/
|
|
286
286
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'standard']), PropTypes.string]),
|
package/legacy/Radio/Radio.js
CHANGED
|
@@ -147,7 +147,7 @@ process.env.NODE_ENV !== "production" ? Radio.propTypes /* remove-proptypes */ =
|
|
|
147
147
|
/**
|
|
148
148
|
* The color of the component.
|
|
149
149
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
150
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
150
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
151
151
|
* @default 'primary'
|
|
152
152
|
*/
|
|
153
153
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
|
|
@@ -12,7 +12,7 @@ import { isFragment } from 'react-is';
|
|
|
12
12
|
import PropTypes from 'prop-types';
|
|
13
13
|
import clsx from 'clsx';
|
|
14
14
|
import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses';
|
|
15
|
-
import { refType } from '@mui/utils';
|
|
15
|
+
import { refType, unstable_useId as useId } from '@mui/utils';
|
|
16
16
|
import ownerDocument from '../utils/ownerDocument';
|
|
17
17
|
import capitalize from '../utils/capitalize';
|
|
18
18
|
import Menu from '../Menu/Menu';
|
|
@@ -445,11 +445,13 @@ var SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, ref)
|
|
|
445
445
|
});
|
|
446
446
|
var classes = useUtilityClasses(ownerState);
|
|
447
447
|
var paperProps = _extends({}, MenuProps.PaperProps, (_MenuProps$slotProps = MenuProps.slotProps) == null ? void 0 : _MenuProps$slotProps.paper);
|
|
448
|
+
var listboxId = useId();
|
|
448
449
|
return /*#__PURE__*/_jsxs(React.Fragment, {
|
|
449
450
|
children: [/*#__PURE__*/_jsx(SelectSelect, _extends({
|
|
450
451
|
ref: handleDisplayRef,
|
|
451
452
|
tabIndex: tabIndex,
|
|
452
|
-
role: "
|
|
453
|
+
role: "combobox",
|
|
454
|
+
"aria-controls": listboxId,
|
|
453
455
|
"aria-disabled": disabled ? 'true' : undefined,
|
|
454
456
|
"aria-expanded": open ? 'true' : 'false',
|
|
455
457
|
"aria-haspopup": "listbox",
|
|
@@ -505,15 +507,16 @@ var SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, ref)
|
|
|
505
507
|
'aria-labelledby': labelId,
|
|
506
508
|
role: 'listbox',
|
|
507
509
|
'aria-multiselectable': multiple ? 'true' : undefined,
|
|
508
|
-
disableListWrap: true
|
|
510
|
+
disableListWrap: true,
|
|
511
|
+
id: listboxId
|
|
509
512
|
}, MenuProps.MenuListProps),
|
|
510
|
-
slotProps: {
|
|
513
|
+
slotProps: _extends({}, MenuProps.slotProps, {
|
|
511
514
|
paper: _extends({}, paperProps, {
|
|
512
515
|
style: _extends({
|
|
513
516
|
minWidth: menuMinWidth
|
|
514
517
|
}, paperProps != null ? paperProps.style : null)
|
|
515
518
|
})
|
|
516
|
-
},
|
|
519
|
+
}),
|
|
517
520
|
children: items
|
|
518
521
|
}))]
|
|
519
522
|
});
|
package/legacy/Slider/Slider.js
CHANGED
|
@@ -646,10 +646,10 @@ process.env.NODE_ENV !== "production" ? Slider.propTypes /* remove-proptypes */
|
|
|
646
646
|
/**
|
|
647
647
|
* The color of the component.
|
|
648
648
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
649
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
649
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
650
650
|
* @default 'primary'
|
|
651
651
|
*/
|
|
652
|
-
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
|
|
652
|
+
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
|
|
653
653
|
/**
|
|
654
654
|
* The components used for each slot inside.
|
|
655
655
|
*
|
|
@@ -3,5 +3,5 @@ import generateUtilityClass from '../generateUtilityClass';
|
|
|
3
3
|
export function getSliderUtilityClass(slot) {
|
|
4
4
|
return generateUtilityClass('MuiSlider', slot);
|
|
5
5
|
}
|
|
6
|
-
var sliderClasses = generateUtilityClasses('MuiSlider', ['root', 'active', 'colorPrimary', 'colorSecondary', 'disabled', 'dragging', 'focusVisible', 'mark', 'markActive', 'marked', 'markLabel', 'markLabelActive', 'rail', 'sizeSmall', 'thumb', 'thumbColorPrimary', 'thumbColorSecondary', 'track', 'trackInverted', 'trackFalse', 'thumbSizeSmall', 'valueLabel', 'valueLabelOpen', 'valueLabelCircle', 'valueLabelLabel', 'vertical']);
|
|
6
|
+
var sliderClasses = generateUtilityClasses('MuiSlider', ['root', 'active', 'colorPrimary', 'colorSecondary', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning', 'disabled', 'dragging', 'focusVisible', 'mark', 'markActive', 'marked', 'markLabel', 'markLabelActive', 'rail', 'sizeSmall', 'thumb', 'thumbColorPrimary', 'thumbColorSecondary', 'thumbColorError', 'thumbColorSuccess', 'thumbColorInfo', 'thumbColorWarning', 'track', 'trackInverted', 'trackFalse', 'thumbSizeSmall', 'valueLabel', 'valueLabelOpen', 'valueLabelCircle', 'valueLabelLabel', 'vertical']);
|
|
7
7
|
export default sliderClasses;
|
|
@@ -128,7 +128,7 @@ process.env.NODE_ENV !== "production" ? SvgIcon.propTypes /* remove-proptypes */
|
|
|
128
128
|
/**
|
|
129
129
|
* The color of the component.
|
|
130
130
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
131
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
131
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
132
132
|
* You can use the `htmlColor` prop to apply a color attribute to the SVG element.
|
|
133
133
|
* @default 'inherit'
|
|
134
134
|
*/
|
package/legacy/Switch/Switch.js
CHANGED
|
@@ -239,7 +239,7 @@ process.env.NODE_ENV !== "production" ? Switch.propTypes /* remove-proptypes */
|
|
|
239
239
|
/**
|
|
240
240
|
* The color of the component.
|
|
241
241
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
242
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
242
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
243
243
|
* @default 'primary'
|
|
244
244
|
*/
|
|
245
245
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
|
|
@@ -236,7 +236,7 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes /* remove-proptypes
|
|
|
236
236
|
/**
|
|
237
237
|
* The color of the component.
|
|
238
238
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
239
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
239
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
240
240
|
* @default 'primary'
|
|
241
241
|
*/
|
|
242
242
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
|
|
@@ -154,7 +154,7 @@ process.env.NODE_ENV !== "production" ? ToggleButton.propTypes /* remove-proptyp
|
|
|
154
154
|
/**
|
|
155
155
|
* The color of the button when it is in an active state.
|
|
156
156
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
157
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
157
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
158
158
|
* @default 'standard'
|
|
159
159
|
*/
|
|
160
160
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['standard', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
|
|
@@ -168,7 +168,7 @@ process.env.NODE_ENV !== "production" ? ToggleButtonGroup.propTypes /* remove-pr
|
|
|
168
168
|
/**
|
|
169
169
|
* The color of the button when it is selected.
|
|
170
170
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
171
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
171
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
172
172
|
* @default 'standard'
|
|
173
173
|
*/
|
|
174
174
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['standard', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
|
package/legacy/index.js
CHANGED
package/modern/Alert/Alert.js
CHANGED
|
@@ -227,7 +227,7 @@ process.env.NODE_ENV !== "production" ? Alert.propTypes /* remove-proptypes */ =
|
|
|
227
227
|
/**
|
|
228
228
|
* The color of the component. Unless provided, the value is taken from the `severity` prop.
|
|
229
229
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
230
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
230
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
231
231
|
*/
|
|
232
232
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'success', 'warning']), PropTypes.string]),
|
|
233
233
|
/**
|
package/modern/AppBar/AppBar.js
CHANGED
|
@@ -154,7 +154,7 @@ process.env.NODE_ENV !== "production" ? AppBar.propTypes /* remove-proptypes */
|
|
|
154
154
|
/**
|
|
155
155
|
* The color of the component.
|
|
156
156
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
157
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
157
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
158
158
|
* @default 'primary'
|
|
159
159
|
*/
|
|
160
160
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary', 'transparent']), PropTypes.string]),
|
package/modern/Badge/Badge.js
CHANGED
|
@@ -285,7 +285,7 @@ process.env.NODE_ENV !== "production" ? Badge.propTypes /* remove-proptypes */ =
|
|
|
285
285
|
/**
|
|
286
286
|
* The color of the component.
|
|
287
287
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
288
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
288
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
289
289
|
* @default 'default'
|
|
290
290
|
*/
|
|
291
291
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
|
|
File without changes
|
package/modern/Button/Button.js
CHANGED
|
@@ -301,7 +301,7 @@ process.env.NODE_ENV !== "production" ? Button.propTypes /* remove-proptypes */
|
|
|
301
301
|
/**
|
|
302
302
|
* The color of the component.
|
|
303
303
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
304
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
304
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
305
305
|
* @default 'primary'
|
|
306
306
|
*/
|
|
307
307
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary', 'success', 'error', 'info', 'warning']), PropTypes.string]),
|
|
@@ -8,6 +8,7 @@ import PropTypes from 'prop-types';
|
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses';
|
|
10
10
|
import { alpha } from '@mui/system';
|
|
11
|
+
import { getValidReactChildren } from '@mui/utils';
|
|
11
12
|
import capitalize from '../utils/capitalize';
|
|
12
13
|
import styled from '../styles/styled';
|
|
13
14
|
import useThemeProps from '../styles/useThemeProps';
|
|
@@ -180,9 +181,11 @@ const ButtonGroup = /*#__PURE__*/React.forwardRef(function ButtonGroup(inProps,
|
|
|
180
181
|
size,
|
|
181
182
|
variant
|
|
182
183
|
}), [color, disabled, disableElevation, disableFocusRipple, disableRipple, fullWidth, size, variant, classes.grouped]);
|
|
183
|
-
const
|
|
184
|
+
const validChildren = getValidReactChildren(children);
|
|
185
|
+
const childrenCount = validChildren.length;
|
|
186
|
+
const getButtonPositionClassName = index => {
|
|
184
187
|
const isFirstButton = index === 0;
|
|
185
|
-
const isLastButton = index ===
|
|
188
|
+
const isLastButton = index === childrenCount - 1;
|
|
186
189
|
if (isFirstButton && isLastButton) {
|
|
187
190
|
return '';
|
|
188
191
|
}
|
|
@@ -203,14 +206,11 @@ const ButtonGroup = /*#__PURE__*/React.forwardRef(function ButtonGroup(inProps,
|
|
|
203
206
|
}, other, {
|
|
204
207
|
children: /*#__PURE__*/_jsx(ButtonGroupContext.Provider, {
|
|
205
208
|
value: context,
|
|
206
|
-
children:
|
|
207
|
-
if (! /*#__PURE__*/React.isValidElement(child)) {
|
|
208
|
-
return child;
|
|
209
|
-
}
|
|
209
|
+
children: validChildren.map((child, index) => {
|
|
210
210
|
return /*#__PURE__*/_jsx(ButtonGroupButtonContext.Provider, {
|
|
211
|
-
value: getButtonPositionClassName(index
|
|
211
|
+
value: getButtonPositionClassName(index),
|
|
212
212
|
children: child
|
|
213
|
-
});
|
|
213
|
+
}, index);
|
|
214
214
|
})
|
|
215
215
|
})
|
|
216
216
|
}));
|
|
@@ -235,7 +235,7 @@ process.env.NODE_ENV !== "production" ? ButtonGroup.propTypes /* remove-proptype
|
|
|
235
235
|
/**
|
|
236
236
|
* The color of the component.
|
|
237
237
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
238
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
238
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
239
239
|
* @default 'primary'
|
|
240
240
|
*/
|
|
241
241
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
|
|
@@ -48,7 +48,7 @@ const CheckboxRoot = styled(SwitchBase, {
|
|
|
48
48
|
color: (theme.vars || theme).palette.text.secondary
|
|
49
49
|
}, !ownerState.disableRipple && {
|
|
50
50
|
'&:hover': {
|
|
51
|
-
backgroundColor: theme.vars ? `rgba(${ownerState.color === 'default' ? theme.vars.palette.action.activeChannel : theme.vars.palette.
|
|
51
|
+
backgroundColor: theme.vars ? `rgba(${ownerState.color === 'default' ? theme.vars.palette.action.activeChannel : theme.vars.palette[ownerState.color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(ownerState.color === 'default' ? theme.palette.action.active : theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),
|
|
52
52
|
// Reset on touch devices, it doesn't add specificity
|
|
53
53
|
'@media (hover: none)': {
|
|
54
54
|
backgroundColor: 'transparent'
|
|
@@ -132,7 +132,7 @@ process.env.NODE_ENV !== "production" ? Checkbox.propTypes /* remove-proptypes *
|
|
|
132
132
|
/**
|
|
133
133
|
* The color of the component.
|
|
134
134
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
135
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
135
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
136
136
|
* @default 'primary'
|
|
137
137
|
*/
|
|
138
138
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
|
package/modern/Chip/Chip.js
CHANGED
|
@@ -262,9 +262,15 @@ const ChipLabel = styled('span', {
|
|
|
262
262
|
paddingLeft: 12,
|
|
263
263
|
paddingRight: 12,
|
|
264
264
|
whiteSpace: 'nowrap'
|
|
265
|
+
}, ownerState.variant === 'outlined' && {
|
|
266
|
+
paddingLeft: 11,
|
|
267
|
+
paddingRight: 11
|
|
265
268
|
}, ownerState.size === 'small' && {
|
|
266
269
|
paddingLeft: 8,
|
|
267
270
|
paddingRight: 8
|
|
271
|
+
}, ownerState.size === 'small' && ownerState.variant === 'outlined' && {
|
|
272
|
+
paddingLeft: 7,
|
|
273
|
+
paddingRight: 7
|
|
268
274
|
}));
|
|
269
275
|
function isDeleteKeyboardEvent(keyboardEvent) {
|
|
270
276
|
return keyboardEvent.key === 'Backspace' || keyboardEvent.key === 'Delete';
|
|
@@ -429,7 +435,7 @@ process.env.NODE_ENV !== "production" ? Chip.propTypes /* remove-proptypes */ =
|
|
|
429
435
|
/**
|
|
430
436
|
* The color of the component.
|
|
431
437
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
432
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
438
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
433
439
|
* @default 'default'
|
|
434
440
|
*/
|
|
435
441
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
|
|
@@ -196,7 +196,7 @@ process.env.NODE_ENV !== "production" ? CircularProgress.propTypes /* remove-pro
|
|
|
196
196
|
/**
|
|
197
197
|
* The color of the component.
|
|
198
198
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
199
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
199
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
200
200
|
* @default 'primary'
|
|
201
201
|
*/
|
|
202
202
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
|
package/modern/Fab/Fab.js
CHANGED
|
@@ -175,7 +175,7 @@ process.env.NODE_ENV !== "production" ? Fab.propTypes /* remove-proptypes */ = {
|
|
|
175
175
|
/**
|
|
176
176
|
* The color of the component.
|
|
177
177
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
178
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
178
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
179
179
|
* @default 'default'
|
|
180
180
|
*/
|
|
181
181
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'error', 'info', 'inherit', 'primary', 'secondary', 'success', 'warning']), PropTypes.string]),
|
|
@@ -250,7 +250,7 @@ process.env.NODE_ENV !== "production" ? FilledInput.propTypes /* remove-proptype
|
|
|
250
250
|
/**
|
|
251
251
|
* The color of the component.
|
|
252
252
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
253
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
253
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
254
254
|
* The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
|
|
255
255
|
*/
|
|
256
256
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
|
|
@@ -227,7 +227,7 @@ process.env.NODE_ENV !== "production" ? FormControl.propTypes /* remove-proptype
|
|
|
227
227
|
/**
|
|
228
228
|
* The color of the component.
|
|
229
229
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
230
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
230
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
231
231
|
* @default 'primary'
|
|
232
232
|
*/
|
|
233
233
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
|
|
@@ -129,7 +129,7 @@ process.env.NODE_ENV !== "production" ? FormLabel.propTypes /* remove-proptypes
|
|
|
129
129
|
/**
|
|
130
130
|
* The color of the component.
|
|
131
131
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
132
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
132
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
133
133
|
*/
|
|
134
134
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'primary', 'secondary', 'success', 'warning']), PropTypes.string]),
|
|
135
135
|
/**
|
package/modern/Icon/Icon.js
CHANGED
|
@@ -123,7 +123,7 @@ process.env.NODE_ENV !== "production" ? Icon.propTypes /* remove-proptypes */ =
|
|
|
123
123
|
/**
|
|
124
124
|
* The color of the component.
|
|
125
125
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
126
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
126
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
127
127
|
* @default 'inherit'
|
|
128
128
|
*/
|
|
129
129
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'action', 'disabled', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
|
|
@@ -160,7 +160,7 @@ process.env.NODE_ENV !== "production" ? IconButton.propTypes /* remove-proptypes
|
|
|
160
160
|
/**
|
|
161
161
|
* The color of the component.
|
|
162
162
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
163
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
163
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
164
164
|
* @default 'default'
|
|
165
165
|
*/
|
|
166
166
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
|
package/modern/Input/Input.js
CHANGED
|
@@ -174,7 +174,7 @@ process.env.NODE_ENV !== "production" ? Input.propTypes /* remove-proptypes */ =
|
|
|
174
174
|
/**
|
|
175
175
|
* The color of the component.
|
|
176
176
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
177
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
177
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
178
178
|
* The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
|
|
179
179
|
*/
|
|
180
180
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
|
|
@@ -505,7 +505,7 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes /* remove-proptypes
|
|
|
505
505
|
/**
|
|
506
506
|
* The color of the component.
|
|
507
507
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
508
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
508
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
509
509
|
* The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
|
|
510
510
|
*/
|
|
511
511
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
|
|
@@ -165,7 +165,7 @@ process.env.NODE_ENV !== "production" ? InputLabel.propTypes /* remove-proptypes
|
|
|
165
165
|
/**
|
|
166
166
|
* The color of the component.
|
|
167
167
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
168
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
168
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
169
169
|
*/
|
|
170
170
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'primary', 'secondary', 'success', 'warning']), PropTypes.string]),
|
|
171
171
|
/**
|
|
@@ -315,7 +315,7 @@ process.env.NODE_ENV !== "production" ? LinearProgress.propTypes /* remove-propt
|
|
|
315
315
|
/**
|
|
316
316
|
* The color of the component.
|
|
317
317
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
318
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
318
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
319
319
|
* @default 'primary'
|
|
320
320
|
*/
|
|
321
321
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary']), PropTypes.string]),
|
|
@@ -202,7 +202,7 @@ process.env.NODE_ENV !== "production" ? OutlinedInput.propTypes /* remove-propty
|
|
|
202
202
|
/**
|
|
203
203
|
* The color of the component.
|
|
204
204
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
205
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
205
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
206
206
|
* The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
|
|
207
207
|
*/
|
|
208
208
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
|
|
@@ -145,7 +145,7 @@ process.env.NODE_ENV !== "production" ? Pagination.propTypes /* remove-proptypes
|
|
|
145
145
|
/**
|
|
146
146
|
* The active color.
|
|
147
147
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
148
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
148
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
149
149
|
* @default 'standard'
|
|
150
150
|
*/
|
|
151
151
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'standard']), PropTypes.string]),
|
|
@@ -116,14 +116,14 @@ const PaginationItemPage = styled(ButtonBase, {
|
|
|
116
116
|
[`&.${paginationItemClasses.selected}`]: {
|
|
117
117
|
backgroundColor: (theme.vars || theme).palette.action.selected,
|
|
118
118
|
'&:hover': {
|
|
119
|
-
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.
|
|
119
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selectedChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
|
|
120
120
|
// Reset on touch devices, it doesn't add specificity
|
|
121
121
|
'@media (hover: none)': {
|
|
122
122
|
backgroundColor: (theme.vars || theme).palette.action.selected
|
|
123
123
|
}
|
|
124
124
|
},
|
|
125
125
|
[`&.${paginationItemClasses.focusVisible}`]: {
|
|
126
|
-
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.
|
|
126
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selectedChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
|
|
127
127
|
},
|
|
128
128
|
[`&.${paginationItemClasses.disabled}`]: {
|
|
129
129
|
opacity: 1,
|
|
@@ -287,7 +287,7 @@ process.env.NODE_ENV !== "production" ? PaginationItem.propTypes /* remove-propt
|
|
|
287
287
|
/**
|
|
288
288
|
* The active color.
|
|
289
289
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
290
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
290
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
291
291
|
* @default 'standard'
|
|
292
292
|
*/
|
|
293
293
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'standard']), PropTypes.string]),
|
package/modern/Radio/Radio.js
CHANGED
|
@@ -148,7 +148,7 @@ process.env.NODE_ENV !== "production" ? Radio.propTypes /* remove-proptypes */ =
|
|
|
148
148
|
/**
|
|
149
149
|
* The color of the component.
|
|
150
150
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
151
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
151
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
152
152
|
* @default 'primary'
|
|
153
153
|
*/
|
|
154
154
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
|
|
@@ -10,7 +10,7 @@ import { isFragment } from 'react-is';
|
|
|
10
10
|
import PropTypes from 'prop-types';
|
|
11
11
|
import clsx from 'clsx';
|
|
12
12
|
import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses';
|
|
13
|
-
import { refType } from '@mui/utils';
|
|
13
|
+
import { refType, unstable_useId as useId } from '@mui/utils';
|
|
14
14
|
import ownerDocument from '../utils/ownerDocument';
|
|
15
15
|
import capitalize from '../utils/capitalize';
|
|
16
16
|
import Menu from '../Menu/Menu';
|
|
@@ -433,11 +433,13 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
433
433
|
});
|
|
434
434
|
const classes = useUtilityClasses(ownerState);
|
|
435
435
|
const paperProps = _extends({}, MenuProps.PaperProps, MenuProps.slotProps?.paper);
|
|
436
|
+
const listboxId = useId();
|
|
436
437
|
return /*#__PURE__*/_jsxs(React.Fragment, {
|
|
437
438
|
children: [/*#__PURE__*/_jsx(SelectSelect, _extends({
|
|
438
439
|
ref: handleDisplayRef,
|
|
439
440
|
tabIndex: tabIndex,
|
|
440
|
-
role: "
|
|
441
|
+
role: "combobox",
|
|
442
|
+
"aria-controls": listboxId,
|
|
441
443
|
"aria-disabled": disabled ? 'true' : undefined,
|
|
442
444
|
"aria-expanded": open ? 'true' : 'false',
|
|
443
445
|
"aria-haspopup": "listbox",
|
|
@@ -493,15 +495,16 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
493
495
|
'aria-labelledby': labelId,
|
|
494
496
|
role: 'listbox',
|
|
495
497
|
'aria-multiselectable': multiple ? 'true' : undefined,
|
|
496
|
-
disableListWrap: true
|
|
498
|
+
disableListWrap: true,
|
|
499
|
+
id: listboxId
|
|
497
500
|
}, MenuProps.MenuListProps),
|
|
498
|
-
slotProps: {
|
|
501
|
+
slotProps: _extends({}, MenuProps.slotProps, {
|
|
499
502
|
paper: _extends({}, paperProps, {
|
|
500
503
|
style: _extends({
|
|
501
504
|
minWidth: menuMinWidth
|
|
502
505
|
}, paperProps != null ? paperProps.style : null)
|
|
503
506
|
})
|
|
504
|
-
},
|
|
507
|
+
}),
|
|
505
508
|
children: items
|
|
506
509
|
}))]
|
|
507
510
|
});
|
package/modern/Slider/Slider.js
CHANGED
|
@@ -622,10 +622,10 @@ process.env.NODE_ENV !== "production" ? Slider.propTypes /* remove-proptypes */
|
|
|
622
622
|
/**
|
|
623
623
|
* The color of the component.
|
|
624
624
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
625
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
625
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
626
626
|
* @default 'primary'
|
|
627
627
|
*/
|
|
628
|
-
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
|
|
628
|
+
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
|
|
629
629
|
/**
|
|
630
630
|
* The components used for each slot inside.
|
|
631
631
|
*
|
|
@@ -3,5 +3,5 @@ import generateUtilityClass from '../generateUtilityClass';
|
|
|
3
3
|
export function getSliderUtilityClass(slot) {
|
|
4
4
|
return generateUtilityClass('MuiSlider', slot);
|
|
5
5
|
}
|
|
6
|
-
const sliderClasses = generateUtilityClasses('MuiSlider', ['root', 'active', 'colorPrimary', 'colorSecondary', 'disabled', 'dragging', 'focusVisible', 'mark', 'markActive', 'marked', 'markLabel', 'markLabelActive', 'rail', 'sizeSmall', 'thumb', 'thumbColorPrimary', 'thumbColorSecondary', 'track', 'trackInverted', 'trackFalse', 'thumbSizeSmall', 'valueLabel', 'valueLabelOpen', 'valueLabelCircle', 'valueLabelLabel', 'vertical']);
|
|
6
|
+
const sliderClasses = generateUtilityClasses('MuiSlider', ['root', 'active', 'colorPrimary', 'colorSecondary', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning', 'disabled', 'dragging', 'focusVisible', 'mark', 'markActive', 'marked', 'markLabel', 'markLabelActive', 'rail', 'sizeSmall', 'thumb', 'thumbColorPrimary', 'thumbColorSecondary', 'thumbColorError', 'thumbColorSuccess', 'thumbColorInfo', 'thumbColorWarning', 'track', 'trackInverted', 'trackFalse', 'thumbSizeSmall', 'valueLabel', 'valueLabelOpen', 'valueLabelCircle', 'valueLabelLabel', 'vertical']);
|
|
7
7
|
export default sliderClasses;
|
|
@@ -128,7 +128,7 @@ process.env.NODE_ENV !== "production" ? SvgIcon.propTypes /* remove-proptypes */
|
|
|
128
128
|
/**
|
|
129
129
|
* The color of the component.
|
|
130
130
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
131
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
131
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
132
132
|
* You can use the `htmlColor` prop to apply a color attribute to the SVG element.
|
|
133
133
|
* @default 'inherit'
|
|
134
134
|
*/
|
package/modern/Switch/Switch.js
CHANGED
|
@@ -246,7 +246,7 @@ process.env.NODE_ENV !== "production" ? Switch.propTypes /* remove-proptypes */
|
|
|
246
246
|
/**
|
|
247
247
|
* The color of the component.
|
|
248
248
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
249
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
249
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
250
250
|
* @default 'primary'
|
|
251
251
|
*/
|
|
252
252
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
|
|
@@ -230,7 +230,7 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes /* remove-proptypes
|
|
|
230
230
|
/**
|
|
231
231
|
* The color of the component.
|
|
232
232
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
233
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
233
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
234
234
|
* @default 'primary'
|
|
235
235
|
*/
|
|
236
236
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
|
|
@@ -159,7 +159,7 @@ process.env.NODE_ENV !== "production" ? ToggleButton.propTypes /* remove-proptyp
|
|
|
159
159
|
/**
|
|
160
160
|
* The color of the button when it is in an active state.
|
|
161
161
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
162
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
162
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
163
163
|
* @default 'standard'
|
|
164
164
|
*/
|
|
165
165
|
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['standard', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
|