@kodiak-finance/orderly-ui 2.8.18 → 2.8.19-rc.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.mts CHANGED
@@ -2385,6 +2385,179 @@ type TextPProps = {
2385
2385
  type TextProps = BasicTextProps & (TextSpanProps | TextDivProps | TextLabelProps | TextPProps);
2386
2386
  declare const Text$1: React__default.ForwardRefExoticComponent<TextProps & React__default.RefAttributes<HTMLSpanElement>>;
2387
2387
 
2388
+ type TextRule = "date" | "address" | "symbol" | "status" | "txId";
2389
+ type DateText = {
2390
+ rule: "date";
2391
+ /**
2392
+ * use date-fns to format the date, default is "YYYY-MM-DD HH:mm:ss", more info:
2393
+ * @see https://date-fns.org/v3.6.0/docs/format
2394
+ */
2395
+ formatString?: string;
2396
+ };
2397
+ type AddressText = {
2398
+ rule: "address";
2399
+ /**
2400
+ * range of the address to show
2401
+ * the first number is the length of the start of the address, and the second number is the length of the end of the address
2402
+ * @default [6, 4]
2403
+ */
2404
+ range?: [number, number];
2405
+ };
2406
+ type BaseText = {
2407
+ rule: Omit<TextRule, "address" | "date">;
2408
+ /**
2409
+ * capitalize the first letter of the string
2410
+ */
2411
+ capitalize?: boolean;
2412
+ };
2413
+ type TxIDText = {
2414
+ rule: "txId";
2415
+ range?: [number, number];
2416
+ };
2417
+ type SymbolText = {
2418
+ rule: "symbol";
2419
+ /**
2420
+ * symbol format string, like "type-base-quote",
2421
+ * @default base-quote
2422
+ */
2423
+ formatString?: string;
2424
+ showIcon?: boolean;
2425
+ iconSize?: SizeType;
2426
+ };
2427
+ type FormattedTextProps = TextProps & CopyableTextProps & {
2428
+ loading?: boolean;
2429
+ suffix?: React__default.ReactNode;
2430
+ prefix?: React__default.ReactNode;
2431
+ showIcon?: boolean;
2432
+ } & (BaseText | DateText | AddressText | SymbolText | TxIDText | {
2433
+ rule?: string;
2434
+ });
2435
+ declare const FormattedText: React__default.ForwardRefExoticComponent<FormattedTextProps & React__default.RefAttributes<HTMLSpanElement>>;
2436
+
2437
+ declare const gradientTextVariants: tailwind_variants.TVReturnType<{
2438
+ color: {
2439
+ primary: string;
2440
+ brand: string;
2441
+ success: string;
2442
+ warning: string;
2443
+ danger: string;
2444
+ neutral: string;
2445
+ inherit: string;
2446
+ };
2447
+ }, undefined, "oui-text-transparent oui-bg-clip-text", {
2448
+ responsiveVariants?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | {
2449
+ color?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
2450
+ } | undefined;
2451
+ } & tailwind_variants_dist_config.TWMConfig & {
2452
+ twMergeConfig: {
2453
+ prefix: string;
2454
+ };
2455
+ }, {
2456
+ color: {
2457
+ primary: string;
2458
+ brand: string;
2459
+ success: string;
2460
+ warning: string;
2461
+ danger: string;
2462
+ neutral: string;
2463
+ inherit: string;
2464
+ };
2465
+ }, undefined, tailwind_variants.TVReturnType<{
2466
+ color: {
2467
+ primary: string;
2468
+ brand: string;
2469
+ success: string;
2470
+ warning: string;
2471
+ danger: string;
2472
+ neutral: string;
2473
+ inherit: string;
2474
+ };
2475
+ }, undefined, "oui-text-transparent oui-bg-clip-text", tailwind_variants_dist_config.TVConfig<{
2476
+ color: {
2477
+ primary: string;
2478
+ brand: string;
2479
+ success: string;
2480
+ warning: string;
2481
+ danger: string;
2482
+ neutral: string;
2483
+ inherit: string;
2484
+ };
2485
+ }, {
2486
+ color: {
2487
+ primary: string;
2488
+ brand: string;
2489
+ success: string;
2490
+ warning: string;
2491
+ danger: string;
2492
+ neutral: string;
2493
+ inherit: string;
2494
+ };
2495
+ }>, unknown, unknown, undefined>>;
2496
+ declare const GradientText: React__default.ForwardRefExoticComponent<Omit<TextProps, "color"> & VariantProps<tailwind_variants.TVReturnType<{
2497
+ color: {
2498
+ primary: string;
2499
+ brand: string;
2500
+ success: string;
2501
+ warning: string;
2502
+ danger: string;
2503
+ neutral: string;
2504
+ inherit: string;
2505
+ };
2506
+ }, undefined, "oui-text-transparent oui-bg-clip-text", {
2507
+ responsiveVariants?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | {
2508
+ color?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
2509
+ } | undefined;
2510
+ } & tailwind_variants_dist_config.TWMConfig & {
2511
+ twMergeConfig: {
2512
+ prefix: string;
2513
+ };
2514
+ }, {
2515
+ color: {
2516
+ primary: string;
2517
+ brand: string;
2518
+ success: string;
2519
+ warning: string;
2520
+ danger: string;
2521
+ neutral: string;
2522
+ inherit: string;
2523
+ };
2524
+ }, undefined, tailwind_variants.TVReturnType<{
2525
+ color: {
2526
+ primary: string;
2527
+ brand: string;
2528
+ success: string;
2529
+ warning: string;
2530
+ danger: string;
2531
+ neutral: string;
2532
+ inherit: string;
2533
+ };
2534
+ }, undefined, "oui-text-transparent oui-bg-clip-text", tailwind_variants_dist_config.TVConfig<{
2535
+ color: {
2536
+ primary: string;
2537
+ brand: string;
2538
+ success: string;
2539
+ warning: string;
2540
+ danger: string;
2541
+ neutral: string;
2542
+ inherit: string;
2543
+ };
2544
+ }, {
2545
+ color: {
2546
+ primary: string;
2547
+ brand: string;
2548
+ success: string;
2549
+ warning: string;
2550
+ danger: string;
2551
+ neutral: string;
2552
+ inherit: string;
2553
+ };
2554
+ }>, unknown, unknown, undefined>>> & {
2555
+ /**
2556
+ * Angle of the gradient
2557
+ */
2558
+ angle?: number;
2559
+ } & React__default.RefAttributes<HTMLSpanElement>>;
2560
+
2388
2561
  type RoundingMode = number | "truncate";
2389
2562
  declare const parseNumber: (value: number | string, options?: {
2390
2563
  rule?: "percentages" | "price" | "human";
@@ -2464,6 +2637,16 @@ type NumeralProps = TextProps & {
2464
2637
  };
2465
2638
  declare const Numeral: FC<NumeralProps>;
2466
2639
 
2640
+ type NumTypeProps = Omit<NumeralProps, "ignoreDP" | "rm" | "tick"> & {
2641
+ numType: "roi" | "pnl" | "notional" | "assetValue" | "collateral";
2642
+ };
2643
+ type NumTypeComponentProps = Omit<NumTypeProps, "numType">;
2644
+ declare const NumTypeRoi: React.FC<NumTypeComponentProps>;
2645
+ declare const NumTypePnl: React.FC<NumTypeComponentProps>;
2646
+ declare const NumTypeNotional: React.FC<NumTypeComponentProps>;
2647
+ declare const NumTypeAssetValue: React.FC<NumTypeComponentProps>;
2648
+ declare const NumTypeCollateral: React.FC<NumTypeComponentProps>;
2649
+
2467
2650
  declare const statisticVariants: tailwind_variants.TVReturnType<{
2468
2651
  align: {
2469
2652
  start: {
@@ -2619,237 +2802,69 @@ declare const Statistic: React__default.ForwardRefExoticComponent<VariantProps<t
2619
2802
  };
2620
2803
  }, {
2621
2804
  align: {
2622
- start: {
2623
- root: string;
2624
- };
2625
- end: {
2626
- root: string;
2627
- };
2628
- };
2629
- }, {
2630
- root: string;
2631
- label: string;
2632
- value: string;
2633
- }, tailwind_variants.TVReturnType<{
2634
- align: {
2635
- start: {
2636
- root: string;
2637
- };
2638
- end: {
2639
- root: string;
2640
- };
2641
- };
2642
- }, {
2643
- root: string;
2644
- label: string;
2645
- value: string;
2646
- }, undefined, tailwind_variants_dist_config.TVConfig<{
2647
- align: {
2648
- start: {
2649
- root: string;
2650
- };
2651
- end: {
2652
- root: string;
2653
- };
2654
- };
2655
- }, {
2656
- align: {
2657
- start: {
2658
- root: string;
2659
- };
2660
- end: {
2661
- root: string;
2662
- };
2663
- };
2664
- }>, unknown, unknown, undefined>>> & React__default.HTMLAttributes<HTMLDivElement> & {
2665
- label: string | ReactNode;
2666
- valueProps?: Omit<NumeralProps, "children">;
2667
- classNames?: {
2668
- root?: string;
2669
- label?: string;
2670
- value?: string;
2671
- };
2672
- } & {
2673
- children?: ReactNode | undefined;
2674
- } & React__default.RefAttributes<HTMLDivElement>>;
2675
-
2676
- type TextRule = "date" | "address" | "symbol" | "status" | "txId";
2677
- type DateText = {
2678
- rule: "date";
2679
- /**
2680
- * use date-fns to format the date, default is "YYYY-MM-DD HH:mm:ss", more info:
2681
- * @see https://date-fns.org/v3.6.0/docs/format
2682
- */
2683
- formatString?: string;
2684
- };
2685
- type AddressText = {
2686
- rule: "address";
2687
- /**
2688
- * range of the address to show
2689
- * the first number is the length of the start of the address, and the second number is the length of the end of the address
2690
- * @default [6, 4]
2691
- */
2692
- range?: [number, number];
2693
- };
2694
- type BaseText = {
2695
- rule: Omit<TextRule, "address" | "date">;
2696
- /**
2697
- * capitalize the first letter of the string
2698
- */
2699
- capitalize?: boolean;
2700
- };
2701
- type TxIDText = {
2702
- rule: "txId";
2703
- range?: [number, number];
2704
- };
2705
- type SymbolText = {
2706
- rule: "symbol";
2707
- /**
2708
- * symbol format string, like "type-base-quote",
2709
- * @default base-quote
2710
- */
2711
- formatString?: string;
2712
- showIcon?: boolean;
2713
- iconSize?: SizeType;
2714
- };
2715
- type FormattedTextProps = TextProps & CopyableTextProps & {
2716
- loading?: boolean;
2717
- suffix?: React__default.ReactNode;
2718
- prefix?: React__default.ReactNode;
2719
- showIcon?: boolean;
2720
- } & (BaseText | DateText | AddressText | SymbolText | TxIDText | {
2721
- rule?: string;
2722
- });
2723
- declare const FormattedText: React__default.ForwardRefExoticComponent<FormattedTextProps & React__default.RefAttributes<HTMLSpanElement>>;
2724
-
2725
- declare const gradientTextVariants: tailwind_variants.TVReturnType<{
2726
- color: {
2727
- primary: string;
2728
- brand: string;
2729
- success: string;
2730
- warning: string;
2731
- danger: string;
2732
- neutral: string;
2733
- inherit: string;
2734
- };
2735
- }, undefined, "oui-text-transparent oui-bg-clip-text", {
2736
- responsiveVariants?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | {
2737
- color?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
2738
- } | undefined;
2739
- } & tailwind_variants_dist_config.TWMConfig & {
2740
- twMergeConfig: {
2741
- prefix: string;
2742
- };
2743
- }, {
2744
- color: {
2745
- primary: string;
2746
- brand: string;
2747
- success: string;
2748
- warning: string;
2749
- danger: string;
2750
- neutral: string;
2751
- inherit: string;
2752
- };
2753
- }, undefined, tailwind_variants.TVReturnType<{
2754
- color: {
2755
- primary: string;
2756
- brand: string;
2757
- success: string;
2758
- warning: string;
2759
- danger: string;
2760
- neutral: string;
2761
- inherit: string;
2762
- };
2763
- }, undefined, "oui-text-transparent oui-bg-clip-text", tailwind_variants_dist_config.TVConfig<{
2764
- color: {
2765
- primary: string;
2766
- brand: string;
2767
- success: string;
2768
- warning: string;
2769
- danger: string;
2770
- neutral: string;
2771
- inherit: string;
2772
- };
2773
- }, {
2774
- color: {
2775
- primary: string;
2776
- brand: string;
2777
- success: string;
2778
- warning: string;
2779
- danger: string;
2780
- neutral: string;
2781
- inherit: string;
2782
- };
2783
- }>, unknown, unknown, undefined>>;
2784
- declare const GradientText: React__default.ForwardRefExoticComponent<Omit<TextProps, "color"> & VariantProps<tailwind_variants.TVReturnType<{
2785
- color: {
2786
- primary: string;
2787
- brand: string;
2788
- success: string;
2789
- warning: string;
2790
- danger: string;
2791
- neutral: string;
2792
- inherit: string;
2793
- };
2794
- }, undefined, "oui-text-transparent oui-bg-clip-text", {
2795
- responsiveVariants?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | {
2796
- color?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
2797
- } | undefined;
2798
- } & tailwind_variants_dist_config.TWMConfig & {
2799
- twMergeConfig: {
2800
- prefix: string;
2801
- };
2802
- }, {
2803
- color: {
2804
- primary: string;
2805
- brand: string;
2806
- success: string;
2807
- warning: string;
2808
- danger: string;
2809
- neutral: string;
2810
- inherit: string;
2805
+ start: {
2806
+ root: string;
2807
+ };
2808
+ end: {
2809
+ root: string;
2810
+ };
2811
2811
  };
2812
- }, undefined, tailwind_variants.TVReturnType<{
2813
- color: {
2814
- primary: string;
2815
- brand: string;
2816
- success: string;
2817
- warning: string;
2818
- danger: string;
2819
- neutral: string;
2820
- inherit: string;
2812
+ }, {
2813
+ root: string;
2814
+ label: string;
2815
+ value: string;
2816
+ }, tailwind_variants.TVReturnType<{
2817
+ align: {
2818
+ start: {
2819
+ root: string;
2820
+ };
2821
+ end: {
2822
+ root: string;
2823
+ };
2821
2824
  };
2822
- }, undefined, "oui-text-transparent oui-bg-clip-text", tailwind_variants_dist_config.TVConfig<{
2823
- color: {
2824
- primary: string;
2825
- brand: string;
2826
- success: string;
2827
- warning: string;
2828
- danger: string;
2829
- neutral: string;
2830
- inherit: string;
2825
+ }, {
2826
+ root: string;
2827
+ label: string;
2828
+ value: string;
2829
+ }, undefined, tailwind_variants_dist_config.TVConfig<{
2830
+ align: {
2831
+ start: {
2832
+ root: string;
2833
+ };
2834
+ end: {
2835
+ root: string;
2836
+ };
2831
2837
  };
2832
2838
  }, {
2833
- color: {
2834
- primary: string;
2835
- brand: string;
2836
- success: string;
2837
- warning: string;
2838
- danger: string;
2839
- neutral: string;
2840
- inherit: string;
2839
+ align: {
2840
+ start: {
2841
+ root: string;
2842
+ };
2843
+ end: {
2844
+ root: string;
2845
+ };
2841
2846
  };
2842
- }>, unknown, unknown, undefined>>> & {
2843
- /**
2844
- * Angle of the gradient
2845
- */
2846
- angle?: number;
2847
- } & React__default.RefAttributes<HTMLSpanElement>>;
2847
+ }>, unknown, unknown, undefined>>> & React__default.HTMLAttributes<HTMLDivElement> & {
2848
+ label: string | ReactNode;
2849
+ valueProps?: Omit<NumeralProps, "children">;
2850
+ classNames?: {
2851
+ root?: string;
2852
+ label?: string;
2853
+ value?: string;
2854
+ };
2855
+ } & {
2856
+ children?: ReactNode | undefined;
2857
+ } & React__default.RefAttributes<HTMLDivElement>>;
2848
2858
 
2849
2859
  type TextType = typeof Text$1 & {
2850
2860
  formatted: typeof FormattedText;
2851
2861
  numeral: typeof Numeral;
2852
2862
  gradient: typeof GradientText;
2863
+ roi: typeof NumTypeRoi;
2864
+ pnl: typeof NumTypePnl;
2865
+ notional: typeof NumTypeNotional;
2866
+ assetValue: typeof NumTypeAssetValue;
2867
+ collateral: typeof NumTypeCollateral;
2853
2868
  };
2854
2869
  declare const Text: TextType;
2855
2870
 
@@ -2994,7 +3009,7 @@ interface BaseInputProps<T = string> extends Omit<InputHTMLAttributes<HTMLInputE
2994
3009
  fixClassName?: string;
2995
3010
  helpText?: string;
2996
3011
  loading?: boolean;
2997
- inputMode?: "decimal" | "numeric";
3012
+ inputMode?: "decimal" | "numeric" | "amount";
2998
3013
  containerClassName?: string;
2999
3014
  formatters?: InputFormatter[];
3000
3015
  onValueChange?: (value: T) => void;
@@ -3758,7 +3773,6 @@ type Column<RecordType extends unknown = any> = {
3758
3773
  dataIndex: string;
3759
3774
  className?: string | ((record: RecordType, index: number) => string);
3760
3775
  align?: "left" | "center" | "right";
3761
- exportable?: boolean;
3762
3776
  onSort?: boolean | ((r1: RecordType, r2: RecordType, sortOrder?: SortOrder) => number);
3763
3777
  multiSort?: {
3764
3778
  fields: MultiSortField[];
@@ -3789,6 +3803,8 @@ type PaginationMeta = {
3789
3803
  pageTotal?: number;
3790
3804
  onPageChange?: (page: number) => void;
3791
3805
  onPageSizeChange?: (pageSize: number) => void;
3806
+ generatePageNumbers?: (currentPage: number, totalPages: number) => (number | string)[];
3807
+ hideRowsPerPage?: boolean;
3792
3808
  };
3793
3809
  type DataTableClassNames = {
3794
3810
  root?: string;
@@ -6294,6 +6310,8 @@ type PaginationProps = {
6294
6310
  paginationNext?: string;
6295
6311
  paginationEllipsis?: string;
6296
6312
  };
6313
+ hideRowsPerPage?: boolean;
6314
+ generatePageNumbers?: (currentPage: number, totalPages: number) => (number | string)[];
6297
6315
  };
6298
6316
  declare const PaginationItems: (props: Omit<PaginationProps, "onPageSizeChange">) => react_jsx_runtime.JSX.Element | null;
6299
6317
 
@@ -7876,7 +7894,7 @@ declare const ToastTile: (props: {
7876
7894
  };
7877
7895
  }) => react_jsx_runtime.JSX.Element;
7878
7896
 
7879
- interface ListViewProps<T, D extends unknown> {
7897
+ interface ListViewProps<T, D> {
7880
7898
  dataSource: T[] | null | undefined;
7881
7899
  renderItem: (item: T, index: number, extraData?: D) => React__default.ReactNode;
7882
7900
  className?: string;
@@ -8310,6 +8328,7 @@ declare const iconVariants: tailwind_variants.TVReturnType<{
8310
8328
  }>, unknown, unknown, undefined>>;
8311
8329
  interface BaseIconProps extends ComponentPropsWithout<"svg", RemovedProps>, VariantProps<typeof iconVariants> {
8312
8330
  size?: number;
8331
+ viewBox?: string;
8313
8332
  opacity?: number;
8314
8333
  }
8315
8334
  declare const BaseIcon: React__default.ForwardRefExoticComponent<BaseIconProps & React__default.RefAttributes<SVGSVGElement>>;
@@ -8400,8 +8419,20 @@ declare const BarChartIcon: () => react_jsx_runtime.JSX.Element;
8400
8419
 
8401
8420
  declare const BattleIcon: () => react_jsx_runtime.JSX.Element;
8402
8421
 
8422
+ declare const BattleActiveIcon: (props: BaseIconProps) => react_jsx_runtime.JSX.Element;
8423
+
8424
+ declare const BattleInactiveIcon: (props: BaseIconProps) => react_jsx_runtime.JSX.Element;
8425
+
8426
+ declare const BattleSolidActiveIcon: (props: BaseIconProps) => react_jsx_runtime.JSX.Element;
8427
+
8428
+ declare const BattleSolidInactiveIcon: (props: BaseIconProps) => react_jsx_runtime.JSX.Element;
8429
+
8403
8430
  declare const FeeTierIcon: React__default.ForwardRefExoticComponent<BaseIconProps & React__default.RefAttributes<SVGSVGElement>>;
8404
8431
 
8432
+ declare const EarnActiveIcon: (props: BaseIconProps) => react_jsx_runtime.JSX.Element;
8433
+
8434
+ declare const EarnInactiveIcon: (props: BaseIconProps) => react_jsx_runtime.JSX.Element;
8435
+
8405
8436
  declare const EditIcon: React__default.ForwardRefExoticComponent<BaseIconProps & React__default.RefAttributes<SVGSVGElement>>;
8406
8437
 
8407
8438
  declare const EyeIcon: React__default.ForwardRefExoticComponent<BaseIconProps & React__default.RefAttributes<SVGSVGElement>>;
@@ -8464,6 +8495,20 @@ declare const MarketsActiveIcon: (props: BaseIconProps) => react_jsx_runtime.JSX
8464
8495
 
8465
8496
  declare const MarketsInactiveIcon: (props: BaseIconProps) => react_jsx_runtime.JSX.Element;
8466
8497
 
8498
+ declare const StarChildChatActiveIcon: (props: BaseIconProps) => react_jsx_runtime.JSX.Element;
8499
+
8500
+ declare const StarChildChatInactiveIcon: (props: BaseIconProps) => react_jsx_runtime.JSX.Element;
8501
+
8502
+ declare const CloseRoundFillIcon: (props: BaseIconProps) => react_jsx_runtime.JSX.Element;
8503
+
8504
+ declare const SelectedChoicesFillIcon: (props: BaseIconProps) => react_jsx_runtime.JSX.Element;
8505
+
8506
+ declare const PopupUnionIcon: (props: BaseIconProps) => react_jsx_runtime.JSX.Element;
8507
+
8508
+ declare const SpotIcon: (props: BaseIconProps) => react_jsx_runtime.JSX.Element;
8509
+
8510
+ declare const PerpsIcon: (props: BaseIconProps) => react_jsx_runtime.JSX.Element;
8511
+
8467
8512
  declare function EmptyStateIcon(): react_jsx_runtime.JSX.Element;
8468
8513
 
8469
8514
  declare const VectorIcon: React__default.ForwardRefExoticComponent<BaseIconProps & React__default.RefAttributes<SVGSVGElement>>;
@@ -8482,6 +8527,18 @@ declare const VaultsIcon: React__default.ForwardRefExoticComponent<BaseIconProps
8482
8527
 
8483
8528
  declare const LeftNavVaultsIcon: React$1.ForwardRefExoticComponent<BaseIconProps & React$1.RefAttributes<SVGSVGElement>>;
8484
8529
 
8530
+ declare const NewsFillIcon: React__default.ForwardRefExoticComponent<BaseIconProps & React__default.RefAttributes<SVGSVGElement>>;
8531
+
8532
+ declare const BellIcon: React__default.ForwardRefExoticComponent<BaseIconProps & React__default.RefAttributes<SVGSVGElement>>;
8533
+
8534
+ declare const WoofiStakeIcon: (props: BaseIconProps) => react_jsx_runtime.JSX.Element;
8535
+
8536
+ declare const EarnIcon: (props: BaseIconProps) => react_jsx_runtime.JSX.Element;
8537
+
8538
+ declare const ReferralSolidIcon: (props: BaseIconProps) => react_jsx_runtime.JSX.Element;
8539
+
8540
+ declare const AddCircleIcon: React__default.ForwardRefExoticComponent<BaseIconProps & React__default.RefAttributes<SVGSVGElement>>;
8541
+
8485
8542
  type IconType = typeof BaseIcon & {
8486
8543
  combine: typeof CombineIcon;
8487
8544
  };
@@ -8662,6 +8719,19 @@ declare function useObserverElement<T extends HTMLElement>(element: T | null, ca
8662
8719
  */
8663
8720
  declare function useCanLinkDevice(): boolean;
8664
8721
 
8722
+ interface LongPressHandlers {
8723
+ onMouseDown: (e: React.MouseEvent) => void;
8724
+ onMouseUp: () => void;
8725
+ onMouseMove: (e: React.MouseEvent) => void;
8726
+ onMouseLeave: () => void;
8727
+ onContextMenu: (e: React.MouseEvent) => void;
8728
+ onTouchStart: (e: React.TouchEvent) => void;
8729
+ onTouchEnd: () => void;
8730
+ onTouchMove: (e: React.TouchEvent) => void;
8731
+ onTouchCancel: () => void;
8732
+ }
8733
+ declare function useLongPress(callback: () => void, longPressTime?: number): LongPressHandlers;
8734
+
8665
8735
  declare const localeValues: {
8666
8736
  readonly locale: string;
8667
8737
  readonly dialog: {
@@ -8724,4 +8794,316 @@ type ScrollIndicatorProps = {
8724
8794
  };
8725
8795
  declare const ScrollIndicator: FC<ScrollIndicatorProps>;
8726
8796
 
8727
- export { ActionSheet, type ActionSheetItem, AffiliateIcon, AlertDialog, type AlertDialogProps, ArrowDownShortIcon, ArrowDownSquareFillIcon, ArrowDownUpIcon, ArrowLeftRightIcon, ArrowLeftRightSquareFill, ArrowLeftShortIcon, ArrowRightShortIcon, ArrowRightUpSquareFillIcon, ArrowUpShortIcon, ArrowUpSquareFillIcon, AssetIcon, Avatar, Badge, BarChartIcon, type BaseActionSheetItem, type BaseIconProps, BattleIcon, Box, type BoxProps, Button, type ButtonProps, type CSVColumn, type CSVExportOptions, Calendar, CalendarIcon, CalendarMinusIcon, 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, type ColumnFixed, ConfirmDialog, type ConfirmProps, CopyIcon, DataFilter, type DataFilterItem, DataTable, type DataTableClassNames, type DataTableProps, DatePicker, type DatePickerProps, Dialog, type DialogAction, 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, EmptyStateIcon, EsOrderlyIcon, ExclamationFillIcon, type ExtensionPosition, ExtensionPositionEnum, ExtensionSlot, EyeCloseIcon, EyeIcon, FeeTierIcon, Flex, type FlexProps, Grid, HoverCard, HoverCardContent, type HoverCardProps, HoverCardRoot, HoverCardTrigger, Icon, type IconType, InfoCircleIcon, Input, InputAdditional, type InputFormatter, type InputFormatterOptions, type InputProps, type InputWithTooltipProps, LeaderboardActiveIcon, LeaderboardInactiveIcon, LeftNavVaultsIcon, ListView, type Locale, LocaleContext, LocaleProvider, Logo, type LogoProps, MarketsActiveIcon, MarketsInactiveIcon, Marquee, type MarqueeProps, type MenuItem, ModalContext, type ModalHocProps, ModalIdContext, ModalProvider, type MultiFieldSort, type MultiSortField, MultiSortHeader, type MultiSortHeaderProps, type NumeralProps, index as OUITailwind, OrderlyIcon, OrderlyThemeProvider, type OrderlyThemeProviderProps, PaginationItems, type PaginationMeta, PeopleIcon, PersonIcon, Picker, PlusIcon, Popover, PopoverAnchor, PopoverContent, PopoverRoot, PopoverTrigger, PortfolioActiveIcon, PortfolioInactiveIcon, QuestionFillIcon, ReduceIcon, RefreshIcon, ScrollArea, ScrollBar, ScrollIndicator, type ScrollIndicatorProps, Select, SelectItem, type SelectOption, type SelectProps, ServerFillIcon, SettingFillIcon, SettingIcon, ShareIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SimpleDialog, SimpleDialogFooter, type SimpleDialogFooterProps, type SimpleDialogProps, SimpleDropdownMenu, SimpleSheet, type SizeType, Slider, type SliderMarks, type SortOrder, SortingAscIcon, SortingDescIcon, SortingIcon, Spinner, type SpinnerProps, SquareOutlinedIcon, Statistic, StatisticLabel, SwapHorizIcon, Switch, TabPanel, type TabPanelProps, type TableCellContext, type TableCellFormatter, type TableCellPlainTextRenderer, type TableCellRenderer, index$1 as TableFeatures, type TableSort, Tabs, TabsBase, TabsContent, TabsList, TabsTrigger, Text, TextField, type TextFieldProps, type TextProps, type TextType, ThrottledButton, ToastTile, Toaster, TokenIcon, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipProvider, TooltipRoot, TooltipTrigger, TraderMobileIcon, TradingActiveIcon, TradingIcon, TradingInactiveIcon, TradingLeftNavIcon, TradingRewardsIcon, TriggerDialog, type TriggerDialogProps, VaultsIcon, VectorIcon, WalletIcon, boxVariants, buttonVariants, capitalizeFirstLetter, convertValueToPercentage, downloadCSVFile, exportToCSV, formatAddress, generateCSVContent, generateCSVData, gradientTextVariants, index$2 as inputFormatter, installExtension, modal, parseNumber, registerSimpleDialog, registerSimpleSheet, scrollAreaVariants, setExtensionBuilder, startViewTransition, statisticVariants, textVariants, tv, useCanLinkDevice, useLocale, useMediaQuery, useModal, useMultiSort, useObserverElement, useOrderlyTheme, usePagination, useScreen };
8797
+ declare const dotStatusVariants: tailwind_variants.TVReturnType<{
8798
+ color: {
8799
+ primary: {
8800
+ dot: string;
8801
+ label: string;
8802
+ };
8803
+ warning: {
8804
+ dot: string;
8805
+ label: string;
8806
+ };
8807
+ profit: {
8808
+ dot: string;
8809
+ label: string;
8810
+ };
8811
+ loss: {
8812
+ dot: string;
8813
+ label: string;
8814
+ };
8815
+ secondary: {
8816
+ dot: string;
8817
+ label: string;
8818
+ };
8819
+ };
8820
+ size: {
8821
+ xs: {
8822
+ dot: string;
8823
+ label: string;
8824
+ };
8825
+ sm: {
8826
+ dot: string;
8827
+ label: string;
8828
+ };
8829
+ md: {
8830
+ dot: string;
8831
+ label: string;
8832
+ };
8833
+ lg: {
8834
+ dot: string;
8835
+ label: string;
8836
+ };
8837
+ };
8838
+ }, {
8839
+ root: string;
8840
+ dot: string;
8841
+ label: string;
8842
+ }, undefined, tailwind_variants_dist_config.TVConfig<{
8843
+ color: {
8844
+ primary: {
8845
+ dot: string;
8846
+ label: string;
8847
+ };
8848
+ warning: {
8849
+ dot: string;
8850
+ label: string;
8851
+ };
8852
+ profit: {
8853
+ dot: string;
8854
+ label: string;
8855
+ };
8856
+ loss: {
8857
+ dot: string;
8858
+ label: string;
8859
+ };
8860
+ secondary: {
8861
+ dot: string;
8862
+ label: string;
8863
+ };
8864
+ };
8865
+ size: {
8866
+ xs: {
8867
+ dot: string;
8868
+ label: string;
8869
+ };
8870
+ sm: {
8871
+ dot: string;
8872
+ label: string;
8873
+ };
8874
+ md: {
8875
+ dot: string;
8876
+ label: string;
8877
+ };
8878
+ lg: {
8879
+ dot: string;
8880
+ label: string;
8881
+ };
8882
+ };
8883
+ }, {
8884
+ color: {
8885
+ primary: {
8886
+ dot: string;
8887
+ label: string;
8888
+ };
8889
+ warning: {
8890
+ dot: string;
8891
+ label: string;
8892
+ };
8893
+ profit: {
8894
+ dot: string;
8895
+ label: string;
8896
+ };
8897
+ loss: {
8898
+ dot: string;
8899
+ label: string;
8900
+ };
8901
+ secondary: {
8902
+ dot: string;
8903
+ label: string;
8904
+ };
8905
+ };
8906
+ size: {
8907
+ xs: {
8908
+ dot: string;
8909
+ label: string;
8910
+ };
8911
+ sm: {
8912
+ dot: string;
8913
+ label: string;
8914
+ };
8915
+ md: {
8916
+ dot: string;
8917
+ label: string;
8918
+ };
8919
+ lg: {
8920
+ dot: string;
8921
+ label: string;
8922
+ };
8923
+ };
8924
+ }>, {
8925
+ color: {
8926
+ primary: {
8927
+ dot: string;
8928
+ label: string;
8929
+ };
8930
+ warning: {
8931
+ dot: string;
8932
+ label: string;
8933
+ };
8934
+ profit: {
8935
+ dot: string;
8936
+ label: string;
8937
+ };
8938
+ loss: {
8939
+ dot: string;
8940
+ label: string;
8941
+ };
8942
+ secondary: {
8943
+ dot: string;
8944
+ label: string;
8945
+ };
8946
+ };
8947
+ size: {
8948
+ xs: {
8949
+ dot: string;
8950
+ label: string;
8951
+ };
8952
+ sm: {
8953
+ dot: string;
8954
+ label: string;
8955
+ };
8956
+ md: {
8957
+ dot: string;
8958
+ label: string;
8959
+ };
8960
+ lg: {
8961
+ dot: string;
8962
+ label: string;
8963
+ };
8964
+ };
8965
+ }, {
8966
+ root: string;
8967
+ dot: string;
8968
+ label: string;
8969
+ }, tailwind_variants.TVReturnType<{
8970
+ color: {
8971
+ primary: {
8972
+ dot: string;
8973
+ label: string;
8974
+ };
8975
+ warning: {
8976
+ dot: string;
8977
+ label: string;
8978
+ };
8979
+ profit: {
8980
+ dot: string;
8981
+ label: string;
8982
+ };
8983
+ loss: {
8984
+ dot: string;
8985
+ label: string;
8986
+ };
8987
+ secondary: {
8988
+ dot: string;
8989
+ label: string;
8990
+ };
8991
+ };
8992
+ size: {
8993
+ xs: {
8994
+ dot: string;
8995
+ label: string;
8996
+ };
8997
+ sm: {
8998
+ dot: string;
8999
+ label: string;
9000
+ };
9001
+ md: {
9002
+ dot: string;
9003
+ label: string;
9004
+ };
9005
+ lg: {
9006
+ dot: string;
9007
+ label: string;
9008
+ };
9009
+ };
9010
+ }, {
9011
+ root: string;
9012
+ dot: string;
9013
+ label: string;
9014
+ }, undefined, tailwind_variants_dist_config.TVConfig<{
9015
+ color: {
9016
+ primary: {
9017
+ dot: string;
9018
+ label: string;
9019
+ };
9020
+ warning: {
9021
+ dot: string;
9022
+ label: string;
9023
+ };
9024
+ profit: {
9025
+ dot: string;
9026
+ label: string;
9027
+ };
9028
+ loss: {
9029
+ dot: string;
9030
+ label: string;
9031
+ };
9032
+ secondary: {
9033
+ dot: string;
9034
+ label: string;
9035
+ };
9036
+ };
9037
+ size: {
9038
+ xs: {
9039
+ dot: string;
9040
+ label: string;
9041
+ };
9042
+ sm: {
9043
+ dot: string;
9044
+ label: string;
9045
+ };
9046
+ md: {
9047
+ dot: string;
9048
+ label: string;
9049
+ };
9050
+ lg: {
9051
+ dot: string;
9052
+ label: string;
9053
+ };
9054
+ };
9055
+ }, {
9056
+ color: {
9057
+ primary: {
9058
+ dot: string;
9059
+ label: string;
9060
+ };
9061
+ warning: {
9062
+ dot: string;
9063
+ label: string;
9064
+ };
9065
+ profit: {
9066
+ dot: string;
9067
+ label: string;
9068
+ };
9069
+ loss: {
9070
+ dot: string;
9071
+ label: string;
9072
+ };
9073
+ secondary: {
9074
+ dot: string;
9075
+ label: string;
9076
+ };
9077
+ };
9078
+ size: {
9079
+ xs: {
9080
+ dot: string;
9081
+ label: string;
9082
+ };
9083
+ sm: {
9084
+ dot: string;
9085
+ label: string;
9086
+ };
9087
+ md: {
9088
+ dot: string;
9089
+ label: string;
9090
+ };
9091
+ lg: {
9092
+ dot: string;
9093
+ label: string;
9094
+ };
9095
+ };
9096
+ }>, unknown, unknown, undefined>>;
9097
+ declare const DotStatus: {
9098
+ (props: VariantProps<typeof dotStatusVariants> & {
9099
+ label?: string;
9100
+ classNames?: {
9101
+ root?: string;
9102
+ dot?: string;
9103
+ label?: string;
9104
+ };
9105
+ }): react_jsx_runtime.JSX.Element;
9106
+ displayName: string;
9107
+ };
9108
+
9109
+ export { ActionSheet, type ActionSheetItem, AddCircleIcon, AffiliateIcon, AlertDialog, type AlertDialogProps, ArrowDownShortIcon, ArrowDownSquareFillIcon, ArrowDownUpIcon, ArrowLeftRightIcon, ArrowLeftRightSquareFill, ArrowLeftShortIcon, ArrowRightShortIcon, ArrowRightUpSquareFillIcon, ArrowUpShortIcon, ArrowUpSquareFillIcon, AssetIcon, Avatar, Badge, BarChartIcon, type BaseActionSheetItem, type BaseIconProps, BattleActiveIcon, BattleIcon, BattleInactiveIcon, BattleSolidActiveIcon, BattleSolidInactiveIcon, BellIcon, Box, type BoxProps, Button, type ButtonProps, type CSVColumn, type CSVExportOptions, Calendar, CalendarIcon, CalendarMinusIcon, 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, CloseRoundFillIcon, CloseSquareFillIcon, Collapse, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, type ColumnFixed, ConfirmDialog, type ConfirmProps, CopyIcon, DataFilter, type DataFilterItem, DataTable, type DataTableClassNames, type DataTableProps, DatePicker, type DatePickerProps, Dialog, type DialogAction, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Divider, type DividerProps, DotStatus, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuTrigger, EVMAvatar, EarnActiveIcon, EarnIcon, EarnInactiveIcon, EditIcon, Either, EmptyDataState, EmptyStateIcon, EsOrderlyIcon, ExclamationFillIcon, type ExtensionPosition, ExtensionPositionEnum, ExtensionSlot, EyeCloseIcon, EyeIcon, FeeTierIcon, Flex, type FlexProps, GradientText, Grid, HoverCard, HoverCardContent, type HoverCardProps, HoverCardRoot, HoverCardTrigger, Icon, type IconType, InfoCircleIcon, Input, InputAdditional, type InputFormatter, type InputFormatterOptions, type InputProps, type InputWithTooltipProps, LeaderboardActiveIcon, LeaderboardInactiveIcon, LeftNavVaultsIcon, ListView, type Locale, LocaleContext, LocaleProvider, Logo, type LogoProps, MarketsActiveIcon, MarketsInactiveIcon, Marquee, type MarqueeProps, type MenuItem, ModalContext, type ModalHocProps, ModalIdContext, ModalProvider, type MultiFieldSort, type MultiSortField, MultiSortHeader, type MultiSortHeaderProps, NewsFillIcon, type NumeralProps, index as OUITailwind, OrderlyIcon, OrderlyThemeProvider, type OrderlyThemeProviderProps, PaginationItems, type PaginationMeta, PeopleIcon, PerpsIcon, PersonIcon, Picker, PlusIcon, Popover, PopoverAnchor, PopoverContent, PopoverRoot, PopoverTrigger, PopupUnionIcon, PortfolioActiveIcon, PortfolioInactiveIcon, QuestionFillIcon, ReduceIcon, ReferralSolidIcon, RefreshIcon, ScrollArea, ScrollBar, ScrollIndicator, type ScrollIndicatorProps, Select, SelectItem, type SelectOption, type SelectProps, SelectedChoicesFillIcon, ServerFillIcon, SettingFillIcon, SettingIcon, ShareIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SimpleDialog, SimpleDialogFooter, type SimpleDialogFooterProps, type SimpleDialogProps, SimpleDropdownMenu, SimpleSheet, type SizeType, Slider, type SliderMarks, type SortOrder, SortingAscIcon, SortingDescIcon, SortingIcon, Spinner, type SpinnerProps, SpotIcon, SquareOutlinedIcon, StarChildChatActiveIcon, StarChildChatInactiveIcon, Statistic, StatisticLabel, SwapHorizIcon, Switch, TabPanel, type TabPanelProps, type TableCellContext, type TableCellFormatter, type TableCellPlainTextRenderer, type TableCellRenderer, index$1 as TableFeatures, type TableSort, Tabs, TabsBase, TabsContent, TabsList, TabsTrigger, Text, TextField, type TextFieldProps, type TextProps, type TextType, ThrottledButton, ToastTile, Toaster, TokenIcon, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipProvider, TooltipRoot, TooltipTrigger, TraderMobileIcon, TradingActiveIcon, TradingIcon, TradingInactiveIcon, TradingLeftNavIcon, TradingRewardsIcon, TriggerDialog, type TriggerDialogProps, VaultsIcon, VectorIcon, WalletIcon, WoofiStakeIcon, boxVariants, buttonVariants, capitalizeFirstLetter, convertValueToPercentage, dotStatusVariants, downloadCSVFile, exportToCSV, formatAddress, generateCSVContent, generateCSVData, gradientTextVariants, index$2 as inputFormatter, installExtension, modal, parseNumber, registerSimpleDialog, registerSimpleSheet, scrollAreaVariants, setExtensionBuilder, startViewTransition, statisticVariants, textVariants, tv, useCanLinkDevice, useLocale, useLongPress, useMediaQuery, useModal, useMultiSort, useObserverElement, useOrderlyTheme, usePagination, useScreen };