@mui/material 7.0.2 → 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accordion/Accordion.d.ts +1 -1
- package/Accordion/Accordion.js +1 -2
- package/AccordionActions/AccordionActions.d.ts +2 -1
- package/AccordionDetails/AccordionDetails.d.ts +2 -1
- package/AccordionDetails/AccordionDetails.js +1 -2
- package/AccordionSummary/AccordionSummary.d.ts +2 -1
- package/AccordionSummary/AccordionSummary.js +3 -6
- package/Alert/Alert.d.ts +4 -1
- package/Alert/Alert.js +3 -6
- package/AlertTitle/AlertTitle.d.ts +2 -1
- package/AlertTitle/AlertTitle.js +1 -2
- package/AppBar/AppBar.d.ts +1 -1
- package/Autocomplete/Autocomplete.d.ts +10 -1
- package/Autocomplete/Autocomplete.js +39 -34
- package/Avatar/Avatar.d.ts +33 -6
- package/Avatar/Avatar.js +35 -16
- package/AvatarGroup/AvatarGroup.d.ts +1 -1
- 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.d.ts +1 -1
- package/BottomNavigation/BottomNavigation.js +1 -2
- package/BottomNavigationAction/BottomNavigationAction.d.ts +29 -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/ButtonBase/TouchRipple.d.ts +1 -1
- package/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/CHANGELOG.md +169 -0
- package/Card/Card.d.ts +1 -1
- package/Card/Card.js +1 -2
- package/CardActionArea/CardActionArea.d.ts +29 -3
- package/CardActionArea/CardActionArea.js +49 -12
- package/CardActions/CardActions.d.ts +2 -1
- package/CardContent/CardContent.d.ts +1 -1
- package/CardContent/CardContent.js +1 -2
- package/CardHeader/CardHeader.d.ts +1 -1
- package/CardHeader/CardHeader.js +3 -6
- package/CardMedia/CardMedia.d.ts +1 -1
- package/Checkbox/Checkbox.d.ts +2 -1
- package/Checkbox/Checkbox.js +1 -1
- package/Chip/Chip.d.ts +28 -2
- package/Chip/Chip.js +66 -15
- package/CircularProgress/CircularProgress.d.ts +2 -1
- package/CircularProgress/CircularProgress.js +1 -2
- package/ClickAwayListener/ClickAwayListener.js +12 -8
- package/Collapse/Collapse.d.ts +2 -1
- package/Collapse/Collapse.js +2 -4
- package/Dialog/Dialog.d.ts +2 -1
- package/Dialog/Dialog.js +2 -6
- package/DialogActions/DialogActions.d.ts +2 -1
- package/DialogContent/DialogContent.d.ts +2 -1
- package/DialogContentText/DialogContentText.js +1 -2
- package/DialogTitle/DialogTitle.js +1 -2
- package/Divider/Divider.d.ts +1 -1
- package/Drawer/Drawer.d.ts +2 -1
- package/Fab/Fab.d.ts +1 -1
- package/FilledInput/FilledInput.d.ts +2 -1
- package/FilledInput/FilledInput.js +2 -2
- package/FormControlLabel/FormControlLabel.d.ts +2 -1
- package/FormControlLabel/FormControlLabel.js +1 -2
- package/FormGroup/FormGroup.d.ts +2 -1
- package/FormLabel/FormLabel.js +1 -2
- package/IconButton/IconButton.d.ts +1 -1
- package/IconButton/IconButton.js +1 -2
- package/ImageList/ImageList.d.ts +1 -1
- package/ImageListItem/ImageListItem.d.ts +1 -1
- package/ImageListItemBar/ImageListItemBar.d.ts +2 -1
- package/ImageListItemBar/ImageListItemBar.js +2 -4
- package/InitColorSchemeScript/InitColorSchemeScript.d.ts +59 -3
- package/InitColorSchemeScript/InitColorSchemeScript.js +79 -4
- package/Input/Input.d.ts +2 -1
- package/Input/Input.js +2 -2
- package/InputAdornment/InputAdornment.d.ts +1 -1
- package/InputBase/InputBase.d.ts +3 -3
- package/InputBase/InputBase.js +2 -2
- package/LinearProgress/LinearProgress.d.ts +2 -1
- package/List/List.d.ts +1 -1
- package/ListItem/ListItem.js +1 -2
- package/ListItemAvatar/ListItemAvatar.d.ts +2 -1
- package/ListItemIcon/ListItemIcon.d.ts +2 -1
- package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -1
- package/ListItemText/ListItemText.d.ts +2 -1
- package/ListSubheader/ListSubheader.d.ts +1 -1
- package/Menu/Menu.d.ts +3 -3
- package/Menu/Menu.js +3 -6
- package/MobileStepper/MobileStepper.d.ts +2 -1
- 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 +3 -2
- package/NativeSelect/NativeSelect.js +1 -1
- package/NativeSelect/NativeSelectInput.d.ts +1 -1
- package/NoSsr/NoSsr.js +4 -3
- package/OutlinedInput/NotchedOutline.d.ts +1 -1
- package/OutlinedInput/OutlinedInput.d.ts +18 -2
- package/OutlinedInput/OutlinedInput.js +33 -14
- package/Pagination/Pagination.d.ts +1 -1
- package/Pagination/Pagination.js +1 -2
- package/PaginationItem/PaginationItem.js +1 -2
- package/Popover/Popover.d.ts +4 -3
- 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.d.ts +2 -1
- package/Radio/Radio.js +1 -1
- package/Rating/Rating.d.ts +1 -1
- package/ScopedCssBaseline/ScopedCssBaseline.js +1 -2
- package/Select/Select.d.ts +3 -2
- package/Select/Select.js +3 -4
- package/Select/SelectInput.d.ts +11 -3
- package/Select/SelectInput.js +1 -2
- package/Skeleton/Skeleton.d.ts +1 -1
- 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.d.ts +1 -1
- package/Snackbar/Snackbar.js +4 -0
- package/Snackbar/useSnackbar.d.ts +0 -11
- package/Snackbar/useSnackbar.js +5 -15
- package/SnackbarContent/SnackbarContent.d.ts +1 -1
- package/SnackbarContent/SnackbarContent.js +5 -11
- package/SpeedDial/SpeedDial.d.ts +1 -1
- package/SpeedDial/SpeedDial.js +1 -2
- package/SpeedDialAction/SpeedDialAction.d.ts +1 -1
- package/SpeedDialAction/SpeedDialAction.js +1 -2
- package/SpeedDialIcon/SpeedDialIcon.d.ts +1 -1
- package/Stack/Stack.js +1 -2
- package/StepConnector/StepConnector.d.ts +1 -1
- package/StepContent/StepContent.d.ts +2 -1
- package/StepContent/StepContent.js +1 -2
- package/StepIcon/StepIcon.d.ts +2 -1
- package/StepIcon/StepIcon.js +2 -4
- package/StepLabel/StepLabel.d.ts +2 -2
- package/StepLabel/StepLabel.js +3 -6
- package/Switch/Switch.d.ts +2 -1
- package/Switch/Switch.js +3 -5
- package/Tab/Tab.d.ts +1 -1
- package/TabScrollButton/TabScrollButton.d.ts +2 -1
- package/Table/Table.d.ts +1 -1
- package/TableBody/TableBody.d.ts +1 -1
- package/TableBody/TableBody.js +1 -2
- package/TableCell/TableCell.d.ts +2 -1
- package/TableContainer/TableContainer.d.ts +1 -1
- package/TableContainer/TableContainer.js +1 -2
- package/TableFooter/TableFooter.d.ts +1 -1
- package/TableFooter/TableFooter.js +1 -2
- package/TableHead/TableHead.d.ts +1 -1
- package/TableHead/TableHead.js +1 -2
- package/TablePagination/TablePagination.d.ts +1 -1
- package/TablePagination/TablePagination.js +6 -11
- package/{TablePagination → TablePaginationActions}/TablePaginationActions.d.ts +11 -0
- package/{TablePagination → TablePaginationActions}/TablePaginationActions.js +60 -25
- package/TablePaginationActions/index.d.ts +4 -0
- package/TablePaginationActions/index.js +20 -0
- package/TablePaginationActions/tablePaginationActionsClasses.d.ts +8 -0
- package/TablePaginationActions/tablePaginationActionsClasses.js +15 -0
- package/TableRow/TableRow.d.ts +1 -1
- package/TableSortLabel/TableSortLabel.d.ts +1 -1
- package/Tabs/Tabs.js +1 -2
- package/TextField/TextField.d.ts +4 -4
- package/TextField/TextField.js +3 -4
- package/TextareaAutosize/TextareaAutosize.js +21 -8
- package/ToggleButton/ToggleButton.d.ts +1 -1
- package/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
- package/Toolbar/Toolbar.d.ts +1 -1
- package/Tooltip/Tooltip.d.ts +2 -1
- 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.d.ts +1 -1
- package/esm/Accordion/Accordion.js +1 -2
- package/esm/AccordionActions/AccordionActions.d.ts +2 -1
- package/esm/AccordionDetails/AccordionDetails.d.ts +2 -1
- package/esm/AccordionDetails/AccordionDetails.js +1 -2
- package/esm/AccordionSummary/AccordionSummary.d.ts +2 -1
- package/esm/AccordionSummary/AccordionSummary.js +3 -6
- package/esm/Alert/Alert.d.ts +4 -1
- package/esm/Alert/Alert.js +3 -6
- package/esm/AlertTitle/AlertTitle.d.ts +2 -1
- package/esm/AlertTitle/AlertTitle.js +1 -2
- package/esm/AppBar/AppBar.d.ts +1 -1
- package/esm/Autocomplete/Autocomplete.d.ts +10 -1
- package/esm/Autocomplete/Autocomplete.js +39 -34
- package/esm/Avatar/Avatar.d.ts +33 -6
- package/esm/Avatar/Avatar.js +35 -16
- package/esm/AvatarGroup/AvatarGroup.d.ts +1 -1
- 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.d.ts +1 -1
- package/esm/BottomNavigation/BottomNavigation.js +1 -2
- package/esm/BottomNavigationAction/BottomNavigationAction.d.ts +29 -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/ButtonBase/TouchRipple.d.ts +1 -1
- package/esm/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/esm/Card/Card.d.ts +1 -1
- package/esm/Card/Card.js +1 -2
- package/esm/CardActionArea/CardActionArea.d.ts +29 -3
- package/esm/CardActionArea/CardActionArea.js +49 -12
- package/esm/CardActions/CardActions.d.ts +2 -1
- package/esm/CardContent/CardContent.d.ts +1 -1
- package/esm/CardContent/CardContent.js +1 -2
- package/esm/CardHeader/CardHeader.d.ts +1 -1
- package/esm/CardHeader/CardHeader.js +3 -6
- package/esm/CardMedia/CardMedia.d.ts +1 -1
- package/esm/Checkbox/Checkbox.d.ts +2 -1
- package/esm/Checkbox/Checkbox.js +1 -1
- package/esm/Chip/Chip.d.ts +28 -2
- package/esm/Chip/Chip.js +66 -15
- package/esm/CircularProgress/CircularProgress.d.ts +2 -1
- package/esm/CircularProgress/CircularProgress.js +1 -2
- package/esm/ClickAwayListener/ClickAwayListener.js +5 -1
- package/esm/Collapse/Collapse.d.ts +2 -1
- package/esm/Collapse/Collapse.js +2 -4
- package/esm/Dialog/Dialog.d.ts +2 -1
- package/esm/Dialog/Dialog.js +2 -6
- package/esm/DialogActions/DialogActions.d.ts +2 -1
- package/esm/DialogContent/DialogContent.d.ts +2 -1
- package/esm/DialogContentText/DialogContentText.js +1 -2
- package/esm/DialogTitle/DialogTitle.js +1 -2
- package/esm/Divider/Divider.d.ts +1 -1
- package/esm/Drawer/Drawer.d.ts +2 -1
- package/esm/Fab/Fab.d.ts +1 -1
- package/esm/FilledInput/FilledInput.d.ts +2 -1
- package/esm/FilledInput/FilledInput.js +2 -2
- package/esm/FormControlLabel/FormControlLabel.d.ts +2 -1
- package/esm/FormControlLabel/FormControlLabel.js +1 -2
- package/esm/FormGroup/FormGroup.d.ts +2 -1
- package/esm/FormLabel/FormLabel.js +1 -2
- package/esm/IconButton/IconButton.d.ts +1 -1
- package/esm/IconButton/IconButton.js +1 -2
- package/esm/ImageList/ImageList.d.ts +1 -1
- package/esm/ImageListItem/ImageListItem.d.ts +1 -1
- package/esm/ImageListItemBar/ImageListItemBar.d.ts +2 -1
- 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.d.ts +2 -1
- package/esm/Input/Input.js +2 -2
- package/esm/InputAdornment/InputAdornment.d.ts +1 -1
- package/esm/InputBase/InputBase.d.ts +3 -3
- package/esm/InputBase/InputBase.js +2 -2
- package/esm/LinearProgress/LinearProgress.d.ts +2 -1
- package/esm/List/List.d.ts +1 -1
- package/esm/ListItem/ListItem.js +1 -2
- package/esm/ListItemAvatar/ListItemAvatar.d.ts +2 -1
- package/esm/ListItemIcon/ListItemIcon.d.ts +2 -1
- package/esm/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -1
- package/esm/ListItemText/ListItemText.d.ts +2 -1
- package/esm/ListSubheader/ListSubheader.d.ts +1 -1
- package/esm/Menu/Menu.d.ts +3 -3
- package/esm/Menu/Menu.js +3 -6
- package/esm/MobileStepper/MobileStepper.d.ts +2 -1
- 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 +3 -2
- package/esm/NativeSelect/NativeSelect.js +1 -1
- package/esm/NativeSelect/NativeSelectInput.d.ts +1 -1
- package/esm/NoSsr/NoSsr.js +2 -1
- package/esm/OutlinedInput/NotchedOutline.d.ts +1 -1
- package/esm/OutlinedInput/OutlinedInput.d.ts +18 -2
- package/esm/OutlinedInput/OutlinedInput.js +33 -14
- package/esm/Pagination/Pagination.d.ts +1 -1
- package/esm/Pagination/Pagination.js +1 -2
- package/esm/PaginationItem/PaginationItem.js +1 -2
- package/esm/Popover/Popover.d.ts +4 -3
- 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.d.ts +2 -1
- package/esm/Radio/Radio.js +1 -1
- package/esm/Rating/Rating.d.ts +1 -1
- package/esm/ScopedCssBaseline/ScopedCssBaseline.js +1 -2
- package/esm/Select/Select.d.ts +3 -2
- package/esm/Select/Select.js +3 -4
- package/esm/Select/SelectInput.d.ts +11 -3
- package/esm/Select/SelectInput.js +1 -2
- package/esm/Skeleton/Skeleton.d.ts +1 -1
- 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.d.ts +1 -1
- 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.d.ts +1 -1
- package/esm/SnackbarContent/SnackbarContent.js +5 -11
- package/esm/SpeedDial/SpeedDial.d.ts +1 -1
- package/esm/SpeedDial/SpeedDial.js +1 -2
- package/esm/SpeedDialAction/SpeedDialAction.d.ts +1 -1
- package/esm/SpeedDialAction/SpeedDialAction.js +1 -2
- package/esm/SpeedDialIcon/SpeedDialIcon.d.ts +1 -1
- package/esm/Stack/Stack.js +1 -2
- package/esm/StepConnector/StepConnector.d.ts +1 -1
- package/esm/StepContent/StepContent.d.ts +2 -1
- package/esm/StepContent/StepContent.js +1 -2
- package/esm/StepIcon/StepIcon.d.ts +2 -1
- package/esm/StepIcon/StepIcon.js +2 -4
- package/esm/StepLabel/StepLabel.d.ts +2 -2
- package/esm/StepLabel/StepLabel.js +3 -6
- package/esm/Switch/Switch.d.ts +2 -1
- package/esm/Switch/Switch.js +3 -5
- package/esm/Tab/Tab.d.ts +1 -1
- package/esm/TabScrollButton/TabScrollButton.d.ts +2 -1
- package/esm/Table/Table.d.ts +1 -1
- package/esm/TableBody/TableBody.d.ts +1 -1
- package/esm/TableBody/TableBody.js +1 -2
- package/esm/TableCell/TableCell.d.ts +2 -1
- package/esm/TableContainer/TableContainer.d.ts +1 -1
- package/esm/TableContainer/TableContainer.js +1 -2
- package/esm/TableFooter/TableFooter.d.ts +1 -1
- package/esm/TableFooter/TableFooter.js +1 -2
- package/esm/TableHead/TableHead.d.ts +1 -1
- package/esm/TableHead/TableHead.js +1 -2
- package/esm/TablePagination/TablePagination.d.ts +1 -1
- package/esm/TablePagination/TablePagination.js +6 -11
- package/esm/{TablePagination → TablePaginationActions}/TablePaginationActions.d.ts +11 -0
- package/esm/{TablePagination → TablePaginationActions}/TablePaginationActions.js +60 -27
- package/esm/TablePaginationActions/index.d.ts +4 -0
- package/esm/TablePaginationActions/index.js +2 -0
- package/esm/TablePaginationActions/tablePaginationActionsClasses.d.ts +8 -0
- package/esm/TablePaginationActions/tablePaginationActionsClasses.js +7 -0
- package/esm/TableRow/TableRow.d.ts +1 -1
- package/esm/TableSortLabel/TableSortLabel.d.ts +1 -1
- package/esm/Tabs/Tabs.js +1 -2
- package/esm/TextField/TextField.d.ts +4 -4
- package/esm/TextField/TextField.js +3 -4
- package/esm/TextareaAutosize/TextareaAutosize.js +14 -1
- package/esm/ToggleButton/ToggleButton.d.ts +1 -1
- package/esm/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
- package/esm/Toolbar/Toolbar.d.ts +1 -1
- package/esm/Tooltip/Tooltip.d.ts +2 -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 +6 -45
- package/esm/index.js +6 -3
- package/esm/internal/SwitchBase.d.ts +2 -2
- package/esm/internal/SwitchBase.js +1 -1
- package/esm/internal/index.d.ts +17 -0
- package/esm/internal/index.js +1 -0
- package/esm/styles/ThemeProvider.js +17 -17
- package/esm/styles/components.d.ts +5 -0
- package/esm/styles/createThemeNoVars.d.ts +1 -1
- package/esm/styles/index.d.ts +19 -0
- package/esm/styles/overrides.d.ts +2 -0
- package/esm/styles/props.d.ts +2 -0
- package/esm/useAutocomplete/useAutocomplete.d.ts +0 -10
- package/esm/useAutocomplete/useAutocomplete.js +5 -2
- 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 +6 -45
- package/index.js +32 -5
- package/internal/SwitchBase.d.ts +2 -2
- package/internal/SwitchBase.js +1 -1
- package/internal/index.d.ts +17 -0
- package/internal/index.js +5 -0
- package/package.json +8 -8
- package/styles/ThemeProvider.js +17 -17
- package/styles/components.d.ts +5 -0
- package/styles/createThemeNoVars.d.ts +1 -1
- package/styles/index.d.ts +19 -0
- package/styles/overrides.d.ts +2 -0
- package/styles/props.d.ts +2 -0
- package/useAutocomplete/useAutocomplete.d.ts +0 -10
- package/useAutocomplete/useAutocomplete.js +16 -12
- 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
package/Slider/Slider.js
CHANGED
|
@@ -133,8 +133,7 @@ const SliderRoot = exports.SliderRoot = (0, _zeroStyled.styled)('span', {
|
|
|
133
133
|
})));
|
|
134
134
|
const SliderRail = exports.SliderRail = (0, _zeroStyled.styled)('span', {
|
|
135
135
|
name: 'MuiSlider',
|
|
136
|
-
slot: 'Rail'
|
|
137
|
-
overridesResolver: (props, styles) => styles.rail
|
|
136
|
+
slot: 'Rail'
|
|
138
137
|
})({
|
|
139
138
|
display: 'block',
|
|
140
139
|
position: 'absolute',
|
|
@@ -172,8 +171,7 @@ const SliderRail = exports.SliderRail = (0, _zeroStyled.styled)('span', {
|
|
|
172
171
|
});
|
|
173
172
|
const SliderTrack = exports.SliderTrack = (0, _zeroStyled.styled)('span', {
|
|
174
173
|
name: 'MuiSlider',
|
|
175
|
-
slot: 'Track'
|
|
176
|
-
overridesResolver: (props, styles) => styles.track
|
|
174
|
+
slot: 'Track'
|
|
177
175
|
})((0, _memoTheme.default)(({
|
|
178
176
|
theme
|
|
179
177
|
}) => {
|
|
@@ -344,8 +342,7 @@ const SliderThumb = exports.SliderThumb = (0, _zeroStyled.styled)('span', {
|
|
|
344
342
|
})));
|
|
345
343
|
const SliderValueLabel = exports.SliderValueLabel = (0, _zeroStyled.styled)(_SliderValueLabel.default, {
|
|
346
344
|
name: 'MuiSlider',
|
|
347
|
-
slot: 'ValueLabel'
|
|
348
|
-
overridesResolver: (props, styles) => styles.valueLabel
|
|
345
|
+
slot: 'ValueLabel'
|
|
349
346
|
})((0, _memoTheme.default)(({
|
|
350
347
|
theme
|
|
351
348
|
}) => ({
|
|
@@ -496,8 +493,7 @@ const SliderMark = exports.SliderMark = (0, _zeroStyled.styled)('span', {
|
|
|
496
493
|
const SliderMarkLabel = exports.SliderMarkLabel = (0, _zeroStyled.styled)('span', {
|
|
497
494
|
name: 'MuiSlider',
|
|
498
495
|
slot: 'MarkLabel',
|
|
499
|
-
shouldForwardProp: prop => (0, _slotShouldForwardProp.default)(prop) && prop !== 'markLabelActive'
|
|
500
|
-
overridesResolver: (props, styles) => styles.markLabel
|
|
496
|
+
shouldForwardProp: prop => (0, _slotShouldForwardProp.default)(prop) && prop !== 'markLabelActive'
|
|
501
497
|
})((0, _memoTheme.default)(({
|
|
502
498
|
theme
|
|
503
499
|
}) => ({
|
|
@@ -38,7 +38,7 @@ function SliderValueLabel(props) {
|
|
|
38
38
|
return null;
|
|
39
39
|
}
|
|
40
40
|
return /*#__PURE__*/React.cloneElement(children, {
|
|
41
|
-
className:
|
|
41
|
+
className: children.props.className
|
|
42
42
|
}, /*#__PURE__*/(0, _jsxRuntime.jsxs)(React.Fragment, {
|
|
43
43
|
children: [children.props.children, /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
44
44
|
className: (0, _clsx.default)(classes.offset, className),
|
package/Slider/useSlider.d.ts
CHANGED
|
@@ -1,14 +1,4 @@
|
|
|
1
1
|
import { UseSliderParameters, UseSliderReturnValue } from "./useSlider.types.js";
|
|
2
2
|
export declare function valueToPercent(value: number, min: number, max: number): number;
|
|
3
3
|
export declare const Identity: (x: any) => any;
|
|
4
|
-
/**
|
|
5
|
-
*
|
|
6
|
-
* Demos:
|
|
7
|
-
*
|
|
8
|
-
* - [Slider](https://mui.com/base-ui/react-slider/#hook)
|
|
9
|
-
*
|
|
10
|
-
* API:
|
|
11
|
-
*
|
|
12
|
-
* - [useSlider API](https://mui.com/base-ui/react-slider/hooks-api/#use-slider)
|
|
13
|
-
*/
|
|
14
4
|
export declare function useSlider(parameters: UseSliderParameters): UseSliderReturnValue;
|
package/Slider/useSlider.js
CHANGED
|
@@ -10,7 +10,14 @@ exports.Identity = void 0;
|
|
|
10
10
|
exports.useSlider = useSlider;
|
|
11
11
|
exports.valueToPercent = valueToPercent;
|
|
12
12
|
var React = _interopRequireWildcard(require("react"));
|
|
13
|
-
var
|
|
13
|
+
var _ownerDocument = _interopRequireDefault(require("@mui/utils/ownerDocument"));
|
|
14
|
+
var _useControlled = _interopRequireDefault(require("@mui/utils/useControlled"));
|
|
15
|
+
var _useEnhancedEffect = _interopRequireDefault(require("@mui/utils/useEnhancedEffect"));
|
|
16
|
+
var _useEventCallback = _interopRequireDefault(require("@mui/utils/useEventCallback"));
|
|
17
|
+
var _useForkRef = _interopRequireDefault(require("@mui/utils/useForkRef"));
|
|
18
|
+
var _isFocusVisible = _interopRequireDefault(require("@mui/utils/isFocusVisible"));
|
|
19
|
+
var _visuallyHidden = _interopRequireDefault(require("@mui/utils/visuallyHidden"));
|
|
20
|
+
var _clamp = _interopRequireDefault(require("@mui/utils/clamp"));
|
|
14
21
|
var _extractEventHandlers = _interopRequireDefault(require("@mui/utils/extractEventHandlers"));
|
|
15
22
|
var _areArraysEqual = _interopRequireDefault(require("../utils/areArraysEqual"));
|
|
16
23
|
const INTENTIONAL_DRAG_COUNT_THRESHOLD = 2;
|
|
@@ -92,7 +99,7 @@ function focusThumb({
|
|
|
92
99
|
activeIndex,
|
|
93
100
|
setActive
|
|
94
101
|
}) {
|
|
95
|
-
const doc = (0,
|
|
102
|
+
const doc = (0, _ownerDocument.default)(sliderRef.current);
|
|
96
103
|
if (!sliderRef.current?.contains(doc.activeElement) || Number(doc?.activeElement?.getAttribute('data-index')) !== activeIndex) {
|
|
97
104
|
sliderRef.current?.querySelector(`[type="range"][data-index="${activeIndex}"]`).focus();
|
|
98
105
|
}
|
|
@@ -159,16 +166,6 @@ function doesSupportTouchActionNone() {
|
|
|
159
166
|
}
|
|
160
167
|
return cachedSupportsTouchActionNone;
|
|
161
168
|
}
|
|
162
|
-
/**
|
|
163
|
-
*
|
|
164
|
-
* Demos:
|
|
165
|
-
*
|
|
166
|
-
* - [Slider](https://mui.com/base-ui/react-slider/#hook)
|
|
167
|
-
*
|
|
168
|
-
* API:
|
|
169
|
-
*
|
|
170
|
-
* - [useSlider API](https://mui.com/base-ui/react-slider/hooks-api/#use-slider)
|
|
171
|
-
*/
|
|
172
169
|
function useSlider(parameters) {
|
|
173
170
|
const {
|
|
174
171
|
'aria-labelledby': ariaLabelledby,
|
|
@@ -200,7 +197,7 @@ function useSlider(parameters) {
|
|
|
200
197
|
const moveCount = React.useRef(0);
|
|
201
198
|
// lastChangedValue is updated whenever onChange is triggered.
|
|
202
199
|
const lastChangedValue = React.useRef(null);
|
|
203
|
-
const [valueDerived, setValueState] = (0,
|
|
200
|
+
const [valueDerived, setValueState] = (0, _useControlled.default)({
|
|
204
201
|
controlled: valueProp,
|
|
205
202
|
default: defaultValue ?? min,
|
|
206
203
|
name: 'Slider'
|
|
@@ -225,24 +222,24 @@ function useSlider(parameters) {
|
|
|
225
222
|
});
|
|
226
223
|
const range = Array.isArray(valueDerived);
|
|
227
224
|
let values = range ? valueDerived.slice().sort(asc) : [valueDerived];
|
|
228
|
-
values = values.map(value => value == null ? min : (0,
|
|
225
|
+
values = values.map(value => value == null ? min : (0, _clamp.default)(value, min, max));
|
|
229
226
|
const marks = marksProp === true && step !== null ? [...Array(Math.floor((max - min) / step) + 1)].map((_, index) => ({
|
|
230
227
|
value: min + step * index
|
|
231
228
|
})) : marksProp || [];
|
|
232
229
|
const marksValues = marks.map(mark => mark.value);
|
|
233
230
|
const [focusedThumbIndex, setFocusedThumbIndex] = React.useState(-1);
|
|
234
231
|
const sliderRef = React.useRef(null);
|
|
235
|
-
const handleRef = (0,
|
|
232
|
+
const handleRef = (0, _useForkRef.default)(ref, sliderRef);
|
|
236
233
|
const createHandleHiddenInputFocus = otherHandlers => event => {
|
|
237
234
|
const index = Number(event.currentTarget.getAttribute('data-index'));
|
|
238
|
-
if ((0,
|
|
235
|
+
if ((0, _isFocusVisible.default)(event.target)) {
|
|
239
236
|
setFocusedThumbIndex(index);
|
|
240
237
|
}
|
|
241
238
|
setOpen(index);
|
|
242
239
|
otherHandlers?.onFocus?.(event);
|
|
243
240
|
};
|
|
244
241
|
const createHandleHiddenInputBlur = otherHandlers => event => {
|
|
245
|
-
if (!(0,
|
|
242
|
+
if (!(0, _isFocusVisible.default)(event.target)) {
|
|
246
243
|
setFocusedThumbIndex(-1);
|
|
247
244
|
}
|
|
248
245
|
setOpen(-1);
|
|
@@ -263,11 +260,11 @@ function useSlider(parameters) {
|
|
|
263
260
|
newValue = newValue < value ? marksValues[marksIndex - 1] : marksValues[marksIndex + 1];
|
|
264
261
|
}
|
|
265
262
|
}
|
|
266
|
-
newValue = (0,
|
|
263
|
+
newValue = (0, _clamp.default)(newValue, min, max);
|
|
267
264
|
if (range) {
|
|
268
265
|
// Bound the new value to the thumb's neighbours.
|
|
269
266
|
if (disableSwap) {
|
|
270
|
-
newValue = (0,
|
|
267
|
+
newValue = (0, _clamp.default)(newValue, values[index - 1] || -Infinity, values[index + 1] || Infinity);
|
|
271
268
|
}
|
|
272
269
|
const previousValue = newValue;
|
|
273
270
|
newValue = setValueIndex({
|
|
@@ -359,7 +356,7 @@ function useSlider(parameters) {
|
|
|
359
356
|
}
|
|
360
357
|
otherHandlers?.onKeyDown?.(event);
|
|
361
358
|
};
|
|
362
|
-
(0,
|
|
359
|
+
(0, _useEnhancedEffect.default)(() => {
|
|
363
360
|
if (disabled && sliderRef.current.contains(document.activeElement)) {
|
|
364
361
|
// This is necessary because Firefox and Safari will keep focus
|
|
365
362
|
// on a disabled element:
|
|
@@ -415,7 +412,7 @@ function useSlider(parameters) {
|
|
|
415
412
|
const closestIndex = findClosest(marksValues, newValue);
|
|
416
413
|
newValue = marksValues[closestIndex];
|
|
417
414
|
}
|
|
418
|
-
newValue = (0,
|
|
415
|
+
newValue = (0, _clamp.default)(newValue, min, max);
|
|
419
416
|
let activeIndex = 0;
|
|
420
417
|
if (range) {
|
|
421
418
|
if (!move) {
|
|
@@ -426,7 +423,7 @@ function useSlider(parameters) {
|
|
|
426
423
|
|
|
427
424
|
// Bound the new value to the thumb's neighbours.
|
|
428
425
|
if (disableSwap) {
|
|
429
|
-
newValue = (0,
|
|
426
|
+
newValue = (0, _clamp.default)(newValue, values[activeIndex - 1] || -Infinity, values[activeIndex + 1] || Infinity);
|
|
430
427
|
}
|
|
431
428
|
const previousValue = newValue;
|
|
432
429
|
newValue = setValueIndex({
|
|
@@ -446,7 +443,7 @@ function useSlider(parameters) {
|
|
|
446
443
|
activeIndex
|
|
447
444
|
};
|
|
448
445
|
};
|
|
449
|
-
const handleTouchMove = (0,
|
|
446
|
+
const handleTouchMove = (0, _useEventCallback.default)(nativeEvent => {
|
|
450
447
|
const finger = trackFinger(nativeEvent, touchId);
|
|
451
448
|
if (!finger) {
|
|
452
449
|
return;
|
|
@@ -480,7 +477,7 @@ function useSlider(parameters) {
|
|
|
480
477
|
handleChange(nativeEvent, newValue, activeIndex);
|
|
481
478
|
}
|
|
482
479
|
});
|
|
483
|
-
const handleTouchEnd = (0,
|
|
480
|
+
const handleTouchEnd = (0, _useEventCallback.default)(nativeEvent => {
|
|
484
481
|
const finger = trackFinger(nativeEvent, touchId);
|
|
485
482
|
setDragging(false);
|
|
486
483
|
if (!finger) {
|
|
@@ -504,7 +501,7 @@ function useSlider(parameters) {
|
|
|
504
501
|
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
|
505
502
|
stopListening();
|
|
506
503
|
});
|
|
507
|
-
const handleTouchStart = (0,
|
|
504
|
+
const handleTouchStart = (0, _useEventCallback.default)(nativeEvent => {
|
|
508
505
|
if (disabled) {
|
|
509
506
|
return;
|
|
510
507
|
}
|
|
@@ -536,7 +533,7 @@ function useSlider(parameters) {
|
|
|
536
533
|
}
|
|
537
534
|
}
|
|
538
535
|
moveCount.current = 0;
|
|
539
|
-
const doc = (0,
|
|
536
|
+
const doc = (0, _ownerDocument.default)(sliderRef.current);
|
|
540
537
|
doc.addEventListener('touchmove', handleTouchMove, {
|
|
541
538
|
passive: true
|
|
542
539
|
});
|
|
@@ -545,7 +542,7 @@ function useSlider(parameters) {
|
|
|
545
542
|
});
|
|
546
543
|
});
|
|
547
544
|
const stopListening = React.useCallback(() => {
|
|
548
|
-
const doc = (0,
|
|
545
|
+
const doc = (0, _ownerDocument.default)(sliderRef.current);
|
|
549
546
|
doc.removeEventListener('mousemove', handleTouchMove);
|
|
550
547
|
doc.removeEventListener('mouseup', handleTouchEnd);
|
|
551
548
|
doc.removeEventListener('touchmove', handleTouchMove);
|
|
@@ -603,7 +600,7 @@ function useSlider(parameters) {
|
|
|
603
600
|
}
|
|
604
601
|
}
|
|
605
602
|
moveCount.current = 0;
|
|
606
|
-
const doc = (0,
|
|
603
|
+
const doc = (0, _ownerDocument.default)(sliderRef.current);
|
|
607
604
|
doc.addEventListener('mousemove', handleTouchMove, {
|
|
608
605
|
passive: true
|
|
609
606
|
});
|
|
@@ -684,7 +681,7 @@ function useSlider(parameters) {
|
|
|
684
681
|
...externalProps,
|
|
685
682
|
...mergedEventHandlers,
|
|
686
683
|
style: {
|
|
687
|
-
...
|
|
684
|
+
..._visuallyHidden.default,
|
|
688
685
|
direction: isRtl ? 'rtl' : 'ltr',
|
|
689
686
|
// So that VoiceOver's focus indicator matches the thumb's dimensions
|
|
690
687
|
width: '100%',
|
package/Snackbar/Snackbar.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
3
|
import ClickAwayListener, { ClickAwayListenerProps } from "../ClickAwayListener/index.js";
|
|
4
4
|
import { Theme } from "../styles/index.js";
|
|
5
|
-
import { InternalStandardProps as StandardProps } from "../index.js";
|
|
5
|
+
import { InternalStandardProps as StandardProps } from "../internal/index.js";
|
|
6
6
|
import { SnackbarContentProps } from "../SnackbarContent/index.js";
|
|
7
7
|
import { TransitionProps } from "../transitions/transition.js";
|
|
8
8
|
import { SnackbarClasses } from "./snackbarClasses.js";
|
package/Snackbar/Snackbar.js
CHANGED
|
@@ -211,7 +211,11 @@ const Snackbar = /*#__PURE__*/React.forwardRef(function Snackbar(inProps, ref) {
|
|
|
211
211
|
externalForwardedProps,
|
|
212
212
|
getSlotProps: handlers => ({
|
|
213
213
|
onClickAway: (...params) => {
|
|
214
|
+
const event = params[0];
|
|
214
215
|
handlers.onClickAway?.(...params);
|
|
216
|
+
if (event?.defaultMuiPrevented) {
|
|
217
|
+
return;
|
|
218
|
+
}
|
|
215
219
|
onClickAway(...params);
|
|
216
220
|
}
|
|
217
221
|
}),
|
|
@@ -1,14 +1,3 @@
|
|
|
1
1
|
import { UseSnackbarParameters, UseSnackbarReturnValue } from "./useSnackbar.types.js";
|
|
2
|
-
/**
|
|
3
|
-
* The basic building block for creating custom snackbar.
|
|
4
|
-
*
|
|
5
|
-
* Demos:
|
|
6
|
-
*
|
|
7
|
-
* - [Snackbar](https://mui.com/base-ui/react-snackbar/#hook)
|
|
8
|
-
*
|
|
9
|
-
* API:
|
|
10
|
-
*
|
|
11
|
-
* - [useSnackbar API](https://mui.com/base-ui/react-snackbar/hooks-api/#use-snackbar)
|
|
12
|
-
*/
|
|
13
2
|
declare function useSnackbar(parameters?: UseSnackbarParameters): UseSnackbarReturnValue;
|
|
14
3
|
export default useSnackbar;
|
package/Snackbar/useSnackbar.js
CHANGED
|
@@ -8,19 +8,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
});
|
|
9
9
|
exports.default = void 0;
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
|
-
var
|
|
11
|
+
var _useEventCallback = _interopRequireDefault(require("@mui/utils/useEventCallback"));
|
|
12
|
+
var _useTimeout = _interopRequireDefault(require("@mui/utils/useTimeout"));
|
|
12
13
|
var _extractEventHandlers = _interopRequireDefault(require("@mui/utils/extractEventHandlers"));
|
|
13
|
-
/**
|
|
14
|
-
* The basic building block for creating custom snackbar.
|
|
15
|
-
*
|
|
16
|
-
* Demos:
|
|
17
|
-
*
|
|
18
|
-
* - [Snackbar](https://mui.com/base-ui/react-snackbar/#hook)
|
|
19
|
-
*
|
|
20
|
-
* API:
|
|
21
|
-
*
|
|
22
|
-
* - [useSnackbar API](https://mui.com/base-ui/react-snackbar/hooks-api/#use-snackbar)
|
|
23
|
-
*/
|
|
24
14
|
function useSnackbar(parameters = {}) {
|
|
25
15
|
const {
|
|
26
16
|
autoHideDuration = null,
|
|
@@ -29,7 +19,7 @@ function useSnackbar(parameters = {}) {
|
|
|
29
19
|
open,
|
|
30
20
|
resumeHideDuration
|
|
31
21
|
} = parameters;
|
|
32
|
-
const timerAutoHide = (0,
|
|
22
|
+
const timerAutoHide = (0, _useTimeout.default)();
|
|
33
23
|
React.useEffect(() => {
|
|
34
24
|
if (!open) {
|
|
35
25
|
return undefined;
|
|
@@ -51,10 +41,10 @@ function useSnackbar(parameters = {}) {
|
|
|
51
41
|
document.removeEventListener('keydown', handleKeyDown);
|
|
52
42
|
};
|
|
53
43
|
}, [open, onClose]);
|
|
54
|
-
const handleClose = (0,
|
|
44
|
+
const handleClose = (0, _useEventCallback.default)((event, reason) => {
|
|
55
45
|
onClose?.(event, reason);
|
|
56
46
|
});
|
|
57
|
-
const setAutoHideTimer = (0,
|
|
47
|
+
const setAutoHideTimer = (0, _useEventCallback.default)(autoHideDurationParam => {
|
|
58
48
|
if (!onClose || autoHideDurationParam == null) {
|
|
59
49
|
return;
|
|
60
50
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
3
|
import { Theme } from "../styles/index.js";
|
|
4
|
-
import { InternalStandardProps as StandardProps } from "../index.js";
|
|
4
|
+
import { InternalStandardProps as StandardProps } from "../internal/index.js";
|
|
5
5
|
import { PaperProps } from "../Paper/index.js";
|
|
6
6
|
import { SnackbarContentClasses } from "./snackbarContentClasses.js";
|
|
7
7
|
export interface SnackbarContentProps extends StandardProps<PaperProps, 'children'> {
|
|
@@ -31,22 +31,19 @@ const useUtilityClasses = ownerState => {
|
|
|
31
31
|
};
|
|
32
32
|
const SnackbarContentRoot = (0, _zeroStyled.styled)(_Paper.default, {
|
|
33
33
|
name: 'MuiSnackbarContent',
|
|
34
|
-
slot: 'Root'
|
|
35
|
-
overridesResolver: (props, styles) => styles.root
|
|
34
|
+
slot: 'Root'
|
|
36
35
|
})((0, _memoTheme.default)(({
|
|
37
36
|
theme
|
|
38
37
|
}) => {
|
|
39
38
|
const emphasis = theme.palette.mode === 'light' ? 0.8 : 0.98;
|
|
40
|
-
const backgroundColor = (0, _colorManipulator.emphasize)(theme.palette.background.default, emphasis);
|
|
41
39
|
return {
|
|
42
40
|
...theme.typography.body2,
|
|
43
|
-
color: theme.vars ? theme.vars.palette.SnackbarContent.color : theme.palette.getContrastText(
|
|
44
|
-
backgroundColor: theme.vars ? theme.vars.palette.SnackbarContent.bg :
|
|
41
|
+
color: theme.vars ? theme.vars.palette.SnackbarContent.color : theme.palette.getContrastText((0, _colorManipulator.emphasize)(theme.palette.background.default, emphasis)),
|
|
42
|
+
backgroundColor: theme.vars ? theme.vars.palette.SnackbarContent.bg : (0, _colorManipulator.emphasize)(theme.palette.background.default, emphasis),
|
|
45
43
|
display: 'flex',
|
|
46
44
|
alignItems: 'center',
|
|
47
45
|
flexWrap: 'wrap',
|
|
48
46
|
padding: '6px 16px',
|
|
49
|
-
borderRadius: (theme.vars || theme).shape.borderRadius,
|
|
50
47
|
flexGrow: 1,
|
|
51
48
|
[theme.breakpoints.up('sm')]: {
|
|
52
49
|
flexGrow: 'initial',
|
|
@@ -56,15 +53,13 @@ const SnackbarContentRoot = (0, _zeroStyled.styled)(_Paper.default, {
|
|
|
56
53
|
}));
|
|
57
54
|
const SnackbarContentMessage = (0, _zeroStyled.styled)('div', {
|
|
58
55
|
name: 'MuiSnackbarContent',
|
|
59
|
-
slot: 'Message'
|
|
60
|
-
overridesResolver: (props, styles) => styles.message
|
|
56
|
+
slot: 'Message'
|
|
61
57
|
})({
|
|
62
58
|
padding: '8px 0'
|
|
63
59
|
});
|
|
64
60
|
const SnackbarContentAction = (0, _zeroStyled.styled)('div', {
|
|
65
61
|
name: 'MuiSnackbarContent',
|
|
66
|
-
slot: 'Action'
|
|
67
|
-
overridesResolver: (props, styles) => styles.action
|
|
62
|
+
slot: 'Action'
|
|
68
63
|
})({
|
|
69
64
|
display: 'flex',
|
|
70
65
|
alignItems: 'center',
|
|
@@ -88,7 +83,6 @@ const SnackbarContent = /*#__PURE__*/React.forwardRef(function SnackbarContent(i
|
|
|
88
83
|
const classes = useUtilityClasses(ownerState);
|
|
89
84
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(SnackbarContentRoot, {
|
|
90
85
|
role: role,
|
|
91
|
-
square: true,
|
|
92
86
|
elevation: 6,
|
|
93
87
|
className: (0, _clsx.default)(classes.root, className),
|
|
94
88
|
ownerState: ownerState,
|
package/SpeedDial/SpeedDial.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
3
|
import { Theme } from "../styles/index.js";
|
|
4
|
-
import { InternalStandardProps as StandardProps } from "../index.js";
|
|
4
|
+
import { InternalStandardProps as StandardProps } from "../internal/index.js";
|
|
5
5
|
import { FabProps } from "../Fab/index.js";
|
|
6
6
|
import { TransitionProps } from "../transitions/index.js";
|
|
7
7
|
import { SpeedDialClasses } from "./speedDialClasses.js";
|
package/SpeedDial/SpeedDial.js
CHANGED
|
@@ -118,8 +118,7 @@ const SpeedDialRoot = (0, _zeroStyled.styled)('div', {
|
|
|
118
118
|
})));
|
|
119
119
|
const SpeedDialFab = (0, _zeroStyled.styled)(_Fab.default, {
|
|
120
120
|
name: 'MuiSpeedDial',
|
|
121
|
-
slot: 'Fab'
|
|
122
|
-
overridesResolver: (props, styles) => styles.fab
|
|
121
|
+
slot: 'Fab'
|
|
123
122
|
})({
|
|
124
123
|
pointerEvents: 'auto'
|
|
125
124
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
3
|
import { Theme } from "../styles/index.js";
|
|
4
|
-
import { InternalStandardProps as StandardProps } from "../index.js";
|
|
4
|
+
import { InternalStandardProps as StandardProps } from "../internal/index.js";
|
|
5
5
|
import { FabProps } from "../Fab/index.js";
|
|
6
6
|
import { TooltipProps } from "../Tooltip/index.js";
|
|
7
7
|
import { SpeedDialActionClasses } from "./speedDialActionClasses.js";
|
|
@@ -126,8 +126,7 @@ const SpeedDialActionStaticTooltip = (0, _zeroStyled.styled)('span', {
|
|
|
126
126
|
})));
|
|
127
127
|
const SpeedDialActionStaticTooltipLabel = (0, _zeroStyled.styled)('span', {
|
|
128
128
|
name: 'MuiSpeedDialAction',
|
|
129
|
-
slot: 'StaticTooltipLabel'
|
|
130
|
-
overridesResolver: (props, styles) => styles.staticTooltipLabel
|
|
129
|
+
slot: 'StaticTooltipLabel'
|
|
131
130
|
})((0, _memoTheme.default)(({
|
|
132
131
|
theme
|
|
133
132
|
}) => ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
3
|
import { Theme } from "../styles/index.js";
|
|
4
|
-
import { InternalStandardProps as StandardProps } from "../index.js";
|
|
4
|
+
import { InternalStandardProps as StandardProps } from "../internal/index.js";
|
|
5
5
|
import { SpeedDialIconClasses } from "./speedDialIconClasses.js";
|
|
6
6
|
export interface SpeedDialIconProps extends StandardProps<React.HTMLAttributes<HTMLSpanElement>, 'children'> {
|
|
7
7
|
/**
|
package/Stack/Stack.js
CHANGED
|
@@ -13,8 +13,7 @@ var _DefaultPropsProvider = require("../DefaultPropsProvider");
|
|
|
13
13
|
const Stack = (0, _system.createStack)({
|
|
14
14
|
createStyledComponent: (0, _styled.default)('div', {
|
|
15
15
|
name: 'MuiStack',
|
|
16
|
-
slot: 'Root'
|
|
17
|
-
overridesResolver: (props, styles) => styles.root
|
|
16
|
+
slot: 'Root'
|
|
18
17
|
}),
|
|
19
18
|
useThemeProps: inProps => (0, _DefaultPropsProvider.useDefaultProps)({
|
|
20
19
|
props: inProps,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
|
-
import { InternalStandardProps as StandardProps } from "../index.js";
|
|
4
3
|
import { Theme } from "../styles/index.js";
|
|
4
|
+
import { InternalStandardProps as StandardProps } from "../internal/index.js";
|
|
5
5
|
import { StepConnectorClasses } from "./stepConnectorClasses.js";
|
|
6
6
|
export type StepConnectorIcon = React.ReactElement<unknown> | string | number;
|
|
7
7
|
export interface StepConnectorProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
|
-
import { CollapseProps, InternalStandardProps as StandardProps } from "../index.js";
|
|
4
3
|
import { Theme } from "../styles/index.js";
|
|
4
|
+
import { InternalStandardProps as StandardProps } from "../internal/index.js";
|
|
5
|
+
import { CollapseProps } from "../Collapse/index.js";
|
|
5
6
|
import { TransitionProps } from "../transitions/transition.js";
|
|
6
7
|
import { StepContentClasses } from "./stepContentClasses.js";
|
|
7
8
|
import { CreateSlotsAndSlotProps, SlotComponentProps } from "../utils/types.js";
|
|
@@ -60,8 +60,7 @@ const StepContentRoot = (0, _zeroStyled.styled)('div', {
|
|
|
60
60
|
})));
|
|
61
61
|
const StepContentTransition = (0, _zeroStyled.styled)(_Collapse.default, {
|
|
62
62
|
name: 'MuiStepContent',
|
|
63
|
-
slot: 'Transition'
|
|
64
|
-
overridesResolver: (props, styles) => styles.transition
|
|
63
|
+
slot: 'Transition'
|
|
65
64
|
})({});
|
|
66
65
|
const StepContent = /*#__PURE__*/React.forwardRef(function StepContent(inProps, ref) {
|
|
67
66
|
const props = (0, _DefaultPropsProvider.useDefaultProps)({
|
package/StepIcon/StepIcon.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
|
-
import {
|
|
3
|
+
import { SvgIconOwnProps } from "../SvgIcon/index.js";
|
|
4
4
|
import { Theme } from "../styles/index.js";
|
|
5
|
+
import { InternalStandardProps as StandardProps } from "../internal/index.js";
|
|
5
6
|
import { StepIconClasses } from "./stepIconClasses.js";
|
|
6
7
|
export interface StepIconProps
|
|
7
8
|
// TODO v7: extend React.HTMLAttributes<SVGSVGElement> as svg is root component of StepIcon not div
|
package/StepIcon/StepIcon.js
CHANGED
|
@@ -35,8 +35,7 @@ const useUtilityClasses = ownerState => {
|
|
|
35
35
|
};
|
|
36
36
|
const StepIconRoot = (0, _zeroStyled.styled)(_SvgIcon.default, {
|
|
37
37
|
name: 'MuiStepIcon',
|
|
38
|
-
slot: 'Root'
|
|
39
|
-
overridesResolver: (props, styles) => styles.root
|
|
38
|
+
slot: 'Root'
|
|
40
39
|
})((0, _memoTheme.default)(({
|
|
41
40
|
theme
|
|
42
41
|
}) => ({
|
|
@@ -57,8 +56,7 @@ const StepIconRoot = (0, _zeroStyled.styled)(_SvgIcon.default, {
|
|
|
57
56
|
})));
|
|
58
57
|
const StepIconText = (0, _zeroStyled.styled)('text', {
|
|
59
58
|
name: 'MuiStepIcon',
|
|
60
|
-
slot: 'Text'
|
|
61
|
-
overridesResolver: (props, styles) => styles.text
|
|
59
|
+
slot: 'Text'
|
|
62
60
|
})((0, _memoTheme.default)(({
|
|
63
61
|
theme
|
|
64
62
|
}) => ({
|
package/StepLabel/StepLabel.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
|
-
import { InternalStandardProps as StandardProps } from "../index.js";
|
|
4
|
-
import { StepIconProps } from "../StepIcon/index.js";
|
|
5
3
|
import { Theme } from "../styles/index.js";
|
|
4
|
+
import { InternalStandardProps as StandardProps } from "../internal/index.js";
|
|
5
|
+
import { StepIconProps } from "../StepIcon/index.js";
|
|
6
6
|
import { StepLabelClasses } from "./stepLabelClasses.js";
|
|
7
7
|
import { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
|
|
8
8
|
export interface StepLabelSlots {
|
package/StepLabel/StepLabel.js
CHANGED
|
@@ -68,8 +68,7 @@ const StepLabelRoot = (0, _zeroStyled.styled)('span', {
|
|
|
68
68
|
});
|
|
69
69
|
const StepLabelLabel = (0, _zeroStyled.styled)('span', {
|
|
70
70
|
name: 'MuiStepLabel',
|
|
71
|
-
slot: 'Label'
|
|
72
|
-
overridesResolver: (props, styles) => styles.label
|
|
71
|
+
slot: 'Label'
|
|
73
72
|
})((0, _memoTheme.default)(({
|
|
74
73
|
theme
|
|
75
74
|
}) => ({
|
|
@@ -95,8 +94,7 @@ const StepLabelLabel = (0, _zeroStyled.styled)('span', {
|
|
|
95
94
|
})));
|
|
96
95
|
const StepLabelIconContainer = (0, _zeroStyled.styled)('span', {
|
|
97
96
|
name: 'MuiStepLabel',
|
|
98
|
-
slot: 'IconContainer'
|
|
99
|
-
overridesResolver: (props, styles) => styles.iconContainer
|
|
97
|
+
slot: 'IconContainer'
|
|
100
98
|
})({
|
|
101
99
|
flexShrink: 0,
|
|
102
100
|
display: 'flex',
|
|
@@ -107,8 +105,7 @@ const StepLabelIconContainer = (0, _zeroStyled.styled)('span', {
|
|
|
107
105
|
});
|
|
108
106
|
const StepLabelLabelContainer = (0, _zeroStyled.styled)('span', {
|
|
109
107
|
name: 'MuiStepLabel',
|
|
110
|
-
slot: 'LabelContainer'
|
|
111
|
-
overridesResolver: (props, styles) => styles.labelContainer
|
|
108
|
+
slot: 'LabelContainer'
|
|
112
109
|
})((0, _memoTheme.default)(({
|
|
113
110
|
theme
|
|
114
111
|
}) => ({
|
package/Switch/Switch.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
3
|
import { OverridableStringUnion } from '@mui/types';
|
|
4
|
-
import {
|
|
4
|
+
import { Theme } from "../styles/index.js";
|
|
5
|
+
import { InternalStandardProps as StandardProps } from "../internal/index.js";
|
|
5
6
|
import { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
|
|
6
7
|
import { SwitchBaseProps } from "../internal/SwitchBase.js";
|
|
7
8
|
import { SwitchClasses } from "./switchClasses.js";
|
package/Switch/Switch.js
CHANGED
|
@@ -181,8 +181,7 @@ const SwitchSwitchBase = (0, _zeroStyled.styled)(_SwitchBase.default, {
|
|
|
181
181
|
})));
|
|
182
182
|
const SwitchTrack = (0, _zeroStyled.styled)('span', {
|
|
183
183
|
name: 'MuiSwitch',
|
|
184
|
-
slot: 'Track'
|
|
185
|
-
overridesResolver: (props, styles) => styles.track
|
|
184
|
+
slot: 'Track'
|
|
186
185
|
})((0, _memoTheme.default)(({
|
|
187
186
|
theme
|
|
188
187
|
}) => ({
|
|
@@ -198,8 +197,7 @@ const SwitchTrack = (0, _zeroStyled.styled)('span', {
|
|
|
198
197
|
})));
|
|
199
198
|
const SwitchThumb = (0, _zeroStyled.styled)('span', {
|
|
200
199
|
name: 'MuiSwitch',
|
|
201
|
-
slot: 'Thumb'
|
|
202
|
-
overridesResolver: (props, styles) => styles.thumb
|
|
200
|
+
slot: 'Thumb'
|
|
203
201
|
})((0, _memoTheme.default)(({
|
|
204
202
|
theme
|
|
205
203
|
}) => ({
|
|
@@ -351,7 +349,7 @@ process.env.NODE_ENV !== "production" ? Switch.propTypes /* remove-proptypes */
|
|
|
351
349
|
*/
|
|
352
350
|
id: _propTypes.default.string,
|
|
353
351
|
/**
|
|
354
|
-
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/
|
|
352
|
+
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
|
|
355
353
|
* @deprecated Use `slotProps.input` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
356
354
|
*/
|
|
357
355
|
inputProps: _propTypes.default.object,
|
package/Tab/Tab.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
|
-
import { Theme } from "../index.js";
|
|
3
|
+
import { Theme } from "../styles/index.js";
|
|
4
4
|
import { ExtendButtonBase, ExtendButtonBaseTypeMap } from "../ButtonBase/index.js";
|
|
5
5
|
import { OverrideProps } from "../OverridableComponent/index.js";
|
|
6
6
|
import { TabClasses } from "./tabClasses.js";
|
|
@@ -2,7 +2,8 @@ import * as React from 'react';
|
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
3
|
import { SlotComponentProps } from "../utils/types.js";
|
|
4
4
|
import { ButtonBaseProps } from "../ButtonBase/index.js";
|
|
5
|
-
import {
|
|
5
|
+
import { Theme } from "../styles/index.js";
|
|
6
|
+
import SvgIcon from "../SvgIcon/index.js";
|
|
6
7
|
import { TabScrollButtonClasses } from "./tabScrollButtonClasses.js";
|
|
7
8
|
export interface TabScrollButtonStartIconSlotPropsOverrides {}
|
|
8
9
|
export interface TabScrollButtonEndIconSlotPropsOverrides {}
|
package/Table/Table.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
3
|
import { OverridableStringUnion } from '@mui/types';
|
|
4
|
-
import { Theme } from "../index.js";
|
|
4
|
+
import { Theme } from "../styles/index.js";
|
|
5
5
|
import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
|
|
6
6
|
import { TableClasses } from "./tableClasses.js";
|
|
7
7
|
export interface TablePropsSizeOverrides {}
|
package/TableBody/TableBody.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
|
-
import { Theme } from "../index.js";
|
|
3
|
+
import { Theme } from "../styles/index.js";
|
|
4
4
|
import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
|
|
5
5
|
import { TableBodyClasses } from "./tableBodyClasses.js";
|
|
6
6
|
export interface TableBodyOwnProps {
|