diff --git a/packages/react/src/components/index.ts b/packages/react/src/components/index.ts index 58a7d47ecb..1fb31b188c 100644 --- a/packages/react/src/components/index.ts +++ b/packages/react/src/components/index.ts @@ -11,7 +11,7 @@ export * from './Popover'; export * from './Select'; export * from './Spinner'; export * from './TextArea'; -export * from './TextField'; +export * from './legacy/TextField'; export * from './Link'; export * from './List'; export * from './Table'; diff --git a/packages/react/src/components/TextField/TextField.mdx b/packages/react/src/components/legacy/TextField/TextField.mdx similarity index 100% rename from packages/react/src/components/TextField/TextField.mdx rename to packages/react/src/components/legacy/TextField/TextField.mdx diff --git a/packages/react/src/components/TextField/TextField.stories.tsx b/packages/react/src/components/legacy/TextField/TextField.stories.tsx similarity index 100% rename from packages/react/src/components/TextField/TextField.stories.tsx rename to packages/react/src/components/legacy/TextField/TextField.stories.tsx diff --git a/packages/react/src/components/TextField/TextField.test.tsx b/packages/react/src/components/legacy/TextField/TextField.test.tsx similarity index 100% rename from packages/react/src/components/TextField/TextField.test.tsx rename to packages/react/src/components/legacy/TextField/TextField.test.tsx diff --git a/packages/react/src/components/TextField/TextField.tsx b/packages/react/src/components/legacy/TextField/TextField.tsx similarity index 96% rename from packages/react/src/components/TextField/TextField.tsx rename to packages/react/src/components/legacy/TextField/TextField.tsx index 22f10cb4b6..d95e2ebd23 100644 --- a/packages/react/src/components/TextField/TextField.tsx +++ b/packages/react/src/components/legacy/TextField/TextField.tsx @@ -9,9 +9,9 @@ import type { } from 'react-number-format'; import { NumericFormat, PatternFormat } from 'react-number-format'; -import { isNumericFormat, isPatternFormat } from '../../utils'; -import { InputWrapper } from '../_InputWrapper'; -import type { ReadOnlyVariant_, CharacterLimit } from '../_InputWrapper'; +import { isNumericFormat, isPatternFormat } from '../../../utils'; +import { InputWrapper } from '../../_InputWrapper'; +import type { ReadOnlyVariant_, CharacterLimit } from '../../_InputWrapper'; export type TextFieldProps = { /** diff --git a/packages/react/src/components/TextField/index.ts b/packages/react/src/components/legacy/TextField/index.ts similarity index 100% rename from packages/react/src/components/TextField/index.ts rename to packages/react/src/components/legacy/TextField/index.ts