@mui/material 7.0.0-beta.0 → 7.0.0-beta.2
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 +111 -0
- package/Accordion/accordionClasses.d.ts +20 -0
- package/Accordion/index.d.ts +4 -0
- package/AccordionActions/AccordionActions.d.ts +35 -0
- package/AccordionActions/accordionActionsClasses.d.ts +10 -0
- package/AccordionActions/index.d.ts +4 -0
- package/AccordionDetails/AccordionDetails.d.ts +30 -0
- package/AccordionDetails/accordionDetailsClasses.d.ts +8 -0
- package/AccordionDetails/index.d.ts +4 -0
- package/AccordionSummary/AccordionSummary.d.ts +45 -0
- package/AccordionSummary/accordionSummaryClasses.d.ts +25 -0
- package/AccordionSummary/index.d.ts +4 -0
- package/Alert/Alert.d.ts +178 -0
- package/Alert/alertClasses.d.ts +100 -0
- package/Alert/index.d.ts +4 -0
- package/AlertTitle/AlertTitle.d.ts +31 -0
- package/AlertTitle/alertTitleClasses.d.ts +8 -0
- package/AlertTitle/index.d.ts +4 -0
- package/AppBar/AppBar.d.ts +59 -0
- package/AppBar/appBarClasses.d.ts +36 -0
- package/AppBar/index.d.ts +4 -0
- package/Autocomplete/Autocomplete.d.ts +290 -0
- package/Autocomplete/autocompleteClasses.d.ts +58 -0
- package/Autocomplete/index.d.ts +4 -0
- package/Avatar/Avatar.d.ts +85 -0
- package/Avatar/avatarClasses.d.ts +20 -0
- package/Avatar/index.d.ts +4 -0
- package/AvatarGroup/AvatarGroup.d.ts +96 -0
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -0
- package/AvatarGroup/index.d.ts +4 -0
- package/Backdrop/Backdrop.d.ts +118 -0
- package/Backdrop/backdropClasses.d.ts +10 -0
- package/Backdrop/index.d.ts +4 -0
- package/Badge/Badge.d.ts +158 -0
- package/Badge/badgeClasses.d.ts +56 -0
- package/Badge/index.d.ts +4 -0
- package/Badge/useBadge.d.ts +13 -0
- package/Badge/useBadge.types.d.ts +39 -0
- package/BottomNavigation/BottomNavigation.d.ts +55 -0
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -0
- package/BottomNavigation/index.d.ts +4 -0
- package/BottomNavigationAction/BottomNavigationAction.d.ts +62 -0
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -0
- package/BottomNavigationAction/index.d.ts +4 -0
- package/Box/Box.d.ts +20 -0
- package/Box/boxClasses.d.ts +7 -0
- package/Box/index.d.ts +4 -0
- package/Breadcrumbs/Breadcrumbs.d.ts +94 -0
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -0
- package/Breadcrumbs/index.d.ts +4 -0
- package/Button/Button.d.ts +130 -0
- package/Button/buttonClasses.d.ts +194 -0
- package/Button/index.d.ts +4 -0
- package/ButtonBase/ButtonBase.d.ts +125 -0
- package/ButtonBase/TouchRipple.d.ts +22 -0
- package/ButtonBase/buttonBaseClasses.d.ts +12 -0
- package/ButtonBase/index.d.ts +6 -0
- package/ButtonBase/touchRippleClasses.d.ts +20 -0
- package/ButtonGroup/ButtonGroup.d.ts +91 -0
- package/ButtonGroup/ButtonGroupButtonContext.d.ts +6 -0
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -0
- package/ButtonGroup/buttonGroupClasses.d.ts +104 -0
- package/ButtonGroup/index.d.ts +6 -0
- package/CHANGELOG.md +30 -0
- package/Card/Card.d.ts +47 -0
- package/Card/cardClasses.d.ts +8 -0
- package/Card/index.d.ts +4 -0
- package/CardActionArea/CardActionArea.d.ts +38 -0
- package/CardActionArea/cardActionAreaClasses.d.ts +12 -0
- package/CardActionArea/index.d.ts +4 -0
- package/CardActions/CardActions.d.ts +35 -0
- package/CardActions/cardActionsClasses.d.ts +10 -0
- package/CardActions/index.d.ts +4 -0
- package/CardContent/CardContent.d.ts +38 -0
- package/CardContent/cardContentClasses.d.ts +8 -0
- package/CardContent/index.d.ts +4 -0
- package/CardHeader/CardHeader.d.ts +157 -0
- package/CardHeader/cardHeaderClasses.d.ts +18 -0
- package/CardHeader/index.d.ts +4 -0
- package/CardMedia/CardMedia.d.ts +51 -0
- package/CardMedia/cardMediaClasses.d.ts +12 -0
- package/CardMedia/index.d.ts +4 -0
- package/Checkbox/Checkbox.d.ts +131 -0
- package/Checkbox/checkboxClasses.d.ts +22 -0
- package/Checkbox/index.d.ts +4 -0
- package/Chip/Chip.d.ts +107 -0
- package/Chip/chipClasses.d.ts +150 -0
- package/Chip/index.d.ts +4 -0
- package/CircularProgress/CircularProgress.d.ts +71 -0
- package/CircularProgress/circularProgressClasses.d.ts +30 -0
- package/CircularProgress/index.d.ts +4 -0
- package/ClickAwayListener/ClickAwayListener.d.ts +47 -0
- package/ClickAwayListener/index.d.ts +2 -0
- package/Collapse/Collapse.d.ts +71 -0
- package/Collapse/collapseClasses.d.ts +18 -0
- package/Collapse/index.d.ts +4 -0
- package/Container/Container.d.ts +55 -0
- package/Container/containerClasses.d.ts +6 -0
- package/Container/index.d.ts +4 -0
- package/CssBaseline/CssBaseline.d.ts +28 -0
- package/CssBaseline/index.d.ts +2 -0
- package/DefaultPropsProvider/DefaultPropsProvider.d.ts +13 -0
- package/DefaultPropsProvider/index.d.ts +1 -0
- package/Dialog/Dialog.d.ts +184 -0
- package/Dialog/DialogContext.d.ts +6 -0
- package/Dialog/dialogClasses.d.ts +36 -0
- package/Dialog/index.d.ts +4 -0
- package/DialogActions/DialogActions.d.ts +35 -0
- package/DialogActions/dialogActionsClasses.d.ts +10 -0
- package/DialogActions/index.d.ts +4 -0
- package/DialogContent/DialogContent.d.ts +35 -0
- package/DialogContent/dialogContentClasses.d.ts +10 -0
- package/DialogContent/index.d.ts +4 -0
- package/DialogContentText/DialogContentText.d.ts +37 -0
- package/DialogContentText/dialogContentTextClasses.d.ts +8 -0
- package/DialogContentText/index.d.ts +4 -0
- package/DialogTitle/DialogTitle.d.ts +43 -0
- package/DialogTitle/dialogTitleClasses.d.ts +8 -0
- package/DialogTitle/index.d.ts +4 -0
- package/Divider/Divider.d.ts +74 -0
- package/Divider/dividerClasses.d.ts +38 -0
- package/Divider/index.d.ts +4 -0
- package/Drawer/Drawer.d.ts +154 -0
- package/Drawer/drawerClasses.d.ts +54 -0
- package/Drawer/index.d.ts +4 -0
- package/Fab/Fab.d.ts +82 -0
- package/Fab/fabClasses.d.ts +26 -0
- package/Fab/index.d.ts +4 -0
- package/Fade/Fade.d.ts +48 -0
- package/Fade/index.d.ts +2 -0
- package/FilledInput/FilledInput.d.ts +42 -0
- package/FilledInput/filledInputClasses.d.ts +30 -0
- package/FilledInput/index.d.ts +4 -0
- package/FormControl/FormControl.d.ts +120 -0
- package/FormControl/FormControlContext.d.ts +17 -0
- package/FormControl/formControlClasses.d.ts +14 -0
- package/FormControl/index.d.ts +6 -0
- package/FormControl/useFormControl.d.ts +2 -0
- package/FormControlLabel/FormControlLabel.d.ts +101 -0
- package/FormControlLabel/formControlLabelClasses.d.ts +24 -0
- package/FormControlLabel/index.d.ts +4 -0
- package/FormGroup/FormGroup.d.ts +39 -0
- package/FormGroup/formGroupClasses.d.ts +12 -0
- package/FormGroup/index.d.ts +4 -0
- package/FormHelperText/FormHelperText.d.ts +71 -0
- package/FormHelperText/formHelperTextClasses.d.ts +22 -0
- package/FormHelperText/index.d.ts +4 -0
- package/FormLabel/FormLabel.d.ts +78 -0
- package/FormLabel/formLabelClasses.d.ts +22 -0
- package/FormLabel/index.d.ts +4 -0
- package/GlobalStyles/GlobalStyles.d.ts +20 -0
- package/GlobalStyles/index.d.ts +2 -0
- package/Grid/Grid.d.ts +111 -0
- package/Grid/gridClasses.d.ts +10 -0
- package/Grid/index.d.ts +4 -0
- package/GridLegacy/GridLegacy.d.ts +160 -0
- package/GridLegacy/gridLegacyClasses.d.ts +48 -0
- package/GridLegacy/index.d.ts +4 -0
- package/Grow/Grow.d.ts +49 -0
- package/Grow/index.d.ts +2 -0
- package/Icon/Icon.d.ts +62 -0
- package/Icon/iconClasses.d.ts +24 -0
- package/Icon/index.d.ts +4 -0
- package/IconButton/IconButton.d.ts +90 -0
- package/IconButton/iconButtonClasses.d.ts +40 -0
- package/IconButton/index.d.ts +4 -0
- package/ImageList/ImageList.d.ts +60 -0
- package/ImageList/imageListClasses.d.ts +16 -0
- package/ImageList/index.d.ts +4 -0
- package/ImageListItem/ImageListItem.d.ts +48 -0
- package/ImageListItem/imageListItemClasses.d.ts +18 -0
- package/ImageListItem/index.d.ts +4 -0
- package/ImageListItemBar/ImageListItemBar.d.ts +49 -0
- package/ImageListItemBar/imageListItemBarClasses.d.ts +42 -0
- package/ImageListItemBar/index.d.ts +4 -0
- package/InitColorSchemeScript/InitColorSchemeScript.d.ts +10 -0
- package/InitColorSchemeScript/index.d.ts +1 -0
- package/Input/Input.d.ts +35 -0
- package/Input/index.d.ts +4 -0
- package/Input/inputClasses.d.ts +38 -0
- package/InputAdornment/InputAdornment.d.ts +59 -0
- package/InputAdornment/index.d.ts +4 -0
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -0
- package/InputBase/InputBase.d.ts +247 -0
- package/InputBase/index.d.ts +4 -0
- package/InputBase/inputBaseClasses.d.ts +55 -0
- package/InputLabel/InputLabel.d.ts +79 -0
- package/InputLabel/index.d.ts +4 -0
- package/InputLabel/inputLabelClasses.d.ts +32 -0
- package/LinearProgress/LinearProgress.d.ts +57 -0
- package/LinearProgress/index.d.ts +4 -0
- package/LinearProgress/linearProgressClasses.d.ts +64 -0
- package/Link/Link.d.ts +63 -0
- package/Link/getTextDecoration.d.ts +11 -0
- package/Link/index.d.ts +4 -0
- package/Link/linkClasses.d.ts +18 -0
- package/List/List.d.ts +65 -0
- package/List/ListContext.d.ts +5 -0
- package/List/index.d.ts +4 -0
- package/List/listClasses.d.ts +14 -0
- package/ListItem/ListItem.d.ts +127 -0
- package/ListItem/index.d.ts +4 -0
- package/ListItem/listItemClasses.d.ts +22 -0
- package/ListItemAvatar/ListItemAvatar.d.ts +30 -0
- package/ListItemAvatar/index.d.ts +4 -0
- package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -0
- package/ListItemButton/ListItemButton.d.ts +85 -0
- package/ListItemButton/index.d.ts +4 -0
- package/ListItemButton/listItemButtonClasses.d.ts +22 -0
- package/ListItemIcon/ListItemIcon.d.ts +32 -0
- package/ListItemIcon/index.d.ts +4 -0
- package/ListItemIcon/listItemIconClasses.d.ts +10 -0
- package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +36 -0
- package/ListItemSecondaryAction/index.d.ts +4 -0
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -0
- package/ListItemText/ListItemText.d.ts +95 -0
- package/ListItemText/index.d.ts +4 -0
- package/ListItemText/listItemTextClasses.d.ts +18 -0
- package/ListSubheader/ListSubheader.d.ts +59 -0
- package/ListSubheader/index.d.ts +4 -0
- package/ListSubheader/listSubheaderClasses.d.ts +18 -0
- package/Menu/Menu.d.ts +162 -0
- package/Menu/index.d.ts +4 -0
- package/Menu/menuClasses.d.ts +12 -0
- package/MenuItem/MenuItem.d.ts +69 -0
- package/MenuItem/index.d.ts +4 -0
- package/MenuItem/menuItemClasses.d.ts +20 -0
- package/MenuList/MenuList.d.ts +62 -0
- package/MenuList/index.d.ts +2 -0
- package/MobileStepper/MobileStepper.d.ts +112 -0
- package/MobileStepper/index.d.ts +4 -0
- package/MobileStepper/mobileStepperClasses.d.ts +22 -0
- package/Modal/Modal.d.ts +221 -0
- package/Modal/ModalManager.d.ts +25 -0
- package/Modal/index.d.ts +5 -0
- package/Modal/modalClasses.d.ts +12 -0
- package/Modal/useModal.d.ts +13 -0
- package/Modal/useModal.types.d.ts +118 -0
- package/NativeSelect/NativeSelect.d.ts +68 -0
- package/NativeSelect/NativeSelectInput.d.ts +13 -0
- package/NativeSelect/index.d.ts +4 -0
- package/NativeSelect/nativeSelectClasses.d.ts +34 -0
- package/NoSsr/NoSsr.d.ts +25 -0
- package/NoSsr/NoSsr.types.d.ts +18 -0
- package/NoSsr/index.d.ts +3 -0
- package/OutlinedInput/NotchedOutline.d.ts +12 -0
- package/OutlinedInput/OutlinedInput.d.ts +40 -0
- package/OutlinedInput/index.d.ts +4 -0
- package/OutlinedInput/outlinedInputClasses.d.ts +38 -0
- package/OverridableComponent/index.d.ts +41 -0
- package/Pagination/Pagination.d.ts +79 -0
- package/Pagination/index.d.ts +4 -0
- package/Pagination/paginationClasses.d.ts +14 -0
- package/PaginationItem/PaginationItem.d.ts +110 -0
- package/PaginationItem/index.d.ts +4 -0
- package/PaginationItem/paginationItemClasses.d.ts +54 -0
- package/Paper/Paper.d.ts +62 -0
- package/Paper/index.d.ts +4 -0
- package/Paper/paperClasses.d.ts +64 -0
- package/PigmentContainer/PigmentContainer.d.ts +55 -0
- package/PigmentContainer/index.d.ts +3 -0
- package/PigmentGrid/PigmentGrid.d.ts +83 -0
- package/PigmentGrid/index.d.ts +3 -0
- package/PigmentStack/PigmentStack.d.ts +49 -0
- package/PigmentStack/index.d.ts +3 -0
- package/Popover/Popover.d.ts +233 -0
- package/Popover/index.d.ts +4 -0
- package/Popover/popoverClasses.d.ts +10 -0
- package/Popper/BasePopper.d.ts +7 -0
- package/Popper/BasePopper.types.d.ts +129 -0
- package/Popper/Popper.d.ts +46 -0
- package/Popper/index.d.ts +4 -0
- package/Popper/popperClasses.d.ts +8 -0
- package/Portal/Portal.d.ts +16 -0
- package/Portal/Portal.types.d.ts +23 -0
- package/Portal/index.d.ts +3 -0
- package/Radio/Radio.d.ts +86 -0
- package/Radio/index.d.ts +4 -0
- package/Radio/radioClasses.d.ts +18 -0
- package/RadioGroup/RadioGroup.d.ts +38 -0
- package/RadioGroup/RadioGroupContext.d.ts +11 -0
- package/RadioGroup/index.d.ts +5 -0
- package/RadioGroup/radioGroupClasses.d.ts +6 -0
- package/RadioGroup/useRadioGroup.d.ts +3 -0
- package/Rating/Rating.d.ts +183 -0
- package/Rating/index.d.ts +4 -0
- package/Rating/ratingClasses.d.ts +40 -0
- package/ScopedCssBaseline/ScopedCssBaseline.d.ts +55 -0
- package/ScopedCssBaseline/index.d.ts +4 -0
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -0
- package/Select/Select.d.ts +188 -0
- package/Select/SelectInput.d.ts +47 -0
- package/Select/index.d.ts +4 -0
- package/Select/selectClasses.d.ts +42 -0
- package/Skeleton/Skeleton.d.ts +62 -0
- package/Skeleton/index.d.ts +4 -0
- package/Skeleton/skeletonClasses.d.ts +26 -0
- package/Slide/Slide.d.ts +63 -0
- package/Slide/index.d.ts +2 -0
- package/Slider/Slider.d.ts +298 -0
- package/Slider/SliderValueLabel.d.ts +13 -0
- package/Slider/SliderValueLabel.types.d.ts +25 -0
- package/Slider/index.d.ts +4 -0
- package/Slider/sliderClasses.d.ts +88 -0
- package/Slider/useSlider.d.ts +14 -0
- package/Slider/useSlider.types.d.ts +226 -0
- package/Snackbar/Snackbar.d.ts +182 -0
- package/Snackbar/index.d.ts +4 -0
- package/Snackbar/snackbarClasses.d.ts +20 -0
- package/Snackbar/useSnackbar.d.ts +14 -0
- package/Snackbar/useSnackbar.types.d.ts +59 -0
- package/SnackbarContent/SnackbarContent.d.ts +42 -0
- package/SnackbarContent/index.d.ts +4 -0
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -0
- package/SpeedDial/SpeedDial.d.ts +121 -0
- package/SpeedDial/index.d.ts +4 -0
- package/SpeedDial/speedDialClasses.d.ts +22 -0
- package/SpeedDialAction/SpeedDialAction.d.ts +117 -0
- package/SpeedDialAction/index.d.ts +4 -0
- package/SpeedDialAction/speedDialActionClasses.d.ts +20 -0
- package/SpeedDialIcon/SpeedDialIcon.d.ts +43 -0
- package/SpeedDialIcon/index.d.ts +4 -0
- package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -0
- package/Stack/Stack.d.ts +58 -0
- package/Stack/index.d.ts +4 -0
- package/Stack/stackClasses.d.ts +6 -0
- package/Step/Step.d.ts +70 -0
- package/Step/StepContext.d.ts +20 -0
- package/Step/index.d.ts +6 -0
- package/Step/stepClasses.d.ts +16 -0
- package/StepButton/StepButton.d.ts +51 -0
- package/StepButton/index.d.ts +4 -0
- package/StepButton/stepButtonClasses.d.ts +14 -0
- package/StepConnector/StepConnector.d.ts +29 -0
- package/StepConnector/index.d.ts +4 -0
- package/StepConnector/stepConnectorClasses.d.ts +30 -0
- package/StepContent/StepContent.d.ts +75 -0
- package/StepContent/index.d.ts +4 -0
- package/StepContent/stepContentClasses.d.ts +12 -0
- package/StepIcon/StepIcon.d.ts +50 -0
- package/StepIcon/index.d.ts +4 -0
- package/StepIcon/stepIconClasses.d.ts +16 -0
- package/StepLabel/StepLabel.d.ts +88 -0
- package/StepLabel/index.d.ts +4 -0
- package/StepLabel/stepLabelClasses.d.ts +28 -0
- package/Stepper/Stepper.d.ts +71 -0
- package/Stepper/StepperContext.d.ts +18 -0
- package/Stepper/index.d.ts +6 -0
- package/Stepper/stepperClasses.d.ts +16 -0
- package/SvgIcon/SvgIcon.d.ts +89 -0
- package/SvgIcon/index.d.ts +4 -0
- package/SvgIcon/svgIconClasses.d.ts +26 -0
- package/SwipeableDrawer/SwipeableDrawer.d.ts +106 -0
- package/SwipeableDrawer/index.d.ts +2 -0
- package/Switch/Switch.d.ts +62 -0
- package/Switch/index.d.ts +4 -0
- package/Switch/switchClasses.d.ts +32 -0
- package/Tab/Tab.d.ts +75 -0
- package/Tab/index.d.ts +4 -0
- package/Tab/tabClasses.d.ts +30 -0
- package/TabScrollButton/TabScrollButton.d.ts +67 -0
- package/TabScrollButton/index.d.ts +4 -0
- package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -0
- package/Table/Table.d.ts +55 -0
- package/Table/TableContext.d.ts +7 -0
- package/Table/Tablelvl2Context.d.ts +6 -0
- package/Table/index.d.ts +4 -0
- package/Table/tableClasses.d.ts +10 -0
- package/TableBody/TableBody.d.ts +38 -0
- package/TableBody/index.d.ts +4 -0
- package/TableBody/tableBodyClasses.d.ts +8 -0
- package/TableCell/TableCell.d.ts +82 -0
- package/TableCell/index.d.ts +4 -0
- package/TableCell/tableCellClasses.d.ts +32 -0
- package/TableContainer/TableContainer.d.ts +38 -0
- package/TableContainer/index.d.ts +4 -0
- package/TableContainer/tableContainerClasses.d.ts +8 -0
- package/TableFooter/TableFooter.d.ts +38 -0
- package/TableFooter/index.d.ts +4 -0
- package/TableFooter/tableFooterClasses.d.ts +8 -0
- package/TableHead/TableHead.d.ts +38 -0
- package/TableHead/index.d.ts +4 -0
- package/TableHead/tableHeadClasses.d.ts +8 -0
- package/TablePagination/TablePagination.d.ts +263 -0
- package/TablePagination/TablePaginationActions.d.ts +94 -0
- package/TablePagination/index.d.ts +4 -0
- package/TablePagination/tablePaginationClasses.d.ts +28 -0
- package/TableRow/TableRow.d.ts +50 -0
- package/TableRow/index.d.ts +4 -0
- package/TableRow/tableRowClasses.d.ts +16 -0
- package/TableSortLabel/TableSortLabel.d.ts +90 -0
- package/TableSortLabel/index.d.ts +4 -0
- package/TableSortLabel/tableSortLabelClasses.d.ts +24 -0
- package/Tabs/Tabs.d.ts +272 -0
- package/Tabs/index.d.ts +4 -0
- package/Tabs/tabsClasses.d.ts +36 -0
- package/TextField/TextField.d.ts +312 -0
- package/TextField/index.d.ts +4 -0
- package/TextField/textFieldClasses.d.ts +8 -0
- package/TextareaAutosize/TextareaAutosize.d.ts +14 -0
- package/TextareaAutosize/TextareaAutosize.types.d.ts +13 -0
- package/TextareaAutosize/index.d.ts +3 -0
- package/ToggleButton/ToggleButton.d.ts +95 -0
- package/ToggleButton/index.d.ts +4 -0
- package/ToggleButton/toggleButtonClasses.d.ts +26 -0
- package/ToggleButtonGroup/ToggleButtonGroup.d.ts +82 -0
- package/ToggleButtonGroup/ToggleButtonGroupButtonContext.d.ts +6 -0
- package/ToggleButtonGroup/ToggleButtonGroupContext.d.ts +16 -0
- package/ToggleButtonGroup/index.d.ts +4 -0
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +34 -0
- package/Toolbar/Toolbar.d.ts +51 -0
- package/Toolbar/index.d.ts +4 -0
- package/Toolbar/toolbarClasses.d.ts +14 -0
- package/Tooltip/Tooltip.d.ts +229 -0
- package/Tooltip/index.d.ts +4 -0
- package/Tooltip/tooltipClasses.d.ts +30 -0
- package/Typography/Typography.d.ts +99 -0
- package/Typography/index.d.ts +4 -0
- package/Typography/typographyClasses.d.ts +53 -0
- package/Unstable_TrapFocus/FocusTrap.d.ts +10 -0
- package/Unstable_TrapFocus/FocusTrap.types.d.ts +54 -0
- package/Unstable_TrapFocus/index.d.ts +2 -0
- package/Zoom/Zoom.d.ts +49 -0
- package/Zoom/index.d.ts +2 -0
- package/className/index.d.ts +1 -0
- package/colors/amber.d.ts +62 -0
- package/colors/blue.d.ts +62 -0
- package/colors/blueGrey.d.ts +62 -0
- package/colors/brown.d.ts +62 -0
- package/colors/common.d.ts +14 -0
- package/colors/cyan.d.ts +62 -0
- package/colors/deepOrange.d.ts +62 -0
- package/colors/deepPurple.d.ts +62 -0
- package/colors/green.d.ts +62 -0
- package/colors/grey.d.ts +62 -0
- package/colors/index.d.ts +20 -0
- package/colors/indigo.d.ts +62 -0
- package/colors/lightBlue.d.ts +62 -0
- package/colors/lightGreen.d.ts +62 -0
- package/colors/lime.d.ts +62 -0
- package/colors/orange.d.ts +62 -0
- package/colors/pink.d.ts +62 -0
- package/colors/purple.d.ts +62 -0
- package/colors/red.d.ts +62 -0
- package/colors/teal.d.ts +62 -0
- package/colors/yellow.d.ts +62 -0
- package/darkScrollbar/index.d.ts +28 -0
- package/esm/index.js +1 -1
- package/esm/version/index.js +2 -2
- package/generateUtilityClass/index.d.ts +2 -0
- package/generateUtilityClasses/index.d.ts +1 -0
- package/index.d.ts +324 -0
- package/index.js +1 -1
- package/internal/SwitchBase.d.ts +108 -0
- package/internal/switchBaseClasses.d.ts +12 -0
- package/locale/index.d.ts +82 -0
- package/modern/Accordion/Accordion.d.ts +111 -0
- package/modern/Accordion/accordionClasses.d.ts +20 -0
- package/modern/Accordion/index.d.ts +4 -0
- package/modern/AccordionActions/AccordionActions.d.ts +35 -0
- package/modern/AccordionActions/accordionActionsClasses.d.ts +10 -0
- package/modern/AccordionActions/index.d.ts +4 -0
- package/modern/AccordionDetails/AccordionDetails.d.ts +30 -0
- package/modern/AccordionDetails/accordionDetailsClasses.d.ts +8 -0
- package/modern/AccordionDetails/index.d.ts +4 -0
- package/modern/AccordionSummary/AccordionSummary.d.ts +45 -0
- package/modern/AccordionSummary/accordionSummaryClasses.d.ts +25 -0
- package/modern/AccordionSummary/index.d.ts +4 -0
- package/modern/Alert/Alert.d.ts +178 -0
- package/modern/Alert/alertClasses.d.ts +100 -0
- package/modern/Alert/index.d.ts +4 -0
- package/modern/AlertTitle/AlertTitle.d.ts +31 -0
- package/modern/AlertTitle/alertTitleClasses.d.ts +8 -0
- package/modern/AlertTitle/index.d.ts +4 -0
- package/modern/AppBar/AppBar.d.ts +59 -0
- package/modern/AppBar/appBarClasses.d.ts +36 -0
- package/modern/AppBar/index.d.ts +4 -0
- package/modern/Autocomplete/Autocomplete.d.ts +290 -0
- package/modern/Autocomplete/autocompleteClasses.d.ts +58 -0
- package/modern/Autocomplete/index.d.ts +4 -0
- package/modern/Avatar/Avatar.d.ts +85 -0
- package/modern/Avatar/avatarClasses.d.ts +20 -0
- package/modern/Avatar/index.d.ts +4 -0
- package/modern/AvatarGroup/AvatarGroup.d.ts +96 -0
- package/modern/AvatarGroup/avatarGroupClasses.d.ts +10 -0
- package/modern/AvatarGroup/index.d.ts +4 -0
- package/modern/Backdrop/Backdrop.d.ts +118 -0
- package/modern/Backdrop/backdropClasses.d.ts +10 -0
- package/modern/Backdrop/index.d.ts +4 -0
- package/modern/Badge/Badge.d.ts +158 -0
- package/modern/Badge/badgeClasses.d.ts +56 -0
- package/modern/Badge/index.d.ts +4 -0
- package/modern/Badge/useBadge.d.ts +13 -0
- package/modern/Badge/useBadge.types.d.ts +39 -0
- package/modern/BottomNavigation/BottomNavigation.d.ts +55 -0
- package/modern/BottomNavigation/bottomNavigationClasses.d.ts +8 -0
- package/modern/BottomNavigation/index.d.ts +4 -0
- package/modern/BottomNavigationAction/BottomNavigationAction.d.ts +62 -0
- package/modern/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -0
- package/modern/BottomNavigationAction/index.d.ts +4 -0
- package/modern/Box/Box.d.ts +20 -0
- package/modern/Box/boxClasses.d.ts +7 -0
- package/modern/Box/index.d.ts +4 -0
- package/modern/Breadcrumbs/Breadcrumbs.d.ts +94 -0
- package/modern/Breadcrumbs/breadcrumbsClasses.d.ts +14 -0
- package/modern/Breadcrumbs/index.d.ts +4 -0
- package/modern/Button/Button.d.ts +130 -0
- package/modern/Button/buttonClasses.d.ts +194 -0
- package/modern/Button/index.d.ts +4 -0
- package/modern/ButtonBase/ButtonBase.d.ts +125 -0
- package/modern/ButtonBase/TouchRipple.d.ts +22 -0
- package/modern/ButtonBase/buttonBaseClasses.d.ts +12 -0
- package/modern/ButtonBase/index.d.ts +6 -0
- package/modern/ButtonBase/touchRippleClasses.d.ts +20 -0
- package/modern/ButtonGroup/ButtonGroup.d.ts +91 -0
- package/modern/ButtonGroup/ButtonGroupButtonContext.d.ts +6 -0
- package/modern/ButtonGroup/ButtonGroupContext.d.ts +18 -0
- package/modern/ButtonGroup/buttonGroupClasses.d.ts +104 -0
- package/modern/ButtonGroup/index.d.ts +6 -0
- package/modern/Card/Card.d.ts +47 -0
- package/modern/Card/cardClasses.d.ts +8 -0
- package/modern/Card/index.d.ts +4 -0
- package/modern/CardActionArea/CardActionArea.d.ts +38 -0
- package/modern/CardActionArea/cardActionAreaClasses.d.ts +12 -0
- package/modern/CardActionArea/index.d.ts +4 -0
- package/modern/CardActions/CardActions.d.ts +35 -0
- package/modern/CardActions/cardActionsClasses.d.ts +10 -0
- package/modern/CardActions/index.d.ts +4 -0
- package/modern/CardContent/CardContent.d.ts +38 -0
- package/modern/CardContent/cardContentClasses.d.ts +8 -0
- package/modern/CardContent/index.d.ts +4 -0
- package/modern/CardHeader/CardHeader.d.ts +157 -0
- package/modern/CardHeader/cardHeaderClasses.d.ts +18 -0
- package/modern/CardHeader/index.d.ts +4 -0
- package/modern/CardMedia/CardMedia.d.ts +51 -0
- package/modern/CardMedia/cardMediaClasses.d.ts +12 -0
- package/modern/CardMedia/index.d.ts +4 -0
- package/modern/Checkbox/Checkbox.d.ts +131 -0
- package/modern/Checkbox/checkboxClasses.d.ts +22 -0
- package/modern/Checkbox/index.d.ts +4 -0
- package/modern/Chip/Chip.d.ts +107 -0
- package/modern/Chip/chipClasses.d.ts +150 -0
- package/modern/Chip/index.d.ts +4 -0
- package/modern/CircularProgress/CircularProgress.d.ts +71 -0
- package/modern/CircularProgress/circularProgressClasses.d.ts +30 -0
- package/modern/CircularProgress/index.d.ts +4 -0
- package/modern/ClickAwayListener/ClickAwayListener.d.ts +47 -0
- package/modern/ClickAwayListener/index.d.ts +2 -0
- package/modern/Collapse/Collapse.d.ts +71 -0
- package/modern/Collapse/collapseClasses.d.ts +18 -0
- package/modern/Collapse/index.d.ts +4 -0
- package/modern/Container/Container.d.ts +55 -0
- package/modern/Container/containerClasses.d.ts +6 -0
- package/modern/Container/index.d.ts +4 -0
- package/modern/CssBaseline/CssBaseline.d.ts +28 -0
- package/modern/CssBaseline/index.d.ts +2 -0
- package/modern/DefaultPropsProvider/DefaultPropsProvider.d.ts +13 -0
- package/modern/DefaultPropsProvider/index.d.ts +1 -0
- package/modern/Dialog/Dialog.d.ts +184 -0
- package/modern/Dialog/DialogContext.d.ts +6 -0
- package/modern/Dialog/dialogClasses.d.ts +36 -0
- package/modern/Dialog/index.d.ts +4 -0
- package/modern/DialogActions/DialogActions.d.ts +35 -0
- package/modern/DialogActions/dialogActionsClasses.d.ts +10 -0
- package/modern/DialogActions/index.d.ts +4 -0
- package/modern/DialogContent/DialogContent.d.ts +35 -0
- package/modern/DialogContent/dialogContentClasses.d.ts +10 -0
- package/modern/DialogContent/index.d.ts +4 -0
- package/modern/DialogContentText/DialogContentText.d.ts +37 -0
- package/modern/DialogContentText/dialogContentTextClasses.d.ts +8 -0
- package/modern/DialogContentText/index.d.ts +4 -0
- package/modern/DialogTitle/DialogTitle.d.ts +43 -0
- package/modern/DialogTitle/dialogTitleClasses.d.ts +8 -0
- package/modern/DialogTitle/index.d.ts +4 -0
- package/modern/Divider/Divider.d.ts +74 -0
- package/modern/Divider/dividerClasses.d.ts +38 -0
- package/modern/Divider/index.d.ts +4 -0
- package/modern/Drawer/Drawer.d.ts +154 -0
- package/modern/Drawer/drawerClasses.d.ts +54 -0
- package/modern/Drawer/index.d.ts +4 -0
- package/modern/Fab/Fab.d.ts +82 -0
- package/modern/Fab/fabClasses.d.ts +26 -0
- package/modern/Fab/index.d.ts +4 -0
- package/modern/Fade/Fade.d.ts +48 -0
- package/modern/Fade/index.d.ts +2 -0
- package/modern/FilledInput/FilledInput.d.ts +42 -0
- package/modern/FilledInput/filledInputClasses.d.ts +30 -0
- package/modern/FilledInput/index.d.ts +4 -0
- package/modern/FormControl/FormControl.d.ts +120 -0
- package/modern/FormControl/FormControlContext.d.ts +17 -0
- package/modern/FormControl/formControlClasses.d.ts +14 -0
- package/modern/FormControl/index.d.ts +6 -0
- package/modern/FormControl/useFormControl.d.ts +2 -0
- package/modern/FormControlLabel/FormControlLabel.d.ts +101 -0
- package/modern/FormControlLabel/formControlLabelClasses.d.ts +24 -0
- package/modern/FormControlLabel/index.d.ts +4 -0
- package/modern/FormGroup/FormGroup.d.ts +39 -0
- package/modern/FormGroup/formGroupClasses.d.ts +12 -0
- package/modern/FormGroup/index.d.ts +4 -0
- package/modern/FormHelperText/FormHelperText.d.ts +71 -0
- package/modern/FormHelperText/formHelperTextClasses.d.ts +22 -0
- package/modern/FormHelperText/index.d.ts +4 -0
- package/modern/FormLabel/FormLabel.d.ts +78 -0
- package/modern/FormLabel/formLabelClasses.d.ts +22 -0
- package/modern/FormLabel/index.d.ts +4 -0
- package/modern/GlobalStyles/GlobalStyles.d.ts +20 -0
- package/modern/GlobalStyles/index.d.ts +2 -0
- package/modern/Grid/Grid.d.ts +111 -0
- package/modern/Grid/gridClasses.d.ts +10 -0
- package/modern/Grid/index.d.ts +4 -0
- package/modern/GridLegacy/GridLegacy.d.ts +160 -0
- package/modern/GridLegacy/gridLegacyClasses.d.ts +48 -0
- package/modern/GridLegacy/index.d.ts +4 -0
- package/modern/Grow/Grow.d.ts +49 -0
- package/modern/Grow/index.d.ts +2 -0
- package/modern/Icon/Icon.d.ts +62 -0
- package/modern/Icon/iconClasses.d.ts +24 -0
- package/modern/Icon/index.d.ts +4 -0
- package/modern/IconButton/IconButton.d.ts +90 -0
- package/modern/IconButton/iconButtonClasses.d.ts +40 -0
- package/modern/IconButton/index.d.ts +4 -0
- package/modern/ImageList/ImageList.d.ts +60 -0
- package/modern/ImageList/imageListClasses.d.ts +16 -0
- package/modern/ImageList/index.d.ts +4 -0
- package/modern/ImageListItem/ImageListItem.d.ts +48 -0
- package/modern/ImageListItem/imageListItemClasses.d.ts +18 -0
- package/modern/ImageListItem/index.d.ts +4 -0
- package/modern/ImageListItemBar/ImageListItemBar.d.ts +49 -0
- package/modern/ImageListItemBar/imageListItemBarClasses.d.ts +42 -0
- package/modern/ImageListItemBar/index.d.ts +4 -0
- package/modern/InitColorSchemeScript/InitColorSchemeScript.d.ts +10 -0
- package/modern/InitColorSchemeScript/index.d.ts +1 -0
- package/modern/Input/Input.d.ts +35 -0
- package/modern/Input/index.d.ts +4 -0
- package/modern/Input/inputClasses.d.ts +38 -0
- package/modern/InputAdornment/InputAdornment.d.ts +59 -0
- package/modern/InputAdornment/index.d.ts +4 -0
- package/modern/InputAdornment/inputAdornmentClasses.d.ts +24 -0
- package/modern/InputBase/InputBase.d.ts +247 -0
- package/modern/InputBase/index.d.ts +4 -0
- package/modern/InputBase/inputBaseClasses.d.ts +55 -0
- package/modern/InputLabel/InputLabel.d.ts +79 -0
- package/modern/InputLabel/index.d.ts +4 -0
- package/modern/InputLabel/inputLabelClasses.d.ts +32 -0
- package/modern/LinearProgress/LinearProgress.d.ts +57 -0
- package/modern/LinearProgress/index.d.ts +4 -0
- package/modern/LinearProgress/linearProgressClasses.d.ts +64 -0
- package/modern/Link/Link.d.ts +63 -0
- package/modern/Link/getTextDecoration.d.ts +11 -0
- package/modern/Link/index.d.ts +4 -0
- package/modern/Link/linkClasses.d.ts +18 -0
- package/modern/List/List.d.ts +65 -0
- package/modern/List/ListContext.d.ts +5 -0
- package/modern/List/index.d.ts +4 -0
- package/modern/List/listClasses.d.ts +14 -0
- package/modern/ListItem/ListItem.d.ts +127 -0
- package/modern/ListItem/index.d.ts +4 -0
- package/modern/ListItem/listItemClasses.d.ts +22 -0
- package/modern/ListItemAvatar/ListItemAvatar.d.ts +30 -0
- package/modern/ListItemAvatar/index.d.ts +4 -0
- package/modern/ListItemAvatar/listItemAvatarClasses.d.ts +10 -0
- package/modern/ListItemButton/ListItemButton.d.ts +85 -0
- package/modern/ListItemButton/index.d.ts +4 -0
- package/modern/ListItemButton/listItemButtonClasses.d.ts +22 -0
- package/modern/ListItemIcon/ListItemIcon.d.ts +32 -0
- package/modern/ListItemIcon/index.d.ts +4 -0
- package/modern/ListItemIcon/listItemIconClasses.d.ts +10 -0
- package/modern/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +36 -0
- package/modern/ListItemSecondaryAction/index.d.ts +4 -0
- package/modern/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -0
- package/modern/ListItemText/ListItemText.d.ts +95 -0
- package/modern/ListItemText/index.d.ts +4 -0
- package/modern/ListItemText/listItemTextClasses.d.ts +18 -0
- package/modern/ListSubheader/ListSubheader.d.ts +59 -0
- package/modern/ListSubheader/index.d.ts +4 -0
- package/modern/ListSubheader/listSubheaderClasses.d.ts +18 -0
- package/modern/Menu/Menu.d.ts +162 -0
- package/modern/Menu/index.d.ts +4 -0
- package/modern/Menu/menuClasses.d.ts +12 -0
- package/modern/MenuItem/MenuItem.d.ts +69 -0
- package/modern/MenuItem/index.d.ts +4 -0
- package/modern/MenuItem/menuItemClasses.d.ts +20 -0
- package/modern/MenuList/MenuList.d.ts +62 -0
- package/modern/MenuList/index.d.ts +2 -0
- package/modern/MobileStepper/MobileStepper.d.ts +112 -0
- package/modern/MobileStepper/index.d.ts +4 -0
- package/modern/MobileStepper/mobileStepperClasses.d.ts +22 -0
- package/modern/Modal/Modal.d.ts +221 -0
- package/modern/Modal/ModalManager.d.ts +25 -0
- package/modern/Modal/index.d.ts +5 -0
- package/modern/Modal/modalClasses.d.ts +12 -0
- package/modern/Modal/useModal.d.ts +13 -0
- package/modern/Modal/useModal.types.d.ts +118 -0
- package/modern/NativeSelect/NativeSelect.d.ts +68 -0
- package/modern/NativeSelect/NativeSelectInput.d.ts +13 -0
- package/modern/NativeSelect/index.d.ts +4 -0
- package/modern/NativeSelect/nativeSelectClasses.d.ts +34 -0
- package/modern/NoSsr/NoSsr.d.ts +25 -0
- package/modern/NoSsr/NoSsr.types.d.ts +18 -0
- package/modern/NoSsr/index.d.ts +3 -0
- package/modern/OutlinedInput/NotchedOutline.d.ts +12 -0
- package/modern/OutlinedInput/OutlinedInput.d.ts +40 -0
- package/modern/OutlinedInput/index.d.ts +4 -0
- package/modern/OutlinedInput/outlinedInputClasses.d.ts +38 -0
- package/modern/OverridableComponent/index.d.ts +41 -0
- package/modern/Pagination/Pagination.d.ts +79 -0
- package/modern/Pagination/index.d.ts +4 -0
- package/modern/Pagination/paginationClasses.d.ts +14 -0
- package/modern/PaginationItem/PaginationItem.d.ts +110 -0
- package/modern/PaginationItem/index.d.ts +4 -0
- package/modern/PaginationItem/paginationItemClasses.d.ts +54 -0
- package/modern/Paper/Paper.d.ts +62 -0
- package/modern/Paper/index.d.ts +4 -0
- package/modern/Paper/paperClasses.d.ts +64 -0
- package/modern/PigmentContainer/PigmentContainer.d.ts +55 -0
- package/modern/PigmentContainer/index.d.ts +3 -0
- package/modern/PigmentGrid/PigmentGrid.d.ts +83 -0
- package/modern/PigmentGrid/index.d.ts +3 -0
- package/modern/PigmentStack/PigmentStack.d.ts +49 -0
- package/modern/PigmentStack/index.d.ts +3 -0
- package/modern/Popover/Popover.d.ts +233 -0
- package/modern/Popover/index.d.ts +4 -0
- package/modern/Popover/popoverClasses.d.ts +10 -0
- package/modern/Popper/BasePopper.d.ts +7 -0
- package/modern/Popper/BasePopper.types.d.ts +129 -0
- package/modern/Popper/Popper.d.ts +46 -0
- package/modern/Popper/index.d.ts +4 -0
- package/modern/Popper/popperClasses.d.ts +8 -0
- package/modern/Portal/Portal.d.ts +16 -0
- package/modern/Portal/Portal.types.d.ts +23 -0
- package/modern/Portal/index.d.ts +3 -0
- package/modern/Radio/Radio.d.ts +86 -0
- package/modern/Radio/index.d.ts +4 -0
- package/modern/Radio/radioClasses.d.ts +18 -0
- package/modern/RadioGroup/RadioGroup.d.ts +38 -0
- package/modern/RadioGroup/RadioGroupContext.d.ts +11 -0
- package/modern/RadioGroup/index.d.ts +5 -0
- package/modern/RadioGroup/radioGroupClasses.d.ts +6 -0
- package/modern/RadioGroup/useRadioGroup.d.ts +3 -0
- package/modern/Rating/Rating.d.ts +183 -0
- package/modern/Rating/index.d.ts +4 -0
- package/modern/Rating/ratingClasses.d.ts +40 -0
- package/modern/ScopedCssBaseline/ScopedCssBaseline.d.ts +55 -0
- package/modern/ScopedCssBaseline/index.d.ts +4 -0
- package/modern/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -0
- package/modern/Select/Select.d.ts +188 -0
- package/modern/Select/SelectInput.d.ts +47 -0
- package/modern/Select/index.d.ts +4 -0
- package/modern/Select/selectClasses.d.ts +42 -0
- package/modern/Skeleton/Skeleton.d.ts +62 -0
- package/modern/Skeleton/index.d.ts +4 -0
- package/modern/Skeleton/skeletonClasses.d.ts +26 -0
- package/modern/Slide/Slide.d.ts +63 -0
- package/modern/Slide/index.d.ts +2 -0
- package/modern/Slider/Slider.d.ts +298 -0
- package/modern/Slider/SliderValueLabel.d.ts +13 -0
- package/modern/Slider/SliderValueLabel.types.d.ts +25 -0
- package/modern/Slider/index.d.ts +4 -0
- package/modern/Slider/sliderClasses.d.ts +88 -0
- package/modern/Slider/useSlider.d.ts +14 -0
- package/modern/Slider/useSlider.types.d.ts +226 -0
- package/modern/Snackbar/Snackbar.d.ts +182 -0
- package/modern/Snackbar/index.d.ts +4 -0
- package/modern/Snackbar/snackbarClasses.d.ts +20 -0
- package/modern/Snackbar/useSnackbar.d.ts +14 -0
- package/modern/Snackbar/useSnackbar.types.d.ts +59 -0
- package/modern/SnackbarContent/SnackbarContent.d.ts +42 -0
- package/modern/SnackbarContent/index.d.ts +4 -0
- package/modern/SnackbarContent/snackbarContentClasses.d.ts +12 -0
- package/modern/SpeedDial/SpeedDial.d.ts +121 -0
- package/modern/SpeedDial/index.d.ts +4 -0
- package/modern/SpeedDial/speedDialClasses.d.ts +22 -0
- package/modern/SpeedDialAction/SpeedDialAction.d.ts +117 -0
- package/modern/SpeedDialAction/index.d.ts +4 -0
- package/modern/SpeedDialAction/speedDialActionClasses.d.ts +20 -0
- package/modern/SpeedDialIcon/SpeedDialIcon.d.ts +43 -0
- package/modern/SpeedDialIcon/index.d.ts +4 -0
- package/modern/SpeedDialIcon/speedDialIconClasses.d.ts +18 -0
- package/modern/Stack/Stack.d.ts +58 -0
- package/modern/Stack/index.d.ts +4 -0
- package/modern/Stack/stackClasses.d.ts +6 -0
- package/modern/Step/Step.d.ts +70 -0
- package/modern/Step/StepContext.d.ts +20 -0
- package/modern/Step/index.d.ts +6 -0
- package/modern/Step/stepClasses.d.ts +16 -0
- package/modern/StepButton/StepButton.d.ts +51 -0
- package/modern/StepButton/index.d.ts +4 -0
- package/modern/StepButton/stepButtonClasses.d.ts +14 -0
- package/modern/StepConnector/StepConnector.d.ts +29 -0
- package/modern/StepConnector/index.d.ts +4 -0
- package/modern/StepConnector/stepConnectorClasses.d.ts +30 -0
- package/modern/StepContent/StepContent.d.ts +75 -0
- package/modern/StepContent/index.d.ts +4 -0
- package/modern/StepContent/stepContentClasses.d.ts +12 -0
- package/modern/StepIcon/StepIcon.d.ts +50 -0
- package/modern/StepIcon/index.d.ts +4 -0
- package/modern/StepIcon/stepIconClasses.d.ts +16 -0
- package/modern/StepLabel/StepLabel.d.ts +88 -0
- package/modern/StepLabel/index.d.ts +4 -0
- package/modern/StepLabel/stepLabelClasses.d.ts +28 -0
- package/modern/Stepper/Stepper.d.ts +71 -0
- package/modern/Stepper/StepperContext.d.ts +18 -0
- package/modern/Stepper/index.d.ts +6 -0
- package/modern/Stepper/stepperClasses.d.ts +16 -0
- package/modern/SvgIcon/SvgIcon.d.ts +89 -0
- package/modern/SvgIcon/index.d.ts +4 -0
- package/modern/SvgIcon/svgIconClasses.d.ts +26 -0
- package/modern/SwipeableDrawer/SwipeableDrawer.d.ts +106 -0
- package/modern/SwipeableDrawer/index.d.ts +2 -0
- package/modern/Switch/Switch.d.ts +62 -0
- package/modern/Switch/index.d.ts +4 -0
- package/modern/Switch/switchClasses.d.ts +32 -0
- package/modern/Tab/Tab.d.ts +75 -0
- package/modern/Tab/index.d.ts +4 -0
- package/modern/Tab/tabClasses.d.ts +30 -0
- package/modern/TabScrollButton/TabScrollButton.d.ts +67 -0
- package/modern/TabScrollButton/index.d.ts +4 -0
- package/modern/TabScrollButton/tabScrollButtonClasses.d.ts +12 -0
- package/modern/Table/Table.d.ts +55 -0
- package/modern/Table/TableContext.d.ts +7 -0
- package/modern/Table/Tablelvl2Context.d.ts +6 -0
- package/modern/Table/index.d.ts +4 -0
- package/modern/Table/tableClasses.d.ts +10 -0
- package/modern/TableBody/TableBody.d.ts +38 -0
- package/modern/TableBody/index.d.ts +4 -0
- package/modern/TableBody/tableBodyClasses.d.ts +8 -0
- package/modern/TableCell/TableCell.d.ts +82 -0
- package/modern/TableCell/index.d.ts +4 -0
- package/modern/TableCell/tableCellClasses.d.ts +32 -0
- package/modern/TableContainer/TableContainer.d.ts +38 -0
- package/modern/TableContainer/index.d.ts +4 -0
- package/modern/TableContainer/tableContainerClasses.d.ts +8 -0
- package/modern/TableFooter/TableFooter.d.ts +38 -0
- package/modern/TableFooter/index.d.ts +4 -0
- package/modern/TableFooter/tableFooterClasses.d.ts +8 -0
- package/modern/TableHead/TableHead.d.ts +38 -0
- package/modern/TableHead/index.d.ts +4 -0
- package/modern/TableHead/tableHeadClasses.d.ts +8 -0
- package/modern/TablePagination/TablePagination.d.ts +263 -0
- package/modern/TablePagination/TablePaginationActions.d.ts +94 -0
- package/modern/TablePagination/index.d.ts +4 -0
- package/modern/TablePagination/tablePaginationClasses.d.ts +28 -0
- package/modern/TableRow/TableRow.d.ts +50 -0
- package/modern/TableRow/index.d.ts +4 -0
- package/modern/TableRow/tableRowClasses.d.ts +16 -0
- package/modern/TableSortLabel/TableSortLabel.d.ts +90 -0
- package/modern/TableSortLabel/index.d.ts +4 -0
- package/modern/TableSortLabel/tableSortLabelClasses.d.ts +24 -0
- package/modern/Tabs/Tabs.d.ts +272 -0
- package/modern/Tabs/index.d.ts +4 -0
- package/modern/Tabs/tabsClasses.d.ts +36 -0
- package/modern/TextField/TextField.d.ts +312 -0
- package/modern/TextField/index.d.ts +4 -0
- package/modern/TextField/textFieldClasses.d.ts +8 -0
- package/modern/TextareaAutosize/TextareaAutosize.d.ts +14 -0
- package/modern/TextareaAutosize/TextareaAutosize.types.d.ts +13 -0
- package/modern/TextareaAutosize/index.d.ts +3 -0
- package/modern/ToggleButton/ToggleButton.d.ts +95 -0
- package/modern/ToggleButton/index.d.ts +4 -0
- package/modern/ToggleButton/toggleButtonClasses.d.ts +26 -0
- package/modern/ToggleButtonGroup/ToggleButtonGroup.d.ts +82 -0
- package/modern/ToggleButtonGroup/ToggleButtonGroupButtonContext.d.ts +6 -0
- package/modern/ToggleButtonGroup/ToggleButtonGroupContext.d.ts +16 -0
- package/modern/ToggleButtonGroup/index.d.ts +4 -0
- package/modern/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +34 -0
- package/modern/Toolbar/Toolbar.d.ts +51 -0
- package/modern/Toolbar/index.d.ts +4 -0
- package/modern/Toolbar/toolbarClasses.d.ts +14 -0
- package/modern/Tooltip/Tooltip.d.ts +229 -0
- package/modern/Tooltip/index.d.ts +4 -0
- package/modern/Tooltip/tooltipClasses.d.ts +30 -0
- package/modern/Typography/Typography.d.ts +99 -0
- package/modern/Typography/index.d.ts +4 -0
- package/modern/Typography/typographyClasses.d.ts +53 -0
- package/modern/Unstable_TrapFocus/FocusTrap.d.ts +10 -0
- package/modern/Unstable_TrapFocus/FocusTrap.types.d.ts +54 -0
- package/modern/Unstable_TrapFocus/index.d.ts +2 -0
- package/modern/Zoom/Zoom.d.ts +49 -0
- package/modern/Zoom/index.d.ts +2 -0
- package/modern/className/index.d.ts +1 -0
- package/modern/colors/amber.d.ts +62 -0
- package/modern/colors/blue.d.ts +62 -0
- package/modern/colors/blueGrey.d.ts +62 -0
- package/modern/colors/brown.d.ts +62 -0
- package/modern/colors/common.d.ts +14 -0
- package/modern/colors/cyan.d.ts +62 -0
- package/modern/colors/deepOrange.d.ts +62 -0
- package/modern/colors/deepPurple.d.ts +62 -0
- package/modern/colors/green.d.ts +62 -0
- package/modern/colors/grey.d.ts +62 -0
- package/modern/colors/index.d.ts +20 -0
- package/modern/colors/indigo.d.ts +62 -0
- package/modern/colors/lightBlue.d.ts +62 -0
- package/modern/colors/lightGreen.d.ts +62 -0
- package/modern/colors/lime.d.ts +62 -0
- package/modern/colors/orange.d.ts +62 -0
- package/modern/colors/pink.d.ts +62 -0
- package/modern/colors/purple.d.ts +62 -0
- package/modern/colors/red.d.ts +62 -0
- package/modern/colors/teal.d.ts +62 -0
- package/modern/colors/yellow.d.ts +62 -0
- package/modern/darkScrollbar/index.d.ts +28 -0
- package/modern/generateUtilityClass/index.d.ts +2 -0
- package/modern/generateUtilityClasses/index.d.ts +1 -0
- package/modern/index.d.ts +324 -0
- package/modern/index.js +1 -1
- package/modern/internal/SwitchBase.d.ts +108 -0
- package/modern/internal/switchBaseClasses.d.ts +12 -0
- package/modern/locale/index.d.ts +82 -0
- package/modern/styles/ThemeProvider.d.ts +64 -0
- package/modern/styles/ThemeProviderNoVars.d.ts +10 -0
- package/modern/styles/ThemeProviderWithVars.d.ts +50 -0
- package/modern/styles/adaptV4Theme.d.ts +36 -0
- package/modern/styles/components.d.ts +595 -0
- package/modern/styles/createColorScheme.d.ts +9 -0
- package/modern/styles/createGetSelector.d.ts +16 -0
- package/modern/styles/createMixins.d.ts +32 -0
- package/modern/styles/createPalette.d.ts +125 -0
- package/modern/styles/createStyles.d.ts +1 -0
- package/modern/styles/createTheme.d.ts +14 -0
- package/modern/styles/createThemeNoVars.d.ts +70 -0
- package/modern/styles/createThemeWithVars.d.ts +350 -0
- package/modern/styles/createTransitions.d.ts +51 -0
- package/modern/styles/createTypography.d.ts +50 -0
- package/modern/styles/cssUtils.d.ts +25 -0
- package/modern/styles/excludeVariablesFromRoot.d.ts +5 -0
- package/modern/styles/getOverlayAlpha.d.ts +1 -0
- package/modern/styles/identifier.d.ts +2 -0
- package/modern/styles/index.d.ts +48 -0
- package/modern/styles/makeStyles.d.ts +1 -0
- package/modern/styles/overrides.d.ts +244 -0
- package/modern/styles/props.d.ts +241 -0
- package/modern/styles/responsiveFontSizes.d.ts +11 -0
- package/modern/styles/rootShouldForwardProp.d.ts +2 -0
- package/modern/styles/shadows.d.ts +3 -0
- package/modern/styles/shouldSkipGeneratingVar.d.ts +1 -0
- package/modern/styles/slotShouldForwardProp.d.ts +2 -0
- package/modern/styles/stringifyTheme.d.ts +20 -0
- package/modern/styles/styled.d.ts +13 -0
- package/modern/styles/useTheme.d.ts +2 -0
- package/modern/styles/useThemeProps.d.ts +42 -0
- package/modern/styles/variants.d.ts +10 -0
- package/modern/styles/withStyles.d.ts +1 -0
- package/modern/styles/withTheme.d.ts +1 -0
- package/modern/styles/zIndex.d.ts +13 -0
- package/modern/themeCssVarsAugmentation/index.d.ts +10 -0
- package/modern/transitions/index.d.ts +1 -0
- package/modern/transitions/transition.d.ts +12 -0
- package/modern/transitions/utils.d.ts +23 -0
- package/modern/types/OverridableComponentAugmentation.d.ts +31 -0
- package/modern/useAutocomplete/index.d.ts +2 -0
- package/modern/useAutocomplete/useAutocomplete.d.ts +404 -0
- package/modern/useLazyRipple/index.d.ts +1 -0
- package/modern/useLazyRipple/useLazyRipple.d.ts +32 -0
- package/modern/useMediaQuery/index.d.ts +7 -0
- package/modern/usePagination/index.d.ts +2 -0
- package/modern/usePagination/usePagination.d.ts +74 -0
- package/modern/useScrollTrigger/index.d.ts +1 -0
- package/modern/useScrollTrigger/useScrollTrigger.d.ts +6 -0
- package/modern/utils/PolymorphicComponent.d.ts +17 -0
- package/modern/utils/areArraysEqual.d.ts +3 -0
- package/modern/utils/capitalize.d.ts +2 -0
- package/modern/utils/createChainedFunction.d.ts +2 -0
- package/modern/utils/createSimplePaletteValueFilter.d.ts +12 -0
- package/modern/utils/createSvgIcon.d.ts +2 -0
- package/modern/utils/debounce.d.ts +2 -0
- package/modern/utils/deprecatedPropType.d.ts +2 -0
- package/modern/utils/getScrollbarSize.d.ts +2 -0
- package/modern/utils/index.d.ts +20 -0
- package/modern/utils/isHostComponent.d.ts +6 -0
- package/modern/utils/isMuiElement.d.ts +2 -0
- package/modern/utils/memoTheme.d.ts +7 -0
- package/modern/utils/mergeSlotProps.d.ts +2 -0
- package/modern/utils/omitEventHandlers.d.ts +9 -0
- package/modern/utils/ownerDocument.d.ts +2 -0
- package/modern/utils/ownerWindow.d.ts +2 -0
- package/modern/utils/requirePropFactory.d.ts +2 -0
- package/modern/utils/setRef.d.ts +2 -0
- package/modern/utils/types.d.ts +26 -0
- package/modern/utils/unsupportedProp.d.ts +2 -0
- package/modern/utils/useControlled.d.ts +2 -0
- package/modern/utils/useEnhancedEffect.d.ts +2 -0
- package/modern/utils/useEventCallback.d.ts +2 -0
- package/modern/utils/useForkRef.d.ts +2 -0
- package/modern/utils/useId.d.ts +2 -0
- package/modern/utils/useSlot.d.ts +81 -0
- package/modern/version/index.d.ts +6 -0
- package/modern/version/index.js +2 -2
- package/modern/zero-styled/index.d.ts +12 -0
- package/package.json +8 -6
- package/styles/ThemeProvider.d.ts +64 -0
- package/styles/ThemeProviderNoVars.d.ts +10 -0
- package/styles/ThemeProviderWithVars.d.ts +50 -0
- package/styles/adaptV4Theme.d.ts +36 -0
- package/styles/components.d.ts +595 -0
- package/styles/createColorScheme.d.ts +9 -0
- package/styles/createGetSelector.d.ts +16 -0
- package/styles/createMixins.d.ts +32 -0
- package/styles/createPalette.d.ts +125 -0
- package/styles/createStyles.d.ts +1 -0
- package/styles/createTheme.d.ts +14 -0
- package/styles/createThemeNoVars.d.ts +70 -0
- package/styles/createThemeWithVars.d.ts +350 -0
- package/styles/createTransitions.d.ts +51 -0
- package/styles/createTypography.d.ts +50 -0
- package/styles/cssUtils.d.ts +25 -0
- package/styles/excludeVariablesFromRoot.d.ts +5 -0
- package/styles/getOverlayAlpha.d.ts +1 -0
- package/styles/identifier.d.ts +2 -0
- package/styles/index.d.ts +48 -0
- package/styles/makeStyles.d.ts +1 -0
- package/styles/overrides.d.ts +244 -0
- package/styles/props.d.ts +241 -0
- package/styles/responsiveFontSizes.d.ts +11 -0
- package/styles/rootShouldForwardProp.d.ts +2 -0
- package/styles/shadows.d.ts +3 -0
- package/styles/shouldSkipGeneratingVar.d.ts +1 -0
- package/styles/slotShouldForwardProp.d.ts +2 -0
- package/styles/stringifyTheme.d.ts +20 -0
- package/styles/styled.d.ts +13 -0
- package/styles/useTheme.d.ts +2 -0
- package/styles/useThemeProps.d.ts +42 -0
- package/styles/variants.d.ts +10 -0
- package/styles/withStyles.d.ts +1 -0
- package/styles/withTheme.d.ts +1 -0
- package/styles/zIndex.d.ts +13 -0
- package/themeCssVarsAugmentation/index.d.ts +10 -0
- package/transitions/index.d.ts +1 -0
- package/transitions/transition.d.ts +12 -0
- package/transitions/utils.d.ts +23 -0
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/OverridableComponentAugmentation.d.ts +31 -0
- package/useAutocomplete/index.d.ts +2 -0
- package/useAutocomplete/useAutocomplete.d.ts +404 -0
- package/useLazyRipple/index.d.ts +1 -0
- package/useLazyRipple/useLazyRipple.d.ts +32 -0
- package/useMediaQuery/index.d.ts +7 -0
- package/usePagination/index.d.ts +2 -0
- package/usePagination/usePagination.d.ts +74 -0
- package/useScrollTrigger/index.d.ts +1 -0
- package/useScrollTrigger/useScrollTrigger.d.ts +6 -0
- package/utils/PolymorphicComponent.d.ts +17 -0
- package/utils/areArraysEqual.d.ts +3 -0
- package/utils/capitalize.d.ts +2 -0
- package/utils/createChainedFunction.d.ts +2 -0
- package/utils/createSimplePaletteValueFilter.d.ts +12 -0
- package/utils/createSvgIcon.d.ts +2 -0
- package/utils/debounce.d.ts +2 -0
- package/utils/deprecatedPropType.d.ts +2 -0
- package/utils/getScrollbarSize.d.ts +2 -0
- package/utils/index.d.ts +20 -0
- package/utils/isHostComponent.d.ts +6 -0
- package/utils/isMuiElement.d.ts +2 -0
- package/utils/memoTheme.d.ts +7 -0
- package/utils/mergeSlotProps.d.ts +2 -0
- package/utils/omitEventHandlers.d.ts +9 -0
- package/utils/ownerDocument.d.ts +2 -0
- package/utils/ownerWindow.d.ts +2 -0
- package/utils/requirePropFactory.d.ts +2 -0
- package/utils/setRef.d.ts +2 -0
- package/utils/types.d.ts +26 -0
- package/utils/unsupportedProp.d.ts +2 -0
- package/utils/useControlled.d.ts +2 -0
- package/utils/useEnhancedEffect.d.ts +2 -0
- package/utils/useEventCallback.d.ts +2 -0
- package/utils/useForkRef.d.ts +2 -0
- package/utils/useId.d.ts +2 -0
- package/utils/useSlot.d.ts +81 -0
- package/version/index.d.ts +6 -0
- package/version/index.js +2 -2
- package/zero-styled/index.d.ts +12 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { SxProps } from '@mui/system';
|
|
3
|
+
import { OverridableStringUnion } from '@mui/types';
|
|
4
|
+
import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
|
|
5
|
+
import { Theme } from "../index.js";
|
|
6
|
+
import { ButtonGroupClasses } from "./buttonGroupClasses.js";
|
|
7
|
+
export interface ButtonGroupPropsColorOverrides {}
|
|
8
|
+
export interface ButtonGroupPropsVariantOverrides {}
|
|
9
|
+
export interface ButtonGroupPropsSizeOverrides {}
|
|
10
|
+
export interface ButtonGroupOwnProps {
|
|
11
|
+
/**
|
|
12
|
+
* The content of the component.
|
|
13
|
+
*/
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
/**
|
|
16
|
+
* Override or extend the styles applied to the component.
|
|
17
|
+
*/
|
|
18
|
+
classes?: Partial<ButtonGroupClasses>;
|
|
19
|
+
/**
|
|
20
|
+
* The color of the component.
|
|
21
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
22
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
23
|
+
* @default 'primary'
|
|
24
|
+
*/
|
|
25
|
+
color?: OverridableStringUnion<'inherit' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning', ButtonGroupPropsColorOverrides>;
|
|
26
|
+
/**
|
|
27
|
+
* If `true`, the component is disabled.
|
|
28
|
+
* @default false
|
|
29
|
+
*/
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* If `true`, no elevation is used.
|
|
33
|
+
* @default false
|
|
34
|
+
*/
|
|
35
|
+
disableElevation?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* If `true`, the button keyboard focus ripple is disabled.
|
|
38
|
+
* @default false
|
|
39
|
+
*/
|
|
40
|
+
disableFocusRipple?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* If `true`, the button ripple effect is disabled.
|
|
43
|
+
* @default false
|
|
44
|
+
*/
|
|
45
|
+
disableRipple?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* If `true`, the buttons will take up the full width of its container.
|
|
48
|
+
* @default false
|
|
49
|
+
*/
|
|
50
|
+
fullWidth?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* The component orientation (layout flow direction).
|
|
53
|
+
* @default 'horizontal'
|
|
54
|
+
*/
|
|
55
|
+
orientation?: 'vertical' | 'horizontal';
|
|
56
|
+
/**
|
|
57
|
+
* The size of the component.
|
|
58
|
+
* `small` is equivalent to the dense button styling.
|
|
59
|
+
* @default 'medium'
|
|
60
|
+
*/
|
|
61
|
+
size?: OverridableStringUnion<'small' | 'medium' | 'large', ButtonGroupPropsSizeOverrides>;
|
|
62
|
+
/**
|
|
63
|
+
* The variant to use.
|
|
64
|
+
* @default 'outlined'
|
|
65
|
+
*/
|
|
66
|
+
variant?: OverridableStringUnion<'text' | 'outlined' | 'contained', ButtonGroupPropsVariantOverrides>;
|
|
67
|
+
/**
|
|
68
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
69
|
+
*/
|
|
70
|
+
sx?: SxProps<Theme>;
|
|
71
|
+
}
|
|
72
|
+
export interface ButtonGroupTypeMap<AdditionalProps = {}, RootComponent extends React.ElementType = 'div'> {
|
|
73
|
+
props: AdditionalProps & ButtonGroupOwnProps;
|
|
74
|
+
defaultComponent: RootComponent;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* Demos:
|
|
80
|
+
*
|
|
81
|
+
* - [Button Group](https://next.mui.com/material-ui/react-button-group/)
|
|
82
|
+
*
|
|
83
|
+
* API:
|
|
84
|
+
*
|
|
85
|
+
* - [ButtonGroup API](https://next.mui.com/material-ui/api/button-group/)
|
|
86
|
+
*/
|
|
87
|
+
declare const ButtonGroup: OverridableComponent<ButtonGroupTypeMap>;
|
|
88
|
+
export type ButtonGroupProps<RootComponent extends React.ElementType = ButtonGroupTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<ButtonGroupTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
|
89
|
+
component?: React.ElementType;
|
|
90
|
+
};
|
|
91
|
+
export default ButtonGroup;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { ButtonGroupProps } from "./ButtonGroup.js";
|
|
3
|
+
interface ButtonGroupContextType {
|
|
4
|
+
className?: string;
|
|
5
|
+
color?: ButtonGroupProps['color'];
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
disableElevation?: boolean;
|
|
8
|
+
disableFocusRipple?: boolean;
|
|
9
|
+
disableRipple?: boolean;
|
|
10
|
+
fullWidth?: boolean;
|
|
11
|
+
size?: ButtonGroupProps['size'];
|
|
12
|
+
variant?: ButtonGroupProps['variant'];
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @ignore - internal component.
|
|
16
|
+
*/
|
|
17
|
+
declare const ButtonGroupContext: React.Context<ButtonGroupContextType>;
|
|
18
|
+
export default ButtonGroupContext;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
export interface ButtonGroupClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `variant="contained"`. */
|
|
5
|
+
contained: string;
|
|
6
|
+
/** Styles applied to the root element if `variant="outlined"`. */
|
|
7
|
+
outlined: string;
|
|
8
|
+
/** Styles applied to the root element if `variant="text"`. */
|
|
9
|
+
text: string;
|
|
10
|
+
/** Styles applied to the root element if `disableElevation={true}`. */
|
|
11
|
+
disableElevation: string;
|
|
12
|
+
/** State class applied to the child elements if `disabled={true}`. */
|
|
13
|
+
disabled: string;
|
|
14
|
+
/** Styles applied to the first button in the button group. */
|
|
15
|
+
firstButton: string;
|
|
16
|
+
/** Styles applied to the root element if `fullWidth={true}`. */
|
|
17
|
+
fullWidth: string;
|
|
18
|
+
/** Styles applied to the root element if `orientation="horizontal"`. */
|
|
19
|
+
horizontal: string;
|
|
20
|
+
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
21
|
+
vertical: string;
|
|
22
|
+
/** Styles applied to the children. */
|
|
23
|
+
grouped: string;
|
|
24
|
+
/** Styles applied to the root element if `color="primary"` */
|
|
25
|
+
colorPrimary: string;
|
|
26
|
+
/** Styles applied to the root element if `color="secondary"` */
|
|
27
|
+
colorSecondary: string;
|
|
28
|
+
/** Styles applied to the children if `orientation="horizontal"`.
|
|
29
|
+
* @deprecated Combine the [.MuiButtonGroup-horizontal](/material-ui/api/button-group/#button-group-classes-horizontal) and [.MuiButtonGroup-grouped](/material-ui/api/button-group/#button-group-classes-grouped) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
30
|
+
*/
|
|
31
|
+
groupedHorizontal: string;
|
|
32
|
+
/** Styles applied to the children if `orientation="vertical"`.
|
|
33
|
+
* @deprecated Combine the [.MuiButtonGroup-vertical](/material-ui/api/button-group/#button-group-classes-vertical) and [.MuiButtonGroup-grouped](/material-ui/api/button-group/#button-group-classes-grouped) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
34
|
+
*/
|
|
35
|
+
groupedVertical: string;
|
|
36
|
+
/** Styles applied to the children if `variant="text"`.
|
|
37
|
+
* @deprecated Combine the [.MuiButtonGroup-text](/material-ui/api/button-group/#button-group-classes-text) and [.MuiButtonGroup-grouped](/material-ui/api/button-group/#button-group-classes-grouped) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
38
|
+
*/
|
|
39
|
+
groupedText: string;
|
|
40
|
+
/** Styles applied to the children if `variant="text"` and `orientation="horizontal"`.
|
|
41
|
+
* @deprecated Combine the [.MuiButtonGroup-text](/material-ui/api/button-group/#button-group-classes-text) , [.MuiButtonGroup-horizontal](/material-ui/api/button-group/#button-group-classes-horizontal) and [.MuiButtonGroup-grouped](/material-ui/api/button-group/#button-group-classes-grouped) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
42
|
+
*/
|
|
43
|
+
groupedTextHorizontal: string;
|
|
44
|
+
/** Styles applied to the children if `variant="text"` and `orientation="vertical"`.
|
|
45
|
+
* @deprecated Combine the [.MuiButtonGroup-text](/material-ui/api/button-group/#button-group-classes-text) , [.MuiButtonGroup-vertical](/material-ui/api/button-group/#button-group-classes-vertical) and [.MuiButtonGroup-grouped](/material-ui/api/button-group/#button-group-classes-grouped) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
46
|
+
*/
|
|
47
|
+
groupedTextVertical: string;
|
|
48
|
+
/** Styles applied to the children if `variant="text"` and `color="primary"`.
|
|
49
|
+
* @deprecated Combine the [.MuiButtonGroup-text](/material-ui/api/button-group/#button-group-classes-text) , [.MuiButtonGroup-colorPrimary](/material-ui/api/button-group/#button-group-classes-colorPrimary) and [.MuiButtonGroup-grouped](/material-ui/api/button-group/#button-group-classes-grouped) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
50
|
+
*/
|
|
51
|
+
groupedTextPrimary: string;
|
|
52
|
+
/** Styles applied to the children if `variant="text"` and `color="secondary"`.
|
|
53
|
+
* @deprecated Combine the [.MuiButtonGroup-text](/material-ui/api/button-group/#button-group-classes-text) , [.MuiButtonGroup-colorSecondary](/material-ui/api/button-group/#button-group-classes-colorSecondary) and [.MuiButtonGroup-grouped](/material-ui/api/button-group/#button-group-classes-grouped) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
54
|
+
*/
|
|
55
|
+
groupedTextSecondary: string;
|
|
56
|
+
/** Styles applied to the children if `variant="outlined"`.
|
|
57
|
+
* @deprecated Combine the [.MuiButtonGroup-outlined](/material-ui/api/button-group/#button-group-classes-outlined) and [.MuiButtonGroup-grouped](/material-ui/api/button-group/#button-group-classes-grouped) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
58
|
+
*/
|
|
59
|
+
groupedOutlined: string;
|
|
60
|
+
/** Styles applied to the children if `variant="outlined"` and `orientation="horizontal"`.
|
|
61
|
+
* @deprecated Combine the [.MuiButtonGroup-outlined](/material-ui/api/button-group/#button-group-classes-outlined) , [.MuiButtonGroup-horizontal](/material-ui/api/button-group/#button-group-classes-horizontal) and [.MuiButtonGroup-grouped](/material-ui/api/button-group/#button-group-classes-grouped) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
62
|
+
*/
|
|
63
|
+
groupedOutlinedHorizontal: string;
|
|
64
|
+
/** Styles applied to the children if `variant="outlined"` and `orientation="vertical"`.
|
|
65
|
+
* @deprecated Combine the [.MuiButtonGroup-outlined](/material-ui/api/button-group/#button-group-classes-outlined) , [.MuiButtonGroup-vertical](/material-ui/api/button-group/#button-group-classes-vertical) and [.MuiButtonGroup-grouped](/material-ui/api/button-group/#button-group-classes-grouped) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
66
|
+
*/
|
|
67
|
+
groupedOutlinedVertical: string;
|
|
68
|
+
/** Styles applied to the children if `variant="outlined"` and `color="primary"`.
|
|
69
|
+
* @deprecated Combine the [.MuiButtonGroup-outlined](/material-ui/api/button-group/#button-group-classes-outlined) , [.MuiButtonGroup-colorPrimary](/material-ui/api/button-group/#button-group-classes-colorPrimary) and [.MuiButtonGroup-grouped](/material-ui/api/button-group/#button-group-classes-grouped) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
70
|
+
*/
|
|
71
|
+
groupedOutlinedPrimary: string;
|
|
72
|
+
/** Styles applied to the children if `variant="outlined"` and `color="secondary"`.
|
|
73
|
+
* @deprecated Combine the [.MuiButtonGroup-outlined](/material-ui/api/button-group/#button-group-classes-outlined) , [.MuiButtonGroup-colorSecondary](/material-ui/api/button-group/#button-group-classes-colorSecondary) and [.MuiButtonGroup-grouped](/material-ui/api/button-group/#button-group-classes-grouped) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
74
|
+
*/
|
|
75
|
+
groupedOutlinedSecondary: string;
|
|
76
|
+
/** Styles applied to the children if `variant="contained"`.
|
|
77
|
+
* @deprecated Combine the [.MuiButtonGroup-contained](/material-ui/api/button-group/#button-group-classes-contained) and [.MuiButtonGroup-grouped](/material-ui/api/button-group/#button-group-classes-grouped) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
78
|
+
*/
|
|
79
|
+
groupedContained: string;
|
|
80
|
+
/** Styles applied to the children if `variant="contained"` and `orientation="horizontal"`.
|
|
81
|
+
* @deprecated Combine the [.MuiButtonGroup-contained](/material-ui/api/button-group/#button-group-classes-contained) , [.MuiButtonGroup-horizontal](/material-ui/api/button-group/#button-group-classes-horizontal) and [.MuiButtonGroup-grouped](/material-ui/api/button-group/#button-group-classes-grouped) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
82
|
+
*/
|
|
83
|
+
groupedContainedHorizontal: string;
|
|
84
|
+
/** Styles applied to the children if `variant="contained"` and `orientation="vertical"`.
|
|
85
|
+
* @deprecated Combine the [.MuiButtonGroup-contained](/material-ui/api/button-group/#button-group-classes-contained) , [.MuiButtonGroup-vertical](/material-ui/api/button-group/#button-group-classes-vertical) and [.MuiButtonGroup-grouped](/material-ui/api/button-group/#button-group-classes-grouped) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
86
|
+
*/
|
|
87
|
+
groupedContainedVertical: string;
|
|
88
|
+
/** Styles applied to the children if `variant="contained"` and `color="primary"`.
|
|
89
|
+
* @deprecated Combine the [.MuiButtonGroup-contained](/material-ui/api/button-group/#button-group-classes-contained) , [.MuiButtonGroup-colorPrimary](/material-ui/api/button-group/#button-group-classes-colorPrimary) and [.MuiButtonGroup-grouped](/material-ui/api/button-group/#button-group-classes-grouped) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
90
|
+
*/
|
|
91
|
+
groupedContainedPrimary: string;
|
|
92
|
+
/** Styles applied to the children if `variant="contained"` and `color="secondary"`.
|
|
93
|
+
* @deprecated Combine the [.MuiButtonGroup-contained](/material-ui/api/button-group/#button-group-classes-contained) , [.MuiButtonGroup-colorSecondary](/material-ui/api/button-group/#button-group-classes-colorSecondary) and [.MuiButtonGroup-grouped](/material-ui/api/button-group/#button-group-classes-grouped) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
94
|
+
*/
|
|
95
|
+
groupedContainedSecondary: string;
|
|
96
|
+
/** Styles applied to the last button in the button group. */
|
|
97
|
+
lastButton: string;
|
|
98
|
+
/** Styles applied to buttons in the middle of the button group. */
|
|
99
|
+
middleButton: string;
|
|
100
|
+
}
|
|
101
|
+
export type ButtonGroupClassKey = keyof ButtonGroupClasses;
|
|
102
|
+
export declare function getButtonGroupUtilityClass(slot: string): string;
|
|
103
|
+
declare const buttonGroupClasses: ButtonGroupClasses;
|
|
104
|
+
export default buttonGroupClasses;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default } from "./ButtonGroup.js";
|
|
2
|
+
export * from "./ButtonGroup.js";
|
|
3
|
+
export { default as buttonGroupClasses } from "./buttonGroupClasses.js";
|
|
4
|
+
export * from "./buttonGroupClasses.js";
|
|
5
|
+
export { default as ButtonGroupContext } from "./ButtonGroupContext.js";
|
|
6
|
+
export { default as ButtonGroupButtonContext } from "./ButtonGroupButtonContext.js";
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { SxProps } from '@mui/system';
|
|
3
|
+
import { DistributiveOmit } from '@mui/types';
|
|
4
|
+
import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
|
|
5
|
+
import { Theme } from "../index.js";
|
|
6
|
+
import { PaperOwnProps } from "../Paper/index.js";
|
|
7
|
+
import { CardClasses } from "./cardClasses.js";
|
|
8
|
+
|
|
9
|
+
// TODO: v6 remove this interface, it is not used
|
|
10
|
+
export interface CardPropsColorOverrides {}
|
|
11
|
+
export interface CardOwnProps extends DistributiveOmit<PaperOwnProps, 'classes'> {
|
|
12
|
+
/**
|
|
13
|
+
* Override or extend the styles applied to the component.
|
|
14
|
+
*/
|
|
15
|
+
classes?: Partial<CardClasses>;
|
|
16
|
+
/**
|
|
17
|
+
* If `true`, the card will use raised styling.
|
|
18
|
+
* @default false
|
|
19
|
+
*/
|
|
20
|
+
raised?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
23
|
+
*/
|
|
24
|
+
sx?: SxProps<Theme>;
|
|
25
|
+
}
|
|
26
|
+
export interface CardTypeMap<AdditionalProps = {}, RootComponent extends React.ElementType = 'div'> {
|
|
27
|
+
props: AdditionalProps & CardOwnProps;
|
|
28
|
+
defaultComponent: RootComponent;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* Demos:
|
|
34
|
+
*
|
|
35
|
+
* - [Card](https://next.mui.com/material-ui/react-card/)
|
|
36
|
+
*
|
|
37
|
+
* API:
|
|
38
|
+
*
|
|
39
|
+
* - [Card API](https://next.mui.com/material-ui/api/card/)
|
|
40
|
+
* - inherits [Paper API](https://next.mui.com/material-ui/api/paper/)
|
|
41
|
+
*/
|
|
42
|
+
|
|
43
|
+
declare const Card: OverridableComponent<CardTypeMap>;
|
|
44
|
+
export type CardProps<RootComponent extends React.ElementType = CardTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<CardTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
|
45
|
+
component?: React.ElementType;
|
|
46
|
+
};
|
|
47
|
+
export default Card;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface CardClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
}
|
|
5
|
+
export type CardClassKey = keyof CardClasses;
|
|
6
|
+
export declare function getCardUtilityClass(slot: string): string;
|
|
7
|
+
declare const cardClasses: CardClasses;
|
|
8
|
+
export default cardClasses;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { SxProps } from '@mui/system';
|
|
3
|
+
import { Theme } from "../index.js";
|
|
4
|
+
import { ButtonBaseTypeMap, ExtendButtonBase, ExtendButtonBaseTypeMap } from "../ButtonBase/index.js";
|
|
5
|
+
import { OverrideProps } from "../OverridableComponent/index.js";
|
|
6
|
+
import { CardActionAreaClasses } from "./cardActionAreaClasses.js";
|
|
7
|
+
export interface CardActionAreaOwnProps {
|
|
8
|
+
/**
|
|
9
|
+
* Override or extend the styles applied to the component.
|
|
10
|
+
*/
|
|
11
|
+
classes?: Partial<CardActionAreaClasses>;
|
|
12
|
+
focusVisibleClassName?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
15
|
+
*/
|
|
16
|
+
sx?: SxProps<Theme>;
|
|
17
|
+
}
|
|
18
|
+
export type CardActionAreaTypeMap<AdditionalProps, RootComponent extends React.ElementType> = ExtendButtonBaseTypeMap<{
|
|
19
|
+
props: AdditionalProps & CardActionAreaOwnProps;
|
|
20
|
+
defaultComponent: RootComponent;
|
|
21
|
+
}>;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* Demos:
|
|
26
|
+
*
|
|
27
|
+
* - [Card](https://next.mui.com/material-ui/react-card/)
|
|
28
|
+
*
|
|
29
|
+
* API:
|
|
30
|
+
*
|
|
31
|
+
* - [CardActionArea API](https://next.mui.com/material-ui/api/card-action-area/)
|
|
32
|
+
* - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/)
|
|
33
|
+
*/
|
|
34
|
+
declare const CardActionArea: ExtendButtonBase<CardActionAreaTypeMap<{}, ButtonBaseTypeMap['defaultComponent']>>;
|
|
35
|
+
export type CardActionAreaProps<RootComponent extends React.ElementType = ButtonBaseTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<CardActionAreaTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
|
36
|
+
component?: React.ElementType;
|
|
37
|
+
};
|
|
38
|
+
export default CardActionArea;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface CardActionAreaClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** State class applied to the ButtonBase root element if the action area is keyboard focused. */
|
|
5
|
+
focusVisible: string;
|
|
6
|
+
/** Styles applied to the overlay that covers the action area when it is keyboard focused. */
|
|
7
|
+
focusHighlight: string;
|
|
8
|
+
}
|
|
9
|
+
export type CardActionAreaClassKey = keyof CardActionAreaClasses;
|
|
10
|
+
export declare function getCardActionAreaUtilityClass(slot: string): string;
|
|
11
|
+
declare const cardActionAreaClasses: CardActionAreaClasses;
|
|
12
|
+
export default cardActionAreaClasses;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { SxProps } from '@mui/system';
|
|
3
|
+
import { InternalStandardProps as StandardProps, Theme } from "../index.js";
|
|
4
|
+
import { CardActionsClasses } from "./cardActionsClasses.js";
|
|
5
|
+
export interface CardActionsProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>> {
|
|
6
|
+
/**
|
|
7
|
+
* The content of the component.
|
|
8
|
+
*/
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
/**
|
|
11
|
+
* Override or extend the styles applied to the component.
|
|
12
|
+
*/
|
|
13
|
+
classes?: Partial<CardActionsClasses>;
|
|
14
|
+
/**
|
|
15
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
16
|
+
*/
|
|
17
|
+
sx?: SxProps<Theme>;
|
|
18
|
+
/**
|
|
19
|
+
* If `true`, the actions do not have additional margin.
|
|
20
|
+
* @default false
|
|
21
|
+
*/
|
|
22
|
+
disableSpacing?: boolean;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* Demos:
|
|
28
|
+
*
|
|
29
|
+
* - [Card](https://next.mui.com/material-ui/react-card/)
|
|
30
|
+
*
|
|
31
|
+
* API:
|
|
32
|
+
*
|
|
33
|
+
* - [CardActions API](https://next.mui.com/material-ui/api/card-actions/)
|
|
34
|
+
*/
|
|
35
|
+
export default function CardActions(props: CardActionsProps): React.JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface CardActionsClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element unless `disableSpacing={true}`. */
|
|
5
|
+
spacing: string;
|
|
6
|
+
}
|
|
7
|
+
export type CardActionsClassKey = keyof CardActionsClasses;
|
|
8
|
+
export declare function getCardActionsUtilityClass(slot: string): string;
|
|
9
|
+
declare const cardActionsClasses: CardActionsClasses;
|
|
10
|
+
export default cardActionsClasses;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { SxProps } from '@mui/system';
|
|
3
|
+
import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
|
|
4
|
+
import { Theme } from "../index.js";
|
|
5
|
+
import { CardContentClasses } from "./cardContentClasses.js";
|
|
6
|
+
export interface CardContentOwnProps {
|
|
7
|
+
/**
|
|
8
|
+
* The content of the component.
|
|
9
|
+
*/
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* Override or extend the styles applied to the component.
|
|
13
|
+
*/
|
|
14
|
+
classes?: Partial<CardContentClasses>;
|
|
15
|
+
/**
|
|
16
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
17
|
+
*/
|
|
18
|
+
sx?: SxProps<Theme>;
|
|
19
|
+
}
|
|
20
|
+
export interface CardContentTypeMap<AdditionalProps = {}, RootComponent extends React.ElementType = 'div'> {
|
|
21
|
+
props: AdditionalProps & CardContentOwnProps;
|
|
22
|
+
defaultComponent: RootComponent;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* Demos:
|
|
27
|
+
*
|
|
28
|
+
* - [Card](https://next.mui.com/material-ui/react-card/)
|
|
29
|
+
*
|
|
30
|
+
* API:
|
|
31
|
+
*
|
|
32
|
+
* - [CardContent API](https://next.mui.com/material-ui/api/card-content/)
|
|
33
|
+
*/
|
|
34
|
+
declare const CardContent: OverridableComponent<CardContentTypeMap>;
|
|
35
|
+
export type CardContentProps<RootComponent extends React.ElementType = CardContentTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<CardContentTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
|
36
|
+
component?: React.ElementType;
|
|
37
|
+
};
|
|
38
|
+
export default CardContent;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface CardContentClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
}
|
|
5
|
+
export type CardContentClassKey = keyof CardContentClasses;
|
|
6
|
+
export declare function getCardContentUtilityClass(slot: string): string;
|
|
7
|
+
declare const cardContentClasses: CardContentClasses;
|
|
8
|
+
export default cardContentClasses;
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { SxProps } from '@mui/system';
|
|
3
|
+
import { TypographyProps } from "../Typography/index.js";
|
|
4
|
+
import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
|
|
5
|
+
import { Theme } from "../index.js";
|
|
6
|
+
import { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
|
|
7
|
+
import { CardHeaderClasses } from "./cardHeaderClasses.js";
|
|
8
|
+
export interface CardHeaderRootSlotPropsOverrides {}
|
|
9
|
+
export interface CardHeaderAvatarSlotPropsOverrides {}
|
|
10
|
+
export interface CardHeaderActionSlotPropsOverrides {}
|
|
11
|
+
export interface CardHeaderContentSlotPropsOverrides {}
|
|
12
|
+
export interface CardHeaderTitleSlotPropsOverrides {}
|
|
13
|
+
export interface CardHeaderSubheaderSlotPropsOverrides {}
|
|
14
|
+
export interface CardHeaderSlots {
|
|
15
|
+
/**
|
|
16
|
+
* The component that renders the root slot.
|
|
17
|
+
* @default 'div'
|
|
18
|
+
*/
|
|
19
|
+
root: React.ElementType;
|
|
20
|
+
/**
|
|
21
|
+
* The component that renders the avatar slot.
|
|
22
|
+
* @default 'div'
|
|
23
|
+
*/
|
|
24
|
+
avatar: React.ElementType;
|
|
25
|
+
/**
|
|
26
|
+
* The component that renders the action slot.
|
|
27
|
+
* @default 'div'
|
|
28
|
+
*/
|
|
29
|
+
action: React.ElementType;
|
|
30
|
+
/**
|
|
31
|
+
* The component that renders the content slot.
|
|
32
|
+
* @default 'div'
|
|
33
|
+
*/
|
|
34
|
+
content: React.ElementType;
|
|
35
|
+
/**
|
|
36
|
+
* The component that renders the title slot (as long as disableTypography is not `true`).
|
|
37
|
+
* [Follow this guide](https://mui.com/material-ui/api/typography/#props) to learn more about the requirements for this component.
|
|
38
|
+
* @default Typography
|
|
39
|
+
*/
|
|
40
|
+
title: React.ElementType;
|
|
41
|
+
/**
|
|
42
|
+
* The component that renders the subheader slot (as long as disableTypography is not `true`).
|
|
43
|
+
* [Follow this guide](https://mui.com/material-ui/api/typography/#props) to learn more about the requirements for this component.
|
|
44
|
+
* @default Typography
|
|
45
|
+
*/
|
|
46
|
+
subheader: React.ElementType;
|
|
47
|
+
}
|
|
48
|
+
export type CardHeaderSlotsAndSlotProps = CreateSlotsAndSlotProps<CardHeaderSlots, {
|
|
49
|
+
/**
|
|
50
|
+
* Props forwarded to the root slot.
|
|
51
|
+
* By default, the avaible props are based on the div element.
|
|
52
|
+
*/
|
|
53
|
+
root: SlotProps<'div', CardHeaderRootSlotPropsOverrides, CardHeaderOwnerState>;
|
|
54
|
+
/**
|
|
55
|
+
* Props forwarded to the avatar slot.
|
|
56
|
+
* By default, the avaible props are based on the div element.
|
|
57
|
+
*/
|
|
58
|
+
avatar: SlotProps<'div', CardHeaderAvatarSlotPropsOverrides, CardHeaderOwnerState>;
|
|
59
|
+
/**
|
|
60
|
+
* Props forwarded to the action slot.
|
|
61
|
+
* By default, the avaible props are based on the div element.
|
|
62
|
+
*/
|
|
63
|
+
action: SlotProps<'div', CardHeaderActionSlotPropsOverrides, CardHeaderOwnerState>;
|
|
64
|
+
/**
|
|
65
|
+
* Props forwarded to the content slot.
|
|
66
|
+
* By default, the avaible props are based on the div element.
|
|
67
|
+
*/
|
|
68
|
+
content: SlotProps<'div', CardHeaderContentSlotPropsOverrides, CardHeaderOwnerState>;
|
|
69
|
+
/**
|
|
70
|
+
* Props forwarded to the title slot (as long as disableTypography is not `true`).
|
|
71
|
+
* By default, the avaible props are based on the [Typography](https://mui.com/material-ui/api/typography/#props) component.
|
|
72
|
+
*/
|
|
73
|
+
title: SlotProps<React.ElementType<TypographyProps>, CardHeaderTitleSlotPropsOverrides, CardHeaderOwnerState>;
|
|
74
|
+
/**
|
|
75
|
+
* Props forwarded to the subheader slot (as long as disableTypography is not `true`).
|
|
76
|
+
* By default, the avaible props are based on the [Typography](https://mui.com/material-ui/api/typography/#props) component.
|
|
77
|
+
*/
|
|
78
|
+
subheader: SlotProps<React.ElementType<TypographyProps>, CardHeaderSubheaderSlotPropsOverrides, CardHeaderOwnerState>;
|
|
79
|
+
}>;
|
|
80
|
+
export interface CardHeaderOwnProps<TitleTypographyComponent extends React.ElementType = 'span', SubheaderTypographyComponent extends React.ElementType = 'span'> {
|
|
81
|
+
/**
|
|
82
|
+
* The action to display in the card header.
|
|
83
|
+
*/
|
|
84
|
+
action?: React.ReactNode;
|
|
85
|
+
/**
|
|
86
|
+
* The Avatar element to display.
|
|
87
|
+
*/
|
|
88
|
+
avatar?: React.ReactNode;
|
|
89
|
+
/**
|
|
90
|
+
* Override or extend the styles applied to the component.
|
|
91
|
+
*/
|
|
92
|
+
classes?: Partial<CardHeaderClasses>;
|
|
93
|
+
/**
|
|
94
|
+
* If `true`, `subheader` and `title` won't be wrapped by a Typography component.
|
|
95
|
+
* This can be useful to render an alternative Typography variant by wrapping
|
|
96
|
+
* the `title` text, and optional `subheader` text
|
|
97
|
+
* with the Typography component.
|
|
98
|
+
* @default false
|
|
99
|
+
*/
|
|
100
|
+
disableTypography?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* The content of the component.
|
|
103
|
+
*/
|
|
104
|
+
subheader?: React.ReactNode;
|
|
105
|
+
/**
|
|
106
|
+
* These props will be forwarded to the subheader
|
|
107
|
+
* (as long as disableTypography is not `true`).
|
|
108
|
+
* @deprecated Use `slotProps.subheader` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
109
|
+
*/
|
|
110
|
+
subheaderTypographyProps?: TypographyProps<SubheaderTypographyComponent, {
|
|
111
|
+
component?: SubheaderTypographyComponent;
|
|
112
|
+
}>;
|
|
113
|
+
/**
|
|
114
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
115
|
+
*/
|
|
116
|
+
sx?: SxProps<Theme>;
|
|
117
|
+
/**
|
|
118
|
+
* The content of the component.
|
|
119
|
+
*/
|
|
120
|
+
title?: React.ReactNode;
|
|
121
|
+
/**
|
|
122
|
+
* These props will be forwarded to the title
|
|
123
|
+
* (as long as disableTypography is not `true`).
|
|
124
|
+
* @deprecated Use `slotProps.title` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
125
|
+
*/
|
|
126
|
+
titleTypographyProps?: TypographyProps<TitleTypographyComponent, {
|
|
127
|
+
component?: TitleTypographyComponent;
|
|
128
|
+
}>;
|
|
129
|
+
}
|
|
130
|
+
export interface CardHeaderOwnerState extends CardHeaderOwnProps {}
|
|
131
|
+
export interface CardHeaderTypeMap<AdditionalProps = {}, RootComponent extends React.ElementType = 'div', TitleTypographyComponent extends React.ElementType = 'span', SubheaderTypographyComponent extends React.ElementType = 'span'> {
|
|
132
|
+
props: AdditionalProps & CardHeaderOwnProps<TitleTypographyComponent, SubheaderTypographyComponent> & CardHeaderSlotsAndSlotProps;
|
|
133
|
+
defaultComponent: RootComponent;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
*
|
|
137
|
+
* Demos:
|
|
138
|
+
*
|
|
139
|
+
* - [Card](https://next.mui.com/material-ui/react-card/)
|
|
140
|
+
*
|
|
141
|
+
* API:
|
|
142
|
+
*
|
|
143
|
+
* - [CardHeader API](https://next.mui.com/material-ui/api/card-header/)
|
|
144
|
+
*/
|
|
145
|
+
declare const CardHeader: OverridableCardHeader;
|
|
146
|
+
export interface OverridableCardHeader extends OverridableComponent<CardHeaderTypeMap> {
|
|
147
|
+
<RootComponent extends React.ElementType = CardHeaderTypeMap['defaultComponent'], AdditionalProps = {}, TitleTypographyComponent extends React.ElementType = 'span', SubheaderTypographyComponent extends React.ElementType = 'span'>(props: CardHeaderPropsWithComponent<RootComponent, AdditionalProps, TitleTypographyComponent, SubheaderTypographyComponent>): React.JSX.Element;
|
|
148
|
+
}
|
|
149
|
+
export type CardHeaderProps<RootComponent extends React.ElementType = CardHeaderTypeMap['defaultComponent'], AdditionalProps = {}, TitleTypographyComponent extends React.ElementType = 'span', SubheaderTypographyComponent extends React.ElementType = 'span'> = OverrideProps<CardHeaderTypeMap<AdditionalProps, RootComponent, TitleTypographyComponent, SubheaderTypographyComponent>, RootComponent>;
|
|
150
|
+
export type CardHeaderPropsWithComponent<RootComponent extends React.ElementType = CardHeaderTypeMap['defaultComponent'], AdditionalProps = {}, TitleTypographyComponent extends React.ElementType = 'span', SubheaderTypographyComponent extends React.ElementType = 'span'> = {
|
|
151
|
+
/**
|
|
152
|
+
* The component used for the root node.
|
|
153
|
+
* Either a string to use a HTML element or a component.
|
|
154
|
+
*/
|
|
155
|
+
component?: RootComponent;
|
|
156
|
+
} & CardHeaderProps<RootComponent, AdditionalProps, TitleTypographyComponent, SubheaderTypographyComponent>;
|
|
157
|
+
export default CardHeader;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface CardHeaderClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the avatar element. */
|
|
5
|
+
avatar: string;
|
|
6
|
+
/** Styles applied to the action element. */
|
|
7
|
+
action: string;
|
|
8
|
+
/** Styles applied to the content wrapper element. */
|
|
9
|
+
content: string;
|
|
10
|
+
/** Styles applied to the title Typography element. */
|
|
11
|
+
title: string;
|
|
12
|
+
/** Styles applied to the subheader Typography element. */
|
|
13
|
+
subheader: string;
|
|
14
|
+
}
|
|
15
|
+
export type CardHeaderClassKey = keyof CardHeaderClasses;
|
|
16
|
+
export declare function getCardHeaderUtilityClass(slot: string): string;
|
|
17
|
+
declare const cardHeaderClasses: CardHeaderClasses;
|
|
18
|
+
export default cardHeaderClasses;
|