@mui/material 5.13.1 → 5.13.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accordion/Accordion.js +43 -44
- package/AccordionActions/AccordionActions.js +18 -18
- package/AccordionDetails/AccordionDetails.js +9 -7
- package/AccordionSummary/AccordionSummary.js +32 -32
- package/Alert/Alert.js +60 -64
- package/AlertTitle/AlertTitle.js +9 -7
- package/AppBar/AppBar.js +73 -89
- package/Autocomplete/Autocomplete.d.ts +1 -0
- package/Autocomplete/Autocomplete.js +153 -171
- package/Avatar/Avatar.js +38 -42
- package/AvatarGroup/AvatarGroup.js +33 -34
- package/Backdrop/Backdrop.js +31 -33
- package/Badge/Badge.js +107 -119
- package/BottomNavigation/BottomNavigation.js +17 -15
- package/BottomNavigationAction/BottomNavigationAction.js +31 -29
- package/Breadcrumbs/BreadcrumbCollapsed.js +34 -35
- package/Breadcrumbs/Breadcrumbs.js +21 -19
- package/Button/Button.js +133 -168
- package/ButtonBase/ButtonBase.js +42 -43
- package/ButtonBase/TouchRipple.js +12 -9
- package/ButtonGroup/ButtonGroup.js +89 -111
- package/CHANGELOG.md +93 -0
- package/Card/Card.js +12 -11
- package/CardActionArea/CardActionArea.js +12 -9
- package/CardActions/CardActions.js +18 -18
- package/CardContent/CardContent.js +12 -11
- package/CardHeader/CardHeader.js +31 -30
- package/CardMedia/CardMedia.js +27 -28
- package/Checkbox/Checkbox.js +39 -44
- package/Chip/Chip.js +129 -146
- package/CircularProgress/CircularProgress.js +36 -43
- package/Collapse/Collapse.js +65 -73
- package/CssBaseline/CssBaseline.js +14 -17
- package/Dialog/Dialog.js +94 -103
- package/DialogActions/DialogActions.js +18 -18
- package/DialogContent/DialogContent.js +22 -22
- package/DialogContentText/DialogContentText.js +11 -13
- package/DialogTitle/DialogTitle.js +10 -8
- package/Divider/Divider.js +84 -99
- package/Drawer/Drawer.js +76 -85
- package/Fab/Fab.js +60 -71
- package/Fade/Fade.js +30 -31
- package/FilledInput/FilledInput.js +117 -135
- package/FilledInput/filledInputClasses.js +2 -4
- package/FormControl/FormControl.js +35 -41
- package/FormControlLabel/FormControlLabel.js +38 -43
- package/FormGroup/FormGroup.js +16 -16
- package/FormHelperText/FormHelperText.js +23 -30
- package/FormLabel/FormLabel.js +18 -26
- package/GlobalStyles/GlobalStyles.js +3 -3
- package/Grid/Grid.js +41 -50
- package/Grow/Grow.js +30 -31
- package/Hidden/Hidden.js +32 -31
- package/Hidden/HiddenCss.js +29 -29
- package/Hidden/withWidth.js +20 -20
- package/Icon/Icon.js +15 -14
- package/IconButton/IconButton.js +52 -59
- package/ImageList/ImageList.js +29 -30
- package/ImageListItem/ImageListItem.js +39 -40
- package/ImageListItemBar/ImageListItemBar.js +41 -47
- package/Input/Input.js +74 -77
- package/Input/inputClasses.js +2 -4
- package/InputAdornment/InputAdornment.js +34 -36
- package/InputBase/InputBase.js +92 -116
- package/InputLabel/InputLabel.js +68 -83
- package/LinearProgress/LinearProgress.js +58 -64
- package/Link/Link.js +64 -69
- package/List/List.js +24 -24
- package/ListItem/ListItem.js +96 -113
- package/ListItemAvatar/ListItemAvatar.js +15 -15
- package/ListItemButton/ListItemButton.js +35 -40
- package/ListItemIcon/ListItemIcon.js +15 -15
- package/ListItemSecondaryAction/ListItemSecondaryAction.js +15 -15
- package/ListItemText/ListItemText.js +34 -34
- package/ListSubheader/ListSubheader.js +32 -36
- package/Menu/Menu.js +39 -38
- package/MenuItem/MenuItem.js +45 -50
- package/MenuList/MenuList.js +20 -17
- package/MobileStepper/MobileStepper.js +53 -61
- package/Modal/Modal.js +46 -51
- package/NativeSelect/NativeSelect.js +22 -26
- package/NativeSelect/NativeSelectInput.js +43 -50
- package/OutlinedInput/NotchedOutline.js +51 -55
- package/OutlinedInput/OutlinedInput.js +59 -72
- package/OutlinedInput/outlinedInputClasses.js +2 -4
- package/Pagination/Pagination.js +31 -35
- package/PaginationItem/PaginationItem.js +93 -105
- package/Paper/Paper.js +28 -32
- package/Popover/Popover.js +51 -49
- package/Popper/Popper.js +27 -25
- package/Radio/Radio.js +33 -36
- package/Radio/RadioButtonIcon.js +10 -11
- package/RadioGroup/RadioGroup.js +17 -14
- package/Rating/Rating.js +73 -88
- package/ScopedCssBaseline/ScopedCssBaseline.js +15 -18
- package/Select/Select.js +55 -59
- package/Select/SelectInput.js +57 -58
- package/Skeleton/Skeleton.js +46 -51
- package/Slide/Slide.js +33 -37
- package/Slider/Slider.js +216 -281
- package/Snackbar/Snackbar.js +67 -81
- package/SnackbarContent/SnackbarContent.js +15 -13
- package/SpeedDial/SpeedDial.js +83 -85
- package/SpeedDialAction/SpeedDialAction.js +52 -57
- package/SpeedDialIcon/SpeedDialIcon.js +24 -25
- package/Step/Step.js +26 -27
- package/StepButton/StepButton.js +24 -23
- package/StepConnector/StepConnector.js +31 -34
- package/StepContent/StepContent.js +24 -23
- package/StepIcon/StepIcon.js +22 -22
- package/StepLabel/StepLabel.js +33 -34
- package/Stepper/Stepper.js +31 -33
- package/SvgIcon/SvgIcon.js +20 -19
- package/SwipeableDrawer/SwipeArea.js +30 -33
- package/SwipeableDrawer/SwipeableDrawer.js +43 -49
- package/Switch/Switch.js +52 -59
- package/Tab/Tab.js +83 -93
- package/TabScrollButton/TabScrollButton.js +25 -30
- package/Table/Table.js +19 -20
- package/TableBody/TableBody.js +12 -11
- package/TableCell/TableCell.js +59 -70
- package/TableContainer/TableContainer.js +12 -11
- package/TableFooter/TableFooter.js +12 -11
- package/TableHead/TableHead.js +12 -11
- package/TablePagination/TablePagination.js +49 -53
- package/TablePagination/TablePaginationActions.js +25 -22
- package/TableRow/TableRow.js +14 -13
- package/TableSortLabel/TableSortLabel.js +23 -23
- package/Tabs/ScrollbarSize.js +9 -7
- package/Tabs/Tabs.js +92 -107
- package/TextField/TextField.js +57 -57
- package/ToggleButton/ToggleButton.js +35 -36
- package/ToggleButtonGroup/ToggleButtonGroup.js +59 -60
- package/Toolbar/Toolbar.js +25 -26
- package/Tooltip/Tooltip.js +147 -177
- package/Typography/Typography.js +32 -37
- package/Zoom/Zoom.js +30 -31
- package/index.js +1 -1
- package/internal/SwitchBase.js +43 -45
- package/legacy/Accordion/Accordion.js +8 -9
- package/legacy/AccordionActions/AccordionActions.js +4 -6
- package/legacy/AccordionDetails/AccordionDetails.js +2 -4
- package/legacy/AccordionSummary/AccordionSummary.js +11 -12
- package/legacy/Alert/Alert.js +10 -11
- package/legacy/AlertTitle/AlertTitle.js +2 -4
- package/legacy/AppBar/AppBar.js +16 -18
- package/legacy/Autocomplete/Autocomplete.js +54 -45
- package/legacy/Avatar/Avatar.js +9 -11
- package/legacy/AvatarGroup/AvatarGroup.js +9 -10
- package/legacy/Backdrop/Backdrop.js +8 -10
- package/legacy/Badge/Badge.js +15 -16
- package/legacy/BottomNavigation/BottomNavigation.js +4 -6
- package/legacy/BottomNavigationAction/BottomNavigationAction.js +8 -9
- package/legacy/Breadcrumbs/BreadcrumbCollapsed.js +8 -10
- package/legacy/Breadcrumbs/Breadcrumbs.js +4 -5
- package/legacy/Button/Button.js +36 -37
- package/legacy/ButtonBase/ButtonBase.js +5 -6
- package/legacy/ButtonBase/TouchRipple.js +3 -5
- package/legacy/ButtonGroup/ButtonGroup.js +27 -28
- package/legacy/Card/Card.js +3 -5
- package/legacy/CardActionArea/CardActionArea.js +3 -4
- package/legacy/CardActions/CardActions.js +4 -6
- package/legacy/CardContent/CardContent.js +3 -5
- package/legacy/CardHeader/CardHeader.js +10 -11
- package/legacy/CardMedia/CardMedia.js +7 -9
- package/legacy/Checkbox/Checkbox.js +8 -9
- package/legacy/Chip/Chip.js +25 -26
- package/legacy/CircularProgress/CircularProgress.js +10 -12
- package/legacy/Collapse/Collapse.js +16 -17
- package/legacy/CssBaseline/CssBaseline.js +7 -9
- package/legacy/Dialog/Dialog.js +18 -19
- package/legacy/DialogActions/DialogActions.js +4 -6
- package/legacy/DialogContent/DialogContent.js +4 -5
- package/legacy/DialogContentText/DialogContentText.js +4 -6
- package/legacy/DialogTitle/DialogTitle.js +2 -4
- package/legacy/Divider/Divider.js +17 -19
- package/legacy/Drawer/Drawer.js +21 -23
- package/legacy/Fab/Fab.js +12 -13
- package/legacy/Fade/Fade.js +6 -8
- package/legacy/FilledInput/FilledInput.js +23 -24
- package/legacy/FilledInput/filledInputClasses.js +2 -4
- package/legacy/FormControl/FormControl.js +8 -10
- package/legacy/FormControlLabel/FormControlLabel.js +10 -11
- package/legacy/FormGroup/FormGroup.js +4 -6
- package/legacy/FormHelperText/FormHelperText.js +11 -12
- package/legacy/FormLabel/FormLabel.js +12 -13
- package/legacy/GlobalStyles/GlobalStyles.js +2 -4
- package/legacy/Grid/Grid.js +11 -13
- package/legacy/Grow/Grow.js +6 -8
- package/legacy/Hidden/Hidden.js +13 -15
- package/legacy/Hidden/HiddenCss.js +3 -4
- package/legacy/Hidden/withWidth.js +5 -7
- package/legacy/Icon/Icon.js +3 -5
- package/legacy/IconButton/IconButton.js +14 -15
- package/legacy/ImageList/ImageList.js +7 -9
- package/legacy/ImageListItem/ImageListItem.js +8 -9
- package/legacy/ImageListItemBar/ImageListItemBar.js +11 -13
- package/legacy/Input/Input.js +7 -8
- package/legacy/Input/inputClasses.js +2 -4
- package/legacy/InputAdornment/InputAdornment.js +8 -9
- package/legacy/InputBase/InputBase.js +27 -28
- package/legacy/InputLabel/InputLabel.js +13 -14
- package/legacy/LinearProgress/LinearProgress.js +15 -17
- package/legacy/Link/Link.js +8 -9
- package/legacy/List/List.js +6 -8
- package/legacy/ListItem/ListItem.js +24 -25
- package/legacy/ListItemAvatar/ListItemAvatar.js +4 -6
- package/legacy/ListItemButton/ListItemButton.js +15 -16
- package/legacy/ListItemIcon/ListItemIcon.js +4 -6
- package/legacy/ListItemSecondaryAction/ListItemSecondaryAction.js +4 -6
- package/legacy/ListItemText/ListItemText.js +10 -11
- package/legacy/ListSubheader/ListSubheader.js +8 -10
- package/legacy/Menu/Menu.js +10 -12
- package/legacy/MenuItem/MenuItem.js +21 -22
- package/legacy/MenuList/MenuList.js +3 -5
- package/legacy/MobileStepper/MobileStepper.js +10 -12
- package/legacy/Modal/Modal.js +9 -11
- package/legacy/NativeSelect/NativeSelect.js +6 -8
- package/legacy/NativeSelect/NativeSelectInput.js +16 -17
- package/legacy/OutlinedInput/NotchedOutline.js +6 -8
- package/legacy/OutlinedInput/OutlinedInput.js +22 -23
- package/legacy/OutlinedInput/outlinedInputClasses.js +2 -4
- package/legacy/Pagination/Pagination.js +7 -9
- package/legacy/PaginationItem/PaginationItem.js +23 -24
- package/legacy/Paper/Paper.js +7 -9
- package/legacy/Popover/Popover.js +10 -12
- package/legacy/Popper/Popper.js +4 -6
- package/legacy/Radio/Radio.js +7 -8
- package/legacy/Radio/RadioButtonIcon.js +3 -5
- package/legacy/RadioGroup/RadioGroup.js +3 -5
- package/legacy/Rating/Rating.js +23 -24
- package/legacy/ScopedCssBaseline/ScopedCssBaseline.js +4 -6
- package/legacy/Select/Select.js +8 -10
- package/legacy/Select/SelectInput.js +10 -11
- package/legacy/Skeleton/Skeleton.js +11 -13
- package/legacy/Slide/Slide.js +8 -10
- package/legacy/Slider/Slider.js +65 -66
- package/legacy/Snackbar/Snackbar.js +15 -16
- package/legacy/SnackbarContent/SnackbarContent.js +4 -5
- package/legacy/SpeedDial/SpeedDial.js +14 -15
- package/legacy/SpeedDialAction/SpeedDialAction.js +15 -16
- package/legacy/SpeedDialIcon/SpeedDialIcon.js +6 -7
- package/legacy/Step/Step.js +6 -8
- package/legacy/StepButton/StepButton.js +7 -8
- package/legacy/StepConnector/StepConnector.js +8 -10
- package/legacy/StepContent/StepContent.js +7 -9
- package/legacy/StepIcon/StepIcon.js +6 -7
- package/legacy/StepLabel/StepLabel.js +19 -20
- package/legacy/Stepper/Stepper.js +8 -10
- package/legacy/SvgIcon/SvgIcon.js +4 -6
- package/legacy/SwipeableDrawer/SwipeArea.js +8 -9
- package/legacy/SwipeableDrawer/SwipeableDrawer.js +8 -10
- package/legacy/Switch/Switch.js +10 -11
- package/legacy/Tab/Tab.js +15 -16
- package/legacy/TabScrollButton/TabScrollButton.js +6 -7
- package/legacy/Table/Table.js +5 -7
- package/legacy/TableBody/TableBody.js +3 -5
- package/legacy/TableCell/TableCell.js +14 -15
- package/legacy/TableContainer/TableContainer.js +3 -5
- package/legacy/TableFooter/TableFooter.js +3 -5
- package/legacy/TableHead/TableHead.js +3 -5
- package/legacy/TablePagination/TablePagination.js +14 -15
- package/legacy/TablePagination/TablePaginationActions.js +7 -9
- package/legacy/TableRow/TableRow.js +3 -4
- package/legacy/TableSortLabel/TableSortLabel.js +6 -7
- package/legacy/Tabs/ScrollbarSize.js +2 -4
- package/legacy/Tabs/Tabs.js +22 -23
- package/legacy/TextField/TextField.js +12 -14
- package/legacy/ToggleButton/ToggleButton.js +11 -12
- package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +7 -8
- package/legacy/Toolbar/Toolbar.js +5 -6
- package/legacy/Tooltip/Tooltip.js +33 -34
- package/legacy/Typography/Typography.js +9 -11
- package/legacy/Zoom/Zoom.js +6 -8
- package/legacy/index.js +1 -1
- package/legacy/internal/SwitchBase.js +8 -10
- package/legacy/styles/CssVarsProvider.js +2 -4
- package/legacy/styles/ThemeProvider.js +2 -4
- package/legacy/styles/adaptV4Theme.js +6 -7
- package/legacy/styles/createMixins.js +2 -3
- package/legacy/styles/createPalette.js +4 -6
- package/legacy/styles/createTheme.js +3 -4
- package/legacy/styles/createTransitions.js +5 -7
- package/legacy/styles/createTypography.js +4 -6
- package/legacy/styles/experimental_extendTheme.js +10 -12
- package/legacy/styles/responsiveFontSizes.js +4 -6
- package/legacy/usePagination/usePagination.js +2 -4
- package/legacy/useScrollTrigger/useScrollTrigger.js +2 -4
- package/legacy/utils/createSvgIcon.js +3 -5
- package/modern/Accordion/Accordion.js +43 -44
- package/modern/AccordionActions/AccordionActions.js +18 -18
- package/modern/AccordionDetails/AccordionDetails.js +9 -7
- package/modern/AccordionSummary/AccordionSummary.js +32 -32
- package/modern/Alert/Alert.js +60 -64
- package/modern/AlertTitle/AlertTitle.js +9 -7
- package/modern/AppBar/AppBar.js +73 -89
- package/modern/Autocomplete/Autocomplete.js +150 -168
- package/modern/Avatar/Avatar.js +38 -42
- package/modern/AvatarGroup/AvatarGroup.js +33 -34
- package/modern/Backdrop/Backdrop.js +31 -33
- package/modern/Badge/Badge.js +107 -119
- package/modern/BottomNavigation/BottomNavigation.js +17 -15
- package/modern/BottomNavigationAction/BottomNavigationAction.js +31 -29
- package/modern/Breadcrumbs/BreadcrumbCollapsed.js +34 -35
- package/modern/Breadcrumbs/Breadcrumbs.js +21 -19
- package/modern/Button/Button.js +133 -168
- package/modern/ButtonBase/ButtonBase.js +42 -43
- package/modern/ButtonBase/TouchRipple.js +12 -9
- package/modern/ButtonGroup/ButtonGroup.js +89 -111
- package/modern/Card/Card.js +12 -11
- package/modern/CardActionArea/CardActionArea.js +12 -9
- package/modern/CardActions/CardActions.js +18 -18
- package/modern/CardContent/CardContent.js +12 -11
- package/modern/CardHeader/CardHeader.js +31 -30
- package/modern/CardMedia/CardMedia.js +27 -28
- package/modern/Checkbox/Checkbox.js +39 -44
- package/modern/Chip/Chip.js +129 -146
- package/modern/CircularProgress/CircularProgress.js +36 -43
- package/modern/Collapse/Collapse.js +65 -73
- package/modern/CssBaseline/CssBaseline.js +14 -17
- package/modern/Dialog/Dialog.js +94 -103
- package/modern/DialogActions/DialogActions.js +18 -18
- package/modern/DialogContent/DialogContent.js +22 -22
- package/modern/DialogContentText/DialogContentText.js +11 -13
- package/modern/DialogTitle/DialogTitle.js +10 -8
- package/modern/Divider/Divider.js +84 -99
- package/modern/Drawer/Drawer.js +76 -85
- package/modern/Fab/Fab.js +59 -70
- package/modern/Fade/Fade.js +30 -31
- package/modern/FilledInput/FilledInput.js +117 -135
- package/modern/FilledInput/filledInputClasses.js +2 -4
- package/modern/FormControl/FormControl.js +35 -41
- package/modern/FormControlLabel/FormControlLabel.js +38 -43
- package/modern/FormGroup/FormGroup.js +16 -16
- package/modern/FormHelperText/FormHelperText.js +23 -30
- package/modern/FormLabel/FormLabel.js +18 -26
- package/modern/GlobalStyles/GlobalStyles.js +3 -3
- package/modern/Grid/Grid.js +41 -50
- package/modern/Grow/Grow.js +30 -31
- package/modern/Hidden/Hidden.js +32 -31
- package/modern/Hidden/HiddenCss.js +29 -29
- package/modern/Hidden/withWidth.js +20 -20
- package/modern/Icon/Icon.js +15 -14
- package/modern/IconButton/IconButton.js +52 -59
- package/modern/ImageList/ImageList.js +29 -30
- package/modern/ImageListItem/ImageListItem.js +39 -40
- package/modern/ImageListItemBar/ImageListItemBar.js +41 -47
- package/modern/Input/Input.js +74 -77
- package/modern/Input/inputClasses.js +2 -4
- package/modern/InputAdornment/InputAdornment.js +34 -36
- package/modern/InputBase/InputBase.js +92 -116
- package/modern/InputLabel/InputLabel.js +68 -83
- package/modern/LinearProgress/LinearProgress.js +58 -64
- package/modern/Link/Link.js +64 -69
- package/modern/List/List.js +24 -24
- package/modern/ListItem/ListItem.js +96 -113
- package/modern/ListItemAvatar/ListItemAvatar.js +15 -15
- package/modern/ListItemButton/ListItemButton.js +35 -40
- package/modern/ListItemIcon/ListItemIcon.js +15 -15
- package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +15 -15
- package/modern/ListItemText/ListItemText.js +34 -34
- package/modern/ListSubheader/ListSubheader.js +32 -36
- package/modern/Menu/Menu.js +39 -38
- package/modern/MenuItem/MenuItem.js +45 -50
- package/modern/MenuList/MenuList.js +20 -17
- package/modern/MobileStepper/MobileStepper.js +53 -61
- package/modern/Modal/Modal.js +46 -51
- package/modern/NativeSelect/NativeSelect.js +22 -26
- package/modern/NativeSelect/NativeSelectInput.js +43 -50
- package/modern/OutlinedInput/NotchedOutline.js +51 -55
- package/modern/OutlinedInput/OutlinedInput.js +59 -72
- package/modern/OutlinedInput/outlinedInputClasses.js +2 -4
- package/modern/Pagination/Pagination.js +31 -35
- package/modern/PaginationItem/PaginationItem.js +93 -105
- package/modern/Paper/Paper.js +28 -32
- package/modern/Popover/Popover.js +51 -49
- package/modern/Popper/Popper.js +27 -25
- package/modern/Radio/Radio.js +33 -36
- package/modern/Radio/RadioButtonIcon.js +10 -11
- package/modern/RadioGroup/RadioGroup.js +17 -14
- package/modern/Rating/Rating.js +73 -88
- package/modern/ScopedCssBaseline/ScopedCssBaseline.js +15 -18
- package/modern/Select/Select.js +55 -59
- package/modern/Select/SelectInput.js +57 -58
- package/modern/Skeleton/Skeleton.js +46 -51
- package/modern/Slide/Slide.js +33 -37
- package/modern/Slider/Slider.js +216 -281
- package/modern/Snackbar/Snackbar.js +67 -81
- package/modern/SnackbarContent/SnackbarContent.js +15 -13
- package/modern/SpeedDial/SpeedDial.js +83 -85
- package/modern/SpeedDialAction/SpeedDialAction.js +52 -57
- package/modern/SpeedDialIcon/SpeedDialIcon.js +24 -25
- package/modern/Step/Step.js +26 -27
- package/modern/StepButton/StepButton.js +24 -23
- package/modern/StepConnector/StepConnector.js +31 -34
- package/modern/StepContent/StepContent.js +24 -23
- package/modern/StepIcon/StepIcon.js +22 -22
- package/modern/StepLabel/StepLabel.js +33 -34
- package/modern/Stepper/Stepper.js +31 -33
- package/modern/SvgIcon/SvgIcon.js +20 -19
- package/modern/SwipeableDrawer/SwipeArea.js +30 -33
- package/modern/SwipeableDrawer/SwipeableDrawer.js +43 -49
- package/modern/Switch/Switch.js +52 -59
- package/modern/Tab/Tab.js +83 -93
- package/modern/TabScrollButton/TabScrollButton.js +25 -30
- package/modern/Table/Table.js +19 -20
- package/modern/TableBody/TableBody.js +12 -11
- package/modern/TableCell/TableCell.js +59 -70
- package/modern/TableContainer/TableContainer.js +12 -11
- package/modern/TableFooter/TableFooter.js +12 -11
- package/modern/TableHead/TableHead.js +12 -11
- package/modern/TablePagination/TablePagination.js +49 -53
- package/modern/TablePagination/TablePaginationActions.js +25 -22
- package/modern/TableRow/TableRow.js +14 -13
- package/modern/TableSortLabel/TableSortLabel.js +23 -23
- package/modern/Tabs/ScrollbarSize.js +9 -7
- package/modern/Tabs/Tabs.js +92 -107
- package/modern/TextField/TextField.js +57 -57
- package/modern/ToggleButton/ToggleButton.js +35 -36
- package/modern/ToggleButtonGroup/ToggleButtonGroup.js +59 -60
- package/modern/Toolbar/Toolbar.js +25 -26
- package/modern/Tooltip/Tooltip.js +147 -177
- package/modern/Typography/Typography.js +32 -37
- package/modern/Zoom/Zoom.js +30 -31
- package/modern/index.js +1 -1
- package/modern/internal/SwitchBase.js +43 -45
- package/modern/styles/CssVarsProvider.js +3 -3
- package/modern/styles/ThemeProvider.js +10 -7
- package/modern/styles/adaptV4Theme.js +31 -31
- package/modern/styles/createMixins.js +4 -4
- package/modern/styles/createPalette.js +13 -16
- package/modern/styles/createTheme.js +11 -16
- package/modern/styles/createTransitions.js +14 -17
- package/modern/styles/createTypography.js +29 -31
- package/modern/styles/experimental_extendTheme.js +33 -41
- package/modern/styles/responsiveFontSizes.js +11 -17
- package/modern/usePagination/usePagination.js +20 -18
- package/modern/useScrollTrigger/useScrollTrigger.js +10 -8
- package/modern/utils/createSvgIcon.js +5 -4
- package/node/Accordion/Accordion.js +43 -44
- package/node/AccordionActions/AccordionActions.js +18 -18
- package/node/AccordionDetails/AccordionDetails.js +9 -7
- package/node/AccordionSummary/AccordionSummary.js +32 -32
- package/node/Alert/Alert.js +60 -64
- package/node/AlertTitle/AlertTitle.js +9 -7
- package/node/AppBar/AppBar.js +73 -89
- package/node/Autocomplete/Autocomplete.js +153 -171
- package/node/Avatar/Avatar.js +38 -42
- package/node/AvatarGroup/AvatarGroup.js +33 -34
- package/node/Backdrop/Backdrop.js +31 -33
- package/node/Badge/Badge.js +107 -119
- package/node/BottomNavigation/BottomNavigation.js +17 -15
- package/node/BottomNavigationAction/BottomNavigationAction.js +31 -29
- package/node/Breadcrumbs/BreadcrumbCollapsed.js +34 -35
- package/node/Breadcrumbs/Breadcrumbs.js +21 -19
- package/node/Button/Button.js +133 -168
- package/node/ButtonBase/ButtonBase.js +42 -43
- package/node/ButtonBase/TouchRipple.js +12 -9
- package/node/ButtonGroup/ButtonGroup.js +89 -111
- package/node/Card/Card.js +12 -11
- package/node/CardActionArea/CardActionArea.js +12 -9
- package/node/CardActions/CardActions.js +18 -18
- package/node/CardContent/CardContent.js +12 -11
- package/node/CardHeader/CardHeader.js +31 -30
- package/node/CardMedia/CardMedia.js +27 -28
- package/node/Checkbox/Checkbox.js +39 -44
- package/node/Chip/Chip.js +129 -146
- package/node/CircularProgress/CircularProgress.js +36 -43
- package/node/Collapse/Collapse.js +65 -73
- package/node/CssBaseline/CssBaseline.js +14 -17
- package/node/Dialog/Dialog.js +94 -103
- package/node/DialogActions/DialogActions.js +18 -18
- package/node/DialogContent/DialogContent.js +22 -22
- package/node/DialogContentText/DialogContentText.js +11 -13
- package/node/DialogTitle/DialogTitle.js +10 -8
- package/node/Divider/Divider.js +84 -99
- package/node/Drawer/Drawer.js +76 -85
- package/node/Fab/Fab.js +60 -71
- package/node/Fade/Fade.js +30 -31
- package/node/FilledInput/FilledInput.js +117 -135
- package/node/FilledInput/filledInputClasses.js +2 -4
- package/node/FormControl/FormControl.js +35 -41
- package/node/FormControlLabel/FormControlLabel.js +38 -43
- package/node/FormGroup/FormGroup.js +16 -16
- package/node/FormHelperText/FormHelperText.js +23 -30
- package/node/FormLabel/FormLabel.js +18 -26
- package/node/GlobalStyles/GlobalStyles.js +3 -3
- package/node/Grid/Grid.js +43 -54
- package/node/Grow/Grow.js +30 -31
- package/node/Hidden/Hidden.js +36 -34
- package/node/Hidden/HiddenCss.js +29 -29
- package/node/Hidden/withWidth.js +20 -20
- package/node/Icon/Icon.js +15 -14
- package/node/IconButton/IconButton.js +52 -59
- package/node/ImageList/ImageList.js +29 -30
- package/node/ImageListItem/ImageListItem.js +39 -40
- package/node/ImageListItemBar/ImageListItemBar.js +41 -47
- package/node/Input/Input.js +74 -77
- package/node/Input/inputClasses.js +2 -4
- package/node/InputAdornment/InputAdornment.js +34 -36
- package/node/InputBase/InputBase.js +92 -116
- package/node/InputLabel/InputLabel.js +68 -83
- package/node/LinearProgress/LinearProgress.js +58 -64
- package/node/Link/Link.js +64 -69
- package/node/List/List.js +24 -24
- package/node/ListItem/ListItem.js +96 -113
- package/node/ListItemAvatar/ListItemAvatar.js +15 -15
- package/node/ListItemButton/ListItemButton.js +35 -40
- package/node/ListItemIcon/ListItemIcon.js +15 -15
- package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +15 -15
- package/node/ListItemText/ListItemText.js +34 -34
- package/node/ListSubheader/ListSubheader.js +32 -36
- package/node/Menu/Menu.js +39 -38
- package/node/MenuItem/MenuItem.js +45 -50
- package/node/MenuList/MenuList.js +20 -17
- package/node/MobileStepper/MobileStepper.js +53 -61
- package/node/Modal/Modal.js +46 -51
- package/node/NativeSelect/NativeSelect.js +22 -26
- package/node/NativeSelect/NativeSelectInput.js +43 -50
- package/node/OutlinedInput/NotchedOutline.js +51 -55
- package/node/OutlinedInput/OutlinedInput.js +59 -72
- package/node/OutlinedInput/outlinedInputClasses.js +2 -4
- package/node/Pagination/Pagination.js +31 -35
- package/node/PaginationItem/PaginationItem.js +93 -105
- package/node/Paper/Paper.js +28 -32
- package/node/Popover/Popover.js +51 -49
- package/node/Popper/Popper.js +27 -25
- package/node/Radio/Radio.js +33 -36
- package/node/Radio/RadioButtonIcon.js +10 -11
- package/node/RadioGroup/RadioGroup.js +17 -14
- package/node/Rating/Rating.js +73 -88
- package/node/ScopedCssBaseline/ScopedCssBaseline.js +15 -18
- package/node/Select/Select.js +55 -59
- package/node/Select/SelectInput.js +57 -58
- package/node/Skeleton/Skeleton.js +46 -51
- package/node/Slide/Slide.js +34 -39
- package/node/Slider/Slider.js +216 -281
- package/node/Snackbar/Snackbar.js +67 -81
- package/node/SnackbarContent/SnackbarContent.js +15 -13
- package/node/SpeedDial/SpeedDial.js +83 -85
- package/node/SpeedDialAction/SpeedDialAction.js +52 -59
- package/node/SpeedDialIcon/SpeedDialIcon.js +24 -25
- package/node/Step/Step.js +26 -27
- package/node/StepButton/StepButton.js +24 -23
- package/node/StepConnector/StepConnector.js +31 -34
- package/node/StepContent/StepContent.js +24 -23
- package/node/StepIcon/StepIcon.js +22 -22
- package/node/StepLabel/StepLabel.js +33 -34
- package/node/Stepper/Stepper.js +31 -33
- package/node/SvgIcon/SvgIcon.js +20 -19
- package/node/SwipeableDrawer/SwipeArea.js +30 -33
- package/node/SwipeableDrawer/SwipeableDrawer.js +44 -51
- package/node/Switch/Switch.js +52 -61
- package/node/Tab/Tab.js +83 -93
- package/node/TabScrollButton/TabScrollButton.js +26 -32
- package/node/Table/Table.js +19 -20
- package/node/TableBody/TableBody.js +12 -11
- package/node/TableCell/TableCell.js +59 -70
- package/node/TableContainer/TableContainer.js +12 -11
- package/node/TableFooter/TableFooter.js +12 -11
- package/node/TableHead/TableHead.js +12 -11
- package/node/TablePagination/TablePagination.js +49 -53
- package/node/TablePagination/TablePaginationActions.js +25 -22
- package/node/TableRow/TableRow.js +14 -13
- package/node/TableSortLabel/TableSortLabel.js +23 -23
- package/node/Tabs/ScrollbarSize.js +9 -7
- package/node/Tabs/Tabs.js +92 -107
- package/node/TextField/TextField.js +57 -57
- package/node/ToggleButton/ToggleButton.js +35 -38
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +59 -60
- package/node/Toolbar/Toolbar.js +25 -26
- package/node/Tooltip/Tooltip.js +147 -177
- package/node/Typography/Typography.js +32 -37
- package/node/Zoom/Zoom.js +30 -31
- package/node/index.js +1 -1
- package/node/internal/SwitchBase.js +43 -45
- package/node/styles/CssVarsProvider.js +3 -3
- package/node/styles/ThemeProvider.js +10 -7
- package/node/styles/adaptV4Theme.js +32 -31
- package/node/styles/createMixins.js +5 -4
- package/node/styles/createPalette.js +13 -16
- package/node/styles/createTheme.js +11 -16
- package/node/styles/createTransitions.js +15 -17
- package/node/styles/createTypography.js +30 -31
- package/node/styles/experimental_extendTheme.js +33 -41
- package/node/styles/responsiveFontSizes.js +12 -17
- package/node/usePagination/usePagination.js +21 -18
- package/node/useScrollTrigger/useScrollTrigger.js +11 -8
- package/node/utils/createSvgIcon.js +5 -4
- package/package.json +4 -4
- package/styles/CssVarsProvider.js +3 -3
- package/styles/ThemeProvider.js +10 -7
- package/styles/adaptV4Theme.js +31 -31
- package/styles/createMixins.js +4 -4
- package/styles/createPalette.js +13 -16
- package/styles/createTheme.js +11 -16
- package/styles/createTransitions.js +14 -17
- package/styles/createTypography.js +29 -31
- package/styles/experimental_extendTheme.js +33 -41
- package/styles/responsiveFontSizes.js +11 -17
- package/umd/material-ui.development.js +6066 -7085
- package/umd/material-ui.production.min.js +21 -21
- package/usePagination/usePagination.js +20 -18
- package/useScrollTrigger/useScrollTrigger.js +10 -8
- package/utils/createSvgIcon.js +5 -4
package/node/Button/Button.js
CHANGED
|
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
+
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
9
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
8
10
|
var React = _interopRequireWildcard(require("react"));
|
|
9
11
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
12
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
@@ -18,6 +20,7 @@ var _capitalize = _interopRequireDefault(require("../utils/capitalize"));
|
|
|
18
20
|
var _buttonClasses = _interopRequireWildcard(require("./buttonClasses"));
|
|
19
21
|
var _ButtonGroupContext = _interopRequireDefault(require("../ButtonGroup/ButtonGroupContext"));
|
|
20
22
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
23
|
+
const _excluded = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
|
|
21
24
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
22
25
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
23
26
|
const useUtilityClasses = ownerState => {
|
|
@@ -36,28 +39,20 @@ const useUtilityClasses = ownerState => {
|
|
|
36
39
|
endIcon: ['endIcon', `iconSize${(0, _capitalize.default)(size)}`]
|
|
37
40
|
};
|
|
38
41
|
const composedClasses = (0, _base.unstable_composeClasses)(slots, _buttonClasses.getButtonUtilityClass, classes);
|
|
39
|
-
return {
|
|
40
|
-
...classes,
|
|
41
|
-
// forward the focused, disabled, etc. classes to the ButtonBase
|
|
42
|
-
...composedClasses
|
|
43
|
-
};
|
|
42
|
+
return (0, _extends2.default)({}, classes, composedClasses);
|
|
44
43
|
};
|
|
45
|
-
const commonIconStyles = ownerState => ({
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
'& > *:nth-of-type(1)': {
|
|
58
|
-
fontSize: 22
|
|
59
|
-
}
|
|
60
|
-
})
|
|
44
|
+
const commonIconStyles = ownerState => (0, _extends2.default)({}, ownerState.size === 'small' && {
|
|
45
|
+
'& > *:nth-of-type(1)': {
|
|
46
|
+
fontSize: 18
|
|
47
|
+
}
|
|
48
|
+
}, ownerState.size === 'medium' && {
|
|
49
|
+
'& > *:nth-of-type(1)': {
|
|
50
|
+
fontSize: 20
|
|
51
|
+
}
|
|
52
|
+
}, ownerState.size === 'large' && {
|
|
53
|
+
'& > *:nth-of-type(1)': {
|
|
54
|
+
fontSize: 22
|
|
55
|
+
}
|
|
61
56
|
});
|
|
62
57
|
const ButtonRoot = (0, _styled.default)(_ButtonBase.default, {
|
|
63
58
|
shouldForwardProp: prop => (0, _styled.rootShouldForwardProp)(prop) || prop === 'classes',
|
|
@@ -76,131 +71,106 @@ const ButtonRoot = (0, _styled.default)(_ButtonBase.default, {
|
|
|
76
71
|
var _theme$palette$getCon, _theme$palette;
|
|
77
72
|
const inheritContainedBackgroundColor = theme.palette.mode === 'light' ? theme.palette.grey[300] : theme.palette.grey[800];
|
|
78
73
|
const inheritContainedHoverBackgroundColor = theme.palette.mode === 'light' ? theme.palette.grey.A100 : theme.palette.grey[700];
|
|
79
|
-
return {
|
|
80
|
-
...theme.typography.button,
|
|
74
|
+
return (0, _extends2.default)({}, theme.typography.button, {
|
|
81
75
|
minWidth: 64,
|
|
82
76
|
padding: '6px 16px',
|
|
83
77
|
borderRadius: (theme.vars || theme).shape.borderRadius,
|
|
84
78
|
transition: theme.transitions.create(['background-color', 'box-shadow', 'border-color', 'color'], {
|
|
85
79
|
duration: theme.transitions.duration.short
|
|
86
80
|
}),
|
|
87
|
-
'&:hover': {
|
|
81
|
+
'&:hover': (0, _extends2.default)({
|
|
88
82
|
textDecoration: 'none',
|
|
89
83
|
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / ${theme.vars.palette.action.hoverOpacity})` : (0, _system.alpha)(theme.palette.text.primary, theme.palette.action.hoverOpacity),
|
|
90
84
|
// Reset on touch devices, it doesn't add specificity
|
|
91
85
|
'@media (hover: none)': {
|
|
92
86
|
backgroundColor: 'transparent'
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
backgroundColor: (theme.vars || theme).palette[ownerState.color].
|
|
120
|
-
|
|
121
|
-
'@media (hover: none)': {
|
|
122
|
-
backgroundColor: (theme.vars || theme).palette[ownerState.color].main
|
|
123
|
-
}
|
|
124
|
-
})
|
|
125
|
-
},
|
|
126
|
-
'&:active': {
|
|
127
|
-
...(ownerState.variant === 'contained' && {
|
|
128
|
-
boxShadow: (theme.vars || theme).shadows[8]
|
|
129
|
-
})
|
|
130
|
-
},
|
|
131
|
-
[`&.${_buttonClasses.default.focusVisible}`]: {
|
|
132
|
-
...(ownerState.variant === 'contained' && {
|
|
133
|
-
boxShadow: (theme.vars || theme).shadows[6]
|
|
134
|
-
})
|
|
135
|
-
},
|
|
136
|
-
[`&.${_buttonClasses.default.disabled}`]: {
|
|
137
|
-
color: (theme.vars || theme).palette.action.disabled,
|
|
138
|
-
...(ownerState.variant === 'outlined' && {
|
|
139
|
-
border: `1px solid ${(theme.vars || theme).palette.action.disabledBackground}`
|
|
140
|
-
}),
|
|
141
|
-
...(ownerState.variant === 'contained' && {
|
|
142
|
-
color: (theme.vars || theme).palette.action.disabled,
|
|
143
|
-
boxShadow: (theme.vars || theme).shadows[0],
|
|
144
|
-
backgroundColor: (theme.vars || theme).palette.action.disabledBackground
|
|
145
|
-
})
|
|
146
|
-
},
|
|
147
|
-
...(ownerState.variant === 'text' && {
|
|
148
|
-
padding: '6px 8px'
|
|
149
|
-
}),
|
|
150
|
-
...(ownerState.variant === 'text' && ownerState.color !== 'inherit' && {
|
|
151
|
-
color: (theme.vars || theme).palette[ownerState.color].main
|
|
152
|
-
}),
|
|
153
|
-
...(ownerState.variant === 'outlined' && {
|
|
154
|
-
padding: '5px 15px',
|
|
155
|
-
border: '1px solid currentColor'
|
|
156
|
-
}),
|
|
157
|
-
...(ownerState.variant === 'outlined' && ownerState.color !== 'inherit' && {
|
|
158
|
-
color: (theme.vars || theme).palette[ownerState.color].main,
|
|
159
|
-
border: theme.vars ? `1px solid rgba(${theme.vars.palette[ownerState.color].mainChannel} / 0.5)` : `1px solid ${(0, _system.alpha)(theme.palette[ownerState.color].main, 0.5)}`
|
|
160
|
-
}),
|
|
161
|
-
...(ownerState.variant === 'contained' && {
|
|
162
|
-
color: theme.vars ?
|
|
163
|
-
// this is safe because grey does not change between default light/dark mode
|
|
164
|
-
theme.vars.palette.text.primary : (_theme$palette$getCon = (_theme$palette = theme.palette).getContrastText) == null ? void 0 : _theme$palette$getCon.call(_theme$palette, theme.palette.grey[300]),
|
|
165
|
-
backgroundColor: theme.vars ? theme.vars.palette.Button.inheritContainedBg : inheritContainedBackgroundColor,
|
|
166
|
-
boxShadow: (theme.vars || theme).shadows[2]
|
|
167
|
-
}),
|
|
168
|
-
...(ownerState.variant === 'contained' && ownerState.color !== 'inherit' && {
|
|
169
|
-
color: (theme.vars || theme).palette[ownerState.color].contrastText,
|
|
170
|
-
backgroundColor: (theme.vars || theme).palette[ownerState.color].main
|
|
171
|
-
}),
|
|
172
|
-
...(ownerState.color === 'inherit' && {
|
|
173
|
-
color: 'inherit',
|
|
174
|
-
borderColor: 'currentColor'
|
|
175
|
-
}),
|
|
176
|
-
...(ownerState.size === 'small' && ownerState.variant === 'text' && {
|
|
177
|
-
padding: '4px 5px',
|
|
178
|
-
fontSize: theme.typography.pxToRem(13)
|
|
179
|
-
}),
|
|
180
|
-
...(ownerState.size === 'large' && ownerState.variant === 'text' && {
|
|
181
|
-
padding: '8px 11px',
|
|
182
|
-
fontSize: theme.typography.pxToRem(15)
|
|
183
|
-
}),
|
|
184
|
-
...(ownerState.size === 'small' && ownerState.variant === 'outlined' && {
|
|
185
|
-
padding: '3px 9px',
|
|
186
|
-
fontSize: theme.typography.pxToRem(13)
|
|
187
|
-
}),
|
|
188
|
-
...(ownerState.size === 'large' && ownerState.variant === 'outlined' && {
|
|
189
|
-
padding: '7px 21px',
|
|
190
|
-
fontSize: theme.typography.pxToRem(15)
|
|
87
|
+
}
|
|
88
|
+
}, ownerState.variant === 'text' && ownerState.color !== 'inherit' && {
|
|
89
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : (0, _system.alpha)(theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),
|
|
90
|
+
// Reset on touch devices, it doesn't add specificity
|
|
91
|
+
'@media (hover: none)': {
|
|
92
|
+
backgroundColor: 'transparent'
|
|
93
|
+
}
|
|
94
|
+
}, ownerState.variant === 'outlined' && ownerState.color !== 'inherit' && {
|
|
95
|
+
border: `1px solid ${(theme.vars || theme).palette[ownerState.color].main}`,
|
|
96
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : (0, _system.alpha)(theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),
|
|
97
|
+
// Reset on touch devices, it doesn't add specificity
|
|
98
|
+
'@media (hover: none)': {
|
|
99
|
+
backgroundColor: 'transparent'
|
|
100
|
+
}
|
|
101
|
+
}, ownerState.variant === 'contained' && {
|
|
102
|
+
backgroundColor: theme.vars ? theme.vars.palette.Button.inheritContainedHoverBg : inheritContainedHoverBackgroundColor,
|
|
103
|
+
boxShadow: (theme.vars || theme).shadows[4],
|
|
104
|
+
// Reset on touch devices, it doesn't add specificity
|
|
105
|
+
'@media (hover: none)': {
|
|
106
|
+
boxShadow: (theme.vars || theme).shadows[2],
|
|
107
|
+
backgroundColor: (theme.vars || theme).palette.grey[300]
|
|
108
|
+
}
|
|
109
|
+
}, ownerState.variant === 'contained' && ownerState.color !== 'inherit' && {
|
|
110
|
+
backgroundColor: (theme.vars || theme).palette[ownerState.color].dark,
|
|
111
|
+
// Reset on touch devices, it doesn't add specificity
|
|
112
|
+
'@media (hover: none)': {
|
|
113
|
+
backgroundColor: (theme.vars || theme).palette[ownerState.color].main
|
|
114
|
+
}
|
|
191
115
|
}),
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
fontSize: theme.typography.pxToRem(13)
|
|
116
|
+
'&:active': (0, _extends2.default)({}, ownerState.variant === 'contained' && {
|
|
117
|
+
boxShadow: (theme.vars || theme).shadows[8]
|
|
195
118
|
}),
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
fontSize: theme.typography.pxToRem(15)
|
|
119
|
+
[`&.${_buttonClasses.default.focusVisible}`]: (0, _extends2.default)({}, ownerState.variant === 'contained' && {
|
|
120
|
+
boxShadow: (theme.vars || theme).shadows[6]
|
|
199
121
|
}),
|
|
200
|
-
|
|
201
|
-
|
|
122
|
+
[`&.${_buttonClasses.default.disabled}`]: (0, _extends2.default)({
|
|
123
|
+
color: (theme.vars || theme).palette.action.disabled
|
|
124
|
+
}, ownerState.variant === 'outlined' && {
|
|
125
|
+
border: `1px solid ${(theme.vars || theme).palette.action.disabledBackground}`
|
|
126
|
+
}, ownerState.variant === 'contained' && {
|
|
127
|
+
color: (theme.vars || theme).palette.action.disabled,
|
|
128
|
+
boxShadow: (theme.vars || theme).shadows[0],
|
|
129
|
+
backgroundColor: (theme.vars || theme).palette.action.disabledBackground
|
|
202
130
|
})
|
|
203
|
-
}
|
|
131
|
+
}, ownerState.variant === 'text' && {
|
|
132
|
+
padding: '6px 8px'
|
|
133
|
+
}, ownerState.variant === 'text' && ownerState.color !== 'inherit' && {
|
|
134
|
+
color: (theme.vars || theme).palette[ownerState.color].main
|
|
135
|
+
}, ownerState.variant === 'outlined' && {
|
|
136
|
+
padding: '5px 15px',
|
|
137
|
+
border: '1px solid currentColor'
|
|
138
|
+
}, ownerState.variant === 'outlined' && ownerState.color !== 'inherit' && {
|
|
139
|
+
color: (theme.vars || theme).palette[ownerState.color].main,
|
|
140
|
+
border: theme.vars ? `1px solid rgba(${theme.vars.palette[ownerState.color].mainChannel} / 0.5)` : `1px solid ${(0, _system.alpha)(theme.palette[ownerState.color].main, 0.5)}`
|
|
141
|
+
}, ownerState.variant === 'contained' && {
|
|
142
|
+
color: theme.vars ?
|
|
143
|
+
// this is safe because grey does not change between default light/dark mode
|
|
144
|
+
theme.vars.palette.text.primary : (_theme$palette$getCon = (_theme$palette = theme.palette).getContrastText) == null ? void 0 : _theme$palette$getCon.call(_theme$palette, theme.palette.grey[300]),
|
|
145
|
+
backgroundColor: theme.vars ? theme.vars.palette.Button.inheritContainedBg : inheritContainedBackgroundColor,
|
|
146
|
+
boxShadow: (theme.vars || theme).shadows[2]
|
|
147
|
+
}, ownerState.variant === 'contained' && ownerState.color !== 'inherit' && {
|
|
148
|
+
color: (theme.vars || theme).palette[ownerState.color].contrastText,
|
|
149
|
+
backgroundColor: (theme.vars || theme).palette[ownerState.color].main
|
|
150
|
+
}, ownerState.color === 'inherit' && {
|
|
151
|
+
color: 'inherit',
|
|
152
|
+
borderColor: 'currentColor'
|
|
153
|
+
}, ownerState.size === 'small' && ownerState.variant === 'text' && {
|
|
154
|
+
padding: '4px 5px',
|
|
155
|
+
fontSize: theme.typography.pxToRem(13)
|
|
156
|
+
}, ownerState.size === 'large' && ownerState.variant === 'text' && {
|
|
157
|
+
padding: '8px 11px',
|
|
158
|
+
fontSize: theme.typography.pxToRem(15)
|
|
159
|
+
}, ownerState.size === 'small' && ownerState.variant === 'outlined' && {
|
|
160
|
+
padding: '3px 9px',
|
|
161
|
+
fontSize: theme.typography.pxToRem(13)
|
|
162
|
+
}, ownerState.size === 'large' && ownerState.variant === 'outlined' && {
|
|
163
|
+
padding: '7px 21px',
|
|
164
|
+
fontSize: theme.typography.pxToRem(15)
|
|
165
|
+
}, ownerState.size === 'small' && ownerState.variant === 'contained' && {
|
|
166
|
+
padding: '4px 10px',
|
|
167
|
+
fontSize: theme.typography.pxToRem(13)
|
|
168
|
+
}, ownerState.size === 'large' && ownerState.variant === 'contained' && {
|
|
169
|
+
padding: '8px 22px',
|
|
170
|
+
fontSize: theme.typography.pxToRem(15)
|
|
171
|
+
}, ownerState.fullWidth && {
|
|
172
|
+
width: '100%'
|
|
173
|
+
});
|
|
204
174
|
}, ({
|
|
205
175
|
ownerState
|
|
206
176
|
}) => ownerState.disableElevation && {
|
|
@@ -229,15 +199,13 @@ const ButtonStartIcon = (0, _styled.default)('span', {
|
|
|
229
199
|
}
|
|
230
200
|
})(({
|
|
231
201
|
ownerState
|
|
232
|
-
}) => ({
|
|
202
|
+
}) => (0, _extends2.default)({
|
|
233
203
|
display: 'inherit',
|
|
234
204
|
marginRight: 8,
|
|
235
|
-
marginLeft: -4
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
...commonIconStyles(ownerState)
|
|
240
|
-
}));
|
|
205
|
+
marginLeft: -4
|
|
206
|
+
}, ownerState.size === 'small' && {
|
|
207
|
+
marginLeft: -2
|
|
208
|
+
}, commonIconStyles(ownerState)));
|
|
241
209
|
const ButtonEndIcon = (0, _styled.default)('span', {
|
|
242
210
|
name: 'MuiButton',
|
|
243
211
|
slot: 'EndIcon',
|
|
@@ -249,15 +217,13 @@ const ButtonEndIcon = (0, _styled.default)('span', {
|
|
|
249
217
|
}
|
|
250
218
|
})(({
|
|
251
219
|
ownerState
|
|
252
|
-
}) => ({
|
|
220
|
+
}) => (0, _extends2.default)({
|
|
253
221
|
display: 'inherit',
|
|
254
222
|
marginRight: -4,
|
|
255
|
-
marginLeft: 8
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
...commonIconStyles(ownerState)
|
|
260
|
-
}));
|
|
223
|
+
marginLeft: 8
|
|
224
|
+
}, ownerState.size === 'small' && {
|
|
225
|
+
marginRight: -2
|
|
226
|
+
}, commonIconStyles(ownerState)));
|
|
261
227
|
const Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
|
|
262
228
|
// props priority: `inProps` > `contextProps` > `themeDefaultProps`
|
|
263
229
|
const contextProps = React.useContext(_ButtonGroupContext.default);
|
|
@@ -267,24 +233,23 @@ const Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
|
|
|
267
233
|
name: 'MuiButton'
|
|
268
234
|
});
|
|
269
235
|
const {
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
const ownerState = {
|
|
287
|
-
...props,
|
|
236
|
+
children,
|
|
237
|
+
color = 'primary',
|
|
238
|
+
component = 'button',
|
|
239
|
+
className,
|
|
240
|
+
disabled = false,
|
|
241
|
+
disableElevation = false,
|
|
242
|
+
disableFocusRipple = false,
|
|
243
|
+
endIcon: endIconProp,
|
|
244
|
+
focusVisibleClassName,
|
|
245
|
+
fullWidth = false,
|
|
246
|
+
size = 'medium',
|
|
247
|
+
startIcon: startIconProp,
|
|
248
|
+
type,
|
|
249
|
+
variant = 'text'
|
|
250
|
+
} = props,
|
|
251
|
+
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
252
|
+
const ownerState = (0, _extends2.default)({}, props, {
|
|
288
253
|
color,
|
|
289
254
|
component,
|
|
290
255
|
disabled,
|
|
@@ -294,7 +259,7 @@ const Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
|
|
|
294
259
|
size,
|
|
295
260
|
type,
|
|
296
261
|
variant
|
|
297
|
-
};
|
|
262
|
+
});
|
|
298
263
|
const classes = useUtilityClasses(ownerState);
|
|
299
264
|
const startIcon = startIconProp && /*#__PURE__*/(0, _jsxRuntime.jsx)(ButtonStartIcon, {
|
|
300
265
|
className: classes.startIcon,
|
|
@@ -306,7 +271,7 @@ const Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
|
|
|
306
271
|
ownerState: ownerState,
|
|
307
272
|
children: endIconProp
|
|
308
273
|
});
|
|
309
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(ButtonRoot, {
|
|
274
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(ButtonRoot, (0, _extends2.default)({
|
|
310
275
|
ownerState: ownerState,
|
|
311
276
|
className: (0, _clsx.default)(contextProps.className, classes.root, className),
|
|
312
277
|
component: component,
|
|
@@ -314,11 +279,11 @@ const Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
|
|
|
314
279
|
focusRipple: !disableFocusRipple,
|
|
315
280
|
focusVisibleClassName: (0, _clsx.default)(classes.focusVisible, focusVisibleClassName),
|
|
316
281
|
ref: ref,
|
|
317
|
-
type: type
|
|
318
|
-
|
|
282
|
+
type: type
|
|
283
|
+
}, other, {
|
|
319
284
|
classes: classes,
|
|
320
285
|
children: [startIcon, children, endIcon]
|
|
321
|
-
});
|
|
286
|
+
}));
|
|
322
287
|
});
|
|
323
288
|
process.env.NODE_ENV !== "production" ? Button.propTypes /* remove-proptypes */ = {
|
|
324
289
|
// ----------------------------- Warning --------------------------------
|
|
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = exports.ButtonBaseRoot = void 0;
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
+
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
8
10
|
var React = _interopRequireWildcard(require("react"));
|
|
9
11
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
12
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
@@ -18,6 +20,7 @@ var _useIsFocusVisible = _interopRequireDefault(require("../utils/useIsFocusVisi
|
|
|
18
20
|
var _TouchRipple = _interopRequireDefault(require("./TouchRipple"));
|
|
19
21
|
var _buttonBaseClasses = _interopRequireWildcard(require("./buttonBaseClasses"));
|
|
20
22
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
23
|
+
const _excluded = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"];
|
|
21
24
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
22
25
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
23
26
|
const useUtilityClasses = ownerState => {
|
|
@@ -93,37 +96,36 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
|
|
|
93
96
|
name: 'MuiButtonBase'
|
|
94
97
|
});
|
|
95
98
|
const {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
} = props;
|
|
99
|
+
action,
|
|
100
|
+
centerRipple = false,
|
|
101
|
+
children,
|
|
102
|
+
className,
|
|
103
|
+
component = 'button',
|
|
104
|
+
disabled = false,
|
|
105
|
+
disableRipple = false,
|
|
106
|
+
disableTouchRipple = false,
|
|
107
|
+
focusRipple = false,
|
|
108
|
+
LinkComponent = 'a',
|
|
109
|
+
onBlur,
|
|
110
|
+
onClick,
|
|
111
|
+
onContextMenu,
|
|
112
|
+
onDragLeave,
|
|
113
|
+
onFocus,
|
|
114
|
+
onFocusVisible,
|
|
115
|
+
onKeyDown,
|
|
116
|
+
onKeyUp,
|
|
117
|
+
onMouseDown,
|
|
118
|
+
onMouseLeave,
|
|
119
|
+
onMouseUp,
|
|
120
|
+
onTouchEnd,
|
|
121
|
+
onTouchMove,
|
|
122
|
+
onTouchStart,
|
|
123
|
+
tabIndex = 0,
|
|
124
|
+
TouchRippleProps,
|
|
125
|
+
touchRippleRef,
|
|
126
|
+
type
|
|
127
|
+
} = props,
|
|
128
|
+
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
127
129
|
const buttonRef = React.useRef(null);
|
|
128
130
|
const rippleRef = React.useRef(null);
|
|
129
131
|
const handleRippleRef = (0, _useForkRef.default)(rippleRef, touchRippleRef);
|
|
@@ -280,8 +282,7 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
|
|
|
280
282
|
}
|
|
281
283
|
}, [enableTouchRipple]);
|
|
282
284
|
}
|
|
283
|
-
const ownerState = {
|
|
284
|
-
...props,
|
|
285
|
+
const ownerState = (0, _extends2.default)({}, props, {
|
|
285
286
|
centerRipple,
|
|
286
287
|
component,
|
|
287
288
|
disabled,
|
|
@@ -290,9 +291,9 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
|
|
|
290
291
|
focusRipple,
|
|
291
292
|
tabIndex,
|
|
292
293
|
focusVisible
|
|
293
|
-
};
|
|
294
|
+
});
|
|
294
295
|
const classes = useUtilityClasses(ownerState);
|
|
295
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(ButtonBaseRoot, {
|
|
296
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(ButtonBaseRoot, (0, _extends2.default)({
|
|
296
297
|
as: ComponentProp,
|
|
297
298
|
className: (0, _clsx.default)(classes.root, className),
|
|
298
299
|
ownerState: ownerState,
|
|
@@ -311,18 +312,16 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
|
|
|
311
312
|
onTouchStart: handleTouchStart,
|
|
312
313
|
ref: handleRef,
|
|
313
314
|
tabIndex: disabled ? -1 : tabIndex,
|
|
314
|
-
type: type
|
|
315
|
-
|
|
316
|
-
...other,
|
|
315
|
+
type: type
|
|
316
|
+
}, buttonProps, other, {
|
|
317
317
|
children: [children, enableTouchRipple ?
|
|
318
318
|
/*#__PURE__*/
|
|
319
319
|
/* TouchRipple is only needed client-side, x2 boost on the server. */
|
|
320
|
-
(0, _jsxRuntime.jsx)(_TouchRipple.default, {
|
|
320
|
+
(0, _jsxRuntime.jsx)(_TouchRipple.default, (0, _extends2.default)({
|
|
321
321
|
ref: handleRippleRef,
|
|
322
|
-
center: centerRipple
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
});
|
|
322
|
+
center: centerRipple
|
|
323
|
+
}, TouchRippleProps)) : null]
|
|
324
|
+
}));
|
|
326
325
|
});
|
|
327
326
|
process.env.NODE_ENV !== "production" ? ButtonBase.propTypes /* remove-proptypes */ = {
|
|
328
327
|
// ----------------------------- Warning --------------------------------
|
|
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = exports.TouchRippleRoot = exports.TouchRippleRipple = exports.DELAY_RIPPLE = void 0;
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
+
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
8
10
|
var React = _interopRequireWildcard(require("react"));
|
|
9
11
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
12
|
var _reactTransitionGroup = require("react-transition-group");
|
|
@@ -15,6 +17,7 @@ var _useThemeProps = _interopRequireDefault(require("../styles/useThemeProps"));
|
|
|
15
17
|
var _Ripple = _interopRequireDefault(require("./Ripple"));
|
|
16
18
|
var _touchRippleClasses = _interopRequireDefault(require("./touchRippleClasses"));
|
|
17
19
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
20
|
+
const _excluded = ["center", "classes", "className"];
|
|
18
21
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
19
22
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
20
23
|
const DURATION = 550;
|
|
@@ -139,11 +142,11 @@ const TouchRipple = /*#__PURE__*/React.forwardRef(function TouchRipple(inProps,
|
|
|
139
142
|
name: 'MuiTouchRipple'
|
|
140
143
|
});
|
|
141
144
|
const {
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
145
|
+
center: centerProp = false,
|
|
146
|
+
classes = {},
|
|
147
|
+
className
|
|
148
|
+
} = props,
|
|
149
|
+
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
147
150
|
const [ripples, setRipples] = React.useState([]);
|
|
148
151
|
const nextKey = React.useRef(0);
|
|
149
152
|
const rippleCallback = React.useRef(null);
|
|
@@ -309,16 +312,16 @@ const TouchRipple = /*#__PURE__*/React.forwardRef(function TouchRipple(inProps,
|
|
|
309
312
|
start,
|
|
310
313
|
stop
|
|
311
314
|
}), [pulsate, start, stop]);
|
|
312
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(TouchRippleRoot, {
|
|
315
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(TouchRippleRoot, (0, _extends2.default)({
|
|
313
316
|
className: (0, _clsx.default)(_touchRippleClasses.default.root, classes.root, className),
|
|
314
|
-
ref: container
|
|
315
|
-
|
|
317
|
+
ref: container
|
|
318
|
+
}, other, {
|
|
316
319
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactTransitionGroup.TransitionGroup, {
|
|
317
320
|
component: null,
|
|
318
321
|
exit: true,
|
|
319
322
|
children: ripples
|
|
320
323
|
})
|
|
321
|
-
});
|
|
324
|
+
}));
|
|
322
325
|
});
|
|
323
326
|
process.env.NODE_ENV !== "production" ? TouchRipple.propTypes = {
|
|
324
327
|
/**
|