@deepnoid/ui 0.1.223 → 1.0.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/.turbo/turbo-build.log +266 -251
- package/dist/{chunk-NTNF5T5I.mjs → chunk-23KGTXH2.mjs} +1 -1
- package/dist/{chunk-SX3JDFTH.mjs → chunk-2K3HZMC6.mjs} +9 -9
- package/dist/{chunk-ZFC5O2V3.mjs → chunk-3JKORA4G.mjs} +1 -1
- package/dist/{chunk-HFOHFBZH.mjs → chunk-3N442F6I.mjs} +2 -2
- package/dist/{chunk-WA7CSZQ3.mjs → chunk-3QZPVRM5.mjs} +1 -1
- package/dist/{chunk-BH3I4LIZ.mjs → chunk-4V5D237Z.mjs} +1 -1
- package/dist/chunk-63JRWMWN.mjs +215 -0
- package/dist/{chunk-GDHLN463.mjs → chunk-6CNPC722.mjs} +2 -2
- package/dist/{chunk-4IEHQI5B.mjs → chunk-7JCCPTBU.mjs} +3 -3
- package/dist/chunk-A6UUVHC6.mjs +38 -0
- package/dist/{chunk-P5L4YI54.mjs → chunk-AOU4QX7H.mjs} +106 -40
- package/dist/{chunk-U7SYKG2C.mjs → chunk-BBCJTXGU.mjs} +1 -1
- package/dist/{chunk-4S4AAZFC.mjs → chunk-CBFUVFGI.mjs} +4 -4
- package/dist/{chunk-AGE57VDD.mjs → chunk-CBIV6KFQ.mjs} +22 -25
- package/dist/{chunk-KWHCUAFU.mjs → chunk-CGJBY53Q.mjs} +3 -3
- package/dist/{chunk-XZYQFBCT.mjs → chunk-DI7QXTYZ.mjs} +1 -1
- package/dist/{chunk-U4DJHAM5.mjs → chunk-DPWUIAVC.mjs} +413 -149
- package/dist/chunk-E4VJDQD5.mjs +142 -0
- package/dist/{chunk-TE5JU3WA.mjs → chunk-EAWNUQDB.mjs} +90 -133
- package/dist/{chunk-OXJX5G3O.mjs → chunk-EIVSXVP5.mjs} +2 -2
- package/dist/{chunk-JGG3ZUNG.mjs → chunk-GSOTTSR4.mjs} +1 -1
- package/dist/{chunk-NGRGAY42.mjs → chunk-HKF5BNPX.mjs} +1 -1
- package/dist/{chunk-2URJGQFC.mjs → chunk-JUKILR6X.mjs} +2 -2
- package/dist/{chunk-DW3BX4M2.mjs → chunk-KPOXK7NN.mjs} +1 -1
- package/dist/{chunk-5KC3IFNR.mjs → chunk-LJSGQO4B.mjs} +1 -1
- package/dist/{chunk-LH6Z7SDZ.mjs → chunk-M7V5YMM2.mjs} +1 -1
- package/dist/{chunk-44FMPRHV.mjs → chunk-MAGZDGUW.mjs} +67 -38
- package/dist/chunk-MV2WCFK7.mjs +1 -0
- package/dist/{chunk-U52FBRJ3.mjs → chunk-NJWXYTBQ.mjs} +1 -1
- package/dist/{chunk-3DCUMRYP.mjs → chunk-NPQBJO6G.mjs} +11 -39
- package/dist/chunk-OK34FKBQ.mjs +224 -0
- package/dist/{chunk-OC5C42CB.mjs → chunk-OPGGL4CG.mjs} +3 -3
- package/dist/{chunk-R2XKPG4K.mjs → chunk-OPSMMRA2.mjs} +1 -1
- package/dist/{chunk-4X35QQTI.mjs → chunk-P4GNXDMO.mjs} +1 -1
- package/dist/{chunk-MTT24BLX.mjs → chunk-PCWANNZ4.mjs} +3 -3
- package/dist/{chunk-V2YH54JQ.mjs → chunk-PXUYPS6M.mjs} +12 -2
- package/dist/chunk-RFHWRBAB.mjs +105 -0
- package/dist/{chunk-EJ4GDC6K.mjs → chunk-S2T4GHJA.mjs} +27 -27
- package/dist/{chunk-5VTYO3RF.mjs → chunk-TBI5O3OL.mjs} +1 -1
- package/dist/{chunk-FZYZSMSS.mjs → chunk-TBRF36RK.mjs} +1 -1
- package/dist/{chunk-Q3KBMVJS.mjs → chunk-TEERNFIT.mjs} +77 -46
- package/dist/{chunk-RH3AHG52.mjs → chunk-V5XX3CGL.mjs} +1 -1
- package/dist/{chunk-6WD32ERF.mjs → chunk-VO2ZIGIK.mjs} +1 -1
- package/dist/{chunk-H6ZQDMYU.mjs → chunk-VOOEH6OJ.mjs} +24 -38
- package/dist/{chunk-ACZ3DQVT.mjs → chunk-VUO5J2OK.mjs} +16 -15
- package/dist/{chunk-RY5VVXQ4.mjs → chunk-WYTAGN2P.mjs} +1 -1
- package/dist/{chunk-NDNIAALB.mjs → chunk-YBDQSEPV.mjs} +17 -18
- package/dist/chunk-Z4NO7SMY.mjs +460 -0
- package/dist/components/accordion/accordion.js +366 -4
- package/dist/components/accordion/accordion.mjs +2 -2
- package/dist/components/accordion/accordionItem.js +366 -4
- package/dist/components/accordion/accordionItem.mjs +2 -2
- package/dist/components/accordion/index.js +366 -4
- package/dist/components/accordion/index.mjs +3 -3
- package/dist/components/avatar/avatar.js +472 -44
- package/dist/components/avatar/avatar.mjs +3 -3
- package/dist/components/avatar/index.js +472 -44
- package/dist/components/avatar/index.mjs +3 -3
- package/dist/components/backdrop/backdrop.js +366 -4
- package/dist/components/backdrop/backdrop.mjs +2 -2
- package/dist/components/backdrop/index.js +366 -4
- package/dist/components/backdrop/index.mjs +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +951 -74
- package/dist/components/breadcrumb/breadcrumb.mjs +10 -9
- package/dist/components/breadcrumb/index.js +951 -74
- package/dist/components/breadcrumb/index.mjs +10 -9
- package/dist/components/button/button-group.js +366 -4
- package/dist/components/button/button-group.mjs +2 -2
- package/dist/components/button/button.d.mts +82 -119
- package/dist/components/button/button.d.ts +82 -119
- package/dist/components/button/button.js +966 -355
- package/dist/components/button/button.mjs +6 -5
- package/dist/components/button/button.style.d.mts +89 -0
- package/dist/components/button/button.style.d.ts +89 -0
- package/dist/components/button/button.style.js +1172 -0
- package/dist/components/button/button.style.mjs +9 -0
- package/dist/components/button/icon-button.d.mts +45 -46
- package/dist/components/button/icon-button.d.ts +45 -46
- package/dist/components/button/icon-button.js +1125 -527
- package/dist/components/button/icon-button.mjs +6 -5
- package/dist/components/button/index.js +1154 -830
- package/dist/components/button/index.mjs +9 -8
- package/dist/components/button/text-button.d.mts +59 -39
- package/dist/components/button/text-button.d.ts +59 -39
- package/dist/components/button/text-button.js +831 -21
- package/dist/components/button/text-button.mjs +3 -2
- package/dist/components/charts/areaChart.js +366 -4
- package/dist/components/charts/areaChart.mjs +2 -2
- package/dist/components/charts/barChart.js +366 -4
- package/dist/components/charts/barChart.mjs +2 -2
- package/dist/components/charts/circularProgress.js +366 -4
- package/dist/components/charts/circularProgress.mjs +2 -2
- package/dist/components/charts/index.js +366 -4
- package/dist/components/charts/index.mjs +6 -6
- package/dist/components/charts/radarChart.js +366 -4
- package/dist/components/charts/radarChart.mjs +2 -2
- package/dist/components/charts/simpleBarChart.js +366 -4
- package/dist/components/charts/simpleBarChart.mjs +2 -2
- package/dist/components/checkbox/checkbox.js +376 -42
- package/dist/components/checkbox/checkbox.mjs +2 -2
- package/dist/components/checkbox/index.js +376 -42
- package/dist/components/checkbox/index.mjs +2 -2
- package/dist/components/chip/chip.d.mts +32 -0
- package/dist/components/chip/chip.d.ts +32 -0
- package/dist/components/chip/chip.js +496 -57
- package/dist/components/chip/chip.mjs +4 -4
- package/dist/components/chip/index.js +496 -57
- package/dist/components/chip/index.mjs +4 -4
- package/dist/components/drawer/drawer.js +366 -4
- package/dist/components/drawer/drawer.mjs +2 -2
- package/dist/components/drawer/index.js +366 -4
- package/dist/components/drawer/index.mjs +2 -2
- package/dist/components/fileUpload/fileUpload.js +1014 -402
- package/dist/components/fileUpload/fileUpload.mjs +12 -11
- package/dist/components/fileUpload/index.js +1014 -402
- package/dist/components/fileUpload/index.mjs +12 -11
- package/dist/components/icon/Icon.d.mts +23 -10
- package/dist/components/icon/Icon.d.ts +23 -10
- package/dist/components/icon/Icon.js +120 -53
- package/dist/components/icon/Icon.mjs +2 -2
- package/dist/components/icon/index.js +120 -53
- package/dist/components/icon/index.mjs +2 -2
- package/dist/components/icon/template.d.mts +5 -2
- package/dist/components/icon/template.d.ts +5 -2
- package/dist/components/icon/template.js +106 -40
- package/dist/components/icon/template.mjs +1 -1
- package/dist/components/input/index.js +511 -82
- package/dist/components/input/index.mjs +4 -4
- package/dist/components/input/input.js +511 -82
- package/dist/components/input/input.mjs +4 -4
- package/dist/components/list/index.js +486 -57
- package/dist/components/list/index.mjs +6 -6
- package/dist/components/list/list.js +366 -4
- package/dist/components/list/list.mjs +2 -2
- package/dist/components/list/listItem.js +486 -57
- package/dist/components/list/listItem.mjs +5 -5
- package/dist/components/modal/GlobalModalProvider.d.mts +2 -0
- package/dist/components/modal/GlobalModalProvider.d.ts +2 -0
- package/dist/components/modal/GlobalModalProvider.js +1028 -416
- package/dist/components/modal/GlobalModalProvider.mjs +12 -11
- package/dist/components/modal/index.d.mts +2 -0
- package/dist/components/modal/index.d.ts +2 -0
- package/dist/components/modal/index.js +1028 -416
- package/dist/components/modal/index.mjs +13 -12
- package/dist/components/modal/modal.d.mts +101 -29
- package/dist/components/modal/modal.d.ts +101 -29
- package/dist/components/modal/modal.js +1028 -416
- package/dist/components/modal/modal.mjs +11 -10
- package/dist/components/modal/useGlobalModal.d.mts +2 -0
- package/dist/components/modal/useGlobalModal.d.ts +2 -0
- package/dist/components/modal/useGlobalModal.mjs +13 -12
- package/dist/components/pagination/index.js +598 -212
- package/dist/components/pagination/index.mjs +5 -5
- package/dist/components/pagination/pagination.js +598 -212
- package/dist/components/pagination/pagination.mjs +5 -5
- package/dist/components/picker/datePicker.js +1029 -705
- package/dist/components/picker/datePicker.mjs +12 -11
- package/dist/components/picker/day.js +366 -4
- package/dist/components/picker/day.mjs +2 -2
- package/dist/components/picker/index.js +1027 -703
- package/dist/components/picker/index.mjs +15 -14
- package/dist/components/picker/timePicker/Panel.js +831 -21
- package/dist/components/picker/timePicker/Panel.mjs +10 -9
- package/dist/components/picker/timePicker/index.js +976 -99
- package/dist/components/picker/timePicker/index.mjs +12 -11
- package/dist/components/progress/index.js +381 -18
- package/dist/components/progress/index.mjs +2 -2
- package/dist/components/progress/progress.d.mts +21 -18
- package/dist/components/progress/progress.d.ts +21 -18
- package/dist/components/progress/progress.js +381 -18
- package/dist/components/progress/progress.mjs +2 -2
- package/dist/components/radio/index.js +389 -41
- package/dist/components/radio/index.mjs +2 -2
- package/dist/components/radio/radio.d.mts +33 -48
- package/dist/components/radio/radio.d.ts +33 -48
- package/dist/components/radio/radio.js +389 -41
- package/dist/components/radio/radio.mjs +2 -2
- package/dist/components/ripple/index.mjs +3 -3
- package/dist/components/select/index.js +819 -221
- package/dist/components/select/index.mjs +10 -9
- package/dist/components/select/select.js +819 -221
- package/dist/components/select/select.mjs +10 -9
- package/dist/components/slider/index.d.mts +4 -0
- package/dist/components/slider/index.d.ts +4 -0
- package/dist/components/slider/index.js +955 -0
- package/dist/components/slider/index.mjs +11 -0
- package/dist/components/slider/slider.d.mts +158 -0
- package/dist/components/slider/slider.d.ts +158 -0
- package/dist/components/slider/slider.js +949 -0
- package/dist/components/slider/slider.mjs +10 -0
- package/dist/components/starRating/index.js +486 -57
- package/dist/components/starRating/index.mjs +4 -4
- package/dist/components/starRating/starRating.js +486 -57
- package/dist/components/starRating/starRating.mjs +4 -4
- package/dist/components/switch/index.js +22 -25
- package/dist/components/switch/index.mjs +1 -1
- package/dist/components/switch/switch.d.mts +0 -18
- package/dist/components/switch/switch.d.ts +0 -18
- package/dist/components/switch/switch.js +22 -25
- package/dist/components/switch/switch.mjs +1 -1
- package/dist/components/table/definition-table.js +366 -4
- package/dist/components/table/definition-table.mjs +2 -2
- package/dist/components/table/form-table.js +366 -4
- package/dist/components/table/form-table.mjs +1 -1
- package/dist/components/table/index.js +679 -291
- package/dist/components/table/index.mjs +10 -10
- package/dist/components/table/table-body.js +679 -291
- package/dist/components/table/table-body.mjs +7 -7
- package/dist/components/table/table-head.js +679 -291
- package/dist/components/table/table-head.mjs +7 -7
- package/dist/components/table/table.d.mts +8 -29
- package/dist/components/table/table.d.ts +8 -29
- package/dist/components/table/table.js +679 -291
- package/dist/components/table/table.mjs +7 -7
- package/dist/components/tabs/index.js +366 -4
- package/dist/components/tabs/index.mjs +2 -2
- package/dist/components/tabs/tabs.js +366 -4
- package/dist/components/tabs/tabs.mjs +2 -2
- package/dist/components/textarea/index.js +67 -38
- package/dist/components/textarea/index.mjs +1 -1
- package/dist/components/textarea/textarea.d.mts +21 -0
- package/dist/components/textarea/textarea.d.ts +21 -0
- package/dist/components/textarea/textarea.js +67 -38
- package/dist/components/textarea/textarea.mjs +1 -1
- package/dist/components/timePicker/calendar.js +486 -57
- package/dist/components/timePicker/calendar.mjs +3 -3
- package/dist/components/toast/index.js +486 -57
- package/dist/components/toast/index.mjs +5 -5
- package/dist/components/toast/toast.js +486 -57
- package/dist/components/toast/toast.mjs +4 -4
- package/dist/components/toast/use-toast.js +486 -57
- package/dist/components/toast/use-toast.mjs +5 -5
- package/dist/components/tooltip/index.js +366 -4
- package/dist/components/tooltip/index.mjs +2 -2
- package/dist/components/tooltip/tooltip.js +366 -4
- package/dist/components/tooltip/tooltip.mjs +2 -2
- package/dist/components/tree/index.js +486 -57
- package/dist/components/tree/index.mjs +4 -4
- package/dist/components/tree/tree.js +486 -57
- package/dist/components/tree/tree.mjs +4 -4
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1705 -1281
- package/dist/index.mjs +76 -70
- package/dist/utils/tailwind-variants.js +366 -4
- package/dist/utils/tailwind-variants.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-6AID2NLT.mjs +0 -37
- package/dist/chunk-BBRO35V3.mjs +0 -385
- package/dist/chunk-EVJ46M3U.mjs +0 -141
- package/dist/chunk-SKX5QPUD.mjs +0 -482
|
@@ -17,192 +17,155 @@ type ButtonProps = Props & ButtonVariantProps;
|
|
|
17
17
|
declare const Button: react.ForwardRefExoticComponent<Props & ButtonVariantProps & react.RefAttributes<HTMLButtonElement>>;
|
|
18
18
|
|
|
19
19
|
declare const buttonStyle: tailwind_variants.TVReturnType<{
|
|
20
|
-
variant: {
|
|
21
|
-
solid: string;
|
|
22
|
-
soft: string;
|
|
23
|
-
outline: string;
|
|
24
|
-
ghost: string;
|
|
25
|
-
};
|
|
26
|
-
color: {
|
|
27
|
-
primary: string;
|
|
28
|
-
secondary: string;
|
|
29
|
-
neutral: string;
|
|
30
|
-
info: string;
|
|
31
|
-
success: string;
|
|
32
|
-
warning: string;
|
|
33
|
-
danger: string;
|
|
34
|
-
};
|
|
35
20
|
size: {
|
|
36
21
|
sm: {
|
|
37
|
-
base: string;
|
|
22
|
+
base: string[];
|
|
38
23
|
};
|
|
39
24
|
md: {
|
|
40
|
-
base: string;
|
|
25
|
+
base: string[];
|
|
41
26
|
};
|
|
42
27
|
lg: {
|
|
43
|
-
base: string;
|
|
28
|
+
base: string[];
|
|
44
29
|
};
|
|
45
30
|
xl: {
|
|
46
|
-
base: string;
|
|
31
|
+
base: string[];
|
|
47
32
|
};
|
|
48
33
|
};
|
|
49
34
|
radius: {
|
|
50
35
|
default: {
|
|
51
|
-
base:
|
|
36
|
+
base: never[];
|
|
52
37
|
};
|
|
53
38
|
full: {
|
|
54
|
-
base: string;
|
|
39
|
+
base: string[];
|
|
55
40
|
};
|
|
56
41
|
none: {
|
|
57
|
-
base: string;
|
|
42
|
+
base: string[];
|
|
58
43
|
};
|
|
59
44
|
};
|
|
60
45
|
full: {
|
|
61
46
|
true: {
|
|
62
|
-
base: string;
|
|
47
|
+
base: string[];
|
|
63
48
|
};
|
|
64
49
|
};
|
|
65
50
|
isLoading: {
|
|
66
51
|
true: {};
|
|
67
52
|
};
|
|
53
|
+
}, {
|
|
54
|
+
base: string[];
|
|
55
|
+
content: never[];
|
|
56
|
+
}, undefined, {
|
|
57
|
+
variant: {
|
|
58
|
+
solid: never[];
|
|
59
|
+
soft: never[];
|
|
60
|
+
outline: never[];
|
|
61
|
+
ghost: never[];
|
|
62
|
+
};
|
|
63
|
+
color: {
|
|
64
|
+
primary: never[];
|
|
65
|
+
secondary: never[];
|
|
66
|
+
neutral: never[];
|
|
67
|
+
info: never[];
|
|
68
|
+
success: never[];
|
|
69
|
+
warning: never[];
|
|
70
|
+
danger: never[];
|
|
71
|
+
};
|
|
68
72
|
disabled: {
|
|
69
73
|
true: {
|
|
70
|
-
base: string;
|
|
74
|
+
base: string[];
|
|
71
75
|
};
|
|
72
76
|
};
|
|
73
77
|
isInGroup: {
|
|
74
78
|
true: {
|
|
75
|
-
base: string;
|
|
79
|
+
base: string[];
|
|
76
80
|
};
|
|
77
81
|
};
|
|
78
82
|
}, {
|
|
79
|
-
base: string;
|
|
80
|
-
|
|
81
|
-
}, undefined, {
|
|
83
|
+
base: string[];
|
|
84
|
+
}, tailwind_variants.TVReturnType<{
|
|
82
85
|
variant: {
|
|
83
|
-
solid:
|
|
84
|
-
soft:
|
|
85
|
-
outline:
|
|
86
|
-
ghost:
|
|
86
|
+
solid: never[];
|
|
87
|
+
soft: never[];
|
|
88
|
+
outline: never[];
|
|
89
|
+
ghost: never[];
|
|
87
90
|
};
|
|
88
91
|
color: {
|
|
89
|
-
primary:
|
|
90
|
-
secondary:
|
|
91
|
-
neutral:
|
|
92
|
-
info:
|
|
93
|
-
success:
|
|
94
|
-
warning:
|
|
95
|
-
danger:
|
|
96
|
-
};
|
|
97
|
-
size: {
|
|
98
|
-
sm: {
|
|
99
|
-
base: string;
|
|
100
|
-
};
|
|
101
|
-
md: {
|
|
102
|
-
base: string;
|
|
103
|
-
};
|
|
104
|
-
lg: {
|
|
105
|
-
base: string;
|
|
106
|
-
};
|
|
107
|
-
xl: {
|
|
108
|
-
base: string;
|
|
109
|
-
};
|
|
92
|
+
primary: never[];
|
|
93
|
+
secondary: never[];
|
|
94
|
+
neutral: never[];
|
|
95
|
+
info: never[];
|
|
96
|
+
success: never[];
|
|
97
|
+
warning: never[];
|
|
98
|
+
danger: never[];
|
|
110
99
|
};
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
base: string;
|
|
114
|
-
};
|
|
115
|
-
full: {
|
|
116
|
-
base: string;
|
|
117
|
-
};
|
|
118
|
-
none: {
|
|
119
|
-
base: string;
|
|
100
|
+
disabled: {
|
|
101
|
+
true: {
|
|
102
|
+
base: string[];
|
|
120
103
|
};
|
|
121
104
|
};
|
|
122
|
-
|
|
105
|
+
isInGroup: {
|
|
123
106
|
true: {
|
|
124
|
-
base: string;
|
|
107
|
+
base: string[];
|
|
125
108
|
};
|
|
126
109
|
};
|
|
127
|
-
|
|
128
|
-
|
|
110
|
+
}, {
|
|
111
|
+
base: string[];
|
|
112
|
+
}, undefined, {
|
|
113
|
+
variant: {
|
|
114
|
+
solid: never[];
|
|
115
|
+
soft: never[];
|
|
116
|
+
outline: never[];
|
|
117
|
+
ghost: never[];
|
|
118
|
+
};
|
|
119
|
+
color: {
|
|
120
|
+
primary: never[];
|
|
121
|
+
secondary: never[];
|
|
122
|
+
neutral: never[];
|
|
123
|
+
info: never[];
|
|
124
|
+
success: never[];
|
|
125
|
+
warning: never[];
|
|
126
|
+
danger: never[];
|
|
129
127
|
};
|
|
130
128
|
disabled: {
|
|
131
129
|
true: {
|
|
132
|
-
base: string;
|
|
130
|
+
base: string[];
|
|
133
131
|
};
|
|
134
132
|
};
|
|
135
133
|
isInGroup: {
|
|
136
134
|
true: {
|
|
137
|
-
base: string;
|
|
135
|
+
base: string[];
|
|
138
136
|
};
|
|
139
137
|
};
|
|
140
138
|
}, {
|
|
141
|
-
base: string;
|
|
142
|
-
content: string;
|
|
139
|
+
base: string[];
|
|
143
140
|
}, tailwind_variants.TVReturnType<{
|
|
144
141
|
variant: {
|
|
145
|
-
solid:
|
|
146
|
-
soft:
|
|
147
|
-
outline:
|
|
148
|
-
ghost:
|
|
142
|
+
solid: never[];
|
|
143
|
+
soft: never[];
|
|
144
|
+
outline: never[];
|
|
145
|
+
ghost: never[];
|
|
149
146
|
};
|
|
150
147
|
color: {
|
|
151
|
-
primary:
|
|
152
|
-
secondary:
|
|
153
|
-
neutral:
|
|
154
|
-
info:
|
|
155
|
-
success:
|
|
156
|
-
warning:
|
|
157
|
-
danger:
|
|
158
|
-
};
|
|
159
|
-
size: {
|
|
160
|
-
sm: {
|
|
161
|
-
base: string;
|
|
162
|
-
};
|
|
163
|
-
md: {
|
|
164
|
-
base: string;
|
|
165
|
-
};
|
|
166
|
-
lg: {
|
|
167
|
-
base: string;
|
|
168
|
-
};
|
|
169
|
-
xl: {
|
|
170
|
-
base: string;
|
|
171
|
-
};
|
|
172
|
-
};
|
|
173
|
-
radius: {
|
|
174
|
-
default: {
|
|
175
|
-
base: string;
|
|
176
|
-
};
|
|
177
|
-
full: {
|
|
178
|
-
base: string;
|
|
179
|
-
};
|
|
180
|
-
none: {
|
|
181
|
-
base: string;
|
|
182
|
-
};
|
|
183
|
-
};
|
|
184
|
-
full: {
|
|
185
|
-
true: {
|
|
186
|
-
base: string;
|
|
187
|
-
};
|
|
188
|
-
};
|
|
189
|
-
isLoading: {
|
|
190
|
-
true: {};
|
|
148
|
+
primary: never[];
|
|
149
|
+
secondary: never[];
|
|
150
|
+
neutral: never[];
|
|
151
|
+
info: never[];
|
|
152
|
+
success: never[];
|
|
153
|
+
warning: never[];
|
|
154
|
+
danger: never[];
|
|
191
155
|
};
|
|
192
156
|
disabled: {
|
|
193
157
|
true: {
|
|
194
|
-
base: string;
|
|
158
|
+
base: string[];
|
|
195
159
|
};
|
|
196
160
|
};
|
|
197
161
|
isInGroup: {
|
|
198
162
|
true: {
|
|
199
|
-
base: string;
|
|
163
|
+
base: string[];
|
|
200
164
|
};
|
|
201
165
|
};
|
|
202
166
|
}, {
|
|
203
|
-
base: string;
|
|
204
|
-
|
|
205
|
-
}, undefined, unknown, unknown, undefined>>;
|
|
167
|
+
base: string[];
|
|
168
|
+
}, undefined, unknown, unknown, undefined>>>;
|
|
206
169
|
type ButtonVariantProps = VariantProps<typeof buttonStyle>;
|
|
207
170
|
type ButtonSlots = keyof ReturnType<typeof buttonStyle>;
|
|
208
171
|
type ButtonReturnType = ReturnType<typeof buttonStyle>;
|
|
@@ -17,192 +17,155 @@ type ButtonProps = Props & ButtonVariantProps;
|
|
|
17
17
|
declare const Button: react.ForwardRefExoticComponent<Props & ButtonVariantProps & react.RefAttributes<HTMLButtonElement>>;
|
|
18
18
|
|
|
19
19
|
declare const buttonStyle: tailwind_variants.TVReturnType<{
|
|
20
|
-
variant: {
|
|
21
|
-
solid: string;
|
|
22
|
-
soft: string;
|
|
23
|
-
outline: string;
|
|
24
|
-
ghost: string;
|
|
25
|
-
};
|
|
26
|
-
color: {
|
|
27
|
-
primary: string;
|
|
28
|
-
secondary: string;
|
|
29
|
-
neutral: string;
|
|
30
|
-
info: string;
|
|
31
|
-
success: string;
|
|
32
|
-
warning: string;
|
|
33
|
-
danger: string;
|
|
34
|
-
};
|
|
35
20
|
size: {
|
|
36
21
|
sm: {
|
|
37
|
-
base: string;
|
|
22
|
+
base: string[];
|
|
38
23
|
};
|
|
39
24
|
md: {
|
|
40
|
-
base: string;
|
|
25
|
+
base: string[];
|
|
41
26
|
};
|
|
42
27
|
lg: {
|
|
43
|
-
base: string;
|
|
28
|
+
base: string[];
|
|
44
29
|
};
|
|
45
30
|
xl: {
|
|
46
|
-
base: string;
|
|
31
|
+
base: string[];
|
|
47
32
|
};
|
|
48
33
|
};
|
|
49
34
|
radius: {
|
|
50
35
|
default: {
|
|
51
|
-
base:
|
|
36
|
+
base: never[];
|
|
52
37
|
};
|
|
53
38
|
full: {
|
|
54
|
-
base: string;
|
|
39
|
+
base: string[];
|
|
55
40
|
};
|
|
56
41
|
none: {
|
|
57
|
-
base: string;
|
|
42
|
+
base: string[];
|
|
58
43
|
};
|
|
59
44
|
};
|
|
60
45
|
full: {
|
|
61
46
|
true: {
|
|
62
|
-
base: string;
|
|
47
|
+
base: string[];
|
|
63
48
|
};
|
|
64
49
|
};
|
|
65
50
|
isLoading: {
|
|
66
51
|
true: {};
|
|
67
52
|
};
|
|
53
|
+
}, {
|
|
54
|
+
base: string[];
|
|
55
|
+
content: never[];
|
|
56
|
+
}, undefined, {
|
|
57
|
+
variant: {
|
|
58
|
+
solid: never[];
|
|
59
|
+
soft: never[];
|
|
60
|
+
outline: never[];
|
|
61
|
+
ghost: never[];
|
|
62
|
+
};
|
|
63
|
+
color: {
|
|
64
|
+
primary: never[];
|
|
65
|
+
secondary: never[];
|
|
66
|
+
neutral: never[];
|
|
67
|
+
info: never[];
|
|
68
|
+
success: never[];
|
|
69
|
+
warning: never[];
|
|
70
|
+
danger: never[];
|
|
71
|
+
};
|
|
68
72
|
disabled: {
|
|
69
73
|
true: {
|
|
70
|
-
base: string;
|
|
74
|
+
base: string[];
|
|
71
75
|
};
|
|
72
76
|
};
|
|
73
77
|
isInGroup: {
|
|
74
78
|
true: {
|
|
75
|
-
base: string;
|
|
79
|
+
base: string[];
|
|
76
80
|
};
|
|
77
81
|
};
|
|
78
82
|
}, {
|
|
79
|
-
base: string;
|
|
80
|
-
|
|
81
|
-
}, undefined, {
|
|
83
|
+
base: string[];
|
|
84
|
+
}, tailwind_variants.TVReturnType<{
|
|
82
85
|
variant: {
|
|
83
|
-
solid:
|
|
84
|
-
soft:
|
|
85
|
-
outline:
|
|
86
|
-
ghost:
|
|
86
|
+
solid: never[];
|
|
87
|
+
soft: never[];
|
|
88
|
+
outline: never[];
|
|
89
|
+
ghost: never[];
|
|
87
90
|
};
|
|
88
91
|
color: {
|
|
89
|
-
primary:
|
|
90
|
-
secondary:
|
|
91
|
-
neutral:
|
|
92
|
-
info:
|
|
93
|
-
success:
|
|
94
|
-
warning:
|
|
95
|
-
danger:
|
|
96
|
-
};
|
|
97
|
-
size: {
|
|
98
|
-
sm: {
|
|
99
|
-
base: string;
|
|
100
|
-
};
|
|
101
|
-
md: {
|
|
102
|
-
base: string;
|
|
103
|
-
};
|
|
104
|
-
lg: {
|
|
105
|
-
base: string;
|
|
106
|
-
};
|
|
107
|
-
xl: {
|
|
108
|
-
base: string;
|
|
109
|
-
};
|
|
92
|
+
primary: never[];
|
|
93
|
+
secondary: never[];
|
|
94
|
+
neutral: never[];
|
|
95
|
+
info: never[];
|
|
96
|
+
success: never[];
|
|
97
|
+
warning: never[];
|
|
98
|
+
danger: never[];
|
|
110
99
|
};
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
base: string;
|
|
114
|
-
};
|
|
115
|
-
full: {
|
|
116
|
-
base: string;
|
|
117
|
-
};
|
|
118
|
-
none: {
|
|
119
|
-
base: string;
|
|
100
|
+
disabled: {
|
|
101
|
+
true: {
|
|
102
|
+
base: string[];
|
|
120
103
|
};
|
|
121
104
|
};
|
|
122
|
-
|
|
105
|
+
isInGroup: {
|
|
123
106
|
true: {
|
|
124
|
-
base: string;
|
|
107
|
+
base: string[];
|
|
125
108
|
};
|
|
126
109
|
};
|
|
127
|
-
|
|
128
|
-
|
|
110
|
+
}, {
|
|
111
|
+
base: string[];
|
|
112
|
+
}, undefined, {
|
|
113
|
+
variant: {
|
|
114
|
+
solid: never[];
|
|
115
|
+
soft: never[];
|
|
116
|
+
outline: never[];
|
|
117
|
+
ghost: never[];
|
|
118
|
+
};
|
|
119
|
+
color: {
|
|
120
|
+
primary: never[];
|
|
121
|
+
secondary: never[];
|
|
122
|
+
neutral: never[];
|
|
123
|
+
info: never[];
|
|
124
|
+
success: never[];
|
|
125
|
+
warning: never[];
|
|
126
|
+
danger: never[];
|
|
129
127
|
};
|
|
130
128
|
disabled: {
|
|
131
129
|
true: {
|
|
132
|
-
base: string;
|
|
130
|
+
base: string[];
|
|
133
131
|
};
|
|
134
132
|
};
|
|
135
133
|
isInGroup: {
|
|
136
134
|
true: {
|
|
137
|
-
base: string;
|
|
135
|
+
base: string[];
|
|
138
136
|
};
|
|
139
137
|
};
|
|
140
138
|
}, {
|
|
141
|
-
base: string;
|
|
142
|
-
content: string;
|
|
139
|
+
base: string[];
|
|
143
140
|
}, tailwind_variants.TVReturnType<{
|
|
144
141
|
variant: {
|
|
145
|
-
solid:
|
|
146
|
-
soft:
|
|
147
|
-
outline:
|
|
148
|
-
ghost:
|
|
142
|
+
solid: never[];
|
|
143
|
+
soft: never[];
|
|
144
|
+
outline: never[];
|
|
145
|
+
ghost: never[];
|
|
149
146
|
};
|
|
150
147
|
color: {
|
|
151
|
-
primary:
|
|
152
|
-
secondary:
|
|
153
|
-
neutral:
|
|
154
|
-
info:
|
|
155
|
-
success:
|
|
156
|
-
warning:
|
|
157
|
-
danger:
|
|
158
|
-
};
|
|
159
|
-
size: {
|
|
160
|
-
sm: {
|
|
161
|
-
base: string;
|
|
162
|
-
};
|
|
163
|
-
md: {
|
|
164
|
-
base: string;
|
|
165
|
-
};
|
|
166
|
-
lg: {
|
|
167
|
-
base: string;
|
|
168
|
-
};
|
|
169
|
-
xl: {
|
|
170
|
-
base: string;
|
|
171
|
-
};
|
|
172
|
-
};
|
|
173
|
-
radius: {
|
|
174
|
-
default: {
|
|
175
|
-
base: string;
|
|
176
|
-
};
|
|
177
|
-
full: {
|
|
178
|
-
base: string;
|
|
179
|
-
};
|
|
180
|
-
none: {
|
|
181
|
-
base: string;
|
|
182
|
-
};
|
|
183
|
-
};
|
|
184
|
-
full: {
|
|
185
|
-
true: {
|
|
186
|
-
base: string;
|
|
187
|
-
};
|
|
188
|
-
};
|
|
189
|
-
isLoading: {
|
|
190
|
-
true: {};
|
|
148
|
+
primary: never[];
|
|
149
|
+
secondary: never[];
|
|
150
|
+
neutral: never[];
|
|
151
|
+
info: never[];
|
|
152
|
+
success: never[];
|
|
153
|
+
warning: never[];
|
|
154
|
+
danger: never[];
|
|
191
155
|
};
|
|
192
156
|
disabled: {
|
|
193
157
|
true: {
|
|
194
|
-
base: string;
|
|
158
|
+
base: string[];
|
|
195
159
|
};
|
|
196
160
|
};
|
|
197
161
|
isInGroup: {
|
|
198
162
|
true: {
|
|
199
|
-
base: string;
|
|
163
|
+
base: string[];
|
|
200
164
|
};
|
|
201
165
|
};
|
|
202
166
|
}, {
|
|
203
|
-
base: string;
|
|
204
|
-
|
|
205
|
-
}, undefined, unknown, unknown, undefined>>;
|
|
167
|
+
base: string[];
|
|
168
|
+
}, undefined, unknown, unknown, undefined>>>;
|
|
206
169
|
type ButtonVariantProps = VariantProps<typeof buttonStyle>;
|
|
207
170
|
type ButtonSlots = keyof ReturnType<typeof buttonStyle>;
|
|
208
171
|
type ButtonReturnType = ReturnType<typeof buttonStyle>;
|