From 2e00c5f78b85cb06c0c4de0be9da1553042426a1 Mon Sep 17 00:00:00 2001 From: Arseny Garelyshev Date: Tue, 14 Nov 2023 22:30:41 +0100 Subject: [PATCH 1/3] chore: replace all '@mui/utils' --- packages/mui-material/src/Accordion/Accordion.js | 2 +- packages/mui-material/src/Accordion/accordionClasses.ts | 2 +- .../src/AccordionActions/accordionActionsClasses.ts | 2 +- .../src/AccordionDetails/accordionDetailsClasses.ts | 2 +- .../src/AccordionSummary/accordionSummaryClasses.ts | 2 +- packages/mui-material/src/Alert/alertClasses.ts | 2 +- packages/mui-material/src/AlertTitle/alertTitleClasses.ts | 2 +- packages/mui-material/src/AppBar/appBarClasses.ts | 2 +- packages/mui-material/src/Autocomplete/Autocomplete.js | 3 ++- packages/mui-material/src/Autocomplete/autocompleteClasses.ts | 2 +- packages/mui-material/src/Avatar/avatarClasses.ts | 2 +- packages/mui-material/src/AvatarGroup/AvatarGroup.js | 2 +- packages/mui-material/src/AvatarGroup/avatarGroupClasses.ts | 2 +- packages/mui-material/src/Backdrop/backdropClasses.ts | 2 +- packages/mui-material/src/Badge/Badge.js | 2 +- packages/mui-material/src/Badge/badgeClasses.ts | 2 +- .../src/BottomNavigation/bottomNavigationClasses.ts | 2 +- .../BottomNavigationAction/bottomNavigationActionClasses.ts | 2 +- packages/mui-material/src/Breadcrumbs/Breadcrumbs.js | 2 +- packages/mui-material/src/Breadcrumbs/breadcrumbsClasses.ts | 2 +- packages/mui-material/src/Button/Button.js | 2 +- packages/mui-material/src/Button/buttonClasses.ts | 2 +- packages/mui-material/src/ButtonBase/ButtonBase.js | 3 ++- packages/mui-material/src/ButtonBase/buttonBaseClasses.ts | 2 +- packages/mui-material/src/ButtonBase/touchRippleClasses.ts | 2 +- packages/mui-material/src/ButtonGroup/ButtonGroup.js | 2 +- packages/mui-material/src/ButtonGroup/buttonGroupClasses.ts | 2 +- packages/mui-material/src/Card/Card.js | 2 +- packages/mui-material/src/Card/cardClasses.ts | 2 +- .../mui-material/src/CardActionArea/cardActionAreaClasses.ts | 2 +- packages/mui-material/src/CardActions/cardActionsClasses.ts | 2 +- packages/mui-material/src/CardContent/cardContentClasses.ts | 2 +- packages/mui-material/src/CardHeader/cardHeaderClasses.ts | 2 +- packages/mui-material/src/CardMedia/CardMedia.js | 2 +- packages/mui-material/src/CardMedia/cardMediaClasses.ts | 2 +- packages/mui-material/src/Checkbox/Checkbox.js | 2 +- packages/mui-material/src/Checkbox/checkboxClasses.ts | 2 +- packages/mui-material/src/Chip/chipClasses.ts | 2 +- .../mui-material/src/CircularProgress/CircularProgress.js | 2 +- .../src/CircularProgress/circularProgressClasses.ts | 2 +- packages/mui-material/src/Collapse/Collapse.js | 2 +- packages/mui-material/src/Collapse/collapseClasses.ts | 2 +- packages/mui-material/src/Container/containerClasses.ts | 2 +- packages/mui-material/src/Dialog/Dialog.js | 2 +- packages/mui-material/src/Dialog/dialogClasses.ts | 2 +- .../mui-material/src/DialogActions/dialogActionsClasses.ts | 2 +- .../mui-material/src/DialogContent/dialogContentClasses.ts | 2 +- .../src/DialogContentText/dialogContentTextClasses.ts | 2 +- packages/mui-material/src/DialogTitle/dialogTitleClasses.ts | 2 +- packages/mui-material/src/Divider/dividerClasses.ts | 2 +- packages/mui-material/src/Drawer/Drawer.js | 2 +- packages/mui-material/src/Drawer/drawerClasses.ts | 2 +- packages/mui-material/src/Fab/fabClasses.ts | 2 +- packages/mui-material/src/Fade/Fade.js | 2 +- packages/mui-material/src/FilledInput/FilledInput.js | 3 ++- packages/mui-material/src/FilledInput/filledInputClasses.ts | 2 +- packages/mui-material/src/FormControl/formControlClasses.ts | 2 +- .../mui-material/src/FormControlLabel/FormControlLabel.js | 2 +- .../src/FormControlLabel/formControlLabelClasses.ts | 2 +- packages/mui-material/src/FormGroup/formGroupClasses.ts | 2 +- .../mui-material/src/FormHelperText/formHelperTextClasses.ts | 2 +- packages/mui-material/src/FormLabel/formLabelClasses.ts | 2 +- packages/mui-material/src/Grid/gridClasses.ts | 2 +- packages/mui-material/src/Grow/Grow.js | 2 +- packages/mui-material/src/Hidden/HiddenJs.js | 2 +- packages/mui-material/src/Hidden/hiddenCssClasses.js | 2 +- packages/mui-material/src/Hidden/withWidth.js | 2 +- packages/mui-material/src/Icon/iconClasses.ts | 2 +- packages/mui-material/src/IconButton/IconButton.js | 2 +- packages/mui-material/src/IconButton/IconButton.test.js | 2 +- packages/mui-material/src/IconButton/iconButtonClasses.ts | 2 +- packages/mui-material/src/ImageList/ImageList.js | 2 +- packages/mui-material/src/ImageList/imageListClasses.ts | 2 +- packages/mui-material/src/ImageListItem/ImageListItem.js | 2 +- .../mui-material/src/ImageListItem/imageListItemClasses.ts | 2 +- .../src/ImageListItemBar/imageListItemBarClasses.ts | 2 +- packages/mui-material/src/Input/Input.js | 3 ++- packages/mui-material/src/Input/inputClasses.ts | 2 +- .../mui-material/src/InputAdornment/inputAdornmentClasses.ts | 2 +- packages/mui-material/src/InputBase/InputBase.js | 3 ++- packages/mui-material/src/InputBase/inputBaseClasses.ts | 2 +- packages/mui-material/src/InputLabel/inputLabelClasses.ts | 2 +- .../mui-material/src/LinearProgress/linearProgressClasses.ts | 2 +- packages/mui-material/src/Link/Link.js | 2 +- packages/mui-material/src/Link/linkClasses.ts | 2 +- packages/mui-material/src/List/listClasses.ts | 2 +- packages/mui-material/src/ListItem/ListItem.js | 3 ++- packages/mui-material/src/ListItem/listItemClasses.ts | 2 +- .../mui-material/src/ListItemAvatar/listItemAvatarClasses.ts | 2 +- .../mui-material/src/ListItemButton/listItemButtonClasses.ts | 2 +- packages/mui-material/src/ListItemIcon/listItemIconClasses.ts | 2 +- .../ListItemSecondaryAction/listItemSecondaryActionClasses.ts | 2 +- packages/mui-material/src/ListItemText/listItemTextClasses.ts | 2 +- packages/mui-material/src/Menu/Menu.js | 2 +- packages/mui-material/src/Menu/menuClasses.ts | 2 +- packages/mui-material/src/MenuItem/menuItemClasses.ts | 2 +- packages/mui-material/src/MobileStepper/MobileStepper.js | 2 +- .../mui-material/src/MobileStepper/mobileStepperClasses.ts | 2 +- packages/mui-material/src/Modal/Modal.js | 3 ++- packages/mui-material/src/Modal/modalClasses.ts | 2 +- packages/mui-material/src/NativeSelect/NativeSelectInput.js | 2 +- packages/mui-material/src/NativeSelect/nativeSelectClasses.ts | 2 +- packages/mui-material/src/OutlinedInput/OutlinedInput.js | 2 +- .../mui-material/src/OutlinedInput/outlinedInputClasses.ts | 2 +- packages/mui-material/src/Pagination/Pagination.js | 2 +- packages/mui-material/src/Pagination/paginationClasses.ts | 2 +- .../mui-material/src/PaginationItem/paginationItemClasses.ts | 2 +- packages/mui-material/src/Paper/Paper.js | 3 ++- packages/mui-material/src/Paper/paperClasses.ts | 2 +- packages/mui-material/src/Popover/popoverClasses.ts | 2 +- packages/mui-material/src/Popper/Popper.tsx | 3 ++- packages/mui-material/src/Radio/Radio.js | 2 +- packages/mui-material/src/Radio/radioClasses.ts | 2 +- packages/mui-material/src/Rating/Rating.js | 3 ++- packages/mui-material/src/Rating/ratingClasses.ts | 2 +- .../src/ScopedCssBaseline/scopedCssBaselineClasses.ts | 2 +- packages/mui-material/src/Select/Select.js | 2 +- packages/mui-material/src/Select/SelectInput.js | 3 ++- packages/mui-material/src/Select/selectClasses.ts | 2 +- packages/mui-material/src/Skeleton/skeletonClasses.ts | 2 +- packages/mui-material/src/Slide/Slide.js | 4 +++- packages/mui-material/src/Slider/Slider.js | 2 +- packages/mui-material/src/Slider/sliderClasses.ts | 2 +- packages/mui-material/src/Snackbar/snackbarClasses.ts | 2 +- .../src/SnackbarContent/snackbarContentClasses.ts | 2 +- packages/mui-material/src/SpeedDial/speedDialClasses.ts | 2 +- .../src/SpeedDialAction/speedDialActionClasses.ts | 2 +- .../mui-material/src/SpeedDialIcon/speedDialIconClasses.ts | 2 +- packages/mui-material/src/Stack/stackClasses.ts | 2 +- packages/mui-material/src/Step/Step.js | 2 +- packages/mui-material/src/Step/stepClasses.ts | 2 +- packages/mui-material/src/StepButton/stepButtonClasses.ts | 2 +- .../mui-material/src/StepConnector/stepConnectorClasses.ts | 2 +- packages/mui-material/src/StepContent/stepContentClasses.ts | 2 +- packages/mui-material/src/StepIcon/stepIconClasses.ts | 2 +- packages/mui-material/src/StepLabel/stepLabelClasses.ts | 2 +- packages/mui-material/src/Stepper/Stepper.js | 2 +- packages/mui-material/src/Stepper/stepperClasses.ts | 2 +- packages/mui-material/src/SvgIcon/svgIconClasses.ts | 2 +- packages/mui-material/src/SwipeableDrawer/SwipeableDrawer.js | 2 +- packages/mui-material/src/Switch/Switch.js | 2 +- packages/mui-material/src/Switch/switchClasses.ts | 2 +- packages/mui-material/src/Tab/tabClasses.ts | 2 +- .../src/TabScrollButton/tabScrollButtonClasses.ts | 2 +- packages/mui-material/src/Table/tableClasses.ts | 2 +- packages/mui-material/src/TableBody/tableBodyClasses.ts | 2 +- packages/mui-material/src/TableCell/tableCellClasses.ts | 2 +- .../mui-material/src/TableContainer/tableContainerClasses.ts | 2 +- packages/mui-material/src/TableFooter/tableFooterClasses.ts | 2 +- packages/mui-material/src/TableHead/tableHeadClasses.ts | 2 +- packages/mui-material/src/TablePagination/TablePagination.js | 3 ++- .../src/TablePagination/tablePaginationClasses.ts | 2 +- packages/mui-material/src/TableRow/tableRowClasses.ts | 2 +- .../mui-material/src/TableSortLabel/tableSortLabelClasses.ts | 2 +- packages/mui-material/src/Tabs/Tabs.js | 2 +- packages/mui-material/src/Tabs/tabsClasses.ts | 2 +- packages/mui-material/src/TextField/TextField.js | 3 ++- packages/mui-material/src/TextField/textFieldClasses.ts | 2 +- packages/mui-material/src/ToggleButton/toggleButtonClasses.ts | 2 +- .../src/ToggleButtonGroup/toggleButtonGroupClasses.ts | 2 +- packages/mui-material/src/Toolbar/toolbarClasses.ts | 2 +- packages/mui-material/src/Tooltip/Tooltip.js | 2 +- packages/mui-material/src/Tooltip/tooltipClasses.ts | 2 +- packages/mui-material/src/Typography/typographyClasses.ts | 2 +- packages/mui-material/src/Unstable_Grid2/grid2Classes.ts | 2 +- packages/mui-material/src/Zoom/Zoom.js | 2 +- packages/mui-material/src/internal/SwitchBase.js | 2 +- packages/mui-material/src/internal/switchBaseClasses.ts | 2 +- packages/mui-material/src/styles/createMuiStrictModeTheme.js | 2 +- packages/mui-material/src/styles/createPalette.js | 2 +- packages/mui-material/src/styles/createTheme.js | 2 +- packages/mui-material/src/styles/createTypography.js | 2 +- packages/mui-material/src/styles/experimental_extendTheme.js | 2 +- packages/mui-material/src/usePagination/usePagination.js | 2 +- packages/mui-material/src/utils/capitalize.d.ts | 2 +- packages/mui-material/src/utils/capitalize.js | 2 +- packages/mui-material/src/utils/createChainedFunction.d.ts | 2 +- packages/mui-material/src/utils/createChainedFunction.js | 2 +- packages/mui-material/src/utils/debounce.d.ts | 2 +- packages/mui-material/src/utils/debounce.js | 2 +- packages/mui-material/src/utils/deprecatedPropType.d.ts | 2 +- packages/mui-material/src/utils/deprecatedPropType.js | 2 +- packages/mui-material/src/utils/getScrollbarSize.ts | 2 +- packages/mui-material/src/utils/isMuiElement.d.ts | 2 +- packages/mui-material/src/utils/isMuiElement.js | 2 +- packages/mui-material/src/utils/ownerDocument.ts | 2 +- packages/mui-material/src/utils/ownerWindow.ts | 2 +- packages/mui-material/src/utils/requirePropFactory.d.ts | 2 +- packages/mui-material/src/utils/requirePropFactory.js | 2 +- packages/mui-material/src/utils/setRef.ts | 2 +- packages/mui-material/src/utils/unsupportedProp.d.ts | 2 +- packages/mui-material/src/utils/unsupportedProp.js | 2 +- packages/mui-material/src/utils/useControlled.d.ts | 2 +- packages/mui-material/src/utils/useControlled.js | 2 +- packages/mui-material/src/utils/useEnhancedEffect.d.ts | 2 +- packages/mui-material/src/utils/useEnhancedEffect.js | 2 +- packages/mui-material/src/utils/useEventCallback.d.ts | 2 +- packages/mui-material/src/utils/useEventCallback.js | 2 +- packages/mui-material/src/utils/useForkRef.d.ts | 2 +- packages/mui-material/src/utils/useForkRef.js | 2 +- packages/mui-material/src/utils/useId.d.ts | 2 +- packages/mui-material/src/utils/useId.js | 2 +- packages/mui-material/src/utils/useIsFocusVisible.d.ts | 2 +- packages/mui-material/src/utils/useIsFocusVisible.js | 2 +- 204 files changed, 219 insertions(+), 204 deletions(-) diff --git a/packages/mui-material/src/Accordion/Accordion.js b/packages/mui-material/src/Accordion/Accordion.js index ca4b6a2d88e894..2cb312c2e62921 100644 --- a/packages/mui-material/src/Accordion/Accordion.js +++ b/packages/mui-material/src/Accordion/Accordion.js @@ -3,7 +3,7 @@ import * as React from 'react'; import { isFragment } from 'react-is'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { chainPropTypes } from '@mui/utils'; +import chainPropTypes from '@mui/utils/chainPropTypes'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import styled from '../styles/styled'; import useThemeProps from '../styles/useThemeProps'; diff --git a/packages/mui-material/src/Accordion/accordionClasses.ts b/packages/mui-material/src/Accordion/accordionClasses.ts index c44fe27a2c2029..79a371c822a1f1 100644 --- a/packages/mui-material/src/Accordion/accordionClasses.ts +++ b/packages/mui-material/src/Accordion/accordionClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface AccordionClasses { diff --git a/packages/mui-material/src/AccordionActions/accordionActionsClasses.ts b/packages/mui-material/src/AccordionActions/accordionActionsClasses.ts index 93be7c550e09b7..255463972539fe 100644 --- a/packages/mui-material/src/AccordionActions/accordionActionsClasses.ts +++ b/packages/mui-material/src/AccordionActions/accordionActionsClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface AccordionActionsClasses { diff --git a/packages/mui-material/src/AccordionDetails/accordionDetailsClasses.ts b/packages/mui-material/src/AccordionDetails/accordionDetailsClasses.ts index 183f1a9d43f7ea..9367ca4b0a198d 100644 --- a/packages/mui-material/src/AccordionDetails/accordionDetailsClasses.ts +++ b/packages/mui-material/src/AccordionDetails/accordionDetailsClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface AccordionDetailsClasses { diff --git a/packages/mui-material/src/AccordionSummary/accordionSummaryClasses.ts b/packages/mui-material/src/AccordionSummary/accordionSummaryClasses.ts index 38fa03fe47a59a..adee1bb3e78c56 100644 --- a/packages/mui-material/src/AccordionSummary/accordionSummaryClasses.ts +++ b/packages/mui-material/src/AccordionSummary/accordionSummaryClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface AccordionSummaryClasses { diff --git a/packages/mui-material/src/Alert/alertClasses.ts b/packages/mui-material/src/Alert/alertClasses.ts index a4cabd2161fb67..8ffa23307b4e97 100644 --- a/packages/mui-material/src/Alert/alertClasses.ts +++ b/packages/mui-material/src/Alert/alertClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface AlertClasses { diff --git a/packages/mui-material/src/AlertTitle/alertTitleClasses.ts b/packages/mui-material/src/AlertTitle/alertTitleClasses.ts index 1230004cca716a..d8a01ce2daa37a 100644 --- a/packages/mui-material/src/AlertTitle/alertTitleClasses.ts +++ b/packages/mui-material/src/AlertTitle/alertTitleClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface AlertTitleClasses { diff --git a/packages/mui-material/src/AppBar/appBarClasses.ts b/packages/mui-material/src/AppBar/appBarClasses.ts index 63913c28da09a6..8605ff77c09e2f 100644 --- a/packages/mui-material/src/AppBar/appBarClasses.ts +++ b/packages/mui-material/src/AppBar/appBarClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface AppBarClasses { diff --git a/packages/mui-material/src/Autocomplete/Autocomplete.js b/packages/mui-material/src/Autocomplete/Autocomplete.js index b2c0c68650c8e3..b8bf4bacd5ba4e 100644 --- a/packages/mui-material/src/Autocomplete/Autocomplete.js +++ b/packages/mui-material/src/Autocomplete/Autocomplete.js @@ -2,7 +2,8 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { chainPropTypes, integerPropType } from '@mui/utils'; +import chainPropTypes from '@mui/utils/chainPropTypes'; +import integerPropType from '@mui/utils/integerPropType'; import { unstable_composeClasses as composeClasses, useAutocomplete, diff --git a/packages/mui-material/src/Autocomplete/autocompleteClasses.ts b/packages/mui-material/src/Autocomplete/autocompleteClasses.ts index 2293e9330dc38a..49c2e79e40c88f 100644 --- a/packages/mui-material/src/Autocomplete/autocompleteClasses.ts +++ b/packages/mui-material/src/Autocomplete/autocompleteClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface AutocompleteClasses { diff --git a/packages/mui-material/src/Avatar/avatarClasses.ts b/packages/mui-material/src/Avatar/avatarClasses.ts index 210b23afe2d24f..fecb26203a0fce 100644 --- a/packages/mui-material/src/Avatar/avatarClasses.ts +++ b/packages/mui-material/src/Avatar/avatarClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface AvatarClasses { diff --git a/packages/mui-material/src/AvatarGroup/AvatarGroup.js b/packages/mui-material/src/AvatarGroup/AvatarGroup.js index 4cd5193787cc3e..ba916ab3ea0f4b 100644 --- a/packages/mui-material/src/AvatarGroup/AvatarGroup.js +++ b/packages/mui-material/src/AvatarGroup/AvatarGroup.js @@ -3,7 +3,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import { isFragment } from 'react-is'; import clsx from 'clsx'; -import { chainPropTypes } from '@mui/utils'; +import chainPropTypes from '@mui/utils/chainPropTypes'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import styled from '../styles/styled'; import useThemeProps from '../styles/useThemeProps'; diff --git a/packages/mui-material/src/AvatarGroup/avatarGroupClasses.ts b/packages/mui-material/src/AvatarGroup/avatarGroupClasses.ts index a7f013c4ea70bf..27555958ef7e5c 100644 --- a/packages/mui-material/src/AvatarGroup/avatarGroupClasses.ts +++ b/packages/mui-material/src/AvatarGroup/avatarGroupClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface AvatarGroupClasses { diff --git a/packages/mui-material/src/Backdrop/backdropClasses.ts b/packages/mui-material/src/Backdrop/backdropClasses.ts index f26d53651e5797..6d5efba5e596f5 100644 --- a/packages/mui-material/src/Backdrop/backdropClasses.ts +++ b/packages/mui-material/src/Backdrop/backdropClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface BackdropClasses { diff --git a/packages/mui-material/src/Badge/Badge.js b/packages/mui-material/src/Badge/Badge.js index eecbce2c31d50e..2c2d144de219a9 100644 --- a/packages/mui-material/src/Badge/Badge.js +++ b/packages/mui-material/src/Badge/Badge.js @@ -2,7 +2,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { usePreviousProps } from '@mui/utils'; +import usePreviousProps from '@mui/utils/usePreviousProps'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import { useBadge } from '@mui/base/useBadge'; import { useSlotProps } from '@mui/base'; diff --git a/packages/mui-material/src/Badge/badgeClasses.ts b/packages/mui-material/src/Badge/badgeClasses.ts index 8a0475acf4e21e..cdd346a9bb38ec 100644 --- a/packages/mui-material/src/Badge/badgeClasses.ts +++ b/packages/mui-material/src/Badge/badgeClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface BadgeClasses { diff --git a/packages/mui-material/src/BottomNavigation/bottomNavigationClasses.ts b/packages/mui-material/src/BottomNavigation/bottomNavigationClasses.ts index 5f44b2687e96b5..cfad1c98f49b95 100644 --- a/packages/mui-material/src/BottomNavigation/bottomNavigationClasses.ts +++ b/packages/mui-material/src/BottomNavigation/bottomNavigationClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface BottomNavigationClasses { diff --git a/packages/mui-material/src/BottomNavigationAction/bottomNavigationActionClasses.ts b/packages/mui-material/src/BottomNavigationAction/bottomNavigationActionClasses.ts index fc3c1afaca0494..a5d3381ec9363b 100644 --- a/packages/mui-material/src/BottomNavigationAction/bottomNavigationActionClasses.ts +++ b/packages/mui-material/src/BottomNavigationAction/bottomNavigationActionClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface BottomNavigationActionClasses { diff --git a/packages/mui-material/src/Breadcrumbs/Breadcrumbs.js b/packages/mui-material/src/Breadcrumbs/Breadcrumbs.js index 8e2db08de8be01..fccb8fb381a2cc 100644 --- a/packages/mui-material/src/Breadcrumbs/Breadcrumbs.js +++ b/packages/mui-material/src/Breadcrumbs/Breadcrumbs.js @@ -3,7 +3,7 @@ import * as React from 'react'; import { isFragment } from 'react-is'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { integerPropType } from '@mui/utils'; +import integerPropType from '@mui/utils/integerPropType'; import { unstable_composeClasses as composeClasses, useSlotProps } from '@mui/base'; import styled from '../styles/styled'; import useThemeProps from '../styles/useThemeProps'; diff --git a/packages/mui-material/src/Breadcrumbs/breadcrumbsClasses.ts b/packages/mui-material/src/Breadcrumbs/breadcrumbsClasses.ts index ad3e01ed3a9311..7c335d5f177997 100644 --- a/packages/mui-material/src/Breadcrumbs/breadcrumbsClasses.ts +++ b/packages/mui-material/src/Breadcrumbs/breadcrumbsClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface BreadcrumbsClasses { diff --git a/packages/mui-material/src/Button/Button.js b/packages/mui-material/src/Button/Button.js index e65a372712375d..9e4087f79f4d76 100644 --- a/packages/mui-material/src/Button/Button.js +++ b/packages/mui-material/src/Button/Button.js @@ -2,7 +2,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { internal_resolveProps as resolveProps } from '@mui/utils'; +import resolveProps from '@mui/utils/resolveProps'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import { alpha } from '@mui/system'; import styled, { rootShouldForwardProp } from '../styles/styled'; diff --git a/packages/mui-material/src/Button/buttonClasses.ts b/packages/mui-material/src/Button/buttonClasses.ts index 0a8635cf5fcfb4..c6338a5b476f5a 100644 --- a/packages/mui-material/src/Button/buttonClasses.ts +++ b/packages/mui-material/src/Button/buttonClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ButtonClasses { diff --git a/packages/mui-material/src/ButtonBase/ButtonBase.js b/packages/mui-material/src/ButtonBase/ButtonBase.js index 49366647405411..86a73c77c940ba 100644 --- a/packages/mui-material/src/ButtonBase/ButtonBase.js +++ b/packages/mui-material/src/ButtonBase/ButtonBase.js @@ -2,7 +2,8 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { elementTypeAcceptingRef, refType } from '@mui/utils'; +import elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef'; +import refType from '@mui/utils/refType'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import styled from '../styles/styled'; import useThemeProps from '../styles/useThemeProps'; diff --git a/packages/mui-material/src/ButtonBase/buttonBaseClasses.ts b/packages/mui-material/src/ButtonBase/buttonBaseClasses.ts index 9116de5b000867..55634d602ddbc1 100644 --- a/packages/mui-material/src/ButtonBase/buttonBaseClasses.ts +++ b/packages/mui-material/src/ButtonBase/buttonBaseClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ButtonBaseClasses { diff --git a/packages/mui-material/src/ButtonBase/touchRippleClasses.ts b/packages/mui-material/src/ButtonBase/touchRippleClasses.ts index 28faffda539623..466a3b38e88813 100644 --- a/packages/mui-material/src/ButtonBase/touchRippleClasses.ts +++ b/packages/mui-material/src/ButtonBase/touchRippleClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TouchRippleClasses { diff --git a/packages/mui-material/src/ButtonGroup/ButtonGroup.js b/packages/mui-material/src/ButtonGroup/ButtonGroup.js index 697ed7e2590f2e..73e5010474a3e8 100644 --- a/packages/mui-material/src/ButtonGroup/ButtonGroup.js +++ b/packages/mui-material/src/ButtonGroup/ButtonGroup.js @@ -4,7 +4,7 @@ import PropTypes from 'prop-types'; import clsx from 'clsx'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import { alpha } from '@mui/system'; -import { getValidReactChildren } from '@mui/utils'; +import getValidReactChildren from '@mui/utils/getValidReactChildren'; import capitalize from '../utils/capitalize'; import styled from '../styles/styled'; import useThemeProps from '../styles/useThemeProps'; diff --git a/packages/mui-material/src/ButtonGroup/buttonGroupClasses.ts b/packages/mui-material/src/ButtonGroup/buttonGroupClasses.ts index 433083e3ae20f9..cd124b3da46645 100644 --- a/packages/mui-material/src/ButtonGroup/buttonGroupClasses.ts +++ b/packages/mui-material/src/ButtonGroup/buttonGroupClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ButtonGroupClasses { diff --git a/packages/mui-material/src/Card/Card.js b/packages/mui-material/src/Card/Card.js index c670facf098484..2bba0f45c939ba 100644 --- a/packages/mui-material/src/Card/Card.js +++ b/packages/mui-material/src/Card/Card.js @@ -2,7 +2,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { chainPropTypes } from '@mui/utils'; +import chainPropTypes from '@mui/utils/chainPropTypes'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import styled from '../styles/styled'; import useThemeProps from '../styles/useThemeProps'; diff --git a/packages/mui-material/src/Card/cardClasses.ts b/packages/mui-material/src/Card/cardClasses.ts index c7ab69ae874aba..df97e0164b8b09 100644 --- a/packages/mui-material/src/Card/cardClasses.ts +++ b/packages/mui-material/src/Card/cardClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface CardClasses { diff --git a/packages/mui-material/src/CardActionArea/cardActionAreaClasses.ts b/packages/mui-material/src/CardActionArea/cardActionAreaClasses.ts index d40c3d6423f7ce..4f6eaadab953ff 100644 --- a/packages/mui-material/src/CardActionArea/cardActionAreaClasses.ts +++ b/packages/mui-material/src/CardActionArea/cardActionAreaClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface CardActionAreaClasses { diff --git a/packages/mui-material/src/CardActions/cardActionsClasses.ts b/packages/mui-material/src/CardActions/cardActionsClasses.ts index e873b12f167d33..2033ac508d7fef 100644 --- a/packages/mui-material/src/CardActions/cardActionsClasses.ts +++ b/packages/mui-material/src/CardActions/cardActionsClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface CardActionsClasses { diff --git a/packages/mui-material/src/CardContent/cardContentClasses.ts b/packages/mui-material/src/CardContent/cardContentClasses.ts index 57ff2c793258a3..6d19fcacbfe3a7 100644 --- a/packages/mui-material/src/CardContent/cardContentClasses.ts +++ b/packages/mui-material/src/CardContent/cardContentClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface CardContentClasses { diff --git a/packages/mui-material/src/CardHeader/cardHeaderClasses.ts b/packages/mui-material/src/CardHeader/cardHeaderClasses.ts index 8fcc1ac57a2e09..eff4a96fc57383 100644 --- a/packages/mui-material/src/CardHeader/cardHeaderClasses.ts +++ b/packages/mui-material/src/CardHeader/cardHeaderClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface CardHeaderClasses { diff --git a/packages/mui-material/src/CardMedia/CardMedia.js b/packages/mui-material/src/CardMedia/CardMedia.js index 705fdc87fad36f..25382716e67bed 100644 --- a/packages/mui-material/src/CardMedia/CardMedia.js +++ b/packages/mui-material/src/CardMedia/CardMedia.js @@ -2,7 +2,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { chainPropTypes } from '@mui/utils'; +import chainPropTypes from '@mui/utils/chainPropTypes'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import useThemeProps from '../styles/useThemeProps'; import styled from '../styles/styled'; diff --git a/packages/mui-material/src/CardMedia/cardMediaClasses.ts b/packages/mui-material/src/CardMedia/cardMediaClasses.ts index fb00f8e31216e8..a262d1d885ee2c 100644 --- a/packages/mui-material/src/CardMedia/cardMediaClasses.ts +++ b/packages/mui-material/src/CardMedia/cardMediaClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface CardMediaClasses { diff --git a/packages/mui-material/src/Checkbox/Checkbox.js b/packages/mui-material/src/Checkbox/Checkbox.js index e4fee8b2b82a37..5fb3e6e6ed383e 100644 --- a/packages/mui-material/src/Checkbox/Checkbox.js +++ b/packages/mui-material/src/Checkbox/Checkbox.js @@ -2,7 +2,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { refType } from '@mui/utils'; +import refType from '@mui/utils/refType'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import { alpha } from '@mui/system'; import SwitchBase from '../internal/SwitchBase'; diff --git a/packages/mui-material/src/Checkbox/checkboxClasses.ts b/packages/mui-material/src/Checkbox/checkboxClasses.ts index 0d82a144d3bfa0..518b0b1f1f6058 100644 --- a/packages/mui-material/src/Checkbox/checkboxClasses.ts +++ b/packages/mui-material/src/Checkbox/checkboxClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface CheckboxClasses { diff --git a/packages/mui-material/src/Chip/chipClasses.ts b/packages/mui-material/src/Chip/chipClasses.ts index 411deb1068551f..0251f321e87ccd 100644 --- a/packages/mui-material/src/Chip/chipClasses.ts +++ b/packages/mui-material/src/Chip/chipClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ChipClasses { diff --git a/packages/mui-material/src/CircularProgress/CircularProgress.js b/packages/mui-material/src/CircularProgress/CircularProgress.js index 3d9e7201d00fb3..cdb89629f3544f 100644 --- a/packages/mui-material/src/CircularProgress/CircularProgress.js +++ b/packages/mui-material/src/CircularProgress/CircularProgress.js @@ -2,7 +2,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { chainPropTypes } from '@mui/utils'; +import chainPropTypes from '@mui/utils/chainPropTypes'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import { keyframes, css } from '@mui/system'; import capitalize from '../utils/capitalize'; diff --git a/packages/mui-material/src/CircularProgress/circularProgressClasses.ts b/packages/mui-material/src/CircularProgress/circularProgressClasses.ts index fd402bd8ca9e1d..e15dfe091fdefd 100644 --- a/packages/mui-material/src/CircularProgress/circularProgressClasses.ts +++ b/packages/mui-material/src/CircularProgress/circularProgressClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface CircularProgressClasses { diff --git a/packages/mui-material/src/Collapse/Collapse.js b/packages/mui-material/src/Collapse/Collapse.js index 1ec78ba56bebdb..012e5cd919b4e5 100644 --- a/packages/mui-material/src/Collapse/Collapse.js +++ b/packages/mui-material/src/Collapse/Collapse.js @@ -3,7 +3,7 @@ import * as React from 'react'; import clsx from 'clsx'; import PropTypes from 'prop-types'; import { Transition } from 'react-transition-group'; -import { elementTypeAcceptingRef } from '@mui/utils'; +import elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import styled from '../styles/styled'; import useThemeProps from '../styles/useThemeProps'; diff --git a/packages/mui-material/src/Collapse/collapseClasses.ts b/packages/mui-material/src/Collapse/collapseClasses.ts index d3f35e59416718..f8ec777ebcc190 100644 --- a/packages/mui-material/src/Collapse/collapseClasses.ts +++ b/packages/mui-material/src/Collapse/collapseClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface CollapseClasses { diff --git a/packages/mui-material/src/Container/containerClasses.ts b/packages/mui-material/src/Container/containerClasses.ts index addd887c9ef4a3..ac39441a0222cc 100644 --- a/packages/mui-material/src/Container/containerClasses.ts +++ b/packages/mui-material/src/Container/containerClasses.ts @@ -1,5 +1,5 @@ import { ContainerClasses } from '@mui/system'; -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export type { ContainerClassKey } from '@mui/system'; diff --git a/packages/mui-material/src/Dialog/Dialog.js b/packages/mui-material/src/Dialog/Dialog.js index 05c6e1ff520d22..45f49e924b0c70 100644 --- a/packages/mui-material/src/Dialog/Dialog.js +++ b/packages/mui-material/src/Dialog/Dialog.js @@ -3,7 +3,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; -import { unstable_useId as useId } from '@mui/utils'; +import useId from '@mui/utils/useId'; import capitalize from '../utils/capitalize'; import Modal from '../Modal'; import Fade from '../Fade'; diff --git a/packages/mui-material/src/Dialog/dialogClasses.ts b/packages/mui-material/src/Dialog/dialogClasses.ts index ce2b4d1782c4c6..c065ec06552f22 100644 --- a/packages/mui-material/src/Dialog/dialogClasses.ts +++ b/packages/mui-material/src/Dialog/dialogClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface DialogClasses { diff --git a/packages/mui-material/src/DialogActions/dialogActionsClasses.ts b/packages/mui-material/src/DialogActions/dialogActionsClasses.ts index e701815578ba03..9476788a01c0bc 100644 --- a/packages/mui-material/src/DialogActions/dialogActionsClasses.ts +++ b/packages/mui-material/src/DialogActions/dialogActionsClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface DialogActionsClasses { diff --git a/packages/mui-material/src/DialogContent/dialogContentClasses.ts b/packages/mui-material/src/DialogContent/dialogContentClasses.ts index 9942b65aeeb32d..ec9140c5ae84f7 100644 --- a/packages/mui-material/src/DialogContent/dialogContentClasses.ts +++ b/packages/mui-material/src/DialogContent/dialogContentClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface DialogContentClasses { diff --git a/packages/mui-material/src/DialogContentText/dialogContentTextClasses.ts b/packages/mui-material/src/DialogContentText/dialogContentTextClasses.ts index 7212dc9d22ce2f..6301ccf1c62ffa 100644 --- a/packages/mui-material/src/DialogContentText/dialogContentTextClasses.ts +++ b/packages/mui-material/src/DialogContentText/dialogContentTextClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface DialogContentTextClasses { diff --git a/packages/mui-material/src/DialogTitle/dialogTitleClasses.ts b/packages/mui-material/src/DialogTitle/dialogTitleClasses.ts index eb13ef883daa26..79345cad679a0c 100644 --- a/packages/mui-material/src/DialogTitle/dialogTitleClasses.ts +++ b/packages/mui-material/src/DialogTitle/dialogTitleClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface DialogTitleClasses { diff --git a/packages/mui-material/src/Divider/dividerClasses.ts b/packages/mui-material/src/Divider/dividerClasses.ts index 32c2b242f13c23..560d0aa9acdbfc 100644 --- a/packages/mui-material/src/Divider/dividerClasses.ts +++ b/packages/mui-material/src/Divider/dividerClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface DividerClasses { diff --git a/packages/mui-material/src/Drawer/Drawer.js b/packages/mui-material/src/Drawer/Drawer.js index 3b9491de5c4753..fb99c02645e5c8 100644 --- a/packages/mui-material/src/Drawer/Drawer.js +++ b/packages/mui-material/src/Drawer/Drawer.js @@ -2,7 +2,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { integerPropType } from '@mui/utils'; +import integerPropType from '@mui/utils/integerPropType'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import Modal from '../Modal'; import Slide from '../Slide'; diff --git a/packages/mui-material/src/Drawer/drawerClasses.ts b/packages/mui-material/src/Drawer/drawerClasses.ts index d9a6572f865533..4f655a9e4d2552 100644 --- a/packages/mui-material/src/Drawer/drawerClasses.ts +++ b/packages/mui-material/src/Drawer/drawerClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface DrawerClasses { diff --git a/packages/mui-material/src/Fab/fabClasses.ts b/packages/mui-material/src/Fab/fabClasses.ts index 3978d7050a0ecd..7c78f4edc9bd6b 100644 --- a/packages/mui-material/src/Fab/fabClasses.ts +++ b/packages/mui-material/src/Fab/fabClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface FabClasses { diff --git a/packages/mui-material/src/Fade/Fade.js b/packages/mui-material/src/Fade/Fade.js index 57df4cd5011747..e3964edd4b6cf9 100644 --- a/packages/mui-material/src/Fade/Fade.js +++ b/packages/mui-material/src/Fade/Fade.js @@ -2,7 +2,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import { Transition } from 'react-transition-group'; -import { elementAcceptingRef } from '@mui/utils'; +import elementAcceptingRef from '@mui/utils/elementAcceptingRef'; import useTheme from '../styles/useTheme'; import { reflow, getTransitionProps } from '../transitions/utils'; import useForkRef from '../utils/useForkRef'; diff --git a/packages/mui-material/src/FilledInput/FilledInput.js b/packages/mui-material/src/FilledInput/FilledInput.js index ab672ed77d02f8..ea2aecebdb55d2 100644 --- a/packages/mui-material/src/FilledInput/FilledInput.js +++ b/packages/mui-material/src/FilledInput/FilledInput.js @@ -1,6 +1,7 @@ 'use client'; import * as React from 'react'; -import { refType, deepmerge } from '@mui/utils'; +import refType from '@mui/utils/refType'; +import deepmerge from '@mui/utils/deepmerge'; import PropTypes from 'prop-types'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import InputBase from '../InputBase'; diff --git a/packages/mui-material/src/FilledInput/filledInputClasses.ts b/packages/mui-material/src/FilledInput/filledInputClasses.ts index 2032773788288d..76fbdd16888c67 100644 --- a/packages/mui-material/src/FilledInput/filledInputClasses.ts +++ b/packages/mui-material/src/FilledInput/filledInputClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; import { inputBaseClasses } from '../InputBase'; diff --git a/packages/mui-material/src/FormControl/formControlClasses.ts b/packages/mui-material/src/FormControl/formControlClasses.ts index 383ab5b23bcac1..9fc54ca9f5fd9c 100644 --- a/packages/mui-material/src/FormControl/formControlClasses.ts +++ b/packages/mui-material/src/FormControl/formControlClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface FormControlClasses { diff --git a/packages/mui-material/src/FormControlLabel/FormControlLabel.js b/packages/mui-material/src/FormControlLabel/FormControlLabel.js index 987309878c3c3b..a8239d30417259 100644 --- a/packages/mui-material/src/FormControlLabel/FormControlLabel.js +++ b/packages/mui-material/src/FormControlLabel/FormControlLabel.js @@ -2,7 +2,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { refType } from '@mui/utils'; +import refType from '@mui/utils/refType'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import { useFormControl } from '../FormControl'; import Stack from '../Stack'; diff --git a/packages/mui-material/src/FormControlLabel/formControlLabelClasses.ts b/packages/mui-material/src/FormControlLabel/formControlLabelClasses.ts index b66860a7a362b5..e5864cfbaf8570 100644 --- a/packages/mui-material/src/FormControlLabel/formControlLabelClasses.ts +++ b/packages/mui-material/src/FormControlLabel/formControlLabelClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface FormControlLabelClasses { diff --git a/packages/mui-material/src/FormGroup/formGroupClasses.ts b/packages/mui-material/src/FormGroup/formGroupClasses.ts index 5f819cfb1ea9a8..8ab034799a885c 100644 --- a/packages/mui-material/src/FormGroup/formGroupClasses.ts +++ b/packages/mui-material/src/FormGroup/formGroupClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface FormGroupClasses { diff --git a/packages/mui-material/src/FormHelperText/formHelperTextClasses.ts b/packages/mui-material/src/FormHelperText/formHelperTextClasses.ts index 63fc30711e2c58..d896da6398c6f3 100644 --- a/packages/mui-material/src/FormHelperText/formHelperTextClasses.ts +++ b/packages/mui-material/src/FormHelperText/formHelperTextClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface FormHelperTextClasses { diff --git a/packages/mui-material/src/FormLabel/formLabelClasses.ts b/packages/mui-material/src/FormLabel/formLabelClasses.ts index ef2265d4bc80fa..97123beb59b9d7 100644 --- a/packages/mui-material/src/FormLabel/formLabelClasses.ts +++ b/packages/mui-material/src/FormLabel/formLabelClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface FormLabelClasses { diff --git a/packages/mui-material/src/Grid/gridClasses.ts b/packages/mui-material/src/Grid/gridClasses.ts index 98e24cbc5f0a16..e0c4435616678d 100644 --- a/packages/mui-material/src/Grid/gridClasses.ts +++ b/packages/mui-material/src/Grid/gridClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface GridClasses { diff --git a/packages/mui-material/src/Grow/Grow.js b/packages/mui-material/src/Grow/Grow.js index 1eab0e0dad32ef..da619b92cf19cc 100644 --- a/packages/mui-material/src/Grow/Grow.js +++ b/packages/mui-material/src/Grow/Grow.js @@ -1,7 +1,7 @@ 'use client'; import * as React from 'react'; import PropTypes from 'prop-types'; -import { elementAcceptingRef } from '@mui/utils'; +import elementAcceptingRef from '@mui/utils/elementAcceptingRef'; import { Transition } from 'react-transition-group'; import useTheme from '../styles/useTheme'; import { getTransitionProps, reflow } from '../transitions/utils'; diff --git a/packages/mui-material/src/Hidden/HiddenJs.js b/packages/mui-material/src/Hidden/HiddenJs.js index 5b718c09c008e8..b591452cef6299 100644 --- a/packages/mui-material/src/Hidden/HiddenJs.js +++ b/packages/mui-material/src/Hidden/HiddenJs.js @@ -1,7 +1,7 @@ 'use client'; import * as React from 'react'; import PropTypes from 'prop-types'; -import { exactProp } from '@mui/utils'; +import exactProp from '@mui/utils/exactProp'; import withWidth, { isWidthDown, isWidthUp } from './withWidth'; import useTheme from '../styles/useTheme'; diff --git a/packages/mui-material/src/Hidden/hiddenCssClasses.js b/packages/mui-material/src/Hidden/hiddenCssClasses.js index 8863d10b19ca82..871f04a917dd07 100644 --- a/packages/mui-material/src/Hidden/hiddenCssClasses.js +++ b/packages/mui-material/src/Hidden/hiddenCssClasses.js @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export function getHiddenCssUtilityClass(slot) { diff --git a/packages/mui-material/src/Hidden/withWidth.js b/packages/mui-material/src/Hidden/withWidth.js index 276ba00f470684..33e6407158c536 100644 --- a/packages/mui-material/src/Hidden/withWidth.js +++ b/packages/mui-material/src/Hidden/withWidth.js @@ -1,6 +1,6 @@ import * as React from 'react'; import PropTypes from 'prop-types'; -import { getDisplayName } from '@mui/utils'; +import getDisplayName from '@mui/utils/getDisplayName'; import { getThemeProps } from '@mui/system'; import useTheme from '../styles/useTheme'; import useEnhancedEffect from '../utils/useEnhancedEffect'; diff --git a/packages/mui-material/src/Icon/iconClasses.ts b/packages/mui-material/src/Icon/iconClasses.ts index 6d6380600d1652..dbe6ffac45c5db 100644 --- a/packages/mui-material/src/Icon/iconClasses.ts +++ b/packages/mui-material/src/Icon/iconClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface IconClasses { diff --git a/packages/mui-material/src/IconButton/IconButton.js b/packages/mui-material/src/IconButton/IconButton.js index d2d608d06efdbe..1c014c35945feb 100644 --- a/packages/mui-material/src/IconButton/IconButton.js +++ b/packages/mui-material/src/IconButton/IconButton.js @@ -2,7 +2,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { chainPropTypes } from '@mui/utils'; +import chainPropTypes from '@mui/utils/chainPropTypes'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import { alpha } from '@mui/system'; import styled from '../styles/styled'; diff --git a/packages/mui-material/src/IconButton/IconButton.test.js b/packages/mui-material/src/IconButton/IconButton.test.js index 7c744f92a59c47..f282aed1da1b08 100644 --- a/packages/mui-material/src/IconButton/IconButton.test.js +++ b/packages/mui-material/src/IconButton/IconButton.test.js @@ -2,7 +2,7 @@ import * as React from 'react'; import { expect } from 'chai'; import PropTypes from 'prop-types'; import { createRenderer, describeConformance } from '@mui-internal/test-utils'; -import { unstable_capitalize as capitalize } from '@mui/utils'; +import capitalize from '@mui/utils/capitalize'; import { ThemeProvider, createTheme } from '@mui/material/styles'; import IconButton, { iconButtonClasses as classes } from '@mui/material/IconButton'; import Icon from '@mui/material/Icon'; diff --git a/packages/mui-material/src/IconButton/iconButtonClasses.ts b/packages/mui-material/src/IconButton/iconButtonClasses.ts index dab11255d29866..c6c84965f2feb3 100644 --- a/packages/mui-material/src/IconButton/iconButtonClasses.ts +++ b/packages/mui-material/src/IconButton/iconButtonClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface IconButtonClasses { diff --git a/packages/mui-material/src/ImageList/ImageList.js b/packages/mui-material/src/ImageList/ImageList.js index fe42660b09f95e..fa2149a5cfee1c 100644 --- a/packages/mui-material/src/ImageList/ImageList.js +++ b/packages/mui-material/src/ImageList/ImageList.js @@ -1,6 +1,6 @@ 'use client'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; -import { integerPropType } from '@mui/utils'; +import integerPropType from '@mui/utils/integerPropType'; import clsx from 'clsx'; import PropTypes from 'prop-types'; import * as React from 'react'; diff --git a/packages/mui-material/src/ImageList/imageListClasses.ts b/packages/mui-material/src/ImageList/imageListClasses.ts index 2946d6e761a502..028f5b3eac47b5 100644 --- a/packages/mui-material/src/ImageList/imageListClasses.ts +++ b/packages/mui-material/src/ImageList/imageListClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ImageListClasses { diff --git a/packages/mui-material/src/ImageListItem/ImageListItem.js b/packages/mui-material/src/ImageListItem/ImageListItem.js index 3b6345586d0a83..c310bdc2e0bbc3 100644 --- a/packages/mui-material/src/ImageListItem/ImageListItem.js +++ b/packages/mui-material/src/ImageListItem/ImageListItem.js @@ -1,6 +1,6 @@ 'use client'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; -import { integerPropType } from '@mui/utils'; +import integerPropType from '@mui/utils/integerPropType'; import clsx from 'clsx'; import PropTypes from 'prop-types'; import * as React from 'react'; diff --git a/packages/mui-material/src/ImageListItem/imageListItemClasses.ts b/packages/mui-material/src/ImageListItem/imageListItemClasses.ts index 955f01fab5e478..c03f73d79f20ea 100644 --- a/packages/mui-material/src/ImageListItem/imageListItemClasses.ts +++ b/packages/mui-material/src/ImageListItem/imageListItemClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ImageListItemClasses { diff --git a/packages/mui-material/src/ImageListItemBar/imageListItemBarClasses.ts b/packages/mui-material/src/ImageListItemBar/imageListItemBarClasses.ts index cab414efe5a2e2..c351b752db1307 100644 --- a/packages/mui-material/src/ImageListItemBar/imageListItemBarClasses.ts +++ b/packages/mui-material/src/ImageListItemBar/imageListItemBarClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ImageListItemBarClasses { diff --git a/packages/mui-material/src/Input/Input.js b/packages/mui-material/src/Input/Input.js index a2f00732098cfb..91ea256b826b50 100644 --- a/packages/mui-material/src/Input/Input.js +++ b/packages/mui-material/src/Input/Input.js @@ -2,7 +2,8 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; -import { refType, deepmerge } from '@mui/utils'; +import refType from '@mui/utils/refType'; +import deepmerge from '@mui/utils/deepmerge'; import InputBase from '../InputBase'; import styled, { rootShouldForwardProp } from '../styles/styled'; import useThemeProps from '../styles/useThemeProps'; diff --git a/packages/mui-material/src/Input/inputClasses.ts b/packages/mui-material/src/Input/inputClasses.ts index 96aab43356b70f..fa1bfe7179184a 100644 --- a/packages/mui-material/src/Input/inputClasses.ts +++ b/packages/mui-material/src/Input/inputClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; import { inputBaseClasses } from '../InputBase'; diff --git a/packages/mui-material/src/InputAdornment/inputAdornmentClasses.ts b/packages/mui-material/src/InputAdornment/inputAdornmentClasses.ts index b25a9dee39525c..55a55f35405a78 100644 --- a/packages/mui-material/src/InputAdornment/inputAdornmentClasses.ts +++ b/packages/mui-material/src/InputAdornment/inputAdornmentClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface InputAdornmentClasses { diff --git a/packages/mui-material/src/InputBase/InputBase.js b/packages/mui-material/src/InputBase/InputBase.js index f4755806d86f5f..a3ed6e8ba84d4f 100644 --- a/packages/mui-material/src/InputBase/InputBase.js +++ b/packages/mui-material/src/InputBase/InputBase.js @@ -2,7 +2,8 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { refType, elementTypeAcceptingRef } from '@mui/utils'; +import refType from '@mui/utils/refType'; +import elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef'; import MuiError from '@mui/utils/macros/MuiError.macro'; import { unstable_composeClasses as composeClasses, diff --git a/packages/mui-material/src/InputBase/inputBaseClasses.ts b/packages/mui-material/src/InputBase/inputBaseClasses.ts index b78a951ec63ede..6ceedc00f86a11 100644 --- a/packages/mui-material/src/InputBase/inputBaseClasses.ts +++ b/packages/mui-material/src/InputBase/inputBaseClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface InputBaseClasses { diff --git a/packages/mui-material/src/InputLabel/inputLabelClasses.ts b/packages/mui-material/src/InputLabel/inputLabelClasses.ts index a49929ce3b79f4..25203f8ce1ea77 100644 --- a/packages/mui-material/src/InputLabel/inputLabelClasses.ts +++ b/packages/mui-material/src/InputLabel/inputLabelClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface InputLabelClasses { diff --git a/packages/mui-material/src/LinearProgress/linearProgressClasses.ts b/packages/mui-material/src/LinearProgress/linearProgressClasses.ts index 11eb79e8a44607..7a6a726681b877 100644 --- a/packages/mui-material/src/LinearProgress/linearProgressClasses.ts +++ b/packages/mui-material/src/LinearProgress/linearProgressClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface LinearProgressClasses { diff --git a/packages/mui-material/src/Link/Link.js b/packages/mui-material/src/Link/Link.js index b82aa6d5450efb..8aac3115bfad1b 100644 --- a/packages/mui-material/src/Link/Link.js +++ b/packages/mui-material/src/Link/Link.js @@ -2,7 +2,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { elementTypeAcceptingRef } from '@mui/utils'; +import elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import capitalize from '../utils/capitalize'; import styled from '../styles/styled'; diff --git a/packages/mui-material/src/Link/linkClasses.ts b/packages/mui-material/src/Link/linkClasses.ts index dc2bff1d844853..bbe854f6a32cbb 100644 --- a/packages/mui-material/src/Link/linkClasses.ts +++ b/packages/mui-material/src/Link/linkClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface LinkClasses { diff --git a/packages/mui-material/src/List/listClasses.ts b/packages/mui-material/src/List/listClasses.ts index 1cf02244605dfa..f69cc560e96663 100644 --- a/packages/mui-material/src/List/listClasses.ts +++ b/packages/mui-material/src/List/listClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ListClasses { diff --git a/packages/mui-material/src/ListItem/ListItem.js b/packages/mui-material/src/ListItem/ListItem.js index 8b00bb27e7f3ed..0be2204721fd98 100644 --- a/packages/mui-material/src/ListItem/ListItem.js +++ b/packages/mui-material/src/ListItem/ListItem.js @@ -3,7 +3,8 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { unstable_composeClasses as composeClasses, isHostComponent } from '@mui/base'; -import { chainPropTypes, elementTypeAcceptingRef } from '@mui/utils'; +import chainPropTypes from '@mui/utils/chainPropTypes'; +import elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef'; import { alpha } from '@mui/system'; import styled from '../styles/styled'; import useThemeProps from '../styles/useThemeProps'; diff --git a/packages/mui-material/src/ListItem/listItemClasses.ts b/packages/mui-material/src/ListItem/listItemClasses.ts index 0e281a6aafb7f0..a43eadea79c7a4 100644 --- a/packages/mui-material/src/ListItem/listItemClasses.ts +++ b/packages/mui-material/src/ListItem/listItemClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ListItemClasses { diff --git a/packages/mui-material/src/ListItemAvatar/listItemAvatarClasses.ts b/packages/mui-material/src/ListItemAvatar/listItemAvatarClasses.ts index f528e7b1ddd2ba..1e5b512aa78c00 100644 --- a/packages/mui-material/src/ListItemAvatar/listItemAvatarClasses.ts +++ b/packages/mui-material/src/ListItemAvatar/listItemAvatarClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ListItemAvatarClasses { diff --git a/packages/mui-material/src/ListItemButton/listItemButtonClasses.ts b/packages/mui-material/src/ListItemButton/listItemButtonClasses.ts index e70f645aef4646..b6e816d029633a 100644 --- a/packages/mui-material/src/ListItemButton/listItemButtonClasses.ts +++ b/packages/mui-material/src/ListItemButton/listItemButtonClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ListItemButtonClasses { diff --git a/packages/mui-material/src/ListItemIcon/listItemIconClasses.ts b/packages/mui-material/src/ListItemIcon/listItemIconClasses.ts index 8f4e0105d25472..355cd2fe6ea0ae 100644 --- a/packages/mui-material/src/ListItemIcon/listItemIconClasses.ts +++ b/packages/mui-material/src/ListItemIcon/listItemIconClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ListItemIconClasses { diff --git a/packages/mui-material/src/ListItemSecondaryAction/listItemSecondaryActionClasses.ts b/packages/mui-material/src/ListItemSecondaryAction/listItemSecondaryActionClasses.ts index acddf1220741a3..b3ea3c315bca9a 100644 --- a/packages/mui-material/src/ListItemSecondaryAction/listItemSecondaryActionClasses.ts +++ b/packages/mui-material/src/ListItemSecondaryAction/listItemSecondaryActionClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ListItemSecondaryActionClasses { diff --git a/packages/mui-material/src/ListItemText/listItemTextClasses.ts b/packages/mui-material/src/ListItemText/listItemTextClasses.ts index b4c47a38be8f88..f7abfd6fd58910 100644 --- a/packages/mui-material/src/ListItemText/listItemTextClasses.ts +++ b/packages/mui-material/src/ListItemText/listItemTextClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ListItemTextClasses { diff --git a/packages/mui-material/src/Menu/Menu.js b/packages/mui-material/src/Menu/Menu.js index 0643211bd3b3cb..aa4d34bfb105e1 100644 --- a/packages/mui-material/src/Menu/Menu.js +++ b/packages/mui-material/src/Menu/Menu.js @@ -5,7 +5,7 @@ import PropTypes from 'prop-types'; import clsx from 'clsx'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import { useSlotProps } from '@mui/base/utils'; -import { HTMLElementType } from '@mui/utils'; +import HTMLElementType from '@mui/utils/HTMLElementType'; import MenuList from '../MenuList'; import Popover, { PopoverPaper } from '../Popover'; import styled, { rootShouldForwardProp } from '../styles/styled'; diff --git a/packages/mui-material/src/Menu/menuClasses.ts b/packages/mui-material/src/Menu/menuClasses.ts index e863bdae2d0937..94b8f791cc604a 100644 --- a/packages/mui-material/src/Menu/menuClasses.ts +++ b/packages/mui-material/src/Menu/menuClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface MenuClasses { diff --git a/packages/mui-material/src/MenuItem/menuItemClasses.ts b/packages/mui-material/src/MenuItem/menuItemClasses.ts index 673f5f028b2140..88aacc72d3d499 100644 --- a/packages/mui-material/src/MenuItem/menuItemClasses.ts +++ b/packages/mui-material/src/MenuItem/menuItemClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface MenuItemClasses { diff --git a/packages/mui-material/src/MobileStepper/MobileStepper.js b/packages/mui-material/src/MobileStepper/MobileStepper.js index a676fd4670f09d..1ad8b5f4d44b7f 100644 --- a/packages/mui-material/src/MobileStepper/MobileStepper.js +++ b/packages/mui-material/src/MobileStepper/MobileStepper.js @@ -2,7 +2,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { integerPropType } from '@mui/utils'; +import integerPropType from '@mui/utils/integerPropType'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import Paper from '../Paper'; import capitalize from '../utils/capitalize'; diff --git a/packages/mui-material/src/MobileStepper/mobileStepperClasses.ts b/packages/mui-material/src/MobileStepper/mobileStepperClasses.ts index c7cb0290c10d8d..a597a8d30adabc 100644 --- a/packages/mui-material/src/MobileStepper/mobileStepperClasses.ts +++ b/packages/mui-material/src/MobileStepper/mobileStepperClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface MobileStepperClasses { diff --git a/packages/mui-material/src/Modal/Modal.js b/packages/mui-material/src/Modal/Modal.js index 1587a668aeb392..76a88742ed82c5 100644 --- a/packages/mui-material/src/Modal/Modal.js +++ b/packages/mui-material/src/Modal/Modal.js @@ -2,7 +2,8 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { elementAcceptingRef, HTMLElementType } from '@mui/utils'; +import elementAcceptingRef from '@mui/utils/elementAcceptingRef'; +import HTMLElementType from '@mui/utils/HTMLElementType'; import { useSlotProps } from '@mui/base'; import { unstable_useModal as useModal } from '@mui/base/unstable_useModal'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; diff --git a/packages/mui-material/src/Modal/modalClasses.ts b/packages/mui-material/src/Modal/modalClasses.ts index 454e43abced56c..8e2f71399b43c5 100644 --- a/packages/mui-material/src/Modal/modalClasses.ts +++ b/packages/mui-material/src/Modal/modalClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ModalClasses { diff --git a/packages/mui-material/src/NativeSelect/NativeSelectInput.js b/packages/mui-material/src/NativeSelect/NativeSelectInput.js index d0c88089f1ff3e..5f5bb723ec5476 100644 --- a/packages/mui-material/src/NativeSelect/NativeSelectInput.js +++ b/packages/mui-material/src/NativeSelect/NativeSelectInput.js @@ -2,7 +2,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { refType } from '@mui/utils'; +import refType from '@mui/utils/refType'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import capitalize from '../utils/capitalize'; import nativeSelectClasses, { getNativeSelectUtilityClasses } from './nativeSelectClasses'; diff --git a/packages/mui-material/src/NativeSelect/nativeSelectClasses.ts b/packages/mui-material/src/NativeSelect/nativeSelectClasses.ts index 4d387b0cb9826e..29803a180b9584 100644 --- a/packages/mui-material/src/NativeSelect/nativeSelectClasses.ts +++ b/packages/mui-material/src/NativeSelect/nativeSelectClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface NativeSelectClasses { diff --git a/packages/mui-material/src/OutlinedInput/OutlinedInput.js b/packages/mui-material/src/OutlinedInput/OutlinedInput.js index 4a73e2720cb809..6f98b28ff0b4e1 100644 --- a/packages/mui-material/src/OutlinedInput/OutlinedInput.js +++ b/packages/mui-material/src/OutlinedInput/OutlinedInput.js @@ -1,7 +1,7 @@ 'use client'; import * as React from 'react'; import PropTypes from 'prop-types'; -import { refType } from '@mui/utils'; +import refType from '@mui/utils/refType'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import NotchedOutline from './NotchedOutline'; import useFormControl from '../FormControl/useFormControl'; diff --git a/packages/mui-material/src/OutlinedInput/outlinedInputClasses.ts b/packages/mui-material/src/OutlinedInput/outlinedInputClasses.ts index 86aaa1e0e0302f..f8550006c0c982 100644 --- a/packages/mui-material/src/OutlinedInput/outlinedInputClasses.ts +++ b/packages/mui-material/src/OutlinedInput/outlinedInputClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; import { inputBaseClasses } from '../InputBase'; diff --git a/packages/mui-material/src/Pagination/Pagination.js b/packages/mui-material/src/Pagination/Pagination.js index 03bfa1cf2ec6e1..4a178f3e70d20d 100644 --- a/packages/mui-material/src/Pagination/Pagination.js +++ b/packages/mui-material/src/Pagination/Pagination.js @@ -3,7 +3,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; -import { integerPropType } from '@mui/utils'; +import integerPropType from '@mui/utils/integerPropType'; import useThemeProps from '../styles/useThemeProps'; import { getPaginationUtilityClass } from './paginationClasses'; import usePagination from '../usePagination'; diff --git a/packages/mui-material/src/Pagination/paginationClasses.ts b/packages/mui-material/src/Pagination/paginationClasses.ts index 0d235c03f98640..1c572438157e4c 100644 --- a/packages/mui-material/src/Pagination/paginationClasses.ts +++ b/packages/mui-material/src/Pagination/paginationClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface PaginationClasses { diff --git a/packages/mui-material/src/PaginationItem/paginationItemClasses.ts b/packages/mui-material/src/PaginationItem/paginationItemClasses.ts index 600bfce121c628..944a9350fb4bf6 100644 --- a/packages/mui-material/src/PaginationItem/paginationItemClasses.ts +++ b/packages/mui-material/src/PaginationItem/paginationItemClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface PaginationItemClasses { diff --git a/packages/mui-material/src/Paper/Paper.js b/packages/mui-material/src/Paper/Paper.js index 867bcad6cf0b00..6262e4af5573f6 100644 --- a/packages/mui-material/src/Paper/Paper.js +++ b/packages/mui-material/src/Paper/Paper.js @@ -2,7 +2,8 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { chainPropTypes, integerPropType } from '@mui/utils'; +import chainPropTypes from '@mui/utils/chainPropTypes'; +import integerPropType from '@mui/utils/integerPropType'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import { alpha } from '@mui/system'; import styled from '../styles/styled'; diff --git a/packages/mui-material/src/Paper/paperClasses.ts b/packages/mui-material/src/Paper/paperClasses.ts index df9edc65a81804..808046419a3d71 100644 --- a/packages/mui-material/src/Paper/paperClasses.ts +++ b/packages/mui-material/src/Paper/paperClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface PaperClasses { diff --git a/packages/mui-material/src/Popover/popoverClasses.ts b/packages/mui-material/src/Popover/popoverClasses.ts index 9e9b6f92188db9..c104269f921af4 100644 --- a/packages/mui-material/src/Popover/popoverClasses.ts +++ b/packages/mui-material/src/Popover/popoverClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface PopoverClasses { diff --git a/packages/mui-material/src/Popper/Popper.tsx b/packages/mui-material/src/Popper/Popper.tsx index f0a62e5ecf9ca8..6a6deb41b656da 100644 --- a/packages/mui-material/src/Popper/Popper.tsx +++ b/packages/mui-material/src/Popper/Popper.tsx @@ -1,7 +1,8 @@ 'use client'; import { Popper as BasePopper, PopperProps as BasePopperProps } from '@mui/base/Popper'; import { Direction, SxProps, useThemeWithoutDefault as useTheme } from '@mui/system'; -import { HTMLElementType, refType } from '@mui/utils'; +import HTMLElementType from '@mui/utils/HTMLElementType'; +import refType from '@mui/utils/refType'; import PropTypes from 'prop-types'; import * as React from 'react'; import { styled, Theme, useThemeProps } from '../styles'; diff --git a/packages/mui-material/src/Radio/Radio.js b/packages/mui-material/src/Radio/Radio.js index cc55b42392b224..ae98b2812abbe5 100644 --- a/packages/mui-material/src/Radio/Radio.js +++ b/packages/mui-material/src/Radio/Radio.js @@ -2,7 +2,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { refType } from '@mui/utils'; +import refType from '@mui/utils/refType'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import { alpha } from '@mui/system'; import SwitchBase from '../internal/SwitchBase'; diff --git a/packages/mui-material/src/Radio/radioClasses.ts b/packages/mui-material/src/Radio/radioClasses.ts index 952a87a66349ff..77eb9c8cee0df8 100644 --- a/packages/mui-material/src/Radio/radioClasses.ts +++ b/packages/mui-material/src/Radio/radioClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface RadioClasses { diff --git a/packages/mui-material/src/Rating/Rating.js b/packages/mui-material/src/Rating/Rating.js index dd171574b0322f..0c884a744dd477 100644 --- a/packages/mui-material/src/Rating/Rating.js +++ b/packages/mui-material/src/Rating/Rating.js @@ -2,7 +2,8 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { chainPropTypes, visuallyHidden } from '@mui/utils'; +import chainPropTypes from '@mui/utils/chainPropTypes'; +import visuallyHidden from '@mui/utils/visuallyHidden'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import useTheme from '../styles/useTheme'; import { diff --git a/packages/mui-material/src/Rating/ratingClasses.ts b/packages/mui-material/src/Rating/ratingClasses.ts index d49e83643146a3..38164424321df8 100644 --- a/packages/mui-material/src/Rating/ratingClasses.ts +++ b/packages/mui-material/src/Rating/ratingClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface RatingClasses { diff --git a/packages/mui-material/src/ScopedCssBaseline/scopedCssBaselineClasses.ts b/packages/mui-material/src/ScopedCssBaseline/scopedCssBaselineClasses.ts index f25edb8d9dc026..d6d07627b33a83 100644 --- a/packages/mui-material/src/ScopedCssBaseline/scopedCssBaselineClasses.ts +++ b/packages/mui-material/src/ScopedCssBaseline/scopedCssBaselineClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ScopedCssBaselineClasses { diff --git a/packages/mui-material/src/Select/Select.js b/packages/mui-material/src/Select/Select.js index 97fcc1c6817d9c..59f84fb5cddcd2 100644 --- a/packages/mui-material/src/Select/Select.js +++ b/packages/mui-material/src/Select/Select.js @@ -2,7 +2,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { deepmerge } from '@mui/utils'; +import deepmerge from '@mui/utils/deepmerge'; import SelectInput from './SelectInput'; import formControlState from '../FormControl/formControlState'; import useFormControl from '../FormControl/useFormControl'; diff --git a/packages/mui-material/src/Select/SelectInput.js b/packages/mui-material/src/Select/SelectInput.js index 9c36c98f142ef0..d1fac88118e6e9 100644 --- a/packages/mui-material/src/Select/SelectInput.js +++ b/packages/mui-material/src/Select/SelectInput.js @@ -5,7 +5,8 @@ import PropTypes from 'prop-types'; import clsx from 'clsx'; import MuiError from '@mui/utils/macros/MuiError.macro'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; -import { refType, unstable_useId as useId } from '@mui/utils'; +import refType from '@mui/utils/refType'; +import useId from '@mui/utils/useId'; import ownerDocument from '../utils/ownerDocument'; import capitalize from '../utils/capitalize'; import Menu from '../Menu/Menu'; diff --git a/packages/mui-material/src/Select/selectClasses.ts b/packages/mui-material/src/Select/selectClasses.ts index 583c40fe84e529..1aa8ed12a1c467 100644 --- a/packages/mui-material/src/Select/selectClasses.ts +++ b/packages/mui-material/src/Select/selectClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface SelectClasses { diff --git a/packages/mui-material/src/Skeleton/skeletonClasses.ts b/packages/mui-material/src/Skeleton/skeletonClasses.ts index b57813f9d176b3..ae66314548fc3e 100644 --- a/packages/mui-material/src/Skeleton/skeletonClasses.ts +++ b/packages/mui-material/src/Skeleton/skeletonClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface SkeletonClasses { diff --git a/packages/mui-material/src/Slide/Slide.js b/packages/mui-material/src/Slide/Slide.js index 0f9f7ee7a4b19b..3c3e945e3bcbbf 100644 --- a/packages/mui-material/src/Slide/Slide.js +++ b/packages/mui-material/src/Slide/Slide.js @@ -2,7 +2,9 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import { Transition } from 'react-transition-group'; -import { elementAcceptingRef, HTMLElementType, chainPropTypes } from '@mui/utils'; +import elementAcceptingRef from '@mui/utils/elementAcceptingRef'; +import HTMLElementType from '@mui/utils/HTMLElementType'; +import chainPropTypes from '@mui/utils/chainPropTypes'; import debounce from '../utils/debounce'; import useForkRef from '../utils/useForkRef'; import useTheme from '../styles/useTheme'; diff --git a/packages/mui-material/src/Slider/Slider.js b/packages/mui-material/src/Slider/Slider.js index 704f90a398acb5..a65eaee4f22e80 100644 --- a/packages/mui-material/src/Slider/Slider.js +++ b/packages/mui-material/src/Slider/Slider.js @@ -2,7 +2,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { chainPropTypes } from '@mui/utils'; +import chainPropTypes from '@mui/utils/chainPropTypes'; import { isHostComponent, useSlotProps, diff --git a/packages/mui-material/src/Slider/sliderClasses.ts b/packages/mui-material/src/Slider/sliderClasses.ts index 965d8126c883d4..53cc0edf6c8d61 100644 --- a/packages/mui-material/src/Slider/sliderClasses.ts +++ b/packages/mui-material/src/Slider/sliderClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface SliderClasses { diff --git a/packages/mui-material/src/Snackbar/snackbarClasses.ts b/packages/mui-material/src/Snackbar/snackbarClasses.ts index 856f951ca2604d..7d6967deb7c63e 100644 --- a/packages/mui-material/src/Snackbar/snackbarClasses.ts +++ b/packages/mui-material/src/Snackbar/snackbarClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface SnackbarClasses { diff --git a/packages/mui-material/src/SnackbarContent/snackbarContentClasses.ts b/packages/mui-material/src/SnackbarContent/snackbarContentClasses.ts index 0c383afc0c27f6..401121d53f0ecf 100644 --- a/packages/mui-material/src/SnackbarContent/snackbarContentClasses.ts +++ b/packages/mui-material/src/SnackbarContent/snackbarContentClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface SnackbarContentClasses { diff --git a/packages/mui-material/src/SpeedDial/speedDialClasses.ts b/packages/mui-material/src/SpeedDial/speedDialClasses.ts index bf2a71ada4942a..a9732cb46a5c1f 100644 --- a/packages/mui-material/src/SpeedDial/speedDialClasses.ts +++ b/packages/mui-material/src/SpeedDial/speedDialClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface SpeedDialClasses { diff --git a/packages/mui-material/src/SpeedDialAction/speedDialActionClasses.ts b/packages/mui-material/src/SpeedDialAction/speedDialActionClasses.ts index b25848998ac2c4..66e50817d85e90 100644 --- a/packages/mui-material/src/SpeedDialAction/speedDialActionClasses.ts +++ b/packages/mui-material/src/SpeedDialAction/speedDialActionClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface SpeedDialActionClasses { diff --git a/packages/mui-material/src/SpeedDialIcon/speedDialIconClasses.ts b/packages/mui-material/src/SpeedDialIcon/speedDialIconClasses.ts index b0bb324441b886..77d5137a58ac64 100644 --- a/packages/mui-material/src/SpeedDialIcon/speedDialIconClasses.ts +++ b/packages/mui-material/src/SpeedDialIcon/speedDialIconClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface SpeedDialIconClasses { diff --git a/packages/mui-material/src/Stack/stackClasses.ts b/packages/mui-material/src/Stack/stackClasses.ts index f8fa09fb8dc005..0c823a76180faa 100644 --- a/packages/mui-material/src/Stack/stackClasses.ts +++ b/packages/mui-material/src/Stack/stackClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import { StackClasses } from '@mui/system'; import generateUtilityClass from '../generateUtilityClass'; diff --git a/packages/mui-material/src/Step/Step.js b/packages/mui-material/src/Step/Step.js index 67ff8ccd40fcb8..d08daf07c1e747 100644 --- a/packages/mui-material/src/Step/Step.js +++ b/packages/mui-material/src/Step/Step.js @@ -2,7 +2,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { integerPropType } from '@mui/utils'; +import integerPropType from '@mui/utils/integerPropType'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import StepperContext from '../Stepper/StepperContext'; import StepContext from './StepContext'; diff --git a/packages/mui-material/src/Step/stepClasses.ts b/packages/mui-material/src/Step/stepClasses.ts index bdce180e2d9c2a..51739104e64e12 100644 --- a/packages/mui-material/src/Step/stepClasses.ts +++ b/packages/mui-material/src/Step/stepClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface StepClasses { diff --git a/packages/mui-material/src/StepButton/stepButtonClasses.ts b/packages/mui-material/src/StepButton/stepButtonClasses.ts index 33769f571a5d89..b3565ccf346def 100644 --- a/packages/mui-material/src/StepButton/stepButtonClasses.ts +++ b/packages/mui-material/src/StepButton/stepButtonClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface StepButtonClasses { diff --git a/packages/mui-material/src/StepConnector/stepConnectorClasses.ts b/packages/mui-material/src/StepConnector/stepConnectorClasses.ts index 702ec2db5ffb77..d29851adb0d8aa 100644 --- a/packages/mui-material/src/StepConnector/stepConnectorClasses.ts +++ b/packages/mui-material/src/StepConnector/stepConnectorClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface StepConnectorClasses { diff --git a/packages/mui-material/src/StepContent/stepContentClasses.ts b/packages/mui-material/src/StepContent/stepContentClasses.ts index 8a8298d90fd2d4..209005f4d3094a 100644 --- a/packages/mui-material/src/StepContent/stepContentClasses.ts +++ b/packages/mui-material/src/StepContent/stepContentClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface StepContentClasses { diff --git a/packages/mui-material/src/StepIcon/stepIconClasses.ts b/packages/mui-material/src/StepIcon/stepIconClasses.ts index d36d8262a7437a..5b5bbd594f4c2f 100644 --- a/packages/mui-material/src/StepIcon/stepIconClasses.ts +++ b/packages/mui-material/src/StepIcon/stepIconClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface StepIconClasses { diff --git a/packages/mui-material/src/StepLabel/stepLabelClasses.ts b/packages/mui-material/src/StepLabel/stepLabelClasses.ts index 6bb844167f665b..02f916334d87ae 100644 --- a/packages/mui-material/src/StepLabel/stepLabelClasses.ts +++ b/packages/mui-material/src/StepLabel/stepLabelClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface StepLabelClasses { diff --git a/packages/mui-material/src/Stepper/Stepper.js b/packages/mui-material/src/Stepper/Stepper.js index 6fbfe92df6ffdd..760c29b6152340 100644 --- a/packages/mui-material/src/Stepper/Stepper.js +++ b/packages/mui-material/src/Stepper/Stepper.js @@ -2,7 +2,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { integerPropType } from '@mui/utils'; +import integerPropType from '@mui/utils/integerPropType'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import useThemeProps from '../styles/useThemeProps'; import styled from '../styles/styled'; diff --git a/packages/mui-material/src/Stepper/stepperClasses.ts b/packages/mui-material/src/Stepper/stepperClasses.ts index bcad97a9a9019d..530f6bb383e78a 100644 --- a/packages/mui-material/src/Stepper/stepperClasses.ts +++ b/packages/mui-material/src/Stepper/stepperClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface StepperClasses { diff --git a/packages/mui-material/src/SvgIcon/svgIconClasses.ts b/packages/mui-material/src/SvgIcon/svgIconClasses.ts index a332fc38474f8e..44c8a6d4f829a9 100644 --- a/packages/mui-material/src/SvgIcon/svgIconClasses.ts +++ b/packages/mui-material/src/SvgIcon/svgIconClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface SvgIconClasses { diff --git a/packages/mui-material/src/SwipeableDrawer/SwipeableDrawer.js b/packages/mui-material/src/SwipeableDrawer/SwipeableDrawer.js index 524d5afba37809..e842ea20a1e142 100644 --- a/packages/mui-material/src/SwipeableDrawer/SwipeableDrawer.js +++ b/packages/mui-material/src/SwipeableDrawer/SwipeableDrawer.js @@ -2,7 +2,7 @@ import * as React from 'react'; import * as ReactDOM from 'react-dom'; import PropTypes from 'prop-types'; -import { elementTypeAcceptingRef } from '@mui/utils'; +import elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef'; import { useThemeProps } from '@mui/system'; import { NoSsr } from '@mui/base'; import Drawer, { getAnchor, isHorizontal } from '../Drawer/Drawer'; diff --git a/packages/mui-material/src/Switch/Switch.js b/packages/mui-material/src/Switch/Switch.js index cb3ab5edb0c47b..bb4a7cefef5838 100644 --- a/packages/mui-material/src/Switch/Switch.js +++ b/packages/mui-material/src/Switch/Switch.js @@ -3,7 +3,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { refType } from '@mui/utils'; +import refType from '@mui/utils/refType'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import { alpha, darken, lighten } from '@mui/system'; import capitalize from '../utils/capitalize'; diff --git a/packages/mui-material/src/Switch/switchClasses.ts b/packages/mui-material/src/Switch/switchClasses.ts index ebbd403c09ef98..f4b5d817000e05 100644 --- a/packages/mui-material/src/Switch/switchClasses.ts +++ b/packages/mui-material/src/Switch/switchClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface SwitchClasses { diff --git a/packages/mui-material/src/Tab/tabClasses.ts b/packages/mui-material/src/Tab/tabClasses.ts index 8256d2d799f388..011df545de46b9 100644 --- a/packages/mui-material/src/Tab/tabClasses.ts +++ b/packages/mui-material/src/Tab/tabClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TabClasses { diff --git a/packages/mui-material/src/TabScrollButton/tabScrollButtonClasses.ts b/packages/mui-material/src/TabScrollButton/tabScrollButtonClasses.ts index ec5680c54069dc..0bf0a4279644fa 100644 --- a/packages/mui-material/src/TabScrollButton/tabScrollButtonClasses.ts +++ b/packages/mui-material/src/TabScrollButton/tabScrollButtonClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TabScrollButtonClasses { diff --git a/packages/mui-material/src/Table/tableClasses.ts b/packages/mui-material/src/Table/tableClasses.ts index f752c0e251befe..0f2b0406c2da85 100644 --- a/packages/mui-material/src/Table/tableClasses.ts +++ b/packages/mui-material/src/Table/tableClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TableClasses { diff --git a/packages/mui-material/src/TableBody/tableBodyClasses.ts b/packages/mui-material/src/TableBody/tableBodyClasses.ts index c4854348fd8ba3..205243c5b85195 100644 --- a/packages/mui-material/src/TableBody/tableBodyClasses.ts +++ b/packages/mui-material/src/TableBody/tableBodyClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TableBodyClasses { diff --git a/packages/mui-material/src/TableCell/tableCellClasses.ts b/packages/mui-material/src/TableCell/tableCellClasses.ts index f4c9f07452e5fd..3b2459946efae0 100644 --- a/packages/mui-material/src/TableCell/tableCellClasses.ts +++ b/packages/mui-material/src/TableCell/tableCellClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TableCellClasses { diff --git a/packages/mui-material/src/TableContainer/tableContainerClasses.ts b/packages/mui-material/src/TableContainer/tableContainerClasses.ts index 4adcfb49087f2e..8cd0e53095ec6c 100644 --- a/packages/mui-material/src/TableContainer/tableContainerClasses.ts +++ b/packages/mui-material/src/TableContainer/tableContainerClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TableContainerClasses { diff --git a/packages/mui-material/src/TableFooter/tableFooterClasses.ts b/packages/mui-material/src/TableFooter/tableFooterClasses.ts index 610ae98c4c4265..036a6b4ea43a7f 100644 --- a/packages/mui-material/src/TableFooter/tableFooterClasses.ts +++ b/packages/mui-material/src/TableFooter/tableFooterClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TableFooterClasses { diff --git a/packages/mui-material/src/TableHead/tableHeadClasses.ts b/packages/mui-material/src/TableHead/tableHeadClasses.ts index ec1eed281b93bb..e4e70e466fa6d5 100644 --- a/packages/mui-material/src/TableHead/tableHeadClasses.ts +++ b/packages/mui-material/src/TableHead/tableHeadClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TableHeadClasses { diff --git a/packages/mui-material/src/TablePagination/TablePagination.js b/packages/mui-material/src/TablePagination/TablePagination.js index d3d515d46b1383..913a494cffb5e0 100644 --- a/packages/mui-material/src/TablePagination/TablePagination.js +++ b/packages/mui-material/src/TablePagination/TablePagination.js @@ -2,7 +2,8 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { chainPropTypes, integerPropType } from '@mui/utils'; +import chainPropTypes from '@mui/utils/chainPropTypes'; +import integerPropType from '@mui/utils/integerPropType'; import { unstable_composeClasses as composeClasses, isHostComponent } from '@mui/base'; import styled from '../styles/styled'; import useThemeProps from '../styles/useThemeProps'; diff --git a/packages/mui-material/src/TablePagination/tablePaginationClasses.ts b/packages/mui-material/src/TablePagination/tablePaginationClasses.ts index 9eff0e4a60e60c..b08458271ea406 100644 --- a/packages/mui-material/src/TablePagination/tablePaginationClasses.ts +++ b/packages/mui-material/src/TablePagination/tablePaginationClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TablePaginationClasses { diff --git a/packages/mui-material/src/TableRow/tableRowClasses.ts b/packages/mui-material/src/TableRow/tableRowClasses.ts index cb124f14f6bfee..5987f805cc591a 100644 --- a/packages/mui-material/src/TableRow/tableRowClasses.ts +++ b/packages/mui-material/src/TableRow/tableRowClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TableRowClasses { diff --git a/packages/mui-material/src/TableSortLabel/tableSortLabelClasses.ts b/packages/mui-material/src/TableSortLabel/tableSortLabelClasses.ts index eb7341bf3659b9..94e30b80655e02 100644 --- a/packages/mui-material/src/TableSortLabel/tableSortLabelClasses.ts +++ b/packages/mui-material/src/TableSortLabel/tableSortLabelClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TableSortLabelClasses { diff --git a/packages/mui-material/src/Tabs/Tabs.js b/packages/mui-material/src/Tabs/Tabs.js index 09b955cb310e03..598b98d9f6d105 100644 --- a/packages/mui-material/src/Tabs/Tabs.js +++ b/packages/mui-material/src/Tabs/Tabs.js @@ -3,7 +3,7 @@ import * as React from 'react'; import { isFragment } from 'react-is'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { refType } from '@mui/utils'; +import refType from '@mui/utils/refType'; import { unstable_composeClasses as composeClasses, useSlotProps } from '@mui/base'; import styled from '../styles/styled'; import useThemeProps from '../styles/useThemeProps'; diff --git a/packages/mui-material/src/Tabs/tabsClasses.ts b/packages/mui-material/src/Tabs/tabsClasses.ts index 737875c2d42f79..515300272f198c 100644 --- a/packages/mui-material/src/Tabs/tabsClasses.ts +++ b/packages/mui-material/src/Tabs/tabsClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TabsClasses { diff --git a/packages/mui-material/src/TextField/TextField.js b/packages/mui-material/src/TextField/TextField.js index 4378cdd02b89c2..058d6e93566789 100644 --- a/packages/mui-material/src/TextField/TextField.js +++ b/packages/mui-material/src/TextField/TextField.js @@ -3,7 +3,8 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; -import { refType, unstable_useId as useId } from '@mui/utils'; +import refType from '@mui/utils/refType'; +import useId from '@mui/utils/useId'; import styled from '../styles/styled'; import useThemeProps from '../styles/useThemeProps'; import Input from '../Input'; diff --git a/packages/mui-material/src/TextField/textFieldClasses.ts b/packages/mui-material/src/TextField/textFieldClasses.ts index b3222e631ddb05..a784925282ae9d 100644 --- a/packages/mui-material/src/TextField/textFieldClasses.ts +++ b/packages/mui-material/src/TextField/textFieldClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TextFieldClasses { diff --git a/packages/mui-material/src/ToggleButton/toggleButtonClasses.ts b/packages/mui-material/src/ToggleButton/toggleButtonClasses.ts index 16e1756429f04b..7c989dd799fe97 100644 --- a/packages/mui-material/src/ToggleButton/toggleButtonClasses.ts +++ b/packages/mui-material/src/ToggleButton/toggleButtonClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ToggleButtonClasses { diff --git a/packages/mui-material/src/ToggleButtonGroup/toggleButtonGroupClasses.ts b/packages/mui-material/src/ToggleButtonGroup/toggleButtonGroupClasses.ts index ef4b714f78713e..4be913337ee971 100644 --- a/packages/mui-material/src/ToggleButtonGroup/toggleButtonGroupClasses.ts +++ b/packages/mui-material/src/ToggleButtonGroup/toggleButtonGroupClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ToggleButtonGroupClasses { diff --git a/packages/mui-material/src/Toolbar/toolbarClasses.ts b/packages/mui-material/src/Toolbar/toolbarClasses.ts index 6f5e523fc61d03..fb50c33ba11d00 100644 --- a/packages/mui-material/src/Toolbar/toolbarClasses.ts +++ b/packages/mui-material/src/Toolbar/toolbarClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ToolbarClasses { diff --git a/packages/mui-material/src/Tooltip/Tooltip.js b/packages/mui-material/src/Tooltip/Tooltip.js index 7890a09ae44051..af2d152cdd7458 100644 --- a/packages/mui-material/src/Tooltip/Tooltip.js +++ b/packages/mui-material/src/Tooltip/Tooltip.js @@ -2,7 +2,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { elementAcceptingRef } from '@mui/utils'; +import elementAcceptingRef from '@mui/utils/elementAcceptingRef'; import { unstable_composeClasses as composeClasses, appendOwnerState } from '@mui/base'; import { alpha } from '@mui/system'; import styled from '../styles/styled'; diff --git a/packages/mui-material/src/Tooltip/tooltipClasses.ts b/packages/mui-material/src/Tooltip/tooltipClasses.ts index 733ca74b2651e6..6dc7392b5f340c 100644 --- a/packages/mui-material/src/Tooltip/tooltipClasses.ts +++ b/packages/mui-material/src/Tooltip/tooltipClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TooltipClasses { diff --git a/packages/mui-material/src/Typography/typographyClasses.ts b/packages/mui-material/src/Typography/typographyClasses.ts index a0258415a33830..5e7a75d1853869 100644 --- a/packages/mui-material/src/Typography/typographyClasses.ts +++ b/packages/mui-material/src/Typography/typographyClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TypographyClasses { diff --git a/packages/mui-material/src/Unstable_Grid2/grid2Classes.ts b/packages/mui-material/src/Unstable_Grid2/grid2Classes.ts index 962a0717206b72..606dcf3b62bbb3 100644 --- a/packages/mui-material/src/Unstable_Grid2/grid2Classes.ts +++ b/packages/mui-material/src/Unstable_Grid2/grid2Classes.ts @@ -1,5 +1,5 @@ import { GridClasses } from '@mui/system/Unstable_Grid'; -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export type Grid2ClassKey = keyof GridClasses; diff --git a/packages/mui-material/src/Zoom/Zoom.js b/packages/mui-material/src/Zoom/Zoom.js index b2bc920fce5d07..66ac83d6de974b 100644 --- a/packages/mui-material/src/Zoom/Zoom.js +++ b/packages/mui-material/src/Zoom/Zoom.js @@ -2,7 +2,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import { Transition } from 'react-transition-group'; -import { elementAcceptingRef } from '@mui/utils'; +import elementAcceptingRef from '@mui/utils/elementAcceptingRef'; import useTheme from '../styles/useTheme'; import { reflow, getTransitionProps } from '../transitions/utils'; import useForkRef from '../utils/useForkRef'; diff --git a/packages/mui-material/src/internal/SwitchBase.js b/packages/mui-material/src/internal/SwitchBase.js index ecc2d7735edb23..c57c3b6c8b2dd2 100644 --- a/packages/mui-material/src/internal/SwitchBase.js +++ b/packages/mui-material/src/internal/SwitchBase.js @@ -2,7 +2,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import { refType } from '@mui/utils'; +import refType from '@mui/utils/refType'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import capitalize from '../utils/capitalize'; import styled, { rootShouldForwardProp } from '../styles/styled'; diff --git a/packages/mui-material/src/internal/switchBaseClasses.ts b/packages/mui-material/src/internal/switchBaseClasses.ts index 1062b29b2bbeba..f68505cbf2fbb7 100644 --- a/packages/mui-material/src/internal/switchBaseClasses.ts +++ b/packages/mui-material/src/internal/switchBaseClasses.ts @@ -1,4 +1,4 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; +import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface SwitchBaseClasses { diff --git a/packages/mui-material/src/styles/createMuiStrictModeTheme.js b/packages/mui-material/src/styles/createMuiStrictModeTheme.js index 73a29c693390ab..6974e0013b72f9 100644 --- a/packages/mui-material/src/styles/createMuiStrictModeTheme.js +++ b/packages/mui-material/src/styles/createMuiStrictModeTheme.js @@ -1,4 +1,4 @@ -import { deepmerge } from '@mui/utils'; +import deepmerge from '@mui/utils/deepmerge'; import createTheme from './createTheme'; export default function createMuiStrictModeTheme(options, ...args) { diff --git a/packages/mui-material/src/styles/createPalette.js b/packages/mui-material/src/styles/createPalette.js index 775ee2e55d14e0..6755e38585f511 100644 --- a/packages/mui-material/src/styles/createPalette.js +++ b/packages/mui-material/src/styles/createPalette.js @@ -1,4 +1,4 @@ -import { deepmerge } from '@mui/utils'; +import deepmerge from '@mui/utils/deepmerge'; import MuiError from '@mui/utils/macros/MuiError.macro'; import { darken, getContrastRatio, lighten } from '@mui/system'; import common from '../colors/common'; diff --git a/packages/mui-material/src/styles/createTheme.js b/packages/mui-material/src/styles/createTheme.js index bc1cd8d9673f1f..91e4573f964ca8 100644 --- a/packages/mui-material/src/styles/createTheme.js +++ b/packages/mui-material/src/styles/createTheme.js @@ -1,4 +1,4 @@ -import { deepmerge } from '@mui/utils'; +import deepmerge from '@mui/utils/deepmerge'; import { createTheme as systemCreateTheme, unstable_defaultSxConfig as defaultSxConfig, diff --git a/packages/mui-material/src/styles/createTypography.js b/packages/mui-material/src/styles/createTypography.js index 8d2c6ed73e8c46..277808d2a7ec0c 100644 --- a/packages/mui-material/src/styles/createTypography.js +++ b/packages/mui-material/src/styles/createTypography.js @@ -1,4 +1,4 @@ -import { deepmerge } from '@mui/utils'; +import deepmerge from '@mui/utils/deepmerge'; function round(value) { return Math.round(value * 1e5) / 1e5; diff --git a/packages/mui-material/src/styles/experimental_extendTheme.js b/packages/mui-material/src/styles/experimental_extendTheme.js index 5621505b91fc72..6308b771f924f1 100644 --- a/packages/mui-material/src/styles/experimental_extendTheme.js +++ b/packages/mui-material/src/styles/experimental_extendTheme.js @@ -1,4 +1,4 @@ -import { deepmerge } from '@mui/utils'; +import deepmerge from '@mui/utils/deepmerge'; import { private_safeColorChannel as safeColorChannel, private_safeAlpha as safeAlpha, diff --git a/packages/mui-material/src/usePagination/usePagination.js b/packages/mui-material/src/usePagination/usePagination.js index 42eefce2c24998..6125f1b03e3805 100644 --- a/packages/mui-material/src/usePagination/usePagination.js +++ b/packages/mui-material/src/usePagination/usePagination.js @@ -1,5 +1,5 @@ 'use client'; -import { unstable_useControlled as useControlled } from '@mui/utils'; +import useControlled from '@mui/utils/useControlled'; export default function usePagination(props = {}) { // keep default values in sync with @default tags in Pagination.propTypes diff --git a/packages/mui-material/src/utils/capitalize.d.ts b/packages/mui-material/src/utils/capitalize.d.ts index 4f0850098ea2dc..01718f07f09ff2 100644 --- a/packages/mui-material/src/utils/capitalize.d.ts +++ b/packages/mui-material/src/utils/capitalize.d.ts @@ -1,3 +1,3 @@ -import { unstable_capitalize as capitalize } from '@mui/utils'; +import capitalize from '@mui/utils/capitalize'; export default capitalize; diff --git a/packages/mui-material/src/utils/capitalize.js b/packages/mui-material/src/utils/capitalize.js index 4f0850098ea2dc..01718f07f09ff2 100644 --- a/packages/mui-material/src/utils/capitalize.js +++ b/packages/mui-material/src/utils/capitalize.js @@ -1,3 +1,3 @@ -import { unstable_capitalize as capitalize } from '@mui/utils'; +import capitalize from '@mui/utils/capitalize'; export default capitalize; diff --git a/packages/mui-material/src/utils/createChainedFunction.d.ts b/packages/mui-material/src/utils/createChainedFunction.d.ts index a84cf559319c84..59818e8c187bc1 100644 --- a/packages/mui-material/src/utils/createChainedFunction.d.ts +++ b/packages/mui-material/src/utils/createChainedFunction.d.ts @@ -1,3 +1,3 @@ -import { unstable_createChainedFunction as createChainedFunction } from '@mui/utils'; +import createChainedFunction from '@mui/utils/createChainedFunction'; export default createChainedFunction; diff --git a/packages/mui-material/src/utils/createChainedFunction.js b/packages/mui-material/src/utils/createChainedFunction.js index a84cf559319c84..59818e8c187bc1 100644 --- a/packages/mui-material/src/utils/createChainedFunction.js +++ b/packages/mui-material/src/utils/createChainedFunction.js @@ -1,3 +1,3 @@ -import { unstable_createChainedFunction as createChainedFunction } from '@mui/utils'; +import createChainedFunction from '@mui/utils/createChainedFunction'; export default createChainedFunction; diff --git a/packages/mui-material/src/utils/debounce.d.ts b/packages/mui-material/src/utils/debounce.d.ts index fe7cea1db2834a..5d8a1c9fdc408b 100644 --- a/packages/mui-material/src/utils/debounce.d.ts +++ b/packages/mui-material/src/utils/debounce.d.ts @@ -1,3 +1,3 @@ -import { unstable_debounce as debounce } from '@mui/utils'; +import debounce from '@mui/utils/debounce'; export default debounce; diff --git a/packages/mui-material/src/utils/debounce.js b/packages/mui-material/src/utils/debounce.js index fe7cea1db2834a..5d8a1c9fdc408b 100644 --- a/packages/mui-material/src/utils/debounce.js +++ b/packages/mui-material/src/utils/debounce.js @@ -1,3 +1,3 @@ -import { unstable_debounce as debounce } from '@mui/utils'; +import debounce from '@mui/utils/debounce'; export default debounce; diff --git a/packages/mui-material/src/utils/deprecatedPropType.d.ts b/packages/mui-material/src/utils/deprecatedPropType.d.ts index fbb605c0bbac97..67e8da82050a76 100644 --- a/packages/mui-material/src/utils/deprecatedPropType.d.ts +++ b/packages/mui-material/src/utils/deprecatedPropType.d.ts @@ -1,3 +1,3 @@ -import { unstable_deprecatedPropType as deprecatedPropType } from '@mui/utils'; +import deprecatedPropType from '@mui/utils/deprecatedPropType'; export default deprecatedPropType; diff --git a/packages/mui-material/src/utils/deprecatedPropType.js b/packages/mui-material/src/utils/deprecatedPropType.js index fbb605c0bbac97..67e8da82050a76 100644 --- a/packages/mui-material/src/utils/deprecatedPropType.js +++ b/packages/mui-material/src/utils/deprecatedPropType.js @@ -1,3 +1,3 @@ -import { unstable_deprecatedPropType as deprecatedPropType } from '@mui/utils'; +import deprecatedPropType from '@mui/utils/deprecatedPropType'; export default deprecatedPropType; diff --git a/packages/mui-material/src/utils/getScrollbarSize.ts b/packages/mui-material/src/utils/getScrollbarSize.ts index e3dcf3ea57a1e0..62dd95cc8f1e33 100644 --- a/packages/mui-material/src/utils/getScrollbarSize.ts +++ b/packages/mui-material/src/utils/getScrollbarSize.ts @@ -1,3 +1,3 @@ -import { unstable_getScrollbarSize as getScrollbarSize } from '@mui/utils'; +import getScrollbarSize from '@mui/utils/getScrollbarSize'; export default getScrollbarSize; diff --git a/packages/mui-material/src/utils/isMuiElement.d.ts b/packages/mui-material/src/utils/isMuiElement.d.ts index c3784104b24753..f886833aff8c85 100644 --- a/packages/mui-material/src/utils/isMuiElement.d.ts +++ b/packages/mui-material/src/utils/isMuiElement.d.ts @@ -1,3 +1,3 @@ -import { unstable_isMuiElement as isMuiElement } from '@mui/utils'; +import isMuiElement from '@mui/utils/isMuiElement'; export default isMuiElement; diff --git a/packages/mui-material/src/utils/isMuiElement.js b/packages/mui-material/src/utils/isMuiElement.js index c3784104b24753..f886833aff8c85 100644 --- a/packages/mui-material/src/utils/isMuiElement.js +++ b/packages/mui-material/src/utils/isMuiElement.js @@ -1,3 +1,3 @@ -import { unstable_isMuiElement as isMuiElement } from '@mui/utils'; +import isMuiElement from '@mui/utils/isMuiElement'; export default isMuiElement; diff --git a/packages/mui-material/src/utils/ownerDocument.ts b/packages/mui-material/src/utils/ownerDocument.ts index fd042ac6edcd51..155fa3528eda81 100644 --- a/packages/mui-material/src/utils/ownerDocument.ts +++ b/packages/mui-material/src/utils/ownerDocument.ts @@ -1,3 +1,3 @@ -import { unstable_ownerDocument as ownerDocument } from '@mui/utils'; +import ownerDocument from '@mui/utils/ownerDocument'; export default ownerDocument; diff --git a/packages/mui-material/src/utils/ownerWindow.ts b/packages/mui-material/src/utils/ownerWindow.ts index 47a847d5feba9a..9af3de65cb6989 100644 --- a/packages/mui-material/src/utils/ownerWindow.ts +++ b/packages/mui-material/src/utils/ownerWindow.ts @@ -1,3 +1,3 @@ -import { unstable_ownerWindow as ownerWindow } from '@mui/utils'; +import ownerWindow from '@mui/utils/ownerWindow'; export default ownerWindow; diff --git a/packages/mui-material/src/utils/requirePropFactory.d.ts b/packages/mui-material/src/utils/requirePropFactory.d.ts index eb2c8e65787d91..1074ad5c85a976 100644 --- a/packages/mui-material/src/utils/requirePropFactory.d.ts +++ b/packages/mui-material/src/utils/requirePropFactory.d.ts @@ -1,3 +1,3 @@ -import { unstable_requirePropFactory as requirePropFactory } from '@mui/utils'; +import requirePropFactory from '@mui/utils/requirePropFactory'; export default requirePropFactory; diff --git a/packages/mui-material/src/utils/requirePropFactory.js b/packages/mui-material/src/utils/requirePropFactory.js index eb2c8e65787d91..1074ad5c85a976 100644 --- a/packages/mui-material/src/utils/requirePropFactory.js +++ b/packages/mui-material/src/utils/requirePropFactory.js @@ -1,3 +1,3 @@ -import { unstable_requirePropFactory as requirePropFactory } from '@mui/utils'; +import requirePropFactory from '@mui/utils/requirePropFactory'; export default requirePropFactory; diff --git a/packages/mui-material/src/utils/setRef.ts b/packages/mui-material/src/utils/setRef.ts index c1d1eddf231690..6cee7e00bffe43 100644 --- a/packages/mui-material/src/utils/setRef.ts +++ b/packages/mui-material/src/utils/setRef.ts @@ -1,3 +1,3 @@ -import { unstable_setRef as setRef } from '@mui/utils'; +import setRef from '@mui/utils/setRef'; export default setRef; diff --git a/packages/mui-material/src/utils/unsupportedProp.d.ts b/packages/mui-material/src/utils/unsupportedProp.d.ts index a7ac2dbd955df4..80104143560b59 100644 --- a/packages/mui-material/src/utils/unsupportedProp.d.ts +++ b/packages/mui-material/src/utils/unsupportedProp.d.ts @@ -1,3 +1,3 @@ -import { unstable_unsupportedProp as unsupportedProp } from '@mui/utils'; +import unsupportedProp from '@mui/utils/unsupportedProp'; export default unsupportedProp; diff --git a/packages/mui-material/src/utils/unsupportedProp.js b/packages/mui-material/src/utils/unsupportedProp.js index a7ac2dbd955df4..80104143560b59 100644 --- a/packages/mui-material/src/utils/unsupportedProp.js +++ b/packages/mui-material/src/utils/unsupportedProp.js @@ -1,3 +1,3 @@ -import { unstable_unsupportedProp as unsupportedProp } from '@mui/utils'; +import unsupportedProp from '@mui/utils/unsupportedProp'; export default unsupportedProp; diff --git a/packages/mui-material/src/utils/useControlled.d.ts b/packages/mui-material/src/utils/useControlled.d.ts index 1e05d42f2be58f..ae268b214180de 100644 --- a/packages/mui-material/src/utils/useControlled.d.ts +++ b/packages/mui-material/src/utils/useControlled.d.ts @@ -1,3 +1,3 @@ -import { unstable_useControlled as useControlled } from '@mui/utils'; +import useControlled from '@mui/utils/useControlled'; export default useControlled; diff --git a/packages/mui-material/src/utils/useControlled.js b/packages/mui-material/src/utils/useControlled.js index 098ebf75c4e83d..33aefe699f5974 100644 --- a/packages/mui-material/src/utils/useControlled.js +++ b/packages/mui-material/src/utils/useControlled.js @@ -1,4 +1,4 @@ 'use client'; -import { unstable_useControlled as useControlled } from '@mui/utils'; +import useControlled from '@mui/utils/useControlled'; export default useControlled; diff --git a/packages/mui-material/src/utils/useEnhancedEffect.d.ts b/packages/mui-material/src/utils/useEnhancedEffect.d.ts index 2ec3b89a86d8ba..52622565d8fa3e 100644 --- a/packages/mui-material/src/utils/useEnhancedEffect.d.ts +++ b/packages/mui-material/src/utils/useEnhancedEffect.d.ts @@ -1,3 +1,3 @@ -import { unstable_useEnhancedEffect as useEnhancedEffect } from '@mui/utils'; +import useEnhancedEffect from '@mui/utils/useEnhancedEffect'; export default useEnhancedEffect; diff --git a/packages/mui-material/src/utils/useEnhancedEffect.js b/packages/mui-material/src/utils/useEnhancedEffect.js index 2695c89b614494..d4e273740fb956 100644 --- a/packages/mui-material/src/utils/useEnhancedEffect.js +++ b/packages/mui-material/src/utils/useEnhancedEffect.js @@ -1,4 +1,4 @@ 'use client'; -import { unstable_useEnhancedEffect as useEnhancedEffect } from '@mui/utils'; +import useEnhancedEffect from '@mui/utils/useEnhancedEffect'; export default useEnhancedEffect; diff --git a/packages/mui-material/src/utils/useEventCallback.d.ts b/packages/mui-material/src/utils/useEventCallback.d.ts index ff3ee70183388b..69ed51700c8348 100644 --- a/packages/mui-material/src/utils/useEventCallback.d.ts +++ b/packages/mui-material/src/utils/useEventCallback.d.ts @@ -1,3 +1,3 @@ -import { unstable_useEventCallback as useEventCallback } from '@mui/utils'; +import useEventCallback from '@mui/utils/useEventCallback'; export default useEventCallback; diff --git a/packages/mui-material/src/utils/useEventCallback.js b/packages/mui-material/src/utils/useEventCallback.js index 03b624ad3749d2..4ebbd890c36689 100644 --- a/packages/mui-material/src/utils/useEventCallback.js +++ b/packages/mui-material/src/utils/useEventCallback.js @@ -1,4 +1,4 @@ 'use client'; -import { unstable_useEventCallback as useEventCallback } from '@mui/utils'; +import useEventCallback from '@mui/utils/useEventCallback'; export default useEventCallback; diff --git a/packages/mui-material/src/utils/useForkRef.d.ts b/packages/mui-material/src/utils/useForkRef.d.ts index b80dfcccfaacfb..5c0ce6f3608d8a 100644 --- a/packages/mui-material/src/utils/useForkRef.d.ts +++ b/packages/mui-material/src/utils/useForkRef.d.ts @@ -1,3 +1,3 @@ -import { unstable_useForkRef as useForkRef } from '@mui/utils'; +import useForkRef from '@mui/utils/useForkRef'; export default useForkRef; diff --git a/packages/mui-material/src/utils/useForkRef.js b/packages/mui-material/src/utils/useForkRef.js index 38b967df8e7a75..bdcb95552910c4 100644 --- a/packages/mui-material/src/utils/useForkRef.js +++ b/packages/mui-material/src/utils/useForkRef.js @@ -1,4 +1,4 @@ 'use client'; -import { unstable_useForkRef as useForkRef } from '@mui/utils'; +import useForkRef from '@mui/utils/useForkRef'; export default useForkRef; diff --git a/packages/mui-material/src/utils/useId.d.ts b/packages/mui-material/src/utils/useId.d.ts index 51a0cf8c6d03f9..8f3624cea3c0c7 100644 --- a/packages/mui-material/src/utils/useId.d.ts +++ b/packages/mui-material/src/utils/useId.d.ts @@ -1,3 +1,3 @@ -import { unstable_useId as useId } from '@mui/utils'; +import useId from '@mui/utils/useId'; export default useId; diff --git a/packages/mui-material/src/utils/useId.js b/packages/mui-material/src/utils/useId.js index fbd108d5635dad..d99075f6377825 100644 --- a/packages/mui-material/src/utils/useId.js +++ b/packages/mui-material/src/utils/useId.js @@ -1,4 +1,4 @@ 'use client'; -import { unstable_useId as useId } from '@mui/utils'; +import useId from '@mui/utils/useId'; export default useId; diff --git a/packages/mui-material/src/utils/useIsFocusVisible.d.ts b/packages/mui-material/src/utils/useIsFocusVisible.d.ts index e640db0f81d031..b1d9d514e158b6 100644 --- a/packages/mui-material/src/utils/useIsFocusVisible.d.ts +++ b/packages/mui-material/src/utils/useIsFocusVisible.d.ts @@ -1,3 +1,3 @@ -import { unstable_useIsFocusVisible as useIsFocusVisible } from '@mui/utils'; +import useIsFocusVisible from '@mui/utils/useIsFocusVisible'; export default useIsFocusVisible; diff --git a/packages/mui-material/src/utils/useIsFocusVisible.js b/packages/mui-material/src/utils/useIsFocusVisible.js index 14e2ca9248573d..9cfe9a7a1cb64c 100644 --- a/packages/mui-material/src/utils/useIsFocusVisible.js +++ b/packages/mui-material/src/utils/useIsFocusVisible.js @@ -1,4 +1,4 @@ 'use client'; -import { unstable_useIsFocusVisible as useIsFocusVisible } from '@mui/utils'; +import useIsFocusVisible from '@mui/utils/useIsFocusVisible'; export default useIsFocusVisible; From fb375d294005332bf9dc3613eaa508aa86070bdf Mon Sep 17 00:00:00 2001 From: mnajdova Date: Wed, 15 Nov 2023 10:28:08 +0100 Subject: [PATCH 2/3] convert rest of the imports --- packages/mui-material/src/Popover/Popover.js | 12 +++++------- packages/mui-material/src/className/index.ts | 2 +- .../mui-material/src/generateUtilityClass/index.ts | 4 ++-- .../mui-material/src/generateUtilityClasses/index.ts | 2 +- packages/mui-material/src/utils/scrollLeft.js | 6 ++---- 5 files changed, 11 insertions(+), 15 deletions(-) diff --git a/packages/mui-material/src/Popover/Popover.js b/packages/mui-material/src/Popover/Popover.js index 5059c4f7fbc229..3e3c9926f1fbfe 100644 --- a/packages/mui-material/src/Popover/Popover.js +++ b/packages/mui-material/src/Popover/Popover.js @@ -7,13 +7,11 @@ import { useSlotProps, isHostComponent, } from '@mui/base'; -import { - chainPropTypes, - integerPropType, - elementTypeAcceptingRef, - refType, - HTMLElementType, -} from '@mui/utils'; +import chainPropTypes from '@mui/utils/chainPropTypes'; +import integerPropType from '@mui/utils/integerPropType'; +import elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef'; +import refType from '@mui/utils/refType'; +import HTMLElementType from '@mui/utils/HTMLElementType'; import styled from '../styles/styled'; import useThemeProps from '../styles/useThemeProps'; import debounce from '../utils/debounce'; diff --git a/packages/mui-material/src/className/index.ts b/packages/mui-material/src/className/index.ts index 30ab5fea27cdef..5981cee4b3c974 100644 --- a/packages/mui-material/src/className/index.ts +++ b/packages/mui-material/src/className/index.ts @@ -1,2 +1,2 @@ // eslint-disable-next-line import/prefer-default-export -export { unstable_ClassNameGenerator } from '@mui/utils'; +export { default as unstable_ClassNameGenerator } from '@mui/utils/ClassNameGenerator'; diff --git a/packages/mui-material/src/generateUtilityClass/index.ts b/packages/mui-material/src/generateUtilityClass/index.ts index 19bb1127412e87..3540b46162c563 100644 --- a/packages/mui-material/src/generateUtilityClass/index.ts +++ b/packages/mui-material/src/generateUtilityClass/index.ts @@ -1,2 +1,2 @@ -export { unstable_generateUtilityClass as default } from '@mui/utils'; -export type { GlobalStateSlot } from '@mui/utils'; +export { default } from '@mui/utils/generateUtilityClass'; +export type { GlobalStateSlot } from '@mui/utils/generateUtilityClass'; diff --git a/packages/mui-material/src/generateUtilityClasses/index.ts b/packages/mui-material/src/generateUtilityClasses/index.ts index cc94914f4095da..88e9f3eae60463 100644 --- a/packages/mui-material/src/generateUtilityClasses/index.ts +++ b/packages/mui-material/src/generateUtilityClasses/index.ts @@ -1 +1 @@ -export { unstable_generateUtilityClasses as default } from '@mui/utils'; +export { default } from '@mui/utils/generateUtilityClasses'; diff --git a/packages/mui-material/src/utils/scrollLeft.js b/packages/mui-material/src/utils/scrollLeft.js index deb38e11766c69..2d69007535eec3 100644 --- a/packages/mui-material/src/utils/scrollLeft.js +++ b/packages/mui-material/src/utils/scrollLeft.js @@ -1,4 +1,2 @@ -export { - unstable_detectScrollType as detectScrollType, - unstable_getNormalizedScrollLeft as getNormalizedScrollLeft, -} from '@mui/utils'; +export { detectScrollType } from '@mui/utils/detectScrollType'; +export { getNormalizedScrollLeft } from '@mui/utils/getNormalizedScrollLeft'; From a24a9e5ea256aa38409dfa218c35b3589fa499f3 Mon Sep 17 00:00:00 2001 From: Arseny Garelyshev Date: Sat, 25 Nov 2023 14:24:22 +0100 Subject: [PATCH 3/3] chore: '@mui/utils/generateUtilityClasses' -> '../generateUtilityClasses' --- packages/mui-material/src/Accordion/accordionClasses.ts | 2 +- .../src/AccordionActions/accordionActionsClasses.ts | 2 +- .../src/AccordionDetails/accordionDetailsClasses.ts | 2 +- .../src/AccordionSummary/accordionSummaryClasses.ts | 2 +- packages/mui-material/src/Alert/alertClasses.ts | 2 +- packages/mui-material/src/AlertTitle/alertTitleClasses.ts | 2 +- packages/mui-material/src/AppBar/appBarClasses.ts | 2 +- packages/mui-material/src/Autocomplete/autocompleteClasses.ts | 2 +- packages/mui-material/src/Avatar/avatarClasses.ts | 2 +- packages/mui-material/src/AvatarGroup/avatarGroupClasses.ts | 2 +- packages/mui-material/src/Backdrop/backdropClasses.ts | 2 +- packages/mui-material/src/Badge/badgeClasses.ts | 2 +- .../src/BottomNavigation/bottomNavigationClasses.ts | 2 +- .../src/BottomNavigationAction/bottomNavigationActionClasses.ts | 2 +- packages/mui-material/src/Breadcrumbs/breadcrumbsClasses.ts | 2 +- packages/mui-material/src/Button/buttonClasses.ts | 2 +- packages/mui-material/src/ButtonBase/buttonBaseClasses.ts | 2 +- packages/mui-material/src/ButtonBase/touchRippleClasses.ts | 2 +- packages/mui-material/src/ButtonGroup/buttonGroupClasses.ts | 2 +- packages/mui-material/src/Card/cardClasses.ts | 2 +- .../mui-material/src/CardActionArea/cardActionAreaClasses.ts | 2 +- packages/mui-material/src/CardActions/cardActionsClasses.ts | 2 +- packages/mui-material/src/CardContent/cardContentClasses.ts | 2 +- packages/mui-material/src/CardHeader/cardHeaderClasses.ts | 2 +- packages/mui-material/src/CardMedia/cardMediaClasses.ts | 2 +- packages/mui-material/src/Checkbox/checkboxClasses.ts | 2 +- packages/mui-material/src/Chip/chipClasses.ts | 2 +- .../src/CircularProgress/circularProgressClasses.ts | 2 +- packages/mui-material/src/Collapse/collapseClasses.ts | 2 +- packages/mui-material/src/Container/containerClasses.ts | 2 +- packages/mui-material/src/Dialog/dialogClasses.ts | 2 +- packages/mui-material/src/DialogActions/dialogActionsClasses.ts | 2 +- packages/mui-material/src/DialogContent/dialogContentClasses.ts | 2 +- .../src/DialogContentText/dialogContentTextClasses.ts | 2 +- packages/mui-material/src/DialogTitle/dialogTitleClasses.ts | 2 +- packages/mui-material/src/Divider/dividerClasses.ts | 2 +- packages/mui-material/src/Drawer/drawerClasses.ts | 2 +- packages/mui-material/src/Fab/fabClasses.ts | 2 +- packages/mui-material/src/FilledInput/filledInputClasses.ts | 2 +- packages/mui-material/src/FormControl/formControlClasses.ts | 2 +- .../src/FormControlLabel/formControlLabelClasses.ts | 2 +- packages/mui-material/src/FormGroup/formGroupClasses.ts | 2 +- .../mui-material/src/FormHelperText/formHelperTextClasses.ts | 2 +- packages/mui-material/src/FormLabel/formLabelClasses.ts | 2 +- packages/mui-material/src/Grid/gridClasses.ts | 2 +- packages/mui-material/src/Hidden/hiddenCssClasses.js | 2 +- packages/mui-material/src/Icon/iconClasses.ts | 2 +- packages/mui-material/src/IconButton/iconButtonClasses.ts | 2 +- packages/mui-material/src/ImageList/imageListClasses.ts | 2 +- packages/mui-material/src/ImageListItem/imageListItemClasses.ts | 2 +- .../src/ImageListItemBar/imageListItemBarClasses.ts | 2 +- packages/mui-material/src/Input/inputClasses.ts | 2 +- .../mui-material/src/InputAdornment/inputAdornmentClasses.ts | 2 +- packages/mui-material/src/InputBase/inputBaseClasses.ts | 2 +- packages/mui-material/src/InputLabel/inputLabelClasses.ts | 2 +- .../mui-material/src/LinearProgress/linearProgressClasses.ts | 2 +- packages/mui-material/src/Link/linkClasses.ts | 2 +- packages/mui-material/src/List/listClasses.ts | 2 +- packages/mui-material/src/ListItem/listItemClasses.ts | 2 +- .../mui-material/src/ListItemAvatar/listItemAvatarClasses.ts | 2 +- .../mui-material/src/ListItemButton/listItemButtonClasses.ts | 2 +- packages/mui-material/src/ListItemIcon/listItemIconClasses.ts | 2 +- .../ListItemSecondaryAction/listItemSecondaryActionClasses.ts | 2 +- packages/mui-material/src/ListItemText/listItemTextClasses.ts | 2 +- packages/mui-material/src/ListSubheader/listSubheaderClasses.ts | 2 +- packages/mui-material/src/Menu/menuClasses.ts | 2 +- packages/mui-material/src/MenuItem/menuItemClasses.ts | 2 +- packages/mui-material/src/MobileStepper/mobileStepperClasses.ts | 2 +- packages/mui-material/src/Modal/modalClasses.ts | 2 +- packages/mui-material/src/NativeSelect/nativeSelectClasses.ts | 2 +- packages/mui-material/src/OutlinedInput/outlinedInputClasses.ts | 2 +- packages/mui-material/src/Pagination/paginationClasses.ts | 2 +- .../mui-material/src/PaginationItem/paginationItemClasses.ts | 2 +- packages/mui-material/src/Paper/paperClasses.ts | 2 +- packages/mui-material/src/Popover/popoverClasses.ts | 2 +- packages/mui-material/src/Radio/radioClasses.ts | 2 +- packages/mui-material/src/Rating/ratingClasses.ts | 2 +- .../src/ScopedCssBaseline/scopedCssBaselineClasses.ts | 2 +- packages/mui-material/src/Select/selectClasses.ts | 2 +- packages/mui-material/src/Skeleton/skeletonClasses.ts | 2 +- packages/mui-material/src/Slider/sliderClasses.ts | 2 +- packages/mui-material/src/Snackbar/snackbarClasses.ts | 2 +- .../mui-material/src/SnackbarContent/snackbarContentClasses.ts | 2 +- packages/mui-material/src/SpeedDial/speedDialClasses.ts | 2 +- .../mui-material/src/SpeedDialAction/speedDialActionClasses.ts | 2 +- packages/mui-material/src/SpeedDialIcon/speedDialIconClasses.ts | 2 +- packages/mui-material/src/Stack/stackClasses.ts | 2 +- packages/mui-material/src/Step/stepClasses.ts | 2 +- packages/mui-material/src/StepButton/stepButtonClasses.ts | 2 +- packages/mui-material/src/StepConnector/stepConnectorClasses.ts | 2 +- packages/mui-material/src/StepContent/stepContentClasses.ts | 2 +- packages/mui-material/src/StepIcon/stepIconClasses.ts | 2 +- packages/mui-material/src/StepLabel/stepLabelClasses.ts | 2 +- packages/mui-material/src/Stepper/stepperClasses.ts | 2 +- packages/mui-material/src/SvgIcon/svgIconClasses.ts | 2 +- packages/mui-material/src/Switch/switchClasses.ts | 2 +- packages/mui-material/src/Tab/tabClasses.ts | 2 +- .../mui-material/src/TabScrollButton/tabScrollButtonClasses.ts | 2 +- packages/mui-material/src/Table/tableClasses.ts | 2 +- packages/mui-material/src/TableBody/tableBodyClasses.ts | 2 +- packages/mui-material/src/TableCell/tableCellClasses.ts | 2 +- .../mui-material/src/TableContainer/tableContainerClasses.ts | 2 +- packages/mui-material/src/TableFooter/tableFooterClasses.ts | 2 +- packages/mui-material/src/TableHead/tableHeadClasses.ts | 2 +- .../mui-material/src/TablePagination/tablePaginationClasses.ts | 2 +- packages/mui-material/src/TableRow/tableRowClasses.ts | 2 +- .../mui-material/src/TableSortLabel/tableSortLabelClasses.ts | 2 +- packages/mui-material/src/Tabs/tabsClasses.ts | 2 +- packages/mui-material/src/TextField/textFieldClasses.ts | 2 +- packages/mui-material/src/ToggleButton/toggleButtonClasses.ts | 2 +- .../src/ToggleButtonGroup/toggleButtonGroupClasses.ts | 2 +- packages/mui-material/src/Toolbar/toolbarClasses.ts | 2 +- packages/mui-material/src/Tooltip/tooltipClasses.ts | 2 +- packages/mui-material/src/Typography/typographyClasses.ts | 2 +- packages/mui-material/src/Unstable_Grid2/grid2Classes.ts | 2 +- packages/mui-material/src/internal/switchBaseClasses.ts | 2 +- 116 files changed, 116 insertions(+), 116 deletions(-) diff --git a/packages/mui-material/src/Accordion/accordionClasses.ts b/packages/mui-material/src/Accordion/accordionClasses.ts index 79a371c822a1f1..da7dc566ccbc13 100644 --- a/packages/mui-material/src/Accordion/accordionClasses.ts +++ b/packages/mui-material/src/Accordion/accordionClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface AccordionClasses { diff --git a/packages/mui-material/src/AccordionActions/accordionActionsClasses.ts b/packages/mui-material/src/AccordionActions/accordionActionsClasses.ts index 255463972539fe..ab9931949e93ba 100644 --- a/packages/mui-material/src/AccordionActions/accordionActionsClasses.ts +++ b/packages/mui-material/src/AccordionActions/accordionActionsClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface AccordionActionsClasses { diff --git a/packages/mui-material/src/AccordionDetails/accordionDetailsClasses.ts b/packages/mui-material/src/AccordionDetails/accordionDetailsClasses.ts index 9367ca4b0a198d..79116293aa06ad 100644 --- a/packages/mui-material/src/AccordionDetails/accordionDetailsClasses.ts +++ b/packages/mui-material/src/AccordionDetails/accordionDetailsClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface AccordionDetailsClasses { diff --git a/packages/mui-material/src/AccordionSummary/accordionSummaryClasses.ts b/packages/mui-material/src/AccordionSummary/accordionSummaryClasses.ts index adee1bb3e78c56..5e52a2400724df 100644 --- a/packages/mui-material/src/AccordionSummary/accordionSummaryClasses.ts +++ b/packages/mui-material/src/AccordionSummary/accordionSummaryClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface AccordionSummaryClasses { diff --git a/packages/mui-material/src/Alert/alertClasses.ts b/packages/mui-material/src/Alert/alertClasses.ts index 8ffa23307b4e97..6955aae81ec9d0 100644 --- a/packages/mui-material/src/Alert/alertClasses.ts +++ b/packages/mui-material/src/Alert/alertClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface AlertClasses { diff --git a/packages/mui-material/src/AlertTitle/alertTitleClasses.ts b/packages/mui-material/src/AlertTitle/alertTitleClasses.ts index d8a01ce2daa37a..8839174c45cd8a 100644 --- a/packages/mui-material/src/AlertTitle/alertTitleClasses.ts +++ b/packages/mui-material/src/AlertTitle/alertTitleClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface AlertTitleClasses { diff --git a/packages/mui-material/src/AppBar/appBarClasses.ts b/packages/mui-material/src/AppBar/appBarClasses.ts index 8605ff77c09e2f..64b49b1d4c3eec 100644 --- a/packages/mui-material/src/AppBar/appBarClasses.ts +++ b/packages/mui-material/src/AppBar/appBarClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface AppBarClasses { diff --git a/packages/mui-material/src/Autocomplete/autocompleteClasses.ts b/packages/mui-material/src/Autocomplete/autocompleteClasses.ts index 49c2e79e40c88f..0c3566dca0f0c8 100644 --- a/packages/mui-material/src/Autocomplete/autocompleteClasses.ts +++ b/packages/mui-material/src/Autocomplete/autocompleteClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface AutocompleteClasses { diff --git a/packages/mui-material/src/Avatar/avatarClasses.ts b/packages/mui-material/src/Avatar/avatarClasses.ts index fecb26203a0fce..ff0578cb482da1 100644 --- a/packages/mui-material/src/Avatar/avatarClasses.ts +++ b/packages/mui-material/src/Avatar/avatarClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface AvatarClasses { diff --git a/packages/mui-material/src/AvatarGroup/avatarGroupClasses.ts b/packages/mui-material/src/AvatarGroup/avatarGroupClasses.ts index 27555958ef7e5c..c18459b6ba7031 100644 --- a/packages/mui-material/src/AvatarGroup/avatarGroupClasses.ts +++ b/packages/mui-material/src/AvatarGroup/avatarGroupClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface AvatarGroupClasses { diff --git a/packages/mui-material/src/Backdrop/backdropClasses.ts b/packages/mui-material/src/Backdrop/backdropClasses.ts index 6d5efba5e596f5..c3c19326baab4c 100644 --- a/packages/mui-material/src/Backdrop/backdropClasses.ts +++ b/packages/mui-material/src/Backdrop/backdropClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface BackdropClasses { diff --git a/packages/mui-material/src/Badge/badgeClasses.ts b/packages/mui-material/src/Badge/badgeClasses.ts index cdd346a9bb38ec..3fadafb3c66257 100644 --- a/packages/mui-material/src/Badge/badgeClasses.ts +++ b/packages/mui-material/src/Badge/badgeClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface BadgeClasses { diff --git a/packages/mui-material/src/BottomNavigation/bottomNavigationClasses.ts b/packages/mui-material/src/BottomNavigation/bottomNavigationClasses.ts index cfad1c98f49b95..ebda9a9eeb62a9 100644 --- a/packages/mui-material/src/BottomNavigation/bottomNavigationClasses.ts +++ b/packages/mui-material/src/BottomNavigation/bottomNavigationClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface BottomNavigationClasses { diff --git a/packages/mui-material/src/BottomNavigationAction/bottomNavigationActionClasses.ts b/packages/mui-material/src/BottomNavigationAction/bottomNavigationActionClasses.ts index a5d3381ec9363b..7c117f311d1534 100644 --- a/packages/mui-material/src/BottomNavigationAction/bottomNavigationActionClasses.ts +++ b/packages/mui-material/src/BottomNavigationAction/bottomNavigationActionClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface BottomNavigationActionClasses { diff --git a/packages/mui-material/src/Breadcrumbs/breadcrumbsClasses.ts b/packages/mui-material/src/Breadcrumbs/breadcrumbsClasses.ts index 7c335d5f177997..f8d4450058c3ae 100644 --- a/packages/mui-material/src/Breadcrumbs/breadcrumbsClasses.ts +++ b/packages/mui-material/src/Breadcrumbs/breadcrumbsClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface BreadcrumbsClasses { diff --git a/packages/mui-material/src/Button/buttonClasses.ts b/packages/mui-material/src/Button/buttonClasses.ts index c6338a5b476f5a..78ab4892f248cd 100644 --- a/packages/mui-material/src/Button/buttonClasses.ts +++ b/packages/mui-material/src/Button/buttonClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ButtonClasses { diff --git a/packages/mui-material/src/ButtonBase/buttonBaseClasses.ts b/packages/mui-material/src/ButtonBase/buttonBaseClasses.ts index 55634d602ddbc1..8ec8d11637bced 100644 --- a/packages/mui-material/src/ButtonBase/buttonBaseClasses.ts +++ b/packages/mui-material/src/ButtonBase/buttonBaseClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ButtonBaseClasses { diff --git a/packages/mui-material/src/ButtonBase/touchRippleClasses.ts b/packages/mui-material/src/ButtonBase/touchRippleClasses.ts index 466a3b38e88813..4b496dcc2fc467 100644 --- a/packages/mui-material/src/ButtonBase/touchRippleClasses.ts +++ b/packages/mui-material/src/ButtonBase/touchRippleClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TouchRippleClasses { diff --git a/packages/mui-material/src/ButtonGroup/buttonGroupClasses.ts b/packages/mui-material/src/ButtonGroup/buttonGroupClasses.ts index cd124b3da46645..23e6c0957c094b 100644 --- a/packages/mui-material/src/ButtonGroup/buttonGroupClasses.ts +++ b/packages/mui-material/src/ButtonGroup/buttonGroupClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ButtonGroupClasses { diff --git a/packages/mui-material/src/Card/cardClasses.ts b/packages/mui-material/src/Card/cardClasses.ts index df97e0164b8b09..4412ef488264c5 100644 --- a/packages/mui-material/src/Card/cardClasses.ts +++ b/packages/mui-material/src/Card/cardClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface CardClasses { diff --git a/packages/mui-material/src/CardActionArea/cardActionAreaClasses.ts b/packages/mui-material/src/CardActionArea/cardActionAreaClasses.ts index 4f6eaadab953ff..c62ef2a95b526c 100644 --- a/packages/mui-material/src/CardActionArea/cardActionAreaClasses.ts +++ b/packages/mui-material/src/CardActionArea/cardActionAreaClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface CardActionAreaClasses { diff --git a/packages/mui-material/src/CardActions/cardActionsClasses.ts b/packages/mui-material/src/CardActions/cardActionsClasses.ts index 2033ac508d7fef..f0095859f90877 100644 --- a/packages/mui-material/src/CardActions/cardActionsClasses.ts +++ b/packages/mui-material/src/CardActions/cardActionsClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface CardActionsClasses { diff --git a/packages/mui-material/src/CardContent/cardContentClasses.ts b/packages/mui-material/src/CardContent/cardContentClasses.ts index 6d19fcacbfe3a7..d92e8899fb8f3b 100644 --- a/packages/mui-material/src/CardContent/cardContentClasses.ts +++ b/packages/mui-material/src/CardContent/cardContentClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface CardContentClasses { diff --git a/packages/mui-material/src/CardHeader/cardHeaderClasses.ts b/packages/mui-material/src/CardHeader/cardHeaderClasses.ts index eff4a96fc57383..75b656adeb77fb 100644 --- a/packages/mui-material/src/CardHeader/cardHeaderClasses.ts +++ b/packages/mui-material/src/CardHeader/cardHeaderClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface CardHeaderClasses { diff --git a/packages/mui-material/src/CardMedia/cardMediaClasses.ts b/packages/mui-material/src/CardMedia/cardMediaClasses.ts index a262d1d885ee2c..8866d5c955d10d 100644 --- a/packages/mui-material/src/CardMedia/cardMediaClasses.ts +++ b/packages/mui-material/src/CardMedia/cardMediaClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface CardMediaClasses { diff --git a/packages/mui-material/src/Checkbox/checkboxClasses.ts b/packages/mui-material/src/Checkbox/checkboxClasses.ts index 518b0b1f1f6058..3ffbf25903ec11 100644 --- a/packages/mui-material/src/Checkbox/checkboxClasses.ts +++ b/packages/mui-material/src/Checkbox/checkboxClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface CheckboxClasses { diff --git a/packages/mui-material/src/Chip/chipClasses.ts b/packages/mui-material/src/Chip/chipClasses.ts index 0251f321e87ccd..22bcc1faae7f1b 100644 --- a/packages/mui-material/src/Chip/chipClasses.ts +++ b/packages/mui-material/src/Chip/chipClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ChipClasses { diff --git a/packages/mui-material/src/CircularProgress/circularProgressClasses.ts b/packages/mui-material/src/CircularProgress/circularProgressClasses.ts index e15dfe091fdefd..4fd04d242a0050 100644 --- a/packages/mui-material/src/CircularProgress/circularProgressClasses.ts +++ b/packages/mui-material/src/CircularProgress/circularProgressClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface CircularProgressClasses { diff --git a/packages/mui-material/src/Collapse/collapseClasses.ts b/packages/mui-material/src/Collapse/collapseClasses.ts index f8ec777ebcc190..9774383d70fde1 100644 --- a/packages/mui-material/src/Collapse/collapseClasses.ts +++ b/packages/mui-material/src/Collapse/collapseClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface CollapseClasses { diff --git a/packages/mui-material/src/Container/containerClasses.ts b/packages/mui-material/src/Container/containerClasses.ts index ac39441a0222cc..d642e80c28a3bb 100644 --- a/packages/mui-material/src/Container/containerClasses.ts +++ b/packages/mui-material/src/Container/containerClasses.ts @@ -1,5 +1,5 @@ import { ContainerClasses } from '@mui/system'; -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export type { ContainerClassKey } from '@mui/system'; diff --git a/packages/mui-material/src/Dialog/dialogClasses.ts b/packages/mui-material/src/Dialog/dialogClasses.ts index c065ec06552f22..68e5d21790e7a0 100644 --- a/packages/mui-material/src/Dialog/dialogClasses.ts +++ b/packages/mui-material/src/Dialog/dialogClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface DialogClasses { diff --git a/packages/mui-material/src/DialogActions/dialogActionsClasses.ts b/packages/mui-material/src/DialogActions/dialogActionsClasses.ts index 9476788a01c0bc..dc93ae5fed6741 100644 --- a/packages/mui-material/src/DialogActions/dialogActionsClasses.ts +++ b/packages/mui-material/src/DialogActions/dialogActionsClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface DialogActionsClasses { diff --git a/packages/mui-material/src/DialogContent/dialogContentClasses.ts b/packages/mui-material/src/DialogContent/dialogContentClasses.ts index ec9140c5ae84f7..e8a465a74972a2 100644 --- a/packages/mui-material/src/DialogContent/dialogContentClasses.ts +++ b/packages/mui-material/src/DialogContent/dialogContentClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface DialogContentClasses { diff --git a/packages/mui-material/src/DialogContentText/dialogContentTextClasses.ts b/packages/mui-material/src/DialogContentText/dialogContentTextClasses.ts index 6301ccf1c62ffa..047ecce28ff4b2 100644 --- a/packages/mui-material/src/DialogContentText/dialogContentTextClasses.ts +++ b/packages/mui-material/src/DialogContentText/dialogContentTextClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface DialogContentTextClasses { diff --git a/packages/mui-material/src/DialogTitle/dialogTitleClasses.ts b/packages/mui-material/src/DialogTitle/dialogTitleClasses.ts index 79345cad679a0c..2dc33bfccc7081 100644 --- a/packages/mui-material/src/DialogTitle/dialogTitleClasses.ts +++ b/packages/mui-material/src/DialogTitle/dialogTitleClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface DialogTitleClasses { diff --git a/packages/mui-material/src/Divider/dividerClasses.ts b/packages/mui-material/src/Divider/dividerClasses.ts index 560d0aa9acdbfc..56adae7fd9ff25 100644 --- a/packages/mui-material/src/Divider/dividerClasses.ts +++ b/packages/mui-material/src/Divider/dividerClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface DividerClasses { diff --git a/packages/mui-material/src/Drawer/drawerClasses.ts b/packages/mui-material/src/Drawer/drawerClasses.ts index 4f655a9e4d2552..83069c6cbd8f23 100644 --- a/packages/mui-material/src/Drawer/drawerClasses.ts +++ b/packages/mui-material/src/Drawer/drawerClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface DrawerClasses { diff --git a/packages/mui-material/src/Fab/fabClasses.ts b/packages/mui-material/src/Fab/fabClasses.ts index 7c78f4edc9bd6b..ee39c90685996a 100644 --- a/packages/mui-material/src/Fab/fabClasses.ts +++ b/packages/mui-material/src/Fab/fabClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface FabClasses { diff --git a/packages/mui-material/src/FilledInput/filledInputClasses.ts b/packages/mui-material/src/FilledInput/filledInputClasses.ts index 76fbdd16888c67..33bb57451bcb63 100644 --- a/packages/mui-material/src/FilledInput/filledInputClasses.ts +++ b/packages/mui-material/src/FilledInput/filledInputClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; import { inputBaseClasses } from '../InputBase'; diff --git a/packages/mui-material/src/FormControl/formControlClasses.ts b/packages/mui-material/src/FormControl/formControlClasses.ts index 9fc54ca9f5fd9c..50cca26f1103f3 100644 --- a/packages/mui-material/src/FormControl/formControlClasses.ts +++ b/packages/mui-material/src/FormControl/formControlClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface FormControlClasses { diff --git a/packages/mui-material/src/FormControlLabel/formControlLabelClasses.ts b/packages/mui-material/src/FormControlLabel/formControlLabelClasses.ts index e5864cfbaf8570..3012ea366a6907 100644 --- a/packages/mui-material/src/FormControlLabel/formControlLabelClasses.ts +++ b/packages/mui-material/src/FormControlLabel/formControlLabelClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface FormControlLabelClasses { diff --git a/packages/mui-material/src/FormGroup/formGroupClasses.ts b/packages/mui-material/src/FormGroup/formGroupClasses.ts index 8ab034799a885c..9924bec1d60ff4 100644 --- a/packages/mui-material/src/FormGroup/formGroupClasses.ts +++ b/packages/mui-material/src/FormGroup/formGroupClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface FormGroupClasses { diff --git a/packages/mui-material/src/FormHelperText/formHelperTextClasses.ts b/packages/mui-material/src/FormHelperText/formHelperTextClasses.ts index d896da6398c6f3..1bd657abed36da 100644 --- a/packages/mui-material/src/FormHelperText/formHelperTextClasses.ts +++ b/packages/mui-material/src/FormHelperText/formHelperTextClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface FormHelperTextClasses { diff --git a/packages/mui-material/src/FormLabel/formLabelClasses.ts b/packages/mui-material/src/FormLabel/formLabelClasses.ts index 97123beb59b9d7..0e341414b8f11d 100644 --- a/packages/mui-material/src/FormLabel/formLabelClasses.ts +++ b/packages/mui-material/src/FormLabel/formLabelClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface FormLabelClasses { diff --git a/packages/mui-material/src/Grid/gridClasses.ts b/packages/mui-material/src/Grid/gridClasses.ts index e0c4435616678d..e0b0a6c7013ec2 100644 --- a/packages/mui-material/src/Grid/gridClasses.ts +++ b/packages/mui-material/src/Grid/gridClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface GridClasses { diff --git a/packages/mui-material/src/Hidden/hiddenCssClasses.js b/packages/mui-material/src/Hidden/hiddenCssClasses.js index 871f04a917dd07..86777f85eac96e 100644 --- a/packages/mui-material/src/Hidden/hiddenCssClasses.js +++ b/packages/mui-material/src/Hidden/hiddenCssClasses.js @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export function getHiddenCssUtilityClass(slot) { diff --git a/packages/mui-material/src/Icon/iconClasses.ts b/packages/mui-material/src/Icon/iconClasses.ts index dbe6ffac45c5db..38f49ee6f8a3e9 100644 --- a/packages/mui-material/src/Icon/iconClasses.ts +++ b/packages/mui-material/src/Icon/iconClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface IconClasses { diff --git a/packages/mui-material/src/IconButton/iconButtonClasses.ts b/packages/mui-material/src/IconButton/iconButtonClasses.ts index c6c84965f2feb3..7af6b413c1843b 100644 --- a/packages/mui-material/src/IconButton/iconButtonClasses.ts +++ b/packages/mui-material/src/IconButton/iconButtonClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface IconButtonClasses { diff --git a/packages/mui-material/src/ImageList/imageListClasses.ts b/packages/mui-material/src/ImageList/imageListClasses.ts index 028f5b3eac47b5..f41115df63e851 100644 --- a/packages/mui-material/src/ImageList/imageListClasses.ts +++ b/packages/mui-material/src/ImageList/imageListClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ImageListClasses { diff --git a/packages/mui-material/src/ImageListItem/imageListItemClasses.ts b/packages/mui-material/src/ImageListItem/imageListItemClasses.ts index c03f73d79f20ea..721c473b8c957b 100644 --- a/packages/mui-material/src/ImageListItem/imageListItemClasses.ts +++ b/packages/mui-material/src/ImageListItem/imageListItemClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ImageListItemClasses { diff --git a/packages/mui-material/src/ImageListItemBar/imageListItemBarClasses.ts b/packages/mui-material/src/ImageListItemBar/imageListItemBarClasses.ts index c351b752db1307..1d20d9542557fd 100644 --- a/packages/mui-material/src/ImageListItemBar/imageListItemBarClasses.ts +++ b/packages/mui-material/src/ImageListItemBar/imageListItemBarClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ImageListItemBarClasses { diff --git a/packages/mui-material/src/Input/inputClasses.ts b/packages/mui-material/src/Input/inputClasses.ts index fa1bfe7179184a..c6a0a06ee9cd65 100644 --- a/packages/mui-material/src/Input/inputClasses.ts +++ b/packages/mui-material/src/Input/inputClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; import { inputBaseClasses } from '../InputBase'; diff --git a/packages/mui-material/src/InputAdornment/inputAdornmentClasses.ts b/packages/mui-material/src/InputAdornment/inputAdornmentClasses.ts index 55a55f35405a78..530fc3ec9b376b 100644 --- a/packages/mui-material/src/InputAdornment/inputAdornmentClasses.ts +++ b/packages/mui-material/src/InputAdornment/inputAdornmentClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface InputAdornmentClasses { diff --git a/packages/mui-material/src/InputBase/inputBaseClasses.ts b/packages/mui-material/src/InputBase/inputBaseClasses.ts index 6ceedc00f86a11..c03e54161cb936 100644 --- a/packages/mui-material/src/InputBase/inputBaseClasses.ts +++ b/packages/mui-material/src/InputBase/inputBaseClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface InputBaseClasses { diff --git a/packages/mui-material/src/InputLabel/inputLabelClasses.ts b/packages/mui-material/src/InputLabel/inputLabelClasses.ts index 25203f8ce1ea77..e6db154a7b9229 100644 --- a/packages/mui-material/src/InputLabel/inputLabelClasses.ts +++ b/packages/mui-material/src/InputLabel/inputLabelClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface InputLabelClasses { diff --git a/packages/mui-material/src/LinearProgress/linearProgressClasses.ts b/packages/mui-material/src/LinearProgress/linearProgressClasses.ts index 7a6a726681b877..cf2a35133ccf04 100644 --- a/packages/mui-material/src/LinearProgress/linearProgressClasses.ts +++ b/packages/mui-material/src/LinearProgress/linearProgressClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface LinearProgressClasses { diff --git a/packages/mui-material/src/Link/linkClasses.ts b/packages/mui-material/src/Link/linkClasses.ts index bbe854f6a32cbb..63c430faa851dd 100644 --- a/packages/mui-material/src/Link/linkClasses.ts +++ b/packages/mui-material/src/Link/linkClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface LinkClasses { diff --git a/packages/mui-material/src/List/listClasses.ts b/packages/mui-material/src/List/listClasses.ts index f69cc560e96663..360e493c7e1b0d 100644 --- a/packages/mui-material/src/List/listClasses.ts +++ b/packages/mui-material/src/List/listClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ListClasses { diff --git a/packages/mui-material/src/ListItem/listItemClasses.ts b/packages/mui-material/src/ListItem/listItemClasses.ts index a43eadea79c7a4..9bfd05b6c2c153 100644 --- a/packages/mui-material/src/ListItem/listItemClasses.ts +++ b/packages/mui-material/src/ListItem/listItemClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ListItemClasses { diff --git a/packages/mui-material/src/ListItemAvatar/listItemAvatarClasses.ts b/packages/mui-material/src/ListItemAvatar/listItemAvatarClasses.ts index 1e5b512aa78c00..1f120681acd17a 100644 --- a/packages/mui-material/src/ListItemAvatar/listItemAvatarClasses.ts +++ b/packages/mui-material/src/ListItemAvatar/listItemAvatarClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ListItemAvatarClasses { diff --git a/packages/mui-material/src/ListItemButton/listItemButtonClasses.ts b/packages/mui-material/src/ListItemButton/listItemButtonClasses.ts index b6e816d029633a..64c1c1dfe558e2 100644 --- a/packages/mui-material/src/ListItemButton/listItemButtonClasses.ts +++ b/packages/mui-material/src/ListItemButton/listItemButtonClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ListItemButtonClasses { diff --git a/packages/mui-material/src/ListItemIcon/listItemIconClasses.ts b/packages/mui-material/src/ListItemIcon/listItemIconClasses.ts index 355cd2fe6ea0ae..a1dc3131013a8c 100644 --- a/packages/mui-material/src/ListItemIcon/listItemIconClasses.ts +++ b/packages/mui-material/src/ListItemIcon/listItemIconClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ListItemIconClasses { diff --git a/packages/mui-material/src/ListItemSecondaryAction/listItemSecondaryActionClasses.ts b/packages/mui-material/src/ListItemSecondaryAction/listItemSecondaryActionClasses.ts index b3ea3c315bca9a..21c5d5586a2585 100644 --- a/packages/mui-material/src/ListItemSecondaryAction/listItemSecondaryActionClasses.ts +++ b/packages/mui-material/src/ListItemSecondaryAction/listItemSecondaryActionClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ListItemSecondaryActionClasses { diff --git a/packages/mui-material/src/ListItemText/listItemTextClasses.ts b/packages/mui-material/src/ListItemText/listItemTextClasses.ts index f7abfd6fd58910..eaac3804302452 100644 --- a/packages/mui-material/src/ListItemText/listItemTextClasses.ts +++ b/packages/mui-material/src/ListItemText/listItemTextClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ListItemTextClasses { diff --git a/packages/mui-material/src/ListSubheader/listSubheaderClasses.ts b/packages/mui-material/src/ListSubheader/listSubheaderClasses.ts index 693e66f905b5f2..8c693fe598a1a8 100644 --- a/packages/mui-material/src/ListSubheader/listSubheaderClasses.ts +++ b/packages/mui-material/src/ListSubheader/listSubheaderClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ListSubheaderClasses { diff --git a/packages/mui-material/src/Menu/menuClasses.ts b/packages/mui-material/src/Menu/menuClasses.ts index 94b8f791cc604a..1beb1368d2bb9b 100644 --- a/packages/mui-material/src/Menu/menuClasses.ts +++ b/packages/mui-material/src/Menu/menuClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface MenuClasses { diff --git a/packages/mui-material/src/MenuItem/menuItemClasses.ts b/packages/mui-material/src/MenuItem/menuItemClasses.ts index 88aacc72d3d499..657bc6cddd9c9b 100644 --- a/packages/mui-material/src/MenuItem/menuItemClasses.ts +++ b/packages/mui-material/src/MenuItem/menuItemClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface MenuItemClasses { diff --git a/packages/mui-material/src/MobileStepper/mobileStepperClasses.ts b/packages/mui-material/src/MobileStepper/mobileStepperClasses.ts index a597a8d30adabc..b656726a296cfa 100644 --- a/packages/mui-material/src/MobileStepper/mobileStepperClasses.ts +++ b/packages/mui-material/src/MobileStepper/mobileStepperClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface MobileStepperClasses { diff --git a/packages/mui-material/src/Modal/modalClasses.ts b/packages/mui-material/src/Modal/modalClasses.ts index 8e2f71399b43c5..d81066d495169b 100644 --- a/packages/mui-material/src/Modal/modalClasses.ts +++ b/packages/mui-material/src/Modal/modalClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ModalClasses { diff --git a/packages/mui-material/src/NativeSelect/nativeSelectClasses.ts b/packages/mui-material/src/NativeSelect/nativeSelectClasses.ts index 29803a180b9584..3be7d726ff271f 100644 --- a/packages/mui-material/src/NativeSelect/nativeSelectClasses.ts +++ b/packages/mui-material/src/NativeSelect/nativeSelectClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface NativeSelectClasses { diff --git a/packages/mui-material/src/OutlinedInput/outlinedInputClasses.ts b/packages/mui-material/src/OutlinedInput/outlinedInputClasses.ts index f8550006c0c982..1d13c098fba34b 100644 --- a/packages/mui-material/src/OutlinedInput/outlinedInputClasses.ts +++ b/packages/mui-material/src/OutlinedInput/outlinedInputClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; import { inputBaseClasses } from '../InputBase'; diff --git a/packages/mui-material/src/Pagination/paginationClasses.ts b/packages/mui-material/src/Pagination/paginationClasses.ts index 1c572438157e4c..759d905d71d8a9 100644 --- a/packages/mui-material/src/Pagination/paginationClasses.ts +++ b/packages/mui-material/src/Pagination/paginationClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface PaginationClasses { diff --git a/packages/mui-material/src/PaginationItem/paginationItemClasses.ts b/packages/mui-material/src/PaginationItem/paginationItemClasses.ts index 944a9350fb4bf6..04e9439c44d3a3 100644 --- a/packages/mui-material/src/PaginationItem/paginationItemClasses.ts +++ b/packages/mui-material/src/PaginationItem/paginationItemClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface PaginationItemClasses { diff --git a/packages/mui-material/src/Paper/paperClasses.ts b/packages/mui-material/src/Paper/paperClasses.ts index 808046419a3d71..a3e6cbc2fba88e 100644 --- a/packages/mui-material/src/Paper/paperClasses.ts +++ b/packages/mui-material/src/Paper/paperClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface PaperClasses { diff --git a/packages/mui-material/src/Popover/popoverClasses.ts b/packages/mui-material/src/Popover/popoverClasses.ts index c104269f921af4..e284ca2292cc37 100644 --- a/packages/mui-material/src/Popover/popoverClasses.ts +++ b/packages/mui-material/src/Popover/popoverClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface PopoverClasses { diff --git a/packages/mui-material/src/Radio/radioClasses.ts b/packages/mui-material/src/Radio/radioClasses.ts index 77eb9c8cee0df8..8eeffc61b7d44a 100644 --- a/packages/mui-material/src/Radio/radioClasses.ts +++ b/packages/mui-material/src/Radio/radioClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface RadioClasses { diff --git a/packages/mui-material/src/Rating/ratingClasses.ts b/packages/mui-material/src/Rating/ratingClasses.ts index 38164424321df8..9f4ca0fff1cbda 100644 --- a/packages/mui-material/src/Rating/ratingClasses.ts +++ b/packages/mui-material/src/Rating/ratingClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface RatingClasses { diff --git a/packages/mui-material/src/ScopedCssBaseline/scopedCssBaselineClasses.ts b/packages/mui-material/src/ScopedCssBaseline/scopedCssBaselineClasses.ts index d6d07627b33a83..bf459500a53c3e 100644 --- a/packages/mui-material/src/ScopedCssBaseline/scopedCssBaselineClasses.ts +++ b/packages/mui-material/src/ScopedCssBaseline/scopedCssBaselineClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ScopedCssBaselineClasses { diff --git a/packages/mui-material/src/Select/selectClasses.ts b/packages/mui-material/src/Select/selectClasses.ts index 1aa8ed12a1c467..1ab36f559bff84 100644 --- a/packages/mui-material/src/Select/selectClasses.ts +++ b/packages/mui-material/src/Select/selectClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface SelectClasses { diff --git a/packages/mui-material/src/Skeleton/skeletonClasses.ts b/packages/mui-material/src/Skeleton/skeletonClasses.ts index ae66314548fc3e..70934f3b1640ef 100644 --- a/packages/mui-material/src/Skeleton/skeletonClasses.ts +++ b/packages/mui-material/src/Skeleton/skeletonClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface SkeletonClasses { diff --git a/packages/mui-material/src/Slider/sliderClasses.ts b/packages/mui-material/src/Slider/sliderClasses.ts index 53cc0edf6c8d61..bde7b77895eba9 100644 --- a/packages/mui-material/src/Slider/sliderClasses.ts +++ b/packages/mui-material/src/Slider/sliderClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface SliderClasses { diff --git a/packages/mui-material/src/Snackbar/snackbarClasses.ts b/packages/mui-material/src/Snackbar/snackbarClasses.ts index 7d6967deb7c63e..aef2b142044929 100644 --- a/packages/mui-material/src/Snackbar/snackbarClasses.ts +++ b/packages/mui-material/src/Snackbar/snackbarClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface SnackbarClasses { diff --git a/packages/mui-material/src/SnackbarContent/snackbarContentClasses.ts b/packages/mui-material/src/SnackbarContent/snackbarContentClasses.ts index 401121d53f0ecf..ba8d0a2c766966 100644 --- a/packages/mui-material/src/SnackbarContent/snackbarContentClasses.ts +++ b/packages/mui-material/src/SnackbarContent/snackbarContentClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface SnackbarContentClasses { diff --git a/packages/mui-material/src/SpeedDial/speedDialClasses.ts b/packages/mui-material/src/SpeedDial/speedDialClasses.ts index a9732cb46a5c1f..6d6f69d0a89220 100644 --- a/packages/mui-material/src/SpeedDial/speedDialClasses.ts +++ b/packages/mui-material/src/SpeedDial/speedDialClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface SpeedDialClasses { diff --git a/packages/mui-material/src/SpeedDialAction/speedDialActionClasses.ts b/packages/mui-material/src/SpeedDialAction/speedDialActionClasses.ts index 66e50817d85e90..88c47ffe2a9526 100644 --- a/packages/mui-material/src/SpeedDialAction/speedDialActionClasses.ts +++ b/packages/mui-material/src/SpeedDialAction/speedDialActionClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface SpeedDialActionClasses { diff --git a/packages/mui-material/src/SpeedDialIcon/speedDialIconClasses.ts b/packages/mui-material/src/SpeedDialIcon/speedDialIconClasses.ts index 77d5137a58ac64..b40586bdcf404a 100644 --- a/packages/mui-material/src/SpeedDialIcon/speedDialIconClasses.ts +++ b/packages/mui-material/src/SpeedDialIcon/speedDialIconClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface SpeedDialIconClasses { diff --git a/packages/mui-material/src/Stack/stackClasses.ts b/packages/mui-material/src/Stack/stackClasses.ts index 0c823a76180faa..3b3ecf105794b9 100644 --- a/packages/mui-material/src/Stack/stackClasses.ts +++ b/packages/mui-material/src/Stack/stackClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import { StackClasses } from '@mui/system'; import generateUtilityClass from '../generateUtilityClass'; diff --git a/packages/mui-material/src/Step/stepClasses.ts b/packages/mui-material/src/Step/stepClasses.ts index 51739104e64e12..bd0d02dd60c6aa 100644 --- a/packages/mui-material/src/Step/stepClasses.ts +++ b/packages/mui-material/src/Step/stepClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface StepClasses { diff --git a/packages/mui-material/src/StepButton/stepButtonClasses.ts b/packages/mui-material/src/StepButton/stepButtonClasses.ts index b3565ccf346def..e5c785f3e14d03 100644 --- a/packages/mui-material/src/StepButton/stepButtonClasses.ts +++ b/packages/mui-material/src/StepButton/stepButtonClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface StepButtonClasses { diff --git a/packages/mui-material/src/StepConnector/stepConnectorClasses.ts b/packages/mui-material/src/StepConnector/stepConnectorClasses.ts index d29851adb0d8aa..5257d505c115f5 100644 --- a/packages/mui-material/src/StepConnector/stepConnectorClasses.ts +++ b/packages/mui-material/src/StepConnector/stepConnectorClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface StepConnectorClasses { diff --git a/packages/mui-material/src/StepContent/stepContentClasses.ts b/packages/mui-material/src/StepContent/stepContentClasses.ts index 209005f4d3094a..ec243ed1cb5963 100644 --- a/packages/mui-material/src/StepContent/stepContentClasses.ts +++ b/packages/mui-material/src/StepContent/stepContentClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface StepContentClasses { diff --git a/packages/mui-material/src/StepIcon/stepIconClasses.ts b/packages/mui-material/src/StepIcon/stepIconClasses.ts index 5b5bbd594f4c2f..2be83129c56e01 100644 --- a/packages/mui-material/src/StepIcon/stepIconClasses.ts +++ b/packages/mui-material/src/StepIcon/stepIconClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface StepIconClasses { diff --git a/packages/mui-material/src/StepLabel/stepLabelClasses.ts b/packages/mui-material/src/StepLabel/stepLabelClasses.ts index 02f916334d87ae..1f33bc944105a9 100644 --- a/packages/mui-material/src/StepLabel/stepLabelClasses.ts +++ b/packages/mui-material/src/StepLabel/stepLabelClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface StepLabelClasses { diff --git a/packages/mui-material/src/Stepper/stepperClasses.ts b/packages/mui-material/src/Stepper/stepperClasses.ts index 530f6bb383e78a..bd5dbf3c93fb3b 100644 --- a/packages/mui-material/src/Stepper/stepperClasses.ts +++ b/packages/mui-material/src/Stepper/stepperClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface StepperClasses { diff --git a/packages/mui-material/src/SvgIcon/svgIconClasses.ts b/packages/mui-material/src/SvgIcon/svgIconClasses.ts index 44c8a6d4f829a9..1712b63d75bc9c 100644 --- a/packages/mui-material/src/SvgIcon/svgIconClasses.ts +++ b/packages/mui-material/src/SvgIcon/svgIconClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface SvgIconClasses { diff --git a/packages/mui-material/src/Switch/switchClasses.ts b/packages/mui-material/src/Switch/switchClasses.ts index f4b5d817000e05..5fa3b05fdb7a42 100644 --- a/packages/mui-material/src/Switch/switchClasses.ts +++ b/packages/mui-material/src/Switch/switchClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface SwitchClasses { diff --git a/packages/mui-material/src/Tab/tabClasses.ts b/packages/mui-material/src/Tab/tabClasses.ts index 011df545de46b9..19d025e030a42d 100644 --- a/packages/mui-material/src/Tab/tabClasses.ts +++ b/packages/mui-material/src/Tab/tabClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TabClasses { diff --git a/packages/mui-material/src/TabScrollButton/tabScrollButtonClasses.ts b/packages/mui-material/src/TabScrollButton/tabScrollButtonClasses.ts index 0bf0a4279644fa..471fc91ea0701f 100644 --- a/packages/mui-material/src/TabScrollButton/tabScrollButtonClasses.ts +++ b/packages/mui-material/src/TabScrollButton/tabScrollButtonClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TabScrollButtonClasses { diff --git a/packages/mui-material/src/Table/tableClasses.ts b/packages/mui-material/src/Table/tableClasses.ts index 0f2b0406c2da85..3a8a86c95b1ab0 100644 --- a/packages/mui-material/src/Table/tableClasses.ts +++ b/packages/mui-material/src/Table/tableClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TableClasses { diff --git a/packages/mui-material/src/TableBody/tableBodyClasses.ts b/packages/mui-material/src/TableBody/tableBodyClasses.ts index 205243c5b85195..72aaa3cca903ee 100644 --- a/packages/mui-material/src/TableBody/tableBodyClasses.ts +++ b/packages/mui-material/src/TableBody/tableBodyClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TableBodyClasses { diff --git a/packages/mui-material/src/TableCell/tableCellClasses.ts b/packages/mui-material/src/TableCell/tableCellClasses.ts index 3b2459946efae0..a5172fb6845659 100644 --- a/packages/mui-material/src/TableCell/tableCellClasses.ts +++ b/packages/mui-material/src/TableCell/tableCellClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TableCellClasses { diff --git a/packages/mui-material/src/TableContainer/tableContainerClasses.ts b/packages/mui-material/src/TableContainer/tableContainerClasses.ts index 8cd0e53095ec6c..eabfc9ee50c298 100644 --- a/packages/mui-material/src/TableContainer/tableContainerClasses.ts +++ b/packages/mui-material/src/TableContainer/tableContainerClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TableContainerClasses { diff --git a/packages/mui-material/src/TableFooter/tableFooterClasses.ts b/packages/mui-material/src/TableFooter/tableFooterClasses.ts index 036a6b4ea43a7f..33ae3b56260d46 100644 --- a/packages/mui-material/src/TableFooter/tableFooterClasses.ts +++ b/packages/mui-material/src/TableFooter/tableFooterClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TableFooterClasses { diff --git a/packages/mui-material/src/TableHead/tableHeadClasses.ts b/packages/mui-material/src/TableHead/tableHeadClasses.ts index e4e70e466fa6d5..0879fe85a99a0f 100644 --- a/packages/mui-material/src/TableHead/tableHeadClasses.ts +++ b/packages/mui-material/src/TableHead/tableHeadClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TableHeadClasses { diff --git a/packages/mui-material/src/TablePagination/tablePaginationClasses.ts b/packages/mui-material/src/TablePagination/tablePaginationClasses.ts index b08458271ea406..78dc0e73af3e56 100644 --- a/packages/mui-material/src/TablePagination/tablePaginationClasses.ts +++ b/packages/mui-material/src/TablePagination/tablePaginationClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TablePaginationClasses { diff --git a/packages/mui-material/src/TableRow/tableRowClasses.ts b/packages/mui-material/src/TableRow/tableRowClasses.ts index 5987f805cc591a..edbc6994ce1c57 100644 --- a/packages/mui-material/src/TableRow/tableRowClasses.ts +++ b/packages/mui-material/src/TableRow/tableRowClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TableRowClasses { diff --git a/packages/mui-material/src/TableSortLabel/tableSortLabelClasses.ts b/packages/mui-material/src/TableSortLabel/tableSortLabelClasses.ts index 94e30b80655e02..ab0e52dfd77213 100644 --- a/packages/mui-material/src/TableSortLabel/tableSortLabelClasses.ts +++ b/packages/mui-material/src/TableSortLabel/tableSortLabelClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TableSortLabelClasses { diff --git a/packages/mui-material/src/Tabs/tabsClasses.ts b/packages/mui-material/src/Tabs/tabsClasses.ts index 515300272f198c..60a54aa7fbdfc1 100644 --- a/packages/mui-material/src/Tabs/tabsClasses.ts +++ b/packages/mui-material/src/Tabs/tabsClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TabsClasses { diff --git a/packages/mui-material/src/TextField/textFieldClasses.ts b/packages/mui-material/src/TextField/textFieldClasses.ts index a784925282ae9d..8364480e6be163 100644 --- a/packages/mui-material/src/TextField/textFieldClasses.ts +++ b/packages/mui-material/src/TextField/textFieldClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TextFieldClasses { diff --git a/packages/mui-material/src/ToggleButton/toggleButtonClasses.ts b/packages/mui-material/src/ToggleButton/toggleButtonClasses.ts index 7c989dd799fe97..436f6f981c58af 100644 --- a/packages/mui-material/src/ToggleButton/toggleButtonClasses.ts +++ b/packages/mui-material/src/ToggleButton/toggleButtonClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ToggleButtonClasses { diff --git a/packages/mui-material/src/ToggleButtonGroup/toggleButtonGroupClasses.ts b/packages/mui-material/src/ToggleButtonGroup/toggleButtonGroupClasses.ts index 4be913337ee971..91519431d676bf 100644 --- a/packages/mui-material/src/ToggleButtonGroup/toggleButtonGroupClasses.ts +++ b/packages/mui-material/src/ToggleButtonGroup/toggleButtonGroupClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ToggleButtonGroupClasses { diff --git a/packages/mui-material/src/Toolbar/toolbarClasses.ts b/packages/mui-material/src/Toolbar/toolbarClasses.ts index fb50c33ba11d00..2a65bd054a5206 100644 --- a/packages/mui-material/src/Toolbar/toolbarClasses.ts +++ b/packages/mui-material/src/Toolbar/toolbarClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface ToolbarClasses { diff --git a/packages/mui-material/src/Tooltip/tooltipClasses.ts b/packages/mui-material/src/Tooltip/tooltipClasses.ts index 6dc7392b5f340c..bd7dedd5af4692 100644 --- a/packages/mui-material/src/Tooltip/tooltipClasses.ts +++ b/packages/mui-material/src/Tooltip/tooltipClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TooltipClasses { diff --git a/packages/mui-material/src/Typography/typographyClasses.ts b/packages/mui-material/src/Typography/typographyClasses.ts index 5e7a75d1853869..885bbb86a75f78 100644 --- a/packages/mui-material/src/Typography/typographyClasses.ts +++ b/packages/mui-material/src/Typography/typographyClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface TypographyClasses { diff --git a/packages/mui-material/src/Unstable_Grid2/grid2Classes.ts b/packages/mui-material/src/Unstable_Grid2/grid2Classes.ts index 606dcf3b62bbb3..48a7d59defeb86 100644 --- a/packages/mui-material/src/Unstable_Grid2/grid2Classes.ts +++ b/packages/mui-material/src/Unstable_Grid2/grid2Classes.ts @@ -1,5 +1,5 @@ import { GridClasses } from '@mui/system/Unstable_Grid'; -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export type Grid2ClassKey = keyof GridClasses; diff --git a/packages/mui-material/src/internal/switchBaseClasses.ts b/packages/mui-material/src/internal/switchBaseClasses.ts index f68505cbf2fbb7..5c581b915abad0 100644 --- a/packages/mui-material/src/internal/switchBaseClasses.ts +++ b/packages/mui-material/src/internal/switchBaseClasses.ts @@ -1,4 +1,4 @@ -import generateUtilityClasses from '@mui/utils/generateUtilityClasses'; +import generateUtilityClasses from '../generateUtilityClasses'; import generateUtilityClass from '../generateUtilityClass'; export interface SwitchBaseClasses {