@mui/material 7.0.0-alpha.2 → 7.0.0-beta.0
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/CHANGELOG.md +42 -0
- package/Dialog/Dialog.js +0 -9
- package/Grid/Grid.js +68 -515
- package/Grid/gridClasses.js +1 -1
- package/Grid/index.js +12 -2
- package/GridLegacy/GridLegacy.js +601 -0
- package/{Grid/GridContext.js → GridLegacy/GridLegacyContext.js} +3 -3
- package/{Grid2/grid2Classes.js → GridLegacy/gridLegacyClasses.js} +5 -5
- package/GridLegacy/index.js +35 -0
- package/Menu/Menu.js +52 -17
- package/Modal/Modal.js +0 -9
- package/PigmentGrid/PigmentGrid.js +2 -2
- package/PigmentGrid/index.js +4 -4
- package/Rating/Rating.js +132 -46
- package/Select/SelectInput.js +8 -8
- package/esm/Dialog/Dialog.d.ts +0 -5
- package/esm/Dialog/Dialog.js +0 -9
- package/esm/Grid/Grid.d.ts +51 -100
- package/esm/Grid/Grid.js +68 -508
- package/esm/Grid/gridClasses.d.ts +0 -38
- package/esm/Grid/gridClasses.js +1 -1
- package/esm/Grid/index.js +1 -0
- package/{modern/Grid/Grid.d.ts → esm/GridLegacy/GridLegacy.d.ts} +28 -28
- package/esm/GridLegacy/GridLegacy.js +588 -0
- package/esm/GridLegacy/GridLegacyContext.js +12 -0
- package/{Grid/gridClasses.d.ts → esm/GridLegacy/gridLegacyClasses.d.ts} +4 -4
- package/esm/{Grid2/grid2Classes.js → GridLegacy/gridLegacyClasses.js} +4 -4
- package/esm/GridLegacy/index.d.ts +4 -0
- package/esm/GridLegacy/index.js +3 -0
- package/esm/Menu/Menu.d.ts +68 -1
- package/esm/Menu/Menu.js +52 -17
- package/esm/Modal/Modal.d.ts +0 -5
- package/esm/Modal/Modal.js +0 -9
- package/esm/PigmentGrid/PigmentGrid.d.ts +1 -1
- package/esm/PigmentGrid/PigmentGrid.js +2 -2
- package/esm/PigmentGrid/index.d.ts +1 -1
- package/esm/PigmentGrid/index.js +1 -1
- package/esm/Rating/Rating.d.ts +52 -1
- package/esm/Rating/Rating.js +131 -45
- package/esm/Select/SelectInput.js +8 -8
- package/esm/StepButton/StepButton.d.ts +0 -5
- package/esm/index.d.ts +3 -8
- package/esm/index.js +3 -3
- package/esm/styles/components.d.ts +5 -5
- package/esm/styles/createTheme.d.ts +0 -1
- package/esm/styles/createTheme.js +0 -1
- package/esm/styles/createThemeNoVars.d.ts +0 -6
- package/esm/styles/createThemeNoVars.js +7 -12
- package/esm/styles/index.d.ts +1 -5
- package/esm/styles/index.js +1 -2
- package/esm/styles/overrides.d.ts +2 -2
- package/esm/styles/props.d.ts +2 -2
- package/esm/utils/createSvgIcon.d.ts +1 -1
- package/esm/utils/createSvgIcon.js +1 -1
- package/esm/version/index.js +2 -2
- package/index.js +9 -9
- package/modern/Dialog/Dialog.js +0 -9
- package/modern/Grid/Grid.js +68 -508
- package/modern/Grid/gridClasses.js +1 -1
- package/modern/Grid/index.js +1 -0
- package/modern/GridLegacy/GridLegacy.js +588 -0
- package/modern/GridLegacy/GridLegacyContext.js +12 -0
- package/modern/{Grid2/grid2Classes.js → GridLegacy/gridLegacyClasses.js} +4 -4
- package/modern/GridLegacy/index.js +3 -0
- package/modern/Menu/Menu.js +52 -17
- package/modern/Modal/Modal.js +0 -9
- package/modern/PigmentGrid/PigmentGrid.js +2 -2
- package/modern/PigmentGrid/index.js +1 -1
- package/modern/Rating/Rating.js +131 -45
- package/modern/Select/SelectInput.js +8 -8
- package/modern/index.js +3 -3
- package/modern/styles/createTheme.js +0 -1
- package/modern/styles/createThemeNoVars.js +7 -12
- package/modern/styles/index.js +1 -2
- package/modern/utils/createSvgIcon.js +1 -1
- package/modern/version/index.js +2 -2
- package/package.json +5 -6
- package/styles/createTheme.js +1 -8
- package/styles/createThemeNoVars.js +7 -13
- package/styles/index.js +1 -15
- package/tsconfig.build.tsbuildinfo +1 -1
- package/utils/createSvgIcon.js +1 -1
- package/version/index.js +2 -2
- package/Accordion/Accordion.d.ts +0 -111
- package/Accordion/accordionClasses.d.ts +0 -20
- package/Accordion/index.d.ts +0 -4
- package/AccordionActions/AccordionActions.d.ts +0 -35
- package/AccordionActions/accordionActionsClasses.d.ts +0 -10
- package/AccordionActions/index.d.ts +0 -4
- package/AccordionDetails/AccordionDetails.d.ts +0 -30
- package/AccordionDetails/accordionDetailsClasses.d.ts +0 -8
- package/AccordionDetails/index.d.ts +0 -4
- package/AccordionSummary/AccordionSummary.d.ts +0 -45
- package/AccordionSummary/accordionSummaryClasses.d.ts +0 -25
- package/AccordionSummary/index.d.ts +0 -4
- package/Alert/Alert.d.ts +0 -178
- package/Alert/alertClasses.d.ts +0 -100
- package/Alert/index.d.ts +0 -4
- package/AlertTitle/AlertTitle.d.ts +0 -31
- package/AlertTitle/alertTitleClasses.d.ts +0 -8
- package/AlertTitle/index.d.ts +0 -4
- package/AppBar/AppBar.d.ts +0 -59
- package/AppBar/appBarClasses.d.ts +0 -36
- package/AppBar/index.d.ts +0 -4
- package/Autocomplete/Autocomplete.d.ts +0 -290
- package/Autocomplete/autocompleteClasses.d.ts +0 -58
- package/Autocomplete/index.d.ts +0 -4
- package/Avatar/Avatar.d.ts +0 -85
- package/Avatar/avatarClasses.d.ts +0 -20
- package/Avatar/index.d.ts +0 -4
- package/AvatarGroup/AvatarGroup.d.ts +0 -96
- package/AvatarGroup/avatarGroupClasses.d.ts +0 -10
- package/AvatarGroup/index.d.ts +0 -4
- package/Backdrop/Backdrop.d.ts +0 -118
- package/Backdrop/backdropClasses.d.ts +0 -10
- package/Backdrop/index.d.ts +0 -4
- package/Badge/Badge.d.ts +0 -158
- package/Badge/badgeClasses.d.ts +0 -56
- package/Badge/index.d.ts +0 -4
- package/Badge/useBadge.d.ts +0 -13
- package/Badge/useBadge.types.d.ts +0 -39
- package/BottomNavigation/BottomNavigation.d.ts +0 -55
- package/BottomNavigation/bottomNavigationClasses.d.ts +0 -8
- package/BottomNavigation/index.d.ts +0 -4
- package/BottomNavigationAction/BottomNavigationAction.d.ts +0 -62
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +0 -14
- package/BottomNavigationAction/index.d.ts +0 -4
- package/Box/Box.d.ts +0 -20
- package/Box/boxClasses.d.ts +0 -7
- package/Box/index.d.ts +0 -4
- package/Breadcrumbs/Breadcrumbs.d.ts +0 -94
- package/Breadcrumbs/breadcrumbsClasses.d.ts +0 -14
- package/Breadcrumbs/index.d.ts +0 -4
- package/Button/Button.d.ts +0 -130
- package/Button/buttonClasses.d.ts +0 -194
- package/Button/index.d.ts +0 -4
- package/ButtonBase/ButtonBase.d.ts +0 -125
- package/ButtonBase/TouchRipple.d.ts +0 -22
- package/ButtonBase/buttonBaseClasses.d.ts +0 -12
- package/ButtonBase/index.d.ts +0 -6
- package/ButtonBase/touchRippleClasses.d.ts +0 -20
- package/ButtonGroup/ButtonGroup.d.ts +0 -91
- package/ButtonGroup/ButtonGroupButtonContext.d.ts +0 -6
- package/ButtonGroup/ButtonGroupContext.d.ts +0 -18
- package/ButtonGroup/buttonGroupClasses.d.ts +0 -104
- package/ButtonGroup/index.d.ts +0 -6
- package/Card/Card.d.ts +0 -47
- package/Card/cardClasses.d.ts +0 -8
- package/Card/index.d.ts +0 -4
- package/CardActionArea/CardActionArea.d.ts +0 -38
- package/CardActionArea/cardActionAreaClasses.d.ts +0 -12
- package/CardActionArea/index.d.ts +0 -4
- package/CardActions/CardActions.d.ts +0 -35
- package/CardActions/cardActionsClasses.d.ts +0 -10
- package/CardActions/index.d.ts +0 -4
- package/CardContent/CardContent.d.ts +0 -38
- package/CardContent/cardContentClasses.d.ts +0 -8
- package/CardContent/index.d.ts +0 -4
- package/CardHeader/CardHeader.d.ts +0 -157
- package/CardHeader/cardHeaderClasses.d.ts +0 -18
- package/CardHeader/index.d.ts +0 -4
- package/CardMedia/CardMedia.d.ts +0 -51
- package/CardMedia/cardMediaClasses.d.ts +0 -12
- package/CardMedia/index.d.ts +0 -4
- package/Checkbox/Checkbox.d.ts +0 -131
- package/Checkbox/checkboxClasses.d.ts +0 -22
- package/Checkbox/index.d.ts +0 -4
- package/Chip/Chip.d.ts +0 -107
- package/Chip/chipClasses.d.ts +0 -150
- package/Chip/index.d.ts +0 -4
- package/CircularProgress/CircularProgress.d.ts +0 -71
- package/CircularProgress/circularProgressClasses.d.ts +0 -30
- package/CircularProgress/index.d.ts +0 -4
- package/ClickAwayListener/ClickAwayListener.d.ts +0 -47
- package/ClickAwayListener/index.d.ts +0 -2
- package/Collapse/Collapse.d.ts +0 -71
- package/Collapse/collapseClasses.d.ts +0 -18
- package/Collapse/index.d.ts +0 -4
- package/Container/Container.d.ts +0 -55
- package/Container/containerClasses.d.ts +0 -6
- package/Container/index.d.ts +0 -4
- package/CssBaseline/CssBaseline.d.ts +0 -28
- package/CssBaseline/index.d.ts +0 -2
- package/DefaultPropsProvider/DefaultPropsProvider.d.ts +0 -13
- package/DefaultPropsProvider/index.d.ts +0 -1
- package/Dialog/Dialog.d.ts +0 -189
- package/Dialog/DialogContext.d.ts +0 -6
- package/Dialog/dialogClasses.d.ts +0 -36
- package/Dialog/index.d.ts +0 -4
- package/DialogActions/DialogActions.d.ts +0 -35
- package/DialogActions/dialogActionsClasses.d.ts +0 -10
- package/DialogActions/index.d.ts +0 -4
- package/DialogContent/DialogContent.d.ts +0 -35
- package/DialogContent/dialogContentClasses.d.ts +0 -10
- package/DialogContent/index.d.ts +0 -4
- package/DialogContentText/DialogContentText.d.ts +0 -37
- package/DialogContentText/dialogContentTextClasses.d.ts +0 -8
- package/DialogContentText/index.d.ts +0 -4
- package/DialogTitle/DialogTitle.d.ts +0 -43
- package/DialogTitle/dialogTitleClasses.d.ts +0 -8
- package/DialogTitle/index.d.ts +0 -4
- package/Divider/Divider.d.ts +0 -74
- package/Divider/dividerClasses.d.ts +0 -38
- package/Divider/index.d.ts +0 -4
- package/Drawer/Drawer.d.ts +0 -154
- package/Drawer/drawerClasses.d.ts +0 -54
- package/Drawer/index.d.ts +0 -4
- package/Fab/Fab.d.ts +0 -82
- package/Fab/fabClasses.d.ts +0 -26
- package/Fab/index.d.ts +0 -4
- package/Fade/Fade.d.ts +0 -48
- package/Fade/index.d.ts +0 -2
- package/FilledInput/FilledInput.d.ts +0 -42
- package/FilledInput/filledInputClasses.d.ts +0 -30
- package/FilledInput/index.d.ts +0 -4
- package/FormControl/FormControl.d.ts +0 -120
- package/FormControl/FormControlContext.d.ts +0 -17
- package/FormControl/formControlClasses.d.ts +0 -14
- package/FormControl/index.d.ts +0 -6
- package/FormControl/useFormControl.d.ts +0 -2
- package/FormControlLabel/FormControlLabel.d.ts +0 -101
- package/FormControlLabel/formControlLabelClasses.d.ts +0 -24
- package/FormControlLabel/index.d.ts +0 -4
- package/FormGroup/FormGroup.d.ts +0 -39
- package/FormGroup/formGroupClasses.d.ts +0 -12
- package/FormGroup/index.d.ts +0 -4
- package/FormHelperText/FormHelperText.d.ts +0 -71
- package/FormHelperText/formHelperTextClasses.d.ts +0 -22
- package/FormHelperText/index.d.ts +0 -4
- package/FormLabel/FormLabel.d.ts +0 -78
- package/FormLabel/formLabelClasses.d.ts +0 -22
- package/FormLabel/index.d.ts +0 -4
- package/GlobalStyles/GlobalStyles.d.ts +0 -20
- package/GlobalStyles/index.d.ts +0 -2
- package/Grid/Grid.d.ts +0 -160
- package/Grid/index.d.ts +0 -4
- package/Grid2/Grid2.d.ts +0 -111
- package/Grid2/Grid2.js +0 -144
- package/Grid2/grid2Classes.d.ts +0 -10
- package/Grid2/index.d.ts +0 -4
- package/Grid2/index.js +0 -45
- package/Grow/Grow.d.ts +0 -49
- package/Grow/index.d.ts +0 -2
- package/Icon/Icon.d.ts +0 -62
- package/Icon/iconClasses.d.ts +0 -24
- package/Icon/index.d.ts +0 -4
- package/IconButton/IconButton.d.ts +0 -90
- package/IconButton/iconButtonClasses.d.ts +0 -40
- package/IconButton/index.d.ts +0 -4
- package/ImageList/ImageList.d.ts +0 -60
- package/ImageList/imageListClasses.d.ts +0 -16
- package/ImageList/index.d.ts +0 -4
- package/ImageListItem/ImageListItem.d.ts +0 -48
- package/ImageListItem/imageListItemClasses.d.ts +0 -18
- package/ImageListItem/index.d.ts +0 -4
- package/ImageListItemBar/ImageListItemBar.d.ts +0 -49
- package/ImageListItemBar/imageListItemBarClasses.d.ts +0 -42
- package/ImageListItemBar/index.d.ts +0 -4
- package/InitColorSchemeScript/InitColorSchemeScript.d.ts +0 -10
- package/InitColorSchemeScript/index.d.ts +0 -1
- package/Input/Input.d.ts +0 -35
- package/Input/index.d.ts +0 -4
- package/Input/inputClasses.d.ts +0 -38
- package/InputAdornment/InputAdornment.d.ts +0 -59
- package/InputAdornment/index.d.ts +0 -4
- package/InputAdornment/inputAdornmentClasses.d.ts +0 -24
- package/InputBase/InputBase.d.ts +0 -247
- package/InputBase/index.d.ts +0 -4
- package/InputBase/inputBaseClasses.d.ts +0 -55
- package/InputLabel/InputLabel.d.ts +0 -79
- package/InputLabel/index.d.ts +0 -4
- package/InputLabel/inputLabelClasses.d.ts +0 -32
- package/LinearProgress/LinearProgress.d.ts +0 -57
- package/LinearProgress/index.d.ts +0 -4
- package/LinearProgress/linearProgressClasses.d.ts +0 -64
- package/Link/Link.d.ts +0 -63
- package/Link/getTextDecoration.d.ts +0 -11
- package/Link/index.d.ts +0 -4
- package/Link/linkClasses.d.ts +0 -18
- package/List/List.d.ts +0 -65
- package/List/ListContext.d.ts +0 -5
- package/List/index.d.ts +0 -4
- package/List/listClasses.d.ts +0 -14
- package/ListItem/ListItem.d.ts +0 -127
- package/ListItem/index.d.ts +0 -4
- package/ListItem/listItemClasses.d.ts +0 -22
- package/ListItemAvatar/ListItemAvatar.d.ts +0 -30
- package/ListItemAvatar/index.d.ts +0 -4
- package/ListItemAvatar/listItemAvatarClasses.d.ts +0 -10
- package/ListItemButton/ListItemButton.d.ts +0 -85
- package/ListItemButton/index.d.ts +0 -4
- package/ListItemButton/listItemButtonClasses.d.ts +0 -22
- package/ListItemIcon/ListItemIcon.d.ts +0 -32
- package/ListItemIcon/index.d.ts +0 -4
- package/ListItemIcon/listItemIconClasses.d.ts +0 -10
- package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +0 -36
- package/ListItemSecondaryAction/index.d.ts +0 -4
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +0 -10
- package/ListItemText/ListItemText.d.ts +0 -95
- package/ListItemText/index.d.ts +0 -4
- package/ListItemText/listItemTextClasses.d.ts +0 -18
- package/ListSubheader/ListSubheader.d.ts +0 -59
- package/ListSubheader/index.d.ts +0 -4
- package/ListSubheader/listSubheaderClasses.d.ts +0 -18
- package/Menu/Menu.d.ts +0 -95
- package/Menu/index.d.ts +0 -4
- package/Menu/menuClasses.d.ts +0 -12
- package/MenuItem/MenuItem.d.ts +0 -69
- package/MenuItem/index.d.ts +0 -4
- package/MenuItem/menuItemClasses.d.ts +0 -20
- package/MenuList/MenuList.d.ts +0 -62
- package/MenuList/index.d.ts +0 -2
- package/MobileStepper/MobileStepper.d.ts +0 -112
- package/MobileStepper/index.d.ts +0 -4
- package/MobileStepper/mobileStepperClasses.d.ts +0 -22
- package/Modal/Modal.d.ts +0 -226
- package/Modal/ModalManager.d.ts +0 -25
- package/Modal/index.d.ts +0 -5
- package/Modal/modalClasses.d.ts +0 -12
- package/Modal/useModal.d.ts +0 -13
- package/Modal/useModal.types.d.ts +0 -118
- package/NativeSelect/NativeSelect.d.ts +0 -68
- package/NativeSelect/NativeSelectInput.d.ts +0 -13
- package/NativeSelect/index.d.ts +0 -4
- package/NativeSelect/nativeSelectClasses.d.ts +0 -34
- package/NoSsr/NoSsr.d.ts +0 -25
- package/NoSsr/NoSsr.types.d.ts +0 -18
- package/NoSsr/index.d.ts +0 -3
- package/OutlinedInput/NotchedOutline.d.ts +0 -12
- package/OutlinedInput/OutlinedInput.d.ts +0 -40
- package/OutlinedInput/index.d.ts +0 -4
- package/OutlinedInput/outlinedInputClasses.d.ts +0 -38
- package/OverridableComponent/index.d.ts +0 -41
- package/Pagination/Pagination.d.ts +0 -79
- package/Pagination/index.d.ts +0 -4
- package/Pagination/paginationClasses.d.ts +0 -14
- package/PaginationItem/PaginationItem.d.ts +0 -110
- package/PaginationItem/index.d.ts +0 -4
- package/PaginationItem/paginationItemClasses.d.ts +0 -54
- package/Paper/Paper.d.ts +0 -62
- package/Paper/index.d.ts +0 -4
- package/Paper/paperClasses.d.ts +0 -64
- package/PigmentContainer/PigmentContainer.d.ts +0 -55
- package/PigmentContainer/index.d.ts +0 -3
- package/PigmentGrid/PigmentGrid.d.ts +0 -83
- package/PigmentGrid/index.d.ts +0 -3
- package/PigmentStack/PigmentStack.d.ts +0 -49
- package/PigmentStack/index.d.ts +0 -3
- package/Popover/Popover.d.ts +0 -233
- package/Popover/index.d.ts +0 -4
- package/Popover/popoverClasses.d.ts +0 -10
- package/Popper/BasePopper.d.ts +0 -7
- package/Popper/BasePopper.types.d.ts +0 -129
- package/Popper/Popper.d.ts +0 -46
- package/Popper/index.d.ts +0 -4
- package/Popper/popperClasses.d.ts +0 -8
- package/Portal/Portal.d.ts +0 -16
- package/Portal/Portal.types.d.ts +0 -23
- package/Portal/index.d.ts +0 -3
- package/Radio/Radio.d.ts +0 -86
- package/Radio/index.d.ts +0 -4
- package/Radio/radioClasses.d.ts +0 -18
- package/RadioGroup/RadioGroup.d.ts +0 -38
- package/RadioGroup/RadioGroupContext.d.ts +0 -11
- package/RadioGroup/index.d.ts +0 -5
- package/RadioGroup/radioGroupClasses.d.ts +0 -6
- package/RadioGroup/useRadioGroup.d.ts +0 -3
- package/Rating/Rating.d.ts +0 -132
- package/Rating/index.d.ts +0 -4
- package/Rating/ratingClasses.d.ts +0 -40
- package/ScopedCssBaseline/ScopedCssBaseline.d.ts +0 -55
- package/ScopedCssBaseline/index.d.ts +0 -4
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +0 -8
- package/Select/Select.d.ts +0 -188
- package/Select/SelectInput.d.ts +0 -47
- package/Select/index.d.ts +0 -4
- package/Select/selectClasses.d.ts +0 -42
- package/Skeleton/Skeleton.d.ts +0 -62
- package/Skeleton/index.d.ts +0 -4
- package/Skeleton/skeletonClasses.d.ts +0 -26
- package/Slide/Slide.d.ts +0 -63
- package/Slide/index.d.ts +0 -2
- package/Slider/Slider.d.ts +0 -298
- package/Slider/SliderValueLabel.d.ts +0 -13
- package/Slider/SliderValueLabel.types.d.ts +0 -25
- package/Slider/index.d.ts +0 -4
- package/Slider/sliderClasses.d.ts +0 -88
- package/Slider/useSlider.d.ts +0 -14
- package/Slider/useSlider.types.d.ts +0 -226
- package/Snackbar/Snackbar.d.ts +0 -182
- package/Snackbar/index.d.ts +0 -4
- package/Snackbar/snackbarClasses.d.ts +0 -20
- package/Snackbar/useSnackbar.d.ts +0 -14
- package/Snackbar/useSnackbar.types.d.ts +0 -59
- package/SnackbarContent/SnackbarContent.d.ts +0 -42
- package/SnackbarContent/index.d.ts +0 -4
- package/SnackbarContent/snackbarContentClasses.d.ts +0 -12
- package/SpeedDial/SpeedDial.d.ts +0 -121
- package/SpeedDial/index.d.ts +0 -4
- package/SpeedDial/speedDialClasses.d.ts +0 -22
- package/SpeedDialAction/SpeedDialAction.d.ts +0 -117
- package/SpeedDialAction/index.d.ts +0 -4
- package/SpeedDialAction/speedDialActionClasses.d.ts +0 -20
- package/SpeedDialIcon/SpeedDialIcon.d.ts +0 -43
- package/SpeedDialIcon/index.d.ts +0 -4
- package/SpeedDialIcon/speedDialIconClasses.d.ts +0 -18
- package/Stack/Stack.d.ts +0 -58
- package/Stack/index.d.ts +0 -4
- package/Stack/stackClasses.d.ts +0 -6
- package/Step/Step.d.ts +0 -70
- package/Step/StepContext.d.ts +0 -20
- package/Step/index.d.ts +0 -6
- package/Step/stepClasses.d.ts +0 -16
- package/StepButton/StepButton.d.ts +0 -56
- package/StepButton/index.d.ts +0 -4
- package/StepButton/stepButtonClasses.d.ts +0 -14
- package/StepConnector/StepConnector.d.ts +0 -29
- package/StepConnector/index.d.ts +0 -4
- package/StepConnector/stepConnectorClasses.d.ts +0 -30
- package/StepContent/StepContent.d.ts +0 -75
- package/StepContent/index.d.ts +0 -4
- package/StepContent/stepContentClasses.d.ts +0 -12
- package/StepIcon/StepIcon.d.ts +0 -50
- package/StepIcon/index.d.ts +0 -4
- package/StepIcon/stepIconClasses.d.ts +0 -16
- package/StepLabel/StepLabel.d.ts +0 -88
- package/StepLabel/index.d.ts +0 -4
- package/StepLabel/stepLabelClasses.d.ts +0 -28
- package/Stepper/Stepper.d.ts +0 -71
- package/Stepper/StepperContext.d.ts +0 -18
- package/Stepper/index.d.ts +0 -6
- package/Stepper/stepperClasses.d.ts +0 -16
- package/StyledEngineProvider/index.d.ts +0 -4
- package/StyledEngineProvider/index.js +0 -12
- package/SvgIcon/SvgIcon.d.ts +0 -89
- package/SvgIcon/index.d.ts +0 -4
- package/SvgIcon/svgIconClasses.d.ts +0 -26
- package/SwipeableDrawer/SwipeableDrawer.d.ts +0 -106
- package/SwipeableDrawer/index.d.ts +0 -2
- package/Switch/Switch.d.ts +0 -62
- package/Switch/index.d.ts +0 -4
- package/Switch/switchClasses.d.ts +0 -32
- package/Tab/Tab.d.ts +0 -75
- package/Tab/index.d.ts +0 -4
- package/Tab/tabClasses.d.ts +0 -30
- package/TabScrollButton/TabScrollButton.d.ts +0 -67
- package/TabScrollButton/index.d.ts +0 -4
- package/TabScrollButton/tabScrollButtonClasses.d.ts +0 -12
- package/Table/Table.d.ts +0 -55
- package/Table/TableContext.d.ts +0 -7
- package/Table/Tablelvl2Context.d.ts +0 -6
- package/Table/index.d.ts +0 -4
- package/Table/tableClasses.d.ts +0 -10
- package/TableBody/TableBody.d.ts +0 -38
- package/TableBody/index.d.ts +0 -4
- package/TableBody/tableBodyClasses.d.ts +0 -8
- package/TableCell/TableCell.d.ts +0 -82
- package/TableCell/index.d.ts +0 -4
- package/TableCell/tableCellClasses.d.ts +0 -32
- package/TableContainer/TableContainer.d.ts +0 -38
- package/TableContainer/index.d.ts +0 -4
- package/TableContainer/tableContainerClasses.d.ts +0 -8
- package/TableFooter/TableFooter.d.ts +0 -38
- package/TableFooter/index.d.ts +0 -4
- package/TableFooter/tableFooterClasses.d.ts +0 -8
- package/TableHead/TableHead.d.ts +0 -38
- package/TableHead/index.d.ts +0 -4
- package/TableHead/tableHeadClasses.d.ts +0 -8
- package/TablePagination/TablePagination.d.ts +0 -263
- package/TablePagination/TablePaginationActions.d.ts +0 -94
- package/TablePagination/index.d.ts +0 -4
- package/TablePagination/tablePaginationClasses.d.ts +0 -28
- package/TableRow/TableRow.d.ts +0 -50
- package/TableRow/index.d.ts +0 -4
- package/TableRow/tableRowClasses.d.ts +0 -16
- package/TableSortLabel/TableSortLabel.d.ts +0 -90
- package/TableSortLabel/index.d.ts +0 -4
- package/TableSortLabel/tableSortLabelClasses.d.ts +0 -24
- package/Tabs/Tabs.d.ts +0 -272
- package/Tabs/index.d.ts +0 -4
- package/Tabs/tabsClasses.d.ts +0 -36
- package/TextField/TextField.d.ts +0 -312
- package/TextField/index.d.ts +0 -4
- package/TextField/textFieldClasses.d.ts +0 -8
- package/TextareaAutosize/TextareaAutosize.d.ts +0 -14
- package/TextareaAutosize/TextareaAutosize.types.d.ts +0 -13
- package/TextareaAutosize/index.d.ts +0 -3
- package/ToggleButton/ToggleButton.d.ts +0 -95
- package/ToggleButton/index.d.ts +0 -4
- package/ToggleButton/toggleButtonClasses.d.ts +0 -26
- package/ToggleButtonGroup/ToggleButtonGroup.d.ts +0 -82
- package/ToggleButtonGroup/ToggleButtonGroupButtonContext.d.ts +0 -6
- package/ToggleButtonGroup/ToggleButtonGroupContext.d.ts +0 -16
- package/ToggleButtonGroup/index.d.ts +0 -4
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +0 -34
- package/Toolbar/Toolbar.d.ts +0 -51
- package/Toolbar/index.d.ts +0 -4
- package/Toolbar/toolbarClasses.d.ts +0 -14
- package/Tooltip/Tooltip.d.ts +0 -229
- package/Tooltip/index.d.ts +0 -4
- package/Tooltip/tooltipClasses.d.ts +0 -30
- package/Typography/Typography.d.ts +0 -99
- package/Typography/index.d.ts +0 -4
- package/Typography/typographyClasses.d.ts +0 -53
- package/Unstable_TrapFocus/FocusTrap.d.ts +0 -10
- package/Unstable_TrapFocus/FocusTrap.types.d.ts +0 -54
- package/Unstable_TrapFocus/index.d.ts +0 -2
- package/Zoom/Zoom.d.ts +0 -49
- package/Zoom/index.d.ts +0 -2
- package/className/index.d.ts +0 -1
- package/colors/amber.d.ts +0 -62
- package/colors/blue.d.ts +0 -62
- package/colors/blueGrey.d.ts +0 -62
- package/colors/brown.d.ts +0 -62
- package/colors/common.d.ts +0 -14
- package/colors/cyan.d.ts +0 -62
- package/colors/deepOrange.d.ts +0 -62
- package/colors/deepPurple.d.ts +0 -62
- package/colors/green.d.ts +0 -62
- package/colors/grey.d.ts +0 -62
- package/colors/index.d.ts +0 -20
- package/colors/indigo.d.ts +0 -62
- package/colors/lightBlue.d.ts +0 -62
- package/colors/lightGreen.d.ts +0 -62
- package/colors/lime.d.ts +0 -62
- package/colors/orange.d.ts +0 -62
- package/colors/pink.d.ts +0 -62
- package/colors/purple.d.ts +0 -62
- package/colors/red.d.ts +0 -62
- package/colors/teal.d.ts +0 -62
- package/colors/yellow.d.ts +0 -62
- package/darkScrollbar/index.d.ts +0 -28
- package/esm/Grid/GridContext.js +0 -12
- package/esm/Grid2/Grid2.d.ts +0 -111
- package/esm/Grid2/Grid2.js +0 -138
- package/esm/Grid2/grid2Classes.d.ts +0 -10
- package/esm/Grid2/index.d.ts +0 -4
- package/esm/Grid2/index.js +0 -4
- package/esm/StyledEngineProvider/index.d.ts +0 -4
- package/esm/StyledEngineProvider/index.js +0 -1
- package/generateUtilityClass/index.d.ts +0 -2
- package/generateUtilityClasses/index.d.ts +0 -1
- package/index.d.ts +0 -329
- package/internal/SwitchBase.d.ts +0 -108
- package/internal/switchBaseClasses.d.ts +0 -12
- package/locale/index.d.ts +0 -82
- package/modern/Accordion/Accordion.d.ts +0 -111
- package/modern/Accordion/accordionClasses.d.ts +0 -20
- package/modern/Accordion/index.d.ts +0 -4
- package/modern/AccordionActions/AccordionActions.d.ts +0 -35
- package/modern/AccordionActions/accordionActionsClasses.d.ts +0 -10
- package/modern/AccordionActions/index.d.ts +0 -4
- package/modern/AccordionDetails/AccordionDetails.d.ts +0 -30
- package/modern/AccordionDetails/accordionDetailsClasses.d.ts +0 -8
- package/modern/AccordionDetails/index.d.ts +0 -4
- package/modern/AccordionSummary/AccordionSummary.d.ts +0 -45
- package/modern/AccordionSummary/accordionSummaryClasses.d.ts +0 -25
- package/modern/AccordionSummary/index.d.ts +0 -4
- package/modern/Alert/Alert.d.ts +0 -178
- package/modern/Alert/alertClasses.d.ts +0 -100
- package/modern/Alert/index.d.ts +0 -4
- package/modern/AlertTitle/AlertTitle.d.ts +0 -31
- package/modern/AlertTitle/alertTitleClasses.d.ts +0 -8
- package/modern/AlertTitle/index.d.ts +0 -4
- package/modern/AppBar/AppBar.d.ts +0 -59
- package/modern/AppBar/appBarClasses.d.ts +0 -36
- package/modern/AppBar/index.d.ts +0 -4
- package/modern/Autocomplete/Autocomplete.d.ts +0 -290
- package/modern/Autocomplete/autocompleteClasses.d.ts +0 -58
- package/modern/Autocomplete/index.d.ts +0 -4
- package/modern/Avatar/Avatar.d.ts +0 -85
- package/modern/Avatar/avatarClasses.d.ts +0 -20
- package/modern/Avatar/index.d.ts +0 -4
- package/modern/AvatarGroup/AvatarGroup.d.ts +0 -96
- package/modern/AvatarGroup/avatarGroupClasses.d.ts +0 -10
- package/modern/AvatarGroup/index.d.ts +0 -4
- package/modern/Backdrop/Backdrop.d.ts +0 -118
- package/modern/Backdrop/backdropClasses.d.ts +0 -10
- package/modern/Backdrop/index.d.ts +0 -4
- package/modern/Badge/Badge.d.ts +0 -158
- package/modern/Badge/badgeClasses.d.ts +0 -56
- package/modern/Badge/index.d.ts +0 -4
- package/modern/Badge/useBadge.d.ts +0 -13
- package/modern/Badge/useBadge.types.d.ts +0 -39
- package/modern/BottomNavigation/BottomNavigation.d.ts +0 -55
- package/modern/BottomNavigation/bottomNavigationClasses.d.ts +0 -8
- package/modern/BottomNavigation/index.d.ts +0 -4
- package/modern/BottomNavigationAction/BottomNavigationAction.d.ts +0 -62
- package/modern/BottomNavigationAction/bottomNavigationActionClasses.d.ts +0 -14
- package/modern/BottomNavigationAction/index.d.ts +0 -4
- package/modern/Box/Box.d.ts +0 -20
- package/modern/Box/boxClasses.d.ts +0 -7
- package/modern/Box/index.d.ts +0 -4
- package/modern/Breadcrumbs/Breadcrumbs.d.ts +0 -94
- package/modern/Breadcrumbs/breadcrumbsClasses.d.ts +0 -14
- package/modern/Breadcrumbs/index.d.ts +0 -4
- package/modern/Button/Button.d.ts +0 -130
- package/modern/Button/buttonClasses.d.ts +0 -194
- package/modern/Button/index.d.ts +0 -4
- package/modern/ButtonBase/ButtonBase.d.ts +0 -125
- package/modern/ButtonBase/TouchRipple.d.ts +0 -22
- package/modern/ButtonBase/buttonBaseClasses.d.ts +0 -12
- package/modern/ButtonBase/index.d.ts +0 -6
- package/modern/ButtonBase/touchRippleClasses.d.ts +0 -20
- package/modern/ButtonGroup/ButtonGroup.d.ts +0 -91
- package/modern/ButtonGroup/ButtonGroupButtonContext.d.ts +0 -6
- package/modern/ButtonGroup/ButtonGroupContext.d.ts +0 -18
- package/modern/ButtonGroup/buttonGroupClasses.d.ts +0 -104
- package/modern/ButtonGroup/index.d.ts +0 -6
- package/modern/Card/Card.d.ts +0 -47
- package/modern/Card/cardClasses.d.ts +0 -8
- package/modern/Card/index.d.ts +0 -4
- package/modern/CardActionArea/CardActionArea.d.ts +0 -38
- package/modern/CardActionArea/cardActionAreaClasses.d.ts +0 -12
- package/modern/CardActionArea/index.d.ts +0 -4
- package/modern/CardActions/CardActions.d.ts +0 -35
- package/modern/CardActions/cardActionsClasses.d.ts +0 -10
- package/modern/CardActions/index.d.ts +0 -4
- package/modern/CardContent/CardContent.d.ts +0 -38
- package/modern/CardContent/cardContentClasses.d.ts +0 -8
- package/modern/CardContent/index.d.ts +0 -4
- package/modern/CardHeader/CardHeader.d.ts +0 -157
- package/modern/CardHeader/cardHeaderClasses.d.ts +0 -18
- package/modern/CardHeader/index.d.ts +0 -4
- package/modern/CardMedia/CardMedia.d.ts +0 -51
- package/modern/CardMedia/cardMediaClasses.d.ts +0 -12
- package/modern/CardMedia/index.d.ts +0 -4
- package/modern/Checkbox/Checkbox.d.ts +0 -131
- package/modern/Checkbox/checkboxClasses.d.ts +0 -22
- package/modern/Checkbox/index.d.ts +0 -4
- package/modern/Chip/Chip.d.ts +0 -107
- package/modern/Chip/chipClasses.d.ts +0 -150
- package/modern/Chip/index.d.ts +0 -4
- package/modern/CircularProgress/CircularProgress.d.ts +0 -71
- package/modern/CircularProgress/circularProgressClasses.d.ts +0 -30
- package/modern/CircularProgress/index.d.ts +0 -4
- package/modern/ClickAwayListener/ClickAwayListener.d.ts +0 -47
- package/modern/ClickAwayListener/index.d.ts +0 -2
- package/modern/Collapse/Collapse.d.ts +0 -71
- package/modern/Collapse/collapseClasses.d.ts +0 -18
- package/modern/Collapse/index.d.ts +0 -4
- package/modern/Container/Container.d.ts +0 -55
- package/modern/Container/containerClasses.d.ts +0 -6
- package/modern/Container/index.d.ts +0 -4
- package/modern/CssBaseline/CssBaseline.d.ts +0 -28
- package/modern/CssBaseline/index.d.ts +0 -2
- package/modern/DefaultPropsProvider/DefaultPropsProvider.d.ts +0 -13
- package/modern/DefaultPropsProvider/index.d.ts +0 -1
- package/modern/Dialog/Dialog.d.ts +0 -189
- package/modern/Dialog/DialogContext.d.ts +0 -6
- package/modern/Dialog/dialogClasses.d.ts +0 -36
- package/modern/Dialog/index.d.ts +0 -4
- package/modern/DialogActions/DialogActions.d.ts +0 -35
- package/modern/DialogActions/dialogActionsClasses.d.ts +0 -10
- package/modern/DialogActions/index.d.ts +0 -4
- package/modern/DialogContent/DialogContent.d.ts +0 -35
- package/modern/DialogContent/dialogContentClasses.d.ts +0 -10
- package/modern/DialogContent/index.d.ts +0 -4
- package/modern/DialogContentText/DialogContentText.d.ts +0 -37
- package/modern/DialogContentText/dialogContentTextClasses.d.ts +0 -8
- package/modern/DialogContentText/index.d.ts +0 -4
- package/modern/DialogTitle/DialogTitle.d.ts +0 -43
- package/modern/DialogTitle/dialogTitleClasses.d.ts +0 -8
- package/modern/DialogTitle/index.d.ts +0 -4
- package/modern/Divider/Divider.d.ts +0 -74
- package/modern/Divider/dividerClasses.d.ts +0 -38
- package/modern/Divider/index.d.ts +0 -4
- package/modern/Drawer/Drawer.d.ts +0 -154
- package/modern/Drawer/drawerClasses.d.ts +0 -54
- package/modern/Drawer/index.d.ts +0 -4
- package/modern/Fab/Fab.d.ts +0 -82
- package/modern/Fab/fabClasses.d.ts +0 -26
- package/modern/Fab/index.d.ts +0 -4
- package/modern/Fade/Fade.d.ts +0 -48
- package/modern/Fade/index.d.ts +0 -2
- package/modern/FilledInput/FilledInput.d.ts +0 -42
- package/modern/FilledInput/filledInputClasses.d.ts +0 -30
- package/modern/FilledInput/index.d.ts +0 -4
- package/modern/FormControl/FormControl.d.ts +0 -120
- package/modern/FormControl/FormControlContext.d.ts +0 -17
- package/modern/FormControl/formControlClasses.d.ts +0 -14
- package/modern/FormControl/index.d.ts +0 -6
- package/modern/FormControl/useFormControl.d.ts +0 -2
- package/modern/FormControlLabel/FormControlLabel.d.ts +0 -101
- package/modern/FormControlLabel/formControlLabelClasses.d.ts +0 -24
- package/modern/FormControlLabel/index.d.ts +0 -4
- package/modern/FormGroup/FormGroup.d.ts +0 -39
- package/modern/FormGroup/formGroupClasses.d.ts +0 -12
- package/modern/FormGroup/index.d.ts +0 -4
- package/modern/FormHelperText/FormHelperText.d.ts +0 -71
- package/modern/FormHelperText/formHelperTextClasses.d.ts +0 -22
- package/modern/FormHelperText/index.d.ts +0 -4
- package/modern/FormLabel/FormLabel.d.ts +0 -78
- package/modern/FormLabel/formLabelClasses.d.ts +0 -22
- package/modern/FormLabel/index.d.ts +0 -4
- package/modern/GlobalStyles/GlobalStyles.d.ts +0 -20
- package/modern/GlobalStyles/index.d.ts +0 -2
- package/modern/Grid/GridContext.js +0 -12
- package/modern/Grid/gridClasses.d.ts +0 -48
- package/modern/Grid/index.d.ts +0 -4
- package/modern/Grid2/Grid2.d.ts +0 -111
- package/modern/Grid2/Grid2.js +0 -138
- package/modern/Grid2/grid2Classes.d.ts +0 -10
- package/modern/Grid2/index.d.ts +0 -4
- package/modern/Grid2/index.js +0 -4
- package/modern/Grow/Grow.d.ts +0 -49
- package/modern/Grow/index.d.ts +0 -2
- package/modern/Icon/Icon.d.ts +0 -62
- package/modern/Icon/iconClasses.d.ts +0 -24
- package/modern/Icon/index.d.ts +0 -4
- package/modern/IconButton/IconButton.d.ts +0 -90
- package/modern/IconButton/iconButtonClasses.d.ts +0 -40
- package/modern/IconButton/index.d.ts +0 -4
- package/modern/ImageList/ImageList.d.ts +0 -60
- package/modern/ImageList/imageListClasses.d.ts +0 -16
- package/modern/ImageList/index.d.ts +0 -4
- package/modern/ImageListItem/ImageListItem.d.ts +0 -48
- package/modern/ImageListItem/imageListItemClasses.d.ts +0 -18
- package/modern/ImageListItem/index.d.ts +0 -4
- package/modern/ImageListItemBar/ImageListItemBar.d.ts +0 -49
- package/modern/ImageListItemBar/imageListItemBarClasses.d.ts +0 -42
- package/modern/ImageListItemBar/index.d.ts +0 -4
- package/modern/InitColorSchemeScript/InitColorSchemeScript.d.ts +0 -10
- package/modern/InitColorSchemeScript/index.d.ts +0 -1
- package/modern/Input/Input.d.ts +0 -35
- package/modern/Input/index.d.ts +0 -4
- package/modern/Input/inputClasses.d.ts +0 -38
- package/modern/InputAdornment/InputAdornment.d.ts +0 -59
- package/modern/InputAdornment/index.d.ts +0 -4
- package/modern/InputAdornment/inputAdornmentClasses.d.ts +0 -24
- package/modern/InputBase/InputBase.d.ts +0 -247
- package/modern/InputBase/index.d.ts +0 -4
- package/modern/InputBase/inputBaseClasses.d.ts +0 -55
- package/modern/InputLabel/InputLabel.d.ts +0 -79
- package/modern/InputLabel/index.d.ts +0 -4
- package/modern/InputLabel/inputLabelClasses.d.ts +0 -32
- package/modern/LinearProgress/LinearProgress.d.ts +0 -57
- package/modern/LinearProgress/index.d.ts +0 -4
- package/modern/LinearProgress/linearProgressClasses.d.ts +0 -64
- package/modern/Link/Link.d.ts +0 -63
- package/modern/Link/getTextDecoration.d.ts +0 -11
- package/modern/Link/index.d.ts +0 -4
- package/modern/Link/linkClasses.d.ts +0 -18
- package/modern/List/List.d.ts +0 -65
- package/modern/List/ListContext.d.ts +0 -5
- package/modern/List/index.d.ts +0 -4
- package/modern/List/listClasses.d.ts +0 -14
- package/modern/ListItem/ListItem.d.ts +0 -127
- package/modern/ListItem/index.d.ts +0 -4
- package/modern/ListItem/listItemClasses.d.ts +0 -22
- package/modern/ListItemAvatar/ListItemAvatar.d.ts +0 -30
- package/modern/ListItemAvatar/index.d.ts +0 -4
- package/modern/ListItemAvatar/listItemAvatarClasses.d.ts +0 -10
- package/modern/ListItemButton/ListItemButton.d.ts +0 -85
- package/modern/ListItemButton/index.d.ts +0 -4
- package/modern/ListItemButton/listItemButtonClasses.d.ts +0 -22
- package/modern/ListItemIcon/ListItemIcon.d.ts +0 -32
- package/modern/ListItemIcon/index.d.ts +0 -4
- package/modern/ListItemIcon/listItemIconClasses.d.ts +0 -10
- package/modern/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +0 -36
- package/modern/ListItemSecondaryAction/index.d.ts +0 -4
- package/modern/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +0 -10
- package/modern/ListItemText/ListItemText.d.ts +0 -95
- package/modern/ListItemText/index.d.ts +0 -4
- package/modern/ListItemText/listItemTextClasses.d.ts +0 -18
- package/modern/ListSubheader/ListSubheader.d.ts +0 -59
- package/modern/ListSubheader/index.d.ts +0 -4
- package/modern/ListSubheader/listSubheaderClasses.d.ts +0 -18
- package/modern/Menu/Menu.d.ts +0 -95
- package/modern/Menu/index.d.ts +0 -4
- package/modern/Menu/menuClasses.d.ts +0 -12
- package/modern/MenuItem/MenuItem.d.ts +0 -69
- package/modern/MenuItem/index.d.ts +0 -4
- package/modern/MenuItem/menuItemClasses.d.ts +0 -20
- package/modern/MenuList/MenuList.d.ts +0 -62
- package/modern/MenuList/index.d.ts +0 -2
- package/modern/MobileStepper/MobileStepper.d.ts +0 -112
- package/modern/MobileStepper/index.d.ts +0 -4
- package/modern/MobileStepper/mobileStepperClasses.d.ts +0 -22
- package/modern/Modal/Modal.d.ts +0 -226
- package/modern/Modal/ModalManager.d.ts +0 -25
- package/modern/Modal/index.d.ts +0 -5
- package/modern/Modal/modalClasses.d.ts +0 -12
- package/modern/Modal/useModal.d.ts +0 -13
- package/modern/Modal/useModal.types.d.ts +0 -118
- package/modern/NativeSelect/NativeSelect.d.ts +0 -68
- package/modern/NativeSelect/NativeSelectInput.d.ts +0 -13
- package/modern/NativeSelect/index.d.ts +0 -4
- package/modern/NativeSelect/nativeSelectClasses.d.ts +0 -34
- package/modern/NoSsr/NoSsr.d.ts +0 -25
- package/modern/NoSsr/NoSsr.types.d.ts +0 -18
- package/modern/NoSsr/index.d.ts +0 -3
- package/modern/OutlinedInput/NotchedOutline.d.ts +0 -12
- package/modern/OutlinedInput/OutlinedInput.d.ts +0 -40
- package/modern/OutlinedInput/index.d.ts +0 -4
- package/modern/OutlinedInput/outlinedInputClasses.d.ts +0 -38
- package/modern/OverridableComponent/index.d.ts +0 -41
- package/modern/Pagination/Pagination.d.ts +0 -79
- package/modern/Pagination/index.d.ts +0 -4
- package/modern/Pagination/paginationClasses.d.ts +0 -14
- package/modern/PaginationItem/PaginationItem.d.ts +0 -110
- package/modern/PaginationItem/index.d.ts +0 -4
- package/modern/PaginationItem/paginationItemClasses.d.ts +0 -54
- package/modern/Paper/Paper.d.ts +0 -62
- package/modern/Paper/index.d.ts +0 -4
- package/modern/Paper/paperClasses.d.ts +0 -64
- package/modern/PigmentContainer/PigmentContainer.d.ts +0 -55
- package/modern/PigmentContainer/index.d.ts +0 -3
- package/modern/PigmentGrid/PigmentGrid.d.ts +0 -83
- package/modern/PigmentGrid/index.d.ts +0 -3
- package/modern/PigmentStack/PigmentStack.d.ts +0 -49
- package/modern/PigmentStack/index.d.ts +0 -3
- package/modern/Popover/Popover.d.ts +0 -233
- package/modern/Popover/index.d.ts +0 -4
- package/modern/Popover/popoverClasses.d.ts +0 -10
- package/modern/Popper/BasePopper.d.ts +0 -7
- package/modern/Popper/BasePopper.types.d.ts +0 -129
- package/modern/Popper/Popper.d.ts +0 -46
- package/modern/Popper/index.d.ts +0 -4
- package/modern/Popper/popperClasses.d.ts +0 -8
- package/modern/Portal/Portal.d.ts +0 -16
- package/modern/Portal/Portal.types.d.ts +0 -23
- package/modern/Portal/index.d.ts +0 -3
- package/modern/Radio/Radio.d.ts +0 -86
- package/modern/Radio/index.d.ts +0 -4
- package/modern/Radio/radioClasses.d.ts +0 -18
- package/modern/RadioGroup/RadioGroup.d.ts +0 -38
- package/modern/RadioGroup/RadioGroupContext.d.ts +0 -11
- package/modern/RadioGroup/index.d.ts +0 -5
- package/modern/RadioGroup/radioGroupClasses.d.ts +0 -6
- package/modern/RadioGroup/useRadioGroup.d.ts +0 -3
- package/modern/Rating/Rating.d.ts +0 -132
- package/modern/Rating/index.d.ts +0 -4
- package/modern/Rating/ratingClasses.d.ts +0 -40
- package/modern/ScopedCssBaseline/ScopedCssBaseline.d.ts +0 -55
- package/modern/ScopedCssBaseline/index.d.ts +0 -4
- package/modern/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +0 -8
- package/modern/Select/Select.d.ts +0 -188
- package/modern/Select/SelectInput.d.ts +0 -47
- package/modern/Select/index.d.ts +0 -4
- package/modern/Select/selectClasses.d.ts +0 -42
- package/modern/Skeleton/Skeleton.d.ts +0 -62
- package/modern/Skeleton/index.d.ts +0 -4
- package/modern/Skeleton/skeletonClasses.d.ts +0 -26
- package/modern/Slide/Slide.d.ts +0 -63
- package/modern/Slide/index.d.ts +0 -2
- package/modern/Slider/Slider.d.ts +0 -298
- package/modern/Slider/SliderValueLabel.d.ts +0 -13
- package/modern/Slider/SliderValueLabel.types.d.ts +0 -25
- package/modern/Slider/index.d.ts +0 -4
- package/modern/Slider/sliderClasses.d.ts +0 -88
- package/modern/Slider/useSlider.d.ts +0 -14
- package/modern/Slider/useSlider.types.d.ts +0 -226
- package/modern/Snackbar/Snackbar.d.ts +0 -182
- package/modern/Snackbar/index.d.ts +0 -4
- package/modern/Snackbar/snackbarClasses.d.ts +0 -20
- package/modern/Snackbar/useSnackbar.d.ts +0 -14
- package/modern/Snackbar/useSnackbar.types.d.ts +0 -59
- package/modern/SnackbarContent/SnackbarContent.d.ts +0 -42
- package/modern/SnackbarContent/index.d.ts +0 -4
- package/modern/SnackbarContent/snackbarContentClasses.d.ts +0 -12
- package/modern/SpeedDial/SpeedDial.d.ts +0 -121
- package/modern/SpeedDial/index.d.ts +0 -4
- package/modern/SpeedDial/speedDialClasses.d.ts +0 -22
- package/modern/SpeedDialAction/SpeedDialAction.d.ts +0 -117
- package/modern/SpeedDialAction/index.d.ts +0 -4
- package/modern/SpeedDialAction/speedDialActionClasses.d.ts +0 -20
- package/modern/SpeedDialIcon/SpeedDialIcon.d.ts +0 -43
- package/modern/SpeedDialIcon/index.d.ts +0 -4
- package/modern/SpeedDialIcon/speedDialIconClasses.d.ts +0 -18
- package/modern/Stack/Stack.d.ts +0 -58
- package/modern/Stack/index.d.ts +0 -4
- package/modern/Stack/stackClasses.d.ts +0 -6
- package/modern/Step/Step.d.ts +0 -70
- package/modern/Step/StepContext.d.ts +0 -20
- package/modern/Step/index.d.ts +0 -6
- package/modern/Step/stepClasses.d.ts +0 -16
- package/modern/StepButton/StepButton.d.ts +0 -56
- package/modern/StepButton/index.d.ts +0 -4
- package/modern/StepButton/stepButtonClasses.d.ts +0 -14
- package/modern/StepConnector/StepConnector.d.ts +0 -29
- package/modern/StepConnector/index.d.ts +0 -4
- package/modern/StepConnector/stepConnectorClasses.d.ts +0 -30
- package/modern/StepContent/StepContent.d.ts +0 -75
- package/modern/StepContent/index.d.ts +0 -4
- package/modern/StepContent/stepContentClasses.d.ts +0 -12
- package/modern/StepIcon/StepIcon.d.ts +0 -50
- package/modern/StepIcon/index.d.ts +0 -4
- package/modern/StepIcon/stepIconClasses.d.ts +0 -16
- package/modern/StepLabel/StepLabel.d.ts +0 -88
- package/modern/StepLabel/index.d.ts +0 -4
- package/modern/StepLabel/stepLabelClasses.d.ts +0 -28
- package/modern/Stepper/Stepper.d.ts +0 -71
- package/modern/Stepper/StepperContext.d.ts +0 -18
- package/modern/Stepper/index.d.ts +0 -6
- package/modern/Stepper/stepperClasses.d.ts +0 -16
- package/modern/StyledEngineProvider/index.d.ts +0 -4
- package/modern/StyledEngineProvider/index.js +0 -1
- package/modern/SvgIcon/SvgIcon.d.ts +0 -89
- package/modern/SvgIcon/index.d.ts +0 -4
- package/modern/SvgIcon/svgIconClasses.d.ts +0 -26
- package/modern/SwipeableDrawer/SwipeableDrawer.d.ts +0 -106
- package/modern/SwipeableDrawer/index.d.ts +0 -2
- package/modern/Switch/Switch.d.ts +0 -62
- package/modern/Switch/index.d.ts +0 -4
- package/modern/Switch/switchClasses.d.ts +0 -32
- package/modern/Tab/Tab.d.ts +0 -75
- package/modern/Tab/index.d.ts +0 -4
- package/modern/Tab/tabClasses.d.ts +0 -30
- package/modern/TabScrollButton/TabScrollButton.d.ts +0 -67
- package/modern/TabScrollButton/index.d.ts +0 -4
- package/modern/TabScrollButton/tabScrollButtonClasses.d.ts +0 -12
- package/modern/Table/Table.d.ts +0 -55
- package/modern/Table/TableContext.d.ts +0 -7
- package/modern/Table/Tablelvl2Context.d.ts +0 -6
- package/modern/Table/index.d.ts +0 -4
- package/modern/Table/tableClasses.d.ts +0 -10
- package/modern/TableBody/TableBody.d.ts +0 -38
- package/modern/TableBody/index.d.ts +0 -4
- package/modern/TableBody/tableBodyClasses.d.ts +0 -8
- package/modern/TableCell/TableCell.d.ts +0 -82
- package/modern/TableCell/index.d.ts +0 -4
- package/modern/TableCell/tableCellClasses.d.ts +0 -32
- package/modern/TableContainer/TableContainer.d.ts +0 -38
- package/modern/TableContainer/index.d.ts +0 -4
- package/modern/TableContainer/tableContainerClasses.d.ts +0 -8
- package/modern/TableFooter/TableFooter.d.ts +0 -38
- package/modern/TableFooter/index.d.ts +0 -4
- package/modern/TableFooter/tableFooterClasses.d.ts +0 -8
- package/modern/TableHead/TableHead.d.ts +0 -38
- package/modern/TableHead/index.d.ts +0 -4
- package/modern/TableHead/tableHeadClasses.d.ts +0 -8
- package/modern/TablePagination/TablePagination.d.ts +0 -263
- package/modern/TablePagination/TablePaginationActions.d.ts +0 -94
- package/modern/TablePagination/index.d.ts +0 -4
- package/modern/TablePagination/tablePaginationClasses.d.ts +0 -28
- package/modern/TableRow/TableRow.d.ts +0 -50
- package/modern/TableRow/index.d.ts +0 -4
- package/modern/TableRow/tableRowClasses.d.ts +0 -16
- package/modern/TableSortLabel/TableSortLabel.d.ts +0 -90
- package/modern/TableSortLabel/index.d.ts +0 -4
- package/modern/TableSortLabel/tableSortLabelClasses.d.ts +0 -24
- package/modern/Tabs/Tabs.d.ts +0 -272
- package/modern/Tabs/index.d.ts +0 -4
- package/modern/Tabs/tabsClasses.d.ts +0 -36
- package/modern/TextField/TextField.d.ts +0 -312
- package/modern/TextField/index.d.ts +0 -4
- package/modern/TextField/textFieldClasses.d.ts +0 -8
- package/modern/TextareaAutosize/TextareaAutosize.d.ts +0 -14
- package/modern/TextareaAutosize/TextareaAutosize.types.d.ts +0 -13
- package/modern/TextareaAutosize/index.d.ts +0 -3
- package/modern/ToggleButton/ToggleButton.d.ts +0 -95
- package/modern/ToggleButton/index.d.ts +0 -4
- package/modern/ToggleButton/toggleButtonClasses.d.ts +0 -26
- package/modern/ToggleButtonGroup/ToggleButtonGroup.d.ts +0 -82
- package/modern/ToggleButtonGroup/ToggleButtonGroupButtonContext.d.ts +0 -6
- package/modern/ToggleButtonGroup/ToggleButtonGroupContext.d.ts +0 -16
- package/modern/ToggleButtonGroup/index.d.ts +0 -4
- package/modern/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +0 -34
- package/modern/Toolbar/Toolbar.d.ts +0 -51
- package/modern/Toolbar/index.d.ts +0 -4
- package/modern/Toolbar/toolbarClasses.d.ts +0 -14
- package/modern/Tooltip/Tooltip.d.ts +0 -229
- package/modern/Tooltip/index.d.ts +0 -4
- package/modern/Tooltip/tooltipClasses.d.ts +0 -30
- package/modern/Typography/Typography.d.ts +0 -99
- package/modern/Typography/index.d.ts +0 -4
- package/modern/Typography/typographyClasses.d.ts +0 -53
- package/modern/Unstable_TrapFocus/FocusTrap.d.ts +0 -10
- package/modern/Unstable_TrapFocus/FocusTrap.types.d.ts +0 -54
- package/modern/Unstable_TrapFocus/index.d.ts +0 -2
- package/modern/Zoom/Zoom.d.ts +0 -49
- package/modern/Zoom/index.d.ts +0 -2
- package/modern/className/index.d.ts +0 -1
- package/modern/colors/amber.d.ts +0 -62
- package/modern/colors/blue.d.ts +0 -62
- package/modern/colors/blueGrey.d.ts +0 -62
- package/modern/colors/brown.d.ts +0 -62
- package/modern/colors/common.d.ts +0 -14
- package/modern/colors/cyan.d.ts +0 -62
- package/modern/colors/deepOrange.d.ts +0 -62
- package/modern/colors/deepPurple.d.ts +0 -62
- package/modern/colors/green.d.ts +0 -62
- package/modern/colors/grey.d.ts +0 -62
- package/modern/colors/index.d.ts +0 -20
- package/modern/colors/indigo.d.ts +0 -62
- package/modern/colors/lightBlue.d.ts +0 -62
- package/modern/colors/lightGreen.d.ts +0 -62
- package/modern/colors/lime.d.ts +0 -62
- package/modern/colors/orange.d.ts +0 -62
- package/modern/colors/pink.d.ts +0 -62
- package/modern/colors/purple.d.ts +0 -62
- package/modern/colors/red.d.ts +0 -62
- package/modern/colors/teal.d.ts +0 -62
- package/modern/colors/yellow.d.ts +0 -62
- package/modern/darkScrollbar/index.d.ts +0 -28
- package/modern/generateUtilityClass/index.d.ts +0 -2
- package/modern/generateUtilityClasses/index.d.ts +0 -1
- package/modern/index.d.ts +0 -329
- package/modern/internal/SwitchBase.d.ts +0 -108
- package/modern/internal/switchBaseClasses.d.ts +0 -12
- package/modern/locale/index.d.ts +0 -82
- package/modern/styles/ThemeProvider.d.ts +0 -64
- package/modern/styles/ThemeProviderNoVars.d.ts +0 -10
- package/modern/styles/ThemeProviderWithVars.d.ts +0 -50
- package/modern/styles/adaptV4Theme.d.ts +0 -36
- package/modern/styles/components.d.ts +0 -595
- package/modern/styles/createColorScheme.d.ts +0 -9
- package/modern/styles/createGetSelector.d.ts +0 -16
- package/modern/styles/createMixins.d.ts +0 -32
- package/modern/styles/createPalette.d.ts +0 -125
- package/modern/styles/createStyles.d.ts +0 -1
- package/modern/styles/createTheme.d.ts +0 -15
- package/modern/styles/createThemeNoVars.d.ts +0 -76
- package/modern/styles/createThemeWithVars.d.ts +0 -350
- package/modern/styles/createTransitions.d.ts +0 -51
- package/modern/styles/createTypography.d.ts +0 -50
- package/modern/styles/cssUtils.d.ts +0 -25
- package/modern/styles/excludeVariablesFromRoot.d.ts +0 -5
- package/modern/styles/getOverlayAlpha.d.ts +0 -1
- package/modern/styles/identifier.d.ts +0 -2
- package/modern/styles/index.d.ts +0 -52
- package/modern/styles/makeStyles.d.ts +0 -1
- package/modern/styles/overrides.d.ts +0 -244
- package/modern/styles/props.d.ts +0 -241
- package/modern/styles/responsiveFontSizes.d.ts +0 -11
- package/modern/styles/rootShouldForwardProp.d.ts +0 -2
- package/modern/styles/shadows.d.ts +0 -3
- package/modern/styles/shouldSkipGeneratingVar.d.ts +0 -1
- package/modern/styles/slotShouldForwardProp.d.ts +0 -2
- package/modern/styles/stringifyTheme.d.ts +0 -20
- package/modern/styles/styled.d.ts +0 -13
- package/modern/styles/useTheme.d.ts +0 -2
- package/modern/styles/useThemeProps.d.ts +0 -42
- package/modern/styles/variants.d.ts +0 -10
- package/modern/styles/withStyles.d.ts +0 -1
- package/modern/styles/withTheme.d.ts +0 -1
- package/modern/styles/zIndex.d.ts +0 -13
- package/modern/themeCssVarsAugmentation/index.d.ts +0 -10
- package/modern/transitions/index.d.ts +0 -1
- package/modern/transitions/transition.d.ts +0 -12
- package/modern/transitions/utils.d.ts +0 -23
- package/modern/types/OverridableComponentAugmentation.d.ts +0 -31
- package/modern/useAutocomplete/index.d.ts +0 -2
- package/modern/useAutocomplete/useAutocomplete.d.ts +0 -404
- package/modern/useLazyRipple/index.d.ts +0 -1
- package/modern/useLazyRipple/useLazyRipple.d.ts +0 -32
- package/modern/useMediaQuery/index.d.ts +0 -7
- package/modern/usePagination/index.d.ts +0 -2
- package/modern/usePagination/usePagination.d.ts +0 -74
- package/modern/useScrollTrigger/index.d.ts +0 -1
- package/modern/useScrollTrigger/useScrollTrigger.d.ts +0 -6
- package/modern/utils/PolymorphicComponent.d.ts +0 -17
- package/modern/utils/areArraysEqual.d.ts +0 -3
- package/modern/utils/capitalize.d.ts +0 -2
- package/modern/utils/createChainedFunction.d.ts +0 -2
- package/modern/utils/createSimplePaletteValueFilter.d.ts +0 -12
- package/modern/utils/createSvgIcon.d.ts +0 -2
- package/modern/utils/debounce.d.ts +0 -2
- package/modern/utils/deprecatedPropType.d.ts +0 -2
- package/modern/utils/getScrollbarSize.d.ts +0 -2
- package/modern/utils/index.d.ts +0 -20
- package/modern/utils/isHostComponent.d.ts +0 -6
- package/modern/utils/isMuiElement.d.ts +0 -2
- package/modern/utils/memoTheme.d.ts +0 -7
- package/modern/utils/mergeSlotProps.d.ts +0 -2
- package/modern/utils/omitEventHandlers.d.ts +0 -9
- package/modern/utils/ownerDocument.d.ts +0 -2
- package/modern/utils/ownerWindow.d.ts +0 -2
- package/modern/utils/requirePropFactory.d.ts +0 -2
- package/modern/utils/setRef.d.ts +0 -2
- package/modern/utils/types.d.ts +0 -26
- package/modern/utils/unsupportedProp.d.ts +0 -2
- package/modern/utils/useControlled.d.ts +0 -2
- package/modern/utils/useEnhancedEffect.d.ts +0 -2
- package/modern/utils/useEventCallback.d.ts +0 -2
- package/modern/utils/useForkRef.d.ts +0 -2
- package/modern/utils/useId.d.ts +0 -2
- package/modern/utils/useSlot.d.ts +0 -81
- package/modern/version/index.d.ts +0 -6
- package/modern/zero-styled/index.d.ts +0 -12
- package/styles/ThemeProvider.d.ts +0 -64
- package/styles/ThemeProviderNoVars.d.ts +0 -10
- package/styles/ThemeProviderWithVars.d.ts +0 -50
- package/styles/adaptV4Theme.d.ts +0 -36
- package/styles/components.d.ts +0 -595
- package/styles/createColorScheme.d.ts +0 -9
- package/styles/createGetSelector.d.ts +0 -16
- package/styles/createMixins.d.ts +0 -32
- package/styles/createPalette.d.ts +0 -125
- package/styles/createStyles.d.ts +0 -1
- package/styles/createTheme.d.ts +0 -15
- package/styles/createThemeNoVars.d.ts +0 -76
- package/styles/createThemeWithVars.d.ts +0 -350
- package/styles/createTransitions.d.ts +0 -51
- package/styles/createTypography.d.ts +0 -50
- package/styles/cssUtils.d.ts +0 -25
- package/styles/excludeVariablesFromRoot.d.ts +0 -5
- package/styles/getOverlayAlpha.d.ts +0 -1
- package/styles/identifier.d.ts +0 -2
- package/styles/index.d.ts +0 -52
- package/styles/makeStyles.d.ts +0 -1
- package/styles/overrides.d.ts +0 -244
- package/styles/props.d.ts +0 -241
- package/styles/responsiveFontSizes.d.ts +0 -11
- package/styles/rootShouldForwardProp.d.ts +0 -2
- package/styles/shadows.d.ts +0 -3
- package/styles/shouldSkipGeneratingVar.d.ts +0 -1
- package/styles/slotShouldForwardProp.d.ts +0 -2
- package/styles/stringifyTheme.d.ts +0 -20
- package/styles/styled.d.ts +0 -13
- package/styles/useTheme.d.ts +0 -2
- package/styles/useThemeProps.d.ts +0 -42
- package/styles/variants.d.ts +0 -10
- package/styles/withStyles.d.ts +0 -1
- package/styles/withTheme.d.ts +0 -1
- package/styles/zIndex.d.ts +0 -13
- package/themeCssVarsAugmentation/index.d.ts +0 -10
- package/transitions/index.d.ts +0 -1
- package/transitions/transition.d.ts +0 -12
- package/transitions/utils.d.ts +0 -23
- package/types/OverridableComponentAugmentation.d.ts +0 -31
- package/useAutocomplete/index.d.ts +0 -2
- package/useAutocomplete/useAutocomplete.d.ts +0 -404
- package/useLazyRipple/index.d.ts +0 -1
- package/useLazyRipple/useLazyRipple.d.ts +0 -32
- package/useMediaQuery/index.d.ts +0 -7
- package/usePagination/index.d.ts +0 -2
- package/usePagination/usePagination.d.ts +0 -74
- package/useScrollTrigger/index.d.ts +0 -1
- package/useScrollTrigger/useScrollTrigger.d.ts +0 -6
- package/utils/PolymorphicComponent.d.ts +0 -17
- package/utils/areArraysEqual.d.ts +0 -3
- package/utils/capitalize.d.ts +0 -2
- package/utils/createChainedFunction.d.ts +0 -2
- package/utils/createSimplePaletteValueFilter.d.ts +0 -12
- package/utils/createSvgIcon.d.ts +0 -2
- package/utils/debounce.d.ts +0 -2
- package/utils/deprecatedPropType.d.ts +0 -2
- package/utils/getScrollbarSize.d.ts +0 -2
- package/utils/index.d.ts +0 -20
- package/utils/isHostComponent.d.ts +0 -6
- package/utils/isMuiElement.d.ts +0 -2
- package/utils/memoTheme.d.ts +0 -7
- package/utils/mergeSlotProps.d.ts +0 -2
- package/utils/omitEventHandlers.d.ts +0 -9
- package/utils/ownerDocument.d.ts +0 -2
- package/utils/ownerWindow.d.ts +0 -2
- package/utils/requirePropFactory.d.ts +0 -2
- package/utils/setRef.d.ts +0 -2
- package/utils/types.d.ts +0 -26
- package/utils/unsupportedProp.d.ts +0 -2
- package/utils/useControlled.d.ts +0 -2
- package/utils/useEnhancedEffect.d.ts +0 -2
- package/utils/useEventCallback.d.ts +0 -2
- package/utils/useForkRef.d.ts +0 -2
- package/utils/useId.d.ts +0 -2
- package/utils/useSlot.d.ts +0 -81
- package/version/index.d.ts +0 -6
- package/zero-styled/index.d.ts +0 -12
package/Box/Box.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { BoxTypeMap } from '@mui/system';
|
|
2
|
-
import { OverridableComponent } from '@mui/types';
|
|
3
|
-
import { OverrideProps } from "../OverridableComponent/index.js";
|
|
4
|
-
import { Theme as MaterialTheme } from "../styles/index.js";
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
* Demos:
|
|
9
|
-
*
|
|
10
|
-
* - [Box](https://next.mui.com/material-ui/react-box/)
|
|
11
|
-
*
|
|
12
|
-
* API:
|
|
13
|
-
*
|
|
14
|
-
* - [Box API](https://next.mui.com/material-ui/api/box/)
|
|
15
|
-
*/
|
|
16
|
-
declare const Box: OverridableComponent<BoxTypeMap<{}, 'div', MaterialTheme>>;
|
|
17
|
-
export type BoxProps<RootComponent extends React.ElementType = BoxTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<BoxTypeMap<AdditionalProps, RootComponent, MaterialTheme>, RootComponent> & {
|
|
18
|
-
component?: React.ElementType;
|
|
19
|
-
};
|
|
20
|
-
export default Box;
|
package/Box/boxClasses.d.ts
DELETED
package/Box/index.d.ts
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SxProps } from '@mui/system';
|
|
3
|
-
import { SlotComponentProps } from "../utils/types.js";
|
|
4
|
-
import { Theme } from "../styles/index.js";
|
|
5
|
-
import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
|
|
6
|
-
import { BreadcrumbsClasses } from "./breadcrumbsClasses.js";
|
|
7
|
-
import SvgIcon from "../SvgIcon/index.js";
|
|
8
|
-
export interface BreadcrumbsCollapsedIconSlotPropsOverrides {}
|
|
9
|
-
export interface BreadcrumbsOwnerState extends BreadcrumbsProps {
|
|
10
|
-
expanded: boolean;
|
|
11
|
-
}
|
|
12
|
-
export interface BreadcrumbsOwnProps {
|
|
13
|
-
/**
|
|
14
|
-
* The content of the component.
|
|
15
|
-
*/
|
|
16
|
-
children?: React.ReactNode;
|
|
17
|
-
/**
|
|
18
|
-
* Override or extend the styles applied to the component.
|
|
19
|
-
*/
|
|
20
|
-
classes?: Partial<BreadcrumbsClasses>;
|
|
21
|
-
/**
|
|
22
|
-
* The components used for each slot inside the Breadcumb.
|
|
23
|
-
* Either a string to use a HTML element or a component.
|
|
24
|
-
* @default {}
|
|
25
|
-
*/
|
|
26
|
-
slots?: {
|
|
27
|
-
CollapsedIcon?: React.ElementType;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* The props used for each slot inside the Breadcumb.
|
|
31
|
-
* @default {}
|
|
32
|
-
*/
|
|
33
|
-
slotProps?: {
|
|
34
|
-
/**
|
|
35
|
-
* Props applied to the CollapsedIcon slot.
|
|
36
|
-
* @default {}
|
|
37
|
-
*/
|
|
38
|
-
collapsedIcon?: SlotComponentProps<typeof SvgIcon, BreadcrumbsCollapsedIconSlotPropsOverrides, BreadcrumbsOwnerState>;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* Override the default label for the expand button.
|
|
42
|
-
*
|
|
43
|
-
* For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).
|
|
44
|
-
* @default 'Show path'
|
|
45
|
-
*/
|
|
46
|
-
expandText?: string;
|
|
47
|
-
/**
|
|
48
|
-
* If max items is exceeded, the number of items to show after the ellipsis.
|
|
49
|
-
* @default 1
|
|
50
|
-
*/
|
|
51
|
-
itemsAfterCollapse?: number;
|
|
52
|
-
/**
|
|
53
|
-
* If max items is exceeded, the number of items to show before the ellipsis.
|
|
54
|
-
* @default 1
|
|
55
|
-
*/
|
|
56
|
-
itemsBeforeCollapse?: number;
|
|
57
|
-
/**
|
|
58
|
-
* Specifies the maximum number of breadcrumbs to display. When there are more
|
|
59
|
-
* than the maximum number, only the first `itemsBeforeCollapse` and last `itemsAfterCollapse`
|
|
60
|
-
* will be shown, with an ellipsis in between.
|
|
61
|
-
* @default 8
|
|
62
|
-
*/
|
|
63
|
-
maxItems?: number;
|
|
64
|
-
/**
|
|
65
|
-
* Custom separator node.
|
|
66
|
-
* @default '/'
|
|
67
|
-
*/
|
|
68
|
-
separator?: React.ReactNode;
|
|
69
|
-
/**
|
|
70
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
71
|
-
*/
|
|
72
|
-
sx?: SxProps<Theme>;
|
|
73
|
-
}
|
|
74
|
-
export interface BreadcrumbsTypeMap<AdditionalProps = {}, RootComponent extends React.ElementType = 'nav'> {
|
|
75
|
-
props: AdditionalProps & BreadcrumbsOwnProps;
|
|
76
|
-
defaultComponent: RootComponent;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
*
|
|
81
|
-
* Demos:
|
|
82
|
-
*
|
|
83
|
-
* - [Breadcrumbs](https://next.mui.com/material-ui/react-breadcrumbs/)
|
|
84
|
-
*
|
|
85
|
-
* API:
|
|
86
|
-
*
|
|
87
|
-
* - [Breadcrumbs API](https://next.mui.com/material-ui/api/breadcrumbs/)
|
|
88
|
-
* - inherits [Typography API](https://next.mui.com/material-ui/api/typography/)
|
|
89
|
-
*/
|
|
90
|
-
declare const Breadcrumbs: OverridableComponent<BreadcrumbsTypeMap>;
|
|
91
|
-
export type BreadcrumbsProps<RootComponent extends React.ElementType = BreadcrumbsTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<BreadcrumbsTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
|
92
|
-
component?: React.ElementType;
|
|
93
|
-
};
|
|
94
|
-
export default Breadcrumbs;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface BreadcrumbsClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the ol element. */
|
|
5
|
-
ol: string;
|
|
6
|
-
/** Styles applied to the li element. */
|
|
7
|
-
li: string;
|
|
8
|
-
/** Styles applied to the separator element. */
|
|
9
|
-
separator: string;
|
|
10
|
-
}
|
|
11
|
-
export type BreadcrumbsClassKey = keyof BreadcrumbsClasses;
|
|
12
|
-
export declare function getBreadcrumbsUtilityClass(slot: string): string;
|
|
13
|
-
declare const breadcrumbsClasses: BreadcrumbsClasses;
|
|
14
|
-
export default breadcrumbsClasses;
|
package/Breadcrumbs/index.d.ts
DELETED
package/Button/Button.d.ts
DELETED
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { DistributiveOmit, OverridableStringUnion } from '@mui/types';
|
|
3
|
-
import { SxProps } from '@mui/system';
|
|
4
|
-
import { Theme } from "../styles/index.js";
|
|
5
|
-
import { ExtendButtonBase, ExtendButtonBaseTypeMap } from "../ButtonBase/index.js";
|
|
6
|
-
import { OverrideProps, OverridableComponent, OverridableTypeMap } from "../OverridableComponent/index.js";
|
|
7
|
-
import { ButtonClasses } from "./buttonClasses.js";
|
|
8
|
-
export interface ButtonPropsVariantOverrides {}
|
|
9
|
-
export interface ButtonPropsColorOverrides {}
|
|
10
|
-
export interface ButtonPropsSizeOverrides {}
|
|
11
|
-
export interface ButtonOwnProps {
|
|
12
|
-
/**
|
|
13
|
-
* The content of the component.
|
|
14
|
-
*/
|
|
15
|
-
children?: React.ReactNode;
|
|
16
|
-
/**
|
|
17
|
-
* Override or extend the styles applied to the component.
|
|
18
|
-
*/
|
|
19
|
-
classes?: Partial<ButtonClasses>;
|
|
20
|
-
/**
|
|
21
|
-
* The color of the component.
|
|
22
|
-
* It supports both default and custom theme colors, which can be added as shown in the
|
|
23
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
24
|
-
* @default 'primary'
|
|
25
|
-
*/
|
|
26
|
-
color?: OverridableStringUnion<'inherit' | 'primary' | 'secondary' | 'success' | 'error' | 'info' | 'warning', ButtonPropsColorOverrides>;
|
|
27
|
-
/**
|
|
28
|
-
* If `true`, the component is disabled.
|
|
29
|
-
* @default false
|
|
30
|
-
*/
|
|
31
|
-
disabled?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* If `true`, no elevation is used.
|
|
34
|
-
* @default false
|
|
35
|
-
*/
|
|
36
|
-
disableElevation?: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* If `true`, the keyboard focus ripple is disabled.
|
|
39
|
-
* @default false
|
|
40
|
-
*/
|
|
41
|
-
disableFocusRipple?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Element placed after the children.
|
|
44
|
-
*/
|
|
45
|
-
endIcon?: React.ReactNode;
|
|
46
|
-
/**
|
|
47
|
-
* If `true`, the button will take up the full width of its container.
|
|
48
|
-
* @default false
|
|
49
|
-
*/
|
|
50
|
-
fullWidth?: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* The URL to link to when the button is clicked.
|
|
53
|
-
* If defined, an `a` element will be used as the root node.
|
|
54
|
-
*/
|
|
55
|
-
href?: string;
|
|
56
|
-
/**
|
|
57
|
-
* If `true`, the loading indicator is visible and the button is disabled.
|
|
58
|
-
* If `true | false`, the loading wrapper is always rendered before the children to prevent [Google Translation Crash](https://github.com/mui/material-ui/issues/27853).
|
|
59
|
-
* @default null
|
|
60
|
-
*/
|
|
61
|
-
loading?: boolean | null;
|
|
62
|
-
/**
|
|
63
|
-
* Element placed before the children if the button is in loading state.
|
|
64
|
-
* The node should contain an element with `role="progressbar"` with an accessible name.
|
|
65
|
-
* By default, it renders a `CircularProgress` that is labeled by the button itself.
|
|
66
|
-
* @default <CircularProgress color="inherit" size={16} />
|
|
67
|
-
*/
|
|
68
|
-
loadingIndicator?: React.ReactNode;
|
|
69
|
-
/**
|
|
70
|
-
* The loading indicator can be positioned on the start, end, or the center of the button.
|
|
71
|
-
* @default 'center'
|
|
72
|
-
*/
|
|
73
|
-
loadingPosition?: 'start' | 'end' | 'center';
|
|
74
|
-
/**
|
|
75
|
-
* The size of the component.
|
|
76
|
-
* `small` is equivalent to the dense button styling.
|
|
77
|
-
* @default 'medium'
|
|
78
|
-
*/
|
|
79
|
-
size?: OverridableStringUnion<'small' | 'medium' | 'large', ButtonPropsSizeOverrides>;
|
|
80
|
-
/**
|
|
81
|
-
* Element placed before the children.
|
|
82
|
-
*/
|
|
83
|
-
startIcon?: React.ReactNode;
|
|
84
|
-
/**
|
|
85
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
86
|
-
*/
|
|
87
|
-
sx?: SxProps<Theme>;
|
|
88
|
-
/**
|
|
89
|
-
* The variant to use.
|
|
90
|
-
* @default 'text'
|
|
91
|
-
*/
|
|
92
|
-
variant?: OverridableStringUnion<'text' | 'outlined' | 'contained', ButtonPropsVariantOverrides>;
|
|
93
|
-
}
|
|
94
|
-
export type ButtonTypeMap<AdditionalProps = {}, RootComponent extends React.ElementType = 'button'> = ExtendButtonBaseTypeMap<{
|
|
95
|
-
props: AdditionalProps & ButtonOwnProps;
|
|
96
|
-
defaultComponent: RootComponent;
|
|
97
|
-
}>;
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* utility to create component types that inherit props from ButtonBase.
|
|
101
|
-
* This component has an additional overload if the `href` prop is set which
|
|
102
|
-
* can make extension quite tricky
|
|
103
|
-
*/
|
|
104
|
-
export interface ExtendButtonTypeMap<TypeMap extends OverridableTypeMap> {
|
|
105
|
-
props: TypeMap['props'] & (TypeMap['props'] extends {
|
|
106
|
-
classes?: Record<string, string>;
|
|
107
|
-
} ? DistributiveOmit<ButtonTypeMap['props'], 'classes'> : ButtonTypeMap['props']);
|
|
108
|
-
defaultComponent: TypeMap['defaultComponent'];
|
|
109
|
-
}
|
|
110
|
-
export type ExtendButton<TypeMap extends OverridableTypeMap> = ((props: {
|
|
111
|
-
href: string;
|
|
112
|
-
} & OverrideProps<ExtendButtonBaseTypeMap<TypeMap>, 'a'>) => React.JSX.Element) & OverridableComponent<ExtendButtonBaseTypeMap<TypeMap>>;
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
*
|
|
116
|
-
* Demos:
|
|
117
|
-
*
|
|
118
|
-
* - [Button Group](https://next.mui.com/material-ui/react-button-group/)
|
|
119
|
-
* - [Button](https://next.mui.com/material-ui/react-button/)
|
|
120
|
-
*
|
|
121
|
-
* API:
|
|
122
|
-
*
|
|
123
|
-
* - [Button API](https://next.mui.com/material-ui/api/button/)
|
|
124
|
-
* - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/)
|
|
125
|
-
*/
|
|
126
|
-
declare const Button: ExtendButtonBase<ButtonTypeMap>;
|
|
127
|
-
export type ButtonProps<RootComponent extends React.ElementType = ButtonTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<ButtonTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
|
128
|
-
component?: React.ElementType;
|
|
129
|
-
};
|
|
130
|
-
export default Button;
|
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
export interface ButtonClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `variant="text"`. */
|
|
5
|
-
text: string;
|
|
6
|
-
/** Styles applied to the root element if `variant="text"` and `color="inherit"`.
|
|
7
|
-
* @deprecated Combine the [.MuiButton-text](/material-ui/api/button/#button-classes-text) and [.MuiButton-colorInherit](/material-ui/api/button/#button-classes-colorInherit) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
8
|
-
*/
|
|
9
|
-
textInherit: string;
|
|
10
|
-
/** Styles applied to the root element if `variant="text"` and `color="primary"`.
|
|
11
|
-
* @deprecated Combine the [.MuiButton-text](/material-ui/api/button/#button-classes-text) and [.MuiButton-colorPrimary](/material-ui/api/button/#button-classes-colorPrimary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
12
|
-
*/
|
|
13
|
-
textPrimary: string;
|
|
14
|
-
/** Styles applied to the root element if `variant="text"` and `color="secondary"`.
|
|
15
|
-
* @deprecated Combine the [.MuiButton-text](/material-ui/api/button/#button-classes-text) and [.MuiButton-colorSecondary](/material-ui/api/button/#button-classes-colorSecondary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
16
|
-
*/
|
|
17
|
-
textSecondary: string;
|
|
18
|
-
/** Styles applied to the root element if `variant="text"` and `color="success"`.
|
|
19
|
-
* @deprecated Combine the [.MuiButton-text](/material-ui/api/button/#button-classes-text) and [.MuiButton-colorSuccess](/material-ui/api/button/#button-classes-colorSuccess) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
20
|
-
*/
|
|
21
|
-
textSuccess: string;
|
|
22
|
-
/** Styles applied to the root element if `variant="text"` and `color="error"`.
|
|
23
|
-
* @deprecated Combine the [.MuiButton-text](/material-ui/api/button/#button-classes-text) and [.MuiButton-colorError](/material-ui/api/button/#button-classes-colorError) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
24
|
-
*/
|
|
25
|
-
textError: string;
|
|
26
|
-
/** Styles applied to the root element if `variant="text"` and `color="info"`.
|
|
27
|
-
* @deprecated Combine the [.MuiButton-text](/material-ui/api/button/#button-classes-text) and [.MuiButton-colorInfo](/material-ui/api/button/#button-classes-colorInfo) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
28
|
-
*/
|
|
29
|
-
textInfo: string;
|
|
30
|
-
/** Styles applied to the root element if `variant="text"` and `color="warning"`.
|
|
31
|
-
* @deprecated Combine the [.MuiButton-text](/material-ui/api/button/#button-classes-text) and [.MuiButton-colorWarning](/material-ui/api/button/#button-classes-colorWarning) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
32
|
-
*/
|
|
33
|
-
textWarning: string;
|
|
34
|
-
/** Styles applied to the root element if `variant="outlined"`. */
|
|
35
|
-
outlined: string;
|
|
36
|
-
/** Styles applied to the root element if `variant="outlined"` and `color="inherit"`.
|
|
37
|
-
* @deprecated Combine the [.MuiButton-outlined](/material-ui/api/button/#button-classes-outlined) and [.MuiButton-colorInherit](/material-ui/api/button/#button-classes-colorInherit) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
38
|
-
*/
|
|
39
|
-
outlinedInherit: string;
|
|
40
|
-
/** Styles applied to the root element if `variant="outlined"` and `color="primary"`.
|
|
41
|
-
* @deprecated Combine the [.MuiButton-outlined](/material-ui/api/button/#button-classes-outlined) and [.MuiButton-colorPrimary](/material-ui/api/button/#button-classes-colorPrimary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
42
|
-
*/
|
|
43
|
-
outlinedPrimary: string;
|
|
44
|
-
/** Styles applied to the root element if `variant="outlined"` and `color="secondary"`.
|
|
45
|
-
* @deprecated Combine the [.MuiButton-outlined](/material-ui/api/button/#button-classes-outlined) and [.MuiButton-colorSecondary](/material-ui/api/button/#button-classes-colorSecondary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
46
|
-
*/
|
|
47
|
-
outlinedSecondary: string;
|
|
48
|
-
/** Styles applied to the root element if `variant="outlined"` and `color="success"`.
|
|
49
|
-
* @deprecated Combine the [.MuiButton-outlined](/material-ui/api/button/#button-classes-outlined) and [.MuiButton-colorSuccess](/material-ui/api/button/#button-classes-colorSuccess) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
50
|
-
*/
|
|
51
|
-
outlinedSuccess: string;
|
|
52
|
-
/** Styles applied to the root element if `variant="outlined"` and `color="error"`.
|
|
53
|
-
* @deprecated Combine the [.MuiButton-outlined](/material-ui/api/button/#button-classes-outlined) and [.MuiButton-colorError](/material-ui/api/button/#button-classes-colorError) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
54
|
-
*/
|
|
55
|
-
outlinedError: string;
|
|
56
|
-
/** Styles applied to the root element if `variant="outlined"` and `color="info"`.
|
|
57
|
-
* @deprecated Combine the [.MuiButton-outlined](/material-ui/api/button/#button-classes-outlined) and [.MuiButton-colorInfo](/material-ui/api/button/#button-classes-colorInfo) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
58
|
-
*/
|
|
59
|
-
outlinedInfo: string;
|
|
60
|
-
/** Styles applied to the root element if `variant="outlined"` and `color="warning"`.
|
|
61
|
-
* @deprecated Combine the [.MuiButton-outlined](/material-ui/api/button/#button-classes-outlined) and [.MuiButton-colorWarning](/material-ui/api/button/#button-classes-colorWarning) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
62
|
-
*/
|
|
63
|
-
outlinedWarning: string;
|
|
64
|
-
/** Styles applied to the root element if `variant="contained"`. */
|
|
65
|
-
contained: string;
|
|
66
|
-
/** Styles applied to the root element if `variant="contained"` and `color="inherit"`.
|
|
67
|
-
* @deprecated Combine the [.MuiButton-contained](/material-ui/api/button/#button-classes-contained) and [.MuiButton-colorInherit](/material-ui/api/button/#button-classes-colorInherit) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
68
|
-
*/
|
|
69
|
-
containedInherit: string;
|
|
70
|
-
/** Styles applied to the root element if `variant="contained"` and `color="primary"`.
|
|
71
|
-
* @deprecated Combine the [.MuiButton-contained](/material-ui/api/button/#button-classes-contained) and [.MuiButton-colorPrimary](/material-ui/api/button/#button-classes-colorPrimary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
72
|
-
*/
|
|
73
|
-
containedPrimary: string;
|
|
74
|
-
/** Styles applied to the root element if `variant="contained"` and `color="secondary"`.
|
|
75
|
-
* @deprecated Combine the [.MuiButton-contained](/material-ui/api/button/#button-classes-contained) and [.MuiButton-colorSecondary](/material-ui/api/button/#button-classes-colorSecondary) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
76
|
-
*/
|
|
77
|
-
containedSecondary: string;
|
|
78
|
-
/** Styles applied to the root element if `variant="contained"` and `color="success"`.
|
|
79
|
-
* @deprecated Combine the [.MuiButton-contained](/material-ui/api/button/#button-classes-contained) and [.MuiButton-colorSuccess](/material-ui/api/button/#button-classes-colorSuccess) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
80
|
-
*/
|
|
81
|
-
containedSuccess: string;
|
|
82
|
-
/** Styles applied to the root element if `variant="contained"` and `color="info"`.
|
|
83
|
-
* @deprecated Combine the [.MuiButton-contained](/material-ui/api/button/#button-classes-contained) and [.MuiButton-colorInfo](/material-ui/api/button/#button-classes-colorInfo) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
84
|
-
*/
|
|
85
|
-
containedInfo: string;
|
|
86
|
-
/** Styles applied to the root element if `variant="contained"` and `color="error"`.
|
|
87
|
-
* @deprecated Combine the [.MuiButton-contained](/material-ui/api/button/#button-classes-contained) and [.MuiButton-colorError](/material-ui/api/button/#button-classes-colorError) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
88
|
-
*/
|
|
89
|
-
containedError: string;
|
|
90
|
-
/** Styles applied to the root element if `variant="contained"` and `color="warning"`.
|
|
91
|
-
* @deprecated Combine the [.MuiButton-contained](/material-ui/api/button/#button-classes-contained) and [.MuiButton-colorWarning](/material-ui/api/button/#button-classes-colorWarning) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
92
|
-
*/
|
|
93
|
-
containedWarning: string;
|
|
94
|
-
/** Styles applied to the root element if `disableElevation={true}`. */
|
|
95
|
-
disableElevation: string;
|
|
96
|
-
/** State class applied to the ButtonBase root element if the button is keyboard focused. */
|
|
97
|
-
focusVisible: string;
|
|
98
|
-
/** State class applied to the root element if `disabled={true}`. */
|
|
99
|
-
disabled: string;
|
|
100
|
-
/** Styles applied to the root element if `color="inherit"`. */
|
|
101
|
-
colorInherit: string;
|
|
102
|
-
/** Styles applied to the root element if `size="small"` and `variant="text"`.
|
|
103
|
-
* @deprecated Combine the [.MuiButton-sizeSmall](/material-ui/api/button/#button-classes-sizeSmall) and [.MuiButton-text](/material-ui/api/button/#button-classes-text) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
104
|
-
*/
|
|
105
|
-
textSizeSmall: string;
|
|
106
|
-
/** Styles applied to the root element if `size="medium"` and `variant="text"`.
|
|
107
|
-
* @deprecated Combine the [.MuiButton-sizeMedium](/material-ui/api/button/#button-classes-sizeMedium) and [.MuiButton-text](/material-ui/api/button/#button-classes-text) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
108
|
-
*/
|
|
109
|
-
textSizeMedium: string;
|
|
110
|
-
/** Styles applied to the root element if `size="large"` and `variant="text"`.
|
|
111
|
-
* @deprecated Combine the [.MuiButton-sizeLarge](/material-ui/api/button/#button-classes-sizeLarge) and [.MuiButton-text](/material-ui/api/button/#button-classes-text) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
112
|
-
*/
|
|
113
|
-
textSizeLarge: string;
|
|
114
|
-
/** Styles applied to the root element if `size="small"` and `variant="outlined"`.
|
|
115
|
-
* @deprecated Combine the [.MuiButton-sizeSmall](/material-ui/api/button/#button-classes-sizeSmall) and [.MuiButton-outlined](/material-ui/api/button/#button-classes-outlined) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
116
|
-
*/
|
|
117
|
-
outlinedSizeSmall: string;
|
|
118
|
-
/** Styles applied to the root element if `size="medium"` and `variant="outlined"`.
|
|
119
|
-
* @deprecated Combine the [.MuiButton-sizeMedium](/material-ui/api/button/#button-classes-sizeMedium) and [.MuiButton-outlined](/material-ui/api/button/#button-classes-outlined) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
120
|
-
*/
|
|
121
|
-
outlinedSizeMedium: string;
|
|
122
|
-
/** Styles applied to the root element if `size="large"` and `variant="outlined"`.
|
|
123
|
-
* @deprecated Combine the [.MuiButton-sizeLarge](/material-ui/api/button/#button-classes-sizeLarge) and [.MuiButton-outlined](/material-ui/api/button/#button-classes-outlined) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
124
|
-
*/
|
|
125
|
-
outlinedSizeLarge: string;
|
|
126
|
-
/** Styles applied to the root element if `size="small"` and `variant="contained"`.
|
|
127
|
-
* @deprecated Combine the [.MuiButton-sizeSmall](/material-ui/api/button/#button-classes-sizeSmall) and [.MuiButton-contained](/material-ui/api/button/#button-classes-contained) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
128
|
-
*/
|
|
129
|
-
containedSizeSmall: string;
|
|
130
|
-
/** Styles applied to the root element if `size="medium"` and `variant="contained"`.
|
|
131
|
-
* @deprecated Combine the [.MuiButton-sizeMedium](/material-ui/api/button/#button-classes-sizeMedium) and [.MuiButton-contained](/material-ui/api/button/#button-classes-contained) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
132
|
-
*/
|
|
133
|
-
containedSizeMedium: string;
|
|
134
|
-
/** Styles applied to the root element if `size="large"` and `variant="contained"`.
|
|
135
|
-
* @deprecated Combine the [.MuiButton-sizeLarge](/material-ui/api/button/#button-classes-sizeLarge) and [.MuiButton-contained](/material-ui/api/button/#button-classes-contained) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
136
|
-
*/
|
|
137
|
-
containedSizeLarge: string;
|
|
138
|
-
/** Styles applied to the root element if `size="small"`. */
|
|
139
|
-
sizeSmall: string;
|
|
140
|
-
/** Styles applied to the root element if `size="medium"`. */
|
|
141
|
-
sizeMedium: string;
|
|
142
|
-
/** Styles applied to the root element if `size="large"`. */
|
|
143
|
-
sizeLarge: string;
|
|
144
|
-
/** Styles applied to the root element if `fullWidth={true}`. */
|
|
145
|
-
fullWidth: string;
|
|
146
|
-
/** Styles applied to the icon element if supplied */
|
|
147
|
-
icon: string;
|
|
148
|
-
/** Styles applied to the startIcon element if supplied. */
|
|
149
|
-
startIcon: string;
|
|
150
|
-
/** Styles applied to the endIcon element if supplied. */
|
|
151
|
-
endIcon: string;
|
|
152
|
-
/** Styles applied to the icon element if supplied and `size="small"`.
|
|
153
|
-
* @deprecated Combine the [.MuiButton-icon](/material-ui/api/button/#button-classes-icon) and [.MuiButtonSizeSmall](/material-ui/api/button/#button-classes-sizeSmall) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
154
|
-
*/
|
|
155
|
-
iconSizeSmall: string;
|
|
156
|
-
/** Styles applied to the icon element if supplied and `size="medium"`.
|
|
157
|
-
* @deprecated Combine the [.MuiButton-icon](/material-ui/api/button/#button-classes-icon) and [.MuiButtonSizeMedium](/material-ui/api/button/#button-classes-sizeMedium) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
158
|
-
*/
|
|
159
|
-
iconSizeMedium: string;
|
|
160
|
-
/** Styles applied to the icon element if supplied and `size="large"`.
|
|
161
|
-
* @deprecated Combine the [.MuiButton-icon](/material-ui/api/button/#button-classes-icon) and [.MuiButtonSizeLarge](/material-ui/api/button/#button-classes-sizeLarge) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
162
|
-
*/
|
|
163
|
-
iconSizeLarge: string;
|
|
164
|
-
/** Styles applied to the root element if `color="primary"`. */
|
|
165
|
-
colorPrimary: string;
|
|
166
|
-
/** Styles applied to the root element if `color="secondary"`. */
|
|
167
|
-
colorSecondary: string;
|
|
168
|
-
/** Styles applied to the root element if `color="success"`. */
|
|
169
|
-
colorSuccess: string;
|
|
170
|
-
/** Styles applied to the root element if `color="error"`. */
|
|
171
|
-
colorError: string;
|
|
172
|
-
/** Styles applied to the root element if `color="info"`. */
|
|
173
|
-
colorInfo: string;
|
|
174
|
-
/** Styles applied to the root element if `color="warning"`. */
|
|
175
|
-
colorWarning: string;
|
|
176
|
-
/** Styles applied to the root element if `loading={true}`. */
|
|
177
|
-
loading: string;
|
|
178
|
-
/** Styles applied to the loadingWrapper element. */
|
|
179
|
-
loadingWrapper: string;
|
|
180
|
-
/** Styles applied to the loadingIconPlaceholder element. */
|
|
181
|
-
loadingIconPlaceholder: string;
|
|
182
|
-
/** Styles applied to the loadingIndicator element. */
|
|
183
|
-
loadingIndicator: string;
|
|
184
|
-
/** Styles applied to the root element if `loadingPosition="center"`. */
|
|
185
|
-
loadingPositionCenter: string;
|
|
186
|
-
/** Styles applied to the root element if `loadingPosition="start"`. */
|
|
187
|
-
loadingPositionStart: string;
|
|
188
|
-
/** Styles applied to the root element if `loadingPosition="end"`. */
|
|
189
|
-
loadingPositionEnd: string;
|
|
190
|
-
}
|
|
191
|
-
export type ButtonClassKey = keyof ButtonClasses;
|
|
192
|
-
export declare function getButtonUtilityClass(slot: string): string;
|
|
193
|
-
declare const buttonClasses: ButtonClasses;
|
|
194
|
-
export default buttonClasses;
|
package/Button/index.d.ts
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SxProps } from '@mui/system';
|
|
3
|
-
import { Theme } from "../styles/index.js";
|
|
4
|
-
import { TouchRippleActions, TouchRippleProps } from "./TouchRipple.js";
|
|
5
|
-
import { OverrideProps, OverridableComponent, OverridableTypeMap } from "../OverridableComponent/index.js";
|
|
6
|
-
import { ButtonBaseClasses } from "./buttonBaseClasses.js";
|
|
7
|
-
export { TouchRippleActions, TouchRippleProps };
|
|
8
|
-
export interface ButtonBaseOwnProps {
|
|
9
|
-
/**
|
|
10
|
-
* A ref for imperative actions.
|
|
11
|
-
* It currently only supports `focusVisible()` action.
|
|
12
|
-
*/
|
|
13
|
-
action?: React.Ref<ButtonBaseActions>;
|
|
14
|
-
/**
|
|
15
|
-
* If `true`, the ripples are centered.
|
|
16
|
-
* They won't start at the cursor interaction position.
|
|
17
|
-
* @default false
|
|
18
|
-
*/
|
|
19
|
-
centerRipple?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* The content of the component.
|
|
22
|
-
*/
|
|
23
|
-
children?: React.ReactNode;
|
|
24
|
-
/**
|
|
25
|
-
* Override or extend the styles applied to the component.
|
|
26
|
-
*/
|
|
27
|
-
classes?: Partial<ButtonBaseClasses>;
|
|
28
|
-
/**
|
|
29
|
-
* If `true`, the component is disabled.
|
|
30
|
-
* @default false
|
|
31
|
-
*/
|
|
32
|
-
disabled?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* If `true`, the ripple effect is disabled.
|
|
35
|
-
*
|
|
36
|
-
* ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
|
|
37
|
-
* to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
|
|
38
|
-
* @default false
|
|
39
|
-
*/
|
|
40
|
-
disableRipple?: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* If `true`, the touch ripple effect is disabled.
|
|
43
|
-
* @default false
|
|
44
|
-
*/
|
|
45
|
-
disableTouchRipple?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* If `true`, the base button will have a keyboard focus ripple.
|
|
48
|
-
* @default false
|
|
49
|
-
*/
|
|
50
|
-
focusRipple?: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* This prop can help identify which element has keyboard focus.
|
|
53
|
-
* The class name will be applied when the element gains the focus through keyboard interaction.
|
|
54
|
-
* It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
|
|
55
|
-
* The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
|
|
56
|
-
* A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
|
|
57
|
-
* if needed.
|
|
58
|
-
*/
|
|
59
|
-
focusVisibleClassName?: string;
|
|
60
|
-
/**
|
|
61
|
-
* The component used to render a link when the `href` prop is provided.
|
|
62
|
-
* @default 'a'
|
|
63
|
-
*/
|
|
64
|
-
LinkComponent?: React.ElementType;
|
|
65
|
-
/**
|
|
66
|
-
* Callback fired when the component is focused with a keyboard.
|
|
67
|
-
* We trigger a `onFocus` callback too.
|
|
68
|
-
*/
|
|
69
|
-
onFocusVisible?: React.FocusEventHandler<any>;
|
|
70
|
-
/**
|
|
71
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
72
|
-
*/
|
|
73
|
-
sx?: SxProps<Theme>;
|
|
74
|
-
/**
|
|
75
|
-
* @default 0
|
|
76
|
-
*/
|
|
77
|
-
tabIndex?: NonNullable<React.HTMLAttributes<any>['tabIndex']>;
|
|
78
|
-
/**
|
|
79
|
-
* Props applied to the `TouchRipple` element.
|
|
80
|
-
*/
|
|
81
|
-
TouchRippleProps?: Partial<TouchRippleProps>;
|
|
82
|
-
/**
|
|
83
|
-
* A ref that points to the `TouchRipple` element.
|
|
84
|
-
*/
|
|
85
|
-
touchRippleRef?: React.Ref<TouchRippleActions>;
|
|
86
|
-
}
|
|
87
|
-
export interface ButtonBaseTypeMap<AdditionalProps = {}, RootComponent extends React.ElementType = 'button'> {
|
|
88
|
-
props: AdditionalProps & ButtonBaseOwnProps;
|
|
89
|
-
defaultComponent: RootComponent;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* utility to create component types that inherit props from ButtonBase.
|
|
94
|
-
* This component has an additional overload if the `href` prop is set which
|
|
95
|
-
* can make extension quite tricky
|
|
96
|
-
*/
|
|
97
|
-
export interface ExtendButtonBaseTypeMap<TypeMap extends OverridableTypeMap> {
|
|
98
|
-
props: TypeMap['props'] & Omit<ButtonBaseTypeMap['props'], 'classes'>;
|
|
99
|
-
defaultComponent: TypeMap['defaultComponent'];
|
|
100
|
-
}
|
|
101
|
-
export type ExtendButtonBase<TypeMap extends OverridableTypeMap> = ((props: {
|
|
102
|
-
href: string;
|
|
103
|
-
} & OverrideProps<ExtendButtonBaseTypeMap<TypeMap>, 'a'>) => React.JSX.Element) & OverridableComponent<ExtendButtonBaseTypeMap<TypeMap>>;
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* `ButtonBase` contains as few styles as possible.
|
|
107
|
-
* It aims to be a simple building block for creating a button.
|
|
108
|
-
* It contains a load of style reset and some focus/ripple logic.
|
|
109
|
-
*
|
|
110
|
-
* Demos:
|
|
111
|
-
*
|
|
112
|
-
* - [Button](https://next.mui.com/material-ui/react-button/)
|
|
113
|
-
*
|
|
114
|
-
* API:
|
|
115
|
-
*
|
|
116
|
-
* - [ButtonBase API](https://next.mui.com/material-ui/api/button-base/)
|
|
117
|
-
*/
|
|
118
|
-
declare const ButtonBase: ExtendButtonBase<ButtonBaseTypeMap>;
|
|
119
|
-
export type ButtonBaseProps<RootComponent extends React.ElementType = ButtonBaseTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<ButtonBaseTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
|
120
|
-
component?: React.ElementType;
|
|
121
|
-
};
|
|
122
|
-
export interface ButtonBaseActions {
|
|
123
|
-
focusVisible(): void;
|
|
124
|
-
}
|
|
125
|
-
export default ButtonBase;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { InternalStandardProps as StandardProps } from "../index.js";
|
|
3
|
-
import { TouchRippleClasses, TouchRippleClassKey } from "./touchRippleClasses.js";
|
|
4
|
-
export { TouchRippleClassKey };
|
|
5
|
-
export interface StartActionOptions {
|
|
6
|
-
pulsate?: boolean;
|
|
7
|
-
center?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export interface TouchRippleActions {
|
|
10
|
-
start: (event?: React.SyntheticEvent, options?: StartActionOptions, callback?: () => void) => void;
|
|
11
|
-
pulsate: (event?: React.SyntheticEvent) => void;
|
|
12
|
-
stop: (event?: React.SyntheticEvent, callback?: () => void) => void;
|
|
13
|
-
}
|
|
14
|
-
export type TouchRippleProps = StandardProps<React.HTMLAttributes<HTMLElement>> & {
|
|
15
|
-
center?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Override or extend the styles applied to the component.
|
|
18
|
-
*/
|
|
19
|
-
classes?: Partial<TouchRippleClasses>;
|
|
20
|
-
};
|
|
21
|
-
declare const TouchRipple: React.ForwardRefRenderFunction<TouchRippleActions, TouchRippleProps>;
|
|
22
|
-
export default TouchRipple;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface ButtonBaseClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** State class applied to the root element if `disabled={true}`. */
|
|
5
|
-
disabled: string;
|
|
6
|
-
/** State class applied to the root element if keyboard focused. */
|
|
7
|
-
focusVisible: string;
|
|
8
|
-
}
|
|
9
|
-
export type ButtonBaseClassKey = keyof ButtonBaseClasses;
|
|
10
|
-
export declare function getButtonBaseUtilityClass(slot: string): string;
|
|
11
|
-
declare const buttonBaseClasses: ButtonBaseClasses;
|
|
12
|
-
export default buttonBaseClasses;
|