@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/Modal/Modal.js
ADDED
|
@@ -0,0 +1,397 @@
|
|
|
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 _HTMLElementType = _interopRequireDefault(require("@mui/utils/HTMLElementType"));
|
|
14
|
+
var _elementAcceptingRef = _interopRequireDefault(require("@mui/utils/elementAcceptingRef"));
|
|
15
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
16
|
+
var _Unstable_TrapFocus = _interopRequireDefault(require("../Unstable_TrapFocus"));
|
|
17
|
+
var _Portal = _interopRequireDefault(require("../Portal"));
|
|
18
|
+
var _zeroStyled = require("../zero-styled");
|
|
19
|
+
var _memoTheme = _interopRequireDefault(require("../utils/memoTheme"));
|
|
20
|
+
var _DefaultPropsProvider = require("../DefaultPropsProvider");
|
|
21
|
+
var _Backdrop = _interopRequireDefault(require("../Backdrop"));
|
|
22
|
+
var _useModal = _interopRequireDefault(require("./useModal"));
|
|
23
|
+
var _modalClasses = require("./modalClasses");
|
|
24
|
+
var _useSlot = _interopRequireDefault(require("../utils/useSlot"));
|
|
25
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
26
|
+
const useUtilityClasses = ownerState => {
|
|
27
|
+
const {
|
|
28
|
+
open,
|
|
29
|
+
exited,
|
|
30
|
+
classes
|
|
31
|
+
} = ownerState;
|
|
32
|
+
const slots = {
|
|
33
|
+
root: ['root', !open && exited && 'hidden'],
|
|
34
|
+
backdrop: ['backdrop']
|
|
35
|
+
};
|
|
36
|
+
return (0, _composeClasses.default)(slots, _modalClasses.getModalUtilityClass, classes);
|
|
37
|
+
};
|
|
38
|
+
const ModalRoot = (0, _zeroStyled.styled)('div', {
|
|
39
|
+
name: 'MuiModal',
|
|
40
|
+
slot: 'Root',
|
|
41
|
+
overridesResolver: (props, styles) => {
|
|
42
|
+
const {
|
|
43
|
+
ownerState
|
|
44
|
+
} = props;
|
|
45
|
+
return [styles.root, !ownerState.open && ownerState.exited && styles.hidden];
|
|
46
|
+
}
|
|
47
|
+
})((0, _memoTheme.default)(({
|
|
48
|
+
theme
|
|
49
|
+
}) => ({
|
|
50
|
+
position: 'fixed',
|
|
51
|
+
zIndex: (theme.vars || theme).zIndex.modal,
|
|
52
|
+
right: 0,
|
|
53
|
+
bottom: 0,
|
|
54
|
+
top: 0,
|
|
55
|
+
left: 0,
|
|
56
|
+
variants: [{
|
|
57
|
+
props: ({
|
|
58
|
+
ownerState
|
|
59
|
+
}) => !ownerState.open && ownerState.exited,
|
|
60
|
+
style: {
|
|
61
|
+
visibility: 'hidden'
|
|
62
|
+
}
|
|
63
|
+
}]
|
|
64
|
+
})));
|
|
65
|
+
const ModalBackdrop = (0, _zeroStyled.styled)(_Backdrop.default, {
|
|
66
|
+
name: 'MuiModal',
|
|
67
|
+
slot: 'Backdrop'
|
|
68
|
+
})({
|
|
69
|
+
zIndex: -1
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Modal is a lower-level construct that is leveraged by the following components:
|
|
74
|
+
*
|
|
75
|
+
* - [Dialog](/material-ui/api/dialog/)
|
|
76
|
+
* - [Drawer](/material-ui/api/drawer/)
|
|
77
|
+
* - [Menu](/material-ui/api/menu/)
|
|
78
|
+
* - [Popover](/material-ui/api/popover/)
|
|
79
|
+
*
|
|
80
|
+
* If you are creating a modal dialog, you probably want to use the [Dialog](/material-ui/api/dialog/) component
|
|
81
|
+
* rather than directly using Modal.
|
|
82
|
+
*
|
|
83
|
+
* This component shares many concepts with [react-overlays](https://react-bootstrap.github.io/react-overlays/#modals).
|
|
84
|
+
*/
|
|
85
|
+
const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
|
|
86
|
+
const props = (0, _DefaultPropsProvider.useDefaultProps)({
|
|
87
|
+
name: 'MuiModal',
|
|
88
|
+
props: inProps
|
|
89
|
+
});
|
|
90
|
+
const {
|
|
91
|
+
BackdropComponent = ModalBackdrop,
|
|
92
|
+
BackdropProps,
|
|
93
|
+
classes: classesProp,
|
|
94
|
+
className,
|
|
95
|
+
closeAfterTransition = false,
|
|
96
|
+
children,
|
|
97
|
+
container,
|
|
98
|
+
component,
|
|
99
|
+
components = {},
|
|
100
|
+
componentsProps = {},
|
|
101
|
+
disableAutoFocus = false,
|
|
102
|
+
disableEnforceFocus = false,
|
|
103
|
+
disableEscapeKeyDown = false,
|
|
104
|
+
disablePortal = false,
|
|
105
|
+
disableRestoreFocus = false,
|
|
106
|
+
disableScrollLock = false,
|
|
107
|
+
hideBackdrop = false,
|
|
108
|
+
keepMounted = false,
|
|
109
|
+
onClose,
|
|
110
|
+
onTransitionEnter,
|
|
111
|
+
onTransitionExited,
|
|
112
|
+
open,
|
|
113
|
+
slotProps = {},
|
|
114
|
+
slots = {},
|
|
115
|
+
// eslint-disable-next-line react/prop-types
|
|
116
|
+
theme,
|
|
117
|
+
...other
|
|
118
|
+
} = props;
|
|
119
|
+
const propsWithDefaults = {
|
|
120
|
+
...props,
|
|
121
|
+
closeAfterTransition,
|
|
122
|
+
disableAutoFocus,
|
|
123
|
+
disableEnforceFocus,
|
|
124
|
+
disableEscapeKeyDown,
|
|
125
|
+
disablePortal,
|
|
126
|
+
disableRestoreFocus,
|
|
127
|
+
disableScrollLock,
|
|
128
|
+
hideBackdrop,
|
|
129
|
+
keepMounted
|
|
130
|
+
};
|
|
131
|
+
const {
|
|
132
|
+
getRootProps,
|
|
133
|
+
getBackdropProps,
|
|
134
|
+
getTransitionProps,
|
|
135
|
+
portalRef,
|
|
136
|
+
isTopModal,
|
|
137
|
+
exited,
|
|
138
|
+
hasTransition
|
|
139
|
+
} = (0, _useModal.default)({
|
|
140
|
+
...propsWithDefaults,
|
|
141
|
+
rootRef: ref
|
|
142
|
+
});
|
|
143
|
+
const ownerState = {
|
|
144
|
+
...propsWithDefaults,
|
|
145
|
+
exited
|
|
146
|
+
};
|
|
147
|
+
const classes = useUtilityClasses(ownerState);
|
|
148
|
+
const childProps = {};
|
|
149
|
+
if (children.props.tabIndex === undefined) {
|
|
150
|
+
childProps.tabIndex = '-1';
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
// It's a Transition like component
|
|
154
|
+
if (hasTransition) {
|
|
155
|
+
const {
|
|
156
|
+
onEnter,
|
|
157
|
+
onExited
|
|
158
|
+
} = getTransitionProps();
|
|
159
|
+
childProps.onEnter = onEnter;
|
|
160
|
+
childProps.onExited = onExited;
|
|
161
|
+
}
|
|
162
|
+
const externalForwardedProps = {
|
|
163
|
+
slots: {
|
|
164
|
+
root: components.Root,
|
|
165
|
+
backdrop: components.Backdrop,
|
|
166
|
+
...slots
|
|
167
|
+
},
|
|
168
|
+
slotProps: {
|
|
169
|
+
...componentsProps,
|
|
170
|
+
...slotProps
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
const [RootSlot, rootProps] = (0, _useSlot.default)('root', {
|
|
174
|
+
ref,
|
|
175
|
+
elementType: ModalRoot,
|
|
176
|
+
externalForwardedProps: {
|
|
177
|
+
...externalForwardedProps,
|
|
178
|
+
...other,
|
|
179
|
+
component
|
|
180
|
+
},
|
|
181
|
+
getSlotProps: getRootProps,
|
|
182
|
+
ownerState,
|
|
183
|
+
className: (0, _clsx.default)(className, classes?.root, !ownerState.open && ownerState.exited && classes?.hidden)
|
|
184
|
+
});
|
|
185
|
+
const [BackdropSlot, backdropProps] = (0, _useSlot.default)('backdrop', {
|
|
186
|
+
ref: BackdropProps?.ref,
|
|
187
|
+
elementType: BackdropComponent,
|
|
188
|
+
externalForwardedProps,
|
|
189
|
+
shouldForwardComponentProp: true,
|
|
190
|
+
additionalProps: BackdropProps,
|
|
191
|
+
getSlotProps: otherHandlers => {
|
|
192
|
+
return getBackdropProps({
|
|
193
|
+
...otherHandlers,
|
|
194
|
+
onClick: event => {
|
|
195
|
+
if (otherHandlers?.onClick) {
|
|
196
|
+
otherHandlers.onClick(event);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
});
|
|
200
|
+
},
|
|
201
|
+
className: (0, _clsx.default)(BackdropProps?.className, classes?.backdrop),
|
|
202
|
+
ownerState
|
|
203
|
+
});
|
|
204
|
+
if (!keepMounted && !open && (!hasTransition || exited)) {
|
|
205
|
+
return null;
|
|
206
|
+
}
|
|
207
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Portal.default, {
|
|
208
|
+
ref: portalRef,
|
|
209
|
+
container: container,
|
|
210
|
+
disablePortal: disablePortal,
|
|
211
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(RootSlot, {
|
|
212
|
+
...rootProps,
|
|
213
|
+
children: [!hideBackdrop && BackdropComponent ? /*#__PURE__*/(0, _jsxRuntime.jsx)(BackdropSlot, {
|
|
214
|
+
...backdropProps
|
|
215
|
+
}) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_Unstable_TrapFocus.default, {
|
|
216
|
+
disableEnforceFocus: disableEnforceFocus,
|
|
217
|
+
disableAutoFocus: disableAutoFocus,
|
|
218
|
+
disableRestoreFocus: disableRestoreFocus,
|
|
219
|
+
isEnabled: isTopModal,
|
|
220
|
+
open: open,
|
|
221
|
+
children: /*#__PURE__*/React.cloneElement(children, childProps)
|
|
222
|
+
})]
|
|
223
|
+
})
|
|
224
|
+
});
|
|
225
|
+
});
|
|
226
|
+
process.env.NODE_ENV !== "production" ? Modal.propTypes /* remove-proptypes */ = {
|
|
227
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
228
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
229
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
230
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
231
|
+
/**
|
|
232
|
+
* A backdrop component. This prop enables custom backdrop rendering.
|
|
233
|
+
* @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.
|
|
234
|
+
* Use the `slots.backdrop` prop to make your application ready for the next version of Material UI.
|
|
235
|
+
* @default styled(Backdrop, {
|
|
236
|
+
* name: 'MuiModal',
|
|
237
|
+
* slot: 'Backdrop',
|
|
238
|
+
* })({
|
|
239
|
+
* zIndex: -1,
|
|
240
|
+
* })
|
|
241
|
+
*/
|
|
242
|
+
BackdropComponent: _propTypes.default.elementType,
|
|
243
|
+
/**
|
|
244
|
+
* Props applied to the [`Backdrop`](https://mui.com/material-ui/api/backdrop/) element.
|
|
245
|
+
* @deprecated Use `slotProps.backdrop` instead.
|
|
246
|
+
*/
|
|
247
|
+
BackdropProps: _propTypes.default.object,
|
|
248
|
+
/**
|
|
249
|
+
* A single child content element.
|
|
250
|
+
*/
|
|
251
|
+
children: _elementAcceptingRef.default.isRequired,
|
|
252
|
+
/**
|
|
253
|
+
* Override or extend the styles applied to the component.
|
|
254
|
+
*/
|
|
255
|
+
classes: _propTypes.default.object,
|
|
256
|
+
/**
|
|
257
|
+
* @ignore
|
|
258
|
+
*/
|
|
259
|
+
className: _propTypes.default.string,
|
|
260
|
+
/**
|
|
261
|
+
* When set to true the Modal waits until a nested Transition is completed before closing.
|
|
262
|
+
* @default false
|
|
263
|
+
*/
|
|
264
|
+
closeAfterTransition: _propTypes.default.bool,
|
|
265
|
+
/**
|
|
266
|
+
* The component used for the root node.
|
|
267
|
+
* Either a string to use a HTML element or a component.
|
|
268
|
+
*/
|
|
269
|
+
component: _propTypes.default.elementType,
|
|
270
|
+
/**
|
|
271
|
+
* The components used for each slot inside.
|
|
272
|
+
*
|
|
273
|
+
* @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.
|
|
274
|
+
*
|
|
275
|
+
* @default {}
|
|
276
|
+
*/
|
|
277
|
+
components: _propTypes.default.shape({
|
|
278
|
+
Backdrop: _propTypes.default.elementType,
|
|
279
|
+
Root: _propTypes.default.elementType
|
|
280
|
+
}),
|
|
281
|
+
/**
|
|
282
|
+
* The extra props for the slot components.
|
|
283
|
+
* You can override the existing props or add new ones.
|
|
284
|
+
*
|
|
285
|
+
* @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.
|
|
286
|
+
*
|
|
287
|
+
* @default {}
|
|
288
|
+
*/
|
|
289
|
+
componentsProps: _propTypes.default.shape({
|
|
290
|
+
backdrop: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
|
|
291
|
+
root: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])
|
|
292
|
+
}),
|
|
293
|
+
/**
|
|
294
|
+
* An HTML element or function that returns one.
|
|
295
|
+
* The `container` will have the portal children appended to it.
|
|
296
|
+
*
|
|
297
|
+
* You can also provide a callback, which is called in a React layout effect.
|
|
298
|
+
* This lets you set the container from a ref, and also makes server-side rendering possible.
|
|
299
|
+
*
|
|
300
|
+
* By default, it uses the body of the top-level document object,
|
|
301
|
+
* so it's simply `document.body` most of the time.
|
|
302
|
+
*/
|
|
303
|
+
container: _propTypes.default /* @typescript-to-proptypes-ignore */.oneOfType([_HTMLElementType.default, _propTypes.default.func]),
|
|
304
|
+
/**
|
|
305
|
+
* If `true`, the modal will not automatically shift focus to itself when it opens, and
|
|
306
|
+
* replace it to the last focused element when it closes.
|
|
307
|
+
* This also works correctly with any modal children that have the `disableAutoFocus` prop.
|
|
308
|
+
*
|
|
309
|
+
* Generally this should never be set to `true` as it makes the modal less
|
|
310
|
+
* accessible to assistive technologies, like screen readers.
|
|
311
|
+
* @default false
|
|
312
|
+
*/
|
|
313
|
+
disableAutoFocus: _propTypes.default.bool,
|
|
314
|
+
/**
|
|
315
|
+
* If `true`, the modal will not prevent focus from leaving the modal while open.
|
|
316
|
+
*
|
|
317
|
+
* Generally this should never be set to `true` as it makes the modal less
|
|
318
|
+
* accessible to assistive technologies, like screen readers.
|
|
319
|
+
* @default false
|
|
320
|
+
*/
|
|
321
|
+
disableEnforceFocus: _propTypes.default.bool,
|
|
322
|
+
/**
|
|
323
|
+
* If `true`, hitting escape will not fire the `onClose` callback.
|
|
324
|
+
* @default false
|
|
325
|
+
*/
|
|
326
|
+
disableEscapeKeyDown: _propTypes.default.bool,
|
|
327
|
+
/**
|
|
328
|
+
* The `children` will be under the DOM hierarchy of the parent component.
|
|
329
|
+
* @default false
|
|
330
|
+
*/
|
|
331
|
+
disablePortal: _propTypes.default.bool,
|
|
332
|
+
/**
|
|
333
|
+
* If `true`, the modal will not restore focus to previously focused element once
|
|
334
|
+
* modal is hidden or unmounted.
|
|
335
|
+
* @default false
|
|
336
|
+
*/
|
|
337
|
+
disableRestoreFocus: _propTypes.default.bool,
|
|
338
|
+
/**
|
|
339
|
+
* Disable the scroll lock behavior.
|
|
340
|
+
* @default false
|
|
341
|
+
*/
|
|
342
|
+
disableScrollLock: _propTypes.default.bool,
|
|
343
|
+
/**
|
|
344
|
+
* If `true`, the backdrop is not rendered.
|
|
345
|
+
* @default false
|
|
346
|
+
*/
|
|
347
|
+
hideBackdrop: _propTypes.default.bool,
|
|
348
|
+
/**
|
|
349
|
+
* Always keep the children in the DOM.
|
|
350
|
+
* This prop can be useful in SEO situation or
|
|
351
|
+
* when you want to maximize the responsiveness of the Modal.
|
|
352
|
+
* @default false
|
|
353
|
+
*/
|
|
354
|
+
keepMounted: _propTypes.default.bool,
|
|
355
|
+
/**
|
|
356
|
+
* Callback fired when the component requests to be closed.
|
|
357
|
+
* The `reason` parameter can optionally be used to control the response to `onClose`.
|
|
358
|
+
*
|
|
359
|
+
* @param {object} event The event source of the callback.
|
|
360
|
+
* @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
|
|
361
|
+
*/
|
|
362
|
+
onClose: _propTypes.default.func,
|
|
363
|
+
/**
|
|
364
|
+
* A function called when a transition enters.
|
|
365
|
+
*/
|
|
366
|
+
onTransitionEnter: _propTypes.default.func,
|
|
367
|
+
/**
|
|
368
|
+
* A function called when a transition has exited.
|
|
369
|
+
*/
|
|
370
|
+
onTransitionExited: _propTypes.default.func,
|
|
371
|
+
/**
|
|
372
|
+
* If `true`, the component is shown.
|
|
373
|
+
*/
|
|
374
|
+
open: _propTypes.default.bool.isRequired,
|
|
375
|
+
/**
|
|
376
|
+
* The props used for each slot inside the Modal.
|
|
377
|
+
* @default {}
|
|
378
|
+
*/
|
|
379
|
+
slotProps: _propTypes.default.shape({
|
|
380
|
+
backdrop: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
|
|
381
|
+
root: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])
|
|
382
|
+
}),
|
|
383
|
+
/**
|
|
384
|
+
* The components used for each slot inside the Modal.
|
|
385
|
+
* Either a string to use a HTML element or a component.
|
|
386
|
+
* @default {}
|
|
387
|
+
*/
|
|
388
|
+
slots: _propTypes.default.shape({
|
|
389
|
+
backdrop: _propTypes.default.elementType,
|
|
390
|
+
root: _propTypes.default.elementType
|
|
391
|
+
}),
|
|
392
|
+
/**
|
|
393
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
394
|
+
*/
|
|
395
|
+
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])
|
|
396
|
+
} : void 0;
|
|
397
|
+
var _default = exports.default = Modal;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface ManagedModalProps {
|
|
2
|
+
disableScrollLock?: boolean;
|
|
3
|
+
}
|
|
4
|
+
export declare function ariaHidden(element: Element, hide: boolean): void;
|
|
5
|
+
interface Modal {
|
|
6
|
+
mount: Element;
|
|
7
|
+
modalRef: Element;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* @ignore - do not document.
|
|
11
|
+
*
|
|
12
|
+
* Proper state management for containers and the modals in those containers.
|
|
13
|
+
* Simplified, but inspired by react-overlay's ModalManager class.
|
|
14
|
+
* Used by the Modal to ensure proper styling of containers.
|
|
15
|
+
*/
|
|
16
|
+
export declare class ModalManager {
|
|
17
|
+
private containers;
|
|
18
|
+
private modals;
|
|
19
|
+
constructor();
|
|
20
|
+
add(modal: Modal, container: HTMLElement): number;
|
|
21
|
+
mount(modal: Modal, props: ManagedModalProps): void;
|
|
22
|
+
remove(modal: Modal, ariaHiddenState?: boolean): number;
|
|
23
|
+
isTopModal(modal: Modal): boolean;
|
|
24
|
+
}
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.ModalManager = void 0;
|
|
8
|
+
exports.ariaHidden = ariaHidden;
|
|
9
|
+
var _ownerWindow = _interopRequireDefault(require("@mui/utils/ownerWindow"));
|
|
10
|
+
var _ownerDocument = _interopRequireDefault(require("@mui/utils/ownerDocument"));
|
|
11
|
+
var _getScrollbarSize = _interopRequireDefault(require("@mui/utils/getScrollbarSize"));
|
|
12
|
+
// Is a vertical scrollbar displayed?
|
|
13
|
+
function isOverflowing(container) {
|
|
14
|
+
const doc = (0, _ownerDocument.default)(container);
|
|
15
|
+
if (doc.body === container) {
|
|
16
|
+
return (0, _ownerWindow.default)(container).innerWidth > doc.documentElement.clientWidth;
|
|
17
|
+
}
|
|
18
|
+
return container.scrollHeight > container.clientHeight;
|
|
19
|
+
}
|
|
20
|
+
function ariaHidden(element, hide) {
|
|
21
|
+
if (hide) {
|
|
22
|
+
element.setAttribute('aria-hidden', 'true');
|
|
23
|
+
} else {
|
|
24
|
+
element.removeAttribute('aria-hidden');
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
function getPaddingRight(element) {
|
|
28
|
+
return parseInt((0, _ownerWindow.default)(element).getComputedStyle(element).paddingRight, 10) || 0;
|
|
29
|
+
}
|
|
30
|
+
function isAriaHiddenForbiddenOnElement(element) {
|
|
31
|
+
// The forbidden HTML tags are the ones from ARIA specification that
|
|
32
|
+
// can be children of body and can't have aria-hidden attribute.
|
|
33
|
+
// cf. https://www.w3.org/TR/html-aria/#docconformance
|
|
34
|
+
const forbiddenTagNames = ['TEMPLATE', 'SCRIPT', 'STYLE', 'LINK', 'MAP', 'META', 'NOSCRIPT', 'PICTURE', 'COL', 'COLGROUP', 'PARAM', 'SLOT', 'SOURCE', 'TRACK'];
|
|
35
|
+
const isForbiddenTagName = forbiddenTagNames.includes(element.tagName);
|
|
36
|
+
const isInputHidden = element.tagName === 'INPUT' && element.getAttribute('type') === 'hidden';
|
|
37
|
+
return isForbiddenTagName || isInputHidden;
|
|
38
|
+
}
|
|
39
|
+
function ariaHiddenSiblings(container, mountElement, currentElement, elementsToExclude, hide) {
|
|
40
|
+
const blacklist = [mountElement, currentElement, ...elementsToExclude];
|
|
41
|
+
[].forEach.call(container.children, element => {
|
|
42
|
+
const isNotExcludedElement = !blacklist.includes(element);
|
|
43
|
+
const isNotForbiddenElement = !isAriaHiddenForbiddenOnElement(element);
|
|
44
|
+
if (isNotExcludedElement && isNotForbiddenElement) {
|
|
45
|
+
ariaHidden(element, hide);
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
function findIndexOf(items, callback) {
|
|
50
|
+
let idx = -1;
|
|
51
|
+
items.some((item, index) => {
|
|
52
|
+
if (callback(item)) {
|
|
53
|
+
idx = index;
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
return false;
|
|
57
|
+
});
|
|
58
|
+
return idx;
|
|
59
|
+
}
|
|
60
|
+
function handleContainer(containerInfo, props) {
|
|
61
|
+
const restoreStyle = [];
|
|
62
|
+
const container = containerInfo.container;
|
|
63
|
+
if (!props.disableScrollLock) {
|
|
64
|
+
if (isOverflowing(container)) {
|
|
65
|
+
// Compute the size before applying overflow hidden to avoid any scroll jumps.
|
|
66
|
+
const scrollbarSize = (0, _getScrollbarSize.default)((0, _ownerWindow.default)(container));
|
|
67
|
+
restoreStyle.push({
|
|
68
|
+
value: container.style.paddingRight,
|
|
69
|
+
property: 'padding-right',
|
|
70
|
+
el: container
|
|
71
|
+
});
|
|
72
|
+
// Use computed style, here to get the real padding to add our scrollbar width.
|
|
73
|
+
container.style.paddingRight = `${getPaddingRight(container) + scrollbarSize}px`;
|
|
74
|
+
|
|
75
|
+
// .mui-fixed is a global helper.
|
|
76
|
+
const fixedElements = (0, _ownerDocument.default)(container).querySelectorAll('.mui-fixed');
|
|
77
|
+
[].forEach.call(fixedElements, element => {
|
|
78
|
+
restoreStyle.push({
|
|
79
|
+
value: element.style.paddingRight,
|
|
80
|
+
property: 'padding-right',
|
|
81
|
+
el: element
|
|
82
|
+
});
|
|
83
|
+
element.style.paddingRight = `${getPaddingRight(element) + scrollbarSize}px`;
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
let scrollContainer;
|
|
87
|
+
if (container.parentNode instanceof DocumentFragment) {
|
|
88
|
+
scrollContainer = (0, _ownerDocument.default)(container).body;
|
|
89
|
+
} else {
|
|
90
|
+
// Support html overflow-y: auto for scroll stability between pages
|
|
91
|
+
// https://css-tricks.com/snippets/css/force-vertical-scrollbar/
|
|
92
|
+
const parent = container.parentElement;
|
|
93
|
+
const containerWindow = (0, _ownerWindow.default)(container);
|
|
94
|
+
scrollContainer = parent?.nodeName === 'HTML' && containerWindow.getComputedStyle(parent).overflowY === 'scroll' ? parent : container;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
// Block the scroll even if no scrollbar is visible to account for mobile keyboard
|
|
98
|
+
// screensize shrink.
|
|
99
|
+
restoreStyle.push({
|
|
100
|
+
value: scrollContainer.style.overflow,
|
|
101
|
+
property: 'overflow',
|
|
102
|
+
el: scrollContainer
|
|
103
|
+
}, {
|
|
104
|
+
value: scrollContainer.style.overflowX,
|
|
105
|
+
property: 'overflow-x',
|
|
106
|
+
el: scrollContainer
|
|
107
|
+
}, {
|
|
108
|
+
value: scrollContainer.style.overflowY,
|
|
109
|
+
property: 'overflow-y',
|
|
110
|
+
el: scrollContainer
|
|
111
|
+
});
|
|
112
|
+
scrollContainer.style.overflow = 'hidden';
|
|
113
|
+
}
|
|
114
|
+
const restore = () => {
|
|
115
|
+
restoreStyle.forEach(({
|
|
116
|
+
value,
|
|
117
|
+
el,
|
|
118
|
+
property
|
|
119
|
+
}) => {
|
|
120
|
+
if (value) {
|
|
121
|
+
el.style.setProperty(property, value);
|
|
122
|
+
} else {
|
|
123
|
+
el.style.removeProperty(property);
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
};
|
|
127
|
+
return restore;
|
|
128
|
+
}
|
|
129
|
+
function getHiddenSiblings(container) {
|
|
130
|
+
const hiddenSiblings = [];
|
|
131
|
+
[].forEach.call(container.children, element => {
|
|
132
|
+
if (element.getAttribute('aria-hidden') === 'true') {
|
|
133
|
+
hiddenSiblings.push(element);
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
return hiddenSiblings;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* @ignore - do not document.
|
|
140
|
+
*
|
|
141
|
+
* Proper state management for containers and the modals in those containers.
|
|
142
|
+
* Simplified, but inspired by react-overlay's ModalManager class.
|
|
143
|
+
* Used by the Modal to ensure proper styling of containers.
|
|
144
|
+
*/
|
|
145
|
+
class ModalManager {
|
|
146
|
+
constructor() {
|
|
147
|
+
this.modals = [];
|
|
148
|
+
this.containers = [];
|
|
149
|
+
}
|
|
150
|
+
add(modal, container) {
|
|
151
|
+
let modalIndex = this.modals.indexOf(modal);
|
|
152
|
+
if (modalIndex !== -1) {
|
|
153
|
+
return modalIndex;
|
|
154
|
+
}
|
|
155
|
+
modalIndex = this.modals.length;
|
|
156
|
+
this.modals.push(modal);
|
|
157
|
+
|
|
158
|
+
// If the modal we are adding is already in the DOM.
|
|
159
|
+
if (modal.modalRef) {
|
|
160
|
+
ariaHidden(modal.modalRef, false);
|
|
161
|
+
}
|
|
162
|
+
const hiddenSiblings = getHiddenSiblings(container);
|
|
163
|
+
ariaHiddenSiblings(container, modal.mount, modal.modalRef, hiddenSiblings, true);
|
|
164
|
+
const containerIndex = findIndexOf(this.containers, item => item.container === container);
|
|
165
|
+
if (containerIndex !== -1) {
|
|
166
|
+
this.containers[containerIndex].modals.push(modal);
|
|
167
|
+
return modalIndex;
|
|
168
|
+
}
|
|
169
|
+
this.containers.push({
|
|
170
|
+
modals: [modal],
|
|
171
|
+
container,
|
|
172
|
+
restore: null,
|
|
173
|
+
hiddenSiblings
|
|
174
|
+
});
|
|
175
|
+
return modalIndex;
|
|
176
|
+
}
|
|
177
|
+
mount(modal, props) {
|
|
178
|
+
const containerIndex = findIndexOf(this.containers, item => item.modals.includes(modal));
|
|
179
|
+
const containerInfo = this.containers[containerIndex];
|
|
180
|
+
if (!containerInfo.restore) {
|
|
181
|
+
containerInfo.restore = handleContainer(containerInfo, props);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
remove(modal, ariaHiddenState = true) {
|
|
185
|
+
const modalIndex = this.modals.indexOf(modal);
|
|
186
|
+
if (modalIndex === -1) {
|
|
187
|
+
return modalIndex;
|
|
188
|
+
}
|
|
189
|
+
const containerIndex = findIndexOf(this.containers, item => item.modals.includes(modal));
|
|
190
|
+
const containerInfo = this.containers[containerIndex];
|
|
191
|
+
containerInfo.modals.splice(containerInfo.modals.indexOf(modal), 1);
|
|
192
|
+
this.modals.splice(modalIndex, 1);
|
|
193
|
+
|
|
194
|
+
// If that was the last modal in a container, clean up the container.
|
|
195
|
+
if (containerInfo.modals.length === 0) {
|
|
196
|
+
// The modal might be closed before it had the chance to be mounted in the DOM.
|
|
197
|
+
if (containerInfo.restore) {
|
|
198
|
+
containerInfo.restore();
|
|
199
|
+
}
|
|
200
|
+
if (modal.modalRef) {
|
|
201
|
+
// In case the modal wasn't in the DOM yet.
|
|
202
|
+
ariaHidden(modal.modalRef, ariaHiddenState);
|
|
203
|
+
}
|
|
204
|
+
ariaHiddenSiblings(containerInfo.container, modal.mount, modal.modalRef, containerInfo.hiddenSiblings, false);
|
|
205
|
+
this.containers.splice(containerIndex, 1);
|
|
206
|
+
} else {
|
|
207
|
+
// Otherwise make sure the next top modal is visible to a screen reader.
|
|
208
|
+
const nextTop = containerInfo.modals[containerInfo.modals.length - 1];
|
|
209
|
+
// as soon as a modal is adding its modalRef is undefined. it can't set
|
|
210
|
+
// aria-hidden because the dom element doesn't exist either
|
|
211
|
+
// when modal was unmounted before modalRef gets null
|
|
212
|
+
if (nextTop.modalRef) {
|
|
213
|
+
ariaHidden(nextTop.modalRef, false);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
return modalIndex;
|
|
217
|
+
}
|
|
218
|
+
isTopModal(modal) {
|
|
219
|
+
return this.modals.length > 0 && this.modals[this.modals.length - 1] === modal;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
exports.ModalManager = ModalManager;
|
package/Modal/index.d.ts
ADDED
package/Modal/index.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
var _exportNames = {
|
|
9
|
+
ModalManager: true,
|
|
10
|
+
modalClasses: true
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "ModalManager", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () {
|
|
15
|
+
return _ModalManager.ModalManager;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "default", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return _Modal.default;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "modalClasses", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () {
|
|
27
|
+
return _modalClasses.default;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
var _ModalManager = require("./ModalManager");
|
|
31
|
+
var _Modal = _interopRequireDefault(require("./Modal"));
|
|
32
|
+
var _modalClasses = _interopRequireWildcard(require("./modalClasses"));
|
|
33
|
+
Object.keys(_modalClasses).forEach(function (key) {
|
|
34
|
+
if (key === "default" || key === "__esModule") return;
|
|
35
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
36
|
+
if (key in exports && exports[key] === _modalClasses[key]) return;
|
|
37
|
+
Object.defineProperty(exports, key, {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: function () {
|
|
40
|
+
return _modalClasses[key];
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
});
|