@chaibuilder/sdk 3.1.26 → 3.1.28
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/{IconPicker-CluS-5Mv.js → IconPicker-6JSublJp.js} +1 -1
- package/dist/{IconPicker-BWE43eMO.cjs → IconPicker-DpQQDK_Q.cjs} +1 -1
- package/dist/{apply-binding-COFSiTeM.js → apply-binding-BwPhgnhk.js} +326 -198
- package/dist/apply-binding-Dblf6wMG.cjs +1 -0
- package/dist/{code-display-BOOy3Lpy.js → code-display-DuH-UOhl.js} +1 -1
- package/dist/{code-display-B1O2gN5f.cjs → code-display-Dw1tAwiJ.cjs} +1 -1
- package/dist/code-editor-DosOD_MJ.cjs +1 -0
- package/dist/{code-editor-TDs5CPAW.js → code-editor-W1Kvc_mp.js} +6 -5
- package/dist/common-functions-B3a4xKt_.cjs +1 -0
- package/dist/common-functions-D2lMFR6K.js +13 -0
- package/dist/core.cjs +1 -1
- package/dist/core.d.ts +13 -2
- package/dist/core.js +3 -3
- package/dist/{css-import-modal-sHoiyimv.js → css-import-modal-CFB2YjDT.js} +1 -1
- package/dist/{css-import-modal-CrlmcFy4.cjs → css-import-modal-bGWZSlqv.cjs} +1 -1
- package/dist/{index-DFvi9z_N.js → index-hrVqQhCa.js} +2853 -2530
- package/dist/index-tOL3lzGY.cjs +154 -0
- package/dist/render.cjs +2 -2
- package/dist/render.d.ts +9 -0
- package/dist/render.js +69 -66
- package/dist/{rte-widget-modal-DX07GFaV.cjs → rte-widget-modal-BFwz3uU8.cjs} +1 -1
- package/dist/{rte-widget-modal-3KfJEwf3.js → rte-widget-modal-DioHGWr7.js} +2 -2
- package/dist/{tooltip-CzZ7Fvt7.cjs → tooltip-Ba1-8jmj.cjs} +1 -1
- package/dist/{tooltip-Bz2MxMHf.js → tooltip-DUosa-uC.js} +83 -83
- package/dist/ui.cjs +1 -1
- package/dist/ui.d.ts +14 -14
- package/dist/ui.js +1 -1
- package/dist/web-blocks.cjs +1 -1
- package/dist/web-blocks.js +1 -1
- package/package.json +3 -2
- package/dist/apply-binding-Dvnd_Vhq.cjs +0 -1
- package/dist/code-editor-B7JGUrWa.cjs +0 -1
- package/dist/common-functions-BGzDsf1z.js +0 -14
- package/dist/common-functions-BZmyleS1.cjs +0 -1
- package/dist/index-C4b6LcwL.cjs +0 -154
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsxs as p, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import * as i from "@radix-ui/react-dropdown-menu";
|
|
3
3
|
import { ChevronRightIcon as D, CheckIcon as S, CircleIcon as I, ChevronDownIcon as k, Cross1Icon as z, MagnifyingGlassIcon as U, ChevronUpIcon as E } from "@radix-ui/react-icons";
|
|
4
4
|
import * as r from "react";
|
|
@@ -26,42 +26,7 @@ import { twMerge as J } from "tailwind-merge";
|
|
|
26
26
|
function s(...a) {
|
|
27
27
|
return J($(a));
|
|
28
28
|
}
|
|
29
|
-
const
|
|
30
|
-
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
31
|
-
{
|
|
32
|
-
variants: {
|
|
33
|
-
variant: {
|
|
34
|
-
default: "bg-primary text-primary-foreground shadow hover:bg-primary/90",
|
|
35
|
-
destructive: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
|
|
36
|
-
outline: "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",
|
|
37
|
-
secondary: "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",
|
|
38
|
-
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
39
|
-
link: "text-primary underline-offset-4 hover:underline"
|
|
40
|
-
},
|
|
41
|
-
size: {
|
|
42
|
-
default: "h-9 px-4 py-2",
|
|
43
|
-
sm: "h-8 rounded-md px-3 text-xs",
|
|
44
|
-
lg: "h-10 rounded-md px-8",
|
|
45
|
-
icon: "h-9 w-9"
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
defaultVariants: {
|
|
49
|
-
variant: "default",
|
|
50
|
-
size: "default"
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
), K = r.forwardRef(
|
|
54
|
-
({ className: a, variant: e, size: t, asChild: n = !1, ...m }, O) => /* @__PURE__ */ o(
|
|
55
|
-
n ? q : "button",
|
|
56
|
-
{
|
|
57
|
-
className: s(T({ variant: e, size: t, className: a })),
|
|
58
|
-
ref: O,
|
|
59
|
-
...m
|
|
60
|
-
}
|
|
61
|
-
)
|
|
62
|
-
);
|
|
63
|
-
K.displayName = "Button";
|
|
64
|
-
const Ma = i.Root, _a = i.Trigger, ja = i.Group, La = i.Portal, Va = i.Sub, Ga = i.RadioGroup, Q = r.forwardRef(({ className: a, inset: e, children: t, ...n }, m) => /* @__PURE__ */ p(
|
|
29
|
+
const Ma = i.Root, _a = i.Trigger, ja = i.Group, La = i.Portal, Va = i.Sub, Ga = i.RadioGroup, K = r.forwardRef(({ className: a, inset: e, children: t, ...n }, m) => /* @__PURE__ */ p(
|
|
65
30
|
i.SubTrigger,
|
|
66
31
|
{
|
|
67
32
|
ref: m,
|
|
@@ -77,8 +42,8 @@ const Ma = i.Root, _a = i.Trigger, ja = i.Group, La = i.Portal, Va = i.Sub, Ga =
|
|
|
77
42
|
]
|
|
78
43
|
}
|
|
79
44
|
));
|
|
80
|
-
|
|
81
|
-
const
|
|
45
|
+
K.displayName = i.SubTrigger.displayName;
|
|
46
|
+
const Q = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
82
47
|
i.SubContent,
|
|
83
48
|
{
|
|
84
49
|
ref: t,
|
|
@@ -89,8 +54,8 @@ const W = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
89
54
|
...e
|
|
90
55
|
}
|
|
91
56
|
));
|
|
92
|
-
|
|
93
|
-
const
|
|
57
|
+
Q.displayName = i.SubContent.displayName;
|
|
58
|
+
const W = r.forwardRef(({ className: a, sideOffset: e = 4, ...t }, n) => /* @__PURE__ */ o(i.Portal, { children: /* @__PURE__ */ o(
|
|
94
59
|
i.Content,
|
|
95
60
|
{
|
|
96
61
|
ref: n,
|
|
@@ -103,8 +68,8 @@ const X = r.forwardRef(({ className: a, sideOffset: e = 4, ...t }, n) => /* @__P
|
|
|
103
68
|
...t
|
|
104
69
|
}
|
|
105
70
|
) }));
|
|
106
|
-
|
|
107
|
-
const
|
|
71
|
+
W.displayName = i.Content.displayName;
|
|
72
|
+
const X = r.forwardRef(({ className: a, inset: e, ...t }, n) => /* @__PURE__ */ o(
|
|
108
73
|
i.Item,
|
|
109
74
|
{
|
|
110
75
|
ref: n,
|
|
@@ -116,8 +81,8 @@ const Y = r.forwardRef(({ className: a, inset: e, ...t }, n) => /* @__PURE__ */
|
|
|
116
81
|
...t
|
|
117
82
|
}
|
|
118
83
|
));
|
|
119
|
-
|
|
120
|
-
const
|
|
84
|
+
X.displayName = i.Item.displayName;
|
|
85
|
+
const Y = r.forwardRef(({ className: a, children: e, checked: t, ...n }, m) => /* @__PURE__ */ p(
|
|
121
86
|
i.CheckboxItem,
|
|
122
87
|
{
|
|
123
88
|
ref: m,
|
|
@@ -133,8 +98,8 @@ const Z = r.forwardRef(({ className: a, children: e, checked: t, ...n }, m) => /
|
|
|
133
98
|
]
|
|
134
99
|
}
|
|
135
100
|
));
|
|
136
|
-
|
|
137
|
-
const
|
|
101
|
+
Y.displayName = i.CheckboxItem.displayName;
|
|
102
|
+
const Z = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ p(
|
|
138
103
|
i.RadioItem,
|
|
139
104
|
{
|
|
140
105
|
ref: n,
|
|
@@ -149,8 +114,8 @@ const ee = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__
|
|
|
149
114
|
]
|
|
150
115
|
}
|
|
151
116
|
));
|
|
152
|
-
|
|
153
|
-
const
|
|
117
|
+
Z.displayName = i.RadioItem.displayName;
|
|
118
|
+
const ee = r.forwardRef(({ className: a, inset: e, ...t }, n) => /* @__PURE__ */ o(
|
|
154
119
|
i.Label,
|
|
155
120
|
{
|
|
156
121
|
ref: n,
|
|
@@ -158,12 +123,12 @@ const ae = r.forwardRef(({ className: a, inset: e, ...t }, n) => /* @__PURE__ */
|
|
|
158
123
|
...t
|
|
159
124
|
}
|
|
160
125
|
));
|
|
161
|
-
|
|
162
|
-
const
|
|
163
|
-
|
|
164
|
-
const
|
|
165
|
-
|
|
166
|
-
const Ha = b.Root,
|
|
126
|
+
ee.displayName = i.Label.displayName;
|
|
127
|
+
const ae = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(i.Separator, { ref: t, className: s("-mx-1 my-1 h-px bg-muted", a), ...e }));
|
|
128
|
+
ae.displayName = i.Separator.displayName;
|
|
129
|
+
const te = ({ className: a, ...e }) => /* @__PURE__ */ o("span", { className: s("ml-auto text-xs tracking-widest opacity-60", a), ...e });
|
|
130
|
+
te.displayName = "DropdownMenuShortcut";
|
|
131
|
+
const Ha = b.Root, oe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
167
132
|
b.Item,
|
|
168
133
|
{
|
|
169
134
|
ref: t,
|
|
@@ -171,8 +136,8 @@ const Ha = b.Root, se = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__
|
|
|
171
136
|
...e
|
|
172
137
|
}
|
|
173
138
|
));
|
|
174
|
-
|
|
175
|
-
const
|
|
139
|
+
oe.displayName = "AccordionItem";
|
|
140
|
+
const se = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ o(b.Header, { className: "flex", children: /* @__PURE__ */ p(
|
|
176
141
|
b.Trigger,
|
|
177
142
|
{
|
|
178
143
|
ref: n,
|
|
@@ -187,8 +152,8 @@ const re = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__
|
|
|
187
152
|
]
|
|
188
153
|
}
|
|
189
154
|
) }));
|
|
190
|
-
|
|
191
|
-
const
|
|
155
|
+
se.displayName = b.Trigger.displayName;
|
|
156
|
+
const re = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ o(
|
|
192
157
|
b.Content,
|
|
193
158
|
{
|
|
194
159
|
ref: n,
|
|
@@ -197,8 +162,8 @@ const ne = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__
|
|
|
197
162
|
children: /* @__PURE__ */ o("div", { className: s("pb-4 pt-0", a), children: e })
|
|
198
163
|
}
|
|
199
164
|
));
|
|
200
|
-
|
|
201
|
-
const
|
|
165
|
+
re.displayName = b.Content.displayName;
|
|
166
|
+
const ne = N(
|
|
202
167
|
"relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",
|
|
203
168
|
{
|
|
204
169
|
variants: {
|
|
@@ -211,16 +176,51 @@ const de = N(
|
|
|
211
176
|
variant: "default"
|
|
212
177
|
}
|
|
213
178
|
}
|
|
214
|
-
),
|
|
215
|
-
|
|
216
|
-
const
|
|
179
|
+
), de = r.forwardRef(({ className: a, variant: e, ...t }, n) => /* @__PURE__ */ o("div", { ref: n, role: "alert", className: s(ne({ variant: e }), a), ...t }));
|
|
180
|
+
de.displayName = "Alert";
|
|
181
|
+
const ie = r.forwardRef(
|
|
217
182
|
({ className: a, ...e }, t) => /* @__PURE__ */ o("h5", { ref: t, className: s("mb-1 font-medium leading-none tracking-tight", a), ...e })
|
|
218
183
|
);
|
|
219
|
-
|
|
220
|
-
const
|
|
184
|
+
ie.displayName = "AlertTitle";
|
|
185
|
+
const le = r.forwardRef(
|
|
221
186
|
({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("text-sm [&_p]:leading-relaxed", a), ...e })
|
|
222
187
|
);
|
|
223
|
-
|
|
188
|
+
le.displayName = "AlertDescription";
|
|
189
|
+
const T = N(
|
|
190
|
+
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
191
|
+
{
|
|
192
|
+
variants: {
|
|
193
|
+
variant: {
|
|
194
|
+
default: "bg-primary text-primary-foreground shadow hover:bg-primary/90",
|
|
195
|
+
destructive: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
|
|
196
|
+
outline: "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",
|
|
197
|
+
secondary: "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",
|
|
198
|
+
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
199
|
+
link: "text-primary underline-offset-4 hover:underline"
|
|
200
|
+
},
|
|
201
|
+
size: {
|
|
202
|
+
default: "h-9 px-4 py-2",
|
|
203
|
+
sm: "h-8 rounded-md px-3 text-xs",
|
|
204
|
+
lg: "h-10 rounded-md px-8",
|
|
205
|
+
icon: "h-9 w-9"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
defaultVariants: {
|
|
209
|
+
variant: "default",
|
|
210
|
+
size: "default"
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
), ce = r.forwardRef(
|
|
214
|
+
({ className: a, variant: e, size: t, asChild: n = !1, ...m }, O) => /* @__PURE__ */ o(
|
|
215
|
+
n ? q : "button",
|
|
216
|
+
{
|
|
217
|
+
className: s(T({ variant: e, size: t, className: a })),
|
|
218
|
+
ref: O,
|
|
219
|
+
...m
|
|
220
|
+
}
|
|
221
|
+
)
|
|
222
|
+
);
|
|
223
|
+
ce.displayName = "Button";
|
|
224
224
|
const Fa = f.Root, Ba = f.Trigger, me = f.Portal, _ = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
225
225
|
f.Overlay,
|
|
226
226
|
{
|
|
@@ -965,7 +965,7 @@ export {
|
|
|
965
965
|
We as Y,
|
|
966
966
|
Wa as Z,
|
|
967
967
|
Ue as _,
|
|
968
|
-
|
|
968
|
+
oe as a,
|
|
969
969
|
ha as a$,
|
|
970
970
|
Ja as a0,
|
|
971
971
|
Ie as a1,
|
|
@@ -1006,19 +1006,19 @@ export {
|
|
|
1006
1006
|
Na as a_,
|
|
1007
1007
|
Ua as aa,
|
|
1008
1008
|
Ma as ab,
|
|
1009
|
-
|
|
1010
|
-
|
|
1009
|
+
Y as ac,
|
|
1010
|
+
W as ad,
|
|
1011
1011
|
ja as ae,
|
|
1012
|
-
|
|
1013
|
-
|
|
1012
|
+
X as af,
|
|
1013
|
+
ee as ag,
|
|
1014
1014
|
La as ah,
|
|
1015
1015
|
Ga as ai,
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1016
|
+
Z as aj,
|
|
1017
|
+
ae as ak,
|
|
1018
|
+
te as al,
|
|
1019
1019
|
Va as am,
|
|
1020
|
-
|
|
1021
|
-
|
|
1020
|
+
Q as an,
|
|
1021
|
+
K as ao,
|
|
1022
1022
|
_a as ap,
|
|
1023
1023
|
Ya as aq,
|
|
1024
1024
|
Xe as ar,
|
|
@@ -1030,7 +1030,7 @@ export {
|
|
|
1030
1030
|
aa as ax,
|
|
1031
1031
|
at as ay,
|
|
1032
1032
|
ta as az,
|
|
1033
|
-
|
|
1033
|
+
se as b,
|
|
1034
1034
|
ya as b0,
|
|
1035
1035
|
va as b1,
|
|
1036
1036
|
Ca as b2,
|
|
@@ -1040,10 +1040,10 @@ export {
|
|
|
1040
1040
|
mt as b6,
|
|
1041
1041
|
ft as b7,
|
|
1042
1042
|
s as b8,
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1043
|
+
re as c,
|
|
1044
|
+
de as d,
|
|
1045
|
+
le as e,
|
|
1046
|
+
ie as f,
|
|
1047
1047
|
Fa as g,
|
|
1048
1048
|
xe as h,
|
|
1049
1049
|
he as i,
|
|
@@ -1059,7 +1059,7 @@ export {
|
|
|
1059
1059
|
Ne as s,
|
|
1060
1060
|
ve as t,
|
|
1061
1061
|
we as u,
|
|
1062
|
-
|
|
1062
|
+
ce as v,
|
|
1063
1063
|
T as w,
|
|
1064
1064
|
Te as x,
|
|
1065
1065
|
ke as y,
|
package/dist/ui.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./tooltip-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./tooltip-Ba1-8jmj.cjs");exports.Accordion=e.Accordion;exports.AccordionContent=e.AccordionContent;exports.AccordionItem=e.AccordionItem;exports.AccordionTrigger=e.AccordionTrigger;exports.Alert=e.Alert;exports.AlertDescription=e.AlertDescription;exports.AlertDialog=e.AlertDialog;exports.AlertDialogAction=e.AlertDialogAction;exports.AlertDialogCancel=e.AlertDialogCancel;exports.AlertDialogContent=e.AlertDialogContent;exports.AlertDialogDescription=e.AlertDialogDescription;exports.AlertDialogFooter=e.AlertDialogFooter;exports.AlertDialogHeader=e.AlertDialogHeader;exports.AlertDialogOverlay=e.AlertDialogOverlay;exports.AlertDialogPortal=e.AlertDialogPortal;exports.AlertDialogTitle=e.AlertDialogTitle;exports.AlertDialogTrigger=e.AlertDialogTrigger;exports.AlertTitle=e.AlertTitle;exports.Avatar=e.Avatar;exports.AvatarFallback=e.AvatarFallback;exports.AvatarImage=e.AvatarImage;exports.Badge=e.Badge;exports.Button=e.Button;exports.Card=e.Card;exports.CardContent=e.CardContent;exports.CardDescription=e.CardDescription;exports.CardFooter=e.CardFooter;exports.CardHeader=e.CardHeader;exports.CardTitle=e.CardTitle;exports.Command=e.Command;exports.CommandDialog=e.CommandDialog;exports.CommandEmpty=e.CommandEmpty;exports.CommandGroup=e.CommandGroup;exports.CommandInput=e.CommandInput;exports.CommandItem=e.CommandItem;exports.CommandList=e.CommandList;exports.CommandSeparator=e.CommandSeparator;exports.CommandShortcut=e.CommandShortcut;exports.ContextMenu=e.ContextMenu;exports.ContextMenuCheckboxItem=e.ContextMenuCheckboxItem;exports.ContextMenuContent=e.ContextMenuContent;exports.ContextMenuGroup=e.ContextMenuGroup;exports.ContextMenuItem=e.ContextMenuItem;exports.ContextMenuLabel=e.ContextMenuLabel;exports.ContextMenuPortal=e.ContextMenuPortal;exports.ContextMenuRadioGroup=e.ContextMenuRadioGroup;exports.ContextMenuRadioItem=e.ContextMenuRadioItem;exports.ContextMenuSeparator=e.ContextMenuSeparator;exports.ContextMenuShortcut=e.ContextMenuShortcut;exports.ContextMenuSub=e.ContextMenuSub;exports.ContextMenuSubContent=e.ContextMenuSubContent;exports.ContextMenuSubTrigger=e.ContextMenuSubTrigger;exports.ContextMenuTrigger=e.ContextMenuTrigger;exports.Dialog=e.Dialog;exports.DialogClose=e.DialogClose;exports.DialogContent=e.DialogContent;exports.DialogDescription=e.DialogDescription;exports.DialogFooter=e.DialogFooter;exports.DialogHeader=e.DialogHeader;exports.DialogOverlay=e.DialogOverlay;exports.DialogPortal=e.DialogPortal;exports.DialogTitle=e.DialogTitle;exports.DialogTrigger=e.DialogTrigger;exports.DropdownMenu=e.DropdownMenu;exports.DropdownMenuCheckboxItem=e.DropdownMenuCheckboxItem;exports.DropdownMenuContent=e.DropdownMenuContent;exports.DropdownMenuGroup=e.DropdownMenuGroup;exports.DropdownMenuItem=e.DropdownMenuItem;exports.DropdownMenuLabel=e.DropdownMenuLabel;exports.DropdownMenuPortal=e.DropdownMenuPortal;exports.DropdownMenuRadioGroup=e.DropdownMenuRadioGroup;exports.DropdownMenuRadioItem=e.DropdownMenuRadioItem;exports.DropdownMenuSeparator=e.DropdownMenuSeparator;exports.DropdownMenuShortcut=e.DropdownMenuShortcut;exports.DropdownMenuSub=e.DropdownMenuSub;exports.DropdownMenuSubContent=e.DropdownMenuSubContent;exports.DropdownMenuSubTrigger=e.DropdownMenuSubTrigger;exports.DropdownMenuTrigger=e.DropdownMenuTrigger;exports.HoverCard=e.HoverCard;exports.HoverCardContent=e.HoverCardContent;exports.HoverCardTrigger=e.HoverCardTrigger;exports.Input=e.Input;exports.Label=e.Label;exports.Popover=e.Popover;exports.PopoverAnchor=e.PopoverAnchor;exports.PopoverContent=e.PopoverContent;exports.PopoverTrigger=e.PopoverTrigger;exports.ScrollArea=e.ScrollArea;exports.ScrollBar=e.ScrollBar;exports.Select=e.Select;exports.SelectContent=e.SelectContent;exports.SelectGroup=e.SelectGroup;exports.SelectItem=e.SelectItem;exports.SelectLabel=e.SelectLabel;exports.SelectScrollDownButton=e.SelectScrollDownButton;exports.SelectScrollUpButton=e.SelectScrollUpButton;exports.SelectSeparator=e.SelectSeparator;exports.SelectTrigger=e.SelectTrigger;exports.SelectValue=e.SelectValue;exports.Separator=e.Separator;exports.Sheet=e.Sheet;exports.SheetClose=e.SheetClose;exports.SheetContent=e.SheetContent;exports.SheetDescription=e.SheetDescription;exports.SheetFooter=e.SheetFooter;exports.SheetHeader=e.SheetHeader;exports.SheetOverlay=e.SheetOverlay;exports.SheetPortal=e.SheetPortal;exports.SheetTitle=e.SheetTitle;exports.SheetTrigger=e.SheetTrigger;exports.Skeleton=e.Skeleton;exports.Slider=e.Slider;exports.Switch=e.Switch;exports.Tabs=e.Tabs;exports.TabsContent=e.TabsContent;exports.TabsList=e.TabsList;exports.TabsTrigger=e.TabsTrigger;exports.Textarea=e.Textarea;exports.Toggle=e.Toggle;exports.Tooltip=e.Tooltip;exports.TooltipContent=e.TooltipContent;exports.TooltipProvider=e.TooltipProvider;exports.TooltipTrigger=e.TooltipTrigger;exports.badgeVariants=e.badgeVariants;exports.buttonVariants=e.buttonVariants;exports.toggleVariants=e.toggleVariants;
|
package/dist/ui.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export declare const AccordionItem: React_2.ForwardRefExoticComponent<Omit<Accor
|
|
|
30
30
|
export declare const AccordionTrigger: React_2.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
31
31
|
|
|
32
32
|
export declare const Alert: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: {
|
|
33
|
-
variant?: "
|
|
33
|
+
variant?: "destructive" | "default";
|
|
34
34
|
} & ClassProp) => string> & React_2.RefAttributes<HTMLDivElement>>;
|
|
35
35
|
|
|
36
36
|
export declare const AlertDescription: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLParagraphElement> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
@@ -77,7 +77,7 @@ export declare interface BadgeProps extends React_2.HTMLAttributes<HTMLDivElemen
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
export declare const badgeVariants: (props?: {
|
|
80
|
-
variant?: "outline" | "
|
|
80
|
+
variant?: "outline" | "secondary" | "destructive" | "default";
|
|
81
81
|
} & ClassProp) => string;
|
|
82
82
|
|
|
83
83
|
export declare const Button: React_2.ForwardRefExoticComponent<ButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
@@ -87,8 +87,8 @@ export declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLBu
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
export declare const buttonVariants: (props?: {
|
|
90
|
-
variant?: "link" | "outline" | "
|
|
91
|
-
size?: "
|
|
90
|
+
variant?: "link" | "outline" | "secondary" | "destructive" | "default" | "ghost";
|
|
91
|
+
size?: "sm" | "lg" | "default" | "icon";
|
|
92
92
|
} & ClassProp) => string;
|
|
93
93
|
|
|
94
94
|
export declare const Card: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -109,7 +109,7 @@ export declare const Command: React_2.ForwardRefExoticComponent<Omit<{
|
|
|
109
109
|
ref?: React_2.Ref<HTMLDivElement>;
|
|
110
110
|
} & {
|
|
111
111
|
asChild?: boolean;
|
|
112
|
-
}, "
|
|
112
|
+
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
113
113
|
label?: string;
|
|
114
114
|
shouldFilter?: boolean;
|
|
115
115
|
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
@@ -129,7 +129,7 @@ export declare const CommandEmpty: React_2.ForwardRefExoticComponent<Omit<{
|
|
|
129
129
|
ref?: React_2.Ref<HTMLDivElement>;
|
|
130
130
|
} & {
|
|
131
131
|
asChild?: boolean;
|
|
132
|
-
}, "
|
|
132
|
+
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild"> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
133
133
|
|
|
134
134
|
export declare const CommandGroup: React_2.ForwardRefExoticComponent<Omit<{
|
|
135
135
|
children?: React_2.ReactNode;
|
|
@@ -137,7 +137,7 @@ export declare const CommandGroup: React_2.ForwardRefExoticComponent<Omit<{
|
|
|
137
137
|
ref?: React_2.Ref<HTMLDivElement>;
|
|
138
138
|
} & {
|
|
139
139
|
asChild?: boolean;
|
|
140
|
-
}, "
|
|
140
|
+
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild">, "heading" | "value"> & {
|
|
141
141
|
heading?: React_2.ReactNode;
|
|
142
142
|
value?: string;
|
|
143
143
|
forceMount?: boolean;
|
|
@@ -147,7 +147,7 @@ export declare const CommandInput: React_2.ForwardRefExoticComponent<Omit<Omit<P
|
|
|
147
147
|
ref?: React_2.Ref<HTMLInputElement>;
|
|
148
148
|
} & {
|
|
149
149
|
asChild?: boolean;
|
|
150
|
-
}, "
|
|
150
|
+
}, "key" | "asChild" | keyof React_2.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
|
|
151
151
|
value?: string;
|
|
152
152
|
onValueChange?: (search: string) => void;
|
|
153
153
|
} & React_2.RefAttributes<HTMLInputElement>, "ref"> & React_2.RefAttributes<HTMLInputElement>>;
|
|
@@ -158,7 +158,7 @@ export declare const CommandItem: React_2.ForwardRefExoticComponent<Omit<{
|
|
|
158
158
|
ref?: React_2.Ref<HTMLDivElement>;
|
|
159
159
|
} & {
|
|
160
160
|
asChild?: boolean;
|
|
161
|
-
}, "
|
|
161
|
+
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
|
|
162
162
|
disabled?: boolean;
|
|
163
163
|
onSelect?: (value: string) => void;
|
|
164
164
|
value?: string;
|
|
@@ -172,7 +172,7 @@ export declare const CommandList: React_2.ForwardRefExoticComponent<Omit<{
|
|
|
172
172
|
ref?: React_2.Ref<HTMLDivElement>;
|
|
173
173
|
} & {
|
|
174
174
|
asChild?: boolean;
|
|
175
|
-
}, "
|
|
175
|
+
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
176
176
|
label?: string;
|
|
177
177
|
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
178
178
|
|
|
@@ -180,7 +180,7 @@ export declare const CommandSeparator: React_2.ForwardRefExoticComponent<Omit<Pi
|
|
|
180
180
|
ref?: React_2.Ref<HTMLDivElement>;
|
|
181
181
|
} & {
|
|
182
182
|
asChild?: boolean;
|
|
183
|
-
}, "
|
|
183
|
+
}, "key" | keyof React_2.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
184
184
|
alwaysRender?: boolean;
|
|
185
185
|
} & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
186
186
|
|
|
@@ -367,7 +367,7 @@ export declare const SheetTitle: React_2.ForwardRefExoticComponent<Omit<DialogPr
|
|
|
367
367
|
export declare const SheetTrigger: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
368
368
|
|
|
369
369
|
declare const sheetVariants: (props?: {
|
|
370
|
-
side?: "
|
|
370
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
371
371
|
} & ClassProp) => string;
|
|
372
372
|
|
|
373
373
|
export declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): JSX.Element;
|
|
@@ -390,12 +390,12 @@ export declare const Textarea: React_2.ForwardRefExoticComponent<Omit<React_2.De
|
|
|
390
390
|
|
|
391
391
|
export declare const Toggle: React_2.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: {
|
|
392
392
|
variant?: "outline" | "default";
|
|
393
|
-
size?: "
|
|
393
|
+
size?: "sm" | "lg" | "default";
|
|
394
394
|
} & ClassProp) => string> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
395
395
|
|
|
396
396
|
export declare const toggleVariants: (props?: {
|
|
397
397
|
variant?: "outline" | "default";
|
|
398
|
-
size?: "
|
|
398
|
+
size?: "sm" | "lg" | "default";
|
|
399
399
|
} & ClassProp) => string;
|
|
400
400
|
|
|
401
401
|
export declare const Tooltip: React_2.FC<TooltipPrimitive.TooltipProps>;
|
package/dist/ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as o, c as t, a as s, b as r, d as n, e as l, g as i, h as g, i as u, j as C, k as d, l as p, m as D, n as S, o as c, p as m, q as M, f as T, r as b, t as A, s as x, B as h, v as w, C as v, x as I, y as P, z as H, D as G, E as L, F as B, G as F, J as k, K as y, H as R, L as V, I as O, N as f, M as E, O as U, P as j, Q as q, R as z, S as J, T as K, U as N, V as Q, W, X, Y, Z, _, $, a0 as aa, a1 as ea, a2 as oa, a3 as ta, a4 as sa, a5 as ra, a6 as na, a7 as la, a8 as ia, a9 as ga, aa as ua, ab as Ca, ac as da, ad as pa, ae as Da, af as Sa, ag as ca, ah as ma, ai as Ma, aj as Ta, ak as ba, al as Aa, am as xa, an as ha, ao as wa, ap as va, aq as Ia, ar as Pa, as as Ha, at as Ga, au as La, av as Ba, aw as Fa, ax as ka, ay as ya, az as Ra, aA as Va, aB as Oa, aC as fa, aD as Ea, aE as Ua, aF as ja, aG as qa, aH as za, aI as Ja, aJ as Ka, aK as Na, aL as Qa, aM as Wa, aN as Xa, aO as Ya, aP as Za, aQ as _a, aR as $a, aS as ae, aT as ee, aU as oe, aV as te, aW as se, aX as re, aY as ne, aZ as le, a_ as ie, a$ as ge, b0 as ue, b1 as Ce, b2 as de, b4 as pe, b5 as De, b6 as Se, b7 as ce, u as me, w as Me, b3 as Te } from "./tooltip-
|
|
1
|
+
import { A as o, c as t, a as s, b as r, d as n, e as l, g as i, h as g, i as u, j as C, k as d, l as p, m as D, n as S, o as c, p as m, q as M, f as T, r as b, t as A, s as x, B as h, v as w, C as v, x as I, y as P, z as H, D as G, E as L, F as B, G as F, J as k, K as y, H as R, L as V, I as O, N as f, M as E, O as U, P as j, Q as q, R as z, S as J, T as K, U as N, V as Q, W, X, Y, Z, _, $, a0 as aa, a1 as ea, a2 as oa, a3 as ta, a4 as sa, a5 as ra, a6 as na, a7 as la, a8 as ia, a9 as ga, aa as ua, ab as Ca, ac as da, ad as pa, ae as Da, af as Sa, ag as ca, ah as ma, ai as Ma, aj as Ta, ak as ba, al as Aa, am as xa, an as ha, ao as wa, ap as va, aq as Ia, ar as Pa, as as Ha, at as Ga, au as La, av as Ba, aw as Fa, ax as ka, ay as ya, az as Ra, aA as Va, aB as Oa, aC as fa, aD as Ea, aE as Ua, aF as ja, aG as qa, aH as za, aI as Ja, aJ as Ka, aK as Na, aL as Qa, aM as Wa, aN as Xa, aO as Ya, aP as Za, aQ as _a, aR as $a, aS as ae, aT as ee, aU as oe, aV as te, aW as se, aX as re, aY as ne, aZ as le, a_ as ie, a$ as ge, b0 as ue, b1 as Ce, b2 as de, b4 as pe, b5 as De, b6 as Se, b7 as ce, u as me, w as Me, b3 as Te } from "./tooltip-DUosa-uC.js";
|
|
2
2
|
export {
|
|
3
3
|
o as Accordion,
|
|
4
4
|
t as AccordionContent,
|