@talogic/react 0.6.2 → 0.6.3
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/index.js +243 -226
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/talogic-react.css +1 -1
- package/ui/sidebar/index.d.ts +2 -2
- package/ui/sidebar/sidebar.component.d.ts +11 -2
- package/ui/sidebar/sidebar.recipe.d.ts +8 -3
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 V({ 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 st({ className: e, ...t }) {
|
|
|
582
582
|
});
|
|
583
583
|
}
|
|
584
584
|
// src/ui/choice/radio-group.component.tsx
|
|
585
|
-
function
|
|
585
|
+
function st({ 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 ct({ 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 lt({ className: e, ...t }) {
|
|
|
601
601
|
});
|
|
602
602
|
}
|
|
603
603
|
// src/ui/choice/slider.component.tsx
|
|
604
|
-
function
|
|
604
|
+
function lt({ 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 ut({ 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 ut({ 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 dt({ className: e, ...t }) {
|
|
|
640
640
|
});
|
|
641
641
|
}
|
|
642
642
|
// src/ui/active-indicator/active-indicator.hook.ts
|
|
643
|
-
function
|
|
643
|
+
function dt(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 ft(e) {
|
|
|
666
666
|
return O(() => () => n.current?.(), []), r;
|
|
667
667
|
}
|
|
668
668
|
// src/ui/active-indicator/active-indicator.recipe.ts
|
|
669
|
-
var
|
|
669
|
+
var ft = "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 pt({ className: e, children: t, ...n }) {
|
|
672
|
+
let a = dt("[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 mt({ 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(ft, "rounded-sm bg-background shadow-xs")
|
|
683
683
|
}), t]
|
|
684
684
|
});
|
|
685
685
|
}
|
|
686
|
-
function
|
|
686
|
+
function mt({ 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 ht({ className: e, ...t }) {
|
|
|
691
691
|
});
|
|
692
692
|
}
|
|
693
693
|
// src/ui/feedback/alert.component.tsx
|
|
694
|
-
var
|
|
694
|
+
var ht = {
|
|
695
695
|
info: {
|
|
696
696
|
box: "border-border bg-card",
|
|
697
697
|
icon: "text-info",
|
|
@@ -713,8 +713,8 @@ var gt = {
|
|
|
713
713
|
Icon: xe
|
|
714
714
|
}
|
|
715
715
|
};
|
|
716
|
-
function
|
|
717
|
-
let { box: c, icon: l, Icon: u } =
|
|
716
|
+
function gt({ tone: e = "info", title: t, icon: n, children: a, className: o, ...s }) {
|
|
717
|
+
let { box: c, icon: l, Icon: u } = ht[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 _t({ 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 _t({ 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 vt({ 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 vt({ 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 yt({ className: e, value: t, max: n = 100, ...i }) {
|
|
|
779
779
|
});
|
|
780
780
|
}
|
|
781
781
|
// src/ui/feedback/skeleton.component.tsx
|
|
782
|
-
function
|
|
782
|
+
function yt({ className: e, ...t }) {
|
|
783
783
|
return /* @__PURE__ */ r("div", {
|
|
784
784
|
"data-slot": "skeleton",
|
|
785
785
|
"aria-hidden": "true",
|
|
@@ -788,7 +788,7 @@ function bt({ className: e, ...t }) {
|
|
|
788
788
|
});
|
|
789
789
|
}
|
|
790
790
|
// src/ui/feedback/spinner.component.tsx
|
|
791
|
-
function
|
|
791
|
+
function bt({ 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 xt({ className: e, label: t = "Loading", ...n }) {
|
|
|
798
798
|
});
|
|
799
799
|
}
|
|
800
800
|
// src/ui/feedback/toaster.component.tsx
|
|
801
|
-
function
|
|
801
|
+
function xt(e) {
|
|
802
802
|
return /* @__PURE__ */ r(Ae, {
|
|
803
803
|
className: "toaster group",
|
|
804
804
|
toastOptions: { classNames: {
|
|
@@ -814,9 +814,9 @@ function St(e) {
|
|
|
814
814
|
});
|
|
815
815
|
}
|
|
816
816
|
// src/ui/field/control.recipe.ts
|
|
817
|
-
var
|
|
818
|
-
function
|
|
819
|
-
let t = Ee(
|
|
817
|
+
var H = "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", St = Ce(null);
|
|
818
|
+
function U(e = {}) {
|
|
819
|
+
let t = Ee(St);
|
|
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 H(e = {}) {
|
|
|
824
824
|
} : e;
|
|
825
825
|
}
|
|
826
826
|
// src/ui/field/label.component.tsx
|
|
827
|
-
function
|
|
827
|
+
function Ct({ 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 wt({ className: e, ...t }) {
|
|
|
832
832
|
});
|
|
833
833
|
}
|
|
834
834
|
// src/ui/field/field.component.tsx
|
|
835
|
-
function
|
|
835
|
+
function wt({ 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(St, {
|
|
838
838
|
value: {
|
|
839
839
|
id: l,
|
|
840
840
|
describedBy: f,
|
|
@@ -844,7 +844,7 @@ function Tt({ 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(Ct, {
|
|
848
848
|
htmlFor: l,
|
|
849
849
|
children: e
|
|
850
850
|
}),
|
|
@@ -864,11 +864,11 @@ function Tt({ 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 W({ className: e, startIcon: t, type: n = "text", ...a }) {
|
|
868
|
+
let o = U(a), s = /* @__PURE__ */ r("input", {
|
|
869
869
|
"data-slot": "input",
|
|
870
870
|
type: n,
|
|
871
|
-
className: M(
|
|
871
|
+
className: M(H, "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 U({ 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 Tt = b.Root, Et = b.Group, Dt = b.Value;
|
|
886
|
+
function Ot({ className: e, children: t, ...n }) {
|
|
887
|
+
let a = U(n);
|
|
888
888
|
return /* @__PURE__ */ i(b.Trigger, {
|
|
889
889
|
"data-slot": "select-trigger",
|
|
890
|
-
className: M(
|
|
890
|
+
className: M(H, "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 kt({ className: e, children: t, ...n }) {
|
|
|
899
899
|
})]
|
|
900
900
|
});
|
|
901
901
|
}
|
|
902
|
-
function
|
|
902
|
+
function kt({ 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 At({ className: e, children: t, position: n = "popper", ...i }) {
|
|
|
911
911
|
})
|
|
912
912
|
}) });
|
|
913
913
|
}
|
|
914
|
-
function
|
|
914
|
+
function At({ 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 jt({ 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 Mt({ className: e, children: t, ...n }) {
|
|
|
932
932
|
})]
|
|
933
933
|
});
|
|
934
934
|
}
|
|
935
|
-
function
|
|
935
|
+
function Mt({ 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 Nt({ className: e, ...t }) {
|
|
|
940
940
|
});
|
|
941
941
|
}
|
|
942
942
|
// src/ui/field/textarea.component.tsx
|
|
943
|
-
function
|
|
944
|
-
let n =
|
|
943
|
+
function Nt({ className: e, ...t }) {
|
|
944
|
+
let n = U(t);
|
|
945
945
|
return /* @__PURE__ */ r("textarea", {
|
|
946
946
|
"data-slot": "textarea",
|
|
947
|
-
className: M(
|
|
947
|
+
className: M(H, "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 Pt({ 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 Ft({ 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 It({ 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 Lt({ className: e, children: t, ...n }) {
|
|
|
995
995
|
})
|
|
996
996
|
});
|
|
997
997
|
}
|
|
998
|
-
function
|
|
998
|
+
function Lt({ 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 Rt({ className: e, children: t, ...n }) {
|
|
|
1007
1007
|
});
|
|
1008
1008
|
}
|
|
1009
1009
|
// src/ui/layout/card.component.tsx
|
|
1010
|
-
function
|
|
1010
|
+
function Rt({ 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 zt({ 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 Bt({ 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 Vt({ className: e, children: t, ...n }) {
|
|
|
1029
1029
|
children: t
|
|
1030
1030
|
});
|
|
1031
1031
|
}
|
|
1032
|
-
function
|
|
1032
|
+
function Vt({ 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 Ht({ 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 Ut({ 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 Wt({ className: e, ...t }) {
|
|
|
1051
1051
|
});
|
|
1052
1052
|
}
|
|
1053
1053
|
// src/ui/layout/kbd.component.tsx
|
|
1054
|
-
function
|
|
1054
|
+
function Wt({ 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 Gt({ className: e, ...t }) {
|
|
|
1059
1059
|
});
|
|
1060
1060
|
}
|
|
1061
1061
|
// src/ui/layout/resizable.component.tsx
|
|
1062
|
-
function
|
|
1062
|
+
function Gt({ 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 Kt(e) {
|
|
1070
1070
|
return /* @__PURE__ */ r(Me, {
|
|
1071
1071
|
"data-slot": "resizable-panel",
|
|
1072
1072
|
...e
|
|
1073
1073
|
});
|
|
1074
1074
|
}
|
|
1075
|
-
function
|
|
1075
|
+
function qt({ 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 Jt({ className: e, ...t }) {
|
|
|
1080
1080
|
});
|
|
1081
1081
|
}
|
|
1082
1082
|
// src/ui/layout/scroll-area.component.tsx
|
|
1083
|
-
function
|
|
1083
|
+
function Jt({ 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 Yt({ 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(Yt, {}),
|
|
1094
|
+
/* @__PURE__ */ r(Yt, { orientation: "horizontal" }),
|
|
1095
1095
|
/* @__PURE__ */ r(y.Corner, {})
|
|
1096
1096
|
]
|
|
1097
1097
|
});
|
|
1098
1098
|
}
|
|
1099
|
-
function
|
|
1099
|
+
function Yt({ 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 Xt({ className: e, orientation: t = "vertical", ...n }) {
|
|
|
1106
1106
|
});
|
|
1107
1107
|
}
|
|
1108
1108
|
// src/ui/layout/separator.component.tsx
|
|
1109
|
-
function
|
|
1109
|
+
function Xt({ 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 Zt({ className: e, orientation: t = "horizontal", decorative: n = !0, .
|
|
|
1116
1116
|
});
|
|
1117
1117
|
}
|
|
1118
1118
|
// src/ui/layout/table.component.tsx
|
|
1119
|
-
function
|
|
1119
|
+
function Zt({ 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 Qt({ className: e, ...t }) {
|
|
|
1127
1127
|
})
|
|
1128
1128
|
});
|
|
1129
1129
|
}
|
|
1130
|
-
function
|
|
1130
|
+
function Qt(e) {
|
|
1131
1131
|
return /* @__PURE__ */ r("thead", {
|
|
1132
1132
|
"data-slot": "table-header",
|
|
1133
1133
|
...e
|
|
1134
1134
|
});
|
|
1135
1135
|
}
|
|
1136
|
-
function
|
|
1136
|
+
function $t(e) {
|
|
1137
1137
|
return /* @__PURE__ */ r("tbody", {
|
|
1138
1138
|
"data-slot": "table-body",
|
|
1139
1139
|
...e
|
|
1140
1140
|
});
|
|
1141
1141
|
}
|
|
1142
|
-
function
|
|
1142
|
+
function en({ 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 G({ 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 K({ 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 tn({ 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 nn({ className: e, ...t }) {
|
|
|
1168
1168
|
});
|
|
1169
1169
|
}
|
|
1170
1170
|
// src/ui/overlay/overlay.recipe.ts
|
|
1171
|
-
var
|
|
1171
|
+
var q = "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", J = "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", nn = {
|
|
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
|
+
}, rn = o.Root, an = o.Trigger;
|
|
1177
|
+
function on({ className: e, ...t }) {
|
|
1178
|
+
return /* @__PURE__ */ i(o.Portal, { children: [/* @__PURE__ */ r(o.Overlay, { className: q }), /* @__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", J, e),
|
|
1181
1181
|
...t
|
|
1182
1182
|
})] });
|
|
1183
1183
|
}
|
|
1184
|
-
function
|
|
1184
|
+
function sn({ 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 cn({ 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 ln({ 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 un({ 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 dn({ 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 dn = d.Root, fn = d.Trigger, pn = d.Close;
|
|
1214
|
+
function mn({ className: e, children: t, showClose: n = !0, ...a }) {
|
|
1215
|
+
return /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className: q }), /* @__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", J, 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 hn({ className: e, children: t, showClose: n = !0, ...a }) {
|
|
|
1228
1228
|
})]
|
|
1229
1229
|
})] });
|
|
1230
1230
|
}
|
|
1231
|
-
function
|
|
1231
|
+
function hn({ 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 gn({ 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 _n({ 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 vn({ 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 yn({ 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 yn = A.Root, bn = A.Trigger, xn = A.Close;
|
|
1261
|
+
function Sn({ className: e, children: t, ...n }) {
|
|
1262
|
+
return /* @__PURE__ */ i(A.Portal, { children: [/* @__PURE__ */ r(A.Overlay, { className: q }), /* @__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 Cn({ className: e, children: t, ...n }) {
|
|
|
1269
1269
|
}), t]
|
|
1270
1270
|
})] });
|
|
1271
1271
|
}
|
|
1272
|
-
function
|
|
1272
|
+
function Cn({ 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 wn({ 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 Tn({ className: e, ...t }) {
|
|
|
1284
1284
|
});
|
|
1285
1285
|
}
|
|
1286
1286
|
// src/ui/overlay/popover.component.tsx
|
|
1287
|
-
var
|
|
1288
|
-
function
|
|
1287
|
+
var Tn = g.Root, En = g.Trigger, Dn = g.Anchor;
|
|
1288
|
+
function On({ 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", J, e),
|
|
1294
1294
|
...i
|
|
1295
1295
|
}) });
|
|
1296
1296
|
}
|
|
1297
1297
|
// src/ui/overlay/sheet.component.tsx
|
|
1298
|
-
var
|
|
1298
|
+
var kn = d.Root, An = d.Trigger, jn = d.Close, Mn = d.Title, Nn = d.Description, Pn = {
|
|
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 Fn({ className: e, children: t, side: n = "end", ...a }) {
|
|
1305
|
+
return /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className: q }), /* @__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", Pn[n], nn[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 In({ 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 In = w.Provider;
|
|
1323
|
+
function Ln(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", J, 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: q }), /* @__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", J),
|
|
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 = dt("[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(ft, 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 motion-reduce:transition-none group-data-[collapsed]/sidebar:translate-x-3 group-data-[collapsed]/sidebar:opacity-0 in-data-[slot=sidebar-sheet]:animate-sidebar-label-in motion-reduce:in-data-[slot=sidebar-sheet]:animate-none",
|
|
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", Kr = "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", qr = {
|
|
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 Jr({ 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 Kr({ 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 ? qr[t].collapsed : qr[t].open, c),
|
|
1855
1855
|
...u,
|
|
1856
1856
|
children: [l, t === "panel" && /* @__PURE__ */ r("span", {
|
|
1857
1857
|
"aria-hidden": "true",
|
|
@@ -1861,26 +1861,30 @@ function Kr({ label: e, variant: t = "panel", side: n = "start", collapsed: a, d
|
|
|
1861
1861
|
})
|
|
1862
1862
|
});
|
|
1863
1863
|
}
|
|
1864
|
-
function
|
|
1865
|
-
let { collapsed: n, side: a } = X();
|
|
1866
|
-
return
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1864
|
+
function Q({ label: e, children: t }) {
|
|
1865
|
+
let { collapsed: n, side: a } = X(), [o, s] = k(!1);
|
|
1866
|
+
return /* @__PURE__ */ i(Ln, {
|
|
1867
|
+
open: n && o,
|
|
1868
|
+
onOpenChange: s,
|
|
1869
|
+
children: [/* @__PURE__ */ r(Rn, {
|
|
1870
|
+
asChild: !0,
|
|
1871
|
+
children: t
|
|
1872
|
+
}), /* @__PURE__ */ r(zn, {
|
|
1873
|
+
side: a === "start" ? "right" : "left",
|
|
1874
|
+
children: e
|
|
1875
|
+
})]
|
|
1876
|
+
});
|
|
1873
1877
|
}
|
|
1874
|
-
function
|
|
1878
|
+
function Yr({ className: e, ...t }) {
|
|
1875
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()}`;
|
|
1876
|
-
if (c === "nav") return /* @__PURE__ */ r(
|
|
1880
|
+
if (c === "nav") return /* @__PURE__ */ r(Q, {
|
|
1877
1881
|
label: l,
|
|
1878
1882
|
children: /* @__PURE__ */ i("button", {
|
|
1879
1883
|
type: "button",
|
|
1880
1884
|
"aria-label": l,
|
|
1881
1885
|
"aria-expanded": !n,
|
|
1882
1886
|
onClick: () => a(!n),
|
|
1883
|
-
className: M(
|
|
1887
|
+
className: M(Kr, e),
|
|
1884
1888
|
...t,
|
|
1885
1889
|
children: [/* @__PURE__ */ r(ge, { "aria-hidden": "true" }), /* @__PURE__ */ r("span", {
|
|
1886
1890
|
"aria-hidden": "true",
|
|
@@ -1902,7 +1906,7 @@ function Jr({ className: e, ...t }) {
|
|
|
1902
1906
|
children: r(u ? se : ce, {})
|
|
1903
1907
|
});
|
|
1904
1908
|
}
|
|
1905
|
-
function
|
|
1909
|
+
function Xr({ query: e = "", onQueryChange: t, searchLabel: n, children: a, className: o }) {
|
|
1906
1910
|
let { collapsed: s, label: c, variant: l } = X();
|
|
1907
1911
|
if (l === "nav") return /* @__PURE__ */ r("div", {
|
|
1908
1912
|
"data-slot": "sidebar-header",
|
|
@@ -1916,7 +1920,7 @@ function Yr({ query: e = "", onQueryChange: t, searchLabel: n, children: a, clas
|
|
|
1916
1920
|
children: [/* @__PURE__ */ i("div", {
|
|
1917
1921
|
inert: s,
|
|
1918
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",
|
|
1919
|
-
children: [t && /* @__PURE__ */ r(
|
|
1923
|
+
children: [t && /* @__PURE__ */ r(W, {
|
|
1920
1924
|
type: "search",
|
|
1921
1925
|
value: e,
|
|
1922
1926
|
onChange: (e) => t(e.target.value),
|
|
@@ -1924,10 +1928,10 @@ function Yr({ query: e = "", onQueryChange: t, searchLabel: n, children: a, clas
|
|
|
1924
1928
|
"aria-label": u,
|
|
1925
1929
|
startIcon: /* @__PURE__ */ r(E, {})
|
|
1926
1930
|
}), a]
|
|
1927
|
-
}), /* @__PURE__ */ r(
|
|
1931
|
+
}), /* @__PURE__ */ r(Yr, { className: "ms-auto" })]
|
|
1928
1932
|
});
|
|
1929
1933
|
}
|
|
1930
|
-
function
|
|
1934
|
+
function Zr({ className: e, ...t }) {
|
|
1931
1935
|
let { label: n, variant: i } = X(), a = M("flex min-h-0 flex-1 flex-col overflow-x-hidden overflow-y-auto [scrollbar-width:thin]", "group-data-[collapsed]/sidebar:[scrollbar-width:none] group-data-[collapsed]/sidebar:[&::-webkit-scrollbar]:hidden", i === "panel" ? "gap-3" : "gap-4", e);
|
|
1932
1936
|
return i === "nav" ? /* @__PURE__ */ r("nav", {
|
|
1933
1937
|
"data-slot": "sidebar-content",
|
|
@@ -1940,7 +1944,20 @@ function Xr({ className: e, ...t }) {
|
|
|
1940
1944
|
...t
|
|
1941
1945
|
});
|
|
1942
1946
|
}
|
|
1943
|
-
function
|
|
1947
|
+
function Qr({ className: e, children: t, ...n }) {
|
|
1948
|
+
let { collapsed: i } = X();
|
|
1949
|
+
return /* @__PURE__ */ r("div", {
|
|
1950
|
+
"data-slot": "sidebar-note",
|
|
1951
|
+
"aria-hidden": i || void 0,
|
|
1952
|
+
className: M(Gr, e),
|
|
1953
|
+
...n,
|
|
1954
|
+
children: /* @__PURE__ */ r("span", {
|
|
1955
|
+
className: "min-h-0 truncate overflow-hidden px-3 text-xs whitespace-nowrap text-muted-foreground",
|
|
1956
|
+
children: t
|
|
1957
|
+
})
|
|
1958
|
+
});
|
|
1959
|
+
}
|
|
1960
|
+
function $r({ className: e, ...t }) {
|
|
1944
1961
|
let { collapsed: n, variant: i } = X();
|
|
1945
1962
|
return i === "panel" && n ? null : /* @__PURE__ */ r("div", {
|
|
1946
1963
|
"data-slot": "sidebar-footer",
|
|
@@ -1949,7 +1966,7 @@ function Zr({ className: e, ...t }) {
|
|
|
1949
1966
|
});
|
|
1950
1967
|
}
|
|
1951
1968
|
// src/ui/sidebar/sidebar-group.component.tsx
|
|
1952
|
-
function
|
|
1969
|
+
function ei({ title: e, count: t, forceOpen: n = !1, defaultOpen: a = !0, collapsible: o, className: s, children: c }) {
|
|
1953
1970
|
let { collapsed: u, variant: d } = X(), [f, p] = k(a), m = o ?? d === "panel", h = "text-xs font-semibold tracking-[0.04em] text-muted-foreground uppercase";
|
|
1954
1971
|
return m ? /* @__PURE__ */ i(l.Root, {
|
|
1955
1972
|
"data-slot": "sidebar-group",
|
|
@@ -1993,7 +2010,7 @@ function Qr({ title: e, count: t, forceOpen: n = !1, defaultOpen: a = !0, collap
|
|
|
1993
2010
|
});
|
|
1994
2011
|
}
|
|
1995
2012
|
// src/ui/sidebar/sidebar-item.component.tsx
|
|
1996
|
-
function
|
|
2013
|
+
function ti({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foreground)", badge: c, active: l = !1, asChild: u = !1, className: d, children: f, ...p }) {
|
|
1997
2014
|
let { collapsed: m, variant: h } = X(), g = l ? h === "nav" ? "page" : "true" : void 0, _ = h === "nav" ? /* @__PURE__ */ i(n, { children: [
|
|
1998
2015
|
/* @__PURE__ */ r("span", {
|
|
1999
2016
|
"aria-hidden": "true",
|
|
@@ -2032,7 +2049,7 @@ function $r({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foregr
|
|
|
2032
2049
|
className: M("ms-auto text-[11px] text-muted-foreground tabular-nums", Z),
|
|
2033
2050
|
children: c
|
|
2034
2051
|
})
|
|
2035
|
-
] }), v = h === "nav" ? M(
|
|
2052
|
+
] }), v = h === "nav" ? M(Kr, 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 = {
|
|
2036
2053
|
"data-slot": "sidebar-item",
|
|
2037
2054
|
"aria-current": g,
|
|
2038
2055
|
"aria-label": m ? e : void 0,
|
|
@@ -2040,27 +2057,27 @@ function $r({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foregr
|
|
|
2040
2057
|
}, b = u && we(f) ? /* @__PURE__ */ r(S.Root, {
|
|
2041
2058
|
...y,
|
|
2042
2059
|
...p,
|
|
2043
|
-
children:
|
|
2060
|
+
children: ni(f, _)
|
|
2044
2061
|
}) : /* @__PURE__ */ r("button", {
|
|
2045
2062
|
type: "button",
|
|
2046
2063
|
...y,
|
|
2047
2064
|
...p,
|
|
2048
2065
|
children: _
|
|
2049
2066
|
});
|
|
2050
|
-
return /* @__PURE__ */ r(
|
|
2067
|
+
return /* @__PURE__ */ r(Q, {
|
|
2051
2068
|
label: e,
|
|
2052
2069
|
children: b
|
|
2053
2070
|
});
|
|
2054
2071
|
}
|
|
2055
|
-
function
|
|
2072
|
+
function ni(e, t) {
|
|
2056
2073
|
return Se(e, void 0, t);
|
|
2057
2074
|
}
|
|
2058
2075
|
// src/ui/sidebar/sidebar-sheet.component.tsx
|
|
2059
|
-
function
|
|
2060
|
-
return /* @__PURE__ */ i(
|
|
2076
|
+
function ri({ label: e, children: t, side: n = "start", open: a, onOpenChange: o, className: s }) {
|
|
2077
|
+
return /* @__PURE__ */ i(kn, {
|
|
2061
2078
|
open: a,
|
|
2062
2079
|
onOpenChange: o,
|
|
2063
|
-
children: [/* @__PURE__ */ r(
|
|
2080
|
+
children: [/* @__PURE__ */ r(An, {
|
|
2064
2081
|
asChild: !0,
|
|
2065
2082
|
children: /* @__PURE__ */ r(B, {
|
|
2066
2083
|
variant: "ghost",
|
|
@@ -2069,11 +2086,11 @@ function ti({ label: e, children: t, side: n = "start", open: a, onOpenChange: o
|
|
|
2069
2086
|
className: s,
|
|
2070
2087
|
children: /* @__PURE__ */ r(ge, {})
|
|
2071
2088
|
})
|
|
2072
|
-
}), /* @__PURE__ */ i(
|
|
2089
|
+
}), /* @__PURE__ */ i(Fn, {
|
|
2073
2090
|
"data-slot": "sidebar-sheet",
|
|
2074
2091
|
side: n,
|
|
2075
2092
|
className: "d-mob w-[min(320px,86vw)] gap-0 p-0 [&>[data-slot=sidebar]]:border-0",
|
|
2076
|
-
children: [/* @__PURE__ */ r(
|
|
2093
|
+
children: [/* @__PURE__ */ r(Mn, {
|
|
2077
2094
|
className: "sr-only",
|
|
2078
2095
|
children: e
|
|
2079
2096
|
}), t]
|
|
@@ -2081,7 +2098,7 @@ function ti({ label: e, children: t, side: n = "start", open: a, onOpenChange: o
|
|
|
2081
2098
|
});
|
|
2082
2099
|
}
|
|
2083
2100
|
// src/product/product-switcher.component.tsx
|
|
2084
|
-
function
|
|
2101
|
+
function ii({ product: e, workspace: t, products: n = Ye, onProductChange: a, className: o }) {
|
|
2085
2102
|
return /* @__PURE__ */ i(ar, { children: [/* @__PURE__ */ r(or, {
|
|
2086
2103
|
asChild: !0,
|
|
2087
2104
|
children: /* @__PURE__ */ i(B, {
|
|
@@ -2128,7 +2145,7 @@ function ni({ product: e, workspace: t, products: n = Ye, onProductChange: a, cl
|
|
|
2128
2145
|
})] });
|
|
2129
2146
|
}
|
|
2130
2147
|
// src/product/sidebar-brand.component.tsx
|
|
2131
|
-
function
|
|
2148
|
+
function ai({ product: e, badge: t, className: n }) {
|
|
2132
2149
|
let { collapsed: a, setCollapsed: o } = X(), s = N[e].name;
|
|
2133
2150
|
return /* @__PURE__ */ i("div", {
|
|
2134
2151
|
"data-slot": "sidebar-brand",
|
|
@@ -2158,7 +2175,7 @@ function ri({ product: e, badge: t, className: n }) {
|
|
|
2158
2175
|
});
|
|
2159
2176
|
}
|
|
2160
2177
|
// src/app/command-shortcut.hook.ts
|
|
2161
|
-
function
|
|
2178
|
+
function oi(e, t = !0) {
|
|
2162
2179
|
O(() => {
|
|
2163
2180
|
if (!t) return;
|
|
2164
2181
|
function n(t) {
|
|
@@ -2167,27 +2184,27 @@ function ii(e, t = !0) {
|
|
|
2167
2184
|
return document.addEventListener("keydown", n), () => document.removeEventListener("keydown", n);
|
|
2168
2185
|
}, [e, t]);
|
|
2169
2186
|
}
|
|
2170
|
-
function
|
|
2187
|
+
function si(e) {
|
|
2171
2188
|
return /mac|iphone|ipad|ipod/i.test(e) ? "⌘K" : "Ctrl+K";
|
|
2172
2189
|
}
|
|
2173
|
-
function
|
|
2174
|
-
function
|
|
2175
|
-
return
|
|
2190
|
+
function ci() {}
|
|
2191
|
+
function li() {
|
|
2192
|
+
return ci;
|
|
2176
2193
|
}
|
|
2177
|
-
function
|
|
2194
|
+
function ui() {
|
|
2178
2195
|
return navigator.userAgentData?.platform ?? navigator.platform;
|
|
2179
2196
|
}
|
|
2180
|
-
function
|
|
2197
|
+
function di() {
|
|
2181
2198
|
return "";
|
|
2182
2199
|
}
|
|
2183
|
-
function
|
|
2184
|
-
return
|
|
2200
|
+
function fi() {
|
|
2201
|
+
return si(ke(li, ui, di));
|
|
2185
2202
|
}
|
|
2186
2203
|
// src/app/app-shell.component.tsx
|
|
2187
|
-
function
|
|
2204
|
+
function pi({ product: e, brand: t = "switcher", workspace: a, onProductChange: o, nav: s, secondaryNav: c, sidebarFooter: l, user: u, breadcrumb: d, topActions: f, commands: p, children: m, className: h }) {
|
|
2188
2205
|
let [g, _] = k(!1), v = Te(() => _(!0), []);
|
|
2189
|
-
|
|
2190
|
-
let y =
|
|
2206
|
+
oi(v, !!p?.length);
|
|
2207
|
+
let y = fi(), b = [...new Set(p?.map((e) => e.group))], ee = (e) => /* @__PURE__ */ r(ti, {
|
|
2191
2208
|
asChild: !0,
|
|
2192
2209
|
title: e.label,
|
|
2193
2210
|
icon: e.icon,
|
|
@@ -2198,20 +2215,20 @@ function di({ product: e, brand: t = "switcher", workspace: a, onProductChange:
|
|
|
2198
2215
|
children: e.label
|
|
2199
2216
|
})
|
|
2200
2217
|
}, e.href), x = /* @__PURE__ */ i(n, { children: [
|
|
2201
|
-
/* @__PURE__ */ r(
|
|
2218
|
+
/* @__PURE__ */ r(Xr, {
|
|
2202
2219
|
className: "h-12",
|
|
2203
|
-
children: t === "logo" ? /* @__PURE__ */ r(
|
|
2220
|
+
children: t === "logo" ? /* @__PURE__ */ r(ai, { product: e }) : /* @__PURE__ */ r(ii, {
|
|
2204
2221
|
product: e,
|
|
2205
2222
|
workspace: a,
|
|
2206
2223
|
onProductChange: o,
|
|
2207
2224
|
className: "px-2.5"
|
|
2208
2225
|
})
|
|
2209
2226
|
}),
|
|
2210
|
-
/* @__PURE__ */ i(
|
|
2211
|
-
p?.length ? /* @__PURE__ */ r(
|
|
2227
|
+
/* @__PURE__ */ i(Zr, { children: [
|
|
2228
|
+
p?.length ? /* @__PURE__ */ r(ti, {
|
|
2212
2229
|
title: "Search",
|
|
2213
2230
|
icon: /* @__PURE__ */ r(E, {}),
|
|
2214
|
-
badge: /* @__PURE__ */ r(
|
|
2231
|
+
badge: /* @__PURE__ */ r(Wt, {
|
|
2215
2232
|
className: "border-0 bg-transparent",
|
|
2216
2233
|
children: y
|
|
2217
2234
|
}),
|
|
@@ -2221,12 +2238,12 @@ function di({ product: e, brand: t = "switcher", workspace: a, onProductChange:
|
|
|
2221
2238
|
className: "flex flex-col gap-0.5",
|
|
2222
2239
|
children: s.map((e) => ee(e))
|
|
2223
2240
|
}),
|
|
2224
|
-
c && /* @__PURE__ */ r(
|
|
2241
|
+
c && /* @__PURE__ */ r(ei, {
|
|
2225
2242
|
title: c.title,
|
|
2226
2243
|
children: c.items.map((e) => ee(e))
|
|
2227
2244
|
})
|
|
2228
2245
|
] }),
|
|
2229
|
-
/* @__PURE__ */ i(
|
|
2246
|
+
/* @__PURE__ */ i($r, { children: [
|
|
2230
2247
|
l && /* @__PURE__ */ r("div", {
|
|
2231
2248
|
className: Z,
|
|
2232
2249
|
children: l
|
|
@@ -2244,14 +2261,14 @@ function di({ product: e, brand: t = "switcher", workspace: a, onProductChange:
|
|
|
2244
2261
|
})]
|
|
2245
2262
|
})]
|
|
2246
2263
|
}),
|
|
2247
|
-
/* @__PURE__ */ r(
|
|
2264
|
+
/* @__PURE__ */ r(Yr, {})
|
|
2248
2265
|
] })
|
|
2249
2266
|
] });
|
|
2250
2267
|
return /* @__PURE__ */ i("div", {
|
|
2251
2268
|
"data-slot": "app-shell",
|
|
2252
2269
|
className: M("flex min-h-screen flex-wrap bg-background", h),
|
|
2253
2270
|
children: [
|
|
2254
|
-
/* @__PURE__ */ r(
|
|
2271
|
+
/* @__PURE__ */ r(Jr, {
|
|
2255
2272
|
variant: "nav",
|
|
2256
2273
|
label: "Workspace",
|
|
2257
2274
|
className: "sticky top-0 h-screen max-md:hidden",
|
|
@@ -2262,10 +2279,10 @@ function di({ product: e, brand: t = "switcher", workspace: a, onProductChange:
|
|
|
2262
2279
|
children: [/* @__PURE__ */ i("div", {
|
|
2263
2280
|
className: "flex h-14 flex-wrap items-center gap-3 border-b px-6",
|
|
2264
2281
|
children: [
|
|
2265
|
-
/* @__PURE__ */ r(
|
|
2282
|
+
/* @__PURE__ */ r(ri, {
|
|
2266
2283
|
label: "Workspace",
|
|
2267
2284
|
className: "-ms-2 md:hidden",
|
|
2268
|
-
children: /* @__PURE__ */ r(
|
|
2285
|
+
children: /* @__PURE__ */ r(Jr, {
|
|
2269
2286
|
variant: "nav",
|
|
2270
2287
|
label: "Workspace",
|
|
2271
2288
|
collapsed: !1,
|
|
@@ -2301,7 +2318,7 @@ function di({ product: e, brand: t = "switcher", workspace: a, onProductChange:
|
|
|
2301
2318
|
});
|
|
2302
2319
|
}
|
|
2303
2320
|
// src/app/filter-bar.component.tsx
|
|
2304
|
-
function
|
|
2321
|
+
function mi({ query: e, onQueryChange: t, searchLabel: n = "Search", filters: a, views: o, className: s }) {
|
|
2305
2322
|
return /* @__PURE__ */ i("div", {
|
|
2306
2323
|
"data-slot": "filter-bar",
|
|
2307
2324
|
role: "search",
|
|
@@ -2309,7 +2326,7 @@ function fi({ query: e, onQueryChange: t, searchLabel: n = "Search", filters: a,
|
|
|
2309
2326
|
children: [
|
|
2310
2327
|
/* @__PURE__ */ r("div", {
|
|
2311
2328
|
className: "max-w-80 flex-[1_1_220px]",
|
|
2312
|
-
children: /* @__PURE__ */ r(
|
|
2329
|
+
children: /* @__PURE__ */ r(W, {
|
|
2313
2330
|
type: "search",
|
|
2314
2331
|
value: e,
|
|
2315
2332
|
onChange: (e) => t(e.target.value),
|
|
@@ -2326,7 +2343,7 @@ function fi({ query: e, onQueryChange: t, searchLabel: n = "Search", filters: a,
|
|
|
2326
2343
|
]
|
|
2327
2344
|
});
|
|
2328
2345
|
}
|
|
2329
|
-
function
|
|
2346
|
+
function hi({ label: e, count: t = 0, icon: n, className: a, ...o }) {
|
|
2330
2347
|
return /* @__PURE__ */ i(B, {
|
|
2331
2348
|
variant: "outline",
|
|
2332
2349
|
size: "sm",
|
|
@@ -2345,7 +2362,7 @@ function pi({ label: e, count: t = 0, icon: n, className: a, ...o }) {
|
|
|
2345
2362
|
});
|
|
2346
2363
|
}
|
|
2347
2364
|
// src/app/form-section.component.tsx
|
|
2348
|
-
function
|
|
2365
|
+
function gi({ title: e, description: t, children: n, actions: a, className: o }) {
|
|
2349
2366
|
return /* @__PURE__ */ i("section", {
|
|
2350
2367
|
"data-slot": "form-section",
|
|
2351
2368
|
className: M("grid gap-6 md:grid-cols-[minmax(0,1fr)_minmax(0,2fr)]", o),
|
|
@@ -2371,7 +2388,7 @@ function mi({ title: e, description: t, children: n, actions: a, className: o })
|
|
|
2371
2388
|
});
|
|
2372
2389
|
}
|
|
2373
2390
|
// src/app/page-header.component.tsx
|
|
2374
|
-
function
|
|
2391
|
+
function _i({ title: e, description: t, actions: n, tabs: a, className: o }) {
|
|
2375
2392
|
return /* @__PURE__ */ i("div", {
|
|
2376
2393
|
"data-slot": "page-header",
|
|
2377
2394
|
className: M("flex flex-col gap-4", o),
|
|
@@ -2394,7 +2411,7 @@ function hi({ title: e, description: t, actions: n, tabs: a, className: o }) {
|
|
|
2394
2411
|
});
|
|
2395
2412
|
}
|
|
2396
2413
|
// src/app/records-table.component.tsx
|
|
2397
|
-
function
|
|
2414
|
+
function vi({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o, rowActions: s, label: c, className: l }) {
|
|
2398
2415
|
let u = a !== void 0, d = e.map((e) => n(e)), f = d.filter((e) => a?.has(e)).length, p = f === 0 ? !1 : f === d.length || "indeterminate";
|
|
2399
2416
|
function m(e, t) {
|
|
2400
2417
|
let n = new Set(a);
|
|
@@ -2405,26 +2422,26 @@ function gi({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o
|
|
|
2405
2422
|
for (let n of d) e ? t.add(n) : t.delete(n);
|
|
2406
2423
|
o?.(t);
|
|
2407
2424
|
}
|
|
2408
|
-
return /* @__PURE__ */ i(
|
|
2425
|
+
return /* @__PURE__ */ i(Zt, {
|
|
2409
2426
|
"data-slot": "records-table",
|
|
2410
2427
|
"aria-label": c,
|
|
2411
2428
|
className: M("min-w-[760px]", l),
|
|
2412
|
-
children: [/* @__PURE__ */ r(
|
|
2429
|
+
children: [/* @__PURE__ */ r(Qt, { children: /* @__PURE__ */ i(en, {
|
|
2413
2430
|
className: "hover:bg-transparent",
|
|
2414
2431
|
children: [
|
|
2415
|
-
u && /* @__PURE__ */ r(
|
|
2432
|
+
u && /* @__PURE__ */ r(G, {
|
|
2416
2433
|
className: "w-9",
|
|
2417
|
-
children: /* @__PURE__ */ r(
|
|
2434
|
+
children: /* @__PURE__ */ r(V, {
|
|
2418
2435
|
"aria-label": "Select all rows",
|
|
2419
2436
|
checked: p,
|
|
2420
2437
|
onCheckedChange: (e) => h(e === !0)
|
|
2421
2438
|
})
|
|
2422
2439
|
}),
|
|
2423
|
-
t.map((e) => /* @__PURE__ */ r(
|
|
2440
|
+
t.map((e) => /* @__PURE__ */ r(G, {
|
|
2424
2441
|
className: M(e.align === "end" && "text-end", e.className),
|
|
2425
2442
|
children: e.header
|
|
2426
2443
|
}, e.key)),
|
|
2427
|
-
s && /* @__PURE__ */ r(
|
|
2444
|
+
s && /* @__PURE__ */ r(G, {
|
|
2428
2445
|
className: "w-11",
|
|
2429
2446
|
children: /* @__PURE__ */ r("span", {
|
|
2430
2447
|
className: "sr-only",
|
|
@@ -2432,21 +2449,21 @@ function gi({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o
|
|
|
2432
2449
|
})
|
|
2433
2450
|
})
|
|
2434
2451
|
]
|
|
2435
|
-
}) }), /* @__PURE__ */ r(
|
|
2452
|
+
}) }), /* @__PURE__ */ r($t, { children: e.map((e) => {
|
|
2436
2453
|
let o = n(e), c = a?.has(o) ?? !1;
|
|
2437
|
-
return /* @__PURE__ */ i(
|
|
2454
|
+
return /* @__PURE__ */ i(en, {
|
|
2438
2455
|
"data-state": c ? "selected" : void 0,
|
|
2439
2456
|
children: [
|
|
2440
|
-
u && /* @__PURE__ */ r(
|
|
2457
|
+
u && /* @__PURE__ */ r(K, { children: /* @__PURE__ */ r(V, {
|
|
2441
2458
|
"aria-label": `Select ${o}`,
|
|
2442
2459
|
checked: c,
|
|
2443
2460
|
onCheckedChange: (e) => m(o, e === !0)
|
|
2444
2461
|
}) }),
|
|
2445
|
-
t.map((t) => /* @__PURE__ */ r(
|
|
2462
|
+
t.map((t) => /* @__PURE__ */ r(K, {
|
|
2446
2463
|
className: M(t.align === "end" && "text-end tabular-nums", t.className),
|
|
2447
2464
|
children: t.cell(e)
|
|
2448
2465
|
}, t.key)),
|
|
2449
|
-
s && /* @__PURE__ */ r(
|
|
2466
|
+
s && /* @__PURE__ */ r(K, { children: /* @__PURE__ */ i(ar, { children: [/* @__PURE__ */ r(or, {
|
|
2450
2467
|
asChild: !0,
|
|
2451
2468
|
children: /* @__PURE__ */ r(B, {
|
|
2452
2469
|
variant: "ghost",
|
|
@@ -2464,7 +2481,7 @@ function gi({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o
|
|
|
2464
2481
|
});
|
|
2465
2482
|
}
|
|
2466
2483
|
// src/app/sparkline.algorithm.ts
|
|
2467
|
-
function
|
|
2484
|
+
function yi(e, t, n, r = 2) {
|
|
2468
2485
|
if (e.length < 2) return "";
|
|
2469
2486
|
let i = Math.min(...e), a = Math.max(...e) - i, o = n - r * 2, s = t / (e.length - 1);
|
|
2470
2487
|
return e.map((e, t) => {
|
|
@@ -2473,14 +2490,14 @@ function _i(e, t, n, r = 2) {
|
|
|
2473
2490
|
}).join(" ");
|
|
2474
2491
|
}
|
|
2475
2492
|
// src/app/stat-card.component.tsx
|
|
2476
|
-
var
|
|
2493
|
+
var bi = {
|
|
2477
2494
|
positive: "text-success",
|
|
2478
2495
|
negative: "text-destructive",
|
|
2479
2496
|
neutral: "text-muted-foreground"
|
|
2480
2497
|
};
|
|
2481
|
-
function
|
|
2482
|
-
let c = o ?
|
|
2483
|
-
return /* @__PURE__ */ i(
|
|
2498
|
+
function xi({ label: e, value: t, delta: n, tone: a = "neutral", series: o, className: s }) {
|
|
2499
|
+
let c = o ? yi(o, 100, 32) : "";
|
|
2500
|
+
return /* @__PURE__ */ i(Rt, {
|
|
2484
2501
|
"data-slot": "stat-card",
|
|
2485
2502
|
className: M("gap-1.5 p-4", s),
|
|
2486
2503
|
children: [
|
|
@@ -2511,14 +2528,14 @@ function yi({ label: e, value: t, delta: n, tone: a = "neutral", series: o, clas
|
|
|
2511
2528
|
})]
|
|
2512
2529
|
}),
|
|
2513
2530
|
n && /* @__PURE__ */ r("span", {
|
|
2514
|
-
className: M("text-xs",
|
|
2531
|
+
className: M("text-xs", bi[a]),
|
|
2515
2532
|
children: n
|
|
2516
2533
|
})
|
|
2517
2534
|
]
|
|
2518
2535
|
});
|
|
2519
2536
|
}
|
|
2520
2537
|
// src/status/run-status.contract.ts
|
|
2521
|
-
var
|
|
2538
|
+
var Si = [
|
|
2522
2539
|
"queued",
|
|
2523
2540
|
"waiting",
|
|
2524
2541
|
"running",
|
|
@@ -2526,7 +2543,7 @@ var bi = [
|
|
|
2526
2543
|
"no-records",
|
|
2527
2544
|
"failed",
|
|
2528
2545
|
"off"
|
|
2529
|
-
],
|
|
2546
|
+
], Ci = {
|
|
2530
2547
|
queued: {
|
|
2531
2548
|
label: "Queued",
|
|
2532
2549
|
variant: "secondary",
|
|
@@ -2563,12 +2580,12 @@ var bi = [
|
|
|
2563
2580
|
live: !1
|
|
2564
2581
|
}
|
|
2565
2582
|
};
|
|
2566
|
-
function
|
|
2567
|
-
return
|
|
2583
|
+
function wi(e) {
|
|
2584
|
+
return Ci[e];
|
|
2568
2585
|
}
|
|
2569
2586
|
// src/status/status-badge.component.tsx
|
|
2570
|
-
function
|
|
2571
|
-
let { label: n, variant: i, live: a } =
|
|
2587
|
+
function Ti({ status: e, ...t }) {
|
|
2588
|
+
let { label: n, variant: i, live: a } = wi(e);
|
|
2572
2589
|
return /* @__PURE__ */ r(R, {
|
|
2573
2590
|
variant: i,
|
|
2574
2591
|
dot: a,
|
|
@@ -2578,7 +2595,7 @@ function Ci({ status: e, ...t }) {
|
|
|
2578
2595
|
});
|
|
2579
2596
|
}
|
|
2580
2597
|
// src/desktop/flow-node.component.tsx
|
|
2581
|
-
function
|
|
2598
|
+
function Ei({ title: e, description: t, status: n, hue: a, selected: o = !1, onSelect: s, className: c }) {
|
|
2582
2599
|
return /* @__PURE__ */ i("button", {
|
|
2583
2600
|
type: "button",
|
|
2584
2601
|
"data-slot": "flow-node",
|
|
@@ -2596,7 +2613,7 @@ function wi({ title: e, description: t, status: n, hue: a, selected: o = !1, onS
|
|
|
2596
2613
|
className: "font-semibold",
|
|
2597
2614
|
children: e
|
|
2598
2615
|
}),
|
|
2599
|
-
/* @__PURE__ */ r(
|
|
2616
|
+
/* @__PURE__ */ r(Ti, {
|
|
2600
2617
|
status: n,
|
|
2601
2618
|
className: "ms-auto h-[18px] text-[11px]"
|
|
2602
2619
|
})
|
|
@@ -2608,7 +2625,7 @@ function wi({ title: e, description: t, status: n, hue: a, selected: o = !1, onS
|
|
|
2608
2625
|
});
|
|
2609
2626
|
}
|
|
2610
2627
|
// src/desktop/inspector.component.tsx
|
|
2611
|
-
function
|
|
2628
|
+
function Di({ title: e, subtitle: t, hue: n, tabs: a, footer: o, className: s }) {
|
|
2612
2629
|
return /* @__PURE__ */ i("aside", {
|
|
2613
2630
|
"data-slot": "inspector",
|
|
2614
2631
|
"aria-label": "Inspector",
|
|
@@ -2656,7 +2673,7 @@ function Ti({ title: e, subtitle: t, hue: n, tabs: a, footer: o, className: s })
|
|
|
2656
2673
|
});
|
|
2657
2674
|
}
|
|
2658
2675
|
// src/desktop/status-bar.component.tsx
|
|
2659
|
-
function
|
|
2676
|
+
function Oi({ start: e, end: t, className: n }) {
|
|
2660
2677
|
return /* @__PURE__ */ i("div", {
|
|
2661
2678
|
"data-slot": "status-bar",
|
|
2662
2679
|
role: "status",
|
|
@@ -2668,7 +2685,7 @@ function Ei({ start: e, end: t, className: n }) {
|
|
|
2668
2685
|
});
|
|
2669
2686
|
}
|
|
2670
2687
|
// src/desktop/timeline.algorithm.ts
|
|
2671
|
-
function
|
|
2688
|
+
function ki(e, t, n) {
|
|
2672
2689
|
if (n <= 0) return {
|
|
2673
2690
|
left: 0,
|
|
2674
2691
|
width: 0
|
|
@@ -2679,7 +2696,7 @@ function Di(e, t, n) {
|
|
|
2679
2696
|
width: Math.max(0, r(t) - i)
|
|
2680
2697
|
};
|
|
2681
2698
|
}
|
|
2682
|
-
function
|
|
2699
|
+
function Ai(e, t) {
|
|
2683
2700
|
let n = Math.max(2, t);
|
|
2684
2701
|
return Array.from({ length: n }, (t, r) => Math.round(e * r / (n - 1)));
|
|
2685
2702
|
}
|
|
@@ -2687,17 +2704,17 @@ function Oi(e, t) {
|
|
|
2687
2704
|
function $(e) {
|
|
2688
2705
|
return String(e).padStart(2, "0");
|
|
2689
2706
|
}
|
|
2690
|
-
function
|
|
2707
|
+
function ji(e, t = !1) {
|
|
2691
2708
|
let n = Math.max(0, Math.floor(e)), r = Math.floor(n / 3600), i = Math.floor(n % 3600 / 60), a = n % 60;
|
|
2692
2709
|
return t || r > 0 ? `${$(r)}:${$(i)}:${$(a)}` : `${$(i)}:${$(a)}`;
|
|
2693
2710
|
}
|
|
2694
|
-
function
|
|
2711
|
+
function Mi(e, t) {
|
|
2695
2712
|
let n = new Date(e.getTime() + t * 1e3);
|
|
2696
2713
|
return `${$(n.getHours())}:${$(n.getMinutes())}`;
|
|
2697
2714
|
}
|
|
2698
2715
|
// src/desktop/timeline-lanes.component.tsx
|
|
2699
|
-
function
|
|
2700
|
-
let c = (e) => o ?
|
|
2716
|
+
function Ni({ duration: e, lanes: t, playhead: n, tickCount: a = 8, startsAt: o, className: s }) {
|
|
2717
|
+
let c = (e) => o ? Mi(o, e) : ji(e), l = n === void 0 ? void 0 : ki(0, n, e).width;
|
|
2701
2718
|
return /* @__PURE__ */ i("div", {
|
|
2702
2719
|
"data-slot": "timeline-lanes",
|
|
2703
2720
|
role: "group",
|
|
@@ -2707,7 +2724,7 @@ function ji({ duration: e, lanes: t, playhead: n, tickCount: a = 8, startsAt: o,
|
|
|
2707
2724
|
/* @__PURE__ */ r("div", {
|
|
2708
2725
|
className: "flex h-[26px] items-center border-b ps-[118px] pe-2.5",
|
|
2709
2726
|
"aria-hidden": "true",
|
|
2710
|
-
children:
|
|
2727
|
+
children: Ai(e, a).map((e) => /* @__PURE__ */ r("span", {
|
|
2711
2728
|
className: "flex-1 text-xs tabular-nums text-muted-foreground",
|
|
2712
2729
|
children: c(e)
|
|
2713
2730
|
}, e))
|
|
@@ -2723,8 +2740,8 @@ function ji({ duration: e, lanes: t, playhead: n, tickCount: a = 8, startsAt: o,
|
|
|
2723
2740
|
}), /* @__PURE__ */ r("div", {
|
|
2724
2741
|
className: "relative me-2.5 h-[26px] flex-1",
|
|
2725
2742
|
children: t.segments.map((n) => {
|
|
2726
|
-
let a =
|
|
2727
|
-
return /* @__PURE__ */ i(
|
|
2743
|
+
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(Ln, { children: [/* @__PURE__ */ r(Rn, {
|
|
2728
2745
|
asChild: !0,
|
|
2729
2746
|
children: /* @__PURE__ */ r("button", {
|
|
2730
2747
|
type: "button",
|
|
@@ -2748,7 +2765,7 @@ function ji({ duration: e, lanes: t, playhead: n, tickCount: a = 8, startsAt: o,
|
|
|
2748
2765
|
});
|
|
2749
2766
|
}
|
|
2750
2767
|
// src/desktop/title-bar.component.tsx
|
|
2751
|
-
function
|
|
2768
|
+
function Pi({ product: e, menus: t, title: n, onMinimise: a, onMaximise: o, onClose: s, className: c }) {
|
|
2752
2769
|
let l = [
|
|
2753
2770
|
{
|
|
2754
2771
|
label: "Minimise",
|
|
@@ -2796,7 +2813,7 @@ function Mi({ product: e, menus: t, title: n, onMinimise: a, onMaximise: o, onCl
|
|
|
2796
2813
|
});
|
|
2797
2814
|
}
|
|
2798
2815
|
// src/mobile/bottom-nav.component.tsx
|
|
2799
|
-
function
|
|
2816
|
+
function Fi({ items: e, className: t }) {
|
|
2800
2817
|
return /* @__PURE__ */ r("nav", {
|
|
2801
2818
|
"data-slot": "bottom-nav",
|
|
2802
2819
|
"aria-label": "Tabs",
|
|
@@ -2818,7 +2835,7 @@ function Ni({ items: e, className: t }) {
|
|
|
2818
2835
|
});
|
|
2819
2836
|
}
|
|
2820
2837
|
// src/mobile/capture-frame.component.tsx
|
|
2821
|
-
function
|
|
2838
|
+
function Ii({ title: e, children: t, checksTitle: n, checks: a, onClose: o, actions: s, className: c }) {
|
|
2822
2839
|
let l = a.filter((e) => !e.passed).length;
|
|
2823
2840
|
return /* @__PURE__ */ i("div", {
|
|
2824
2841
|
"data-slot": "capture-frame",
|
|
@@ -2901,7 +2918,7 @@ function Pi({ title: e, children: t, checksTitle: n, checks: a, onClose: o, acti
|
|
|
2901
2918
|
});
|
|
2902
2919
|
}
|
|
2903
2920
|
// src/mobile/record-button.component.tsx
|
|
2904
|
-
function
|
|
2921
|
+
function Li({ state: e, elapsed: t, levels: n = [], onStart: a, onPause: o, onResume: s, onMarker: c, className: l }) {
|
|
2905
2922
|
let u = {
|
|
2906
2923
|
idle: {
|
|
2907
2924
|
label: "Start recording",
|
|
@@ -2945,7 +2962,7 @@ function Fi({ state: e, elapsed: t, levels: n = [], onStart: a, onPause: o, onRe
|
|
|
2945
2962
|
/* @__PURE__ */ r("span", {
|
|
2946
2963
|
className: "ms-auto text-[13px] font-semibold tabular-nums",
|
|
2947
2964
|
"aria-label": "Recorded time",
|
|
2948
|
-
children:
|
|
2965
|
+
children: ji(t, !0)
|
|
2949
2966
|
})
|
|
2950
2967
|
]
|
|
2951
2968
|
}),
|
|
@@ -2976,7 +2993,7 @@ function Fi({ state: e, elapsed: t, levels: n = [], onStart: a, onPause: o, onRe
|
|
|
2976
2993
|
});
|
|
2977
2994
|
}
|
|
2978
2995
|
// src/web/cta-band.component.tsx
|
|
2979
|
-
function
|
|
2996
|
+
function Ri({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", submitLabel: o = "Send", className: s }) {
|
|
2980
2997
|
let c = De();
|
|
2981
2998
|
function l(e) {
|
|
2982
2999
|
e.preventDefault();
|
|
@@ -3008,7 +3025,7 @@ function Ii({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", subm
|
|
|
3008
3025
|
className: "sr-only",
|
|
3009
3026
|
children: a
|
|
3010
3027
|
}),
|
|
3011
|
-
/* @__PURE__ */ r(
|
|
3028
|
+
/* @__PURE__ */ r(W, {
|
|
3012
3029
|
id: c,
|
|
3013
3030
|
name: "email",
|
|
3014
3031
|
type: "email",
|
|
@@ -3029,7 +3046,7 @@ function Ii({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", subm
|
|
|
3029
3046
|
});
|
|
3030
3047
|
}
|
|
3031
3048
|
// src/web/faq.component.tsx
|
|
3032
|
-
function
|
|
3049
|
+
function zi({ title: e, items: t, className: n }) {
|
|
3033
3050
|
return /* @__PURE__ */ r("section", {
|
|
3034
3051
|
"data-slot": "faq",
|
|
3035
3052
|
className: M("py-22", n),
|
|
@@ -3038,12 +3055,12 @@ function Li({ title: e, items: t, className: n }) {
|
|
|
3038
3055
|
children: [/* @__PURE__ */ r("h2", {
|
|
3039
3056
|
className: "m-0 type-h2 text-4xl",
|
|
3040
3057
|
children: e
|
|
3041
|
-
}), /* @__PURE__ */ r(
|
|
3058
|
+
}), /* @__PURE__ */ r(Pt, {
|
|
3042
3059
|
type: "single",
|
|
3043
3060
|
collapsible: !0,
|
|
3044
|
-
children: t.map((e) => /* @__PURE__ */ i(
|
|
3061
|
+
children: t.map((e) => /* @__PURE__ */ i(Ft, {
|
|
3045
3062
|
value: e.question,
|
|
3046
|
-
children: [/* @__PURE__ */ r(
|
|
3063
|
+
children: [/* @__PURE__ */ r(It, { children: e.question }), /* @__PURE__ */ r(Lt, {
|
|
3047
3064
|
className: "text-[15px]",
|
|
3048
3065
|
children: e.answer
|
|
3049
3066
|
})]
|
|
@@ -3053,7 +3070,7 @@ function Li({ title: e, items: t, className: n }) {
|
|
|
3053
3070
|
});
|
|
3054
3071
|
}
|
|
3055
3072
|
// src/web/feature-grid.component.tsx
|
|
3056
|
-
function
|
|
3073
|
+
function Bi({ title: e, lead: t, features: n, className: a }) {
|
|
3057
3074
|
return /* @__PURE__ */ r("section", {
|
|
3058
3075
|
"data-slot": "feature-grid",
|
|
3059
3076
|
className: M("border-y bg-canvas py-22", a),
|
|
@@ -3093,7 +3110,7 @@ function Ri({ title: e, lead: t, features: n, className: a }) {
|
|
|
3093
3110
|
});
|
|
3094
3111
|
}
|
|
3095
3112
|
// src/web/hero.component.tsx
|
|
3096
|
-
function
|
|
3113
|
+
function Vi({ eyebrow: e, title: t, lead: n, actions: a, className: o }) {
|
|
3097
3114
|
return /* @__PURE__ */ r("section", {
|
|
3098
3115
|
"data-slot": "hero",
|
|
3099
3116
|
className: M("pt-22 pb-14", o),
|
|
@@ -3122,7 +3139,7 @@ function zi({ eyebrow: e, title: t, lead: n, actions: a, className: o }) {
|
|
|
3122
3139
|
});
|
|
3123
3140
|
}
|
|
3124
3141
|
// src/web/how-it-works.component.tsx
|
|
3125
|
-
function
|
|
3142
|
+
function Hi({ title: e, lead: t, link: n, steps: a, className: o }) {
|
|
3126
3143
|
return /* @__PURE__ */ r("section", {
|
|
3127
3144
|
"data-slot": "how-it-works",
|
|
3128
3145
|
className: M("py-22", o),
|
|
@@ -3165,12 +3182,12 @@ function Bi({ title: e, lead: t, link: n, steps: a, className: o }) {
|
|
|
3165
3182
|
});
|
|
3166
3183
|
}
|
|
3167
3184
|
// src/web/mobile-menu.component.tsx
|
|
3168
|
-
var
|
|
3169
|
-
function
|
|
3185
|
+
var Ui = 400;
|
|
3186
|
+
function Wi({ links: e, actions: t, label: n = "Main", className: a }) {
|
|
3170
3187
|
let [o, s] = k(!1), [c, l] = k(), [u, f] = k(!1), p = Oe(null);
|
|
3171
3188
|
O(() => {
|
|
3172
3189
|
if (o) return;
|
|
3173
|
-
let e = setTimeout(() => f(!1),
|
|
3190
|
+
let e = setTimeout(() => f(!1), Ui);
|
|
3174
3191
|
return () => clearTimeout(e);
|
|
3175
3192
|
}, [o]), O(() => {
|
|
3176
3193
|
if (!o) return;
|
|
@@ -3266,7 +3283,7 @@ function Hi({ links: e, actions: t, label: n = "Main", className: a }) {
|
|
|
3266
3283
|
});
|
|
3267
3284
|
}
|
|
3268
3285
|
// src/web/pricing-table.component.tsx
|
|
3269
|
-
function
|
|
3286
|
+
function Gi({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note: o, featuredLabel: s = "Most teams", className: c }) {
|
|
3270
3287
|
let [l, u] = k(a);
|
|
3271
3288
|
return /* @__PURE__ */ r("section", {
|
|
3272
3289
|
"data-slot": "pricing-table",
|
|
@@ -3285,15 +3302,15 @@ function Ui({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note:
|
|
|
3285
3302
|
className: "m-0 type-lead",
|
|
3286
3303
|
children: t
|
|
3287
3304
|
})]
|
|
3288
|
-
}), /* @__PURE__ */ i(
|
|
3305
|
+
}), /* @__PURE__ */ i(pt, {
|
|
3289
3306
|
type: "single",
|
|
3290
3307
|
value: l,
|
|
3291
3308
|
onValueChange: (e) => e && u(e),
|
|
3292
3309
|
"aria-label": "Billing",
|
|
3293
|
-
children: [/* @__PURE__ */ r(
|
|
3310
|
+
children: [/* @__PURE__ */ r(mt, {
|
|
3294
3311
|
value: "monthly",
|
|
3295
3312
|
children: "Monthly"
|
|
3296
|
-
}), /* @__PURE__ */ r(
|
|
3313
|
+
}), /* @__PURE__ */ r(mt, {
|
|
3297
3314
|
value: "yearly",
|
|
3298
3315
|
children: "Yearly"
|
|
3299
3316
|
})]
|
|
@@ -3353,7 +3370,7 @@ function Ui({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note:
|
|
|
3353
3370
|
});
|
|
3354
3371
|
}
|
|
3355
3372
|
// src/web/product-card.component.tsx
|
|
3356
|
-
function
|
|
3373
|
+
function Ki({ product: e, href: t, description: n, stage: a, className: o }) {
|
|
3357
3374
|
let s = N[e];
|
|
3358
3375
|
return /* @__PURE__ */ i("a", {
|
|
3359
3376
|
"data-slot": "product-card",
|
|
@@ -3391,7 +3408,7 @@ function Wi({ product: e, href: t, description: n, stage: a, className: o }) {
|
|
|
3391
3408
|
});
|
|
3392
3409
|
}
|
|
3393
3410
|
// src/web/site-footer.component.tsx
|
|
3394
|
-
function
|
|
3411
|
+
function qi({ tagline: e, columns: t, legal: n, className: a }) {
|
|
3395
3412
|
return /* @__PURE__ */ i("footer", {
|
|
3396
3413
|
"data-slot": "site-footer",
|
|
3397
3414
|
className: M("border-t pt-14 pb-10", a),
|
|
@@ -3432,7 +3449,7 @@ function Gi({ tagline: e, columns: t, legal: n, className: a }) {
|
|
|
3432
3449
|
});
|
|
3433
3450
|
}
|
|
3434
3451
|
// src/web/site-header.component.tsx
|
|
3435
|
-
function
|
|
3452
|
+
function Ji({ nav: e, actions: t, brand: a, className: o }) {
|
|
3436
3453
|
let s = a ?? /* @__PURE__ */ i("a", {
|
|
3437
3454
|
href: "/",
|
|
3438
3455
|
className: "flex items-center gap-2 no-underline",
|
|
@@ -3478,7 +3495,7 @@ function Ki({ nav: e, actions: t, brand: a, className: o }) {
|
|
|
3478
3495
|
className: "ms-auto hidden items-center gap-2 md:flex",
|
|
3479
3496
|
children: t
|
|
3480
3497
|
}),
|
|
3481
|
-
/* @__PURE__ */ r(
|
|
3498
|
+
/* @__PURE__ */ r(Wi, {
|
|
3482
3499
|
className: "ms-auto md:hidden",
|
|
3483
3500
|
links: e.flatMap((e) => e.links ?? [{
|
|
3484
3501
|
label: e.label,
|
|
@@ -3490,6 +3507,6 @@ function Ki({ nav: e, actions: t, brand: a, className: o }) {
|
|
|
3490
3507
|
})
|
|
3491
3508
|
});
|
|
3492
3509
|
}
|
|
3493
|
-
export {
|
|
3510
|
+
export { Pt as Accordion, Lt as AccordionContent, Ft as AccordionItem, It as AccordionTrigger, gt as Alert, rn as AlertDialog, ln as AlertDialogAction, un as AlertDialogCancel, on as AlertDialogContent, cn as AlertDialogDescription, sn as AlertDialogTitle, an 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, Rt as Card, Ht as CardContent, Vt as CardDescription, Ut as CardFooter, zt as CardHeader, Bt as CardTitle, V 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, dn as Dialog, pn as DialogClose, mn as DialogContent, vn as DialogDescription, gn as DialogFooter, hn as DialogHeader, _n as DialogTitle, fn as DialogTrigger, yn as Drawer, xn as DrawerClose, Sn as DrawerContent, wn as DrawerDescription, Cn as DrawerTitle, bn 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, _t as EmptyState, Be as FAMILY_PALETTE, qe as FREE_HUES, zi as Faq, Bi as FeatureGrid, wt 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, W as Input, Di as Inspector, Wt as Kbd, Fe as LABEL_COLORS, L as LOGO_RULE, Ct 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, Tn as Popover, Dn as PopoverAnchor, On as PopoverContent, En as PopoverTrigger, Gi as PricingTable, Ki as ProductCard, P as ProductLogo, ii as ProductSwitcher, vt as Progress, Si as RUN_STATUSES, st as RadioGroup, ct as RadioGroupItem, Li as RecordButton, vi as RecordsTable, qt as ResizableHandle, Kt as ResizablePanel, Gt as ResizablePanelGroup, Jt as ScrollArea, Yt as ScrollBar, Tt as Select, kt as SelectContent, Et as SelectGroup, jt as SelectItem, At as SelectLabel, Mt as SelectSeparator, Ot as SelectTrigger, Dt as SelectValue, Xt as Separator, kn as Sheet, jn as SheetClose, Fn as SheetContent, Nn as SheetDescription, Mn as SheetTitle, An as SheetTrigger, Jr 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, Q as SidebarTooltip, qi as SiteFooter, Ji as SiteHeader, yt as Skeleton, lt as Slider, bt as Spinner, xi as StatCard, Ti as StatusBadge, Oi as StatusBar, Ur as Stepper, ut as Switch, Zt as Table, $t as TableBody, tn as TableCaption, K as TableCell, G as TableHead, Qt as TableHeader, en as TableRow, Rr as Tabs, Vr as TabsContent, zr as TabsList, Br as TabsTrigger, Nt as Textarea, tt as ThemeRoot, Ni as TimelineLanes, Pi as TitleBar, xt as Toaster, pt as ToggleGroup, mt as ToggleGroupItem, Ln as Tooltip, zn as TooltipContent, In as TooltipProvider, Rn as TooltipTrigger, Re as apcaContrast, at as badgeVariants, z as buttonVariants, M as cn, si as commandShortcutLabel, H as controlClassName, Z as fadingLabelClassName, J as floatingMotionClassName, Mi as formatClockTime, ji as formatTimecode, Je as hueForProduct, Ge as logoColorForHue, Kr as navRowClassName, q as overlayClassName, ze as readableLabel, wi as runStatusDisplay, nn as sheetMotionClassName, Gr as sidebarNoteClassName, yi as sparklinePath, et as themeAttributes, ki as timelineBox, Ai as timelineTicks, oi as useCommandShortcut, fi as useCommandShortcutLabel, U as useFieldControl, X as useSidebar };
|
|
3494
3511
|
|
|
3495
3512
|
//# sourceMappingURL=index.js.map
|