quickit-ui 0.1.20 → 0.1.21

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.
@@ -3428,19 +3428,19 @@ var Kr = a(function({ children: e, className: t, htmlFor: n, optional: r = !1, r
3428
3428
  }
3429
3429
  }, Jr = {
3430
3430
  light: {
3431
- box: "border-slate-500 bg-slate-200/90 shadow-[0_1px_2px_rgba(15,23,42,0.09)] peer-hover:border-slate-700 peer-hover:bg-slate-100",
3432
- focus: "peer-focus-visible:outline-slate-700 peer-focus-visible:ring-slate-400/35 peer-focus-visible:ring-offset-stone-50",
3431
+ box: "border-slate-300 bg-white shadow-[0_1px_2px_rgba(15,23,42,0.08)] peer-hover:border-slate-400 peer-hover:bg-slate-50",
3432
+ focus: "peer-focus-visible:outline-slate-500 peer-focus-visible:ring-slate-400/45 peer-focus-visible:ring-offset-white",
3433
3433
  colors: {
3434
3434
  neutral: {
3435
- box: "peer-checked:border-slate-800 peer-checked:bg-slate-800 peer-hover:peer-checked:border-slate-950 peer-hover:peer-checked:bg-slate-950",
3435
+ box: "peer-checked:border-slate-700 peer-checked:bg-slate-700 peer-hover:peer-checked:border-slate-800 peer-hover:peer-checked:bg-slate-800",
3436
3436
  icon: "text-white"
3437
3437
  },
3438
3438
  slate: {
3439
- box: "peer-checked:border-slate-800 peer-checked:bg-slate-800 peer-hover:peer-checked:border-slate-950 peer-hover:peer-checked:bg-slate-950",
3439
+ box: "peer-checked:border-slate-700 peer-checked:bg-slate-700 peer-hover:peer-checked:border-slate-800 peer-hover:peer-checked:bg-slate-800",
3440
3440
  icon: "text-white"
3441
3441
  },
3442
3442
  zinc: {
3443
- box: "peer-checked:border-zinc-800 peer-checked:bg-zinc-800 peer-hover:peer-checked:border-zinc-950 peer-hover:peer-checked:bg-zinc-950",
3443
+ box: "peer-checked:border-zinc-700 peer-checked:bg-zinc-700 peer-hover:peer-checked:border-zinc-800 peer-hover:peer-checked:bg-zinc-800",
3444
3444
  icon: "text-white"
3445
3445
  },
3446
3446
  primary: {
@@ -3472,7 +3472,7 @@ var Kr = a(function({ children: e, className: t, htmlFor: n, optional: r = !1, r
3472
3472
  icon: "text-stone-950"
3473
3473
  },
3474
3474
  dark: {
3475
- box: "peer-checked:border-zinc-900 peer-checked:bg-zinc-900 peer-hover:peer-checked:border-black peer-hover:peer-checked:bg-black",
3475
+ box: "peer-checked:border-zinc-800 peer-checked:bg-zinc-800 peer-hover:peer-checked:border-zinc-900 peer-hover:peer-checked:bg-zinc-900",
3476
3476
  icon: "text-white"
3477
3477
  },
3478
3478
  black: {
@@ -3480,7 +3480,7 @@ var Kr = a(function({ children: e, className: t, htmlFor: n, optional: r = !1, r
3480
3480
  icon: "text-white"
3481
3481
  }
3482
3482
  },
3483
- invalid: "border-rose-400 peer-checked:border-rose-600 peer-checked:bg-rose-600 peer-hover:peer-checked:border-rose-700 peer-hover:peer-checked:bg-rose-700",
3483
+ invalid: "border-rose-300 peer-checked:border-rose-600 peer-checked:bg-rose-600 peer-hover:peer-checked:border-rose-700 peer-hover:peer-checked:bg-rose-700",
3484
3484
  invalidIcon: "text-white"
3485
3485
  },
3486
3486
  dark: {
@@ -6753,43 +6753,43 @@ var sl = a(function({ align: e = "center", children: t, className: n, ...r }, i)
6753
6753
  }), dl = {
6754
6754
  light: {
6755
6755
  neutral: {
6756
- base: "border-slate-500 bg-slate-200/90 text-slate-950 shadow-[0_1px_2px_rgba(15,23,42,0.06)] focus-visible:border-slate-700 focus-visible:ring-slate-600/22",
6757
- hover: "hover:border-slate-700"
6756
+ base: "border-slate-300 bg-white text-slate-950 shadow-[0_1px_2px_rgba(15,23,42,0.05)] focus-visible:border-slate-500 focus-visible:ring-slate-400/50",
6757
+ hover: "hover:border-slate-400"
6758
6758
  },
6759
6759
  slate: {
6760
- base: "border-slate-600 bg-slate-300 text-slate-950 shadow-[0_1px_2px_rgba(15,23,42,0.06)] focus-visible:border-slate-800 focus-visible:ring-slate-700/20",
6761
- hover: "hover:border-slate-700"
6760
+ base: "border-slate-300 bg-slate-50 text-slate-950 shadow-[0_1px_2px_rgba(15,23,42,0.05)] focus-visible:border-slate-500 focus-visible:ring-slate-400/50",
6761
+ hover: "hover:border-slate-400"
6762
6762
  },
6763
6763
  zinc: {
6764
- base: "border-zinc-600 bg-zinc-300 text-zinc-950 shadow-[0_1px_2px_rgba(24,24,27,0.06)] focus-visible:border-zinc-800 focus-visible:ring-zinc-700/20",
6765
- hover: "hover:border-zinc-700"
6764
+ base: "border-zinc-300 bg-zinc-50 text-zinc-950 shadow-[0_1px_2px_rgba(24,24,27,0.05)] focus-visible:border-zinc-500 focus-visible:ring-zinc-400/50",
6765
+ hover: "hover:border-zinc-400"
6766
6766
  },
6767
6767
  primary: {
6768
- base: "border-sky-400/85 bg-sky-100/80 text-slate-950 shadow-[0_1px_2px_rgba(14,165,233,0.08)] focus-visible:border-sky-600 focus-visible:ring-sky-400/25",
6769
- hover: "hover:border-sky-500"
6768
+ base: "border-sky-300/90 bg-sky-50/85 text-slate-950 shadow-[0_1px_2px_rgba(14,165,233,0.06)] focus-visible:border-sky-500 focus-visible:ring-sky-400/45",
6769
+ hover: "hover:border-sky-400"
6770
6770
  },
6771
6771
  brand: {
6772
- base: "border-brand-400/80 bg-brand-100/75 text-slate-950 shadow-[0_1px_2px_rgba(112,56,255,0.1)] focus-visible:border-brand-600 focus-visible:ring-brand-400/25",
6773
- hover: "hover:border-brand-500"
6772
+ base: "border-brand-300/90 bg-brand-50/80 text-slate-950 shadow-[0_1px_2px_rgba(112,56,255,0.08)] focus-visible:border-brand-500 focus-visible:ring-brand-400/45",
6773
+ hover: "hover:border-brand-400"
6774
6774
  },
6775
6775
  success: {
6776
- base: "border-emerald-400/85 bg-emerald-100/75 text-slate-950 shadow-[0_1px_2px_rgba(16,185,129,0.08)] focus-visible:border-emerald-600 focus-visible:ring-emerald-400/25",
6777
- hover: "hover:border-emerald-500"
6776
+ base: "border-emerald-300/90 bg-emerald-50/80 text-slate-950 shadow-[0_1px_2px_rgba(16,185,129,0.06)] focus-visible:border-emerald-500 focus-visible:ring-emerald-400/45",
6777
+ hover: "hover:border-emerald-400"
6778
6778
  },
6779
6779
  danger: {
6780
- base: "border-rose-400/85 bg-rose-100/75 text-slate-950 shadow-[0_1px_2px_rgba(244,63,94,0.08)] focus-visible:border-rose-600 focus-visible:ring-rose-400/25",
6781
- hover: "hover:border-rose-500"
6780
+ base: "border-rose-300/90 bg-rose-50/80 text-slate-950 shadow-[0_1px_2px_rgba(244,63,94,0.06)] focus-visible:border-rose-500 focus-visible:ring-rose-400/45",
6781
+ hover: "hover:border-rose-400"
6782
6782
  },
6783
6783
  warning: {
6784
- base: "border-amber-400/85 bg-amber-100/80 text-slate-950 shadow-[0_1px_2px_rgba(245,158,11,0.08)] focus-visible:border-amber-600 focus-visible:ring-amber-400/25",
6785
- hover: "hover:border-amber-500"
6784
+ base: "border-amber-300/90 bg-amber-50/85 text-slate-950 shadow-[0_1px_2px_rgba(245,158,11,0.06)] focus-visible:border-amber-500 focus-visible:ring-amber-400/45",
6785
+ hover: "hover:border-amber-400"
6786
6786
  },
6787
6787
  info: {
6788
- base: "border-cyan-400/85 bg-cyan-100/75 text-slate-950 shadow-[0_1px_2px_rgba(6,182,212,0.08)] focus-visible:border-cyan-600 focus-visible:ring-cyan-400/25",
6789
- hover: "hover:border-cyan-500"
6788
+ base: "border-cyan-300/90 bg-cyan-50/80 text-slate-950 shadow-[0_1px_2px_rgba(6,182,212,0.06)] focus-visible:border-cyan-500 focus-visible:ring-cyan-400/45",
6789
+ hover: "hover:border-cyan-400"
6790
6790
  },
6791
6791
  light: {
6792
- base: "border-stone-300 bg-stone-100/90 text-stone-900 shadow-[0_1px_2px_rgba(120,113,108,0.06)] focus-visible:border-stone-500 focus-visible:ring-stone-400/25",
6792
+ base: "border-stone-300 bg-stone-50 text-stone-900 shadow-[0_1px_2px_rgba(120,113,108,0.05)] focus-visible:border-stone-500 focus-visible:ring-stone-400/45",
6793
6793
  hover: "hover:border-stone-400"
6794
6794
  },
6795
6795
  dark: {
@@ -6800,7 +6800,7 @@ var sl = a(function({ align: e = "center", children: t, className: n, ...r }, i)
6800
6800
  base: "border-zinc-950 bg-zinc-950 text-white shadow-[0_1px_2px_rgba(0,0,0,0.28)] focus-visible:border-zinc-700 focus-visible:ring-zinc-700/32",
6801
6801
  hover: "hover:border-black"
6802
6802
  },
6803
- invalid: "border-rose-400 bg-rose-100/75 text-rose-950 shadow-[0_1px_2px_rgba(239,68,68,0.1)] focus-visible:border-rose-600 focus-visible:ring-rose-300/35"
6803
+ invalid: "border-rose-300 bg-rose-50 text-rose-950 shadow-[0_1px_2px_rgba(239,68,68,0.07)] focus-visible:border-rose-500 focus-visible:ring-rose-400/45"
6804
6804
  },
6805
6805
  dark: {
6806
6806
  neutral: {
@@ -6853,18 +6853,163 @@ var sl = a(function({ align: e = "center", children: t, className: n, ...r }, i)
6853
6853
  },
6854
6854
  invalid: "border-rose-500/70 bg-rose-500/16 text-stone-50 shadow-[0_1px_2px_rgba(239,68,68,0.14)] focus-visible:border-rose-400/90 focus-visible:ring-rose-500/25"
6855
6855
  }
6856
+ }, fl = {
6857
+ light: {
6858
+ neutral: {
6859
+ background: "var(--color-slate-100)",
6860
+ border: "var(--color-slate-400)",
6861
+ text: "var(--color-slate-950)"
6862
+ },
6863
+ slate: {
6864
+ background: "var(--color-slate-100)",
6865
+ border: "var(--color-slate-500)",
6866
+ text: "var(--color-slate-950)"
6867
+ },
6868
+ zinc: {
6869
+ background: "var(--color-zinc-100)",
6870
+ border: "var(--color-zinc-500)",
6871
+ text: "var(--color-zinc-950)"
6872
+ },
6873
+ primary: {
6874
+ background: "var(--color-sky-100)",
6875
+ border: "var(--color-sky-400)",
6876
+ text: "var(--color-slate-950)"
6877
+ },
6878
+ brand: {
6879
+ background: "var(--color-brand-100)",
6880
+ border: "var(--color-brand-400)",
6881
+ text: "var(--color-slate-950)"
6882
+ },
6883
+ success: {
6884
+ background: "var(--color-emerald-100)",
6885
+ border: "var(--color-emerald-400)",
6886
+ text: "var(--color-slate-950)"
6887
+ },
6888
+ danger: {
6889
+ background: "var(--color-rose-100)",
6890
+ border: "var(--color-rose-400)",
6891
+ text: "var(--color-slate-950)"
6892
+ },
6893
+ warning: {
6894
+ background: "var(--color-amber-100)",
6895
+ border: "var(--color-amber-400)",
6896
+ text: "var(--color-slate-950)"
6897
+ },
6898
+ info: {
6899
+ background: "var(--color-cyan-100)",
6900
+ border: "var(--color-cyan-400)",
6901
+ text: "var(--color-slate-950)"
6902
+ },
6903
+ light: {
6904
+ background: "var(--color-stone-100)",
6905
+ border: "var(--color-stone-400)",
6906
+ text: "var(--color-stone-900)"
6907
+ },
6908
+ dark: {
6909
+ background: "color-mix(in oklab, var(--color-zinc-800) 88%, black)",
6910
+ border: "var(--color-zinc-700)",
6911
+ text: "white"
6912
+ },
6913
+ black: {
6914
+ background: "color-mix(in oklab, var(--color-zinc-900) 92%, black)",
6915
+ border: "var(--color-zinc-800)",
6916
+ text: "white"
6917
+ },
6918
+ invalid: {
6919
+ background: "var(--color-rose-100)",
6920
+ border: "var(--color-rose-400)",
6921
+ text: "var(--color-rose-950)"
6922
+ }
6923
+ },
6924
+ dark: {
6925
+ neutral: {
6926
+ background: "var(--color-zinc-900)",
6927
+ border: "var(--color-zinc-600)",
6928
+ text: "var(--color-stone-50)"
6929
+ },
6930
+ slate: {
6931
+ background: "var(--color-slate-800)",
6932
+ border: "var(--color-slate-600)",
6933
+ text: "var(--color-slate-50)"
6934
+ },
6935
+ zinc: {
6936
+ background: "var(--color-zinc-800)",
6937
+ border: "var(--color-zinc-600)",
6938
+ text: "var(--color-zinc-50)"
6939
+ },
6940
+ primary: {
6941
+ background: "color-mix(in oklab, var(--color-sky-500) 28%, var(--color-zinc-950))",
6942
+ border: "var(--color-sky-400)",
6943
+ text: "var(--color-stone-50)"
6944
+ },
6945
+ brand: {
6946
+ background: "color-mix(in oklab, var(--color-brand-500) 28%, var(--color-zinc-950))",
6947
+ border: "var(--color-brand-400)",
6948
+ text: "var(--color-stone-50)"
6949
+ },
6950
+ success: {
6951
+ background: "color-mix(in oklab, var(--color-emerald-500) 28%, var(--color-zinc-950))",
6952
+ border: "var(--color-emerald-400)",
6953
+ text: "var(--color-stone-50)"
6954
+ },
6955
+ danger: {
6956
+ background: "color-mix(in oklab, var(--color-rose-500) 28%, var(--color-zinc-950))",
6957
+ border: "var(--color-rose-400)",
6958
+ text: "var(--color-stone-50)"
6959
+ },
6960
+ warning: {
6961
+ background: "color-mix(in oklab, var(--color-amber-500) 28%, var(--color-zinc-950))",
6962
+ border: "var(--color-amber-400)",
6963
+ text: "var(--color-stone-50)"
6964
+ },
6965
+ info: {
6966
+ background: "color-mix(in oklab, var(--color-cyan-500) 28%, var(--color-zinc-950))",
6967
+ border: "var(--color-cyan-400)",
6968
+ text: "var(--color-stone-50)"
6969
+ },
6970
+ light: {
6971
+ background: "var(--color-stone-200)",
6972
+ border: "var(--color-stone-400)",
6973
+ text: "var(--color-stone-950)"
6974
+ },
6975
+ dark: {
6976
+ background: "var(--color-zinc-900)",
6977
+ border: "var(--color-zinc-600)",
6978
+ text: "white"
6979
+ },
6980
+ black: {
6981
+ background: "color-mix(in oklab, var(--color-zinc-900) 90%, black)",
6982
+ border: "var(--color-zinc-500)",
6983
+ text: "white"
6984
+ },
6985
+ invalid: {
6986
+ background: "color-mix(in oklab, var(--color-rose-500) 26%, var(--color-zinc-950))",
6987
+ border: "var(--color-rose-400)",
6988
+ text: "var(--color-stone-50)"
6989
+ }
6990
+ }
6856
6991
  };
6857
- function fl(e) {
6992
+ function pl(e) {
6858
6993
  return e === "dark" ? "dark" : "light";
6859
6994
  }
6860
- function pl(e) {
6995
+ function ml(e) {
6861
6996
  return mn(Qt, e, "neutral");
6862
6997
  }
6998
+ function hl({ color: e = "neutral", invalid: t = !1, style: n, theme: r = "light" }) {
6999
+ let i = pl(r), a = ml(e), o = t ? fl[i].invalid : fl[i][a];
7000
+ return {
7001
+ ...n,
7002
+ "--qi-field-autofill-bg": o.background,
7003
+ "--qi-field-autofill-border": o.border,
7004
+ "--qi-field-autofill-text": o.text,
7005
+ "--qi-field-autofill-caret": o.text
7006
+ };
7007
+ }
6863
7008
  //#endregion
6864
7009
  //#region src/lib/components/input/input.shared.js
6865
- var ml = {
7010
+ var gl = {
6866
7011
  base: [
6867
- "w-full border text-sm outline-none",
7012
+ "qi-form-field-autofill w-full border text-sm outline-none",
6868
7013
  "transition-[background-color,border-color,color,box-shadow] duration-200",
6869
7014
  "placeholder:text-current/45",
6870
7015
  "focus-visible:ring-4 focus-visible:ring-offset-0",
@@ -6889,15 +7034,15 @@ var ml = {
6889
7034
  groupItem: "min-w-0",
6890
7035
  addon: "inline-flex min-w-0 shrink-0 items-center whitespace-nowrap border text-sm font-medium transition-[background-color,border-color,color,box-shadow] duration-200",
6891
7036
  action: "inline-flex min-w-0 shrink-0 items-center justify-center whitespace-nowrap border font-medium transition-[background-color,border-color,color,box-shadow] duration-200 disabled:cursor-not-allowed disabled:opacity-60"
6892
- }, hl = {
7037
+ }, _l = {
6893
7038
  sm: "h-9 px-3",
6894
7039
  md: "h-11 px-3.5",
6895
7040
  lg: "h-12 px-4 text-base"
6896
- }, gl = {
7041
+ }, vl = {
6897
7042
  sm: "h-9",
6898
7043
  md: "h-11",
6899
7044
  lg: "h-12"
6900
- }, _l = {
7045
+ }, yl = {
6901
7046
  square: {
6902
7047
  sm: "size-6",
6903
7048
  md: "size-7",
@@ -6908,7 +7053,7 @@ var ml = {
6908
7053
  md: "size-7",
6909
7054
  lg: "size-8"
6910
7055
  }
6911
- }, vl = {
7056
+ }, bl = {
6912
7057
  light: [
6913
7058
  "border-transparent bg-transparent text-slate-500",
6914
7059
  "hover:border-slate-200 hover:bg-slate-100 hover:text-slate-950",
@@ -6919,18 +7064,18 @@ var ml = {
6919
7064
  "hover:border-zinc-800 hover:bg-zinc-900 hover:text-zinc-50",
6920
7065
  "focus-visible:outline-zinc-400"
6921
7066
  ].join(" ")
6922
- }, yl = {
7067
+ }, xl = {
6923
7068
  sm: "size-3.5",
6924
7069
  md: "size-4",
6925
7070
  lg: "size-4"
6926
- }, bl = {
7071
+ }, Sl = {
6927
7072
  sm: "text-[0.875rem]",
6928
7073
  md: "text-[0.95rem]",
6929
7074
  lg: "text-base"
6930
- }, xl = {
7075
+ }, Cl = {
6931
7076
  light: "text-slate-500/90",
6932
7077
  dark: "text-zinc-400/90"
6933
- }, Sl = {
7078
+ }, wl = {
6934
7079
  clear: {
6935
7080
  sm: "pr-9",
6936
7081
  md: "pr-10",
@@ -6956,74 +7101,74 @@ var ml = {
6956
7101
  md: "pr-[4.5rem]",
6957
7102
  lg: "pr-20"
6958
7103
  }
6959
- }, Cl = {
7104
+ }, Tl = {
6960
7105
  sm: "h-9 px-3 text-sm",
6961
7106
  md: "h-11 px-3.5 text-sm",
6962
7107
  lg: "h-12 px-4 text-base"
6963
- }, wl = {
7108
+ }, El = {
6964
7109
  sm: "h-full px-3 text-sm",
6965
7110
  md: "h-full px-3.5 text-sm",
6966
7111
  lg: "h-full px-4 text-base"
6967
- }, Tl = {
7112
+ }, Dl = {
6968
7113
  inline: "flex-1",
6969
7114
  grid: ""
6970
- }, El = {
7115
+ }, Ol = {
6971
7116
  start: "justify-start text-left",
6972
7117
  center: "justify-center text-center",
6973
7118
  end: "justify-end text-right",
6974
7119
  "inline-start": "justify-start text-left",
6975
7120
  "inline-end": "justify-end text-right"
6976
- }, Dl = {
7121
+ }, kl = {
6977
7122
  light: {
6978
7123
  neutral: {
6979
- frame: "border-slate-500/90 shadow-[0_1px_2px_rgba(15,23,42,0.08)]",
6980
- separator: "bg-slate-500/90",
6981
- focus: "focus-within:ring-slate-600/22"
7124
+ frame: "border-slate-300 shadow-[0_1px_2px_rgba(15,23,42,0.06)]",
7125
+ separator: "bg-slate-300",
7126
+ focus: "focus-within:ring-slate-400/50"
6982
7127
  },
6983
7128
  slate: {
6984
- frame: "border-slate-600 shadow-[0_1px_2px_rgba(15,23,42,0.08)]",
6985
- separator: "bg-slate-600",
6986
- focus: "focus-within:ring-slate-700/20"
7129
+ frame: "border-slate-300 shadow-[0_1px_2px_rgba(15,23,42,0.06)]",
7130
+ separator: "bg-slate-300",
7131
+ focus: "focus-within:ring-slate-400/50"
6987
7132
  },
6988
7133
  zinc: {
6989
- frame: "border-zinc-600 shadow-[0_1px_2px_rgba(24,24,27,0.08)]",
6990
- separator: "bg-zinc-600",
6991
- focus: "focus-within:ring-zinc-700/20"
7134
+ frame: "border-zinc-300 shadow-[0_1px_2px_rgba(24,24,27,0.06)]",
7135
+ separator: "bg-zinc-300",
7136
+ focus: "focus-within:ring-zinc-400/50"
6992
7137
  },
6993
7138
  primary: {
6994
- frame: "border-sky-400/85 shadow-[0_1px_2px_rgba(14,165,233,0.1)]",
6995
- separator: "bg-sky-400/85",
6996
- focus: "focus-within:ring-sky-400/25"
7139
+ frame: "border-sky-300/90 shadow-[0_1px_2px_rgba(14,165,233,0.08)]",
7140
+ separator: "bg-sky-300/90",
7141
+ focus: "focus-within:ring-sky-400/45"
6997
7142
  },
6998
7143
  brand: {
6999
- frame: "border-brand-400/80 shadow-[0_1px_2px_rgba(112,56,255,0.12)]",
7000
- separator: "bg-brand-400/80",
7001
- focus: "focus-within:ring-brand-400/25"
7144
+ frame: "border-brand-300/90 shadow-[0_1px_2px_rgba(112,56,255,0.08)]",
7145
+ separator: "bg-brand-300/90",
7146
+ focus: "focus-within:ring-brand-400/45"
7002
7147
  },
7003
7148
  success: {
7004
- frame: "border-emerald-400/85 shadow-[0_1px_2px_rgba(16,185,129,0.1)]",
7005
- separator: "bg-emerald-400/85",
7006
- focus: "focus-within:ring-emerald-400/25"
7149
+ frame: "border-emerald-300/90 shadow-[0_1px_2px_rgba(16,185,129,0.08)]",
7150
+ separator: "bg-emerald-300/90",
7151
+ focus: "focus-within:ring-emerald-400/45"
7007
7152
  },
7008
7153
  danger: {
7009
- frame: "border-rose-400/85 shadow-[0_1px_2px_rgba(244,63,94,0.1)]",
7010
- separator: "bg-rose-400/85",
7011
- focus: "focus-within:ring-rose-400/25"
7154
+ frame: "border-rose-300/90 shadow-[0_1px_2px_rgba(244,63,94,0.08)]",
7155
+ separator: "bg-rose-300/90",
7156
+ focus: "focus-within:ring-rose-400/45"
7012
7157
  },
7013
7158
  warning: {
7014
- frame: "border-amber-400/85 shadow-[0_1px_2px_rgba(245,158,11,0.1)]",
7015
- separator: "bg-amber-400/85",
7016
- focus: "focus-within:ring-amber-400/25"
7159
+ frame: "border-amber-300/90 shadow-[0_1px_2px_rgba(245,158,11,0.08)]",
7160
+ separator: "bg-amber-300/90",
7161
+ focus: "focus-within:ring-amber-400/45"
7017
7162
  },
7018
7163
  info: {
7019
- frame: "border-cyan-400/85 shadow-[0_1px_2px_rgba(6,182,212,0.1)]",
7020
- separator: "bg-cyan-400/85",
7021
- focus: "focus-within:ring-cyan-400/25"
7164
+ frame: "border-cyan-300/90 shadow-[0_1px_2px_rgba(6,182,212,0.08)]",
7165
+ separator: "bg-cyan-300/90",
7166
+ focus: "focus-within:ring-cyan-400/45"
7022
7167
  },
7023
7168
  light: {
7024
- frame: "border-stone-300 shadow-[0_1px_2px_rgba(120,113,108,0.08)]",
7169
+ frame: "border-stone-300 shadow-[0_1px_2px_rgba(120,113,108,0.06)]",
7025
7170
  separator: "bg-stone-300",
7026
- focus: "focus-within:ring-stone-400/25"
7171
+ focus: "focus-within:ring-stone-400/45"
7027
7172
  },
7028
7173
  dark: {
7029
7174
  frame: "border-zinc-800 shadow-[0_1px_2px_rgba(24,24,27,0.22)]",
@@ -7099,13 +7244,13 @@ var ml = {
7099
7244
  }
7100
7245
  }
7101
7246
  };
7102
- function Ol(e) {
7247
+ function Al(e) {
7103
7248
  return e === "pill" ? "pill" : "square";
7104
7249
  }
7105
- function kl(e = "square", t = "md") {
7106
- return Ol(e) === "pill" ? "rounded-full" : Nt(t);
7250
+ function jl(e = "square", t = "md") {
7251
+ return Al(e) === "pill" ? "rounded-full" : Nt(t);
7107
7252
  }
7108
- var Al = {
7253
+ var Ml = {
7109
7254
  pill: {
7110
7255
  sm: {
7111
7256
  inline: [
@@ -7189,15 +7334,15 @@ var Al = {
7189
7334
  }
7190
7335
  }
7191
7336
  };
7192
- function jl(e = "square", t = "md") {
7193
- let n = Ol(e), r = hl[t] ? t : "md";
7194
- return Al[n]?.[r] ?? Al.square.md;
7337
+ function Nl(e = "square", t = "md") {
7338
+ let n = Al(e), r = _l[t] ? t : "md";
7339
+ return Ml[n]?.[r] ?? Ml.square.md;
7195
7340
  }
7196
- function Ml(e) {
7341
+ function Pl(e) {
7197
7342
  return e == null ? "" : String(e);
7198
7343
  }
7199
- function Nl({ color: e = "neutral", disabled: t = !1, id: n, invalid: r = !1, required: i = !1, ariaDescribedBy: a }) {
7200
- let o = fl(G()), s = dl[o], c = pl(e), l = dl[o][c], u = Ur(), d = r || u?.invalid, f = t || u?.disabled, p = i || u?.required;
7344
+ function Fl({ color: e = "neutral", disabled: t = !1, id: n, invalid: r = !1, required: i = !1, ariaDescribedBy: a }) {
7345
+ let o = pl(G()), s = dl[o], c = ml(e), l = dl[o][c], u = Ur(), d = r || u?.invalid, f = t || u?.disabled, p = i || u?.required;
7201
7346
  return {
7202
7347
  colorUi: l,
7203
7348
  describedBy: [
@@ -7213,44 +7358,44 @@ function Nl({ color: e = "neutral", disabled: t = !1, id: n, invalid: r = !1, re
7213
7358
  ui: s
7214
7359
  };
7215
7360
  }
7216
- function Pl({ attached: e = !1, className: t, colorUi: n, focusRingEnabled: r = !0, shape: i = "square", resolvedDisabled: a, resolvedInvalid: o, size: s = "md", ui: c, paddingStartClassName: l, paddingEndClassName: u }) {
7217
- return Z(T(r, ml.base), e ? "rounded-none border-0 shadow-none focus-visible:border-transparent focus-visible:ring-0" : kl(i, s), hl[s] ?? hl.md, l, u, T(e ? !1 : r, o ? c.invalid : n.base), e && !o && !a && "focus-visible:outline-none", !e && !a && !o && n.hover, t);
7361
+ function Il({ attached: e = !1, className: t, colorUi: n, focusRingEnabled: r = !0, shape: i = "square", resolvedDisabled: a, resolvedInvalid: o, size: s = "md", ui: c, paddingStartClassName: l, paddingEndClassName: u }) {
7362
+ return Z(T(r, gl.base), e ? "rounded-none border-0 shadow-none focus-visible:border-transparent focus-visible:ring-0" : jl(i, s), _l[s] ?? _l.md, l, u, T(e ? !1 : r, o ? c.invalid : n.base), e && !o && !a && "focus-visible:outline-none", !e && !a && !o && n.hover, t);
7218
7363
  }
7219
- function Fl({ focusRingEnabled: e = !0, shape: t = "circle", size: n = "md", theme: r = "light" }) {
7220
- let i = t === "square" ? "square" : "circle", a = _l[i]?.[n] ? n : "md";
7221
- return Z(T(e, ml.actionButton), ur(i, a), _l[i][a], T(e, vl[r]));
7364
+ function Ll({ focusRingEnabled: e = !0, shape: t = "circle", size: n = "md", theme: r = "light" }) {
7365
+ let i = t === "square" ? "square" : "circle", a = yl[i]?.[n] ? n : "md";
7366
+ return Z(T(e, gl.actionButton), ur(i, a), yl[i][a], T(e, bl[r]));
7222
7367
  }
7223
- function Il(e) {
7368
+ function Rl(e) {
7224
7369
  return e === "grid" ? "grid" : "inline";
7225
7370
  }
7226
- function Ll({ attached: e = !1, className: t, color: n = "neutral", focusRingEnabled: r = !0, fullWidth: i = !0, layout: a = "inline", shape: o = "square", size: s = "md", theme: c = "light" }) {
7227
- let l = Il(a), u = fl(c), d = pl(n), f = Dl[u][d];
7228
- return Z(ml.group, i && "w-full", !e && (l === "grid" ? "grid gap-2" : "flex items-stretch gap-2"), e && Z(ml.attachedGroup, kl(o, s), r && f.focus), t);
7371
+ function zl({ attached: e = !1, className: t, color: n = "neutral", focusRingEnabled: r = !0, fullWidth: i = !0, layout: a = "inline", shape: o = "square", size: s = "md", theme: c = "light" }) {
7372
+ let l = Rl(a), u = pl(c), d = ml(n), f = kl[u][d];
7373
+ return Z(gl.group, i && "w-full", !e && (l === "grid" ? "grid gap-2" : "flex items-stretch gap-2"), e && Z(gl.attachedGroup, jl(o, s), r && f.focus), t);
7229
7374
  }
7230
- function Rl({ color: e = "neutral", layout: t = "inline", shape: n = "square", size: r = "md", theme: i = "light" }) {
7231
- let a = fl(i), o = pl(e), s = Dl[a][o], c = Il(t);
7232
- return Z(ml.attachedGroupFrame, kl(n, r), s.frame, c === "inline" && (gl[r] ?? gl.md));
7375
+ function Bl({ color: e = "neutral", layout: t = "inline", shape: n = "square", size: r = "md", theme: i = "light" }) {
7376
+ let a = pl(i), o = ml(e), s = kl[a][o], c = Rl(t);
7377
+ return Z(gl.attachedGroupFrame, jl(n, r), s.frame, c === "inline" && (vl[r] ?? vl.md));
7233
7378
  }
7234
- function zl({ color: e = "neutral", layout: t = "inline", theme: n = "light" }) {
7235
- let r = Il(t), i = fl(n), a = pl(e), o = Dl[i][a];
7236
- return Z(ml.attachedGroupInner, o.separator, r === "inline" ? "flex h-full w-full items-stretch gap-px" : "grid w-full gap-px");
7379
+ function Vl({ color: e = "neutral", layout: t = "inline", theme: n = "light" }) {
7380
+ let r = Rl(t), i = pl(n), a = ml(e), o = kl[i][a];
7381
+ return Z(gl.attachedGroupInner, o.separator, r === "inline" ? "flex h-full w-full items-stretch gap-px" : "grid w-full gap-px");
7237
7382
  }
7238
- function Bl({ columns: e, layout: t = "inline", shape: n = "square", size: r = "md" }) {
7239
- let i = Il(t), a = jl(n, r);
7383
+ function Hl({ columns: e, layout: t = "inline", shape: n = "square", size: r = "md" }) {
7384
+ let i = Rl(t), a = Nl(n, r);
7240
7385
  return Z("[&>*]:min-w-0 [&>*]:overflow-hidden", i === "inline" && Z("[&>*]:h-full", a.inline), i === "grid" && Z(a.grid, e === 2 && a.gridTwoColumns));
7241
7386
  }
7242
- function Vl({ className: e, grow: t = !0, layout: n = "inline" }) {
7243
- let r = Il(n);
7244
- return Z(ml.groupItem, t && Tl[r], e);
7387
+ function Ul({ className: e, grow: t = !0, layout: n = "inline" }) {
7388
+ let r = Rl(n);
7389
+ return Z(gl.groupItem, t && Dl[r], e);
7245
7390
  }
7246
- function Hl({ align: e = "start", attached: t = !1, className: n, color: r = "neutral", shape: i = "square", size: a = "md", theme: o = "light" }) {
7247
- let s = fl(o), c = pl(r), l = dl[s][c];
7248
- return Z(ml.addon, t ? wl[a] ?? wl.md : Cl[a] ?? Cl.md, El[e] ?? El.start, t ? "rounded-none border-0 shadow-none" : Z(kl(i, a), l.base), t && Z("shadow-none", l.base, "rounded-none border-0"), n);
7391
+ function Wl({ align: e = "start", attached: t = !1, className: n, color: r = "neutral", shape: i = "square", size: a = "md", theme: o = "light" }) {
7392
+ let s = pl(o), c = ml(r), l = dl[s][c];
7393
+ return Z(gl.addon, t ? El[a] ?? El.md : Tl[a] ?? Tl.md, Ol[e] ?? Ol.start, t ? "rounded-none border-0 shadow-none" : Z(jl(i, a), l.base), t && Z("shadow-none", l.base, "rounded-none border-0"), n);
7249
7394
  }
7250
- function Ul({ attached: e = !1, className: t, size: n = "md" }) {
7251
- return Z("min-w-0", e ? wl[n] ?? wl.md : Cl[n] ?? Cl.md, e ? "rounded-none border-0 shadow-none" : null, t);
7395
+ function Gl({ attached: e = !1, className: t, size: n = "md" }) {
7396
+ return Z("min-w-0", e ? El[n] ?? El.md : Tl[n] ?? Tl.md, e ? "rounded-none border-0 shadow-none" : null, t);
7252
7397
  }
7253
- function Wl(e, t) {
7398
+ function Kl(e, t) {
7254
7399
  if (e) {
7255
7400
  if (typeof e == "function") {
7256
7401
  e(t);
@@ -7259,23 +7404,23 @@ function Wl(e, t) {
7259
7404
  e.current = t;
7260
7405
  }
7261
7406
  }
7262
- function Gl(...e) {
7407
+ function ql(...e) {
7263
7408
  return (t) => {
7264
- e.forEach((e) => Wl(e, t));
7409
+ e.forEach((e) => Kl(e, t));
7265
7410
  };
7266
7411
  }
7267
- function Kl(e, t) {
7412
+ function Jl(e, t) {
7268
7413
  e && (Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, "value")?.set?.call(e, t), e.dispatchEvent(new Event("input", { bubbles: !0 })));
7269
7414
  }
7270
7415
  //#endregion
7271
7416
  //#region src/lib/components/input/input-group.context.js
7272
- var ql = i(null);
7273
- function Jl() {
7274
- return c(ql);
7417
+ var Yl = i(null);
7418
+ function Xl() {
7419
+ return c(Yl);
7275
7420
  }
7276
7421
  //#endregion
7277
7422
  //#region src/lib/components/input/Input.jsx
7278
- function Yl({ className: e }) {
7423
+ function Zl({ className: e }) {
7279
7424
  return /* @__PURE__ */ (0, R.jsx)("svg", {
7280
7425
  "aria-hidden": "true",
7281
7426
  viewBox: "0 0 20 20",
@@ -7289,7 +7434,7 @@ function Yl({ className: e }) {
7289
7434
  })
7290
7435
  });
7291
7436
  }
7292
- function Xl({ className: e }) {
7437
+ function Ql({ className: e }) {
7293
7438
  return /* @__PURE__ */ (0, R.jsxs)("svg", {
7294
7439
  "aria-hidden": "true",
7295
7440
  viewBox: "0 0 20 20",
@@ -7310,7 +7455,7 @@ function Xl({ className: e }) {
7310
7455
  })]
7311
7456
  });
7312
7457
  }
7313
- function Zl({ className: e }) {
7458
+ function $l({ className: e }) {
7314
7459
  return /* @__PURE__ */ (0, R.jsxs)("svg", {
7315
7460
  "aria-hidden": "true",
7316
7461
  viewBox: "0 0 20 20",
@@ -7340,18 +7485,25 @@ function Zl({ className: e }) {
7340
7485
  ]
7341
7486
  });
7342
7487
  }
7343
- var Ql = a(function({ actionShape: e = "circle", className: t, clearButton: n, clearButtonLabel: r = "Limpiar búsqueda", clearIcon: i, color: a, defaultPasswordVisible: o = !1, disabled: s = !1, hidePasswordIcon: c, hidePasswordLabel: u = "Ocultar contraseña", id: d, invalid: f = !1, leftElement: h, onClear: g, onPasswordVisibilityChange: _, required: v = !1, rightElement: y, shape: b, showPasswordIcon: x, showPasswordLabel: S = "Mostrar contraseña", passwordToggle: C, size: w, style: T, ...E }, O) {
7344
- let k = E.type ?? "text", A = p(null), j = p(null), M = p(null), N = Jl(), P = D("input"), F = w ?? N?.size ?? "md", I = a ?? N?.color ?? "neutral", ee = b ?? N?.shape ?? "square", L = E.value !== void 0, z = n ?? k === "search", B = C ?? k === "password", [V, H] = m(o), [te, U] = m(() => Ml(E.value ?? E.defaultValue)), [W, ne] = m(0), [re, ie] = m(0), ae = L ? Ml(E.value) : te, { colorUi: oe, describedBy: G, resolvedDisabled: K, resolvedId: se, resolvedInvalid: ce, resolvedRequired: le, theme: ue, ui: de } = Nl({
7488
+ var eu = a(function({ actionShape: e = "circle", className: t, clearButton: n, clearButtonLabel: r = "Limpiar búsqueda", clearIcon: i, color: a, defaultPasswordVisible: o = !1, disabled: s = !1, hidePasswordIcon: c, hidePasswordLabel: u = "Ocultar contraseña", id: d, invalid: f = !1, leftElement: h, onClear: g, onPasswordVisibilityChange: _, required: v = !1, rightElement: y, shape: b, showPasswordIcon: x, showPasswordLabel: S = "Mostrar contraseña", passwordToggle: C, size: w, style: T, ...E }, O) {
7489
+ let k = E.type ?? "text", A = p(null), j = p(null), M = p(null), N = Xl(), P = D("input"), F = w ?? N?.size ?? "md", I = a ?? N?.color ?? "neutral", ee = b ?? N?.shape ?? "square", L = E.value !== void 0, z = n ?? k === "search", B = C ?? k === "password", [V, H] = m(o), [te, U] = m(() => Pl(E.value ?? E.defaultValue)), [W, ne] = m(0), [re, ie] = m(0), ae = L ? Pl(E.value) : te, { colorUi: oe, describedBy: G, resolvedDisabled: K, resolvedId: se, resolvedInvalid: ce, resolvedRequired: le, theme: ue, ui: de } = Fl({
7345
7490
  ariaDescribedBy: E["aria-describedby"],
7346
7491
  color: I,
7347
7492
  disabled: s,
7348
7493
  id: d,
7349
7494
  invalid: f,
7350
7495
  required: v
7351
- }), fe = e === "circle" ? "circle" : "square", pe = Ol(ee), me = !!N?.attached, he = _l[fe]?.[F] ? F : "md", ge = !!h, _e = !!y, ve = B ? V ? "text" : "password" : k, ye = z && !K && !B && ae.length > 0, be = yl[he], xe = i ?? /* @__PURE__ */ (0, R.jsx)(Yl, { className: be }), Se = V ? c ?? /* @__PURE__ */ (0, R.jsx)(Zl, { className: be }) : x ?? /* @__PURE__ */ (0, R.jsx)(Xl, { className: be }), Ce = ye || B, we = ge ? Sl.leftElement[he] : void 0, Te = _e && Ce ? Sl.elementWithAction[he] : Ce ? B ? Sl.password[he] : Sl.clear[he] : _e ? Sl.element[he] : void 0, Ee = Z(bl[he] ?? bl.md, xl[ue]), De = {
7352
- ...T,
7496
+ }), fe = e === "circle" ? "circle" : "square", pe = Al(ee), me = !!N?.attached, he = yl[fe]?.[F] ? F : "md", ge = !!h, _e = !!y, ve = B ? V ? "text" : "password" : k, ye = E.autoComplete ?? (k === "password" ? "new-password" : void 0), be = z && !K && !B && ae.length > 0, xe = xl[he], Se = i ?? /* @__PURE__ */ (0, R.jsx)(Zl, { className: xe }), Ce = V ? c ?? /* @__PURE__ */ (0, R.jsx)($l, { className: xe }) : x ?? /* @__PURE__ */ (0, R.jsx)(Ql, { className: xe }), we = be || B, Te = ge ? wl.leftElement[he] : void 0, Ee = _e && we ? wl.elementWithAction[he] : we ? B ? wl.password[he] : wl.clear[he] : _e ? wl.element[he] : void 0, De = Z(Sl[he] ?? Sl.md, Cl[ue]), Oe = () => {
7497
+ Jl(A.current, ""), A.current?.focus(), g?.();
7498
+ }, ke = {
7499
+ ...hl({
7500
+ color: I,
7501
+ invalid: ce,
7502
+ style: T,
7503
+ theme: ue
7504
+ }),
7353
7505
  ...ge ? { paddingLeft: `calc(${W}px + 1.75rem)` } : null,
7354
- ..._e || Ce ? { paddingRight: `calc(${re}px + 1rem)` } : null
7506
+ ..._e || we ? { paddingRight: `calc(${re}px + 1rem)` } : null
7355
7507
  };
7356
7508
  return l(() => {
7357
7509
  let e = j.current, t = M.current, n = () => {
@@ -7364,35 +7516,35 @@ var Ql = a(function({ actionShape: e = "circle", className: t, clearButton: n, c
7364
7516
  };
7365
7517
  }, [
7366
7518
  ae,
7367
- Ce,
7519
+ we,
7368
7520
  ge,
7369
7521
  _e,
7370
7522
  h,
7371
7523
  V,
7372
7524
  y,
7373
7525
  he,
7374
- ye
7526
+ be
7375
7527
  ]), /* @__PURE__ */ (0, R.jsxs)("div", {
7376
7528
  "data-slot": "input-shell",
7377
7529
  "data-attached": me ? "" : void 0,
7378
- className: Z(ml.shell, me && "h-full", N?.layout === "inline" && "flex-1", E.type === "hidden" && "contents"),
7530
+ className: Z(gl.shell, me && "h-full", N?.layout === "inline" && "flex-1", E.type === "hidden" && "contents"),
7379
7531
  children: [
7380
7532
  ge ? /* @__PURE__ */ (0, R.jsx)("span", {
7381
7533
  ref: j,
7382
- className: ml.leftElement,
7534
+ className: gl.leftElement,
7383
7535
  children: /* @__PURE__ */ (0, R.jsx)("span", {
7384
- className: Ee,
7536
+ className: De,
7385
7537
  children: h
7386
7538
  })
7387
7539
  }) : null,
7388
7540
  /* @__PURE__ */ (0, R.jsx)("input", {
7389
- ref: Gl(O, A),
7541
+ ref: ql(O, A),
7390
7542
  id: se,
7391
7543
  required: le,
7392
7544
  disabled: K,
7393
7545
  "aria-invalid": ce || void 0,
7394
7546
  "aria-describedby": G,
7395
- className: Pl({
7547
+ className: Il({
7396
7548
  attached: me,
7397
7549
  className: t,
7398
7550
  colorUi: oe,
@@ -7402,31 +7554,35 @@ var Ql = a(function({ actionShape: e = "circle", className: t, clearButton: n, c
7402
7554
  resolvedInvalid: ce,
7403
7555
  size: F,
7404
7556
  ui: de,
7405
- paddingStartClassName: we,
7406
- paddingEndClassName: Te
7557
+ paddingStartClassName: Te,
7558
+ paddingEndClassName: Ee
7407
7559
  }),
7408
- style: De,
7560
+ style: ke,
7409
7561
  ...E,
7562
+ autoComplete: ye,
7410
7563
  type: ve,
7564
+ onKeyDown: (e) => {
7565
+ E.onKeyDown?.(e), !e.defaultPrevented && e.ctrlKey && !e.altKey && !e.metaKey && !e.shiftKey && !e.isComposing && !K && !E.readOnly && ae.length > 0 && (e.code === "Space" || e.key === " ") && (e.preventDefault(), Oe());
7566
+ },
7411
7567
  onChange: (e) => {
7412
7568
  L || U(e.target.value), E.onChange?.(e);
7413
7569
  }
7414
7570
  }),
7415
- _e || Ce ? /* @__PURE__ */ (0, R.jsxs)("span", {
7571
+ _e || we ? /* @__PURE__ */ (0, R.jsxs)("span", {
7416
7572
  ref: M,
7417
- className: ml.rightCluster,
7573
+ className: gl.rightCluster,
7418
7574
  children: [
7419
7575
  _e ? /* @__PURE__ */ (0, R.jsx)("span", {
7420
- className: Z(ml.rightElement, Ee),
7576
+ className: Z(gl.rightElement, De),
7421
7577
  children: y
7422
7578
  }) : null,
7423
- ye ? /* @__PURE__ */ (0, R.jsx)("button", {
7579
+ be ? /* @__PURE__ */ (0, R.jsx)("button", {
7424
7580
  type: "button",
7425
7581
  tabIndex: K ? -1 : 0,
7426
7582
  "aria-label": r,
7427
7583
  disabled: K,
7428
7584
  title: r,
7429
- className: Fl({
7585
+ className: Ll({
7430
7586
  shape: fe,
7431
7587
  size: he,
7432
7588
  theme: ue,
@@ -7434,9 +7590,9 @@ var Ql = a(function({ actionShape: e = "circle", className: t, clearButton: n, c
7434
7590
  }),
7435
7591
  onMouseDown: (e) => e.preventDefault(),
7436
7592
  onClick: () => {
7437
- Kl(A.current, ""), A.current?.focus(), g?.();
7593
+ Oe();
7438
7594
  },
7439
- children: xe
7595
+ children: Se
7440
7596
  }) : null,
7441
7597
  B ? /* @__PURE__ */ (0, R.jsx)("button", {
7442
7598
  type: "button",
@@ -7445,7 +7601,7 @@ var Ql = a(function({ actionShape: e = "circle", className: t, clearButton: n, c
7445
7601
  "aria-pressed": V,
7446
7602
  disabled: K,
7447
7603
  title: V ? u : S,
7448
- className: Fl({
7604
+ className: Ll({
7449
7605
  shape: fe,
7450
7606
  size: he,
7451
7607
  theme: ue,
@@ -7456,14 +7612,14 @@ var Ql = a(function({ actionShape: e = "circle", className: t, clearButton: n, c
7456
7612
  let e = !V;
7457
7613
  H(e), _?.(e);
7458
7614
  },
7459
- children: Se
7615
+ children: Ce
7460
7616
  }) : null
7461
7617
  ]
7462
7618
  }) : null
7463
7619
  ]
7464
7620
  });
7465
- }), $l = a(function({ attached: e = !1, children: t, className: n, color: r = "neutral", columns: i, fullWidth: a = !0, layout: o = "inline", shape: s = "square", size: c = "md", style: l, ...u }, d) {
7466
- let p = G(), m = D("input"), h = Il(o), g = f(() => ({
7621
+ }), tu = a(function({ attached: e = !1, children: t, className: n, color: r = "neutral", columns: i, fullWidth: a = !0, layout: o = "inline", shape: s = "square", size: c = "md", style: l, ...u }, d) {
7622
+ let p = G(), m = D("input"), h = Rl(o), g = f(() => ({
7467
7623
  attached: e,
7468
7624
  color: r,
7469
7625
  columns: i,
@@ -7482,13 +7638,13 @@ var Ql = a(function({ actionShape: e = "circle", className: t, clearButton: n, c
7482
7638
  c,
7483
7639
  p
7484
7640
  ]);
7485
- return /* @__PURE__ */ (0, R.jsx)(ql.Provider, {
7641
+ return /* @__PURE__ */ (0, R.jsx)(Yl.Provider, {
7486
7642
  value: g,
7487
7643
  children: /* @__PURE__ */ (0, R.jsx)("div", {
7488
7644
  ref: d,
7489
7645
  "data-slot": "input-group",
7490
7646
  "data-attached": e ? "" : void 0,
7491
- className: Ll({
7647
+ className: zl({
7492
7648
  attached: e,
7493
7649
  className: n,
7494
7650
  color: r,
@@ -7506,7 +7662,7 @@ var Ql = a(function({ actionShape: e = "circle", className: t, clearButton: n, c
7506
7662
  ...u,
7507
7663
  children: e ? /* @__PURE__ */ (0, R.jsx)("div", {
7508
7664
  "data-slot": "input-group-frame",
7509
- className: Rl({
7665
+ className: Bl({
7510
7666
  color: r,
7511
7667
  layout: h,
7512
7668
  shape: s,
@@ -7515,11 +7671,11 @@ var Ql = a(function({ actionShape: e = "circle", className: t, clearButton: n, c
7515
7671
  }),
7516
7672
  children: /* @__PURE__ */ (0, R.jsx)("div", {
7517
7673
  "data-slot": "input-group-inner",
7518
- className: Z(zl({
7674
+ className: Z(Vl({
7519
7675
  color: r,
7520
7676
  layout: h,
7521
7677
  theme: p
7522
- }), Bl({
7678
+ }), Hl({
7523
7679
  columns: i,
7524
7680
  layout: h,
7525
7681
  shape: s,
@@ -7534,14 +7690,14 @@ var Ql = a(function({ actionShape: e = "circle", className: t, clearButton: n, c
7534
7690
  }) : t
7535
7691
  })
7536
7692
  });
7537
- }), eu = a(function({ children: e, className: t, grow: n = !0, span: r, style: i, ...a }, o) {
7538
- let s = Jl(), c = s?.layout === "grid" && Number.isFinite(r) && Number.isFinite(s?.columns) && r >= s.columns;
7693
+ }), nu = a(function({ children: e, className: t, grow: n = !0, span: r, style: i, ...a }, o) {
7694
+ let s = Xl(), c = s?.layout === "grid" && Number.isFinite(r) && Number.isFinite(s?.columns) && r >= s.columns;
7539
7695
  return /* @__PURE__ */ (0, R.jsx)("div", {
7540
7696
  ref: o,
7541
7697
  "data-slot": "input-group-item",
7542
7698
  "data-full-row": c ? "" : void 0,
7543
7699
  "data-span": r ?? void 0,
7544
- className: Vl({
7700
+ className: Ul({
7545
7701
  className: t,
7546
7702
  grow: n,
7547
7703
  layout: s?.layout
@@ -7553,12 +7709,12 @@ var Ql = a(function({ actionShape: e = "circle", className: t, clearButton: n, c
7553
7709
  ...a,
7554
7710
  children: e
7555
7711
  });
7556
- }), tu = a(function({ align: e = "start", children: t, className: n, color: r, shape: i, size: a, ...o }, s) {
7557
- let c = Jl();
7712
+ }), ru = a(function({ align: e = "start", children: t, className: n, color: r, shape: i, size: a, ...o }, s) {
7713
+ let c = Xl();
7558
7714
  return /* @__PURE__ */ (0, R.jsx)("div", {
7559
7715
  ref: s,
7560
7716
  "data-slot": "input-group-addon",
7561
- className: Hl({
7717
+ className: Wl({
7562
7718
  align: e,
7563
7719
  attached: c?.attached,
7564
7720
  className: n,
@@ -7570,8 +7726,8 @@ var Ql = a(function({ actionShape: e = "circle", className: t, clearButton: n, c
7570
7726
  ...o,
7571
7727
  children: t
7572
7728
  });
7573
- }), nu = a(function({ activeMotion: e = !1, children: t, className: n, color: r, shape: i, size: a, type: o = "button", variant: s = "solid", ...c }, l) {
7574
- let u = Jl(), d = (i ?? u?.shape) === "pill" ? "pill" : "default";
7729
+ }), iu = a(function({ activeMotion: e = !1, children: t, className: n, color: r, shape: i, size: a, type: o = "button", variant: s = "solid", ...c }, l) {
7730
+ let u = Xl(), d = (i ?? u?.shape) === "pill" ? "pill" : "default";
7575
7731
  return /* @__PURE__ */ (0, R.jsx)(Fr, {
7576
7732
  ref: l,
7577
7733
  "data-slot": "input-group-action",
@@ -7581,7 +7737,7 @@ var Ql = a(function({ actionShape: e = "circle", className: t, clearButton: n, c
7581
7737
  size: a ?? u?.size,
7582
7738
  variant: s,
7583
7739
  activeMotion: e,
7584
- className: Ul({
7740
+ className: Gl({
7585
7741
  attached: u?.attached,
7586
7742
  className: n,
7587
7743
  size: a ?? u?.size
@@ -7592,55 +7748,55 @@ var Ql = a(function({ actionShape: e = "circle", className: t, clearButton: n, c
7592
7748
  });
7593
7749
  //#endregion
7594
7750
  //#region src/lib/components/logic/Logic.jsx
7595
- function ru(e, t) {
7751
+ function au(e, t) {
7596
7752
  return typeof e == "function" ? e(t) : e ?? null;
7597
7753
  }
7598
- function iu(e) {
7754
+ function ou(e) {
7599
7755
  return e == null ? [] : Array.isArray(e) ? e : typeof e[Symbol.iterator] == "function" ? Array.from(e) : [];
7600
7756
  }
7601
- function au(e, t) {
7757
+ function su(e, t) {
7602
7758
  return typeof e == "function" ? !!e(t) : Array.isArray(e) ? e.some((e) => Object.is(e, t)) : Object.is(e, t);
7603
7759
  }
7604
- function ou({ children: e, fallback: t = null, when: r }) {
7605
- return /* @__PURE__ */ (0, R.jsx)(n, { children: ru(r ? e : t, r) });
7760
+ function cu({ children: e, fallback: t = null, when: r }) {
7761
+ return /* @__PURE__ */ (0, R.jsx)(n, { children: au(r ? e : t, r) });
7606
7762
  }
7607
- function su({ children: e }) {
7763
+ function lu({ children: e }) {
7608
7764
  return /* @__PURE__ */ (0, R.jsx)(n, { children: e });
7609
7765
  }
7610
- function cu({ children: e }) {
7766
+ function uu({ children: e }) {
7611
7767
  return /* @__PURE__ */ (0, R.jsx)(n, { children: e });
7612
7768
  }
7613
- function lu({ children: e, fallback: r = null, value: i }) {
7769
+ function du({ children: e, fallback: r = null, value: i }) {
7614
7770
  let a = t.toArray(e), s = null;
7615
7771
  for (let e of a) if (o(e)) {
7616
- if (e.type === cu) {
7772
+ if (e.type === uu) {
7617
7773
  s = e;
7618
7774
  continue;
7619
7775
  }
7620
- if (e.type === su && au(e.props.when, i)) return /* @__PURE__ */ (0, R.jsx)(n, { children: ru(e.props.children, i) });
7776
+ if (e.type === lu && su(e.props.when, i)) return /* @__PURE__ */ (0, R.jsx)(n, { children: au(e.props.children, i) });
7621
7777
  }
7622
- return s ? /* @__PURE__ */ (0, R.jsx)(n, { children: ru(s.props.children, i) }) : /* @__PURE__ */ (0, R.jsx)(n, { children: ru(r, i) });
7778
+ return s ? /* @__PURE__ */ (0, R.jsx)(n, { children: au(s.props.children, i) }) : /* @__PURE__ */ (0, R.jsx)(n, { children: au(r, i) });
7623
7779
  }
7624
- function uu({ children: e, each: t, fallback: r = null }) {
7625
- let i = iu(t);
7626
- return i.length ? typeof e == "function" ? /* @__PURE__ */ (0, R.jsx)(n, { children: i.map((t, n) => e(t, n)) }) : /* @__PURE__ */ (0, R.jsx)(n, { children: e }) : /* @__PURE__ */ (0, R.jsx)(n, { children: ru(r, i) });
7780
+ function fu({ children: e, each: t, fallback: r = null }) {
7781
+ let i = ou(t);
7782
+ return i.length ? typeof e == "function" ? /* @__PURE__ */ (0, R.jsx)(n, { children: i.map((t, n) => e(t, n)) }) : /* @__PURE__ */ (0, R.jsx)(n, { children: e }) : /* @__PURE__ */ (0, R.jsx)(n, { children: au(r, i) });
7627
7783
  }
7628
- su.displayName = "Match", cu.displayName = "Default", lu.displayName = "RenderSwitch", ou.displayName = "Show", uu.displayName = "For";
7784
+ lu.displayName = "Match", uu.displayName = "Default", du.displayName = "RenderSwitch", cu.displayName = "Show", fu.displayName = "For";
7629
7785
  //#endregion
7630
7786
  //#region src/lib/components/modal/modal-context.js
7631
- var du = i(null);
7632
- function fu(e) {
7633
- let t = c(du);
7787
+ var pu = i(null);
7788
+ function mu(e) {
7789
+ let t = c(pu);
7634
7790
  if (!t) throw Error(`${e} debe usarse dentro de <Modal>.`);
7635
7791
  return t;
7636
7792
  }
7637
7793
  //#endregion
7638
7794
  //#region src/lib/components/modal/Modal.jsx
7639
- var pu = 140, mu = 0, hu = 50, gu = 0, _u = [], vu = "", yu = "", bu = "", xu = "";
7640
- function Su(e) {
7795
+ var hu = 140, gu = 0, _u = 50, vu = 0, yu = [], bu = "", xu = "", Su = "", Cu = "";
7796
+ function wu(e) {
7641
7797
  return !e || e === "transparent" || e === "rgba(0, 0, 0, 0)" || e === "rgb(0 0 0 / 0)";
7642
7798
  }
7643
- function Cu() {
7799
+ function Tu() {
7644
7800
  let e = [
7645
7801
  document.body,
7646
7802
  document.getElementById("root"),
@@ -7649,34 +7805,34 @@ function Cu() {
7649
7805
  ].filter(Boolean);
7650
7806
  for (let t of e) {
7651
7807
  let e = window.getComputedStyle(t).backgroundColor;
7652
- if (!Su(e)) return e;
7808
+ if (!wu(e)) return e;
7653
7809
  }
7654
7810
  return "";
7655
7811
  }
7656
- function wu() {
7657
- if (gu += 1, gu !== 1) return;
7812
+ function Eu() {
7813
+ if (vu += 1, vu !== 1) return;
7658
7814
  let e = document.body, t = window.innerWidth - document.documentElement.clientWidth, n = Number.parseFloat(window.getComputedStyle(e).paddingRight) || 0;
7659
- vu = e.style.overflow, yu = e.style.overscrollBehavior, bu = e.style.paddingRight, xu = e.style.backgroundColor, e.style.overflow = "hidden", e.style.overscrollBehavior = "none", e.style.backgroundColor = Cu(), t > 0 && (e.style.paddingRight = `${n + t}px`);
7815
+ bu = e.style.overflow, xu = e.style.overscrollBehavior, Su = e.style.paddingRight, Cu = e.style.backgroundColor, e.style.overflow = "hidden", e.style.overscrollBehavior = "none", e.style.backgroundColor = Tu(), t > 0 && (e.style.paddingRight = `${n + t}px`);
7660
7816
  }
7661
- function Tu() {
7662
- if (gu = Math.max(0, gu - 1), gu !== 0) return;
7817
+ function Du() {
7818
+ if (vu = Math.max(0, vu - 1), vu !== 0) return;
7663
7819
  let e = document.body;
7664
- e.style.overflow = vu, e.style.overscrollBehavior = yu, e.style.paddingRight = bu, e.style.backgroundColor = xu;
7665
- }
7666
- function Eu(e) {
7667
- _u.includes(e) || _u.push(e);
7668
- }
7669
- function Du(e) {
7670
- let t = _u.indexOf(e);
7671
- t !== -1 && _u.splice(t, 1);
7820
+ e.style.overflow = bu, e.style.overscrollBehavior = xu, e.style.paddingRight = Su, e.style.backgroundColor = Cu;
7672
7821
  }
7673
7822
  function Ou(e) {
7674
- return _u.at(-1) === e;
7823
+ yu.includes(e) || yu.push(e);
7675
7824
  }
7676
7825
  function ku(e) {
7826
+ let t = yu.indexOf(e);
7827
+ t !== -1 && yu.splice(t, 1);
7828
+ }
7829
+ function Au(e) {
7830
+ return yu.at(-1) === e;
7831
+ }
7832
+ function ju(e) {
7677
7833
  return !!(e?.props?.disabled || e?.props?.["aria-disabled"] === !0);
7678
7834
  }
7679
- var Au = {
7835
+ var Mu = {
7680
7836
  overlay: "fixed inset-0 bg-neutral-950/70 transition-opacity duration-[140ms]",
7681
7837
  viewport: "fixed inset-0 flex items-center justify-center p-4 sm:p-6 pointer-events-none",
7682
7838
  dialog: ["pointer-events-auto flex max-h-[calc(100dvh-2rem)] w-full flex-col overflow-hidden", "rounded-[1.25rem] border transition-[opacity,transform] duration-[140ms] ease-out"].join(" "),
@@ -7688,7 +7844,7 @@ var Au = {
7688
7844
  "text-base font-medium transition-colors cursor-pointer",
7689
7845
  "focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2"
7690
7846
  ].join(" ")
7691
- }, ju = {
7847
+ }, Nu = {
7692
7848
  light: {
7693
7849
  dialog: "border-slate-200 bg-white text-slate-950",
7694
7850
  muted: "text-slate-600",
@@ -7704,10 +7860,10 @@ var Au = {
7704
7860
  closeButton: "border-zinc-800 text-stone-400 hover:border-zinc-700 hover:bg-zinc-900 hover:text-stone-50 focus-visible:outline-zinc-700"
7705
7861
  }
7706
7862
  };
7707
- function Mu(e) {
7863
+ function Pu(e) {
7708
7864
  return e === "dark" ? "dark" : "light";
7709
7865
  }
7710
- function Nu() {
7866
+ function Fu() {
7711
7867
  return /* @__PURE__ */ (0, R.jsx)("svg", {
7712
7868
  "aria-hidden": "true",
7713
7869
  viewBox: "0 0 24 24",
@@ -7721,8 +7877,8 @@ function Nu() {
7721
7877
  })
7722
7878
  });
7723
7879
  }
7724
- function Pu({ children: e, defaultOpen: t = !1, maxWidth: n = "max-w-md", onBeforeClose: r, onOpenChange: i, open: a, outsideClick: o = !0, zIndex: c }) {
7725
- let [u, d] = m(t), [p, h] = m(t), [g, _] = m(c ?? 50), [v] = m(() => (mu += 1, mu)), y = a !== void 0, b = y ? a : u, x = b || p, S = s((e) => {
7880
+ function Iu({ children: e, defaultOpen: t = !1, maxWidth: n = "max-w-md", onBeforeClose: r, onOpenChange: i, open: a, outsideClick: o = !0, zIndex: c }) {
7881
+ let [u, d] = m(t), [p, h] = m(t), [g, _] = m(c ?? 50), [v] = m(() => (gu += 1, gu)), y = a !== void 0, b = y ? a : u, x = b || p, S = s((e) => {
7726
7882
  y || d(e), e !== b && i?.(e);
7727
7883
  }, [
7728
7884
  y,
@@ -7742,18 +7898,18 @@ function Pu({ children: e, defaultOpen: t = !1, maxWidth: n = "max-w-md", onBefo
7742
7898
  }
7743
7899
  let e = window.setTimeout(() => {
7744
7900
  h(!1);
7745
- }, pu);
7901
+ }, hu);
7746
7902
  return () => {
7747
7903
  window.clearTimeout(e);
7748
7904
  };
7749
7905
  }, [b]), l(() => {
7750
7906
  if (!x) return;
7751
- Eu(v), wu();
7752
- let e = c || (hu += 10, hu), t = window.requestAnimationFrame(() => {
7907
+ Ou(v), Eu();
7908
+ let e = c || (_u += 10, _u), t = window.requestAnimationFrame(() => {
7753
7909
  _(e);
7754
7910
  });
7755
7911
  return () => {
7756
- window.cancelAnimationFrame(t), Du(v), Tu(), !c && hu > 50 && (hu -= 10);
7912
+ window.cancelAnimationFrame(t), ku(v), Du(), !c && _u > 50 && (_u -= 10);
7757
7913
  };
7758
7914
  }, [
7759
7915
  c,
@@ -7762,7 +7918,7 @@ function Pu({ children: e, defaultOpen: t = !1, maxWidth: n = "max-w-md", onBefo
7762
7918
  ]), l(() => {
7763
7919
  if (!x || !o) return;
7764
7920
  let e = (e) => {
7765
- e.key !== "Escape" || !Ou(v) || C();
7921
+ e.key !== "Escape" || !Au(v) || C();
7766
7922
  };
7767
7923
  return window.addEventListener("keydown", e), () => {
7768
7924
  window.removeEventListener("keydown", e);
@@ -7792,13 +7948,13 @@ function Pu({ children: e, defaultOpen: t = !1, maxWidth: n = "max-w-md", onBefo
7792
7948
  S,
7793
7949
  p
7794
7950
  ]);
7795
- return /* @__PURE__ */ (0, R.jsx)(du.Provider, {
7951
+ return /* @__PURE__ */ (0, R.jsx)(pu.Provider, {
7796
7952
  value: w,
7797
7953
  children: e
7798
7954
  });
7799
7955
  }
7800
- function Fu({ as: e = "button", asChild: n = !1, children: i, className: a, disabled: s = !1, ...c }) {
7801
- let { open: l, setOpen: u } = fu("ModalTrigger");
7956
+ function Lu({ as: e = "button", asChild: n = !1, children: i, className: a, disabled: s = !1, ...c }) {
7957
+ let { open: l, setOpen: u } = mu("ModalTrigger");
7802
7958
  if (n) {
7803
7959
  let e = t.only(i);
7804
7960
  if (!o(e)) throw Error("ModalTrigger con asChild requiere un único elemento React válido.");
@@ -7807,7 +7963,7 @@ function Fu({ as: e = "button", asChild: n = !1, children: i, className: a, disa
7807
7963
  className: Z(e.props.className, a),
7808
7964
  ...c
7809
7965
  };
7810
- return ku(e) ? r(e, n) : r(e, {
7966
+ return ju(e) ? r(e, n) : r(e, {
7811
7967
  ...n,
7812
7968
  onClick: (t) => {
7813
7969
  e.props.onClick?.(t), t.defaultPrevented || u(!l);
@@ -7824,17 +7980,17 @@ function Fu({ as: e = "button", asChild: n = !1, children: i, className: a, disa
7824
7980
  children: i
7825
7981
  });
7826
7982
  }
7827
- function Iu({ children: e, className: t }) {
7828
- let { close: n, instanceZIndex: r, maxWidth: i, outsideClick: a, rendered: o, visible: s } = fu("ModalContent"), c = ju[Mu(G())];
7983
+ function Ru({ children: e, className: t }) {
7984
+ let { close: n, instanceZIndex: r, maxWidth: i, outsideClick: a, rendered: o, visible: s } = mu("ModalContent"), c = Nu[Pu(G())];
7829
7985
  return typeof window > "u" || !o ? null : g(/* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("div", {
7830
- className: Z(Au.overlay, s ? "opacity-100" : "opacity-0"),
7986
+ className: Z(Mu.overlay, s ? "opacity-100" : "opacity-0"),
7831
7987
  style: { zIndex: r },
7832
7988
  onClick: a ? n : void 0
7833
7989
  }), /* @__PURE__ */ (0, R.jsx)("div", {
7834
- className: Au.viewport,
7990
+ className: Mu.viewport,
7835
7991
  style: { zIndex: r + 1 },
7836
7992
  children: /* @__PURE__ */ (0, R.jsx)("div", {
7837
- className: Z(Au.dialog, c.dialog, i, "translate-y-0 scale-100 opacity-100", !s && "translate-y-2 scale-[0.995] opacity-0", t),
7993
+ className: Z(Mu.dialog, c.dialog, i, "translate-y-0 scale-100 opacity-100", !s && "translate-y-2 scale-[0.995] opacity-0", t),
7838
7994
  role: "dialog",
7839
7995
  "aria-modal": "true",
7840
7996
  onClick: (e) => e.stopPropagation(),
@@ -7842,44 +7998,44 @@ function Iu({ children: e, className: t }) {
7842
7998
  })
7843
7999
  })] }), document.body);
7844
8000
  }
7845
- function Lu({ children: e, className: t }) {
7846
- let { close: n, outsideClick: r } = fu("ModalHeader"), i = Mu(G()), a = D("modal"), o = ju[i];
8001
+ function zu({ children: e, className: t }) {
8002
+ let { close: n, outsideClick: r } = mu("ModalHeader"), i = Pu(G()), a = D("modal"), o = Nu[i];
7847
8003
  return /* @__PURE__ */ (0, R.jsxs)("div", {
7848
- className: Z(Au.header, o.header, t),
8004
+ className: Z(Mu.header, o.header, t),
7849
8005
  children: [/* @__PURE__ */ (0, R.jsx)("div", {
7850
8006
  className: "min-w-0 flex-1",
7851
8007
  children: e
7852
8008
  }), r ? /* @__PURE__ */ (0, R.jsx)("button", {
7853
8009
  type: "button",
7854
8010
  onClick: n,
7855
- className: Z(T(a, Au.closeButton), T(a, o.closeButton)),
8011
+ className: Z(T(a, Mu.closeButton), T(a, o.closeButton)),
7856
8012
  "aria-label": "Cerrar modal",
7857
- children: /* @__PURE__ */ (0, R.jsx)(Nu, {})
8013
+ children: /* @__PURE__ */ (0, R.jsx)(Fu, {})
7858
8014
  }) : null]
7859
8015
  });
7860
8016
  }
7861
- function Ru({ centered: e = !0, children: t, className: n }) {
8017
+ function Bu({ centered: e = !0, children: t, className: n }) {
7862
8018
  return /* @__PURE__ */ (0, R.jsx)("h2", {
7863
8019
  className: Z("text-lg font-semibold tracking-[-0.02em]", e && "text-center", n),
7864
8020
  children: t
7865
8021
  });
7866
8022
  }
7867
- function zu({ children: e, className: t }) {
7868
- let n = ju[Mu(G())];
8023
+ function Vu({ children: e, className: t }) {
8024
+ let n = Nu[Pu(G())];
7869
8025
  return /* @__PURE__ */ (0, R.jsx)("div", {
7870
- className: Z(Au.body, n.muted, t),
8026
+ className: Z(Mu.body, n.muted, t),
7871
8027
  children: e
7872
8028
  });
7873
8029
  }
7874
- function Bu({ children: e, className: t, placement: n = "center" }) {
7875
- let r = ju[Mu(G())];
8030
+ function Hu({ children: e, className: t, placement: n = "center" }) {
8031
+ let r = Nu[Pu(G())];
7876
8032
  return /* @__PURE__ */ (0, R.jsx)("div", {
7877
- className: Z(Au.actions, r.actions, n === "start" && "justify-start", n === "center" && "justify-center", n === "end" && "justify-end", t),
8033
+ className: Z(Mu.actions, r.actions, n === "start" && "justify-start", n === "center" && "justify-center", n === "end" && "justify-end", t),
7878
8034
  children: e
7879
8035
  });
7880
8036
  }
7881
- function Vu({ children: e, className: t, closeOnClick: n = !0, color: r = "primary", onClick: i, size: a = "md", variant: o = "solid", ...s }) {
7882
- let { close: c } = fu("ModalAction");
8037
+ function Uu({ children: e, className: t, closeOnClick: n = !0, color: r = "primary", onClick: i, size: a = "md", variant: o = "solid", ...s }) {
8038
+ let { close: c } = mu("ModalAction");
7883
8039
  return /* @__PURE__ */ (0, R.jsx)(Fr, {
7884
8040
  variant: o,
7885
8041
  color: r,
@@ -7892,15 +8048,15 @@ function Vu({ children: e, className: t, closeOnClick: n = !0, color: r = "prima
7892
8048
  children: e
7893
8049
  });
7894
8050
  }
7895
- Pu.Trigger = Fu, Pu.Content = Iu, Pu.Header = Lu, Pu.Title = Ru, Pu.Body = zu, Pu.Actions = Bu, Pu.Action = Vu;
8051
+ Iu.Trigger = Lu, Iu.Content = Ru, Iu.Header = zu, Iu.Title = Bu, Iu.Body = Vu, Iu.Actions = Hu, Iu.Action = Uu;
7896
8052
  //#endregion
7897
8053
  //#region src/lib/components/modal/useModal.js
7898
- function Hu() {
7899
- return fu("useModal");
8054
+ function Wu() {
8055
+ return mu("useModal");
7900
8056
  }
7901
8057
  //#endregion
7902
8058
  //#region src/lib/components/pagination/Pagination.jsx
7903
- function Uu({ count: e, page: t, siblingCount: n }) {
8059
+ function Gu({ count: e, page: t, siblingCount: n }) {
7904
8060
  if (e <= n * 2 + 5) return Array.from({ length: e }, (e, t) => t + 1);
7905
8061
  let r = Math.max(t - n, 1), i = Math.min(t + n, e), a = r > 2, o = i < e - 1;
7906
8062
  return !a && o ? [
@@ -7919,8 +8075,8 @@ function Uu({ count: e, page: t, siblingCount: n }) {
7919
8075
  e
7920
8076
  ];
7921
8077
  }
7922
- function Wu({ className: e, color: t = "neutral", count: n, defaultPage: r = 1, disabled: i = !1, onPageChange: a, page: o, siblingCount: s = 1 }) {
7923
- let c = o !== void 0, [l, u] = m(r), d = c ? o : l, p = Math.max(1, n ?? 1), h = Math.min(Math.max(d, 1), p), g = f(() => Uu({
8078
+ function Ku({ className: e, color: t = "neutral", count: n, defaultPage: r = 1, disabled: i = !1, onPageChange: a, page: o, siblingCount: s = 1 }) {
8079
+ let c = o !== void 0, [l, u] = m(r), d = c ? o : l, p = Math.max(1, n ?? 1), h = Math.min(Math.max(d, 1), p), g = f(() => Gu({
7924
8080
  count: p,
7925
8081
  page: h,
7926
8082
  siblingCount: s
@@ -7974,10 +8130,10 @@ function Wu({ className: e, color: t = "neutral", count: n, defaultPage: r = 1,
7974
8130
  }
7975
8131
  //#endregion
7976
8132
  //#region src/lib/components/popover/Popover.jsx
7977
- var Gu = {
8133
+ var qu = {
7978
8134
  wrapper: "inline-flex",
7979
8135
  panel: ["z-50 w-max max-w-[20rem] break-words rounded-[1rem] border px-3 py-2", "text-sm leading-6 outline-none"].join(" ")
7980
- }, Ku = {
8136
+ }, Ju = {
7981
8137
  light: {
7982
8138
  default: {
7983
8139
  panel: "border-slate-200 bg-white text-slate-700",
@@ -8113,10 +8269,10 @@ var Gu = {
8113
8269
  }
8114
8270
  }
8115
8271
  };
8116
- function qu(e) {
8272
+ function Yu(e) {
8117
8273
  return e === "dark" ? "dark" : "light";
8118
8274
  }
8119
- function Ju(e) {
8275
+ function Xu(e) {
8120
8276
  switch (e) {
8121
8277
  case "top-start": return "bottom left";
8122
8278
  case "top-end": return "bottom right";
@@ -8133,7 +8289,7 @@ function Ju(e) {
8133
8289
  default: return "top center";
8134
8290
  }
8135
8291
  }
8136
- function Yu(e) {
8292
+ function Zu(e) {
8137
8293
  switch (e) {
8138
8294
  case "top": return "translateY(4px) scale(0.98)";
8139
8295
  case "bottom": return "translateY(-4px) scale(0.98)";
@@ -8142,11 +8298,11 @@ function Yu(e) {
8142
8298
  default: return "scale(0.98)";
8143
8299
  }
8144
8300
  }
8145
- function Xu(e) {
8301
+ function Qu(e) {
8146
8302
  return !!(e?.props?.disabled || e?.props?.["aria-disabled"] === !0);
8147
8303
  }
8148
- function Zu({ arrowHeight: e = 8, arrowFill: t, arrowStrokeWidth: n = .75, arrowStroke: i, arrowTipRadius: a = 2, arrowWidth: c = 16, autoCloseMs: u = 0, children: d, className: f = "", color: p = "default", content: h, offset: g = 8, placement: _ = "top", showArrow: v = !0, trigger: y = "hover", usePortal: b = !0, zIndex: x = 2e3 }) {
8149
- let [S, C] = m(!1), [w, T] = m(null), E = qu(G()), D = Ku[E][p] ? p : "default", O = Ku[E][D], k = y === "hover", { refs: A, floatingStyles: j, context: M } = vc({
8304
+ function $u({ arrowHeight: e = 8, arrowFill: t, arrowStrokeWidth: n = .75, arrowStroke: i, arrowTipRadius: a = 2, arrowWidth: c = 16, autoCloseMs: u = 0, children: d, className: f = "", color: p = "default", content: h, offset: g = 8, placement: _ = "top", showArrow: v = !0, trigger: y = "hover", usePortal: b = !0, zIndex: x = 2e3 }) {
8305
+ let [S, C] = m(!1), [w, T] = m(null), E = Yu(G()), D = Ju[E][p] ? p : "default", O = Ju[E][D], k = y === "hover", { refs: A, floatingStyles: j, context: M } = vc({
8150
8306
  open: S,
8151
8307
  onOpenChange: C,
8152
8308
  placement: _,
@@ -8184,7 +8340,7 @@ function Zu({ arrowHeight: e = 8, arrowFill: t, arrowStrokeWidth: n = .75, arrow
8184
8340
  },
8185
8341
  initial: ({ side: e }) => ({
8186
8342
  opacity: 0,
8187
- transform: Yu(e)
8343
+ transform: Zu(e)
8188
8344
  }),
8189
8345
  open: {
8190
8346
  opacity: 1,
@@ -8192,9 +8348,9 @@ function Zu({ arrowHeight: e = 8, arrowFill: t, arrowStrokeWidth: n = .75, arrow
8192
8348
  },
8193
8349
  close: ({ side: e }) => ({
8194
8350
  opacity: 0,
8195
- transform: Yu(e)
8351
+ transform: Zu(e)
8196
8352
  }),
8197
- common: { transformOrigin: Ju(_) }
8353
+ common: { transformOrigin: Xu(_) }
8198
8354
  });
8199
8355
  l(() => {
8200
8356
  if (!S || !(u > 0)) return;
@@ -8207,19 +8363,19 @@ function Zu({ arrowHeight: e = 8, arrowFill: t, arrowStrokeWidth: n = .75, arrow
8207
8363
  }, [u, S]);
8208
8364
  let z = o(d) ? /* @__PURE__ */ (0, R.jsx)("span", {
8209
8365
  ref: F,
8210
- className: Gu.wrapper,
8211
- ...Xu(d) ? { "data-state": S ? "open" : "closed" } : N({ "data-state": S ? "open" : "closed" }),
8366
+ className: qu.wrapper,
8367
+ ...Qu(d) ? { "data-state": S ? "open" : "closed" } : N({ "data-state": S ? "open" : "closed" }),
8212
8368
  children: r(d, { className: Z(d.props.className) })
8213
8369
  }) : /* @__PURE__ */ (0, R.jsx)("span", {
8214
8370
  ref: F,
8215
- className: Gu.wrapper,
8371
+ className: qu.wrapper,
8216
8372
  ...N({ "data-state": S ? "open" : "closed" }),
8217
8373
  children: d
8218
8374
  });
8219
8375
  if (!ee) return z;
8220
8376
  let B = t ?? O.arrowFill, V = i ?? O.arrowStroke, H = /* @__PURE__ */ (0, R.jsxs)("div", {
8221
8377
  ref: I,
8222
- className: Z(Gu.panel, O.panel, f),
8378
+ className: Z(qu.panel, O.panel, f),
8223
8379
  style: {
8224
8380
  ...j,
8225
8381
  ...L,
@@ -8242,22 +8398,22 @@ function Zu({ arrowHeight: e = 8, arrowFill: t, arrowStrokeWidth: n = .75, arrow
8242
8398
  }
8243
8399
  //#endregion
8244
8400
  //#region src/lib/components/radio/Radio.jsx
8245
- var Qu = {
8401
+ var ed = {
8246
8402
  light: {
8247
- ring: "border-slate-500 bg-slate-200/90 shadow-[0_1px_2px_rgba(15,23,42,0.09)] peer-hover:border-slate-700 peer-hover:bg-slate-100",
8248
- focus: "peer-focus-visible:outline-slate-700 peer-focus-visible:ring-slate-400/35 peer-focus-visible:ring-offset-stone-50",
8403
+ ring: "border-slate-300 bg-white shadow-[0_1px_2px_rgba(15,23,42,0.08)] peer-hover:border-slate-400 peer-hover:bg-slate-50",
8404
+ focus: "peer-focus-visible:outline-slate-500 peer-focus-visible:ring-slate-400/45 peer-focus-visible:ring-offset-white",
8249
8405
  colors: {
8250
8406
  neutral: {
8251
- ring: "peer-checked:border-slate-800",
8252
- dot: "bg-slate-800"
8407
+ ring: "peer-checked:border-slate-700",
8408
+ dot: "bg-slate-700"
8253
8409
  },
8254
8410
  slate: {
8255
- ring: "peer-checked:border-slate-800",
8256
- dot: "bg-slate-800"
8411
+ ring: "peer-checked:border-slate-700",
8412
+ dot: "bg-slate-700"
8257
8413
  },
8258
8414
  zinc: {
8259
- ring: "peer-checked:border-zinc-800",
8260
- dot: "bg-zinc-800"
8415
+ ring: "peer-checked:border-zinc-700",
8416
+ dot: "bg-zinc-700"
8261
8417
  },
8262
8418
  primary: {
8263
8419
  ring: "peer-checked:border-sky-600",
@@ -8288,15 +8444,15 @@ var Qu = {
8288
8444
  dot: "bg-stone-300"
8289
8445
  },
8290
8446
  dark: {
8291
- ring: "peer-checked:border-zinc-900",
8292
- dot: "bg-zinc-900"
8447
+ ring: "peer-checked:border-zinc-800",
8448
+ dot: "bg-zinc-800"
8293
8449
  },
8294
8450
  black: {
8295
8451
  ring: "peer-checked:border-slate-950",
8296
8452
  dot: "bg-slate-950"
8297
8453
  }
8298
8454
  },
8299
- invalid: "border-rose-400 peer-checked:border-rose-600",
8455
+ invalid: "border-rose-300 peer-checked:border-rose-600",
8300
8456
  invalidDot: "bg-rose-600"
8301
8457
  },
8302
8458
  dark: {
@@ -8355,7 +8511,7 @@ var Qu = {
8355
8511
  invalid: "border-rose-500/70 peer-checked:border-rose-300",
8356
8512
  invalidDot: "bg-rose-300"
8357
8513
  }
8358
- }, $u = {
8514
+ }, td = {
8359
8515
  sm: {
8360
8516
  root: "size-3.5",
8361
8517
  control: "size-3.5",
@@ -8367,11 +8523,11 @@ var Qu = {
8367
8523
  dot: "size-2"
8368
8524
  }
8369
8525
  };
8370
- function ed(e) {
8526
+ function nd(e) {
8371
8527
  return e === "dark" ? "dark" : "light";
8372
8528
  }
8373
- var td = a(function({ className: e, color: t = "neutral", containerClassName: n, disabled: r = !1, id: i, invalid: a = !1, label: o, labelClassName: s, onChange: c, onCheckedChange: l, required: d = !1, size: f = "md", ...p }, m) {
8374
- let h = u(), g = ed(G()), _ = D("radio"), v = Qu[g], y = Ur(), b = a || y?.invalid, x = r || y?.disabled, S = d || y?.required, C = v.colors[t] ? t : "neutral", w = $u[$u[f] ? f : "md"], E = i ?? y?.controlId ?? h, O = [
8529
+ var rd = a(function({ className: e, color: t = "neutral", containerClassName: n, disabled: r = !1, id: i, invalid: a = !1, label: o, labelClassName: s, onChange: c, onCheckedChange: l, required: d = !1, size: f = "md", ...p }, m) {
8530
+ let h = u(), g = nd(G()), _ = D("radio"), v = ed[g], y = Ur(), b = a || y?.invalid, x = r || y?.disabled, S = d || y?.required, C = v.colors[t] ? t : "neutral", w = td[td[f] ? f : "md"], E = i ?? y?.controlId ?? h, O = [
8375
8531
  p["aria-describedby"],
8376
8532
  y?.descriptionId,
8377
8533
  b ? y?.messageId : null
@@ -8404,7 +8560,7 @@ var td = a(function({ className: e, color: t = "neutral", containerClassName: n,
8404
8560
  children: o
8405
8561
  })]
8406
8562
  }) : k;
8407
- }), nd = {
8563
+ }), id = {
8408
8564
  wrapper: "relative w-full",
8409
8565
  trigger: [
8410
8566
  "flex w-full items-center justify-between gap-3 border px-3.5 text-sm outline-none",
@@ -8415,23 +8571,23 @@ var td = a(function({ className: e, color: t = "neutral", containerClassName: n,
8415
8571
  value: "min-w-0 truncate text-left",
8416
8572
  icon: "shrink-0 text-current/55 transition-transform duration-200",
8417
8573
  content: "max-h-72 overflow-y-auto"
8418
- }, rd = "bottom-start", id = 140, ad = 100, od = {
8574
+ }, ad = "bottom-start", od = 140, sd = 100, cd = {
8419
8575
  sm: "h-9",
8420
8576
  md: "h-11",
8421
8577
  lg: "h-12 text-base"
8422
- }, sd = {
8578
+ }, ld = {
8423
8579
  light: { invalid: dl.light.invalid },
8424
8580
  dark: { invalid: dl.dark.invalid }
8425
8581
  };
8426
- function cd(e) {
8582
+ function ud(e) {
8427
8583
  return e == null ? "" : String(e);
8428
8584
  }
8429
- function ld(e) {
8585
+ function dd(e) {
8430
8586
  return typeof e == "string" || typeof e == "number" ? String(e) : e;
8431
8587
  }
8432
- function ud(e) {
8588
+ function fd(e) {
8433
8589
  return t.toArray(e).filter((e) => o(e) && e.type === "option").map((e, t) => {
8434
- let n = ld(e.props.children), r = typeof e.props.children == "string" || typeof e.props.children == "number" ? String(e.props.children) : "", i = e.props.value === void 0 ? r || String(t) : cd(e.props.value);
8590
+ let n = dd(e.props.children), r = typeof e.props.children == "string" || typeof e.props.children == "number" ? String(e.props.children) : "", i = e.props.value === void 0 ? r || String(t) : ud(e.props.value);
8435
8591
  return {
8436
8592
  disabled: !!e.props.disabled,
8437
8593
  key: e.key ?? `${i}-${t}`,
@@ -8440,16 +8596,16 @@ function ud(e) {
8440
8596
  };
8441
8597
  });
8442
8598
  }
8443
- function dd({ controlledValue: e, defaultValue: t, options: n, placeholder: r }) {
8444
- return e === void 0 ? t === void 0 ? r ? "" : n[0]?.value ?? "" : cd(t) : cd(e);
8599
+ function pd({ controlledValue: e, defaultValue: t, options: n, placeholder: r }) {
8600
+ return e === void 0 ? t === void 0 ? r ? "" : n[0]?.value ?? "" : ud(t) : ud(e);
8445
8601
  }
8446
- function fd({ nextOpen: e, selectedIndex: t, firstEnabledIndex: n }) {
8602
+ function md({ nextOpen: e, selectedIndex: t, firstEnabledIndex: n }) {
8447
8603
  return e ? t >= 0 ? t : n : null;
8448
8604
  }
8449
- function pd(e, t) {
8605
+ function hd(e, t) {
8450
8606
  typeof e == "function" ? e(t) : e && typeof e == "object" && (e.current = t);
8451
8607
  }
8452
- function md({ id: e, name: t, nativeEvent: n, value: r }) {
8608
+ function gd({ id: e, name: t, nativeEvent: n, value: r }) {
8453
8609
  return {
8454
8610
  type: "change",
8455
8611
  nativeEvent: n,
@@ -8471,18 +8627,18 @@ function md({ id: e, name: t, nativeEvent: n, value: r }) {
8471
8627
  }
8472
8628
  };
8473
8629
  }
8474
- var hd = a(function({ children: e, className: t, color: n, size: r, defaultValue: i, disabled: a = !1, id: o, invalid: c = !1, name: l, onChange: u, onValueChange: d, placeholder: h, required: g = !1, usePortal: _ = !0, value: v, ...y }, b) {
8475
- let x = Jl(), S = !!x?.attached, C = Gc(G()), w = fl(G()), E = D("select"), O = sd[w], k = r ?? x?.size ?? "md", A = pl(n ?? x?.color ?? "neutral"), j = dl[w][A], M = Ur(), N = f(() => ud(e), [e]), [P, F] = m(dd({
8630
+ var _d = a(function({ children: e, className: t, color: n, size: r, defaultValue: i, disabled: a = !1, id: o, invalid: c = !1, name: l, onChange: u, onValueChange: d, placeholder: h, required: g = !1, usePortal: _ = !0, value: v, ...y }, b) {
8631
+ let x = Xl(), S = !!x?.attached, C = Gc(G()), w = pl(G()), E = D("select"), O = ld[w], k = r ?? x?.size ?? "md", A = ml(n ?? x?.color ?? "neutral"), j = dl[w][A], M = Ur(), N = f(() => fd(e), [e]), [P, F] = m(pd({
8476
8632
  controlledValue: v,
8477
8633
  defaultValue: i,
8478
8634
  options: N,
8479
8635
  placeholder: h
8480
- })), [I, ee] = m(!1), [L, z] = m(null), B = p([]), V = v === void 0 ? P : cd(v), H = N.findIndex((e) => e.value === V), te = H >= 0 ? N[H] : null, U = c || M?.invalid, W = a || M?.disabled, ne = g || M?.required, re = o ?? M?.controlId, ie = [
8636
+ })), [I, ee] = m(!1), [L, z] = m(null), B = p([]), V = v === void 0 ? P : ud(v), H = N.findIndex((e) => e.value === V), te = H >= 0 ? N[H] : null, U = c || M?.invalid, W = a || M?.disabled, ne = g || M?.required, re = o ?? M?.controlId, ie = [
8481
8637
  y["aria-describedby"],
8482
8638
  M?.descriptionId,
8483
8639
  U ? M?.messageId : null
8484
8640
  ].filter(Boolean).join(" ") || void 0, ae = N.findIndex((e) => !e.disabled), oe = s((e) => {
8485
- ee(e), z(fd({
8641
+ ee(e), z(md({
8486
8642
  nextOpen: e,
8487
8643
  selectedIndex: H,
8488
8644
  firstEnabledIndex: ae
@@ -8490,7 +8646,7 @@ var hd = a(function({ children: e, className: t, color: n, size: r, defaultValue
8490
8646
  }, [ae, H]), { refs: K, floatingStyles: se, context: ce } = vc({
8491
8647
  open: I,
8492
8648
  onOpenChange: oe,
8493
- placement: rd,
8649
+ placement: ad,
8494
8650
  transform: !1,
8495
8651
  middleware: [
8496
8652
  ys(8),
@@ -8513,8 +8669,8 @@ var hd = a(function({ children: e, className: t, color: n, size: r, defaultValue
8513
8669
  })
8514
8670
  ]), { isMounted: ue, styles: de } = Ic(ce, {
8515
8671
  duration: {
8516
- open: id,
8517
- close: ad
8672
+ open: od,
8673
+ close: sd
8518
8674
  },
8519
8675
  initial: ({ side: e }) => ({
8520
8676
  opacity: 0,
@@ -8528,13 +8684,13 @@ var hd = a(function({ children: e, className: t, color: n, size: r, defaultValue
8528
8684
  opacity: 0,
8529
8685
  transform: qc(e)
8530
8686
  }),
8531
- common: { transformOrigin: Kc(rd) }
8687
+ common: { transformOrigin: Kc(ad) }
8532
8688
  }), fe = s((e) => {
8533
8689
  K.setFloating(e);
8534
8690
  }, [K]), pe = s((e) => {
8535
- K.setReference(e), pd(b, e);
8691
+ K.setReference(e), hd(b, e);
8536
8692
  }, [b, K]), me = s((e, t) => {
8537
- v === void 0 && F(e), d?.(e), u?.(md({
8693
+ v === void 0 && F(e), d?.(e), u?.(gd({
8538
8694
  id: re,
8539
8695
  name: l,
8540
8696
  nativeEvent: t,
@@ -8577,7 +8733,7 @@ var hd = a(function({ children: e, className: t, color: n, size: r, defaultValue
8577
8733
  le
8578
8734
  ]), be = te?.label ?? h ?? "Selecciona una opción", xe = ue ? /* @__PURE__ */ (0, R.jsx)("ul", {
8579
8735
  ref: fe,
8580
- className: Z(Vc.layout, Uc[C], nd.content),
8736
+ className: Z(Vc.layout, Uc[C], id.content),
8581
8737
  style: {
8582
8738
  ...se,
8583
8739
  ...de
@@ -8611,7 +8767,7 @@ var hd = a(function({ children: e, className: t, color: n, size: r, defaultValue
8611
8767
  })
8612
8768
  }) : null;
8613
8769
  return /* @__PURE__ */ (0, R.jsxs)("span", {
8614
- className: Z(nd.wrapper, S && "h-full", x?.layout === "inline" && "flex-1"),
8770
+ className: Z(id.wrapper, S && "h-full", x?.layout === "inline" && "flex-1"),
8615
8771
  children: [
8616
8772
  l ? /* @__PURE__ */ (0, R.jsx)("input", {
8617
8773
  type: "hidden",
@@ -8628,7 +8784,7 @@ var hd = a(function({ children: e, className: t, color: n, size: r, defaultValue
8628
8784
  "aria-haspopup": "listbox",
8629
8785
  "aria-invalid": U || void 0,
8630
8786
  "aria-required": ne || void 0,
8631
- className: Z(nd.trigger, S ? "h-full rounded-none border-0 shadow-none focus-visible:border-transparent focus-visible:ring-0" : Nt(k), S ? null : od[k] ?? od.md, T(S ? !1 : E, U ? O.invalid : j.base), !S && !W && !U && j.hover, t),
8787
+ className: Z(id.trigger, S ? "h-full rounded-none border-0 shadow-none focus-visible:border-transparent focus-visible:ring-0" : Nt(k), S ? null : cd[k] ?? cd.md, T(S ? !1 : E, U ? O.invalid : j.base), !S && !W && !U && j.hover, t),
8632
8788
  ...le.getReferenceProps({
8633
8789
  ...y,
8634
8790
  onClick(e) {
@@ -8639,10 +8795,10 @@ var hd = a(function({ children: e, className: t, color: n, size: r, defaultValue
8639
8795
  }
8640
8796
  }),
8641
8797
  children: [/* @__PURE__ */ (0, R.jsx)("span", {
8642
- className: Z(nd.value, !te && "text-current/55"),
8798
+ className: Z(id.value, !te && "text-current/55"),
8643
8799
  children: be
8644
8800
  }), /* @__PURE__ */ (0, R.jsx)("span", {
8645
- className: Z(nd.icon, I && "rotate-180"),
8801
+ className: Z(id.icon, I && "rotate-180"),
8646
8802
  "aria-hidden": "true",
8647
8803
  children: /* @__PURE__ */ (0, R.jsx)("svg", {
8648
8804
  viewBox: "0 0 20 20",
@@ -8654,26 +8810,26 @@ var hd = a(function({ children: e, className: t, color: n, size: r, defaultValue
8654
8810
  _ ? /* @__PURE__ */ (0, R.jsx)(sc, { children: xe }) : xe
8655
8811
  ]
8656
8812
  });
8657
- }), gd = {
8813
+ }), vd = {
8658
8814
  light: "bg-slate-200",
8659
8815
  dark: "bg-zinc-800"
8660
- }, _d = {
8816
+ }, yd = {
8661
8817
  line: "h-4 w-full rounded-full",
8662
8818
  rect: "h-24 w-full rounded-[1rem]",
8663
8819
  circle: "size-12 rounded-full"
8664
8820
  };
8665
- function vd(e) {
8821
+ function bd(e) {
8666
8822
  return e === "dark" ? "dark" : "light";
8667
8823
  }
8668
- var yd = a(function({ animated: e = !0, className: t, shape: n = "line", ...r }, i) {
8669
- let a = vd(G());
8824
+ var xd = a(function({ animated: e = !0, className: t, shape: n = "line", ...r }, i) {
8825
+ let a = bd(G());
8670
8826
  return /* @__PURE__ */ (0, R.jsx)("div", {
8671
8827
  ref: i,
8672
8828
  "aria-hidden": "true",
8673
- className: Z(_d[n] ?? _d.line, gd[a], e && "animate-pulse", t),
8829
+ className: Z(yd[n] ?? yd.line, vd[a], e && "animate-pulse", t),
8674
8830
  ...r
8675
8831
  });
8676
- }), bd = {
8832
+ }), Sd = {
8677
8833
  root: [
8678
8834
  "relative inline-flex shrink-0 cursor-pointer items-center rounded-full border outline-none",
8679
8835
  "transition-[background-color,border-color] duration-200",
@@ -8681,7 +8837,7 @@ var yd = a(function({ animated: e = !0, className: t, shape: n = "line", ...r },
8681
8837
  "disabled:cursor-not-allowed disabled:opacity-60"
8682
8838
  ].join(" "),
8683
8839
  thumb: ["pointer-events-none inline-flex rounded-full border", "transition-transform duration-200"].join(" ")
8684
- }, xd = {
8840
+ }, Cd = {
8685
8841
  sm: {
8686
8842
  root: "h-5 w-9",
8687
8843
  thumb: "size-[0.875rem]",
@@ -8694,13 +8850,13 @@ var yd = a(function({ animated: e = !0, className: t, shape: n = "line", ...r },
8694
8850
  checked: "translate-x-[1.375rem]",
8695
8851
  unchecked: "translate-x-0.5"
8696
8852
  }
8697
- }, Sd = {
8853
+ }, wd = {
8698
8854
  light: {
8699
- idle: "border-slate-500 bg-slate-400/95 hover:border-slate-700 hover:bg-slate-500 focus-visible:outline-slate-600",
8855
+ idle: "border-slate-300 bg-slate-100 hover:border-slate-400 hover:bg-slate-200/90 focus-visible:outline-slate-500 focus-visible:ring-slate-400/45",
8700
8856
  checked: {
8701
- neutral: "border-slate-800 bg-slate-800",
8702
- slate: "border-slate-800 bg-slate-800",
8703
- zinc: "border-zinc-800 bg-zinc-800",
8857
+ neutral: "border-slate-700 bg-slate-700",
8858
+ slate: "border-slate-700 bg-slate-700",
8859
+ zinc: "border-zinc-700 bg-zinc-700",
8704
8860
  primary: "border-sky-600 bg-sky-600",
8705
8861
  brand: "border-brand-600 bg-brand-600",
8706
8862
  success: "border-emerald-600 bg-emerald-600",
@@ -8708,11 +8864,11 @@ var yd = a(function({ animated: e = !0, className: t, shape: n = "line", ...r },
8708
8864
  warning: "border-amber-500 bg-amber-500",
8709
8865
  info: "border-cyan-600 bg-cyan-600",
8710
8866
  light: "border-stone-300 bg-stone-300",
8711
- dark: "border-zinc-900 bg-zinc-900",
8867
+ dark: "border-zinc-800 bg-zinc-800",
8712
8868
  black: "border-slate-950 bg-slate-950"
8713
8869
  },
8714
- invalid: "border-rose-400 bg-rose-100/80 focus-visible:outline-rose-400",
8715
- thumb: "border-white/90 bg-white shadow-[0_1px_1px_rgba(15,23,42,0.18)]",
8870
+ invalid: "border-rose-300 bg-rose-50 focus-visible:outline-rose-400 focus-visible:ring-rose-400/45",
8871
+ thumb: "border-slate-200 bg-white shadow-[0_1px_1px_rgba(15,23,42,0.14)]",
8716
8872
  thumbChecked: {
8717
8873
  warning: "border-slate-950 bg-slate-950",
8718
8874
  light: "border-slate-950 bg-slate-950"
@@ -8752,10 +8908,10 @@ var yd = a(function({ animated: e = !0, className: t, shape: n = "line", ...r },
8752
8908
  }
8753
8909
  }
8754
8910
  };
8755
- function Cd(e) {
8911
+ function Td(e) {
8756
8912
  return e === "dark" ? "dark" : "light";
8757
8913
  }
8758
- function wd({ checked: e, id: t, name: n, nativeEvent: r, value: i }) {
8914
+ function Ed({ checked: e, id: t, name: n, nativeEvent: r, value: i }) {
8759
8915
  return {
8760
8916
  type: "change",
8761
8917
  nativeEvent: r,
@@ -8779,8 +8935,8 @@ function wd({ checked: e, id: t, name: n, nativeEvent: r, value: i }) {
8779
8935
  }
8780
8936
  };
8781
8937
  }
8782
- var Td = a(function({ checked: e, className: t, color: n = "neutral", containerClassName: r, defaultChecked: i = !1, disabled: a = !1, id: o, invalid: s = !1, label: c, labelClassName: l, name: d, onChange: p, onCheckedChange: h, onClick: g, required: _ = !1, size: v = "md", value: y = "on", ...b }, x) {
8783
- let S = u(), C = e !== void 0, [w, E] = m(i), O = C ? e : w, k = Cd(G()), A = D("switch"), j = Sd[k], M = Ur(), N = a || M?.disabled, P = _ || M?.required, F = s || M?.invalid, I = j.checked[n] ? n : "neutral", ee = xd[v] ? v : "md", L = o ?? M?.controlId ?? S, z = [
8938
+ var Dd = a(function({ checked: e, className: t, color: n = "neutral", containerClassName: r, defaultChecked: i = !1, disabled: a = !1, id: o, invalid: s = !1, label: c, labelClassName: l, name: d, onChange: p, onCheckedChange: h, onClick: g, required: _ = !1, size: v = "md", value: y = "on", ...b }, x) {
8939
+ let S = u(), C = e !== void 0, [w, E] = m(i), O = C ? e : w, k = Td(G()), A = D("switch"), j = wd[k], M = Ur(), N = a || M?.disabled, P = _ || M?.required, F = s || M?.invalid, I = j.checked[n] ? n : "neutral", ee = Cd[v] ? v : "md", L = o ?? M?.controlId ?? S, z = [
8784
8940
  b["aria-describedby"],
8785
8941
  M?.descriptionId,
8786
8942
  F ? M?.messageId : null
@@ -8797,7 +8953,7 @@ var Td = a(function({ checked: e, className: t, color: n = "neutral", containerC
8797
8953
  ]), V = (e) => {
8798
8954
  if (N) return;
8799
8955
  let t = !O;
8800
- C || E(t), h?.(t), p?.(wd({
8956
+ C || E(t), h?.(t), p?.(Ed({
8801
8957
  checked: t,
8802
8958
  id: L,
8803
8959
  name: d,
@@ -8814,12 +8970,12 @@ var Td = a(function({ checked: e, className: t, color: n = "neutral", containerC
8814
8970
  "aria-describedby": z,
8815
8971
  disabled: N,
8816
8972
  "data-state": O ? "checked" : "unchecked",
8817
- className: Z(T(A, bd.root), xd[ee].root, T(A, F ? j.invalid : O ? j.checked[I] : j.idle), t),
8973
+ className: Z(T(A, Sd.root), Cd[ee].root, T(A, F ? j.invalid : O ? j.checked[I] : j.idle), t),
8818
8974
  ...b,
8819
8975
  onClick: (e) => {
8820
8976
  g?.(e), e.defaultPrevented || V(e);
8821
8977
  },
8822
- children: /* @__PURE__ */ (0, R.jsx)("span", { className: Z(bd.thumb, xd[ee].thumb, j.thumb, O && j.thumbChecked?.[I], O ? xd[ee].checked : xd[ee].unchecked) })
8978
+ children: /* @__PURE__ */ (0, R.jsx)("span", { className: Z(Sd.thumb, Cd[ee].thumb, j.thumb, O && j.thumbChecked?.[I], O ? Cd[ee].checked : Cd[ee].unchecked) })
8823
8979
  }), B ? /* @__PURE__ */ (0, R.jsx)("input", {
8824
8980
  type: "checkbox",
8825
8981
  hidden: !0,
@@ -8835,19 +8991,19 @@ var Td = a(function({ checked: e, className: t, color: n = "neutral", containerC
8835
8991
  children: c
8836
8992
  })]
8837
8993
  }) : H;
8838
- }), Ed = i(null);
8839
- function Dd(e) {
8840
- let t = c(Ed);
8994
+ }), Od = i(null);
8995
+ function kd(e) {
8996
+ let t = c(Od);
8841
8997
  if (!t) throw Error(`${e} debe usarse dentro de <Tabs>.`);
8842
8998
  return t;
8843
8999
  }
8844
9000
  //#endregion
8845
9001
  //#region src/lib/components/tabs/Tabs.jsx
8846
- var Od = { base: "w-full" }, kd = {
9002
+ var Ad = { base: "w-full" }, jd = {
8847
9003
  base: ["inline-flex items-center gap-1 border", "w-fit"].join(" "),
8848
9004
  horizontal: "flex-row",
8849
9005
  vertical: "flex-col items-stretch"
8850
- }, Ad = {
9006
+ }, Md = {
8851
9007
  base: [
8852
9008
  "inline-flex items-center justify-center border border-transparent font-medium",
8853
9009
  "transition-colors outline-none cursor-pointer",
@@ -8855,7 +9011,7 @@ var Od = { base: "w-full" }, kd = {
8855
9011
  "disabled:cursor-not-allowed disabled:opacity-50"
8856
9012
  ].join(" "),
8857
9013
  vertical: "justify-start text-left"
8858
- }, jd = {
9014
+ }, Nd = {
8859
9015
  xs: {
8860
9016
  list: "min-h-9 rounded-[0.9rem] p-1",
8861
9017
  trigger: "min-w-[4.75rem] rounded-[0.7rem] px-2.5 py-1 text-xs"
@@ -8872,7 +9028,7 @@ var Od = { base: "w-full" }, kd = {
8872
9028
  list: "min-h-12 rounded-[1.1rem] p-1.5",
8873
9029
  trigger: "min-w-[7.5rem] rounded-[0.95rem] px-4 py-2.5 text-base"
8874
9030
  }
8875
- }, Md = { base: "mt-4 outline-none" }, Nd = {
9031
+ }, Pd = { base: "mt-4 outline-none" }, Fd = {
8876
9032
  light: {
8877
9033
  list: "border-slate-200 bg-slate-100/80",
8878
9034
  triggerIdle: "text-slate-600 hover:bg-white hover:text-slate-950 focus-visible:outline-slate-300",
@@ -8912,13 +9068,13 @@ var Od = { base: "w-full" }, kd = {
8912
9068
  content: "text-stone-300"
8913
9069
  }
8914
9070
  };
8915
- function Pd(e) {
9071
+ function Id(e) {
8916
9072
  return e === "dark" ? "dark" : "light";
8917
9073
  }
8918
- function Fd(e) {
9074
+ function Ld(e) {
8919
9075
  return Array.from(e.querySelectorAll("[role=\"tab\"]")).filter((e) => e.getAttribute("aria-disabled") !== "true" && !e.disabled);
8920
9076
  }
8921
- function Id({ activationMode: e = "automatic", children: t, className: n, color: r = "neutral", defaultValue: i, onValueChange: a, orientation: o = "horizontal", size: c = "md", value: l }) {
9077
+ function Rd({ activationMode: e = "automatic", children: t, className: n, color: r = "neutral", defaultValue: i, onValueChange: a, orientation: o = "horizontal", size: c = "md", value: l }) {
8922
9078
  let d = u(), p = l !== void 0, [h, g] = m(i), _ = p ? l : h, v = s((e) => {
8923
9079
  p || g(e), e !== _ && a?.(e);
8924
9080
  }, [
@@ -8942,31 +9098,31 @@ function Id({ activationMode: e = "automatic", children: t, className: n, color:
8942
9098
  v,
8943
9099
  _
8944
9100
  ]);
8945
- return /* @__PURE__ */ (0, R.jsx)(Ed.Provider, {
9101
+ return /* @__PURE__ */ (0, R.jsx)(Od.Provider, {
8946
9102
  value: C,
8947
9103
  children: /* @__PURE__ */ (0, R.jsx)("div", {
8948
9104
  "data-orientation": y,
8949
9105
  "data-size": x,
8950
- className: Z(Od.base, n),
9106
+ className: Z(Ad.base, n),
8951
9107
  children: t
8952
9108
  })
8953
9109
  });
8954
9110
  }
8955
- function Ld({ children: e, className: t }) {
8956
- let { orientation: n, size: r } = Dd("TabsList"), i = Nd[Pd(G())];
9111
+ function zd({ children: e, className: t }) {
9112
+ let { orientation: n, size: r } = kd("TabsList"), i = Fd[Id(G())];
8957
9113
  return /* @__PURE__ */ (0, R.jsx)("div", {
8958
9114
  role: "tablist",
8959
9115
  "aria-orientation": n,
8960
9116
  "data-size": r,
8961
- className: Z(kd.base, kd[n], jd[r].list, i.list, t),
9117
+ className: Z(jd.base, jd[n], Nd[r].list, i.list, t),
8962
9118
  children: e
8963
9119
  });
8964
9120
  }
8965
- function Rd({ children: e, className: t, disabled: n = !1, value: r }) {
8966
- let { activationMode: i, baseId: a, color: o, orientation: s, setValue: c, size: l, value: u } = Dd("TabsTrigger"), d = Pd(G()), f = D("tabs"), p = Nd[d], m = u === r, h = (e) => {
9121
+ function Bd({ children: e, className: t, disabled: n = !1, value: r }) {
9122
+ let { activationMode: i, baseId: a, color: o, orientation: s, setValue: c, size: l, value: u } = kd("TabsTrigger"), d = Id(G()), f = D("tabs"), p = Fd[d], m = u === r, h = (e) => {
8967
9123
  let t = e.currentTarget.parentElement;
8968
9124
  if (!t) return;
8969
- let n = Fd(t), a = n.indexOf(e.currentTarget);
9125
+ let n = Ld(t), a = n.indexOf(e.currentTarget);
8970
9126
  if (a === -1) return;
8971
9127
  let o = s === "horizontal", l = a;
8972
9128
  if (o && e.key === "ArrowRight" || !o && e.key === "ArrowDown") l = (a + 1) % n.length;
@@ -8995,56 +9151,62 @@ function Rd({ children: e, className: t, disabled: n = !1, value: r }) {
8995
9151
  disabled: n,
8996
9152
  onClick: () => c(r),
8997
9153
  onKeyDown: h,
8998
- className: Z(T(f, Ad.base), jd[l].trigger, s === "vertical" && Ad.vertical, T(f, m ? p.triggerActive[o] : p.triggerIdle), t),
9154
+ className: Z(T(f, Md.base), Nd[l].trigger, s === "vertical" && Md.vertical, T(f, m ? p.triggerActive[o] : p.triggerIdle), t),
8999
9155
  children: e
9000
9156
  });
9001
9157
  }
9002
- function zd({ children: e, className: t, forceMount: n = !1, value: r }) {
9003
- let { baseId: i, value: a } = Dd("TabsContent"), o = Nd[Pd(G())], s = a === r;
9158
+ function Vd({ children: e, className: t, forceMount: n = !1, value: r }) {
9159
+ let { baseId: i, value: a } = kd("TabsContent"), o = Fd[Id(G())], s = a === r;
9004
9160
  return !n && !s ? null : /* @__PURE__ */ (0, R.jsx)("div", {
9005
9161
  role: "tabpanel",
9006
9162
  id: `${i}-content-${r}`,
9007
9163
  "aria-labelledby": `${i}-trigger-${r}`,
9008
9164
  hidden: !s,
9009
9165
  tabIndex: 0,
9010
- className: Z(Md.base, o.content, t),
9166
+ className: Z(Pd.base, o.content, t),
9011
9167
  children: e
9012
9168
  });
9013
9169
  }
9014
9170
  //#endregion
9015
9171
  //#region src/lib/components/tabs/useTabs.js
9016
- function Bd() {
9017
- return Dd("useTabs");
9172
+ function Hd() {
9173
+ return kd("useTabs");
9018
9174
  }
9019
9175
  //#endregion
9020
9176
  //#region src/lib/components/textarea/Textarea.jsx
9021
- var Vd = { base: [
9022
- "w-full border px-3.5 py-3 text-sm outline-none",
9177
+ var Ud = { base: [
9178
+ "qi-form-field-autofill w-full border px-3.5 py-3 text-sm outline-none",
9023
9179
  "transition-[background-color,border-color,color,box-shadow] duration-200",
9024
9180
  "placeholder:text-current/45",
9025
9181
  "focus-visible:ring-4 focus-visible:ring-offset-0",
9026
9182
  "disabled:cursor-not-allowed disabled:opacity-60"
9027
- ].join(" ") }, Hd = a(function({ className: e, color: t = "neutral", disabled: n = !1, id: r, invalid: i = !1, minRows: a = 4, required: o = !1, ...s }, c) {
9028
- let l = fl(G()), u = D("textarea"), d = dl[l], f = pl(t), p = dl[l][f], m = Ur(), h = i || m?.invalid, g = n || m?.disabled, _ = o || m?.required, v = [
9029
- s["aria-describedby"],
9030
- m?.descriptionId,
9031
- h ? m?.messageId : null
9183
+ ].join(" ") }, Wd = a(function({ className: e, color: t = "neutral", disabled: n = !1, id: r, invalid: i = !1, minRows: a = 4, required: o = !1, style: s, ...c }, l) {
9184
+ let u = pl(G()), d = D("textarea"), f = dl[u], p = ml(t), m = dl[u][p], h = Ur(), g = i || h?.invalid, _ = n || h?.disabled, v = o || h?.required, y = [
9185
+ c["aria-describedby"],
9186
+ h?.descriptionId,
9187
+ g ? h?.messageId : null
9032
9188
  ].filter(Boolean).join(" ") || void 0;
9033
9189
  return /* @__PURE__ */ (0, R.jsx)("textarea", {
9034
- ref: c,
9035
- id: r ?? m?.controlId,
9036
- required: _,
9037
- disabled: g,
9038
- "aria-invalid": h || void 0,
9039
- "aria-describedby": v,
9190
+ ref: l,
9191
+ id: r ?? h?.controlId,
9192
+ required: v,
9193
+ disabled: _,
9194
+ "aria-invalid": g || void 0,
9195
+ "aria-describedby": y,
9040
9196
  "field-sizing": "content",
9041
9197
  rows: a,
9042
- className: Z(T(u, Vd.base), Nt("md"), "min-h-28", T(u, h ? d.invalid : p.base), !g && !h && p.hover, e),
9043
- ...s
9198
+ style: hl({
9199
+ color: t,
9200
+ invalid: g,
9201
+ style: s,
9202
+ theme: u
9203
+ }),
9204
+ className: Z(T(d, Ud.base), Nt("md"), "min-h-28", T(d, g ? f.invalid : m.base), !_ && !g && m.hover, e),
9205
+ ...c
9044
9206
  });
9045
- }), Ud = ["!max-w-[16rem] !rounded-[0.875rem] !px-2.5 !py-1.5", "!text-xs !leading-5"].join(" ");
9046
- function Wd({ children: e, className: t = "", color: n = "default", content: r, placement: i = "top", ...a }) {
9047
- return /* @__PURE__ */ (0, R.jsx)(Zu, {
9207
+ }), Gd = ["!max-w-[16rem] !rounded-[0.875rem] !px-2.5 !py-1.5", "!text-xs !leading-5"].join(" ");
9208
+ function Kd({ children: e, className: t = "", color: n = "default", content: r, placement: i = "top", ...a }) {
9209
+ return /* @__PURE__ */ (0, R.jsx)($u, {
9048
9210
  content: r,
9049
9211
  color: n,
9050
9212
  placement: i,
@@ -9053,14 +9215,14 @@ function Wd({ children: e, className: t = "", color: n = "default", content: r,
9053
9215
  arrowWidth: 12,
9054
9216
  arrowHeight: 6,
9055
9217
  arrowTipRadius: 1.5,
9056
- className: [Ud, t].filter(Boolean).join(" "),
9218
+ className: [Gd, t].filter(Boolean).join(" "),
9057
9219
  ...a,
9058
9220
  children: e
9059
9221
  });
9060
9222
  }
9061
9223
  //#endregion
9062
9224
  //#region src/lib/hooks/useFloatingLayer.js
9063
- function Gd(e = {}) {
9225
+ function qd(e = {}) {
9064
9226
  let { middleware: t = [], offset: n = 10, placement: r = "bottom-start", shiftPadding: i = 12, ...a } = e;
9065
9227
  return vc({
9066
9228
  placement: r,
@@ -9075,8 +9237,8 @@ function Gd(e = {}) {
9075
9237
  }
9076
9238
  //#endregion
9077
9239
  //#region src/lib/hooks/useBreakpoint.js
9078
- var Kd = un;
9079
- function qd() {
9240
+ var Jd = un;
9241
+ function Yd() {
9080
9242
  return typeof window > "u" ? {
9081
9243
  height: null,
9082
9244
  width: null
@@ -9085,27 +9247,27 @@ function qd() {
9085
9247
  width: window.innerWidth
9086
9248
  };
9087
9249
  }
9088
- function Jd(e = {}) {
9250
+ function Xd(e = {}) {
9089
9251
  return {
9090
- ...Kd,
9252
+ ...Jd,
9091
9253
  ...e
9092
9254
  };
9093
9255
  }
9094
- function Yd(e, t) {
9256
+ function Zd(e, t) {
9095
9257
  return e == null ? null : e >= t["2xl"] ? "2xl" : e >= t.xl ? "xl" : e >= t.lg ? "lg" : e >= t.md ? "md" : e >= t.sm ? "sm" : "xs";
9096
9258
  }
9097
- function Xd(e = {}) {
9098
- let { breakpoints: t } = e, n = f(() => Jd(t), [t]), [r, i] = m(qd);
9259
+ function Qd(e = {}) {
9260
+ let { breakpoints: t } = e, n = f(() => Xd(t), [t]), [r, i] = m(Yd);
9099
9261
  l(() => {
9100
9262
  if (typeof window > "u") return;
9101
9263
  let e = () => {
9102
- i(qd());
9264
+ i(Yd());
9103
9265
  };
9104
9266
  return e(), window.addEventListener("resize", e), window.addEventListener("orientationchange", e), () => {
9105
9267
  window.removeEventListener("resize", e), window.removeEventListener("orientationchange", e);
9106
9268
  };
9107
9269
  }, []);
9108
- let a = Yd(r.width, n), o = r.width != null, s = o ? r.width < n.md : !1, c = o ? r.width >= n.md && r.width < n.lg : !1, u = o ? r.width >= n.lg : !1;
9270
+ let a = Zd(r.width, n), o = r.width != null, s = o ? r.width < n.md : !1, c = o ? r.width >= n.md && r.width < n.lg : !1, u = o ? r.width >= n.lg : !1;
9109
9271
  return {
9110
9272
  breakpoint: a,
9111
9273
  breakpoints: n,
@@ -9119,11 +9281,11 @@ function Xd(e = {}) {
9119
9281
  }
9120
9282
  //#endregion
9121
9283
  //#region src/lib/hooks/useMediaQuery.js
9122
- function Zd(e, t) {
9284
+ function $d(e, t) {
9123
9285
  return typeof window > "u" || typeof window.matchMedia != "function" ? t : window.matchMedia(e).matches;
9124
9286
  }
9125
- function Qd(e, t = {}) {
9126
- let { defaultValue: n = !1 } = t, [r, i] = m(() => Zd(e, n));
9287
+ function ef(e, t = {}) {
9288
+ let { defaultValue: n = !1 } = t, [r, i] = m(() => $d(e, n));
9127
9289
  return l(() => {
9128
9290
  if (typeof window > "u" || typeof window.matchMedia != "function") return;
9129
9291
  let t = window.matchMedia(e), n = () => {
@@ -9137,4 +9299,4 @@ function Qd(e, t = {}) {
9137
9299
  }, [n, e]), r;
9138
9300
  }
9139
9301
  //#endregion
9140
- export { jt as AVATAR_RADIUS_BY_SIZE, Hn as Accordion, Gn as AccordionContent, Un as AccordionItem, Wn as AccordionTrigger, Dn as Avatar, On as AvatarFallback, kn as AvatarGroup, An as AvatarImage, jn as AvatarPresence, Xn as Badge, Tr as Breadcrumb, Ar as BreadcrumbCurrent, Dr as BreadcrumbItem, Or as BreadcrumbLink, Er as BreadcrumbList, kr as BreadcrumbSeparator, Fr as Button, At as CONTROL_RADIUS_BY_SIZE, Xr as Checkbox, Mt as DEFAULT_CONTROL_RADIUS, cu as Default, $c as Dropdown, tl as DropdownContent, nl as DropdownItem, rl as DropdownSeparator, el as DropdownTrigger, sl as EmptyState, ul as EmptyStateActions, ll as EmptyStateDescription, cl as EmptyStateTitle, uu as For, Br as FormControl, Vr as FormDescription, Hr as FormMessage, Pn as Initials, Ql as Input, $l as InputGroup, nu as InputGroupAction, tu as InputGroupAddon, eu as InputGroupItem, Kr as Label, Sr as Link, su as Match, Pu as Modal, Vu as ModalAction, Bu as ModalActions, zu as ModalBody, Iu as ModalContent, Lu as ModalHeader, Ru as ModalTitle, Fu as ModalTrigger, Wu as Pagination, Zu as Popover, $t as QUICKIT_ACCENT_COLORS, fn as QUICKIT_AVATAR_RADIUS_TOKENS, an as QUICKIT_AVATAR_SHAPES, on as QUICKIT_AVATAR_SIZES, un as QUICKIT_BREAKPOINTS, rn as QUICKIT_BUTTON_SHAPES, nn as QUICKIT_BUTTON_VARIANTS, tn as QUICKIT_COMPACT_CONTROL_SIZES, dn as QUICKIT_CONTROL_RADIUS_TOKENS, en as QUICKIT_CONTROL_SIZES, y as QUICKIT_FOCUS_RING_COMPONENTS, sn as QUICKIT_LINK_TEXT_VARIANTS, cn as QUICKIT_LINK_UNDERLINES, O as QUICKIT_PRESS_EFFECTS, j as QUICKIT_RIPPLE_COMPONENTS, Qt as QUICKIT_SEMANTIC_COLORS, ln as QUICKIT_TAB_SIZES, V as QUICKIT_THEME_OPTIONS, B as QUICKIT_THEME_STORAGE_KEY, z as QuickitProvider, ae as QuickitThemeProvider, td as Radio, lu as RenderSwitch, hd as Select, ou as Show, yd as Skeleton, Td as Switch, Id as Tabs, zd as TabsContent, Ld as TabsList, Rd as TabsTrigger, Hd as Textarea, Wd as Tooltip, Fn as UserChip, Z as cn, Pt as getAvatarRadius, Nt as getControlRadius, Nn as getInitials, C as isQuickitFocusRingEnabled, F as isQuickitRippleEnabled, pn as isQuickitTokenValue, S as normalizeQuickitFocusRingConfig, k as normalizeQuickitPressEffect, P as normalizeQuickitRippleConfig, T as resolveQuickitFocusRingClasses, mn as resolveQuickitToken, w as stripQuickitFocusRingClasses, Xd as useBreakpoint, il as useDropdown, Gd as useFloatingLayer, Ur as useFormControl, Qd as useMediaQuery, Hu as useModal, D as useQuickitFocusRing, E as useQuickitFocusRingConfig, A as useQuickitPressEffect, ee as useQuickitRipple, I as useQuickitRippleConfig, G as useQuickitTheme, oe as useQuickitThemeController, Bd as useTabs };
9302
+ export { jt as AVATAR_RADIUS_BY_SIZE, Hn as Accordion, Gn as AccordionContent, Un as AccordionItem, Wn as AccordionTrigger, Dn as Avatar, On as AvatarFallback, kn as AvatarGroup, An as AvatarImage, jn as AvatarPresence, Xn as Badge, Tr as Breadcrumb, Ar as BreadcrumbCurrent, Dr as BreadcrumbItem, Or as BreadcrumbLink, Er as BreadcrumbList, kr as BreadcrumbSeparator, Fr as Button, At as CONTROL_RADIUS_BY_SIZE, Xr as Checkbox, Mt as DEFAULT_CONTROL_RADIUS, uu as Default, $c as Dropdown, tl as DropdownContent, nl as DropdownItem, rl as DropdownSeparator, el as DropdownTrigger, sl as EmptyState, ul as EmptyStateActions, ll as EmptyStateDescription, cl as EmptyStateTitle, fu as For, Br as FormControl, Vr as FormDescription, Hr as FormMessage, Pn as Initials, eu as Input, tu as InputGroup, iu as InputGroupAction, ru as InputGroupAddon, nu as InputGroupItem, Kr as Label, Sr as Link, lu as Match, Iu as Modal, Uu as ModalAction, Hu as ModalActions, Vu as ModalBody, Ru as ModalContent, zu as ModalHeader, Bu as ModalTitle, Lu as ModalTrigger, Ku as Pagination, $u as Popover, $t as QUICKIT_ACCENT_COLORS, fn as QUICKIT_AVATAR_RADIUS_TOKENS, an as QUICKIT_AVATAR_SHAPES, on as QUICKIT_AVATAR_SIZES, un as QUICKIT_BREAKPOINTS, rn as QUICKIT_BUTTON_SHAPES, nn as QUICKIT_BUTTON_VARIANTS, tn as QUICKIT_COMPACT_CONTROL_SIZES, dn as QUICKIT_CONTROL_RADIUS_TOKENS, en as QUICKIT_CONTROL_SIZES, y as QUICKIT_FOCUS_RING_COMPONENTS, sn as QUICKIT_LINK_TEXT_VARIANTS, cn as QUICKIT_LINK_UNDERLINES, O as QUICKIT_PRESS_EFFECTS, j as QUICKIT_RIPPLE_COMPONENTS, Qt as QUICKIT_SEMANTIC_COLORS, ln as QUICKIT_TAB_SIZES, V as QUICKIT_THEME_OPTIONS, B as QUICKIT_THEME_STORAGE_KEY, z as QuickitProvider, ae as QuickitThemeProvider, rd as Radio, du as RenderSwitch, _d as Select, cu as Show, xd as Skeleton, Dd as Switch, Rd as Tabs, Vd as TabsContent, zd as TabsList, Bd as TabsTrigger, Wd as Textarea, Kd as Tooltip, Fn as UserChip, Z as cn, Pt as getAvatarRadius, Nt as getControlRadius, Nn as getInitials, C as isQuickitFocusRingEnabled, F as isQuickitRippleEnabled, pn as isQuickitTokenValue, S as normalizeQuickitFocusRingConfig, k as normalizeQuickitPressEffect, P as normalizeQuickitRippleConfig, T as resolveQuickitFocusRingClasses, mn as resolveQuickitToken, w as stripQuickitFocusRingClasses, Qd as useBreakpoint, il as useDropdown, qd as useFloatingLayer, Ur as useFormControl, ef as useMediaQuery, Wu as useModal, D as useQuickitFocusRing, E as useQuickitFocusRingConfig, A as useQuickitPressEffect, ee as useQuickitRipple, I as useQuickitRippleConfig, G as useQuickitTheme, oe as useQuickitThemeController, Hd as useTabs };