@orderly.network/ui 2.0.1-alpha.6 → 2.0.1-alpha.8
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.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +273 -521
- package/dist/index.d.ts +273 -521
- package/dist/index.js +213 -224
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +20 -19
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -4,15 +4,15 @@ export { VariantProps, cnBase as cn } from 'tailwind-variants';
|
|
|
4
4
|
import * as React$1 from 'react';
|
|
5
5
|
import React__default, { FC, ReactNode, InputHTMLAttributes, PropsWithChildren, HTMLAttributes, ElementRef, ReactElement, JSXElementConstructor, ElementType, ComponentPropsWithoutRef, PropsWithoutRef, SelectHTMLAttributes, ComponentType } from 'react';
|
|
6
6
|
import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
7
|
-
import * as tailwind_variants_dist_generated from 'tailwind-variants/dist/generated';
|
|
8
7
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
9
8
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
10
9
|
import { TooltipContentProps } from '@radix-ui/react-tooltip';
|
|
11
10
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
12
11
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
12
|
+
import { Row, CoreOptions, ColumnFilter, RowSelectionState, TableFeature, Table, RowData } from '@tanstack/react-table';
|
|
13
|
+
export { Table, Column as TanstackColumn } from '@tanstack/react-table';
|
|
13
14
|
import { DateRange, DayPickerRangeProps, DayPicker } from 'react-day-picker';
|
|
14
15
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
15
|
-
import { Row, CoreOptions, ColumnFilter, RowSelectionState } from '@tanstack/react-table';
|
|
16
16
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
17
17
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
18
18
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
@@ -440,34 +440,34 @@ declare const boxVariants: tailwind_variants.TVReturnType<{
|
|
|
440
440
|
true: string;
|
|
441
441
|
};
|
|
442
442
|
}, undefined, string[], {
|
|
443
|
-
responsiveVariants?: boolean |
|
|
444
|
-
p?: boolean |
|
|
445
|
-
grow?: boolean |
|
|
446
|
-
m?: boolean |
|
|
447
|
-
mb?: boolean |
|
|
448
|
-
ml?: boolean |
|
|
449
|
-
mr?: boolean |
|
|
450
|
-
mt?: boolean |
|
|
451
|
-
mx?: boolean |
|
|
452
|
-
my?: boolean |
|
|
453
|
-
pb?: boolean |
|
|
454
|
-
pl?: boolean |
|
|
455
|
-
position?: boolean |
|
|
456
|
-
pr?: boolean |
|
|
457
|
-
pt?: boolean |
|
|
458
|
-
px?: boolean |
|
|
459
|
-
py?: boolean |
|
|
460
|
-
shadow?: boolean |
|
|
461
|
-
borderColor?: boolean |
|
|
462
|
-
__position?: boolean |
|
|
463
|
-
__size_width?: boolean |
|
|
464
|
-
__size_height?: boolean |
|
|
465
|
-
invisible?: boolean |
|
|
466
|
-
zIndex?: boolean |
|
|
467
|
-
border?: boolean |
|
|
468
|
-
r?: boolean |
|
|
469
|
-
gradient?: boolean |
|
|
470
|
-
intensity?: boolean |
|
|
443
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
444
|
+
p?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
445
|
+
grow?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
446
|
+
m?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
447
|
+
mb?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
448
|
+
ml?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
449
|
+
mr?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
450
|
+
mt?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
451
|
+
mx?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
452
|
+
my?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
453
|
+
pb?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
454
|
+
pl?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
455
|
+
position?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
456
|
+
pr?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
457
|
+
pt?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
458
|
+
px?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
459
|
+
py?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
460
|
+
shadow?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
461
|
+
borderColor?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
462
|
+
__position?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
463
|
+
__size_width?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
464
|
+
__size_height?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
465
|
+
invisible?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
466
|
+
zIndex?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
467
|
+
border?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
468
|
+
r?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
469
|
+
gradient?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
470
|
+
intensity?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
471
471
|
} | undefined;
|
|
472
472
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
473
473
|
twMergeConfig: {
|
|
@@ -1602,13 +1602,13 @@ declare const gridVariants: tailwind_variants.TVReturnType<{
|
|
|
1602
1602
|
5: string;
|
|
1603
1603
|
};
|
|
1604
1604
|
}, undefined, string[], {
|
|
1605
|
-
responsiveVariants?: boolean |
|
|
1606
|
-
gap?: boolean |
|
|
1607
|
-
gapX?: boolean |
|
|
1608
|
-
gapY?: boolean |
|
|
1609
|
-
cols?: boolean |
|
|
1610
|
-
rows?: boolean |
|
|
1611
|
-
autoFlow?: boolean |
|
|
1605
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
1606
|
+
gap?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
1607
|
+
gapX?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
1608
|
+
gapY?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
1609
|
+
cols?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
1610
|
+
rows?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
1611
|
+
autoFlow?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
1612
1612
|
} | undefined;
|
|
1613
1613
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
1614
1614
|
twMergeConfig: {
|
|
@@ -1715,9 +1715,9 @@ declare const gridSpanVariants: tailwind_variants.TVReturnType<{
|
|
|
1715
1715
|
9: string;
|
|
1716
1716
|
};
|
|
1717
1717
|
}, undefined, undefined, {
|
|
1718
|
-
responsiveVariants?: boolean |
|
|
1719
|
-
colSpan?: boolean |
|
|
1720
|
-
rowSpan?: boolean |
|
|
1718
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
1719
|
+
colSpan?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
1720
|
+
rowSpan?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
1721
1721
|
} | undefined;
|
|
1722
1722
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
1723
1723
|
twMergeConfig: {
|
|
@@ -1940,10 +1940,10 @@ declare const flexVariant: tailwind_variants.TVReturnType<{
|
|
|
1940
1940
|
10: string;
|
|
1941
1941
|
};
|
|
1942
1942
|
}, undefined, undefined, {
|
|
1943
|
-
responsiveVariants?: boolean |
|
|
1944
|
-
gap?: boolean |
|
|
1945
|
-
gapX?: boolean |
|
|
1946
|
-
gapY?: boolean |
|
|
1943
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
1944
|
+
gap?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
1945
|
+
gapX?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
1946
|
+
gapY?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
1947
1947
|
} | undefined;
|
|
1948
1948
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
1949
1949
|
twMergeConfig: {
|
|
@@ -2139,12 +2139,12 @@ declare const textVariants: tailwind_variants.TVReturnType<{
|
|
|
2139
2139
|
default: string;
|
|
2140
2140
|
};
|
|
2141
2141
|
}, undefined, undefined, {
|
|
2142
|
-
responsiveVariants?: boolean |
|
|
2143
|
-
color?: boolean |
|
|
2144
|
-
size?: boolean |
|
|
2145
|
-
intensity?: boolean |
|
|
2146
|
-
weight?: boolean |
|
|
2147
|
-
dashBoard?: boolean |
|
|
2142
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
2143
|
+
color?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
2144
|
+
size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
2145
|
+
intensity?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
2146
|
+
weight?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
2147
|
+
dashBoard?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
2148
2148
|
} | undefined;
|
|
2149
2149
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
2150
2150
|
twMergeConfig: {
|
|
@@ -2467,8 +2467,8 @@ declare const statisticVariants: tailwind_variants.TVReturnType<{
|
|
|
2467
2467
|
label: string;
|
|
2468
2468
|
value: string;
|
|
2469
2469
|
}, undefined, {
|
|
2470
|
-
responsiveVariants?: boolean |
|
|
2471
|
-
align?: boolean |
|
|
2470
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
2471
|
+
align?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
2472
2472
|
} | undefined;
|
|
2473
2473
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
2474
2474
|
twMergeConfig: {
|
|
@@ -2533,8 +2533,8 @@ declare const StatisticLabel: React__default.ForwardRefExoticComponent<VariantPr
|
|
|
2533
2533
|
label: string;
|
|
2534
2534
|
value: string;
|
|
2535
2535
|
}, undefined, {
|
|
2536
|
-
responsiveVariants?: boolean |
|
|
2537
|
-
align?: boolean |
|
|
2536
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
2537
|
+
align?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
2538
2538
|
} | undefined;
|
|
2539
2539
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
2540
2540
|
twMergeConfig: {
|
|
@@ -2599,8 +2599,8 @@ declare const Statistic: React__default.ForwardRefExoticComponent<VariantProps<t
|
|
|
2599
2599
|
label: string;
|
|
2600
2600
|
value: string;
|
|
2601
2601
|
}, undefined, {
|
|
2602
|
-
responsiveVariants?: boolean |
|
|
2603
|
-
align?: boolean |
|
|
2602
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
2603
|
+
align?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
2604
2604
|
} | undefined;
|
|
2605
2605
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
2606
2606
|
twMergeConfig: {
|
|
@@ -2722,8 +2722,8 @@ declare const gradientTextVariants: tailwind_variants.TVReturnType<{
|
|
|
2722
2722
|
inherit: string;
|
|
2723
2723
|
};
|
|
2724
2724
|
}, undefined, "oui-text-transparent oui-bg-clip-text", {
|
|
2725
|
-
responsiveVariants?: boolean |
|
|
2726
|
-
color?: boolean |
|
|
2725
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
2726
|
+
color?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
2727
2727
|
} | undefined;
|
|
2728
2728
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
2729
2729
|
twMergeConfig: {
|
|
@@ -2781,8 +2781,8 @@ declare const GradientText: React__default.ForwardRefExoticComponent<Omit<TextPr
|
|
|
2781
2781
|
inherit: string;
|
|
2782
2782
|
};
|
|
2783
2783
|
}, undefined, "oui-text-transparent oui-bg-clip-text", {
|
|
2784
|
-
responsiveVariants?: boolean |
|
|
2785
|
-
color?: boolean |
|
|
2784
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
2785
|
+
color?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
2786
2786
|
} | undefined;
|
|
2787
2787
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
2788
2788
|
twMergeConfig: {
|
|
@@ -3328,14 +3328,14 @@ declare const identifierFormatter: () => {
|
|
|
3328
3328
|
onSendBefore: (value: string | number, options: InputFormatterOptions) => string;
|
|
3329
3329
|
};
|
|
3330
3330
|
|
|
3331
|
-
declare const index$
|
|
3332
|
-
declare const index$
|
|
3333
|
-
declare const index$
|
|
3334
|
-
declare const index$
|
|
3335
|
-
declare const index$
|
|
3336
|
-
declare const index$
|
|
3337
|
-
declare namespace index$
|
|
3338
|
-
export { index$
|
|
3331
|
+
declare const index$2_createRegexInputFormatter: typeof createRegexInputFormatter;
|
|
3332
|
+
declare const index$2_currencyFormatter: typeof currencyFormatter;
|
|
3333
|
+
declare const index$2_dpFormatter: typeof dpFormatter;
|
|
3334
|
+
declare const index$2_identifierFormatter: typeof identifierFormatter;
|
|
3335
|
+
declare const index$2_numberFormatter: typeof numberFormatter;
|
|
3336
|
+
declare const index$2_rangeFormatter: typeof rangeFormatter;
|
|
3337
|
+
declare namespace index$2 {
|
|
3338
|
+
export { index$2_createRegexInputFormatter as createRegexInputFormatter, index$2_currencyFormatter as currencyFormatter, index$2_dpFormatter as dpFormatter, index$2_identifierFormatter as identifierFormatter, index$2_numberFormatter as numberFormatter, index$2_rangeFormatter as rangeFormatter };
|
|
3339
3339
|
}
|
|
3340
3340
|
|
|
3341
3341
|
declare const textFieldVariants: tailwind_variants.TVReturnType<{
|
|
@@ -3352,8 +3352,8 @@ declare const textFieldVariants: tailwind_variants.TVReturnType<{
|
|
|
3352
3352
|
label: string;
|
|
3353
3353
|
input: never[];
|
|
3354
3354
|
}, undefined, {
|
|
3355
|
-
responsiveVariants?: boolean |
|
|
3356
|
-
direction?: boolean |
|
|
3355
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
3356
|
+
direction?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
3357
3357
|
} | undefined;
|
|
3358
3358
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
3359
3359
|
twMergeConfig: {
|
|
@@ -3424,7 +3424,7 @@ declare const Input: InputType;
|
|
|
3424
3424
|
declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
3425
3425
|
size?: number | undefined;
|
|
3426
3426
|
indicatorClassName?: string | undefined;
|
|
3427
|
-
color?: "
|
|
3427
|
+
color?: "primary" | "white" | undefined;
|
|
3428
3428
|
variant?: "radio" | "checkBox" | undefined;
|
|
3429
3429
|
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
3430
3430
|
|
|
@@ -3570,10 +3570,10 @@ declare const badgeVariants: tailwind_variants.TVReturnType<{
|
|
|
3570
3570
|
lg: string;
|
|
3571
3571
|
};
|
|
3572
3572
|
}, undefined, "oui-inline-flex oui-items-center oui-rounded-md oui-font-semibold oui-transition-colors focus:oui-outline-none focus:oui-ring-2 focus:oui-ring-ring focus:oui-ring-offset-2", {
|
|
3573
|
-
responsiveVariants?: boolean |
|
|
3574
|
-
color?: boolean |
|
|
3575
|
-
size?: boolean |
|
|
3576
|
-
variant?: boolean |
|
|
3573
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
3574
|
+
color?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
3575
|
+
size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
3576
|
+
variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
3577
3577
|
} | undefined;
|
|
3578
3578
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
3579
3579
|
twMergeConfig: {
|
|
@@ -3703,116 +3703,33 @@ declare const Tooltip: React$1.ForwardRefExoticComponent<TooltipPrimitive.Toolti
|
|
|
3703
3703
|
} | undefined;
|
|
3704
3704
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
3705
3705
|
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
tr: string;
|
|
3713
|
-
};
|
|
3714
|
-
};
|
|
3715
|
-
}, {
|
|
3716
|
-
table: string;
|
|
3717
|
-
thead: string;
|
|
3718
|
-
tbody: string;
|
|
3719
|
-
tfoot: string;
|
|
3720
|
-
tr: string;
|
|
3721
|
-
th: string;
|
|
3722
|
-
td: string;
|
|
3723
|
-
caption: string;
|
|
3724
|
-
}, undefined, {
|
|
3725
|
-
responsiveVariants?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | {
|
|
3726
|
-
bordered?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
|
|
3727
|
-
} | undefined;
|
|
3728
|
-
} & tailwind_variants_dist_config.TWMConfig & {
|
|
3729
|
-
twMergeConfig: {
|
|
3730
|
-
prefix: string;
|
|
3731
|
-
};
|
|
3732
|
-
}, {
|
|
3733
|
-
bordered: {
|
|
3734
|
-
true: {
|
|
3735
|
-
tr: string;
|
|
3736
|
-
};
|
|
3737
|
-
false: {
|
|
3738
|
-
tr: string;
|
|
3739
|
-
};
|
|
3740
|
-
};
|
|
3741
|
-
}, {
|
|
3742
|
-
table: string;
|
|
3743
|
-
thead: string;
|
|
3744
|
-
tbody: string;
|
|
3745
|
-
tfoot: string;
|
|
3746
|
-
tr: string;
|
|
3747
|
-
th: string;
|
|
3748
|
-
td: string;
|
|
3749
|
-
caption: string;
|
|
3750
|
-
}, tailwind_variants.TVReturnType<{
|
|
3751
|
-
bordered: {
|
|
3752
|
-
true: {
|
|
3753
|
-
tr: string;
|
|
3754
|
-
};
|
|
3755
|
-
false: {
|
|
3756
|
-
tr: string;
|
|
3757
|
-
};
|
|
3758
|
-
};
|
|
3759
|
-
}, {
|
|
3760
|
-
table: string;
|
|
3761
|
-
thead: string;
|
|
3762
|
-
tbody: string;
|
|
3763
|
-
tfoot: string;
|
|
3764
|
-
tr: string;
|
|
3765
|
-
th: string;
|
|
3766
|
-
td: string;
|
|
3767
|
-
caption: string;
|
|
3768
|
-
}, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
3769
|
-
bordered: {
|
|
3770
|
-
true: {
|
|
3771
|
-
tr: string;
|
|
3772
|
-
};
|
|
3773
|
-
false: {
|
|
3774
|
-
tr: string;
|
|
3775
|
-
};
|
|
3776
|
-
};
|
|
3777
|
-
}, {
|
|
3778
|
-
bordered: {
|
|
3779
|
-
true: {
|
|
3780
|
-
tr: string;
|
|
3781
|
-
};
|
|
3782
|
-
false: {
|
|
3783
|
-
tr: string;
|
|
3784
|
-
};
|
|
3785
|
-
};
|
|
3786
|
-
}>, unknown, unknown, undefined>>;
|
|
3787
|
-
interface TableRootProps extends VariantProps<typeof tableVariants>, ComponentPropsWithout<"table", "asChild" | "defaultChecked" | "defaultValue" | "color" | "border"> {
|
|
3788
|
-
}
|
|
3789
|
-
declare const Table: React__default.ForwardRefExoticComponent<TableRootProps & React__default.RefAttributes<HTMLTableElement>>;
|
|
3790
|
-
declare const TableHeader: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLTableSectionElement> & React__default.RefAttributes<HTMLTableSectionElement>>;
|
|
3791
|
-
declare const TableBody: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLTableSectionElement> & React__default.RefAttributes<HTMLTableSectionElement>>;
|
|
3792
|
-
declare const TableFooter: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLTableSectionElement> & React__default.RefAttributes<HTMLTableSectionElement>>;
|
|
3793
|
-
declare const TableRow: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLTableRowElement> & {
|
|
3794
|
-
bordered?: boolean | undefined;
|
|
3795
|
-
} & React__default.RefAttributes<HTMLTableRowElement>>;
|
|
3796
|
-
declare const TableHead: React__default.ForwardRefExoticComponent<React__default.ThHTMLAttributes<HTMLTableCellElement> & React__default.RefAttributes<HTMLTableCellElement>>;
|
|
3797
|
-
declare const TableCell: React__default.ForwardRefExoticComponent<React__default.TdHTMLAttributes<HTMLTableCellElement> & React__default.RefAttributes<HTMLTableCellElement>>;
|
|
3798
|
-
declare const TableCaption: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLTableCaptionElement> & React__default.RefAttributes<HTMLTableCaptionElement>>;
|
|
3799
|
-
|
|
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);
|
|
3706
|
+
type ColumnFixed = "left" | "right";
|
|
3707
|
+
type SortOrder = "asc" | "desc";
|
|
3708
|
+
type PlainText = number | string | null | undefined;
|
|
3709
|
+
type TableCellFormatter<T> = string | ((value: any, record: T, index: number) => any);
|
|
3710
|
+
type TableCellRenderer<T> = string | ((value: any, record: T, index: number) => React.ReactNode);
|
|
3711
|
+
type TableCellPlainTextRenderer<T> = (value: any, record: T, index: number) => PlainText;
|
|
3804
3712
|
type Column<RecordType extends unknown = any> = {
|
|
3805
|
-
|
|
3713
|
+
type?: "data" | "action" | "group";
|
|
3714
|
+
title?: ReactNode;
|
|
3715
|
+
/**
|
|
3716
|
+
* when title is ReactElement, download feature need this field to render plant text
|
|
3717
|
+
* */
|
|
3718
|
+
plantTextTitle?: PlainText;
|
|
3806
3719
|
hint?: ReactNode;
|
|
3807
3720
|
hintClassName?: string;
|
|
3808
3721
|
width?: number;
|
|
3809
|
-
fixed?: ColumnFixed
|
|
3722
|
+
fixed?: ColumnFixed;
|
|
3810
3723
|
dataIndex: string;
|
|
3811
3724
|
className?: string | ((record: RecordType, index: number) => string);
|
|
3812
3725
|
align?: "left" | "center" | "right";
|
|
3813
|
-
onSort?: boolean | ((r1: RecordType, r2: RecordType, sortOrder
|
|
3814
|
-
formatter?: TableCellFormatter
|
|
3815
|
-
render?: TableCellRenderer
|
|
3726
|
+
onSort?: boolean | ((r1: RecordType, r2: RecordType, sortOrder?: SortOrder) => number);
|
|
3727
|
+
formatter?: TableCellFormatter<RecordType>;
|
|
3728
|
+
render?: TableCellRenderer<RecordType>;
|
|
3729
|
+
/**
|
|
3730
|
+
* when render return ReactElement, download feature need this field to render plant text
|
|
3731
|
+
* */
|
|
3732
|
+
renderPlantText?: TableCellPlainTextRenderer<RecordType>;
|
|
3816
3733
|
getKey?: (record: RecordType, index: number) => string;
|
|
3817
3734
|
/**
|
|
3818
3735
|
* text rule for formatted text, if provided, the text will be rendered as formatted text component;
|
|
@@ -3824,17 +3741,28 @@ type Column<RecordType extends unknown = any> = {
|
|
|
3824
3741
|
*/
|
|
3825
3742
|
textProps?: Omit<FormattedTextProps, "children" | "as" | "rule"> | ((value: any, record: RecordType, index: number) => Omit<FormattedTextProps, "children" | "as" | "rule">);
|
|
3826
3743
|
};
|
|
3744
|
+
type PaginationMeta = {
|
|
3745
|
+
count?: number;
|
|
3746
|
+
page: number;
|
|
3747
|
+
pageSize: number;
|
|
3748
|
+
pageTotal?: number;
|
|
3749
|
+
onPageChange?: (page: number) => void;
|
|
3750
|
+
onPageSizeChange?: (pageSize: number) => void;
|
|
3751
|
+
};
|
|
3752
|
+
type TableSort = {
|
|
3753
|
+
sortKey: string;
|
|
3754
|
+
sort: SortOrder;
|
|
3755
|
+
};
|
|
3756
|
+
type DataTableClassNames = {
|
|
3757
|
+
root?: string;
|
|
3758
|
+
header?: string;
|
|
3759
|
+
body?: string;
|
|
3760
|
+
footer?: string;
|
|
3761
|
+
pagination?: string;
|
|
3762
|
+
scroll?: string;
|
|
3763
|
+
};
|
|
3827
3764
|
|
|
3828
|
-
|
|
3829
|
-
bordered?: boolean;
|
|
3830
|
-
justified?: boolean;
|
|
3831
|
-
renderRowContainer?: (record: RecordType, index: number, children: ReactNode) => ReactNode;
|
|
3832
|
-
generatedRowKey?: (record: RecordType, index: number) => string;
|
|
3833
|
-
onRow?: (record: RecordType, index: number) => any;
|
|
3834
|
-
expandRowRender?: (record: RecordType, index: number) => ReactNode;
|
|
3835
|
-
}
|
|
3836
|
-
|
|
3837
|
-
interface DataTableProps<RecordType> extends TBodyProps<RecordType>, VariantProps<typeof dataTableVariants> {
|
|
3765
|
+
type DataTableProps<RecordType> = {
|
|
3838
3766
|
columns: Column<RecordType>[];
|
|
3839
3767
|
dataSource?: RecordType[] | null;
|
|
3840
3768
|
/**
|
|
@@ -3842,102 +3770,32 @@ interface DataTableProps<RecordType> extends TBodyProps<RecordType>, VariantProp
|
|
|
3842
3770
|
* @default false
|
|
3843
3771
|
*/
|
|
3844
3772
|
loading?: boolean;
|
|
3845
|
-
isValidating?: boolean;
|
|
3846
3773
|
ignoreLoadingCheck?: boolean;
|
|
3847
3774
|
className?: string;
|
|
3848
|
-
classNames?:
|
|
3849
|
-
root?: string;
|
|
3850
|
-
header?: string;
|
|
3851
|
-
body?: string;
|
|
3852
|
-
footer?: string;
|
|
3853
|
-
};
|
|
3854
|
-
showMaskElement?: boolean;
|
|
3775
|
+
classNames?: DataTableClassNames;
|
|
3855
3776
|
emptyView?: ReactNode;
|
|
3856
3777
|
bordered?: boolean;
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
sortKey: string;
|
|
3860
|
-
sort: SortOrder$1;
|
|
3861
|
-
}) => void;
|
|
3862
|
-
initialSort?: {
|
|
3863
|
-
sortKey: string;
|
|
3864
|
-
sort: SortOrder$1;
|
|
3865
|
-
};
|
|
3778
|
+
onSort?: (sort?: TableSort) => void;
|
|
3779
|
+
initialSort?: TableSort;
|
|
3866
3780
|
id?: string;
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
declare const dataTableVariants: tailwind_variants.TVReturnType<{
|
|
3881
|
-
loading: {
|
|
3882
|
-
true: {
|
|
3883
|
-
root: string;
|
|
3884
|
-
};
|
|
3885
|
-
false: {
|
|
3886
|
-
root: string;
|
|
3887
|
-
};
|
|
3888
|
-
};
|
|
3889
|
-
}, {
|
|
3890
|
-
root: string;
|
|
3891
|
-
}, undefined, {
|
|
3892
|
-
responsiveVariants?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | {
|
|
3893
|
-
loading?: boolean | tailwind_variants_dist_generated.TVGeneratedScreens[] | undefined;
|
|
3894
|
-
} | undefined;
|
|
3895
|
-
} & tailwind_variants_dist_config.TWMConfig & {
|
|
3896
|
-
twMergeConfig: {
|
|
3897
|
-
prefix: string;
|
|
3898
|
-
};
|
|
3899
|
-
}, {
|
|
3900
|
-
loading: {
|
|
3901
|
-
true: {
|
|
3902
|
-
root: string;
|
|
3903
|
-
};
|
|
3904
|
-
false: {
|
|
3905
|
-
root: string;
|
|
3906
|
-
};
|
|
3907
|
-
};
|
|
3908
|
-
}, {
|
|
3909
|
-
root: string;
|
|
3910
|
-
}, tailwind_variants.TVReturnType<{
|
|
3911
|
-
loading: {
|
|
3912
|
-
true: {
|
|
3913
|
-
root: string;
|
|
3914
|
-
};
|
|
3915
|
-
false: {
|
|
3916
|
-
root: string;
|
|
3917
|
-
};
|
|
3918
|
-
};
|
|
3919
|
-
}, {
|
|
3920
|
-
root: string;
|
|
3921
|
-
}, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
3922
|
-
loading: {
|
|
3923
|
-
true: {
|
|
3924
|
-
root: string;
|
|
3925
|
-
};
|
|
3926
|
-
false: {
|
|
3927
|
-
root: string;
|
|
3928
|
-
};
|
|
3929
|
-
};
|
|
3930
|
-
}, {
|
|
3931
|
-
loading: {
|
|
3932
|
-
true: {
|
|
3933
|
-
root: string;
|
|
3934
|
-
};
|
|
3935
|
-
false: {
|
|
3936
|
-
root: string;
|
|
3937
|
-
};
|
|
3781
|
+
getRowCanExpand?: (row: Row<any>) => boolean;
|
|
3782
|
+
expandRowRender?: (row: Row<any>, index: number) => ReactNode;
|
|
3783
|
+
manualSorting?: boolean;
|
|
3784
|
+
manualPagination?: boolean;
|
|
3785
|
+
manualFiltering?: boolean;
|
|
3786
|
+
pagination?: PaginationMeta;
|
|
3787
|
+
renderRowContainer?: (record: RecordType, index: number, children: ReactNode) => ReactNode;
|
|
3788
|
+
generatedRowKey?: CoreOptions<any>["getRowId"];
|
|
3789
|
+
onRow?: (record: RecordType, index: number) => any;
|
|
3790
|
+
columnFilters?: ColumnFilter | ColumnFilter[];
|
|
3791
|
+
rowSelection?: RowSelectionState;
|
|
3792
|
+
testIds?: {
|
|
3793
|
+
body?: string;
|
|
3938
3794
|
};
|
|
3939
|
-
|
|
3940
|
-
|
|
3795
|
+
features?: TableFeature[];
|
|
3796
|
+
getTableInstance?: (table: Table<RecordType>) => void;
|
|
3797
|
+
};
|
|
3798
|
+
declare function DataTable<RecordType extends any>(props: PropsWithChildren<DataTableProps<RecordType>>): react_jsx_runtime.JSX.Element;
|
|
3941
3799
|
|
|
3942
3800
|
type DateRangePickerProps = {
|
|
3943
3801
|
onChange?: (date: DateRange) => void;
|
|
@@ -4165,6 +4023,10 @@ type SelectProps<T> = SelectPrimitive.SelectProps & {
|
|
|
4165
4023
|
contentProps?: React__default.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>;
|
|
4166
4024
|
showCaret?: boolean;
|
|
4167
4025
|
maxHeight?: number;
|
|
4026
|
+
testid?: string;
|
|
4027
|
+
classNames?: {
|
|
4028
|
+
trigger?: string;
|
|
4029
|
+
};
|
|
4168
4030
|
} & SelectVariantProps;
|
|
4169
4031
|
declare const Select$1: <T>(props: React__default.PropsWithChildren<SelectProps<T>>) => react_jsx_runtime.JSX.Element;
|
|
4170
4032
|
|
|
@@ -4176,6 +4038,7 @@ type SelectWithOptionsProps<T = string> = SelectProps<T> & {
|
|
|
4176
4038
|
currentValue?: string;
|
|
4177
4039
|
options: SelectOption[];
|
|
4178
4040
|
optionRenderer?: (option: SelectOption) => ReactElement;
|
|
4041
|
+
testid?: string;
|
|
4179
4042
|
};
|
|
4180
4043
|
declare const SelectWithOptions: FC<SelectWithOptionsProps>;
|
|
4181
4044
|
|
|
@@ -4195,27 +4058,27 @@ type DatePickerProps = {
|
|
|
4195
4058
|
} & CalendarProps;
|
|
4196
4059
|
declare const DatePicker$1: FC<DatePickerProps>;
|
|
4197
4060
|
|
|
4198
|
-
type FilterType
|
|
4199
|
-
type DataFilterGeneral
|
|
4061
|
+
type FilterType = "select" | "input" | "date" | "range" | "custom" | "symbol";
|
|
4062
|
+
type DataFilterGeneral = {
|
|
4200
4063
|
name: string;
|
|
4201
|
-
type: FilterType
|
|
4064
|
+
type: FilterType;
|
|
4202
4065
|
};
|
|
4203
|
-
type SelectFilter
|
|
4066
|
+
type SelectFilter = {
|
|
4204
4067
|
type: "select";
|
|
4205
4068
|
isCombine?: boolean;
|
|
4206
4069
|
} & SelectWithOptionsProps;
|
|
4207
|
-
type DateFilter
|
|
4070
|
+
type DateFilter = {
|
|
4208
4071
|
type: "date";
|
|
4209
4072
|
} & DatePickerProps;
|
|
4210
|
-
type DateRangeFilter
|
|
4073
|
+
type DateRangeFilter = {
|
|
4211
4074
|
type: "range";
|
|
4212
4075
|
} & DateRangePickerProps;
|
|
4213
|
-
type SymbolFilter
|
|
4076
|
+
type SymbolFilter = {
|
|
4214
4077
|
type: "symbol";
|
|
4215
4078
|
};
|
|
4216
|
-
type DataFilterItems
|
|
4217
|
-
type DataFilterProps
|
|
4218
|
-
items: DataFilterItems
|
|
4079
|
+
type DataFilterItems = (DataFilterGeneral & (SelectFilter | DateFilter | DateRangeFilter | SymbolFilter))[];
|
|
4080
|
+
type DataFilterProps = {
|
|
4081
|
+
items: DataFilterItems;
|
|
4219
4082
|
onFilter: (filter: {
|
|
4220
4083
|
name: string;
|
|
4221
4084
|
value: any;
|
|
@@ -4223,65 +4086,12 @@ type DataFilterProps$1 = {
|
|
|
4223
4086
|
className?: string;
|
|
4224
4087
|
trailing?: React.ReactNode;
|
|
4225
4088
|
};
|
|
4226
|
-
|
|
4227
|
-
type PaginationOptions = {
|
|
4228
|
-
page: number;
|
|
4229
|
-
pageSize: number;
|
|
4230
|
-
count: number;
|
|
4231
|
-
};
|
|
4232
|
-
|
|
4233
|
-
type DataGridProps<RecordType = any> = {
|
|
4234
|
-
filter?: DataFilterProps$1;
|
|
4235
|
-
pagination?: PaginationOptions;
|
|
4236
|
-
footer?: ReactElement;
|
|
4237
|
-
/**
|
|
4238
|
-
* The header of the table, if provided it will be rendered above the table.
|
|
4239
|
-
* If both filter configuration and header component are provided at the same time,
|
|
4240
|
-
* the header component will override the filter component.
|
|
4241
|
-
*/
|
|
4242
|
-
header?: ReactElement;
|
|
4243
|
-
} & DataTableProps<RecordType>;
|
|
4244
|
-
declare const DataGrid: <T>(props: DataGridProps<T>) => react_jsx_runtime.JSX.Element;
|
|
4245
|
-
|
|
4246
|
-
declare const DataGridFilterBar: () => react_jsx_runtime.JSX.Element | null;
|
|
4247
|
-
|
|
4248
|
-
declare const EmptyDataState: (props: {
|
|
4249
|
-
title?: string;
|
|
4250
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
4251
|
-
|
|
4252
|
-
declare const Filter: {
|
|
4253
|
-
(props: DataFilterProps$1): react_jsx_runtime.JSX.Element;
|
|
4254
|
-
displayName: string;
|
|
4255
|
-
};
|
|
4256
|
-
|
|
4257
|
-
type PaginationProps = {
|
|
4258
|
-
onPageChange?: (page: number) => void;
|
|
4259
|
-
onPageSizeChange?: (pageSize: number) => void;
|
|
4260
|
-
pageSize?: number;
|
|
4261
|
-
page: number;
|
|
4262
|
-
count: number;
|
|
4263
|
-
pageTotal: number;
|
|
4264
|
-
className?: string;
|
|
4265
|
-
classNames?: {
|
|
4266
|
-
pagination?: string;
|
|
4267
|
-
paginationContent?: string;
|
|
4268
|
-
paginationItem?: string;
|
|
4269
|
-
paginationLink?: string;
|
|
4270
|
-
paginationPrevious?: string;
|
|
4271
|
-
paginationNext?: string;
|
|
4272
|
-
paginationEllipsis?: string;
|
|
4273
|
-
};
|
|
4274
|
-
};
|
|
4275
|
-
declare const PaginationItems: (props: Omit<PaginationProps, "onPageSizeChange">) => react_jsx_runtime.JSX.Element | null;
|
|
4276
|
-
|
|
4277
|
-
declare const Pagination: {
|
|
4278
|
-
(props: Omit<PaginationProps, "classNames">): react_jsx_runtime.JSX.Element | null;
|
|
4279
|
-
displayName: string;
|
|
4280
|
-
};
|
|
4089
|
+
declare const DataFilter: (props: DataFilterProps) => react_jsx_runtime.JSX.Element;
|
|
4281
4090
|
|
|
4282
4091
|
declare const usePagination: (initial?: {
|
|
4283
4092
|
page?: number;
|
|
4284
4093
|
pageSize?: number;
|
|
4094
|
+
resetPageWhenPageSizeChange?: boolean;
|
|
4285
4095
|
}) => {
|
|
4286
4096
|
page: number;
|
|
4287
4097
|
pageSize: number;
|
|
@@ -4297,116 +4107,38 @@ declare const usePagination: (initial?: {
|
|
|
4297
4107
|
pageSize: number;
|
|
4298
4108
|
pageTotal: number;
|
|
4299
4109
|
};
|
|
4110
|
+
pagination: {
|
|
4111
|
+
page: number;
|
|
4112
|
+
pageSize: number;
|
|
4113
|
+
onPageChange: React$1.Dispatch<React$1.SetStateAction<number>>;
|
|
4114
|
+
onPageSizeChange: (size: number) => void;
|
|
4115
|
+
};
|
|
4116
|
+
parsePagination: (meta?: {
|
|
4117
|
+
total: number;
|
|
4118
|
+
current_page: number;
|
|
4119
|
+
records_per_page: number;
|
|
4120
|
+
}) => PaginationMeta;
|
|
4300
4121
|
};
|
|
4301
4122
|
|
|
4302
|
-
|
|
4303
|
-
|
|
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;
|
|
4123
|
+
declare const EmptyDataState: FC<{
|
|
4124
|
+
title?: string;
|
|
4360
4125
|
className?: string;
|
|
4361
|
-
|
|
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;
|
|
4126
|
+
}>;
|
|
4380
4127
|
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
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;
|
|
4128
|
+
interface DownloadInstance {
|
|
4129
|
+
getPlainTextData: () => any[];
|
|
4130
|
+
download: (filename?: string) => void;
|
|
4131
|
+
}
|
|
4132
|
+
declare module "@tanstack/react-table" {
|
|
4133
|
+
interface Table<TData extends RowData> extends DownloadInstance {
|
|
4134
|
+
}
|
|
4135
|
+
}
|
|
4136
|
+
declare const DownloadFeature: TableFeature<any>;
|
|
4137
|
+
|
|
4138
|
+
declare const index$1_DownloadFeature: typeof DownloadFeature;
|
|
4139
|
+
declare namespace index$1 {
|
|
4140
|
+
export { index$1_DownloadFeature as DownloadFeature };
|
|
4141
|
+
}
|
|
4410
4142
|
|
|
4411
4143
|
declare const scrollAreaVariants: tailwind_variants.TVReturnType<{
|
|
4412
4144
|
orientation: {
|
|
@@ -4423,8 +4155,8 @@ declare const scrollAreaVariants: tailwind_variants.TVReturnType<{
|
|
|
4423
4155
|
bar: string[];
|
|
4424
4156
|
tumb: string;
|
|
4425
4157
|
}, undefined, {
|
|
4426
|
-
responsiveVariants?: boolean |
|
|
4427
|
-
orientation?: boolean |
|
|
4158
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
4159
|
+
orientation?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
4428
4160
|
} | undefined;
|
|
4429
4161
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
4430
4162
|
twMergeConfig: {
|
|
@@ -5147,12 +4879,12 @@ declare const dividerVariants: tailwind_variants.TVReturnType<{
|
|
|
5147
4879
|
10: string;
|
|
5148
4880
|
};
|
|
5149
4881
|
}, undefined, string[], {
|
|
5150
|
-
responsiveVariants?: boolean |
|
|
5151
|
-
mx?: boolean |
|
|
5152
|
-
my?: boolean |
|
|
5153
|
-
intensity?: boolean |
|
|
5154
|
-
direction?: boolean |
|
|
5155
|
-
lineStyle?: boolean |
|
|
4882
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
4883
|
+
mx?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
4884
|
+
my?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
4885
|
+
intensity?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
4886
|
+
direction?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
4887
|
+
lineStyle?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
5156
4888
|
} | undefined;
|
|
5157
4889
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
5158
4890
|
twMergeConfig: {
|
|
@@ -5311,12 +5043,12 @@ declare const Divider: React__default.ForwardRefExoticComponent<VariantProps<tai
|
|
|
5311
5043
|
10: string;
|
|
5312
5044
|
};
|
|
5313
5045
|
}, undefined, string[], {
|
|
5314
|
-
responsiveVariants?: boolean |
|
|
5315
|
-
mx?: boolean |
|
|
5316
|
-
my?: boolean |
|
|
5317
|
-
intensity?: boolean |
|
|
5318
|
-
direction?: boolean |
|
|
5319
|
-
lineStyle?: boolean |
|
|
5046
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
5047
|
+
mx?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
5048
|
+
my?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
5049
|
+
intensity?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
5050
|
+
direction?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
5051
|
+
lineStyle?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
5320
5052
|
} | undefined;
|
|
5321
5053
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
5322
5054
|
twMergeConfig: {
|
|
@@ -5468,9 +5200,9 @@ declare const tabsVariants: tailwind_variants.TVReturnType<{
|
|
|
5468
5200
|
trigger: string[];
|
|
5469
5201
|
icon: string[];
|
|
5470
5202
|
}, undefined, {
|
|
5471
|
-
responsiveVariants?: boolean |
|
|
5472
|
-
size?: boolean |
|
|
5473
|
-
variant?: boolean |
|
|
5203
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
5204
|
+
size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
5205
|
+
variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
5474
5206
|
} | undefined;
|
|
5475
5207
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
5476
5208
|
twMergeConfig: {
|
|
@@ -5584,9 +5316,9 @@ declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.Tab
|
|
|
5584
5316
|
trigger: string[];
|
|
5585
5317
|
icon: string[];
|
|
5586
5318
|
}, undefined, {
|
|
5587
|
-
responsiveVariants?: boolean |
|
|
5588
|
-
size?: boolean |
|
|
5589
|
-
variant?: boolean |
|
|
5319
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
5320
|
+
size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
5321
|
+
variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
5590
5322
|
} | undefined;
|
|
5591
5323
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
5592
5324
|
twMergeConfig: {
|
|
@@ -5699,9 +5431,9 @@ declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.
|
|
|
5699
5431
|
trigger: string[];
|
|
5700
5432
|
icon: string[];
|
|
5701
5433
|
}, undefined, {
|
|
5702
|
-
responsiveVariants?: boolean |
|
|
5703
|
-
size?: boolean |
|
|
5704
|
-
variant?: boolean |
|
|
5434
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
5435
|
+
size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
5436
|
+
variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
5705
5437
|
} | undefined;
|
|
5706
5438
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
5707
5439
|
twMergeConfig: {
|
|
@@ -5817,9 +5549,9 @@ declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.
|
|
|
5817
5549
|
trigger: string[];
|
|
5818
5550
|
icon: string[];
|
|
5819
5551
|
}, undefined, {
|
|
5820
|
-
responsiveVariants?: boolean |
|
|
5821
|
-
size?: boolean |
|
|
5822
|
-
variant?: boolean |
|
|
5552
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
5553
|
+
size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
5554
|
+
variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
5823
5555
|
} | undefined;
|
|
5824
5556
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
5825
5557
|
twMergeConfig: {
|
|
@@ -5929,6 +5661,26 @@ type TabPanelProps = {
|
|
|
5929
5661
|
};
|
|
5930
5662
|
declare const TabPanel: FC<PropsWithChildren<TabPanelProps>>;
|
|
5931
5663
|
|
|
5664
|
+
type PaginationProps = {
|
|
5665
|
+
onPageChange?: (page: number) => void;
|
|
5666
|
+
onPageSizeChange?: (pageSize: number) => void;
|
|
5667
|
+
pageSize?: number;
|
|
5668
|
+
page: number;
|
|
5669
|
+
count: number;
|
|
5670
|
+
pageTotal: number;
|
|
5671
|
+
className?: string;
|
|
5672
|
+
classNames?: {
|
|
5673
|
+
pagination?: string;
|
|
5674
|
+
paginationContent?: string;
|
|
5675
|
+
paginationItem?: string;
|
|
5676
|
+
paginationLink?: string;
|
|
5677
|
+
paginationPrevious?: string;
|
|
5678
|
+
paginationNext?: string;
|
|
5679
|
+
paginationEllipsis?: string;
|
|
5680
|
+
};
|
|
5681
|
+
};
|
|
5682
|
+
declare const PaginationItems: (props: Omit<PaginationProps, "onPageSizeChange">) => react_jsx_runtime.JSX.Element | null;
|
|
5683
|
+
|
|
5932
5684
|
type CombineSelectProps = {
|
|
5933
5685
|
placeholder?: string;
|
|
5934
5686
|
} & SelectWithOptionsProps;
|
|
@@ -5960,11 +5712,11 @@ declare const chainSelectVariants: tailwind_variants.TVReturnType<{
|
|
|
5960
5712
|
itemSize: string;
|
|
5961
5713
|
tag: string;
|
|
5962
5714
|
}, undefined, {
|
|
5963
|
-
responsiveVariants?: boolean |
|
|
5964
|
-
position?: boolean |
|
|
5965
|
-
size?: boolean |
|
|
5966
|
-
variant?: boolean |
|
|
5967
|
-
error?: boolean |
|
|
5715
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
5716
|
+
position?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
5717
|
+
size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
5718
|
+
variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
5719
|
+
error?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
5968
5720
|
} | undefined;
|
|
5969
5721
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
5970
5722
|
twMergeConfig: {
|
|
@@ -6243,6 +5995,8 @@ type ChainItem = {
|
|
|
6243
5995
|
type ChainSelectProps = {
|
|
6244
5996
|
value?: number;
|
|
6245
5997
|
onChange?: (chain: ChainItem) => void;
|
|
5998
|
+
storageChains?: ChainItem[];
|
|
5999
|
+
networkId?: string;
|
|
6246
6000
|
chains: {
|
|
6247
6001
|
mainnet: ChainItem[];
|
|
6248
6002
|
testnet: ChainItem[];
|
|
@@ -6277,7 +6031,7 @@ declare const PopoverRoot: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
|
6277
6031
|
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
6278
6032
|
declare const PopoverAnchor: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
6279
6033
|
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<tailwind_variants.TVReturnType<{} | {} | {}, undefined, string[], {
|
|
6280
|
-
responsiveVariants?: boolean |
|
|
6034
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {} | undefined;
|
|
6281
6035
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
6282
6036
|
twMergeConfig: {
|
|
6283
6037
|
prefix: string;
|
|
@@ -6336,12 +6090,12 @@ declare const CardBase: React__default.ForwardRefExoticComponent<ComponentPropsW
|
|
|
6336
6090
|
16: string;
|
|
6337
6091
|
};
|
|
6338
6092
|
}, undefined, string[], {
|
|
6339
|
-
responsiveVariants?: boolean |
|
|
6340
|
-
borderColor?: boolean |
|
|
6341
|
-
border?: boolean |
|
|
6342
|
-
r?: boolean |
|
|
6343
|
-
gradient?: boolean |
|
|
6344
|
-
intensity?: boolean |
|
|
6093
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
6094
|
+
borderColor?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
6095
|
+
border?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
6096
|
+
r?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
6097
|
+
gradient?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
6098
|
+
intensity?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
6345
6099
|
} | undefined;
|
|
6346
6100
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
6347
6101
|
twMergeConfig: {
|
|
@@ -6569,12 +6323,12 @@ declare const Card: React$1.ForwardRefExoticComponent<{
|
|
|
6569
6323
|
16: string;
|
|
6570
6324
|
};
|
|
6571
6325
|
}, undefined, string[], {
|
|
6572
|
-
responsiveVariants?: boolean |
|
|
6573
|
-
borderColor?: boolean |
|
|
6574
|
-
border?: boolean |
|
|
6575
|
-
r?: boolean |
|
|
6576
|
-
gradient?: boolean |
|
|
6577
|
-
intensity?: boolean |
|
|
6326
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
6327
|
+
borderColor?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
6328
|
+
border?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
6329
|
+
r?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
6330
|
+
gradient?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
6331
|
+
intensity?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
6578
6332
|
} | undefined;
|
|
6579
6333
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
6580
6334
|
twMergeConfig: {
|
|
@@ -6775,11 +6529,11 @@ declare const pickerVariants: tailwind_variants.TVReturnType<{
|
|
|
6775
6529
|
sell: string;
|
|
6776
6530
|
};
|
|
6777
6531
|
}, undefined, "oui-flex oui-flex-row oui-items-stretch oui-rounded-md oui-cursor-pointer oui-border oui-border-line-6 oui-bg-line-4 oui-text-base-contrast-54", {
|
|
6778
|
-
responsiveVariants?: boolean |
|
|
6779
|
-
color?: boolean |
|
|
6780
|
-
size?: boolean |
|
|
6781
|
-
disabled?: boolean |
|
|
6782
|
-
fullWidth?: boolean |
|
|
6532
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
6533
|
+
color?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
6534
|
+
size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
6535
|
+
disabled?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
6536
|
+
fullWidth?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
6783
6537
|
} | undefined;
|
|
6784
6538
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
6785
6539
|
twMergeConfig: {
|
|
@@ -6902,8 +6656,8 @@ declare const sliderVariants: tailwind_variants.TVReturnType<{
|
|
|
6902
6656
|
mark: string;
|
|
6903
6657
|
tips: string[];
|
|
6904
6658
|
}, undefined, {
|
|
6905
|
-
responsiveVariants?: boolean |
|
|
6906
|
-
color?: boolean |
|
|
6659
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
6660
|
+
color?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
6907
6661
|
} | undefined;
|
|
6908
6662
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
6909
6663
|
twMergeConfig: {
|
|
@@ -7067,8 +6821,8 @@ declare const BaseSlider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive
|
|
|
7067
6821
|
mark: string;
|
|
7068
6822
|
tips: string[];
|
|
7069
6823
|
}, undefined, {
|
|
7070
|
-
responsiveVariants?: boolean |
|
|
7071
|
-
color?: boolean |
|
|
6824
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
6825
|
+
color?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
7072
6826
|
} | undefined;
|
|
7073
6827
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
7074
6828
|
twMergeConfig: {
|
|
@@ -7666,7 +7420,7 @@ type TokenIconProps = {
|
|
|
7666
7420
|
declare const TokenIcon: FC<TokenIconProps>;
|
|
7667
7421
|
|
|
7668
7422
|
type ChainIconProps = {
|
|
7669
|
-
size?: "2xs" | "sm" | "md" | "lg";
|
|
7423
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg";
|
|
7670
7424
|
chainId: string | number;
|
|
7671
7425
|
className?: string;
|
|
7672
7426
|
};
|
|
@@ -7698,8 +7452,8 @@ declare const avatarVariants: tailwind_variants.TVReturnType<{
|
|
|
7698
7452
|
image: string;
|
|
7699
7453
|
fallback: string;
|
|
7700
7454
|
}, undefined, {
|
|
7701
|
-
responsiveVariants?: boolean |
|
|
7702
|
-
size?: boolean |
|
|
7455
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
7456
|
+
size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
7703
7457
|
} | undefined;
|
|
7704
7458
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
7705
7459
|
twMergeConfig: {
|
|
@@ -7824,8 +7578,8 @@ declare const AvatarBase: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive
|
|
|
7824
7578
|
image: string;
|
|
7825
7579
|
fallback: string;
|
|
7826
7580
|
}, undefined, {
|
|
7827
|
-
responsiveVariants?: boolean |
|
|
7828
|
-
size?: boolean |
|
|
7581
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
7582
|
+
size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
7829
7583
|
} | undefined;
|
|
7830
7584
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
7831
7585
|
twMergeConfig: {
|
|
@@ -7958,8 +7712,8 @@ declare const EVMAvatar: React$1.ForwardRefExoticComponent<Omit<Omit<AvatarPrimi
|
|
|
7958
7712
|
image: string;
|
|
7959
7713
|
fallback: string;
|
|
7960
7714
|
}, undefined, {
|
|
7961
|
-
responsiveVariants?: boolean |
|
|
7962
|
-
size?: boolean |
|
|
7715
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
7716
|
+
size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
7963
7717
|
} | undefined;
|
|
7964
7718
|
} & tailwind_variants_dist_config.TWMConfig & {
|
|
7965
7719
|
twMergeConfig: {
|
|
@@ -8105,19 +7859,12 @@ type ExtensionPosition = ExtensionPositionEnum | string;
|
|
|
8105
7859
|
declare enum ExtensionPositionEnum {
|
|
8106
7860
|
DepositForm = "depositForm",
|
|
8107
7861
|
WithdrawForm = "withdrawForm",
|
|
8108
|
-
ListEmpty = "listEmpty",
|
|
8109
|
-
MainNav = "mainNav",
|
|
8110
|
-
SideNav = "sideNav",
|
|
8111
7862
|
/**
|
|
8112
7863
|
* Wallet button
|
|
8113
7864
|
*/
|
|
8114
|
-
|
|
8115
|
-
|
|
8116
|
-
|
|
8117
|
-
PortfolioLayout = "portfolioLayout",
|
|
8118
|
-
TradingRewardsLayout = "tradingRewardsLayout",
|
|
8119
|
-
AffiliateLayoutLayout = "affiliateLayoutLayout",
|
|
8120
|
-
EmptyDataState = "emptyDataState"
|
|
7865
|
+
AccountMenu = "accountMenu",
|
|
7866
|
+
MainMenus = "mainMenus",
|
|
7867
|
+
EmptyDataIdentifier = "emptyDataIdentifier"
|
|
8121
7868
|
}
|
|
8122
7869
|
|
|
8123
7870
|
/**
|
|
@@ -8163,11 +7910,16 @@ interface Props$2 {
|
|
|
8163
7910
|
}
|
|
8164
7911
|
declare const ExtensionSlot: FC<Props$2>;
|
|
8165
7912
|
|
|
7913
|
+
type ComponentOverrides = {
|
|
7914
|
+
tabs: {
|
|
7915
|
+
variant: "text" | "contained";
|
|
7916
|
+
};
|
|
7917
|
+
};
|
|
8166
7918
|
type OrderlyThemeProviderProps = {
|
|
8167
|
-
dateFormatting?: string;
|
|
8168
7919
|
components?: {
|
|
8169
7920
|
[position in ExtensionPosition]: ComponentType;
|
|
8170
7921
|
};
|
|
7922
|
+
overrides?: Partial<ComponentOverrides>;
|
|
8171
7923
|
};
|
|
8172
7924
|
declare const OrderlyThemeProvider: FC<PropsWithChildren<OrderlyThemeProviderProps>>;
|
|
8173
7925
|
|
|
@@ -8258,4 +8010,4 @@ declare function useScreen(): {
|
|
|
8258
8010
|
isDesktop: boolean;
|
|
8259
8011
|
};
|
|
8260
8012
|
|
|
8261
|
-
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
|
|
8013
|
+
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, type ColumnFixed, ConfirmDialog, type ConfirmProps, CopyIcon, DataFilter, type DataFilterItems, DataTable, type DataTableClassNames, 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, 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, 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, SortingAscIcon, SortingDescIcon, SortingIcon, Spinner, type SpinnerProps, SquareOutlinedIcon, Statistic, StatisticLabel, Switch, TabPanel, 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, TriggerDialog, type TriggerDialogProps, WalletIcon, boxVariants, buttonVariants, capitalizeFirstLetter, convertValueToPercentage, formatAddress, gradientTextVariants, index$2 as inputFormatter, installExtension, modal, parseNumber, registerSimpleDialog, registerSimpleSheet, scrollAreaVariants, setExtensionBuilder, statisticVariants, textVariants, tv, useModal, usePagination, useScreen };
|