@refinn/core-ui 0.1.2 → 0.1.4

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.
package/README.md CHANGED
@@ -1,3 +1,24 @@
1
+ ## Design tokens
2
+
3
+ `src/preset/theme.css` is **generated** — do not edit it by hand.
4
+
5
+ - Base/semantic colors, radius, and shadows come from `tokens/*.json` (Figma export via the
6
+ [lukasoppermann/design-tokens](https://github.com/lukasoppermann/design-tokens) plugin).
7
+ - Component-specific tokens (Button, Checkbox, Toast, typography scale, …) live in
8
+ `src/preset/theme.components.css` and are hand-written — edit that file instead.
9
+
10
+ Workflow when the design team ships a new export:
11
+
12
+ 1. Replace `tokens/core.tokens.json` and `tokens/design.tokens.json` with the new files.
13
+ 2. Run `npm run build:tokens` and review the diff in `src/preset/theme.css`.
14
+ 3. Run `npm run check:tokens` (also runs in CI) — it fails if theme.css is stale or if a
15
+ component still references a `var(--...)` that no longer exists.
16
+ 4. Commit and open a PR. A new color family or an existing group's new keys flow through
17
+ automatically (with a console warning); a brand-new component group requires a small edit
18
+ to `scripts/build-theme.mjs` (see `PENDING_GROUPS`, `NAME_OVERRIDES`, `VALUE_OVERRIDES`).
19
+
20
+ ---
21
+
1
22
  This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
2
23
 
3
24
  ## Getting Started
package/dist/index.d.mts CHANGED
@@ -16,11 +16,11 @@ interface AccordionProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'
16
16
  }
17
17
  declare const Accordion: react.ForwardRefExoticComponent<AccordionProps & react.RefAttributes<HTMLDivElement>>;
18
18
 
19
- type AlertVariant = 'none' | 'info' | 'danger' | 'warning' | 'success';
20
- type AlertMode = 'page' | 'section' | 'inline';
19
+ type AlertVariant$1 = 'none' | 'info' | 'danger' | 'warning' | 'success';
20
+ type AlertMode$1 = 'page' | 'section' | 'inline';
21
21
  interface AlertBannerProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
22
- variant?: AlertVariant;
23
- mode?: AlertMode;
22
+ variant?: AlertVariant$1;
23
+ mode?: AlertMode$1;
24
24
  title?: ReactNode;
25
25
  description?: ReactNode;
26
26
  action?: [string?, string?];
@@ -54,8 +54,14 @@ interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
54
54
  }
55
55
  declare const Badge: react.ForwardRefExoticComponent<BadgeProps & react.RefAttributes<HTMLSpanElement>>;
56
56
 
57
- type ButtonVariant = 'primary' | 'secondary' | 'tertiary' | 'contrast' | 'transparent';
58
- type ButtonSize = 'small' | 'medium' | 'large' | 'extra-large';
57
+ type BrandingType = "black" | "white" | "brand";
58
+ interface BrandingProps extends HTMLAttributes<HTMLDivElement> {
59
+ type?: BrandingType;
60
+ }
61
+ declare const Branding: react.ForwardRefExoticComponent<BrandingProps & react.RefAttributes<HTMLDivElement>>;
62
+
63
+ type ButtonVariant = "primary" | "secondary" | "tertiary" | "contrast" | "transparent";
64
+ type ButtonSize = "sm" | "md" | "lg" | "xl";
59
65
  interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
60
66
  variant?: ButtonVariant;
61
67
  size?: ButtonSize;
@@ -94,10 +100,25 @@ interface CheckboxProps extends InputHTMLAttributes<HTMLInputElement> {
94
100
  }
95
101
  declare const Checkbox: react.ForwardRefExoticComponent<CheckboxProps & react.RefAttributes<HTMLInputElement>>;
96
102
 
103
+ type ChipSize = "sm" | "md" | "lg";
104
+ interface ChipProps extends HTMLAttributes<HTMLDivElement> {
105
+ size?: ChipSize;
106
+ src?: string;
107
+ alt?: string;
108
+ label: string;
109
+ icon?: ReactNode;
110
+ isOutlined?: boolean;
111
+ isDark?: boolean;
112
+ defaultSelected?: boolean;
113
+ disabled?: boolean;
114
+ }
115
+ declare const Chip: react.ForwardRefExoticComponent<ChipProps & react.RefAttributes<HTMLDivElement>>;
116
+
97
117
  interface DialogProps extends HTMLAttributes<HTMLSpanElement> {
98
118
  isForceOpen?: boolean;
99
119
  setIsForceOpen?: (val: boolean) => void;
100
120
  isClosedAble?: boolean;
121
+ isCloseIcon?: boolean;
101
122
  children: ReactNode;
102
123
  startModalBtn?: ReactElement<{
103
124
  onClick?: (e: react__default.MouseEvent) => void;
@@ -107,9 +128,40 @@ interface DialogProps extends HTMLAttributes<HTMLSpanElement> {
107
128
  }>;
108
129
  afterStopBtn?: ReactElement<() => void>;
109
130
  p?: string;
131
+ maxW?: "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl";
110
132
  }
111
133
  declare const Dialog: react__default.ForwardRefExoticComponent<DialogProps & react__default.RefAttributes<HTMLSpanElement>>;
112
134
 
135
+ interface DropdownItemsInterface {
136
+ label: string;
137
+ value: string;
138
+ }
139
+ interface DropdownProps {
140
+ error?: string;
141
+ label?: string;
142
+ placeholder?: string;
143
+ isDisabled?: boolean;
144
+ isSearchable?: boolean;
145
+ isTextCenter?: boolean;
146
+ value: DropdownItemsInterface;
147
+ setValue: (value: DropdownItemsInterface) => void;
148
+ dropDownItems?: DropdownItemsInterface[];
149
+ }
150
+ declare const Dropdown: react__default.FC<DropdownProps>;
151
+
152
+ type AlertVariant = 'info' | 'success' | 'warning' | 'danger' | 'common';
153
+ type AlertMode = 'inline' | 'page';
154
+ interface FinancialLogoProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
155
+ variant?: AlertVariant;
156
+ mode?: AlertMode;
157
+ title?: ReactNode;
158
+ description?: ReactNode;
159
+ action?: ReactNode;
160
+ icon?: ReactNode;
161
+ onClose?: () => void;
162
+ }
163
+ declare const FinancialLogo: react.ForwardRefExoticComponent<FinancialLogoProps & react.RefAttributes<HTMLDivElement>>;
164
+
113
165
  type IconSize = 16 | 20 | 24;
114
166
  type IconWeight = 100 | 200 | 300 | 400 | 500 | 600 | 700;
115
167
  type IconGrade = -25 | 0 | 200;
@@ -123,16 +175,46 @@ interface IconProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'> {
123
175
  }
124
176
  declare const Icon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<HTMLSpanElement>>;
125
177
 
126
- type RadioSize = 'small' | 'medium';
127
- interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type'> {
178
+ type LinkVariant = 'xs' | 'sm' | 'md' | 'lg';
179
+ type LinkStyle = 'brand' | 'white' | 'black' | 'brandLooped' | 'whiteLooped' | 'blackLooped';
180
+ interface LinkProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
181
+ variant?: LinkVariant;
182
+ isInline?: boolean;
183
+ linkStyle?: LinkStyle;
184
+ text?: ReactNode;
185
+ href?: string;
186
+ icon?: boolean;
187
+ }
188
+ declare const Link: react.ForwardRefExoticComponent<LinkProps & react.RefAttributes<HTMLDivElement>>;
189
+
190
+ type LoadingSize = "sm" | "lg";
191
+ interface LoadingProps extends HTMLAttributes<HTMLDivElement> {
192
+ size?: LoadingSize;
193
+ isDark?: boolean;
194
+ }
195
+ declare const Loading: react.ForwardRefExoticComponent<LoadingProps & react.RefAttributes<HTMLDivElement>>;
196
+
197
+ type RadioSize = "sm" | "md";
198
+ interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type"> {
128
199
  size?: RadioSize;
129
200
  label?: ReactNode;
130
201
  description?: ReactNode;
131
202
  error?: boolean;
132
- contrast?: boolean;
133
203
  }
134
204
  declare const Radio: react.ForwardRefExoticComponent<RadioProps & react.RefAttributes<HTMLInputElement>>;
135
205
 
206
+ type SegmentControlSize = "sm" | "md" | "lg";
207
+ interface SegmentControlProps extends HTMLAttributes<HTMLDivElement> {
208
+ size?: SegmentControlSize;
209
+ items: {
210
+ label: string;
211
+ value: string;
212
+ }[];
213
+ selected: string;
214
+ setSelected?: (value: string) => void;
215
+ }
216
+ declare const SegmentControl: react.ForwardRefExoticComponent<SegmentControlProps & react.RefAttributes<HTMLDivElement>>;
217
+
136
218
  type SliderSize = 'small' | 'medium' | 'large';
137
219
  interface SliderProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type' | 'onChange'> {
138
220
  size?: SliderSize;
@@ -150,6 +232,54 @@ interface SliderProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'
150
232
  }
151
233
  declare const Slider: react.ForwardRefExoticComponent<SliderProps & react.RefAttributes<HTMLInputElement>>;
152
234
 
235
+ type TabSize = "md" | "lg";
236
+ interface TabProps extends HTMLAttributes<HTMLDivElement> {
237
+ size?: TabSize;
238
+ label: string;
239
+ value: string;
240
+ isDisabled?: boolean;
241
+ selected: string;
242
+ setSelected?: (value: string) => void;
243
+ }
244
+ declare const Tab: react.ForwardRefExoticComponent<TabProps & react.RefAttributes<HTMLDivElement>>;
245
+
246
+ interface TextAreaProps extends HTMLAttributes<HTMLTextAreaElement> {
247
+ maxText?: number;
248
+ height?: number;
249
+ error?: string;
250
+ label?: string;
251
+ placeholder?: string;
252
+ description?: string;
253
+ icon?: string;
254
+ isDisabled?: boolean;
255
+ isLoading?: boolean;
256
+ isVertify?: boolean;
257
+ isClearable?: boolean;
258
+ disabled?: boolean;
259
+ value?: string;
260
+ onChange?: (event: react__default.ChangeEvent<HTMLTextAreaElement>) => void;
261
+ }
262
+ declare const TextArea: react__default.ForwardRefExoticComponent<TextAreaProps & react__default.RefAttributes<HTMLTextAreaElement>>;
263
+
264
+ type TextFieldSize = "md" | "lg";
265
+ interface TextFieldProps extends HTMLAttributes<HTMLInputElement> {
266
+ inputSize?: TextFieldSize;
267
+ error?: string;
268
+ label?: string;
269
+ placeholder?: string;
270
+ description?: string;
271
+ icon?: string;
272
+ isDisabled?: boolean;
273
+ isLoading?: boolean;
274
+ isVertify?: boolean;
275
+ isUnrequired?: boolean;
276
+ isClearable?: boolean;
277
+ disabled?: boolean;
278
+ value?: string;
279
+ onChange?: (event: react__default.ChangeEvent<HTMLInputElement>) => void;
280
+ }
281
+ declare const TextField: react__default.ForwardRefExoticComponent<TextFieldProps & react__default.RefAttributes<HTMLInputElement>>;
282
+
153
283
  type ToastType = 'default' | 'progress' | 'error';
154
284
  interface ToastProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
155
285
  type?: ToastType;
@@ -160,4 +290,23 @@ interface ToastProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
160
290
  }
161
291
  declare const Toast: react.ForwardRefExoticComponent<ToastProps & react.RefAttributes<HTMLDivElement>>;
162
292
 
163
- export { Accordion, type AccordionItemData, type AccordionProps, AlertBanner, type AlertBannerProps, Avatar, type AvatarProps, Badge, type BadgeProps, BottomSheet, type BottomSheetProps, Button, type ButtonProps, Checkbox, type CheckboxProps, Dialog, type DialogProps, Icon, type IconProps, Radio, type RadioProps, Slider, type SliderProps, Toast, type ToastProps };
293
+ interface ToggleSwitchProps extends HTMLAttributes<HTMLLabelElement> {
294
+ value: string;
295
+ isDisabled?: boolean;
296
+ isSelected: boolean;
297
+ setIsSelected?: (value: boolean) => void;
298
+ }
299
+ declare const ToggleSwitch: react.ForwardRefExoticComponent<ToggleSwitchProps & react.RefAttributes<HTMLLabelElement>>;
300
+
301
+ type TooltipSize = "sm" | "md" | "lg";
302
+ type TooltipPosition = "right" | "top" | "left" | "bottom";
303
+ interface TooltipProps extends HTMLAttributes<HTMLDivElement> {
304
+ size?: TooltipSize;
305
+ children: ReactNode;
306
+ headText?: string;
307
+ text?: string;
308
+ position?: TooltipPosition;
309
+ }
310
+ declare const Tooltip: react__default.ForwardRefExoticComponent<TooltipProps & react__default.RefAttributes<HTMLDivElement>>;
311
+
312
+ export { Accordion, type AccordionItemData, type AccordionProps, AlertBanner, type AlertBannerProps, Avatar, type AvatarProps, Badge, type BadgeProps, BottomSheet, type BottomSheetProps, Branding, type BrandingProps, Button, type ButtonProps, Checkbox, type CheckboxProps, Chip, type ChipProps, Dialog, type DialogProps, Dropdown, type DropdownItemsInterface, type DropdownProps, FinancialLogo, type FinancialLogoProps, Icon, type IconProps, Link, type LinkProps, Loading, type LoadingProps, Radio, type RadioProps, SegmentControl, type SegmentControlProps, Slider, type SliderProps, Tab, type TabProps, TextArea, type TextAreaProps, TextField, type TextFieldProps, Toast, type ToastProps, ToggleSwitch, type ToggleSwitchProps, Tooltip, type TooltipProps };
package/dist/index.d.ts CHANGED
@@ -16,11 +16,11 @@ interface AccordionProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'
16
16
  }
17
17
  declare const Accordion: react.ForwardRefExoticComponent<AccordionProps & react.RefAttributes<HTMLDivElement>>;
18
18
 
19
- type AlertVariant = 'none' | 'info' | 'danger' | 'warning' | 'success';
20
- type AlertMode = 'page' | 'section' | 'inline';
19
+ type AlertVariant$1 = 'none' | 'info' | 'danger' | 'warning' | 'success';
20
+ type AlertMode$1 = 'page' | 'section' | 'inline';
21
21
  interface AlertBannerProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
22
- variant?: AlertVariant;
23
- mode?: AlertMode;
22
+ variant?: AlertVariant$1;
23
+ mode?: AlertMode$1;
24
24
  title?: ReactNode;
25
25
  description?: ReactNode;
26
26
  action?: [string?, string?];
@@ -54,8 +54,14 @@ interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
54
54
  }
55
55
  declare const Badge: react.ForwardRefExoticComponent<BadgeProps & react.RefAttributes<HTMLSpanElement>>;
56
56
 
57
- type ButtonVariant = 'primary' | 'secondary' | 'tertiary' | 'contrast' | 'transparent';
58
- type ButtonSize = 'small' | 'medium' | 'large' | 'extra-large';
57
+ type BrandingType = "black" | "white" | "brand";
58
+ interface BrandingProps extends HTMLAttributes<HTMLDivElement> {
59
+ type?: BrandingType;
60
+ }
61
+ declare const Branding: react.ForwardRefExoticComponent<BrandingProps & react.RefAttributes<HTMLDivElement>>;
62
+
63
+ type ButtonVariant = "primary" | "secondary" | "tertiary" | "contrast" | "transparent";
64
+ type ButtonSize = "sm" | "md" | "lg" | "xl";
59
65
  interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
60
66
  variant?: ButtonVariant;
61
67
  size?: ButtonSize;
@@ -94,10 +100,25 @@ interface CheckboxProps extends InputHTMLAttributes<HTMLInputElement> {
94
100
  }
95
101
  declare const Checkbox: react.ForwardRefExoticComponent<CheckboxProps & react.RefAttributes<HTMLInputElement>>;
96
102
 
103
+ type ChipSize = "sm" | "md" | "lg";
104
+ interface ChipProps extends HTMLAttributes<HTMLDivElement> {
105
+ size?: ChipSize;
106
+ src?: string;
107
+ alt?: string;
108
+ label: string;
109
+ icon?: ReactNode;
110
+ isOutlined?: boolean;
111
+ isDark?: boolean;
112
+ defaultSelected?: boolean;
113
+ disabled?: boolean;
114
+ }
115
+ declare const Chip: react.ForwardRefExoticComponent<ChipProps & react.RefAttributes<HTMLDivElement>>;
116
+
97
117
  interface DialogProps extends HTMLAttributes<HTMLSpanElement> {
98
118
  isForceOpen?: boolean;
99
119
  setIsForceOpen?: (val: boolean) => void;
100
120
  isClosedAble?: boolean;
121
+ isCloseIcon?: boolean;
101
122
  children: ReactNode;
102
123
  startModalBtn?: ReactElement<{
103
124
  onClick?: (e: react__default.MouseEvent) => void;
@@ -107,9 +128,40 @@ interface DialogProps extends HTMLAttributes<HTMLSpanElement> {
107
128
  }>;
108
129
  afterStopBtn?: ReactElement<() => void>;
109
130
  p?: string;
131
+ maxW?: "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl";
110
132
  }
111
133
  declare const Dialog: react__default.ForwardRefExoticComponent<DialogProps & react__default.RefAttributes<HTMLSpanElement>>;
112
134
 
135
+ interface DropdownItemsInterface {
136
+ label: string;
137
+ value: string;
138
+ }
139
+ interface DropdownProps {
140
+ error?: string;
141
+ label?: string;
142
+ placeholder?: string;
143
+ isDisabled?: boolean;
144
+ isSearchable?: boolean;
145
+ isTextCenter?: boolean;
146
+ value: DropdownItemsInterface;
147
+ setValue: (value: DropdownItemsInterface) => void;
148
+ dropDownItems?: DropdownItemsInterface[];
149
+ }
150
+ declare const Dropdown: react__default.FC<DropdownProps>;
151
+
152
+ type AlertVariant = 'info' | 'success' | 'warning' | 'danger' | 'common';
153
+ type AlertMode = 'inline' | 'page';
154
+ interface FinancialLogoProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
155
+ variant?: AlertVariant;
156
+ mode?: AlertMode;
157
+ title?: ReactNode;
158
+ description?: ReactNode;
159
+ action?: ReactNode;
160
+ icon?: ReactNode;
161
+ onClose?: () => void;
162
+ }
163
+ declare const FinancialLogo: react.ForwardRefExoticComponent<FinancialLogoProps & react.RefAttributes<HTMLDivElement>>;
164
+
113
165
  type IconSize = 16 | 20 | 24;
114
166
  type IconWeight = 100 | 200 | 300 | 400 | 500 | 600 | 700;
115
167
  type IconGrade = -25 | 0 | 200;
@@ -123,16 +175,46 @@ interface IconProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'> {
123
175
  }
124
176
  declare const Icon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<HTMLSpanElement>>;
125
177
 
126
- type RadioSize = 'small' | 'medium';
127
- interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type'> {
178
+ type LinkVariant = 'xs' | 'sm' | 'md' | 'lg';
179
+ type LinkStyle = 'brand' | 'white' | 'black' | 'brandLooped' | 'whiteLooped' | 'blackLooped';
180
+ interface LinkProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
181
+ variant?: LinkVariant;
182
+ isInline?: boolean;
183
+ linkStyle?: LinkStyle;
184
+ text?: ReactNode;
185
+ href?: string;
186
+ icon?: boolean;
187
+ }
188
+ declare const Link: react.ForwardRefExoticComponent<LinkProps & react.RefAttributes<HTMLDivElement>>;
189
+
190
+ type LoadingSize = "sm" | "lg";
191
+ interface LoadingProps extends HTMLAttributes<HTMLDivElement> {
192
+ size?: LoadingSize;
193
+ isDark?: boolean;
194
+ }
195
+ declare const Loading: react.ForwardRefExoticComponent<LoadingProps & react.RefAttributes<HTMLDivElement>>;
196
+
197
+ type RadioSize = "sm" | "md";
198
+ interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type"> {
128
199
  size?: RadioSize;
129
200
  label?: ReactNode;
130
201
  description?: ReactNode;
131
202
  error?: boolean;
132
- contrast?: boolean;
133
203
  }
134
204
  declare const Radio: react.ForwardRefExoticComponent<RadioProps & react.RefAttributes<HTMLInputElement>>;
135
205
 
206
+ type SegmentControlSize = "sm" | "md" | "lg";
207
+ interface SegmentControlProps extends HTMLAttributes<HTMLDivElement> {
208
+ size?: SegmentControlSize;
209
+ items: {
210
+ label: string;
211
+ value: string;
212
+ }[];
213
+ selected: string;
214
+ setSelected?: (value: string) => void;
215
+ }
216
+ declare const SegmentControl: react.ForwardRefExoticComponent<SegmentControlProps & react.RefAttributes<HTMLDivElement>>;
217
+
136
218
  type SliderSize = 'small' | 'medium' | 'large';
137
219
  interface SliderProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type' | 'onChange'> {
138
220
  size?: SliderSize;
@@ -150,6 +232,54 @@ interface SliderProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'
150
232
  }
151
233
  declare const Slider: react.ForwardRefExoticComponent<SliderProps & react.RefAttributes<HTMLInputElement>>;
152
234
 
235
+ type TabSize = "md" | "lg";
236
+ interface TabProps extends HTMLAttributes<HTMLDivElement> {
237
+ size?: TabSize;
238
+ label: string;
239
+ value: string;
240
+ isDisabled?: boolean;
241
+ selected: string;
242
+ setSelected?: (value: string) => void;
243
+ }
244
+ declare const Tab: react.ForwardRefExoticComponent<TabProps & react.RefAttributes<HTMLDivElement>>;
245
+
246
+ interface TextAreaProps extends HTMLAttributes<HTMLTextAreaElement> {
247
+ maxText?: number;
248
+ height?: number;
249
+ error?: string;
250
+ label?: string;
251
+ placeholder?: string;
252
+ description?: string;
253
+ icon?: string;
254
+ isDisabled?: boolean;
255
+ isLoading?: boolean;
256
+ isVertify?: boolean;
257
+ isClearable?: boolean;
258
+ disabled?: boolean;
259
+ value?: string;
260
+ onChange?: (event: react__default.ChangeEvent<HTMLTextAreaElement>) => void;
261
+ }
262
+ declare const TextArea: react__default.ForwardRefExoticComponent<TextAreaProps & react__default.RefAttributes<HTMLTextAreaElement>>;
263
+
264
+ type TextFieldSize = "md" | "lg";
265
+ interface TextFieldProps extends HTMLAttributes<HTMLInputElement> {
266
+ inputSize?: TextFieldSize;
267
+ error?: string;
268
+ label?: string;
269
+ placeholder?: string;
270
+ description?: string;
271
+ icon?: string;
272
+ isDisabled?: boolean;
273
+ isLoading?: boolean;
274
+ isVertify?: boolean;
275
+ isUnrequired?: boolean;
276
+ isClearable?: boolean;
277
+ disabled?: boolean;
278
+ value?: string;
279
+ onChange?: (event: react__default.ChangeEvent<HTMLInputElement>) => void;
280
+ }
281
+ declare const TextField: react__default.ForwardRefExoticComponent<TextFieldProps & react__default.RefAttributes<HTMLInputElement>>;
282
+
153
283
  type ToastType = 'default' | 'progress' | 'error';
154
284
  interface ToastProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
155
285
  type?: ToastType;
@@ -160,4 +290,23 @@ interface ToastProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
160
290
  }
161
291
  declare const Toast: react.ForwardRefExoticComponent<ToastProps & react.RefAttributes<HTMLDivElement>>;
162
292
 
163
- export { Accordion, type AccordionItemData, type AccordionProps, AlertBanner, type AlertBannerProps, Avatar, type AvatarProps, Badge, type BadgeProps, BottomSheet, type BottomSheetProps, Button, type ButtonProps, Checkbox, type CheckboxProps, Dialog, type DialogProps, Icon, type IconProps, Radio, type RadioProps, Slider, type SliderProps, Toast, type ToastProps };
293
+ interface ToggleSwitchProps extends HTMLAttributes<HTMLLabelElement> {
294
+ value: string;
295
+ isDisabled?: boolean;
296
+ isSelected: boolean;
297
+ setIsSelected?: (value: boolean) => void;
298
+ }
299
+ declare const ToggleSwitch: react.ForwardRefExoticComponent<ToggleSwitchProps & react.RefAttributes<HTMLLabelElement>>;
300
+
301
+ type TooltipSize = "sm" | "md" | "lg";
302
+ type TooltipPosition = "right" | "top" | "left" | "bottom";
303
+ interface TooltipProps extends HTMLAttributes<HTMLDivElement> {
304
+ size?: TooltipSize;
305
+ children: ReactNode;
306
+ headText?: string;
307
+ text?: string;
308
+ position?: TooltipPosition;
309
+ }
310
+ declare const Tooltip: react__default.ForwardRefExoticComponent<TooltipProps & react__default.RefAttributes<HTMLDivElement>>;
311
+
312
+ export { Accordion, type AccordionItemData, type AccordionProps, AlertBanner, type AlertBannerProps, Avatar, type AvatarProps, Badge, type BadgeProps, BottomSheet, type BottomSheetProps, Branding, type BrandingProps, Button, type ButtonProps, Checkbox, type CheckboxProps, Chip, type ChipProps, Dialog, type DialogProps, Dropdown, type DropdownItemsInterface, type DropdownProps, FinancialLogo, type FinancialLogoProps, Icon, type IconProps, Link, type LinkProps, Loading, type LoadingProps, Radio, type RadioProps, SegmentControl, type SegmentControlProps, Slider, type SliderProps, Tab, type TabProps, TextArea, type TextAreaProps, TextField, type TextFieldProps, Toast, type ToastProps, ToggleSwitch, type ToggleSwitchProps, Tooltip, type TooltipProps };