@mui/material 7.0.2 → 7.1.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/Accordion/Accordion.js +1 -2
- package/AccordionDetails/AccordionDetails.js +1 -2
- package/AccordionSummary/AccordionSummary.js +3 -6
- package/Alert/Alert.js +3 -6
- package/AlertTitle/AlertTitle.js +1 -2
- package/Autocomplete/Autocomplete.js +8 -16
- package/Avatar/Avatar.d.ts +33 -6
- package/Avatar/Avatar.js +35 -16
- package/Badge/Badge.d.ts +27 -28
- package/Badge/Badge.js +28 -22
- package/Badge/useBadge.d.ts +0 -10
- package/Badge/useBadge.js +3 -12
- package/BottomNavigation/BottomNavigation.js +1 -2
- package/BottomNavigationAction/BottomNavigationAction.d.ts +28 -3
- package/BottomNavigationAction/BottomNavigationAction.js +54 -11
- package/Breadcrumbs/Breadcrumbs.js +2 -4
- package/Button/Button.js +2 -4
- package/ButtonBase/ButtonBase.js +1 -2
- package/CHANGELOG.md +97 -0
- package/Card/Card.js +1 -2
- package/CardActionArea/CardActionArea.d.ts +28 -3
- package/CardActionArea/CardActionArea.js +49 -12
- package/CardContent/CardContent.js +1 -2
- package/CardHeader/CardHeader.js +3 -6
- package/Checkbox/Checkbox.js +1 -1
- package/Chip/Chip.js +2 -2
- package/CircularProgress/CircularProgress.js +1 -2
- package/ClickAwayListener/ClickAwayListener.js +12 -8
- package/Collapse/Collapse.js +2 -4
- package/Dialog/Dialog.js +2 -6
- package/DialogContentText/DialogContentText.js +1 -2
- package/DialogTitle/DialogTitle.js +1 -2
- package/FilledInput/FilledInput.js +2 -2
- package/FormControlLabel/FormControlLabel.js +1 -2
- package/FormLabel/FormLabel.js +1 -2
- package/IconButton/IconButton.js +1 -2
- package/ImageListItemBar/ImageListItemBar.js +2 -4
- package/InitColorSchemeScript/InitColorSchemeScript.d.ts +59 -3
- package/InitColorSchemeScript/InitColorSchemeScript.js +79 -4
- package/Input/Input.js +2 -2
- package/InputBase/InputBase.d.ts +2 -2
- package/InputBase/InputBase.js +2 -2
- package/ListItem/ListItem.js +1 -2
- package/Menu/Menu.d.ts +1 -1
- package/Menu/Menu.js +3 -6
- package/MobileStepper/MobileStepper.js +2 -4
- package/Modal/Modal.d.ts +0 -3
- package/Modal/Modal.js +1 -7
- package/Modal/ModalManager.js +11 -8
- package/Modal/useModal.d.ts +0 -10
- package/Modal/useModal.js +10 -17
- package/NativeSelect/NativeSelect.d.ts +1 -1
- package/NativeSelect/NativeSelect.js +1 -1
- package/NoSsr/NoSsr.js +4 -3
- package/OutlinedInput/OutlinedInput.d.ts +16 -2
- package/OutlinedInput/OutlinedInput.js +33 -14
- package/Pagination/Pagination.js +1 -2
- package/PaginationItem/PaginationItem.js +1 -2
- package/Popover/Popover.d.ts +1 -1
- package/Popover/Popover.js +2 -4
- package/Popper/BasePopper.js +14 -9
- package/Popper/Popper.js +1 -2
- package/Portal/Portal.js +13 -8
- package/Radio/Radio.js +1 -1
- package/ScopedCssBaseline/ScopedCssBaseline.js +1 -2
- package/Select/Select.d.ts +1 -1
- package/Select/Select.js +3 -4
- package/Select/SelectInput.d.ts +10 -2
- package/Select/SelectInput.js +1 -2
- package/Slider/Slider.js +4 -8
- package/Slider/SliderValueLabel.js +1 -1
- package/Slider/useSlider.d.ts +0 -10
- package/Slider/useSlider.js +26 -29
- package/Snackbar/Snackbar.js +4 -0
- package/Snackbar/useSnackbar.d.ts +0 -11
- package/Snackbar/useSnackbar.js +5 -15
- package/SnackbarContent/SnackbarContent.js +3 -6
- package/SpeedDial/SpeedDial.js +1 -2
- package/SpeedDialAction/SpeedDialAction.js +1 -2
- package/Stack/Stack.js +1 -2
- package/StepContent/StepContent.js +1 -2
- package/StepIcon/StepIcon.js +2 -4
- package/StepLabel/StepLabel.js +3 -6
- package/Switch/Switch.js +3 -5
- package/TableBody/TableBody.js +1 -2
- package/TableContainer/TableContainer.js +1 -2
- package/TableFooter/TableFooter.js +1 -2
- package/TableHead/TableHead.js +1 -2
- package/TablePagination/TablePagination.js +5 -10
- package/Tabs/Tabs.js +1 -2
- package/TextField/TextField.d.ts +2 -2
- package/TextField/TextField.js +3 -4
- package/TextareaAutosize/TextareaAutosize.js +21 -8
- package/Tooltip/Tooltip.js +1 -2
- package/Unstable_TrapFocus/FocusTrap.js +10 -6
- package/className/index.d.ts +1 -1
- package/className/index.js +3 -2
- package/esm/Accordion/Accordion.js +1 -2
- package/esm/AccordionDetails/AccordionDetails.js +1 -2
- package/esm/AccordionSummary/AccordionSummary.js +3 -6
- package/esm/Alert/Alert.js +3 -6
- package/esm/AlertTitle/AlertTitle.js +1 -2
- package/esm/Autocomplete/Autocomplete.js +8 -16
- package/esm/Avatar/Avatar.d.ts +33 -6
- package/esm/Avatar/Avatar.js +35 -16
- package/esm/Badge/Badge.d.ts +27 -28
- package/esm/Badge/Badge.js +28 -22
- package/esm/Badge/useBadge.d.ts +0 -10
- package/esm/Badge/useBadge.js +1 -11
- package/esm/BottomNavigation/BottomNavigation.js +1 -2
- package/esm/BottomNavigationAction/BottomNavigationAction.d.ts +28 -3
- package/esm/BottomNavigationAction/BottomNavigationAction.js +54 -11
- package/esm/Breadcrumbs/Breadcrumbs.js +2 -4
- package/esm/Button/Button.js +2 -4
- package/esm/ButtonBase/ButtonBase.js +1 -2
- package/esm/Card/Card.js +1 -2
- package/esm/CardActionArea/CardActionArea.d.ts +28 -3
- package/esm/CardActionArea/CardActionArea.js +49 -12
- package/esm/CardContent/CardContent.js +1 -2
- package/esm/CardHeader/CardHeader.js +3 -6
- package/esm/Checkbox/Checkbox.js +1 -1
- package/esm/Chip/Chip.js +2 -2
- package/esm/CircularProgress/CircularProgress.js +1 -2
- package/esm/ClickAwayListener/ClickAwayListener.js +5 -1
- package/esm/Collapse/Collapse.js +2 -4
- package/esm/Dialog/Dialog.js +2 -6
- package/esm/DialogContentText/DialogContentText.js +1 -2
- package/esm/DialogTitle/DialogTitle.js +1 -2
- package/esm/FilledInput/FilledInput.js +2 -2
- package/esm/FormControlLabel/FormControlLabel.js +1 -2
- package/esm/FormLabel/FormLabel.js +1 -2
- package/esm/IconButton/IconButton.js +1 -2
- package/esm/ImageListItemBar/ImageListItemBar.js +2 -4
- package/esm/InitColorSchemeScript/InitColorSchemeScript.d.ts +59 -3
- package/esm/InitColorSchemeScript/InitColorSchemeScript.js +79 -4
- package/esm/Input/Input.js +2 -2
- package/esm/InputBase/InputBase.d.ts +2 -2
- package/esm/InputBase/InputBase.js +2 -2
- package/esm/ListItem/ListItem.js +1 -2
- package/esm/Menu/Menu.d.ts +1 -1
- package/esm/Menu/Menu.js +3 -6
- package/esm/MobileStepper/MobileStepper.js +2 -4
- package/esm/Modal/Modal.d.ts +0 -3
- package/esm/Modal/Modal.js +1 -7
- package/esm/Modal/ModalManager.js +3 -1
- package/esm/Modal/useModal.d.ts +0 -10
- package/esm/Modal/useModal.js +4 -11
- package/esm/NativeSelect/NativeSelect.d.ts +1 -1
- package/esm/NativeSelect/NativeSelect.js +1 -1
- package/esm/NoSsr/NoSsr.js +2 -1
- package/esm/OutlinedInput/OutlinedInput.d.ts +16 -2
- package/esm/OutlinedInput/OutlinedInput.js +33 -14
- package/esm/Pagination/Pagination.js +1 -2
- package/esm/PaginationItem/PaginationItem.js +1 -2
- package/esm/Popover/Popover.d.ts +1 -1
- package/esm/Popover/Popover.js +2 -4
- package/esm/Popper/BasePopper.js +6 -1
- package/esm/Popper/Popper.js +1 -2
- package/esm/Portal/Portal.js +6 -1
- package/esm/Radio/Radio.js +1 -1
- package/esm/ScopedCssBaseline/ScopedCssBaseline.js +1 -2
- package/esm/Select/Select.d.ts +1 -1
- package/esm/Select/Select.js +3 -4
- package/esm/Select/SelectInput.d.ts +10 -2
- package/esm/Select/SelectInput.js +1 -2
- package/esm/Slider/Slider.js +4 -8
- package/esm/Slider/SliderValueLabel.js +1 -1
- package/esm/Slider/useSlider.d.ts +0 -10
- package/esm/Slider/useSlider.js +8 -11
- package/esm/Snackbar/Snackbar.js +4 -0
- package/esm/Snackbar/useSnackbar.d.ts +0 -11
- package/esm/Snackbar/useSnackbar.js +2 -12
- package/esm/SnackbarContent/SnackbarContent.js +3 -6
- package/esm/SpeedDial/SpeedDial.js +1 -2
- package/esm/SpeedDialAction/SpeedDialAction.js +1 -2
- package/esm/Stack/Stack.js +1 -2
- package/esm/StepContent/StepContent.js +1 -2
- package/esm/StepIcon/StepIcon.js +2 -4
- package/esm/StepLabel/StepLabel.js +3 -6
- package/esm/Switch/Switch.js +3 -5
- package/esm/TableBody/TableBody.js +1 -2
- package/esm/TableContainer/TableContainer.js +1 -2
- package/esm/TableFooter/TableFooter.js +1 -2
- package/esm/TableHead/TableHead.js +1 -2
- package/esm/TablePagination/TablePagination.js +5 -10
- package/esm/Tabs/Tabs.js +1 -2
- package/esm/TextField/TextField.d.ts +2 -2
- package/esm/TextField/TextField.js +3 -4
- package/esm/TextareaAutosize/TextareaAutosize.js +14 -1
- package/esm/Tooltip/Tooltip.js +1 -2
- package/esm/Unstable_TrapFocus/FocusTrap.js +5 -1
- package/esm/className/index.d.ts +1 -1
- package/esm/className/index.js +1 -1
- package/esm/generateUtilityClass/index.d.ts +2 -2
- package/esm/generateUtilityClass/index.js +1 -1
- package/esm/generateUtilityClasses/index.d.ts +1 -1
- package/esm/generateUtilityClasses/index.js +1 -1
- package/esm/index.d.ts +3 -2
- package/esm/index.js +4 -3
- package/esm/internal/SwitchBase.d.ts +1 -1
- package/esm/internal/SwitchBase.js +1 -1
- package/esm/styles/ThemeProvider.js +17 -17
- package/esm/styles/createThemeNoVars.d.ts +1 -1
- package/esm/useAutocomplete/useAutocomplete.d.ts +0 -10
- package/esm/useAutocomplete/useAutocomplete.js +5 -1
- package/esm/utils/index.d.ts +1 -1
- package/esm/utils/index.js +1 -1
- package/esm/utils/mergeSlotProps.d.ts +1 -1
- package/esm/utils/types.d.ts +2 -2
- package/esm/version/index.js +3 -3
- package/generateUtilityClass/index.d.ts +2 -2
- package/generateUtilityClass/index.js +3 -2
- package/generateUtilityClasses/index.d.ts +1 -1
- package/generateUtilityClasses/index.js +3 -2
- package/index.d.ts +3 -2
- package/index.js +13 -5
- package/internal/SwitchBase.d.ts +1 -1
- package/internal/SwitchBase.js +1 -1
- package/package.json +8 -8
- package/styles/ThemeProvider.js +17 -17
- package/styles/createThemeNoVars.d.ts +1 -1
- package/useAutocomplete/useAutocomplete.d.ts +0 -10
- package/useAutocomplete/useAutocomplete.js +16 -11
- package/utils/index.d.ts +1 -1
- package/utils/index.js +2 -2
- package/utils/mergeSlotProps.d.ts +1 -1
- package/utils/types.d.ts +2 -2
- package/version/index.js +3 -3
- package/modern/Accordion/Accordion.d.ts +0 -122
- 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 -80
- 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 -320
- 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 -184
- package/modern/Dialog/DialogContext.d.ts +0 -6
- package/modern/Dialog/dialogClasses.d.ts +0 -40
- 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/Grid.d.ts +0 -111
- package/modern/Grid/gridClasses.d.ts +0 -10
- package/modern/Grid/index.d.ts +0 -4
- package/modern/GridLegacy/GridLegacy.d.ts +0 -160
- package/modern/GridLegacy/gridLegacyClasses.d.ts +0 -48
- package/modern/GridLegacy/index.d.ts +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 -105
- 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 -162
- 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 -221
- 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 -183
- 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 -131
- 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 -51
- 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 -106
- 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/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 -123
- 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 -342
- 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 -323
- 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 -76
- package/modern/styles/ThemeProviderNoVars.d.ts +0 -10
- package/modern/styles/ThemeProviderWithVars.d.ts +0 -51
- 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 -14
- package/modern/styles/createThemeNoVars.d.ts +0 -70
- package/modern/styles/createThemeWithVars.d.ts +0 -350
- package/modern/styles/createTransitions.d.ts +0 -51
- package/modern/styles/createTypography.d.ts +0 -28
- 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 -49
- 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 -430
- 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
|
@@ -1,247 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SxProps } from '@mui/system';
|
|
3
|
-
import { OverridableStringUnion } from '@mui/types';
|
|
4
|
-
import { Theme } from "../styles/index.js";
|
|
5
|
-
import { InternalStandardProps as StandardProps } from "../index.js";
|
|
6
|
-
import { InputBaseClasses } from "./inputBaseClasses.js";
|
|
7
|
-
export interface InputBasePropsSizeOverrides {}
|
|
8
|
-
export interface InputBasePropsColorOverrides {}
|
|
9
|
-
export interface InputBaseComponentsPropsOverrides {}
|
|
10
|
-
export interface InputBaseProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>,
|
|
11
|
-
/*
|
|
12
|
-
* `onBlur`, `onChange`, `onFocus`, `onInvalid`, `onKeyDown`, `onKeyUp` are applied to the inner `InputComponent`,
|
|
13
|
-
* which by default is an input or textarea. Since these handlers differ from the
|
|
14
|
-
* ones inherited by `React.HTMLAttributes<HTMLDivElement>` we need to omit them.
|
|
15
|
-
*/
|
|
16
|
-
'children' | 'defaultValue' | 'onBlur' | 'onChange' | 'onFocus' | 'onInvalid' | 'onKeyDown' | 'onKeyUp'> {
|
|
17
|
-
'aria-describedby'?: string;
|
|
18
|
-
/**
|
|
19
|
-
* This prop helps users to fill forms faster, especially on mobile devices.
|
|
20
|
-
* The name can be confusing, as it's more like an autofill.
|
|
21
|
-
* You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
|
|
22
|
-
*/
|
|
23
|
-
autoComplete?: string;
|
|
24
|
-
/**
|
|
25
|
-
* If `true`, the `input` element is focused during the first mount.
|
|
26
|
-
*/
|
|
27
|
-
autoFocus?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Override or extend the styles applied to the component.
|
|
30
|
-
*/
|
|
31
|
-
classes?: Partial<InputBaseClasses>;
|
|
32
|
-
/**
|
|
33
|
-
* The color of the component.
|
|
34
|
-
* It supports both default and custom theme colors, which can be added as shown in the
|
|
35
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
36
|
-
* The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
|
|
37
|
-
*/
|
|
38
|
-
color?: OverridableStringUnion<'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning', InputBasePropsColorOverrides>;
|
|
39
|
-
/**
|
|
40
|
-
* The components used for each slot inside.
|
|
41
|
-
*
|
|
42
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
43
|
-
*
|
|
44
|
-
* @default {}
|
|
45
|
-
*/
|
|
46
|
-
components?: {
|
|
47
|
-
Root?: React.ElementType;
|
|
48
|
-
Input?: React.ElementType;
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* The extra props for the slot components.
|
|
52
|
-
* You can override the existing props or add new ones.
|
|
53
|
-
*
|
|
54
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
55
|
-
*
|
|
56
|
-
* @default {}
|
|
57
|
-
*/
|
|
58
|
-
componentsProps?: {
|
|
59
|
-
root?: React.HTMLAttributes<HTMLDivElement> & InputBaseComponentsPropsOverrides;
|
|
60
|
-
input?: React.InputHTMLAttributes<HTMLInputElement> & InputBaseComponentsPropsOverrides;
|
|
61
|
-
};
|
|
62
|
-
/**
|
|
63
|
-
* The default value. Use when the component is not controlled.
|
|
64
|
-
*/
|
|
65
|
-
defaultValue?: unknown;
|
|
66
|
-
/**
|
|
67
|
-
* If `true`, the component is disabled.
|
|
68
|
-
* The prop defaults to the value (`false`) inherited from the parent FormControl component.
|
|
69
|
-
*/
|
|
70
|
-
disabled?: boolean;
|
|
71
|
-
/**
|
|
72
|
-
* If `true`, GlobalStyles for the auto-fill keyframes will not be injected/removed on mount/unmount. Make sure to inject them at the top of your application.
|
|
73
|
-
* This option is intended to help with boosting the initial rendering performance if you are loading a big amount of Input components at once.
|
|
74
|
-
* @default false
|
|
75
|
-
*/
|
|
76
|
-
disableInjectingGlobalStyles?: boolean;
|
|
77
|
-
/**
|
|
78
|
-
* End `InputAdornment` for this component.
|
|
79
|
-
*/
|
|
80
|
-
endAdornment?: React.ReactNode;
|
|
81
|
-
/**
|
|
82
|
-
* If `true`, the `input` will indicate an error.
|
|
83
|
-
* The prop defaults to the value (`false`) inherited from the parent FormControl component.
|
|
84
|
-
*/
|
|
85
|
-
error?: boolean;
|
|
86
|
-
/**
|
|
87
|
-
* If `true`, the `input` will take up the full width of its container.
|
|
88
|
-
* @default false
|
|
89
|
-
*/
|
|
90
|
-
fullWidth?: boolean;
|
|
91
|
-
/**
|
|
92
|
-
* The id of the `input` element.
|
|
93
|
-
*/
|
|
94
|
-
id?: string;
|
|
95
|
-
/**
|
|
96
|
-
* The component used for the `input` element.
|
|
97
|
-
* Either a string to use a HTML element or a component.
|
|
98
|
-
* @default 'input'
|
|
99
|
-
*/
|
|
100
|
-
inputComponent?: React.ElementType<InputBaseComponentProps>;
|
|
101
|
-
/**
|
|
102
|
-
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
|
|
103
|
-
* @default {}
|
|
104
|
-
*/
|
|
105
|
-
inputProps?: InputBaseComponentProps;
|
|
106
|
-
/**
|
|
107
|
-
* Pass a ref to the `input` element.
|
|
108
|
-
*/
|
|
109
|
-
inputRef?: React.Ref<any>;
|
|
110
|
-
/**
|
|
111
|
-
* If `dense`, will adjust vertical spacing. This is normally obtained via context from
|
|
112
|
-
* FormControl.
|
|
113
|
-
* The prop defaults to the value (`'none'`) inherited from the parent FormControl component.
|
|
114
|
-
*/
|
|
115
|
-
margin?: 'dense' | 'none';
|
|
116
|
-
/**
|
|
117
|
-
* If `true`, a [TextareaAutosize](https://mui.com/material-ui/react-textarea-autosize/) element is rendered.
|
|
118
|
-
* @default false
|
|
119
|
-
*/
|
|
120
|
-
multiline?: boolean;
|
|
121
|
-
/**
|
|
122
|
-
* Name attribute of the `input` element.
|
|
123
|
-
*/
|
|
124
|
-
name?: string;
|
|
125
|
-
/**
|
|
126
|
-
* Callback fired when the `input` is blurred.
|
|
127
|
-
*
|
|
128
|
-
* Notice that the first argument (event) might be undefined.
|
|
129
|
-
*/
|
|
130
|
-
onBlur?: React.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
|
|
131
|
-
/**
|
|
132
|
-
* Callback fired when the value is changed.
|
|
133
|
-
*
|
|
134
|
-
* @param {React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>} event The event source of the callback.
|
|
135
|
-
* You can pull out the new value by accessing `event.target.value` (string).
|
|
136
|
-
*/
|
|
137
|
-
onChange?: React.ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
|
|
138
|
-
onFocus?: React.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
|
|
139
|
-
onKeyDown?: React.KeyboardEventHandler<HTMLTextAreaElement | HTMLInputElement>;
|
|
140
|
-
onKeyUp?: React.KeyboardEventHandler<HTMLTextAreaElement | HTMLInputElement>;
|
|
141
|
-
/**
|
|
142
|
-
* Callback fired when the `input` doesn't satisfy its constraints.
|
|
143
|
-
*/
|
|
144
|
-
onInvalid?: React.FormEventHandler<HTMLInputElement | HTMLTextAreaElement>;
|
|
145
|
-
/**
|
|
146
|
-
* The short hint displayed in the `input` before the user enters a value.
|
|
147
|
-
*/
|
|
148
|
-
placeholder?: string;
|
|
149
|
-
/**
|
|
150
|
-
* It prevents the user from changing the value of the field
|
|
151
|
-
* (not from interacting with the field).
|
|
152
|
-
*/
|
|
153
|
-
readOnly?: boolean;
|
|
154
|
-
/**
|
|
155
|
-
* If `true`, the `input` element is required.
|
|
156
|
-
* The prop defaults to the value (`false`) inherited from the parent FormControl component.
|
|
157
|
-
*/
|
|
158
|
-
required?: boolean;
|
|
159
|
-
renderSuffix?: (state: {
|
|
160
|
-
disabled?: boolean;
|
|
161
|
-
error?: boolean;
|
|
162
|
-
filled?: boolean;
|
|
163
|
-
focused?: boolean;
|
|
164
|
-
margin?: 'dense' | 'none' | 'normal';
|
|
165
|
-
required?: boolean;
|
|
166
|
-
startAdornment?: React.ReactNode;
|
|
167
|
-
}) => React.ReactNode;
|
|
168
|
-
/**
|
|
169
|
-
* Number of rows to display when multiline option is set to true.
|
|
170
|
-
*/
|
|
171
|
-
rows?: string | number;
|
|
172
|
-
/**
|
|
173
|
-
* Maximum number of rows to display when multiline option is set to true.
|
|
174
|
-
*/
|
|
175
|
-
maxRows?: string | number;
|
|
176
|
-
/**
|
|
177
|
-
* Minimum number of rows to display when multiline option is set to true.
|
|
178
|
-
*/
|
|
179
|
-
minRows?: string | number;
|
|
180
|
-
/**
|
|
181
|
-
* The size of the component.
|
|
182
|
-
*/
|
|
183
|
-
size?: OverridableStringUnion<'small' | 'medium', InputBasePropsSizeOverrides>;
|
|
184
|
-
/**
|
|
185
|
-
* The extra props for the slot components.
|
|
186
|
-
* You can override the existing props or add new ones.
|
|
187
|
-
*
|
|
188
|
-
* This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
|
|
189
|
-
*
|
|
190
|
-
* @default {}
|
|
191
|
-
*/
|
|
192
|
-
slotProps?: {
|
|
193
|
-
root?: React.HTMLAttributes<HTMLDivElement> & InputBaseComponentsPropsOverrides & {
|
|
194
|
-
sx?: SxProps<Theme>;
|
|
195
|
-
};
|
|
196
|
-
input?: React.InputHTMLAttributes<HTMLInputElement> & InputBaseComponentsPropsOverrides & {
|
|
197
|
-
sx?: SxProps<Theme>;
|
|
198
|
-
};
|
|
199
|
-
};
|
|
200
|
-
/**
|
|
201
|
-
* The components used for each slot inside.
|
|
202
|
-
*
|
|
203
|
-
* This prop is an alias for the `components` prop, which will be deprecated in the future.
|
|
204
|
-
*
|
|
205
|
-
* @default {}
|
|
206
|
-
*/
|
|
207
|
-
slots?: {
|
|
208
|
-
root?: React.ElementType;
|
|
209
|
-
input?: React.ElementType;
|
|
210
|
-
};
|
|
211
|
-
/**
|
|
212
|
-
* Start `InputAdornment` for this component.
|
|
213
|
-
*/
|
|
214
|
-
startAdornment?: React.ReactNode;
|
|
215
|
-
/**
|
|
216
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
217
|
-
*/
|
|
218
|
-
sx?: SxProps<Theme>;
|
|
219
|
-
/**
|
|
220
|
-
* Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
|
|
221
|
-
* @default 'text'
|
|
222
|
-
*/
|
|
223
|
-
type?: string;
|
|
224
|
-
/**
|
|
225
|
-
* The value of the `input` element, required for a controlled component.
|
|
226
|
-
*/
|
|
227
|
-
value?: unknown;
|
|
228
|
-
}
|
|
229
|
-
export interface InputBaseComponentProps extends React.HTMLAttributes<HTMLInputElement | HTMLTextAreaElement> {
|
|
230
|
-
// Accommodate arbitrary additional props coming from the `inputProps` prop
|
|
231
|
-
[arbitrary: string]: any;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* `InputBase` contains as few styles as possible.
|
|
236
|
-
* It aims to be a simple building block for creating an input.
|
|
237
|
-
* It contains a load of style reset and some state logic.
|
|
238
|
-
*
|
|
239
|
-
* Demos:
|
|
240
|
-
*
|
|
241
|
-
* - [Text Field](https://mui.com/material-ui/react-text-field/)
|
|
242
|
-
*
|
|
243
|
-
* API:
|
|
244
|
-
*
|
|
245
|
-
* - [InputBase API](https://mui.com/material-ui/api/input-base/)
|
|
246
|
-
*/
|
|
247
|
-
export default function InputBase(props: InputBaseProps): React.JSX.Element;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
export interface InputBaseClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if the component is a descendant of `FormControl`. */
|
|
5
|
-
formControl: string;
|
|
6
|
-
/** Styles applied to the root element if the component is focused. */
|
|
7
|
-
focused: string;
|
|
8
|
-
/** Styles applied to the root element if `disabled={true}`. */
|
|
9
|
-
disabled: string;
|
|
10
|
-
/** Styles applied to the root element if `startAdornment` is provided. */
|
|
11
|
-
adornedStart: string;
|
|
12
|
-
/** Styles applied to the root element if `endAdornment` is provided. */
|
|
13
|
-
adornedEnd: string;
|
|
14
|
-
/** State class applied to the root element if `error={true}`. */
|
|
15
|
-
error: string;
|
|
16
|
-
/** Styles applied to the input element if `size="small"`. */
|
|
17
|
-
sizeSmall: string;
|
|
18
|
-
/** Styles applied to the root element if `multiline={true}`. */
|
|
19
|
-
multiline: string;
|
|
20
|
-
/** Styles applied to the root element if the color is secondary. */
|
|
21
|
-
colorSecondary: string;
|
|
22
|
-
/** Styles applied to the root element if `fullWidth={true}`. */
|
|
23
|
-
fullWidth: string;
|
|
24
|
-
/** Styles applied to the root element if `hiddenLabel={true}`. */
|
|
25
|
-
hiddenLabel: string;
|
|
26
|
-
/** State class applied to the root element if `readOnly={true}`. */
|
|
27
|
-
readOnly: string;
|
|
28
|
-
/** Styles applied to the input element. */
|
|
29
|
-
input: string;
|
|
30
|
-
/** Styles applied to the input element if `size="small"`.
|
|
31
|
-
* @deprecated Combine the [.MuiInputBase-input](/material-ui/api/input-base/#inputbase-classes-input) and [.MuiInputBase-sizeSmall](/material-ui/api/input-base/#inputbase-classes-sizeSmall) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
32
|
-
*/
|
|
33
|
-
inputSizeSmall: string;
|
|
34
|
-
/** Styles applied to the input element if `multiline={true}`.
|
|
35
|
-
* @deprecated Combine the [.MuiInputBase-input](/material-ui/api/input-base/#inputbase-classes-input) and [.MuiInputBase-multiline](/material-ui/api/input-base/#inputbase-classes-multiline) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
36
|
-
*/
|
|
37
|
-
inputMultiline: string;
|
|
38
|
-
inputTypeSearch: string;
|
|
39
|
-
/** Styles applied to the input element if `startAdornment` is provided.
|
|
40
|
-
* @deprecated Combine the [.MuiInputBase-input](/material-ui/api/input-base/#inputbase-classes-input) and [.MuiInputBase-adornedStart](/material-ui/api/input-base/#inputbase-classes-adornedStart) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
41
|
-
*/
|
|
42
|
-
inputAdornedStart: string;
|
|
43
|
-
/** Styles applied to the input element if `endAdornment` is provided.
|
|
44
|
-
* @deprecated Combine the [.MuiInputBase-input](/material-ui/api/input-base/#inputbase-classes-input) and [.MuiInputBase-adornedEnd](/material-ui/api/input-base/#inputbase-classes-adornedEnd) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
45
|
-
*/
|
|
46
|
-
inputAdornedEnd: string;
|
|
47
|
-
/** Styles applied to the input element if `hiddenLabel={true}`.
|
|
48
|
-
* @deprecated Combine the [.MuiInputBase-input](/material-ui/api/input-base/#inputbase-classes-input) and [.MuiInputBase-hiddenLabel](/material-ui/api/input-base/#inputbase-classes-hiddenLabel) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
49
|
-
*/
|
|
50
|
-
inputHiddenLabel: string;
|
|
51
|
-
}
|
|
52
|
-
export type InputBaseClassKey = keyof InputBaseClasses;
|
|
53
|
-
export declare function getInputBaseUtilityClass(slot: string): string;
|
|
54
|
-
declare const inputBaseClasses: InputBaseClasses;
|
|
55
|
-
export default inputBaseClasses;
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SxProps } from '@mui/system';
|
|
3
|
-
import { OverridableStringUnion } from '@mui/types';
|
|
4
|
-
import { FormLabelProps, ExtendFormLabelTypeMap } from "../FormLabel/index.js";
|
|
5
|
-
import { Theme } from "../styles/index.js";
|
|
6
|
-
import { InputLabelClasses } from "./inputLabelClasses.js";
|
|
7
|
-
import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
|
|
8
|
-
export interface InputLabelPropsSizeOverrides {}
|
|
9
|
-
export interface InputLabelOwnProps extends Pick<FormLabelProps, 'children'> {
|
|
10
|
-
/**
|
|
11
|
-
* Override or extend the styles applied to the component.
|
|
12
|
-
*/
|
|
13
|
-
classes?: Partial<InputLabelClasses>;
|
|
14
|
-
color?: FormLabelProps['color'];
|
|
15
|
-
/**
|
|
16
|
-
* If `true`, the transition animation is disabled.
|
|
17
|
-
* @default false
|
|
18
|
-
*/
|
|
19
|
-
disableAnimation?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* If `true`, the component is disabled.
|
|
22
|
-
*/
|
|
23
|
-
disabled?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* If `true`, the label is displayed in an error state.
|
|
26
|
-
*/
|
|
27
|
-
error?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* If `true`, the `input` of this label is focused.
|
|
30
|
-
*/
|
|
31
|
-
focused?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* If `dense`, will adjust vertical spacing. This is normally obtained via context from
|
|
34
|
-
* FormControl.
|
|
35
|
-
*/
|
|
36
|
-
margin?: 'dense';
|
|
37
|
-
/**
|
|
38
|
-
* if `true`, the label will indicate that the `input` is required.
|
|
39
|
-
*/
|
|
40
|
-
required?: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* If `true`, the label is shrunk.
|
|
43
|
-
*/
|
|
44
|
-
shrink?: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* The size of the component.
|
|
47
|
-
* @default 'medium'
|
|
48
|
-
*/
|
|
49
|
-
size?: OverridableStringUnion<'small' | 'medium', InputLabelPropsSizeOverrides>;
|
|
50
|
-
/**
|
|
51
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
52
|
-
*/
|
|
53
|
-
sx?: SxProps<Theme>;
|
|
54
|
-
/**
|
|
55
|
-
* The variant to use.
|
|
56
|
-
*/
|
|
57
|
-
variant?: 'standard' | 'outlined' | 'filled';
|
|
58
|
-
}
|
|
59
|
-
export type InputLabelTypeMap<AdditionalProps = {}, RootComponent extends React.ElementType = 'label'> = ExtendFormLabelTypeMap<{
|
|
60
|
-
props: AdditionalProps & InputLabelOwnProps;
|
|
61
|
-
defaultComponent: RootComponent;
|
|
62
|
-
}>;
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* Demos:
|
|
67
|
-
*
|
|
68
|
-
* - [Text Field](https://mui.com/material-ui/react-text-field/)
|
|
69
|
-
*
|
|
70
|
-
* API:
|
|
71
|
-
*
|
|
72
|
-
* - [InputLabel API](https://mui.com/material-ui/api/input-label/)
|
|
73
|
-
* - inherits [FormLabel API](https://mui.com/material-ui/api/form-label/)
|
|
74
|
-
*/
|
|
75
|
-
declare const InputLabel: OverridableComponent<InputLabelTypeMap>;
|
|
76
|
-
export type InputLabelProps<RootComponent extends React.ElementType = InputLabelTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<InputLabelTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
|
77
|
-
component?: React.ElementType;
|
|
78
|
-
};
|
|
79
|
-
export default InputLabel;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export interface InputLabelClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** State class applied to the root element if `focused={true}`. */
|
|
5
|
-
focused: string;
|
|
6
|
-
/** State class applied to the root element if `disabled={true}`. */
|
|
7
|
-
disabled: string;
|
|
8
|
-
/** State class applied to the root element if `error={true}`. */
|
|
9
|
-
error: string;
|
|
10
|
-
/** State class applied to the root element if `required={true}`. */
|
|
11
|
-
required: string;
|
|
12
|
-
/** State class applied to the asterisk element. */
|
|
13
|
-
asterisk: string;
|
|
14
|
-
/** Styles applied to the root element if the component is a descendant of `FormControl`. */
|
|
15
|
-
formControl: string;
|
|
16
|
-
/** Styles applied to the root element if `size="small"`. */
|
|
17
|
-
sizeSmall: string;
|
|
18
|
-
/** Styles applied to the input element if `shrink={true}`. */
|
|
19
|
-
shrink: string;
|
|
20
|
-
/** Styles applied to the input element unless `disableAnimation={true}`. */
|
|
21
|
-
animated: string;
|
|
22
|
-
/** Styles applied to the root element if `variant="filled"`. */
|
|
23
|
-
filled: string;
|
|
24
|
-
/** Styles applied to the root element if `variant="outlined"`. */
|
|
25
|
-
outlined: string;
|
|
26
|
-
/** Styles applied to the root element if `variant="standard"`. */
|
|
27
|
-
standard: string;
|
|
28
|
-
}
|
|
29
|
-
export type InputLabelClassKey = keyof InputLabelClasses;
|
|
30
|
-
export declare function getInputLabelUtilityClasses(slot: string): string;
|
|
31
|
-
declare const inputLabelClasses: InputLabelClasses;
|
|
32
|
-
export default inputLabelClasses;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SxProps } from '@mui/system';
|
|
3
|
-
import { OverridableStringUnion } from '@mui/types';
|
|
4
|
-
import { InternalStandardProps as StandardProps, Theme } from "../index.js";
|
|
5
|
-
import { LinearProgressClasses } from "./linearProgressClasses.js";
|
|
6
|
-
export interface LinearProgressPropsColorOverrides {}
|
|
7
|
-
export interface LinearProgressPropsVariantOverrides {}
|
|
8
|
-
export interface LinearProgressProps extends StandardProps<React.HTMLAttributes<HTMLSpanElement>, 'children'> {
|
|
9
|
-
/**
|
|
10
|
-
* Override or extend the styles applied to the component.
|
|
11
|
-
*/
|
|
12
|
-
classes?: Partial<LinearProgressClasses>;
|
|
13
|
-
/**
|
|
14
|
-
* The color of the component.
|
|
15
|
-
* It supports both default and custom theme colors, which can be added as shown in the
|
|
16
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
17
|
-
* @default 'primary'
|
|
18
|
-
*/
|
|
19
|
-
color?: OverridableStringUnion<'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning' | 'inherit', LinearProgressPropsColorOverrides>;
|
|
20
|
-
/**
|
|
21
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
22
|
-
*/
|
|
23
|
-
sx?: SxProps<Theme>;
|
|
24
|
-
/**
|
|
25
|
-
* The value of the progress indicator for the determinate and buffer variants.
|
|
26
|
-
* Value between 0 and 100.
|
|
27
|
-
*/
|
|
28
|
-
value?: number;
|
|
29
|
-
/**
|
|
30
|
-
* The value for the buffer variant.
|
|
31
|
-
* Value between 0 and 100.
|
|
32
|
-
*/
|
|
33
|
-
valueBuffer?: number;
|
|
34
|
-
/**
|
|
35
|
-
* The variant to use.
|
|
36
|
-
* Use indeterminate or query when there is no progress value.
|
|
37
|
-
* @default 'indeterminate'
|
|
38
|
-
*/
|
|
39
|
-
variant?: OverridableStringUnion<'determinate' | 'indeterminate' | 'buffer' | 'query', LinearProgressPropsVariantOverrides>;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* ## ARIA
|
|
44
|
-
*
|
|
45
|
-
* If the progress bar is describing the loading progress of a particular region of a page,
|
|
46
|
-
* you should use `aria-describedby` to point to the progress bar, and set the `aria-busy`
|
|
47
|
-
* attribute to `true` on that region until it has finished loading.
|
|
48
|
-
*
|
|
49
|
-
* Demos:
|
|
50
|
-
*
|
|
51
|
-
* - [Progress](https://mui.com/material-ui/react-progress/)
|
|
52
|
-
*
|
|
53
|
-
* API:
|
|
54
|
-
*
|
|
55
|
-
* - [LinearProgress API](https://mui.com/material-ui/api/linear-progress/)
|
|
56
|
-
*/
|
|
57
|
-
export default function LinearProgress(props: LinearProgressProps): React.JSX.Element;
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
export interface LinearProgressClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root and bar2 element if `color="primary"`; bar2 if `variant="buffer"`. */
|
|
5
|
-
colorPrimary: string;
|
|
6
|
-
/** Styles applied to the root and bar2 elements if `color="secondary"`; bar2 if `variant="buffer"`. */
|
|
7
|
-
colorSecondary: string;
|
|
8
|
-
/** Styles applied to the root element if `variant="determinate"`. */
|
|
9
|
-
determinate: string;
|
|
10
|
-
/** Styles applied to the root element if `variant="indeterminate"`. */
|
|
11
|
-
indeterminate: string;
|
|
12
|
-
/** Styles applied to the root element if `variant="buffer"`. */
|
|
13
|
-
buffer: string;
|
|
14
|
-
/** Styles applied to the root element if `variant="query"`. */
|
|
15
|
-
query: string;
|
|
16
|
-
/** Styles applied to the additional bar element if `variant="buffer"`. */
|
|
17
|
-
dashed: string;
|
|
18
|
-
/** Styles applied to the additional bar element if `variant="buffer"` and `color="primary"`.
|
|
19
|
-
* @deprecated Combine the [.MuiLinearProgress-dashed](/material-ui/api/linear-progress/#linear-progress-classes-dashed) and [.MuiLinearProgress-colorPrimary](/material-ui/api/linear-progress/#linear-progress-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
20
|
-
*/
|
|
21
|
-
dashedColorPrimary: string;
|
|
22
|
-
/** Styles applied to the additional bar element if `variant="buffer"` and `color="secondary"`.
|
|
23
|
-
* @deprecated Combine the [.MuiLinearProgress-dashed](/material-ui/api/linear-progress/#linear-progress-classes-dashed) and [.MuiLinearProgress-colorSecondary](/material-ui/api/linear-progress/#linear-progress-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
24
|
-
*/
|
|
25
|
-
dashedColorSecondary: string;
|
|
26
|
-
/** Styles applied to the layered bar1 and bar2 elements. */
|
|
27
|
-
bar: string;
|
|
28
|
-
/** Styles applied to the bar1 element. */
|
|
29
|
-
bar1: string;
|
|
30
|
-
/** Styles applied to the bar2 element. */
|
|
31
|
-
bar2: string;
|
|
32
|
-
/** Styles applied to the bar elements if `color="primary"`; bar2 if `variant` not "buffer".
|
|
33
|
-
* @deprecated Use the [.MuiLinearProgress-bar](/material-ui/api/linear-progress/#linear-progress-classes-bar) and [.MuiLinearProgress-colorPrimary](/material-ui/api/linear-progress/#linear-progress-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
34
|
-
*/
|
|
35
|
-
barColorPrimary: string;
|
|
36
|
-
/** Styles applied to the bar elements if `color="secondary"`; bar2 if `variant` not "buffer".
|
|
37
|
-
* @deprecated Use the [.MuiLinearProgress-bar](/material-ui/api/linear-progress/#linear-progress-classes-bar) and [.MuiLinearProgress-colorSecondary](/material-ui/api/linear-progress/#linear-progress-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
38
|
-
*/
|
|
39
|
-
barColorSecondary: string;
|
|
40
|
-
/** Styles applied to the bar1 element if `variant="indeterminate or query"`.
|
|
41
|
-
* @deprecated Use the [.MuiLinearProgress-bar1](/material-ui/api/linear-progress/#linear-progress-classes-bar1) and [.MuiLinearProgress-indeterminate](/material-ui/api/linear-progress/#linear-progress-classes-indeterminate) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
42
|
-
*/
|
|
43
|
-
bar1Indeterminate: string;
|
|
44
|
-
/** Styles applied to the bar1 element if `variant="determinate"`.
|
|
45
|
-
* @deprecated Use the [.MuiLinearProgress-bar1](/material-ui/api/linear-progress/#linear-progress-classes-bar1) and [.MuiLinearProgress-determinate](/material-ui/api/linear-progress/#linear-progress-classes-determinate) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
46
|
-
*/
|
|
47
|
-
bar1Determinate: string;
|
|
48
|
-
/** Styles applied to the bar1 element if `variant="buffer"`.
|
|
49
|
-
* @deprecated Use the [.MuiLinearProgress-bar1](/material-ui/api/linear-progress/#linear-progress-classes-bar1) and [.MuiLinearProgress-buffer](/material-ui/api/linear-progress/#linear-progress-classes-buffer) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
50
|
-
*/
|
|
51
|
-
bar1Buffer: string;
|
|
52
|
-
/** Styles applied to the bar2 element if `variant="indeterminate or query"`.
|
|
53
|
-
* @deprecated Use the [.MuiLinearProgress-bar2](/material-ui/api/linear-progress/#linear-progress-classes-bar2) and [.MuiLinearProgress-indeterminate](/material-ui/api/linear-progress/#linear-progress-classes-indeterminate) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
54
|
-
*/
|
|
55
|
-
bar2Indeterminate: string;
|
|
56
|
-
/** Styles applied to the bar2 element if `variant="buffer"`.
|
|
57
|
-
* @deprecated Use the [.MuiLinearProgress-bar2](/material-ui/api/linear-progress/#linear-progress-classes-bar2) and [.MuiLinearProgress-buffer](/material-ui/api/linear-progress/#linear-progress-classes-buffer) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
58
|
-
*/
|
|
59
|
-
bar2Buffer: string;
|
|
60
|
-
}
|
|
61
|
-
export type LinearProgressClassKey = keyof LinearProgressClasses;
|
|
62
|
-
export declare function getLinearProgressUtilityClass(slot: string): string;
|
|
63
|
-
declare const linearProgressClasses: LinearProgressClasses;
|
|
64
|
-
export default linearProgressClasses;
|
package/modern/Link/Link.d.ts
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { DistributiveOmit } from '@mui/types';
|
|
3
|
-
import { SxProps } from '@mui/system';
|
|
4
|
-
import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
|
|
5
|
-
import { Theme } from "../styles/index.js";
|
|
6
|
-
import { TypographyOwnProps } from "../Typography/index.js";
|
|
7
|
-
import { LinkClasses } from "./linkClasses.js";
|
|
8
|
-
export interface LinkOwnProps extends DistributiveOmit<LinkBaseProps, 'classes'> {
|
|
9
|
-
/**
|
|
10
|
-
* The content of the component.
|
|
11
|
-
*/
|
|
12
|
-
children?: React.ReactNode;
|
|
13
|
-
/**
|
|
14
|
-
* Override or extend the styles applied to the component.
|
|
15
|
-
*/
|
|
16
|
-
classes?: Partial<LinkClasses>;
|
|
17
|
-
/**
|
|
18
|
-
* The color of the link.
|
|
19
|
-
* @default 'primary'
|
|
20
|
-
*/
|
|
21
|
-
color?: TypographyOwnProps['color'];
|
|
22
|
-
/**
|
|
23
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
24
|
-
*/
|
|
25
|
-
sx?: SxProps<Theme>;
|
|
26
|
-
/**
|
|
27
|
-
* `classes` prop applied to the [`Typography`](https://mui.com/material-ui/api/typography/) element.
|
|
28
|
-
*/
|
|
29
|
-
TypographyClasses?: TypographyOwnProps['classes'];
|
|
30
|
-
/**
|
|
31
|
-
* Controls when the link should have an underline.
|
|
32
|
-
* @default 'always'
|
|
33
|
-
*/
|
|
34
|
-
underline?: 'none' | 'hover' | 'always';
|
|
35
|
-
/**
|
|
36
|
-
* Applies the theme typography styles.
|
|
37
|
-
* @default 'inherit'
|
|
38
|
-
*/
|
|
39
|
-
variant?: TypographyOwnProps['variant'];
|
|
40
|
-
}
|
|
41
|
-
export interface LinkTypeMap<AdditionalProps = {}, RootComponent extends React.ElementType = 'a'> {
|
|
42
|
-
props: AdditionalProps & LinkOwnProps;
|
|
43
|
-
defaultComponent: RootComponent;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* Demos:
|
|
49
|
-
*
|
|
50
|
-
* - [Breadcrumbs](https://mui.com/material-ui/react-breadcrumbs/)
|
|
51
|
-
* - [Links](https://mui.com/material-ui/react-link/)
|
|
52
|
-
*
|
|
53
|
-
* API:
|
|
54
|
-
*
|
|
55
|
-
* - [Link API](https://mui.com/material-ui/api/link/)
|
|
56
|
-
* - inherits [Typography API](https://mui.com/material-ui/api/typography/)
|
|
57
|
-
*/
|
|
58
|
-
declare const Link: OverridableComponent<LinkTypeMap>;
|
|
59
|
-
export type LinkBaseProps = DistributiveOmit<TypographyOwnProps, 'children' | 'color' | 'variant' | 'classes'>;
|
|
60
|
-
export type LinkProps<RootComponent extends React.ElementType = LinkTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<LinkTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
|
61
|
-
component?: React.ElementType;
|
|
62
|
-
};
|
|
63
|
-
export default Link;
|
package/modern/Link/index.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface LinkClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `underline="none"`. */
|
|
5
|
-
underlineNone: string;
|
|
6
|
-
/** Styles applied to the root element if `underline="hover"`. */
|
|
7
|
-
underlineHover: string;
|
|
8
|
-
/** Styles applied to the root element if `underline="always"`. */
|
|
9
|
-
underlineAlways: string;
|
|
10
|
-
/** Styles applied to the root element if `component="button"`. */
|
|
11
|
-
button: string;
|
|
12
|
-
/** State class applied to the root element if the link is keyboard focused. */
|
|
13
|
-
focusVisible: string;
|
|
14
|
-
}
|
|
15
|
-
export type LinkClassKey = keyof LinkClasses;
|
|
16
|
-
export declare function getLinkUtilityClass(slot: string): string;
|
|
17
|
-
declare const linkClasses: LinkClasses;
|
|
18
|
-
export default linkClasses;
|