@vodafone_de/brix-components 3.1.3 → 3.1.6
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/package.json +2 -14
- package/Accordion/Accordion.d.ts +0 -122
- package/Accordion/Accordion.js +0 -334
- package/Accordion/AccordionContext.js +0 -18
- package/Accordion/accordionClasses.d.ts +0 -20
- package/Accordion/accordionClasses.js +0 -15
- package/Accordion/index.d.ts +0 -4
- package/Accordion/index.js +0 -35
- package/AccordionActions/AccordionActions.d.ts +0 -35
- package/AccordionActions/AccordionActions.js +0 -100
- package/AccordionActions/accordionActionsClasses.d.ts +0 -10
- package/AccordionActions/accordionActionsClasses.js +0 -15
- package/AccordionActions/index.d.ts +0 -4
- package/AccordionActions/index.js +0 -35
- package/AccordionDetails/AccordionDetails.d.ts +0 -30
- package/AccordionDetails/AccordionDetails.js +0 -76
- package/AccordionDetails/accordionDetailsClasses.d.ts +0 -8
- package/AccordionDetails/accordionDetailsClasses.js +0 -15
- package/AccordionDetails/index.d.ts +0 -4
- package/AccordionDetails/index.js +0 -35
- package/AccordionSummary/AccordionSummary.d.ts +0 -80
- package/AccordionSummary/AccordionSummary.js +0 -254
- package/AccordionSummary/accordionSummaryClasses.d.ts +0 -25
- package/AccordionSummary/accordionSummaryClasses.js +0 -15
- package/AccordionSummary/index.d.ts +0 -4
- package/AccordionSummary/index.js +0 -35
- package/Alert/Alert.d.ts +0 -178
- package/Alert/Alert.js +0 -390
- package/Alert/alertClasses.d.ts +0 -100
- package/Alert/alertClasses.js +0 -15
- package/Alert/index.d.ts +0 -4
- package/Alert/index.js +0 -35
- package/AlertTitle/AlertTitle.d.ts +0 -31
- package/AlertTitle/AlertTitle.js +0 -82
- package/AlertTitle/alertTitleClasses.d.ts +0 -8
- package/AlertTitle/alertTitleClasses.js +0 -15
- package/AlertTitle/index.d.ts +0 -4
- package/AlertTitle/index.js +0 -35
- package/AppBar/AppBar.d.ts +0 -59
- package/AppBar/AppBar.js +0 -234
- package/AppBar/appBarClasses.d.ts +0 -36
- package/AppBar/appBarClasses.js +0 -15
- package/AppBar/index.d.ts +0 -4
- package/AppBar/index.js +0 -35
- package/Autocomplete/Autocomplete.d.ts +0 -320
- package/Autocomplete/Autocomplete.js +0 -1202
- package/Autocomplete/autocompleteClasses.d.ts +0 -58
- package/Autocomplete/autocompleteClasses.js +0 -15
- package/Autocomplete/index.d.ts +0 -4
- package/Autocomplete/index.js +0 -41
- package/Avatar/Avatar.d.ts +0 -112
- package/Avatar/Avatar.js +0 -325
- package/Avatar/avatarClasses.d.ts +0 -20
- package/Avatar/avatarClasses.js +0 -15
- package/Avatar/index.d.ts +0 -4
- package/Avatar/index.js +0 -35
- package/AvatarGroup/AvatarGroup.d.ts +0 -96
- package/AvatarGroup/AvatarGroup.js +0 -238
- package/AvatarGroup/avatarGroupClasses.d.ts +0 -10
- package/AvatarGroup/avatarGroupClasses.js +0 -15
- package/AvatarGroup/index.d.ts +0 -4
- package/AvatarGroup/index.js +0 -35
- package/Backdrop/Backdrop.d.ts +0 -118
- package/Backdrop/Backdrop.js +0 -212
- package/Backdrop/backdropClasses.d.ts +0 -10
- package/Backdrop/backdropClasses.js +0 -15
- package/Backdrop/index.d.ts +0 -4
- package/Backdrop/index.js +0 -35
- package/Badge/Badge.d.ts +0 -157
- package/Badge/Badge.js +0 -441
- package/Badge/badgeClasses.d.ts +0 -56
- package/Badge/badgeClasses.js +0 -17
- package/Badge/index.d.ts +0 -4
- package/Badge/index.js +0 -35
- package/Badge/useBadge.d.ts +0 -3
- package/Badge/useBadge.js +0 -37
- package/Badge/useBadge.types.d.ts +0 -39
- package/Badge/useBadge.types.js +0 -5
- package/BottomNavigation/BottomNavigation.d.ts +0 -55
- package/BottomNavigation/BottomNavigation.js +0 -129
- package/BottomNavigation/bottomNavigationClasses.d.ts +0 -8
- package/BottomNavigation/bottomNavigationClasses.js +0 -15
- package/BottomNavigation/index.d.ts +0 -4
- package/BottomNavigation/index.js +0 -35
- package/BottomNavigationAction/BottomNavigationAction.d.ts +0 -87
- package/BottomNavigationAction/BottomNavigationAction.js +0 -237
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +0 -14
- package/BottomNavigationAction/bottomNavigationActionClasses.js +0 -15
- package/BottomNavigationAction/index.d.ts +0 -4
- package/BottomNavigationAction/index.js +0 -35
- package/Box/Box.d.ts +0 -20
- package/Box/Box.js +0 -41
- package/Box/boxClasses.d.ts +0 -7
- package/Box/boxClasses.js +0 -10
- package/Box/index.d.ts +0 -4
- package/Box/index.js +0 -35
- package/Breadcrumbs/BreadcrumbCollapsed.js +0 -97
- package/Breadcrumbs/Breadcrumbs.d.ts +0 -94
- package/Breadcrumbs/Breadcrumbs.js +0 -245
- package/Breadcrumbs/breadcrumbsClasses.d.ts +0 -14
- package/Breadcrumbs/breadcrumbsClasses.js +0 -15
- package/Breadcrumbs/index.d.ts +0 -4
- package/Breadcrumbs/index.js +0 -35
- package/Button/Button.d.ts +0 -130
- package/Button/Button.js +0 -693
- package/Button/buttonClasses.d.ts +0 -194
- package/Button/buttonClasses.js +0 -15
- package/Button/index.d.ts +0 -4
- package/Button/index.js +0 -35
- package/ButtonBase/ButtonBase.d.ts +0 -125
- package/ButtonBase/ButtonBase.js +0 -453
- package/ButtonBase/Ripple.js +0 -93
- package/ButtonBase/TouchRipple.d.ts +0 -22
- package/ButtonBase/TouchRipple.js +0 -331
- package/ButtonBase/buttonBaseClasses.d.ts +0 -12
- package/ButtonBase/buttonBaseClasses.js +0 -15
- package/ButtonBase/index.d.ts +0 -6
- package/ButtonBase/index.js +0 -54
- package/ButtonBase/touchRippleClasses.d.ts +0 -20
- package/ButtonBase/touchRippleClasses.js +0 -15
- package/ButtonGroup/ButtonGroup.d.ts +0 -91
- package/ButtonGroup/ButtonGroup.js +0 -397
- package/ButtonGroup/ButtonGroupButtonContext.d.ts +0 -6
- package/ButtonGroup/ButtonGroupButtonContext.js +0 -17
- package/ButtonGroup/ButtonGroupContext.d.ts +0 -18
- package/ButtonGroup/ButtonGroupContext.js +0 -17
- package/ButtonGroup/buttonGroupClasses.d.ts +0 -104
- package/ButtonGroup/buttonGroupClasses.js +0 -15
- package/ButtonGroup/index.d.ts +0 -6
- package/ButtonGroup/index.js +0 -51
- package/Card/Card.d.ts +0 -47
- package/Card/Card.js +0 -90
- package/Card/cardClasses.d.ts +0 -8
- package/Card/cardClasses.js +0 -15
- package/Card/index.d.ts +0 -4
- package/Card/index.js +0 -35
- package/CardActionArea/CardActionArea.d.ts +0 -63
- package/CardActionArea/CardActionArea.js +0 -161
- package/CardActionArea/cardActionAreaClasses.d.ts +0 -12
- package/CardActionArea/cardActionAreaClasses.js +0 -15
- package/CardActionArea/index.d.ts +0 -4
- package/CardActionArea/index.js +0 -35
- package/CardActions/CardActions.d.ts +0 -35
- package/CardActions/CardActions.js +0 -101
- package/CardActions/cardActionsClasses.d.ts +0 -10
- package/CardActions/cardActionsClasses.js +0 -15
- package/CardActions/index.d.ts +0 -4
- package/CardActions/index.js +0 -35
- package/CardContent/CardContent.d.ts +0 -38
- package/CardContent/CardContent.js +0 -86
- package/CardContent/cardContentClasses.d.ts +0 -8
- package/CardContent/cardContentClasses.js +0 -15
- package/CardContent/index.d.ts +0 -4
- package/CardContent/index.js +0 -35
- package/CardHeader/CardHeader.d.ts +0 -157
- package/CardHeader/CardHeader.js +0 -271
- package/CardHeader/cardHeaderClasses.d.ts +0 -18
- package/CardHeader/cardHeaderClasses.js +0 -15
- package/CardHeader/index.d.ts +0 -4
- package/CardHeader/index.js +0 -35
- package/CardMedia/CardMedia.d.ts +0 -51
- package/CardMedia/CardMedia.js +0 -152
- package/CardMedia/cardMediaClasses.d.ts +0 -12
- package/CardMedia/cardMediaClasses.js +0 -15
- package/CardMedia/index.d.ts +0 -4
- package/CardMedia/index.js +0 -35
- package/Checkbox/Checkbox.d.ts +0 -131
- package/Checkbox/Checkbox.js +0 -287
- package/Checkbox/checkboxClasses.d.ts +0 -22
- package/Checkbox/checkboxClasses.js +0 -15
- package/Checkbox/index.d.ts +0 -4
- package/Checkbox/index.js +0 -35
- package/Chip/Chip.d.ts +0 -107
- package/Chip/Chip.js +0 -583
- package/Chip/chipClasses.d.ts +0 -150
- package/Chip/chipClasses.js +0 -15
- package/Chip/index.d.ts +0 -4
- package/Chip/index.js +0 -35
- package/CircularProgress/CircularProgress.d.ts +0 -71
- package/CircularProgress/CircularProgress.js +0 -291
- package/CircularProgress/circularProgressClasses.d.ts +0 -30
- package/CircularProgress/circularProgressClasses.js +0 -15
- package/CircularProgress/index.d.ts +0 -4
- package/CircularProgress/index.js +0 -35
- package/ClickAwayListener/ClickAwayListener.d.ts +0 -47
- package/ClickAwayListener/ClickAwayListener.js +0 -183
- package/ClickAwayListener/index.d.ts +0 -2
- package/ClickAwayListener/index.js +0 -12
- package/Collapse/Collapse.d.ts +0 -71
- package/Collapse/Collapse.js +0 -416
- package/Collapse/collapseClasses.d.ts +0 -18
- package/Collapse/collapseClasses.js +0 -15
- package/Collapse/index.d.ts +0 -4
- package/Collapse/index.js +0 -35
- package/Container/Container.d.ts +0 -55
- package/Container/Container.js +0 -73
- package/Container/containerClasses.d.ts +0 -6
- package/Container/containerClasses.js +0 -15
- package/Container/index.d.ts +0 -4
- package/Container/index.js +0 -35
- package/CssBaseline/CssBaseline.d.ts +0 -28
- package/CssBaseline/CssBaseline.js +0 -170
- package/CssBaseline/index.d.ts +0 -2
- package/CssBaseline/index.js +0 -13
- package/DefaultPropsProvider/DefaultPropsProvider.d.ts +0 -13
- package/DefaultPropsProvider/DefaultPropsProvider.js +0 -37
- package/DefaultPropsProvider/index.d.ts +0 -1
- package/DefaultPropsProvider/index.js +0 -19
- package/Dialog/Dialog.d.ts +0 -184
- package/Dialog/Dialog.js +0 -516
- package/Dialog/DialogContext.d.ts +0 -6
- package/Dialog/DialogContext.js +0 -14
- package/Dialog/dialogClasses.d.ts +0 -40
- package/Dialog/dialogClasses.js +0 -15
- package/Dialog/index.d.ts +0 -4
- package/Dialog/index.js +0 -35
- package/DialogActions/DialogActions.d.ts +0 -35
- package/DialogActions/DialogActions.js +0 -103
- package/DialogActions/dialogActionsClasses.d.ts +0 -10
- package/DialogActions/dialogActionsClasses.js +0 -15
- package/DialogActions/index.d.ts +0 -4
- package/DialogActions/index.js +0 -35
- package/DialogContent/DialogContent.d.ts +0 -35
- package/DialogContent/DialogContent.js +0 -116
- package/DialogContent/dialogContentClasses.d.ts +0 -10
- package/DialogContent/dialogContentClasses.js +0 -15
- package/DialogContent/index.d.ts +0 -4
- package/DialogContent/index.js +0 -35
- package/DialogContentText/DialogContentText.d.ts +0 -37
- package/DialogContentText/DialogContentText.js +0 -83
- package/DialogContentText/dialogContentTextClasses.d.ts +0 -8
- package/DialogContentText/dialogContentTextClasses.js +0 -15
- package/DialogContentText/index.d.ts +0 -4
- package/DialogContentText/index.js +0 -35
- package/DialogTitle/DialogTitle.d.ts +0 -43
- package/DialogTitle/DialogTitle.js +0 -87
- package/DialogTitle/dialogTitleClasses.d.ts +0 -8
- package/DialogTitle/dialogTitleClasses.js +0 -15
- package/DialogTitle/index.d.ts +0 -4
- package/DialogTitle/index.js +0 -35
- package/Divider/Divider.d.ts +0 -74
- package/Divider/Divider.js +0 -321
- package/Divider/dividerClasses.d.ts +0 -38
- package/Divider/dividerClasses.js +0 -15
- package/Divider/index.d.ts +0 -4
- package/Divider/index.js +0 -35
- package/Drawer/Drawer.d.ts +0 -154
- package/Drawer/Drawer.js +0 -443
- package/Drawer/drawerClasses.d.ts +0 -54
- package/Drawer/drawerClasses.js +0 -15
- package/Drawer/index.d.ts +0 -4
- package/Drawer/index.js +0 -35
- package/Fab/Fab.d.ts +0 -82
- package/Fab/Fab.js +0 -278
- package/Fab/fabClasses.d.ts +0 -26
- package/Fab/fabClasses.js +0 -15
- package/Fab/index.d.ts +0 -4
- package/Fab/index.js +0 -35
- package/Fade/Fade.d.ts +0 -48
- package/Fade/Fade.js +0 -217
- package/Fade/index.d.ts +0 -2
- package/Fade/index.js +0 -13
- package/FilledInput/FilledInput.d.ts +0 -42
- package/FilledInput/FilledInput.js +0 -523
- package/FilledInput/filledInputClasses.d.ts +0 -30
- package/FilledInput/filledInputClasses.js +0 -19
- package/FilledInput/index.d.ts +0 -4
- package/FilledInput/index.js +0 -35
- package/FormControl/FormControl.d.ts +0 -120
- package/FormControl/FormControl.js +0 -312
- package/FormControl/FormControlContext.d.ts +0 -17
- package/FormControl/FormControlContext.js +0 -17
- package/FormControl/formControlClasses.d.ts +0 -14
- package/FormControl/formControlClasses.js +0 -15
- package/FormControl/formControlState.js +0 -21
- package/FormControl/index.d.ts +0 -6
- package/FormControl/index.js +0 -43
- package/FormControl/useFormControl.d.ts +0 -2
- package/FormControl/useFormControl.js +0 -14
- package/FormControlLabel/FormControlLabel.d.ts +0 -101
- package/FormControlLabel/FormControlLabel.js +0 -289
- package/FormControlLabel/formControlLabelClasses.d.ts +0 -24
- package/FormControlLabel/formControlLabelClasses.js +0 -15
- package/FormControlLabel/index.d.ts +0 -4
- package/FormControlLabel/index.js +0 -35
- package/FormGroup/FormGroup.d.ts +0 -39
- package/FormGroup/FormGroup.js +0 -115
- package/FormGroup/formGroupClasses.d.ts +0 -12
- package/FormGroup/formGroupClasses.js +0 -15
- package/FormGroup/index.d.ts +0 -4
- package/FormGroup/index.js +0 -35
- package/FormHelperText/FormHelperText.d.ts +0 -71
- package/FormHelperText/FormHelperText.js +0 -193
- package/FormHelperText/formHelperTextClasses.d.ts +0 -22
- package/FormHelperText/formHelperTextClasses.js +0 -15
- package/FormHelperText/index.d.ts +0 -4
- package/FormHelperText/index.js +0 -35
- package/FormLabel/FormLabel.d.ts +0 -78
- package/FormLabel/FormLabel.js +0 -188
- package/FormLabel/formLabelClasses.d.ts +0 -22
- package/FormLabel/formLabelClasses.js +0 -15
- package/FormLabel/index.d.ts +0 -4
- package/FormLabel/index.js +0 -45
- package/GlobalStyles/GlobalStyles.d.ts +0 -20
- package/GlobalStyles/GlobalStyles.js +0 -33
- package/GlobalStyles/index.d.ts +0 -2
- package/GlobalStyles/index.js +0 -13
- package/Grid/Grid.d.ts +0 -111
- package/Grid/Grid.js +0 -144
- package/Grid/gridClasses.d.ts +0 -10
- package/Grid/gridClasses.js +0 -27
- package/Grid/index.d.ts +0 -4
- package/Grid/index.js +0 -45
- package/GridLegacy/GridLegacy.d.ts +0 -160
- package/GridLegacy/GridLegacy.js +0 -601
- package/GridLegacy/GridLegacyContext.js +0 -17
- package/GridLegacy/gridLegacyClasses.d.ts +0 -48
- package/GridLegacy/gridLegacyClasses.js +0 -27
- package/GridLegacy/index.d.ts +0 -4
- package/GridLegacy/index.js +0 -35
- package/Grow/Grow.d.ts +0 -49
- package/Grow/Grow.js +0 -269
- package/Grow/index.d.ts +0 -2
- package/Grow/index.js +0 -13
- package/Icon/Icon.d.ts +0 -62
- package/Icon/Icon.js +0 -192
- package/Icon/iconClasses.d.ts +0 -24
- package/Icon/iconClasses.js +0 -15
- package/Icon/index.d.ts +0 -4
- package/Icon/index.js +0 -35
- package/IconButton/IconButton.d.ts +0 -90
- package/IconButton/IconButton.js +0 -328
- package/IconButton/iconButtonClasses.d.ts +0 -40
- package/IconButton/iconButtonClasses.js +0 -15
- package/IconButton/index.d.ts +0 -4
- package/IconButton/index.js +0 -35
- package/ImageList/ImageList.d.ts +0 -60
- package/ImageList/ImageList.js +0 -157
- package/ImageList/ImageListContext.js +0 -18
- package/ImageList/imageListClasses.d.ts +0 -16
- package/ImageList/imageListClasses.js +0 -15
- package/ImageList/index.d.ts +0 -4
- package/ImageList/index.js +0 -35
- package/ImageListItem/ImageListItem.d.ts +0 -48
- package/ImageListItem/ImageListItem.js +0 -195
- package/ImageListItem/imageListItemClasses.d.ts +0 -18
- package/ImageListItem/imageListItemClasses.js +0 -15
- package/ImageListItem/index.d.ts +0 -4
- package/ImageListItem/index.js +0 -35
- package/ImageListItemBar/ImageListItemBar.d.ts +0 -49
- package/ImageListItemBar/ImageListItemBar.js +0 -258
- package/ImageListItemBar/imageListItemBarClasses.d.ts +0 -42
- package/ImageListItemBar/imageListItemBarClasses.js +0 -15
- package/ImageListItemBar/index.d.ts +0 -4
- package/ImageListItemBar/index.js +0 -35
- package/InitColorSchemeScript/InitColorSchemeScript.d.ts +0 -66
- package/InitColorSchemeScript/InitColorSchemeScript.js +0 -99
- package/InitColorSchemeScript/index.d.ts +0 -1
- package/InitColorSchemeScript/index.js +0 -13
- package/Input/Input.d.ts +0 -35
- package/Input/Input.js +0 -368
- package/Input/index.d.ts +0 -4
- package/Input/index.js +0 -35
- package/Input/inputClasses.d.ts +0 -38
- package/Input/inputClasses.js +0 -19
- package/InputAdornment/InputAdornment.d.ts +0 -59
- package/InputAdornment/InputAdornment.js +0 -193
- package/InputAdornment/index.d.ts +0 -4
- package/InputAdornment/index.js +0 -35
- package/InputAdornment/inputAdornmentClasses.d.ts +0 -24
- package/InputAdornment/inputAdornmentClasses.js +0 -15
- package/InputBase/InputBase.d.ts +0 -247
- package/InputBase/InputBase.js +0 -758
- package/InputBase/index.d.ts +0 -4
- package/InputBase/index.js +0 -35
- package/InputBase/inputBaseClasses.d.ts +0 -55
- package/InputBase/inputBaseClasses.js +0 -15
- package/InputBase/utils.js +0 -38
- package/InputLabel/InputLabel.d.ts +0 -79
- package/InputLabel/InputLabel.js +0 -290
- package/InputLabel/index.d.ts +0 -4
- package/InputLabel/index.js +0 -35
- package/InputLabel/inputLabelClasses.d.ts +0 -32
- package/InputLabel/inputLabelClasses.js +0 -15
- package/LinearProgress/LinearProgress.d.ts +0 -57
- package/LinearProgress/LinearProgress.js +0 -462
- package/LinearProgress/index.d.ts +0 -4
- package/LinearProgress/index.js +0 -35
- package/LinearProgress/linearProgressClasses.d.ts +0 -64
- package/LinearProgress/linearProgressClasses.js +0 -15
- package/Link/Link.d.ts +0 -63
- package/Link/Link.js +0 -290
- package/Link/getTextDecoration.d.ts +0 -11
- package/Link/getTextDecoration.js +0 -22
- package/Link/index.d.ts +0 -4
- package/Link/index.js +0 -35
- package/Link/linkClasses.d.ts +0 -18
- package/Link/linkClasses.js +0 -15
- package/List/List.d.ts +0 -65
- package/List/List.js +0 -141
- package/List/ListContext.d.ts +0 -5
- package/List/ListContext.js +0 -17
- package/List/index.d.ts +0 -4
- package/List/index.js +0 -35
- package/List/listClasses.d.ts +0 -14
- package/List/listClasses.js +0 -15
- package/ListItem/ListItem.d.ts +0 -127
- package/ListItem/ListItem.js +0 -395
- package/ListItem/index.d.ts +0 -4
- package/ListItem/index.js +0 -35
- package/ListItem/listItemClasses.d.ts +0 -22
- package/ListItem/listItemClasses.js +0 -15
- package/ListItemAvatar/ListItemAvatar.d.ts +0 -30
- package/ListItemAvatar/ListItemAvatar.js +0 -98
- package/ListItemAvatar/index.d.ts +0 -4
- package/ListItemAvatar/index.js +0 -35
- package/ListItemAvatar/listItemAvatarClasses.d.ts +0 -10
- package/ListItemAvatar/listItemAvatarClasses.js +0 -15
- package/ListItemButton/ListItemButton.d.ts +0 -85
- package/ListItemButton/ListItemButton.js +0 -272
- package/ListItemButton/index.d.ts +0 -4
- package/ListItemButton/index.js +0 -35
- package/ListItemButton/listItemButtonClasses.d.ts +0 -22
- package/ListItemButton/listItemButtonClasses.js +0 -15
- package/ListItemIcon/ListItemIcon.d.ts +0 -32
- package/ListItemIcon/ListItemIcon.js +0 -104
- package/ListItemIcon/index.d.ts +0 -4
- package/ListItemIcon/index.js +0 -35
- package/ListItemIcon/listItemIconClasses.d.ts +0 -10
- package/ListItemIcon/listItemIconClasses.js +0 -15
- package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +0 -36
- package/ListItemSecondaryAction/ListItemSecondaryAction.js +0 -103
- package/ListItemSecondaryAction/index.d.ts +0 -4
- package/ListItemSecondaryAction/index.js +0 -35
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +0 -10
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.js +0 -15
- package/ListItemText/ListItemText.d.ts +0 -105
- package/ListItemText/ListItemText.js +0 -234
- package/ListItemText/index.d.ts +0 -4
- package/ListItemText/index.js +0 -35
- package/ListItemText/listItemTextClasses.d.ts +0 -18
- package/ListItemText/listItemTextClasses.js +0 -15
- package/ListSubheader/ListSubheader.d.ts +0 -59
- package/ListSubheader/ListSubheader.js +0 -174
- package/ListSubheader/index.d.ts +0 -4
- package/ListSubheader/index.js +0 -35
- package/ListSubheader/listSubheaderClasses.d.ts +0 -18
- package/ListSubheader/listSubheaderClasses.js +0 -15
- package/Menu/Menu.d.ts +0 -162
- package/Menu/Menu.js +0 -345
- package/Menu/index.d.ts +0 -4
- package/Menu/index.js +0 -35
- package/Menu/menuClasses.d.ts +0 -12
- package/Menu/menuClasses.js +0 -15
- package/MenuItem/MenuItem.d.ts +0 -69
- package/MenuItem/MenuItem.js +0 -291
- package/MenuItem/index.d.ts +0 -4
- package/MenuItem/index.js +0 -35
- package/MenuItem/menuItemClasses.d.ts +0 -20
- package/MenuItem/menuItemClasses.js +0 -15
- package/MenuList/MenuList.d.ts +0 -62
- package/MenuList/MenuList.js +0 -297
- package/MenuList/index.d.ts +0 -2
- package/MenuList/index.js +0 -13
- package/MobileStepper/MobileStepper.d.ts +0 -112
- package/MobileStepper/MobileStepper.js +0 -311
- package/MobileStepper/index.d.ts +0 -4
- package/MobileStepper/index.js +0 -35
- package/MobileStepper/mobileStepperClasses.d.ts +0 -22
- package/MobileStepper/mobileStepperClasses.js +0 -15
- package/Modal/Modal.d.ts +0 -218
- package/Modal/Modal.js +0 -397
- package/Modal/ModalManager.d.ts +0 -25
- package/Modal/ModalManager.js +0 -222
- package/Modal/index.d.ts +0 -5
- package/Modal/index.js +0 -43
- package/Modal/modalClasses.d.ts +0 -12
- package/Modal/modalClasses.js +0 -15
- package/Modal/useModal.d.ts +0 -3
- package/Modal/useModal.js +0 -200
- package/Modal/useModal.types.d.ts +0 -118
- package/Modal/useModal.types.js +0 -5
- package/NativeSelect/NativeSelect.d.ts +0 -68
- package/NativeSelect/NativeSelect.js +0 -140
- package/NativeSelect/NativeSelectInput.d.ts +0 -13
- package/NativeSelect/NativeSelectInput.js +0 -247
- package/NativeSelect/index.d.ts +0 -4
- package/NativeSelect/index.js +0 -35
- package/NativeSelect/nativeSelectClasses.d.ts +0 -34
- package/NativeSelect/nativeSelectClasses.js +0 -15
- package/NoSsr/NoSsr.d.ts +0 -25
- package/NoSsr/NoSsr.js +0 -78
- package/NoSsr/NoSsr.types.d.ts +0 -18
- package/NoSsr/NoSsr.types.js +0 -5
- package/NoSsr/index.d.ts +0 -3
- package/NoSsr/index.js +0 -13
- package/OutlinedInput/NotchedOutline.d.ts +0 -12
- package/OutlinedInput/NotchedOutline.js +0 -161
- package/OutlinedInput/OutlinedInput.d.ts +0 -54
- package/OutlinedInput/OutlinedInput.js +0 -436
- package/OutlinedInput/index.d.ts +0 -4
- package/OutlinedInput/index.js +0 -35
- package/OutlinedInput/outlinedInputClasses.d.ts +0 -38
- package/OutlinedInput/outlinedInputClasses.js +0 -19
- package/OverridableComponent/index.d.ts +0 -41
- package/OverridableComponent/index.js +0 -5
- package/Pagination/Pagination.d.ts +0 -79
- package/Pagination/Pagination.js +0 -251
- package/Pagination/index.d.ts +0 -4
- package/Pagination/index.js +0 -35
- package/Pagination/paginationClasses.d.ts +0 -14
- package/Pagination/paginationClasses.js +0 -15
- package/PaginationItem/PaginationItem.d.ts +0 -110
- package/PaginationItem/PaginationItem.js +0 -478
- package/PaginationItem/index.d.ts +0 -4
- package/PaginationItem/index.js +0 -35
- package/PaginationItem/paginationItemClasses.d.ts +0 -54
- package/PaginationItem/paginationItemClasses.js +0 -15
- package/Paper/Paper.d.ts +0 -62
- package/Paper/Paper.js +0 -177
- package/Paper/index.d.ts +0 -4
- package/Paper/index.js +0 -35
- package/Paper/paperClasses.d.ts +0 -64
- package/Paper/paperClasses.js +0 -15
- package/PigmentContainer/PigmentContainer.d.ts +0 -55
- package/PigmentContainer/PigmentContainer.js +0 -107
- package/PigmentContainer/index.d.ts +0 -3
- package/PigmentContainer/index.js +0 -35
- package/PigmentGrid/PigmentGrid.d.ts +0 -83
- package/PigmentGrid/PigmentGrid.js +0 -135
- package/PigmentGrid/index.d.ts +0 -3
- package/PigmentGrid/index.js +0 -35
- package/PigmentStack/PigmentStack.d.ts +0 -49
- package/PigmentStack/PigmentStack.js +0 -90
- package/PigmentStack/index.d.ts +0 -3
- package/PigmentStack/index.js +0 -35
- package/Popover/Popover.d.ts +0 -233
- package/Popover/Popover.js +0 -590
- package/Popover/index.d.ts +0 -4
- package/Popover/index.js +0 -45
- package/Popover/popoverClasses.d.ts +0 -10
- package/Popover/popoverClasses.js +0 -15
- package/Popper/BasePopper.d.ts +0 -7
- package/Popper/BasePopper.js +0 -382
- package/Popper/BasePopper.types.d.ts +0 -129
- package/Popper/BasePopper.types.js +0 -5
- package/Popper/Popper.d.ts +0 -46
- package/Popper/Popper.js +0 -216
- package/Popper/index.d.ts +0 -4
- package/Popper/index.js +0 -26
- package/Popper/popperClasses.d.ts +0 -8
- package/Popper/popperClasses.js +0 -15
- package/Portal/Portal.d.ts +0 -16
- package/Portal/Portal.js +0 -98
- package/Portal/Portal.types.d.ts +0 -23
- package/Portal/Portal.types.js +0 -5
- package/Portal/index.d.ts +0 -3
- package/Portal/index.js +0 -13
- package/Radio/Radio.d.ts +0 -86
- package/Radio/Radio.js +0 -316
- package/Radio/RadioButtonIcon.js +0 -94
- package/Radio/index.d.ts +0 -4
- package/Radio/index.js +0 -35
- package/Radio/radioClasses.d.ts +0 -18
- package/Radio/radioClasses.js +0 -15
- package/RadioGroup/RadioGroup.d.ts +0 -38
- package/RadioGroup/RadioGroup.js +0 -121
- package/RadioGroup/RadioGroupContext.d.ts +0 -11
- package/RadioGroup/RadioGroupContext.js +0 -17
- package/RadioGroup/index.d.ts +0 -5
- package/RadioGroup/index.js +0 -43
- package/RadioGroup/radioGroupClasses.d.ts +0 -6
- package/RadioGroup/radioGroupClasses.js +0 -15
- package/RadioGroup/useRadioGroup.d.ts +0 -3
- package/RadioGroup/useRadioGroup.js +0 -14
- package/Rating/Rating.d.ts +0 -183
- package/Rating/Rating.js +0 -784
- package/Rating/index.d.ts +0 -4
- package/Rating/index.js +0 -35
- package/Rating/ratingClasses.d.ts +0 -40
- package/Rating/ratingClasses.js +0 -15
- package/ScopedCssBaseline/ScopedCssBaseline.d.ts +0 -55
- package/ScopedCssBaseline/ScopedCssBaseline.js +0 -126
- package/ScopedCssBaseline/index.d.ts +0 -4
- package/ScopedCssBaseline/index.js +0 -35
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +0 -8
- package/ScopedCssBaseline/scopedCssBaselineClasses.js +0 -15
- package/Select/Select.d.ts +0 -188
- package/Select/Select.js +0 -306
- package/Select/SelectInput.d.ts +0 -55
- package/Select/SelectInput.js +0 -679
- package/Select/index.d.ts +0 -4
- package/Select/index.js +0 -35
- package/Select/selectClasses.d.ts +0 -42
- package/Select/selectClasses.js +0 -15
- package/Skeleton/Skeleton.d.ts +0 -62
- package/Skeleton/Skeleton.js +0 -276
- package/Skeleton/index.d.ts +0 -4
- package/Skeleton/index.js +0 -35
- package/Skeleton/skeletonClasses.d.ts +0 -26
- package/Skeleton/skeletonClasses.js +0 -15
- package/Slide/Slide.d.ts +0 -63
- package/Slide/Slide.js +0 -345
- package/Slide/index.d.ts +0 -2
- package/Slide/index.js +0 -13
- package/Slider/Slider.d.ts +0 -298
- package/Slider/Slider.js +0 -1097
- package/Slider/SliderValueLabel.d.ts +0 -13
- package/Slider/SliderValueLabel.js +0 -60
- package/Slider/SliderValueLabel.types.d.ts +0 -25
- package/Slider/SliderValueLabel.types.js +0 -5
- package/Slider/index.d.ts +0 -4
- package/Slider/index.js +0 -45
- package/Slider/sliderClasses.d.ts +0 -88
- package/Slider/sliderClasses.js +0 -15
- package/Slider/useSlider.d.ts +0 -4
- package/Slider/useSlider.js +0 -711
- package/Slider/useSlider.types.d.ts +0 -226
- package/Slider/useSlider.types.js +0 -5
- package/Snackbar/Snackbar.d.ts +0 -182
- package/Snackbar/Snackbar.js +0 -437
- package/Snackbar/index.d.ts +0 -4
- package/Snackbar/index.js +0 -35
- package/Snackbar/snackbarClasses.d.ts +0 -20
- package/Snackbar/snackbarClasses.js +0 -15
- package/Snackbar/useSnackbar.d.ts +0 -3
- package/Snackbar/useSnackbar.js +0 -130
- package/Snackbar/useSnackbar.types.d.ts +0 -59
- package/Snackbar/useSnackbar.types.js +0 -5
- package/SnackbarContent/SnackbarContent.d.ts +0 -42
- package/SnackbarContent/SnackbarContent.js +0 -136
- package/SnackbarContent/index.d.ts +0 -4
- package/SnackbarContent/index.js +0 -35
- package/SnackbarContent/snackbarContentClasses.d.ts +0 -12
- package/SnackbarContent/snackbarContentClasses.js +0 -15
- package/SpeedDial/SpeedDial.d.ts +0 -131
- package/SpeedDial/SpeedDial.js +0 -585
- package/SpeedDial/index.d.ts +0 -4
- package/SpeedDial/index.js +0 -35
- package/SpeedDial/speedDialClasses.d.ts +0 -22
- package/SpeedDial/speedDialClasses.js +0 -15
- package/SpeedDialAction/SpeedDialAction.d.ts +0 -117
- package/SpeedDialAction/SpeedDialAction.js +0 -357
- package/SpeedDialAction/index.d.ts +0 -4
- package/SpeedDialAction/index.js +0 -35
- package/SpeedDialAction/speedDialActionClasses.d.ts +0 -20
- package/SpeedDialAction/speedDialActionClasses.js +0 -15
- package/SpeedDialIcon/SpeedDialIcon.d.ts +0 -43
- package/SpeedDialIcon/SpeedDialIcon.js +0 -163
- package/SpeedDialIcon/index.d.ts +0 -4
- package/SpeedDialIcon/index.js +0 -35
- package/SpeedDialIcon/speedDialIconClasses.d.ts +0 -18
- package/SpeedDialIcon/speedDialIconClasses.js +0 -15
- package/Stack/Stack.d.ts +0 -58
- package/Stack/Stack.js +0 -67
- package/Stack/index.d.ts +0 -4
- package/Stack/index.js +0 -20
- package/Stack/stackClasses.d.ts +0 -6
- package/Stack/stackClasses.js +0 -15
- package/Step/Step.d.ts +0 -70
- package/Step/Step.js +0 -183
- package/Step/StepContext.d.ts +0 -20
- package/Step/StepContext.js +0 -26
- package/Step/index.d.ts +0 -6
- package/Step/index.js +0 -54
- package/Step/stepClasses.d.ts +0 -16
- package/Step/stepClasses.js +0 -15
- package/StepButton/StepButton.d.ts +0 -51
- package/StepButton/StepButton.js +0 -140
- package/StepButton/index.d.ts +0 -4
- package/StepButton/index.js +0 -35
- package/StepButton/stepButtonClasses.d.ts +0 -14
- package/StepButton/stepButtonClasses.js +0 -15
- package/StepConnector/StepConnector.d.ts +0 -29
- package/StepConnector/StepConnector.js +0 -159
- package/StepConnector/index.d.ts +0 -4
- package/StepConnector/index.js +0 -35
- package/StepConnector/stepConnectorClasses.d.ts +0 -30
- package/StepConnector/stepConnectorClasses.js +0 -15
- package/StepContent/StepContent.d.ts +0 -75
- package/StepContent/StepContent.js +0 -193
- package/StepContent/index.d.ts +0 -4
- package/StepContent/index.js +0 -35
- package/StepContent/stepContentClasses.d.ts +0 -12
- package/StepContent/stepContentClasses.js +0 -15
- package/StepIcon/StepIcon.d.ts +0 -50
- package/StepIcon/StepIcon.js +0 -166
- package/StepIcon/index.d.ts +0 -4
- package/StepIcon/index.js +0 -35
- package/StepIcon/stepIconClasses.d.ts +0 -16
- package/StepIcon/stepIconClasses.js +0 -15
- package/StepLabel/StepLabel.d.ts +0 -106
- package/StepLabel/StepLabel.js +0 -284
- package/StepLabel/index.d.ts +0 -4
- package/StepLabel/index.js +0 -35
- package/StepLabel/stepLabelClasses.d.ts +0 -28
- package/StepLabel/stepLabelClasses.js +0 -15
- package/Stepper/Stepper.d.ts +0 -71
- package/Stepper/Stepper.js +0 -174
- package/Stepper/StepperContext.d.ts +0 -18
- package/Stepper/StepperContext.js +0 -26
- package/Stepper/index.d.ts +0 -6
- package/Stepper/index.js +0 -54
- package/Stepper/stepperClasses.d.ts +0 -16
- package/Stepper/stepperClasses.js +0 -15
- package/SvgIcon/SvgIcon.d.ts +0 -89
- package/SvgIcon/SvgIcon.js +0 -241
- package/SvgIcon/index.d.ts +0 -4
- package/SvgIcon/index.js +0 -35
- package/SvgIcon/svgIconClasses.d.ts +0 -26
- package/SvgIcon/svgIconClasses.js +0 -15
- package/SwipeableDrawer/SwipeArea.js +0 -111
- package/SwipeableDrawer/SwipeableDrawer.d.ts +0 -106
- package/SwipeableDrawer/SwipeableDrawer.js +0 -668
- package/SwipeableDrawer/index.d.ts +0 -2
- package/SwipeableDrawer/index.js +0 -13
- package/Switch/Switch.d.ts +0 -123
- package/Switch/Switch.js +0 -412
- package/Switch/index.d.ts +0 -4
- package/Switch/index.js +0 -35
- package/Switch/switchClasses.d.ts +0 -32
- package/Switch/switchClasses.js +0 -15
- package/Tab/Tab.d.ts +0 -75
- package/Tab/Tab.js +0 -345
- package/Tab/index.d.ts +0 -4
- package/Tab/index.js +0 -35
- package/Tab/tabClasses.d.ts +0 -30
- package/Tab/tabClasses.js +0 -15
- package/TabScrollButton/TabScrollButton.d.ts +0 -67
- package/TabScrollButton/TabScrollButton.js +0 -179
- package/TabScrollButton/index.d.ts +0 -4
- package/TabScrollButton/index.js +0 -35
- package/TabScrollButton/tabScrollButtonClasses.d.ts +0 -12
- package/TabScrollButton/tabScrollButtonClasses.js +0 -15
- package/Table/Table.d.ts +0 -55
- package/Table/Table.js +0 -143
- package/Table/TableContext.d.ts +0 -7
- package/Table/TableContext.js +0 -17
- package/Table/Tablelvl2Context.d.ts +0 -6
- package/Table/Tablelvl2Context.js +0 -17
- package/Table/index.d.ts +0 -4
- package/Table/index.js +0 -35
- package/Table/tableClasses.d.ts +0 -10
- package/Table/tableClasses.js +0 -15
- package/TableBody/TableBody.d.ts +0 -38
- package/TableBody/TableBody.js +0 -92
- package/TableBody/index.d.ts +0 -4
- package/TableBody/index.js +0 -35
- package/TableBody/tableBodyClasses.d.ts +0 -8
- package/TableBody/tableBodyClasses.js +0 -15
- package/TableCell/TableCell.d.ts +0 -82
- package/TableCell/TableCell.js +0 -277
- package/TableCell/index.d.ts +0 -4
- package/TableCell/index.js +0 -35
- package/TableCell/tableCellClasses.d.ts +0 -32
- package/TableCell/tableCellClasses.js +0 -15
- package/TableContainer/TableContainer.d.ts +0 -38
- package/TableContainer/TableContainer.js +0 -84
- package/TableContainer/index.d.ts +0 -4
- package/TableContainer/index.js +0 -35
- package/TableContainer/tableContainerClasses.d.ts +0 -8
- package/TableContainer/tableContainerClasses.js +0 -15
- package/TableFooter/TableFooter.d.ts +0 -38
- package/TableFooter/TableFooter.js +0 -92
- package/TableFooter/index.d.ts +0 -4
- package/TableFooter/index.js +0 -35
- package/TableFooter/tableFooterClasses.d.ts +0 -8
- package/TableFooter/tableFooterClasses.js +0 -15
- package/TableHead/TableHead.d.ts +0 -38
- package/TableHead/TableHead.js +0 -92
- package/TableHead/index.d.ts +0 -4
- package/TableHead/index.js +0 -35
- package/TableHead/tableHeadClasses.d.ts +0 -8
- package/TableHead/tableHeadClasses.js +0 -15
- package/TablePagination/TablePagination.d.ts +0 -263
- package/TablePagination/TablePagination.js +0 -507
- package/TablePagination/TablePaginationActions.d.ts +0 -94
- package/TablePagination/TablePaginationActions.js +0 -199
- package/TablePagination/index.d.ts +0 -4
- package/TablePagination/index.js +0 -35
- package/TablePagination/tablePaginationClasses.d.ts +0 -28
- package/TablePagination/tablePaginationClasses.js +0 -15
- package/TableRow/TableRow.d.ts +0 -50
- package/TableRow/TableRow.js +0 -134
- package/TableRow/index.d.ts +0 -4
- package/TableRow/index.js +0 -35
- package/TableRow/tableRowClasses.d.ts +0 -16
- package/TableRow/tableRowClasses.js +0 -15
- package/TableSortLabel/TableSortLabel.d.ts +0 -90
- package/TableSortLabel/TableSortLabel.js +0 -219
- package/TableSortLabel/index.d.ts +0 -4
- package/TableSortLabel/index.js +0 -35
- package/TableSortLabel/tableSortLabelClasses.d.ts +0 -24
- package/TableSortLabel/tableSortLabelClasses.js +0 -15
- package/Tabs/ScrollbarSize.js +0 -65
- package/Tabs/Tabs.d.ts +0 -272
- package/Tabs/Tabs.js +0 -962
- package/Tabs/index.d.ts +0 -4
- package/Tabs/index.js +0 -35
- package/Tabs/tabsClasses.d.ts +0 -36
- package/Tabs/tabsClasses.js +0 -15
- package/TextField/TextField.d.ts +0 -342
- package/TextField/TextField.js +0 -463
- package/TextField/index.d.ts +0 -4
- package/TextField/index.js +0 -35
- package/TextField/textFieldClasses.d.ts +0 -8
- package/TextField/textFieldClasses.js +0 -15
- package/TextareaAutosize/TextareaAutosize.d.ts +0 -14
- package/TextareaAutosize/TextareaAutosize.js +0 -263
- package/TextareaAutosize/TextareaAutosize.types.d.ts +0 -13
- package/TextareaAutosize/TextareaAutosize.types.js +0 -5
- package/TextareaAutosize/index.d.ts +0 -3
- package/TextareaAutosize/index.js +0 -13
- package/ToggleButton/ToggleButton.d.ts +0 -95
- package/ToggleButton/ToggleButton.js +0 -275
- package/ToggleButton/index.d.ts +0 -4
- package/ToggleButton/index.js +0 -35
- package/ToggleButton/toggleButtonClasses.d.ts +0 -26
- package/ToggleButton/toggleButtonClasses.js +0 -15
- package/ToggleButtonGroup/ToggleButtonGroup.d.ts +0 -82
- package/ToggleButtonGroup/ToggleButtonGroup.js +0 -288
- package/ToggleButtonGroup/ToggleButtonGroupButtonContext.d.ts +0 -6
- package/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +0 -17
- package/ToggleButtonGroup/ToggleButtonGroupContext.d.ts +0 -16
- package/ToggleButtonGroup/ToggleButtonGroupContext.js +0 -17
- package/ToggleButtonGroup/index.d.ts +0 -4
- package/ToggleButtonGroup/index.js +0 -35
- package/ToggleButtonGroup/isValueSelected.js +0 -17
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +0 -34
- package/ToggleButtonGroup/toggleButtonGroupClasses.js +0 -15
- package/Toolbar/Toolbar.d.ts +0 -51
- package/Toolbar/Toolbar.js +0 -136
- package/Toolbar/index.d.ts +0 -4
- package/Toolbar/index.js +0 -35
- package/Toolbar/toolbarClasses.d.ts +0 -14
- package/Toolbar/toolbarClasses.js +0 -15
- package/Tooltip/Tooltip.d.ts +0 -229
- package/Tooltip/Tooltip.js +0 -905
- package/Tooltip/index.d.ts +0 -4
- package/Tooltip/index.js +0 -35
- package/Tooltip/tooltipClasses.d.ts +0 -30
- package/Tooltip/tooltipClasses.js +0 -15
- package/Typography/Typography.d.ts +0 -99
- package/Typography/Typography.js +0 -275
- package/Typography/index.d.ts +0 -4
- package/Typography/index.js +0 -35
- package/Typography/typographyClasses.d.ts +0 -53
- package/Typography/typographyClasses.js +0 -15
- package/Unstable_TrapFocus/FocusTrap.d.ts +0 -10
- package/Unstable_TrapFocus/FocusTrap.js +0 -340
- package/Unstable_TrapFocus/FocusTrap.types.d.ts +0 -54
- package/Unstable_TrapFocus/FocusTrap.types.js +0 -5
- package/Unstable_TrapFocus/index.d.ts +0 -2
- package/Unstable_TrapFocus/index.js +0 -13
- package/Zoom/Zoom.d.ts +0 -49
- package/Zoom/Zoom.js +0 -217
- package/Zoom/index.d.ts +0 -2
- package/Zoom/index.js +0 -13
- package/className/index.d.ts +0 -1
- package/className/index.js +0 -13
- package/colors/amber.d.ts +0 -62
- package/colors/amber.js +0 -23
- package/colors/blue.d.ts +0 -62
- package/colors/blue.js +0 -23
- package/colors/blueGrey.d.ts +0 -62
- package/colors/blueGrey.js +0 -23
- package/colors/brown.d.ts +0 -62
- package/colors/brown.js +0 -23
- package/colors/common.d.ts +0 -14
- package/colors/common.js +0 -11
- package/colors/cyan.d.ts +0 -62
- package/colors/cyan.js +0 -23
- package/colors/deepOrange.d.ts +0 -62
- package/colors/deepOrange.js +0 -23
- package/colors/deepPurple.d.ts +0 -62
- package/colors/deepPurple.js +0 -23
- package/colors/green.d.ts +0 -62
- package/colors/green.js +0 -23
- package/colors/grey.d.ts +0 -62
- package/colors/grey.js +0 -23
- package/colors/index.d.ts +0 -20
- package/colors/index.js +0 -146
- package/colors/indigo.d.ts +0 -62
- package/colors/indigo.js +0 -23
- package/colors/lightBlue.d.ts +0 -62
- package/colors/lightBlue.js +0 -23
- package/colors/lightGreen.d.ts +0 -62
- package/colors/lightGreen.js +0 -23
- package/colors/lime.d.ts +0 -62
- package/colors/lime.js +0 -23
- package/colors/orange.d.ts +0 -62
- package/colors/orange.js +0 -23
- package/colors/pink.d.ts +0 -62
- package/colors/pink.js +0 -23
- package/colors/purple.d.ts +0 -62
- package/colors/purple.js +0 -23
- package/colors/red.d.ts +0 -62
- package/colors/red.js +0 -23
- package/colors/teal.d.ts +0 -62
- package/colors/teal.js +0 -23
- package/colors/yellow.d.ts +0 -62
- package/colors/yellow.js +0 -23
- package/darkScrollbar/index.d.ts +0 -28
- package/darkScrollbar/index.js +0 -38
- package/generateUtilityClass/index.d.ts +0 -2
- package/generateUtilityClass/index.js +0 -13
- package/generateUtilityClasses/index.d.ts +0 -1
- package/generateUtilityClasses/index.js +0 -13
- package/index.d.ts +0 -324
- package/index.js +0 -2612
- package/internal/SwitchBase.d.ts +0 -108
- package/internal/SwitchBase.js +0 -362
- package/internal/animate.js +0 -45
- package/internal/svg-icons/Add.js +0 -17
- package/internal/svg-icons/ArrowDownward.js +0 -18
- package/internal/svg-icons/ArrowDropDown.js +0 -18
- package/internal/svg-icons/Cancel.js +0 -18
- package/internal/svg-icons/CheckBox.js +0 -18
- package/internal/svg-icons/CheckBoxOutlineBlank.js +0 -18
- package/internal/svg-icons/CheckCircle.js +0 -18
- package/internal/svg-icons/Close.js +0 -20
- package/internal/svg-icons/ErrorOutline.js +0 -18
- package/internal/svg-icons/FirstPage.js +0 -18
- package/internal/svg-icons/IndeterminateCheckBox.js +0 -18
- package/internal/svg-icons/InfoOutlined.js +0 -18
- package/internal/svg-icons/KeyboardArrowLeft.js +0 -18
- package/internal/svg-icons/KeyboardArrowRight.js +0 -18
- package/internal/svg-icons/LastPage.js +0 -18
- package/internal/svg-icons/MoreHoriz.js +0 -18
- package/internal/svg-icons/NavigateBefore.js +0 -18
- package/internal/svg-icons/NavigateNext.js +0 -18
- package/internal/svg-icons/Person.js +0 -18
- package/internal/svg-icons/RadioButtonChecked.js +0 -18
- package/internal/svg-icons/RadioButtonUnchecked.js +0 -18
- package/internal/svg-icons/ReportProblemOutlined.js +0 -18
- package/internal/svg-icons/Star.js +0 -18
- package/internal/svg-icons/StarBorder.js +0 -18
- package/internal/svg-icons/SuccessOutlined.js +0 -18
- package/internal/svg-icons/Warning.js +0 -18
- package/internal/switchBaseClasses.d.ts +0 -12
- package/internal/switchBaseClasses.js +0 -15
- package/locale/index.d.ts +0 -82
- package/locale/index.js +0 -4330
- package/styles/ThemeProvider.d.ts +0 -76
- package/styles/ThemeProvider.js +0 -47
- package/styles/ThemeProviderNoVars.d.ts +0 -10
- package/styles/ThemeProviderNoVars.js +0 -24
- package/styles/ThemeProviderWithVars.d.ts +0 -51
- package/styles/ThemeProviderWithVars.js +0 -101
- package/styles/adaptV4Theme.d.ts +0 -36
- package/styles/adaptV4Theme.js +0 -88
- package/styles/components.d.ts +0 -595
- package/styles/components.js +0 -5
- package/styles/createColorScheme.d.ts +0 -9
- package/styles/createColorScheme.js +0 -50
- package/styles/createGetSelector.d.ts +0 -16
- package/styles/createGetSelector.js +0 -68
- package/styles/createMixins.d.ts +0 -32
- package/styles/createMixins.js +0 -22
- package/styles/createMuiStrictModeTheme.js +0 -14
- package/styles/createPalette.d.ts +0 -125
- package/styles/createPalette.js +0 -311
- package/styles/createStyles.d.ts +0 -1
- package/styles/createStyles.js +0 -16
- package/styles/createTheme.d.ts +0 -14
- package/styles/createTheme.js +0 -105
- package/styles/createThemeNoVars.d.ts +0 -70
- package/styles/createThemeNoVars.js +0 -99
- package/styles/createThemeWithVars.d.ts +0 -350
- package/styles/createThemeWithVars.js +0 -396
- package/styles/createTransitions.d.ts +0 -51
- package/styles/createTransitions.js +0 -96
- package/styles/createTypography.d.ts +0 -28
- package/styles/createTypography.js +0 -99
- package/styles/cssUtils.d.ts +0 -25
- package/styles/cssUtils.js +0 -137
- package/styles/defaultTheme.js +0 -11
- package/styles/excludeVariablesFromRoot.d.ts +0 -5
- package/styles/excludeVariablesFromRoot.js +0 -11
- package/styles/experimental_extendTheme.js +0 -16
- package/styles/getOverlayAlpha.d.ts +0 -1
- package/styles/getOverlayAlpha.js +0 -16
- package/styles/identifier.d.ts +0 -2
- package/styles/identifier.js +0 -7
- package/styles/index.d.ts +0 -49
- package/styles/index.js +0 -348
- package/styles/makeStyles.d.ts +0 -1
- package/styles/makeStyles.js +0 -11
- package/styles/overrides.d.ts +0 -244
- package/styles/overrides.js +0 -5
- package/styles/props.d.ts +0 -241
- package/styles/props.js +0 -5
- package/styles/responsiveFontSizes.d.ts +0 -11
- package/styles/responsiveFontSizes.js +0 -74
- package/styles/rootShouldForwardProp.d.ts +0 -2
- package/styles/rootShouldForwardProp.js +0 -10
- package/styles/shadows.d.ts +0 -3
- package/styles/shadows.js +0 -16
- package/styles/shouldSkipGeneratingVar.d.ts +0 -1
- package/styles/shouldSkipGeneratingVar.js +0 -11
- package/styles/slotShouldForwardProp.d.ts +0 -2
- package/styles/slotShouldForwardProp.js +0 -11
- package/styles/stringifyTheme.d.ts +0 -20
- package/styles/stringifyTheme.js +0 -61
- package/styles/styled.d.ts +0 -13
- package/styles/styled.js +0 -31
- package/styles/useTheme.d.ts +0 -2
- package/styles/useTheme.js +0 -22
- package/styles/useThemeProps.d.ts +0 -42
- package/styles/useThemeProps.js +0 -22
- package/styles/variants.d.ts +0 -10
- package/styles/variants.js +0 -5
- package/styles/withStyles.d.ts +0 -1
- package/styles/withStyles.js +0 -11
- package/styles/withTheme.d.ts +0 -1
- package/styles/withTheme.js +0 -11
- package/styles/zIndex.d.ts +0 -13
- package/styles/zIndex.js +0 -19
- package/themeCssVarsAugmentation/index.d.ts +0 -10
- package/transitions/index.d.ts +0 -1
- package/transitions/index.js +0 -16
- package/transitions/transition.d.ts +0 -12
- package/transitions/transition.js +0 -5
- package/transitions/utils.d.ts +0 -23
- package/transitions/utils.js +0 -21
- package/types/OverridableComponentAugmentation.d.ts +0 -31
- package/types/OverridableComponentAugmentation.js +0 -5
- package/useAutocomplete/index.d.ts +0 -2
- package/useAutocomplete/index.js +0 -19
- package/useAutocomplete/useAutocomplete.d.ts +0 -420
- package/useAutocomplete/useAutocomplete.js +0 -1030
- package/useLazyRipple/index.d.ts +0 -1
- package/useLazyRipple/index.js +0 -14
- package/useLazyRipple/useLazyRipple.d.ts +0 -32
- package/useLazyRipple/useLazyRipple.js +0 -94
- package/useMediaQuery/index.d.ts +0 -7
- package/useMediaQuery/index.js +0 -13
- package/usePagination/index.d.ts +0 -2
- package/usePagination/index.js +0 -13
- package/usePagination/usePagination.d.ts +0 -74
- package/usePagination/usePagination.js +0 -119
- package/useScrollTrigger/index.d.ts +0 -1
- package/useScrollTrigger/index.js +0 -13
- package/useScrollTrigger/useScrollTrigger.d.ts +0 -6
- package/useScrollTrigger/useScrollTrigger.js +0 -61
- package/utils/PolymorphicComponent.d.ts +0 -17
- package/utils/PolymorphicComponent.js +0 -5
- package/utils/areArraysEqual.d.ts +0 -3
- package/utils/areArraysEqual.js +0 -10
- package/utils/capitalize.d.ts +0 -2
- package/utils/capitalize.js +0 -9
- package/utils/createChainedFunction.d.ts +0 -2
- package/utils/createChainedFunction.js +0 -9
- package/utils/createSimplePaletteValueFilter.d.ts +0 -12
- package/utils/createSimplePaletteValueFilter.js +0 -47
- package/utils/createSvgIcon.d.ts +0 -2
- package/utils/createSvgIcon.js +0 -31
- package/utils/debounce.d.ts +0 -2
- package/utils/debounce.js +0 -9
- package/utils/deprecatedPropType.d.ts +0 -2
- package/utils/deprecatedPropType.js +0 -9
- package/utils/getScrollbarSize.d.ts +0 -2
- package/utils/getScrollbarSize.js +0 -9
- package/utils/index.d.ts +0 -20
- package/utils/index.js +0 -145
- package/utils/isHostComponent.d.ts +0 -6
- package/utils/isHostComponent.js +0 -13
- package/utils/isMuiElement.d.ts +0 -2
- package/utils/isMuiElement.js +0 -9
- package/utils/memoTheme.d.ts +0 -7
- package/utils/memoTheme.js +0 -9
- package/utils/mergeSlotProps.d.ts +0 -2
- package/utils/mergeSlotProps.js +0 -81
- package/utils/omitEventHandlers.d.ts +0 -9
- package/utils/omitEventHandlers.js +0 -24
- package/utils/ownerDocument.d.ts +0 -2
- package/utils/ownerDocument.js +0 -9
- package/utils/ownerWindow.d.ts +0 -2
- package/utils/ownerWindow.js +0 -9
- package/utils/requirePropFactory.d.ts +0 -2
- package/utils/requirePropFactory.js +0 -9
- package/utils/setRef.d.ts +0 -2
- package/utils/setRef.js +0 -9
- package/utils/shouldSpreadAdditionalProps.js +0 -12
- package/utils/types.d.ts +0 -26
- package/utils/types.js +0 -5
- package/utils/unsupportedProp.d.ts +0 -2
- package/utils/unsupportedProp.js +0 -9
- package/utils/useControlled.d.ts +0 -2
- package/utils/useControlled.js +0 -10
- package/utils/useEnhancedEffect.d.ts +0 -2
- package/utils/useEnhancedEffect.js +0 -10
- package/utils/useEventCallback.d.ts +0 -2
- package/utils/useEventCallback.js +0 -10
- package/utils/useForkRef.d.ts +0 -2
- package/utils/useForkRef.js +0 -10
- package/utils/useId.d.ts +0 -2
- package/utils/useId.js +0 -10
- package/utils/useSlot.d.ts +0 -81
- package/utils/useSlot.js +0 -86
- package/version/index.d.ts +0 -6
- package/version/index.js +0 -12
- package/zero-styled/index.d.ts +0 -12
- package/zero-styled/index.js +0 -59
package/GridLegacy/GridLegacy.js
DELETED
|
@@ -1,601 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
'use client';
|
|
3
|
-
|
|
4
|
-
// A grid component using the following libs as inspiration.
|
|
5
|
-
//
|
|
6
|
-
// For the implementation:
|
|
7
|
-
// - https://getbootstrap.com/docs/4.3/layout/grid/
|
|
8
|
-
// - https://github.com/kristoferjoseph/flexboxgrid/blob/master/src/css/flexboxgrid.css
|
|
9
|
-
// - https://github.com/roylee0704/react-flexbox-grid
|
|
10
|
-
// - https://material.angularjs.org/latest/layout/introduction
|
|
11
|
-
//
|
|
12
|
-
// Follow this flexbox Guide to better understand the underlying model:
|
|
13
|
-
// - https://css-tricks.com/snippets/css/a-guide-to-flexbox/
|
|
14
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
15
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
16
|
-
Object.defineProperty(exports, "__esModule", {
|
|
17
|
-
value: true
|
|
18
|
-
});
|
|
19
|
-
exports.default = void 0;
|
|
20
|
-
exports.generateColumnGap = generateColumnGap;
|
|
21
|
-
exports.generateDirection = generateDirection;
|
|
22
|
-
exports.generateGridLegacy = generateGridLegacy;
|
|
23
|
-
exports.generateRowGap = generateRowGap;
|
|
24
|
-
exports.resolveSpacingClasses = resolveSpacingClasses;
|
|
25
|
-
exports.resolveSpacingStyles = resolveSpacingStyles;
|
|
26
|
-
var React = _interopRequireWildcard(require("react"));
|
|
27
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
28
|
-
var _clsx = _interopRequireDefault(require("clsx"));
|
|
29
|
-
var _system = require("@mui/system");
|
|
30
|
-
var _styleFunctionSx = require("@mui/system/styleFunctionSx");
|
|
31
|
-
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
32
|
-
var _requirePropFactory = _interopRequireDefault(require("../utils/requirePropFactory"));
|
|
33
|
-
var _styled = _interopRequireDefault(require("../styles/styled"));
|
|
34
|
-
var _DefaultPropsProvider = require("../DefaultPropsProvider");
|
|
35
|
-
var _useTheme = _interopRequireDefault(require("../styles/useTheme"));
|
|
36
|
-
var _GridLegacyContext = _interopRequireDefault(require("./GridLegacyContext"));
|
|
37
|
-
var _gridLegacyClasses = _interopRequireWildcard(require("./gridLegacyClasses"));
|
|
38
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
39
|
-
let warnedOnce = false;
|
|
40
|
-
function warnAboutDeprecatedGridLegacy() {
|
|
41
|
-
if (!warnedOnce && process.env.NODE_ENV === 'development') {
|
|
42
|
-
warnedOnce = true;
|
|
43
|
-
console.warn('MUI: The GridLegacy component is deprecated. See https://mui.com/material-ui/migration/upgrade-to-grid-v2/ for migration instructions.\n');
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
function generateGridLegacy({
|
|
47
|
-
theme,
|
|
48
|
-
ownerState
|
|
49
|
-
}) {
|
|
50
|
-
let size;
|
|
51
|
-
return theme.breakpoints.keys.reduce((globalStyles, breakpoint) => {
|
|
52
|
-
// Use side effect over immutability for better performance.
|
|
53
|
-
let styles = {};
|
|
54
|
-
if (ownerState[breakpoint]) {
|
|
55
|
-
size = ownerState[breakpoint];
|
|
56
|
-
}
|
|
57
|
-
if (!size) {
|
|
58
|
-
return globalStyles;
|
|
59
|
-
}
|
|
60
|
-
if (size === true) {
|
|
61
|
-
// For the auto layouting
|
|
62
|
-
styles = {
|
|
63
|
-
flexBasis: 0,
|
|
64
|
-
flexGrow: 1,
|
|
65
|
-
maxWidth: '100%'
|
|
66
|
-
};
|
|
67
|
-
} else if (size === 'auto') {
|
|
68
|
-
styles = {
|
|
69
|
-
flexBasis: 'auto',
|
|
70
|
-
flexGrow: 0,
|
|
71
|
-
flexShrink: 0,
|
|
72
|
-
maxWidth: 'none',
|
|
73
|
-
width: 'auto'
|
|
74
|
-
};
|
|
75
|
-
} else {
|
|
76
|
-
const columnsBreakpointValues = (0, _system.unstable_resolveBreakpointValues)({
|
|
77
|
-
values: ownerState.columns,
|
|
78
|
-
breakpoints: theme.breakpoints.values
|
|
79
|
-
});
|
|
80
|
-
const columnValue = typeof columnsBreakpointValues === 'object' ? columnsBreakpointValues[breakpoint] : columnsBreakpointValues;
|
|
81
|
-
if (columnValue === undefined || columnValue === null) {
|
|
82
|
-
return globalStyles;
|
|
83
|
-
}
|
|
84
|
-
// Keep 7 significant numbers.
|
|
85
|
-
const width = `${Math.round(size / columnValue * 10e7) / 10e5}%`;
|
|
86
|
-
let more = {};
|
|
87
|
-
if (ownerState.container && ownerState.item && ownerState.columnSpacing !== 0) {
|
|
88
|
-
const themeSpacing = theme.spacing(ownerState.columnSpacing);
|
|
89
|
-
if (themeSpacing !== '0px') {
|
|
90
|
-
const fullWidth = `calc(${width} + ${themeSpacing})`;
|
|
91
|
-
more = {
|
|
92
|
-
flexBasis: fullWidth,
|
|
93
|
-
maxWidth: fullWidth
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Close to the bootstrap implementation:
|
|
99
|
-
// https://github.com/twbs/bootstrap/blob/8fccaa2439e97ec72a4b7dc42ccc1f649790adb0/scss/mixins/_grid.scss#L41
|
|
100
|
-
styles = {
|
|
101
|
-
flexBasis: width,
|
|
102
|
-
flexGrow: 0,
|
|
103
|
-
maxWidth: width,
|
|
104
|
-
...more
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
// No need for a media query for the first size.
|
|
109
|
-
if (theme.breakpoints.values[breakpoint] === 0) {
|
|
110
|
-
Object.assign(globalStyles, styles);
|
|
111
|
-
} else {
|
|
112
|
-
globalStyles[theme.breakpoints.up(breakpoint)] = styles;
|
|
113
|
-
}
|
|
114
|
-
return globalStyles;
|
|
115
|
-
}, {});
|
|
116
|
-
}
|
|
117
|
-
function generateDirection({
|
|
118
|
-
theme,
|
|
119
|
-
ownerState
|
|
120
|
-
}) {
|
|
121
|
-
const directionValues = (0, _system.unstable_resolveBreakpointValues)({
|
|
122
|
-
values: ownerState.direction,
|
|
123
|
-
breakpoints: theme.breakpoints.values
|
|
124
|
-
});
|
|
125
|
-
return (0, _system.handleBreakpoints)({
|
|
126
|
-
theme
|
|
127
|
-
}, directionValues, propValue => {
|
|
128
|
-
const output = {
|
|
129
|
-
flexDirection: propValue
|
|
130
|
-
};
|
|
131
|
-
if (propValue.startsWith('column')) {
|
|
132
|
-
output[`& > .${_gridLegacyClasses.default.item}`] = {
|
|
133
|
-
maxWidth: 'none'
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
return output;
|
|
137
|
-
});
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* Extracts zero value breakpoint keys before a non-zero value breakpoint key.
|
|
142
|
-
* @example { xs: 0, sm: 0, md: 2, lg: 0, xl: 0 } or [0, 0, 2, 0, 0]
|
|
143
|
-
* @returns [xs, sm]
|
|
144
|
-
*/
|
|
145
|
-
function extractZeroValueBreakpointKeys({
|
|
146
|
-
breakpoints,
|
|
147
|
-
values
|
|
148
|
-
}) {
|
|
149
|
-
let nonZeroKey = '';
|
|
150
|
-
Object.keys(values).forEach(key => {
|
|
151
|
-
if (nonZeroKey !== '') {
|
|
152
|
-
return;
|
|
153
|
-
}
|
|
154
|
-
if (values[key] !== 0) {
|
|
155
|
-
nonZeroKey = key;
|
|
156
|
-
}
|
|
157
|
-
});
|
|
158
|
-
const sortedBreakpointKeysByValue = Object.keys(breakpoints).sort((a, b) => {
|
|
159
|
-
return breakpoints[a] - breakpoints[b];
|
|
160
|
-
});
|
|
161
|
-
return sortedBreakpointKeysByValue.slice(0, sortedBreakpointKeysByValue.indexOf(nonZeroKey));
|
|
162
|
-
}
|
|
163
|
-
function generateRowGap({
|
|
164
|
-
theme,
|
|
165
|
-
ownerState
|
|
166
|
-
}) {
|
|
167
|
-
const {
|
|
168
|
-
container,
|
|
169
|
-
rowSpacing
|
|
170
|
-
} = ownerState;
|
|
171
|
-
let styles = {};
|
|
172
|
-
if (container && rowSpacing !== 0) {
|
|
173
|
-
const rowSpacingValues = (0, _system.unstable_resolveBreakpointValues)({
|
|
174
|
-
values: rowSpacing,
|
|
175
|
-
breakpoints: theme.breakpoints.values
|
|
176
|
-
});
|
|
177
|
-
let zeroValueBreakpointKeys;
|
|
178
|
-
if (typeof rowSpacingValues === 'object') {
|
|
179
|
-
zeroValueBreakpointKeys = extractZeroValueBreakpointKeys({
|
|
180
|
-
breakpoints: theme.breakpoints.values,
|
|
181
|
-
values: rowSpacingValues
|
|
182
|
-
});
|
|
183
|
-
}
|
|
184
|
-
styles = (0, _system.handleBreakpoints)({
|
|
185
|
-
theme
|
|
186
|
-
}, rowSpacingValues, (propValue, breakpoint) => {
|
|
187
|
-
const themeSpacing = theme.spacing(propValue);
|
|
188
|
-
if (themeSpacing !== '0px') {
|
|
189
|
-
return {
|
|
190
|
-
marginTop: `calc(-1 * ${themeSpacing})`,
|
|
191
|
-
[`& > .${_gridLegacyClasses.default.item}`]: {
|
|
192
|
-
paddingTop: themeSpacing
|
|
193
|
-
}
|
|
194
|
-
};
|
|
195
|
-
}
|
|
196
|
-
if (zeroValueBreakpointKeys?.includes(breakpoint)) {
|
|
197
|
-
return {};
|
|
198
|
-
}
|
|
199
|
-
return {
|
|
200
|
-
marginTop: 0,
|
|
201
|
-
[`& > .${_gridLegacyClasses.default.item}`]: {
|
|
202
|
-
paddingTop: 0
|
|
203
|
-
}
|
|
204
|
-
};
|
|
205
|
-
});
|
|
206
|
-
}
|
|
207
|
-
return styles;
|
|
208
|
-
}
|
|
209
|
-
function generateColumnGap({
|
|
210
|
-
theme,
|
|
211
|
-
ownerState
|
|
212
|
-
}) {
|
|
213
|
-
const {
|
|
214
|
-
container,
|
|
215
|
-
columnSpacing
|
|
216
|
-
} = ownerState;
|
|
217
|
-
let styles = {};
|
|
218
|
-
if (container && columnSpacing !== 0) {
|
|
219
|
-
const columnSpacingValues = (0, _system.unstable_resolveBreakpointValues)({
|
|
220
|
-
values: columnSpacing,
|
|
221
|
-
breakpoints: theme.breakpoints.values
|
|
222
|
-
});
|
|
223
|
-
let zeroValueBreakpointKeys;
|
|
224
|
-
if (typeof columnSpacingValues === 'object') {
|
|
225
|
-
zeroValueBreakpointKeys = extractZeroValueBreakpointKeys({
|
|
226
|
-
breakpoints: theme.breakpoints.values,
|
|
227
|
-
values: columnSpacingValues
|
|
228
|
-
});
|
|
229
|
-
}
|
|
230
|
-
styles = (0, _system.handleBreakpoints)({
|
|
231
|
-
theme
|
|
232
|
-
}, columnSpacingValues, (propValue, breakpoint) => {
|
|
233
|
-
const themeSpacing = theme.spacing(propValue);
|
|
234
|
-
if (themeSpacing !== '0px') {
|
|
235
|
-
const negativeValue = `calc(-1 * ${themeSpacing})`;
|
|
236
|
-
return {
|
|
237
|
-
width: `calc(100% + ${themeSpacing})`,
|
|
238
|
-
marginLeft: negativeValue,
|
|
239
|
-
[`& > .${_gridLegacyClasses.default.item}`]: {
|
|
240
|
-
paddingLeft: themeSpacing
|
|
241
|
-
}
|
|
242
|
-
};
|
|
243
|
-
}
|
|
244
|
-
if (zeroValueBreakpointKeys?.includes(breakpoint)) {
|
|
245
|
-
return {};
|
|
246
|
-
}
|
|
247
|
-
return {
|
|
248
|
-
width: '100%',
|
|
249
|
-
marginLeft: 0,
|
|
250
|
-
[`& > .${_gridLegacyClasses.default.item}`]: {
|
|
251
|
-
paddingLeft: 0
|
|
252
|
-
}
|
|
253
|
-
};
|
|
254
|
-
});
|
|
255
|
-
}
|
|
256
|
-
return styles;
|
|
257
|
-
}
|
|
258
|
-
function resolveSpacingStyles(spacing, breakpoints, styles = {}) {
|
|
259
|
-
// undefined/null or `spacing` <= 0
|
|
260
|
-
if (!spacing || spacing <= 0) {
|
|
261
|
-
return [];
|
|
262
|
-
}
|
|
263
|
-
// in case of string/number `spacing`
|
|
264
|
-
if (typeof spacing === 'string' && !Number.isNaN(Number(spacing)) || typeof spacing === 'number') {
|
|
265
|
-
return [styles[`spacing-xs-${String(spacing)}`]];
|
|
266
|
-
}
|
|
267
|
-
// in case of object `spacing`
|
|
268
|
-
const spacingStyles = [];
|
|
269
|
-
breakpoints.forEach(breakpoint => {
|
|
270
|
-
const value = spacing[breakpoint];
|
|
271
|
-
if (Number(value) > 0) {
|
|
272
|
-
spacingStyles.push(styles[`spacing-${breakpoint}-${String(value)}`]);
|
|
273
|
-
}
|
|
274
|
-
});
|
|
275
|
-
return spacingStyles;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
// Default CSS values
|
|
279
|
-
// flex: '0 1 auto',
|
|
280
|
-
// flexDirection: 'row',
|
|
281
|
-
// alignItems: 'flex-start',
|
|
282
|
-
// flexWrap: 'nowrap',
|
|
283
|
-
// justifyContent: 'flex-start',
|
|
284
|
-
const GridLegacyRoot = (0, _styled.default)('div', {
|
|
285
|
-
name: 'MuiGridLegacy',
|
|
286
|
-
slot: 'Root',
|
|
287
|
-
overridesResolver: (props, styles) => {
|
|
288
|
-
const {
|
|
289
|
-
ownerState
|
|
290
|
-
} = props;
|
|
291
|
-
const {
|
|
292
|
-
container,
|
|
293
|
-
direction,
|
|
294
|
-
item,
|
|
295
|
-
spacing,
|
|
296
|
-
wrap,
|
|
297
|
-
zeroMinWidth,
|
|
298
|
-
breakpoints
|
|
299
|
-
} = ownerState;
|
|
300
|
-
let spacingStyles = [];
|
|
301
|
-
|
|
302
|
-
// in case of grid item
|
|
303
|
-
if (container) {
|
|
304
|
-
spacingStyles = resolveSpacingStyles(spacing, breakpoints, styles);
|
|
305
|
-
}
|
|
306
|
-
const breakpointsStyles = [];
|
|
307
|
-
breakpoints.forEach(breakpoint => {
|
|
308
|
-
const value = ownerState[breakpoint];
|
|
309
|
-
if (value) {
|
|
310
|
-
breakpointsStyles.push(styles[`grid-${breakpoint}-${String(value)}`]);
|
|
311
|
-
}
|
|
312
|
-
});
|
|
313
|
-
return [styles.root, container && styles.container, item && styles.item, zeroMinWidth && styles.zeroMinWidth, ...spacingStyles, direction !== 'row' && styles[`direction-xs-${String(direction)}`], wrap !== 'wrap' && styles[`wrap-xs-${String(wrap)}`], ...breakpointsStyles];
|
|
314
|
-
}
|
|
315
|
-
})(
|
|
316
|
-
// FIXME(romgrk): Can't use memoTheme here
|
|
317
|
-
({
|
|
318
|
-
ownerState
|
|
319
|
-
}) => ({
|
|
320
|
-
boxSizing: 'border-box',
|
|
321
|
-
...(ownerState.container && {
|
|
322
|
-
display: 'flex',
|
|
323
|
-
flexWrap: 'wrap',
|
|
324
|
-
width: '100%'
|
|
325
|
-
}),
|
|
326
|
-
...(ownerState.item && {
|
|
327
|
-
margin: 0 // For instance, it's useful when used with a `figure` element.
|
|
328
|
-
}),
|
|
329
|
-
...(ownerState.zeroMinWidth && {
|
|
330
|
-
minWidth: 0
|
|
331
|
-
}),
|
|
332
|
-
...(ownerState.wrap !== 'wrap' && {
|
|
333
|
-
flexWrap: ownerState.wrap
|
|
334
|
-
})
|
|
335
|
-
}), generateDirection, generateRowGap, generateColumnGap, generateGridLegacy);
|
|
336
|
-
function resolveSpacingClasses(spacing, breakpoints) {
|
|
337
|
-
// undefined/null or `spacing` <= 0
|
|
338
|
-
if (!spacing || spacing <= 0) {
|
|
339
|
-
return [];
|
|
340
|
-
}
|
|
341
|
-
// in case of string/number `spacing`
|
|
342
|
-
if (typeof spacing === 'string' && !Number.isNaN(Number(spacing)) || typeof spacing === 'number') {
|
|
343
|
-
return [`spacing-xs-${String(spacing)}`];
|
|
344
|
-
}
|
|
345
|
-
// in case of object `spacing`
|
|
346
|
-
const classes = [];
|
|
347
|
-
breakpoints.forEach(breakpoint => {
|
|
348
|
-
const value = spacing[breakpoint];
|
|
349
|
-
if (Number(value) > 0) {
|
|
350
|
-
const className = `spacing-${breakpoint}-${String(value)}`;
|
|
351
|
-
classes.push(className);
|
|
352
|
-
}
|
|
353
|
-
});
|
|
354
|
-
return classes;
|
|
355
|
-
}
|
|
356
|
-
const useUtilityClasses = ownerState => {
|
|
357
|
-
const {
|
|
358
|
-
classes,
|
|
359
|
-
container,
|
|
360
|
-
direction,
|
|
361
|
-
item,
|
|
362
|
-
spacing,
|
|
363
|
-
wrap,
|
|
364
|
-
zeroMinWidth,
|
|
365
|
-
breakpoints
|
|
366
|
-
} = ownerState;
|
|
367
|
-
let spacingClasses = [];
|
|
368
|
-
|
|
369
|
-
// in case of grid item
|
|
370
|
-
if (container) {
|
|
371
|
-
spacingClasses = resolveSpacingClasses(spacing, breakpoints);
|
|
372
|
-
}
|
|
373
|
-
const breakpointsClasses = [];
|
|
374
|
-
breakpoints.forEach(breakpoint => {
|
|
375
|
-
const value = ownerState[breakpoint];
|
|
376
|
-
if (value) {
|
|
377
|
-
breakpointsClasses.push(`grid-${breakpoint}-${String(value)}`);
|
|
378
|
-
}
|
|
379
|
-
});
|
|
380
|
-
const slots = {
|
|
381
|
-
root: ['root', container && 'container', item && 'item', zeroMinWidth && 'zeroMinWidth', ...spacingClasses, direction !== 'row' && `direction-xs-${String(direction)}`, wrap !== 'wrap' && `wrap-xs-${String(wrap)}`, ...breakpointsClasses]
|
|
382
|
-
};
|
|
383
|
-
return (0, _composeClasses.default)(slots, _gridLegacyClasses.getGridLegacyUtilityClass, classes);
|
|
384
|
-
};
|
|
385
|
-
|
|
386
|
-
/**
|
|
387
|
-
* @deprecated Use the [`Grid`](https://mui.com/material-ui/react-grid/) component instead.
|
|
388
|
-
*/
|
|
389
|
-
const GridLegacy = /*#__PURE__*/React.forwardRef(function GridLegacy(inProps, ref) {
|
|
390
|
-
const themeProps = (0, _DefaultPropsProvider.useDefaultProps)({
|
|
391
|
-
props: inProps,
|
|
392
|
-
name: 'MuiGridLegacy'
|
|
393
|
-
});
|
|
394
|
-
const {
|
|
395
|
-
breakpoints
|
|
396
|
-
} = (0, _useTheme.default)();
|
|
397
|
-
const props = (0, _styleFunctionSx.extendSxProp)(themeProps);
|
|
398
|
-
const {
|
|
399
|
-
className,
|
|
400
|
-
columns: columnsProp,
|
|
401
|
-
columnSpacing: columnSpacingProp,
|
|
402
|
-
component = 'div',
|
|
403
|
-
container = false,
|
|
404
|
-
direction = 'row',
|
|
405
|
-
item = false,
|
|
406
|
-
rowSpacing: rowSpacingProp,
|
|
407
|
-
spacing = 0,
|
|
408
|
-
wrap = 'wrap',
|
|
409
|
-
zeroMinWidth = false,
|
|
410
|
-
...other
|
|
411
|
-
} = props;
|
|
412
|
-
React.useEffect(() => {
|
|
413
|
-
warnAboutDeprecatedGridLegacy();
|
|
414
|
-
}, []);
|
|
415
|
-
const rowSpacing = rowSpacingProp || spacing;
|
|
416
|
-
const columnSpacing = columnSpacingProp || spacing;
|
|
417
|
-
const columnsContext = React.useContext(_GridLegacyContext.default);
|
|
418
|
-
|
|
419
|
-
// columns set with default breakpoint unit of 12
|
|
420
|
-
const columns = container ? columnsProp || 12 : columnsContext;
|
|
421
|
-
const breakpointsValues = {};
|
|
422
|
-
const otherFiltered = {
|
|
423
|
-
...other
|
|
424
|
-
};
|
|
425
|
-
breakpoints.keys.forEach(breakpoint => {
|
|
426
|
-
if (other[breakpoint] != null) {
|
|
427
|
-
breakpointsValues[breakpoint] = other[breakpoint];
|
|
428
|
-
delete otherFiltered[breakpoint];
|
|
429
|
-
}
|
|
430
|
-
});
|
|
431
|
-
const ownerState = {
|
|
432
|
-
...props,
|
|
433
|
-
columns,
|
|
434
|
-
container,
|
|
435
|
-
direction,
|
|
436
|
-
item,
|
|
437
|
-
rowSpacing,
|
|
438
|
-
columnSpacing,
|
|
439
|
-
wrap,
|
|
440
|
-
zeroMinWidth,
|
|
441
|
-
spacing,
|
|
442
|
-
...breakpointsValues,
|
|
443
|
-
breakpoints: breakpoints.keys
|
|
444
|
-
};
|
|
445
|
-
const classes = useUtilityClasses(ownerState);
|
|
446
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_GridLegacyContext.default.Provider, {
|
|
447
|
-
value: columns,
|
|
448
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(GridLegacyRoot, {
|
|
449
|
-
ownerState: ownerState,
|
|
450
|
-
className: (0, _clsx.default)(classes.root, className),
|
|
451
|
-
as: component,
|
|
452
|
-
ref: ref,
|
|
453
|
-
...otherFiltered
|
|
454
|
-
})
|
|
455
|
-
});
|
|
456
|
-
});
|
|
457
|
-
process.env.NODE_ENV !== "production" ? GridLegacy.propTypes /* remove-proptypes */ = {
|
|
458
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
459
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
460
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
461
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
462
|
-
/**
|
|
463
|
-
* The content of the component.
|
|
464
|
-
*/
|
|
465
|
-
children: _propTypes.default.node,
|
|
466
|
-
/**
|
|
467
|
-
* Override or extend the styles applied to the component.
|
|
468
|
-
*/
|
|
469
|
-
classes: _propTypes.default.object,
|
|
470
|
-
/**
|
|
471
|
-
* @ignore
|
|
472
|
-
*/
|
|
473
|
-
className: _propTypes.default.string,
|
|
474
|
-
/**
|
|
475
|
-
* The number of columns.
|
|
476
|
-
* @default 12
|
|
477
|
-
*/
|
|
478
|
-
columns: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.number), _propTypes.default.number, _propTypes.default.object]),
|
|
479
|
-
/**
|
|
480
|
-
* Defines the horizontal space between the type `item` components.
|
|
481
|
-
* It overrides the value of the `spacing` prop.
|
|
482
|
-
*/
|
|
483
|
-
columnSpacing: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string])), _propTypes.default.number, _propTypes.default.object, _propTypes.default.string]),
|
|
484
|
-
/**
|
|
485
|
-
* The component used for the root node.
|
|
486
|
-
* Either a string to use a HTML element or a component.
|
|
487
|
-
*/
|
|
488
|
-
component: _propTypes.default.elementType,
|
|
489
|
-
/**
|
|
490
|
-
* If `true`, the component will have the flex *container* behavior.
|
|
491
|
-
* You should be wrapping *items* with a *container*.
|
|
492
|
-
* @default false
|
|
493
|
-
*/
|
|
494
|
-
container: _propTypes.default.bool,
|
|
495
|
-
/**
|
|
496
|
-
* Defines the `flex-direction` style property.
|
|
497
|
-
* It is applied for all screen sizes.
|
|
498
|
-
* @default 'row'
|
|
499
|
-
*/
|
|
500
|
-
direction: _propTypes.default.oneOfType([_propTypes.default.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), _propTypes.default.arrayOf(_propTypes.default.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), _propTypes.default.object]),
|
|
501
|
-
/**
|
|
502
|
-
* If `true`, the component will have the flex *item* behavior.
|
|
503
|
-
* You should be wrapping *items* with a *container*.
|
|
504
|
-
* @default false
|
|
505
|
-
*/
|
|
506
|
-
item: _propTypes.default.bool,
|
|
507
|
-
/**
|
|
508
|
-
* If a number, it sets the number of columns the grid item uses.
|
|
509
|
-
* It can't be greater than the total number of columns of the container (12 by default).
|
|
510
|
-
* If 'auto', the grid item's width matches its content.
|
|
511
|
-
* If false, the prop is ignored.
|
|
512
|
-
* If true, the grid item's width grows to use the space available in the grid container.
|
|
513
|
-
* The value is applied for the `lg` breakpoint and wider screens if not overridden.
|
|
514
|
-
* @default false
|
|
515
|
-
*/
|
|
516
|
-
lg: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number, _propTypes.default.bool]),
|
|
517
|
-
/**
|
|
518
|
-
* If a number, it sets the number of columns the grid item uses.
|
|
519
|
-
* It can't be greater than the total number of columns of the container (12 by default).
|
|
520
|
-
* If 'auto', the grid item's width matches its content.
|
|
521
|
-
* If false, the prop is ignored.
|
|
522
|
-
* If true, the grid item's width grows to use the space available in the grid container.
|
|
523
|
-
* The value is applied for the `md` breakpoint and wider screens if not overridden.
|
|
524
|
-
* @default false
|
|
525
|
-
*/
|
|
526
|
-
md: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number, _propTypes.default.bool]),
|
|
527
|
-
/**
|
|
528
|
-
* Defines the vertical space between the type `item` components.
|
|
529
|
-
* It overrides the value of the `spacing` prop.
|
|
530
|
-
*/
|
|
531
|
-
rowSpacing: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string])), _propTypes.default.number, _propTypes.default.object, _propTypes.default.string]),
|
|
532
|
-
/**
|
|
533
|
-
* If a number, it sets the number of columns the grid item uses.
|
|
534
|
-
* It can't be greater than the total number of columns of the container (12 by default).
|
|
535
|
-
* If 'auto', the grid item's width matches its content.
|
|
536
|
-
* If false, the prop is ignored.
|
|
537
|
-
* If true, the grid item's width grows to use the space available in the grid container.
|
|
538
|
-
* The value is applied for the `sm` breakpoint and wider screens if not overridden.
|
|
539
|
-
* @default false
|
|
540
|
-
*/
|
|
541
|
-
sm: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number, _propTypes.default.bool]),
|
|
542
|
-
/**
|
|
543
|
-
* Defines the space between the type `item` components.
|
|
544
|
-
* It can only be used on a type `container` component.
|
|
545
|
-
* @default 0
|
|
546
|
-
*/
|
|
547
|
-
spacing: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string])), _propTypes.default.number, _propTypes.default.object, _propTypes.default.string]),
|
|
548
|
-
/**
|
|
549
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
550
|
-
*/
|
|
551
|
-
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]),
|
|
552
|
-
/**
|
|
553
|
-
* Defines the `flex-wrap` style property.
|
|
554
|
-
* It's applied for all screen sizes.
|
|
555
|
-
* @default 'wrap'
|
|
556
|
-
*/
|
|
557
|
-
wrap: _propTypes.default.oneOf(['nowrap', 'wrap-reverse', 'wrap']),
|
|
558
|
-
/**
|
|
559
|
-
* If a number, it sets the number of columns the grid item uses.
|
|
560
|
-
* It can't be greater than the total number of columns of the container (12 by default).
|
|
561
|
-
* If 'auto', the grid item's width matches its content.
|
|
562
|
-
* If false, the prop is ignored.
|
|
563
|
-
* If true, the grid item's width grows to use the space available in the grid container.
|
|
564
|
-
* The value is applied for the `xl` breakpoint and wider screens if not overridden.
|
|
565
|
-
* @default false
|
|
566
|
-
*/
|
|
567
|
-
xl: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number, _propTypes.default.bool]),
|
|
568
|
-
/**
|
|
569
|
-
* If a number, it sets the number of columns the grid item uses.
|
|
570
|
-
* It can't be greater than the total number of columns of the container (12 by default).
|
|
571
|
-
* If 'auto', the grid item's width matches its content.
|
|
572
|
-
* If false, the prop is ignored.
|
|
573
|
-
* If true, the grid item's width grows to use the space available in the grid container.
|
|
574
|
-
* The value is applied for all the screen sizes with the lowest priority.
|
|
575
|
-
* @default false
|
|
576
|
-
*/
|
|
577
|
-
xs: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.number, _propTypes.default.bool]),
|
|
578
|
-
/**
|
|
579
|
-
* If `true`, it sets `min-width: 0` on the item.
|
|
580
|
-
* Refer to the limitations section of the documentation to better understand the use case.
|
|
581
|
-
* @default false
|
|
582
|
-
*/
|
|
583
|
-
zeroMinWidth: _propTypes.default.bool
|
|
584
|
-
} : void 0;
|
|
585
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
586
|
-
const requireProp = (0, _requirePropFactory.default)('GridLegacy', GridLegacy);
|
|
587
|
-
// eslint-disable-next-line no-useless-concat
|
|
588
|
-
GridLegacy['propTypes' + ''] = {
|
|
589
|
-
// eslint-disable-next-line react/forbid-foreign-prop-types
|
|
590
|
-
...GridLegacy.propTypes,
|
|
591
|
-
direction: requireProp('container'),
|
|
592
|
-
lg: requireProp('item'),
|
|
593
|
-
md: requireProp('item'),
|
|
594
|
-
sm: requireProp('item'),
|
|
595
|
-
spacing: requireProp('container'),
|
|
596
|
-
wrap: requireProp('container'),
|
|
597
|
-
xs: requireProp('item'),
|
|
598
|
-
zeroMinWidth: requireProp('item')
|
|
599
|
-
};
|
|
600
|
-
}
|
|
601
|
-
var _default = exports.default = GridLegacy;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
'use client';
|
|
3
|
-
|
|
4
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = void 0;
|
|
9
|
-
var React = _interopRequireWildcard(require("react"));
|
|
10
|
-
/**
|
|
11
|
-
* @ignore - internal component.
|
|
12
|
-
*/
|
|
13
|
-
const GridLegacyContext = /*#__PURE__*/React.createContext();
|
|
14
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
15
|
-
GridLegacyContext.displayName = 'GridLegacyContext';
|
|
16
|
-
}
|
|
17
|
-
var _default = exports.default = GridLegacyContext;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
export interface GridLegacyClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `container={true}`. */
|
|
5
|
-
container: string;
|
|
6
|
-
/** Styles applied to the root element if `item={true}`. */
|
|
7
|
-
item: string;
|
|
8
|
-
/** Styles applied to the root element if `zeroMinWidth={true}`. */
|
|
9
|
-
zeroMinWidth: string;
|
|
10
|
-
/** Styles applied to the root element if `direction="column"`. */
|
|
11
|
-
'direction-xs-column': string;
|
|
12
|
-
/** Styles applied to the root element if `direction="column-reverse"`. */
|
|
13
|
-
'direction-xs-column-reverse': string;
|
|
14
|
-
/** Styles applied to the root element if `direction="row-reverse"`. */
|
|
15
|
-
'direction-xs-row-reverse': string;
|
|
16
|
-
/** Styles applied to the root element if `wrap="nowrap"`. */
|
|
17
|
-
'wrap-xs-nowrap': string;
|
|
18
|
-
/** Styles applied to the root element if `wrap="reverse"`. */
|
|
19
|
-
'wrap-xs-wrap-reverse': string;
|
|
20
|
-
'spacing-xs-1': string;
|
|
21
|
-
'spacing-xs-2': string;
|
|
22
|
-
'spacing-xs-3': string;
|
|
23
|
-
'spacing-xs-4': string;
|
|
24
|
-
'spacing-xs-5': string;
|
|
25
|
-
'spacing-xs-6': string;
|
|
26
|
-
'spacing-xs-7': string;
|
|
27
|
-
'spacing-xs-8': string;
|
|
28
|
-
'spacing-xs-9': string;
|
|
29
|
-
'spacing-xs-10': string;
|
|
30
|
-
'grid-xs-auto': string;
|
|
31
|
-
'grid-xs-true': string;
|
|
32
|
-
'grid-xs-1': string;
|
|
33
|
-
'grid-xs-2': string;
|
|
34
|
-
'grid-xs-3': string;
|
|
35
|
-
'grid-xs-4': string;
|
|
36
|
-
'grid-xs-5': string;
|
|
37
|
-
'grid-xs-6': string;
|
|
38
|
-
'grid-xs-7': string;
|
|
39
|
-
'grid-xs-8': string;
|
|
40
|
-
'grid-xs-9': string;
|
|
41
|
-
'grid-xs-10': string;
|
|
42
|
-
'grid-xs-11': string;
|
|
43
|
-
'grid-xs-12': string;
|
|
44
|
-
}
|
|
45
|
-
export type GridLegacyClassKey = keyof GridLegacyClasses;
|
|
46
|
-
export declare function getGridLegacyUtilityClass(slot: string): string;
|
|
47
|
-
declare const gridClasses: GridLegacyClasses;
|
|
48
|
-
export default gridClasses;
|
|
@@ -1,27 +0,0 @@
|
|
|
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.getGridLegacyUtilityClass = getGridLegacyUtilityClass;
|
|
9
|
-
var _generateUtilityClasses = _interopRequireDefault(require("@mui/utils/generateUtilityClasses"));
|
|
10
|
-
var _generateUtilityClass = _interopRequireDefault(require("@mui/utils/generateUtilityClass"));
|
|
11
|
-
function getGridLegacyUtilityClass(slot) {
|
|
12
|
-
return (0, _generateUtilityClass.default)('MuiGridLegacy', slot);
|
|
13
|
-
}
|
|
14
|
-
const SPACINGS = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
15
|
-
const DIRECTIONS = ['column-reverse', 'column', 'row-reverse', 'row'];
|
|
16
|
-
const WRAPS = ['nowrap', 'wrap-reverse', 'wrap'];
|
|
17
|
-
const GRID_SIZES = ['auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
|
|
18
|
-
const gridClasses = (0, _generateUtilityClasses.default)('MuiGridLegacy', ['root', 'container', 'item', 'zeroMinWidth',
|
|
19
|
-
// spacings
|
|
20
|
-
...SPACINGS.map(spacing => `spacing-xs-${spacing}`),
|
|
21
|
-
// direction values
|
|
22
|
-
...DIRECTIONS.map(direction => `direction-xs-${direction}`),
|
|
23
|
-
// wrap values
|
|
24
|
-
...WRAPS.map(wrap => `wrap-xs-${wrap}`),
|
|
25
|
-
// grid sizes for all breakpoints
|
|
26
|
-
...GRID_SIZES.map(size => `grid-xs-${size}`), ...GRID_SIZES.map(size => `grid-sm-${size}`), ...GRID_SIZES.map(size => `grid-md-${size}`), ...GRID_SIZES.map(size => `grid-lg-${size}`), ...GRID_SIZES.map(size => `grid-xl-${size}`)]);
|
|
27
|
-
var _default = exports.default = gridClasses;
|