@orderly.network/ui 2.0.0 → 2.0.1-alpha.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.
package/dist/index.d.ts CHANGED
@@ -1,23 +1,27 @@
1
1
  import * as tailwind_variants from 'tailwind-variants';
2
2
  import { VariantProps } from 'tailwind-variants';
3
3
  export { VariantProps, cnBase as cn } from 'tailwind-variants';
4
- import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
5
4
  import * as React$1 from 'react';
6
5
  import React__default, { FC, ReactNode, InputHTMLAttributes, PropsWithChildren, HTMLAttributes, ElementRef, ReactElement, JSXElementConstructor, ElementType, ComponentPropsWithoutRef, PropsWithoutRef, SelectHTMLAttributes, ComponentType } from 'react';
6
+ import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
7
7
  import * as tailwind_variants_dist_generated from 'tailwind-variants/dist/generated';
8
8
  import * as react_jsx_runtime from 'react/jsx-runtime';
9
+ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
10
+ import { TooltipContentProps } from '@radix-ui/react-tooltip';
9
11
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
10
12
  import * as SwitchPrimitives from '@radix-ui/react-switch';
11
- import * as TooltipPrimitive from '@radix-ui/react-tooltip';
12
13
  import { DateRange, DayPickerRangeProps, DayPicker } from 'react-day-picker';
13
14
  import * as SelectPrimitive from '@radix-ui/react-select';
15
+ import { Row, CoreOptions, ColumnFilter, RowSelectionState } from '@tanstack/react-table';
14
16
  import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
15
17
  import * as DialogPrimitive from '@radix-ui/react-dialog';
16
18
  import * as TabsPrimitive from '@radix-ui/react-tabs';
17
19
  import * as PopoverPrimitive from '@radix-ui/react-popover';
20
+ import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
18
21
  import * as SliderPrimitive from '@radix-ui/react-slider';
19
22
  import { ToastOptions } from 'react-hot-toast';
20
23
  export { default as toast } from 'react-hot-toast';
24
+ import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
21
25
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
22
26
  import { DropdownMenuContentProps } from '@radix-ui/react-dropdown-menu';
23
27
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
@@ -56,7 +60,9 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
56
60
  primary: string[];
57
61
  secondary: string;
58
62
  success: string;
63
+ buy: string;
59
64
  danger: string;
65
+ sell: string;
60
66
  warning: string;
61
67
  gray: string;
62
68
  light: string;
@@ -74,42 +80,8 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
74
80
  inner: string;
75
81
  none: string;
76
82
  };
77
- }, undefined, string[], tailwind_variants_dist_config.TVConfig<{
78
- variant: {
79
- text: string;
80
- outlined: string;
81
- contained: string;
82
- gradient: string;
83
- };
84
- size: {
85
- xs: string[];
86
- sm: string[];
87
- md: string[];
88
- lg: string[];
89
- xl: string[];
90
- };
91
- color: {
92
- primary: string[];
93
- secondary: string;
94
- success: string;
95
- danger: string;
96
- warning: string;
97
- gray: string;
98
- light: string;
99
- };
100
- fullWidth: {
101
- true: string;
102
- };
103
- shadow: {
104
- sm: string;
105
- base: string;
106
- md: string;
107
- lg: string;
108
- xl: string;
109
- "2xl": string;
110
- inner: string;
111
- none: string;
112
- };
83
+ }, undefined, string[], {
84
+ responsiveVariants: ("md" | "lg")[];
113
85
  }, {
114
86
  variant: {
115
87
  text: string;
@@ -128,43 +100,9 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
128
100
  primary: string[];
129
101
  secondary: string;
130
102
  success: string;
103
+ buy: string;
131
104
  danger: string;
132
- warning: string;
133
- gray: string;
134
- light: string;
135
- };
136
- fullWidth: {
137
- true: string;
138
- };
139
- shadow: {
140
- sm: string;
141
- base: string;
142
- md: string;
143
- lg: string;
144
- xl: string;
145
- "2xl": string;
146
- inner: string;
147
- none: string;
148
- };
149
- }>, {
150
- variant: {
151
- text: string;
152
- outlined: string;
153
- contained: string;
154
- gradient: string;
155
- };
156
- size: {
157
- xs: string[];
158
- sm: string[];
159
- md: string[];
160
- lg: string[];
161
- xl: string[];
162
- };
163
- color: {
164
- primary: string[];
165
- secondary: string;
166
- success: string;
167
- danger: string;
105
+ sell: string;
168
106
  warning: string;
169
107
  gray: string;
170
108
  light: string;
@@ -200,7 +138,9 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
200
138
  primary: string[];
201
139
  secondary: string;
202
140
  success: string;
141
+ buy: string;
203
142
  danger: string;
143
+ sell: string;
204
144
  warning: string;
205
145
  gray: string;
206
146
  light: string;
@@ -218,79 +158,9 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
218
158
  inner: string;
219
159
  none: string;
220
160
  };
221
- }, undefined, string[], tailwind_variants_dist_config.TVConfig<{
222
- variant: {
223
- text: string;
224
- outlined: string;
225
- contained: string;
226
- gradient: string;
227
- };
228
- size: {
229
- xs: string[];
230
- sm: string[];
231
- md: string[];
232
- lg: string[];
233
- xl: string[];
234
- };
235
- color: {
236
- primary: string[];
237
- secondary: string;
238
- success: string;
239
- danger: string;
240
- warning: string;
241
- gray: string;
242
- light: string;
243
- };
244
- fullWidth: {
245
- true: string;
246
- };
247
- shadow: {
248
- sm: string;
249
- base: string;
250
- md: string;
251
- lg: string;
252
- xl: string;
253
- "2xl": string;
254
- inner: string;
255
- none: string;
256
- };
257
- }, {
258
- variant: {
259
- text: string;
260
- outlined: string;
261
- contained: string;
262
- gradient: string;
263
- };
264
- size: {
265
- xs: string[];
266
- sm: string[];
267
- md: string[];
268
- lg: string[];
269
- xl: string[];
270
- };
271
- color: {
272
- primary: string[];
273
- secondary: string;
274
- success: string;
275
- danger: string;
276
- warning: string;
277
- gray: string;
278
- light: string;
279
- };
280
- fullWidth: {
281
- true: string;
282
- };
283
- shadow: {
284
- sm: string;
285
- base: string;
286
- md: string;
287
- lg: string;
288
- xl: string;
289
- "2xl": string;
290
- inner: string;
291
- none: string;
292
- };
293
- }>, unknown, unknown, undefined>>;
161
+ }, undefined, string[], {
162
+ responsiveVariants: ("md" | "lg")[];
163
+ }, unknown, unknown, undefined>>;
294
164
  interface ButtonProps extends Omit<BaseButtonProps, "size">, VariantProps<typeof buttonVariants> {
295
165
  angle?: number;
296
166
  "data-testid"?: string;
@@ -299,6 +169,12 @@ declare const Button: React__default.ForwardRefExoticComponent<ButtonProps & {
299
169
  children?: React__default.ReactNode;
300
170
  } & React__default.RefAttributes<HTMLButtonElement>>;
301
171
 
172
+ declare const ThrottledButton: React__default.ForwardRefExoticComponent<ButtonProps & {
173
+ throttleDuration?: number | undefined;
174
+ } & {
175
+ children?: React__default.ReactNode;
176
+ } & React__default.RefAttributes<HTMLButtonElement>>;
177
+
302
178
  declare const boxVariants: tailwind_variants.TVReturnType<{
303
179
  __position: {
304
180
  true: string;
@@ -2259,12 +2135,16 @@ declare const textVariants: tailwind_variants.TVReturnType<{
2259
2135
  80: string;
2260
2136
  98: string;
2261
2137
  };
2138
+ dashBoard: {
2139
+ default: string;
2140
+ };
2262
2141
  }, undefined, undefined, {
2263
2142
  responsiveVariants?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | {
2264
2143
  color?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
2265
2144
  size?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
2266
2145
  intensity?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
2267
2146
  weight?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
2147
+ dashBoard?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
2268
2148
  } | undefined;
2269
2149
  } & tailwind_variants_dist_config.TWMConfig & {
2270
2150
  twMergeConfig: {
@@ -2315,6 +2195,9 @@ declare const textVariants: tailwind_variants.TVReturnType<{
2315
2195
  80: string;
2316
2196
  98: string;
2317
2197
  };
2198
+ dashBoard: {
2199
+ default: string;
2200
+ };
2318
2201
  }, undefined, tailwind_variants.TVReturnType<{
2319
2202
  size: {
2320
2203
  "3xs": string[];
@@ -2360,6 +2243,9 @@ declare const textVariants: tailwind_variants.TVReturnType<{
2360
2243
  80: string;
2361
2244
  98: string;
2362
2245
  };
2246
+ dashBoard: {
2247
+ default: string;
2248
+ };
2363
2249
  }, undefined, undefined, tailwind_variants_dist_config.TVConfig<{
2364
2250
  size: {
2365
2251
  "3xs": string[];
@@ -2405,6 +2291,9 @@ declare const textVariants: tailwind_variants.TVReturnType<{
2405
2291
  80: string;
2406
2292
  98: string;
2407
2293
  };
2294
+ dashBoard: {
2295
+ default: string;
2296
+ };
2408
2297
  }, {
2409
2298
  size: {
2410
2299
  "3xs": string[];
@@ -2450,6 +2339,9 @@ declare const textVariants: tailwind_variants.TVReturnType<{
2450
2339
  80: string;
2451
2340
  98: string;
2452
2341
  };
2342
+ dashBoard: {
2343
+ default: string;
2344
+ };
2453
2345
  }>, unknown, unknown, undefined>>;
2454
2346
  interface BasicTextProps extends VariantProps<typeof textVariants> {
2455
2347
  asChild?: boolean;
@@ -2491,6 +2383,7 @@ declare const parseNumber: (value: number | string, options?: {
2491
2383
  padding?: boolean;
2492
2384
  abs?: boolean;
2493
2385
  }) => string;
2386
+ declare function formatAddress(address: string, range?: [number, number]): string;
2494
2387
 
2495
2388
  type NumeralRule = "percentages" | "price" | "human";
2496
2389
  type NumeralProps = TextProps & {
@@ -2812,6 +2705,7 @@ type FormattedTextProps = TextProps & CopyableTextProps & {
2812
2705
  loading?: boolean;
2813
2706
  suffix?: React__default.ReactNode;
2814
2707
  prefix?: React__default.ReactNode;
2708
+ showIcon?: boolean;
2815
2709
  } & (BaseText | DateText | AddressText | SymbolText | TxIDText | {
2816
2710
  rule?: string;
2817
2711
  });
@@ -2965,7 +2859,7 @@ declare const spinnerVariants: tailwind_variants.TVReturnType<{
2965
2859
  darkGray: string;
2966
2860
  white: string;
2967
2861
  };
2968
- }, undefined, "oui-text-gray-200 oui-animate-spin dark:oui-text-gray-600 oui-fill-primary", tailwind_variants_dist_config.TVConfig<{
2862
+ }, undefined, "oui-text-gray-200 oui-animate-spin dark:oui-text-gray-600 oui-fill-primary-darken", tailwind_variants_dist_config.TVConfig<{
2969
2863
  size: {
2970
2864
  xs: string;
2971
2865
  sm: string;
@@ -3033,7 +2927,7 @@ declare const spinnerVariants: tailwind_variants.TVReturnType<{
3033
2927
  darkGray: string;
3034
2928
  white: string;
3035
2929
  };
3036
- }, undefined, "oui-text-gray-200 oui-animate-spin dark:oui-text-gray-600 oui-fill-primary", tailwind_variants_dist_config.TVConfig<{
2930
+ }, undefined, "oui-text-gray-200 oui-animate-spin dark:oui-text-gray-600 oui-fill-primary-darken", tailwind_variants_dist_config.TVConfig<{
3037
2931
  size: {
3038
2932
  xs: string;
3039
2933
  sm: string;
@@ -3073,7 +2967,9 @@ interface SpinnerProps extends ComponentPropsWithout<"svg", RemovedProps>, Varia
3073
2967
  }
3074
2968
  declare const Spinner: FC<SpinnerProps>;
3075
2969
 
3076
- type InputFormatterOptions = {};
2970
+ type InputFormatterOptions = {
2971
+ isFocused: boolean;
2972
+ };
3077
2973
  type InputFormatter = {
3078
2974
  onRenderBefore: (value: string | number, options: InputFormatterOptions) => string;
3079
2975
  onSendBefore: (value: string, options: InputFormatterOptions) => string;
@@ -3123,12 +3019,15 @@ declare const inputVariants: tailwind_variants.TVReturnType<{
3123
3019
  color: {
3124
3020
  success: {
3125
3021
  box: string[];
3022
+ input: string[];
3126
3023
  };
3127
3024
  danger: {
3128
3025
  box: string[];
3026
+ input: string[];
3129
3027
  };
3130
3028
  warning: {
3131
3029
  box: string[];
3030
+ input: string[];
3132
3031
  };
3133
3032
  default: {
3134
3033
  box: string[];
@@ -3178,16 +3077,8 @@ declare const inputVariants: tailwind_variants.TVReturnType<{
3178
3077
  additional: string[];
3179
3078
  closeButton: string[];
3180
3079
  }, undefined, {
3181
- responsiveVariants?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | {
3182
- color?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
3183
- pl?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
3184
- pr?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
3185
- size?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
3186
- disabled?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
3187
- fullWidth?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
3188
- align?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
3189
- } | undefined;
3190
- } & tailwind_variants_dist_config.TWMConfig & {
3080
+ responsiveVariants: ("md" | "lg")[];
3081
+ } & {
3191
3082
  twMergeConfig: {
3192
3083
  prefix: string;
3193
3084
  };
@@ -3222,12 +3113,15 @@ declare const inputVariants: tailwind_variants.TVReturnType<{
3222
3113
  color: {
3223
3114
  success: {
3224
3115
  box: string[];
3116
+ input: string[];
3225
3117
  };
3226
3118
  danger: {
3227
3119
  box: string[];
3120
+ input: string[];
3228
3121
  };
3229
3122
  warning: {
3230
3123
  box: string[];
3124
+ input: string[];
3231
3125
  };
3232
3126
  default: {
3233
3127
  box: string[];
@@ -3307,12 +3201,15 @@ declare const inputVariants: tailwind_variants.TVReturnType<{
3307
3201
  color: {
3308
3202
  success: {
3309
3203
  box: string[];
3204
+ input: string[];
3310
3205
  };
3311
3206
  danger: {
3312
3207
  box: string[];
3208
+ input: string[];
3313
3209
  };
3314
3210
  warning: {
3315
3211
  box: string[];
3212
+ input: string[];
3316
3213
  };
3317
3214
  default: {
3318
3215
  box: string[];
@@ -3361,177 +3258,21 @@ declare const inputVariants: tailwind_variants.TVReturnType<{
3361
3258
  box: string[];
3362
3259
  additional: string[];
3363
3260
  closeButton: string[];
3364
- }, undefined, tailwind_variants_dist_config.TVConfig<{
3365
- size: {
3366
- xs: {
3367
- input: string[];
3368
- box: string[];
3369
- additional: string[];
3370
- };
3371
- sm: {
3372
- input: string[];
3373
- box: string[];
3374
- additional: string[];
3375
- };
3376
- md: {
3377
- input: string[];
3378
- box: string[];
3379
- additional: string[];
3380
- };
3381
- lg: {
3382
- input: string[];
3383
- box: string[];
3384
- additional: string[];
3385
- };
3386
- xl: {
3387
- input: string[];
3388
- box: string[];
3389
- additional: string[];
3390
- };
3391
- };
3392
- color: {
3393
- success: {
3394
- box: string[];
3395
- };
3396
- danger: {
3397
- box: string[];
3398
- };
3399
- warning: {
3400
- box: string[];
3401
- };
3402
- default: {
3403
- box: string[];
3404
- };
3405
- };
3406
- disabled: {
3407
- true: {
3408
- input: string[];
3409
- box: string[];
3410
- };
3411
- };
3412
- pl: {
3413
- true: {
3414
- box: string;
3415
- };
3416
- false: {
3417
- box: string;
3418
- };
3419
- };
3420
- pr: {
3421
- true: {
3422
- box: string;
3423
- };
3424
- false: {
3425
- box: string;
3426
- };
3427
- };
3428
- fullWidth: {
3429
- true: {
3430
- box: string;
3431
- };
3432
- };
3433
- align: {
3434
- center: {
3435
- input: string;
3436
- };
3437
- left: {
3438
- input: string;
3439
- };
3440
- right: {
3441
- input: string;
3442
- };
3443
- };
3444
- }, {
3445
- size: {
3446
- xs: {
3447
- input: string[];
3448
- box: string[];
3449
- additional: string[];
3450
- };
3451
- sm: {
3452
- input: string[];
3453
- box: string[];
3454
- additional: string[];
3455
- };
3456
- md: {
3457
- input: string[];
3458
- box: string[];
3459
- additional: string[];
3460
- };
3461
- lg: {
3462
- input: string[];
3463
- box: string[];
3464
- additional: string[];
3465
- };
3466
- xl: {
3467
- input: string[];
3468
- box: string[];
3469
- additional: string[];
3470
- };
3471
- };
3472
- color: {
3473
- success: {
3474
- box: string[];
3475
- };
3476
- danger: {
3477
- box: string[];
3478
- };
3479
- warning: {
3480
- box: string[];
3481
- };
3482
- default: {
3483
- box: string[];
3484
- };
3485
- };
3486
- disabled: {
3487
- true: {
3488
- input: string[];
3489
- box: string[];
3490
- };
3491
- };
3492
- pl: {
3493
- true: {
3494
- box: string;
3495
- };
3496
- false: {
3497
- box: string;
3498
- };
3499
- };
3500
- pr: {
3501
- true: {
3502
- box: string;
3503
- };
3504
- false: {
3505
- box: string;
3506
- };
3507
- };
3508
- fullWidth: {
3509
- true: {
3510
- box: string;
3511
- };
3512
- };
3513
- align: {
3514
- center: {
3515
- input: string;
3516
- };
3517
- left: {
3518
- input: string;
3519
- };
3520
- right: {
3521
- input: string;
3522
- };
3523
- };
3524
- }>, unknown, unknown, undefined>>;
3525
- interface InputProps<T = string> extends BaseInputProps<T>, VariantProps<typeof inputVariants> {
3526
- prefix?: string | React__default.ReactNode;
3527
- suffix?: string | React__default.ReactNode;
3528
- fullWidth?: boolean;
3529
- onClear?: () => void;
3530
- classNames?: {
3531
- input?: string;
3532
- root?: string;
3533
- additional?: string;
3534
- clearButton?: string;
3261
+ }, undefined, {
3262
+ responsiveVariants: ("md" | "lg")[];
3263
+ }, unknown, unknown, undefined>>;
3264
+ interface InputProps<T = string> extends BaseInputProps<T>, VariantProps<typeof inputVariants> {
3265
+ prefix?: string | React__default.ReactNode;
3266
+ suffix?: string | React__default.ReactNode;
3267
+ fullWidth?: boolean;
3268
+ onClear?: () => void;
3269
+ classNames?: {
3270
+ input?: string;
3271
+ root?: string;
3272
+ additional?: string;
3273
+ clearButton?: string;
3274
+ prefix?: string;
3275
+ suffix?: string;
3535
3276
  };
3536
3277
  }
3537
3278
  declare const Input$1: React__default.ForwardRefExoticComponent<InputProps<string> & React__default.RefAttributes<HTMLInputElement>>;
@@ -3540,6 +3281,15 @@ declare const QuantityInput: React$1.ForwardRefExoticComponent<{
3540
3281
  tokens: string[];
3541
3282
  } & Omit<InputProps<string>, "suffix" | "onClear"> & React$1.RefAttributes<HTMLInputElement>>;
3542
3283
 
3284
+ declare const InputWithTooltip: React$1.ForwardRefExoticComponent<InputProps<string> & {
3285
+ tooltip?: React.ReactNode;
3286
+ tooltipProps?: {
3287
+ content?: TooltipContentProps | undefined;
3288
+ arrow?: TooltipContentProps | undefined;
3289
+ } | undefined;
3290
+ triggerClassName?: string | undefined;
3291
+ } & React$1.RefAttributes<HTMLInputElement>>;
3292
+
3543
3293
  declare const InputAdditional: FC<PropsWithChildren<{
3544
3294
  className?: string;
3545
3295
  name?: string;
@@ -3565,12 +3315,27 @@ declare const dpFormatter: (dp: number, config?: {
3565
3315
  onSendBefore: (value: string | number, options: InputFormatterOptions) => string;
3566
3316
  };
3567
3317
 
3318
+ declare const rangeFormatter: (props: {
3319
+ max?: number;
3320
+ min?: number;
3321
+ }) => {
3322
+ onRenderBefore: (value: string | number, options: InputFormatterOptions) => string;
3323
+ onSendBefore: (value: string | number, options: InputFormatterOptions) => string;
3324
+ };
3325
+
3326
+ declare const identifierFormatter: () => {
3327
+ onRenderBefore: (value: string | number, options: InputFormatterOptions) => string;
3328
+ onSendBefore: (value: string | number, options: InputFormatterOptions) => string;
3329
+ };
3330
+
3568
3331
  declare const index$1_createRegexInputFormatter: typeof createRegexInputFormatter;
3569
3332
  declare const index$1_currencyFormatter: typeof currencyFormatter;
3570
3333
  declare const index$1_dpFormatter: typeof dpFormatter;
3334
+ declare const index$1_identifierFormatter: typeof identifierFormatter;
3571
3335
  declare const index$1_numberFormatter: typeof numberFormatter;
3336
+ declare const index$1_rangeFormatter: typeof rangeFormatter;
3572
3337
  declare namespace index$1 {
3573
- export { index$1_createRegexInputFormatter as createRegexInputFormatter, index$1_currencyFormatter as currencyFormatter, index$1_dpFormatter as dpFormatter, index$1_numberFormatter as numberFormatter };
3338
+ export { index$1_createRegexInputFormatter as createRegexInputFormatter, index$1_currencyFormatter as currencyFormatter, index$1_dpFormatter as dpFormatter, index$1_identifierFormatter as identifierFormatter, index$1_numberFormatter as numberFormatter, index$1_rangeFormatter as rangeFormatter };
3574
3339
  }
3575
3340
 
3576
3341
  declare const textFieldVariants: tailwind_variants.TVReturnType<{
@@ -3652,6 +3417,7 @@ declare const TextField: React__default.FC<TextFieldProps>;
3652
3417
 
3653
3418
  type InputType = typeof Input$1 & {
3654
3419
  token: typeof QuantityInput;
3420
+ tooltip: typeof InputWithTooltip;
3655
3421
  };
3656
3422
  declare const Input: InputType;
3657
3423
 
@@ -3659,6 +3425,7 @@ declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive
3659
3425
  size?: number | undefined;
3660
3426
  indicatorClassName?: string | undefined;
3661
3427
  color?: "white" | "blue" | undefined;
3428
+ variant?: "radio" | "checkBox" | undefined;
3662
3429
  } & React$1.RefAttributes<HTMLButtonElement>>;
3663
3430
 
3664
3431
  declare const switchVariants: tailwind_variants.TVReturnType<{
@@ -3790,9 +3557,11 @@ declare const badgeVariants: tailwind_variants.TVReturnType<{
3790
3557
  primaryLight: string;
3791
3558
  secondary: string;
3792
3559
  danger: string;
3560
+ buy: string;
3793
3561
  success: string;
3794
3562
  warning: string;
3795
- neutural: string;
3563
+ sell: string;
3564
+ neutral: string;
3796
3565
  };
3797
3566
  size: {
3798
3567
  xs: string;
@@ -3820,9 +3589,11 @@ declare const badgeVariants: tailwind_variants.TVReturnType<{
3820
3589
  primaryLight: string;
3821
3590
  secondary: string;
3822
3591
  danger: string;
3592
+ buy: string;
3823
3593
  success: string;
3824
3594
  warning: string;
3825
- neutural: string;
3595
+ sell: string;
3596
+ neutral: string;
3826
3597
  };
3827
3598
  size: {
3828
3599
  xs: string;
@@ -3840,9 +3611,11 @@ declare const badgeVariants: tailwind_variants.TVReturnType<{
3840
3611
  primaryLight: string;
3841
3612
  secondary: string;
3842
3613
  danger: string;
3614
+ buy: string;
3843
3615
  success: string;
3844
3616
  warning: string;
3845
- neutural: string;
3617
+ sell: string;
3618
+ neutral: string;
3846
3619
  };
3847
3620
  size: {
3848
3621
  xs: string;
@@ -3860,9 +3633,11 @@ declare const badgeVariants: tailwind_variants.TVReturnType<{
3860
3633
  primaryLight: string;
3861
3634
  secondary: string;
3862
3635
  danger: string;
3636
+ buy: string;
3863
3637
  success: string;
3864
3638
  warning: string;
3865
- neutural: string;
3639
+ sell: string;
3640
+ neutral: string;
3866
3641
  };
3867
3642
  size: {
3868
3643
  xs: string;
@@ -3880,9 +3655,11 @@ declare const badgeVariants: tailwind_variants.TVReturnType<{
3880
3655
  primaryLight: string;
3881
3656
  secondary: string;
3882
3657
  danger: string;
3658
+ buy: string;
3883
3659
  success: string;
3884
3660
  warning: string;
3885
- neutural: string;
3661
+ sell: string;
3662
+ neutral: string;
3886
3663
  };
3887
3664
  size: {
3888
3665
  xs: string;
@@ -3910,12 +3687,20 @@ declare const Logo: React__default.ForwardRefExoticComponent<React__default.HTML
3910
3687
  declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
3911
3688
  declare const TooltipRoot: React$1.FC<TooltipPrimitive.TooltipProps>;
3912
3689
  declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
3913
- declare const TooltipArrow: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipArrowProps & React$1.RefAttributes<SVGSVGElement>>;
3690
+ declare const TooltipPortal: React$1.FC<TooltipPrimitive.TooltipPortalProps>;
3914
3691
  declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
3692
+ declare const TooltipArrow: (props: {
3693
+ className?: string;
3694
+ style?: React$1.CSSProperties;
3695
+ }) => react_jsx_runtime.JSX.Element;
3915
3696
  declare const Tooltip: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipProps & Omit<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
3916
3697
  className?: string | undefined;
3917
3698
  content?: React$1.ReactNode;
3918
3699
  arrow?: TooltipPrimitive.TooltipArrowProps | undefined;
3700
+ } & {
3701
+ tooltipProps?: {
3702
+ arrow?: TooltipPrimitive.TooltipContentProps | undefined;
3703
+ } | undefined;
3919
3704
  } & React$1.RefAttributes<HTMLDivElement>>;
3920
3705
 
3921
3706
  declare const tableVariants: tailwind_variants.TVReturnType<{
@@ -4012,22 +3797,22 @@ declare const TableHead: React__default.ForwardRefExoticComponent<React__default
4012
3797
  declare const TableCell: React__default.ForwardRefExoticComponent<React__default.TdHTMLAttributes<HTMLTableCellElement> & React__default.RefAttributes<HTMLTableCellElement>>;
4013
3798
  declare const TableCaption: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLTableCaptionElement> & React__default.RefAttributes<HTMLTableCaptionElement>>;
4014
3799
 
4015
- type ColumnFixed = "left" | "right";
4016
- type SortOrder = "asc" | "desc";
4017
- type TableCellFormatter<T> = string | ((value: any, record: T, index: number) => any);
4018
- type TableCellRenderer<T> = string | ((value: any, record: T, index: number) => React.ReactNode);
3800
+ type ColumnFixed$1 = "left" | "right";
3801
+ type SortOrder$1 = "asc" | "desc";
3802
+ type TableCellFormatter$1<T> = string | ((value: any, record: T, index: number) => any);
3803
+ type TableCellRenderer$1<T> = string | ((value: any, record: T, index: number) => React.ReactNode);
4019
3804
  type Column<RecordType extends unknown = any> = {
4020
3805
  title: ReactNode;
4021
3806
  hint?: ReactNode;
4022
3807
  hintClassName?: string;
4023
3808
  width?: number;
4024
- fixed?: ColumnFixed;
3809
+ fixed?: ColumnFixed$1;
4025
3810
  dataIndex: string;
4026
3811
  className?: string | ((record: RecordType, index: number) => string);
4027
3812
  align?: "left" | "center" | "right";
4028
- onSort?: boolean | ((r1: RecordType, r2: RecordType, sortOrder: SortOrder) => number);
4029
- formatter?: TableCellFormatter<RecordType>;
4030
- render?: TableCellRenderer<RecordType>;
3813
+ onSort?: boolean | ((r1: RecordType, r2: RecordType, sortOrder: SortOrder$1) => number);
3814
+ formatter?: TableCellFormatter$1<RecordType>;
3815
+ render?: TableCellRenderer$1<RecordType>;
4031
3816
  getKey?: (record: RecordType, index: number) => string;
4032
3817
  /**
4033
3818
  * text rule for formatted text, if provided, the text will be rendered as formatted text component;
@@ -4072,11 +3857,11 @@ interface DataTableProps<RecordType> extends TBodyProps<RecordType>, VariantProp
4072
3857
  loadMore?: () => void;
4073
3858
  onSort?: (options?: {
4074
3859
  sortKey: string;
4075
- sort: SortOrder;
3860
+ sort: SortOrder$1;
4076
3861
  }) => void;
4077
3862
  initialSort?: {
4078
3863
  sortKey: string;
4079
- sort: SortOrder;
3864
+ sort: SortOrder$1;
4080
3865
  };
4081
3866
  id?: string;
4082
3867
  minHeight?: number;
@@ -4231,13 +4016,8 @@ declare const selectVariants: tailwind_variants.TVReturnType<{
4231
4016
  separator: string;
4232
4017
  icon: string;
4233
4018
  }, undefined, {
4234
- responsiveVariants?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | {
4235
- position?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
4236
- size?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
4237
- variant?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
4238
- error?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
4239
- } | undefined;
4240
- } & tailwind_variants_dist_config.TWMConfig & {
4019
+ responsiveVariants: ("md" | "lg")[];
4020
+ } & {
4241
4021
  twMergeConfig: {
4242
4022
  prefix: string;
4243
4023
  };
@@ -4369,119 +4149,14 @@ declare const selectVariants: tailwind_variants.TVReturnType<{
4369
4149
  item: string[];
4370
4150
  separator: string;
4371
4151
  icon: string;
4372
- }, undefined, tailwind_variants_dist_config.TVConfig<{
4373
- variant: {
4374
- outlined: {
4375
- trigger: string[];
4376
- };
4377
- contained: {
4378
- trigger: string[];
4379
- };
4380
- text: {
4381
- trigger: never[];
4382
- };
4383
- };
4384
- position: {
4385
- popper: {
4386
- content: string[];
4387
- viewport: string;
4388
- };
4389
- "item-aligned": {
4390
- content: string;
4391
- viewport: string;
4392
- };
4393
- };
4394
- size: {
4395
- xs: {
4396
- trigger: string[];
4397
- item: string[];
4398
- icon: string[];
4399
- };
4400
- sm: {
4401
- trigger: string[];
4402
- item: string[];
4403
- icon: string[];
4404
- };
4405
- md: {
4406
- trigger: string[];
4407
- item: string[];
4408
- icon: string[];
4409
- };
4410
- lg: {
4411
- trigger: string[];
4412
- item: string[];
4413
- icon: string[];
4414
- };
4415
- xl: {
4416
- trigger: string[];
4417
- item: string[];
4418
- icon: string[];
4419
- };
4420
- };
4421
- error: {
4422
- true: {
4423
- trigger: string[];
4424
- };
4425
- };
4426
- }, {
4427
- variant: {
4428
- outlined: {
4429
- trigger: string[];
4430
- };
4431
- contained: {
4432
- trigger: string[];
4433
- };
4434
- text: {
4435
- trigger: never[];
4436
- };
4437
- };
4438
- position: {
4439
- popper: {
4440
- content: string[];
4441
- viewport: string;
4442
- };
4443
- "item-aligned": {
4444
- content: string;
4445
- viewport: string;
4446
- };
4447
- };
4448
- size: {
4449
- xs: {
4450
- trigger: string[];
4451
- item: string[];
4452
- icon: string[];
4453
- };
4454
- sm: {
4455
- trigger: string[];
4456
- item: string[];
4457
- icon: string[];
4458
- };
4459
- md: {
4460
- trigger: string[];
4461
- item: string[];
4462
- icon: string[];
4463
- };
4464
- lg: {
4465
- trigger: string[];
4466
- item: string[];
4467
- icon: string[];
4468
- };
4469
- xl: {
4470
- trigger: string[];
4471
- item: string[];
4472
- icon: string[];
4473
- };
4474
- };
4475
- error: {
4476
- true: {
4477
- trigger: string[];
4478
- };
4479
- };
4480
- }>, unknown, unknown, undefined>>;
4152
+ }, undefined, {
4153
+ responsiveVariants: ("md" | "lg")[];
4154
+ }, unknown, unknown, undefined>>;
4481
4155
  declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
4482
4156
  size?: VariantProps<typeof selectVariants>["size"];
4483
4157
  } & React$1.RefAttributes<HTMLDivElement>>;
4484
4158
 
4159
+ type SelectVariantProps = VariantProps<typeof selectVariants>;
4485
4160
  type SelectProps<T> = SelectPrimitive.SelectProps & {
4486
4161
  placeholder?: string;
4487
4162
  valueFormatter?: (value: T, options: {
@@ -4490,7 +4165,7 @@ type SelectProps<T> = SelectPrimitive.SelectProps & {
4490
4165
  contentProps?: React__default.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>;
4491
4166
  showCaret?: boolean;
4492
4167
  maxHeight?: number;
4493
- } & VariantProps<typeof selectVariants>;
4168
+ } & SelectVariantProps;
4494
4169
  declare const Select$1: <T>(props: React__default.PropsWithChildren<SelectProps<T>>) => react_jsx_runtime.JSX.Element;
4495
4170
 
4496
4171
  type SelectOption = {
@@ -4498,6 +4173,7 @@ type SelectOption = {
4498
4173
  value: string;
4499
4174
  };
4500
4175
  type SelectWithOptionsProps<T = string> = SelectProps<T> & {
4176
+ currentValue?: string;
4501
4177
  options: SelectOption[];
4502
4178
  optionRenderer?: (option: SelectOption) => ReactElement;
4503
4179
  };
@@ -4519,31 +4195,33 @@ type DatePickerProps = {
4519
4195
  } & CalendarProps;
4520
4196
  declare const DatePicker$1: FC<DatePickerProps>;
4521
4197
 
4522
- type FilterType = "select" | "input" | "date" | "range" | "custom" | "symbol";
4523
- type DataFilterGeneral = {
4198
+ type FilterType$1 = "select" | "input" | "date" | "range" | "custom" | "symbol";
4199
+ type DataFilterGeneral$1 = {
4524
4200
  name: string;
4525
- type: FilterType;
4201
+ type: FilterType$1;
4526
4202
  };
4527
- type SelectFilter = {
4203
+ type SelectFilter$1 = {
4528
4204
  type: "select";
4529
4205
  isCombine?: boolean;
4530
4206
  } & SelectWithOptionsProps;
4531
- type DateFilter = {
4207
+ type DateFilter$1 = {
4532
4208
  type: "date";
4533
4209
  } & DatePickerProps;
4534
- type DateRangeFilter = {
4210
+ type DateRangeFilter$1 = {
4535
4211
  type: "range";
4536
4212
  } & DateRangePickerProps;
4537
- type SymbolFilter = {
4213
+ type SymbolFilter$1 = {
4538
4214
  type: "symbol";
4539
4215
  };
4540
- type DataFilterItems = (DataFilterGeneral & (SelectFilter | DateFilter | DateRangeFilter | SymbolFilter))[];
4541
- type DataFilterProps = {
4542
- items: DataFilterItems;
4216
+ type DataFilterItems$1 = (DataFilterGeneral$1 & (SelectFilter$1 | DateFilter$1 | DateRangeFilter$1 | SymbolFilter$1))[];
4217
+ type DataFilterProps$1 = {
4218
+ items: DataFilterItems$1;
4543
4219
  onFilter: (filter: {
4544
4220
  name: string;
4545
4221
  value: any;
4546
4222
  }) => void;
4223
+ className?: string;
4224
+ trailing?: React.ReactNode;
4547
4225
  };
4548
4226
 
4549
4227
  type PaginationOptions = {
@@ -4553,7 +4231,7 @@ type PaginationOptions = {
4553
4231
  };
4554
4232
 
4555
4233
  type DataGridProps<RecordType = any> = {
4556
- filter?: DataFilterProps;
4234
+ filter?: DataFilterProps$1;
4557
4235
  pagination?: PaginationOptions;
4558
4236
  footer?: ReactElement;
4559
4237
  /**
@@ -4572,7 +4250,7 @@ declare const EmptyDataState: (props: {
4572
4250
  }) => react_jsx_runtime.JSX.Element;
4573
4251
 
4574
4252
  declare const Filter: {
4575
- (props: DataFilterProps): react_jsx_runtime.JSX.Element;
4253
+ (props: DataFilterProps$1): react_jsx_runtime.JSX.Element;
4576
4254
  displayName: string;
4577
4255
  };
4578
4256
 
@@ -4608,7 +4286,7 @@ declare const usePagination: (initial?: {
4608
4286
  page: number;
4609
4287
  pageSize: number;
4610
4288
  setPage: React$1.Dispatch<React$1.SetStateAction<number>>;
4611
- setPageSize: (pageSize: number) => void;
4289
+ setPageSize: (size: number) => void;
4612
4290
  parseMeta: (meta?: {
4613
4291
  total: number;
4614
4292
  current_page: number;
@@ -4621,6 +4299,115 @@ declare const usePagination: (initial?: {
4621
4299
  };
4622
4300
  };
4623
4301
 
4302
+ type ColumnFixed = "left" | "right";
4303
+ type SortOrder = "asc" | "desc";
4304
+ type TableCellFormatter<T> = string | ((value: any, record: T, index: number) => any);
4305
+ type TableCellRenderer<T> = string | ((value: any, record: T, index: number) => React.ReactNode);
4306
+ type TableColumn<RecordType extends unknown = any> = {
4307
+ type?: "data" | "action" | "group";
4308
+ title?: ReactNode;
4309
+ hint?: ReactNode;
4310
+ hintClassName?: string;
4311
+ width?: number;
4312
+ fixed?: ColumnFixed;
4313
+ dataIndex: string;
4314
+ className?: string | ((record: RecordType, index: number) => string);
4315
+ align?: "left" | "center" | "right";
4316
+ onSort?: boolean | ((r1: RecordType, r2: RecordType, sortOrder?: SortOrder) => number);
4317
+ formatter?: TableCellFormatter<RecordType>;
4318
+ render?: TableCellRenderer<RecordType>;
4319
+ getKey?: (record: RecordType, index: number) => string;
4320
+ /**
4321
+ * text rule for formatted text, if provided, the text will be rendered as formatted text component;
4322
+ */
4323
+ rule?: TextRule | NumeralRule;
4324
+ numeralProps?: Omit<NumeralProps, "children" | "as" | "rule"> | ((value: any, record: RecordType, index: number) => Omit<NumeralProps, "children" | "as" | "rule">);
4325
+ /**
4326
+ * text props for formatted text
4327
+ */
4328
+ textProps?: Omit<FormattedTextProps, "children" | "as" | "rule"> | ((value: any, record: RecordType, index: number) => Omit<FormattedTextProps, "children" | "as" | "rule">);
4329
+ };
4330
+ type PaginationMeta = {
4331
+ count?: number;
4332
+ page: number;
4333
+ pageSize: number;
4334
+ pageTotal?: number;
4335
+ onPageChange?: (page: number) => void;
4336
+ onPageSizeChange?: (pageSize: number) => void;
4337
+ };
4338
+ type TableSort = {
4339
+ sortKey: string;
4340
+ sort: SortOrder;
4341
+ };
4342
+ type TableViewClassNames = {
4343
+ root?: string;
4344
+ header?: string;
4345
+ body?: string;
4346
+ footer?: string;
4347
+ pagination?: string;
4348
+ scroll?: string;
4349
+ };
4350
+
4351
+ type TableViewProps<RecordType> = {
4352
+ columns: TableColumn<RecordType>[];
4353
+ dataSource?: RecordType[] | null;
4354
+ /**
4355
+ * @description loading state
4356
+ * @default false
4357
+ */
4358
+ loading?: boolean;
4359
+ ignoreLoadingCheck?: boolean;
4360
+ className?: string;
4361
+ classNames?: TableViewClassNames;
4362
+ emptyView?: ReactNode;
4363
+ bordered?: boolean;
4364
+ onSort?: (sort?: TableSort) => void;
4365
+ initialSort?: TableSort;
4366
+ id?: string;
4367
+ getRowCanExpand?: (row: Row<any>) => boolean;
4368
+ expandRowRender?: (row: Row<any>, index: number) => ReactNode;
4369
+ manualSorting?: boolean;
4370
+ manualPagination?: boolean;
4371
+ manualFiltering?: boolean;
4372
+ pagination?: PaginationMeta;
4373
+ renderRowContainer?: (record: RecordType, index: number, children: ReactNode) => ReactNode;
4374
+ generatedRowKey?: CoreOptions<any>["getRowId"];
4375
+ onRow?: (record: RecordType, index: number) => any;
4376
+ columnFilters?: ColumnFilter | ColumnFilter[];
4377
+ rowSelection?: RowSelectionState;
4378
+ };
4379
+ declare function TableView<RecordType extends any>(props: PropsWithChildren<TableViewProps<RecordType>>): react_jsx_runtime.JSX.Element;
4380
+
4381
+ type FilterType = "select" | "input" | "date" | "range" | "custom" | "symbol";
4382
+ type DataFilterGeneral = {
4383
+ name: string;
4384
+ type: FilterType;
4385
+ };
4386
+ type SelectFilter = {
4387
+ type: "select";
4388
+ isCombine?: boolean;
4389
+ } & SelectWithOptionsProps;
4390
+ type DateFilter = {
4391
+ type: "date";
4392
+ } & DatePickerProps;
4393
+ type DateRangeFilter = {
4394
+ type: "range";
4395
+ } & DateRangePickerProps;
4396
+ type SymbolFilter = {
4397
+ type: "symbol";
4398
+ };
4399
+ type DataFilterItems = (DataFilterGeneral & (SelectFilter | DateFilter | DateRangeFilter | SymbolFilter))[];
4400
+ type DataFilterProps = {
4401
+ items: DataFilterItems;
4402
+ onFilter: (filter: {
4403
+ name: string;
4404
+ value: any;
4405
+ }) => void;
4406
+ className?: string;
4407
+ trailing?: React.ReactNode;
4408
+ };
4409
+ declare const DataFilter: (props: DataFilterProps) => react_jsx_runtime.JSX.Element;
4410
+
4624
4411
  declare const scrollAreaVariants: tailwind_variants.TVReturnType<{
4625
4412
  orientation: {
4626
4413
  vertical: {
@@ -4702,6 +4489,9 @@ declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.Dia
4702
4489
  declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
4703
4490
  declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<tailwind_variants.TVReturnType<{
4704
4491
  size: {
4492
+ xs: {
4493
+ content: string[];
4494
+ };
4705
4495
  sm: {
4706
4496
  content: string[];
4707
4497
  };
@@ -4755,6 +4545,9 @@ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimit
4755
4545
  desc: string[];
4756
4546
  }, undefined, tailwind_variants_dist_config.TVConfig<{
4757
4547
  size: {
4548
+ xs: {
4549
+ content: string[];
4550
+ };
4758
4551
  sm: {
4759
4552
  content: string[];
4760
4553
  };
@@ -4799,6 +4592,9 @@ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimit
4799
4592
  };
4800
4593
  }, {
4801
4594
  size: {
4595
+ xs: {
4596
+ content: string[];
4597
+ };
4802
4598
  sm: {
4803
4599
  content: string[];
4804
4600
  };
@@ -4843,6 +4639,9 @@ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimit
4843
4639
  };
4844
4640
  }>, {
4845
4641
  size: {
4642
+ xs: {
4643
+ content: string[];
4644
+ };
4846
4645
  sm: {
4847
4646
  content: string[];
4848
4647
  };
@@ -4896,6 +4695,9 @@ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimit
4896
4695
  desc: string[];
4897
4696
  }, tailwind_variants.TVReturnType<{
4898
4697
  size: {
4698
+ xs: {
4699
+ content: string[];
4700
+ };
4899
4701
  sm: {
4900
4702
  content: string[];
4901
4703
  };
@@ -4949,6 +4751,9 @@ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimit
4949
4751
  desc: string[];
4950
4752
  }, undefined, tailwind_variants_dist_config.TVConfig<{
4951
4753
  size: {
4754
+ xs: {
4755
+ content: string[];
4756
+ };
4952
4757
  sm: {
4953
4758
  content: string[];
4954
4759
  };
@@ -4993,6 +4798,9 @@ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimit
4993
4798
  };
4994
4799
  }, {
4995
4800
  size: {
4801
+ xs: {
4802
+ content: string[];
4803
+ };
4996
4804
  sm: {
4997
4805
  content: string[];
4998
4806
  };
@@ -5053,8 +4861,8 @@ declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPr
5053
4861
 
5054
4862
  type DialogAction<T = any> = {
5055
4863
  label: string;
5056
- onClick: () => Promise<T> | T;
5057
- } & Pick<ButtonProps, "size" | "disabled" | "className" | "fullWidth" | "data-testid">;
4864
+ onClick: (event: any) => Promise<T> | T;
4865
+ } & Pick<ButtonProps, "size" | "disabled" | "className" | "fullWidth" | "data-testid" | "loading">;
5058
4866
  type SimpleDialogFooterProps = {
5059
4867
  actions?: {
5060
4868
  primary?: DialogAction;
@@ -5063,31 +4871,10 @@ type SimpleDialogFooterProps = {
5063
4871
  className?: string;
5064
4872
  };
5065
4873
 
5066
- type AlertDialogProps = {
5067
- title?: string;
5068
- message?: ReactNode;
5069
- open?: boolean;
5070
- onOpenChange?: (open: boolean) => void;
5071
- onOk?: () => Promise<boolean>;
5072
- onCancel?: () => void;
5073
- okLabel?: string;
5074
- cancelLabel?: string;
5075
- closeable?: boolean;
5076
- } & {
5077
- actions?: {
5078
- primary?: Partial<DialogAction>;
5079
- secondary?: Partial<DialogAction>;
5080
- };
5081
- };
5082
- /**
5083
- * Generic alert dialog, often used for confirmation/alert/information dialogs.
5084
- */
5085
- declare const AlertDialog: FC<AlertDialogProps>;
5086
-
5087
4874
  type SimpleDialogProps = {
5088
4875
  open?: boolean;
5089
4876
  onOpenChange?: (open: boolean) => void;
5090
- size?: "sm" | "md" | "lg";
4877
+ size?: "xs" | "sm" | "md" | "lg";
5091
4878
  closable?: boolean;
5092
4879
  title?: ReactNode;
5093
4880
  description?: ReactNode;
@@ -5102,6 +4889,22 @@ type SimpleDialogProps = {
5102
4889
  */
5103
4890
  declare const SimpleDialog: FC<PropsWithChildren<SimpleDialogProps>>;
5104
4891
 
4892
+ type AlertDialogProps = {
4893
+ message?: ReactNode;
4894
+ onOk?: () => Promise<boolean>;
4895
+ onCancel?: () => void;
4896
+ okLabel?: string;
4897
+ cancelLabel?: string;
4898
+ actions?: {
4899
+ primary?: Partial<DialogAction>;
4900
+ secondary?: Partial<DialogAction>;
4901
+ };
4902
+ } & Pick<SimpleDialogProps, "open" | "onOpenChange" | "title" | "closable" | "classNames" | "size">;
4903
+ /**
4904
+ * Generic alert dialog, often used for confirmation/alert/information dialogs.
4905
+ */
4906
+ declare const AlertDialog: FC<AlertDialogProps>;
4907
+
5105
4908
  type TriggerDialogProps = {
5106
4909
  size?: "sm" | "md" | "lg";
5107
4910
  closable?: boolean;
@@ -5114,6 +4917,7 @@ declare const TriggerDialog: FC<PropsWithChildren<TriggerDialogProps>>;
5114
4917
  interface ModalState {
5115
4918
  id: string;
5116
4919
  args?: Record<string, unknown>;
4920
+ states?: Record<string, unknown>;
5117
4921
  visible?: boolean;
5118
4922
  delayVisible?: boolean;
5119
4923
  keepMounted?: boolean;
@@ -5132,6 +4936,7 @@ interface ModalHandler<Props = Record<string, unknown>> extends ModalState {
5132
4936
  reject: (reason?: unknown) => void;
5133
4937
  remove: () => void;
5134
4938
  setStates: (states: Record<string, unknown>) => void;
4939
+ updateArgs: (states: Record<string, unknown>) => void;
5135
4940
  resolveHide: (args?: unknown) => void;
5136
4941
  }
5137
4942
  interface ModalHocProps {
@@ -5140,7 +4945,9 @@ interface ModalHocProps {
5140
4945
  keepMounted?: boolean;
5141
4946
  }
5142
4947
 
5143
- declare const registerSimpleDialog: <Props = {}>(id: string, comp: ElementType<Props>, props?: Partial<ModalArgs<Props>> | undefined) => void;
4948
+ type DialogProps = {
4949
+ content: ReactNode;
4950
+ } & Pick<SimpleDialogProps, "title" | "closable" | "size">;
5144
4951
 
5145
4952
  declare const Sheet: React$1.FC<DialogPrimitive.DialogProps>;
5146
4953
  declare const SheetTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
@@ -5154,7 +4961,7 @@ declare const sheetVariants: tailwind_variants.TVReturnType<{
5154
4961
  left: string;
5155
4962
  right: string;
5156
4963
  };
5157
- }, undefined, "oui-fixed oui-z-50 oui-gap-4 oui-bg-base-8 oui-p-6 oui-shadow-lg oui-transition oui-ease-in-out data-[state=closed]:oui-duration-260 data-[state=open]:oui-duration-300 data-[state=open]:oui-animate-in data-[state=closed]:oui-animate-out", tailwind_variants_dist_config.TVConfig<{
4964
+ }, undefined, "oui-fixed oui-z-50 oui-gap-4 oui-bg-base-8 oui-px-4 oui-shadow-lg oui-transition oui-ease-in-out data-[state=closed]:oui-duration-260 data-[state=open]:oui-duration-300 data-[state=open]:oui-animate-in data-[state=closed]:oui-animate-out", tailwind_variants_dist_config.TVConfig<{
5158
4965
  side: {
5159
4966
  top: string;
5160
4967
  bottom: string;
@@ -5182,7 +4989,7 @@ declare const sheetVariants: tailwind_variants.TVReturnType<{
5182
4989
  left: string;
5183
4990
  right: string;
5184
4991
  };
5185
- }, undefined, "oui-fixed oui-z-50 oui-gap-4 oui-bg-base-8 oui-p-6 oui-shadow-lg oui-transition oui-ease-in-out data-[state=closed]:oui-duration-260 data-[state=open]:oui-duration-300 data-[state=open]:oui-animate-in data-[state=closed]:oui-animate-out", tailwind_variants_dist_config.TVConfig<{
4992
+ }, undefined, "oui-fixed oui-z-50 oui-gap-4 oui-bg-base-8 oui-px-4 oui-shadow-lg oui-transition oui-ease-in-out data-[state=closed]:oui-duration-260 data-[state=open]:oui-duration-300 data-[state=open]:oui-animate-in data-[state=closed]:oui-animate-out", tailwind_variants_dist_config.TVConfig<{
5186
4993
  side: {
5187
4994
  top: string;
5188
4995
  bottom: string;
@@ -5216,16 +5023,78 @@ declare const SheetTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive
5216
5023
  } & React$1.RefAttributes<HTMLHeadingElement>>;
5217
5024
  declare const SheetDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
5218
5025
 
5219
- interface SheetProps {
5220
- title: string | React__default.ReactNode;
5221
- content?: React__default.ReactNode;
5026
+ interface SimpleSheetProps {
5027
+ title?: string | React.ReactNode;
5028
+ leading?: React.ReactNode;
5029
+ open?: boolean;
5030
+ onOpenChange?: (open: boolean) => void;
5222
5031
  classNames?: {
5223
5032
  content?: string;
5224
5033
  body?: string;
5034
+ header?: string;
5225
5035
  };
5036
+ contentProps?: SheetContentProps;
5037
+ closable?: boolean;
5226
5038
  }
5039
+ declare const SimpleSheet: FC<PropsWithChildren<SimpleSheetProps>>;
5040
+
5041
+ type SheetProps = Pick<SimpleSheetProps, "title" | "classNames" | "leading" | "contentProps" | "closable"> & {
5042
+ content: ReactNode;
5043
+ };
5044
+
5045
+ type ConfirmProps = {
5046
+ content?: React.ReactNode;
5047
+ footer?: React.ReactNode;
5048
+ onOk?: () => Promise<any>;
5049
+ onCancel?: () => Promise<any>;
5050
+ contentClassName?: string;
5051
+ bodyClassName?: string;
5052
+ } & Pick<SimpleDialogProps, "title" | "classNames" | "size">;
5053
+ declare const ConfirmDialog: React$1.FC<{
5054
+ content?: React.ReactNode;
5055
+ footer?: React.ReactNode;
5056
+ onOk?: (() => Promise<any>) | undefined;
5057
+ onCancel?: (() => Promise<any>) | undefined;
5058
+ contentClassName?: string | undefined;
5059
+ bodyClassName?: string | undefined;
5060
+ } & Pick<SimpleDialogProps, "title" | "size" | "classNames"> & ModalHocProps>;
5061
+
5062
+ declare function register<Props = {}>(id: string, comp: ElementType<Props>, props?: Partial<ModalArgs<Props>>): void;
5063
+
5064
+ declare const ModalContext: React__default.Context<ModalStore>;
5065
+ declare const ModalIdContext: React__default.Context<string | null>;
5066
+ declare const ModalProvider: FC<PropsWithChildren<{
5067
+ dialogBuilder?: (children: ReactNode) => ReactElement;
5068
+ }>>;
5069
+
5070
+ declare function useModal(): ModalHandler;
5071
+ declare function useModal(modal: string, args?: Record<string, unknown>): ModalHandler;
5072
+ declare function useModal<T extends React.FC<any>, ComponentProps extends ModalArgs<T>, PreparedProps extends Partial<ComponentProps> = {} | ComponentProps, RemainingProps = Omit<ComponentProps, keyof PreparedProps> & Partial<ComponentProps>, ResolveType = unknown>(modal: T, args?: PreparedProps): Omit<ModalHandler, "show"> & {
5073
+ show: Partial<RemainingProps> extends RemainingProps ? (args?: RemainingProps) => Promise<ResolveType> : (args: RemainingProps) => Promise<ResolveType>;
5074
+ };
5075
+
5076
+ declare const modal: {
5077
+ confirm: <T = any>(props: ConfirmProps) => Promise<T>;
5078
+ alert: (props: AlertDialogProps) => Promise<unknown>;
5079
+ sheet: (props: SheetProps) => Promise<unknown>;
5080
+ dialog: (props: DialogProps) => Promise<unknown>;
5081
+ show: {
5082
+ <T_1 extends unknown, C extends unknown>(modal: React$1.ElementType<C>, args?: ModalArgs<React$1.ElementType<C>> | undefined): Promise<T_1>;
5083
+ <T_2 extends unknown>(modal: string, args?: Record<string, unknown> | undefined): Promise<T_2>;
5084
+ <T_3 extends unknown, P extends unknown>(modal: string, args?: P | undefined): Promise<T_3>;
5085
+ };
5086
+ hide: <T_4>(modal: string | React$1.FC<any>) => Promise<T_4>;
5087
+ remove: (id: string) => void;
5088
+ setStates: (id: string, states: Record<string, unknown>) => void;
5089
+ updateArgs: (id: string, args: Record<string, unknown>) => void;
5090
+ create: <P_1 extends {}>(Comp: React$1.ComponentType<P_1>) => React$1.FC<P_1 & ModalHocProps>;
5091
+ register: typeof register;
5092
+ unregister: (id: string) => void;
5093
+ };
5094
+
5095
+ declare function registerSimpleDialog<Props = {}>(id: string, comp: ElementType<Props>, props?: Partial<ModalArgs<Props>>): void;
5227
5096
 
5228
- declare const registerSimpleSheet: <Props = {}>(id: string, comp: ElementType<Props>, props?: Omit<SheetProps, 'content'>) => void;
5097
+ declare function registerSimpleSheet<Props = {}>(id: string, comp: ElementType<Props>, props?: Omit<SheetProps, "content">): void;
5229
5098
 
5230
5099
  type SheetItemType = "division" | "data" | "cancel";
5231
5100
  interface BaseActionSheetItem {
@@ -6049,6 +5918,7 @@ type TabsProps<T = string> = {
6049
5918
  tabsList?: string;
6050
5919
  tabsContent?: string;
6051
5920
  };
5921
+ contentVisible?: boolean;
6052
5922
  } & TabsPrimitive.TabsProps & VariantProps<typeof tabsVariants>;
6053
5923
  declare const Tabs: FC<TabsProps>;
6054
5924
  type TabPanelProps = {
@@ -6229,13 +6099,8 @@ declare const chainSelectVariants: tailwind_variants.TVReturnType<{
6229
6099
  separator: string;
6230
6100
  icon: string;
6231
6101
  }, undefined, {
6232
- responsiveVariants?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | {
6233
- position?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
6234
- size?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
6235
- variant?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
6236
- error?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
6237
- } | undefined;
6238
- } & tailwind_variants_dist_config.TWMConfig & {
6102
+ responsiveVariants: ("md" | "lg")[];
6103
+ } & {
6239
6104
  twMergeConfig: {
6240
6105
  prefix: string;
6241
6106
  };
@@ -6367,115 +6232,9 @@ declare const chainSelectVariants: tailwind_variants.TVReturnType<{
6367
6232
  item: string[];
6368
6233
  separator: string;
6369
6234
  icon: string;
6370
- }, undefined, tailwind_variants_dist_config.TVConfig<{
6371
- variant: {
6372
- outlined: {
6373
- trigger: string[];
6374
- };
6375
- contained: {
6376
- trigger: string[];
6377
- };
6378
- text: {
6379
- trigger: never[];
6380
- };
6381
- };
6382
- position: {
6383
- popper: {
6384
- content: string[];
6385
- viewport: string;
6386
- };
6387
- "item-aligned": {
6388
- content: string;
6389
- viewport: string;
6390
- };
6391
- };
6392
- size: {
6393
- xs: {
6394
- trigger: string[];
6395
- item: string[];
6396
- icon: string[];
6397
- };
6398
- sm: {
6399
- trigger: string[];
6400
- item: string[];
6401
- icon: string[];
6402
- };
6403
- md: {
6404
- trigger: string[];
6405
- item: string[];
6406
- icon: string[];
6407
- };
6408
- lg: {
6409
- trigger: string[];
6410
- item: string[];
6411
- icon: string[];
6412
- };
6413
- xl: {
6414
- trigger: string[];
6415
- item: string[];
6416
- icon: string[];
6417
- };
6418
- };
6419
- error: {
6420
- true: {
6421
- trigger: string[];
6422
- };
6423
- };
6424
- }, {
6425
- variant: {
6426
- outlined: {
6427
- trigger: string[];
6428
- };
6429
- contained: {
6430
- trigger: string[];
6431
- };
6432
- text: {
6433
- trigger: never[];
6434
- };
6435
- };
6436
- position: {
6437
- popper: {
6438
- content: string[];
6439
- viewport: string;
6440
- };
6441
- "item-aligned": {
6442
- content: string;
6443
- viewport: string;
6444
- };
6445
- };
6446
- size: {
6447
- xs: {
6448
- trigger: string[];
6449
- item: string[];
6450
- icon: string[];
6451
- };
6452
- sm: {
6453
- trigger: string[];
6454
- item: string[];
6455
- icon: string[];
6456
- };
6457
- md: {
6458
- trigger: string[];
6459
- item: string[];
6460
- icon: string[];
6461
- };
6462
- lg: {
6463
- trigger: string[];
6464
- item: string[];
6465
- icon: string[];
6466
- };
6467
- xl: {
6468
- trigger: string[];
6469
- item: string[];
6470
- icon: string[];
6471
- };
6472
- };
6473
- error: {
6474
- true: {
6475
- trigger: string[];
6476
- };
6477
- };
6478
- }>, unknown, unknown, undefined>>>;
6235
+ }, undefined, {
6236
+ responsiveVariants: ("md" | "lg")[];
6237
+ }, unknown, unknown, undefined>>>;
6479
6238
  type ChainItem = {
6480
6239
  name: string;
6481
6240
  id: number;
@@ -6989,6 +6748,15 @@ declare const Card: React$1.ForwardRefExoticComponent<{
6989
6748
  children?: ReactNode;
6990
6749
  } & React$1.RefAttributes<HTMLDivElement>>;
6991
6750
 
6751
+ declare const HoverCardRoot: React$1.FC<HoverCardPrimitive.HoverCardProps>;
6752
+ declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React$1.RefAttributes<HTMLAnchorElement>>;
6753
+ declare const HoverCardContent: React$1.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
6754
+ interface HoverCardProps extends React$1.ComponentPropsWithoutRef<typeof HoverCardPrimitive.Root> {
6755
+ className?: string;
6756
+ content: React$1.ReactNode;
6757
+ }
6758
+ declare const HoverCard: React$1.FC<HoverCardProps & React$1.ComponentPropsWithoutRef<typeof HoverCardPrimitive.Content>>;
6759
+
6992
6760
  declare const pickerVariants: tailwind_variants.TVReturnType<{
6993
6761
  size: {
6994
6762
  sm: string;
@@ -7089,6 +6857,7 @@ declare const pickerVariants: tailwind_variants.TVReturnType<{
7089
6857
  interface PickerProps extends Omit<SelectHTMLAttributes<HTMLSelectElement>, "disabled" | "size" | "color" | "value">, VariantProps<typeof pickerVariants> {
7090
6858
  loading?: boolean;
7091
6859
  label?: string;
6860
+ placeholder?: string;
7092
6861
  options: SelectOption[];
7093
6862
  value?: SelectOption | string | number;
7094
6863
  onValueChange?: (value: any) => void;
@@ -7106,18 +6875,22 @@ declare const sliderVariants: tailwind_variants.TVReturnType<{
7106
6875
  primary: {
7107
6876
  thumb: string[];
7108
6877
  range: string;
6878
+ tips: string;
7109
6879
  };
7110
6880
  primaryLight: {
7111
6881
  thumb: string[];
7112
6882
  range: string;
6883
+ tips: string;
7113
6884
  };
7114
6885
  buy: {
7115
6886
  thumb: string[];
7116
6887
  range: string;
6888
+ tips: string[];
7117
6889
  };
7118
6890
  sell: {
7119
6891
  thumb: string[];
7120
6892
  range: string;
6893
+ tips: string[];
7121
6894
  };
7122
6895
  };
7123
6896
  }, {
@@ -7127,6 +6900,7 @@ declare const sliderVariants: tailwind_variants.TVReturnType<{
7127
6900
  trackInner: string;
7128
6901
  range: string;
7129
6902
  mark: string;
6903
+ tips: string[];
7130
6904
  }, undefined, {
7131
6905
  responsiveVariants?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | {
7132
6906
  color?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
@@ -7140,18 +6914,22 @@ declare const sliderVariants: tailwind_variants.TVReturnType<{
7140
6914
  primary: {
7141
6915
  thumb: string[];
7142
6916
  range: string;
6917
+ tips: string;
7143
6918
  };
7144
6919
  primaryLight: {
7145
6920
  thumb: string[];
7146
6921
  range: string;
6922
+ tips: string;
7147
6923
  };
7148
6924
  buy: {
7149
6925
  thumb: string[];
7150
6926
  range: string;
6927
+ tips: string[];
7151
6928
  };
7152
6929
  sell: {
7153
6930
  thumb: string[];
7154
6931
  range: string;
6932
+ tips: string[];
7155
6933
  };
7156
6934
  };
7157
6935
  }, {
@@ -7161,23 +6939,28 @@ declare const sliderVariants: tailwind_variants.TVReturnType<{
7161
6939
  trackInner: string;
7162
6940
  range: string;
7163
6941
  mark: string;
6942
+ tips: string[];
7164
6943
  }, tailwind_variants.TVReturnType<{
7165
6944
  color: {
7166
6945
  primary: {
7167
6946
  thumb: string[];
7168
6947
  range: string;
6948
+ tips: string;
7169
6949
  };
7170
6950
  primaryLight: {
7171
6951
  thumb: string[];
7172
6952
  range: string;
6953
+ tips: string;
7173
6954
  };
7174
6955
  buy: {
7175
6956
  thumb: string[];
7176
6957
  range: string;
6958
+ tips: string[];
7177
6959
  };
7178
6960
  sell: {
7179
6961
  thumb: string[];
7180
6962
  range: string;
6963
+ tips: string[];
7181
6964
  };
7182
6965
  };
7183
6966
  }, {
@@ -7187,23 +6970,28 @@ declare const sliderVariants: tailwind_variants.TVReturnType<{
7187
6970
  trackInner: string;
7188
6971
  range: string;
7189
6972
  mark: string;
6973
+ tips: string[];
7190
6974
  }, undefined, tailwind_variants_dist_config.TVConfig<{
7191
6975
  color: {
7192
6976
  primary: {
7193
6977
  thumb: string[];
7194
6978
  range: string;
6979
+ tips: string;
7195
6980
  };
7196
6981
  primaryLight: {
7197
6982
  thumb: string[];
7198
6983
  range: string;
6984
+ tips: string;
7199
6985
  };
7200
6986
  buy: {
7201
6987
  thumb: string[];
7202
6988
  range: string;
6989
+ tips: string[];
7203
6990
  };
7204
6991
  sell: {
7205
6992
  thumb: string[];
7206
6993
  range: string;
6994
+ tips: string[];
7207
6995
  };
7208
6996
  };
7209
6997
  }, {
@@ -7211,18 +6999,22 @@ declare const sliderVariants: tailwind_variants.TVReturnType<{
7211
6999
  primary: {
7212
7000
  thumb: string[];
7213
7001
  range: string;
7002
+ tips: string;
7214
7003
  };
7215
7004
  primaryLight: {
7216
7005
  thumb: string[];
7217
7006
  range: string;
7007
+ tips: string;
7218
7008
  };
7219
7009
  buy: {
7220
7010
  thumb: string[];
7221
7011
  range: string;
7012
+ tips: string[];
7222
7013
  };
7223
7014
  sell: {
7224
7015
  thumb: string[];
7225
7016
  range: string;
7017
+ tips: string[];
7226
7018
  };
7227
7019
  };
7228
7020
  }>, unknown, unknown, undefined>>;
@@ -7235,6 +7027,7 @@ type SliderProps = React$1.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>
7235
7027
  markCount?: number;
7236
7028
  markLabelVisible?: boolean;
7237
7029
  showTip?: boolean;
7030
+ tipFormatter?: (value: number, min: number, max: number, percent: number) => string | React$1.ReactNode;
7238
7031
  classNames?: {
7239
7032
  root?: string;
7240
7033
  thumb?: string;
@@ -7247,18 +7040,22 @@ declare const BaseSlider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive
7247
7040
  primary: {
7248
7041
  thumb: string[];
7249
7042
  range: string;
7043
+ tips: string;
7250
7044
  };
7251
7045
  primaryLight: {
7252
7046
  thumb: string[];
7253
7047
  range: string;
7048
+ tips: string;
7254
7049
  };
7255
7050
  buy: {
7256
7051
  thumb: string[];
7257
7052
  range: string;
7053
+ tips: string[];
7258
7054
  };
7259
7055
  sell: {
7260
7056
  thumb: string[];
7261
7057
  range: string;
7058
+ tips: string[];
7262
7059
  };
7263
7060
  };
7264
7061
  }, {
@@ -7268,6 +7065,7 @@ declare const BaseSlider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive
7268
7065
  trackInner: string;
7269
7066
  range: string;
7270
7067
  mark: string;
7068
+ tips: string[];
7271
7069
  }, undefined, {
7272
7070
  responsiveVariants?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | {
7273
7071
  color?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
@@ -7281,18 +7079,22 @@ declare const BaseSlider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive
7281
7079
  primary: {
7282
7080
  thumb: string[];
7283
7081
  range: string;
7082
+ tips: string;
7284
7083
  };
7285
7084
  primaryLight: {
7286
7085
  thumb: string[];
7287
7086
  range: string;
7087
+ tips: string;
7288
7088
  };
7289
7089
  buy: {
7290
7090
  thumb: string[];
7291
7091
  range: string;
7092
+ tips: string[];
7292
7093
  };
7293
7094
  sell: {
7294
7095
  thumb: string[];
7295
7096
  range: string;
7097
+ tips: string[];
7296
7098
  };
7297
7099
  };
7298
7100
  }, {
@@ -7302,23 +7104,28 @@ declare const BaseSlider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive
7302
7104
  trackInner: string;
7303
7105
  range: string;
7304
7106
  mark: string;
7107
+ tips: string[];
7305
7108
  }, tailwind_variants.TVReturnType<{
7306
7109
  color: {
7307
7110
  primary: {
7308
7111
  thumb: string[];
7309
7112
  range: string;
7113
+ tips: string;
7310
7114
  };
7311
7115
  primaryLight: {
7312
7116
  thumb: string[];
7313
7117
  range: string;
7118
+ tips: string;
7314
7119
  };
7315
7120
  buy: {
7316
7121
  thumb: string[];
7317
7122
  range: string;
7123
+ tips: string[];
7318
7124
  };
7319
7125
  sell: {
7320
7126
  thumb: string[];
7321
7127
  range: string;
7128
+ tips: string[];
7322
7129
  };
7323
7130
  };
7324
7131
  }, {
@@ -7328,23 +7135,28 @@ declare const BaseSlider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive
7328
7135
  trackInner: string;
7329
7136
  range: string;
7330
7137
  mark: string;
7138
+ tips: string[];
7331
7139
  }, undefined, tailwind_variants_dist_config.TVConfig<{
7332
7140
  color: {
7333
7141
  primary: {
7334
7142
  thumb: string[];
7335
7143
  range: string;
7144
+ tips: string;
7336
7145
  };
7337
7146
  primaryLight: {
7338
7147
  thumb: string[];
7339
7148
  range: string;
7149
+ tips: string;
7340
7150
  };
7341
7151
  buy: {
7342
7152
  thumb: string[];
7343
7153
  range: string;
7154
+ tips: string[];
7344
7155
  };
7345
7156
  sell: {
7346
7157
  thumb: string[];
7347
7158
  range: string;
7159
+ tips: string[];
7348
7160
  };
7349
7161
  };
7350
7162
  }, {
@@ -7352,18 +7164,22 @@ declare const BaseSlider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive
7352
7164
  primary: {
7353
7165
  thumb: string[];
7354
7166
  range: string;
7167
+ tips: string;
7355
7168
  };
7356
7169
  primaryLight: {
7357
7170
  thumb: string[];
7358
7171
  range: string;
7172
+ tips: string;
7359
7173
  };
7360
7174
  buy: {
7361
7175
  thumb: string[];
7362
7176
  range: string;
7177
+ tips: string[];
7363
7178
  };
7364
7179
  sell: {
7365
7180
  thumb: string[];
7366
7181
  range: string;
7182
+ tips: string[];
7367
7183
  };
7368
7184
  };
7369
7185
  }>, unknown, unknown, undefined>>> & {
@@ -7371,6 +7187,7 @@ declare const BaseSlider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive
7371
7187
  markCount?: number | undefined;
7372
7188
  markLabelVisible?: boolean | undefined;
7373
7189
  showTip?: boolean | undefined;
7190
+ tipFormatter?: ((value: number, min: number, max: number, percent: number) => string | React$1.ReactNode) | undefined;
7374
7191
  classNames?: {
7375
7192
  root?: string | undefined;
7376
7193
  thumb?: string | undefined;
@@ -7384,10 +7201,12 @@ declare const SingleSlider: React$1.ForwardRefExoticComponent<Omit<SliderProps,
7384
7201
  onValueCommit?: ((value: number) => void) | undefined;
7385
7202
  } & React$1.RefAttributes<HTMLSpanElement>>;
7386
7203
  type SliderType = typeof BaseSlider & {
7387
- signle: typeof SingleSlider;
7204
+ single: typeof SingleSlider;
7388
7205
  };
7389
7206
  declare const Slider: SliderType;
7390
7207
 
7208
+ declare function convertValueToPercentage(value: number, min: number, max: number): number;
7209
+
7391
7210
  interface ToastProps extends ToastOptions {
7392
7211
  }
7393
7212
  declare const Toaster: FC<ToastProps>;
@@ -7422,6 +7241,26 @@ declare const ListView: <T, D>(props: ListViewProps<T, D> & {
7422
7241
  }> | undefined;
7423
7242
  }) => JSX.Element;
7424
7243
 
7244
+ declare const Collapsible: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React$1.RefAttributes<HTMLDivElement>>;
7245
+ declare const CollapsibleTrigger: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
7246
+ declare const CollapsibleContent: FC<CollapsiblePrimitive.CollapsibleContentProps>;
7247
+
7248
+ interface Props$3 {
7249
+ header: ReactNode;
7250
+ headerClassName?: string;
7251
+ itemKey: string;
7252
+ disabled?: boolean;
7253
+ }
7254
+ declare const Panel: FC<PropsWithChildren<Props$3>>;
7255
+
7256
+ declare const CollapseRoot: FC<PropsWithChildren<{
7257
+ activeKey?: string;
7258
+ }>>;
7259
+ type Collapse = typeof CollapseRoot & {
7260
+ panel: typeof Panel;
7261
+ };
7262
+ declare const Collapse: Collapse;
7263
+
7425
7264
  declare const DropdownMenuRoot: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
7426
7265
  declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
7427
7266
  declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
@@ -7669,6 +7508,7 @@ type MenuItem = {
7669
7508
  testId?: string;
7670
7509
  };
7671
7510
  type DropdownMenuProps = {
7511
+ currentValue?: string;
7672
7512
  menu: MenuItem[];
7673
7513
  onSelect?: (item: MenuItem) => void;
7674
7514
  render?: (item: MenuItem, index: number) => ReactNode;
@@ -7815,6 +7655,8 @@ declare const ShareIcon: React__default.ForwardRefExoticComponent<BaseIconProps
7815
7655
 
7816
7656
  declare const EyeCloseIcon: React__default.ForwardRefExoticComponent<BaseIconProps & React__default.RefAttributes<SVGSVGElement>>;
7817
7657
 
7658
+ declare const RefreshIcon: React__default.ForwardRefExoticComponent<BaseIconProps & React__default.RefAttributes<SVGSVGElement>>;
7659
+
7818
7660
  type TokenIconProps = {
7819
7661
  size?: SizeType;
7820
7662
  name?: string;
@@ -7824,7 +7666,7 @@ type TokenIconProps = {
7824
7666
  declare const TokenIcon: FC<TokenIconProps>;
7825
7667
 
7826
7668
  type ChainIconProps = {
7827
- size?: "sm" | "md" | "lg";
7669
+ size?: "2xs" | "sm" | "md" | "lg";
7828
7670
  chainId: string | number;
7829
7671
  className?: string;
7830
7672
  };
@@ -7832,6 +7674,9 @@ declare const ChainIcon: FC<ChainIconProps>;
7832
7674
 
7833
7675
  declare const avatarVariants: tailwind_variants.TVReturnType<{
7834
7676
  size: {
7677
+ '2xs': {
7678
+ root: string;
7679
+ };
7835
7680
  xs: {
7836
7681
  root: string;
7837
7682
  };
@@ -7862,6 +7707,9 @@ declare const avatarVariants: tailwind_variants.TVReturnType<{
7862
7707
  };
7863
7708
  }, {
7864
7709
  size: {
7710
+ '2xs': {
7711
+ root: string;
7712
+ };
7865
7713
  xs: {
7866
7714
  root: string;
7867
7715
  };
@@ -7884,6 +7732,9 @@ declare const avatarVariants: tailwind_variants.TVReturnType<{
7884
7732
  fallback: string;
7885
7733
  }, tailwind_variants.TVReturnType<{
7886
7734
  size: {
7735
+ '2xs': {
7736
+ root: string;
7737
+ };
7887
7738
  xs: {
7888
7739
  root: string;
7889
7740
  };
@@ -7906,6 +7757,9 @@ declare const avatarVariants: tailwind_variants.TVReturnType<{
7906
7757
  fallback: string;
7907
7758
  }, undefined, tailwind_variants_dist_config.TVConfig<{
7908
7759
  size: {
7760
+ '2xs': {
7761
+ root: string;
7762
+ };
7909
7763
  xs: {
7910
7764
  root: string;
7911
7765
  };
@@ -7924,6 +7778,9 @@ declare const avatarVariants: tailwind_variants.TVReturnType<{
7924
7778
  };
7925
7779
  }, {
7926
7780
  size: {
7781
+ '2xs': {
7782
+ root: string;
7783
+ };
7927
7784
  xs: {
7928
7785
  root: string;
7929
7786
  };
@@ -7943,6 +7800,9 @@ declare const avatarVariants: tailwind_variants.TVReturnType<{
7943
7800
  }>, unknown, unknown, undefined>>;
7944
7801
  declare const AvatarBase: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & VariantProps<tailwind_variants.TVReturnType<{
7945
7802
  size: {
7803
+ '2xs': {
7804
+ root: string;
7805
+ };
7946
7806
  xs: {
7947
7807
  root: string;
7948
7808
  };
@@ -7973,6 +7833,9 @@ declare const AvatarBase: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive
7973
7833
  };
7974
7834
  }, {
7975
7835
  size: {
7836
+ '2xs': {
7837
+ root: string;
7838
+ };
7976
7839
  xs: {
7977
7840
  root: string;
7978
7841
  };
@@ -7995,6 +7858,9 @@ declare const AvatarBase: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive
7995
7858
  fallback: string;
7996
7859
  }, tailwind_variants.TVReturnType<{
7997
7860
  size: {
7861
+ '2xs': {
7862
+ root: string;
7863
+ };
7998
7864
  xs: {
7999
7865
  root: string;
8000
7866
  };
@@ -8017,6 +7883,9 @@ declare const AvatarBase: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive
8017
7883
  fallback: string;
8018
7884
  }, undefined, tailwind_variants_dist_config.TVConfig<{
8019
7885
  size: {
7886
+ '2xs': {
7887
+ root: string;
7888
+ };
8020
7889
  xs: {
8021
7890
  root: string;
8022
7891
  };
@@ -8035,6 +7904,9 @@ declare const AvatarBase: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive
8035
7904
  };
8036
7905
  }, {
8037
7906
  size: {
7907
+ '2xs': {
7908
+ root: string;
7909
+ };
8038
7910
  xs: {
8039
7911
  root: string;
8040
7912
  };
@@ -8062,6 +7934,9 @@ type AvatarProps = React$1.ComponentProps<typeof AvatarBase> & VariantProps<type
8062
7934
  declare const Avatar: React$1.ForwardRefExoticComponent<Omit<AvatarProps, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
8063
7935
  declare const EVMAvatar: React$1.ForwardRefExoticComponent<Omit<Omit<AvatarPrimitive.AvatarProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & VariantProps<tailwind_variants.TVReturnType<{
8064
7936
  size: {
7937
+ '2xs': {
7938
+ root: string;
7939
+ };
8065
7940
  xs: {
8066
7941
  root: string;
8067
7942
  };
@@ -8092,6 +7967,9 @@ declare const EVMAvatar: React$1.ForwardRefExoticComponent<Omit<Omit<AvatarPrimi
8092
7967
  };
8093
7968
  }, {
8094
7969
  size: {
7970
+ '2xs': {
7971
+ root: string;
7972
+ };
8095
7973
  xs: {
8096
7974
  root: string;
8097
7975
  };
@@ -8114,6 +7992,9 @@ declare const EVMAvatar: React$1.ForwardRefExoticComponent<Omit<Omit<AvatarPrimi
8114
7992
  fallback: string;
8115
7993
  }, tailwind_variants.TVReturnType<{
8116
7994
  size: {
7995
+ '2xs': {
7996
+ root: string;
7997
+ };
8117
7998
  xs: {
8118
7999
  root: string;
8119
8000
  };
@@ -8136,6 +8017,9 @@ declare const EVMAvatar: React$1.ForwardRefExoticComponent<Omit<Omit<AvatarPrimi
8136
8017
  fallback: string;
8137
8018
  }, undefined, tailwind_variants_dist_config.TVConfig<{
8138
8019
  size: {
8020
+ '2xs': {
8021
+ root: string;
8022
+ };
8139
8023
  xs: {
8140
8024
  root: string;
8141
8025
  };
@@ -8154,6 +8038,9 @@ declare const EVMAvatar: React$1.ForwardRefExoticComponent<Omit<Omit<AvatarPrimi
8154
8038
  };
8155
8039
  }, {
8156
8040
  size: {
8041
+ '2xs': {
8042
+ root: string;
8043
+ };
8157
8044
  xs: {
8158
8045
  root: string;
8159
8046
  };
@@ -8214,71 +8101,16 @@ type IconType = typeof BaseIcon & {
8214
8101
  };
8215
8102
  declare const Icon: IconType;
8216
8103
 
8217
- interface DialogProps {
8218
- title: string;
8219
- content: ReactNode;
8220
- }
8221
-
8222
- interface ConfirmProps {
8223
- title?: string;
8224
- content?: React.ReactNode;
8225
- footer?: React.ReactNode;
8226
- onOk?: () => Promise<any>;
8227
- onCancel?: () => Promise<any>;
8228
- contentClassName?: string;
8229
- size?: "sm" | "md" | "lg";
8230
- bodyClassName?: string;
8231
- }
8232
- declare const ConfirmDialog: React$1.FC<ConfirmProps & ModalHocProps>;
8233
-
8234
- declare function register<Props = {}>(id: string, comp: ElementType<Props>, props?: Partial<ModalArgs<Props>>): void;
8235
-
8236
- declare const ModalContext: React__default.Context<ModalStore>;
8237
- declare const ModalIdContext: React__default.Context<string | null>;
8238
- declare const ModalProvider: FC<PropsWithChildren<{
8239
- dialogBuilder?: (children: ReactNode) => ReactElement;
8240
- }>>;
8241
-
8242
- declare function useModal(): ModalHandler;
8243
- declare function useModal(modal: string, args?: Record<string, unknown>): ModalHandler;
8244
- declare function useModal<T extends React.FC<any>, ComponentProps extends ModalArgs<T>, PreparedProps extends Partial<ComponentProps> = {} | ComponentProps, RemainingProps = Omit<ComponentProps, keyof PreparedProps> & Partial<ComponentProps>, ResolveType = unknown>(modal: T, args?: PreparedProps): Omit<ModalHandler, "show"> & {
8245
- show: Partial<RemainingProps> extends RemainingProps ? (args?: RemainingProps) => Promise<ResolveType> : (args: RemainingProps) => Promise<ResolveType>;
8246
- };
8247
-
8248
- declare const modal: {
8249
- confirm: (props: ConfirmProps) => Promise<unknown>;
8250
- alert: (props: AlertDialogProps) => Promise<unknown>;
8251
- sheet: (props: SheetProps) => Promise<unknown>;
8252
- dialog: (props: DialogProps) => Promise<unknown>;
8253
- show: {
8254
- <T extends unknown, C extends unknown>(modal: React$1.ElementType<C>, args?: ModalArgs<React$1.ElementType<C>> | undefined): Promise<T>;
8255
- <T_1 extends unknown>(modal: string, args?: Record<string, unknown> | undefined): Promise<T_1>;
8256
- <T_2 extends unknown, P extends unknown>(modal: string, args?: P | undefined): Promise<T_2>;
8257
- };
8258
- hide: <T_3>(modal: string | React$1.FC<any>) => Promise<T_3>;
8259
- remove: (id: string) => void;
8260
- setStates: (id: string, states: Record<string, unknown>) => void;
8261
- create: <P_1 extends {}>(Comp: React$1.ComponentType<P_1>) => React$1.FC<P_1 & ModalHocProps>;
8262
- register: typeof register;
8263
- unregister: (id: string) => void;
8264
- };
8265
-
8266
8104
  type ExtensionPosition = ExtensionPositionEnum | string;
8267
8105
  declare enum ExtensionPositionEnum {
8268
8106
  DepositForm = "depositForm",
8269
8107
  WithdrawForm = "withdrawForm",
8270
- ListEmpty = "listEmpty",
8271
- MainNav = "mainNav",
8272
- SideNav = "sideNav",
8273
8108
  /**
8274
8109
  * Wallet button
8275
8110
  */
8276
- WalletButton = "walletButton",
8277
- Logo = "logo",
8278
- Toast = "toast",
8279
- PortfolioLayout = "portfolioLayout",
8280
- TradingRewardsLayout = "tradingRewardsLayout",
8281
- AffiliateLayoutLayout = "affiliateLayoutLayout"
8111
+ AccountMenu = "accountMenu",
8112
+ MainMenus = "mainMenus",
8113
+ EmptyDataIdentifier = "emptyDataIdentifier"
8282
8114
  }
8283
8115
 
8284
8116
  /**
@@ -8324,11 +8156,16 @@ interface Props$2 {
8324
8156
  }
8325
8157
  declare const ExtensionSlot: FC<Props$2>;
8326
8158
 
8159
+ type ComponentOverrides = {
8160
+ tabs: {
8161
+ variant: "text" | "contained";
8162
+ };
8163
+ };
8327
8164
  type OrderlyThemeProviderProps = {
8328
- dateFormatting?: string;
8329
8165
  components?: {
8330
8166
  [position in ExtensionPosition]: ComponentType;
8331
8167
  };
8168
+ overrides?: Partial<ComponentOverrides>;
8332
8169
  };
8333
8170
  declare const OrderlyThemeProvider: FC<PropsWithChildren<OrderlyThemeProviderProps>>;
8334
8171
 
@@ -8372,11 +8209,6 @@ declare const chartPlugin: () => {
8372
8209
  config?: Partial<tailwindcss_types_config.Config> | undefined;
8373
8210
  };
8374
8211
 
8375
- declare const colorPlugin: () => {
8376
- handler: tailwindcss_types_config.PluginCreator;
8377
- config?: Partial<tailwindcss_types_config.Config> | undefined;
8378
- };
8379
-
8380
8212
  declare const componentsPlugin: () => {
8381
8213
  handler: tailwindcss_types_config.PluginCreator;
8382
8214
  config?: Partial<tailwindcss_types_config.Config> | undefined;
@@ -8409,7 +8241,6 @@ declare const themePlugin: () => {
8409
8241
 
8410
8242
  declare const index_basePlugin: typeof basePlugin;
8411
8243
  declare const index_chartPlugin: typeof chartPlugin;
8412
- declare const index_colorPlugin: typeof colorPlugin;
8413
8244
  declare const index_componentsPlugin: typeof componentsPlugin;
8414
8245
  declare const index_gradientPlugin: typeof gradientPlugin;
8415
8246
  declare const index_positionPlugin: typeof positionPlugin;
@@ -8417,7 +8248,12 @@ declare const index_scrollBarPlugin: typeof scrollBarPlugin;
8417
8248
  declare const index_sizePlugin: typeof sizePlugin;
8418
8249
  declare const index_themePlugin: typeof themePlugin;
8419
8250
  declare namespace index {
8420
- export { index_basePlugin as basePlugin, index_chartPlugin as chartPlugin, index_colorPlugin as colorPlugin, index_componentsPlugin as componentsPlugin, index_gradientPlugin as gradientPlugin, index_positionPlugin as positionPlugin, index_scrollBarPlugin as scrollBarPlugin, index_sizePlugin as sizePlugin, index_themePlugin as themePlugin };
8251
+ export { index_basePlugin as basePlugin, index_chartPlugin as chartPlugin, index_componentsPlugin as componentsPlugin, index_gradientPlugin as gradientPlugin, index_positionPlugin as positionPlugin, index_scrollBarPlugin as scrollBarPlugin, index_sizePlugin as sizePlugin, index_themePlugin as themePlugin };
8421
8252
  }
8422
8253
 
8423
- export { ActionSheet, type ActionSheetItem, AlertDialog, type AlertDialogProps, ArrowDownShortIcon, ArrowDownSquareFillIcon, ArrowDownUpIcon, ArrowLeftRightIcon, ArrowLeftShortIcon, ArrowRightShortIcon, ArrowUpShortIcon, ArrowUpSquareFillIcon, Avatar, Badge, type BaseActionSheetItem, type BaseIconProps, Box, type BoxProps, Button, type ButtonProps, Calendar, CalendarIcon, Card, CardBase, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDownIcon, CaretLeftIcon, CaretRightIcon, CaretUpIcon, ChainIcon, type ChainSelectProps, CheckIcon, CheckSquareEmptyIcon, Checkbox, CheckedCircleFillIcon, CheckedSquareFillIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleOutlinedIcon, CloseCircleFillIcon, CloseIcon, CloseSquareFillIcon, type Column, ConfirmDialog, CopyIcon, type DataFilterItems, DataGrid, DataGridFilterBar, DataTable, type DataTableProps, DatePicker, type DatePickerProps, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Divider, type DividerProps, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuTrigger, EVMAvatar, EditIcon, Either, EmptyDataState, ExclamationFillIcon, type ExtensionPosition, ExtensionPositionEnum, ExtensionSlot, EyeCloseIcon, EyeIcon, FeeTierIcon, Filter, Flex, type FlexProps, Grid, Icon, type IconType, Input, InputAdditional, type InputFormatter, type InputFormatterOptions, type InputProps, ListView, Logo, type LogoProps, Match, type MenuItem, ModalContext, type ModalHocProps, ModalIdContext, ModalProvider, type NumeralProps, index as OUITailwind, OrderlyThemeProvider, Pagination, PaginationItems, Picker, PlusIcon, Popover, PopoverAnchor, PopoverContent, PopoverRoot, PopoverTrigger, QuestionFillIcon, ScrollArea, ScrollBar, Select, SelectItem, type SelectProps, ServerFillIcon, SettingFillIcon, SettingIcon, ShareIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SimpleDialog, type SimpleDialogProps, SimpleDropdownMenu, type SizeType, Slider, type SliderMarks, type SortOrder, SortingAscIcon, SortingDescIcon, SortingIcon, Spinner, type SpinnerProps, SquareOutlinedIcon, Statistic, StatisticLabel, Switch, TabPanel, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsBase, TabsContent, TabsList, TabsTrigger, Text, TextField, type TextFieldProps, type TextProps, type TextType, ToastTile, Toaster, TokenIcon, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipRoot, TooltipTrigger, TriggerDialog, type TriggerDialogProps, WalletIcon, boxVariants, capitalizeFirstLetter, gradientTextVariants, index$1 as inputFormatter, installExtension, modal, parseNumber, registerSimpleDialog, registerSimpleSheet, scrollAreaVariants, setExtensionBuilder, statisticVariants, textVariants, tv, useModal, usePagination };
8254
+ declare function useScreen(): {
8255
+ isMobile: boolean;
8256
+ isDesktop: boolean;
8257
+ };
8258
+
8259
+ export { ActionSheet, type ActionSheetItem, AlertDialog, type AlertDialogProps, ArrowDownShortIcon, ArrowDownSquareFillIcon, ArrowDownUpIcon, ArrowLeftRightIcon, ArrowLeftShortIcon, ArrowRightShortIcon, ArrowUpShortIcon, ArrowUpSquareFillIcon, Avatar, Badge, type BaseActionSheetItem, type BaseIconProps, Box, type BoxProps, Button, type ButtonProps, Calendar, CalendarIcon, Card, CardBase, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDownIcon, CaretLeftIcon, CaretRightIcon, CaretUpIcon, ChainIcon, type ChainSelectProps, CheckIcon, CheckSquareEmptyIcon, Checkbox, CheckedCircleFillIcon, CheckedSquareFillIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleOutlinedIcon, CloseCircleFillIcon, CloseIcon, CloseSquareFillIcon, Collapse, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, ConfirmDialog, type ConfirmProps, CopyIcon, DataFilter, type DataFilterItems$1 as DataFilterItems, DataGrid, DataGridFilterBar, DataTable, type DataTableProps, DatePicker, type DatePickerProps, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Divider, type DividerProps, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuTrigger, EVMAvatar, EditIcon, Either, EmptyDataState, ExclamationFillIcon, type ExtensionPosition, ExtensionPositionEnum, ExtensionSlot, EyeCloseIcon, EyeIcon, FeeTierIcon, Filter, Flex, type FlexProps, Grid, HoverCard, HoverCardContent, type HoverCardProps, HoverCardRoot, HoverCardTrigger, Icon, type IconType, Input, InputAdditional, type InputFormatter, type InputFormatterOptions, type InputProps, ListView, Logo, type LogoProps, Match, type MenuItem, ModalContext, type ModalHocProps, ModalIdContext, ModalProvider, type NumeralProps, index as OUITailwind, OrderlyThemeProvider, Pagination, PaginationItems, type PaginationMeta, Picker, PlusIcon, Popover, PopoverAnchor, PopoverContent, PopoverRoot, PopoverTrigger, QuestionFillIcon, RefreshIcon, ScrollArea, ScrollBar, Select, SelectItem, type SelectProps, ServerFillIcon, SettingFillIcon, SettingIcon, ShareIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SimpleDialog, type SimpleDialogProps, SimpleDropdownMenu, SimpleSheet, type SizeType, Slider, type SliderMarks, type SortOrder$1 as SortOrder, SortingAscIcon, SortingDescIcon, SortingIcon, Spinner, type SpinnerProps, SquareOutlinedIcon, Statistic, StatisticLabel, Switch, TabPanel, Table, TableBody, TableCaption, TableCell, type TableColumn, TableFooter, TableHead, TableHeader, TableRow, TableView, type TableViewClassNames, type TableViewProps, Tabs, TabsBase, TabsContent, TabsList, TabsTrigger, Text, TextField, type TextFieldProps, type TextProps, type TextType, ThrottledButton, ToastTile, Toaster, TokenIcon, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipProvider, TooltipRoot, TooltipTrigger, TriggerDialog, type TriggerDialogProps, WalletIcon, boxVariants, buttonVariants, capitalizeFirstLetter, convertValueToPercentage, formatAddress, gradientTextVariants, index$1 as inputFormatter, installExtension, modal, parseNumber, registerSimpleDialog, registerSimpleSheet, scrollAreaVariants, setExtensionBuilder, statisticVariants, textVariants, tv, useModal, usePagination, useScreen };