@talogic/react 0.6.3 → 0.6.4
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/app/app-shell.component.d.ts +6 -1
- package/index.js +171 -170
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -556,7 +556,7 @@ function B({ className: e, variant: t, size: a, asChild: o = !1, loading: s = !1
|
|
|
556
556
|
}
|
|
557
557
|
// src/ui/choice/checkbox.component.tsx
|
|
558
558
|
var ot = "fill-none stroke-current [stroke-dasharray:1] [stroke-linecap:round] [stroke-linejoin:round] [stroke-width:2.4] transition-[stroke-dashoffset] ease-emphasised motion-reduce:transition-none";
|
|
559
|
-
function
|
|
559
|
+
function st({ className: e, ...t }) {
|
|
560
560
|
return /* @__PURE__ */ r(c.Root, {
|
|
561
561
|
"data-slot": "checkbox",
|
|
562
562
|
className: M("peer group/checkbox grid size-4 shrink-0 cursor-pointer place-content-center rounded-[4px] border border-input bg-background text-primary-foreground shadow-xs outline-none", "transition-[background-color,border-color] duration-150 motion-reduce:transition-none", "focus-visible:ring-3 focus-visible:ring-ring/25 disabled:cursor-not-allowed disabled:opacity-50", "data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=indeterminate]:border-primary data-[state=indeterminate]:bg-primary", e),
|
|
@@ -582,14 +582,14 @@ function V({ className: e, ...t }) {
|
|
|
582
582
|
});
|
|
583
583
|
}
|
|
584
584
|
// src/ui/choice/radio-group.component.tsx
|
|
585
|
-
function
|
|
585
|
+
function ct({ className: e, ...t }) {
|
|
586
586
|
return /* @__PURE__ */ r(v.Root, {
|
|
587
587
|
"data-slot": "radio-group",
|
|
588
588
|
className: M("grid gap-2.5", e),
|
|
589
589
|
...t
|
|
590
590
|
});
|
|
591
591
|
}
|
|
592
|
-
function
|
|
592
|
+
function lt({ className: e, ...t }) {
|
|
593
593
|
return /* @__PURE__ */ r(v.Item, {
|
|
594
594
|
"data-slot": "radio-group-item",
|
|
595
595
|
className: M("peer group/radio grid size-4 shrink-0 cursor-pointer place-content-center rounded-full border border-input bg-background shadow-xs outline-none", "transition-[background-color,border-color] duration-200 motion-reduce:transition-none", "focus-visible:ring-3 focus-visible:ring-ring/25 disabled:cursor-not-allowed disabled:opacity-50", "data-[state=checked]:border-primary data-[state=checked]:bg-primary", e),
|
|
@@ -601,7 +601,7 @@ function ct({ className: e, ...t }) {
|
|
|
601
601
|
});
|
|
602
602
|
}
|
|
603
603
|
// src/ui/choice/slider.component.tsx
|
|
604
|
-
function
|
|
604
|
+
function ut({ className: e, value: t, defaultValue: n, min: a = 0, max: o = 100, onPointerDown: s, onPointerMove: c, onPointerUp: l, ...u }) {
|
|
605
605
|
let [d, f] = k(!1), p = (t ?? n ?? [a]).length, m = u["aria-label"];
|
|
606
606
|
return /* @__PURE__ */ i(x.Root, {
|
|
607
607
|
"data-slot": "slider",
|
|
@@ -631,7 +631,7 @@ function lt({ className: e, value: t, defaultValue: n, min: a = 0, max: o = 100,
|
|
|
631
631
|
});
|
|
632
632
|
}
|
|
633
633
|
// src/ui/choice/switch.component.tsx
|
|
634
|
-
function
|
|
634
|
+
function dt({ className: e, ...t }) {
|
|
635
635
|
return /* @__PURE__ */ r(te.Root, {
|
|
636
636
|
"data-slot": "switch",
|
|
637
637
|
className: M("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full bg-input p-0.5 outline-none transition-colors duration-200 motion-reduce:transition-none", "focus-visible:ring-3 focus-visible:ring-ring/25 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary", e),
|
|
@@ -640,7 +640,7 @@ function ut({ className: e, ...t }) {
|
|
|
640
640
|
});
|
|
641
641
|
}
|
|
642
642
|
// src/ui/active-indicator/active-indicator.hook.ts
|
|
643
|
-
function
|
|
643
|
+
function ft(e) {
|
|
644
644
|
let t = Oe(null), n = Oe(void 0), r = Te((r) => {
|
|
645
645
|
if (n.current?.(), n.current = void 0, t.current = r, !r) return;
|
|
646
646
|
function i() {
|
|
@@ -666,10 +666,10 @@ function dt(e) {
|
|
|
666
666
|
return O(() => () => n.current?.(), []), r;
|
|
667
667
|
}
|
|
668
668
|
// src/ui/active-indicator/active-indicator.recipe.ts
|
|
669
|
-
var
|
|
669
|
+
var pt = "pointer-events-none absolute left-(--indicator-left) top-(--indicator-top) h-(--indicator-height) w-(--indicator-width) group-data-[indicator=ready]/indicator:transition-[left,top,width,height] group-data-[indicator=ready]/indicator:duration-250 group-data-[indicator=ready]/indicator:ease-emphasised group-data-[indicator=none]/indicator:opacity-0 group-not-data-indicator/indicator:opacity-0 motion-reduce:transition-none";
|
|
670
670
|
// src/ui/choice/toggle-group.component.tsx
|
|
671
|
-
function
|
|
672
|
-
let a =
|
|
671
|
+
function mt({ className: e, children: t, ...n }) {
|
|
672
|
+
let a = ft("[data-state=on]"), o = n.type === "single";
|
|
673
673
|
return /* @__PURE__ */ i(ne.Root, {
|
|
674
674
|
ref: o ? a : void 0,
|
|
675
675
|
"data-slot": "toggle-group",
|
|
@@ -679,11 +679,11 @@ function pt({ className: e, children: t, ...n }) {
|
|
|
679
679
|
children: [o && /* @__PURE__ */ r("span", {
|
|
680
680
|
"aria-hidden": "true",
|
|
681
681
|
"data-slot": "toggle-group-indicator",
|
|
682
|
-
className: M(
|
|
682
|
+
className: M(pt, "rounded-sm bg-background shadow-xs")
|
|
683
683
|
}), t]
|
|
684
684
|
});
|
|
685
685
|
}
|
|
686
|
-
function
|
|
686
|
+
function ht({ className: e, ...t }) {
|
|
687
687
|
return /* @__PURE__ */ r(ne.Item, {
|
|
688
688
|
"data-slot": "toggle-group-item",
|
|
689
689
|
className: M("inline-flex h-[calc(var(--control-h)-6px)] cursor-pointer items-center justify-center gap-1.5 whitespace-nowrap rounded-sm px-3 text-[13px] font-medium text-muted-foreground outline-none", "hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-50 [&_svg]:size-4", "relative transition-colors duration-150 data-[state=on]:text-foreground motion-reduce:transition-none", "in-data-[mode=multiple]:data-[state=on]:bg-background in-data-[mode=multiple]:data-[state=on]:shadow-xs", e),
|
|
@@ -691,7 +691,7 @@ function mt({ className: e, ...t }) {
|
|
|
691
691
|
});
|
|
692
692
|
}
|
|
693
693
|
// src/ui/feedback/alert.component.tsx
|
|
694
|
-
var
|
|
694
|
+
var gt = {
|
|
695
695
|
info: {
|
|
696
696
|
box: "border-border bg-card",
|
|
697
697
|
icon: "text-info",
|
|
@@ -713,8 +713,8 @@ var ht = {
|
|
|
713
713
|
Icon: xe
|
|
714
714
|
}
|
|
715
715
|
};
|
|
716
|
-
function
|
|
717
|
-
let { box: c, icon: l, Icon: u } =
|
|
716
|
+
function _t({ tone: e = "info", title: t, icon: n, children: a, className: o, ...s }) {
|
|
717
|
+
let { box: c, icon: l, Icon: u } = gt[e];
|
|
718
718
|
return /* @__PURE__ */ i("div", {
|
|
719
719
|
"data-slot": "alert",
|
|
720
720
|
role: e === "danger" || e === "warning" ? "alert" : "status",
|
|
@@ -737,7 +737,7 @@ function gt({ tone: e = "info", title: t, icon: n, children: a, className: o, ..
|
|
|
737
737
|
});
|
|
738
738
|
}
|
|
739
739
|
// src/ui/feedback/empty-state.component.tsx
|
|
740
|
-
function
|
|
740
|
+
function vt({ title: e, description: t, icon: n, action: a, className: o, ...s }) {
|
|
741
741
|
return /* @__PURE__ */ i("div", {
|
|
742
742
|
"data-slot": "empty-state",
|
|
743
743
|
className: M("flex flex-col items-center gap-2 rounded-xl border-[1.5px] border-dashed border-input p-6 text-center", o),
|
|
@@ -764,7 +764,7 @@ function _t({ title: e, description: t, icon: n, action: a, className: o, ...s }
|
|
|
764
764
|
});
|
|
765
765
|
}
|
|
766
766
|
// src/ui/feedback/progress.component.tsx
|
|
767
|
-
function
|
|
767
|
+
function yt({ className: e, value: t, max: n = 100, ...i }) {
|
|
768
768
|
let a = t == null ? 0 : Math.min(100, Math.max(0, t / n * 100));
|
|
769
769
|
return /* @__PURE__ */ r(_.Root, {
|
|
770
770
|
"data-slot": "progress",
|
|
@@ -779,7 +779,7 @@ function vt({ className: e, value: t, max: n = 100, ...i }) {
|
|
|
779
779
|
});
|
|
780
780
|
}
|
|
781
781
|
// src/ui/feedback/skeleton.component.tsx
|
|
782
|
-
function
|
|
782
|
+
function bt({ className: e, ...t }) {
|
|
783
783
|
return /* @__PURE__ */ r("div", {
|
|
784
784
|
"data-slot": "skeleton",
|
|
785
785
|
"aria-hidden": "true",
|
|
@@ -788,7 +788,7 @@ function yt({ className: e, ...t }) {
|
|
|
788
788
|
});
|
|
789
789
|
}
|
|
790
790
|
// src/ui/feedback/spinner.component.tsx
|
|
791
|
-
function
|
|
791
|
+
function xt({ className: e, label: t = "Loading", ...n }) {
|
|
792
792
|
return /* @__PURE__ */ r(pe, {
|
|
793
793
|
"data-slot": "spinner",
|
|
794
794
|
role: "status",
|
|
@@ -798,7 +798,7 @@ function bt({ className: e, label: t = "Loading", ...n }) {
|
|
|
798
798
|
});
|
|
799
799
|
}
|
|
800
800
|
// src/ui/feedback/toaster.component.tsx
|
|
801
|
-
function
|
|
801
|
+
function St(e) {
|
|
802
802
|
return /* @__PURE__ */ r(Ae, {
|
|
803
803
|
className: "toaster group",
|
|
804
804
|
toastOptions: { classNames: {
|
|
@@ -814,9 +814,9 @@ function xt(e) {
|
|
|
814
814
|
});
|
|
815
815
|
}
|
|
816
816
|
// src/ui/field/control.recipe.ts
|
|
817
|
-
var
|
|
818
|
-
function
|
|
819
|
-
let t = Ee(
|
|
817
|
+
var V = "w-full min-w-0 rounded-md border border-input bg-background text-(length:--control-fs) text-foreground shadow-xs outline-none transition-[border-color,box-shadow] placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/25 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 disabled:cursor-not-allowed disabled:opacity-50", Ct = Ce(null);
|
|
818
|
+
function H(e = {}) {
|
|
819
|
+
let t = Ee(Ct);
|
|
820
820
|
return t ? {
|
|
821
821
|
id: e.id ?? t.id,
|
|
822
822
|
"aria-describedby": e["aria-describedby"] ?? (t.describedBy || void 0),
|
|
@@ -824,7 +824,7 @@ function U(e = {}) {
|
|
|
824
824
|
} : e;
|
|
825
825
|
}
|
|
826
826
|
// src/ui/field/label.component.tsx
|
|
827
|
-
function
|
|
827
|
+
function wt({ className: e, ...t }) {
|
|
828
828
|
return /* @__PURE__ */ r(p.Root, {
|
|
829
829
|
"data-slot": "label",
|
|
830
830
|
className: M("flex select-none items-center gap-2 text-[13px] font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e),
|
|
@@ -832,9 +832,9 @@ function Ct({ className: e, ...t }) {
|
|
|
832
832
|
});
|
|
833
833
|
}
|
|
834
834
|
// src/ui/field/field.component.tsx
|
|
835
|
-
function
|
|
835
|
+
function Tt({ label: e, hint: t, error: n, id: a, children: o, className: s }) {
|
|
836
836
|
let c = De(), l = a ?? c, u = t ? `${l}-hint` : "", d = n ? `${l}-error` : "", f = [u, d].filter(Boolean).join(" ");
|
|
837
|
-
return /* @__PURE__ */ r(
|
|
837
|
+
return /* @__PURE__ */ r(Ct, {
|
|
838
838
|
value: {
|
|
839
839
|
id: l,
|
|
840
840
|
describedBy: f,
|
|
@@ -844,7 +844,7 @@ function wt({ label: e, hint: t, error: n, id: a, children: o, className: s }) {
|
|
|
844
844
|
"data-slot": "field",
|
|
845
845
|
className: M("flex flex-col gap-1.5", s),
|
|
846
846
|
children: [
|
|
847
|
-
/* @__PURE__ */ r(
|
|
847
|
+
/* @__PURE__ */ r(wt, {
|
|
848
848
|
htmlFor: l,
|
|
849
849
|
children: e
|
|
850
850
|
}),
|
|
@@ -864,11 +864,11 @@ function wt({ label: e, hint: t, error: n, id: a, children: o, className: s }) {
|
|
|
864
864
|
});
|
|
865
865
|
}
|
|
866
866
|
// src/ui/field/input.component.tsx
|
|
867
|
-
function
|
|
868
|
-
let o =
|
|
867
|
+
function U({ className: e, startIcon: t, type: n = "text", ...a }) {
|
|
868
|
+
let o = H(a), s = /* @__PURE__ */ r("input", {
|
|
869
869
|
"data-slot": "input",
|
|
870
870
|
type: n,
|
|
871
|
-
className: M(
|
|
871
|
+
className: M(V, "h-(--control-h) px-3 file:border-0 file:bg-transparent file:text-sm file:font-medium", t ? "ps-[34px]" : "", e),
|
|
872
872
|
...a,
|
|
873
873
|
...o
|
|
874
874
|
});
|
|
@@ -882,12 +882,12 @@ function W({ className: e, startIcon: t, type: n = "text", ...a }) {
|
|
|
882
882
|
}) : s;
|
|
883
883
|
}
|
|
884
884
|
// src/ui/field/select.component.tsx
|
|
885
|
-
var
|
|
886
|
-
function
|
|
887
|
-
let a =
|
|
885
|
+
var Et = b.Root, Dt = b.Group, Ot = b.Value;
|
|
886
|
+
function kt({ className: e, children: t, ...n }) {
|
|
887
|
+
let a = H(n);
|
|
888
888
|
return /* @__PURE__ */ i(b.Trigger, {
|
|
889
889
|
"data-slot": "select-trigger",
|
|
890
|
-
className: M(
|
|
890
|
+
className: M(V, "flex h-(--control-h) cursor-pointer items-center justify-between gap-2 px-3 text-start data-placeholder:text-muted-foreground [&>span]:truncate", e),
|
|
891
891
|
...n,
|
|
892
892
|
...a,
|
|
893
893
|
children: [t, /* @__PURE__ */ r(b.Icon, {
|
|
@@ -899,7 +899,7 @@ function Ot({ className: e, children: t, ...n }) {
|
|
|
899
899
|
})]
|
|
900
900
|
});
|
|
901
901
|
}
|
|
902
|
-
function
|
|
902
|
+
function At({ className: e, children: t, position: n = "popper", ...i }) {
|
|
903
903
|
return /* @__PURE__ */ r(b.Portal, { children: /* @__PURE__ */ r(b.Content, {
|
|
904
904
|
"data-slot": "select-content",
|
|
905
905
|
position: n,
|
|
@@ -911,14 +911,14 @@ function kt({ className: e, children: t, position: n = "popper", ...i }) {
|
|
|
911
911
|
})
|
|
912
912
|
}) });
|
|
913
913
|
}
|
|
914
|
-
function
|
|
914
|
+
function jt({ className: e, ...t }) {
|
|
915
915
|
return /* @__PURE__ */ r(b.Label, {
|
|
916
916
|
"data-slot": "select-label",
|
|
917
917
|
className: M("px-2.5 py-1.5 text-xs font-medium text-muted-foreground", e),
|
|
918
918
|
...t
|
|
919
919
|
});
|
|
920
920
|
}
|
|
921
|
-
function
|
|
921
|
+
function Mt({ className: e, children: t, ...n }) {
|
|
922
922
|
return /* @__PURE__ */ i(b.Item, {
|
|
923
923
|
"data-slot": "select-item",
|
|
924
924
|
className: M("relative flex w-full cursor-default select-none items-center gap-2 rounded-sm py-1.5 ps-2.5 pe-8 text-[13.5px] outline-none focus:bg-accent data-disabled:pointer-events-none data-disabled:opacity-50", e),
|
|
@@ -932,7 +932,7 @@ function jt({ className: e, children: t, ...n }) {
|
|
|
932
932
|
})]
|
|
933
933
|
});
|
|
934
934
|
}
|
|
935
|
-
function
|
|
935
|
+
function Nt({ className: e, ...t }) {
|
|
936
936
|
return /* @__PURE__ */ r(b.Separator, {
|
|
937
937
|
"data-slot": "select-separator",
|
|
938
938
|
className: M("-mx-1 my-1 h-px bg-border", e),
|
|
@@ -940,31 +940,31 @@ function Mt({ className: e, ...t }) {
|
|
|
940
940
|
});
|
|
941
941
|
}
|
|
942
942
|
// src/ui/field/textarea.component.tsx
|
|
943
|
-
function
|
|
944
|
-
let n =
|
|
943
|
+
function Pt({ className: e, ...t }) {
|
|
944
|
+
let n = H(t);
|
|
945
945
|
return /* @__PURE__ */ r("textarea", {
|
|
946
946
|
"data-slot": "textarea",
|
|
947
|
-
className: M(
|
|
947
|
+
className: M(V, "min-h-20 resize-y px-3 py-2.5 leading-normal", e),
|
|
948
948
|
...t,
|
|
949
949
|
...n
|
|
950
950
|
});
|
|
951
951
|
}
|
|
952
952
|
// src/ui/layout/accordion.component.tsx
|
|
953
|
-
function
|
|
953
|
+
function Ft({ className: e, ...t }) {
|
|
954
954
|
return /* @__PURE__ */ r(a.Root, {
|
|
955
955
|
"data-slot": "accordion",
|
|
956
956
|
className: M("border-t", e),
|
|
957
957
|
...t
|
|
958
958
|
});
|
|
959
959
|
}
|
|
960
|
-
function
|
|
960
|
+
function It({ className: e, ...t }) {
|
|
961
961
|
return /* @__PURE__ */ r(a.Item, {
|
|
962
962
|
"data-slot": "accordion-item",
|
|
963
963
|
className: M("border-b", e),
|
|
964
964
|
...t
|
|
965
965
|
});
|
|
966
966
|
}
|
|
967
|
-
function
|
|
967
|
+
function Lt({ className: e, children: t, ...n }) {
|
|
968
968
|
return /* @__PURE__ */ r(a.Header, {
|
|
969
969
|
className: "m-0 flex",
|
|
970
970
|
children: /* @__PURE__ */ i(a.Trigger, {
|
|
@@ -995,7 +995,7 @@ function It({ className: e, children: t, ...n }) {
|
|
|
995
995
|
})
|
|
996
996
|
});
|
|
997
997
|
}
|
|
998
|
-
function
|
|
998
|
+
function Rt({ className: e, children: t, ...n }) {
|
|
999
999
|
return /* @__PURE__ */ r(a.Content, {
|
|
1000
1000
|
"data-slot": "accordion-content",
|
|
1001
1001
|
className: "overflow-hidden text-sm text-muted-foreground data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down motion-reduce:animate-none",
|
|
@@ -1007,21 +1007,21 @@ function Lt({ className: e, children: t, ...n }) {
|
|
|
1007
1007
|
});
|
|
1008
1008
|
}
|
|
1009
1009
|
// src/ui/layout/card.component.tsx
|
|
1010
|
-
function
|
|
1010
|
+
function zt({ className: e, ...t }) {
|
|
1011
1011
|
return /* @__PURE__ */ r("div", {
|
|
1012
1012
|
"data-slot": "card",
|
|
1013
1013
|
className: M("flex flex-col overflow-hidden rounded-xl border bg-card text-card-foreground shadow-xs", e),
|
|
1014
1014
|
...t
|
|
1015
1015
|
});
|
|
1016
1016
|
}
|
|
1017
|
-
function
|
|
1017
|
+
function Bt({ className: e, ...t }) {
|
|
1018
1018
|
return /* @__PURE__ */ r("div", {
|
|
1019
1019
|
"data-slot": "card-header",
|
|
1020
1020
|
className: M("flex flex-col gap-1 px-5 pt-5", e),
|
|
1021
1021
|
...t
|
|
1022
1022
|
});
|
|
1023
1023
|
}
|
|
1024
|
-
function
|
|
1024
|
+
function Vt({ className: e, children: t, ...n }) {
|
|
1025
1025
|
return /* @__PURE__ */ r("h3", {
|
|
1026
1026
|
"data-slot": "card-title",
|
|
1027
1027
|
className: M("m-0 type-h4", e),
|
|
@@ -1029,21 +1029,21 @@ function Bt({ className: e, children: t, ...n }) {
|
|
|
1029
1029
|
children: t
|
|
1030
1030
|
});
|
|
1031
1031
|
}
|
|
1032
|
-
function
|
|
1032
|
+
function Ht({ className: e, ...t }) {
|
|
1033
1033
|
return /* @__PURE__ */ r("p", {
|
|
1034
1034
|
"data-slot": "card-description",
|
|
1035
1035
|
className: M("m-0 text-[13px] text-muted-foreground", e),
|
|
1036
1036
|
...t
|
|
1037
1037
|
});
|
|
1038
1038
|
}
|
|
1039
|
-
function
|
|
1039
|
+
function Ut({ className: e, ...t }) {
|
|
1040
1040
|
return /* @__PURE__ */ r("div", {
|
|
1041
1041
|
"data-slot": "card-content",
|
|
1042
1042
|
className: M("px-5 py-4", e),
|
|
1043
1043
|
...t
|
|
1044
1044
|
});
|
|
1045
1045
|
}
|
|
1046
|
-
function
|
|
1046
|
+
function Wt({ className: e, ...t }) {
|
|
1047
1047
|
return /* @__PURE__ */ r("div", {
|
|
1048
1048
|
"data-slot": "card-footer",
|
|
1049
1049
|
className: M("mt-auto flex items-center justify-between gap-3 border-t bg-muted px-5 py-3", e),
|
|
@@ -1051,7 +1051,7 @@ function Ut({ className: e, ...t }) {
|
|
|
1051
1051
|
});
|
|
1052
1052
|
}
|
|
1053
1053
|
// src/ui/layout/kbd.component.tsx
|
|
1054
|
-
function
|
|
1054
|
+
function Gt({ className: e, ...t }) {
|
|
1055
1055
|
return /* @__PURE__ */ r("kbd", {
|
|
1056
1056
|
"data-slot": "kbd",
|
|
1057
1057
|
className: M("inline-flex h-5 min-w-5 items-center justify-center rounded-[5px] border border-b-2 bg-muted px-1.5 font-mono text-[11px] text-muted-foreground", e),
|
|
@@ -1059,20 +1059,20 @@ function Wt({ className: e, ...t }) {
|
|
|
1059
1059
|
});
|
|
1060
1060
|
}
|
|
1061
1061
|
// src/ui/layout/resizable.component.tsx
|
|
1062
|
-
function
|
|
1062
|
+
function Kt({ className: e, ...t }) {
|
|
1063
1063
|
return /* @__PURE__ */ r(je, {
|
|
1064
1064
|
"data-slot": "resizable-panel-group",
|
|
1065
1065
|
className: M("flex size-full", e),
|
|
1066
1066
|
...t
|
|
1067
1067
|
});
|
|
1068
1068
|
}
|
|
1069
|
-
function
|
|
1069
|
+
function qt(e) {
|
|
1070
1070
|
return /* @__PURE__ */ r(Me, {
|
|
1071
1071
|
"data-slot": "resizable-panel",
|
|
1072
1072
|
...e
|
|
1073
1073
|
});
|
|
1074
1074
|
}
|
|
1075
|
-
function
|
|
1075
|
+
function Jt({ className: e, ...t }) {
|
|
1076
1076
|
return /* @__PURE__ */ r(Ne, {
|
|
1077
1077
|
"data-slot": "resizable-handle",
|
|
1078
1078
|
className: M("relative flex w-px shrink-0 items-center justify-center bg-border outline-none after:absolute after:inset-y-0 after:start-1/2 after:w-2 after:-translate-x-1/2", "hover:bg-ring focus-visible:bg-ring aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full", e),
|
|
@@ -1080,7 +1080,7 @@ function qt({ className: e, ...t }) {
|
|
|
1080
1080
|
});
|
|
1081
1081
|
}
|
|
1082
1082
|
// src/ui/layout/scroll-area.component.tsx
|
|
1083
|
-
function
|
|
1083
|
+
function Yt({ className: e, children: t, ...n }) {
|
|
1084
1084
|
return /* @__PURE__ */ i(y.Root, {
|
|
1085
1085
|
"data-slot": "scroll-area",
|
|
1086
1086
|
className: M("relative overflow-hidden", e),
|
|
@@ -1090,13 +1090,13 @@ function Jt({ className: e, children: t, ...n }) {
|
|
|
1090
1090
|
className: "size-full rounded-[inherit] outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
1091
1091
|
children: t
|
|
1092
1092
|
}),
|
|
1093
|
-
/* @__PURE__ */ r(
|
|
1094
|
-
/* @__PURE__ */ r(
|
|
1093
|
+
/* @__PURE__ */ r(Xt, {}),
|
|
1094
|
+
/* @__PURE__ */ r(Xt, { orientation: "horizontal" }),
|
|
1095
1095
|
/* @__PURE__ */ r(y.Corner, {})
|
|
1096
1096
|
]
|
|
1097
1097
|
});
|
|
1098
1098
|
}
|
|
1099
|
-
function
|
|
1099
|
+
function Xt({ className: e, orientation: t = "vertical", ...n }) {
|
|
1100
1100
|
return /* @__PURE__ */ r(y.Scrollbar, {
|
|
1101
1101
|
"data-slot": "scroll-area-scrollbar",
|
|
1102
1102
|
orientation: t,
|
|
@@ -1106,7 +1106,7 @@ function Yt({ className: e, orientation: t = "vertical", ...n }) {
|
|
|
1106
1106
|
});
|
|
1107
1107
|
}
|
|
1108
1108
|
// src/ui/layout/separator.component.tsx
|
|
1109
|
-
function
|
|
1109
|
+
function Zt({ className: e, orientation: t = "horizontal", decorative: n = !0, ...i }) {
|
|
1110
1110
|
return /* @__PURE__ */ r(ee.Root, {
|
|
1111
1111
|
"data-slot": "separator",
|
|
1112
1112
|
orientation: t,
|
|
@@ -1116,7 +1116,7 @@ function Xt({ className: e, orientation: t = "horizontal", decorative: n = !0, .
|
|
|
1116
1116
|
});
|
|
1117
1117
|
}
|
|
1118
1118
|
// src/ui/layout/table.component.tsx
|
|
1119
|
-
function
|
|
1119
|
+
function Qt({ className: e, ...t }) {
|
|
1120
1120
|
return /* @__PURE__ */ r("div", {
|
|
1121
1121
|
"data-slot": "table-container",
|
|
1122
1122
|
className: "relative w-full overflow-x-auto",
|
|
@@ -1127,40 +1127,40 @@ function Zt({ className: e, ...t }) {
|
|
|
1127
1127
|
})
|
|
1128
1128
|
});
|
|
1129
1129
|
}
|
|
1130
|
-
function
|
|
1130
|
+
function $t(e) {
|
|
1131
1131
|
return /* @__PURE__ */ r("thead", {
|
|
1132
1132
|
"data-slot": "table-header",
|
|
1133
1133
|
...e
|
|
1134
1134
|
});
|
|
1135
1135
|
}
|
|
1136
|
-
function
|
|
1136
|
+
function en(e) {
|
|
1137
1137
|
return /* @__PURE__ */ r("tbody", {
|
|
1138
1138
|
"data-slot": "table-body",
|
|
1139
1139
|
...e
|
|
1140
1140
|
});
|
|
1141
1141
|
}
|
|
1142
|
-
function
|
|
1142
|
+
function tn({ className: e, ...t }) {
|
|
1143
1143
|
return /* @__PURE__ */ r("tr", {
|
|
1144
1144
|
"data-slot": "table-row",
|
|
1145
1145
|
className: M("border-b transition-colors hover:bg-muted/60 data-[state=selected]:bg-muted", e),
|
|
1146
1146
|
...t
|
|
1147
1147
|
});
|
|
1148
1148
|
}
|
|
1149
|
-
function
|
|
1149
|
+
function W({ className: e, ...t }) {
|
|
1150
1150
|
return /* @__PURE__ */ r("th", {
|
|
1151
1151
|
"data-slot": "table-head",
|
|
1152
1152
|
className: M("h-9 whitespace-nowrap px-3 text-start align-middle font-medium text-muted-foreground", e),
|
|
1153
1153
|
...t
|
|
1154
1154
|
});
|
|
1155
1155
|
}
|
|
1156
|
-
function
|
|
1156
|
+
function G({ className: e, ...t }) {
|
|
1157
1157
|
return /* @__PURE__ */ r("td", {
|
|
1158
1158
|
"data-slot": "table-cell",
|
|
1159
1159
|
className: M("px-3 py-[11px] align-middle", e),
|
|
1160
1160
|
...t
|
|
1161
1161
|
});
|
|
1162
1162
|
}
|
|
1163
|
-
function
|
|
1163
|
+
function nn({ className: e, ...t }) {
|
|
1164
1164
|
return /* @__PURE__ */ r("caption", {
|
|
1165
1165
|
"data-slot": "table-caption",
|
|
1166
1166
|
className: M("mt-3 text-xs text-muted-foreground", e),
|
|
@@ -1168,41 +1168,41 @@ function tn({ className: e, ...t }) {
|
|
|
1168
1168
|
});
|
|
1169
1169
|
}
|
|
1170
1170
|
// src/ui/overlay/overlay.recipe.ts
|
|
1171
|
-
var
|
|
1171
|
+
var K = "fixed inset-0 z-50 backdrop-blur-[5px] backdrop-contrast-[.5] backdrop-saturate-[.3] backdrop-brightness-[1.3] dark:backdrop-brightness-[.7] data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out", q = "data-[state=open]:animate-zoom-in data-[state=delayed-open]:animate-zoom-in data-[state=instant-open]:animate-zoom-in data-[state=closed]:animate-zoom-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=delayed-open]:animate-fade-in motion-reduce:data-[state=instant-open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out", rn = {
|
|
1172
1172
|
start: "data-[state=open]:animate-sheet-in-start data-[state=closed]:animate-sheet-out-start motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out",
|
|
1173
1173
|
end: "data-[state=open]:animate-sheet-in-end data-[state=closed]:animate-sheet-out-end motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out",
|
|
1174
1174
|
top: "data-[state=open]:animate-sheet-in-top data-[state=closed]:animate-sheet-out-top motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out",
|
|
1175
1175
|
bottom: "data-[state=open]:animate-sheet-in-bottom data-[state=closed]:animate-sheet-out-bottom motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out"
|
|
1176
|
-
},
|
|
1177
|
-
function
|
|
1178
|
-
return /* @__PURE__ */ i(o.Portal, { children: [/* @__PURE__ */ r(o.Overlay, { className:
|
|
1176
|
+
}, an = o.Root, on = o.Trigger;
|
|
1177
|
+
function sn({ className: e, ...t }) {
|
|
1178
|
+
return /* @__PURE__ */ i(o.Portal, { children: [/* @__PURE__ */ r(o.Overlay, { className: K }), /* @__PURE__ */ r(o.Content, {
|
|
1179
1179
|
"data-slot": "alert-dialog-content",
|
|
1180
|
-
className: M("fixed start-1/2 top-1/2 z-50 grid w-[calc(100%-2rem)] max-w-md -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl border bg-popover p-6 text-popover-foreground shadow-lg outline-none rtl:translate-x-1/2",
|
|
1180
|
+
className: M("fixed start-1/2 top-1/2 z-50 grid w-[calc(100%-2rem)] max-w-md -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl border bg-popover p-6 text-popover-foreground shadow-lg outline-none rtl:translate-x-1/2", q, e),
|
|
1181
1181
|
...t
|
|
1182
1182
|
})] });
|
|
1183
1183
|
}
|
|
1184
|
-
function
|
|
1184
|
+
function cn({ className: e, ...t }) {
|
|
1185
1185
|
return /* @__PURE__ */ r(o.Title, {
|
|
1186
1186
|
"data-slot": "alert-dialog-title",
|
|
1187
1187
|
className: M("m-0 font-display text-lg font-bold leading-tight", e),
|
|
1188
1188
|
...t
|
|
1189
1189
|
});
|
|
1190
1190
|
}
|
|
1191
|
-
function
|
|
1191
|
+
function ln({ className: e, ...t }) {
|
|
1192
1192
|
return /* @__PURE__ */ r(o.Description, {
|
|
1193
1193
|
"data-slot": "alert-dialog-description",
|
|
1194
1194
|
className: M("m-0 text-sm text-muted-foreground", e),
|
|
1195
1195
|
...t
|
|
1196
1196
|
});
|
|
1197
1197
|
}
|
|
1198
|
-
function
|
|
1198
|
+
function un({ className: e, variant: t = "default", ...n }) {
|
|
1199
1199
|
return /* @__PURE__ */ r(o.Action, {
|
|
1200
1200
|
"data-slot": "alert-dialog-action",
|
|
1201
1201
|
className: M(z({ variant: t }), e),
|
|
1202
1202
|
...n
|
|
1203
1203
|
});
|
|
1204
1204
|
}
|
|
1205
|
-
function
|
|
1205
|
+
function dn({ className: e, ...t }) {
|
|
1206
1206
|
return /* @__PURE__ */ r(o.Cancel, {
|
|
1207
1207
|
"data-slot": "alert-dialog-cancel",
|
|
1208
1208
|
className: M(z({ variant: "outline" }), e),
|
|
@@ -1210,11 +1210,11 @@ function un({ className: e, ...t }) {
|
|
|
1210
1210
|
});
|
|
1211
1211
|
}
|
|
1212
1212
|
// src/ui/overlay/dialog.component.tsx
|
|
1213
|
-
var
|
|
1214
|
-
function
|
|
1215
|
-
return /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className:
|
|
1213
|
+
var fn = d.Root, pn = d.Trigger, mn = d.Close;
|
|
1214
|
+
function hn({ className: e, children: t, showClose: n = !0, ...a }) {
|
|
1215
|
+
return /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className: K }), /* @__PURE__ */ i(d.Content, {
|
|
1216
1216
|
"data-slot": "dialog-content",
|
|
1217
|
-
className: M("fixed start-1/2 top-1/2 z-50 grid w-[calc(100%-2rem)] max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl border bg-popover p-6 text-popover-foreground shadow-lg outline-none rtl:translate-x-1/2",
|
|
1217
|
+
className: M("fixed start-1/2 top-1/2 z-50 grid w-[calc(100%-2rem)] max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl border bg-popover p-6 text-popover-foreground shadow-lg outline-none rtl:translate-x-1/2", q, e),
|
|
1218
1218
|
...a,
|
|
1219
1219
|
children: [t, n && /* @__PURE__ */ i(d.Close, {
|
|
1220
1220
|
className: "absolute end-4 top-4 cursor-pointer rounded-sm text-muted-foreground outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -1228,28 +1228,28 @@ function mn({ className: e, children: t, showClose: n = !0, ...a }) {
|
|
|
1228
1228
|
})]
|
|
1229
1229
|
})] });
|
|
1230
1230
|
}
|
|
1231
|
-
function
|
|
1231
|
+
function gn({ className: e, ...t }) {
|
|
1232
1232
|
return /* @__PURE__ */ r("div", {
|
|
1233
1233
|
"data-slot": "dialog-header",
|
|
1234
1234
|
className: M("flex flex-col gap-1.5 text-start", e),
|
|
1235
1235
|
...t
|
|
1236
1236
|
});
|
|
1237
1237
|
}
|
|
1238
|
-
function
|
|
1238
|
+
function _n({ className: e, ...t }) {
|
|
1239
1239
|
return /* @__PURE__ */ r("div", {
|
|
1240
1240
|
"data-slot": "dialog-footer",
|
|
1241
1241
|
className: M("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
|
|
1242
1242
|
...t
|
|
1243
1243
|
});
|
|
1244
1244
|
}
|
|
1245
|
-
function
|
|
1245
|
+
function vn({ className: e, ...t }) {
|
|
1246
1246
|
return /* @__PURE__ */ r(d.Title, {
|
|
1247
1247
|
"data-slot": "dialog-title",
|
|
1248
1248
|
className: M("m-0 font-display text-lg font-bold leading-tight", e),
|
|
1249
1249
|
...t
|
|
1250
1250
|
});
|
|
1251
1251
|
}
|
|
1252
|
-
function
|
|
1252
|
+
function yn({ className: e, ...t }) {
|
|
1253
1253
|
return /* @__PURE__ */ r(d.Description, {
|
|
1254
1254
|
"data-slot": "dialog-description",
|
|
1255
1255
|
className: M("m-0 text-sm text-muted-foreground", e),
|
|
@@ -1257,9 +1257,9 @@ function vn({ className: e, ...t }) {
|
|
|
1257
1257
|
});
|
|
1258
1258
|
}
|
|
1259
1259
|
// src/ui/overlay/drawer.component.tsx
|
|
1260
|
-
var
|
|
1261
|
-
function
|
|
1262
|
-
return /* @__PURE__ */ i(A.Portal, { children: [/* @__PURE__ */ r(A.Overlay, { className:
|
|
1260
|
+
var bn = A.Root, xn = A.Trigger, Sn = A.Close;
|
|
1261
|
+
function Cn({ className: e, children: t, ...n }) {
|
|
1262
|
+
return /* @__PURE__ */ i(A.Portal, { children: [/* @__PURE__ */ r(A.Overlay, { className: K }), /* @__PURE__ */ i(A.Content, {
|
|
1263
1263
|
"data-slot": "drawer-content",
|
|
1264
1264
|
className: M("fixed inset-x-0 bottom-0 z-50 flex max-h-[85vh] flex-col gap-3.5 rounded-t-3xl border-t bg-popover px-5 pt-2.5 pb-8 text-popover-foreground outline-none", e),
|
|
1265
1265
|
...n,
|
|
@@ -1269,14 +1269,14 @@ function Sn({ className: e, children: t, ...n }) {
|
|
|
1269
1269
|
}), t]
|
|
1270
1270
|
})] });
|
|
1271
1271
|
}
|
|
1272
|
-
function
|
|
1272
|
+
function wn({ className: e, ...t }) {
|
|
1273
1273
|
return /* @__PURE__ */ r(A.Title, {
|
|
1274
1274
|
"data-slot": "drawer-title",
|
|
1275
1275
|
className: M("m-0 text-xl font-semibold leading-tight", e),
|
|
1276
1276
|
...t
|
|
1277
1277
|
});
|
|
1278
1278
|
}
|
|
1279
|
-
function
|
|
1279
|
+
function Tn({ className: e, ...t }) {
|
|
1280
1280
|
return /* @__PURE__ */ r(A.Description, {
|
|
1281
1281
|
"data-slot": "drawer-description",
|
|
1282
1282
|
className: M("m-0 text-sm text-muted-foreground", e),
|
|
@@ -1284,27 +1284,27 @@ function wn({ className: e, ...t }) {
|
|
|
1284
1284
|
});
|
|
1285
1285
|
}
|
|
1286
1286
|
// src/ui/overlay/popover.component.tsx
|
|
1287
|
-
var
|
|
1288
|
-
function
|
|
1287
|
+
var En = g.Root, Dn = g.Trigger, On = g.Anchor;
|
|
1288
|
+
function kn({ className: e, align: t = "center", sideOffset: n = 6, ...i }) {
|
|
1289
1289
|
return /* @__PURE__ */ r(g.Portal, { children: /* @__PURE__ */ r(g.Content, {
|
|
1290
1290
|
"data-slot": "popover-content",
|
|
1291
1291
|
align: t,
|
|
1292
1292
|
sideOffset: n,
|
|
1293
|
-
className: M("z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-lg border bg-popover p-4 text-popover-foreground shadow-md outline-none",
|
|
1293
|
+
className: M("z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-lg border bg-popover p-4 text-popover-foreground shadow-md outline-none", q, e),
|
|
1294
1294
|
...i
|
|
1295
1295
|
}) });
|
|
1296
1296
|
}
|
|
1297
1297
|
// src/ui/overlay/sheet.component.tsx
|
|
1298
|
-
var
|
|
1298
|
+
var An = d.Root, jn = d.Trigger, Mn = d.Close, Nn = d.Title, Pn = d.Description, Fn = {
|
|
1299
1299
|
start: "inset-y-0 start-0 h-full w-3/4 max-w-sm border-e",
|
|
1300
1300
|
end: "inset-y-0 end-0 h-full w-3/4 max-w-sm border-s",
|
|
1301
1301
|
top: "inset-x-0 top-0 border-b",
|
|
1302
1302
|
bottom: "inset-x-0 bottom-0 border-t"
|
|
1303
1303
|
};
|
|
1304
|
-
function
|
|
1305
|
-
return /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className:
|
|
1304
|
+
function In({ className: e, children: t, side: n = "end", ...a }) {
|
|
1305
|
+
return /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className: K }), /* @__PURE__ */ i(d.Content, {
|
|
1306
1306
|
"data-slot": "sheet-content",
|
|
1307
|
-
className: M("fixed z-50 flex flex-col gap-4 bg-popover p-6 text-popover-foreground shadow-lg outline-none",
|
|
1307
|
+
className: M("fixed z-50 flex flex-col gap-4 bg-popover p-6 text-popover-foreground shadow-lg outline-none", Fn[n], rn[n], e),
|
|
1308
1308
|
...a,
|
|
1309
1309
|
children: [t, /* @__PURE__ */ i(d.Close, {
|
|
1310
1310
|
className: "absolute end-4 top-4 cursor-pointer rounded-sm text-muted-foreground outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -1319,8 +1319,8 @@ function Fn({ className: e, children: t, side: n = "end", ...a }) {
|
|
|
1319
1319
|
})] });
|
|
1320
1320
|
}
|
|
1321
1321
|
// src/ui/overlay/tooltip.component.tsx
|
|
1322
|
-
var
|
|
1323
|
-
function
|
|
1322
|
+
var Ln = w.Provider;
|
|
1323
|
+
function J(e) {
|
|
1324
1324
|
return /* @__PURE__ */ r(w.Provider, {
|
|
1325
1325
|
delayDuration: 300,
|
|
1326
1326
|
children: /* @__PURE__ */ r(w.Root, {
|
|
@@ -1334,7 +1334,7 @@ function zn({ className: e, sideOffset: t = 6, ...n }) {
|
|
|
1334
1334
|
return /* @__PURE__ */ r(w.Portal, { children: /* @__PURE__ */ r(w.Content, {
|
|
1335
1335
|
"data-slot": "tooltip-content",
|
|
1336
1336
|
sideOffset: t,
|
|
1337
|
-
className: M("z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-sm bg-foreground px-2.5 py-1.5 text-xs text-background",
|
|
1337
|
+
className: M("z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-sm bg-foreground px-2.5 py-1.5 text-xs text-background", q, e),
|
|
1338
1338
|
...n
|
|
1339
1339
|
}) });
|
|
1340
1340
|
}
|
|
@@ -1351,8 +1351,8 @@ function Wn({ className: e, ...t }) {
|
|
|
1351
1351
|
function Gn({ title: e = "Search", children: t, ...n }) {
|
|
1352
1352
|
return /* @__PURE__ */ r(d.Root, {
|
|
1353
1353
|
...n,
|
|
1354
|
-
children: /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className:
|
|
1355
|
-
className: M("fixed start-1/2 top-[18%] z-50 w-[calc(100%-2rem)] max-w-xl -translate-x-1/2 overflow-hidden rounded-xl border bg-popover shadow-lg outline-none rtl:translate-x-1/2",
|
|
1354
|
+
children: /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className: K }), /* @__PURE__ */ i(d.Content, {
|
|
1355
|
+
className: M("fixed start-1/2 top-[18%] z-50 w-[calc(100%-2rem)] max-w-xl -translate-x-1/2 overflow-hidden rounded-xl border bg-popover shadow-lg outline-none rtl:translate-x-1/2", q),
|
|
1356
1356
|
children: [
|
|
1357
1357
|
/* @__PURE__ */ r(d.Title, {
|
|
1358
1358
|
className: "sr-only",
|
|
@@ -1732,7 +1732,7 @@ function Rr({ className: e, ...t }) {
|
|
|
1732
1732
|
});
|
|
1733
1733
|
}
|
|
1734
1734
|
function zr({ className: e, variant: t = "pill", children: n, ...a }) {
|
|
1735
|
-
let o =
|
|
1735
|
+
let o = ft("[data-state=active]");
|
|
1736
1736
|
return /* @__PURE__ */ i(C.List, {
|
|
1737
1737
|
ref: o,
|
|
1738
1738
|
"data-slot": "tabs-list",
|
|
@@ -1742,7 +1742,7 @@ function zr({ className: e, variant: t = "pill", children: n, ...a }) {
|
|
|
1742
1742
|
children: [/* @__PURE__ */ r("span", {
|
|
1743
1743
|
"aria-hidden": "true",
|
|
1744
1744
|
"data-slot": "tabs-indicator",
|
|
1745
|
-
className: M(
|
|
1745
|
+
className: M(pt, t === "pill" ? "rounded-sm bg-background shadow-xs" : "top-auto -bottom-px h-0.5 bg-brand")
|
|
1746
1746
|
}), n]
|
|
1747
1747
|
});
|
|
1748
1748
|
}
|
|
@@ -1823,7 +1823,7 @@ function X() {
|
|
|
1823
1823
|
return e;
|
|
1824
1824
|
}
|
|
1825
1825
|
// src/ui/sidebar/sidebar.recipe.ts
|
|
1826
|
-
var Z = "min-w-0 truncate whitespace-nowrap transition-[translate,opacity] duration-150 ease-out [transition-delay:60ms,60ms] motion-reduce:transition-none group-data-[collapsed]/sidebar:shrink-0 group-data-[collapsed]/sidebar:translate-x-3 group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:[transition-delay:0ms] in-data-[slot=sidebar-sheet]:animate-sidebar-label-in motion-reduce:in-data-[slot=sidebar-sheet]:animate-none", Gr = "grid grid-rows-[1fr] transition-[grid-template-rows,opacity,translate,margin] duration-200 ease-out motion-reduce:transition-none group-data-[collapsed]/sidebar:-mt-2 group-data-[collapsed]/sidebar:translate-y-2 group-data-[collapsed]/sidebar:grid-rows-[0fr] group-data-[collapsed]/sidebar:opacity-0",
|
|
1826
|
+
var Z = "min-w-0 truncate whitespace-nowrap transition-[translate,opacity] duration-150 ease-out [transition-delay:60ms,60ms] motion-reduce:transition-none group-data-[collapsed]/sidebar:shrink-0 group-data-[collapsed]/sidebar:translate-x-3 group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:[transition-delay:0ms] in-data-[slot=sidebar-sheet]:animate-sidebar-label-in motion-reduce:in-data-[slot=sidebar-sheet]:animate-none", Gr = "grid grid-rows-[1fr] transition-[grid-template-rows,opacity,translate,margin] duration-200 ease-out motion-reduce:transition-none group-data-[collapsed]/sidebar:-mt-2 group-data-[collapsed]/sidebar:translate-y-2 group-data-[collapsed]/sidebar:grid-rows-[0fr] group-data-[collapsed]/sidebar:opacity-0", Q = "flex h-9 w-full shrink-0 cursor-pointer items-center gap-3 rounded-md px-3 text-[13.5px] font-medium text-muted-foreground no-underline outline-none transition-colors duration-150 motion-reduce:transition-none hover:bg-sidebar-accent hover:text-foreground focus-visible:ring-2 focus-visible:ring-sidebar-ring [&_svg]:size-4 [&_svg]:shrink-0 aria-[current]:bg-brand-soft aria-[current]:text-brand-text", Kr = {
|
|
1827
1827
|
panel: {
|
|
1828
1828
|
open: "w-64 gap-2 px-1.5 py-2.5",
|
|
1829
1829
|
collapsed: "w-12 gap-2 px-1.5 pt-2.5 pb-24"
|
|
@@ -1833,7 +1833,7 @@ var Z = "min-w-0 truncate whitespace-nowrap transition-[translate,opacity] durat
|
|
|
1833
1833
|
collapsed: "w-14 gap-4 px-2 py-3"
|
|
1834
1834
|
}
|
|
1835
1835
|
};
|
|
1836
|
-
function
|
|
1836
|
+
function qr({ label: e, variant: t = "panel", side: n = "start", collapsed: a, defaultCollapsed: o = !1, onCollapsedChange: s, className: c, children: l, ...u }) {
|
|
1837
1837
|
let [d, f] = k(o), p = a ?? d;
|
|
1838
1838
|
function m(e) {
|
|
1839
1839
|
a === void 0 && f(e), s?.(e);
|
|
@@ -1851,7 +1851,7 @@ function Jr({ label: e, variant: t = "panel", side: n = "start", collapsed: a, d
|
|
|
1851
1851
|
"data-variant": t,
|
|
1852
1852
|
"data-collapsed": p || void 0,
|
|
1853
1853
|
"aria-label": e,
|
|
1854
|
-
className: M("group/sidebar flex h-full min-h-0 shrink-0 flex-col overflow-hidden bg-sidebar text-[13px] text-sidebar-foreground", n === "start" ? "border-e border-sidebar-border" : "border-s border-sidebar-border", "relative transition-[width] duration-150 ease-out motion-reduce:transition-none", p ?
|
|
1854
|
+
className: M("group/sidebar flex h-full min-h-0 shrink-0 flex-col overflow-hidden bg-sidebar text-[13px] text-sidebar-foreground", n === "start" ? "border-e border-sidebar-border" : "border-s border-sidebar-border", "relative transition-[width] duration-150 ease-out motion-reduce:transition-none", p ? Kr[t].collapsed : Kr[t].open, c),
|
|
1855
1855
|
...u,
|
|
1856
1856
|
children: [l, t === "panel" && /* @__PURE__ */ r("span", {
|
|
1857
1857
|
"aria-hidden": "true",
|
|
@@ -1861,9 +1861,9 @@ function Jr({ label: e, variant: t = "panel", side: n = "start", collapsed: a, d
|
|
|
1861
1861
|
})
|
|
1862
1862
|
});
|
|
1863
1863
|
}
|
|
1864
|
-
function
|
|
1864
|
+
function Jr({ label: e, children: t }) {
|
|
1865
1865
|
let { collapsed: n, side: a } = X(), [o, s] = k(!1);
|
|
1866
|
-
return /* @__PURE__ */ i(
|
|
1866
|
+
return /* @__PURE__ */ i(J, {
|
|
1867
1867
|
open: n && o,
|
|
1868
1868
|
onOpenChange: s,
|
|
1869
1869
|
children: [/* @__PURE__ */ r(Rn, {
|
|
@@ -1877,14 +1877,14 @@ function Q({ label: e, children: t }) {
|
|
|
1877
1877
|
}
|
|
1878
1878
|
function Yr({ className: e, ...t }) {
|
|
1879
1879
|
let { collapsed: n, setCollapsed: a, label: o, side: s, variant: c } = X(), l = c === "nav" ? `${n ? "Expand" : "Collapse"} sidebar` : `${n ? "Show" : "Hide"} ${o.toLowerCase()}`;
|
|
1880
|
-
if (c === "nav") return /* @__PURE__ */ r(
|
|
1880
|
+
if (c === "nav") return /* @__PURE__ */ r(Jr, {
|
|
1881
1881
|
label: l,
|
|
1882
1882
|
children: /* @__PURE__ */ i("button", {
|
|
1883
1883
|
type: "button",
|
|
1884
1884
|
"aria-label": l,
|
|
1885
1885
|
"aria-expanded": !n,
|
|
1886
1886
|
onClick: () => a(!n),
|
|
1887
|
-
className: M(
|
|
1887
|
+
className: M(Q, e),
|
|
1888
1888
|
...t,
|
|
1889
1889
|
children: [/* @__PURE__ */ r(ge, { "aria-hidden": "true" }), /* @__PURE__ */ r("span", {
|
|
1890
1890
|
"aria-hidden": "true",
|
|
@@ -1920,7 +1920,7 @@ function Xr({ query: e = "", onQueryChange: t, searchLabel: n, children: a, clas
|
|
|
1920
1920
|
children: [/* @__PURE__ */ i("div", {
|
|
1921
1921
|
inert: s,
|
|
1922
1922
|
className: "flex min-w-0 flex-1 items-center gap-1 transition-opacity duration-150 group-data-[collapsed]/sidebar:opacity-0 motion-reduce:transition-none",
|
|
1923
|
-
children: [t && /* @__PURE__ */ r(
|
|
1923
|
+
children: [t && /* @__PURE__ */ r(U, {
|
|
1924
1924
|
type: "search",
|
|
1925
1925
|
value: e,
|
|
1926
1926
|
onChange: (e) => t(e.target.value),
|
|
@@ -2049,7 +2049,7 @@ function ti({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foregr
|
|
|
2049
2049
|
className: M("ms-auto text-[11px] text-muted-foreground tabular-nums", Z),
|
|
2050
2050
|
children: c
|
|
2051
2051
|
})
|
|
2052
|
-
] }), v = h === "nav" ? M(
|
|
2052
|
+
] }), v = h === "nav" ? M(Q, d) : M("group/item flex cursor-pointer items-center rounded-md border border-transparent text-start text-sidebar-foreground no-underline outline-none transition-colors duration-150 motion-reduce:transition-none", "hover:border-sidebar-border hover:bg-background focus-visible:ring-2 focus-visible:ring-sidebar-ring disabled:cursor-not-allowed disabled:opacity-50", "aria-[current]:border-transparent aria-[current]:bg-brand-soft aria-[current]:text-brand-text", "w-full gap-2 px-[13px] py-1.5", d), y = {
|
|
2053
2053
|
"data-slot": "sidebar-item",
|
|
2054
2054
|
"aria-current": g,
|
|
2055
2055
|
"aria-label": m ? e : void 0,
|
|
@@ -2064,7 +2064,7 @@ function ti({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foregr
|
|
|
2064
2064
|
...p,
|
|
2065
2065
|
children: _
|
|
2066
2066
|
});
|
|
2067
|
-
return /* @__PURE__ */ r(
|
|
2067
|
+
return /* @__PURE__ */ r(Jr, {
|
|
2068
2068
|
label: e,
|
|
2069
2069
|
children: b
|
|
2070
2070
|
});
|
|
@@ -2074,10 +2074,10 @@ function ni(e, t) {
|
|
|
2074
2074
|
}
|
|
2075
2075
|
// src/ui/sidebar/sidebar-sheet.component.tsx
|
|
2076
2076
|
function ri({ label: e, children: t, side: n = "start", open: a, onOpenChange: o, className: s }) {
|
|
2077
|
-
return /* @__PURE__ */ i(
|
|
2077
|
+
return /* @__PURE__ */ i(An, {
|
|
2078
2078
|
open: a,
|
|
2079
2079
|
onOpenChange: o,
|
|
2080
|
-
children: [/* @__PURE__ */ r(
|
|
2080
|
+
children: [/* @__PURE__ */ r(jn, {
|
|
2081
2081
|
asChild: !0,
|
|
2082
2082
|
children: /* @__PURE__ */ r(B, {
|
|
2083
2083
|
variant: "ghost",
|
|
@@ -2086,11 +2086,11 @@ function ri({ label: e, children: t, side: n = "start", open: a, onOpenChange: o
|
|
|
2086
2086
|
className: s,
|
|
2087
2087
|
children: /* @__PURE__ */ r(ge, {})
|
|
2088
2088
|
})
|
|
2089
|
-
}), /* @__PURE__ */ i(
|
|
2089
|
+
}), /* @__PURE__ */ i(In, {
|
|
2090
2090
|
"data-slot": "sidebar-sheet",
|
|
2091
2091
|
side: n,
|
|
2092
2092
|
className: "d-mob w-[min(320px,86vw)] gap-0 p-0 [&>[data-slot=sidebar]]:border-0",
|
|
2093
|
-
children: [/* @__PURE__ */ r(
|
|
2093
|
+
children: [/* @__PURE__ */ r(Nn, {
|
|
2094
2094
|
className: "sr-only",
|
|
2095
2095
|
children: e
|
|
2096
2096
|
}), t]
|
|
@@ -2201,10 +2201,10 @@ function fi() {
|
|
|
2201
2201
|
return si(ke(li, ui, di));
|
|
2202
2202
|
}
|
|
2203
2203
|
// src/app/app-shell.component.tsx
|
|
2204
|
-
function pi({ product: e, brand: t = "switcher", workspace: a, onProductChange: o, nav: s, secondaryNav: c, sidebarFooter: l,
|
|
2205
|
-
let [
|
|
2206
|
-
oi(
|
|
2207
|
-
let
|
|
2204
|
+
function pi({ product: e, brand: t = "switcher", workspace: a, onProductChange: o, nav: s, secondaryNav: c, sidebarFooter: l, sidebarNote: u, user: d, breadcrumb: f, topActions: p, commands: m, children: h, className: g }) {
|
|
2205
|
+
let [_, v] = k(!1), y = Te(() => v(!0), []);
|
|
2206
|
+
oi(y, !!m?.length);
|
|
2207
|
+
let b = fi(), ee = [...new Set(m?.map((e) => e.group))], x = (e) => /* @__PURE__ */ r(ti, {
|
|
2208
2208
|
asChild: !0,
|
|
2209
2209
|
title: e.label,
|
|
2210
2210
|
icon: e.icon,
|
|
@@ -2214,7 +2214,7 @@ function pi({ product: e, brand: t = "switcher", workspace: a, onProductChange:
|
|
|
2214
2214
|
href: e.href,
|
|
2215
2215
|
children: e.label
|
|
2216
2216
|
})
|
|
2217
|
-
}, e.href),
|
|
2217
|
+
}, e.href), S = /* @__PURE__ */ i(n, { children: [
|
|
2218
2218
|
/* @__PURE__ */ r(Xr, {
|
|
2219
2219
|
className: "h-12",
|
|
2220
2220
|
children: t === "logo" ? /* @__PURE__ */ r(ai, { product: e }) : /* @__PURE__ */ r(ii, {
|
|
@@ -2225,22 +2225,22 @@ function pi({ product: e, brand: t = "switcher", workspace: a, onProductChange:
|
|
|
2225
2225
|
})
|
|
2226
2226
|
}),
|
|
2227
2227
|
/* @__PURE__ */ i(Zr, { children: [
|
|
2228
|
-
|
|
2228
|
+
m?.length ? /* @__PURE__ */ r(ti, {
|
|
2229
2229
|
title: "Search",
|
|
2230
2230
|
icon: /* @__PURE__ */ r(E, {}),
|
|
2231
|
-
badge: /* @__PURE__ */ r(
|
|
2231
|
+
badge: /* @__PURE__ */ r(Gt, {
|
|
2232
2232
|
className: "border-0 bg-transparent",
|
|
2233
|
-
children:
|
|
2233
|
+
children: b
|
|
2234
2234
|
}),
|
|
2235
|
-
onClick:
|
|
2235
|
+
onClick: y
|
|
2236
2236
|
}) : null,
|
|
2237
2237
|
/* @__PURE__ */ r("div", {
|
|
2238
2238
|
className: "flex flex-col gap-0.5",
|
|
2239
|
-
children: s.map((e) =>
|
|
2239
|
+
children: s.map((e) => x(e))
|
|
2240
2240
|
}),
|
|
2241
2241
|
c && /* @__PURE__ */ r(ei, {
|
|
2242
2242
|
title: c.title,
|
|
2243
|
-
children: c.items.map((e) =>
|
|
2243
|
+
children: c.items.map((e) => x(e))
|
|
2244
2244
|
})
|
|
2245
2245
|
] }),
|
|
2246
2246
|
/* @__PURE__ */ i($r, { children: [
|
|
@@ -2248,31 +2248,32 @@ function pi({ product: e, brand: t = "switcher", workspace: a, onProductChange:
|
|
|
2248
2248
|
className: Z,
|
|
2249
2249
|
children: l
|
|
2250
2250
|
}),
|
|
2251
|
-
|
|
2251
|
+
d && /* @__PURE__ */ i("div", {
|
|
2252
2252
|
className: "flex items-center gap-2.5 px-1",
|
|
2253
|
-
children: [/* @__PURE__ */ r(nt, { children: /* @__PURE__ */ r(it, { children:
|
|
2253
|
+
children: [/* @__PURE__ */ r(nt, { children: /* @__PURE__ */ r(it, { children: d.initials }) }), /* @__PURE__ */ i("span", {
|
|
2254
2254
|
className: M("flex flex-col leading-tight", Z),
|
|
2255
2255
|
children: [/* @__PURE__ */ r("span", {
|
|
2256
2256
|
className: "text-[13px] font-semibold",
|
|
2257
|
-
children:
|
|
2258
|
-
}),
|
|
2257
|
+
children: d.name
|
|
2258
|
+
}), d.role && /* @__PURE__ */ r("span", {
|
|
2259
2259
|
className: "text-xs text-muted-foreground",
|
|
2260
|
-
children:
|
|
2260
|
+
children: d.role
|
|
2261
2261
|
})]
|
|
2262
2262
|
})]
|
|
2263
2263
|
}),
|
|
2264
|
-
/* @__PURE__ */ r(Yr, {})
|
|
2264
|
+
/* @__PURE__ */ r(Yr, {}),
|
|
2265
|
+
u && /* @__PURE__ */ r(Qr, { children: u })
|
|
2265
2266
|
] })
|
|
2266
2267
|
] });
|
|
2267
2268
|
return /* @__PURE__ */ i("div", {
|
|
2268
2269
|
"data-slot": "app-shell",
|
|
2269
|
-
className: M("flex min-h-screen flex-wrap bg-background",
|
|
2270
|
+
className: M("flex min-h-screen flex-wrap bg-background", g),
|
|
2270
2271
|
children: [
|
|
2271
|
-
/* @__PURE__ */ r(
|
|
2272
|
+
/* @__PURE__ */ r(qr, {
|
|
2272
2273
|
variant: "nav",
|
|
2273
2274
|
label: "Workspace",
|
|
2274
2275
|
className: "sticky top-0 h-screen max-md:hidden",
|
|
2275
|
-
children:
|
|
2276
|
+
children: S
|
|
2276
2277
|
}),
|
|
2277
2278
|
/* @__PURE__ */ i("div", {
|
|
2278
2279
|
className: "relative flex min-w-0 flex-[999_1_560px] flex-col",
|
|
@@ -2282,33 +2283,33 @@ function pi({ product: e, brand: t = "switcher", workspace: a, onProductChange:
|
|
|
2282
2283
|
/* @__PURE__ */ r(ri, {
|
|
2283
2284
|
label: "Workspace",
|
|
2284
2285
|
className: "-ms-2 md:hidden",
|
|
2285
|
-
children: /* @__PURE__ */ r(
|
|
2286
|
+
children: /* @__PURE__ */ r(qr, {
|
|
2286
2287
|
variant: "nav",
|
|
2287
2288
|
label: "Workspace",
|
|
2288
2289
|
collapsed: !1,
|
|
2289
2290
|
className: "w-full",
|
|
2290
|
-
children:
|
|
2291
|
+
children: S
|
|
2291
2292
|
})
|
|
2292
2293
|
}),
|
|
2293
|
-
|
|
2294
|
-
|
|
2294
|
+
f,
|
|
2295
|
+
p && /* @__PURE__ */ r("div", {
|
|
2295
2296
|
className: "ms-auto flex items-center gap-1.5",
|
|
2296
|
-
children:
|
|
2297
|
+
children: p
|
|
2297
2298
|
})
|
|
2298
2299
|
]
|
|
2299
2300
|
}), /* @__PURE__ */ r("main", {
|
|
2300
2301
|
className: "flex flex-col gap-5 p-6",
|
|
2301
|
-
children:
|
|
2302
|
+
children: h
|
|
2302
2303
|
})]
|
|
2303
2304
|
}),
|
|
2304
|
-
|
|
2305
|
-
open:
|
|
2306
|
-
onOpenChange:
|
|
2307
|
-
children: [/* @__PURE__ */ r(Kn, { placeholder: "Search recipes, runs and settings" }), /* @__PURE__ */ i(qn, { children: [/* @__PURE__ */ r(Jn, { children: "No results." }),
|
|
2305
|
+
m?.length ? /* @__PURE__ */ i(Gn, {
|
|
2306
|
+
open: _,
|
|
2307
|
+
onOpenChange: v,
|
|
2308
|
+
children: [/* @__PURE__ */ r(Kn, { placeholder: "Search recipes, runs and settings" }), /* @__PURE__ */ i(qn, { children: [/* @__PURE__ */ r(Jn, { children: "No results." }), ee.map((e) => /* @__PURE__ */ r(Yn, {
|
|
2308
2309
|
heading: e,
|
|
2309
|
-
children:
|
|
2310
|
+
children: m.filter((t) => t.group === e).map((e) => /* @__PURE__ */ r(Xn, {
|
|
2310
2311
|
onSelect: () => {
|
|
2311
|
-
|
|
2312
|
+
v(!1), e.onSelect();
|
|
2312
2313
|
},
|
|
2313
2314
|
children: e.label
|
|
2314
2315
|
}, e.label))
|
|
@@ -2326,7 +2327,7 @@ function mi({ query: e, onQueryChange: t, searchLabel: n = "Search", filters: a,
|
|
|
2326
2327
|
children: [
|
|
2327
2328
|
/* @__PURE__ */ r("div", {
|
|
2328
2329
|
className: "max-w-80 flex-[1_1_220px]",
|
|
2329
|
-
children: /* @__PURE__ */ r(
|
|
2330
|
+
children: /* @__PURE__ */ r(U, {
|
|
2330
2331
|
type: "search",
|
|
2331
2332
|
value: e,
|
|
2332
2333
|
onChange: (e) => t(e.target.value),
|
|
@@ -2422,26 +2423,26 @@ function vi({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o
|
|
|
2422
2423
|
for (let n of d) e ? t.add(n) : t.delete(n);
|
|
2423
2424
|
o?.(t);
|
|
2424
2425
|
}
|
|
2425
|
-
return /* @__PURE__ */ i(
|
|
2426
|
+
return /* @__PURE__ */ i(Qt, {
|
|
2426
2427
|
"data-slot": "records-table",
|
|
2427
2428
|
"aria-label": c,
|
|
2428
2429
|
className: M("min-w-[760px]", l),
|
|
2429
|
-
children: [/* @__PURE__ */ r(
|
|
2430
|
+
children: [/* @__PURE__ */ r($t, { children: /* @__PURE__ */ i(tn, {
|
|
2430
2431
|
className: "hover:bg-transparent",
|
|
2431
2432
|
children: [
|
|
2432
|
-
u && /* @__PURE__ */ r(
|
|
2433
|
+
u && /* @__PURE__ */ r(W, {
|
|
2433
2434
|
className: "w-9",
|
|
2434
|
-
children: /* @__PURE__ */ r(
|
|
2435
|
+
children: /* @__PURE__ */ r(st, {
|
|
2435
2436
|
"aria-label": "Select all rows",
|
|
2436
2437
|
checked: p,
|
|
2437
2438
|
onCheckedChange: (e) => h(e === !0)
|
|
2438
2439
|
})
|
|
2439
2440
|
}),
|
|
2440
|
-
t.map((e) => /* @__PURE__ */ r(
|
|
2441
|
+
t.map((e) => /* @__PURE__ */ r(W, {
|
|
2441
2442
|
className: M(e.align === "end" && "text-end", e.className),
|
|
2442
2443
|
children: e.header
|
|
2443
2444
|
}, e.key)),
|
|
2444
|
-
s && /* @__PURE__ */ r(
|
|
2445
|
+
s && /* @__PURE__ */ r(W, {
|
|
2445
2446
|
className: "w-11",
|
|
2446
2447
|
children: /* @__PURE__ */ r("span", {
|
|
2447
2448
|
className: "sr-only",
|
|
@@ -2449,21 +2450,21 @@ function vi({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o
|
|
|
2449
2450
|
})
|
|
2450
2451
|
})
|
|
2451
2452
|
]
|
|
2452
|
-
}) }), /* @__PURE__ */ r(
|
|
2453
|
+
}) }), /* @__PURE__ */ r(en, { children: e.map((e) => {
|
|
2453
2454
|
let o = n(e), c = a?.has(o) ?? !1;
|
|
2454
|
-
return /* @__PURE__ */ i(
|
|
2455
|
+
return /* @__PURE__ */ i(tn, {
|
|
2455
2456
|
"data-state": c ? "selected" : void 0,
|
|
2456
2457
|
children: [
|
|
2457
|
-
u && /* @__PURE__ */ r(
|
|
2458
|
+
u && /* @__PURE__ */ r(G, { children: /* @__PURE__ */ r(st, {
|
|
2458
2459
|
"aria-label": `Select ${o}`,
|
|
2459
2460
|
checked: c,
|
|
2460
2461
|
onCheckedChange: (e) => m(o, e === !0)
|
|
2461
2462
|
}) }),
|
|
2462
|
-
t.map((t) => /* @__PURE__ */ r(
|
|
2463
|
+
t.map((t) => /* @__PURE__ */ r(G, {
|
|
2463
2464
|
className: M(t.align === "end" && "text-end tabular-nums", t.className),
|
|
2464
2465
|
children: t.cell(e)
|
|
2465
2466
|
}, t.key)),
|
|
2466
|
-
s && /* @__PURE__ */ r(
|
|
2467
|
+
s && /* @__PURE__ */ r(G, { children: /* @__PURE__ */ i(ar, { children: [/* @__PURE__ */ r(or, {
|
|
2467
2468
|
asChild: !0,
|
|
2468
2469
|
children: /* @__PURE__ */ r(B, {
|
|
2469
2470
|
variant: "ghost",
|
|
@@ -2497,7 +2498,7 @@ var bi = {
|
|
|
2497
2498
|
};
|
|
2498
2499
|
function xi({ label: e, value: t, delta: n, tone: a = "neutral", series: o, className: s }) {
|
|
2499
2500
|
let c = o ? yi(o, 100, 32) : "";
|
|
2500
|
-
return /* @__PURE__ */ i(
|
|
2501
|
+
return /* @__PURE__ */ i(zt, {
|
|
2501
2502
|
"data-slot": "stat-card",
|
|
2502
2503
|
className: M("gap-1.5 p-4", s),
|
|
2503
2504
|
children: [
|
|
@@ -2741,7 +2742,7 @@ function Ni({ duration: e, lanes: t, playhead: n, tickCount: a = 8, startsAt: o,
|
|
|
2741
2742
|
className: "relative me-2.5 h-[26px] flex-1",
|
|
2742
2743
|
children: t.segments.map((n) => {
|
|
2743
2744
|
let a = ki(n.start, n.end, e), o = `${t.name}${n.label ? `, ${n.label}` : ""}, ${c(n.start)} to ${c(n.end)}`;
|
|
2744
|
-
return /* @__PURE__ */ i(
|
|
2745
|
+
return /* @__PURE__ */ i(J, { children: [/* @__PURE__ */ r(Rn, {
|
|
2745
2746
|
asChild: !0,
|
|
2746
2747
|
children: /* @__PURE__ */ r("button", {
|
|
2747
2748
|
type: "button",
|
|
@@ -3025,7 +3026,7 @@ function Ri({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", subm
|
|
|
3025
3026
|
className: "sr-only",
|
|
3026
3027
|
children: a
|
|
3027
3028
|
}),
|
|
3028
|
-
/* @__PURE__ */ r(
|
|
3029
|
+
/* @__PURE__ */ r(U, {
|
|
3029
3030
|
id: c,
|
|
3030
3031
|
name: "email",
|
|
3031
3032
|
type: "email",
|
|
@@ -3055,12 +3056,12 @@ function zi({ title: e, items: t, className: n }) {
|
|
|
3055
3056
|
children: [/* @__PURE__ */ r("h2", {
|
|
3056
3057
|
className: "m-0 type-h2 text-4xl",
|
|
3057
3058
|
children: e
|
|
3058
|
-
}), /* @__PURE__ */ r(
|
|
3059
|
+
}), /* @__PURE__ */ r(Ft, {
|
|
3059
3060
|
type: "single",
|
|
3060
3061
|
collapsible: !0,
|
|
3061
|
-
children: t.map((e) => /* @__PURE__ */ i(
|
|
3062
|
+
children: t.map((e) => /* @__PURE__ */ i(It, {
|
|
3062
3063
|
value: e.question,
|
|
3063
|
-
children: [/* @__PURE__ */ r(
|
|
3064
|
+
children: [/* @__PURE__ */ r(Lt, { children: e.question }), /* @__PURE__ */ r(Rt, {
|
|
3064
3065
|
className: "text-[15px]",
|
|
3065
3066
|
children: e.answer
|
|
3066
3067
|
})]
|
|
@@ -3302,15 +3303,15 @@ function Gi({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note:
|
|
|
3302
3303
|
className: "m-0 type-lead",
|
|
3303
3304
|
children: t
|
|
3304
3305
|
})]
|
|
3305
|
-
}), /* @__PURE__ */ i(
|
|
3306
|
+
}), /* @__PURE__ */ i(mt, {
|
|
3306
3307
|
type: "single",
|
|
3307
3308
|
value: l,
|
|
3308
3309
|
onValueChange: (e) => e && u(e),
|
|
3309
3310
|
"aria-label": "Billing",
|
|
3310
|
-
children: [/* @__PURE__ */ r(
|
|
3311
|
+
children: [/* @__PURE__ */ r(ht, {
|
|
3311
3312
|
value: "monthly",
|
|
3312
3313
|
children: "Monthly"
|
|
3313
|
-
}), /* @__PURE__ */ r(
|
|
3314
|
+
}), /* @__PURE__ */ r(ht, {
|
|
3314
3315
|
value: "yearly",
|
|
3315
3316
|
children: "Yearly"
|
|
3316
3317
|
})]
|
|
@@ -3507,6 +3508,6 @@ function Ji({ nav: e, actions: t, brand: a, className: o }) {
|
|
|
3507
3508
|
})
|
|
3508
3509
|
});
|
|
3509
3510
|
}
|
|
3510
|
-
export {
|
|
3511
|
+
export { Ft as Accordion, Rt as AccordionContent, It as AccordionItem, Lt as AccordionTrigger, _t as Alert, an as AlertDialog, un as AlertDialogAction, dn as AlertDialogCancel, sn as AlertDialogContent, ln as AlertDialogDescription, cn as AlertDialogTitle, on as AlertDialogTrigger, pi as AppShell, nt as Avatar, it as AvatarFallback, rt as AvatarImage, R as Badge, Fi as BottomNav, hr as Breadcrumb, _r as BreadcrumbItem, vr as BreadcrumbLink, gr as BreadcrumbList, yr as BreadcrumbPage, br as BreadcrumbSeparator, B as Button, $e as COLOUR_SCHEMES, Ii as CaptureFrame, zt as Card, Ut as CardContent, Ht as CardDescription, Wt as CardFooter, Bt as CardHeader, Vt as CardTitle, st as Checkbox, Wn as Command, Gn as CommandDialog, Jn as CommandEmpty, Yn as CommandGroup, Kn as CommandInput, Xn as CommandItem, qn as CommandList, Zn as CommandSeparator, Qn as CommandShortcut, $n as ContextMenu, tr as ContextMenuContent, nr as ContextMenuItem, rr as ContextMenuSeparator, ir as ContextMenuShortcut, er as ContextMenuTrigger, Ri as CtaBand, Qe as DENSITIES, fn as Dialog, mn as DialogClose, hn as DialogContent, yn as DialogDescription, _n as DialogFooter, gn as DialogHeader, vn as DialogTitle, pn as DialogTrigger, bn as Drawer, Sn as DrawerClose, Cn as DrawerContent, Tn as DrawerDescription, wn as DrawerTitle, xn as DrawerTrigger, ar as DropdownMenu, lr as DropdownMenuContent, sr as DropdownMenuGroup, ur as DropdownMenuItem, fr as DropdownMenuLabel, cr as DropdownMenuRadioGroup, dr as DropdownMenuRadioItem, pr as DropdownMenuSeparator, mr as DropdownMenuShortcut, or as DropdownMenuTrigger, vt as EmptyState, Be as FAMILY_PALETTE, qe as FREE_HUES, zi as Faq, Bi as FeatureGrid, Tt as Field, mi as FilterBar, hi as FilterChip, Ei as FlowNode, gi as FormSection, Xe as HUES, I as HUE_FILL, Vi as Hero, Hi as HowItWorks, U as Input, Di as Inspector, Gt as Kbd, Fe as LABEL_COLORS, L as LOGO_RULE, wt as Label, Sr as MenuIcon, Cr as Menubar, Er as MenubarContent, Dr as MenubarItem, wr as MenubarMenu, kr as MenubarSeparator, Or as MenubarShortcut, Tr as MenubarTrigger, Wi as MobileMenu, Ar as NavigationMenu, Fr as NavigationMenuContent, Mr as NavigationMenuItem, Ir as NavigationMenuLink, jr as NavigationMenuList, Pr as NavigationMenuTrigger, Ze as PALETTE_STEPS, Ye as PRODUCTS, N as PRODUCT_CATALOGUE, Ke as PRODUCT_HUES, _i as PageHeader, Lr as Pagination, En as Popover, On as PopoverAnchor, kn as PopoverContent, Dn as PopoverTrigger, Gi as PricingTable, Ki as ProductCard, P as ProductLogo, ii as ProductSwitcher, yt as Progress, Si as RUN_STATUSES, ct as RadioGroup, lt as RadioGroupItem, Li as RecordButton, vi as RecordsTable, Jt as ResizableHandle, qt as ResizablePanel, Kt as ResizablePanelGroup, Yt as ScrollArea, Xt as ScrollBar, Et as Select, At as SelectContent, Dt as SelectGroup, Mt as SelectItem, jt as SelectLabel, Nt as SelectSeparator, kt as SelectTrigger, Ot as SelectValue, Zt as Separator, An as Sheet, Mn as SheetClose, In as SheetContent, Pn as SheetDescription, Nn as SheetTitle, jn as SheetTrigger, qr as Sidebar, ai as SidebarBrand, Yr as SidebarCollapseButton, Zr as SidebarContent, $r as SidebarFooter, ei as SidebarGroup, Xr as SidebarHeader, ti as SidebarItem, Qr as SidebarNote, ri as SidebarSheet, Jr as SidebarTooltip, qi as SiteFooter, Ji as SiteHeader, bt as Skeleton, ut as Slider, xt as Spinner, xi as StatCard, Ti as StatusBadge, Oi as StatusBar, Ur as Stepper, dt as Switch, Qt as Table, en as TableBody, nn as TableCaption, G as TableCell, W as TableHead, $t as TableHeader, tn as TableRow, Rr as Tabs, Vr as TabsContent, zr as TabsList, Br as TabsTrigger, Pt as Textarea, tt as ThemeRoot, Ni as TimelineLanes, Pi as TitleBar, St as Toaster, mt as ToggleGroup, ht as ToggleGroupItem, J as Tooltip, zn as TooltipContent, Ln as TooltipProvider, Rn as TooltipTrigger, Re as apcaContrast, at as badgeVariants, z as buttonVariants, M as cn, si as commandShortcutLabel, V as controlClassName, Z as fadingLabelClassName, q as floatingMotionClassName, Mi as formatClockTime, ji as formatTimecode, Je as hueForProduct, Ge as logoColorForHue, Q as navRowClassName, K as overlayClassName, ze as readableLabel, wi as runStatusDisplay, rn as sheetMotionClassName, Gr as sidebarNoteClassName, yi as sparklinePath, et as themeAttributes, ki as timelineBox, Ai as timelineTicks, oi as useCommandShortcut, fi as useCommandShortcutLabel, H as useFieldControl, X as useSidebar };
|
|
3511
3512
|
|
|
3512
3513
|
//# sourceMappingURL=index.js.map
|