@vodafone_de/brix-components 3.1.6 → 3.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accordion/Accordion.d.ts +122 -0
- package/Accordion/Accordion.js +334 -0
- package/Accordion/AccordionContext.js +18 -0
- package/Accordion/accordionClasses.d.ts +20 -0
- package/Accordion/accordionClasses.js +15 -0
- package/Accordion/index.d.ts +4 -0
- package/Accordion/index.js +35 -0
- package/AccordionActions/AccordionActions.d.ts +35 -0
- package/AccordionActions/AccordionActions.js +100 -0
- package/AccordionActions/accordionActionsClasses.d.ts +10 -0
- package/AccordionActions/accordionActionsClasses.js +15 -0
- package/AccordionActions/index.d.ts +4 -0
- package/AccordionActions/index.js +35 -0
- package/AccordionDetails/AccordionDetails.d.ts +30 -0
- package/AccordionDetails/AccordionDetails.js +76 -0
- package/AccordionDetails/accordionDetailsClasses.d.ts +8 -0
- package/AccordionDetails/accordionDetailsClasses.js +15 -0
- package/AccordionDetails/index.d.ts +4 -0
- package/AccordionDetails/index.js +35 -0
- package/AccordionSummary/AccordionSummary.d.ts +80 -0
- package/AccordionSummary/AccordionSummary.js +254 -0
- package/AccordionSummary/accordionSummaryClasses.d.ts +25 -0
- package/AccordionSummary/accordionSummaryClasses.js +15 -0
- package/AccordionSummary/index.d.ts +4 -0
- package/AccordionSummary/index.js +35 -0
- package/Alert/Alert.d.ts +178 -0
- package/Alert/Alert.js +390 -0
- package/Alert/alertClasses.d.ts +100 -0
- package/Alert/alertClasses.js +15 -0
- package/Alert/index.d.ts +4 -0
- package/Alert/index.js +35 -0
- package/AlertTitle/AlertTitle.d.ts +31 -0
- package/AlertTitle/AlertTitle.js +82 -0
- package/AlertTitle/alertTitleClasses.d.ts +8 -0
- package/AlertTitle/alertTitleClasses.js +15 -0
- package/AlertTitle/index.d.ts +4 -0
- package/AlertTitle/index.js +35 -0
- package/AppBar/AppBar.d.ts +59 -0
- package/AppBar/AppBar.js +234 -0
- package/AppBar/appBarClasses.d.ts +36 -0
- package/AppBar/appBarClasses.js +15 -0
- package/AppBar/index.d.ts +4 -0
- package/AppBar/index.js +35 -0
- package/Autocomplete/Autocomplete.d.ts +320 -0
- package/Autocomplete/Autocomplete.js +1202 -0
- package/Autocomplete/autocompleteClasses.d.ts +58 -0
- package/Autocomplete/autocompleteClasses.js +15 -0
- package/Autocomplete/index.d.ts +4 -0
- package/Autocomplete/index.js +41 -0
- package/Avatar/Avatar.d.ts +112 -0
- package/Avatar/Avatar.js +325 -0
- package/Avatar/avatarClasses.d.ts +20 -0
- package/Avatar/avatarClasses.js +15 -0
- package/Avatar/index.d.ts +4 -0
- package/Avatar/index.js +35 -0
- package/AvatarGroup/AvatarGroup.d.ts +96 -0
- package/AvatarGroup/AvatarGroup.js +238 -0
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -0
- package/AvatarGroup/avatarGroupClasses.js +15 -0
- package/AvatarGroup/index.d.ts +4 -0
- package/AvatarGroup/index.js +35 -0
- package/Backdrop/Backdrop.d.ts +118 -0
- package/Backdrop/Backdrop.js +212 -0
- package/Backdrop/backdropClasses.d.ts +10 -0
- package/Backdrop/backdropClasses.js +15 -0
- package/Backdrop/index.d.ts +4 -0
- package/Backdrop/index.js +35 -0
- package/Badge/Badge.d.ts +157 -0
- package/Badge/Badge.js +441 -0
- package/Badge/badgeClasses.d.ts +56 -0
- package/Badge/badgeClasses.js +17 -0
- package/Badge/index.d.ts +4 -0
- package/Badge/index.js +35 -0
- package/Badge/useBadge.d.ts +3 -0
- package/Badge/useBadge.js +37 -0
- package/Badge/useBadge.types.d.ts +39 -0
- package/Badge/useBadge.types.js +5 -0
- package/BottomNavigation/BottomNavigation.d.ts +55 -0
- package/BottomNavigation/BottomNavigation.js +129 -0
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -0
- package/BottomNavigation/bottomNavigationClasses.js +15 -0
- package/BottomNavigation/index.d.ts +4 -0
- package/BottomNavigation/index.js +35 -0
- package/BottomNavigationAction/BottomNavigationAction.d.ts +87 -0
- package/BottomNavigationAction/BottomNavigationAction.js +237 -0
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -0
- package/BottomNavigationAction/bottomNavigationActionClasses.js +15 -0
- package/BottomNavigationAction/index.d.ts +4 -0
- package/BottomNavigationAction/index.js +35 -0
- package/Box/Box.d.ts +20 -0
- package/Box/Box.js +41 -0
- package/Box/boxClasses.d.ts +7 -0
- package/Box/boxClasses.js +10 -0
- package/Box/index.d.ts +4 -0
- package/Box/index.js +35 -0
- package/Breadcrumbs/BreadcrumbCollapsed.js +97 -0
- package/Breadcrumbs/Breadcrumbs.d.ts +94 -0
- package/Breadcrumbs/Breadcrumbs.js +245 -0
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -0
- package/Breadcrumbs/breadcrumbsClasses.js +15 -0
- package/Breadcrumbs/index.d.ts +4 -0
- package/Breadcrumbs/index.js +35 -0
- package/Button/Button.d.ts +130 -0
- package/Button/Button.js +693 -0
- package/Button/buttonClasses.d.ts +194 -0
- package/Button/buttonClasses.js +15 -0
- package/Button/index.d.ts +4 -0
- package/Button/index.js +35 -0
- package/ButtonBase/ButtonBase.d.ts +125 -0
- package/ButtonBase/ButtonBase.js +453 -0
- package/ButtonBase/Ripple.js +93 -0
- package/ButtonBase/TouchRipple.d.ts +22 -0
- package/ButtonBase/TouchRipple.js +331 -0
- package/ButtonBase/buttonBaseClasses.d.ts +12 -0
- package/ButtonBase/buttonBaseClasses.js +15 -0
- package/ButtonBase/index.d.ts +6 -0
- package/ButtonBase/index.js +54 -0
- package/ButtonBase/touchRippleClasses.d.ts +20 -0
- package/ButtonBase/touchRippleClasses.js +15 -0
- package/ButtonGroup/ButtonGroup.d.ts +91 -0
- package/ButtonGroup/ButtonGroup.js +397 -0
- package/ButtonGroup/ButtonGroupButtonContext.d.ts +6 -0
- package/ButtonGroup/ButtonGroupButtonContext.js +17 -0
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -0
- package/ButtonGroup/ButtonGroupContext.js +17 -0
- package/ButtonGroup/buttonGroupClasses.d.ts +104 -0
- package/ButtonGroup/buttonGroupClasses.js +15 -0
- package/ButtonGroup/index.d.ts +6 -0
- package/ButtonGroup/index.js +51 -0
- package/Card/Card.d.ts +47 -0
- package/Card/Card.js +90 -0
- package/Card/cardClasses.d.ts +8 -0
- package/Card/cardClasses.js +15 -0
- package/Card/index.d.ts +4 -0
- package/Card/index.js +35 -0
- package/CardActionArea/CardActionArea.d.ts +63 -0
- package/CardActionArea/CardActionArea.js +161 -0
- package/CardActionArea/cardActionAreaClasses.d.ts +12 -0
- package/CardActionArea/cardActionAreaClasses.js +15 -0
- package/CardActionArea/index.d.ts +4 -0
- package/CardActionArea/index.js +35 -0
- package/CardActions/CardActions.d.ts +35 -0
- package/CardActions/CardActions.js +101 -0
- package/CardActions/cardActionsClasses.d.ts +10 -0
- package/CardActions/cardActionsClasses.js +15 -0
- package/CardActions/index.d.ts +4 -0
- package/CardActions/index.js +35 -0
- package/CardContent/CardContent.d.ts +38 -0
- package/CardContent/CardContent.js +86 -0
- package/CardContent/cardContentClasses.d.ts +8 -0
- package/CardContent/cardContentClasses.js +15 -0
- package/CardContent/index.d.ts +4 -0
- package/CardContent/index.js +35 -0
- package/CardHeader/CardHeader.d.ts +157 -0
- package/CardHeader/CardHeader.js +271 -0
- package/CardHeader/cardHeaderClasses.d.ts +18 -0
- package/CardHeader/cardHeaderClasses.js +15 -0
- package/CardHeader/index.d.ts +4 -0
- package/CardHeader/index.js +35 -0
- package/CardMedia/CardMedia.d.ts +51 -0
- package/CardMedia/CardMedia.js +152 -0
- package/CardMedia/cardMediaClasses.d.ts +12 -0
- package/CardMedia/cardMediaClasses.js +15 -0
- package/CardMedia/index.d.ts +4 -0
- package/CardMedia/index.js +35 -0
- package/Checkbox/Checkbox.d.ts +131 -0
- package/Checkbox/Checkbox.js +287 -0
- package/Checkbox/checkboxClasses.d.ts +22 -0
- package/Checkbox/checkboxClasses.js +15 -0
- package/Checkbox/index.d.ts +4 -0
- package/Checkbox/index.js +35 -0
- package/Chip/Chip.d.ts +107 -0
- package/Chip/Chip.js +583 -0
- package/Chip/chipClasses.d.ts +150 -0
- package/Chip/chipClasses.js +15 -0
- package/Chip/index.d.ts +4 -0
- package/Chip/index.js +35 -0
- package/CircularProgress/CircularProgress.d.ts +71 -0
- package/CircularProgress/CircularProgress.js +291 -0
- package/CircularProgress/circularProgressClasses.d.ts +30 -0
- package/CircularProgress/circularProgressClasses.js +15 -0
- package/CircularProgress/index.d.ts +4 -0
- package/CircularProgress/index.js +35 -0
- package/ClickAwayListener/ClickAwayListener.d.ts +47 -0
- package/ClickAwayListener/ClickAwayListener.js +183 -0
- package/ClickAwayListener/index.d.ts +2 -0
- package/ClickAwayListener/index.js +12 -0
- package/Collapse/Collapse.d.ts +71 -0
- package/Collapse/Collapse.js +416 -0
- package/Collapse/collapseClasses.d.ts +18 -0
- package/Collapse/collapseClasses.js +15 -0
- package/Collapse/index.d.ts +4 -0
- package/Collapse/index.js +35 -0
- package/Container/Container.d.ts +55 -0
- package/Container/Container.js +73 -0
- package/Container/containerClasses.d.ts +6 -0
- package/Container/containerClasses.js +15 -0
- package/Container/index.d.ts +4 -0
- package/Container/index.js +35 -0
- package/CssBaseline/CssBaseline.d.ts +28 -0
- package/CssBaseline/CssBaseline.js +170 -0
- package/CssBaseline/index.d.ts +2 -0
- package/CssBaseline/index.js +13 -0
- package/DefaultPropsProvider/DefaultPropsProvider.d.ts +13 -0
- package/DefaultPropsProvider/DefaultPropsProvider.js +37 -0
- package/DefaultPropsProvider/index.d.ts +1 -0
- package/DefaultPropsProvider/index.js +19 -0
- package/Dialog/Dialog.d.ts +184 -0
- package/Dialog/Dialog.js +516 -0
- package/Dialog/DialogContext.d.ts +6 -0
- package/Dialog/DialogContext.js +14 -0
- package/Dialog/dialogClasses.d.ts +40 -0
- package/Dialog/dialogClasses.js +15 -0
- package/Dialog/index.d.ts +4 -0
- package/Dialog/index.js +35 -0
- package/DialogActions/DialogActions.d.ts +35 -0
- package/DialogActions/DialogActions.js +103 -0
- package/DialogActions/dialogActionsClasses.d.ts +10 -0
- package/DialogActions/dialogActionsClasses.js +15 -0
- package/DialogActions/index.d.ts +4 -0
- package/DialogActions/index.js +35 -0
- package/DialogContent/DialogContent.d.ts +35 -0
- package/DialogContent/DialogContent.js +116 -0
- package/DialogContent/dialogContentClasses.d.ts +10 -0
- package/DialogContent/dialogContentClasses.js +15 -0
- package/DialogContent/index.d.ts +4 -0
- package/DialogContent/index.js +35 -0
- package/DialogContentText/DialogContentText.d.ts +37 -0
- package/DialogContentText/DialogContentText.js +83 -0
- package/DialogContentText/dialogContentTextClasses.d.ts +8 -0
- package/DialogContentText/dialogContentTextClasses.js +15 -0
- package/DialogContentText/index.d.ts +4 -0
- package/DialogContentText/index.js +35 -0
- package/DialogTitle/DialogTitle.d.ts +43 -0
- package/DialogTitle/DialogTitle.js +87 -0
- package/DialogTitle/dialogTitleClasses.d.ts +8 -0
- package/DialogTitle/dialogTitleClasses.js +15 -0
- package/DialogTitle/index.d.ts +4 -0
- package/DialogTitle/index.js +35 -0
- package/Divider/Divider.d.ts +74 -0
- package/Divider/Divider.js +321 -0
- package/Divider/dividerClasses.d.ts +38 -0
- package/Divider/dividerClasses.js +15 -0
- package/Divider/index.d.ts +4 -0
- package/Divider/index.js +35 -0
- package/Drawer/Drawer.d.ts +154 -0
- package/Drawer/Drawer.js +443 -0
- package/Drawer/drawerClasses.d.ts +54 -0
- package/Drawer/drawerClasses.js +15 -0
- package/Drawer/index.d.ts +4 -0
- package/Drawer/index.js +35 -0
- package/Fab/Fab.d.ts +82 -0
- package/Fab/Fab.js +278 -0
- package/Fab/fabClasses.d.ts +26 -0
- package/Fab/fabClasses.js +15 -0
- package/Fab/index.d.ts +4 -0
- package/Fab/index.js +35 -0
- package/Fade/Fade.d.ts +48 -0
- package/Fade/Fade.js +217 -0
- package/Fade/index.d.ts +2 -0
- package/Fade/index.js +13 -0
- package/FilledInput/FilledInput.d.ts +42 -0
- package/FilledInput/FilledInput.js +523 -0
- package/FilledInput/filledInputClasses.d.ts +30 -0
- package/FilledInput/filledInputClasses.js +19 -0
- package/FilledInput/index.d.ts +4 -0
- package/FilledInput/index.js +35 -0
- package/FormControl/FormControl.d.ts +120 -0
- package/FormControl/FormControl.js +312 -0
- package/FormControl/FormControlContext.d.ts +17 -0
- package/FormControl/FormControlContext.js +17 -0
- package/FormControl/formControlClasses.d.ts +14 -0
- package/FormControl/formControlClasses.js +15 -0
- package/FormControl/formControlState.js +21 -0
- package/FormControl/index.d.ts +6 -0
- package/FormControl/index.js +43 -0
- package/FormControl/useFormControl.d.ts +2 -0
- package/FormControl/useFormControl.js +14 -0
- package/FormControlLabel/FormControlLabel.d.ts +101 -0
- package/FormControlLabel/FormControlLabel.js +289 -0
- package/FormControlLabel/formControlLabelClasses.d.ts +24 -0
- package/FormControlLabel/formControlLabelClasses.js +15 -0
- package/FormControlLabel/index.d.ts +4 -0
- package/FormControlLabel/index.js +35 -0
- package/FormGroup/FormGroup.d.ts +39 -0
- package/FormGroup/FormGroup.js +115 -0
- package/FormGroup/formGroupClasses.d.ts +12 -0
- package/FormGroup/formGroupClasses.js +15 -0
- package/FormGroup/index.d.ts +4 -0
- package/FormGroup/index.js +35 -0
- package/FormHelperText/FormHelperText.d.ts +71 -0
- package/FormHelperText/FormHelperText.js +193 -0
- package/FormHelperText/formHelperTextClasses.d.ts +22 -0
- package/FormHelperText/formHelperTextClasses.js +15 -0
- package/FormHelperText/index.d.ts +4 -0
- package/FormHelperText/index.js +35 -0
- package/FormLabel/FormLabel.d.ts +78 -0
- package/FormLabel/FormLabel.js +188 -0
- package/FormLabel/formLabelClasses.d.ts +22 -0
- package/FormLabel/formLabelClasses.js +15 -0
- package/FormLabel/index.d.ts +4 -0
- package/FormLabel/index.js +45 -0
- package/GlobalStyles/GlobalStyles.d.ts +20 -0
- package/GlobalStyles/GlobalStyles.js +33 -0
- package/GlobalStyles/index.d.ts +2 -0
- package/GlobalStyles/index.js +13 -0
- package/Grid/Grid.d.ts +111 -0
- package/Grid/Grid.js +144 -0
- package/Grid/gridClasses.d.ts +10 -0
- package/Grid/gridClasses.js +27 -0
- package/Grid/index.d.ts +4 -0
- package/Grid/index.js +45 -0
- package/GridLegacy/GridLegacy.d.ts +160 -0
- package/GridLegacy/GridLegacy.js +601 -0
- package/GridLegacy/GridLegacyContext.js +17 -0
- package/GridLegacy/gridLegacyClasses.d.ts +48 -0
- package/GridLegacy/gridLegacyClasses.js +27 -0
- package/GridLegacy/index.d.ts +4 -0
- package/GridLegacy/index.js +35 -0
- package/Grow/Grow.d.ts +49 -0
- package/Grow/Grow.js +269 -0
- package/Grow/index.d.ts +2 -0
- package/Grow/index.js +13 -0
- package/Icon/Icon.d.ts +62 -0
- package/Icon/Icon.js +192 -0
- package/Icon/iconClasses.d.ts +24 -0
- package/Icon/iconClasses.js +15 -0
- package/Icon/index.d.ts +4 -0
- package/Icon/index.js +35 -0
- package/IconButton/IconButton.d.ts +90 -0
- package/IconButton/IconButton.js +328 -0
- package/IconButton/iconButtonClasses.d.ts +40 -0
- package/IconButton/iconButtonClasses.js +15 -0
- package/IconButton/index.d.ts +4 -0
- package/IconButton/index.js +35 -0
- package/ImageList/ImageList.d.ts +60 -0
- package/ImageList/ImageList.js +157 -0
- package/ImageList/ImageListContext.js +18 -0
- package/ImageList/imageListClasses.d.ts +16 -0
- package/ImageList/imageListClasses.js +15 -0
- package/ImageList/index.d.ts +4 -0
- package/ImageList/index.js +35 -0
- package/ImageListItem/ImageListItem.d.ts +48 -0
- package/ImageListItem/ImageListItem.js +195 -0
- package/ImageListItem/imageListItemClasses.d.ts +18 -0
- package/ImageListItem/imageListItemClasses.js +15 -0
- package/ImageListItem/index.d.ts +4 -0
- package/ImageListItem/index.js +35 -0
- package/ImageListItemBar/ImageListItemBar.d.ts +49 -0
- package/ImageListItemBar/ImageListItemBar.js +258 -0
- package/ImageListItemBar/imageListItemBarClasses.d.ts +42 -0
- package/ImageListItemBar/imageListItemBarClasses.js +15 -0
- package/ImageListItemBar/index.d.ts +4 -0
- package/ImageListItemBar/index.js +35 -0
- package/InitColorSchemeScript/InitColorSchemeScript.d.ts +66 -0
- package/InitColorSchemeScript/InitColorSchemeScript.js +99 -0
- package/InitColorSchemeScript/index.d.ts +1 -0
- package/InitColorSchemeScript/index.js +13 -0
- package/Input/Input.d.ts +35 -0
- package/Input/Input.js +368 -0
- package/Input/index.d.ts +4 -0
- package/Input/index.js +35 -0
- package/Input/inputClasses.d.ts +38 -0
- package/Input/inputClasses.js +19 -0
- package/InputAdornment/InputAdornment.d.ts +59 -0
- package/InputAdornment/InputAdornment.js +193 -0
- package/InputAdornment/index.d.ts +4 -0
- package/InputAdornment/index.js +35 -0
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -0
- package/InputAdornment/inputAdornmentClasses.js +15 -0
- package/InputBase/InputBase.d.ts +247 -0
- package/InputBase/InputBase.js +758 -0
- package/InputBase/index.d.ts +4 -0
- package/InputBase/index.js +35 -0
- package/InputBase/inputBaseClasses.d.ts +55 -0
- package/InputBase/inputBaseClasses.js +15 -0
- package/InputBase/utils.js +38 -0
- package/InputLabel/InputLabel.d.ts +79 -0
- package/InputLabel/InputLabel.js +290 -0
- package/InputLabel/index.d.ts +4 -0
- package/InputLabel/index.js +35 -0
- package/InputLabel/inputLabelClasses.d.ts +32 -0
- package/InputLabel/inputLabelClasses.js +15 -0
- package/LinearProgress/LinearProgress.d.ts +57 -0
- package/LinearProgress/LinearProgress.js +462 -0
- package/LinearProgress/index.d.ts +4 -0
- package/LinearProgress/index.js +35 -0
- package/LinearProgress/linearProgressClasses.d.ts +64 -0
- package/LinearProgress/linearProgressClasses.js +15 -0
- package/Link/Link.d.ts +63 -0
- package/Link/Link.js +290 -0
- package/Link/getTextDecoration.d.ts +11 -0
- package/Link/getTextDecoration.js +22 -0
- package/Link/index.d.ts +4 -0
- package/Link/index.js +35 -0
- package/Link/linkClasses.d.ts +18 -0
- package/Link/linkClasses.js +15 -0
- package/List/List.d.ts +65 -0
- package/List/List.js +141 -0
- package/List/ListContext.d.ts +5 -0
- package/List/ListContext.js +17 -0
- package/List/index.d.ts +4 -0
- package/List/index.js +35 -0
- package/List/listClasses.d.ts +14 -0
- package/List/listClasses.js +15 -0
- package/ListItem/ListItem.d.ts +127 -0
- package/ListItem/ListItem.js +395 -0
- package/ListItem/index.d.ts +4 -0
- package/ListItem/index.js +35 -0
- package/ListItem/listItemClasses.d.ts +22 -0
- package/ListItem/listItemClasses.js +15 -0
- package/ListItemAvatar/ListItemAvatar.d.ts +30 -0
- package/ListItemAvatar/ListItemAvatar.js +98 -0
- package/ListItemAvatar/index.d.ts +4 -0
- package/ListItemAvatar/index.js +35 -0
- package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -0
- package/ListItemAvatar/listItemAvatarClasses.js +15 -0
- package/ListItemButton/ListItemButton.d.ts +85 -0
- package/ListItemButton/ListItemButton.js +272 -0
- package/ListItemButton/index.d.ts +4 -0
- package/ListItemButton/index.js +35 -0
- package/ListItemButton/listItemButtonClasses.d.ts +22 -0
- package/ListItemButton/listItemButtonClasses.js +15 -0
- package/ListItemIcon/ListItemIcon.d.ts +32 -0
- package/ListItemIcon/ListItemIcon.js +104 -0
- package/ListItemIcon/index.d.ts +4 -0
- package/ListItemIcon/index.js +35 -0
- package/ListItemIcon/listItemIconClasses.d.ts +10 -0
- package/ListItemIcon/listItemIconClasses.js +15 -0
- package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +36 -0
- package/ListItemSecondaryAction/ListItemSecondaryAction.js +103 -0
- package/ListItemSecondaryAction/index.d.ts +4 -0
- package/ListItemSecondaryAction/index.js +35 -0
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -0
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.js +15 -0
- package/ListItemText/ListItemText.d.ts +105 -0
- package/ListItemText/ListItemText.js +234 -0
- package/ListItemText/index.d.ts +4 -0
- package/ListItemText/index.js +35 -0
- package/ListItemText/listItemTextClasses.d.ts +18 -0
- package/ListItemText/listItemTextClasses.js +15 -0
- package/ListSubheader/ListSubheader.d.ts +59 -0
- package/ListSubheader/ListSubheader.js +174 -0
- package/ListSubheader/index.d.ts +4 -0
- package/ListSubheader/index.js +35 -0
- package/ListSubheader/listSubheaderClasses.d.ts +18 -0
- package/ListSubheader/listSubheaderClasses.js +15 -0
- package/Menu/Menu.d.ts +162 -0
- package/Menu/Menu.js +345 -0
- package/Menu/index.d.ts +4 -0
- package/Menu/index.js +35 -0
- package/Menu/menuClasses.d.ts +12 -0
- package/Menu/menuClasses.js +15 -0
- package/MenuItem/MenuItem.d.ts +69 -0
- package/MenuItem/MenuItem.js +291 -0
- package/MenuItem/index.d.ts +4 -0
- package/MenuItem/index.js +35 -0
- package/MenuItem/menuItemClasses.d.ts +20 -0
- package/MenuItem/menuItemClasses.js +15 -0
- package/MenuList/MenuList.d.ts +62 -0
- package/MenuList/MenuList.js +297 -0
- package/MenuList/index.d.ts +2 -0
- package/MenuList/index.js +13 -0
- package/MobileStepper/MobileStepper.d.ts +112 -0
- package/MobileStepper/MobileStepper.js +311 -0
- package/MobileStepper/index.d.ts +4 -0
- package/MobileStepper/index.js +35 -0
- package/MobileStepper/mobileStepperClasses.d.ts +22 -0
- package/MobileStepper/mobileStepperClasses.js +15 -0
- package/Modal/Modal.d.ts +218 -0
- package/Modal/Modal.js +397 -0
- package/Modal/ModalManager.d.ts +25 -0
- package/Modal/ModalManager.js +222 -0
- package/Modal/index.d.ts +5 -0
- package/Modal/index.js +43 -0
- package/Modal/modalClasses.d.ts +12 -0
- package/Modal/modalClasses.js +15 -0
- package/Modal/useModal.d.ts +3 -0
- package/Modal/useModal.js +200 -0
- package/Modal/useModal.types.d.ts +118 -0
- package/Modal/useModal.types.js +5 -0
- package/NativeSelect/NativeSelect.d.ts +68 -0
- package/NativeSelect/NativeSelect.js +140 -0
- package/NativeSelect/NativeSelectInput.d.ts +13 -0
- package/NativeSelect/NativeSelectInput.js +247 -0
- package/NativeSelect/index.d.ts +4 -0
- package/NativeSelect/index.js +35 -0
- package/NativeSelect/nativeSelectClasses.d.ts +34 -0
- package/NativeSelect/nativeSelectClasses.js +15 -0
- package/NoSsr/NoSsr.d.ts +25 -0
- package/NoSsr/NoSsr.js +78 -0
- package/NoSsr/NoSsr.types.d.ts +18 -0
- package/NoSsr/NoSsr.types.js +5 -0
- package/NoSsr/index.d.ts +3 -0
- package/NoSsr/index.js +13 -0
- package/OutlinedInput/NotchedOutline.d.ts +12 -0
- package/OutlinedInput/NotchedOutline.js +161 -0
- package/OutlinedInput/OutlinedInput.d.ts +54 -0
- package/OutlinedInput/OutlinedInput.js +436 -0
- package/OutlinedInput/index.d.ts +4 -0
- package/OutlinedInput/index.js +35 -0
- package/OutlinedInput/outlinedInputClasses.d.ts +38 -0
- package/OutlinedInput/outlinedInputClasses.js +19 -0
- package/OverridableComponent/index.d.ts +41 -0
- package/OverridableComponent/index.js +5 -0
- package/Pagination/Pagination.d.ts +79 -0
- package/Pagination/Pagination.js +251 -0
- package/Pagination/index.d.ts +4 -0
- package/Pagination/index.js +35 -0
- package/Pagination/paginationClasses.d.ts +14 -0
- package/Pagination/paginationClasses.js +15 -0
- package/PaginationItem/PaginationItem.d.ts +110 -0
- package/PaginationItem/PaginationItem.js +478 -0
- package/PaginationItem/index.d.ts +4 -0
- package/PaginationItem/index.js +35 -0
- package/PaginationItem/paginationItemClasses.d.ts +54 -0
- package/PaginationItem/paginationItemClasses.js +15 -0
- package/Paper/Paper.d.ts +62 -0
- package/Paper/Paper.js +177 -0
- package/Paper/index.d.ts +4 -0
- package/Paper/index.js +35 -0
- package/Paper/paperClasses.d.ts +64 -0
- package/Paper/paperClasses.js +15 -0
- package/PigmentContainer/PigmentContainer.d.ts +55 -0
- package/PigmentContainer/PigmentContainer.js +107 -0
- package/PigmentContainer/index.d.ts +3 -0
- package/PigmentContainer/index.js +35 -0
- package/PigmentGrid/PigmentGrid.d.ts +83 -0
- package/PigmentGrid/PigmentGrid.js +135 -0
- package/PigmentGrid/index.d.ts +3 -0
- package/PigmentGrid/index.js +35 -0
- package/PigmentStack/PigmentStack.d.ts +49 -0
- package/PigmentStack/PigmentStack.js +90 -0
- package/PigmentStack/index.d.ts +3 -0
- package/PigmentStack/index.js +35 -0
- package/Popover/Popover.d.ts +233 -0
- package/Popover/Popover.js +590 -0
- package/Popover/index.d.ts +4 -0
- package/Popover/index.js +45 -0
- package/Popover/popoverClasses.d.ts +10 -0
- package/Popover/popoverClasses.js +15 -0
- package/Popper/BasePopper.d.ts +7 -0
- package/Popper/BasePopper.js +382 -0
- package/Popper/BasePopper.types.d.ts +129 -0
- package/Popper/BasePopper.types.js +5 -0
- package/Popper/Popper.d.ts +46 -0
- package/Popper/Popper.js +216 -0
- package/Popper/index.d.ts +4 -0
- package/Popper/index.js +26 -0
- package/Popper/popperClasses.d.ts +8 -0
- package/Popper/popperClasses.js +15 -0
- package/Portal/Portal.d.ts +16 -0
- package/Portal/Portal.js +98 -0
- package/Portal/Portal.types.d.ts +23 -0
- package/Portal/Portal.types.js +5 -0
- package/Portal/index.d.ts +3 -0
- package/Portal/index.js +13 -0
- package/Radio/Radio.d.ts +86 -0
- package/Radio/Radio.js +316 -0
- package/Radio/RadioButtonIcon.js +94 -0
- package/Radio/index.d.ts +4 -0
- package/Radio/index.js +35 -0
- package/Radio/radioClasses.d.ts +18 -0
- package/Radio/radioClasses.js +15 -0
- package/RadioGroup/RadioGroup.d.ts +38 -0
- package/RadioGroup/RadioGroup.js +121 -0
- package/RadioGroup/RadioGroupContext.d.ts +11 -0
- package/RadioGroup/RadioGroupContext.js +17 -0
- package/RadioGroup/index.d.ts +5 -0
- package/RadioGroup/index.js +43 -0
- package/RadioGroup/radioGroupClasses.d.ts +6 -0
- package/RadioGroup/radioGroupClasses.js +15 -0
- package/RadioGroup/useRadioGroup.d.ts +3 -0
- package/RadioGroup/useRadioGroup.js +14 -0
- package/Rating/Rating.d.ts +183 -0
- package/Rating/Rating.js +784 -0
- package/Rating/index.d.ts +4 -0
- package/Rating/index.js +35 -0
- package/Rating/ratingClasses.d.ts +40 -0
- package/Rating/ratingClasses.js +15 -0
- package/ScopedCssBaseline/ScopedCssBaseline.d.ts +55 -0
- package/ScopedCssBaseline/ScopedCssBaseline.js +126 -0
- package/ScopedCssBaseline/index.d.ts +4 -0
- package/ScopedCssBaseline/index.js +35 -0
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -0
- package/ScopedCssBaseline/scopedCssBaselineClasses.js +15 -0
- package/Select/Select.d.ts +188 -0
- package/Select/Select.js +306 -0
- package/Select/SelectInput.d.ts +55 -0
- package/Select/SelectInput.js +679 -0
- package/Select/index.d.ts +4 -0
- package/Select/index.js +35 -0
- package/Select/selectClasses.d.ts +42 -0
- package/Select/selectClasses.js +15 -0
- package/Skeleton/Skeleton.d.ts +62 -0
- package/Skeleton/Skeleton.js +276 -0
- package/Skeleton/index.d.ts +4 -0
- package/Skeleton/index.js +35 -0
- package/Skeleton/skeletonClasses.d.ts +26 -0
- package/Skeleton/skeletonClasses.js +15 -0
- package/Slide/Slide.d.ts +63 -0
- package/Slide/Slide.js +345 -0
- package/Slide/index.d.ts +2 -0
- package/Slide/index.js +13 -0
- package/Slider/Slider.d.ts +298 -0
- package/Slider/Slider.js +1097 -0
- package/Slider/SliderValueLabel.d.ts +13 -0
- package/Slider/SliderValueLabel.js +60 -0
- package/Slider/SliderValueLabel.types.d.ts +25 -0
- package/Slider/SliderValueLabel.types.js +5 -0
- package/Slider/index.d.ts +4 -0
- package/Slider/index.js +45 -0
- package/Slider/sliderClasses.d.ts +88 -0
- package/Slider/sliderClasses.js +15 -0
- package/Slider/useSlider.d.ts +4 -0
- package/Slider/useSlider.js +711 -0
- package/Slider/useSlider.types.d.ts +226 -0
- package/Slider/useSlider.types.js +5 -0
- package/Snackbar/Snackbar.d.ts +182 -0
- package/Snackbar/Snackbar.js +437 -0
- package/Snackbar/index.d.ts +4 -0
- package/Snackbar/index.js +35 -0
- package/Snackbar/snackbarClasses.d.ts +20 -0
- package/Snackbar/snackbarClasses.js +15 -0
- package/Snackbar/useSnackbar.d.ts +3 -0
- package/Snackbar/useSnackbar.js +130 -0
- package/Snackbar/useSnackbar.types.d.ts +59 -0
- package/Snackbar/useSnackbar.types.js +5 -0
- package/SnackbarContent/SnackbarContent.d.ts +42 -0
- package/SnackbarContent/SnackbarContent.js +136 -0
- package/SnackbarContent/index.d.ts +4 -0
- package/SnackbarContent/index.js +35 -0
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -0
- package/SnackbarContent/snackbarContentClasses.js +15 -0
- package/SpeedDial/SpeedDial.d.ts +131 -0
- package/SpeedDial/SpeedDial.js +585 -0
- package/SpeedDial/index.d.ts +4 -0
- package/SpeedDial/index.js +35 -0
- package/SpeedDial/speedDialClasses.d.ts +22 -0
- package/SpeedDial/speedDialClasses.js +15 -0
- package/SpeedDialAction/SpeedDialAction.d.ts +117 -0
- package/SpeedDialAction/SpeedDialAction.js +357 -0
- package/SpeedDialAction/index.d.ts +4 -0
- package/SpeedDialAction/index.js +35 -0
- package/SpeedDialAction/speedDialActionClasses.d.ts +20 -0
- package/SpeedDialAction/speedDialActionClasses.js +15 -0
- package/SpeedDialIcon/SpeedDialIcon.d.ts +43 -0
- package/SpeedDialIcon/SpeedDialIcon.js +163 -0
- package/SpeedDialIcon/index.d.ts +4 -0
- package/SpeedDialIcon/index.js +35 -0
- package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -0
- package/SpeedDialIcon/speedDialIconClasses.js +15 -0
- package/Stack/Stack.d.ts +58 -0
- package/Stack/Stack.js +67 -0
- package/Stack/index.d.ts +4 -0
- package/Stack/index.js +20 -0
- package/Stack/stackClasses.d.ts +6 -0
- package/Stack/stackClasses.js +15 -0
- package/Step/Step.d.ts +70 -0
- package/Step/Step.js +183 -0
- package/Step/StepContext.d.ts +20 -0
- package/Step/StepContext.js +26 -0
- package/Step/index.d.ts +6 -0
- package/Step/index.js +54 -0
- package/Step/stepClasses.d.ts +16 -0
- package/Step/stepClasses.js +15 -0
- package/StepButton/StepButton.d.ts +51 -0
- package/StepButton/StepButton.js +140 -0
- package/StepButton/index.d.ts +4 -0
- package/StepButton/index.js +35 -0
- package/StepButton/stepButtonClasses.d.ts +14 -0
- package/StepButton/stepButtonClasses.js +15 -0
- package/StepConnector/StepConnector.d.ts +29 -0
- package/StepConnector/StepConnector.js +159 -0
- package/StepConnector/index.d.ts +4 -0
- package/StepConnector/index.js +35 -0
- package/StepConnector/stepConnectorClasses.d.ts +30 -0
- package/StepConnector/stepConnectorClasses.js +15 -0
- package/StepContent/StepContent.d.ts +75 -0
- package/StepContent/StepContent.js +193 -0
- package/StepContent/index.d.ts +4 -0
- package/StepContent/index.js +35 -0
- package/StepContent/stepContentClasses.d.ts +12 -0
- package/StepContent/stepContentClasses.js +15 -0
- package/StepIcon/StepIcon.d.ts +50 -0
- package/StepIcon/StepIcon.js +166 -0
- package/StepIcon/index.d.ts +4 -0
- package/StepIcon/index.js +35 -0
- package/StepIcon/stepIconClasses.d.ts +16 -0
- package/StepIcon/stepIconClasses.js +15 -0
- package/StepLabel/StepLabel.d.ts +106 -0
- package/StepLabel/StepLabel.js +284 -0
- package/StepLabel/index.d.ts +4 -0
- package/StepLabel/index.js +35 -0
- package/StepLabel/stepLabelClasses.d.ts +28 -0
- package/StepLabel/stepLabelClasses.js +15 -0
- package/Stepper/Stepper.d.ts +71 -0
- package/Stepper/Stepper.js +174 -0
- package/Stepper/StepperContext.d.ts +18 -0
- package/Stepper/StepperContext.js +26 -0
- package/Stepper/index.d.ts +6 -0
- package/Stepper/index.js +54 -0
- package/Stepper/stepperClasses.d.ts +16 -0
- package/Stepper/stepperClasses.js +15 -0
- package/SvgIcon/SvgIcon.d.ts +89 -0
- package/SvgIcon/SvgIcon.js +241 -0
- package/SvgIcon/index.d.ts +4 -0
- package/SvgIcon/index.js +35 -0
- package/SvgIcon/svgIconClasses.d.ts +26 -0
- package/SvgIcon/svgIconClasses.js +15 -0
- package/SwipeableDrawer/SwipeArea.js +111 -0
- package/SwipeableDrawer/SwipeableDrawer.d.ts +106 -0
- package/SwipeableDrawer/SwipeableDrawer.js +668 -0
- package/SwipeableDrawer/index.d.ts +2 -0
- package/SwipeableDrawer/index.js +13 -0
- package/Switch/Switch.d.ts +123 -0
- package/Switch/Switch.js +412 -0
- package/Switch/index.d.ts +4 -0
- package/Switch/index.js +35 -0
- package/Switch/switchClasses.d.ts +32 -0
- package/Switch/switchClasses.js +15 -0
- package/Tab/Tab.d.ts +75 -0
- package/Tab/Tab.js +345 -0
- package/Tab/index.d.ts +4 -0
- package/Tab/index.js +35 -0
- package/Tab/tabClasses.d.ts +30 -0
- package/Tab/tabClasses.js +15 -0
- package/TabScrollButton/TabScrollButton.d.ts +67 -0
- package/TabScrollButton/TabScrollButton.js +179 -0
- package/TabScrollButton/index.d.ts +4 -0
- package/TabScrollButton/index.js +35 -0
- package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -0
- package/TabScrollButton/tabScrollButtonClasses.js +15 -0
- package/Table/Table.d.ts +55 -0
- package/Table/Table.js +143 -0
- package/Table/TableContext.d.ts +7 -0
- package/Table/TableContext.js +17 -0
- package/Table/Tablelvl2Context.d.ts +6 -0
- package/Table/Tablelvl2Context.js +17 -0
- package/Table/index.d.ts +4 -0
- package/Table/index.js +35 -0
- package/Table/tableClasses.d.ts +10 -0
- package/Table/tableClasses.js +15 -0
- package/TableBody/TableBody.d.ts +38 -0
- package/TableBody/TableBody.js +92 -0
- package/TableBody/index.d.ts +4 -0
- package/TableBody/index.js +35 -0
- package/TableBody/tableBodyClasses.d.ts +8 -0
- package/TableBody/tableBodyClasses.js +15 -0
- package/TableCell/TableCell.d.ts +82 -0
- package/TableCell/TableCell.js +277 -0
- package/TableCell/index.d.ts +4 -0
- package/TableCell/index.js +35 -0
- package/TableCell/tableCellClasses.d.ts +32 -0
- package/TableCell/tableCellClasses.js +15 -0
- package/TableContainer/TableContainer.d.ts +38 -0
- package/TableContainer/TableContainer.js +84 -0
- package/TableContainer/index.d.ts +4 -0
- package/TableContainer/index.js +35 -0
- package/TableContainer/tableContainerClasses.d.ts +8 -0
- package/TableContainer/tableContainerClasses.js +15 -0
- package/TableFooter/TableFooter.d.ts +38 -0
- package/TableFooter/TableFooter.js +92 -0
- package/TableFooter/index.d.ts +4 -0
- package/TableFooter/index.js +35 -0
- package/TableFooter/tableFooterClasses.d.ts +8 -0
- package/TableFooter/tableFooterClasses.js +15 -0
- package/TableHead/TableHead.d.ts +38 -0
- package/TableHead/TableHead.js +92 -0
- package/TableHead/index.d.ts +4 -0
- package/TableHead/index.js +35 -0
- package/TableHead/tableHeadClasses.d.ts +8 -0
- package/TableHead/tableHeadClasses.js +15 -0
- package/TablePagination/TablePagination.d.ts +263 -0
- package/TablePagination/TablePagination.js +507 -0
- package/TablePagination/TablePaginationActions.d.ts +94 -0
- package/TablePagination/TablePaginationActions.js +199 -0
- package/TablePagination/index.d.ts +4 -0
- package/TablePagination/index.js +35 -0
- package/TablePagination/tablePaginationClasses.d.ts +28 -0
- package/TablePagination/tablePaginationClasses.js +15 -0
- package/TableRow/TableRow.d.ts +50 -0
- package/TableRow/TableRow.js +134 -0
- package/TableRow/index.d.ts +4 -0
- package/TableRow/index.js +35 -0
- package/TableRow/tableRowClasses.d.ts +16 -0
- package/TableRow/tableRowClasses.js +15 -0
- package/TableSortLabel/TableSortLabel.d.ts +90 -0
- package/TableSortLabel/TableSortLabel.js +219 -0
- package/TableSortLabel/index.d.ts +4 -0
- package/TableSortLabel/index.js +35 -0
- package/TableSortLabel/tableSortLabelClasses.d.ts +24 -0
- package/TableSortLabel/tableSortLabelClasses.js +15 -0
- package/Tabs/ScrollbarSize.js +65 -0
- package/Tabs/Tabs.d.ts +272 -0
- package/Tabs/Tabs.js +962 -0
- package/Tabs/index.d.ts +4 -0
- package/Tabs/index.js +35 -0
- package/Tabs/tabsClasses.d.ts +36 -0
- package/Tabs/tabsClasses.js +15 -0
- package/TextField/TextField.d.ts +342 -0
- package/TextField/TextField.js +463 -0
- package/TextField/index.d.ts +4 -0
- package/TextField/index.js +35 -0
- package/TextField/textFieldClasses.d.ts +8 -0
- package/TextField/textFieldClasses.js +15 -0
- package/TextareaAutosize/TextareaAutosize.d.ts +14 -0
- package/TextareaAutosize/TextareaAutosize.js +263 -0
- package/TextareaAutosize/TextareaAutosize.types.d.ts +13 -0
- package/TextareaAutosize/TextareaAutosize.types.js +5 -0
- package/TextareaAutosize/index.d.ts +3 -0
- package/TextareaAutosize/index.js +13 -0
- package/ToggleButton/ToggleButton.d.ts +95 -0
- package/ToggleButton/ToggleButton.js +275 -0
- package/ToggleButton/index.d.ts +4 -0
- package/ToggleButton/index.js +35 -0
- package/ToggleButton/toggleButtonClasses.d.ts +26 -0
- package/ToggleButton/toggleButtonClasses.js +15 -0
- package/ToggleButtonGroup/ToggleButtonGroup.d.ts +82 -0
- package/ToggleButtonGroup/ToggleButtonGroup.js +288 -0
- package/ToggleButtonGroup/ToggleButtonGroupButtonContext.d.ts +6 -0
- package/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +17 -0
- package/ToggleButtonGroup/ToggleButtonGroupContext.d.ts +16 -0
- package/ToggleButtonGroup/ToggleButtonGroupContext.js +17 -0
- package/ToggleButtonGroup/index.d.ts +4 -0
- package/ToggleButtonGroup/index.js +35 -0
- package/ToggleButtonGroup/isValueSelected.js +17 -0
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +34 -0
- package/ToggleButtonGroup/toggleButtonGroupClasses.js +15 -0
- package/Toolbar/Toolbar.d.ts +51 -0
- package/Toolbar/Toolbar.js +136 -0
- package/Toolbar/index.d.ts +4 -0
- package/Toolbar/index.js +35 -0
- package/Toolbar/toolbarClasses.d.ts +14 -0
- package/Toolbar/toolbarClasses.js +15 -0
- package/Tooltip/Tooltip.d.ts +229 -0
- package/Tooltip/Tooltip.js +905 -0
- package/Tooltip/index.d.ts +4 -0
- package/Tooltip/index.js +35 -0
- package/Tooltip/tooltipClasses.d.ts +30 -0
- package/Tooltip/tooltipClasses.js +15 -0
- package/Typography/Typography.d.ts +99 -0
- package/Typography/Typography.js +275 -0
- package/Typography/index.d.ts +4 -0
- package/Typography/index.js +35 -0
- package/Typography/typographyClasses.d.ts +53 -0
- package/Typography/typographyClasses.js +15 -0
- package/Unstable_TrapFocus/FocusTrap.d.ts +10 -0
- package/Unstable_TrapFocus/FocusTrap.js +340 -0
- package/Unstable_TrapFocus/FocusTrap.types.d.ts +54 -0
- package/Unstable_TrapFocus/FocusTrap.types.js +5 -0
- package/Unstable_TrapFocus/index.d.ts +2 -0
- package/Unstable_TrapFocus/index.js +13 -0
- package/Zoom/Zoom.d.ts +49 -0
- package/Zoom/Zoom.js +217 -0
- package/Zoom/index.d.ts +2 -0
- package/Zoom/index.js +13 -0
- package/className/index.d.ts +1 -0
- package/className/index.js +13 -0
- package/colors/amber.d.ts +62 -0
- package/colors/amber.js +23 -0
- package/colors/blue.d.ts +62 -0
- package/colors/blue.js +23 -0
- package/colors/blueGrey.d.ts +62 -0
- package/colors/blueGrey.js +23 -0
- package/colors/brown.d.ts +62 -0
- package/colors/brown.js +23 -0
- package/colors/common.d.ts +14 -0
- package/colors/common.js +11 -0
- package/colors/cyan.d.ts +62 -0
- package/colors/cyan.js +23 -0
- package/colors/deepOrange.d.ts +62 -0
- package/colors/deepOrange.js +23 -0
- package/colors/deepPurple.d.ts +62 -0
- package/colors/deepPurple.js +23 -0
- package/colors/green.d.ts +62 -0
- package/colors/green.js +23 -0
- package/colors/grey.d.ts +62 -0
- package/colors/grey.js +23 -0
- package/colors/index.d.ts +20 -0
- package/colors/index.js +146 -0
- package/colors/indigo.d.ts +62 -0
- package/colors/indigo.js +23 -0
- package/colors/lightBlue.d.ts +62 -0
- package/colors/lightBlue.js +23 -0
- package/colors/lightGreen.d.ts +62 -0
- package/colors/lightGreen.js +23 -0
- package/colors/lime.d.ts +62 -0
- package/colors/lime.js +23 -0
- package/colors/orange.d.ts +62 -0
- package/colors/orange.js +23 -0
- package/colors/pink.d.ts +62 -0
- package/colors/pink.js +23 -0
- package/colors/purple.d.ts +62 -0
- package/colors/purple.js +23 -0
- package/colors/red.d.ts +62 -0
- package/colors/red.js +23 -0
- package/colors/teal.d.ts +62 -0
- package/colors/teal.js +23 -0
- package/colors/yellow.d.ts +62 -0
- package/colors/yellow.js +23 -0
- package/darkScrollbar/index.d.ts +28 -0
- package/darkScrollbar/index.js +38 -0
- package/generateUtilityClass/index.d.ts +2 -0
- package/generateUtilityClass/index.js +13 -0
- package/generateUtilityClasses/index.d.ts +1 -0
- package/generateUtilityClasses/index.js +13 -0
- package/index.d.ts +324 -0
- package/index.js +2612 -0
- package/internal/SwitchBase.d.ts +108 -0
- package/internal/SwitchBase.js +362 -0
- package/internal/animate.js +45 -0
- package/internal/svg-icons/Add.js +17 -0
- package/internal/svg-icons/ArrowDownward.js +18 -0
- package/internal/svg-icons/ArrowDropDown.js +18 -0
- package/internal/svg-icons/Cancel.js +18 -0
- package/internal/svg-icons/CheckBox.js +18 -0
- package/internal/svg-icons/CheckBoxOutlineBlank.js +18 -0
- package/internal/svg-icons/CheckCircle.js +18 -0
- package/internal/svg-icons/Close.js +20 -0
- package/internal/svg-icons/ErrorOutline.js +18 -0
- package/internal/svg-icons/FirstPage.js +18 -0
- package/internal/svg-icons/IndeterminateCheckBox.js +18 -0
- package/internal/svg-icons/InfoOutlined.js +18 -0
- package/internal/svg-icons/KeyboardArrowLeft.js +18 -0
- package/internal/svg-icons/KeyboardArrowRight.js +18 -0
- package/internal/svg-icons/LastPage.js +18 -0
- package/internal/svg-icons/MoreHoriz.js +18 -0
- package/internal/svg-icons/NavigateBefore.js +18 -0
- package/internal/svg-icons/NavigateNext.js +18 -0
- package/internal/svg-icons/Person.js +18 -0
- package/internal/svg-icons/RadioButtonChecked.js +18 -0
- package/internal/svg-icons/RadioButtonUnchecked.js +18 -0
- package/internal/svg-icons/ReportProblemOutlined.js +18 -0
- package/internal/svg-icons/Star.js +18 -0
- package/internal/svg-icons/StarBorder.js +18 -0
- package/internal/svg-icons/SuccessOutlined.js +18 -0
- package/internal/svg-icons/Warning.js +18 -0
- package/internal/switchBaseClasses.d.ts +12 -0
- package/internal/switchBaseClasses.js +15 -0
- package/locale/index.d.ts +82 -0
- package/locale/index.js +4330 -0
- package/package.json +14 -2
- package/styles/ThemeProvider.d.ts +76 -0
- package/styles/ThemeProvider.js +47 -0
- package/styles/ThemeProviderNoVars.d.ts +10 -0
- package/styles/ThemeProviderNoVars.js +24 -0
- package/styles/ThemeProviderWithVars.d.ts +51 -0
- package/styles/ThemeProviderWithVars.js +101 -0
- package/styles/adaptV4Theme.d.ts +36 -0
- package/styles/adaptV4Theme.js +88 -0
- package/styles/components.d.ts +595 -0
- package/styles/components.js +5 -0
- package/styles/createColorScheme.d.ts +9 -0
- package/styles/createColorScheme.js +50 -0
- package/styles/createGetSelector.d.ts +16 -0
- package/styles/createGetSelector.js +68 -0
- package/styles/createMixins.d.ts +32 -0
- package/styles/createMixins.js +22 -0
- package/styles/createMuiStrictModeTheme.js +14 -0
- package/styles/createPalette.d.ts +125 -0
- package/styles/createPalette.js +311 -0
- package/styles/createStyles.d.ts +1 -0
- package/styles/createStyles.js +16 -0
- package/styles/createTheme.d.ts +14 -0
- package/styles/createTheme.js +105 -0
- package/styles/createThemeNoVars.d.ts +70 -0
- package/styles/createThemeNoVars.js +99 -0
- package/styles/createThemeWithVars.d.ts +350 -0
- package/styles/createThemeWithVars.js +396 -0
- package/styles/createTransitions.d.ts +51 -0
- package/styles/createTransitions.js +96 -0
- package/styles/createTypography.d.ts +28 -0
- package/styles/createTypography.js +99 -0
- package/styles/cssUtils.d.ts +25 -0
- package/styles/cssUtils.js +137 -0
- package/styles/defaultTheme.js +11 -0
- package/styles/excludeVariablesFromRoot.d.ts +5 -0
- package/styles/excludeVariablesFromRoot.js +11 -0
- package/styles/experimental_extendTheme.js +16 -0
- package/styles/getOverlayAlpha.d.ts +1 -0
- package/styles/getOverlayAlpha.js +16 -0
- package/styles/identifier.d.ts +2 -0
- package/styles/identifier.js +7 -0
- package/styles/index.d.ts +49 -0
- package/styles/index.js +348 -0
- package/styles/makeStyles.d.ts +1 -0
- package/styles/makeStyles.js +11 -0
- package/styles/overrides.d.ts +244 -0
- package/styles/overrides.js +5 -0
- package/styles/props.d.ts +241 -0
- package/styles/props.js +5 -0
- package/styles/responsiveFontSizes.d.ts +11 -0
- package/styles/responsiveFontSizes.js +74 -0
- package/styles/rootShouldForwardProp.d.ts +2 -0
- package/styles/rootShouldForwardProp.js +10 -0
- package/styles/shadows.d.ts +3 -0
- package/styles/shadows.js +16 -0
- package/styles/shouldSkipGeneratingVar.d.ts +1 -0
- package/styles/shouldSkipGeneratingVar.js +11 -0
- package/styles/slotShouldForwardProp.d.ts +2 -0
- package/styles/slotShouldForwardProp.js +11 -0
- package/styles/stringifyTheme.d.ts +20 -0
- package/styles/stringifyTheme.js +61 -0
- package/styles/styled.d.ts +13 -0
- package/styles/styled.js +31 -0
- package/styles/useTheme.d.ts +2 -0
- package/styles/useTheme.js +22 -0
- package/styles/useThemeProps.d.ts +42 -0
- package/styles/useThemeProps.js +22 -0
- package/styles/variants.d.ts +10 -0
- package/styles/variants.js +5 -0
- package/styles/withStyles.d.ts +1 -0
- package/styles/withStyles.js +11 -0
- package/styles/withTheme.d.ts +1 -0
- package/styles/withTheme.js +11 -0
- package/styles/zIndex.d.ts +13 -0
- package/styles/zIndex.js +19 -0
- package/themeCssVarsAugmentation/index.d.ts +10 -0
- package/transitions/index.d.ts +1 -0
- package/transitions/index.js +16 -0
- package/transitions/transition.d.ts +12 -0
- package/transitions/transition.js +5 -0
- package/transitions/utils.d.ts +23 -0
- package/transitions/utils.js +21 -0
- package/types/OverridableComponentAugmentation.d.ts +31 -0
- package/types/OverridableComponentAugmentation.js +5 -0
- package/useAutocomplete/index.d.ts +2 -0
- package/useAutocomplete/index.js +19 -0
- package/useAutocomplete/useAutocomplete.d.ts +420 -0
- package/useAutocomplete/useAutocomplete.js +1030 -0
- package/useLazyRipple/index.d.ts +1 -0
- package/useLazyRipple/index.js +14 -0
- package/useLazyRipple/useLazyRipple.d.ts +32 -0
- package/useLazyRipple/useLazyRipple.js +94 -0
- package/useMediaQuery/index.d.ts +7 -0
- package/useMediaQuery/index.js +13 -0
- package/usePagination/index.d.ts +2 -0
- package/usePagination/index.js +13 -0
- package/usePagination/usePagination.d.ts +74 -0
- package/usePagination/usePagination.js +119 -0
- package/useScrollTrigger/index.d.ts +1 -0
- package/useScrollTrigger/index.js +13 -0
- package/useScrollTrigger/useScrollTrigger.d.ts +6 -0
- package/useScrollTrigger/useScrollTrigger.js +61 -0
- package/utils/PolymorphicComponent.d.ts +17 -0
- package/utils/PolymorphicComponent.js +5 -0
- package/utils/areArraysEqual.d.ts +3 -0
- package/utils/areArraysEqual.js +10 -0
- package/utils/capitalize.d.ts +2 -0
- package/utils/capitalize.js +9 -0
- package/utils/createChainedFunction.d.ts +2 -0
- package/utils/createChainedFunction.js +9 -0
- package/utils/createSimplePaletteValueFilter.d.ts +12 -0
- package/utils/createSimplePaletteValueFilter.js +47 -0
- package/utils/createSvgIcon.d.ts +2 -0
- package/utils/createSvgIcon.js +31 -0
- package/utils/debounce.d.ts +2 -0
- package/utils/debounce.js +9 -0
- package/utils/deprecatedPropType.d.ts +2 -0
- package/utils/deprecatedPropType.js +9 -0
- package/utils/getScrollbarSize.d.ts +2 -0
- package/utils/getScrollbarSize.js +9 -0
- package/utils/index.d.ts +20 -0
- package/utils/index.js +145 -0
- package/utils/isHostComponent.d.ts +6 -0
- package/utils/isHostComponent.js +13 -0
- package/utils/isMuiElement.d.ts +2 -0
- package/utils/isMuiElement.js +9 -0
- package/utils/memoTheme.d.ts +7 -0
- package/utils/memoTheme.js +9 -0
- package/utils/mergeSlotProps.d.ts +2 -0
- package/utils/mergeSlotProps.js +81 -0
- package/utils/omitEventHandlers.d.ts +9 -0
- package/utils/omitEventHandlers.js +24 -0
- package/utils/ownerDocument.d.ts +2 -0
- package/utils/ownerDocument.js +9 -0
- package/utils/ownerWindow.d.ts +2 -0
- package/utils/ownerWindow.js +9 -0
- package/utils/requirePropFactory.d.ts +2 -0
- package/utils/requirePropFactory.js +9 -0
- package/utils/setRef.d.ts +2 -0
- package/utils/setRef.js +9 -0
- package/utils/shouldSpreadAdditionalProps.js +12 -0
- package/utils/types.d.ts +26 -0
- package/utils/types.js +5 -0
- package/utils/unsupportedProp.d.ts +2 -0
- package/utils/unsupportedProp.js +9 -0
- package/utils/useControlled.d.ts +2 -0
- package/utils/useControlled.js +10 -0
- package/utils/useEnhancedEffect.d.ts +2 -0
- package/utils/useEnhancedEffect.js +10 -0
- package/utils/useEventCallback.d.ts +2 -0
- package/utils/useEventCallback.js +10 -0
- package/utils/useForkRef.d.ts +2 -0
- package/utils/useForkRef.js +10 -0
- package/utils/useId.d.ts +2 -0
- package/utils/useId.js +10 -0
- package/utils/useSlot.d.ts +81 -0
- package/utils/useSlot.js +86 -0
- package/version/index.d.ts +6 -0
- package/version/index.js +12 -0
- package/zero-styled/index.d.ts +12 -0
- package/zero-styled/index.js +59 -0
package/Alert/Alert.d.ts
ADDED
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { OverridableStringUnion } from '@mui/types';
|
|
3
|
+
import { SxProps } from '@mui/system';
|
|
4
|
+
import { IconButtonProps, InternalStandardProps as StandardProps, SvgIconProps, Theme } from "../index.js";
|
|
5
|
+
import { PaperProps } from "../Paper/index.js";
|
|
6
|
+
import { AlertClasses } from "./alertClasses.js";
|
|
7
|
+
import { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
|
|
8
|
+
export type AlertColor = 'success' | 'info' | 'warning' | 'error';
|
|
9
|
+
export interface AlertPropsVariantOverrides {}
|
|
10
|
+
export interface AlertPropsColorOverrides {}
|
|
11
|
+
export interface AlertRootSlotPropsOverrides {}
|
|
12
|
+
export interface AlertIconSlotPropsOverrides {}
|
|
13
|
+
export interface AlertMessageSlotPropsOverrides {}
|
|
14
|
+
export interface AlertActionSlotPropsOverrides {}
|
|
15
|
+
export interface AlertCloseButtonSlotPropsOverrides {}
|
|
16
|
+
export interface AlertCloseIconSlotPropsOverrides {}
|
|
17
|
+
export interface AlertSlots {
|
|
18
|
+
/**
|
|
19
|
+
* The component that renders the root slot.
|
|
20
|
+
* @default Paper
|
|
21
|
+
*/
|
|
22
|
+
root: React.ElementType;
|
|
23
|
+
/**
|
|
24
|
+
* The component that renders the icon slot.
|
|
25
|
+
* @default div
|
|
26
|
+
*/
|
|
27
|
+
icon: React.ElementType;
|
|
28
|
+
/**
|
|
29
|
+
* The component that renders the message slot.
|
|
30
|
+
* @default div
|
|
31
|
+
*/
|
|
32
|
+
message: React.ElementType;
|
|
33
|
+
/**
|
|
34
|
+
* The component that renders the action slot.
|
|
35
|
+
* @default div
|
|
36
|
+
*/
|
|
37
|
+
action: React.ElementType;
|
|
38
|
+
/**
|
|
39
|
+
* The component that renders the close button.
|
|
40
|
+
* @default IconButton
|
|
41
|
+
*/
|
|
42
|
+
closeButton: React.ElementType;
|
|
43
|
+
/**
|
|
44
|
+
* The component that renders the close icon.
|
|
45
|
+
* @default svg
|
|
46
|
+
*/
|
|
47
|
+
closeIcon: React.ElementType;
|
|
48
|
+
}
|
|
49
|
+
export type AlertSlotsAndSlotProps = CreateSlotsAndSlotProps<AlertSlots, {
|
|
50
|
+
/**
|
|
51
|
+
* Props forwarded to the root slot.
|
|
52
|
+
* By default, the avaible props are based on the [Paper](https://mui.com/material-ui/api/paper/#props) component.
|
|
53
|
+
*/
|
|
54
|
+
root: SlotProps<React.ElementType<PaperProps>, AlertRootSlotPropsOverrides, AlertOwnerState>;
|
|
55
|
+
/**
|
|
56
|
+
* Props forwarded to the icon slot.
|
|
57
|
+
* By default, the avaible props are based on a div element.
|
|
58
|
+
*/
|
|
59
|
+
icon: SlotProps<'div', AlertIconSlotPropsOverrides, AlertOwnerState>;
|
|
60
|
+
/**
|
|
61
|
+
* Props forwarded to the message slot.
|
|
62
|
+
* By default, the avaible props are based on a div element.
|
|
63
|
+
*/
|
|
64
|
+
message: SlotProps<'div', AlertMessageSlotPropsOverrides, AlertOwnerState>;
|
|
65
|
+
/**
|
|
66
|
+
* Props forwarded to the action slot.
|
|
67
|
+
* By default, the avaible props are based on a div element.
|
|
68
|
+
*/
|
|
69
|
+
action: SlotProps<'div', AlertActionSlotPropsOverrides, AlertOwnerState>;
|
|
70
|
+
/**
|
|
71
|
+
* Props forwarded to the closeButton slot.
|
|
72
|
+
* By default, the avaible props are based on the [IconButton](https://mui.com/material-ui/api/icon-button/#props) component.
|
|
73
|
+
*/
|
|
74
|
+
closeButton: SlotProps<React.ElementType<IconButtonProps>, AlertCloseButtonSlotPropsOverrides, AlertOwnerState>;
|
|
75
|
+
/**
|
|
76
|
+
* Props forwarded to the closeIcon slot.
|
|
77
|
+
* By default, the avaible props are based on the [SvgIcon](https://mui.com/material-ui/api/svg-icon/#props) component.
|
|
78
|
+
*/
|
|
79
|
+
closeIcon: SlotProps<React.ElementType<SvgIconProps>, AlertCloseIconSlotPropsOverrides, AlertOwnerState>;
|
|
80
|
+
}>;
|
|
81
|
+
export interface AlertProps extends StandardProps<PaperProps, 'variant'>, AlertSlotsAndSlotProps {
|
|
82
|
+
/**
|
|
83
|
+
* The action to display. It renders after the message, at the end of the alert.
|
|
84
|
+
*/
|
|
85
|
+
action?: React.ReactNode;
|
|
86
|
+
/**
|
|
87
|
+
* Override or extend the styles applied to the component.
|
|
88
|
+
*/
|
|
89
|
+
classes?: Partial<AlertClasses>;
|
|
90
|
+
/**
|
|
91
|
+
* Override the default label for the *close popup* icon button.
|
|
92
|
+
*
|
|
93
|
+
* For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).
|
|
94
|
+
* @default 'Close'
|
|
95
|
+
*/
|
|
96
|
+
closeText?: string;
|
|
97
|
+
/**
|
|
98
|
+
* The color of the component. Unless provided, the value is taken from the `severity` prop.
|
|
99
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
100
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
101
|
+
*/
|
|
102
|
+
color?: OverridableStringUnion<AlertColor, AlertPropsColorOverrides>;
|
|
103
|
+
/**
|
|
104
|
+
* The components used for each slot inside.
|
|
105
|
+
*
|
|
106
|
+
* @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
107
|
+
*
|
|
108
|
+
* @default {}
|
|
109
|
+
*/
|
|
110
|
+
components?: {
|
|
111
|
+
CloseButton?: React.ElementType;
|
|
112
|
+
CloseIcon?: React.ElementType;
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* The extra props for the slot components.
|
|
116
|
+
* You can override the existing props or add new ones.
|
|
117
|
+
*
|
|
118
|
+
* @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
119
|
+
*
|
|
120
|
+
* @default {}
|
|
121
|
+
*/
|
|
122
|
+
componentsProps?: {
|
|
123
|
+
closeButton?: IconButtonProps;
|
|
124
|
+
closeIcon?: SvgIconProps;
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* The severity of the alert. This defines the color and icon used.
|
|
128
|
+
* @default 'success'
|
|
129
|
+
*/
|
|
130
|
+
severity?: OverridableStringUnion<AlertColor, AlertPropsColorOverrides>;
|
|
131
|
+
/**
|
|
132
|
+
* Override the icon displayed before the children.
|
|
133
|
+
* Unless provided, the icon is mapped to the value of the `severity` prop.
|
|
134
|
+
* Set to `false` to remove the `icon`.
|
|
135
|
+
*/
|
|
136
|
+
icon?: React.ReactNode;
|
|
137
|
+
/**
|
|
138
|
+
* The ARIA role attribute of the element.
|
|
139
|
+
* @default 'alert'
|
|
140
|
+
*/
|
|
141
|
+
role?: string;
|
|
142
|
+
/**
|
|
143
|
+
* The component maps the `severity` prop to a range of different icons,
|
|
144
|
+
* for instance success to `<SuccessOutlined>`.
|
|
145
|
+
* If you wish to change this mapping, you can provide your own.
|
|
146
|
+
* Alternatively, you can use the `icon` prop to override the icon displayed.
|
|
147
|
+
*/
|
|
148
|
+
iconMapping?: Partial<Record<OverridableStringUnion<AlertColor, AlertPropsColorOverrides>, React.ReactNode>>;
|
|
149
|
+
/**
|
|
150
|
+
* Callback fired when the component requests to be closed.
|
|
151
|
+
* When provided and no `action` prop is set, a close icon button is displayed that triggers the callback when clicked.
|
|
152
|
+
* @param {React.SyntheticEvent} event The event source of the callback.
|
|
153
|
+
*/
|
|
154
|
+
onClose?: (event: React.SyntheticEvent) => void;
|
|
155
|
+
/**
|
|
156
|
+
* The variant to use.
|
|
157
|
+
* @default 'standard'
|
|
158
|
+
*/
|
|
159
|
+
variant?: OverridableStringUnion<'standard' | 'filled' | 'outlined', AlertPropsVariantOverrides>;
|
|
160
|
+
/**
|
|
161
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
162
|
+
*/
|
|
163
|
+
sx?: SxProps<Theme>;
|
|
164
|
+
}
|
|
165
|
+
export interface AlertOwnerState extends AlertProps {}
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
*
|
|
169
|
+
* Demos:
|
|
170
|
+
*
|
|
171
|
+
* - [Alert](https://mui.com/material-ui/react-alert/)
|
|
172
|
+
*
|
|
173
|
+
* API:
|
|
174
|
+
*
|
|
175
|
+
* - [Alert API](https://mui.com/material-ui/api/alert/)
|
|
176
|
+
* - inherits [Paper API](https://mui.com/material-ui/api/paper/)
|
|
177
|
+
*/
|
|
178
|
+
export default function Alert(props: AlertProps): React.JSX.Element;
|
package/Alert/Alert.js
ADDED
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
'use client';
|
|
3
|
+
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
5
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
6
|
+
Object.defineProperty(exports, "__esModule", {
|
|
7
|
+
value: true
|
|
8
|
+
});
|
|
9
|
+
exports.default = void 0;
|
|
10
|
+
var React = _interopRequireWildcard(require("react"));
|
|
11
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
12
|
+
var _clsx = _interopRequireDefault(require("clsx"));
|
|
13
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
14
|
+
var _colorManipulator = require("@mui/system/colorManipulator");
|
|
15
|
+
var _zeroStyled = require("../zero-styled");
|
|
16
|
+
var _memoTheme = _interopRequireDefault(require("../utils/memoTheme"));
|
|
17
|
+
var _DefaultPropsProvider = require("../DefaultPropsProvider");
|
|
18
|
+
var _useSlot = _interopRequireDefault(require("../utils/useSlot"));
|
|
19
|
+
var _capitalize = _interopRequireDefault(require("../utils/capitalize"));
|
|
20
|
+
var _createSimplePaletteValueFilter = _interopRequireDefault(require("../utils/createSimplePaletteValueFilter"));
|
|
21
|
+
var _Paper = _interopRequireDefault(require("../Paper"));
|
|
22
|
+
var _alertClasses = _interopRequireWildcard(require("./alertClasses"));
|
|
23
|
+
var _IconButton = _interopRequireDefault(require("../IconButton"));
|
|
24
|
+
var _SuccessOutlined = _interopRequireDefault(require("../internal/svg-icons/SuccessOutlined"));
|
|
25
|
+
var _ReportProblemOutlined = _interopRequireDefault(require("../internal/svg-icons/ReportProblemOutlined"));
|
|
26
|
+
var _ErrorOutline = _interopRequireDefault(require("../internal/svg-icons/ErrorOutline"));
|
|
27
|
+
var _InfoOutlined = _interopRequireDefault(require("../internal/svg-icons/InfoOutlined"));
|
|
28
|
+
var _Close = _interopRequireDefault(require("../internal/svg-icons/Close"));
|
|
29
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
30
|
+
const useUtilityClasses = ownerState => {
|
|
31
|
+
const {
|
|
32
|
+
variant,
|
|
33
|
+
color,
|
|
34
|
+
severity,
|
|
35
|
+
classes
|
|
36
|
+
} = ownerState;
|
|
37
|
+
const slots = {
|
|
38
|
+
root: ['root', `color${(0, _capitalize.default)(color || severity)}`, `${variant}${(0, _capitalize.default)(color || severity)}`, `${variant}`],
|
|
39
|
+
icon: ['icon'],
|
|
40
|
+
message: ['message'],
|
|
41
|
+
action: ['action']
|
|
42
|
+
};
|
|
43
|
+
return (0, _composeClasses.default)(slots, _alertClasses.getAlertUtilityClass, classes);
|
|
44
|
+
};
|
|
45
|
+
const AlertRoot = (0, _zeroStyled.styled)(_Paper.default, {
|
|
46
|
+
name: 'MuiAlert',
|
|
47
|
+
slot: 'Root',
|
|
48
|
+
overridesResolver: (props, styles) => {
|
|
49
|
+
const {
|
|
50
|
+
ownerState
|
|
51
|
+
} = props;
|
|
52
|
+
return [styles.root, styles[ownerState.variant], styles[`${ownerState.variant}${(0, _capitalize.default)(ownerState.color || ownerState.severity)}`]];
|
|
53
|
+
}
|
|
54
|
+
})((0, _memoTheme.default)(({
|
|
55
|
+
theme
|
|
56
|
+
}) => {
|
|
57
|
+
const getColor = theme.palette.mode === 'light' ? _colorManipulator.darken : _colorManipulator.lighten;
|
|
58
|
+
const getBackgroundColor = theme.palette.mode === 'light' ? _colorManipulator.lighten : _colorManipulator.darken;
|
|
59
|
+
return {
|
|
60
|
+
...theme.typography.body2,
|
|
61
|
+
backgroundColor: 'transparent',
|
|
62
|
+
display: 'flex',
|
|
63
|
+
padding: '6px 16px',
|
|
64
|
+
variants: [...Object.entries(theme.palette).filter((0, _createSimplePaletteValueFilter.default)(['light'])).map(([color]) => ({
|
|
65
|
+
props: {
|
|
66
|
+
colorSeverity: color,
|
|
67
|
+
variant: 'standard'
|
|
68
|
+
},
|
|
69
|
+
style: {
|
|
70
|
+
color: theme.vars ? theme.vars.palette.Alert[`${color}Color`] : getColor(theme.palette[color].light, 0.6),
|
|
71
|
+
backgroundColor: theme.vars ? theme.vars.palette.Alert[`${color}StandardBg`] : getBackgroundColor(theme.palette[color].light, 0.9),
|
|
72
|
+
[`& .${_alertClasses.default.icon}`]: theme.vars ? {
|
|
73
|
+
color: theme.vars.palette.Alert[`${color}IconColor`]
|
|
74
|
+
} : {
|
|
75
|
+
color: theme.palette[color].main
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
})), ...Object.entries(theme.palette).filter((0, _createSimplePaletteValueFilter.default)(['light'])).map(([color]) => ({
|
|
79
|
+
props: {
|
|
80
|
+
colorSeverity: color,
|
|
81
|
+
variant: 'outlined'
|
|
82
|
+
},
|
|
83
|
+
style: {
|
|
84
|
+
color: theme.vars ? theme.vars.palette.Alert[`${color}Color`] : getColor(theme.palette[color].light, 0.6),
|
|
85
|
+
border: `1px solid ${(theme.vars || theme).palette[color].light}`,
|
|
86
|
+
[`& .${_alertClasses.default.icon}`]: theme.vars ? {
|
|
87
|
+
color: theme.vars.palette.Alert[`${color}IconColor`]
|
|
88
|
+
} : {
|
|
89
|
+
color: theme.palette[color].main
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
})), ...Object.entries(theme.palette).filter((0, _createSimplePaletteValueFilter.default)(['dark'])).map(([color]) => ({
|
|
93
|
+
props: {
|
|
94
|
+
colorSeverity: color,
|
|
95
|
+
variant: 'filled'
|
|
96
|
+
},
|
|
97
|
+
style: {
|
|
98
|
+
fontWeight: theme.typography.fontWeightMedium,
|
|
99
|
+
...(theme.vars ? {
|
|
100
|
+
color: theme.vars.palette.Alert[`${color}FilledColor`],
|
|
101
|
+
backgroundColor: theme.vars.palette.Alert[`${color}FilledBg`]
|
|
102
|
+
} : {
|
|
103
|
+
backgroundColor: theme.palette.mode === 'dark' ? theme.palette[color].dark : theme.palette[color].main,
|
|
104
|
+
color: theme.palette.getContrastText(theme.palette[color].main)
|
|
105
|
+
})
|
|
106
|
+
}
|
|
107
|
+
}))]
|
|
108
|
+
};
|
|
109
|
+
}));
|
|
110
|
+
const AlertIcon = (0, _zeroStyled.styled)('div', {
|
|
111
|
+
name: 'MuiAlert',
|
|
112
|
+
slot: 'Icon'
|
|
113
|
+
})({
|
|
114
|
+
marginRight: 12,
|
|
115
|
+
padding: '7px 0',
|
|
116
|
+
display: 'flex',
|
|
117
|
+
fontSize: 22,
|
|
118
|
+
opacity: 0.9
|
|
119
|
+
});
|
|
120
|
+
const AlertMessage = (0, _zeroStyled.styled)('div', {
|
|
121
|
+
name: 'MuiAlert',
|
|
122
|
+
slot: 'Message'
|
|
123
|
+
})({
|
|
124
|
+
padding: '8px 0',
|
|
125
|
+
minWidth: 0,
|
|
126
|
+
overflow: 'auto'
|
|
127
|
+
});
|
|
128
|
+
const AlertAction = (0, _zeroStyled.styled)('div', {
|
|
129
|
+
name: 'MuiAlert',
|
|
130
|
+
slot: 'Action'
|
|
131
|
+
})({
|
|
132
|
+
display: 'flex',
|
|
133
|
+
alignItems: 'flex-start',
|
|
134
|
+
padding: '4px 0 0 16px',
|
|
135
|
+
marginLeft: 'auto',
|
|
136
|
+
marginRight: -8
|
|
137
|
+
});
|
|
138
|
+
const defaultIconMapping = {
|
|
139
|
+
success: /*#__PURE__*/(0, _jsxRuntime.jsx)(_SuccessOutlined.default, {
|
|
140
|
+
fontSize: "inherit"
|
|
141
|
+
}),
|
|
142
|
+
warning: /*#__PURE__*/(0, _jsxRuntime.jsx)(_ReportProblemOutlined.default, {
|
|
143
|
+
fontSize: "inherit"
|
|
144
|
+
}),
|
|
145
|
+
error: /*#__PURE__*/(0, _jsxRuntime.jsx)(_ErrorOutline.default, {
|
|
146
|
+
fontSize: "inherit"
|
|
147
|
+
}),
|
|
148
|
+
info: /*#__PURE__*/(0, _jsxRuntime.jsx)(_InfoOutlined.default, {
|
|
149
|
+
fontSize: "inherit"
|
|
150
|
+
})
|
|
151
|
+
};
|
|
152
|
+
const Alert = /*#__PURE__*/React.forwardRef(function Alert(inProps, ref) {
|
|
153
|
+
const props = (0, _DefaultPropsProvider.useDefaultProps)({
|
|
154
|
+
props: inProps,
|
|
155
|
+
name: 'MuiAlert'
|
|
156
|
+
});
|
|
157
|
+
const {
|
|
158
|
+
action,
|
|
159
|
+
children,
|
|
160
|
+
className,
|
|
161
|
+
closeText = 'Close',
|
|
162
|
+
color,
|
|
163
|
+
components = {},
|
|
164
|
+
componentsProps = {},
|
|
165
|
+
icon,
|
|
166
|
+
iconMapping = defaultIconMapping,
|
|
167
|
+
onClose,
|
|
168
|
+
role = 'alert',
|
|
169
|
+
severity = 'success',
|
|
170
|
+
slotProps = {},
|
|
171
|
+
slots = {},
|
|
172
|
+
variant = 'standard',
|
|
173
|
+
...other
|
|
174
|
+
} = props;
|
|
175
|
+
const ownerState = {
|
|
176
|
+
...props,
|
|
177
|
+
color,
|
|
178
|
+
severity,
|
|
179
|
+
variant,
|
|
180
|
+
colorSeverity: color || severity
|
|
181
|
+
};
|
|
182
|
+
const classes = useUtilityClasses(ownerState);
|
|
183
|
+
const externalForwardedProps = {
|
|
184
|
+
slots: {
|
|
185
|
+
closeButton: components.CloseButton,
|
|
186
|
+
closeIcon: components.CloseIcon,
|
|
187
|
+
...slots
|
|
188
|
+
},
|
|
189
|
+
slotProps: {
|
|
190
|
+
...componentsProps,
|
|
191
|
+
...slotProps
|
|
192
|
+
}
|
|
193
|
+
};
|
|
194
|
+
const [RootSlot, rootSlotProps] = (0, _useSlot.default)('root', {
|
|
195
|
+
ref,
|
|
196
|
+
shouldForwardComponentProp: true,
|
|
197
|
+
className: (0, _clsx.default)(classes.root, className),
|
|
198
|
+
elementType: AlertRoot,
|
|
199
|
+
externalForwardedProps: {
|
|
200
|
+
...externalForwardedProps,
|
|
201
|
+
...other
|
|
202
|
+
},
|
|
203
|
+
ownerState,
|
|
204
|
+
additionalProps: {
|
|
205
|
+
role,
|
|
206
|
+
elevation: 0
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
const [IconSlot, iconSlotProps] = (0, _useSlot.default)('icon', {
|
|
210
|
+
className: classes.icon,
|
|
211
|
+
elementType: AlertIcon,
|
|
212
|
+
externalForwardedProps,
|
|
213
|
+
ownerState
|
|
214
|
+
});
|
|
215
|
+
const [MessageSlot, messageSlotProps] = (0, _useSlot.default)('message', {
|
|
216
|
+
className: classes.message,
|
|
217
|
+
elementType: AlertMessage,
|
|
218
|
+
externalForwardedProps,
|
|
219
|
+
ownerState
|
|
220
|
+
});
|
|
221
|
+
const [ActionSlot, actionSlotProps] = (0, _useSlot.default)('action', {
|
|
222
|
+
className: classes.action,
|
|
223
|
+
elementType: AlertAction,
|
|
224
|
+
externalForwardedProps,
|
|
225
|
+
ownerState
|
|
226
|
+
});
|
|
227
|
+
const [CloseButtonSlot, closeButtonProps] = (0, _useSlot.default)('closeButton', {
|
|
228
|
+
elementType: _IconButton.default,
|
|
229
|
+
externalForwardedProps,
|
|
230
|
+
ownerState
|
|
231
|
+
});
|
|
232
|
+
const [CloseIconSlot, closeIconProps] = (0, _useSlot.default)('closeIcon', {
|
|
233
|
+
elementType: _Close.default,
|
|
234
|
+
externalForwardedProps,
|
|
235
|
+
ownerState
|
|
236
|
+
});
|
|
237
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(RootSlot, {
|
|
238
|
+
...rootSlotProps,
|
|
239
|
+
children: [icon !== false ? /*#__PURE__*/(0, _jsxRuntime.jsx)(IconSlot, {
|
|
240
|
+
...iconSlotProps,
|
|
241
|
+
children: icon || iconMapping[severity] || defaultIconMapping[severity]
|
|
242
|
+
}) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(MessageSlot, {
|
|
243
|
+
...messageSlotProps,
|
|
244
|
+
children: children
|
|
245
|
+
}), action != null ? /*#__PURE__*/(0, _jsxRuntime.jsx)(ActionSlot, {
|
|
246
|
+
...actionSlotProps,
|
|
247
|
+
children: action
|
|
248
|
+
}) : null, action == null && onClose ? /*#__PURE__*/(0, _jsxRuntime.jsx)(ActionSlot, {
|
|
249
|
+
...actionSlotProps,
|
|
250
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(CloseButtonSlot, {
|
|
251
|
+
size: "small",
|
|
252
|
+
"aria-label": closeText,
|
|
253
|
+
title: closeText,
|
|
254
|
+
color: "inherit",
|
|
255
|
+
onClick: onClose,
|
|
256
|
+
...closeButtonProps,
|
|
257
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(CloseIconSlot, {
|
|
258
|
+
fontSize: "small",
|
|
259
|
+
...closeIconProps
|
|
260
|
+
})
|
|
261
|
+
})
|
|
262
|
+
}) : null]
|
|
263
|
+
});
|
|
264
|
+
});
|
|
265
|
+
process.env.NODE_ENV !== "production" ? Alert.propTypes /* remove-proptypes */ = {
|
|
266
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
267
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
268
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
269
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
270
|
+
/**
|
|
271
|
+
* The action to display. It renders after the message, at the end of the alert.
|
|
272
|
+
*/
|
|
273
|
+
action: _propTypes.default.node,
|
|
274
|
+
/**
|
|
275
|
+
* The content of the component.
|
|
276
|
+
*/
|
|
277
|
+
children: _propTypes.default.node,
|
|
278
|
+
/**
|
|
279
|
+
* Override or extend the styles applied to the component.
|
|
280
|
+
*/
|
|
281
|
+
classes: _propTypes.default.object,
|
|
282
|
+
/**
|
|
283
|
+
* @ignore
|
|
284
|
+
*/
|
|
285
|
+
className: _propTypes.default.string,
|
|
286
|
+
/**
|
|
287
|
+
* Override the default label for the *close popup* icon button.
|
|
288
|
+
*
|
|
289
|
+
* For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).
|
|
290
|
+
* @default 'Close'
|
|
291
|
+
*/
|
|
292
|
+
closeText: _propTypes.default.string,
|
|
293
|
+
/**
|
|
294
|
+
* The color of the component. Unless provided, the value is taken from the `severity` prop.
|
|
295
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
296
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
297
|
+
*/
|
|
298
|
+
color: _propTypes.default /* @typescript-to-proptypes-ignore */.oneOfType([_propTypes.default.oneOf(['error', 'info', 'success', 'warning']), _propTypes.default.string]),
|
|
299
|
+
/**
|
|
300
|
+
* The components used for each slot inside.
|
|
301
|
+
*
|
|
302
|
+
* @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
303
|
+
*
|
|
304
|
+
* @default {}
|
|
305
|
+
*/
|
|
306
|
+
components: _propTypes.default.shape({
|
|
307
|
+
CloseButton: _propTypes.default.elementType,
|
|
308
|
+
CloseIcon: _propTypes.default.elementType
|
|
309
|
+
}),
|
|
310
|
+
/**
|
|
311
|
+
* The extra props for the slot components.
|
|
312
|
+
* You can override the existing props or add new ones.
|
|
313
|
+
*
|
|
314
|
+
* @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
315
|
+
*
|
|
316
|
+
* @default {}
|
|
317
|
+
*/
|
|
318
|
+
componentsProps: _propTypes.default.shape({
|
|
319
|
+
closeButton: _propTypes.default.object,
|
|
320
|
+
closeIcon: _propTypes.default.object
|
|
321
|
+
}),
|
|
322
|
+
/**
|
|
323
|
+
* Override the icon displayed before the children.
|
|
324
|
+
* Unless provided, the icon is mapped to the value of the `severity` prop.
|
|
325
|
+
* Set to `false` to remove the `icon`.
|
|
326
|
+
*/
|
|
327
|
+
icon: _propTypes.default.node,
|
|
328
|
+
/**
|
|
329
|
+
* The component maps the `severity` prop to a range of different icons,
|
|
330
|
+
* for instance success to `<SuccessOutlined>`.
|
|
331
|
+
* If you wish to change this mapping, you can provide your own.
|
|
332
|
+
* Alternatively, you can use the `icon` prop to override the icon displayed.
|
|
333
|
+
*/
|
|
334
|
+
iconMapping: _propTypes.default.shape({
|
|
335
|
+
error: _propTypes.default.node,
|
|
336
|
+
info: _propTypes.default.node,
|
|
337
|
+
success: _propTypes.default.node,
|
|
338
|
+
warning: _propTypes.default.node
|
|
339
|
+
}),
|
|
340
|
+
/**
|
|
341
|
+
* Callback fired when the component requests to be closed.
|
|
342
|
+
* When provided and no `action` prop is set, a close icon button is displayed that triggers the callback when clicked.
|
|
343
|
+
* @param {React.SyntheticEvent} event The event source of the callback.
|
|
344
|
+
*/
|
|
345
|
+
onClose: _propTypes.default.func,
|
|
346
|
+
/**
|
|
347
|
+
* The ARIA role attribute of the element.
|
|
348
|
+
* @default 'alert'
|
|
349
|
+
*/
|
|
350
|
+
role: _propTypes.default.string,
|
|
351
|
+
/**
|
|
352
|
+
* The severity of the alert. This defines the color and icon used.
|
|
353
|
+
* @default 'success'
|
|
354
|
+
*/
|
|
355
|
+
severity: _propTypes.default /* @typescript-to-proptypes-ignore */.oneOfType([_propTypes.default.oneOf(['error', 'info', 'success', 'warning']), _propTypes.default.string]),
|
|
356
|
+
/**
|
|
357
|
+
* The props used for each slot inside.
|
|
358
|
+
* @default {}
|
|
359
|
+
*/
|
|
360
|
+
slotProps: _propTypes.default.shape({
|
|
361
|
+
action: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
|
|
362
|
+
closeButton: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
|
|
363
|
+
closeIcon: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
|
|
364
|
+
icon: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
|
|
365
|
+
message: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
|
|
366
|
+
root: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])
|
|
367
|
+
}),
|
|
368
|
+
/**
|
|
369
|
+
* The components used for each slot inside.
|
|
370
|
+
* @default {}
|
|
371
|
+
*/
|
|
372
|
+
slots: _propTypes.default.shape({
|
|
373
|
+
action: _propTypes.default.elementType,
|
|
374
|
+
closeButton: _propTypes.default.elementType,
|
|
375
|
+
closeIcon: _propTypes.default.elementType,
|
|
376
|
+
icon: _propTypes.default.elementType,
|
|
377
|
+
message: _propTypes.default.elementType,
|
|
378
|
+
root: _propTypes.default.elementType
|
|
379
|
+
}),
|
|
380
|
+
/**
|
|
381
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
382
|
+
*/
|
|
383
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
384
|
+
/**
|
|
385
|
+
* The variant to use.
|
|
386
|
+
* @default 'standard'
|
|
387
|
+
*/
|
|
388
|
+
variant: _propTypes.default /* @typescript-to-proptypes-ignore */.oneOfType([_propTypes.default.oneOf(['filled', 'outlined', 'standard']), _propTypes.default.string])
|
|
389
|
+
} : void 0;
|
|
390
|
+
var _default = exports.default = Alert;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
export interface AlertClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `variant="filled"`. */
|
|
5
|
+
filled: string;
|
|
6
|
+
/** Styles applied to the root element if `variant="outlined"`. */
|
|
7
|
+
outlined: string;
|
|
8
|
+
/** Styles applied to the root element if `variant="standard"`. */
|
|
9
|
+
standard: string;
|
|
10
|
+
/** Styles applied to the root element if `color="success"`. */
|
|
11
|
+
colorSuccess: string;
|
|
12
|
+
/** Styles applied to the root element if `color="info"`. */
|
|
13
|
+
colorInfo: string;
|
|
14
|
+
/** Styles applied to the root element if `color="warning"`. */
|
|
15
|
+
colorWarning: string;
|
|
16
|
+
/** Styles applied to the root element if `color="error"`. */
|
|
17
|
+
colorError: string;
|
|
18
|
+
/** Styles applied to the root element if `variant="standard"` and `color="success"`.
|
|
19
|
+
* @deprecated Combine the [.MuiAlert-standard](/material-ui/api/alert/#alert-classes-standard)
|
|
20
|
+
* and [.MuiAlert-colorSuccess](/material-ui/api/alert/#alert-classes-colorSuccess) classes instead.
|
|
21
|
+
* See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
22
|
+
*/
|
|
23
|
+
standardSuccess: string;
|
|
24
|
+
/** Styles applied to the root element if `variant="standard"` and `color="info"`.
|
|
25
|
+
* @deprecated Combine the [.MuiAlert-standard](/material-ui/api/alert/#alert-classes-standard)
|
|
26
|
+
* and [.MuiAlert-colorInfo](/material-ui/api/alert/#alert-classes-colorInfo) classes instead.
|
|
27
|
+
* See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
28
|
+
*/
|
|
29
|
+
standardInfo: string;
|
|
30
|
+
/** Styles applied to the root element if `variant="standard"` and `color="warning"`.
|
|
31
|
+
* @deprecated Combine the [.MuiAlert-standard](/material-ui/api/alert/#alert-classes-standard)
|
|
32
|
+
* and [.MuiAlert-colorWarning](/material-ui/api/alert/#alert-classes-colorWarning) classes instead.
|
|
33
|
+
* See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
34
|
+
*/
|
|
35
|
+
standardWarning: string;
|
|
36
|
+
/** Styles applied to the root element if `variant="standard"` and `color="error"`.
|
|
37
|
+
* @deprecated Combine the [.MuiAlert-standard](/material-ui/api/alert/#alert-classes-standard)
|
|
38
|
+
* and [.MuiAlert-colorError](/material-ui/api/alert/#alert-classes-colorError) classes instead.
|
|
39
|
+
* See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
40
|
+
*/
|
|
41
|
+
standardError: string;
|
|
42
|
+
/** Styles applied to the root element if `variant="outlined"` and `color="success"`.
|
|
43
|
+
* @deprecated Combine the [.MuiAlert-outlined](/material-ui/api/alert/#alert-classes-outlined)
|
|
44
|
+
* and [.MuiAlert-colorSuccess](/material-ui/api/alert/#alert-classes-colorSuccess) classes instead.
|
|
45
|
+
* See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
46
|
+
*/
|
|
47
|
+
outlinedSuccess: string;
|
|
48
|
+
/** Styles applied to the root element if `variant="outlined"` and `color="info"`.
|
|
49
|
+
* @deprecated Combine the [.MuiAlert-outlined](/material-ui/api/alert/#alert-classes-outlined)
|
|
50
|
+
* and [.MuiAlert-colorInfo](/material-ui/api/alert/#alert-classes-colorInfo) classes instead.
|
|
51
|
+
* See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
52
|
+
*/
|
|
53
|
+
outlinedInfo: string;
|
|
54
|
+
/** Styles applied to the root element if `variant="outlined"` and `color="warning"`.
|
|
55
|
+
* @deprecated Combine the [.MuiAlert-outlined](/material-ui/api/alert/#alert-classes-outlined)
|
|
56
|
+
* and [.MuiAlert-colorWarning](/material-ui/api/alert/#alert-classes-colorWarning) classes instead.
|
|
57
|
+
* See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
58
|
+
*/
|
|
59
|
+
outlinedWarning: string;
|
|
60
|
+
/** Styles applied to the root element if `variant="outlined"` and `color="error"`.
|
|
61
|
+
* @deprecated Combine the [.MuiAlert-outlined](/material-ui/api/alert/#alert-classes-outlined)
|
|
62
|
+
* and [.MuiAlert-colorError](/material-ui/api/alert/#alert-classes-colorError) classes instead.
|
|
63
|
+
* See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
64
|
+
*/
|
|
65
|
+
outlinedError: string;
|
|
66
|
+
/** Styles applied to the root element if `variant="filled"` and `color="success"`.
|
|
67
|
+
* @deprecated Combine the [.MuiAlert-filled](/material-ui/api/alert/#alert-classes-filled)
|
|
68
|
+
* and [.MuiAlert-colorSuccess](/material-ui/api/alert/#alert-classes-colorSuccess) classes instead.
|
|
69
|
+
* See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
70
|
+
*/
|
|
71
|
+
filledSuccess: string;
|
|
72
|
+
/** Styles applied to the root element if `variant="filled"` and `color="info"`.
|
|
73
|
+
* @deprecated Combine the [.MuiAlert-filled](/material-ui/api/alert/#alert-classes-filled)
|
|
74
|
+
* and [.MuiAlert-colorInfo](/material-ui/api/alert/#alert-classes-colorInfo) classes instead.
|
|
75
|
+
* See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
76
|
+
*/
|
|
77
|
+
filledInfo: string;
|
|
78
|
+
/** Styles applied to the root element if `variant="filled"` and `color="warning"`
|
|
79
|
+
* @deprecated Combine the [.MuiAlert-filled](/material-ui/api/alert/#alert-classes-filled)
|
|
80
|
+
* and [.MuiAlert-colorWarning](/material-ui/api/alert/#alert-classes-colorWarning) classes instead.
|
|
81
|
+
* See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
82
|
+
*/
|
|
83
|
+
filledWarning: string;
|
|
84
|
+
/** Styles applied to the root element if `variant="filled"` and `color="error"`.
|
|
85
|
+
* @deprecated Combine the [.MuiAlert-filled](/material-ui/api/alert/#alert-classes-filled)
|
|
86
|
+
* and [.MuiAlert-colorError](/material-ui/api/alert/#alert-classes-colorError) classes instead.
|
|
87
|
+
* See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
88
|
+
*/
|
|
89
|
+
filledError: string;
|
|
90
|
+
/** Styles applied to the icon wrapper element. */
|
|
91
|
+
icon: string;
|
|
92
|
+
/** Styles applied to the message wrapper element. */
|
|
93
|
+
message: string;
|
|
94
|
+
/** Styles applied to the action wrapper element if `action` is provided. */
|
|
95
|
+
action: string;
|
|
96
|
+
}
|
|
97
|
+
export type AlertClassKey = keyof AlertClasses;
|
|
98
|
+
export declare function getAlertUtilityClass(slot: string): string;
|
|
99
|
+
declare const alertClasses: AlertClasses;
|
|
100
|
+
export default alertClasses;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
exports.getAlertUtilityClass = getAlertUtilityClass;
|
|
9
|
+
var _generateUtilityClasses = _interopRequireDefault(require("@mui/utils/generateUtilityClasses"));
|
|
10
|
+
var _generateUtilityClass = _interopRequireDefault(require("@mui/utils/generateUtilityClass"));
|
|
11
|
+
function getAlertUtilityClass(slot) {
|
|
12
|
+
return (0, _generateUtilityClass.default)('MuiAlert', slot);
|
|
13
|
+
}
|
|
14
|
+
const alertClasses = (0, _generateUtilityClasses.default)('MuiAlert', ['root', 'action', 'icon', 'message', 'filled', 'colorSuccess', 'colorInfo', 'colorWarning', 'colorError', 'filledSuccess', 'filledInfo', 'filledWarning', 'filledError', 'outlined', 'outlinedSuccess', 'outlinedInfo', 'outlinedWarning', 'outlinedError', 'standard', 'standardSuccess', 'standardInfo', 'standardWarning', 'standardError']);
|
|
15
|
+
var _default = exports.default = alertClasses;
|