@chaibuilder/sdk 3.0.4 → 3.0.5
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/{code-editor-BL_76o6w.cjs → code-editor-CF1tV_Nj.cjs} +1 -1
- package/dist/{code-editor-tDa4T69w.js → code-editor-CbG2Orke.js} +1 -1
- package/dist/core.cjs +4 -4
- package/dist/core.d.ts +0 -2
- package/dist/core.js +336 -294
- package/dist/{css-import-modal-CgSqJi_w.js → css-import-modal-CgQoE9jh.js} +1 -1
- package/dist/{css-import-modal-BRFVZ9j3.cjs → css-import-modal-bSqqsAxl.cjs} +1 -1
- package/dist/render.cjs +2 -2
- package/dist/render.js +63 -63
- package/dist/toggle-ByUaDO5Y.cjs +1 -0
- package/dist/{toggle-C6VUu_7m.js → toggle-Cud7csHn.js} +101 -93
- package/dist/ui.cjs +1 -1
- package/dist/ui.d.ts +3 -1
- package/dist/ui.js +1 -1
- package/dist/web-blocks.cjs +1 -1
- package/dist/web-blocks.js +30 -30
- package/package.json +1 -1
- package/dist/toggle-C5f1IJ1G.cjs +0 -1
|
@@ -7,6 +7,7 @@ import { Command as u } from "cmdk";
|
|
|
7
7
|
import * as d from "@radix-ui/react-dialog";
|
|
8
8
|
import * as h from "@radix-ui/react-popover";
|
|
9
9
|
import * as y from "@radix-ui/react-tooltip";
|
|
10
|
+
import * as R from "@radix-ui/react-switch";
|
|
10
11
|
import * as b from "@radix-ui/react-accordion";
|
|
11
12
|
import * as C from "@radix-ui/react-hover-card";
|
|
12
13
|
import * as A from "@radix-ui/react-label";
|
|
@@ -15,7 +16,6 @@ import * as x from "@radix-ui/react-tabs";
|
|
|
15
16
|
import * as w from "@radix-ui/react-slider";
|
|
16
17
|
import * as c from "@radix-ui/react-select";
|
|
17
18
|
import * as P from "@radix-ui/react-separator";
|
|
18
|
-
import * as R from "@radix-ui/react-switch";
|
|
19
19
|
import * as v from "@radix-ui/react-avatar";
|
|
20
20
|
import * as f from "@radix-ui/react-alert-dialog";
|
|
21
21
|
import { Slot as q } from "@radix-ui/react-slot";
|
|
@@ -400,7 +400,35 @@ const Re = N(
|
|
|
400
400
|
function Qa({ className: a, variant: e, ...t }) {
|
|
401
401
|
return /* @__PURE__ */ o("div", { className: s(Re({ variant: e }), a), ...t });
|
|
402
402
|
}
|
|
403
|
-
const
|
|
403
|
+
const Se = r.forwardRef(
|
|
404
|
+
({
|
|
405
|
+
className: a,
|
|
406
|
+
thumbClassName: e,
|
|
407
|
+
...t
|
|
408
|
+
}, n) => /* @__PURE__ */ o(
|
|
409
|
+
R.Root,
|
|
410
|
+
{
|
|
411
|
+
className: s(
|
|
412
|
+
"peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",
|
|
413
|
+
a
|
|
414
|
+
),
|
|
415
|
+
...t,
|
|
416
|
+
ref: n,
|
|
417
|
+
children: /* @__PURE__ */ o(
|
|
418
|
+
R.Thumb,
|
|
419
|
+
{
|
|
420
|
+
className: s(
|
|
421
|
+
"pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform",
|
|
422
|
+
e,
|
|
423
|
+
"data-[state=checked]:translate-x-3 data-[state=unchecked]:translate-x-0"
|
|
424
|
+
)
|
|
425
|
+
}
|
|
426
|
+
)
|
|
427
|
+
}
|
|
428
|
+
)
|
|
429
|
+
);
|
|
430
|
+
Se.displayName = R.Root.displayName;
|
|
431
|
+
const Wa = b.Root, ke = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
404
432
|
b.Item,
|
|
405
433
|
{
|
|
406
434
|
ref: t,
|
|
@@ -408,8 +436,8 @@ const Wa = b.Root, Se = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__
|
|
|
408
436
|
...e
|
|
409
437
|
}
|
|
410
438
|
));
|
|
411
|
-
|
|
412
|
-
const
|
|
439
|
+
ke.displayName = "AccordionItem";
|
|
440
|
+
const Te = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ o(b.Header, { className: "flex", children: /* @__PURE__ */ p(
|
|
413
441
|
b.Trigger,
|
|
414
442
|
{
|
|
415
443
|
ref: n,
|
|
@@ -424,8 +452,8 @@ const ke = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__
|
|
|
424
452
|
]
|
|
425
453
|
}
|
|
426
454
|
) }));
|
|
427
|
-
|
|
428
|
-
const
|
|
455
|
+
Te.displayName = b.Trigger.displayName;
|
|
456
|
+
const De = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ o(
|
|
429
457
|
b.Content,
|
|
430
458
|
{
|
|
431
459
|
ref: n,
|
|
@@ -434,8 +462,8 @@ const Te = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__
|
|
|
434
462
|
children: /* @__PURE__ */ o("div", { className: s("pb-4 pt-0", a), children: e })
|
|
435
463
|
}
|
|
436
464
|
));
|
|
437
|
-
|
|
438
|
-
const Xa = C.Root, Ya = C.Trigger,
|
|
465
|
+
De.displayName = b.Content.displayName;
|
|
466
|
+
const Xa = C.Root, Ya = C.Trigger, Ie = r.forwardRef(({ className: a, align: e = "center", sideOffset: t = 4, ...n }, m) => /* @__PURE__ */ o(
|
|
439
467
|
C.Content,
|
|
440
468
|
{
|
|
441
469
|
ref: m,
|
|
@@ -448,8 +476,8 @@ const Xa = C.Root, Ya = C.Trigger, De = r.forwardRef(({ className: a, align: e =
|
|
|
448
476
|
...n
|
|
449
477
|
}
|
|
450
478
|
));
|
|
451
|
-
|
|
452
|
-
const
|
|
479
|
+
Ie.displayName = C.Content.displayName;
|
|
480
|
+
const ze = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
453
481
|
"textarea",
|
|
454
482
|
{
|
|
455
483
|
className: s(
|
|
@@ -460,46 +488,46 @@ const Ie = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
460
488
|
...e
|
|
461
489
|
}
|
|
462
490
|
));
|
|
463
|
-
|
|
464
|
-
const
|
|
465
|
-
|
|
466
|
-
const
|
|
491
|
+
ze.displayName = "Textarea";
|
|
492
|
+
const Ae = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("rounded-xl border bg-card text-card-foreground shadow", a), ...e }));
|
|
493
|
+
Ae.displayName = "Card";
|
|
494
|
+
const Pe = r.forwardRef(
|
|
467
495
|
({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("flex flex-col space-y-1.5 p-6", a), ...e })
|
|
468
496
|
);
|
|
469
|
-
|
|
470
|
-
const
|
|
497
|
+
Pe.displayName = "CardHeader";
|
|
498
|
+
const Me = r.forwardRef(
|
|
471
499
|
({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("font-semibold leading-none tracking-tight", a), ...e })
|
|
472
500
|
);
|
|
473
|
-
|
|
474
|
-
const
|
|
501
|
+
Me.displayName = "CardTitle";
|
|
502
|
+
const _e = r.forwardRef(
|
|
475
503
|
({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("text-sm text-muted-foreground", a), ...e })
|
|
476
504
|
);
|
|
477
|
-
|
|
478
|
-
const
|
|
505
|
+
_e.displayName = "CardDescription";
|
|
506
|
+
const je = r.forwardRef(
|
|
479
507
|
({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("p-6 pt-0", a), ...e })
|
|
480
508
|
);
|
|
481
|
-
|
|
482
|
-
const
|
|
509
|
+
je.displayName = "CardContent";
|
|
510
|
+
const Le = r.forwardRef(
|
|
483
511
|
({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("flex items-center p-6 pt-0", a), ...e })
|
|
484
512
|
);
|
|
485
|
-
|
|
486
|
-
const
|
|
513
|
+
Le.displayName = "CardFooter";
|
|
514
|
+
const Ve = N(
|
|
487
515
|
"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
488
|
-
),
|
|
516
|
+
), Ge = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
489
517
|
A.Root,
|
|
490
518
|
{
|
|
491
519
|
ref: t,
|
|
492
|
-
className: s(
|
|
520
|
+
className: s(Ve(), a),
|
|
493
521
|
...e
|
|
494
522
|
}
|
|
495
523
|
));
|
|
496
|
-
|
|
497
|
-
const
|
|
524
|
+
Ge.displayName = A.Root.displayName;
|
|
525
|
+
const He = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ p(g.Root, { ref: n, className: s("relative overflow-hidden", a), ...t, children: [
|
|
498
526
|
/* @__PURE__ */ o(g.Viewport, { className: "h-full w-full rounded-[inherit]", children: e }),
|
|
499
527
|
/* @__PURE__ */ o(V, {}),
|
|
500
528
|
/* @__PURE__ */ o(g.Corner, {})
|
|
501
529
|
] }));
|
|
502
|
-
|
|
530
|
+
He.displayName = g.Root.displayName;
|
|
503
531
|
const V = r.forwardRef(({ className: a, orientation: e = "vertical", ...t }, n) => /* @__PURE__ */ o(
|
|
504
532
|
g.ScrollAreaScrollbar,
|
|
505
533
|
{
|
|
@@ -516,7 +544,7 @@ const V = r.forwardRef(({ className: a, orientation: e = "vertical", ...t }, n)
|
|
|
516
544
|
}
|
|
517
545
|
));
|
|
518
546
|
V.displayName = g.ScrollAreaScrollbar.displayName;
|
|
519
|
-
const Za = x.Root,
|
|
547
|
+
const Za = x.Root, Fe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
520
548
|
x.List,
|
|
521
549
|
{
|
|
522
550
|
ref: t,
|
|
@@ -527,8 +555,8 @@ const Za = x.Root, He = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__
|
|
|
527
555
|
...e
|
|
528
556
|
}
|
|
529
557
|
));
|
|
530
|
-
|
|
531
|
-
const
|
|
558
|
+
Fe.displayName = x.List.displayName;
|
|
559
|
+
const Be = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
532
560
|
x.Trigger,
|
|
533
561
|
{
|
|
534
562
|
ref: t,
|
|
@@ -539,8 +567,8 @@ const Fe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
539
567
|
...e
|
|
540
568
|
}
|
|
541
569
|
));
|
|
542
|
-
|
|
543
|
-
const
|
|
570
|
+
Be.displayName = x.Trigger.displayName;
|
|
571
|
+
const Oe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
544
572
|
x.Content,
|
|
545
573
|
{
|
|
546
574
|
ref: t,
|
|
@@ -551,8 +579,8 @@ const Be = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
551
579
|
...e
|
|
552
580
|
}
|
|
553
581
|
));
|
|
554
|
-
|
|
555
|
-
const
|
|
582
|
+
Oe.displayName = x.Content.displayName;
|
|
583
|
+
const Ue = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ p(
|
|
556
584
|
w.Root,
|
|
557
585
|
{
|
|
558
586
|
ref: t,
|
|
@@ -564,8 +592,8 @@ const Oe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ p(
|
|
|
564
592
|
]
|
|
565
593
|
}
|
|
566
594
|
));
|
|
567
|
-
|
|
568
|
-
const et = c.Root, at = c.Group, tt = c.Value,
|
|
595
|
+
Ue.displayName = w.Root.displayName;
|
|
596
|
+
const et = c.Root, at = c.Group, tt = c.Value, Ee = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ p(
|
|
569
597
|
c.Trigger,
|
|
570
598
|
{
|
|
571
599
|
ref: n,
|
|
@@ -580,7 +608,7 @@ const et = c.Root, at = c.Group, tt = c.Value, Ue = r.forwardRef(({ className: a
|
|
|
580
608
|
]
|
|
581
609
|
}
|
|
582
610
|
));
|
|
583
|
-
|
|
611
|
+
Ee.displayName = c.Trigger.displayName;
|
|
584
612
|
const G = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
585
613
|
c.ScrollUpButton,
|
|
586
614
|
{
|
|
@@ -601,7 +629,7 @@ const H = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
601
629
|
}
|
|
602
630
|
));
|
|
603
631
|
H.displayName = c.ScrollDownButton.displayName;
|
|
604
|
-
const
|
|
632
|
+
const qe = r.forwardRef(({ className: a, children: e, position: t = "popper", ...n }, m) => /* @__PURE__ */ o(c.Portal, { children: /* @__PURE__ */ p(
|
|
605
633
|
c.Content,
|
|
606
634
|
{
|
|
607
635
|
ref: m,
|
|
@@ -628,10 +656,10 @@ const Ee = r.forwardRef(({ className: a, children: e, position: t = "popper", ..
|
|
|
628
656
|
]
|
|
629
657
|
}
|
|
630
658
|
) }));
|
|
631
|
-
|
|
632
|
-
const
|
|
633
|
-
|
|
634
|
-
const
|
|
659
|
+
qe.displayName = c.Content.displayName;
|
|
660
|
+
const $e = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(c.Label, { ref: t, className: s("px-2 py-1.5 text-sm font-semibold", a), ...e }));
|
|
661
|
+
$e.displayName = c.Label.displayName;
|
|
662
|
+
const Je = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ p(
|
|
635
663
|
c.Item,
|
|
636
664
|
{
|
|
637
665
|
ref: n,
|
|
@@ -646,10 +674,10 @@ const $e = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__
|
|
|
646
674
|
]
|
|
647
675
|
}
|
|
648
676
|
));
|
|
649
|
-
|
|
650
|
-
const
|
|
651
|
-
|
|
652
|
-
const
|
|
677
|
+
Je.displayName = c.Item.displayName;
|
|
678
|
+
const Ke = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(c.Separator, { ref: t, className: s("-mx-1 my-1 h-px bg-muted", a), ...e }));
|
|
679
|
+
Ke.displayName = c.Separator.displayName;
|
|
680
|
+
const Qe = r.forwardRef(({ className: a, orientation: e = "horizontal", decorative: t = !0, ...n }, m) => /* @__PURE__ */ o(
|
|
653
681
|
P.Root,
|
|
654
682
|
{
|
|
655
683
|
ref: m,
|
|
@@ -659,27 +687,7 @@ const Ke = r.forwardRef(({ className: a, orientation: e = "horizontal", decorati
|
|
|
659
687
|
...n
|
|
660
688
|
}
|
|
661
689
|
));
|
|
662
|
-
|
|
663
|
-
const Qe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
664
|
-
R.Root,
|
|
665
|
-
{
|
|
666
|
-
className: s(
|
|
667
|
-
"peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",
|
|
668
|
-
a
|
|
669
|
-
),
|
|
670
|
-
...e,
|
|
671
|
-
ref: t,
|
|
672
|
-
children: /* @__PURE__ */ o(
|
|
673
|
-
R.Thumb,
|
|
674
|
-
{
|
|
675
|
-
className: s(
|
|
676
|
-
"pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0"
|
|
677
|
-
)
|
|
678
|
-
}
|
|
679
|
-
)
|
|
680
|
-
}
|
|
681
|
-
));
|
|
682
|
-
Qe.displayName = R.Root.displayName;
|
|
690
|
+
Qe.displayName = P.Root.displayName;
|
|
683
691
|
const We = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
684
692
|
v.Root,
|
|
685
693
|
{
|
|
@@ -932,9 +940,9 @@ export {
|
|
|
932
940
|
ua as $,
|
|
933
941
|
Wa as A,
|
|
934
942
|
Qa as B,
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
943
|
+
Ae as C,
|
|
944
|
+
Pe as D,
|
|
945
|
+
Me as E,
|
|
938
946
|
L as F,
|
|
939
947
|
Oa as G,
|
|
940
948
|
ge as H,
|
|
@@ -957,8 +965,8 @@ export {
|
|
|
957
965
|
wa as Y,
|
|
958
966
|
pt as Z,
|
|
959
967
|
ga as _,
|
|
960
|
-
|
|
961
|
-
|
|
968
|
+
ke as a,
|
|
969
|
+
Fe as a$,
|
|
962
970
|
lt as a0,
|
|
963
971
|
le as a1,
|
|
964
972
|
Ba as a2,
|
|
@@ -971,16 +979,16 @@ export {
|
|
|
971
979
|
fe as a9,
|
|
972
980
|
V as aA,
|
|
973
981
|
et as aB,
|
|
974
|
-
|
|
982
|
+
qe as aC,
|
|
975
983
|
at as aD,
|
|
976
|
-
|
|
977
|
-
|
|
984
|
+
Je as aE,
|
|
985
|
+
$e as aF,
|
|
978
986
|
H as aG,
|
|
979
987
|
G as aH,
|
|
980
|
-
|
|
981
|
-
|
|
988
|
+
Ke as aI,
|
|
989
|
+
Ee as aJ,
|
|
982
990
|
tt as aK,
|
|
983
|
-
|
|
991
|
+
Qe as aL,
|
|
984
992
|
rt as aM,
|
|
985
993
|
dt as aN,
|
|
986
994
|
la as aO,
|
|
@@ -992,10 +1000,10 @@ export {
|
|
|
992
1000
|
pa as aU,
|
|
993
1001
|
nt as aV,
|
|
994
1002
|
Ha as aW,
|
|
995
|
-
|
|
996
|
-
|
|
1003
|
+
Ue as aX,
|
|
1004
|
+
Se as aY,
|
|
997
1005
|
Za as aZ,
|
|
998
|
-
|
|
1006
|
+
Oe as a_,
|
|
999
1007
|
Fa as aa,
|
|
1000
1008
|
Ma as ab,
|
|
1001
1009
|
Z as ac,
|
|
@@ -1013,18 +1021,18 @@ export {
|
|
|
1013
1021
|
Q as ao,
|
|
1014
1022
|
_a as ap,
|
|
1015
1023
|
Xa as aq,
|
|
1016
|
-
|
|
1024
|
+
Ie as ar,
|
|
1017
1025
|
Ya as as,
|
|
1018
1026
|
ie as at,
|
|
1019
|
-
|
|
1027
|
+
Ge as au,
|
|
1020
1028
|
Ua as av,
|
|
1021
1029
|
qa as aw,
|
|
1022
1030
|
we as ax,
|
|
1023
1031
|
Ea as ay,
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1032
|
+
He as az,
|
|
1033
|
+
Te as b,
|
|
1034
|
+
Be as b0,
|
|
1035
|
+
ze as b1,
|
|
1028
1036
|
Ra as b2,
|
|
1029
1037
|
Ca as b3,
|
|
1030
1038
|
Ja as b4,
|
|
@@ -1032,7 +1040,7 @@ export {
|
|
|
1032
1040
|
$a as b6,
|
|
1033
1041
|
Ka as b7,
|
|
1034
1042
|
s as b8,
|
|
1035
|
-
|
|
1043
|
+
De as c,
|
|
1036
1044
|
re as d,
|
|
1037
1045
|
de as e,
|
|
1038
1046
|
ne as f,
|
|
@@ -1053,7 +1061,7 @@ export {
|
|
|
1053
1061
|
Re as u,
|
|
1054
1062
|
K as v,
|
|
1055
1063
|
T as w,
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1064
|
+
je as x,
|
|
1065
|
+
_e as y,
|
|
1066
|
+
Le as z
|
|
1059
1067
|
};
|
package/dist/ui.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./toggle-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./toggle-ByUaDO5Y.cjs");exports.Accordion=e.Accordion;exports.AccordionContent=e.AccordionContent;exports.AccordionItem=e.AccordionItem;exports.AccordionTrigger=e.AccordionTrigger;exports.Alert=e.Alert;exports.AlertDescription=e.AlertDescription;exports.AlertDialog=e.AlertDialog;exports.AlertDialogAction=e.AlertDialogAction;exports.AlertDialogCancel=e.AlertDialogCancel;exports.AlertDialogContent=e.AlertDialogContent;exports.AlertDialogDescription=e.AlertDialogDescription;exports.AlertDialogFooter=e.AlertDialogFooter;exports.AlertDialogHeader=e.AlertDialogHeader;exports.AlertDialogOverlay=e.AlertDialogOverlay;exports.AlertDialogPortal=e.AlertDialogPortal;exports.AlertDialogTitle=e.AlertDialogTitle;exports.AlertDialogTrigger=e.AlertDialogTrigger;exports.AlertTitle=e.AlertTitle;exports.Avatar=e.Avatar;exports.AvatarFallback=e.AvatarFallback;exports.AvatarImage=e.AvatarImage;exports.Badge=e.Badge;exports.Button=e.Button;exports.Card=e.Card;exports.CardContent=e.CardContent;exports.CardDescription=e.CardDescription;exports.CardFooter=e.CardFooter;exports.CardHeader=e.CardHeader;exports.CardTitle=e.CardTitle;exports.Command=e.Command;exports.CommandDialog=e.CommandDialog;exports.CommandEmpty=e.CommandEmpty;exports.CommandGroup=e.CommandGroup;exports.CommandInput=e.CommandInput;exports.CommandItem=e.CommandItem;exports.CommandList=e.CommandList;exports.CommandSeparator=e.CommandSeparator;exports.CommandShortcut=e.CommandShortcut;exports.ContextMenu=e.ContextMenu;exports.ContextMenuCheckboxItem=e.ContextMenuCheckboxItem;exports.ContextMenuContent=e.ContextMenuContent;exports.ContextMenuGroup=e.ContextMenuGroup;exports.ContextMenuItem=e.ContextMenuItem;exports.ContextMenuLabel=e.ContextMenuLabel;exports.ContextMenuPortal=e.ContextMenuPortal;exports.ContextMenuRadioGroup=e.ContextMenuRadioGroup;exports.ContextMenuRadioItem=e.ContextMenuRadioItem;exports.ContextMenuSeparator=e.ContextMenuSeparator;exports.ContextMenuShortcut=e.ContextMenuShortcut;exports.ContextMenuSub=e.ContextMenuSub;exports.ContextMenuSubContent=e.ContextMenuSubContent;exports.ContextMenuSubTrigger=e.ContextMenuSubTrigger;exports.ContextMenuTrigger=e.ContextMenuTrigger;exports.Dialog=e.Dialog;exports.DialogClose=e.DialogClose;exports.DialogContent=e.DialogContent;exports.DialogDescription=e.DialogDescription;exports.DialogFooter=e.DialogFooter;exports.DialogHeader=e.DialogHeader;exports.DialogOverlay=e.DialogOverlay;exports.DialogPortal=e.DialogPortal;exports.DialogTitle=e.DialogTitle;exports.DialogTrigger=e.DialogTrigger;exports.DropdownMenu=e.DropdownMenu;exports.DropdownMenuCheckboxItem=e.DropdownMenuCheckboxItem;exports.DropdownMenuContent=e.DropdownMenuContent;exports.DropdownMenuGroup=e.DropdownMenuGroup;exports.DropdownMenuItem=e.DropdownMenuItem;exports.DropdownMenuLabel=e.DropdownMenuLabel;exports.DropdownMenuPortal=e.DropdownMenuPortal;exports.DropdownMenuRadioGroup=e.DropdownMenuRadioGroup;exports.DropdownMenuRadioItem=e.DropdownMenuRadioItem;exports.DropdownMenuSeparator=e.DropdownMenuSeparator;exports.DropdownMenuShortcut=e.DropdownMenuShortcut;exports.DropdownMenuSub=e.DropdownMenuSub;exports.DropdownMenuSubContent=e.DropdownMenuSubContent;exports.DropdownMenuSubTrigger=e.DropdownMenuSubTrigger;exports.DropdownMenuTrigger=e.DropdownMenuTrigger;exports.HoverCard=e.HoverCard;exports.HoverCardContent=e.HoverCardContent;exports.HoverCardTrigger=e.HoverCardTrigger;exports.Input=e.Input;exports.Label=e.Label;exports.Popover=e.Popover;exports.PopoverAnchor=e.PopoverAnchor;exports.PopoverContent=e.PopoverContent;exports.PopoverTrigger=e.PopoverTrigger;exports.ScrollArea=e.ScrollArea;exports.ScrollBar=e.ScrollBar;exports.Select=e.Select;exports.SelectContent=e.SelectContent;exports.SelectGroup=e.SelectGroup;exports.SelectItem=e.SelectItem;exports.SelectLabel=e.SelectLabel;exports.SelectScrollDownButton=e.SelectScrollDownButton;exports.SelectScrollUpButton=e.SelectScrollUpButton;exports.SelectSeparator=e.SelectSeparator;exports.SelectTrigger=e.SelectTrigger;exports.SelectValue=e.SelectValue;exports.Separator=e.Separator;exports.Sheet=e.Sheet;exports.SheetClose=e.SheetClose;exports.SheetContent=e.SheetContent;exports.SheetDescription=e.SheetDescription;exports.SheetFooter=e.SheetFooter;exports.SheetHeader=e.SheetHeader;exports.SheetOverlay=e.SheetOverlay;exports.SheetPortal=e.SheetPortal;exports.SheetTitle=e.SheetTitle;exports.SheetTrigger=e.SheetTrigger;exports.Skeleton=e.Skeleton;exports.Slider=e.Slider;exports.Switch=e.Switch;exports.Tabs=e.Tabs;exports.TabsContent=e.TabsContent;exports.TabsList=e.TabsList;exports.TabsTrigger=e.TabsTrigger;exports.Textarea=e.Textarea;exports.Toggle=e.Toggle;exports.Tooltip=e.Tooltip;exports.TooltipContent=e.TooltipContent;exports.TooltipProvider=e.TooltipProvider;exports.TooltipTrigger=e.TooltipTrigger;exports.badgeVariants=e.badgeVariants;exports.buttonVariants=e.buttonVariants;exports.toggleVariants=e.toggleVariants;
|
package/dist/ui.d.ts
CHANGED
|
@@ -374,7 +374,9 @@ export declare function Skeleton({ className, ...props }: React.HTMLAttributes<H
|
|
|
374
374
|
|
|
375
375
|
export declare const Slider: React_2.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
|
|
376
376
|
|
|
377
|
-
export declare const Switch: React_2.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> &
|
|
377
|
+
export declare const Switch: React_2.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
378
|
+
thumbClassName?: string;
|
|
379
|
+
} & React_2.RefAttributes<HTMLButtonElement>>;
|
|
378
380
|
|
|
379
381
|
export declare const Tabs: React_2.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
380
382
|
|
package/dist/ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as o, c as t, a as s, b as r, d as n, e as l, g as i, h as g, i as u, j as C, k as d, l as p, m as D, n as S, o as c, p as m, q as M, f as T, r as b, t as A, s as x, B as h, v as w, C as v, x as I, y as P, z as H, D as G, E as L, F as B, G as F, J as k, K as y, H as R, L as V, I as O, N as f, M as E, O as U, P as j, Q as q, R as z, S as J, T as K, U as N, V as Q, W, X, Y, Z, _, $, a0 as aa, a1 as ea, a2 as oa, a3 as ta, a4 as sa, a5 as ra, a6 as na, a7 as la, a8 as ia, a9 as ga, aa as ua, ab as Ca, ac as da, ad as pa, ae as Da, af as Sa, ag as ca, ah as ma, ai as Ma, aj as Ta, ak as ba, al as Aa, am as xa, an as ha, ao as wa, ap as va, aq as Ia, ar as Pa, as as Ha, at as Ga, au as La, av as Ba, aw as Fa, ax as ka, ay as ya, az as Ra, aA as Va, aB as Oa, aC as fa, aD as Ea, aE as Ua, aF as ja, aG as qa, aH as za, aI as Ja, aJ as Ka, aK as Na, aL as Qa, aM as Wa, aN as Xa, aO as Ya, aP as Za, aQ as _a, aR as $a, aS as ae, aT as ee, aU as oe, aV as te, aW as se, aX as re, aY as ne, aZ as le, a_ as ie, a$ as ge, b0 as ue, b1 as Ce, b2 as de, b4 as pe, b5 as De, b6 as Se, b7 as ce, u as me, w as Me, b3 as Te } from "./toggle-
|
|
1
|
+
import { A as o, c as t, a as s, b as r, d as n, e as l, g as i, h as g, i as u, j as C, k as d, l as p, m as D, n as S, o as c, p as m, q as M, f as T, r as b, t as A, s as x, B as h, v as w, C as v, x as I, y as P, z as H, D as G, E as L, F as B, G as F, J as k, K as y, H as R, L as V, I as O, N as f, M as E, O as U, P as j, Q as q, R as z, S as J, T as K, U as N, V as Q, W, X, Y, Z, _, $, a0 as aa, a1 as ea, a2 as oa, a3 as ta, a4 as sa, a5 as ra, a6 as na, a7 as la, a8 as ia, a9 as ga, aa as ua, ab as Ca, ac as da, ad as pa, ae as Da, af as Sa, ag as ca, ah as ma, ai as Ma, aj as Ta, ak as ba, al as Aa, am as xa, an as ha, ao as wa, ap as va, aq as Ia, ar as Pa, as as Ha, at as Ga, au as La, av as Ba, aw as Fa, ax as ka, ay as ya, az as Ra, aA as Va, aB as Oa, aC as fa, aD as Ea, aE as Ua, aF as ja, aG as qa, aH as za, aI as Ja, aJ as Ka, aK as Na, aL as Qa, aM as Wa, aN as Xa, aO as Ya, aP as Za, aQ as _a, aR as $a, aS as ae, aT as ee, aU as oe, aV as te, aW as se, aX as re, aY as ne, aZ as le, a_ as ie, a$ as ge, b0 as ue, b1 as Ce, b2 as de, b4 as pe, b5 as De, b6 as Se, b7 as ce, u as me, w as Me, b3 as Te } from "./toggle-Cud7csHn.js";
|
|
2
2
|
export {
|
|
3
3
|
o as Accordion,
|
|
4
4
|
t as AccordionContent,
|