@novie/ui 0.1.17 → 0.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ui/progress-indicator.d.ts +11 -0
- package/dist/components/ui/progress-indicator.d.ts.map +1 -0
- package/dist/components/ui/state-tag.d.ts +8 -0
- package/dist/components/ui/state-tag.d.ts.map +1 -0
- package/dist/components/ui/tag-badge.d.ts +8 -0
- package/dist/components/ui/tag-badge.d.ts.map +1 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +274 -67
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.css +4 -0
- package/tailwind.preset.ts +2 -0
package/dist/index.js
CHANGED
|
@@ -10529,8 +10529,218 @@ function jv({ className: e, ...t }) {
|
|
|
10529
10529
|
});
|
|
10530
10530
|
}
|
|
10531
10531
|
//#endregion
|
|
10532
|
+
//#region src/components/ui/state-tag.tsx
|
|
10533
|
+
var Mv = n("inline-flex h-6 items-center justify-center rounded-lg px-3 text-xs leading-4", {
|
|
10534
|
+
variants: {
|
|
10535
|
+
color: {
|
|
10536
|
+
green: "",
|
|
10537
|
+
orange: "",
|
|
10538
|
+
red: "",
|
|
10539
|
+
fern: "",
|
|
10540
|
+
teal: ""
|
|
10541
|
+
},
|
|
10542
|
+
variant: {
|
|
10543
|
+
default: "",
|
|
10544
|
+
outline: "border",
|
|
10545
|
+
filled: "text-page-secondary"
|
|
10546
|
+
}
|
|
10547
|
+
},
|
|
10548
|
+
compoundVariants: [
|
|
10549
|
+
{
|
|
10550
|
+
color: "green",
|
|
10551
|
+
variant: "default",
|
|
10552
|
+
className: "bg-success-tertiary text-[hsl(var(--text-success-on-surface))]"
|
|
10553
|
+
},
|
|
10554
|
+
{
|
|
10555
|
+
color: "green",
|
|
10556
|
+
variant: "outline",
|
|
10557
|
+
className: "bg-success-tertiary border-success-secondary text-success"
|
|
10558
|
+
},
|
|
10559
|
+
{
|
|
10560
|
+
color: "green",
|
|
10561
|
+
variant: "filled",
|
|
10562
|
+
className: "bg-success"
|
|
10563
|
+
},
|
|
10564
|
+
{
|
|
10565
|
+
color: "orange",
|
|
10566
|
+
variant: "default",
|
|
10567
|
+
className: "bg-warning-tertiary text-[hsl(var(--text-warning))]"
|
|
10568
|
+
},
|
|
10569
|
+
{
|
|
10570
|
+
color: "orange",
|
|
10571
|
+
variant: "outline",
|
|
10572
|
+
className: "bg-warning-tertiary border-[hsl(var(--text-warning))] text-[hsl(var(--text-warning))]"
|
|
10573
|
+
},
|
|
10574
|
+
{
|
|
10575
|
+
color: "orange",
|
|
10576
|
+
variant: "filled",
|
|
10577
|
+
className: "bg-[hsl(var(--text-warning))]"
|
|
10578
|
+
},
|
|
10579
|
+
{
|
|
10580
|
+
color: "red",
|
|
10581
|
+
variant: "default",
|
|
10582
|
+
className: "bg-error-secondary text-[hsl(var(--text-error))]"
|
|
10583
|
+
},
|
|
10584
|
+
{
|
|
10585
|
+
color: "red",
|
|
10586
|
+
variant: "outline",
|
|
10587
|
+
className: "bg-error-secondary border-[hsl(var(--text-error))] text-[hsl(var(--text-error))]"
|
|
10588
|
+
},
|
|
10589
|
+
{
|
|
10590
|
+
color: "red",
|
|
10591
|
+
variant: "filled",
|
|
10592
|
+
className: "bg-error"
|
|
10593
|
+
},
|
|
10594
|
+
{
|
|
10595
|
+
color: "fern",
|
|
10596
|
+
variant: "default",
|
|
10597
|
+
className: "bg-scenario-fern text-success"
|
|
10598
|
+
},
|
|
10599
|
+
{
|
|
10600
|
+
color: "fern",
|
|
10601
|
+
variant: "outline",
|
|
10602
|
+
className: "bg-scenario-fern border-success text-success"
|
|
10603
|
+
},
|
|
10604
|
+
{
|
|
10605
|
+
color: "fern",
|
|
10606
|
+
variant: "filled",
|
|
10607
|
+
className: "bg-success"
|
|
10608
|
+
},
|
|
10609
|
+
{
|
|
10610
|
+
color: "teal",
|
|
10611
|
+
variant: "default",
|
|
10612
|
+
className: "bg-scenario-teal text-scenario-teal-text"
|
|
10613
|
+
},
|
|
10614
|
+
{
|
|
10615
|
+
color: "teal",
|
|
10616
|
+
variant: "outline",
|
|
10617
|
+
className: "bg-scenario-teal border-scenario-teal-text text-scenario-teal-text"
|
|
10618
|
+
},
|
|
10619
|
+
{
|
|
10620
|
+
color: "teal",
|
|
10621
|
+
variant: "filled",
|
|
10622
|
+
className: "bg-scenario-teal-text"
|
|
10623
|
+
}
|
|
10624
|
+
],
|
|
10625
|
+
defaultVariants: {
|
|
10626
|
+
color: "green",
|
|
10627
|
+
variant: "default"
|
|
10628
|
+
}
|
|
10629
|
+
});
|
|
10630
|
+
function Nv({ className: e, color: t, variant: n, children: r, ...a }) {
|
|
10631
|
+
return /* @__PURE__ */ i("span", {
|
|
10632
|
+
"data-slot": "state-tag",
|
|
10633
|
+
className: C(Mv({
|
|
10634
|
+
color: t,
|
|
10635
|
+
variant: n
|
|
10636
|
+
}), e),
|
|
10637
|
+
...a,
|
|
10638
|
+
children: r
|
|
10639
|
+
});
|
|
10640
|
+
}
|
|
10641
|
+
//#endregion
|
|
10642
|
+
//#region src/components/ui/progress-indicator.tsx
|
|
10643
|
+
var Pv = n("inline-block shrink-0", {
|
|
10644
|
+
variants: { size: {
|
|
10645
|
+
sm: "h-3 w-3",
|
|
10646
|
+
md: "h-4 w-4",
|
|
10647
|
+
lg: "h-5 w-5"
|
|
10648
|
+
} },
|
|
10649
|
+
defaultVariants: { size: "sm" }
|
|
10650
|
+
}), Fv = {
|
|
10651
|
+
forest: {
|
|
10652
|
+
track: "stroke-border-block",
|
|
10653
|
+
fill: "stroke-success"
|
|
10654
|
+
},
|
|
10655
|
+
teal: {
|
|
10656
|
+
track: "stroke-border-block",
|
|
10657
|
+
fill: "stroke-scenario-teal-text"
|
|
10658
|
+
},
|
|
10659
|
+
red: {
|
|
10660
|
+
track: "stroke-border-block",
|
|
10661
|
+
fill: "stroke-error"
|
|
10662
|
+
},
|
|
10663
|
+
orange: {
|
|
10664
|
+
track: "stroke-border-block",
|
|
10665
|
+
fill: "stroke-warning"
|
|
10666
|
+
},
|
|
10667
|
+
disabled: {
|
|
10668
|
+
track: "stroke-info",
|
|
10669
|
+
fill: "stroke-info"
|
|
10670
|
+
}
|
|
10671
|
+
};
|
|
10672
|
+
function Iv({ className: e, size: t, color: n = "forest", value: o = 100, ...s }) {
|
|
10673
|
+
let { track: c, fill: l } = Fv[n], u = 4.5, d = 2 * Math.PI * u, f = d - o / 100 * d, p = n === "disabled";
|
|
10674
|
+
return /* @__PURE__ */ i("svg", {
|
|
10675
|
+
"data-slot": "progress-indicator",
|
|
10676
|
+
viewBox: "0 0 12 12",
|
|
10677
|
+
fill: "none",
|
|
10678
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10679
|
+
className: C(Pv({ size: t }), e),
|
|
10680
|
+
...s,
|
|
10681
|
+
children: p ? /* @__PURE__ */ i("circle", {
|
|
10682
|
+
cx: "6",
|
|
10683
|
+
cy: "6",
|
|
10684
|
+
r: u,
|
|
10685
|
+
className: "stroke-info opacity-30",
|
|
10686
|
+
strokeWidth: "1.5",
|
|
10687
|
+
strokeDasharray: "2 2",
|
|
10688
|
+
fill: "none"
|
|
10689
|
+
}) : /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i("circle", {
|
|
10690
|
+
cx: "6",
|
|
10691
|
+
cy: "6",
|
|
10692
|
+
r: u,
|
|
10693
|
+
className: c,
|
|
10694
|
+
strokeWidth: "1.5",
|
|
10695
|
+
fill: "none"
|
|
10696
|
+
}), o > 0 && /* @__PURE__ */ i("circle", {
|
|
10697
|
+
cx: "6",
|
|
10698
|
+
cy: "6",
|
|
10699
|
+
r: u,
|
|
10700
|
+
className: l,
|
|
10701
|
+
strokeWidth: "1.5",
|
|
10702
|
+
fill: "none",
|
|
10703
|
+
strokeLinecap: "round",
|
|
10704
|
+
strokeDasharray: d,
|
|
10705
|
+
strokeDashoffset: f,
|
|
10706
|
+
transform: "rotate(-90 6 6)"
|
|
10707
|
+
})] })
|
|
10708
|
+
});
|
|
10709
|
+
}
|
|
10710
|
+
//#endregion
|
|
10711
|
+
//#region src/components/ui/tag-badge.tsx
|
|
10712
|
+
var Lv = n("inline-block shrink-0 rounded-full", {
|
|
10713
|
+
variants: {
|
|
10714
|
+
color: {
|
|
10715
|
+
black: "bg-foreground",
|
|
10716
|
+
green: "bg-success",
|
|
10717
|
+
orange: "bg-warning",
|
|
10718
|
+
red: "bg-error",
|
|
10719
|
+
teal: "bg-scenario-teal-text"
|
|
10720
|
+
},
|
|
10721
|
+
size: {
|
|
10722
|
+
sm: "h-1.5 w-1.5",
|
|
10723
|
+
md: "h-2 w-2"
|
|
10724
|
+
}
|
|
10725
|
+
},
|
|
10726
|
+
defaultVariants: {
|
|
10727
|
+
color: "black",
|
|
10728
|
+
size: "md"
|
|
10729
|
+
}
|
|
10730
|
+
});
|
|
10731
|
+
function Rv({ className: e, color: t, size: n, ...r }) {
|
|
10732
|
+
return /* @__PURE__ */ i("span", {
|
|
10733
|
+
"data-slot": "tag-badge",
|
|
10734
|
+
className: C(Lv({
|
|
10735
|
+
color: t,
|
|
10736
|
+
size: n
|
|
10737
|
+
}), e),
|
|
10738
|
+
...r
|
|
10739
|
+
});
|
|
10740
|
+
}
|
|
10741
|
+
//#endregion
|
|
10532
10742
|
//#region src/components/ui/calendar.tsx
|
|
10533
|
-
var
|
|
10743
|
+
var zv = [
|
|
10534
10744
|
"Su",
|
|
10535
10745
|
"Mo",
|
|
10536
10746
|
"Tu",
|
|
@@ -10539,17 +10749,17 @@ var Mv = [
|
|
|
10539
10749
|
"Fr",
|
|
10540
10750
|
"Sa"
|
|
10541
10751
|
];
|
|
10542
|
-
function
|
|
10752
|
+
function Bv(e, t) {
|
|
10543
10753
|
return new Date(e, t + 1, 0).getDate();
|
|
10544
10754
|
}
|
|
10545
|
-
function
|
|
10755
|
+
function Vv(e, t) {
|
|
10546
10756
|
return new Date(e, t, 1).getDay();
|
|
10547
10757
|
}
|
|
10548
|
-
function
|
|
10758
|
+
function Hv(e, t) {
|
|
10549
10759
|
return e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate();
|
|
10550
10760
|
}
|
|
10551
|
-
function
|
|
10552
|
-
let l = /* @__PURE__ */ new Date(), [u, d] = o.useState(() => r ?? t ?? l), f = r ?? u, p = f.getFullYear(), m = f.getMonth(), h =
|
|
10761
|
+
function Uv({ className: e, selected: t, onSelect: n, month: r, onMonthChange: s, ...c }) {
|
|
10762
|
+
let l = /* @__PURE__ */ new Date(), [u, d] = o.useState(() => r ?? t ?? l), f = r ?? u, p = f.getFullYear(), m = f.getMonth(), h = Bv(p, m), g = Vv(p, m), _ = Bv(p, m - 1), v = f.toLocaleString("en-US", {
|
|
10553
10763
|
month: "long",
|
|
10554
10764
|
year: "numeric"
|
|
10555
10765
|
});
|
|
@@ -10614,13 +10824,13 @@ function Iv({ className: e, selected: t, onSelect: n, month: r, onMonthChange: s
|
|
|
10614
10824
|
"data-slot": "calendar-grid",
|
|
10615
10825
|
className: "grid grid-cols-7 text-center",
|
|
10616
10826
|
role: "grid",
|
|
10617
|
-
children: [
|
|
10827
|
+
children: [zv.map((e) => /* @__PURE__ */ i("div", {
|
|
10618
10828
|
"data-slot": "calendar-day-header",
|
|
10619
10829
|
className: "flex h-10 w-10 items-center justify-center text-xs font-medium text-muted-foreground",
|
|
10620
10830
|
role: "columnheader",
|
|
10621
10831
|
children: e
|
|
10622
10832
|
}, e)), D.map((e, n) => {
|
|
10623
|
-
let r = e.current, a = new Date(p, m, e.day), o = r && t &&
|
|
10833
|
+
let r = e.current, a = new Date(p, m, e.day), o = r && t && Hv(a, t), s = r && Hv(a, l);
|
|
10624
10834
|
return /* @__PURE__ */ i("button", {
|
|
10625
10835
|
"data-slot": "calendar-day",
|
|
10626
10836
|
type: "button",
|
|
@@ -10637,7 +10847,7 @@ function Iv({ className: e, selected: t, onSelect: n, month: r, onMonthChange: s
|
|
|
10637
10847
|
}
|
|
10638
10848
|
//#endregion
|
|
10639
10849
|
//#region src/components/ui/skeleton.tsx
|
|
10640
|
-
function
|
|
10850
|
+
function Wv({ className: e, ...t }) {
|
|
10641
10851
|
return /* @__PURE__ */ i("div", {
|
|
10642
10852
|
"data-slot": "skeleton",
|
|
10643
10853
|
className: C("animate-pulse rounded-md bg-muted", e),
|
|
@@ -10646,7 +10856,7 @@ function Lv({ className: e, ...t }) {
|
|
|
10646
10856
|
}
|
|
10647
10857
|
//#endregion
|
|
10648
10858
|
//#region src/components/ui/alert.tsx
|
|
10649
|
-
var
|
|
10859
|
+
var Gv = n("relative flex w-full items-start gap-5 rounded-lg p-5 text-base leading-6 [&>svg]:h-6 [&>svg]:w-6 [&>svg]:shrink-0", {
|
|
10650
10860
|
variants: {
|
|
10651
10861
|
variant: {
|
|
10652
10862
|
default: "",
|
|
@@ -10706,13 +10916,13 @@ var Rv = n("relative flex w-full items-start gap-5 rounded-lg p-5 text-base lead
|
|
|
10706
10916
|
filled: !1
|
|
10707
10917
|
}
|
|
10708
10918
|
});
|
|
10709
|
-
function
|
|
10919
|
+
function Kv({ className: e, variant: t = "default", filled: n = !1, onDismiss: r, children: o, ...s }) {
|
|
10710
10920
|
return /* @__PURE__ */ a("div", {
|
|
10711
10921
|
"data-slot": "alert",
|
|
10712
10922
|
"data-variant": t,
|
|
10713
10923
|
"data-filled": n || void 0,
|
|
10714
10924
|
role: "alert",
|
|
10715
|
-
className: C(
|
|
10925
|
+
className: C(Gv({
|
|
10716
10926
|
variant: t,
|
|
10717
10927
|
filled: n,
|
|
10718
10928
|
className: e
|
|
@@ -10732,7 +10942,7 @@ function zv({ className: e, variant: t = "default", filled: n = !1, onDismiss: r
|
|
|
10732
10942
|
}) : null]
|
|
10733
10943
|
});
|
|
10734
10944
|
}
|
|
10735
|
-
function
|
|
10945
|
+
function qv({ className: e, children: t, ...n }) {
|
|
10736
10946
|
return /* @__PURE__ */ i("h5", {
|
|
10737
10947
|
"data-slot": "alert-title",
|
|
10738
10948
|
className: C("text-h4", e),
|
|
@@ -10740,7 +10950,7 @@ function Bv({ className: e, children: t, ...n }) {
|
|
|
10740
10950
|
children: t
|
|
10741
10951
|
});
|
|
10742
10952
|
}
|
|
10743
|
-
function
|
|
10953
|
+
function Jv({ className: e, children: t, ...n }) {
|
|
10744
10954
|
return /* @__PURE__ */ i("div", {
|
|
10745
10955
|
"data-slot": "alert-description",
|
|
10746
10956
|
className: C("text-base leading-6 [&_p]:leading-6", e),
|
|
@@ -10750,7 +10960,7 @@ function Vv({ className: e, children: t, ...n }) {
|
|
|
10750
10960
|
}
|
|
10751
10961
|
//#endregion
|
|
10752
10962
|
//#region src/components/ui/toast.tsx
|
|
10753
|
-
var
|
|
10963
|
+
var Yv = n("relative flex w-full flex-col gap-4 rounded-lg border px-3 py-5", {
|
|
10754
10964
|
variants: { variant: {
|
|
10755
10965
|
default: "border-border bg-background text-foreground",
|
|
10756
10966
|
success: "border-border bg-background text-foreground",
|
|
@@ -10759,25 +10969,25 @@ var Hv = n("relative flex w-full flex-col gap-4 rounded-lg border px-3 py-5", {
|
|
|
10759
10969
|
info: "border-border bg-background text-foreground"
|
|
10760
10970
|
} },
|
|
10761
10971
|
defaultVariants: { variant: "default" }
|
|
10762
|
-
}),
|
|
10972
|
+
}), Xv = {
|
|
10763
10973
|
default: tn,
|
|
10764
10974
|
success: tn,
|
|
10765
10975
|
destructive: Pe,
|
|
10766
10976
|
warning: Pe,
|
|
10767
10977
|
info: Ze
|
|
10768
|
-
},
|
|
10978
|
+
}, Zv = {
|
|
10769
10979
|
default: "text-foreground",
|
|
10770
10980
|
success: "text-success",
|
|
10771
10981
|
destructive: "text-destructive",
|
|
10772
10982
|
warning: "text-warning",
|
|
10773
10983
|
info: "text-info"
|
|
10774
10984
|
};
|
|
10775
|
-
function
|
|
10985
|
+
function Qv({ className: e, variant: t = "default", onClose: n, children: r, ...o }) {
|
|
10776
10986
|
return /* @__PURE__ */ a("div", {
|
|
10777
10987
|
"data-slot": "toast",
|
|
10778
10988
|
"data-variant": t,
|
|
10779
10989
|
role: "alert",
|
|
10780
|
-
className: C(
|
|
10990
|
+
className: C(Yv({
|
|
10781
10991
|
variant: t,
|
|
10782
10992
|
className: e
|
|
10783
10993
|
})),
|
|
@@ -10792,8 +11002,8 @@ function Gv({ className: e, variant: t = "default", onClose: n, children: r, ...
|
|
|
10792
11002
|
})]
|
|
10793
11003
|
});
|
|
10794
11004
|
}
|
|
10795
|
-
function
|
|
10796
|
-
let o =
|
|
11005
|
+
function $v({ className: e, variant: t = "default", children: n, ...r }) {
|
|
11006
|
+
let o = Xv[t], s = Zv[t];
|
|
10797
11007
|
return /* @__PURE__ */ a("div", {
|
|
10798
11008
|
"data-slot": "toast-header",
|
|
10799
11009
|
className: C("flex items-center gap-4", e),
|
|
@@ -10809,21 +11019,21 @@ function Kv({ className: e, variant: t = "default", children: n, ...r }) {
|
|
|
10809
11019
|
})]
|
|
10810
11020
|
});
|
|
10811
11021
|
}
|
|
10812
|
-
function
|
|
11022
|
+
function ey({ className: e, ...t }) {
|
|
10813
11023
|
return /* @__PURE__ */ i("p", {
|
|
10814
11024
|
"data-slot": "toast-title",
|
|
10815
11025
|
className: C("text-h4", e),
|
|
10816
11026
|
...t
|
|
10817
11027
|
});
|
|
10818
11028
|
}
|
|
10819
|
-
function
|
|
11029
|
+
function ty({ className: e, ...t }) {
|
|
10820
11030
|
return /* @__PURE__ */ i("p", {
|
|
10821
11031
|
"data-slot": "toast-description",
|
|
10822
11032
|
className: C("pl-8 text-sm leading-5 text-muted-foreground", e),
|
|
10823
11033
|
...t
|
|
10824
11034
|
});
|
|
10825
11035
|
}
|
|
10826
|
-
function
|
|
11036
|
+
function ny({ className: e, ...t }) {
|
|
10827
11037
|
return /* @__PURE__ */ i("div", {
|
|
10828
11038
|
"data-slot": "toast-action",
|
|
10829
11039
|
className: C("flex items-start justify-end gap-3 pl-8", e),
|
|
@@ -10832,19 +11042,19 @@ function Yv({ className: e, ...t }) {
|
|
|
10832
11042
|
}
|
|
10833
11043
|
//#endregion
|
|
10834
11044
|
//#region src/components/ui/notification.tsx
|
|
10835
|
-
var
|
|
11045
|
+
var ry = n("relative flex w-full max-w-[450px] flex-col gap-3 rounded-lg border bg-background p-5 shadow-lg", {
|
|
10836
11046
|
variants: { variant: {
|
|
10837
11047
|
default: "",
|
|
10838
11048
|
destructive: "border-l-4 border-l-destructive"
|
|
10839
11049
|
} },
|
|
10840
11050
|
defaultVariants: { variant: "default" }
|
|
10841
11051
|
});
|
|
10842
|
-
function
|
|
11052
|
+
function iy({ className: e, variant: t = "default", children: n, ...r }) {
|
|
10843
11053
|
return /* @__PURE__ */ i("div", {
|
|
10844
11054
|
"data-slot": "notification",
|
|
10845
11055
|
role: "status",
|
|
10846
11056
|
"aria-live": "polite",
|
|
10847
|
-
className: C(
|
|
11057
|
+
className: C(ry({
|
|
10848
11058
|
variant: t,
|
|
10849
11059
|
className: e
|
|
10850
11060
|
})),
|
|
@@ -10852,7 +11062,7 @@ function Zv({ className: e, variant: t = "default", children: n, ...r }) {
|
|
|
10852
11062
|
children: n
|
|
10853
11063
|
});
|
|
10854
11064
|
}
|
|
10855
|
-
function
|
|
11065
|
+
function ay({ className: e, ...t }) {
|
|
10856
11066
|
return /* @__PURE__ */ a("button", {
|
|
10857
11067
|
"data-slot": "notification-close",
|
|
10858
11068
|
type: "button",
|
|
@@ -10865,35 +11075,35 @@ function Qv({ className: e, ...t }) {
|
|
|
10865
11075
|
})]
|
|
10866
11076
|
});
|
|
10867
11077
|
}
|
|
10868
|
-
function
|
|
11078
|
+
function oy({ className: e, ...t }) {
|
|
10869
11079
|
return /* @__PURE__ */ i("div", {
|
|
10870
11080
|
"data-slot": "notification-header",
|
|
10871
11081
|
className: C("flex items-start gap-2.5", e),
|
|
10872
11082
|
...t
|
|
10873
11083
|
});
|
|
10874
11084
|
}
|
|
10875
|
-
function
|
|
11085
|
+
function sy({ className: e, ...t }) {
|
|
10876
11086
|
return /* @__PURE__ */ i("p", {
|
|
10877
11087
|
"data-slot": "notification-title",
|
|
10878
11088
|
className: C("text-lg font-medium text-foreground", e),
|
|
10879
11089
|
...t
|
|
10880
11090
|
});
|
|
10881
11091
|
}
|
|
10882
|
-
function
|
|
11092
|
+
function cy({ className: e, ...t }) {
|
|
10883
11093
|
return /* @__PURE__ */ i("span", {
|
|
10884
11094
|
"data-slot": "notification-timestamp",
|
|
10885
11095
|
className: C("ml-auto shrink-0 text-sm text-muted-foreground", e),
|
|
10886
11096
|
...t
|
|
10887
11097
|
});
|
|
10888
11098
|
}
|
|
10889
|
-
function
|
|
11099
|
+
function ly({ className: e, ...t }) {
|
|
10890
11100
|
return /* @__PURE__ */ i("p", {
|
|
10891
11101
|
"data-slot": "notification-description",
|
|
10892
11102
|
className: C("text-sm leading-relaxed text-muted-foreground", e),
|
|
10893
11103
|
...t
|
|
10894
11104
|
});
|
|
10895
11105
|
}
|
|
10896
|
-
function
|
|
11106
|
+
function uy({ className: e, ...t }) {
|
|
10897
11107
|
return /* @__PURE__ */ i("div", {
|
|
10898
11108
|
"data-slot": "notification-actions",
|
|
10899
11109
|
className: C("flex items-center gap-4", e),
|
|
@@ -10902,25 +11112,22 @@ function ry({ className: e, ...t }) {
|
|
|
10902
11112
|
}
|
|
10903
11113
|
//#endregion
|
|
10904
11114
|
//#region src/components/layout/navigation-bar.tsx
|
|
10905
|
-
function
|
|
11115
|
+
function dy({ className: e, children: t, ...n }) {
|
|
10906
11116
|
return /* @__PURE__ */ i("header", {
|
|
10907
11117
|
"data-slot": "navigation-bar",
|
|
10908
|
-
className: C("w-full
|
|
11118
|
+
className: C("flex w-full items-center justify-between", e),
|
|
10909
11119
|
...n,
|
|
10910
|
-
children:
|
|
10911
|
-
className: "flex flex-col gap-4",
|
|
10912
|
-
children: t
|
|
10913
|
-
})
|
|
11120
|
+
children: t
|
|
10914
11121
|
});
|
|
10915
11122
|
}
|
|
10916
|
-
function
|
|
11123
|
+
function fy({ className: e, ...t }) {
|
|
10917
11124
|
return /* @__PURE__ */ i("h1", {
|
|
10918
11125
|
"data-slot": "navigation-bar-title",
|
|
10919
11126
|
className: C("text-h3 text-foreground", e),
|
|
10920
11127
|
...t
|
|
10921
11128
|
});
|
|
10922
11129
|
}
|
|
10923
|
-
function
|
|
11130
|
+
function py({ className: e, ...t }) {
|
|
10924
11131
|
return /* @__PURE__ */ i("div", {
|
|
10925
11132
|
"data-slot": "navigation-bar-content",
|
|
10926
11133
|
className: C("flex items-center justify-between", e),
|
|
@@ -10929,15 +11136,15 @@ function oy({ className: e, ...t }) {
|
|
|
10929
11136
|
}
|
|
10930
11137
|
//#endregion
|
|
10931
11138
|
//#region src/components/layout/sidebar.tsx
|
|
10932
|
-
var
|
|
11139
|
+
var my = o.createContext({
|
|
10933
11140
|
expanded: !0,
|
|
10934
11141
|
setExpanded: () => {},
|
|
10935
11142
|
toggle: () => {}
|
|
10936
11143
|
});
|
|
10937
|
-
function
|
|
10938
|
-
return o.useContext(
|
|
11144
|
+
function hy() {
|
|
11145
|
+
return o.useContext(my);
|
|
10939
11146
|
}
|
|
10940
|
-
function
|
|
11147
|
+
function gy({ children: e, defaultExpanded: t = !0 }) {
|
|
10941
11148
|
let [n, r] = o.useState(t), a = o.useCallback(() => {
|
|
10942
11149
|
r((e) => !e);
|
|
10943
11150
|
}, []), s = o.useMemo(() => ({
|
|
@@ -10945,13 +11152,13 @@ function ly({ children: e, defaultExpanded: t = !0 }) {
|
|
|
10945
11152
|
setExpanded: r,
|
|
10946
11153
|
toggle: a
|
|
10947
11154
|
}), [n, a]);
|
|
10948
|
-
return /* @__PURE__ */ i(
|
|
11155
|
+
return /* @__PURE__ */ i(my.Provider, {
|
|
10949
11156
|
value: s,
|
|
10950
11157
|
children: e
|
|
10951
11158
|
});
|
|
10952
11159
|
}
|
|
10953
|
-
function
|
|
10954
|
-
let { expanded: r } =
|
|
11160
|
+
function _y({ className: e, children: t, ...n }) {
|
|
11161
|
+
let { expanded: r } = hy();
|
|
10955
11162
|
return /* @__PURE__ */ i("aside", {
|
|
10956
11163
|
"data-slot": "sidebar",
|
|
10957
11164
|
"data-expanded": r,
|
|
@@ -10960,7 +11167,7 @@ function uy({ className: e, children: t, ...n }) {
|
|
|
10960
11167
|
children: t
|
|
10961
11168
|
});
|
|
10962
11169
|
}
|
|
10963
|
-
function
|
|
11170
|
+
function vy({ className: e, children: t, ...n }) {
|
|
10964
11171
|
return /* @__PURE__ */ i("div", {
|
|
10965
11172
|
"data-slot": "sidebar-header",
|
|
10966
11173
|
className: C("flex items-center gap-2 px-3 py-4", e),
|
|
@@ -10968,7 +11175,7 @@ function dy({ className: e, children: t, ...n }) {
|
|
|
10968
11175
|
children: t
|
|
10969
11176
|
});
|
|
10970
11177
|
}
|
|
10971
|
-
function
|
|
11178
|
+
function yy({ className: e, children: t, ...n }) {
|
|
10972
11179
|
return /* @__PURE__ */ i("div", {
|
|
10973
11180
|
"data-slot": "sidebar-content",
|
|
10974
11181
|
className: C("flex flex-1 flex-col gap-2 overflow-y-auto px-3", e),
|
|
@@ -10976,7 +11183,7 @@ function fy({ className: e, children: t, ...n }) {
|
|
|
10976
11183
|
children: t
|
|
10977
11184
|
});
|
|
10978
11185
|
}
|
|
10979
|
-
function
|
|
11186
|
+
function by({ className: e, children: t, ...n }) {
|
|
10980
11187
|
return /* @__PURE__ */ i("div", {
|
|
10981
11188
|
"data-slot": "sidebar-group",
|
|
10982
11189
|
className: C("flex flex-col gap-1", e),
|
|
@@ -10984,15 +11191,15 @@ function py({ className: e, children: t, ...n }) {
|
|
|
10984
11191
|
children: t
|
|
10985
11192
|
});
|
|
10986
11193
|
}
|
|
10987
|
-
function
|
|
10988
|
-
let { expanded: n } =
|
|
11194
|
+
function xy({ className: e, ...t }) {
|
|
11195
|
+
let { expanded: n } = hy();
|
|
10989
11196
|
return n ? /* @__PURE__ */ i("span", {
|
|
10990
11197
|
"data-slot": "sidebar-group-label",
|
|
10991
11198
|
className: C("px-3 py-2 text-xs font-medium uppercase text-muted-foreground", e),
|
|
10992
11199
|
...t
|
|
10993
11200
|
}) : null;
|
|
10994
11201
|
}
|
|
10995
|
-
function
|
|
11202
|
+
function Sy({ className: e, children: t, ...n }) {
|
|
10996
11203
|
return /* @__PURE__ */ i("ul", {
|
|
10997
11204
|
"data-slot": "sidebar-menu",
|
|
10998
11205
|
className: C("flex flex-col gap-0.5", e),
|
|
@@ -11000,7 +11207,7 @@ function hy({ className: e, children: t, ...n }) {
|
|
|
11000
11207
|
children: t
|
|
11001
11208
|
});
|
|
11002
11209
|
}
|
|
11003
|
-
function
|
|
11210
|
+
function Cy({ className: e, children: t, ...n }) {
|
|
11004
11211
|
return /* @__PURE__ */ i("li", {
|
|
11005
11212
|
"data-slot": "sidebar-menu-item",
|
|
11006
11213
|
className: C("list-none", e),
|
|
@@ -11008,8 +11215,8 @@ function gy({ className: e, children: t, ...n }) {
|
|
|
11008
11215
|
children: t
|
|
11009
11216
|
});
|
|
11010
11217
|
}
|
|
11011
|
-
function
|
|
11012
|
-
let { expanded: a } =
|
|
11218
|
+
function wy({ className: e, active: t = !1, children: n, ...r }) {
|
|
11219
|
+
let { expanded: a } = hy();
|
|
11013
11220
|
return /* @__PURE__ */ i("button", {
|
|
11014
11221
|
"data-slot": "sidebar-menu-button",
|
|
11015
11222
|
"data-active": t || void 0,
|
|
@@ -11018,15 +11225,15 @@ function _y({ className: e, active: t = !1, children: n, ...r }) {
|
|
|
11018
11225
|
children: n
|
|
11019
11226
|
});
|
|
11020
11227
|
}
|
|
11021
|
-
function
|
|
11022
|
-
let { expanded: n } =
|
|
11228
|
+
function Ty({ className: e, ...t }) {
|
|
11229
|
+
let { expanded: n } = hy();
|
|
11023
11230
|
return n ? /* @__PURE__ */ i("span", {
|
|
11024
11231
|
"data-slot": "sidebar-menu-button-label",
|
|
11025
11232
|
className: C("truncate", e),
|
|
11026
11233
|
...t
|
|
11027
11234
|
}) : null;
|
|
11028
11235
|
}
|
|
11029
|
-
function
|
|
11236
|
+
function Ey({ className: e, children: t, ...n }) {
|
|
11030
11237
|
return /* @__PURE__ */ i("div", {
|
|
11031
11238
|
"data-slot": "sidebar-footer",
|
|
11032
11239
|
className: C("flex items-center gap-2 border-t border-border px-3 py-4", e),
|
|
@@ -11034,8 +11241,8 @@ function yy({ className: e, children: t, ...n }) {
|
|
|
11034
11241
|
children: t
|
|
11035
11242
|
});
|
|
11036
11243
|
}
|
|
11037
|
-
function
|
|
11038
|
-
let { toggle: n } =
|
|
11244
|
+
function Dy({ className: e, ...t }) {
|
|
11245
|
+
let { toggle: n } = hy();
|
|
11039
11246
|
return /* @__PURE__ */ i(En, {
|
|
11040
11247
|
"data-slot": "sidebar-trigger",
|
|
11041
11248
|
variant: "ghost",
|
|
@@ -11049,7 +11256,7 @@ function by({ className: e, ...t }) {
|
|
|
11049
11256
|
}
|
|
11050
11257
|
//#endregion
|
|
11051
11258
|
//#region src/components/layout/data-table.tsx
|
|
11052
|
-
function
|
|
11259
|
+
function Oy({ className: e, children: t, ...n }) {
|
|
11053
11260
|
return /* @__PURE__ */ i("div", {
|
|
11054
11261
|
"data-slot": "data-table",
|
|
11055
11262
|
className: C("flex flex-col gap-4", e),
|
|
@@ -11057,7 +11264,7 @@ function xy({ className: e, children: t, ...n }) {
|
|
|
11057
11264
|
children: t
|
|
11058
11265
|
});
|
|
11059
11266
|
}
|
|
11060
|
-
function
|
|
11267
|
+
function ky({ className: e, children: t, ...n }) {
|
|
11061
11268
|
return /* @__PURE__ */ i("div", {
|
|
11062
11269
|
"data-slot": "data-table-toolbar",
|
|
11063
11270
|
className: C("flex items-center justify-between gap-2", e),
|
|
@@ -11065,7 +11272,7 @@ function Sy({ className: e, children: t, ...n }) {
|
|
|
11065
11272
|
children: t
|
|
11066
11273
|
});
|
|
11067
11274
|
}
|
|
11068
|
-
function
|
|
11275
|
+
function Ay({ className: e, children: t, ...n }) {
|
|
11069
11276
|
return /* @__PURE__ */ i("div", {
|
|
11070
11277
|
"data-slot": "data-table-content",
|
|
11071
11278
|
className: C(e),
|
|
@@ -11073,7 +11280,7 @@ function Cy({ className: e, children: t, ...n }) {
|
|
|
11073
11280
|
children: t
|
|
11074
11281
|
});
|
|
11075
11282
|
}
|
|
11076
|
-
function
|
|
11283
|
+
function jy({ className: e, children: t, ...n }) {
|
|
11077
11284
|
return /* @__PURE__ */ i("div", {
|
|
11078
11285
|
"data-slot": "data-table-pagination",
|
|
11079
11286
|
className: C("flex items-center justify-between px-2 py-4", e),
|
|
@@ -11082,6 +11289,6 @@ function wy({ className: e, children: t, ...n }) {
|
|
|
11082
11289
|
});
|
|
11083
11290
|
}
|
|
11084
11291
|
//#endregion
|
|
11085
|
-
export { Z_ as Accordion, ev as AccordionContent, Q_ as AccordionItem, $_ as AccordionTrigger,
|
|
11292
|
+
export { Z_ as Accordion, ev as AccordionContent, Q_ as AccordionItem, $_ as AccordionTrigger, Kv as Alert, Jv as AlertDescription, Gg as AlertDialog, e_ as AlertDialogAction, t_ as AlertDialogCancel, Yg as AlertDialogContent, $g as AlertDialogDescription, Zg as AlertDialogFooter, Xg as AlertDialogHeader, Qg as AlertDialogTitle, Kg as AlertDialogTrigger, qv as AlertTitle, ai as Avatar, si as AvatarFallback, oi as AvatarImage, ei as Badge, Tv as Breadcrumb, jv as BreadcrumbEllipsis, Dv as BreadcrumbItem, Ov as BreadcrumbLink, Ev as BreadcrumbList, kv as BreadcrumbPage, Av as BreadcrumbSeparator, En as Button, Uv as Calendar, Ci as Card, Di as CardContent, Ei as CardDescription, Oi as CardFooter, wi as CardHeader, Ti as CardTitle, jn as Checkbox, np as ContextMenu, dp as ContextMenuCheckboxItem, lp as ContextMenuContent, ip as ContextMenuGroup, up as ContextMenuItem, pp as ContextMenuLabel, op as ContextMenuRadioGroup, fp as ContextMenuRadioItem, mp as ContextMenuSeparator, hp as ContextMenuShortcut, ap as ContextMenuSub, cp as ContextMenuSubContent, sp as ContextMenuSubTrigger, rp as ContextMenuTrigger, Oy as DataTable, Ay as DataTableContent, jy as DataTablePagination, ky as DataTableToolbar, Vi as Dialog, Ui as DialogClose, Wi as DialogContent, Ji as DialogDescription, Ki as DialogFooter, Gi as DialogHeader, qi as DialogTitle, Hi as DialogTrigger, Xh as DropdownMenu, og as DropdownMenuCheckboxItem, ig as DropdownMenuContent, Qh as DropdownMenuGroup, ag as DropdownMenuItem, cg as DropdownMenuLabel, $h as DropdownMenuPortal, tg as DropdownMenuRadioGroup, sg as DropdownMenuRadioItem, lg as DropdownMenuSeparator, ug as DropdownMenuShortcut, eg as DropdownMenuSub, rg as DropdownMenuSubContent, ng as DropdownMenuSubTrigger, Zh as DropdownMenuTrigger, A as IconAccessKey, j as IconActiveInactive, M as IconAddPlus, N as IconAnalytics, P as IconArchive, F as IconArrowDown, I as IconArrowLeft, ee as IconArrowRight, te as IconArrowUp, ne as IconAttachment, re as IconAvatar, ie as IconBilling, ae as IconBookmark, oe as IconBot, se as IconBrain, li as IconButton, ce as IconCalendar, le as IconCancelClose, ue as IconChartAnalytics, de as IconChevronDown, fe as IconChevronLeft, pe as IconChevronRight, me as IconChevronUp, he as IconCodeView, ge as IconComment, _e as IconCompleted, ve as IconConfirmCheck, ye as IconConnectors, be as IconCopy, xe as IconCreate, Se as IconCreate2, Ce as IconCreditCard, we as IconDashboard, Te as IconDatabase, Ee as IconDeleteTrash, De as IconDisabled, Oe as IconDiscover, ke as IconDocumentGeneral, Ae as IconDownload, je as IconDuplicate, Me as IconEditPencil, Ne as IconEmail, Pe as IconError, Fe as IconEvent, Ie as IconExpand, Le as IconExternalLink, Re as IconFailed, ze as IconFaq, Be as IconFastForward, Ve as IconFile, He as IconFilter, Ue as IconFlag, We as IconFlowline, Ge as IconFolder, Ke as IconFullScreen, qe as IconGridView, Je as IconHelp, Ye as IconHistory, Xe as IconImage, Ze as IconInfoCircle, Qe as IconInvite, $e as IconInvoice, et as IconLabel, tt as IconLanguageGlobe, nt as IconLayers, rt as IconLearn, it as IconLink, at as IconListView, ot as IconLoading, st as IconLock, ct as IconLogOut, lt as IconLoginAccount, ut as IconMars, dt as IconMention, ft as IconMessageInbox, pt as IconMinimiseScreen, mt as IconMoreKebabHorizontal, ht as IconMoreKebabVertical, gt as IconNewProject, _t as IconNotification, vt as IconNotificationBadge, yt as IconOnlineOffline, bt as IconPaste, xt as IconPause, St as IconPayment, Ct as IconPdfFile, wt as IconPending, Tt as IconPlay, Et as IconPreferences, Dt as IconPreview, Ot as IconProcessing, kt as IconProfile, At as IconReceipt, jt as IconRecent, Mt as IconRecord, Nt as IconRefreshReload, Pt as IconReminder, Ft as IconRemoveMinus, It as IconRepoConfiguration, Lt as IconRepoConfiguration2, Rt as IconReport, zt as IconRewind, Bt as IconRoleBadge, Vt as IconSave, Ht as IconSearch, Ut as IconSend, Wt as IconSendMessage, Gt as IconSettings, Kt as IconShare, qt as IconShield, Jt as IconSort, Yt as IconSourceLibrary, Xt as IconSparkle, Zt as IconSpeaker, Qt as IconStar, $t as IconStop, en as IconStructure, tn as IconSuccess, nn as IconSupport, rn as IconSync, an as IconTable, on as IconTeam, sn as IconTemplate, cn as IconTimeline, ln as IconToggleOff, un as IconToggleOn, dn as IconUnlock, fn as IconUpload, pn as IconUserAdd, mn as IconUserRemove, hn as IconVideo, gn as IconVolumeOffMute, _n as IconVolumeUp, vn as IconWallet, yn as IconWand, bn as IconWebPageFile, xn as IconWindowCollapse, Sn as IconWindowExpand, Cn as IconWorkflow, wn as IconWriting, Dn as Input, mi as InputField, On as Label, dy as NavigationBar, py as NavigationBarContent, fy as NavigationBarTitle, iy as Notification, uy as NotificationActions, ay as NotificationClose, ly as NotificationDescription, oy as NotificationHeader, cy as NotificationTimestamp, sy as NotificationTitle, D as NovieLogo, k as NovieSymbol, pi as Progress, Iv as ProgressIndicator, Xr as RadioGroup, Zr as RadioGroupItem, hi as SearchInput, Wm as Select, Xm as SelectContent, Gm as SelectGroup, Qm as SelectItem, Zm as SelectLabel, Ym as SelectScrollDownButton, Jm as SelectScrollUpButton, $m as SelectSeparator, qm as SelectTrigger, Km as SelectValue, Qr as Separator, _y as Sidebar, yy as SidebarContent, Ey as SidebarFooter, by as SidebarGroup, xy as SidebarGroupLabel, vy as SidebarHeader, Sy as SidebarMenu, wy as SidebarMenuButton, Ty as SidebarMenuButtonLabel, Cy as SidebarMenuItem, gy as SidebarProvider, Dy as SidebarTrigger, Wv as Skeleton, Nv as StateTag, Si as Stepper, xi as StepperItem, Pn as Switch, Ni as Table, Fi as TableBody, Bi as TableCaption, zi as TableCell, Ii as TableFooter, Ri as TableHead, Pi as TableHeader, Li as TableRow, bv as Tabs, wv as TabsContent, Sv as TabsList, Cv as TabsTrigger, ni as Tag, Rv as TagBadge, Qv as Toast, ny as ToastAction, ty as ToastDescription, $v as ToastHeader, ey as ToastTitle, Ic as Tooltip, Rc as TooltipContent, Fc as TooltipProvider, Lc as TooltipTrigger, Gv as alertVariants, ri as avatarVariants, $r as badgeVariants, Tn as buttonVariants, kn as checkboxVariants, C as cn, ci as iconButtonVariants, di as indicatorVariants, w as logoVariants, Pv as progressIndicatorVariants, ui as progressTrackVariants, Jr as radioGroupItemVariants, Mv as stateTagVariants, Mn as switchVariants, O as symbolVariants, Lv as tagBadgeVariants, ti as tagVariants, Nn as thumbVariants, Yv as toastVariants, hy as useSidebar, _i as useStepperContext };
|
|
11086
11293
|
|
|
11087
11294
|
//# sourceMappingURL=index.js.map
|