@gv-tech/ui-native 2.29.1 → 2.29.2
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/alert-dialog.d.ts +51 -0
- package/dist/alert-dialog.d.ts.map +1 -0
- package/dist/alert.d.ts +10 -0
- package/dist/alert.d.ts.map +1 -0
- package/dist/breadcrumb.d.ts +6 -25
- package/dist/breadcrumb.d.ts.map +1 -1
- package/dist/button.d.ts +2 -5
- package/dist/button.d.ts.map +1 -1
- package/dist/calendar.d.ts +7 -10
- package/dist/calendar.d.ts.map +1 -1
- package/dist/card.d.ts +13 -0
- package/dist/card.d.ts.map +1 -0
- package/dist/carousel.d.ts +6 -29
- package/dist/carousel.d.ts.map +1 -1
- package/dist/checkbox.d.ts +15 -0
- package/dist/checkbox.d.ts.map +1 -0
- package/dist/context-menu.d.ts +61 -0
- package/dist/context-menu.d.ts.map +1 -0
- package/dist/dialog.d.ts +61 -0
- package/dist/dialog.d.ts.map +1 -0
- package/dist/drawer.d.ts +33 -0
- package/dist/drawer.d.ts.map +1 -0
- package/dist/dropdown-menu.d.ts +60 -0
- package/dist/dropdown-menu.d.ts.map +1 -0
- package/dist/form.d.ts +33 -0
- package/dist/form.d.ts.map +1 -0
- package/dist/hooks/use-theme.d.ts +52 -52
- package/dist/hover-card.d.ts +23 -0
- package/dist/hover-card.d.ts.map +1 -0
- package/dist/input.d.ts +8 -0
- package/dist/input.d.ts.map +1 -0
- package/dist/label.d.ts +9 -0
- package/dist/label.d.ts.map +1 -0
- package/dist/menubar.d.ts +53 -0
- package/dist/menubar.d.ts.map +1 -0
- package/dist/navigation-menu.d.ts +14 -0
- package/dist/navigation-menu.d.ts.map +1 -0
- package/dist/pagination.d.ts +3 -10
- package/dist/pagination.d.ts.map +1 -1
- package/dist/popover.d.ts +9 -0
- package/dist/popover.d.ts.map +1 -0
- package/dist/progress.d.ts +6 -0
- package/dist/progress.d.ts.map +1 -0
- package/dist/radio-group.d.ts +11 -0
- package/dist/radio-group.d.ts.map +1 -0
- package/dist/scroll-area.d.ts +2 -9
- package/dist/scroll-area.d.ts.map +1 -1
- package/dist/search.d.ts +2 -5
- package/dist/search.d.ts.map +1 -1
- package/dist/select.d.ts +59 -0
- package/dist/select.d.ts.map +1 -0
- package/dist/separator.d.ts +9 -0
- package/dist/separator.d.ts.map +1 -0
- package/dist/sheet.d.ts +59 -0
- package/dist/sheet.d.ts.map +1 -0
- package/dist/switch.d.ts +8 -0
- package/dist/switch.d.ts.map +1 -0
- package/dist/table.d.ts +12 -0
- package/dist/table.d.ts.map +1 -0
- package/dist/tabs.d.ts +24 -0
- package/dist/tabs.d.ts.map +1 -0
- package/dist/text.d.ts +13 -0
- package/dist/text.d.ts.map +1 -0
- package/dist/textarea.d.ts +6 -0
- package/dist/textarea.d.ts.map +1 -0
- package/dist/toast.d.ts +35 -0
- package/dist/toast.d.ts.map +1 -0
- package/dist/toggle-group.d.ts +11 -0
- package/dist/toggle-group.d.ts.map +1 -0
- package/dist/toggle.d.ts +8 -0
- package/dist/toggle.d.ts.map +1 -0
- package/dist/tooltip.d.ts +30 -0
- package/dist/tooltip.d.ts.map +1 -0
- package/dist/ui-native.cjs +2 -2
- package/dist/ui-native.esm.js +335 -404
- package/package.json +3 -3
package/dist/ui-native.esm.js
CHANGED
|
@@ -37,23 +37,21 @@ import * as Ke from "@rn-primitives/toggle-group";
|
|
|
37
37
|
import * as G from "@rn-primitives/tooltip";
|
|
38
38
|
import { theme as qe } from "@gv-tech/design-tokens";
|
|
39
39
|
import { cssInterop as Je } from "react-native-css-interop";
|
|
40
|
-
|
|
40
|
+
// src/lib/render-native.tsx
|
|
41
41
|
function K(t, n = f, r = {}) {
|
|
42
42
|
return e.Children.map(t, (e) => typeof e == "string" || typeof e == "number" ? /* @__PURE__ */ v(n, {
|
|
43
43
|
...r,
|
|
44
44
|
children: e
|
|
45
45
|
}) : e);
|
|
46
46
|
}
|
|
47
|
-
|
|
48
|
-
//#region src/lib/utils.ts
|
|
47
|
+
// src/lib/utils.ts
|
|
49
48
|
function q(...e) {
|
|
50
49
|
return ee(b(e));
|
|
51
50
|
}
|
|
52
51
|
function Ye(e) {
|
|
53
52
|
return e.toString().toLowerCase().trim().replace(/\s+/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-");
|
|
54
53
|
}
|
|
55
|
-
|
|
56
|
-
//#region src/accordion.tsx
|
|
54
|
+
// src/accordion.tsx
|
|
57
55
|
var Xe = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(x.Root, {
|
|
58
56
|
ref: n,
|
|
59
57
|
className: q("web:gap-0", e),
|
|
@@ -101,8 +99,7 @@ var et = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ *
|
|
|
101
99
|
})
|
|
102
100
|
}));
|
|
103
101
|
et.displayName = x.Content?.displayName || "AccordionContent";
|
|
104
|
-
|
|
105
|
-
//#region src/alert.tsx
|
|
102
|
+
// src/alert.tsx
|
|
106
103
|
var tt = j("relative w-full rounded-lg border p-4", {
|
|
107
104
|
variants: { variant: {
|
|
108
105
|
default: "bg-background border-border",
|
|
@@ -130,8 +127,7 @@ var it = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(f, {
|
|
|
130
127
|
...t
|
|
131
128
|
}));
|
|
132
129
|
it.displayName = "AlertDescription";
|
|
133
|
-
|
|
134
|
-
//#region src/button.tsx
|
|
130
|
+
// src/button.tsx
|
|
135
131
|
var at = j("flex-row items-center justify-center gap-2 rounded-md transition-colors active:opacity-80", {
|
|
136
132
|
variants: {
|
|
137
133
|
variant: {
|
|
@@ -180,8 +176,7 @@ var at = j("flex-row items-center justify-center gap-2 rounded-md transition-col
|
|
|
180
176
|
children: K(i, f, { className: q(ot({ variant: t })) })
|
|
181
177
|
}));
|
|
182
178
|
J.displayName = "Button";
|
|
183
|
-
|
|
184
|
-
//#region src/alert-dialog.tsx
|
|
179
|
+
// src/alert-dialog.tsx
|
|
185
180
|
var st = M.Root, ct = M.Trigger, lt = M.Portal, ut = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(M.Overlay, {
|
|
186
181
|
style: d.absoluteFill,
|
|
187
182
|
asChild: !0,
|
|
@@ -250,16 +245,14 @@ var _t = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(M.Cancel,
|
|
|
250
245
|
...t
|
|
251
246
|
}));
|
|
252
247
|
_t.displayName = M.Cancel?.displayName || "AlertDialogCancel";
|
|
253
|
-
|
|
254
|
-
//#region src/aspect-ratio.tsx
|
|
248
|
+
// src/aspect-ratio.tsx
|
|
255
249
|
var vt = ({ children: e, className: t, ratio: n = 1 }) => /* @__PURE__ */ v(je.Root, {
|
|
256
250
|
ratio: n,
|
|
257
251
|
className: q("w-full", t),
|
|
258
252
|
children: e
|
|
259
253
|
});
|
|
260
254
|
vt.displayName = "AspectRatio";
|
|
261
|
-
|
|
262
|
-
//#region src/avatar.tsx
|
|
255
|
+
// src/avatar.tsx
|
|
263
256
|
var yt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(N.Root, {
|
|
264
257
|
ref: n,
|
|
265
258
|
className: q("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", e),
|
|
@@ -278,8 +271,7 @@ var xt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(N.Fallbac
|
|
|
278
271
|
...t
|
|
279
272
|
}));
|
|
280
273
|
xt.displayName = N.Fallback?.displayName || "AvatarFallback";
|
|
281
|
-
|
|
282
|
-
//#region src/badge.tsx
|
|
274
|
+
// src/badge.tsx
|
|
283
275
|
var St = j("flex-row items-center rounded-md border px-2 py-0.5", {
|
|
284
276
|
variants: { variant: {
|
|
285
277
|
default: "bg-primary border-transparent",
|
|
@@ -304,8 +296,7 @@ function wt({ className: e, textClassName: t, variant: n, children: r, ...i }) {
|
|
|
304
296
|
children: K(r, f, { className: q(Ct({ variant: n }), t) })
|
|
305
297
|
});
|
|
306
298
|
}
|
|
307
|
-
|
|
308
|
-
//#region src/text.tsx
|
|
299
|
+
// src/text.tsx
|
|
309
300
|
var Tt = e.createContext(void 0), Et = j("text-foreground", {
|
|
310
301
|
variants: { variant: {
|
|
311
302
|
h1: "text-4xl font-extrabold tracking-tight",
|
|
@@ -329,8 +320,7 @@ var Tt = e.createContext(void 0), Et = j("text-foreground", {
|
|
|
329
320
|
children: n
|
|
330
321
|
}));
|
|
331
322
|
Y.displayName = "Text";
|
|
332
|
-
|
|
333
|
-
//#region src/breadcrumb.tsx
|
|
323
|
+
// src/breadcrumb.tsx
|
|
334
324
|
var Dt = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ v(h, {
|
|
335
325
|
ref: r,
|
|
336
326
|
"aria-label": "breadcrumb",
|
|
@@ -391,8 +381,7 @@ var Nt = ({ className: e, children: t, ...n }) => /* @__PURE__ */ v(h, {
|
|
|
391
381
|
})
|
|
392
382
|
});
|
|
393
383
|
Nt.displayName = "BreadcrumbEllipsis";
|
|
394
|
-
|
|
395
|
-
//#region src/calendar.tsx
|
|
384
|
+
// src/calendar.tsx
|
|
396
385
|
var Pt = e.forwardRef(({ className: t, value: n, onChange: r, showOutsideDays: i, ...a }, o) => {
|
|
397
386
|
let [s, c] = e.useState(() => n ?? /* @__PURE__ */ new Date()), [l, u] = e.useState(n);
|
|
398
387
|
return n !== l && (u(n), n && c(n)), /* @__PURE__ */ v(h, {
|
|
@@ -413,8 +402,7 @@ var Pt = e.forwardRef(({ className: t, value: n, onChange: r, showOutsideDays: i
|
|
|
413
402
|
});
|
|
414
403
|
});
|
|
415
404
|
Pt.displayName = "Calendar";
|
|
416
|
-
|
|
417
|
-
//#region src/card.tsx
|
|
405
|
+
// src/card.tsx
|
|
418
406
|
var Ft = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
|
|
419
407
|
ref: n,
|
|
420
408
|
className: q("border-border bg-card rounded-xl border shadow-sm", e),
|
|
@@ -452,8 +440,7 @@ var Bt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
|
|
|
452
440
|
...t
|
|
453
441
|
}));
|
|
454
442
|
Bt.displayName = "CardFooter";
|
|
455
|
-
|
|
456
|
-
//#region src/carousel.tsx
|
|
443
|
+
// src/carousel.tsx
|
|
457
444
|
var Vt = e.createContext(null);
|
|
458
445
|
function Ht() {
|
|
459
446
|
let t = e.useContext(Vt);
|
|
@@ -573,8 +560,7 @@ var qt = e.forwardRef(({ className: e, variant: t = "outline", size: n = "icon",
|
|
|
573
560
|
});
|
|
574
561
|
});
|
|
575
562
|
qt.displayName = "CarouselNext";
|
|
576
|
-
|
|
577
|
-
//#region src/chart.tsx
|
|
563
|
+
// src/chart.tsx
|
|
578
564
|
var Jt = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
579
565
|
className: t,
|
|
580
566
|
children: e
|
|
@@ -592,8 +578,7 @@ var Jt = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
|
592
578
|
})
|
|
593
579
|
}));
|
|
594
580
|
en.displayName = Fe.Root?.displayName || "Checkbox";
|
|
595
|
-
|
|
596
|
-
//#region src/collapsible.tsx
|
|
581
|
+
// src/collapsible.tsx
|
|
597
582
|
var tn = Ie.Root, nn = Ie.Trigger, rn = Ie.Content, an = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
598
583
|
className: t,
|
|
599
584
|
children: K(e)
|
|
@@ -705,8 +690,7 @@ var kn = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ *
|
|
|
705
690
|
children: t
|
|
706
691
|
}));
|
|
707
692
|
kn.displayName = "ContextMenuSubContent";
|
|
708
|
-
|
|
709
|
-
//#region src/dialog.tsx
|
|
693
|
+
// src/dialog.tsx
|
|
710
694
|
var An = F.Root, jn = F.Trigger, Mn = F.Portal, Nn = F.Close, Pn = e.forwardRef(({ className: e, style: t, ...n }, r) => /* @__PURE__ */ v(F.Overlay, {
|
|
711
695
|
style: [{
|
|
712
696
|
position: c.OS === "web" ? "fixed" : "absolute",
|
|
@@ -779,8 +763,7 @@ var zn = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(F.Descrip
|
|
|
779
763
|
...t
|
|
780
764
|
}));
|
|
781
765
|
zn.displayName = F.Description?.displayName || "DialogDescription";
|
|
782
|
-
|
|
783
|
-
//#region src/drawer.tsx
|
|
766
|
+
// src/drawer.tsx
|
|
784
767
|
var Bn = ({ children: e, ...t }) => /* @__PURE__ */ v(F.Root, {
|
|
785
768
|
...t,
|
|
786
769
|
children: e
|
|
@@ -863,8 +846,7 @@ var Yn = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ *
|
|
|
863
846
|
children: K(t)
|
|
864
847
|
}));
|
|
865
848
|
Yn.displayName = "DrawerDescription";
|
|
866
|
-
|
|
867
|
-
//#region src/dropdown-menu.tsx
|
|
849
|
+
// src/dropdown-menu.tsx
|
|
868
850
|
var Xn = I.Root, Zn = I.Trigger, Qn = I.Portal, $n = I.Group, er = I.RadioGroup, tr = I.Sub, nr = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(I.Overlay, {
|
|
869
851
|
style: c.OS === "web" ? void 0 : d.absoluteFill,
|
|
870
852
|
ref: n,
|
|
@@ -969,8 +951,7 @@ var ur = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ *
|
|
|
969
951
|
children: t
|
|
970
952
|
}));
|
|
971
953
|
ur.displayName = "DropdownMenuSubContent";
|
|
972
|
-
|
|
973
|
-
//#region src/label.tsx
|
|
954
|
+
// src/label.tsx
|
|
974
955
|
var dr = e.forwardRef(({ className: e, onPress: t, onLongPress: n, onPressIn: r, onPressOut: i, ...a }, o) => /* @__PURE__ */ v(Ve.Root, {
|
|
975
956
|
className: "web:cursor-default",
|
|
976
957
|
onPress: t,
|
|
@@ -984,8 +965,7 @@ var dr = e.forwardRef(({ className: e, onPress: t, onLongPress: n, onPressIn: r,
|
|
|
984
965
|
})
|
|
985
966
|
}));
|
|
986
967
|
dr.displayName = Ve.Root?.displayName || "Label";
|
|
987
|
-
|
|
988
|
-
//#region src/form.tsx
|
|
968
|
+
// src/form.tsx
|
|
989
969
|
var fr = ze, pr = e.createContext(null), mr = ({ ...e }) => /* @__PURE__ */ v(pr.Provider, {
|
|
990
970
|
value: { name: e.name },
|
|
991
971
|
children: /* @__PURE__ */ v(Re, { ...e })
|
|
@@ -1056,8 +1036,7 @@ var br = e.forwardRef(({ className: e, children: t, ...n }, r) => {
|
|
|
1056
1036
|
}) : null;
|
|
1057
1037
|
});
|
|
1058
1038
|
br.displayName = "FormMessage";
|
|
1059
|
-
|
|
1060
|
-
//#region src/hover-card.tsx
|
|
1039
|
+
// src/hover-card.tsx
|
|
1061
1040
|
var xr = L.Root, Sr = L.Trigger, Cr = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ v(L.Portal, { children: /* @__PURE__ */ v(L.Content, {
|
|
1062
1041
|
ref: r,
|
|
1063
1042
|
className: q("bg-popover text-popover-foreground border-border z-50 w-64 rounded-md border p-4 shadow-md", e),
|
|
@@ -1065,8 +1044,7 @@ var xr = L.Root, Sr = L.Trigger, Cr = e.forwardRef(({ className: e, children: t,
|
|
|
1065
1044
|
children: t
|
|
1066
1045
|
}) }));
|
|
1067
1046
|
Cr.displayName = L.Content?.displayName || "HoverCardContent";
|
|
1068
|
-
|
|
1069
|
-
//#region src/input.tsx
|
|
1047
|
+
// src/input.tsx
|
|
1070
1048
|
var wr = e.forwardRef(({ className: e, placeholderClassName: t, ...n }, r) => /* @__PURE__ */ v(p, {
|
|
1071
1049
|
ref: r,
|
|
1072
1050
|
className: q("border-input text-foreground placeholder:text-muted-foreground focus:border-ring flex h-10 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-sm transition-colors disabled:opacity-50", e),
|
|
@@ -1074,8 +1052,7 @@ var wr = e.forwardRef(({ className: e, placeholderClassName: t, ...n }, r) => /*
|
|
|
1074
1052
|
...n
|
|
1075
1053
|
}));
|
|
1076
1054
|
wr.displayName = "Input";
|
|
1077
|
-
|
|
1078
|
-
//#region src/menubar.tsx
|
|
1055
|
+
// src/menubar.tsx
|
|
1079
1056
|
var Tr = e.forwardRef(({ className: t, children: n, value: r, onValueChange: i, ...a }, o) => {
|
|
1080
1057
|
let [s, c] = e.useState(r || ""), l = r === void 0 ? s : r;
|
|
1081
1058
|
return /* @__PURE__ */ v(R.Root, {
|
|
@@ -1190,8 +1167,7 @@ var Vr = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ *
|
|
|
1190
1167
|
children: t
|
|
1191
1168
|
}));
|
|
1192
1169
|
Vr.displayName = "MenubarSubContent";
|
|
1193
|
-
|
|
1194
|
-
//#region src/navigation-menu.tsx
|
|
1170
|
+
// src/navigation-menu.tsx
|
|
1195
1171
|
var Hr = e.forwardRef(({ className: e, children: t, value: n, onValueChange: r, dir: i, orientation: a, delayDuration: o, skipDelayDuration: s, ...c }, l) => /* @__PURE__ */ v(z.Root, {
|
|
1196
1172
|
ref: l,
|
|
1197
1173
|
value: n,
|
|
@@ -1267,8 +1243,7 @@ var Yr = e.forwardRef(({ className: e, forceMount: t, ...n }, r) => /* @__PURE__
|
|
|
1267
1243
|
children: /* @__PURE__ */ v(h, { className: "bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md" })
|
|
1268
1244
|
}));
|
|
1269
1245
|
Yr.displayName = "NavigationMenuIndicator";
|
|
1270
|
-
|
|
1271
|
-
//#region src/pagination.tsx
|
|
1246
|
+
// src/pagination.tsx
|
|
1272
1247
|
var Xr = ({ className: e, children: t, ...n }) => /* @__PURE__ */ v(h, {
|
|
1273
1248
|
role: "navigation",
|
|
1274
1249
|
"aria-label": "pagination",
|
|
@@ -1340,8 +1315,7 @@ var ni = ({ className: e, ...t }) => /* @__PURE__ */ v(h, {
|
|
|
1340
1315
|
})
|
|
1341
1316
|
});
|
|
1342
1317
|
ni.displayName = "PaginationEllipsis";
|
|
1343
|
-
|
|
1344
|
-
//#region src/popover.tsx
|
|
1318
|
+
// src/popover.tsx
|
|
1345
1319
|
var ri = e.createContext({
|
|
1346
1320
|
open: !1,
|
|
1347
1321
|
setOpen: () => {}
|
|
@@ -1401,8 +1375,7 @@ var si = e.forwardRef(({ className: t, children: n, ...r }, i) => {
|
|
|
1401
1375
|
});
|
|
1402
1376
|
});
|
|
1403
1377
|
si.displayName = "PopoverContent";
|
|
1404
|
-
|
|
1405
|
-
//#region src/progress.tsx
|
|
1378
|
+
// src/progress.tsx
|
|
1406
1379
|
var ci = e.forwardRef(({ className: e, value: t, ...n }, r) => /* @__PURE__ */ v(h, {
|
|
1407
1380
|
ref: r,
|
|
1408
1381
|
className: q("bg-muted relative h-2 w-full overflow-hidden rounded-full", e),
|
|
@@ -1414,8 +1387,7 @@ var ci = e.forwardRef(({ className: e, value: t, ...n }, r) => /* @__PURE__ */ v
|
|
|
1414
1387
|
})
|
|
1415
1388
|
}));
|
|
1416
1389
|
ci.displayName = "Progress";
|
|
1417
|
-
|
|
1418
|
-
//#region src/radio-group.tsx
|
|
1390
|
+
// src/radio-group.tsx
|
|
1419
1391
|
var li = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(B.Root, {
|
|
1420
1392
|
className: q("web:grid gap-2", e),
|
|
1421
1393
|
...t,
|
|
@@ -1432,8 +1404,7 @@ var ui = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(B.Item, {
|
|
|
1432
1404
|
})
|
|
1433
1405
|
}));
|
|
1434
1406
|
ui.displayName = B.Item?.displayName || "RadioGroupItem";
|
|
1435
|
-
|
|
1436
|
-
//#region src/resizable.tsx
|
|
1407
|
+
// src/resizable.tsx
|
|
1437
1408
|
var di = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
1438
1409
|
className: t,
|
|
1439
1410
|
children: e
|
|
@@ -1449,21 +1420,18 @@ var di = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
|
1449
1420
|
children: /* @__PURE__ */ v(h, { children: e })
|
|
1450
1421
|
}));
|
|
1451
1422
|
mi.displayName = "ScrollArea";
|
|
1452
|
-
|
|
1453
|
-
hi
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
let [i, a] = e.useState(!1), o = n !== void 0;
|
|
1423
|
+
// src/search.tsx
|
|
1424
|
+
function hi({ children: t, open: n, onOpenChange: r }) {
|
|
1425
|
+
let [i, a] = e.useState(!1), o = n !== void 0, s = o ? n : i, c = e.useCallback((e) => {
|
|
1426
|
+
o ? r?.(e) : a(e);
|
|
1427
|
+
}, [o, r]);
|
|
1458
1428
|
return /* @__PURE__ */ v(An, {
|
|
1459
|
-
open:
|
|
1460
|
-
onOpenChange:
|
|
1461
|
-
o ? r?.(e) : a(e);
|
|
1462
|
-
}, [o, r]),
|
|
1429
|
+
open: s,
|
|
1430
|
+
onOpenChange: c,
|
|
1463
1431
|
children: t
|
|
1464
1432
|
});
|
|
1465
1433
|
}
|
|
1466
|
-
var
|
|
1434
|
+
var gi = e.forwardRef(({ className: e, placeholder: t, variant: n = "default", responsive: r = !1, ...i }, a) => {
|
|
1467
1435
|
let o = t || (n === "compact" ? "Search..." : "Search docs...");
|
|
1468
1436
|
return /* @__PURE__ */ y(J, {
|
|
1469
1437
|
variant: "outline",
|
|
@@ -1488,17 +1456,16 @@ var _i = e.forwardRef(({ className: e, placeholder: t, variant: n = "default", r
|
|
|
1488
1456
|
})]
|
|
1489
1457
|
});
|
|
1490
1458
|
});
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
var vi = V.Root, yi = V.Group, bi = e.forwardRef(({ className: e, placeholder: t, ...n }, r) => /* @__PURE__ */ v(V.Value, {
|
|
1459
|
+
gi.displayName = "SearchTrigger";
|
|
1460
|
+
// src/select.tsx
|
|
1461
|
+
var _i = V.Root, vi = V.Group, yi = e.forwardRef(({ className: e, placeholder: t, ...n }, r) => /* @__PURE__ */ v(V.Value, {
|
|
1495
1462
|
ref: r,
|
|
1496
1463
|
className: q("text-foreground native:text-base text-sm", e),
|
|
1497
1464
|
placeholder: typeof t == "string" ? t : "",
|
|
1498
1465
|
...n
|
|
1499
1466
|
}));
|
|
1500
|
-
|
|
1501
|
-
var
|
|
1467
|
+
yi.displayName = V.Value?.displayName || "SelectValue";
|
|
1468
|
+
var bi = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ y(V.Trigger, {
|
|
1502
1469
|
ref: r,
|
|
1503
1470
|
className: q("native:h-12 border-input bg-background text-muted-foreground web:ring-offset-background web:focus:outline-none web:focus:ring-2 web:focus:ring-ring web:focus:ring-offset-2 flex h-10 flex-row items-center justify-between rounded-md border px-3 py-2 text-sm [&>span]:line-clamp-1", n.disabled && "web:cursor-not-allowed opacity-50", e),
|
|
1504
1471
|
...n,
|
|
@@ -1508,8 +1475,8 @@ var xi = e.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ *
|
|
|
1508
1475
|
className: "text-foreground opacity-50"
|
|
1509
1476
|
})]
|
|
1510
1477
|
}));
|
|
1511
|
-
|
|
1512
|
-
var
|
|
1478
|
+
bi.displayName = V.Trigger?.displayName || "SelectTrigger";
|
|
1479
|
+
var xi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(V.ScrollUpButton, {
|
|
1513
1480
|
ref: n,
|
|
1514
1481
|
className: q("flex cursor-default items-center justify-center py-1", e),
|
|
1515
1482
|
...t,
|
|
@@ -1518,8 +1485,8 @@ var Si = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(V.ScrollU
|
|
|
1518
1485
|
className: "text-foreground"
|
|
1519
1486
|
})
|
|
1520
1487
|
}));
|
|
1521
|
-
|
|
1522
|
-
var
|
|
1488
|
+
xi.displayName = V.ScrollUpButton?.displayName || "SelectScrollUpButton";
|
|
1489
|
+
var Si = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(V.ScrollDownButton, {
|
|
1523
1490
|
ref: n,
|
|
1524
1491
|
className: q("flex cursor-default items-center justify-center py-1", e),
|
|
1525
1492
|
...t,
|
|
@@ -1528,8 +1495,8 @@ var Ci = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(V.ScrollD
|
|
|
1528
1495
|
className: "text-foreground"
|
|
1529
1496
|
})
|
|
1530
1497
|
}));
|
|
1531
|
-
|
|
1532
|
-
var
|
|
1498
|
+
Si.displayName = V.ScrollDownButton?.displayName || "SelectScrollDownButton";
|
|
1499
|
+
var Ci = e.forwardRef(({ className: e, children: t, position: n = "popper", portalHost: r, overlayClassName: i, overlayStyle: a, ...o }, s) => {
|
|
1533
1500
|
let { open: l } = V.useRootContext();
|
|
1534
1501
|
return /* @__PURE__ */ y(V.Portal, {
|
|
1535
1502
|
hostName: r,
|
|
@@ -1546,24 +1513,24 @@ var wi = e.forwardRef(({ className: e, children: t, position: n = "popper", port
|
|
|
1546
1513
|
position: n,
|
|
1547
1514
|
...o,
|
|
1548
1515
|
children: [
|
|
1549
|
-
/* @__PURE__ */ v(
|
|
1516
|
+
/* @__PURE__ */ v(xi, {}),
|
|
1550
1517
|
/* @__PURE__ */ v(V.Viewport, {
|
|
1551
1518
|
className: q("p-1", n === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),
|
|
1552
1519
|
children: t
|
|
1553
1520
|
}),
|
|
1554
|
-
/* @__PURE__ */ v(
|
|
1521
|
+
/* @__PURE__ */ v(Si, {})
|
|
1555
1522
|
]
|
|
1556
1523
|
})]
|
|
1557
1524
|
});
|
|
1558
1525
|
});
|
|
1559
|
-
|
|
1560
|
-
var
|
|
1526
|
+
Ci.displayName = V.Content?.displayName || "SelectContent";
|
|
1527
|
+
var wi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(V.Label, {
|
|
1561
1528
|
ref: n,
|
|
1562
1529
|
className: q("text-foreground py-1.5 pr-2 pl-8 text-sm font-semibold", e),
|
|
1563
1530
|
...t
|
|
1564
1531
|
}));
|
|
1565
|
-
|
|
1566
|
-
var
|
|
1532
|
+
wi.displayName = V.Label?.displayName || "SelectLabel";
|
|
1533
|
+
var Ti = e.forwardRef(({ className: e, children: t, label: n, ...r }, i) => {
|
|
1567
1534
|
let a = n || (typeof t == "string" ? t : "");
|
|
1568
1535
|
return /* @__PURE__ */ y(V.Item, {
|
|
1569
1536
|
ref: i,
|
|
@@ -1583,16 +1550,15 @@ var Ei = e.forwardRef(({ className: e, children: t, label: n, ...r }, i) => {
|
|
|
1583
1550
|
})]
|
|
1584
1551
|
});
|
|
1585
1552
|
});
|
|
1586
|
-
|
|
1587
|
-
var
|
|
1553
|
+
Ti.displayName = V.Item?.displayName || "SelectItem";
|
|
1554
|
+
var Ei = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(V.Separator, {
|
|
1588
1555
|
ref: n,
|
|
1589
1556
|
className: q("bg-muted -mx-1 my-1 h-px", e),
|
|
1590
1557
|
...t
|
|
1591
1558
|
}));
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
var Oi = e.forwardRef(({ threshold: n = 240, exitDuration: i = 450, behavior: a, label: o = "Scroll to top", className: s, scrollRef: l, animationDuration: u = 300, ...d }, f) => {
|
|
1559
|
+
Ei.displayName = V.Separator?.displayName || "SelectSeparator";
|
|
1560
|
+
// src/scroll-to-top.tsx
|
|
1561
|
+
var Di = e.forwardRef(({ threshold: n = 240, exitDuration: i = 450, behavior: a, label: o = "Scroll to top", className: s, scrollRef: l, animationDuration: u = 300, ...d }, f) => {
|
|
1596
1562
|
let [p, m] = e.useState(!1), [g, _] = e.useState(!1), [y] = e.useState(() => new r.Value(0)), [b] = e.useState(() => new r.Value(20)), ee = () => {
|
|
1597
1563
|
r.parallel([r.timing(y, {
|
|
1598
1564
|
toValue: 1,
|
|
@@ -1617,11 +1583,7 @@ var Oi = e.forwardRef(({ threshold: n = 240, exitDuration: i = 450, behavior: a,
|
|
|
1617
1583
|
});
|
|
1618
1584
|
}, te = (e) => {
|
|
1619
1585
|
let t = e.nativeEvent.contentOffset.y;
|
|
1620
|
-
|
|
1621
|
-
t <= n && (m(!1), _(!1));
|
|
1622
|
-
return;
|
|
1623
|
-
}
|
|
1624
|
-
t > n && !p ? (m(!0), ee()) : t <= n && p && x();
|
|
1586
|
+
g ? t <= n && (m(!1), _(!1)) : t > n && !p ? (m(!0), ee()) : t <= n && p && x();
|
|
1625
1587
|
}, S = () => {
|
|
1626
1588
|
_(!0), x(), setTimeout(() => {
|
|
1627
1589
|
if (l?.current) {
|
|
@@ -1668,32 +1630,30 @@ var Oi = e.forwardRef(({ threshold: n = 240, exitDuration: i = 450, behavior: a,
|
|
|
1668
1630
|
})
|
|
1669
1631
|
});
|
|
1670
1632
|
});
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
var ki = "https://www.buymeacoffee.com", Ai = new Set(["buymeacoffee.com", "www.buymeacoffee.com"]), ji = (e) => {
|
|
1633
|
+
Di.displayName = "ScrollToTop";
|
|
1634
|
+
// src/support-fab.tsx
|
|
1635
|
+
var Oi = "https://www.buymeacoffee.com", ki = /* @__PURE__ */ new Set(["buymeacoffee.com", "www.buymeacoffee.com"]), Ai = (e) => {
|
|
1675
1636
|
let t = e.trim();
|
|
1676
1637
|
try {
|
|
1677
1638
|
let n = new URL(t), r = n.hostname.toLowerCase();
|
|
1678
|
-
return n.protocol !== "https:" || !
|
|
1639
|
+
return n.protocol !== "https:" || !ki.has(r) ? (console.warn(`Invalid supportUrl: ${e}. Falling back to default.`), Oi) : t;
|
|
1679
1640
|
} catch {
|
|
1680
|
-
return console.warn(`Invalid supportUrl: ${e}. Falling back to default.`),
|
|
1641
|
+
return console.warn(`Invalid supportUrl: ${e}. Falling back to default.`), Oi;
|
|
1681
1642
|
}
|
|
1682
|
-
},
|
|
1683
|
-
let t =
|
|
1643
|
+
}, ji = (e) => {
|
|
1644
|
+
let t = Ai(e);
|
|
1684
1645
|
return t.endsWith("/") ? t.slice(0, -1) : t;
|
|
1685
|
-
},
|
|
1686
|
-
function
|
|
1646
|
+
}, Mi = (e) => e.trim().replace(/^@+/, ""), Ni = (e, t) => `${ji(e)}/${encodeURIComponent(Mi(t))}`;
|
|
1647
|
+
function Pi({ supportUrl: t = Oi, creatorId: n, title: r = "Buy me a coffee", description: i = "Support the project directly from this panel.", open: a, defaultOpen: s = !1, onOpenChange: c, positionClassName: l, buttonClassName: u, panelClassName: d, className: f, ...p }) {
|
|
1687
1648
|
let m = a !== void 0, [g, b] = e.useState(s), ee = m ? a : g, x = e.useCallback((e) => {
|
|
1688
1649
|
m || b(e), c?.(e);
|
|
1689
|
-
}, [m, c]), te = e.useMemo(() =>
|
|
1650
|
+
}, [m, c]), te = e.useMemo(() => Ni(t, n), [n, t]), S = e.useCallback(async () => {
|
|
1690
1651
|
try {
|
|
1691
1652
|
await o.openURL(te);
|
|
1692
1653
|
} catch (e) {
|
|
1693
1654
|
console.warn("Failed to open external link:", e);
|
|
1694
1655
|
}
|
|
1695
|
-
}, [te])
|
|
1696
|
-
return /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(h, {
|
|
1656
|
+
}, [te]), ne = /* @__PURE__ */ v(h, {
|
|
1697
1657
|
style: {
|
|
1698
1658
|
position: "absolute",
|
|
1699
1659
|
bottom: 24,
|
|
@@ -1713,7 +1673,8 @@ function Fi({ supportUrl: t = ki, creatorId: n, title: r = "Buy me a coffee", de
|
|
|
1713
1673
|
className: "text-black"
|
|
1714
1674
|
})
|
|
1715
1675
|
})
|
|
1716
|
-
})
|
|
1676
|
+
});
|
|
1677
|
+
return /* @__PURE__ */ y(_, { children: [ne, /* @__PURE__ */ v(An, {
|
|
1717
1678
|
open: ee,
|
|
1718
1679
|
onOpenChange: x,
|
|
1719
1680
|
children: /* @__PURE__ */ y(Fn, {
|
|
@@ -1756,19 +1717,17 @@ function Fi({ supportUrl: t = ki, creatorId: n, title: r = "Buy me a coffee", de
|
|
|
1756
1717
|
})
|
|
1757
1718
|
})] });
|
|
1758
1719
|
}
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
var Ii = e.forwardRef(({ className: e, orientation: t = "horizontal", decorative: n = !0, ...r }, i) => /* @__PURE__ */ v(He.Root, {
|
|
1720
|
+
// src/separator.tsx
|
|
1721
|
+
var Fi = e.forwardRef(({ className: e, orientation: t = "horizontal", decorative: n = !0, ...r }, i) => /* @__PURE__ */ v(He.Root, {
|
|
1762
1722
|
ref: i,
|
|
1763
1723
|
decorative: n,
|
|
1764
1724
|
orientation: t,
|
|
1765
1725
|
className: q("bg-border shrink-0", t === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", e),
|
|
1766
1726
|
...r
|
|
1767
1727
|
}));
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
var Li = F.Root, Ri = F.Trigger, zi = F.Close, Bi = F.Portal, Vi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(F.Overlay, {
|
|
1728
|
+
Fi.displayName = He.Root?.displayName || "Separator";
|
|
1729
|
+
// src/sheet.tsx
|
|
1730
|
+
var Ii = F.Root, Li = F.Trigger, Ri = F.Close, zi = F.Portal, Bi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(F.Overlay, {
|
|
1772
1731
|
style: c.OS === "web" ? void 0 : d.absoluteFill,
|
|
1773
1732
|
asChild: !0,
|
|
1774
1733
|
ref: n,
|
|
@@ -1779,10 +1738,10 @@ var Li = F.Root, Ri = F.Trigger, zi = F.Close, Bi = F.Portal, Vi = e.forwardRef(
|
|
|
1779
1738
|
className: q("web:cursor-default absolute inset-0 z-50 bg-black/60 backdrop-blur-md", e)
|
|
1780
1739
|
})
|
|
1781
1740
|
}));
|
|
1782
|
-
|
|
1783
|
-
var
|
|
1741
|
+
Bi.displayName = F.Overlay?.displayName || "SheetOverlay";
|
|
1742
|
+
var Vi = e.forwardRef(({ className: e, children: t, side: n = "right", overlayClassName: r, overlayStyle: i, ...a }, o) => {
|
|
1784
1743
|
let s = c.OS === "web", l, u;
|
|
1785
|
-
return s || (n === "bottom" ? (l = _e, u = xe) : n === "top" ? (l = be, u = we) : n === "left" ? (l = ve, u = Se) : (l = ye, u = Ce)), /* @__PURE__ */ y(
|
|
1744
|
+
return s || (n === "bottom" ? (l = _e, u = xe) : n === "top" ? (l = be, u = we) : n === "left" ? (l = ve, u = Se) : (l = ye, u = Ce)), /* @__PURE__ */ y(zi, { children: [/* @__PURE__ */ v(Bi, {
|
|
1786
1745
|
className: r,
|
|
1787
1746
|
style: i
|
|
1788
1747
|
}), /* @__PURE__ */ v(F.Content, {
|
|
@@ -1806,32 +1765,31 @@ var Hi = e.forwardRef(({ className: e, children: t, side: n = "right", overlayCl
|
|
|
1806
1765
|
})
|
|
1807
1766
|
})] });
|
|
1808
1767
|
});
|
|
1809
|
-
|
|
1810
|
-
var
|
|
1768
|
+
Vi.displayName = F.Content?.displayName || "SheetContent";
|
|
1769
|
+
var Hi = ({ className: e, ...t }) => /* @__PURE__ */ v(h, {
|
|
1811
1770
|
className: q("flex flex-col space-y-2 text-center sm:text-left", e),
|
|
1812
1771
|
...t
|
|
1813
1772
|
});
|
|
1814
|
-
|
|
1815
|
-
var
|
|
1773
|
+
Hi.displayName = "SheetHeader";
|
|
1774
|
+
var Ui = ({ className: e, ...t }) => /* @__PURE__ */ v(h, {
|
|
1816
1775
|
className: q("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e),
|
|
1817
1776
|
...t
|
|
1818
1777
|
});
|
|
1819
|
-
|
|
1820
|
-
var
|
|
1778
|
+
Ui.displayName = "SheetFooter";
|
|
1779
|
+
var Wi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(F.Title, {
|
|
1821
1780
|
ref: n,
|
|
1822
1781
|
className: q("text-foreground text-lg font-semibold", e),
|
|
1823
1782
|
...t
|
|
1824
1783
|
}));
|
|
1825
|
-
|
|
1826
|
-
var
|
|
1784
|
+
Wi.displayName = F.Title?.displayName || "SheetTitle";
|
|
1785
|
+
var Gi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(F.Description, {
|
|
1827
1786
|
ref: n,
|
|
1828
1787
|
className: q("text-muted-foreground text-sm", e),
|
|
1829
1788
|
...t
|
|
1830
1789
|
}));
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
function qi({ className: t, ...n }) {
|
|
1790
|
+
Gi.displayName = F.Description?.displayName || "SheetDescription";
|
|
1791
|
+
// src/skeleton.tsx
|
|
1792
|
+
function Ki({ className: t, ...n }) {
|
|
1835
1793
|
let r = Oe(.5);
|
|
1836
1794
|
e.useEffect(() => {
|
|
1837
1795
|
r.value = ke(Ae(A(.2, { duration: 500 }), A(.5, { duration: 500 })), -1, !0);
|
|
@@ -1843,9 +1801,8 @@ function qi({ className: t, ...n }) {
|
|
|
1843
1801
|
...n
|
|
1844
1802
|
});
|
|
1845
1803
|
}
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
var Ji = ({ className: e, value: t, onValueChange: n, defaultValue: r, min: i = 0, max: a = 100, step: o = 1, disabled: s = !1, ...c }) => {
|
|
1804
|
+
// src/slider.tsx
|
|
1805
|
+
var qi = ({ className: e, value: t, onValueChange: n, defaultValue: r, min: i = 0, max: a = 100, step: o = 1, disabled: s = !1, ...c }) => {
|
|
1849
1806
|
let l = t === void 0 ? i : t[0];
|
|
1850
1807
|
return /* @__PURE__ */ y(H.Root, {
|
|
1851
1808
|
value: l,
|
|
@@ -1864,10 +1821,9 @@ var Ji = ({ className: e, value: t, onValueChange: n, defaultValue: r, min: i =
|
|
|
1864
1821
|
}), /* @__PURE__ */ v(H.Thumb, { className: "border-primary bg-background focus-visible:ring-ring block h-5 w-5 rounded-full border-2 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none" })]
|
|
1865
1822
|
});
|
|
1866
1823
|
};
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
var Yi = ({ children: e }) => /* @__PURE__ */ v(_, { children: e }), Xi = () => null, Zi = e.forwardRef(({ className: e, variant: t = "default", ...n }, r) => /* @__PURE__ */ v(U.Root, {
|
|
1824
|
+
qi.displayName = "Slider";
|
|
1825
|
+
// src/toast.tsx
|
|
1826
|
+
var Ji = ({ children: e }) => /* @__PURE__ */ v(_, { children: e }), Yi = () => null, Xi = e.forwardRef(({ className: e, variant: t = "default", ...n }, r) => /* @__PURE__ */ v(U.Root, {
|
|
1871
1827
|
ref: r,
|
|
1872
1828
|
className: q("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg", t === "default" ? "border-border bg-background" : "border-destructive bg-destructive", e),
|
|
1873
1829
|
...n,
|
|
@@ -1879,20 +1835,20 @@ var Yi = ({ children: e }) => /* @__PURE__ */ v(_, { children: e }), Xi = () =>
|
|
|
1879
1835
|
children: n.children
|
|
1880
1836
|
})
|
|
1881
1837
|
}));
|
|
1882
|
-
|
|
1883
|
-
var
|
|
1838
|
+
Xi.displayName = U.Root?.displayName || "Toast";
|
|
1839
|
+
var Zi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(U.Title, {
|
|
1884
1840
|
ref: n,
|
|
1885
1841
|
className: q("text-foreground text-sm font-semibold", e),
|
|
1886
1842
|
...t
|
|
1887
1843
|
}));
|
|
1888
|
-
|
|
1889
|
-
var
|
|
1844
|
+
Zi.displayName = U.Title?.displayName || "ToastTitle";
|
|
1845
|
+
var Qi = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(U.Description, {
|
|
1890
1846
|
ref: n,
|
|
1891
1847
|
className: q("text-muted-foreground text-sm opacity-90", e),
|
|
1892
1848
|
...t
|
|
1893
1849
|
}));
|
|
1894
|
-
|
|
1895
|
-
var
|
|
1850
|
+
Qi.displayName = U.Description?.displayName || "ToastDescription";
|
|
1851
|
+
var $i = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(U.Close, {
|
|
1896
1852
|
ref: n,
|
|
1897
1853
|
className: q("text-foreground/50 hover:text-foreground absolute top-1 right-1 rounded-md p-1 opacity-0 transition-opacity group-hover:opacity-100 focus:opacity-100 focus:ring-1 focus:outline-none", e),
|
|
1898
1854
|
...t,
|
|
@@ -1901,16 +1857,15 @@ var ea = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(U.Close,
|
|
|
1901
1857
|
className: "text-muted-foreground"
|
|
1902
1858
|
})
|
|
1903
1859
|
}));
|
|
1904
|
-
|
|
1905
|
-
var
|
|
1860
|
+
$i.displayName = U.Close?.displayName || "ToastClose";
|
|
1861
|
+
var ea = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(U.Action, {
|
|
1906
1862
|
ref: n,
|
|
1907
1863
|
className: q("hover:bg-secondary focus:ring-ring inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors focus:ring-1 focus:outline-none disabled:pointer-events-none disabled:opacity-50", e),
|
|
1908
1864
|
...t
|
|
1909
1865
|
}));
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
var na = () => /* @__PURE__ */ v(Yi, { children: /* @__PURE__ */ v(Xi, {}) }), ra = e.forwardRef(({ className: e, checked: t, onCheckedChange: n, ...r }, i) => /* @__PURE__ */ v(Ue.Root, {
|
|
1866
|
+
ea.displayName = U.Action?.displayName || "ToastAction";
|
|
1867
|
+
// src/sonner.tsx
|
|
1868
|
+
var ta = () => /* @__PURE__ */ v(Ji, { children: /* @__PURE__ */ v(Yi, {}) }), na = e.forwardRef(({ className: e, checked: t, onCheckedChange: n, ...r }, i) => /* @__PURE__ */ v(Ue.Root, {
|
|
1914
1869
|
ref: i,
|
|
1915
1870
|
checked: t ?? !1,
|
|
1916
1871
|
onCheckedChange: n || (() => {}),
|
|
@@ -1918,60 +1873,58 @@ var na = () => /* @__PURE__ */ v(Yi, { children: /* @__PURE__ */ v(Xi, {}) }), r
|
|
|
1918
1873
|
...r,
|
|
1919
1874
|
children: /* @__PURE__ */ v(Ue.Thumb, { className: q("bg-background pointer-events-none block h-5 w-5 rounded-full shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-[18px] data-[state=unchecked]:translate-x-0") })
|
|
1920
1875
|
}));
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
var ia = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
|
|
1876
|
+
na.displayName = Ue.Root.displayName;
|
|
1877
|
+
// src/table.tsx
|
|
1878
|
+
var ra = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
|
|
1925
1879
|
ref: n,
|
|
1926
1880
|
className: q("w-full caption-bottom text-sm", e),
|
|
1927
1881
|
...t
|
|
1928
1882
|
}));
|
|
1929
|
-
|
|
1930
|
-
var
|
|
1883
|
+
ra.displayName = "Table";
|
|
1884
|
+
var ia = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
|
|
1931
1885
|
ref: n,
|
|
1932
1886
|
className: q("border-border border-b", e),
|
|
1933
1887
|
...t
|
|
1934
1888
|
}));
|
|
1935
|
-
|
|
1936
|
-
var
|
|
1889
|
+
ia.displayName = "TableHeader";
|
|
1890
|
+
var aa = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
|
|
1937
1891
|
ref: n,
|
|
1938
1892
|
className: q("flex-1", e),
|
|
1939
1893
|
...t
|
|
1940
1894
|
}));
|
|
1941
|
-
|
|
1942
|
-
var
|
|
1895
|
+
aa.displayName = "TableBody";
|
|
1896
|
+
var oa = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
|
|
1943
1897
|
ref: n,
|
|
1944
1898
|
className: q("bg-muted/50 font-medium [&>tr]:last:border-b-0", e),
|
|
1945
1899
|
...t
|
|
1946
1900
|
}));
|
|
1947
|
-
|
|
1948
|
-
var
|
|
1901
|
+
oa.displayName = "TableFooter";
|
|
1902
|
+
var sa = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(h, {
|
|
1949
1903
|
ref: n,
|
|
1950
1904
|
className: q("border-border hover:bg-muted/50 data-[state=selected]:bg-muted flex-row border-b transition-colors", e),
|
|
1951
1905
|
...t
|
|
1952
1906
|
}));
|
|
1953
|
-
|
|
1954
|
-
var
|
|
1907
|
+
sa.displayName = "TableRow";
|
|
1908
|
+
var ca = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(Y, {
|
|
1955
1909
|
ref: n,
|
|
1956
1910
|
className: q("text-muted-foreground h-12 px-4 text-left align-middle font-medium [&:has([role=checkbox])]:pr-0", e),
|
|
1957
1911
|
...t
|
|
1958
1912
|
}));
|
|
1959
|
-
|
|
1960
|
-
var
|
|
1913
|
+
ca.displayName = "TableHead";
|
|
1914
|
+
var la = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(Y, {
|
|
1961
1915
|
ref: n,
|
|
1962
1916
|
className: q("p-4 align-middle [&:has([role=checkbox])]:pr-0", e),
|
|
1963
1917
|
...t
|
|
1964
1918
|
}));
|
|
1965
|
-
|
|
1966
|
-
var
|
|
1919
|
+
la.displayName = "TableCell";
|
|
1920
|
+
var ua = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(Y, {
|
|
1967
1921
|
ref: n,
|
|
1968
1922
|
className: q("text-muted-foreground mt-4 text-sm", e),
|
|
1969
1923
|
...t
|
|
1970
1924
|
}));
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
var fa = e.forwardRef(({ value: t, defaultValue: n, onValueChange: r, ...i }, a) => {
|
|
1925
|
+
ua.displayName = "TableCaption";
|
|
1926
|
+
// src/tabs.tsx
|
|
1927
|
+
var da = e.forwardRef(({ value: t, defaultValue: n, onValueChange: r, ...i }, a) => {
|
|
1975
1928
|
let [o, s] = e.useState(n ?? ""), c = t ?? o;
|
|
1976
1929
|
return /* @__PURE__ */ v(W.Root, {
|
|
1977
1930
|
ref: a,
|
|
@@ -1982,14 +1935,14 @@ var fa = e.forwardRef(({ value: t, defaultValue: n, onValueChange: r, ...i }, a)
|
|
|
1982
1935
|
...i
|
|
1983
1936
|
});
|
|
1984
1937
|
});
|
|
1985
|
-
|
|
1986
|
-
var
|
|
1938
|
+
da.displayName = "Tabs";
|
|
1939
|
+
var fa = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(W.List, {
|
|
1987
1940
|
ref: n,
|
|
1988
1941
|
className: q("bg-muted text-muted-foreground inline-flex h-10 flex-row items-center justify-center rounded-md p-1", e),
|
|
1989
1942
|
...t
|
|
1990
1943
|
}));
|
|
1991
|
-
|
|
1992
|
-
var
|
|
1944
|
+
fa.displayName = W.List?.displayName || "TabsList";
|
|
1945
|
+
var pa = e.forwardRef(({ className: e, ...t }, n) => {
|
|
1993
1946
|
let { value: r } = W.useRootContext();
|
|
1994
1947
|
return /* @__PURE__ */ v(Tt.Provider, {
|
|
1995
1948
|
value: q("native:text-base text-muted-foreground web:transition-all text-sm font-medium", r === t.value && "text-foreground"),
|
|
@@ -2000,16 +1953,15 @@ var ma = e.forwardRef(({ className: e, ...t }, n) => {
|
|
|
2000
1953
|
})
|
|
2001
1954
|
});
|
|
2002
1955
|
});
|
|
2003
|
-
|
|
2004
|
-
var
|
|
1956
|
+
pa.displayName = W.Trigger?.displayName || "TabsTrigger";
|
|
1957
|
+
var ma = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v(W.Content, {
|
|
2005
1958
|
ref: n,
|
|
2006
1959
|
className: q("ring-offset-background focus-visible:ring-ring mt-2 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none", e),
|
|
2007
1960
|
...t
|
|
2008
1961
|
}));
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
var ga = e.forwardRef(({ className: e, placeholderClassName: t, ...n }, r) => /* @__PURE__ */ v(p, {
|
|
1962
|
+
ma.displayName = W.Content?.displayName || "TabsContent";
|
|
1963
|
+
// src/textarea.tsx
|
|
1964
|
+
var ha = e.forwardRef(({ className: e, placeholderClassName: t, ...n }, r) => /* @__PURE__ */ v(p, {
|
|
2013
1965
|
ref: r,
|
|
2014
1966
|
multiline: !0,
|
|
2015
1967
|
numberOfLines: n.numberOfLines || 3,
|
|
@@ -2018,10 +1970,9 @@ var ga = e.forwardRef(({ className: e, placeholderClassName: t, ...n }, r) => /*
|
|
|
2018
1970
|
textAlignVertical: "top",
|
|
2019
1971
|
...n
|
|
2020
1972
|
}));
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
var _a = e.forwardRef(({ className: e, variant: t, size: n, ...r }, i) => /* @__PURE__ */ v(Tt.Provider, {
|
|
1973
|
+
ha.displayName = "Textarea";
|
|
1974
|
+
// src/toggle.tsx
|
|
1975
|
+
var ga = e.forwardRef(({ className: e, variant: t, size: n, ...r }, i) => /* @__PURE__ */ v(Tt.Provider, {
|
|
2025
1976
|
value: q("native:text-base text-foreground text-sm font-medium", r.pressed && "text-accent-foreground", e),
|
|
2026
1977
|
children: /* @__PURE__ */ v(Ge.Root, {
|
|
2027
1978
|
ref: i,
|
|
@@ -2035,20 +1986,19 @@ var _a = e.forwardRef(({ className: e, variant: t, size: n, ...r }, i) => /* @__
|
|
|
2035
1986
|
onPressedChange: r.onPressedChange || (() => {})
|
|
2036
1987
|
})
|
|
2037
1988
|
}));
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
var va = e.createContext({
|
|
1989
|
+
ga.displayName = Ge.Root?.displayName || "Toggle";
|
|
1990
|
+
// src/toggle-group.tsx
|
|
1991
|
+
var _a = e.createContext({
|
|
2042
1992
|
size: "default",
|
|
2043
1993
|
variant: "default"
|
|
2044
|
-
}),
|
|
1994
|
+
}), va = e.forwardRef(({ className: e, variant: t, size: n, children: r, type: i, value: a, onValueChange: o, ...s }, c) => /* @__PURE__ */ v(Ke.Root, {
|
|
2045
1995
|
ref: c,
|
|
2046
1996
|
type: i,
|
|
2047
1997
|
value: a,
|
|
2048
1998
|
onValueChange: o,
|
|
2049
1999
|
className: q("flex flex-row items-center justify-center gap-1", e),
|
|
2050
2000
|
...s,
|
|
2051
|
-
children: /* @__PURE__ */ v(
|
|
2001
|
+
children: /* @__PURE__ */ v(_a.Provider, {
|
|
2052
2002
|
value: {
|
|
2053
2003
|
variant: t,
|
|
2054
2004
|
size: n
|
|
@@ -2056,9 +2006,9 @@ var va = e.createContext({
|
|
|
2056
2006
|
children: r
|
|
2057
2007
|
})
|
|
2058
2008
|
}));
|
|
2059
|
-
|
|
2060
|
-
var
|
|
2061
|
-
let c = e.useContext(
|
|
2009
|
+
va.displayName = Ke.Root?.displayName || "ToggleGroup";
|
|
2010
|
+
var ya = e.forwardRef(({ className: t, children: n, variant: r, size: i, value: a, ...o }, s) => {
|
|
2011
|
+
let c = e.useContext(_a);
|
|
2062
2012
|
return /* @__PURE__ */ v(Tt.Provider, {
|
|
2063
2013
|
value: q("native:text-base text-foreground text-sm font-medium", o.disabled && "web:cursor-not-allowed opacity-50", a === "" && "text-accent-foreground", t),
|
|
2064
2014
|
children: /* @__PURE__ */ v(Ke.Item, {
|
|
@@ -2073,10 +2023,9 @@ var ba = e.forwardRef(({ className: t, children: n, variant: r, size: i, value:
|
|
|
2073
2023
|
})
|
|
2074
2024
|
});
|
|
2075
2025
|
});
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
var xa = G.Root, Sa = G.Trigger, Ca = e.forwardRef(({ className: e, portalHost: t, ...n }, r) => /* @__PURE__ */ v(G.Portal, {
|
|
2026
|
+
ya.displayName = Ke.Item?.displayName || "ToggleGroupItem";
|
|
2027
|
+
// src/tooltip.tsx
|
|
2028
|
+
var ba = G.Root, xa = G.Trigger, Sa = e.forwardRef(({ className: e, portalHost: t, ...n }, r) => /* @__PURE__ */ v(G.Portal, {
|
|
2080
2029
|
hostName: t,
|
|
2081
2030
|
children: /* @__PURE__ */ v(G.Overlay, {
|
|
2082
2031
|
style: c.OS === "web" ? void 0 : d.absoluteFill,
|
|
@@ -2091,42 +2040,42 @@ var xa = G.Root, Sa = G.Trigger, Ca = e.forwardRef(({ className: e, portalHost:
|
|
|
2091
2040
|
})
|
|
2092
2041
|
})
|
|
2093
2042
|
}));
|
|
2094
|
-
|
|
2095
|
-
var
|
|
2043
|
+
Sa.displayName = G.Content?.displayName || "TooltipContent";
|
|
2044
|
+
var Ca = ({ children: e }) => /* @__PURE__ */ v(_, { children: e }), wa = 5, Ta = 1e6, Ea = {
|
|
2096
2045
|
ADD_TOAST: "ADD_TOAST",
|
|
2097
2046
|
UPDATE_TOAST: "UPDATE_TOAST",
|
|
2098
2047
|
DISMISS_TOAST: "DISMISS_TOAST",
|
|
2099
2048
|
REMOVE_TOAST: "REMOVE_TOAST"
|
|
2100
|
-
},
|
|
2101
|
-
function
|
|
2102
|
-
return
|
|
2049
|
+
}, Da = 0;
|
|
2050
|
+
function Oa() {
|
|
2051
|
+
return Da = (Da + 1) % (2 ** 53 - 1), Da.toString();
|
|
2103
2052
|
}
|
|
2104
|
-
var
|
|
2105
|
-
if (
|
|
2053
|
+
var ka = /* @__PURE__ */ new Map(), Aa = (e) => {
|
|
2054
|
+
if (ka.has(e)) return;
|
|
2106
2055
|
let t = setTimeout(() => {
|
|
2107
|
-
|
|
2056
|
+
ka.delete(e), Q({
|
|
2108
2057
|
type: "REMOVE_TOAST",
|
|
2109
2058
|
toastId: e
|
|
2110
2059
|
});
|
|
2111
|
-
},
|
|
2112
|
-
|
|
2113
|
-
},
|
|
2060
|
+
}, Ta);
|
|
2061
|
+
ka.set(e, t);
|
|
2062
|
+
}, ja = (e, t) => {
|
|
2114
2063
|
switch (t.type) {
|
|
2115
|
-
case
|
|
2064
|
+
case Ea.ADD_TOAST: return {
|
|
2116
2065
|
...e,
|
|
2117
|
-
toasts: [t.toast, ...e.toasts].slice(0,
|
|
2066
|
+
toasts: [t.toast, ...e.toasts].slice(0, wa)
|
|
2118
2067
|
};
|
|
2119
|
-
case
|
|
2068
|
+
case Ea.UPDATE_TOAST: return {
|
|
2120
2069
|
...e,
|
|
2121
2070
|
toasts: e.toasts.map((e) => e.id === t.toast.id ? {
|
|
2122
2071
|
...e,
|
|
2123
2072
|
...t.toast
|
|
2124
2073
|
} : e)
|
|
2125
2074
|
};
|
|
2126
|
-
case
|
|
2075
|
+
case Ea.DISMISS_TOAST: {
|
|
2127
2076
|
let { toastId: n } = t;
|
|
2128
|
-
return n ?
|
|
2129
|
-
|
|
2077
|
+
return n ? Aa(n) : e.toasts.forEach((e) => {
|
|
2078
|
+
Aa(e.id);
|
|
2130
2079
|
}), {
|
|
2131
2080
|
...e,
|
|
2132
2081
|
toasts: e.toasts.map((e) => e.id === n || n === void 0 ? {
|
|
@@ -2135,7 +2084,7 @@ var Aa = /* @__PURE__ */ new Map(), ja = (e) => {
|
|
|
2135
2084
|
} : e)
|
|
2136
2085
|
};
|
|
2137
2086
|
}
|
|
2138
|
-
case
|
|
2087
|
+
case Ea.REMOVE_TOAST: return t.toastId === void 0 ? {
|
|
2139
2088
|
...e,
|
|
2140
2089
|
toasts: []
|
|
2141
2090
|
} : {
|
|
@@ -2143,14 +2092,14 @@ var Aa = /* @__PURE__ */ new Map(), ja = (e) => {
|
|
|
2143
2092
|
toasts: e.toasts.filter((e) => e.id !== t.toastId)
|
|
2144
2093
|
};
|
|
2145
2094
|
}
|
|
2146
|
-
},
|
|
2095
|
+
}, Ma = [], Na = { toasts: [] };
|
|
2147
2096
|
function Q(e) {
|
|
2148
|
-
|
|
2149
|
-
e(
|
|
2097
|
+
Na = ja(Na, e), Ma.forEach((e) => {
|
|
2098
|
+
e(Na);
|
|
2150
2099
|
});
|
|
2151
2100
|
}
|
|
2152
|
-
function
|
|
2153
|
-
let t =
|
|
2101
|
+
function Pa({ ...e }) {
|
|
2102
|
+
let t = Oa(), n = (e) => Q({
|
|
2154
2103
|
type: "UPDATE_TOAST",
|
|
2155
2104
|
toast: {
|
|
2156
2105
|
...e,
|
|
@@ -2176,24 +2125,23 @@ function Fa({ ...e }) {
|
|
|
2176
2125
|
update: n
|
|
2177
2126
|
};
|
|
2178
2127
|
}
|
|
2179
|
-
function
|
|
2180
|
-
let [t, n] = e.useState(
|
|
2181
|
-
return e.useEffect(() => (
|
|
2182
|
-
let e =
|
|
2183
|
-
e > -1 &&
|
|
2128
|
+
function Fa() {
|
|
2129
|
+
let [t, n] = e.useState(Na);
|
|
2130
|
+
return e.useEffect(() => (Ma.push(n), () => {
|
|
2131
|
+
let e = Ma.indexOf(n);
|
|
2132
|
+
e > -1 && Ma.splice(e, 1);
|
|
2184
2133
|
}), []), {
|
|
2185
2134
|
...t,
|
|
2186
|
-
toast:
|
|
2135
|
+
toast: Pa,
|
|
2187
2136
|
dismiss: (e) => Q({
|
|
2188
2137
|
type: "DISMISS_TOAST",
|
|
2189
2138
|
toastId: e
|
|
2190
2139
|
})
|
|
2191
2140
|
};
|
|
2192
2141
|
}
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
function Ra({ children: t, className: n, style: r, value: a, ...o }) {
|
|
2142
|
+
// src/theme-provider.tsx
|
|
2143
|
+
var Ia = e.createContext(null);
|
|
2144
|
+
function La({ children: t, className: n, style: r, value: a, ...o }) {
|
|
2197
2145
|
let s = g(), c = a || "system", l = c === "system" ? s === "dark" ? "dark" : "light" : c, u = l === "dark" ? qe.dark : qe.light, d = l === "dark";
|
|
2198
2146
|
e.useEffect(() => {
|
|
2199
2147
|
typeof document < "u" && (document.documentElement.classList.toggle("dark", d), document.body && document.body.classList.toggle("dark", d));
|
|
@@ -2210,7 +2158,7 @@ function Ra({ children: t, className: n, style: r, value: a, ...o }) {
|
|
|
2210
2158
|
l,
|
|
2211
2159
|
u
|
|
2212
2160
|
]);
|
|
2213
|
-
return /* @__PURE__ */ v(
|
|
2161
|
+
return /* @__PURE__ */ v(Ia.Provider, {
|
|
2214
2162
|
value: f,
|
|
2215
2163
|
children: /* @__PURE__ */ v(h, {
|
|
2216
2164
|
className: q("flex-1", d ? "dark" : "", n),
|
|
@@ -2220,10 +2168,9 @@ function Ra({ children: t, className: n, style: r, value: a, ...o }) {
|
|
|
2220
2168
|
})
|
|
2221
2169
|
});
|
|
2222
2170
|
}
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
let t = e.useContext(La);
|
|
2171
|
+
// src/hooks/use-theme.ts
|
|
2172
|
+
function Ra() {
|
|
2173
|
+
let t = e.useContext(Ia);
|
|
2227
2174
|
if (t) return t;
|
|
2228
2175
|
let n = g(), r = n;
|
|
2229
2176
|
return {
|
|
@@ -2232,9 +2179,8 @@ function za() {
|
|
|
2232
2179
|
tokens: r === "dark" ? qe.dark : qe.light
|
|
2233
2180
|
};
|
|
2234
2181
|
}
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
function Ba(e) {
|
|
2182
|
+
// src/lib/iconWithClassName.ts
|
|
2183
|
+
function za(e) {
|
|
2238
2184
|
Je(e, { className: {
|
|
2239
2185
|
target: "style",
|
|
2240
2186
|
nativeStyleToProp: {
|
|
@@ -2243,8 +2189,8 @@ function Ba(e) {
|
|
|
2243
2189
|
}
|
|
2244
2190
|
} });
|
|
2245
2191
|
}
|
|
2246
|
-
|
|
2247
|
-
function
|
|
2192
|
+
za(de), za(ce), za(fe);
|
|
2193
|
+
function Ba({ isDark: e, isSystem: t, foreground: n }) {
|
|
2248
2194
|
return /* @__PURE__ */ y(h, {
|
|
2249
2195
|
className: "flex h-6 w-6 items-center justify-center",
|
|
2250
2196
|
children: [
|
|
@@ -2272,13 +2218,13 @@ function Va({ isDark: e, isSystem: t, foreground: n }) {
|
|
|
2272
2218
|
]
|
|
2273
2219
|
});
|
|
2274
2220
|
}
|
|
2275
|
-
function
|
|
2276
|
-
let { theme: a, resolvedTheme: o, tokens: s } =
|
|
2221
|
+
function Va({ variant: e = "binary", onThemeChange: t, customTheme: n, className: r }) {
|
|
2222
|
+
let { theme: a, resolvedTheme: o, tokens: s } = Ra(), c = n ?? a, l = (n === "system" || !n ? o : n) === "dark", u = c === "system", d = (e) => {
|
|
2277
2223
|
t ? t(e) : e === "system" ? i.setColorScheme("unspecified") : i.setColorScheme(e);
|
|
2278
2224
|
};
|
|
2279
2225
|
return e === "ternary" ? /* @__PURE__ */ y(Xn, { children: [/* @__PURE__ */ v(Zn, {
|
|
2280
2226
|
className: q("relative h-9 w-9 flex-row items-center justify-center rounded-md bg-transparent transition-colors active:opacity-80", r),
|
|
2281
|
-
children: /* @__PURE__ */ v(
|
|
2227
|
+
children: /* @__PURE__ */ v(Ba, {
|
|
2282
2228
|
isDark: l,
|
|
2283
2229
|
isSystem: u,
|
|
2284
2230
|
foreground: s.foreground
|
|
@@ -2316,39 +2262,38 @@ function Ha({ variant: e = "binary", onThemeChange: t, customTheme: n, className
|
|
|
2316
2262
|
size: "icon",
|
|
2317
2263
|
className: q("relative h-9 w-9", r),
|
|
2318
2264
|
onPress: () => d(c === "dark" ? "light" : "dark"),
|
|
2319
|
-
children: /* @__PURE__ */ v(
|
|
2265
|
+
children: /* @__PURE__ */ v(Ba, {
|
|
2320
2266
|
isDark: l,
|
|
2321
2267
|
isSystem: u,
|
|
2322
2268
|
foreground: s.foreground
|
|
2323
2269
|
})
|
|
2324
2270
|
});
|
|
2325
2271
|
}
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
return /* @__PURE__ */ v(Yi, { children: /* @__PURE__ */ v(h, {
|
|
2272
|
+
// src/toaster.tsx
|
|
2273
|
+
var Ha = () => {
|
|
2274
|
+
let { toasts: e } = Fa();
|
|
2275
|
+
return /* @__PURE__ */ v(Ji, { children: /* @__PURE__ */ v(h, {
|
|
2331
2276
|
className: "pointer-events-none absolute right-6 bottom-6 left-6 z-50 flex flex-col gap-2",
|
|
2332
|
-
children: e.map(({ id: e, title: t, description: n, action: r, ...i }) => /* @__PURE__ */ y(
|
|
2277
|
+
children: e.map(({ id: e, title: t, description: n, action: r, ...i }) => /* @__PURE__ */ y(Xi, {
|
|
2333
2278
|
...i,
|
|
2334
2279
|
className: "pointer-events-auto",
|
|
2335
2280
|
children: [
|
|
2336
2281
|
/* @__PURE__ */ y(h, {
|
|
2337
2282
|
className: "flex flex-1 flex-col gap-1",
|
|
2338
|
-
children: [t && /* @__PURE__ */ v(
|
|
2283
|
+
children: [t && /* @__PURE__ */ v(Zi, { children: t }), n && /* @__PURE__ */ v(Qi, { children: n })]
|
|
2339
2284
|
}),
|
|
2340
2285
|
r,
|
|
2341
|
-
/* @__PURE__ */ v(
|
|
2286
|
+
/* @__PURE__ */ v($i, {})
|
|
2342
2287
|
]
|
|
2343
2288
|
}, e))
|
|
2344
2289
|
}) });
|
|
2345
|
-
},
|
|
2346
|
-
function
|
|
2347
|
-
let t = e.useContext(
|
|
2290
|
+
}, Ua = e.createContext(void 0);
|
|
2291
|
+
function Wa() {
|
|
2292
|
+
let t = e.useContext(Ua);
|
|
2348
2293
|
if (!t) throw Error("useTOC must be used within a TableOfContents provider");
|
|
2349
2294
|
return t;
|
|
2350
2295
|
}
|
|
2351
|
-
function
|
|
2296
|
+
function Ga({ children: t, activeId: n }) {
|
|
2352
2297
|
let [r, i] = e.useState([]), [a, o] = e.useState(null), s = e.useRef(null), c = e.useMemo(() => {
|
|
2353
2298
|
let e = n || a;
|
|
2354
2299
|
return r.find((t) => t.id === e)?.text || null;
|
|
@@ -2405,7 +2350,7 @@ function Ka({ children: t, activeId: n }) {
|
|
|
2405
2350
|
d,
|
|
2406
2351
|
f
|
|
2407
2352
|
]);
|
|
2408
|
-
return /* @__PURE__ */ v(
|
|
2353
|
+
return /* @__PURE__ */ v(Ua.Provider, {
|
|
2409
2354
|
value: p,
|
|
2410
2355
|
children: /* @__PURE__ */ v(h, {
|
|
2411
2356
|
className: "flex-1",
|
|
@@ -2413,8 +2358,8 @@ function Ka({ children: t, activeId: n }) {
|
|
|
2413
2358
|
})
|
|
2414
2359
|
});
|
|
2415
2360
|
}
|
|
2416
|
-
function
|
|
2417
|
-
let { registerHeading: a, unregisterHeading: o } =
|
|
2361
|
+
function Ka({ children: t, level: n = 2, id: r, className: i }) {
|
|
2362
|
+
let { registerHeading: a, unregisterHeading: o } = Wa(), s = r || Ye(t), c = e.useCallback((e) => {
|
|
2418
2363
|
let { y: r } = e.nativeEvent.layout;
|
|
2419
2364
|
a(s, t, n, r);
|
|
2420
2365
|
}, [
|
|
@@ -2432,8 +2377,8 @@ function qa({ children: t, level: n = 2, id: r, className: i }) {
|
|
|
2432
2377
|
})
|
|
2433
2378
|
});
|
|
2434
2379
|
}
|
|
2435
|
-
function
|
|
2436
|
-
let { headings: n, activeId: r, scrollToHeading: i } =
|
|
2380
|
+
function qa({ className: t }) {
|
|
2381
|
+
let { headings: n, activeId: r, scrollToHeading: i } = Wa(), a = e.useMemo(() => n.length === 0 ? 0 : Math.min(...n.map((e) => e.level)), [n]);
|
|
2437
2382
|
return n.length === 0 ? null : /* @__PURE__ */ y(h, {
|
|
2438
2383
|
className: q("space-y-2 p-4", t),
|
|
2439
2384
|
children: [/* @__PURE__ */ v(Y, {
|
|
@@ -2441,10 +2386,10 @@ function Ja({ className: t }) {
|
|
|
2441
2386
|
className: "mb-2 font-bold",
|
|
2442
2387
|
children: "On this page"
|
|
2443
2388
|
}), n.map((e) => {
|
|
2444
|
-
let t = r === e.id;
|
|
2389
|
+
let t = r === e.id, n = (e.level - a) * 16;
|
|
2445
2390
|
return /* @__PURE__ */ v(m, {
|
|
2446
2391
|
onPress: () => i(e.id),
|
|
2447
|
-
style: { paddingLeft:
|
|
2392
|
+
style: { paddingLeft: n },
|
|
2448
2393
|
className: "py-1",
|
|
2449
2394
|
children: /* @__PURE__ */ v(f, {
|
|
2450
2395
|
className: q("text-sm", t ? "text-primary font-bold" : "text-muted-foreground"),
|
|
@@ -2454,8 +2399,8 @@ function Ja({ className: t }) {
|
|
|
2454
2399
|
})]
|
|
2455
2400
|
});
|
|
2456
2401
|
}
|
|
2457
|
-
function
|
|
2458
|
-
let { scrollViewRef: n, onScroll: r } =
|
|
2402
|
+
function Ja({ children: e, className: t }) {
|
|
2403
|
+
let { scrollViewRef: n, onScroll: r } = Wa();
|
|
2459
2404
|
return /* @__PURE__ */ v(u, {
|
|
2460
2405
|
ref: n,
|
|
2461
2406
|
onScroll: r,
|
|
@@ -2467,103 +2412,98 @@ function Ya({ children: e, className: t }) {
|
|
|
2467
2412
|
children: e
|
|
2468
2413
|
});
|
|
2469
2414
|
}
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
function Xa({ className: e, orientation: t, ...n }) {
|
|
2415
|
+
Ga.List = qa, Ga.Content = Ja, Ga.Heading = Ka;
|
|
2416
|
+
// src/button-group.tsx
|
|
2417
|
+
function Ya({ className: e, orientation: t, ...n }) {
|
|
2474
2418
|
return /* @__PURE__ */ v(h, {
|
|
2475
2419
|
className: q("flex flex-row", e),
|
|
2476
2420
|
...n
|
|
2477
2421
|
});
|
|
2478
2422
|
}
|
|
2479
|
-
function
|
|
2423
|
+
function Xa({ className: e, asChild: t, ...n }) {
|
|
2480
2424
|
return /* @__PURE__ */ v(f, {
|
|
2481
2425
|
className: q("text-sm font-medium", e),
|
|
2482
2426
|
...n
|
|
2483
2427
|
});
|
|
2484
2428
|
}
|
|
2485
|
-
function
|
|
2429
|
+
function Za({ className: e, orientation: t, ...n }) {
|
|
2486
2430
|
return /* @__PURE__ */ v(h, {
|
|
2487
2431
|
className: q("bg-border h-full w-px", e),
|
|
2488
2432
|
...n
|
|
2489
2433
|
});
|
|
2490
2434
|
}
|
|
2491
|
-
var
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
function eo({ children: e }) {
|
|
2435
|
+
var Qa = () => "";
|
|
2436
|
+
// src/direction.tsx
|
|
2437
|
+
function $a({ children: e }) {
|
|
2495
2438
|
return /* @__PURE__ */ v(_, { children: e });
|
|
2496
2439
|
}
|
|
2497
|
-
function
|
|
2440
|
+
function eo() {
|
|
2498
2441
|
return "ltr";
|
|
2499
2442
|
}
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
function no({ className: e, ...t }) {
|
|
2443
|
+
// src/empty.tsx
|
|
2444
|
+
function to({ className: e, ...t }) {
|
|
2503
2445
|
return /* @__PURE__ */ v(h, {
|
|
2504
2446
|
className: q("border-border flex w-full items-center justify-center rounded-xl border-2 border-dashed p-6", e),
|
|
2505
2447
|
...t
|
|
2506
2448
|
});
|
|
2507
2449
|
}
|
|
2508
|
-
function
|
|
2450
|
+
function no({ className: e, ...t }) {
|
|
2509
2451
|
return /* @__PURE__ */ v(h, {
|
|
2510
2452
|
className: q("flex flex-col items-center gap-2", e),
|
|
2511
2453
|
...t
|
|
2512
2454
|
});
|
|
2513
2455
|
}
|
|
2514
|
-
function
|
|
2456
|
+
function ro({ className: e, variant: t, ...n }) {
|
|
2515
2457
|
return /* @__PURE__ */ v(h, {
|
|
2516
2458
|
className: q("flex items-center justify-center", e),
|
|
2517
2459
|
...n
|
|
2518
2460
|
});
|
|
2519
2461
|
}
|
|
2520
|
-
function
|
|
2462
|
+
function io({ className: e, ...t }) {
|
|
2521
2463
|
return /* @__PURE__ */ v(f, {
|
|
2522
2464
|
className: q("text-foreground text-lg font-semibold", e),
|
|
2523
2465
|
...t
|
|
2524
2466
|
});
|
|
2525
2467
|
}
|
|
2526
|
-
function
|
|
2468
|
+
function ao({ className: e, ...t }) {
|
|
2527
2469
|
return /* @__PURE__ */ v(f, {
|
|
2528
2470
|
className: q("text-muted-foreground text-center text-sm", e),
|
|
2529
2471
|
...t
|
|
2530
2472
|
});
|
|
2531
2473
|
}
|
|
2532
|
-
function
|
|
2474
|
+
function oo({ className: e, ...t }) {
|
|
2533
2475
|
return /* @__PURE__ */ v(h, {
|
|
2534
2476
|
className: q("mt-4 flex flex-col items-center gap-2", e),
|
|
2535
2477
|
...t
|
|
2536
2478
|
});
|
|
2537
2479
|
}
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
function co({ className: e, ...t }) {
|
|
2480
|
+
// src/spinner.tsx
|
|
2481
|
+
function so({ className: e, ...t }) {
|
|
2541
2482
|
return /* @__PURE__ */ v(n, {
|
|
2542
2483
|
size: "small",
|
|
2543
2484
|
...t
|
|
2544
2485
|
});
|
|
2545
2486
|
}
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
function lo({ className: e, orientation: t, ...n }) {
|
|
2487
|
+
// src/field.tsx
|
|
2488
|
+
function co({ className: e, orientation: t, ...n }) {
|
|
2549
2489
|
return /* @__PURE__ */ v(h, {
|
|
2550
2490
|
className: q("flex flex-col gap-2", e),
|
|
2551
2491
|
...n
|
|
2552
2492
|
});
|
|
2553
2493
|
}
|
|
2554
|
-
function
|
|
2494
|
+
function lo({ className: e, ...t }) {
|
|
2555
2495
|
return /* @__PURE__ */ v(h, {
|
|
2556
2496
|
className: q("flex flex-col", e),
|
|
2557
2497
|
...t
|
|
2558
2498
|
});
|
|
2559
2499
|
}
|
|
2560
|
-
function
|
|
2500
|
+
function uo({ className: e, ...t }) {
|
|
2561
2501
|
return /* @__PURE__ */ v(f, {
|
|
2562
2502
|
className: q("text-muted-foreground text-sm", e),
|
|
2563
2503
|
...t
|
|
2564
2504
|
});
|
|
2565
2505
|
}
|
|
2566
|
-
function
|
|
2506
|
+
function fo({ className: e, errors: t, children: n, ...r }) {
|
|
2567
2507
|
let i = n || t && t[0]?.message;
|
|
2568
2508
|
return i ? /* @__PURE__ */ v(f, {
|
|
2569
2509
|
className: q("text-destructive text-sm", e),
|
|
@@ -2571,25 +2511,25 @@ function po({ className: e, errors: t, children: n, ...r }) {
|
|
|
2571
2511
|
children: i
|
|
2572
2512
|
}) : null;
|
|
2573
2513
|
}
|
|
2574
|
-
function
|
|
2514
|
+
function po({ className: e, ...t }) {
|
|
2575
2515
|
return /* @__PURE__ */ v(h, {
|
|
2576
2516
|
className: q("flex flex-col gap-4", e),
|
|
2577
2517
|
...t
|
|
2578
2518
|
});
|
|
2579
2519
|
}
|
|
2580
|
-
function
|
|
2520
|
+
function mo({ className: e, ...t }) {
|
|
2581
2521
|
return /* @__PURE__ */ v(f, {
|
|
2582
2522
|
className: q("text-sm font-medium", e),
|
|
2583
2523
|
...t
|
|
2584
2524
|
});
|
|
2585
2525
|
}
|
|
2586
|
-
function
|
|
2526
|
+
function ho({ className: e, variant: t, ...n }) {
|
|
2587
2527
|
return /* @__PURE__ */ v(f, {
|
|
2588
2528
|
className: q("font-medium", t === "label" ? "text-sm" : "text-base", e),
|
|
2589
2529
|
...n
|
|
2590
2530
|
});
|
|
2591
2531
|
}
|
|
2592
|
-
function
|
|
2532
|
+
function go({ className: e, children: t, ...n }) {
|
|
2593
2533
|
return /* @__PURE__ */ v(h, {
|
|
2594
2534
|
className: q("bg-border my-2 h-px", e),
|
|
2595
2535
|
...n,
|
|
@@ -2599,33 +2539,32 @@ function _o({ className: e, children: t, ...n }) {
|
|
|
2599
2539
|
}) : null
|
|
2600
2540
|
});
|
|
2601
2541
|
}
|
|
2602
|
-
function
|
|
2542
|
+
function _o({ className: e, ...t }) {
|
|
2603
2543
|
return /* @__PURE__ */ v(h, {
|
|
2604
2544
|
className: q("flex flex-col gap-4", e),
|
|
2605
2545
|
...t
|
|
2606
2546
|
});
|
|
2607
2547
|
}
|
|
2608
|
-
function
|
|
2548
|
+
function vo({ className: e, ...t }) {
|
|
2609
2549
|
return /* @__PURE__ */ v(f, {
|
|
2610
2550
|
className: q("text-sm font-medium", e),
|
|
2611
2551
|
...t
|
|
2612
2552
|
});
|
|
2613
2553
|
}
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
function bo({ className: e, ...t }) {
|
|
2554
|
+
// src/input-group.tsx
|
|
2555
|
+
function yo({ className: e, ...t }) {
|
|
2617
2556
|
return /* @__PURE__ */ v(h, {
|
|
2618
2557
|
className: q("border-input flex flex-row items-center rounded-md border", e),
|
|
2619
2558
|
...t
|
|
2620
2559
|
});
|
|
2621
2560
|
}
|
|
2622
|
-
function
|
|
2561
|
+
function bo({ className: e, align: t, ...n }) {
|
|
2623
2562
|
return /* @__PURE__ */ v(h, {
|
|
2624
2563
|
className: q("p-2", e),
|
|
2625
2564
|
...n
|
|
2626
2565
|
});
|
|
2627
2566
|
}
|
|
2628
|
-
function
|
|
2567
|
+
function xo({ className: e, type: t, variant: n, size: r, ...i }) {
|
|
2629
2568
|
return /* @__PURE__ */ v(J, {
|
|
2630
2569
|
variant: n,
|
|
2631
2570
|
size: r,
|
|
@@ -2633,28 +2572,27 @@ function So({ className: e, type: t, variant: n, size: r, ...i }) {
|
|
|
2633
2572
|
...i
|
|
2634
2573
|
});
|
|
2635
2574
|
}
|
|
2636
|
-
function
|
|
2575
|
+
function So({ className: e, ...t }) {
|
|
2637
2576
|
return /* @__PURE__ */ v(f, {
|
|
2638
2577
|
className: q("text-muted-foreground text-sm", e),
|
|
2639
2578
|
...t
|
|
2640
2579
|
});
|
|
2641
2580
|
}
|
|
2642
|
-
function
|
|
2581
|
+
function Co({ className: e, ...t }) {
|
|
2643
2582
|
return /* @__PURE__ */ v(p, {
|
|
2644
2583
|
className: q("text-foreground flex-1 px-3 py-2", e),
|
|
2645
2584
|
...t
|
|
2646
2585
|
});
|
|
2647
2586
|
}
|
|
2648
|
-
function
|
|
2587
|
+
function wo({ className: e, ...t }) {
|
|
2649
2588
|
return /* @__PURE__ */ v(p, {
|
|
2650
2589
|
multiline: !0,
|
|
2651
2590
|
className: q("text-foreground flex-1 px-3 py-2", e),
|
|
2652
2591
|
...t
|
|
2653
2592
|
});
|
|
2654
2593
|
}
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
function Eo({ className: e, size: t, ...n }) {
|
|
2594
|
+
// src/native-select.tsx
|
|
2595
|
+
function To({ className: e, size: t, ...n }) {
|
|
2658
2596
|
return /* @__PURE__ */ v(h, {
|
|
2659
2597
|
className: q("border-input rounded-md border p-2", e),
|
|
2660
2598
|
...n,
|
|
@@ -2664,107 +2602,104 @@ function Eo({ className: e, size: t, ...n }) {
|
|
|
2664
2602
|
})
|
|
2665
2603
|
});
|
|
2666
2604
|
}
|
|
2667
|
-
function
|
|
2605
|
+
function Eo({ className: e, ...t }) {
|
|
2668
2606
|
return /* @__PURE__ */ v(h, {
|
|
2669
2607
|
className: e,
|
|
2670
2608
|
...t
|
|
2671
2609
|
});
|
|
2672
2610
|
}
|
|
2673
|
-
function
|
|
2611
|
+
function Do({ className: e, ...t }) {
|
|
2674
2612
|
return /* @__PURE__ */ v(h, {
|
|
2675
2613
|
className: e,
|
|
2676
2614
|
...t
|
|
2677
2615
|
});
|
|
2678
2616
|
}
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
function ko({ className: e, ...t }) {
|
|
2617
|
+
// src/kbd.tsx
|
|
2618
|
+
function Oo({ className: e, ...t }) {
|
|
2682
2619
|
return /* @__PURE__ */ v(f, {
|
|
2683
2620
|
className: q("bg-muted text-muted-foreground rounded-sm px-1 font-mono text-xs", e),
|
|
2684
2621
|
...t
|
|
2685
2622
|
});
|
|
2686
2623
|
}
|
|
2687
|
-
function
|
|
2624
|
+
function ko({ className: e, ...t }) {
|
|
2688
2625
|
return /* @__PURE__ */ v(h, {
|
|
2689
2626
|
className: q("flex flex-row items-center gap-1", e),
|
|
2690
2627
|
...t
|
|
2691
2628
|
});
|
|
2692
2629
|
}
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
function jo({ className: e, variant: t, size: n, ...r }) {
|
|
2630
|
+
// src/item.tsx
|
|
2631
|
+
function Ao({ className: e, variant: t, size: n, ...r }) {
|
|
2696
2632
|
return /* @__PURE__ */ v(h, {
|
|
2697
2633
|
className: q("flex flex-row flex-wrap items-center gap-2 rounded-lg border p-3", e),
|
|
2698
2634
|
...r
|
|
2699
2635
|
});
|
|
2700
2636
|
}
|
|
2701
|
-
function
|
|
2637
|
+
function jo({ className: e, ...t }) {
|
|
2702
2638
|
return /* @__PURE__ */ v(h, {
|
|
2703
2639
|
className: q("flex flex-row items-center gap-2", e),
|
|
2704
2640
|
...t
|
|
2705
2641
|
});
|
|
2706
2642
|
}
|
|
2707
|
-
function
|
|
2643
|
+
function Mo({ className: e, ...t }) {
|
|
2708
2644
|
return /* @__PURE__ */ v(h, {
|
|
2709
2645
|
className: q("flex flex-1 flex-col gap-1", e),
|
|
2710
2646
|
...t
|
|
2711
2647
|
});
|
|
2712
2648
|
}
|
|
2713
|
-
function
|
|
2649
|
+
function No({ className: e, ...t }) {
|
|
2714
2650
|
return /* @__PURE__ */ v(Y, {
|
|
2715
2651
|
variant: "bodySmall",
|
|
2716
2652
|
className: q("text-muted-foreground", e),
|
|
2717
2653
|
...t
|
|
2718
2654
|
});
|
|
2719
2655
|
}
|
|
2720
|
-
function
|
|
2656
|
+
function Po({ className: e, ...t }) {
|
|
2721
2657
|
return /* @__PURE__ */ v(h, {
|
|
2722
2658
|
className: q("flex w-full flex-row items-center justify-between gap-2", e),
|
|
2723
2659
|
...t
|
|
2724
2660
|
});
|
|
2725
2661
|
}
|
|
2726
|
-
function
|
|
2662
|
+
function Fo({ className: e, ...t }) {
|
|
2727
2663
|
return /* @__PURE__ */ v(h, {
|
|
2728
2664
|
className: q("flex flex-col gap-4", e),
|
|
2729
2665
|
...t
|
|
2730
2666
|
});
|
|
2731
2667
|
}
|
|
2732
|
-
function
|
|
2668
|
+
function Io({ className: e, ...t }) {
|
|
2733
2669
|
return /* @__PURE__ */ v(h, {
|
|
2734
2670
|
className: q("flex w-full flex-row items-center justify-between gap-2", e),
|
|
2735
2671
|
...t
|
|
2736
2672
|
});
|
|
2737
2673
|
}
|
|
2738
|
-
function
|
|
2674
|
+
function Lo({ className: e, variant: t, ...n }) {
|
|
2739
2675
|
return /* @__PURE__ */ v(h, {
|
|
2740
2676
|
className: q("flex shrink-0 items-center justify-center gap-2", e),
|
|
2741
2677
|
...n
|
|
2742
2678
|
});
|
|
2743
2679
|
}
|
|
2744
|
-
function
|
|
2680
|
+
function Ro({ className: e, orientation: t, ...n }) {
|
|
2745
2681
|
return /* @__PURE__ */ v(h, {
|
|
2746
2682
|
className: q("bg-border my-2 h-px w-full", e),
|
|
2747
2683
|
...n
|
|
2748
2684
|
});
|
|
2749
2685
|
}
|
|
2750
|
-
function
|
|
2686
|
+
function zo({ className: e, ...t }) {
|
|
2751
2687
|
return /* @__PURE__ */ v(Y, {
|
|
2752
2688
|
variant: "bodySmall",
|
|
2753
2689
|
className: q("font-medium", e),
|
|
2754
2690
|
...t
|
|
2755
2691
|
});
|
|
2756
2692
|
}
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
var Vo = e.createContext(null);
|
|
2693
|
+
// src/combobox.tsx
|
|
2694
|
+
var Bo = e.createContext(null);
|
|
2760
2695
|
function $() {
|
|
2761
|
-
let t = e.useContext(
|
|
2696
|
+
let t = e.useContext(Bo);
|
|
2762
2697
|
if (!t) throw Error("Combobox components must be rendered within a Combobox provider");
|
|
2763
2698
|
return t;
|
|
2764
2699
|
}
|
|
2765
|
-
function
|
|
2700
|
+
function Vo({ className: t, value: n, onValueChange: r, ...i }) {
|
|
2766
2701
|
let [a, o] = e.useState(!1), [s, c] = e.useState(n || ""), [l, u] = e.useState(""), d = n === void 0 ? s : n;
|
|
2767
|
-
return /* @__PURE__ */ v(
|
|
2702
|
+
return /* @__PURE__ */ v(Bo.Provider, {
|
|
2768
2703
|
value: {
|
|
2769
2704
|
open: a,
|
|
2770
2705
|
setOpen: o,
|
|
@@ -2785,7 +2720,7 @@ function Ho({ className: t, value: n, onValueChange: r, ...i }) {
|
|
|
2785
2720
|
})
|
|
2786
2721
|
});
|
|
2787
2722
|
}
|
|
2788
|
-
function
|
|
2723
|
+
function Ho({ className: e, children: t, ...n }) {
|
|
2789
2724
|
let { value: r } = $();
|
|
2790
2725
|
return /* @__PURE__ */ v(h, {
|
|
2791
2726
|
className: e,
|
|
@@ -2796,7 +2731,7 @@ function Uo({ className: e, children: t, ...n }) {
|
|
|
2796
2731
|
})
|
|
2797
2732
|
});
|
|
2798
2733
|
}
|
|
2799
|
-
function
|
|
2734
|
+
function Uo({ className: e, children: t, ...n }) {
|
|
2800
2735
|
return /* @__PURE__ */ v(jn, {
|
|
2801
2736
|
asChild: !0,
|
|
2802
2737
|
children: /* @__PURE__ */ y(l, {
|
|
@@ -2812,7 +2747,7 @@ function Wo({ className: e, children: t, ...n }) {
|
|
|
2812
2747
|
})
|
|
2813
2748
|
});
|
|
2814
2749
|
}
|
|
2815
|
-
function
|
|
2750
|
+
function Wo({ className: e, children: t, ...n }) {
|
|
2816
2751
|
let { setValue: r } = $();
|
|
2817
2752
|
return /* @__PURE__ */ v(l, {
|
|
2818
2753
|
className: q("flex items-center justify-center p-1", e),
|
|
@@ -2824,7 +2759,7 @@ function Go({ className: e, children: t, ...n }) {
|
|
|
2824
2759
|
})
|
|
2825
2760
|
});
|
|
2826
2761
|
}
|
|
2827
|
-
function
|
|
2762
|
+
function Go({ className: e, showClear: t, showTrigger: n, placeholder: r = "Search...", ...i }) {
|
|
2828
2763
|
let { searchQuery: a, setSearchQuery: o } = $();
|
|
2829
2764
|
return /* @__PURE__ */ v(h, {
|
|
2830
2765
|
className: "border-border flex flex-row items-center border-b px-3",
|
|
@@ -2838,7 +2773,7 @@ function Ko({ className: e, showClear: t, showTrigger: n, placeholder: r = "Sear
|
|
|
2838
2773
|
})
|
|
2839
2774
|
});
|
|
2840
2775
|
}
|
|
2841
|
-
function
|
|
2776
|
+
function Ko({ className: e, side: t, sideOffset: n, align: r, alignOffset: i, anchor: a, ...o }) {
|
|
2842
2777
|
return /* @__PURE__ */ v(Fn, {
|
|
2843
2778
|
className: "p-0",
|
|
2844
2779
|
children: /* @__PURE__ */ v(h, {
|
|
@@ -2847,13 +2782,13 @@ function qo({ className: e, side: t, sideOffset: n, align: r, alignOffset: i, an
|
|
|
2847
2782
|
})
|
|
2848
2783
|
});
|
|
2849
2784
|
}
|
|
2850
|
-
function
|
|
2785
|
+
function qo({ className: e, ...t }) {
|
|
2851
2786
|
return /* @__PURE__ */ v(h, {
|
|
2852
2787
|
className: q("max-h-[300px] overflow-hidden", e),
|
|
2853
2788
|
...t
|
|
2854
2789
|
});
|
|
2855
2790
|
}
|
|
2856
|
-
function
|
|
2791
|
+
function Jo({ className: t, children: n, value: r, ...i }) {
|
|
2857
2792
|
let { value: a, setValue: o, searchQuery: s } = $(), c = e.Children.toArray(n).join("").toLowerCase();
|
|
2858
2793
|
if (s && !c.includes(s.toLowerCase()) && !r.toLowerCase().includes(s.toLowerCase())) return null;
|
|
2859
2794
|
let u = a === r;
|
|
@@ -2873,25 +2808,25 @@ function Yo({ className: t, children: n, value: r, ...i }) {
|
|
|
2873
2808
|
})]
|
|
2874
2809
|
});
|
|
2875
2810
|
}
|
|
2876
|
-
function
|
|
2811
|
+
function Yo({ className: e, ...t }) {
|
|
2877
2812
|
return /* @__PURE__ */ v(h, {
|
|
2878
2813
|
className: q("text-foreground overflow-hidden p-1", e),
|
|
2879
2814
|
...t
|
|
2880
2815
|
});
|
|
2881
2816
|
}
|
|
2882
|
-
function
|
|
2817
|
+
function Xo({ className: e, ...t }) {
|
|
2883
2818
|
return /* @__PURE__ */ v(h, {
|
|
2884
2819
|
className: q("text-muted-foreground px-2 py-1.5 text-xs font-semibold", e),
|
|
2885
2820
|
...t
|
|
2886
2821
|
});
|
|
2887
2822
|
}
|
|
2888
|
-
function
|
|
2823
|
+
function Zo({ className: e, ...t }) {
|
|
2889
2824
|
return /* @__PURE__ */ v(h, {
|
|
2890
2825
|
className: e,
|
|
2891
2826
|
...t
|
|
2892
2827
|
});
|
|
2893
2828
|
}
|
|
2894
|
-
function
|
|
2829
|
+
function Qo({ className: e, children: t, ...n }) {
|
|
2895
2830
|
let { searchQuery: r } = $();
|
|
2896
2831
|
return r ? /* @__PURE__ */ v(h, {
|
|
2897
2832
|
className: q("py-6 text-center text-sm", e),
|
|
@@ -2902,19 +2837,19 @@ function $o({ className: e, children: t, ...n }) {
|
|
|
2902
2837
|
})
|
|
2903
2838
|
}) : null;
|
|
2904
2839
|
}
|
|
2905
|
-
function
|
|
2840
|
+
function $o({ className: e, ...t }) {
|
|
2906
2841
|
return /* @__PURE__ */ v(h, {
|
|
2907
2842
|
className: q("bg-muted -mx-1 h-px", e),
|
|
2908
2843
|
...t
|
|
2909
2844
|
});
|
|
2910
2845
|
}
|
|
2911
|
-
function
|
|
2846
|
+
function es({ className: e, ...t }) {
|
|
2912
2847
|
return /* @__PURE__ */ v(h, {
|
|
2913
2848
|
className: q("flex flex-row flex-wrap gap-1", e),
|
|
2914
2849
|
...t
|
|
2915
2850
|
});
|
|
2916
2851
|
}
|
|
2917
|
-
function
|
|
2852
|
+
function ts({ className: e, showRemove: t, children: n, ...r }) {
|
|
2918
2853
|
return /* @__PURE__ */ y(h, {
|
|
2919
2854
|
className: q("bg-secondary text-secondary-foreground flex flex-row items-center rounded-md px-2 py-1", e),
|
|
2920
2855
|
...r,
|
|
@@ -2924,18 +2859,17 @@ function ns({ className: e, showRemove: t, children: n, ...r }) {
|
|
|
2924
2859
|
})]
|
|
2925
2860
|
});
|
|
2926
2861
|
}
|
|
2927
|
-
function
|
|
2862
|
+
function ns({ className: e, ...t }) {
|
|
2928
2863
|
return /* @__PURE__ */ v(p, {
|
|
2929
2864
|
className: q("flex-1 bg-transparent px-2 py-1 outline-none", e),
|
|
2930
2865
|
...t
|
|
2931
2866
|
});
|
|
2932
2867
|
}
|
|
2933
|
-
function
|
|
2868
|
+
function rs() {
|
|
2934
2869
|
return e.useRef(null);
|
|
2935
2870
|
}
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
function as({ className: e, containerClassName: t, ...n }) {
|
|
2871
|
+
// src/input-otp.tsx
|
|
2872
|
+
function is({ className: e, containerClassName: t, ...n }) {
|
|
2939
2873
|
return /* @__PURE__ */ v(h, {
|
|
2940
2874
|
className: q("border-destructive/50 rounded-md border border-dashed p-4", t, e),
|
|
2941
2875
|
...n,
|
|
@@ -2945,33 +2879,32 @@ function as({ className: e, containerClassName: t, ...n }) {
|
|
|
2945
2879
|
})
|
|
2946
2880
|
});
|
|
2947
2881
|
}
|
|
2948
|
-
function
|
|
2882
|
+
function as({ className: e, ...t }) {
|
|
2949
2883
|
return /* @__PURE__ */ v(h, {
|
|
2950
2884
|
className: e,
|
|
2951
2885
|
...t
|
|
2952
2886
|
});
|
|
2953
2887
|
}
|
|
2954
|
-
function
|
|
2888
|
+
function os({ className: e, index: t, ...n }) {
|
|
2955
2889
|
return /* @__PURE__ */ v(h, {
|
|
2956
2890
|
className: e,
|
|
2957
2891
|
...n
|
|
2958
2892
|
});
|
|
2959
2893
|
}
|
|
2960
|
-
function
|
|
2894
|
+
function ss({ className: e, ...t }) {
|
|
2961
2895
|
return /* @__PURE__ */ v(h, {
|
|
2962
2896
|
className: e,
|
|
2963
2897
|
...t
|
|
2964
2898
|
});
|
|
2965
2899
|
}
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
function ls({ className: e, defaultOpen: t, open: n, onOpenChange: r, ...i }) {
|
|
2900
|
+
// src/sidebar.tsx
|
|
2901
|
+
function cs({ className: e, defaultOpen: t, open: n, onOpenChange: r, ...i }) {
|
|
2969
2902
|
return /* @__PURE__ */ v(h, {
|
|
2970
2903
|
className: e,
|
|
2971
2904
|
...i
|
|
2972
2905
|
});
|
|
2973
2906
|
}
|
|
2974
|
-
function
|
|
2907
|
+
function ls({ className: e, side: t, variant: n, collapsible: r, ...i }) {
|
|
2975
2908
|
return /* @__PURE__ */ v(h, {
|
|
2976
2909
|
className: q("border-destructive/50 rounded-md border border-dashed p-4", e),
|
|
2977
2910
|
...i,
|
|
@@ -2981,12 +2914,18 @@ function us({ className: e, side: t, variant: n, collapsible: r, ...i }) {
|
|
|
2981
2914
|
})
|
|
2982
2915
|
});
|
|
2983
2916
|
}
|
|
2984
|
-
function
|
|
2917
|
+
function us({ className: e, ...t }) {
|
|
2985
2918
|
return /* @__PURE__ */ v(l, {
|
|
2986
2919
|
className: e,
|
|
2987
2920
|
...t
|
|
2988
2921
|
});
|
|
2989
2922
|
}
|
|
2923
|
+
function ds({ className: e, ...t }) {
|
|
2924
|
+
return /* @__PURE__ */ v(h, {
|
|
2925
|
+
className: e,
|
|
2926
|
+
...t
|
|
2927
|
+
});
|
|
2928
|
+
}
|
|
2990
2929
|
function fs({ className: e, ...t }) {
|
|
2991
2930
|
return /* @__PURE__ */ v(h, {
|
|
2992
2931
|
className: e,
|
|
@@ -3029,85 +2968,79 @@ function vs({ className: e, ...t }) {
|
|
|
3029
2968
|
...t
|
|
3030
2969
|
});
|
|
3031
2970
|
}
|
|
3032
|
-
function ys({ className: e,
|
|
3033
|
-
return /* @__PURE__ */ v(h, {
|
|
3034
|
-
className: e,
|
|
3035
|
-
...t
|
|
3036
|
-
});
|
|
3037
|
-
}
|
|
3038
|
-
function bs({ className: e, asChild: t, ...n }) {
|
|
2971
|
+
function ys({ className: e, asChild: t, ...n }) {
|
|
3039
2972
|
return /* @__PURE__ */ v(h, {
|
|
3040
2973
|
className: e,
|
|
3041
2974
|
...n
|
|
3042
2975
|
});
|
|
3043
2976
|
}
|
|
3044
|
-
function
|
|
2977
|
+
function bs({ className: e, asChild: t, ...n }) {
|
|
3045
2978
|
return /* @__PURE__ */ v(l, {
|
|
3046
2979
|
className: e,
|
|
3047
2980
|
...n
|
|
3048
2981
|
});
|
|
3049
2982
|
}
|
|
3050
|
-
function
|
|
2983
|
+
function xs({ className: e, ...t }) {
|
|
3051
2984
|
return /* @__PURE__ */ v(h, {
|
|
3052
2985
|
className: e,
|
|
3053
2986
|
...t
|
|
3054
2987
|
});
|
|
3055
2988
|
}
|
|
3056
|
-
function
|
|
2989
|
+
function Ss({ className: e, ...t }) {
|
|
3057
2990
|
return /* @__PURE__ */ v(h, {
|
|
3058
2991
|
className: e,
|
|
3059
2992
|
...t
|
|
3060
2993
|
});
|
|
3061
2994
|
}
|
|
3062
|
-
function
|
|
2995
|
+
function Cs({ className: e, ...t }) {
|
|
3063
2996
|
return /* @__PURE__ */ v(h, {
|
|
3064
2997
|
className: e,
|
|
3065
2998
|
...t
|
|
3066
2999
|
});
|
|
3067
3000
|
}
|
|
3068
|
-
function
|
|
3001
|
+
function ws({ className: e, asChild: t, isActive: n, variant: r, size: i, tooltip: a, ...o }) {
|
|
3069
3002
|
return /* @__PURE__ */ v(l, {
|
|
3070
3003
|
className: e,
|
|
3071
3004
|
...o
|
|
3072
3005
|
});
|
|
3073
3006
|
}
|
|
3074
|
-
function
|
|
3007
|
+
function Ts({ className: e, asChild: t, showOnHover: n, ...r }) {
|
|
3075
3008
|
return /* @__PURE__ */ v(l, {
|
|
3076
3009
|
className: e,
|
|
3077
3010
|
...r
|
|
3078
3011
|
});
|
|
3079
3012
|
}
|
|
3080
|
-
function
|
|
3013
|
+
function Es({ className: e, ...t }) {
|
|
3081
3014
|
return /* @__PURE__ */ v(h, {
|
|
3082
3015
|
className: e,
|
|
3083
3016
|
...t
|
|
3084
3017
|
});
|
|
3085
3018
|
}
|
|
3086
|
-
function
|
|
3019
|
+
function Ds({ className: e, showIcon: t, ...n }) {
|
|
3087
3020
|
return /* @__PURE__ */ v(h, {
|
|
3088
3021
|
className: e,
|
|
3089
3022
|
...n
|
|
3090
3023
|
});
|
|
3091
3024
|
}
|
|
3092
|
-
function
|
|
3025
|
+
function Os({ className: e, ...t }) {
|
|
3093
3026
|
return /* @__PURE__ */ v(h, {
|
|
3094
3027
|
className: e,
|
|
3095
3028
|
...t
|
|
3096
3029
|
});
|
|
3097
3030
|
}
|
|
3098
|
-
function
|
|
3031
|
+
function ks({ className: e, ...t }) {
|
|
3099
3032
|
return /* @__PURE__ */ v(h, {
|
|
3100
3033
|
className: e,
|
|
3101
3034
|
...t
|
|
3102
3035
|
});
|
|
3103
3036
|
}
|
|
3104
|
-
function
|
|
3037
|
+
function As({ className: e, asChild: t, size: n, isActive: r, ...i }) {
|
|
3105
3038
|
return /* @__PURE__ */ v(l, {
|
|
3106
3039
|
className: e,
|
|
3107
3040
|
...i
|
|
3108
3041
|
});
|
|
3109
3042
|
}
|
|
3110
|
-
function
|
|
3043
|
+
function js() {
|
|
3111
3044
|
return {
|
|
3112
3045
|
state: "expanded",
|
|
3113
3046
|
open: !0,
|
|
@@ -3118,9 +3051,11 @@ function Ms() {
|
|
|
3118
3051
|
toggleSidebar: () => {}
|
|
3119
3052
|
};
|
|
3120
3053
|
}
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3054
|
+
// src/attachment.tsx
|
|
3055
|
+
var Ms = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
3056
|
+
className: t,
|
|
3057
|
+
children: e
|
|
3058
|
+
}), Ns = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
3124
3059
|
className: t,
|
|
3125
3060
|
children: e
|
|
3126
3061
|
}), Ps = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
@@ -3138,10 +3073,10 @@ var Ns = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
|
3138
3073
|
}), Rs = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
3139
3074
|
className: t,
|
|
3140
3075
|
children: e
|
|
3141
|
-
}), zs = ({ children: e, className: t }) => /* @__PURE__ */ v(
|
|
3076
|
+
}), zs = ({ children: e, className: t }) => /* @__PURE__ */ v(l, {
|
|
3142
3077
|
className: t,
|
|
3143
3078
|
children: e
|
|
3144
|
-
}), Bs = ({ children: e, className: t }) => /* @__PURE__ */ v(
|
|
3079
|
+
}), Bs = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
3145
3080
|
className: t,
|
|
3146
3081
|
children: e
|
|
3147
3082
|
}), Vs = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
@@ -3183,22 +3118,22 @@ var Ns = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
|
3183
3118
|
}), $s = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
3184
3119
|
className: t,
|
|
3185
3120
|
children: e
|
|
3186
|
-
}), ec = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
3121
|
+
}), ec = ({ children: e }) => /* @__PURE__ */ v(_, { children: e }), tc = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
3187
3122
|
className: t,
|
|
3188
3123
|
children: e
|
|
3189
|
-
}),
|
|
3124
|
+
}), nc = ({ children: e, className: t }) => /* @__PURE__ */ v(u, {
|
|
3190
3125
|
className: t,
|
|
3191
3126
|
children: e
|
|
3192
|
-
}), rc = ({ children: e, className: t }) => /* @__PURE__ */ v(
|
|
3127
|
+
}), rc = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
3193
3128
|
className: t,
|
|
3194
3129
|
children: e
|
|
3195
3130
|
}), ic = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
3196
3131
|
className: t,
|
|
3197
3132
|
children: e
|
|
3198
|
-
}), ac = ({ children: e, className: t }) => /* @__PURE__ */ v(
|
|
3133
|
+
}), ac = ({ children: e, className: t }) => /* @__PURE__ */ v(l, {
|
|
3199
3134
|
className: t,
|
|
3200
3135
|
children: e
|
|
3201
|
-
}), oc = ({ children: e, className: t }) => /* @__PURE__ */ v(
|
|
3136
|
+
}), oc = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
3202
3137
|
className: t,
|
|
3203
3138
|
children: e
|
|
3204
3139
|
}), sc = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
@@ -3216,10 +3151,10 @@ var Ns = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
|
3216
3151
|
}), dc = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
3217
3152
|
className: t,
|
|
3218
3153
|
children: e
|
|
3219
|
-
}), fc = ({ children: e, className: t }) => /* @__PURE__ */ v(
|
|
3154
|
+
}), fc = ({ children: e, className: t }) => /* @__PURE__ */ v(l, {
|
|
3220
3155
|
className: t,
|
|
3221
3156
|
children: e
|
|
3222
|
-
}), pc = ({ children: e, className: t }) => /* @__PURE__ */ v(
|
|
3157
|
+
}), pc = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
3223
3158
|
className: t,
|
|
3224
3159
|
children: e
|
|
3225
3160
|
}), mc = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
@@ -3231,7 +3166,7 @@ var Ns = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
|
3231
3166
|
}), gc = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
3232
3167
|
className: t,
|
|
3233
3168
|
children: e
|
|
3234
|
-
}), _c = ({ children: e, className: t }) => /* @__PURE__ */ v(
|
|
3169
|
+
}), _c = ({ children: e, className: t }) => /* @__PURE__ */ v(l, {
|
|
3235
3170
|
className: t,
|
|
3236
3171
|
children: e
|
|
3237
3172
|
}), vc = ({ children: e, className: t }) => /* @__PURE__ */ v(l, {
|
|
@@ -3243,9 +3178,5 @@ var Ns = ({ children: e, className: t }) => /* @__PURE__ */ v(h, {
|
|
|
3243
3178
|
}), bc = ({ children: e, className: t }) => /* @__PURE__ */ v(l, {
|
|
3244
3179
|
className: t,
|
|
3245
3180
|
children: e
|
|
3246
|
-
}), xc = ({ children: e, className: t }) => /* @__PURE__ */ v(l, {
|
|
3247
|
-
className: t,
|
|
3248
|
-
children: e
|
|
3249
3181
|
});
|
|
3250
|
-
|
|
3251
|
-
export { Xe as Accordion, et as AccordionContent, Ze as AccordionItem, $e as AccordionTrigger, nt as Alert, it as AlertDescription, st as AlertDialog, gt as AlertDialogAction, _t as AlertDialogCancel, dt as AlertDialogContent, ht as AlertDialogDescription, pt as AlertDialogFooter, ft as AlertDialogHeader, ut as AlertDialogOverlay, lt as AlertDialogPortal, mt as AlertDialogTitle, ct as AlertDialogTrigger, rt as AlertTitle, vt as AspectRatio, Ns as Attachment, zs as AttachmentAction, Rs as AttachmentActions, Fs as AttachmentContent, Ls as AttachmentDescription, Vs as AttachmentGroup, Ps as AttachmentMedia, Is as AttachmentTitle, Bs as AttachmentTrigger, yt as Avatar, xt as AvatarFallback, bt as AvatarImage, wt as Badge, Dt as Breadcrumb, Nt as BreadcrumbEllipsis, kt as BreadcrumbItem, At as BreadcrumbLink, Ot as BreadcrumbList, jt as BreadcrumbPage, Mt as BreadcrumbSeparator, Us as Bubble, Ws as BubbleContent, Hs as BubbleGroup, Gs as BubbleReactions, J as Button, Xa as ButtonGroup, Qa as ButtonGroupSeparator, Za as ButtonGroupText, Pt as Calendar, Ft as Card, zt as CardContent, Rt as CardDescription, Bt as CardFooter, It as CardHeader, Lt as CardTitle, Ut as Carousel, Wt as CarouselContent, Gt as CarouselItem, qt as CarouselNext, Kt as CarouselPrevious, Jt as ChartContainer, Qt as ChartLegend, Xt as ChartLegendContent, $t as ChartStyle, Zt as ChartTooltip, Yt as ChartTooltipContent, en as Checkbox, tn as Collapsible, rn as CollapsibleContent, nn as CollapsibleTrigger, Ho as Combobox, ns as ComboboxChip, ts as ComboboxChips, rs as ComboboxChipsInput, Go as ComboboxClear, Qo as ComboboxCollection, qo as ComboboxContent, $o as ComboboxEmpty, Xo as ComboboxGroup, Ko as ComboboxInput, Yo as ComboboxItem, Zo as ComboboxLabel, Jo as ComboboxList, es as ComboboxSeparator, Wo as ComboboxTrigger, Uo as ComboboxValue, an as Command, on as CommandDialog, ln as CommandEmpty, un as CommandGroup, sn as CommandInput, dn as CommandItem, cn as CommandList, fn as CommandSeparator, pn as CommandShortcut, mn as ContextMenu, Cn as ContextMenuCheckboxItem, xn as ContextMenuContent, _n as ContextMenuGroup, Sn as ContextMenuItem, Tn as ContextMenuLabel, gn as ContextMenuPortal, vn as ContextMenuRadioGroup, wn as ContextMenuRadioItem, En as ContextMenuSeparator, Dn as ContextMenuShortcut, yn as ContextMenuSub, kn as ContextMenuSubContent, On as ContextMenuSubTrigger, hn as ContextMenuTrigger, An as Dialog, Nn as DialogClose, Fn as DialogContent, zn as DialogDescription, Ln as DialogFooter, In as DialogHeader, Rn as DialogTitle, jn as DialogTrigger, eo as DirectionProvider, Bn as Drawer, qn as DrawerClose, Wn as DrawerContent, Yn as DrawerDescription, Kn as DrawerFooter, Gn as DrawerHeader, Un as DrawerOverlay, Hn as DrawerPortal, Jn as DrawerTitle, Vn as DrawerTrigger, Xn as DropdownMenu, ir as DropdownMenuCheckboxItem, rr as DropdownMenuContent, $n as DropdownMenuGroup, X as DropdownMenuItem, or as DropdownMenuLabel, Qn as DropdownMenuPortal, er as DropdownMenuRadioGroup, ar as DropdownMenuRadioItem, sr as DropdownMenuSeparator, cr as DropdownMenuShortcut, tr as DropdownMenuSub, ur as DropdownMenuSubContent, lr as DropdownMenuSubTrigger, Zn as DropdownMenuTrigger, no as Empty, so as EmptyContent, oo as EmptyDescription, ro as EmptyHeader, io as EmptyMedia, ao as EmptyTitle, lo as Field, uo as FieldContent, fo as FieldDescription, po as FieldError, mo as FieldGroup, ho as FieldLabel, go as FieldLegend, _o as FieldSeparator, vo as FieldSet, yo as FieldTitle, fr as Form, vr as FormControl, yr as FormDescription, mr as FormField, gr as FormItem, _r as FormLabel, br as FormMessage, xr as HoverCard, Cr as HoverCardContent, Sr as HoverCardTrigger, wr as Input, bo as InputGroup, xo as InputGroupAddon, So as InputGroupButton, wo as InputGroupInput, Co as InputGroupText, To as InputGroupTextarea, as as InputOTP, os as InputOTPGroup, cs as InputOTPSeparator, ss as InputOTPSlot, jo as Item, Mo as ItemActions, No as ItemContent, Po as ItemDescription, Fo as ItemFooter, Io as ItemGroup, Lo as ItemHeader, Ro as ItemMedia, zo as ItemSeparator, Bo as ItemTitle, ko as Kbd, Ao as KbdGroup, dr as Label, Ks as Marker, Js as MarkerContent, qs as MarkerIcon, Tr as Menubar, Fr as MenubarCheckboxItem, Nr as MenubarContent, Or as MenubarGroup, Pr as MenubarItem, Lr as MenubarLabel, Er as MenubarMenu, Dr as MenubarPortal, kr as MenubarRadioGroup, Ir as MenubarRadioItem, Rr as MenubarSeparator, zr as MenubarShortcut, Ar as MenubarSub, Vr as MenubarSubContent, Br as MenubarSubTrigger, Mr as MenubarTrigger, Xs as Message, Zs as MessageAvatar, Qs as MessageContent, ec as MessageFooter, Ys as MessageGroup, $s as MessageHeader, nc as MessageScroller, oc as MessageScrollerButton, ic as MessageScrollerContent, ac as MessageScrollerItem, tc as MessageScrollerProvider, rc as MessageScrollerViewport, Eo as NativeSelect, Oo as NativeSelectOptGroup, Do as NativeSelectOption, Hr as NavigationMenu, Kr as NavigationMenuContent, Yr as NavigationMenuIndicator, Wr as NavigationMenuItem, qr as NavigationMenuLink, Ur as NavigationMenuList, Gr as NavigationMenuTrigger, Jr as NavigationMenuViewport, Xr as Pagination, Zr as PaginationContent, ni as PaginationEllipsis, Qr as PaginationItem, $r as PaginationLink, ti as PaginationNext, ei as PaginationPrevious, ii as Popover, oi as PopoverAnchor, si as PopoverContent, ai as PopoverTrigger, ci as Progress, sc as Questionnaire, _c as QuestionnaireActions, pc as QuestionnaireChoice, mc as QuestionnaireChoiceDescription, fc as QuestionnaireChoices, dc as QuestionnaireDescription, gc as QuestionnaireError, hc as QuestionnaireInput, lc as QuestionnaireItem, bc as QuestionnaireNext, vc as QuestionnairePrevious, cc as QuestionnaireProgress, yc as QuestionnaireSkip, xc as QuestionnaireSubmit, uc as QuestionnaireTitle, li as RadioGroup, ui as RadioGroupItem, pi as ResizableHandle, fi as ResizablePanel, di as ResizablePanelGroup, mi as ScrollArea, Oi as ScrollToTop, gi as Search, vi as Select, wi as SelectContent, yi as SelectGroup, Ei as SelectItem, Ti as SelectLabel, Ci as SelectScrollDownButton, Si as SelectScrollUpButton, Di as SelectSeparator, xi as SelectTrigger, bi as SelectValue, Ii as Separator, Li as Sheet, zi as SheetClose, Hi as SheetContent, Ki as SheetDescription, Wi as SheetFooter, Ui as SheetHeader, Vi as SheetOverlay, Bi as SheetPortal, Gi as SheetTitle, Ri as SheetTrigger, us as Sidebar, vs as SidebarContent, gs as SidebarFooter, ys as SidebarGroup, xs as SidebarGroupAction, Ss as SidebarGroupContent, bs as SidebarGroupLabel, hs as SidebarHeader, ms as SidebarInput, ps as SidebarInset, Cs as SidebarMenu, Es as SidebarMenuAction, Ds as SidebarMenuBadge, Ts as SidebarMenuButton, ws as SidebarMenuItem, Os as SidebarMenuSkeleton, ks as SidebarMenuSub, js as SidebarMenuSubButton, As as SidebarMenuSubItem, ls as SidebarProvider, fs as SidebarRail, _s as SidebarSeparator, ds as SidebarTrigger, qi as Skeleton, Ji as Slider, na as Sonner, co as Spinner, Fi as SupportFab, ra as Switch, ia as Table, oa as TableBody, da as TableCaption, ua as TableCell, sa as TableFooter, la as TableHead, aa as TableHeader, Ka as TableOfContents, Ya as TableOfContentsContent, qa as TableOfContentsHeading, Ja as TableOfContentsList, ca as TableRow, fa as Tabs, ha as TabsContent, pa as TabsList, ma as TabsTrigger, Y as Text, ga as Textarea, Ra as ThemeProvider, Ha as ThemeToggle, Zi as Toast, Ua as Toaster, _a as Toggle, ya as ToggleGroup, ba as ToggleGroupItem, xa as Tooltip, Ca as TooltipContent, wa as TooltipProvider, Sa as TooltipTrigger, St as badgeVariants, $a as buttonGroupVariants, at as buttonVariants, q as cn, Et as textVariants, Fa as toast, We as toggleVariants, is as useComboboxAnchor, to as useDirection, Z as useFormField, Ms as useSidebar, za as useTheme, Ia as useToast, K as wrapTextChildren };
|
|
3182
|
+
export { Xe as Accordion, et as AccordionContent, Ze as AccordionItem, $e as AccordionTrigger, nt as Alert, it as AlertDescription, st as AlertDialog, gt as AlertDialogAction, _t as AlertDialogCancel, dt as AlertDialogContent, ht as AlertDialogDescription, pt as AlertDialogFooter, ft as AlertDialogHeader, ut as AlertDialogOverlay, lt as AlertDialogPortal, mt as AlertDialogTitle, ct as AlertDialogTrigger, rt as AlertTitle, vt as AspectRatio, Ms as Attachment, Rs as AttachmentAction, Ls as AttachmentActions, Ps as AttachmentContent, Is as AttachmentDescription, Bs as AttachmentGroup, Ns as AttachmentMedia, Fs as AttachmentTitle, zs as AttachmentTrigger, yt as Avatar, xt as AvatarFallback, bt as AvatarImage, wt as Badge, Dt as Breadcrumb, Nt as BreadcrumbEllipsis, kt as BreadcrumbItem, At as BreadcrumbLink, Ot as BreadcrumbList, jt as BreadcrumbPage, Mt as BreadcrumbSeparator, Hs as Bubble, Us as BubbleContent, Vs as BubbleGroup, Ws as BubbleReactions, J as Button, Ya as ButtonGroup, Za as ButtonGroupSeparator, Xa as ButtonGroupText, Pt as Calendar, Ft as Card, zt as CardContent, Rt as CardDescription, Bt as CardFooter, It as CardHeader, Lt as CardTitle, Ut as Carousel, Wt as CarouselContent, Gt as CarouselItem, qt as CarouselNext, Kt as CarouselPrevious, Jt as ChartContainer, Qt as ChartLegend, Xt as ChartLegendContent, $t as ChartStyle, Zt as ChartTooltip, Yt as ChartTooltipContent, en as Checkbox, tn as Collapsible, rn as CollapsibleContent, nn as CollapsibleTrigger, Vo as Combobox, ts as ComboboxChip, es as ComboboxChips, ns as ComboboxChipsInput, Wo as ComboboxClear, Zo as ComboboxCollection, Ko as ComboboxContent, Qo as ComboboxEmpty, Yo as ComboboxGroup, Go as ComboboxInput, Jo as ComboboxItem, Xo as ComboboxLabel, qo as ComboboxList, $o as ComboboxSeparator, Uo as ComboboxTrigger, Ho as ComboboxValue, an as Command, on as CommandDialog, ln as CommandEmpty, un as CommandGroup, sn as CommandInput, dn as CommandItem, cn as CommandList, fn as CommandSeparator, pn as CommandShortcut, mn as ContextMenu, Cn as ContextMenuCheckboxItem, xn as ContextMenuContent, _n as ContextMenuGroup, Sn as ContextMenuItem, Tn as ContextMenuLabel, gn as ContextMenuPortal, vn as ContextMenuRadioGroup, wn as ContextMenuRadioItem, En as ContextMenuSeparator, Dn as ContextMenuShortcut, yn as ContextMenuSub, kn as ContextMenuSubContent, On as ContextMenuSubTrigger, hn as ContextMenuTrigger, An as Dialog, Nn as DialogClose, Fn as DialogContent, zn as DialogDescription, Ln as DialogFooter, In as DialogHeader, Rn as DialogTitle, jn as DialogTrigger, $a as DirectionProvider, Bn as Drawer, qn as DrawerClose, Wn as DrawerContent, Yn as DrawerDescription, Kn as DrawerFooter, Gn as DrawerHeader, Un as DrawerOverlay, Hn as DrawerPortal, Jn as DrawerTitle, Vn as DrawerTrigger, Xn as DropdownMenu, ir as DropdownMenuCheckboxItem, rr as DropdownMenuContent, $n as DropdownMenuGroup, X as DropdownMenuItem, or as DropdownMenuLabel, Qn as DropdownMenuPortal, er as DropdownMenuRadioGroup, ar as DropdownMenuRadioItem, sr as DropdownMenuSeparator, cr as DropdownMenuShortcut, tr as DropdownMenuSub, ur as DropdownMenuSubContent, lr as DropdownMenuSubTrigger, Zn as DropdownMenuTrigger, to as Empty, oo as EmptyContent, ao as EmptyDescription, no as EmptyHeader, ro as EmptyMedia, io as EmptyTitle, co as Field, lo as FieldContent, uo as FieldDescription, fo as FieldError, po as FieldGroup, mo as FieldLabel, ho as FieldLegend, go as FieldSeparator, _o as FieldSet, vo as FieldTitle, fr as Form, vr as FormControl, yr as FormDescription, mr as FormField, gr as FormItem, _r as FormLabel, br as FormMessage, xr as HoverCard, Cr as HoverCardContent, Sr as HoverCardTrigger, wr as Input, yo as InputGroup, bo as InputGroupAddon, xo as InputGroupButton, Co as InputGroupInput, So as InputGroupText, wo as InputGroupTextarea, is as InputOTP, as as InputOTPGroup, ss as InputOTPSeparator, os as InputOTPSlot, Ao as Item, jo as ItemActions, Mo as ItemContent, No as ItemDescription, Po as ItemFooter, Fo as ItemGroup, Io as ItemHeader, Lo as ItemMedia, Ro as ItemSeparator, zo as ItemTitle, Oo as Kbd, ko as KbdGroup, dr as Label, Gs as Marker, qs as MarkerContent, Ks as MarkerIcon, Tr as Menubar, Fr as MenubarCheckboxItem, Nr as MenubarContent, Or as MenubarGroup, Pr as MenubarItem, Lr as MenubarLabel, Er as MenubarMenu, Dr as MenubarPortal, kr as MenubarRadioGroup, Ir as MenubarRadioItem, Rr as MenubarSeparator, zr as MenubarShortcut, Ar as MenubarSub, Vr as MenubarSubContent, Br as MenubarSubTrigger, Mr as MenubarTrigger, Ys as Message, Xs as MessageAvatar, Zs as MessageContent, $s as MessageFooter, Js as MessageGroup, Qs as MessageHeader, tc as MessageScroller, ac as MessageScrollerButton, rc as MessageScrollerContent, ic as MessageScrollerItem, ec as MessageScrollerProvider, nc as MessageScrollerViewport, To as NativeSelect, Do as NativeSelectOptGroup, Eo as NativeSelectOption, Hr as NavigationMenu, Kr as NavigationMenuContent, Yr as NavigationMenuIndicator, Wr as NavigationMenuItem, qr as NavigationMenuLink, Ur as NavigationMenuList, Gr as NavigationMenuTrigger, Jr as NavigationMenuViewport, Xr as Pagination, Zr as PaginationContent, ni as PaginationEllipsis, Qr as PaginationItem, $r as PaginationLink, ti as PaginationNext, ei as PaginationPrevious, ii as Popover, oi as PopoverAnchor, si as PopoverContent, ai as PopoverTrigger, ci as Progress, oc as Questionnaire, gc as QuestionnaireActions, fc as QuestionnaireChoice, pc as QuestionnaireChoiceDescription, dc as QuestionnaireChoices, uc as QuestionnaireDescription, hc as QuestionnaireError, mc as QuestionnaireInput, cc as QuestionnaireItem, yc as QuestionnaireNext, _c as QuestionnairePrevious, sc as QuestionnaireProgress, vc as QuestionnaireSkip, bc as QuestionnaireSubmit, lc as QuestionnaireTitle, li as RadioGroup, ui as RadioGroupItem, pi as ResizableHandle, fi as ResizablePanel, di as ResizablePanelGroup, mi as ScrollArea, Di as ScrollToTop, hi as Search, _i as Select, Ci as SelectContent, vi as SelectGroup, Ti as SelectItem, wi as SelectLabel, Si as SelectScrollDownButton, xi as SelectScrollUpButton, Ei as SelectSeparator, bi as SelectTrigger, yi as SelectValue, Fi as Separator, Ii as Sheet, Ri as SheetClose, Vi as SheetContent, Gi as SheetDescription, Ui as SheetFooter, Hi as SheetHeader, Bi as SheetOverlay, zi as SheetPortal, Wi as SheetTitle, Li as SheetTrigger, ls as Sidebar, _s as SidebarContent, hs as SidebarFooter, vs as SidebarGroup, bs as SidebarGroupAction, xs as SidebarGroupContent, ys as SidebarGroupLabel, ms as SidebarHeader, ps as SidebarInput, fs as SidebarInset, Ss as SidebarMenu, Ts as SidebarMenuAction, Es as SidebarMenuBadge, ws as SidebarMenuButton, Cs as SidebarMenuItem, Ds as SidebarMenuSkeleton, Os as SidebarMenuSub, As as SidebarMenuSubButton, ks as SidebarMenuSubItem, cs as SidebarProvider, ds as SidebarRail, gs as SidebarSeparator, us as SidebarTrigger, Ki as Skeleton, qi as Slider, ta as Sonner, so as Spinner, Pi as SupportFab, na as Switch, ra as Table, aa as TableBody, ua as TableCaption, la as TableCell, oa as TableFooter, ca as TableHead, ia as TableHeader, Ga as TableOfContents, Ja as TableOfContentsContent, Ka as TableOfContentsHeading, qa as TableOfContentsList, sa as TableRow, da as Tabs, ma as TabsContent, fa as TabsList, pa as TabsTrigger, Y as Text, ha as Textarea, La as ThemeProvider, Va as ThemeToggle, Xi as Toast, Ha as Toaster, ga as Toggle, va as ToggleGroup, ya as ToggleGroupItem, ba as Tooltip, Sa as TooltipContent, Ca as TooltipProvider, xa as TooltipTrigger, St as badgeVariants, Qa as buttonGroupVariants, at as buttonVariants, q as cn, Et as textVariants, Pa as toast, We as toggleVariants, rs as useComboboxAnchor, eo as useDirection, Z as useFormField, js as useSidebar, Ra as useTheme, Fa as useToast, K as wrapTextChildren };
|