From 913a20e12cf71c851fa8e4c77f5642bee416ed85 Mon Sep 17 00:00:00 2001 From: Michael Marszalek Date: Wed, 20 Sep 2023 20:17:30 +0200 Subject: [PATCH] Moved Textfield to legacy folder --- packages/react/src/components/index.ts | 2 +- .../src/components/{ => legacy}/TextField/TextField.mdx | 0 .../components/{ => legacy}/TextField/TextField.stories.tsx | 0 .../components/{ => legacy}/TextField/TextField.test.tsx | 0 .../src/components/{ => legacy}/TextField/TextField.tsx | 6 +++--- .../react/src/components/{ => legacy}/TextField/index.ts | 0 6 files changed, 4 insertions(+), 4 deletions(-) rename packages/react/src/components/{ => legacy}/TextField/TextField.mdx (100%) rename packages/react/src/components/{ => legacy}/TextField/TextField.stories.tsx (100%) rename packages/react/src/components/{ => legacy}/TextField/TextField.test.tsx (100%) rename packages/react/src/components/{ => legacy}/TextField/TextField.tsx (96%) rename packages/react/src/components/{ => legacy}/TextField/index.ts (100%) 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