@dinofront/design_system 0.1.3 → 1.0.0

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/index.js CHANGED
@@ -515,27 +515,47 @@ var Ie = i(function({ value: e, onChange: t, range: n = !1, rangeValue: r, onCha
515
515
  })]
516
516
  });
517
517
  }), Le = {
518
+ horizontal: "h-0 w-full border-t",
519
+ vertical: "w-0 h-full self-stretch border-l"
520
+ }, Re = {
521
+ solid: "border-solid",
522
+ dashed: "border-dashed"
523
+ }, ze = {
524
+ default: "border-border-default",
525
+ subtle: "border-border-subtle",
526
+ strong: "border-border-strong",
527
+ brand: "border-border-brand"
528
+ }, Be = i(function({ orientation: e = "horizontal", variant: t = "solid", color: n = "default", className: r, dataTestId: i, ...a }, o) {
529
+ return /* @__PURE__ */ z("div", {
530
+ ref: o,
531
+ role: "separator",
532
+ "aria-orientation": e,
533
+ "data-test-id": i,
534
+ className: H("shrink-0", Le[e], Re[t], ze[n], r),
535
+ ...a
536
+ });
537
+ }), Ve = {
518
538
  sm: "w-[320px]",
519
539
  md: "w-[420px]",
520
540
  lg: "w-[560px]",
521
541
  xl: "w-[720px]"
522
- }, Re = {
542
+ }, He = {
523
543
  sm: "h-[240px]",
524
544
  md: "h-[360px]",
525
545
  lg: "h-[480px]",
526
546
  xl: "h-[600px]"
527
- }, ze = {
547
+ }, Ue = {
528
548
  right: "inset-y-0 right-0 border-l",
529
549
  left: "inset-y-0 left-0 border-r",
530
550
  top: "inset-x-0 top-0 border-b",
531
551
  bottom: "inset-x-0 bottom-0 border-t"
532
552
  };
533
- function Be(...e) {
553
+ function We(...e) {
534
554
  return (t) => {
535
555
  for (let n of e) n && (typeof n == "function" ? n(t) : n.current = t);
536
556
  };
537
557
  }
538
- var Ve = i(function({ open: e, onClose: t, side: n = "right", size: r = "md", title: i, description: a, children: o, footer: s, closeOnOverlayClick: l = !0, showClose: u = !0, className: f, dataTestId: p }, m) {
558
+ var Ge = i(function({ open: e, onClose: t, side: n = "right", size: r = "md", title: i, description: a, children: o, footer: s, closeOnOverlayClick: l = !0, showClose: u = !0, className: f, dataTestId: p }, m) {
539
559
  let h = d(null);
540
560
  if (c(() => {
541
561
  if (!e) return;
@@ -552,7 +572,7 @@ var Ve = i(function({ open: e, onClose: t, side: n = "right", size: r = "md", ti
552
572
  let t = document.activeElement;
553
573
  return h.current?.focus(), () => t?.focus?.();
554
574
  }, [e]), !e) return null;
555
- let g = n === "left" || n === "right", _ = g ? Le[r] : Re[r];
575
+ let g = n === "left" || n === "right", _ = g ? Ve[r] : He[r];
556
576
  return V(/* @__PURE__ */ B("div", {
557
577
  role: "dialog",
558
578
  "aria-modal": "true",
@@ -565,9 +585,9 @@ var Ve = i(function({ open: e, onClose: t, side: n = "right", size: r = "md", ti
565
585
  onClick: () => l && t(),
566
586
  "aria-hidden": !0
567
587
  }), /* @__PURE__ */ B("div", {
568
- ref: Be(m, h),
588
+ ref: We(m, h),
569
589
  tabIndex: -1,
570
- className: H("absolute bg-bg-default shadow-z5 outline-none flex flex-col", ze[n], g ? `${_} h-full max-w-full` : `${_} w-full max-h-full`, "border-border-default", f),
590
+ className: H("absolute bg-bg-default shadow-z5 outline-none flex flex-col", Ue[n], g ? `${_} h-full max-w-full` : `${_} w-full max-h-full`, "border-border-default", f),
571
591
  children: [
572
592
  (i || u) && /* @__PURE__ */ B("div", {
573
593
  className: "flex items-start justify-between gap-4 px-6 pt-6 pb-4 border-b border-border-default",
@@ -601,18 +621,18 @@ var Ve = i(function({ open: e, onClose: t, side: n = "right", size: r = "md", ti
601
621
  ]
602
622
  })]
603
623
  }), document.body);
604
- }), He = n(null);
605
- function Ue() {
606
- let e = s(He);
624
+ }), Ke = n(null);
625
+ function qe() {
626
+ let e = s(Ke);
607
627
  if (!e) throw Error("Dropdown parts must be used inside <DropdownMenu>");
608
628
  return e;
609
629
  }
610
- function We(...e) {
630
+ function Je(...e) {
611
631
  return (t) => {
612
632
  for (let n of e) n && (typeof n == "function" ? n(t) : n.current = t);
613
633
  };
614
634
  }
615
- var Ge = i(function({ children: e, defaultOpen: t = !1, open: n, onOpenChange: r, className: i, dataTestId: a, ...o }, s) {
635
+ var Ye = i(function({ children: e, defaultOpen: t = !1, open: n, onOpenChange: r, className: i, dataTestId: a, ...o }, s) {
616
636
  let [l, u] = f(t), p = n !== void 0, m = p ? n : l, h = d(null), g = (e) => {
617
637
  p || u(e), r?.(e);
618
638
  };
@@ -622,7 +642,7 @@ var Ge = i(function({ children: e, defaultOpen: t = !1, open: n, onOpenChange: r
622
642
  e.key === "Escape" && g(!1);
623
643
  };
624
644
  return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
625
- }, [m]), /* @__PURE__ */ z(He.Provider, {
645
+ }, [m]), /* @__PURE__ */ z(Ke.Provider, {
626
646
  value: {
627
647
  open: m,
628
648
  setOpen: g,
@@ -637,8 +657,8 @@ var Ge = i(function({ children: e, defaultOpen: t = !1, open: n, onOpenChange: r
637
657
  })
638
658
  });
639
659
  });
640
- function Ke({ children: e }) {
641
- let { open: n, setOpen: r, triggerRef: i } = Ue();
660
+ function Xe({ children: e }) {
661
+ let { open: n, setOpen: r, triggerRef: i } = qe();
642
662
  if (!a(e)) return e;
643
663
  let o = e.props ?? {};
644
664
  return t(e, {
@@ -651,8 +671,8 @@ function Ke({ children: e }) {
651
671
  "aria-expanded": n
652
672
  });
653
673
  }
654
- var qe = i(function({ children: e, align: t = "start", className: n, dataTestId: r, ...i }, a) {
655
- let { open: o, setOpen: s, triggerRef: l } = Ue(), u = d(null);
674
+ var Ze = i(function({ children: e, align: t = "start", className: n, dataTestId: r, ...i }, a) {
675
+ let { open: o, setOpen: s, triggerRef: l } = qe(), u = d(null);
656
676
  return c(() => {
657
677
  if (!o) return;
658
678
  let e = (e) => {
@@ -665,15 +685,15 @@ var qe = i(function({ children: e, align: t = "start", className: n, dataTestId:
665
685
  s,
666
686
  l
667
687
  ]), o ? /* @__PURE__ */ z("div", {
668
- ref: We(a, u),
688
+ ref: Je(a, u),
669
689
  role: "menu",
670
690
  "data-test-id": r,
671
691
  className: H("absolute top-full mt-1 min-w-[200px] rounded-lg border border-border-default bg-bg-default shadow-z4 z-50 py-1", t === "end" ? "right-0" : "left-0", n),
672
692
  ...i,
673
693
  children: e
674
694
  }) : null;
675
- }), Je = i(function({ children: e, onSelect: t, disabled: n, icon: r, shortcut: i, destructive: a, checked: o, className: s, dataTestId: c, onClick: l, ...u }, d) {
676
- let { setOpen: f } = Ue();
695
+ }), Qe = i(function({ children: e, onSelect: t, disabled: n, icon: r, shortcut: i, destructive: a, checked: o, className: s, dataTestId: c, onClick: l, ...u }, d) {
696
+ let { setOpen: f } = qe();
677
697
  return /* @__PURE__ */ B("button", {
678
698
  ref: d,
679
699
  type: "button",
@@ -704,7 +724,7 @@ var qe = i(function({ children: e, align: t = "start", className: n, dataTestId:
704
724
  })
705
725
  ]
706
726
  });
707
- }), Ye = i(function({ className: e, dataTestId: t, ...n }, r) {
727
+ }), $e = i(function({ className: e, dataTestId: t, ...n }, r) {
708
728
  return /* @__PURE__ */ z("div", {
709
729
  ref: r,
710
730
  role: "separator",
@@ -712,7 +732,7 @@ var qe = i(function({ children: e, align: t = "start", className: n, dataTestId:
712
732
  className: H("my-1 h-px bg-border-default", e),
713
733
  ...n
714
734
  });
715
- }), Xe = i(function({ children: e, className: t, dataTestId: n, ...r }, i) {
735
+ }), et = i(function({ children: e, className: t, dataTestId: n, ...r }, i) {
716
736
  return /* @__PURE__ */ z("div", {
717
737
  ref: i,
718
738
  "data-test-id": n,
@@ -720,17 +740,17 @@ var qe = i(function({ children: e, align: t = "start", className: n, dataTestId:
720
740
  ...r,
721
741
  children: e
722
742
  });
723
- }), Ze = {
743
+ }), tt = {
724
744
  lg: "h-10 px-3 text-p-std gap-2",
725
745
  md: "h-9 px-2.5 text-p-std gap-1.5",
726
746
  sm: "h-8 px-2 text-p-sm gap-1.5"
727
747
  };
728
- function Qe(...e) {
748
+ function nt(...e) {
729
749
  return (t) => {
730
750
  for (let n of e) n && (typeof n == "function" ? n(t) : n.current = t);
731
751
  };
732
752
  }
733
- var $e = i(function({ label: e, value: t, active: n = !1, size: r = "md", disabled: i, onClear: a, children: o, className: s, dataTestId: l, ...u }, p) {
753
+ var rt = i(function({ label: e, value: t, active: n = !1, size: r = "md", disabled: i, onClear: a, children: o, className: s, dataTestId: l, ...u }, p) {
734
754
  let [m, h] = f(!1), g = d(null);
735
755
  c(() => {
736
756
  if (!m) return;
@@ -741,7 +761,7 @@ var $e = i(function({ label: e, value: t, active: n = !1, size: r = "md", disabl
741
761
  }, [m]);
742
762
  let _ = n || t !== void 0;
743
763
  return /* @__PURE__ */ B("div", {
744
- ref: Qe(p, g),
764
+ ref: nt(p, g),
745
765
  "data-test-id": l,
746
766
  className: H("relative inline-flex", s),
747
767
  ...u,
@@ -751,7 +771,7 @@ var $e = i(function({ label: e, value: t, active: n = !1, size: r = "md", disabl
751
771
  onClick: () => h((e) => !e),
752
772
  "aria-haspopup": "dialog",
753
773
  "aria-expanded": m,
754
- className: H("inline-flex items-center rounded-full border transition-colors outline-none", Ze[r], _ ? "bg-brand-20 text-brand-800 border-brand-500" : "bg-bg-default text-fg-default border-border-default", !i && "hover:border-border-strong", "focus-visible:ring-2 focus-visible:ring-brand-300 focus-visible:ring-offset-1", i && "bg-bg-container text-fg-disabled cursor-not-allowed"),
774
+ className: H("inline-flex items-center rounded-full border transition-colors outline-none", tt[r], _ ? "bg-brand-20 text-brand-800 border-brand-500" : "bg-bg-default text-fg-default border-border-default", !i && "hover:border-border-strong", "focus-visible:ring-2 focus-visible:ring-brand-300 focus-visible:ring-offset-1", i && "bg-bg-container text-fg-disabled cursor-not-allowed"),
755
775
  children: [
756
776
  /* @__PURE__ */ z("span", {
757
777
  className: "font-medium",
@@ -787,7 +807,7 @@ var $e = i(function({ label: e, value: t, active: n = !1, size: r = "md", disabl
787
807
  children: o
788
808
  })]
789
809
  });
790
- }), et = {
810
+ }), it = {
791
811
  brand: {
792
812
  bg: "bg-bg-brand-lighter",
793
813
  icon: "text-brand-700"
@@ -824,7 +844,7 @@ var $e = i(function({ label: e, value: t, active: n = !1, size: r = "md", disabl
824
844
  bg: "bg-bg-danger-lighter",
825
845
  icon: "text-red-700"
826
846
  }
827
- }, tt = {
847
+ }, at = {
828
848
  sm: {
829
849
  box: "h-8 w-8",
830
850
  icon: "h-4 w-4",
@@ -845,8 +865,8 @@ var $e = i(function({ label: e, value: t, active: n = !1, size: r = "md", disabl
845
865
  icon: "h-7 w-7",
846
866
  radius: "rounded-xl"
847
867
  }
848
- }, nt = i(function({ icon: e, tone: t = "gray", size: n = "md", shape: r = "rounded", className: i, dataTestId: a, ...o }, s) {
849
- let c = et[t], l = tt[n];
868
+ }, ot = i(function({ icon: e, tone: t = "gray", size: n = "md", shape: r = "rounded", className: i, dataTestId: a, ...o }, s) {
869
+ let c = it[t], l = at[n];
850
870
  return /* @__PURE__ */ z("div", {
851
871
  ref: s,
852
872
  "data-test-id": a,
@@ -855,14 +875,14 @@ var $e = i(function({ label: e, value: t, active: n = !1, size: r = "md", disabl
855
875
  ...o,
856
876
  children: /* @__PURE__ */ z(e, { className: H(l.icon, c.icon) })
857
877
  });
858
- }), rt = i(function({ icon: e, iconTone: t = "brand", label: n, value: r, action: i, className: a, dataTestId: o, ...s }, c) {
878
+ }), st = i(function({ icon: e, iconTone: t = "brand", label: n, value: r, action: i, className: a, dataTestId: o, ...s }, c) {
859
879
  return /* @__PURE__ */ B("div", {
860
880
  ref: c,
861
881
  "data-test-id": o,
862
882
  className: H("flex items-start gap-3", a),
863
883
  ...s,
864
884
  children: [
865
- /* @__PURE__ */ z(nt, {
885
+ /* @__PURE__ */ z(ot, {
866
886
  icon: e,
867
887
  tone: t,
868
888
  size: "md"
@@ -883,7 +903,7 @@ var $e = i(function({ label: e, value: t, active: n = !1, size: r = "md", disabl
883
903
  })
884
904
  ]
885
905
  });
886
- }), it = {
906
+ }), ct = {
887
907
  success: {
888
908
  container: "bg-green-50 border-green-200",
889
909
  iconColor: "text-green-600",
@@ -909,8 +929,8 @@ var $e = i(function({ label: e, value: t, active: n = !1, size: r = "md", disabl
909
929
  iconColor: "text-purple-700",
910
930
  DefaultIcon: A
911
931
  }
912
- }, at = i(function({ variant: e = "info", title: t, description: n, onDismiss: r, actions: i, icon: a, className: o, dataTestId: s, ...c }, l) {
913
- let { container: u, iconColor: d, DefaultIcon: f } = it[e];
932
+ }, lt = i(function({ variant: e = "info", title: t, description: n, onDismiss: r, actions: i, icon: a, className: o, dataTestId: s, ...c }, l) {
933
+ let { container: u, iconColor: d, DefaultIcon: f } = ct[e];
914
934
  return /* @__PURE__ */ B("div", {
915
935
  ref: l,
916
936
  role: "alert",
@@ -951,23 +971,23 @@ var $e = i(function({ label: e, value: t, active: n = !1, size: r = "md", disabl
951
971
  })
952
972
  ]
953
973
  });
954
- }), ot = {
974
+ }), ut = {
955
975
  lg: "h-12 text-p-md",
956
976
  md: "h-10 text-p-std",
957
977
  sm: "h-8 text-p-sm"
958
- }, st = {
978
+ }, dt = {
959
979
  lg: "pl-10",
960
980
  md: "pl-9",
961
981
  sm: "pl-8"
962
- }, ct = {
982
+ }, ft = {
963
983
  lg: "pr-10",
964
984
  md: "pr-9",
965
985
  sm: "pr-8"
966
- }, lt = {
986
+ }, pt = {
967
987
  lg: "w-10",
968
988
  md: "w-9",
969
989
  sm: "w-8"
970
- }, ut = i(function({ label: e, helperText: t, errorText: n, size: r = "md", leftIcon: i, rightIcon: a, leftAddon: o, rightAddon: s, error: c = !1, id: u, disabled: d, className: f, wrapperClassName: m, required: h, dataTestId: g, ..._ }, v) {
990
+ }, mt = i(function({ label: e, helperText: t, errorText: n, size: r = "md", leftIcon: i, rightIcon: a, leftAddon: o, rightAddon: s, error: c = !1, id: u, disabled: d, className: f, wrapperClassName: m, required: h, dataTestId: g, ..._ }, v) {
971
991
  let y = l(), b = u ?? y, x = n ? `${b}-error` : t ? `${b}-help` : void 0, S = c || !!n;
972
992
  return /* @__PURE__ */ B("div", {
973
993
  className: H("flex flex-col gap-1.5 w-full", m),
@@ -983,7 +1003,7 @@ var $e = i(function({ label: e, value: t, active: n = !1, size: r = "md", disabl
983
1003
  })]
984
1004
  }),
985
1005
  /* @__PURE__ */ B("div", {
986
- className: H("flex items-stretch w-full rounded-lg bg-bg-default transition-colors", "border", S ? "border-red-600" : "border-border-default", !d && !S && "hover:border-border-strong", "focus-within:ring-2 focus-within:ring-offset-0", S ? "focus-within:ring-red-300 focus-within:border-red-600" : "focus-within:ring-brand-300 focus-within:border-brand-500", d && "bg-bg-container border-border-default cursor-not-allowed", ot[r]),
1006
+ className: H("flex items-stretch w-full rounded-lg bg-bg-default transition-colors", "border", S ? "border-red-600" : "border-border-default", !d && !S && "hover:border-border-strong", "focus-within:ring-2 focus-within:ring-offset-0", S ? "focus-within:ring-red-300 focus-within:border-red-600" : "focus-within:ring-brand-300 focus-within:border-brand-500", d && "bg-bg-container border-border-default cursor-not-allowed", ut[r]),
987
1007
  children: [
988
1008
  o && /* @__PURE__ */ z("span", {
989
1009
  className: "inline-flex items-center px-3 text-fg-secondary bg-bg-container border-r border-border-default rounded-l-lg whitespace-nowrap",
@@ -994,7 +1014,7 @@ var $e = i(function({ label: e, value: t, active: n = !1, size: r = "md", disabl
994
1014
  children: [
995
1015
  i && /* @__PURE__ */ z("span", {
996
1016
  "aria-hidden": !0,
997
- className: H("absolute inset-y-0 left-0 flex items-center justify-center text-fg-secondary pointer-events-none", lt[r]),
1017
+ className: H("absolute inset-y-0 left-0 flex items-center justify-center text-fg-secondary pointer-events-none", pt[r]),
998
1018
  children: i
999
1019
  }),
1000
1020
  /* @__PURE__ */ z("input", {
@@ -1004,12 +1024,12 @@ var $e = i(function({ label: e, value: t, active: n = !1, size: r = "md", disabl
1004
1024
  required: h,
1005
1025
  "aria-invalid": S || void 0,
1006
1026
  "aria-describedby": x,
1007
- className: H("w-full h-full bg-transparent outline-none", "placeholder:text-fg-tertiary text-fg-default", "disabled:cursor-not-allowed disabled:text-fg-disabled", i ? st[r] : "pl-3", a || S ? ct[r] : "pr-3", f),
1027
+ className: H("w-full h-full bg-transparent outline-none", "placeholder:text-fg-tertiary text-fg-default", "disabled:cursor-not-allowed disabled:text-fg-disabled", i ? dt[r] : "pl-3", a || S ? ft[r] : "pr-3", f),
1008
1028
  ..._
1009
1029
  }),
1010
1030
  (a || S) && /* @__PURE__ */ z("span", {
1011
1031
  "aria-hidden": !0,
1012
- className: H("absolute inset-y-0 right-0 flex items-center justify-center pointer-events-none", lt[r], S ? "text-red-600" : "text-fg-secondary"),
1032
+ className: H("absolute inset-y-0 right-0 flex items-center justify-center pointer-events-none", pt[r], S ? "text-red-600" : "text-fg-secondary"),
1013
1033
  children: S ? /* @__PURE__ */ z(p, { className: "h-4 w-4" }) : a
1014
1034
  })
1015
1035
  ]
@@ -1031,19 +1051,19 @@ var $e = i(function({ label: e, value: t, active: n = !1, size: r = "md", disabl
1031
1051
  }) : null
1032
1052
  ]
1033
1053
  });
1034
- }), dt = {
1054
+ }), ht = {
1035
1055
  sm: "max-w-sm",
1036
1056
  md: "max-w-md",
1037
1057
  lg: "max-w-lg",
1038
1058
  xl: "max-w-2xl",
1039
1059
  "2xl": "max-w-4xl"
1040
1060
  };
1041
- function ft(...e) {
1061
+ function gt(...e) {
1042
1062
  return (t) => {
1043
1063
  for (let n of e) typeof n == "function" ? n(t) : n && (n.current = t);
1044
1064
  };
1045
1065
  }
1046
- var pt = i(function({ open: e, onClose: t, title: n, description: r, children: i, footer: a, size: o = "md", closeOnOverlayClick: s = !0, showClose: l = !0, className: u, dataTestId: f }, p) {
1066
+ var _t = i(function({ open: e, onClose: t, title: n, description: r, children: i, footer: a, size: o = "md", closeOnOverlayClick: s = !0, showClose: l = !0, className: u, dataTestId: f }, p) {
1047
1067
  let m = d(null);
1048
1068
  return c(() => {
1049
1069
  if (!e) return;
@@ -1070,10 +1090,10 @@ var pt = i(function({ open: e, onClose: t, title: n, description: r, children: i
1070
1090
  onClick: () => s && t(),
1071
1091
  "aria-hidden": !0
1072
1092
  }), /* @__PURE__ */ B("div", {
1073
- ref: ft(m, p),
1093
+ ref: gt(m, p),
1074
1094
  tabIndex: -1,
1075
1095
  "data-test-id": f,
1076
- className: H("relative w-full bg-bg-default rounded-xl shadow-z5 outline-none flex flex-col max-h-[90vh]", dt[o], u),
1096
+ className: H("relative w-full bg-bg-default rounded-xl shadow-z5 outline-none flex flex-col max-h-[90vh]", ht[o], u),
1077
1097
  children: [
1078
1098
  (n || l) && /* @__PURE__ */ B("div", {
1079
1099
  className: "flex items-start justify-between gap-4 px-6 pt-6 pb-4",
@@ -1129,7 +1149,7 @@ var pt = i(function({ open: e, onClose: t, title: n, description: r, children: i
1129
1149
  input: "h-8 text-p-md min-w-[140px]",
1130
1150
  avatar: "sm"
1131
1151
  }
1132
- }, mt = i(function({ options: e, value: t, onChange: n, size: r = "md", placeholder: i = "Select…", addMorePlaceholder: a = "Add another…", disabled: o = !1, error: s = !1, label: p, helperText: m, errorText: h, required: g = !1, lockedValues: _ = [], max: v, searchable: y = !0, suggestionsLabel: b = "Suggestions", emptyText: x = "No matches. Try a different search.", id: S, className: C, wrapperClassName: w, dataTestId: T }, E) {
1152
+ }, vt = i(function({ options: e, value: t, onChange: n, size: r = "md", placeholder: i = "Select…", addMorePlaceholder: a = "Add another…", disabled: o = !1, error: s = !1, label: p, helperText: m, errorText: h, required: g = !1, lockedValues: _ = [], max: v, searchable: y = !0, suggestionsLabel: b = "Suggestions", emptyText: x = "No matches. Try a different search.", id: S, className: C, wrapperClassName: w, dataTestId: T }, E) {
1133
1153
  let ee = l(), D = S ?? ee, O = `${D}-listbox`, A = s || !!h, [j, M] = f(""), [N, F] = f(!1), [I, L] = f(0), R = d(null), V = d(null), ne = (e) => {
1134
1154
  V.current = e, typeof E == "function" ? E(e) : E && (E.current = e);
1135
1155
  }, re = u(() => new Map(e.map((e) => [e.value, e])), [e]), U = u(() => t.map((e) => re.get(e)).filter((e) => !!e), [t, re]), W = u(() => {
@@ -1301,29 +1321,29 @@ var pt = i(function({ open: e, onClose: t, title: n, description: r, children: i
1301
1321
  }) : null
1302
1322
  ]
1303
1323
  });
1304
- }), ht = {
1324
+ }), yt = {
1305
1325
  brand: "bg-brand-500 text-white",
1306
1326
  danger: "bg-red-600 text-white",
1307
1327
  success: "bg-green-600 text-white",
1308
1328
  warning: "bg-yellow-600 text-gray-900 dark:text-gray-900",
1309
1329
  info: "bg-blue-600 text-white"
1310
- }, gt = {
1330
+ }, bt = {
1311
1331
  lg: "min-w-[18px] h-[18px] px-1 text-[11px]",
1312
1332
  sm: "min-w-[14px] h-[14px] px-0.5 text-[10px]"
1313
- }, _t = {
1333
+ }, xt = {
1314
1334
  lg: "h-2.5 w-2.5",
1315
1335
  sm: "h-1.5 w-1.5"
1316
1336
  };
1317
- function vt(e, t) {
1337
+ function St(e, t) {
1318
1338
  return e > t ? `${t}+` : e >= 1e3 ? `${(e / 1e3).toFixed(0)}K` : String(e);
1319
1339
  }
1320
- var yt = i(function({ count: e = 0, max: t = 99, kind: n = "count", size: r = "lg", variant: i = "danger", children: a, showZero: o = !1, className: s, dataTestId: c, ...l }, u) {
1340
+ var Ct = i(function({ count: e = 0, max: t = 99, kind: n = "count", size: r = "lg", variant: i = "danger", children: a, showZero: o = !1, className: s, dataTestId: c, ...l }, u) {
1321
1341
  let d = n === "dot" || e > 0 || o, f = a != null && a !== !1, p = d ? /* @__PURE__ */ z("span", {
1322
1342
  ref: u,
1323
1343
  "data-test-id": c,
1324
- className: H("inline-flex items-center justify-center rounded-full font-semibold ring-2 ring-white", ht[i], n === "count" ? gt[r] : _t[r], f ? "absolute -top-1 -right-1" : "static", s),
1344
+ className: H("inline-flex items-center justify-center rounded-full font-semibold ring-2 ring-white", yt[i], n === "count" ? bt[r] : xt[r], f ? "absolute -top-1 -right-1" : "static", s),
1325
1345
  ...l,
1326
- children: n === "count" && vt(e, t)
1346
+ children: n === "count" && St(e, t)
1327
1347
  }) : null;
1328
1348
  return f ? /* @__PURE__ */ B("span", {
1329
1349
  className: "relative inline-flex",
@@ -1332,7 +1352,7 @@ var yt = i(function({ count: e = 0, max: t = 99, kind: n = "count", size: r = "l
1332
1352
  });
1333
1353
  //#endregion
1334
1354
  //#region src/components/Pagination/Pagination.tsx
1335
- function bt(e, t, n, r) {
1355
+ function wt(e, t, n, r) {
1336
1356
  if (t <= n * 2 + 3 + r * 2) return Array.from({ length: t }, (e, t) => t + 1);
1337
1357
  let i = Math.max(e - n, r + 2), a = Math.min(e + n, t - r - 1), o = i > r + 2, s = a < t - r - 1, c = Array.from({ length: r }, (e, t) => t + 1), l = Array.from({ length: r }, (e, n) => t - r + 1 + n), u = [];
1338
1358
  if (o) {
@@ -1347,8 +1367,8 @@ function bt(e, t, n, r) {
1347
1367
  ...l
1348
1368
  ];
1349
1369
  }
1350
- var xt = "inline-flex items-center justify-center min-w-9 h-9 px-2 text-p-std rounded-md transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-300", St = "text-fg-default hover:bg-bg-subtle disabled:text-fg-disabled disabled:hover:bg-transparent disabled:cursor-not-allowed", Ct = i(function({ page: e, pageCount: t, onPageChange: n, siblingCount: r = 1, boundaryCount: i = 1, className: a, dataTestId: o, "aria-label": s, ...c }, l) {
1351
- let u = bt(e, t, r, i), d = e <= 1, f = e >= t;
1370
+ var Tt = "inline-flex items-center justify-center min-w-9 h-9 px-2 text-p-std rounded-md transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-300", Et = "text-fg-default hover:bg-bg-subtle disabled:text-fg-disabled disabled:hover:bg-transparent disabled:cursor-not-allowed", Dt = i(function({ page: e, pageCount: t, onPageChange: n, siblingCount: r = 1, boundaryCount: i = 1, className: a, dataTestId: o, "aria-label": s, ...c }, l) {
1371
+ let u = wt(e, t, r, i), d = e <= 1, f = e >= t;
1352
1372
  return /* @__PURE__ */ B("nav", {
1353
1373
  ref: l,
1354
1374
  "aria-label": s ?? "Pagination",
@@ -1361,7 +1381,7 @@ var xt = "inline-flex items-center justify-center min-w-9 h-9 px-2 text-p-std ro
1361
1381
  onClick: () => !d && n(e - 1),
1362
1382
  disabled: d,
1363
1383
  "aria-label": "Previous page",
1364
- className: H(xt, St),
1384
+ className: H(Tt, Et),
1365
1385
  children: /* @__PURE__ */ z(x, { className: "h-4 w-4" })
1366
1386
  }),
1367
1387
  u.map((t, r) => {
@@ -1375,7 +1395,7 @@ var xt = "inline-flex items-center justify-center min-w-9 h-9 px-2 text-p-std ro
1375
1395
  type: "button",
1376
1396
  onClick: () => n(t),
1377
1397
  "aria-current": i ? "page" : void 0,
1378
- className: H(xt, i ? "bg-brand-500 text-white font-semibold hover:bg-brand-600" : "text-fg-default hover:bg-bg-subtle"),
1398
+ className: H(Tt, i ? "bg-brand-500 text-white font-semibold hover:bg-brand-600" : "text-fg-default hover:bg-bg-subtle"),
1379
1399
  children: t
1380
1400
  }, t);
1381
1401
  }),
@@ -1384,12 +1404,12 @@ var xt = "inline-flex items-center justify-center min-w-9 h-9 px-2 text-p-std ro
1384
1404
  onClick: () => !f && n(e + 1),
1385
1405
  disabled: f,
1386
1406
  "aria-label": "Next page",
1387
- className: H(xt, St),
1407
+ className: H(Tt, Et),
1388
1408
  children: /* @__PURE__ */ z(S, { className: "h-4 w-4" })
1389
1409
  })
1390
1410
  ]
1391
1411
  });
1392
- }), wt = {
1412
+ }), Ot = {
1393
1413
  sm: {
1394
1414
  padding: "px-3 py-2",
1395
1415
  avatar: "sm",
@@ -1400,12 +1420,12 @@ var xt = "inline-flex items-center justify-center min-w-9 h-9 px-2 text-p-std ro
1400
1420
  avatar: "md",
1401
1421
  gap: "gap-3"
1402
1422
  }
1403
- }, Tt = {
1423
+ }, kt = {
1404
1424
  default: "border-border-default bg-bg-default hover:border-fg-tertiary/40",
1405
1425
  highlight: "border-brand-500 bg-brand-200/15 dark:bg-brand-500/10 ring-1 ring-brand-500/40",
1406
1426
  warning: "border-yellow-500 bg-yellow-50 dark:bg-yellow-900/20"
1407
- }, Et = i(function({ name: e, role: t, avatar: n, variant: r = "default", size: i = "md", badge: a, onClick: o, className: s, dataTestId: c, ...l }, u) {
1408
- let d = wt[i], f = Tt[r], p = /* @__PURE__ */ B(R, { children: [
1427
+ }, At = i(function({ name: e, role: t, avatar: n, variant: r = "default", size: i = "md", badge: a, onClick: o, className: s, dataTestId: c, ...l }, u) {
1428
+ let d = Ot[i], f = kt[r], p = /* @__PURE__ */ B(R, { children: [
1409
1429
  /* @__PURE__ */ z(K, {
1410
1430
  src: n,
1411
1431
  name: e,
@@ -1441,9 +1461,91 @@ var xt = "inline-flex items-center justify-center min-w-9 h-9 px-2 text-p-std ro
1441
1461
  ...l,
1442
1462
  children: p
1443
1463
  });
1444
- }), Dt = n(null), Ot = i(function({ name: e, value: t, defaultValue: n, onChange: r, disabled: i, size: a = "md", orientation: o = "vertical", children: s, className: c, dataTestId: u }, d) {
1464
+ }), jt = {
1465
+ sm: 29,
1466
+ lg: 45
1467
+ }, Mt = {
1468
+ sm: 2,
1469
+ lg: 4
1470
+ }, Nt = {
1471
+ sm: "h-1",
1472
+ lg: "h-2"
1473
+ }, Pt = {
1474
+ sm: "text-p-xs",
1475
+ lg: "text-p-sm"
1476
+ }, Ft = i(function({ variant: e = "linear", size: t = "lg", percent: n = 0, stepCount: r, currentStep: i, hideLabel: a = !1, dimension: o, loop: s = !1, className: c, dataTestId: l, ...u }, d) {
1477
+ let f = r && i ? i / r * 100 : n, p = Math.min(100, Math.max(0, f)), m = r ? `${i}/${r}` : `${Math.round(p)}%`;
1478
+ if (e === "circular") {
1479
+ let e = o ?? jt[t], n = e - 5, r = 2 * n * Math.PI, i = Mt[t];
1480
+ return /* @__PURE__ */ B("div", {
1481
+ ref: d,
1482
+ role: "progressbar",
1483
+ "aria-valuemin": 0,
1484
+ "aria-valuemax": 100,
1485
+ "aria-valuenow": s ? void 0 : p,
1486
+ "aria-valuetext": s ? void 0 : m,
1487
+ "data-test-id": l,
1488
+ className: H("relative inline-flex items-center justify-center", c),
1489
+ style: {
1490
+ width: e * 2,
1491
+ height: e * 2
1492
+ },
1493
+ ...u,
1494
+ children: [/* @__PURE__ */ B("svg", {
1495
+ width: e * 2,
1496
+ height: e * 2,
1497
+ viewBox: `0 0 ${e * 2} ${e * 2}`,
1498
+ className: H("-rotate-90", s && "animate-spin"),
1499
+ children: [/* @__PURE__ */ z("circle", {
1500
+ cx: e,
1501
+ cy: e,
1502
+ r: n,
1503
+ strokeWidth: i,
1504
+ className: "fill-none stroke-bg-subtle"
1505
+ }), /* @__PURE__ */ z("circle", {
1506
+ cx: e,
1507
+ cy: e,
1508
+ r: n,
1509
+ strokeWidth: i,
1510
+ strokeLinecap: "round",
1511
+ className: "fill-none stroke-brand-500 transition-[stroke-dashoffset] duration-300 ease-linear",
1512
+ style: {
1513
+ strokeDasharray: `${r}px`,
1514
+ strokeDashoffset: s ? `${r * .75}px` : `${r - r * p / 100}px`
1515
+ }
1516
+ })]
1517
+ }), !a && !s && /* @__PURE__ */ z("span", {
1518
+ className: H("absolute text-fg-secondary", Pt[t]),
1519
+ "data-test-id": l ? `${l}-text` : void 0,
1520
+ children: m
1521
+ })]
1522
+ });
1523
+ }
1524
+ return /* @__PURE__ */ B("div", {
1525
+ ref: d,
1526
+ role: "progressbar",
1527
+ "aria-valuemin": 0,
1528
+ "aria-valuemax": 100,
1529
+ "aria-valuenow": p,
1530
+ "aria-valuetext": m,
1531
+ "data-test-id": l,
1532
+ className: H("flex w-full items-center gap-2", c),
1533
+ ...u,
1534
+ children: [/* @__PURE__ */ z("div", {
1535
+ className: H("w-full overflow-hidden rounded-full bg-bg-subtle", Nt[t]),
1536
+ children: /* @__PURE__ */ z("div", {
1537
+ className: "h-full rounded-full bg-brand-500 transition-all duration-300 ease-linear",
1538
+ style: { width: `${p}%` }
1539
+ })
1540
+ }), !a && /* @__PURE__ */ z("span", {
1541
+ className: H("shrink-0 text-fg-secondary", Pt[t]),
1542
+ "data-test-id": l ? `${l}-text` : void 0,
1543
+ children: m
1544
+ })]
1545
+ });
1546
+ }), It = n(null), Lt = i(function({ name: e, value: t, defaultValue: n, onChange: r, disabled: i, size: a = "md", orientation: o = "vertical", children: s, className: c, dataTestId: u }, d) {
1445
1547
  let f = l(), p = e ?? f;
1446
- return /* @__PURE__ */ z(Dt.Provider, {
1548
+ return /* @__PURE__ */ z(It.Provider, {
1447
1549
  value: {
1448
1550
  name: p,
1449
1551
  value: t,
@@ -1460,14 +1562,14 @@ var xt = "inline-flex items-center justify-center min-w-9 h-9 px-2 text-p-std ro
1460
1562
  children: s
1461
1563
  })
1462
1564
  });
1463
- }), kt = {
1565
+ }), Rt = {
1464
1566
  md: "h-5 w-5",
1465
1567
  sm: "h-4 w-4"
1466
- }, At = {
1568
+ }, zt = {
1467
1569
  md: "h-2 w-2",
1468
1570
  sm: "h-1.5 w-1.5"
1469
- }, jt = i(function({ value: e, size: t, label: n, description: r, error: i = !1, id: a, disabled: o, checked: c, defaultChecked: u, onChange: d, className: f, dataTestId: p, ...m }, h) {
1470
- let g = s(Dt), _ = l(), v = a ?? _, y = t ?? g?.size ?? "md", b = o ?? g?.disabled, x = g !== null, S = x && g.value !== void 0 ? g.value === e : void 0, C = x && g.defaultValue !== void 0 ? g.defaultValue === e : void 0, w = x ? S : c, T = x ? C : u;
1571
+ }, Bt = i(function({ value: e, size: t, label: n, description: r, error: i = !1, id: a, disabled: o, checked: c, defaultChecked: u, onChange: d, className: f, dataTestId: p, ...m }, h) {
1572
+ let g = s(It), _ = l(), v = a ?? _, y = t ?? g?.size ?? "md", b = o ?? g?.disabled, x = g !== null, S = x && g.value !== void 0 ? g.value === e : void 0, C = x && g.defaultValue !== void 0 ? g.defaultValue === e : void 0, w = x ? S : c, T = x ? C : u;
1471
1573
  return /* @__PURE__ */ B("label", {
1472
1574
  htmlFor: v,
1473
1575
  "data-test-id": p,
@@ -1490,8 +1592,8 @@ var xt = "inline-flex items-center justify-center min-w-9 h-9 px-2 text-p-std ro
1490
1592
  "aria-invalid": i || void 0,
1491
1593
  ...m
1492
1594
  }), /* @__PURE__ */ z("span", {
1493
- className: H("flex items-center justify-center rounded-full border bg-bg-default transition-colors", kt[y], i ? "border-red-600" : "border-border-strong", !b && !i && "peer-hover:border-fg-tertiary", "peer-focus-visible:ring-2 peer-focus-visible:ring-brand-300 peer-focus-visible:ring-offset-1", "peer-checked:border-brand-500", b && "!bg-bg-subtle !border-border-default", "[&>span]:opacity-0 peer-checked:[&>span]:opacity-100"),
1494
- children: /* @__PURE__ */ z("span", { className: H("rounded-full bg-brand-500 transition-opacity", At[y], b && "!bg-fg-disabled") })
1595
+ className: H("flex items-center justify-center rounded-full border bg-bg-default transition-colors", Rt[y], i ? "border-red-600" : "border-border-strong", !b && !i && "peer-hover:border-fg-tertiary", "peer-focus-visible:ring-2 peer-focus-visible:ring-brand-300 peer-focus-visible:ring-offset-1", "peer-checked:border-brand-500", b && "!bg-bg-subtle !border-border-default", "[&>span]:opacity-0 peer-checked:[&>span]:opacity-100"),
1596
+ children: /* @__PURE__ */ z("span", { className: H("rounded-full bg-brand-500 transition-opacity", zt[y], b && "!bg-fg-disabled") })
1495
1597
  })]
1496
1598
  }), (n || r) && /* @__PURE__ */ B("span", {
1497
1599
  className: "flex flex-col gap-0.5",
@@ -1504,11 +1606,11 @@ var xt = "inline-flex items-center justify-center min-w-9 h-9 px-2 text-p-std ro
1504
1606
  })]
1505
1607
  })]
1506
1608
  });
1507
- }), Mt = {
1609
+ }), Vt = {
1508
1610
  lg: "h-12 text-p-md px-3.5",
1509
1611
  md: "h-10 text-p-std px-3",
1510
1612
  sm: "h-8 text-p-sm px-2.5"
1511
- }, Nt = i(function({ options: e, value: t, defaultValue: n, onChange: r, placeholder: i = "Select…", label: a, helperText: o, errorText: s, error: u = !1, size: p = "md", disabled: m, id: h, className: g, wrapperClassName: _, dataTestId: y }, x) {
1613
+ }, Ht = i(function({ options: e, value: t, defaultValue: n, onChange: r, placeholder: i = "Select…", label: a, helperText: o, errorText: s, error: u = !1, size: p = "md", disabled: m, id: h, className: g, wrapperClassName: _, dataTestId: y }, x) {
1512
1614
  let S = l(), C = h ?? S, [w, T] = f(!1), [E, ee] = f(n), D = t !== void 0, O = D ? t : E, k = d(null), [A, j] = f(-1), M = u || !!s, N = e.find((e) => e.value === O), te = (e) => {
1513
1615
  D || ee(e), r?.(e), T(!1);
1514
1616
  };
@@ -1562,7 +1664,7 @@ var xt = "inline-flex items-center justify-center min-w-9 h-9 px-2 text-p-std ro
1562
1664
  "aria-haspopup": "listbox",
1563
1665
  "aria-expanded": w,
1564
1666
  "aria-invalid": M || void 0,
1565
- className: H("inline-flex items-center justify-between w-full rounded-lg border bg-bg-default transition-colors outline-none", "text-left", M ? "border-red-600" : "border-border-default", !m && !M && "hover:border-border-strong", "focus-visible:ring-2", M ? "focus-visible:ring-red-300 focus-visible:border-red-600" : "focus-visible:ring-brand-300 focus-visible:border-brand-500", m && "bg-bg-container border-border-default cursor-not-allowed text-fg-disabled", Mt[p], g),
1667
+ className: H("inline-flex items-center justify-between w-full rounded-lg border bg-bg-default transition-colors outline-none", "text-left", M ? "border-red-600" : "border-border-default", !m && !M && "hover:border-border-strong", "focus-visible:ring-2", M ? "focus-visible:ring-red-300 focus-visible:border-red-600" : "focus-visible:ring-brand-300 focus-visible:border-brand-500", m && "bg-bg-container border-border-default cursor-not-allowed text-fg-disabled", Vt[p], g),
1566
1668
  children: [/* @__PURE__ */ z("span", {
1567
1669
  className: H("truncate", !N && "text-fg-tertiary"),
1568
1670
  children: N ? N.label : i
@@ -1599,19 +1701,19 @@ var xt = "inline-flex items-center justify-center min-w-9 h-9 px-2 text-p-std ro
1599
1701
  }) : null
1600
1702
  ]
1601
1703
  });
1602
- }), Pt = n(null);
1603
- function Ft() {
1604
- return s(Pt) ?? {
1704
+ }), Ut = n(null);
1705
+ function Wt() {
1706
+ return s(Ut) ?? {
1605
1707
  collapsed: !1,
1606
1708
  toggle: () => {}
1607
1709
  };
1608
1710
  }
1609
- var It = i(function({ defaultCollapsed: e = !1, collapsed: t, onCollapsedChange: n, children: r, className: i, logo: a, title: o, subtitle: s, dataTestId: c, ...l }, u) {
1711
+ var Gt = i(function({ defaultCollapsed: e = !1, collapsed: t, onCollapsedChange: n, children: r, className: i, logo: a, title: o, subtitle: s, dataTestId: c, ...l }, u) {
1610
1712
  let [d, p] = f(e), m = t !== void 0, h = m ? t : d, g = () => {
1611
1713
  let e = !h;
1612
1714
  m || p(e), n?.(e);
1613
1715
  };
1614
- return /* @__PURE__ */ z(Pt.Provider, {
1716
+ return /* @__PURE__ */ z(Ut.Provider, {
1615
1717
  value: {
1616
1718
  collapsed: h,
1617
1719
  toggle: g
@@ -1652,8 +1754,8 @@ var It = i(function({ defaultCollapsed: e = !1, collapsed: t, onCollapsedChange:
1652
1754
  })]
1653
1755
  })
1654
1756
  });
1655
- }), Lt = i(function({ icon: e, label: t, active: n, badge: r, children: i, onClick: a, href: o, className: s, dataTestId: c, ...l }, u) {
1656
- let { collapsed: d } = Ft(), [p, m] = f(n ?? !1), h = !!i, g = /* @__PURE__ */ B(R, { children: [e && /* @__PURE__ */ z("span", {
1757
+ }), Kt = i(function({ icon: e, label: t, active: n, badge: r, children: i, onClick: a, href: o, className: s, dataTestId: c, ...l }, u) {
1758
+ let { collapsed: d } = Wt(), [p, m] = f(n ?? !1), h = !!i, g = /* @__PURE__ */ B(R, { children: [e && /* @__PURE__ */ z("span", {
1657
1759
  className: "inline-flex shrink-0",
1658
1760
  children: e
1659
1761
  }), !d && /* @__PURE__ */ B(R, { children: [
@@ -1692,7 +1794,63 @@ var It = i(function({ defaultCollapsed: e = !1, collapsed: t, onCollapsedChange:
1692
1794
  className: "flex flex-col gap-0.5 pl-8",
1693
1795
  children: i
1694
1796
  })] });
1695
- }), Rt = {
1797
+ }), qt = {
1798
+ text: "h-[1em] mb-[0.4em] origin-[0%_55%] scale-y-[0.6] rounded-sm",
1799
+ circular: "size-10 rounded-full",
1800
+ rectangular: "h-4 w-full",
1801
+ rounded: "h-4 w-full rounded-md"
1802
+ }, Jt = {
1803
+ pulse: "animate-pulse",
1804
+ wave: [
1805
+ "relative overflow-hidden",
1806
+ "after:absolute after:inset-0 after:content-[''] after:-translate-x-full",
1807
+ "after:bg-gradient-to-r after:from-transparent after:via-white/60 after:to-transparent",
1808
+ "after:animate-skeleton-wave dark:after:via-white/10"
1809
+ ].join(" "),
1810
+ none: ""
1811
+ };
1812
+ function Yt(e) {
1813
+ if (e !== void 0) return typeof e == "number" ? `${e}px` : e;
1814
+ }
1815
+ var Xt = i(function({ variant: e = "text", animation: t = "pulse", width: n, height: r, count: i = 1, children: a, style: o, className: s, dataTestId: c, ...l }, u) {
1816
+ let d = a != null, f = Math.max(1, i), p = {
1817
+ ...n === void 0 ? null : { width: Yt(n) },
1818
+ ...r === void 0 ? null : { height: Yt(r) },
1819
+ ...o
1820
+ }, m = H("block bg-bg-subtle leading-none", qt[e], Jt[t]);
1821
+ return d ? /* @__PURE__ */ z("span", {
1822
+ ref: u,
1823
+ "data-test-id": c,
1824
+ className: H(m, "inline-block h-auto w-auto scale-100", s),
1825
+ style: p,
1826
+ ...l,
1827
+ children: /* @__PURE__ */ z("span", {
1828
+ className: "invisible inline-block",
1829
+ "aria-hidden": !0,
1830
+ children: a
1831
+ })
1832
+ }) : f === 1 ? /* @__PURE__ */ z("span", {
1833
+ ref: u,
1834
+ "data-test-id": c,
1835
+ className: H(m, s),
1836
+ style: p,
1837
+ role: "status",
1838
+ "aria-label": "Loading",
1839
+ ...l
1840
+ }) : /* @__PURE__ */ z("span", {
1841
+ ref: u,
1842
+ "data-test-id": c,
1843
+ className: H("block", s),
1844
+ ...l,
1845
+ children: Array.from({ length: f }, (e, t) => /* @__PURE__ */ z("span", {
1846
+ className: m,
1847
+ style: p,
1848
+ "aria-hidden": t !== 0 || void 0,
1849
+ role: t === 0 ? "status" : void 0,
1850
+ "aria-label": t === 0 ? "Loading" : void 0
1851
+ }, t))
1852
+ });
1853
+ }), Zt = {
1696
1854
  success: {
1697
1855
  container: "bg-gray-900 dark:bg-gray-700 text-white",
1698
1856
  icon: y
@@ -1713,19 +1871,19 @@ var It = i(function({ defaultCollapsed: e = !1, collapsed: t, onCollapsedChange:
1713
1871
  container: "bg-gray-900 dark:bg-gray-700 text-white",
1714
1872
  icon: T
1715
1873
  }
1716
- }, zt = {
1874
+ }, Qt = {
1717
1875
  success: "text-green-400",
1718
1876
  warning: "text-yellow-300",
1719
1877
  danger: "text-red-400",
1720
1878
  info: "text-blue-400",
1721
1879
  neutral: "text-white/70"
1722
- }, Bt = n(null);
1723
- function Vt() {
1724
- let e = s(Bt);
1880
+ }, $t = n(null);
1881
+ function en() {
1882
+ let e = s($t);
1725
1883
  if (!e) throw Error("useSnackbar must be used inside <SnackbarProvider>");
1726
1884
  return e;
1727
1885
  }
1728
- function Ht({ children: e, dataTestId: t }) {
1886
+ function tn({ children: e, dataTestId: t }) {
1729
1887
  let [n, r] = f([]), i = d(/* @__PURE__ */ new Map()), a = o((e) => {
1730
1888
  r((t) => t.filter((t) => t.id !== e));
1731
1889
  let t = i.current.get(e);
@@ -1748,7 +1906,7 @@ function Ht({ children: e, dataTestId: t }) {
1748
1906
  return () => {
1749
1907
  e.forEach(clearTimeout), e.clear();
1750
1908
  };
1751
- }, []), /* @__PURE__ */ B(Bt.Provider, {
1909
+ }, []), /* @__PURE__ */ B($t.Provider, {
1752
1910
  value: {
1753
1911
  show: s,
1754
1912
  dismiss: a
@@ -1757,14 +1915,14 @@ function Ht({ children: e, dataTestId: t }) {
1757
1915
  "data-test-id": t,
1758
1916
  className: "fixed left-1/2 -translate-x-1/2 bottom-6 z-[100] flex flex-col gap-2 w-[min(400px,calc(100vw-2rem))] pointer-events-none",
1759
1917
  children: n.map((e) => {
1760
- let { container: t, icon: n } = Rt[e.variant ?? "neutral"];
1918
+ let { container: t, icon: n } = Zt[e.variant ?? "neutral"];
1761
1919
  return /* @__PURE__ */ B("div", {
1762
1920
  role: "status",
1763
1921
  "data-test-id": e.dataTestId,
1764
1922
  className: H("pointer-events-auto flex items-center gap-3 px-4 py-3 rounded-lg shadow-z4", t),
1765
1923
  children: [
1766
1924
  /* @__PURE__ */ z(n, {
1767
- className: H("h-5 w-5 shrink-0", zt[e.variant ?? "neutral"]),
1925
+ className: H("h-5 w-5 shrink-0", Qt[e.variant ?? "neutral"]),
1768
1926
  "aria-hidden": !0
1769
1927
  }),
1770
1928
  /* @__PURE__ */ z("p", {
@@ -1794,15 +1952,15 @@ function Ht({ children: e, dataTestId: t }) {
1794
1952
  }
1795
1953
  //#endregion
1796
1954
  //#region src/components/Status/Status.tsx
1797
- var Ut = {
1955
+ var nn = {
1798
1956
  lg: "h-7 px-2.5 text-p-std gap-1.5",
1799
1957
  md: "h-6 px-2 text-p-sm gap-1.5",
1800
1958
  sm: "h-5 px-1.5 text-p-sm gap-1"
1801
- }, Wt = {
1959
+ }, rn = {
1802
1960
  lg: "h-2 w-2",
1803
1961
  md: "h-1.5 w-1.5",
1804
1962
  sm: "h-1.5 w-1.5"
1805
- }, Gt = {
1963
+ }, an = {
1806
1964
  general: {
1807
1965
  container: "bg-bg-subtle text-fg-default dark:text-fg-default",
1808
1966
  dot: "bg-gray-600 dark:bg-gray-400"
@@ -1835,19 +1993,19 @@ var Ut = {
1835
1993
  container: "bg-bg-subtle text-fg-disabled",
1836
1994
  dot: "bg-border-strong"
1837
1995
  }
1838
- }, Kt = i(function({ variant: e = "general", size: t = "md", leftIcon: n, rightIcon: r, dot: i = !0, className: a, children: o, dataTestId: s, ...c }, l) {
1839
- let { container: u, dot: d } = Gt[e];
1996
+ }, on = i(function({ variant: e = "general", size: t = "md", leftIcon: n, rightIcon: r, dot: i = !0, className: a, children: o, dataTestId: s, ...c }, l) {
1997
+ let { container: u, dot: d } = an[e];
1840
1998
  return /* @__PURE__ */ B("span", {
1841
1999
  ref: l,
1842
2000
  "data-test-id": s,
1843
- className: H("inline-flex items-center rounded-full font-medium whitespace-nowrap select-none", Ut[t], u, a),
2001
+ className: H("inline-flex items-center rounded-full font-medium whitespace-nowrap select-none", nn[t], u, a),
1844
2002
  ...c,
1845
2003
  children: [
1846
2004
  n ? /* @__PURE__ */ z("span", {
1847
2005
  className: "inline-flex shrink-0",
1848
2006
  children: n
1849
2007
  }) : i ? /* @__PURE__ */ z("span", {
1850
- className: H("inline-block shrink-0 rounded-full", Wt[t], d),
2008
+ className: H("inline-block shrink-0 rounded-full", rn[t], d),
1851
2009
  "aria-hidden": !0
1852
2010
  }) : null,
1853
2011
  o,
@@ -1857,13 +2015,13 @@ var Ut = {
1857
2015
  })
1858
2016
  ]
1859
2017
  });
1860
- }), qt = {
2018
+ }), sn = {
1861
2019
  md: "h-6 w-11",
1862
2020
  sm: "h-5 w-9"
1863
- }, Jt = {
2021
+ }, cn = {
1864
2022
  md: "h-5 w-5 peer-checked:translate-x-5",
1865
2023
  sm: "h-4 w-4 peer-checked:translate-x-4"
1866
- }, Yt = i(function({ size: e = "md", label: t, description: n, labelPosition: r = "right", id: i, disabled: a, checked: o, defaultChecked: s, className: c, dataTestId: u, ...d }, f) {
2024
+ }, ln = i(function({ size: e = "md", label: t, description: n, labelPosition: r = "right", id: i, disabled: a, checked: o, defaultChecked: s, className: c, dataTestId: u, ...d }, f) {
1867
2025
  let p = l(), m = i ?? p, h = /* @__PURE__ */ B("span", {
1868
2026
  className: "relative inline-flex shrink-0",
1869
2027
  children: [
@@ -1878,8 +2036,8 @@ var Ut = {
1878
2036
  className: "peer sr-only",
1879
2037
  ...d
1880
2038
  }),
1881
- /* @__PURE__ */ z("span", { className: H("rounded-full bg-gray-300 dark:bg-gray-700 transition-colors", qt[e], "peer-checked:bg-brand-500 dark:peer-checked:bg-brand-500", "peer-focus-visible:ring-2 peer-focus-visible:ring-brand-300 peer-focus-visible:ring-offset-2", a && "!bg-bg-subtle") }),
1882
- /* @__PURE__ */ z("span", { className: H("absolute top-0.5 left-0.5 rounded-full bg-white dark:bg-white shadow-z1 transition-transform", Jt[e]) })
2039
+ /* @__PURE__ */ z("span", { className: H("rounded-full bg-gray-300 dark:bg-gray-700 transition-colors", sn[e], "peer-checked:bg-brand-500 dark:peer-checked:bg-brand-500", "peer-focus-visible:ring-2 peer-focus-visible:ring-brand-300 peer-focus-visible:ring-offset-2", a && "!bg-bg-subtle") }),
2040
+ /* @__PURE__ */ z("span", { className: H("absolute top-0.5 left-0.5 rounded-full bg-white dark:bg-white shadow-z1 transition-transform", cn[e]) })
1883
2041
  ]
1884
2042
  });
1885
2043
  return !t && !n ? /* @__PURE__ */ z("label", {
@@ -1902,20 +2060,20 @@ var Ut = {
1902
2060
  })]
1903
2061
  })]
1904
2062
  });
1905
- }), Xt = {
2063
+ }), un = {
1906
2064
  comfortable: "[&_td]:py-3 [&_th]:py-3",
1907
2065
  compact: "[&_td]:py-2 [&_th]:py-2"
1908
- }, Zt = {
2066
+ }, dn = {
1909
2067
  left: "text-left",
1910
2068
  center: "text-center",
1911
2069
  right: "text-right"
1912
- }, Qt = i(function({ density: e = "comfortable", striped: t = !1, hoverable: n = !0, stickyHeader: r = !1, wrapperClassName: i, className: a, children: o, dataTestId: s, ...c }, l) {
2070
+ }, fn = i(function({ density: e = "comfortable", striped: t = !1, hoverable: n = !0, stickyHeader: r = !1, wrapperClassName: i, className: a, children: o, dataTestId: s, ...c }, l) {
1913
2071
  return /* @__PURE__ */ z("div", {
1914
2072
  "data-test-id": s,
1915
2073
  className: H("w-full overflow-x-auto rounded-lg border border-border-default bg-bg-default", i),
1916
2074
  children: /* @__PURE__ */ z("table", {
1917
2075
  ref: l,
1918
- className: H("w-full border-collapse text-p-std text-fg-default", Xt[e], a),
2076
+ className: H("w-full border-collapse text-p-std text-fg-default", un[e], a),
1919
2077
  "data-striped": t || void 0,
1920
2078
  "data-hoverable": n || void 0,
1921
2079
  "data-sticky": r || void 0,
@@ -1923,7 +2081,7 @@ var Ut = {
1923
2081
  children: o
1924
2082
  })
1925
2083
  });
1926
- }), $t = i(function({ className: e, children: t, dataTestId: n, ...r }, i) {
2084
+ }), pn = i(function({ className: e, children: t, dataTestId: n, ...r }, i) {
1927
2085
  return /* @__PURE__ */ z("thead", {
1928
2086
  ref: i,
1929
2087
  "data-test-id": n,
@@ -1931,7 +2089,7 @@ var Ut = {
1931
2089
  ...r,
1932
2090
  children: t
1933
2091
  });
1934
- }), en = i(function({ className: e, children: t, dataTestId: n, ...r }, i) {
2092
+ }), mn = i(function({ className: e, children: t, dataTestId: n, ...r }, i) {
1935
2093
  return /* @__PURE__ */ z("tbody", {
1936
2094
  ref: i,
1937
2095
  "data-test-id": n,
@@ -1939,7 +2097,7 @@ var Ut = {
1939
2097
  ...r,
1940
2098
  children: t
1941
2099
  });
1942
- }), tn = i(function({ className: e, children: t, dataTestId: n, ...r }, i) {
2100
+ }), hn = i(function({ className: e, children: t, dataTestId: n, ...r }, i) {
1943
2101
  return /* @__PURE__ */ z("tr", {
1944
2102
  ref: i,
1945
2103
  "data-test-id": n,
@@ -1947,7 +2105,7 @@ var Ut = {
1947
2105
  ...r,
1948
2106
  children: t
1949
2107
  });
1950
- }), nn = i(function({ sortable: e = !1, sortDir: t = null, onSortChange: n, align: r = "left", className: i, children: a, dataTestId: o, ...s }, c) {
2108
+ }), gn = i(function({ sortable: e = !1, sortDir: t = null, onSortChange: n, align: r = "left", className: i, children: a, dataTestId: o, ...s }, c) {
1951
2109
  let l = /* @__PURE__ */ B(R, { children: [a, e && /* @__PURE__ */ z("span", {
1952
2110
  className: "inline-flex ml-1 align-middle text-fg-tertiary",
1953
2111
  children: z(t === "asc" ? g : t === "desc" ? h : C, { className: "h-3.5 w-3.5" })
@@ -1956,7 +2114,7 @@ var Ut = {
1956
2114
  ref: c,
1957
2115
  scope: "col",
1958
2116
  "data-test-id": o,
1959
- className: H("px-4 whitespace-nowrap", Zt[r], i),
2117
+ className: H("px-4 whitespace-nowrap", dn[r], i),
1960
2118
  "aria-sort": t === "asc" ? "ascending" : t === "desc" ? "descending" : void 0,
1961
2119
  ...s,
1962
2120
  children: e ? /* @__PURE__ */ z("button", {
@@ -1968,37 +2126,37 @@ var Ut = {
1968
2126
  children: l
1969
2127
  }) : l
1970
2128
  });
1971
- }), rn = i(function({ align: e = "left", className: t, children: n, dataTestId: r, ...i }, a) {
2129
+ }), _n = i(function({ align: e = "left", className: t, children: n, dataTestId: r, ...i }, a) {
1972
2130
  return /* @__PURE__ */ z("td", {
1973
2131
  ref: a,
1974
2132
  "data-test-id": r,
1975
- className: H("px-4", Zt[e], t),
2133
+ className: H("px-4", dn[e], t),
1976
2134
  ...i,
1977
2135
  children: n
1978
2136
  });
1979
2137
  });
1980
- function an({ columns: e, rows: t, rowKey: n, empty: r = "No results", density: i, striped: a, hoverable: o, sortKey: s, sortDir: c = null, onSortChange: l, onRowClick: u, className: d, dataTestId: f }) {
1981
- return /* @__PURE__ */ B(Qt, {
2138
+ function vn({ columns: e, rows: t, rowKey: n, empty: r = "No results", density: i, striped: a, hoverable: o, sortKey: s, sortDir: c = null, onSortChange: l, onRowClick: u, className: d, dataTestId: f }) {
2139
+ return /* @__PURE__ */ B(fn, {
1982
2140
  density: i,
1983
2141
  striped: a,
1984
2142
  hoverable: o,
1985
2143
  className: d,
1986
2144
  dataTestId: f,
1987
- children: [/* @__PURE__ */ z($t, { children: /* @__PURE__ */ z(tn, { children: e.map((e) => /* @__PURE__ */ z(nn, {
2145
+ children: [/* @__PURE__ */ z(pn, { children: /* @__PURE__ */ z(hn, { children: e.map((e) => /* @__PURE__ */ z(gn, {
1988
2146
  align: e.align,
1989
2147
  sortable: e.sortable,
1990
2148
  sortDir: s === e.key ? c : null,
1991
2149
  onSortChange: (t) => l?.(e.key, t),
1992
2150
  children: e.header
1993
- }, e.key)) }) }), /* @__PURE__ */ z(en, { children: t.length === 0 ? /* @__PURE__ */ z(tn, { children: /* @__PURE__ */ z(rn, {
2151
+ }, e.key)) }) }), /* @__PURE__ */ z(mn, { children: t.length === 0 ? /* @__PURE__ */ z(hn, { children: /* @__PURE__ */ z(_n, {
1994
2152
  colSpan: e.length,
1995
2153
  className: "text-center text-fg-tertiary py-10",
1996
2154
  align: "center",
1997
2155
  children: r
1998
- }) }) : t.map((t, r) => /* @__PURE__ */ z(tn, {
2156
+ }) }) : t.map((t, r) => /* @__PURE__ */ z(hn, {
1999
2157
  onClick: u ? () => u(t) : void 0,
2000
2158
  className: u ? "cursor-pointer" : void 0,
2001
- children: e.map((e) => /* @__PURE__ */ z(rn, {
2159
+ children: e.map((e) => /* @__PURE__ */ z(_n, {
2002
2160
  align: e.align,
2003
2161
  children: e.render ? e.render(t) : e.accessor ? e.accessor(t) : null
2004
2162
  }, e.key))
@@ -2007,13 +2165,13 @@ function an({ columns: e, rows: t, rowKey: n, empty: r = "No results", density:
2007
2165
  }
2008
2166
  //#endregion
2009
2167
  //#region src/components/Tabs/Tabs.tsx
2010
- var on = n(null);
2011
- function sn() {
2012
- let e = s(on);
2168
+ var yn = n(null);
2169
+ function bn() {
2170
+ let e = s(yn);
2013
2171
  if (!e) throw Error("Tab components must be used inside <Tabs>");
2014
2172
  return e;
2015
2173
  }
2016
- function cn(t) {
2174
+ function xn(t) {
2017
2175
  let n = [];
2018
2176
  e.forEach(t, (e) => {
2019
2177
  a(e) && n.push(e);
@@ -2027,9 +2185,9 @@ function cn(t) {
2027
2185
  }
2028
2186
  return "";
2029
2187
  }
2030
- var ln = i(function({ defaultValue: e, value: t, onValueChange: n, variant: r = "underline", size: i = "md", className: a, children: o, dataTestId: s, ...c }, l) {
2031
- let [u, d] = f(() => e ?? cn(o)), p = t !== void 0, m = p ? t : u;
2032
- return /* @__PURE__ */ z(on.Provider, {
2188
+ var Sn = i(function({ defaultValue: e, value: t, onValueChange: n, variant: r = "underline", size: i = "md", className: a, children: o, dataTestId: s, ...c }, l) {
2189
+ let [u, d] = f(() => e ?? xn(o)), p = t !== void 0, m = p ? t : u;
2190
+ return /* @__PURE__ */ z(yn.Provider, {
2033
2191
  value: {
2034
2192
  value: m,
2035
2193
  setValue: (e) => {
@@ -2046,8 +2204,8 @@ var ln = i(function({ defaultValue: e, value: t, onValueChange: n, variant: r =
2046
2204
  children: o
2047
2205
  })
2048
2206
  });
2049
- }), un = i(function({ children: e, className: t, dataTestId: n, ...r }, i) {
2050
- let { variant: a } = sn();
2207
+ }), Cn = i(function({ children: e, className: t, dataTestId: n, ...r }, i) {
2208
+ let { variant: a } = bn();
2051
2209
  return /* @__PURE__ */ z("div", {
2052
2210
  ref: i,
2053
2211
  role: "tablist",
@@ -2057,12 +2215,12 @@ var ln = i(function({ defaultValue: e, value: t, onValueChange: n, variant: r =
2057
2215
  children: e
2058
2216
  });
2059
2217
  });
2060
- un.displayName = "TabList";
2061
- var dn = {
2218
+ Cn.displayName = "TabList";
2219
+ var wn = {
2062
2220
  lg: "h-11 px-4 text-p-md",
2063
2221
  md: "h-10 px-3 text-p-std",
2064
2222
  sm: "h-8 px-2.5 text-p-sm"
2065
- }, fn = {
2223
+ }, Tn = {
2066
2224
  underline: {
2067
2225
  on: "bg-brand-500 text-white",
2068
2226
  off: "bg-bg-subtle text-fg-secondary"
@@ -2075,8 +2233,8 @@ var dn = {
2075
2233
  on: "bg-brand-500 text-white",
2076
2234
  off: "bg-bg-subtle text-fg-secondary"
2077
2235
  }
2078
- }, pn = i(function({ value: e, children: t, disabled: n, icon: r, badge: i, className: a, dataTestId: o, onClick: s, ...c }, l) {
2079
- let { value: u, setValue: d, variant: f, size: p } = sn(), m = u === e, h = i != null && i !== !1;
2236
+ }, En = i(function({ value: e, children: t, disabled: n, icon: r, badge: i, className: a, dataTestId: o, onClick: s, ...c }, l) {
2237
+ let { value: u, setValue: d, variant: f, size: p } = bn(), m = u === e, h = i != null && i !== !1;
2080
2238
  return /* @__PURE__ */ B("button", {
2081
2239
  ref: l,
2082
2240
  type: "button",
@@ -2087,7 +2245,7 @@ var dn = {
2087
2245
  onClick: (t) => {
2088
2246
  n || (d(e), s?.(t));
2089
2247
  },
2090
- className: H(H("group relative inline-flex items-center justify-center gap-2 font-medium outline-none transition-colors", "focus-visible:ring-2 focus-visible:ring-brand-300 focus-visible:ring-offset-1 focus-visible:rounded-md", dn[p], n && "opacity-50 cursor-not-allowed"), f === "underline" ? H("rounded-t-lg", m ? "text-fg-default" : "text-fg-secondary hover:text-fg-default hover:bg-bg-subtle/60") : f === "pills" ? H("rounded-full", m ? "bg-bg-default text-fg-default shadow-z1" : "bg-transparent text-fg-secondary hover:text-fg-default") : H("border-r border-border-default last:border-r-0", m ? "bg-bg-default text-fg-default" : "bg-transparent text-fg-secondary hover:bg-bg-subtle"), a),
2248
+ className: H(H("group relative inline-flex items-center justify-center gap-2 font-medium outline-none transition-colors", "focus-visible:ring-2 focus-visible:ring-brand-300 focus-visible:ring-offset-1 focus-visible:rounded-md", wn[p], n && "opacity-50 cursor-not-allowed"), f === "underline" ? H("rounded-t-lg", m ? "text-fg-default" : "text-fg-secondary hover:text-fg-default hover:bg-bg-subtle/60") : f === "pills" ? H("rounded-full", m ? "bg-bg-default text-fg-default shadow-z1" : "bg-transparent text-fg-secondary hover:text-fg-default") : H("border-r border-border-default last:border-r-0", m ? "bg-bg-default text-fg-default" : "bg-transparent text-fg-secondary hover:bg-bg-subtle"), a),
2091
2249
  ...c,
2092
2250
  children: [
2093
2251
  r && /* @__PURE__ */ z("span", {
@@ -2099,7 +2257,7 @@ var dn = {
2099
2257
  children: t
2100
2258
  }),
2101
2259
  h && /* @__PURE__ */ z("span", {
2102
- className: H("inline-flex items-center justify-center shrink-0 rounded-full px-1.5 h-5 min-w-[1.25rem]", "text-label-xs font-semibold tabular-nums leading-none transition-colors", m ? fn[f].on : fn[f].off),
2260
+ className: H("inline-flex items-center justify-center shrink-0 rounded-full px-1.5 h-5 min-w-[1.25rem]", "text-label-xs font-semibold tabular-nums leading-none transition-colors", m ? Tn[f].on : Tn[f].off),
2103
2261
  children: i
2104
2262
  }),
2105
2263
  f === "underline" && /* @__PURE__ */ z("span", {
@@ -2108,8 +2266,8 @@ var dn = {
2108
2266
  })
2109
2267
  ]
2110
2268
  });
2111
- }), mn = i(function({ value: e, children: t, className: n, dataTestId: r, ...i }, a) {
2112
- let { value: o } = sn();
2269
+ }), Dn = i(function({ value: e, children: t, className: n, dataTestId: r, ...i }, a) {
2270
+ let { value: o } = bn();
2113
2271
  return o === e ? /* @__PURE__ */ z("div", {
2114
2272
  ref: a,
2115
2273
  role: "tabpanel",
@@ -2118,7 +2276,7 @@ var dn = {
2118
2276
  ...i,
2119
2277
  children: t
2120
2278
  }) : null;
2121
- }), hn = {
2279
+ }), On = {
2122
2280
  "h-xl": "text-h-xl",
2123
2281
  "h-lg": "text-h-lg",
2124
2282
  "h-md": "text-h-md",
@@ -2136,12 +2294,12 @@ var dn = {
2136
2294
  "label-sm": "text-label-sm",
2137
2295
  "label-xs": "text-label-xs",
2138
2296
  "label-xxs": "text-label-xxs"
2139
- }, gn = {
2297
+ }, kn = {
2140
2298
  normal: "font-normal",
2141
2299
  medium: "font-medium",
2142
2300
  semibold: "font-semibold",
2143
2301
  bold: "font-bold"
2144
- }, _n = {
2302
+ }, An = {
2145
2303
  default: "text-fg-default",
2146
2304
  secondary: "text-fg-secondary",
2147
2305
  tertiary: "text-fg-tertiary",
@@ -2152,7 +2310,7 @@ var dn = {
2152
2310
  success: "text-fg-success",
2153
2311
  warning: "text-fg-warning",
2154
2312
  danger: "text-fg-danger"
2155
- }, vn = {
2313
+ }, jn = {
2156
2314
  "h-xl": "h1",
2157
2315
  "h-lg": "h1",
2158
2316
  "h-md": "h2",
@@ -2170,14 +2328,14 @@ var dn = {
2170
2328
  "label-sm": "span",
2171
2329
  "label-xs": "span",
2172
2330
  "label-xxs": "span"
2173
- }, yn = i(function({ variant: e = "p-std", weight: t, color: n = "default", as: i, truncate: a, className: o, children: s, dataTestId: c, ...l }, u) {
2174
- return r(i ?? vn[e], {
2331
+ }, Mn = i(function({ variant: e = "p-std", weight: t, color: n = "default", as: i, truncate: a, className: o, children: s, dataTestId: c, ...l }, u) {
2332
+ return r(i ?? jn[e], {
2175
2333
  ref: u,
2176
2334
  "data-test-id": c,
2177
- className: H(hn[e], t && gn[t], _n[n], a && "truncate", o),
2335
+ className: H(On[e], t && kn[t], An[n], a && "truncate", o),
2178
2336
  ...l
2179
2337
  }, s);
2180
- }), bn = i(function({ label: e, helperText: t, errorText: n, error: r = !1, id: i, disabled: a, required: o, maxLength: s, showCount: c = !1, className: u, wrapperClassName: d, value: f, defaultValue: p, rows: m = 4, dataTestId: h, ...g }, _) {
2338
+ }), Nn = i(function({ label: e, helperText: t, errorText: n, error: r = !1, id: i, disabled: a, required: o, maxLength: s, showCount: c = !1, className: u, wrapperClassName: d, value: f, defaultValue: p, rows: m = 4, dataTestId: h, ...g }, _) {
2181
2339
  let v = l(), y = i ?? v, b = r || !!n, x = n ? `${y}-error` : t ? `${y}-help` : void 0, S = f === void 0 ? p === void 0 ? 0 : String(p).length : String(f).length;
2182
2340
  return /* @__PURE__ */ B("div", {
2183
2341
  className: H("flex flex-col gap-1.5 w-full", d),
@@ -2230,20 +2388,20 @@ var dn = {
2230
2388
  })
2231
2389
  ]
2232
2390
  });
2233
- }), xn = {
2391
+ }), Pn = {
2234
2392
  lg: "px-3 py-2 text-p-std",
2235
2393
  sm: "px-2 py-1 text-p-sm"
2236
- }, Sn = {
2394
+ }, Fn = {
2237
2395
  top: "bottom-full left-1/2 -translate-x-1/2 mb-2",
2238
2396
  bottom: "top-full left-1/2 -translate-x-1/2 mt-2",
2239
2397
  left: "right-full top-1/2 -translate-y-1/2 mr-2",
2240
2398
  right: "left-full top-1/2 -translate-y-1/2 ml-2"
2241
- }, Cn = {
2399
+ }, In = {
2242
2400
  top: "top-full left-1/2 -translate-x-1/2 border-t-fg-default border-x-transparent border-b-transparent",
2243
2401
  bottom: "bottom-full left-1/2 -translate-x-1/2 border-b-fg-default border-x-transparent border-t-transparent",
2244
2402
  left: "left-full top-1/2 -translate-y-1/2 border-l-fg-default border-y-transparent border-r-transparent",
2245
2403
  right: "right-full top-1/2 -translate-y-1/2 border-r-fg-default border-y-transparent border-l-transparent"
2246
- }, wn = i(function({ content: e, children: n, side: r = "top", size: i = "sm", delay: o = 150, className: s, dataTestId: c }, u) {
2404
+ }, Ln = i(function({ content: e, children: n, side: r = "top", size: i = "sm", delay: o = 150, className: s, dataTestId: c }, u) {
2247
2405
  let [p, m] = f(!1), h = d(null), g = l(), _ = () => {
2248
2406
  h.current && clearTimeout(h.current), h.current = setTimeout(() => m(!0), o);
2249
2407
  }, v = () => {
@@ -2264,14 +2422,14 @@ var dn = {
2264
2422
  }), p && /* @__PURE__ */ B("span", {
2265
2423
  role: "tooltip",
2266
2424
  id: g,
2267
- className: H("absolute z-50 whitespace-nowrap rounded-md bg-fg-default text-bg-default shadow-z3 pointer-events-none select-none", xn[i], Sn[r], s),
2425
+ className: H("absolute z-50 whitespace-nowrap rounded-md bg-fg-default text-bg-default shadow-z3 pointer-events-none select-none", Pn[i], Fn[r], s),
2268
2426
  children: [e, /* @__PURE__ */ z("span", {
2269
2427
  "aria-hidden": !0,
2270
- className: H("absolute h-0 w-0 border-4", Cn[r])
2428
+ className: H("absolute h-0 w-0 border-4", In[r])
2271
2429
  })]
2272
2430
  })]
2273
2431
  });
2274
- }), Tn = i(function({ accept: e, multiple: t = !1, maxSizeMB: n, hint: r, onFiles: i, disabled: a, className: o, dataTestId: s, ...c }, l) {
2432
+ }), Rn = i(function({ accept: e, multiple: t = !1, maxSizeMB: n, hint: r, onFiles: i, disabled: a, className: o, dataTestId: s, ...c }, l) {
2275
2433
  let u = d(null), [p, m] = f(!1), h = (e) => {
2276
2434
  if (e.preventDefault(), m(!1), a) return;
2277
2435
  let t = Array.from(e.dataTransfer.files ?? []);
@@ -2326,15 +2484,15 @@ var dn = {
2326
2484
  })
2327
2485
  ]
2328
2486
  });
2329
- }), En = {
2487
+ }), zn = {
2330
2488
  processing: "border-border-default bg-bg-default",
2331
2489
  completed: "border-border-default bg-bg-default",
2332
2490
  error: "border-red-300 bg-bg-danger-lighter"
2333
- }, Dn = i(function({ name: e, meta: t, status: n = "processing", progress: r = 0, errorText: i, onRetry: a, onRemove: o, className: s, dataTestId: c, ...l }, u) {
2491
+ }, Bn = i(function({ name: e, meta: t, status: n = "processing", progress: r = 0, errorText: i, onRetry: a, onRemove: o, className: s, dataTestId: c, ...l }, u) {
2334
2492
  return /* @__PURE__ */ B("div", {
2335
2493
  ref: u,
2336
2494
  "data-test-id": c,
2337
- className: H("flex items-start gap-3 px-3 py-2.5 rounded-lg border", En[n], s),
2495
+ className: H("flex items-start gap-3 px-3 py-2.5 rounded-lg border", zn[n], s),
2338
2496
  ...l,
2339
2497
  children: [
2340
2498
  /* @__PURE__ */ z("div", {
@@ -2417,7 +2575,7 @@ var dn = {
2417
2575
  100: "#f2f5f8",
2418
2576
  50: "#f5f7fa",
2419
2577
  20: "#f7f9fc"
2420
- }, X = "#FEFEFE", On = {
2578
+ }, X = "#FEFEFE", Vn = {
2421
2579
  900: "#0b4627",
2422
2580
  800: "#0f5c33",
2423
2581
  700: "#3D8B46",
@@ -2439,7 +2597,7 @@ var dn = {
2439
2597
  200: "#9ACAFA",
2440
2598
  100: "#C1DEFC",
2441
2599
  50: "#E6F2FE"
2442
- }, kn = {
2600
+ }, Hn = {
2443
2601
  900: "#081FA6",
2444
2602
  800: "#0E2AB2",
2445
2603
  700: "#2431B9",
@@ -2451,7 +2609,7 @@ var dn = {
2451
2609
  100: "#CBC4ED",
2452
2610
  50: "#EAE7F7",
2453
2611
  20: "#F5F3FB"
2454
- }, An = {
2612
+ }, Un = {
2455
2613
  900: "#4A0A20",
2456
2614
  800: "#79012F",
2457
2615
  700: "#A2023F",
@@ -2485,22 +2643,22 @@ var dn = {
2485
2643
  200: "#F7DE8E",
2486
2644
  100: "#FAEBB9",
2487
2645
  50: "#FDF7E4"
2488
- }, jn = {
2646
+ }, Wn = {
2489
2647
  brand: J,
2490
2648
  gray: Y,
2491
- green: On,
2649
+ green: Vn,
2492
2650
  blue: Z,
2493
- purple: kn,
2494
- pink: An,
2651
+ purple: Hn,
2652
+ pink: Un,
2495
2653
  red: Q,
2496
2654
  yellow: $
2497
- }, Mn = {
2655
+ }, Gn = {
2498
2656
  bgDefault: X,
2499
2657
  bgContainer: Y[50],
2500
2658
  bgSubtle: Y[100],
2501
2659
  bgBrandLighter: J[20],
2502
2660
  bgInfoLighter: Z[50],
2503
- bgSuccessLighter: On[50],
2661
+ bgSuccessLighter: Vn[50],
2504
2662
  bgWarningLighter: $[50],
2505
2663
  bgDangerLighter: Q[50],
2506
2664
  fgDefault: Y[900],
@@ -2510,7 +2668,7 @@ var dn = {
2510
2668
  fgInverse: X,
2511
2669
  fgBrand: J[500],
2512
2670
  fgInfo: Z[600],
2513
- fgSuccess: On[600],
2671
+ fgSuccess: Vn[600],
2514
2672
  fgWarning: $[800],
2515
2673
  fgDanger: Q[800],
2516
2674
  borderDefault: Y[200],
@@ -2524,8 +2682,8 @@ var dn = {
2524
2682
  iconInfo: Z[600],
2525
2683
  iconDanger: Q[800],
2526
2684
  iconWarning: $[800]
2527
- }, Nn = {
2528
- ...Mn,
2685
+ }, Kn = {
2686
+ ...Gn,
2529
2687
  bgDefault: "#0B1120",
2530
2688
  bgContainer: "#0F172A",
2531
2689
  bgSubtle: "#121C30",
@@ -2543,7 +2701,7 @@ var dn = {
2543
2701
  borderStrong: "rgba(255, 255, 255, 0.10)",
2544
2702
  iconPrimary: X,
2545
2703
  iconSecondary: Y[400]
2546
- }, Pn = {
2704
+ }, qn = {
2547
2705
  ps: [
2548
2706
  "Noto Sans Armenian",
2549
2707
  "Noto Sans",
@@ -2558,7 +2716,7 @@ var dn = {
2558
2716
  "system-ui",
2559
2717
  "sans-serif"
2560
2718
  ]
2561
- }, Fn = {
2719
+ }, Jn = {
2562
2720
  xl: {
2563
2721
  fontSize: "64px",
2564
2722
  lineHeight: "72px"
@@ -2583,7 +2741,7 @@ var dn = {
2583
2741
  fontSize: "24px",
2584
2742
  lineHeight: "32px"
2585
2743
  }
2586
- }, In = {
2744
+ }, Yn = {
2587
2745
  lg: {
2588
2746
  fontSize: "20px",
2589
2747
  lineHeight: "28px"
@@ -2604,7 +2762,7 @@ var dn = {
2604
2762
  fontSize: "10px",
2605
2763
  lineHeight: "14px"
2606
2764
  }
2607
- }, Ln = {
2765
+ }, Xn = {
2608
2766
  lg: {
2609
2767
  fontSize: "20px",
2610
2768
  lineHeight: "28px"
@@ -2629,19 +2787,19 @@ var dn = {
2629
2787
  fontSize: "6px",
2630
2788
  lineHeight: "6px"
2631
2789
  }
2632
- }, Rn = {
2633
- headline: Fn,
2634
- paragraph: In,
2635
- label: Ln
2636
- }, zn = {
2790
+ }, Zn = {
2791
+ headline: Jn,
2792
+ paragraph: Yn,
2793
+ label: Xn
2794
+ }, Qn = {
2637
2795
  sm: "2rem",
2638
2796
  md: "2.5rem",
2639
2797
  lg: "3rem"
2640
- }, Bn = {
2798
+ }, $n = {
2641
2799
  sm: "0.875rem",
2642
2800
  md: "1rem",
2643
2801
  lg: "1.25rem"
2644
- }, Vn = {
2802
+ }, er = {
2645
2803
  xs: "2px",
2646
2804
  sm: "4px",
2647
2805
  md: "8px",
@@ -2650,7 +2808,7 @@ var dn = {
2650
2808
  "2xl": "20px",
2651
2809
  "3xl": "24px",
2652
2810
  full: "9999px"
2653
- }, Hn = {
2811
+ }, tr = {
2654
2812
  z1: "0 1px 2px 0 rgba(0, 0, 0, 0.06)",
2655
2813
  z2: "0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px 0 rgba(0, 0, 0, 0.04)",
2656
2814
  z3: "0 4px 8px 0 rgba(0, 0, 0, 0.08), 0 2px 4px 0 rgba(0, 0, 0, 0.04)",
@@ -2658,6 +2816,6 @@ var dn = {
2658
2816
  z5: "0 8px 16px 0 rgba(0, 0, 0, 0.12), 0 24px 32px 0 rgba(0, 0, 0, 0.12)"
2659
2817
  };
2660
2818
  //#endregion
2661
- export { W as Accordion, G as AccordionItem, K as Avatar, ue as AvatarGroup, he as Badge, be as Button, Se as ButtonGroup, Te as Card, Oe as Checkbox, an as DataTable, Ie as DatePicker, Ve as Drawer, qe as DropdownContent, Je as DropdownItem, Xe as DropdownLabel, Ge as DropdownMenu, Ye as DropdownSeparator, Ke as DropdownTrigger, $e as Filter, nt as IconTile, rt as InfoField, at as InlineAlert, ut as Input, pt as Modal, mt as MultiSelect, yt as NotificationBadge, Ct as Pagination, Et as PersonCard, jt as Radio, Ot as RadioGroup, Nt as Select, It as Sidebar, Lt as SidebarItem, Ht as SnackbarProvider, Kt as Status, Yt as Switch, en as TBody, rn as TD, nn as TH, $t as THead, tn as TR, pn as Tab, un as TabList, mn as TabPanel, Qt as Table, ln as Tabs, yn as Text, bn as TextArea, wn as Tooltip, Tn as Upload, Dn as UploadItem, Z as blue, J as brand, H as cn, jn as colorPrimitives, zn as controlHeight, Nn as darkTheme, Pn as fontFamily, Y as gray, On as green, Fn as headline, Bn as iconSize, Ln as label, Mn as lightTheme, In as paragraph, An as pink, kn as purple, Vn as radius, Q as red, Hn as shadows, Rn as typography, Vt as useSnackbar, X as white, $ as yellow };
2819
+ export { W as Accordion, G as AccordionItem, K as Avatar, ue as AvatarGroup, he as Badge, be as Button, Se as ButtonGroup, Te as Card, Oe as Checkbox, vn as DataTable, Ie as DatePicker, Be as Divider, Ge as Drawer, Ze as DropdownContent, Qe as DropdownItem, et as DropdownLabel, Ye as DropdownMenu, $e as DropdownSeparator, Xe as DropdownTrigger, rt as Filter, ot as IconTile, st as InfoField, lt as InlineAlert, mt as Input, _t as Modal, vt as MultiSelect, Ct as NotificationBadge, Dt as Pagination, At as PersonCard, Ft as Progress, Bt as Radio, Lt as RadioGroup, Ht as Select, Gt as Sidebar, Kt as SidebarItem, Xt as Skeleton, tn as SnackbarProvider, on as Status, ln as Switch, mn as TBody, _n as TD, gn as TH, pn as THead, hn as TR, En as Tab, Cn as TabList, Dn as TabPanel, fn as Table, Sn as Tabs, Mn as Text, Nn as TextArea, Ln as Tooltip, Rn as Upload, Bn as UploadItem, Z as blue, J as brand, H as cn, Wn as colorPrimitives, Qn as controlHeight, Kn as darkTheme, qn as fontFamily, Y as gray, Vn as green, Jn as headline, $n as iconSize, Xn as label, Gn as lightTheme, Yn as paragraph, Un as pink, Hn as purple, er as radius, Q as red, tr as shadows, Zn as typography, en as useSnackbar, X as white, $ as yellow };
2662
2820
 
2663
2821
  //# sourceMappingURL=index.js.map