diff --git a/packages/mui-material-next/src/FilledInput/FilledInput.d.ts b/packages/mui-material-next/src/FilledInput/FilledInput.d.ts index c9caa77ac2b6c3..74e6dd93fccf9a 100644 --- a/packages/mui-material-next/src/FilledInput/FilledInput.d.ts +++ b/packages/mui-material-next/src/FilledInput/FilledInput.d.ts @@ -1,6 +1,6 @@ import { SxProps } from '@mui/system'; -import { InternalStandardProps as StandardProps, Theme } from '..'; -import { InputBaseProps } from '../InputBase'; +import { InternalStandardProps as StandardProps, Theme } from '@mui/material'; +import { InputBaseProps } from '@mui/material/InputBase'; import { FilledInputClasses } from './filledInputClasses'; export interface FilledInputProps extends StandardProps { diff --git a/packages/mui-material-next/src/FilledInput/FilledInput.js b/packages/mui-material-next/src/FilledInput/FilledInput.js index e618edf66553aa..6392ae19956bfb 100644 --- a/packages/mui-material-next/src/FilledInput/FilledInput.js +++ b/packages/mui-material-next/src/FilledInput/FilledInput.js @@ -3,16 +3,16 @@ import * as React from 'react'; import { refType, deepmerge } from '@mui/utils'; import PropTypes from 'prop-types'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; +// TODO v6: use material-next/InputBase +import { + rootOverridesResolver as inputBaseRootOverridesResolver, + inputOverridesResolver as inputBaseInputOverridesResolver, +} from '@mui/material/InputBase/InputBase'; import InputBase from '../InputBase'; import styled, { rootShouldForwardProp } from '../styles/styled'; import useThemeProps from '../styles/useThemeProps'; import filledInputClasses, { getFilledInputUtilityClass } from './filledInputClasses'; -import { - rootOverridesResolver as inputBaseRootOverridesResolver, - inputOverridesResolver as inputBaseInputOverridesResolver, - InputBaseRoot, - InputBaseComponent as InputBaseInput, -} from '../InputBase/InputBase'; +import { InputBaseRoot, InputBaseInput } from '../InputBase/InputBase'; const useUtilityClasses = (ownerState) => { const { classes, disableUnderline } = ownerState; diff --git a/packages/mui-material-next/src/FilledInput/FilledInput.spec.tsx b/packages/mui-material-next/src/FilledInput/FilledInput.spec.tsx index 9279e46f6ba669..85956d7f730606 100644 --- a/packages/mui-material-next/src/FilledInput/FilledInput.spec.tsx +++ b/packages/mui-material-next/src/FilledInput/FilledInput.spec.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import FilledInput from '@mui/material/FilledInput'; +import FilledInput from '@mui/material-next/FilledInput'; function TestHiddenLabel() { return ; diff --git a/packages/mui-material-next/src/FilledInput/filledInputClasses.ts b/packages/mui-material-next/src/FilledInput/filledInputClasses.ts index 2032773788288d..b9935def8117cd 100644 --- a/packages/mui-material-next/src/FilledInput/filledInputClasses.ts +++ b/packages/mui-material-next/src/FilledInput/filledInputClasses.ts @@ -1,5 +1,7 @@ -import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; -import generateUtilityClass from '../generateUtilityClass'; +import { + unstable_generateUtilityClass as generateUtilityClass, + unstable_generateUtilityClasses as generateUtilityClasses, +} from '@mui/utils'; import { inputBaseClasses } from '../InputBase'; export interface FilledInputClasses {