@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
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { SxProps } from '@mui/system';
|
|
3
|
+
import { CreateSlotsAndSlotProps, SlotProps, InternalStandardProps as StandardProps, Theme } from "../index.js";
|
|
4
|
+
import { InputBaseProps } from "../InputBase/index.js";
|
|
5
|
+
import { OutlinedInputClasses } from "./outlinedInputClasses.js";
|
|
6
|
+
interface OutlinedInputSlots {
|
|
7
|
+
/**
|
|
8
|
+
* The component that renders the notchedOutline slot.
|
|
9
|
+
* @default NotchedOutline
|
|
10
|
+
*/
|
|
11
|
+
notchedOutline: React.ElementType;
|
|
12
|
+
}
|
|
13
|
+
type OutlinedInputSlotsAndSlotProps = CreateSlotsAndSlotProps<OutlinedInputSlots, {
|
|
14
|
+
notchedOutline: SlotProps<'fieldset', {}, OutlinedInputOwnerState>;
|
|
15
|
+
}> & {
|
|
16
|
+
slots?: InputBaseProps['slots'];
|
|
17
|
+
slotProps?: InputBaseProps['slotProps'];
|
|
18
|
+
};
|
|
19
|
+
export interface OutlinedInputProps extends Omit<StandardProps<InputBaseProps>, 'slots' | 'slotProps'>, OutlinedInputSlotsAndSlotProps {
|
|
20
|
+
/**
|
|
21
|
+
* Override or extend the styles applied to the component.
|
|
22
|
+
*/
|
|
23
|
+
classes?: Partial<OutlinedInputClasses>;
|
|
24
|
+
/**
|
|
25
|
+
* The label of the `input`. It is only used for layout. The actual labelling
|
|
26
|
+
* is handled by `InputLabel`.
|
|
27
|
+
*/
|
|
28
|
+
label?: React.ReactNode;
|
|
29
|
+
/**
|
|
30
|
+
* If `true`, the outline is notched to accommodate the label.
|
|
31
|
+
*/
|
|
32
|
+
notched?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
35
|
+
*/
|
|
36
|
+
sx?: SxProps<Theme>;
|
|
37
|
+
}
|
|
38
|
+
export interface OutlinedInputOwnerState extends Omit<OutlinedInputProps, 'slots' | 'slotProps'> {}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* Demos:
|
|
43
|
+
*
|
|
44
|
+
* - [Text Field](https://mui.com/material-ui/react-text-field/)
|
|
45
|
+
*
|
|
46
|
+
* API:
|
|
47
|
+
*
|
|
48
|
+
* - [OutlinedInput API](https://mui.com/material-ui/api/outlined-input/)
|
|
49
|
+
* - inherits [InputBase API](https://mui.com/material-ui/api/input-base/)
|
|
50
|
+
*/
|
|
51
|
+
declare const OutlinedInput: ((props: OutlinedInputProps) => React.JSX.Element) & {
|
|
52
|
+
muiName: string;
|
|
53
|
+
};
|
|
54
|
+
export default OutlinedInput;
|
|
@@ -0,0 +1,436 @@
|
|
|
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 _refType = _interopRequireDefault(require("@mui/utils/refType"));
|
|
13
|
+
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
14
|
+
var _NotchedOutline = _interopRequireDefault(require("./NotchedOutline"));
|
|
15
|
+
var _useFormControl = _interopRequireDefault(require("../FormControl/useFormControl"));
|
|
16
|
+
var _formControlState = _interopRequireDefault(require("../FormControl/formControlState"));
|
|
17
|
+
var _rootShouldForwardProp = _interopRequireDefault(require("../styles/rootShouldForwardProp"));
|
|
18
|
+
var _zeroStyled = require("../zero-styled");
|
|
19
|
+
var _memoTheme = _interopRequireDefault(require("../utils/memoTheme"));
|
|
20
|
+
var _createSimplePaletteValueFilter = _interopRequireDefault(require("../utils/createSimplePaletteValueFilter"));
|
|
21
|
+
var _DefaultPropsProvider = require("../DefaultPropsProvider");
|
|
22
|
+
var _outlinedInputClasses = _interopRequireWildcard(require("./outlinedInputClasses"));
|
|
23
|
+
var _InputBase = _interopRequireWildcard(require("../InputBase/InputBase"));
|
|
24
|
+
var _useSlot = _interopRequireDefault(require("../utils/useSlot"));
|
|
25
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
26
|
+
const useUtilityClasses = ownerState => {
|
|
27
|
+
const {
|
|
28
|
+
classes
|
|
29
|
+
} = ownerState;
|
|
30
|
+
const slots = {
|
|
31
|
+
root: ['root'],
|
|
32
|
+
notchedOutline: ['notchedOutline'],
|
|
33
|
+
input: ['input']
|
|
34
|
+
};
|
|
35
|
+
const composedClasses = (0, _composeClasses.default)(slots, _outlinedInputClasses.getOutlinedInputUtilityClass, classes);
|
|
36
|
+
return {
|
|
37
|
+
...classes,
|
|
38
|
+
// forward classes to the InputBase
|
|
39
|
+
...composedClasses
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
const OutlinedInputRoot = (0, _zeroStyled.styled)(_InputBase.InputBaseRoot, {
|
|
43
|
+
shouldForwardProp: prop => (0, _rootShouldForwardProp.default)(prop) || prop === 'classes',
|
|
44
|
+
name: 'MuiOutlinedInput',
|
|
45
|
+
slot: 'Root',
|
|
46
|
+
overridesResolver: _InputBase.rootOverridesResolver
|
|
47
|
+
})((0, _memoTheme.default)(({
|
|
48
|
+
theme
|
|
49
|
+
}) => {
|
|
50
|
+
const borderColor = theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)';
|
|
51
|
+
return {
|
|
52
|
+
position: 'relative',
|
|
53
|
+
borderRadius: (theme.vars || theme).shape.borderRadius,
|
|
54
|
+
[`&:hover .${_outlinedInputClasses.default.notchedOutline}`]: {
|
|
55
|
+
borderColor: (theme.vars || theme).palette.text.primary
|
|
56
|
+
},
|
|
57
|
+
// Reset on touch devices, it doesn't add specificity
|
|
58
|
+
'@media (hover: none)': {
|
|
59
|
+
[`&:hover .${_outlinedInputClasses.default.notchedOutline}`]: {
|
|
60
|
+
borderColor: theme.vars ? `rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.23)` : borderColor
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
[`&.${_outlinedInputClasses.default.focused} .${_outlinedInputClasses.default.notchedOutline}`]: {
|
|
64
|
+
borderWidth: 2
|
|
65
|
+
},
|
|
66
|
+
variants: [...Object.entries(theme.palette).filter((0, _createSimplePaletteValueFilter.default)()).map(([color]) => ({
|
|
67
|
+
props: {
|
|
68
|
+
color
|
|
69
|
+
},
|
|
70
|
+
style: {
|
|
71
|
+
[`&.${_outlinedInputClasses.default.focused} .${_outlinedInputClasses.default.notchedOutline}`]: {
|
|
72
|
+
borderColor: (theme.vars || theme).palette[color].main
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
})), {
|
|
76
|
+
props: {},
|
|
77
|
+
// to overide the above style
|
|
78
|
+
style: {
|
|
79
|
+
[`&.${_outlinedInputClasses.default.error} .${_outlinedInputClasses.default.notchedOutline}`]: {
|
|
80
|
+
borderColor: (theme.vars || theme).palette.error.main
|
|
81
|
+
},
|
|
82
|
+
[`&.${_outlinedInputClasses.default.disabled} .${_outlinedInputClasses.default.notchedOutline}`]: {
|
|
83
|
+
borderColor: (theme.vars || theme).palette.action.disabled
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}, {
|
|
87
|
+
props: ({
|
|
88
|
+
ownerState
|
|
89
|
+
}) => ownerState.startAdornment,
|
|
90
|
+
style: {
|
|
91
|
+
paddingLeft: 14
|
|
92
|
+
}
|
|
93
|
+
}, {
|
|
94
|
+
props: ({
|
|
95
|
+
ownerState
|
|
96
|
+
}) => ownerState.endAdornment,
|
|
97
|
+
style: {
|
|
98
|
+
paddingRight: 14
|
|
99
|
+
}
|
|
100
|
+
}, {
|
|
101
|
+
props: ({
|
|
102
|
+
ownerState
|
|
103
|
+
}) => ownerState.multiline,
|
|
104
|
+
style: {
|
|
105
|
+
padding: '16.5px 14px'
|
|
106
|
+
}
|
|
107
|
+
}, {
|
|
108
|
+
props: ({
|
|
109
|
+
ownerState,
|
|
110
|
+
size
|
|
111
|
+
}) => ownerState.multiline && size === 'small',
|
|
112
|
+
style: {
|
|
113
|
+
padding: '8.5px 14px'
|
|
114
|
+
}
|
|
115
|
+
}]
|
|
116
|
+
};
|
|
117
|
+
}));
|
|
118
|
+
const NotchedOutlineRoot = (0, _zeroStyled.styled)(_NotchedOutline.default, {
|
|
119
|
+
name: 'MuiOutlinedInput',
|
|
120
|
+
slot: 'NotchedOutline'
|
|
121
|
+
})((0, _memoTheme.default)(({
|
|
122
|
+
theme
|
|
123
|
+
}) => {
|
|
124
|
+
const borderColor = theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)';
|
|
125
|
+
return {
|
|
126
|
+
borderColor: theme.vars ? `rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.23)` : borderColor
|
|
127
|
+
};
|
|
128
|
+
}));
|
|
129
|
+
const OutlinedInputInput = (0, _zeroStyled.styled)(_InputBase.InputBaseInput, {
|
|
130
|
+
name: 'MuiOutlinedInput',
|
|
131
|
+
slot: 'Input',
|
|
132
|
+
overridesResolver: _InputBase.inputOverridesResolver
|
|
133
|
+
})((0, _memoTheme.default)(({
|
|
134
|
+
theme
|
|
135
|
+
}) => ({
|
|
136
|
+
padding: '16.5px 14px',
|
|
137
|
+
...(!theme.vars && {
|
|
138
|
+
'&:-webkit-autofill': {
|
|
139
|
+
WebkitBoxShadow: theme.palette.mode === 'light' ? null : '0 0 0 100px #266798 inset',
|
|
140
|
+
WebkitTextFillColor: theme.palette.mode === 'light' ? null : '#fff',
|
|
141
|
+
caretColor: theme.palette.mode === 'light' ? null : '#fff',
|
|
142
|
+
borderRadius: 'inherit'
|
|
143
|
+
}
|
|
144
|
+
}),
|
|
145
|
+
...(theme.vars && {
|
|
146
|
+
'&:-webkit-autofill': {
|
|
147
|
+
borderRadius: 'inherit'
|
|
148
|
+
},
|
|
149
|
+
[theme.getColorSchemeSelector('dark')]: {
|
|
150
|
+
'&:-webkit-autofill': {
|
|
151
|
+
WebkitBoxShadow: '0 0 0 100px #266798 inset',
|
|
152
|
+
WebkitTextFillColor: '#fff',
|
|
153
|
+
caretColor: '#fff'
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}),
|
|
157
|
+
variants: [{
|
|
158
|
+
props: {
|
|
159
|
+
size: 'small'
|
|
160
|
+
},
|
|
161
|
+
style: {
|
|
162
|
+
padding: '8.5px 14px'
|
|
163
|
+
}
|
|
164
|
+
}, {
|
|
165
|
+
props: ({
|
|
166
|
+
ownerState
|
|
167
|
+
}) => ownerState.multiline,
|
|
168
|
+
style: {
|
|
169
|
+
padding: 0
|
|
170
|
+
}
|
|
171
|
+
}, {
|
|
172
|
+
props: ({
|
|
173
|
+
ownerState
|
|
174
|
+
}) => ownerState.startAdornment,
|
|
175
|
+
style: {
|
|
176
|
+
paddingLeft: 0
|
|
177
|
+
}
|
|
178
|
+
}, {
|
|
179
|
+
props: ({
|
|
180
|
+
ownerState
|
|
181
|
+
}) => ownerState.endAdornment,
|
|
182
|
+
style: {
|
|
183
|
+
paddingRight: 0
|
|
184
|
+
}
|
|
185
|
+
}]
|
|
186
|
+
})));
|
|
187
|
+
const OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inProps, ref) {
|
|
188
|
+
const props = (0, _DefaultPropsProvider.useDefaultProps)({
|
|
189
|
+
props: inProps,
|
|
190
|
+
name: 'MuiOutlinedInput'
|
|
191
|
+
});
|
|
192
|
+
const {
|
|
193
|
+
components = {},
|
|
194
|
+
fullWidth = false,
|
|
195
|
+
inputComponent = 'input',
|
|
196
|
+
label,
|
|
197
|
+
multiline = false,
|
|
198
|
+
notched,
|
|
199
|
+
slots = {},
|
|
200
|
+
slotProps = {},
|
|
201
|
+
type = 'text',
|
|
202
|
+
...other
|
|
203
|
+
} = props;
|
|
204
|
+
const classes = useUtilityClasses(props);
|
|
205
|
+
const muiFormControl = (0, _useFormControl.default)();
|
|
206
|
+
const fcs = (0, _formControlState.default)({
|
|
207
|
+
props,
|
|
208
|
+
muiFormControl,
|
|
209
|
+
states: ['color', 'disabled', 'error', 'focused', 'hiddenLabel', 'size', 'required']
|
|
210
|
+
});
|
|
211
|
+
const ownerState = {
|
|
212
|
+
...props,
|
|
213
|
+
color: fcs.color || 'primary',
|
|
214
|
+
disabled: fcs.disabled,
|
|
215
|
+
error: fcs.error,
|
|
216
|
+
focused: fcs.focused,
|
|
217
|
+
formControl: muiFormControl,
|
|
218
|
+
fullWidth,
|
|
219
|
+
hiddenLabel: fcs.hiddenLabel,
|
|
220
|
+
multiline,
|
|
221
|
+
size: fcs.size,
|
|
222
|
+
type
|
|
223
|
+
};
|
|
224
|
+
const RootSlot = slots.root ?? components.Root ?? OutlinedInputRoot;
|
|
225
|
+
const InputSlot = slots.input ?? components.Input ?? OutlinedInputInput;
|
|
226
|
+
const [NotchedSlot, notchedProps] = (0, _useSlot.default)('notchedOutline', {
|
|
227
|
+
elementType: NotchedOutlineRoot,
|
|
228
|
+
className: classes.notchedOutline,
|
|
229
|
+
shouldForwardComponentProp: true,
|
|
230
|
+
ownerState,
|
|
231
|
+
externalForwardedProps: {
|
|
232
|
+
slots,
|
|
233
|
+
slotProps
|
|
234
|
+
},
|
|
235
|
+
additionalProps: {
|
|
236
|
+
label: label != null && label !== '' && fcs.required ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(React.Fragment, {
|
|
237
|
+
children: [label, "\u2009", '*']
|
|
238
|
+
}) : label
|
|
239
|
+
}
|
|
240
|
+
});
|
|
241
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_InputBase.default, {
|
|
242
|
+
slots: {
|
|
243
|
+
root: RootSlot,
|
|
244
|
+
input: InputSlot
|
|
245
|
+
},
|
|
246
|
+
slotProps: slotProps,
|
|
247
|
+
renderSuffix: state => /*#__PURE__*/(0, _jsxRuntime.jsx)(NotchedSlot, {
|
|
248
|
+
...notchedProps,
|
|
249
|
+
notched: typeof notched !== 'undefined' ? notched : Boolean(state.startAdornment || state.filled || state.focused)
|
|
250
|
+
}),
|
|
251
|
+
fullWidth: fullWidth,
|
|
252
|
+
inputComponent: inputComponent,
|
|
253
|
+
multiline: multiline,
|
|
254
|
+
ref: ref,
|
|
255
|
+
type: type,
|
|
256
|
+
...other,
|
|
257
|
+
classes: {
|
|
258
|
+
...classes,
|
|
259
|
+
notchedOutline: null
|
|
260
|
+
}
|
|
261
|
+
});
|
|
262
|
+
});
|
|
263
|
+
process.env.NODE_ENV !== "production" ? OutlinedInput.propTypes /* remove-proptypes */ = {
|
|
264
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
265
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
266
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
267
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
268
|
+
/**
|
|
269
|
+
* This prop helps users to fill forms faster, especially on mobile devices.
|
|
270
|
+
* The name can be confusing, as it's more like an autofill.
|
|
271
|
+
* You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
|
|
272
|
+
*/
|
|
273
|
+
autoComplete: _propTypes.default.string,
|
|
274
|
+
/**
|
|
275
|
+
* If `true`, the `input` element is focused during the first mount.
|
|
276
|
+
*/
|
|
277
|
+
autoFocus: _propTypes.default.bool,
|
|
278
|
+
/**
|
|
279
|
+
* Override or extend the styles applied to the component.
|
|
280
|
+
*/
|
|
281
|
+
classes: _propTypes.default.object,
|
|
282
|
+
/**
|
|
283
|
+
* The color of the component.
|
|
284
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
285
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
286
|
+
* The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
|
|
287
|
+
*/
|
|
288
|
+
color: _propTypes.default /* @typescript-to-proptypes-ignore */.oneOfType([_propTypes.default.oneOf(['primary', 'secondary']), _propTypes.default.string]),
|
|
289
|
+
/**
|
|
290
|
+
* The components used for each slot inside.
|
|
291
|
+
*
|
|
292
|
+
* @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.
|
|
293
|
+
*
|
|
294
|
+
* @default {}
|
|
295
|
+
*/
|
|
296
|
+
components: _propTypes.default.shape({
|
|
297
|
+
Input: _propTypes.default.elementType,
|
|
298
|
+
Root: _propTypes.default.elementType
|
|
299
|
+
}),
|
|
300
|
+
/**
|
|
301
|
+
* The default value. Use when the component is not controlled.
|
|
302
|
+
*/
|
|
303
|
+
defaultValue: _propTypes.default.any,
|
|
304
|
+
/**
|
|
305
|
+
* If `true`, the component is disabled.
|
|
306
|
+
* The prop defaults to the value (`false`) inherited from the parent FormControl component.
|
|
307
|
+
*/
|
|
308
|
+
disabled: _propTypes.default.bool,
|
|
309
|
+
/**
|
|
310
|
+
* End `InputAdornment` for this component.
|
|
311
|
+
*/
|
|
312
|
+
endAdornment: _propTypes.default.node,
|
|
313
|
+
/**
|
|
314
|
+
* If `true`, the `input` will indicate an error.
|
|
315
|
+
* The prop defaults to the value (`false`) inherited from the parent FormControl component.
|
|
316
|
+
*/
|
|
317
|
+
error: _propTypes.default.bool,
|
|
318
|
+
/**
|
|
319
|
+
* If `true`, the `input` will take up the full width of its container.
|
|
320
|
+
* @default false
|
|
321
|
+
*/
|
|
322
|
+
fullWidth: _propTypes.default.bool,
|
|
323
|
+
/**
|
|
324
|
+
* The id of the `input` element.
|
|
325
|
+
*/
|
|
326
|
+
id: _propTypes.default.string,
|
|
327
|
+
/**
|
|
328
|
+
* The component used for the `input` element.
|
|
329
|
+
* Either a string to use a HTML element or a component.
|
|
330
|
+
* @default 'input'
|
|
331
|
+
*/
|
|
332
|
+
inputComponent: _propTypes.default.elementType,
|
|
333
|
+
/**
|
|
334
|
+
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
|
|
335
|
+
* @default {}
|
|
336
|
+
*/
|
|
337
|
+
inputProps: _propTypes.default.object,
|
|
338
|
+
/**
|
|
339
|
+
* Pass a ref to the `input` element.
|
|
340
|
+
*/
|
|
341
|
+
inputRef: _refType.default,
|
|
342
|
+
/**
|
|
343
|
+
* The label of the `input`. It is only used for layout. The actual labelling
|
|
344
|
+
* is handled by `InputLabel`.
|
|
345
|
+
*/
|
|
346
|
+
label: _propTypes.default.node,
|
|
347
|
+
/**
|
|
348
|
+
* If `dense`, will adjust vertical spacing. This is normally obtained via context from
|
|
349
|
+
* FormControl.
|
|
350
|
+
* The prop defaults to the value (`'none'`) inherited from the parent FormControl component.
|
|
351
|
+
*/
|
|
352
|
+
margin: _propTypes.default.oneOf(['dense', 'none']),
|
|
353
|
+
/**
|
|
354
|
+
* Maximum number of rows to display when multiline option is set to true.
|
|
355
|
+
*/
|
|
356
|
+
maxRows: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
357
|
+
/**
|
|
358
|
+
* Minimum number of rows to display when multiline option is set to true.
|
|
359
|
+
*/
|
|
360
|
+
minRows: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
361
|
+
/**
|
|
362
|
+
* If `true`, a [TextareaAutosize](https://mui.com/material-ui/react-textarea-autosize/) element is rendered.
|
|
363
|
+
* @default false
|
|
364
|
+
*/
|
|
365
|
+
multiline: _propTypes.default.bool,
|
|
366
|
+
/**
|
|
367
|
+
* Name attribute of the `input` element.
|
|
368
|
+
*/
|
|
369
|
+
name: _propTypes.default.string,
|
|
370
|
+
/**
|
|
371
|
+
* If `true`, the outline is notched to accommodate the label.
|
|
372
|
+
*/
|
|
373
|
+
notched: _propTypes.default.bool,
|
|
374
|
+
/**
|
|
375
|
+
* Callback fired when the value is changed.
|
|
376
|
+
*
|
|
377
|
+
* @param {React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>} event The event source of the callback.
|
|
378
|
+
* You can pull out the new value by accessing `event.target.value` (string).
|
|
379
|
+
*/
|
|
380
|
+
onChange: _propTypes.default.func,
|
|
381
|
+
/**
|
|
382
|
+
* The short hint displayed in the `input` before the user enters a value.
|
|
383
|
+
*/
|
|
384
|
+
placeholder: _propTypes.default.string,
|
|
385
|
+
/**
|
|
386
|
+
* It prevents the user from changing the value of the field
|
|
387
|
+
* (not from interacting with the field).
|
|
388
|
+
*/
|
|
389
|
+
readOnly: _propTypes.default.bool,
|
|
390
|
+
/**
|
|
391
|
+
* If `true`, the `input` element is required.
|
|
392
|
+
* The prop defaults to the value (`false`) inherited from the parent FormControl component.
|
|
393
|
+
*/
|
|
394
|
+
required: _propTypes.default.bool,
|
|
395
|
+
/**
|
|
396
|
+
* Number of rows to display when multiline option is set to true.
|
|
397
|
+
*/
|
|
398
|
+
rows: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
399
|
+
/**
|
|
400
|
+
* The props used for each slot inside.
|
|
401
|
+
* @default {}
|
|
402
|
+
*/
|
|
403
|
+
slotProps: _propTypes.default.shape({
|
|
404
|
+
input: _propTypes.default.object,
|
|
405
|
+
notchedOutline: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
|
|
406
|
+
root: _propTypes.default.object
|
|
407
|
+
}),
|
|
408
|
+
/**
|
|
409
|
+
* The components used for each slot inside.
|
|
410
|
+
* @default {}
|
|
411
|
+
*/
|
|
412
|
+
slots: _propTypes.default.shape({
|
|
413
|
+
input: _propTypes.default.elementType,
|
|
414
|
+
notchedOutline: _propTypes.default.elementType,
|
|
415
|
+
root: _propTypes.default.elementType
|
|
416
|
+
}),
|
|
417
|
+
/**
|
|
418
|
+
* Start `InputAdornment` for this component.
|
|
419
|
+
*/
|
|
420
|
+
startAdornment: _propTypes.default.node,
|
|
421
|
+
/**
|
|
422
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
423
|
+
*/
|
|
424
|
+
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]),
|
|
425
|
+
/**
|
|
426
|
+
* Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types).
|
|
427
|
+
* @default 'text'
|
|
428
|
+
*/
|
|
429
|
+
type: _propTypes.default.string,
|
|
430
|
+
/**
|
|
431
|
+
* The value of the `input` element, required for a controlled component.
|
|
432
|
+
*/
|
|
433
|
+
value: _propTypes.default.any
|
|
434
|
+
} : void 0;
|
|
435
|
+
OutlinedInput.muiName = 'Input';
|
|
436
|
+
var _default = exports.default = OutlinedInput;
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
outlinedInputClasses: true
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "default", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () {
|
|
14
|
+
return _OutlinedInput.default;
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(exports, "outlinedInputClasses", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () {
|
|
20
|
+
return _outlinedInputClasses.default;
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
var _OutlinedInput = _interopRequireDefault(require("./OutlinedInput"));
|
|
24
|
+
var _outlinedInputClasses = _interopRequireWildcard(require("./outlinedInputClasses"));
|
|
25
|
+
Object.keys(_outlinedInputClasses).forEach(function (key) {
|
|
26
|
+
if (key === "default" || key === "__esModule") return;
|
|
27
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
28
|
+
if (key in exports && exports[key] === _outlinedInputClasses[key]) return;
|
|
29
|
+
Object.defineProperty(exports, key, {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () {
|
|
32
|
+
return _outlinedInputClasses[key];
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
});
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export interface OutlinedInputClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if the color is secondary. */
|
|
5
|
+
colorSecondary: string;
|
|
6
|
+
/** Styles applied to the root element if the component is focused. */
|
|
7
|
+
focused: string;
|
|
8
|
+
/** Styles applied to the root element if `disabled={true}`. */
|
|
9
|
+
disabled: string;
|
|
10
|
+
/** Styles applied to the root element if `startAdornment` is provided. */
|
|
11
|
+
adornedStart: string;
|
|
12
|
+
/** Styles applied to the root element if `endAdornment` is provided. */
|
|
13
|
+
adornedEnd: string;
|
|
14
|
+
/** State class applied to the root element if `error={true}`. */
|
|
15
|
+
error: string;
|
|
16
|
+
/** Styles applied to the input element if `size="small"`. */
|
|
17
|
+
sizeSmall: string;
|
|
18
|
+
/** Styles applied to the root element if `multiline={true}`. */
|
|
19
|
+
multiline: string;
|
|
20
|
+
/** Styles applied to the NotchedOutline element. */
|
|
21
|
+
notchedOutline: string;
|
|
22
|
+
/** Styles applied to the input element. */
|
|
23
|
+
input: string;
|
|
24
|
+
/** Styles applied to the input element if `size="small"`. */
|
|
25
|
+
inputSizeSmall: string;
|
|
26
|
+
/** Styles applied to the input element if `multiline={true}`. */
|
|
27
|
+
inputMultiline: string;
|
|
28
|
+
/** Styles applied to the input element if `startAdornment` is provided. */
|
|
29
|
+
inputAdornedStart: string;
|
|
30
|
+
/** Styles applied to the input element if `endAdornment` is provided. */
|
|
31
|
+
inputAdornedEnd: string;
|
|
32
|
+
/** Styles applied to the input element if `type="search"`. */
|
|
33
|
+
inputTypeSearch: string;
|
|
34
|
+
}
|
|
35
|
+
export type OutlinedInputClassKey = keyof OutlinedInputClasses;
|
|
36
|
+
export declare function getOutlinedInputUtilityClass(slot: string): string;
|
|
37
|
+
declare const outlinedInputClasses: OutlinedInputClasses;
|
|
38
|
+
export default outlinedInputClasses;
|
|
@@ -0,0 +1,19 @@
|
|
|
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.getOutlinedInputUtilityClass = getOutlinedInputUtilityClass;
|
|
9
|
+
var _generateUtilityClasses = _interopRequireDefault(require("@mui/utils/generateUtilityClasses"));
|
|
10
|
+
var _generateUtilityClass = _interopRequireDefault(require("@mui/utils/generateUtilityClass"));
|
|
11
|
+
var _InputBase = require("../InputBase");
|
|
12
|
+
function getOutlinedInputUtilityClass(slot) {
|
|
13
|
+
return (0, _generateUtilityClass.default)('MuiOutlinedInput', slot);
|
|
14
|
+
}
|
|
15
|
+
const outlinedInputClasses = {
|
|
16
|
+
..._InputBase.inputBaseClasses,
|
|
17
|
+
...(0, _generateUtilityClasses.default)('MuiOutlinedInput', ['root', 'notchedOutline', 'input'])
|
|
18
|
+
};
|
|
19
|
+
var _default = exports.default = outlinedInputClasses;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { DistributiveOmit } from '@mui/types';
|
|
3
|
+
import { StyledComponentProps } from "../styles/index.js";
|
|
4
|
+
/**
|
|
5
|
+
* A component whose root component can be controlled via a `component` prop.
|
|
6
|
+
*
|
|
7
|
+
* Adjusts valid props based on the type of `component`.
|
|
8
|
+
*/
|
|
9
|
+
export interface OverridableComponent<TypeMap extends OverridableTypeMap> {
|
|
10
|
+
<RootComponent extends React.ElementType>(props: {
|
|
11
|
+
/**
|
|
12
|
+
* The component used for the root node.
|
|
13
|
+
* Either a string to use a HTML element or a component.
|
|
14
|
+
*/
|
|
15
|
+
component: RootComponent;
|
|
16
|
+
} & OverrideProps<TypeMap, RootComponent>): React.JSX.Element | null;
|
|
17
|
+
(props: DefaultComponentProps<TypeMap>): React.JSX.Element | null;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Props of the component if `component={Component}` is used.
|
|
21
|
+
*/
|
|
22
|
+
export type OverrideProps<TypeMap extends OverridableTypeMap, RootComponent extends React.ElementType> = (BaseProps<TypeMap> & DistributiveOmit<React.ComponentPropsWithRef<RootComponent>, keyof BaseProps<TypeMap>>);
|
|
23
|
+
/**
|
|
24
|
+
* Props if `component={Component}` is NOT used.
|
|
25
|
+
*/
|
|
26
|
+
export type DefaultComponentProps<TypeMap extends OverridableTypeMap> = BaseProps<TypeMap> & DistributiveOmit<React.ComponentPropsWithRef<TypeMap['defaultComponent']>, keyof BaseProps<TypeMap>>;
|
|
27
|
+
/**
|
|
28
|
+
* Props defined on the component (+ common material-ui props).
|
|
29
|
+
*/
|
|
30
|
+
export type BaseProps<TypeMap extends OverridableTypeMap> = TypeMap['props'] & CommonProps;
|
|
31
|
+
/**
|
|
32
|
+
* Props that are valid for material-ui components.
|
|
33
|
+
*/
|
|
34
|
+
export interface CommonProps extends StyledComponentProps<never> {
|
|
35
|
+
className?: string;
|
|
36
|
+
style?: React.CSSProperties;
|
|
37
|
+
}
|
|
38
|
+
export interface OverridableTypeMap {
|
|
39
|
+
props: {};
|
|
40
|
+
defaultComponent: React.ElementType;
|
|
41
|
+
}
|