@seed-design/lynx-react 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/LICENSE +201 -0
  2. package/NOTICE +20 -0
  3. package/lib/components/Field/Field.d.ts +47 -0
  4. package/lib/components/Field/Field.d.ts.map +1 -0
  5. package/lib/components/Field/Field.jsx +121 -0
  6. package/lib/components/Field/Field.namespace.d.ts +2 -0
  7. package/lib/components/Field/Field.namespace.d.ts.map +1 -0
  8. package/lib/components/Field/Field.namespace.js +16 -0
  9. package/lib/components/Field/context.d.ts +19 -0
  10. package/lib/components/Field/context.d.ts.map +1 -0
  11. package/lib/components/Field/context.js +10 -0
  12. package/lib/components/Field/index.d.ts +3 -0
  13. package/lib/components/Field/index.d.ts.map +1 -0
  14. package/lib/components/KeyboardAvoidingScrollView/KeyboardAvoidingScrollView.d.ts +42 -0
  15. package/lib/components/KeyboardAvoidingScrollView/KeyboardAvoidingScrollView.d.ts.map +1 -0
  16. package/lib/components/KeyboardAvoidingScrollView/KeyboardAvoidingScrollView.jsx +140 -0
  17. package/lib/components/KeyboardAvoidingScrollView/context.d.ts +17 -0
  18. package/lib/components/KeyboardAvoidingScrollView/context.d.ts.map +1 -0
  19. package/lib/components/KeyboardAvoidingScrollView/context.js +12 -0
  20. package/lib/components/KeyboardAvoidingScrollView/engine.d.ts +50 -0
  21. package/lib/components/KeyboardAvoidingScrollView/engine.d.ts.map +1 -0
  22. package/lib/components/KeyboardAvoidingScrollView/engine.js +259 -0
  23. package/lib/components/KeyboardAvoidingScrollView/geometry.d.ts +50 -0
  24. package/lib/components/KeyboardAvoidingScrollView/geometry.d.ts.map +1 -0
  25. package/lib/components/KeyboardAvoidingScrollView/geometry.js +90 -0
  26. package/lib/components/KeyboardAvoidingScrollView/index.d.ts +2 -0
  27. package/lib/components/KeyboardAvoidingScrollView/index.d.ts.map +1 -0
  28. package/lib/components/KeyboardAvoidingScrollView/keyboard-event-source.d.ts +11 -0
  29. package/lib/components/KeyboardAvoidingScrollView/keyboard-event-source.d.ts.map +1 -0
  30. package/lib/components/KeyboardAvoidingScrollView/keyboard-event-source.js +43 -0
  31. package/lib/components/KeyboardAvoidingScrollView/native-driver.d.ts +34 -0
  32. package/lib/components/KeyboardAvoidingScrollView/native-driver.d.ts.map +1 -0
  33. package/lib/components/KeyboardAvoidingScrollView/native-driver.js +133 -0
  34. package/lib/components/TextField/TextField.d.ts +113 -0
  35. package/lib/components/TextField/TextField.d.ts.map +1 -0
  36. package/lib/components/TextField/TextField.jsx +418 -0
  37. package/lib/components/TextField/TextField.namespace.d.ts +2 -0
  38. package/lib/components/TextField/TextField.namespace.d.ts.map +1 -0
  39. package/lib/components/TextField/TextField.namespace.js +14 -0
  40. package/lib/components/TextField/context.d.ts +22 -0
  41. package/lib/components/TextField/context.d.ts.map +1 -0
  42. package/lib/components/TextField/context.js +7 -0
  43. package/lib/components/TextField/index.d.ts +4 -0
  44. package/lib/components/TextField/index.d.ts.map +1 -0
  45. package/lib/components/TextField/useTextFieldWithGraphemes.d.ts +24 -0
  46. package/lib/components/TextField/useTextFieldWithGraphemes.d.ts.map +1 -0
  47. package/lib/components/TextField/useTextFieldWithGraphemes.js +47 -0
  48. package/lib/components/index.d.ts +3 -0
  49. package/lib/components/index.d.ts.map +1 -1
  50. package/lib/index.js +7 -1
  51. package/lib/node_modules/.bun/unicode-segmenter@0.14.5/node_modules/unicode-segmenter/_grapheme_data.js +8 -0
  52. package/lib/node_modules/.bun/unicode-segmenter@0.14.5/node_modules/unicode-segmenter/_incb_data.js +14 -0
  53. package/lib/node_modules/.bun/unicode-segmenter@0.14.5/node_modules/unicode-segmenter/core.js +68 -0
  54. package/lib/node_modules/.bun/unicode-segmenter@0.14.5/node_modules/unicode-segmenter/grapheme.js +175 -0
  55. package/lib/utils/create-slot-recipe-context.d.ts.map +1 -1
  56. package/lib/utils/create-slot-recipe-context.jsx +7 -0
  57. package/package.json +10 -5
  58. package/src/components/Field/Field.namespace.ts +19 -0
  59. package/src/components/Field/Field.test.tsx +81 -0
  60. package/src/components/Field/Field.tsx +252 -0
  61. package/src/components/Field/context.ts +26 -0
  62. package/src/components/Field/index.ts +21 -0
  63. package/src/components/KeyboardAvoidingScrollView/KeyboardAvoidingScrollView.test.tsx +267 -0
  64. package/src/components/KeyboardAvoidingScrollView/KeyboardAvoidingScrollView.tsx +299 -0
  65. package/src/components/KeyboardAvoidingScrollView/context.ts +24 -0
  66. package/src/components/KeyboardAvoidingScrollView/engine.test.ts +451 -0
  67. package/src/components/KeyboardAvoidingScrollView/engine.ts +417 -0
  68. package/src/components/KeyboardAvoidingScrollView/geometry.test.ts +315 -0
  69. package/src/components/KeyboardAvoidingScrollView/geometry.ts +194 -0
  70. package/src/components/KeyboardAvoidingScrollView/index.ts +5 -0
  71. package/src/components/KeyboardAvoidingScrollView/keyboard-event-source.test.ts +122 -0
  72. package/src/components/KeyboardAvoidingScrollView/keyboard-event-source.ts +75 -0
  73. package/src/components/KeyboardAvoidingScrollView/native-driver.test.ts +223 -0
  74. package/src/components/KeyboardAvoidingScrollView/native-driver.ts +248 -0
  75. package/src/components/TextField/TextField.namespace.ts +16 -0
  76. package/src/components/TextField/TextField.test.tsx +924 -0
  77. package/src/components/TextField/TextField.tsx +912 -0
  78. package/src/components/TextField/context.ts +33 -0
  79. package/src/components/TextField/index.ts +23 -0
  80. package/src/components/TextField/useTextFieldWithGraphemes.test.tsx +80 -0
  81. package/src/components/TextField/useTextFieldWithGraphemes.ts +78 -0
  82. package/src/components/index.ts +3 -0
  83. package/src/utils/create-slot-recipe-context.test.tsx +51 -0
  84. package/src/utils/create-slot-recipe-context.tsx +23 -0
@@ -0,0 +1,223 @@
1
+ import type { NodesRef } from "@lynx-js/types";
2
+ import { afterEach, describe, expect, it, vi } from "vitest";
3
+
4
+ import {
5
+ lynxKeyboardAvoidingNativeDriver,
6
+ normalizeScrollMetrics,
7
+ resolveKeyboardOcclusionTop,
8
+ } from "./native-driver";
9
+
10
+ interface TestGlobal {
11
+ SystemInfo?: {
12
+ pixelHeight?: number;
13
+ pixelRatio?: number;
14
+ platform?: string;
15
+ };
16
+ }
17
+
18
+ const originalSystemInfo = (globalThis as TestGlobal).SystemInfo;
19
+
20
+ afterEach(() => {
21
+ const global = globalThis as TestGlobal;
22
+ if (originalSystemInfo === undefined) {
23
+ delete global.SystemInfo;
24
+ } else {
25
+ global.SystemInfo = originalSystemInfo;
26
+ }
27
+ });
28
+
29
+ function createNode(onInvoke?: (options: Parameters<NodesRef["invoke"]>[0]) => void) {
30
+ const exec = vi.fn();
31
+ const query = { exec } as unknown as ReturnType<NodesRef["invoke"]>;
32
+ const invoke = vi.fn((options: Parameters<NodesRef["invoke"]>[0]) => {
33
+ onInvoke?.(options);
34
+ return query;
35
+ });
36
+ const setNativeProps = vi.fn(() => query);
37
+ const node = { invoke, setNativeProps } as unknown as NodesRef;
38
+
39
+ return { exec, invoke, node, setNativeProps };
40
+ }
41
+
42
+ describe("normalizeScrollMetrics", () => {
43
+ it("normalizes the Android default-path response", () => {
44
+ expect(
45
+ normalizeScrollMetrics(
46
+ {
47
+ scrollY: 120,
48
+ scrollRange: 560,
49
+ },
50
+ "Android",
51
+ 400,
52
+ ),
53
+ ).toEqual({ offsetY: 120, maxOffsetY: 560 });
54
+ });
55
+
56
+ it("prefers the iOS maxScrollOffset over the legacy content-size range", () => {
57
+ expect(
58
+ normalizeScrollMetrics(
59
+ {
60
+ scrollY: 120,
61
+ scrollRange: 960,
62
+ maxScrollOffset: 560,
63
+ },
64
+ "iOS",
65
+ 400,
66
+ ),
67
+ ).toEqual({ offsetY: 120, maxOffsetY: 560 });
68
+ });
69
+
70
+ it("derives an iOS max offset from a legacy content-size range", () => {
71
+ expect(
72
+ normalizeScrollMetrics(
73
+ {
74
+ scrollY: 120,
75
+ scrollRange: 960,
76
+ },
77
+ "iOS",
78
+ 400,
79
+ ),
80
+ ).toEqual({ offsetY: 120, maxOffsetY: 560 });
81
+ });
82
+
83
+ it("normalizes the Android new-architecture response", () => {
84
+ expect(
85
+ normalizeScrollMetrics(
86
+ {
87
+ scrollTop: 120,
88
+ scrollHeight: 560,
89
+ },
90
+ "Android",
91
+ 400,
92
+ ),
93
+ ).toEqual({ offsetY: 120, maxOffsetY: 560 });
94
+ });
95
+
96
+ it("derives an iOS max offset from new-architecture content height", () => {
97
+ expect(
98
+ normalizeScrollMetrics(
99
+ {
100
+ scrollTop: 120,
101
+ scrollHeight: 960,
102
+ },
103
+ "iOS",
104
+ 400,
105
+ ),
106
+ ).toEqual({ offsetY: 120, maxOffsetY: 560 });
107
+ });
108
+
109
+ it("returns null for incomplete or non-finite responses", () => {
110
+ expect(normalizeScrollMetrics({ scrollY: 10 }, "Android", 400)).toBeNull();
111
+ expect(
112
+ normalizeScrollMetrics({ scrollY: Number.NaN, scrollRange: 10 }, "Android", 400),
113
+ ).toBeNull();
114
+ });
115
+
116
+ it("clamps negative offsets and ranges", () => {
117
+ expect(
118
+ normalizeScrollMetrics(
119
+ {
120
+ scrollY: -20,
121
+ scrollRange: -10,
122
+ },
123
+ "Android",
124
+ 400,
125
+ ),
126
+ ).toEqual({ offsetY: 0, maxOffsetY: 0 });
127
+ });
128
+ });
129
+
130
+ describe("resolveKeyboardOcclusionTop", () => {
131
+ it("uses the Lynx root bottom for Android relative keyboard height", () => {
132
+ expect(
133
+ resolveKeyboardOcclusionTop({ visible: true, height: 280 }, "Android", 844, {
134
+ top: 44,
135
+ bottom: 800,
136
+ }),
137
+ ).toBe(520);
138
+ });
139
+
140
+ it("uses the physical screen height in CSS pixels for iOS", () => {
141
+ expect(
142
+ resolveKeyboardOcclusionTop({ visible: true, height: 280 }, "iOS", 844, {
143
+ top: 44,
144
+ bottom: 800,
145
+ }),
146
+ ).toBe(564);
147
+ });
148
+
149
+ it("returns null for hidden or invalid keyboard geometry", () => {
150
+ expect(
151
+ resolveKeyboardOcclusionTop({ visible: false, height: 280 }, "iOS", 844, {
152
+ top: 0,
153
+ bottom: 844,
154
+ }),
155
+ ).toBeNull();
156
+ expect(
157
+ resolveKeyboardOcclusionTop({ visible: true, height: 0 }, "Android", 844, {
158
+ top: 0,
159
+ bottom: 844,
160
+ }),
161
+ ).toBeNull();
162
+ expect(
163
+ resolveKeyboardOcclusionTop({ visible: true, height: 280 }, "Android", 844, null),
164
+ ).toBeNull();
165
+ });
166
+ });
167
+
168
+ describe("lynxKeyboardAvoidingNativeDriver", () => {
169
+ it("executes native spacer and absolute scroll mutations", () => {
170
+ const { exec, invoke, node, setNativeProps } = createNode();
171
+
172
+ lynxKeyboardAvoidingNativeDriver.setSpacerHeight(node, -10);
173
+ lynxKeyboardAvoidingNativeDriver.scrollTo(node, -20, false);
174
+
175
+ expect(setNativeProps).toHaveBeenCalledWith({ height: "0px" });
176
+ expect(invoke).toHaveBeenCalledWith({
177
+ method: "scrollTo",
178
+ params: {
179
+ offset: 0,
180
+ smooth: false,
181
+ },
182
+ });
183
+ expect(exec).toHaveBeenCalledTimes(2);
184
+ });
185
+
186
+ it("measures nodes in screen coordinates and executes the query", async () => {
187
+ const { exec, invoke, node } = createNode((options) => {
188
+ options.success?.({ top: 120, bottom: 280 });
189
+ });
190
+
191
+ await expect(lynxKeyboardAvoidingNativeDriver.measure(node)).resolves.toEqual({
192
+ top: 120,
193
+ bottom: 280,
194
+ });
195
+ expect(invoke).toHaveBeenCalledWith(
196
+ expect.objectContaining({
197
+ method: "boundingClientRect",
198
+ params: {
199
+ relativeTo: "screen",
200
+ androidEnableTransformProps: true,
201
+ },
202
+ }),
203
+ );
204
+ expect(exec).toHaveBeenCalledOnce();
205
+ });
206
+
207
+ it("normalizes getScrollInfo using the runtime platform", async () => {
208
+ (globalThis as TestGlobal).SystemInfo = {
209
+ platform: "iOS",
210
+ pixelHeight: 844,
211
+ pixelRatio: 1,
212
+ };
213
+ const { exec, node } = createNode((options) => {
214
+ options.success?.({ scrollY: 120, scrollRange: 960 });
215
+ });
216
+
217
+ await expect(lynxKeyboardAvoidingNativeDriver.getScrollMetrics(node, 400)).resolves.toEqual({
218
+ offsetY: 120,
219
+ maxOffsetY: 560,
220
+ });
221
+ expect(exec).toHaveBeenCalledOnce();
222
+ });
223
+ });
@@ -0,0 +1,248 @@
1
+ import type { NodesRef, PlatformType } from "@lynx-js/types";
2
+
3
+ import type { VerticalRect } from "./geometry";
4
+
5
+ export type KeyboardAvoidingPlatform = Extract<PlatformType, "Android" | "iOS">;
6
+
7
+ export interface RawKeyboardState {
8
+ visible: boolean;
9
+ height: number;
10
+ }
11
+
12
+ export interface KeyboardOcclusion {
13
+ visible: boolean;
14
+ topInScreenPx: number;
15
+ }
16
+
17
+ export interface ScrollMetrics {
18
+ offsetY: number;
19
+ maxOffsetY: number;
20
+ }
21
+
22
+ export interface RawScrollInfo {
23
+ scrollY?: number;
24
+ scrollRange?: number;
25
+ maxScrollOffset?: number;
26
+ scrollTop?: number;
27
+ scrollHeight?: number;
28
+ }
29
+
30
+ interface SystemInfoLike {
31
+ pixelHeight?: number;
32
+ pixelRatio?: number;
33
+ platform?: string;
34
+ }
35
+
36
+ export interface KeyboardAvoidingNativeDriver {
37
+ measure(node: NodesRef): Promise<VerticalRect | null>;
38
+ resolveKeyboardOcclusion(state: RawKeyboardState): Promise<KeyboardOcclusion | null>;
39
+ setSpacerHeight(node: NodesRef, height: number): void;
40
+ waitForLayout(): Promise<void>;
41
+ getScrollMetrics(node: NodesRef, viewportHeight: number): Promise<ScrollMetrics | null>;
42
+ scrollTo(node: NodesRef, offset: number, smooth: boolean): void;
43
+ }
44
+
45
+ function isFiniteNumber(value: unknown): value is number {
46
+ return typeof value === "number" && Number.isFinite(value);
47
+ }
48
+
49
+ function normalizeNonNegative(value: number): number {
50
+ return Math.max(0, value);
51
+ }
52
+
53
+ function normalizeRect(value: unknown): VerticalRect | null {
54
+ if (typeof value !== "object" || value === null) return null;
55
+
56
+ const rect = value as { top?: unknown; bottom?: unknown };
57
+ if (!isFiniteNumber(rect.top) || !isFiniteNumber(rect.bottom)) return null;
58
+
59
+ return {
60
+ top: rect.top,
61
+ bottom: Math.max(rect.top, rect.bottom),
62
+ };
63
+ }
64
+
65
+ export function normalizeScrollMetrics(
66
+ raw: RawScrollInfo,
67
+ platform: KeyboardAvoidingPlatform,
68
+ viewportHeight: number,
69
+ ): ScrollMetrics | null {
70
+ const offsetY = isFiniteNumber(raw.scrollY)
71
+ ? raw.scrollY
72
+ : isFiniteNumber(raw.scrollTop)
73
+ ? raw.scrollTop
74
+ : null;
75
+
76
+ if (offsetY === null) return null;
77
+
78
+ const normalizedViewportHeight = normalizeNonNegative(viewportHeight);
79
+ let maxOffsetY: number | null = null;
80
+
81
+ if (isFiniteNumber(raw.maxScrollOffset)) {
82
+ maxOffsetY = raw.maxScrollOffset;
83
+ } else if (isFiniteNumber(raw.scrollRange)) {
84
+ maxOffsetY = platform === "iOS" ? raw.scrollRange - normalizedViewportHeight : raw.scrollRange;
85
+ } else if (isFiniteNumber(raw.scrollHeight)) {
86
+ maxOffsetY =
87
+ platform === "iOS" ? raw.scrollHeight - normalizedViewportHeight : raw.scrollHeight;
88
+ }
89
+
90
+ if (maxOffsetY === null) return null;
91
+
92
+ return {
93
+ offsetY: normalizeNonNegative(offsetY),
94
+ maxOffsetY: normalizeNonNegative(maxOffsetY),
95
+ };
96
+ }
97
+
98
+ export function resolveKeyboardOcclusionTop(
99
+ state: RawKeyboardState,
100
+ platform: KeyboardAvoidingPlatform,
101
+ screenHeight: number,
102
+ rootRect: VerticalRect | null,
103
+ ): number | null {
104
+ if (!state.visible || !isFiniteNumber(state.height) || state.height <= 0) return null;
105
+
106
+ if (platform === "Android") {
107
+ return rootRect ? rootRect.bottom - state.height : null;
108
+ }
109
+
110
+ return isFiniteNumber(screenHeight) && screenHeight > 0 ? screenHeight - state.height : null;
111
+ }
112
+
113
+ function getSystemInfo(): {
114
+ platform: KeyboardAvoidingPlatform;
115
+ screenHeight: number;
116
+ } | null {
117
+ const value = (globalThis as typeof globalThis & { SystemInfo?: SystemInfoLike }).SystemInfo;
118
+ if (value?.platform !== "Android" && value?.platform !== "iOS") return null;
119
+ if (!isFiniteNumber(value.pixelHeight) || !isFiniteNumber(value.pixelRatio)) return null;
120
+ if (value.pixelHeight <= 0 || value.pixelRatio <= 0) return null;
121
+
122
+ return {
123
+ platform: value.platform,
124
+ screenHeight: value.pixelHeight / value.pixelRatio,
125
+ };
126
+ }
127
+
128
+ function measureNode(node: NodesRef): Promise<VerticalRect | null> {
129
+ "background only";
130
+
131
+ return new Promise((resolve) => {
132
+ try {
133
+ node
134
+ .invoke({
135
+ method: "boundingClientRect",
136
+ params: {
137
+ relativeTo: "screen",
138
+ androidEnableTransformProps: true,
139
+ },
140
+ success: (value) => resolve(normalizeRect(value)),
141
+ fail: () => resolve(null),
142
+ })
143
+ .exec();
144
+ } catch {
145
+ resolve(null);
146
+ }
147
+ });
148
+ }
149
+
150
+ function measureRoot(): Promise<VerticalRect | null> {
151
+ "background only";
152
+
153
+ try {
154
+ return measureNode(lynx.createSelectorQuery().selectRoot());
155
+ } catch {
156
+ return Promise.resolve(null);
157
+ }
158
+ }
159
+
160
+ function getScrollMetrics(
161
+ node: NodesRef,
162
+ platform: KeyboardAvoidingPlatform,
163
+ viewportHeight: number,
164
+ ): Promise<ScrollMetrics | null> {
165
+ "background only";
166
+
167
+ return new Promise((resolve) => {
168
+ try {
169
+ node
170
+ .invoke({
171
+ method: "getScrollInfo",
172
+ success: (value) => {
173
+ if (typeof value !== "object" || value === null) {
174
+ resolve(null);
175
+ return;
176
+ }
177
+
178
+ resolve(normalizeScrollMetrics(value as RawScrollInfo, platform, viewportHeight));
179
+ },
180
+ fail: () => resolve(null),
181
+ })
182
+ .exec();
183
+ } catch {
184
+ resolve(null);
185
+ }
186
+ });
187
+ }
188
+
189
+ export const lynxKeyboardAvoidingNativeDriver: KeyboardAvoidingNativeDriver = {
190
+ measure: measureNode,
191
+ async resolveKeyboardOcclusion(state) {
192
+ "background only";
193
+
194
+ const systemInfo = getSystemInfo();
195
+ if (!systemInfo || !state.visible) return null;
196
+
197
+ const rootRect = systemInfo.platform === "Android" ? await measureRoot() : null;
198
+ const topInScreenPx = resolveKeyboardOcclusionTop(
199
+ state,
200
+ systemInfo.platform,
201
+ systemInfo.screenHeight,
202
+ rootRect,
203
+ );
204
+
205
+ return topInScreenPx === null
206
+ ? null
207
+ : {
208
+ visible: true,
209
+ topInScreenPx,
210
+ };
211
+ },
212
+ setSpacerHeight(node, height) {
213
+ "background only";
214
+
215
+ // 동기 실행 실패는 engine까지 전달한다. engine이 transaction을 중단하되
216
+ // 적용 상태를 확정하지 않아 다음 invalidation에서 재시도할 수 있다.
217
+ node.setNativeProps({ height: `${normalizeNonNegative(height)}px` }).exec();
218
+ },
219
+ waitForLayout() {
220
+ "background only";
221
+
222
+ return new Promise((resolve) => {
223
+ requestAnimationFrame(() => resolve());
224
+ });
225
+ },
226
+ async getScrollMetrics(node, viewportHeight) {
227
+ "background only";
228
+
229
+ const systemInfo = getSystemInfo();
230
+ if (!systemInfo) return null;
231
+
232
+ return getScrollMetrics(node, systemInfo.platform, viewportHeight);
233
+ },
234
+ scrollTo(node, offset, smooth) {
235
+ "background only";
236
+
237
+ // 동기 실행 실패는 engine의 transaction 경계에서 fail-soft 처리한다.
238
+ node
239
+ .invoke({
240
+ method: "scrollTo",
241
+ params: {
242
+ offset: normalizeNonNegative(offset),
243
+ smooth,
244
+ },
245
+ })
246
+ .exec();
247
+ },
248
+ };
@@ -0,0 +1,16 @@
1
+ export {
2
+ TextFieldPrefixIcon as PrefixIcon,
3
+ TextFieldPrefixText as PrefixText,
4
+ TextFieldRoot as Root,
5
+ TextFieldSuffixIcon as SuffixIcon,
6
+ TextFieldSuffixText as SuffixText,
7
+ TextFieldInput as Input,
8
+ TextFieldTextarea as Textarea,
9
+ type TextFieldPrefixIconProps as PrefixIconProps,
10
+ type TextFieldPrefixTextProps as PrefixTextProps,
11
+ type TextFieldRootProps as RootProps,
12
+ type TextFieldSuffixIconProps as SuffixIconProps,
13
+ type TextFieldSuffixTextProps as SuffixTextProps,
14
+ type TextFieldInputProps as InputProps,
15
+ type TextFieldTextareaProps as TextareaProps,
16
+ } from "./TextField";