Skip to content

Commit

Permalink
Fix import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
mj12albert committed Sep 21, 2023
1 parent d426f1a commit 24f788c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
4 changes: 2 additions & 2 deletions packages/mui-material-next/src/FilledInput/FilledInput.d.ts
Original file line number Diff line number Diff line change
@@ -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<InputBaseProps> {
Expand Down
12 changes: 6 additions & 6 deletions packages/mui-material-next/src/FilledInput/FilledInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -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 <FilledInput hiddenLabel />;
Expand Down
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit 24f788c

Please sign in to comment.