orange-core-ui 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { jsx as n, jsxs as T } from "react/jsx-runtime";
2
- import * as c from "react";
2
+ import * as d from "react";
3
3
  import { appendErrors as Le, useForm as Ge, FormProvider as Ee, useFormContext as Be, Controller as Fe } from "react-hook-form";
4
4
  import { validateFieldsNatively as We, toNestErrors as He } from "@hookform/resolvers";
5
5
  import { z } from "zod";
@@ -2670,10 +2670,10 @@ const v = (e) => {
2670
2670
  }
2671
2671
  };
2672
2672
  }, $r = /* @__PURE__ */ Cr(Ur);
2673
- function d(...e) {
2673
+ function c(...e) {
2674
2674
  return $r(br(e));
2675
2675
  }
2676
- const _r = c.forwardRef(
2676
+ const _r = d.forwardRef(
2677
2677
  ({
2678
2678
  className: e,
2679
2679
  variant: r = "primary",
@@ -2714,7 +2714,7 @@ const _r = c.forwardRef(
2714
2714
  "button",
2715
2715
  {
2716
2716
  ref: b,
2717
- className: d(
2717
+ className: c(
2718
2718
  g,
2719
2719
  p[r],
2720
2720
  f[t],
@@ -2731,7 +2731,7 @@ const _r = c.forwardRef(
2731
2731
  }
2732
2732
  );
2733
2733
  _r.displayName = "Button";
2734
- const qr = c.forwardRef(
2734
+ const qr = d.forwardRef(
2735
2735
  ({ className: e, type: r = "text", size: t = "base", error: o = !1, ...a }, s) => {
2736
2736
  const i = "block w-full font-sans border border-black bg-white text-[var(--body-color)] transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-offset-2", l = {
2737
2737
  sm: "px-2 py-1 text-sm leading-[1.25]",
@@ -2742,7 +2742,7 @@ const qr = c.forwardRef(
2742
2742
  "input",
2743
2743
  {
2744
2744
  type: r,
2745
- className: d(i, l[t], b, e),
2745
+ className: c(i, l[t], b, e),
2746
2746
  ref: s,
2747
2747
  ...a
2748
2748
  }
@@ -2750,12 +2750,12 @@ const qr = c.forwardRef(
2750
2750
  }
2751
2751
  );
2752
2752
  qr.displayName = "Input";
2753
- const Dr = c.forwardRef(
2753
+ const Dr = d.forwardRef(
2754
2754
  ({ className: e, variant: r = "default", children: t, ...o }, a) => /* @__PURE__ */ n(
2755
2755
  "div",
2756
2756
  {
2757
2757
  ref: a,
2758
- className: d("flex flex-col", {
2758
+ className: c("flex flex-col", {
2759
2759
  default: "bg-white",
2760
2760
  outline: "border border-black bg-white"
2761
2761
  }[r], e),
@@ -2765,31 +2765,31 @@ const Dr = c.forwardRef(
2765
2765
  )
2766
2766
  );
2767
2767
  Dr.displayName = "Card";
2768
- const Or = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
2768
+ const Or = d.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
2769
2769
  "div",
2770
2770
  {
2771
2771
  ref: t,
2772
- className: d("flex flex-col space-y-1.5 p-5", e),
2772
+ className: c("flex flex-col space-y-1.5 p-5", e),
2773
2773
  ...r
2774
2774
  }
2775
2775
  ));
2776
2776
  Or.displayName = "CardHeader";
2777
- const Xr = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
2777
+ const Xr = d.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
2778
2778
  "h3",
2779
2779
  {
2780
2780
  ref: t,
2781
- className: d("text-2xl font-semibold leading-none tracking-tight", e),
2781
+ className: c("text-2xl font-semibold leading-none tracking-tight", e),
2782
2782
  ...r
2783
2783
  }
2784
2784
  ));
2785
2785
  Xr.displayName = "CardTitle";
2786
- const Jr = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("p", { ref: t, className: d("text-sm text-body-secondary-color", e), ...r }));
2786
+ const Jr = d.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("p", { ref: t, className: c("text-sm text-body-secondary-color", e), ...r }));
2787
2787
  Jr.displayName = "CardDescription";
2788
- const Zr = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("div", { ref: t, className: d("p-5 pt-0", e), ...r }));
2788
+ const Zr = d.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("div", { ref: t, className: c("p-5 pt-0", e), ...r }));
2789
2789
  Zr.displayName = "CardContent";
2790
- const Kr = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("div", { ref: t, className: d("flex items-center p-5 pt-0", e), ...r }));
2790
+ const Kr = d.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("div", { ref: t, className: c("flex items-center p-5 pt-0", e), ...r }));
2791
2791
  Kr.displayName = "CardFooter";
2792
- const Qr = c.forwardRef(
2792
+ const Qr = d.forwardRef(
2793
2793
  ({ as: e, variant: r = "body", className: t, children: o, ...a }, s) => {
2794
2794
  const i = {
2795
2795
  h1: "text-h1 leading-h1 tracking-h1 font-normal",
@@ -2806,11 +2806,11 @@ const Qr = c.forwardRef(
2806
2806
  display3: "text-display-3 leading-display tracking-display-3 font-normal",
2807
2807
  display4: "text-display-4 leading-display tracking-display-4 font-normal"
2808
2808
  }, l = r.startsWith("h") ? r : r === "lead" || r === "small" ? "p" : "div", b = e || l;
2809
- return c.createElement(
2809
+ return d.createElement(
2810
2810
  b,
2811
2811
  {
2812
2812
  ref: s,
2813
- className: d(i[r], t),
2813
+ className: c(i[r], t),
2814
2814
  ...a
2815
2815
  },
2816
2816
  o
@@ -2818,7 +2818,7 @@ const Qr = c.forwardRef(
2818
2818
  }
2819
2819
  );
2820
2820
  Qr.displayName = "Typography";
2821
- const Yr = c.forwardRef(
2821
+ const Yr = d.forwardRef(
2822
2822
  ({ className: e, fluid: r = !1, size: t, children: o, ...a }, s) => {
2823
2823
  const i = "w-full mx-auto px-5", l = {
2824
2824
  xs: "max-w-[312px]",
@@ -2828,11 +2828,11 @@ const Yr = c.forwardRef(
2828
2828
  xl: "max-w-[1200px]",
2829
2829
  xxl: "max-w-[1320px]"
2830
2830
  };
2831
- return r ? /* @__PURE__ */ n("div", { ref: s, className: d(i, e), ...a, children: o }) : /* @__PURE__ */ n(
2831
+ return r ? /* @__PURE__ */ n("div", { ref: s, className: c(i, e), ...a, children: o }) : /* @__PURE__ */ n(
2832
2832
  "div",
2833
2833
  {
2834
2834
  ref: s,
2835
- className: d(i, l[t || "xxl"], e),
2835
+ className: c(i, l[t || "xxl"], e),
2836
2836
  ...a,
2837
2837
  children: o
2838
2838
  }
@@ -2840,7 +2840,7 @@ const Yr = c.forwardRef(
2840
2840
  }
2841
2841
  );
2842
2842
  Yr.displayName = "Container";
2843
- const et = c.forwardRef(
2843
+ const et = d.forwardRef(
2844
2844
  ({ className: e, cols: r = 12, gap: t = 3, children: o, ...a }, s) => {
2845
2845
  const i = "grid", l = {
2846
2846
  1: "grid-cols-1",
@@ -2867,7 +2867,7 @@ const et = c.forwardRef(
2867
2867
  "div",
2868
2868
  {
2869
2869
  ref: s,
2870
- className: d(i, l[r], b[t], e),
2870
+ className: c(i, l[r], b[t], e),
2871
2871
  ...a,
2872
2872
  children: o
2873
2873
  }
@@ -2875,7 +2875,7 @@ const et = c.forwardRef(
2875
2875
  }
2876
2876
  );
2877
2877
  et.displayName = "Grid";
2878
- const rt = c.forwardRef(
2878
+ const rt = d.forwardRef(
2879
2879
  ({ className: e, span: r, children: t, ...o }, a) => {
2880
2880
  const s = r ? {
2881
2881
  1: "col-span-1",
@@ -2891,7 +2891,7 @@ const rt = c.forwardRef(
2891
2891
  11: "col-span-11",
2892
2892
  12: "col-span-12"
2893
2893
  }[r] : "";
2894
- return /* @__PURE__ */ n("div", { ref: a, className: d(s, e), ...o, children: t });
2894
+ return /* @__PURE__ */ n("div", { ref: a, className: c(s, e), ...o, children: t });
2895
2895
  }
2896
2896
  );
2897
2897
  rt.displayName = "GridItem";
@@ -2950,7 +2950,7 @@ function Yt({
2950
2950
  }), l = i.handleSubmit(async (b) => {
2951
2951
  await t(b);
2952
2952
  });
2953
- return /* @__PURE__ */ n(Ee, { ...i, children: /* @__PURE__ */ n("form", { onSubmit: l, className: d("space-y-4", a), ...s, children: o(i) }) });
2953
+ return /* @__PURE__ */ n(Ee, { ...i, children: /* @__PURE__ */ n("form", { onSubmit: l, className: c("space-y-4", a), ...s, children: o(i) }) });
2954
2954
  }
2955
2955
  function eo({ name: e, control: r, render: t, children: o, className: a, ...s }) {
2956
2956
  const i = Be();
@@ -2962,21 +2962,21 @@ function eo({ name: e, control: r, render: t, children: o, className: a, ...s })
2962
2962
  ...s,
2963
2963
  render: (l) => {
2964
2964
  const b = t ? t(l) : o ? o(l) : null;
2965
- return /* @__PURE__ */ n("div", { className: d("space-y-1", a), children: b });
2965
+ return /* @__PURE__ */ n("div", { className: c("space-y-1", a), children: b });
2966
2966
  }
2967
2967
  }
2968
2968
  );
2969
2969
  }
2970
- const at = c.forwardRef(
2971
- ({ className: e, ...r }, t) => /* @__PURE__ */ n("div", { ref: t, className: d("space-y-1", e), ...r })
2970
+ const at = d.forwardRef(
2971
+ ({ className: e, ...r }, t) => /* @__PURE__ */ n("div", { ref: t, className: c("space-y-1", e), ...r })
2972
2972
  );
2973
2973
  at.displayName = "FormItem";
2974
- const st = c.forwardRef(
2974
+ const st = d.forwardRef(
2975
2975
  ({ className: e, required: r, children: t, ...o }, a) => /* @__PURE__ */ T(
2976
2976
  "label",
2977
2977
  {
2978
2978
  ref: a,
2979
- className: d(
2979
+ className: c(
2980
2980
  "block text-base font-normal leading-[1.25] text-[var(--body-color)]",
2981
2981
  e
2982
2982
  ),
@@ -2989,12 +2989,12 @@ const st = c.forwardRef(
2989
2989
  )
2990
2990
  );
2991
2991
  st.displayName = "FormLabel";
2992
- const nt = c.forwardRef(
2992
+ const nt = d.forwardRef(
2993
2993
  ({ className: e, error: r, children: t, ...o }, a) => !r && !t ? null : /* @__PURE__ */ n(
2994
2994
  "p",
2995
2995
  {
2996
2996
  ref: a,
2997
- className: d(
2997
+ className: c(
2998
2998
  "text-sm leading-sm text-danger",
2999
2999
  e
3000
3000
  ),
@@ -3006,12 +3006,12 @@ const nt = c.forwardRef(
3006
3006
  )
3007
3007
  );
3008
3008
  nt.displayName = "FormMessage";
3009
- const it = c.forwardRef(
3009
+ const it = d.forwardRef(
3010
3010
  ({ className: e, ...r }, t) => /* @__PURE__ */ n(
3011
3011
  "p",
3012
3012
  {
3013
3013
  ref: t,
3014
- className: d("text-sm leading-sm text-body-secondary-color", e),
3014
+ className: c("text-sm leading-sm text-body-secondary-color", e),
3015
3015
  ...r
3016
3016
  }
3017
3017
  )
@@ -3023,9 +3023,9 @@ const ro = z.string().email("Invalid email address"), to = z.string().min(1, "Th
3023
3023
  message: "Date must be in the future"
3024
3024
  }), bo = z.date().refine((e) => e < /* @__PURE__ */ new Date(), {
3025
3025
  message: "Date must be in the past"
3026
- }), lt = c.forwardRef(
3026
+ }), lt = d.forwardRef(
3027
3027
  ({ className: e, variant: r = "info", dismissible: t = !1, onDismiss: o, children: a, ...s }, i) => {
3028
- const [l, b] = c.useState(!0), g = () => {
3028
+ const [l, b] = d.useState(!0), g = () => {
3029
3029
  b(!1), o == null || o();
3030
3030
  };
3031
3031
  return l ? /* @__PURE__ */ T(
@@ -3033,7 +3033,7 @@ const ro = z.string().email("Invalid email address"), to = z.string().min(1, "Th
3033
3033
  {
3034
3034
  ref: i,
3035
3035
  role: "alert",
3036
- className: d(
3036
+ className: c(
3037
3037
  "relative px-5 py-4 mb-4 border rounded",
3038
3038
  {
3039
3039
  success: "bg-success text-[var(--highlight-color)] border-success",
@@ -3062,10 +3062,10 @@ const ro = z.string().email("Invalid email address"), to = z.string().min(1, "Th
3062
3062
  }
3063
3063
  );
3064
3064
  lt.displayName = "Alert";
3065
- const ct = c.forwardRef(
3065
+ const ct = d.forwardRef(
3066
3066
  ({ className: e, open: r = !1, onClose: t, size: o = "md", children: a, ...s }, i) => {
3067
- const [l, b] = c.useState(r);
3068
- c.useEffect(() => {
3067
+ const [l, b] = d.useState(r);
3068
+ d.useEffect(() => {
3069
3069
  b(r);
3070
3070
  }, [r]);
3071
3071
  const g = (f) => {
@@ -3082,7 +3082,7 @@ const ct = c.forwardRef(
3082
3082
  "div",
3083
3083
  {
3084
3084
  ref: i,
3085
- className: d(
3085
+ className: c(
3086
3086
  "relative bg-white rounded p-5 w-full mx-4",
3087
3087
  {
3088
3088
  sm: "max-w-sm",
@@ -3102,28 +3102,28 @@ const ct = c.forwardRef(
3102
3102
  }
3103
3103
  );
3104
3104
  ct.displayName = "Modal";
3105
- const dt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("div", { ref: t, className: d("mb-4", e), ...r }));
3105
+ const dt = d.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("div", { ref: t, className: c("mb-4", e), ...r }));
3106
3106
  dt.displayName = "ModalHeader";
3107
- const bt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("h2", { ref: t, className: d("text-2xl font-semibold", e), ...r }));
3107
+ const bt = d.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("h2", { ref: t, className: c("text-2xl font-semibold", e), ...r }));
3108
3108
  bt.displayName = "ModalTitle";
3109
- const pt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("div", { ref: t, className: d("mb-4", e), ...r }));
3109
+ const pt = d.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("div", { ref: t, className: c("mb-4", e), ...r }));
3110
3110
  pt.displayName = "ModalBody";
3111
- const mt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("div", { ref: t, className: d("flex justify-end gap-2", e), ...r }));
3111
+ const mt = d.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("div", { ref: t, className: c("flex justify-end gap-2", e), ...r }));
3112
3112
  mt.displayName = "ModalFooter";
3113
- const gt = c.forwardRef(
3113
+ const gt = d.forwardRef(
3114
3114
  ({ className: e, trigger: r, open: t, onOpenChange: o, children: a, ...s }, i) => {
3115
- const [l, b] = c.useState(!1), g = c.useRef(null), p = t ?? l, f = () => {
3115
+ const [l, b] = d.useState(!1), g = d.useRef(null), p = t ?? l, f = () => {
3116
3116
  const h = !p;
3117
3117
  b(h), o == null || o(h);
3118
3118
  };
3119
- return c.useEffect(() => {
3119
+ return d.useEffect(() => {
3120
3120
  const h = (w) => {
3121
3121
  g.current && !g.current.contains(w.target) && (b(!1), o == null || o(!1));
3122
3122
  };
3123
3123
  return p && document.addEventListener("mousedown", h), () => {
3124
3124
  document.removeEventListener("mousedown", h);
3125
3125
  };
3126
- }, [p, o]), /* @__PURE__ */ T("div", { ref: g, className: d("relative inline-block", e), ...s, children: [
3126
+ }, [p, o]), /* @__PURE__ */ T("div", { ref: g, className: c("relative inline-block", e), ...s, children: [
3127
3127
  /* @__PURE__ */ n("div", { onClick: f, role: "button", tabIndex: 0, children: r }),
3128
3128
  p && /* @__PURE__ */ n(
3129
3129
  "div",
@@ -3138,11 +3138,11 @@ const gt = c.forwardRef(
3138
3138
  }
3139
3139
  );
3140
3140
  gt.displayName = "Dropdown";
3141
- const ut = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
3141
+ const ut = d.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
3142
3142
  "button",
3143
3143
  {
3144
3144
  ref: t,
3145
- className: d(
3145
+ className: c(
3146
3146
  "block w-full text-left px-4 py-2 text-base hover:bg-gray-200 focus:bg-gray-200 focus:outline-none",
3147
3147
  e
3148
3148
  ),
@@ -3151,12 +3151,12 @@ const ut = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
3151
3151
  }
3152
3152
  ));
3153
3153
  ut.displayName = "DropdownItem";
3154
- const ft = c.forwardRef(
3154
+ const ft = d.forwardRef(
3155
3155
  ({ className: e, brand: r, children: t, ...o }, a) => /* @__PURE__ */ T(
3156
3156
  "nav",
3157
3157
  {
3158
3158
  ref: a,
3159
- className: d(
3159
+ className: c(
3160
3160
  "relative flex flex-wrap items-center justify-between px-5 py-4 bg-white border-b border-black",
3161
3161
  e
3162
3162
  ),
@@ -3169,15 +3169,15 @@ const ft = c.forwardRef(
3169
3169
  )
3170
3170
  );
3171
3171
  ft.displayName = "Navbar";
3172
- const ht = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("ul", { ref: t, className: d("flex flex-row space-x-4 list-none", e), ...r }));
3172
+ const ht = d.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("ul", { ref: t, className: c("flex flex-row space-x-4 list-none", e), ...r }));
3173
3173
  ht.displayName = "NavbarNav";
3174
- const vt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("li", { ref: t, className: d("", e), ...r }));
3174
+ const vt = d.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n("li", { ref: t, className: c("", e), ...r }));
3175
3175
  vt.displayName = "NavbarItem";
3176
- const xt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
3176
+ const xt = d.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
3177
3177
  "a",
3178
3178
  {
3179
3179
  ref: t,
3180
- className: d(
3180
+ className: c(
3181
3181
  "block px-2 py-2 text-base text-black no-underline hover:text-primary focus:outline-none",
3182
3182
  e
3183
3183
  ),
@@ -3185,18 +3185,22 @@ const xt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
3185
3185
  }
3186
3186
  ));
3187
3187
  xt.displayName = "NavbarLink";
3188
- const yt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
3188
+ const yt = d.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
3189
3189
  const a = {
3190
- sm: "h-4 w-4",
3191
- base: "h-5 w-5",
3192
- lg: "h-6 w-6"
3190
+ sm: "h-3.5 w-3.5",
3191
+ base: "h-4 w-4",
3192
+ lg: "h-5 w-5"
3193
+ }, s = {
3194
+ sm: "h-2.5 w-2.5",
3195
+ base: "h-3 w-3",
3196
+ lg: "h-4 w-4"
3193
3197
  };
3194
3198
  return /* @__PURE__ */ n(
3195
3199
  ae.Root,
3196
3200
  {
3197
3201
  ref: o,
3198
- className: d(
3199
- "peer h-5 w-5 shrink-0 rounded border-2 border-black bg-white transition-colors",
3202
+ className: c(
3203
+ "peer shrink-0 rounded border-2 border-black bg-white transition-colors",
3200
3204
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
3201
3205
  "disabled:cursor-not-allowed disabled:opacity-50",
3202
3206
  "data-[state=checked]:bg-primary data-[state=checked]:border-primary data-[state=checked]:text-white",
@@ -3207,11 +3211,11 @@ const yt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
3207
3211
  children: /* @__PURE__ */ n(
3208
3212
  ae.Indicator,
3209
3213
  {
3210
- className: d("flex items-center justify-center text-current"),
3214
+ className: c("flex items-center justify-center text-current"),
3211
3215
  children: /* @__PURE__ */ n(
3212
3216
  "svg",
3213
3217
  {
3214
- className: "h-4 w-4",
3218
+ className: s[r],
3215
3219
  viewBox: "0 0 12 12",
3216
3220
  fill: "none",
3217
3221
  xmlns: "http://www.w3.org/2000/svg",
@@ -3233,26 +3237,30 @@ const yt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
3233
3237
  );
3234
3238
  });
3235
3239
  yt.displayName = ae.Root.displayName;
3236
- const wt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => /* @__PURE__ */ n(
3240
+ const wt = d.forwardRef(({ className: e, size: r = "base", ...t }, o) => /* @__PURE__ */ n(
3237
3241
  _.Root,
3238
3242
  {
3239
- className: d("grid gap-2", e),
3243
+ className: c("grid gap-2", e),
3240
3244
  ...t,
3241
3245
  ref: o
3242
3246
  }
3243
3247
  ));
3244
3248
  wt.displayName = _.Root.displayName;
3245
- const Nt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
3249
+ const Nt = d.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
3246
3250
  const a = {
3247
- sm: "h-4 w-4",
3248
- base: "h-5 w-5",
3249
- lg: "h-6 w-6"
3251
+ sm: "h-3.5 w-3.5",
3252
+ base: "h-4 w-4",
3253
+ lg: "h-5 w-5"
3254
+ }, s = {
3255
+ sm: "h-1.5 w-1.5",
3256
+ base: "h-2 w-2",
3257
+ lg: "h-2.5 w-2.5"
3250
3258
  };
3251
3259
  return /* @__PURE__ */ n(
3252
3260
  _.Item,
3253
3261
  {
3254
3262
  ref: o,
3255
- className: d(
3263
+ className: c(
3256
3264
  "aspect-square rounded-full border-2 border-black bg-white transition-colors",
3257
3265
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
3258
3266
  "disabled:cursor-not-allowed disabled:opacity-50",
@@ -3261,12 +3269,12 @@ const Nt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
3261
3269
  e
3262
3270
  ),
3263
3271
  ...t,
3264
- children: /* @__PURE__ */ n(_.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ n("div", { className: "h-2.5 w-2.5 rounded-full bg-primary" }) })
3272
+ children: /* @__PURE__ */ n(_.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ n("div", { className: c("rounded-full bg-primary", s[r]) }) })
3265
3273
  }
3266
3274
  );
3267
3275
  });
3268
3276
  Nt.displayName = _.Item.displayName;
3269
- const kt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
3277
+ const kt = d.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
3270
3278
  const a = {
3271
3279
  sm: "h-4 w-7",
3272
3280
  base: "h-5 w-9",
@@ -3279,7 +3287,7 @@ const kt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
3279
3287
  return /* @__PURE__ */ n(
3280
3288
  se.Root,
3281
3289
  {
3282
- className: d(
3290
+ className: c(
3283
3291
  "peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-black bg-white transition-colors",
3284
3292
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
3285
3293
  "disabled:cursor-not-allowed disabled:opacity-50",
@@ -3292,7 +3300,7 @@ const kt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
3292
3300
  children: /* @__PURE__ */ n(
3293
3301
  se.Thumb,
3294
3302
  {
3295
- className: d(
3303
+ className: c(
3296
3304
  "pointer-events-none block rounded-full bg-black transition-transform",
3297
3305
  "translate-x-0.5 will-change-transform",
3298
3306
  "data-[state=checked]:translate-x-[calc(100%-0.125rem)] data-[state=checked]:bg-white",
@@ -3304,7 +3312,7 @@ const kt = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
3304
3312
  );
3305
3313
  });
3306
3314
  kt.displayName = se.Root.displayName;
3307
- const po = C.Root, mo = C.Group, go = C.Value, Ct = c.forwardRef(({ className: e, children: r, size: t = "base", error: o = !1, ...a }, s) => {
3315
+ const po = C.Root, mo = C.Group, go = C.Value, Ct = d.forwardRef(({ className: e, children: r, size: t = "base", error: o = !1, ...a }, s) => {
3308
3316
  const i = {
3309
3317
  sm: "h-8 px-2 text-sm",
3310
3318
  base: "h-10 px-3 text-base",
@@ -3314,7 +3322,7 @@ const po = C.Root, mo = C.Group, go = C.Value, Ct = c.forwardRef(({ className: e
3314
3322
  C.Trigger,
3315
3323
  {
3316
3324
  ref: s,
3317
- className: d(
3325
+ className: c(
3318
3326
  "flex w-full items-center justify-between rounded border-2 border-black bg-white",
3319
3327
  "placeholder:text-gray-500",
3320
3328
  "focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary",
@@ -3350,11 +3358,11 @@ const po = C.Root, mo = C.Group, go = C.Value, Ct = c.forwardRef(({ className: e
3350
3358
  );
3351
3359
  });
3352
3360
  Ct.displayName = C.Trigger.displayName;
3353
- const Rt = c.forwardRef(({ className: e, children: r, position: t = "popper", ...o }, a) => /* @__PURE__ */ n(C.Portal, { children: /* @__PURE__ */ n(
3361
+ const Rt = d.forwardRef(({ className: e, children: r, position: t = "popper", ...o }, a) => /* @__PURE__ */ n(C.Portal, { children: /* @__PURE__ */ n(
3354
3362
  C.Content,
3355
3363
  {
3356
3364
  ref: a,
3357
- className: d(
3365
+ className: c(
3358
3366
  "relative z-50 min-w-[8rem] overflow-hidden rounded border-2 border-black bg-white shadow-lg",
3359
3367
  t === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
3360
3368
  e
@@ -3364,7 +3372,7 @@ const Rt = c.forwardRef(({ className: e, children: r, position: t = "popper", ..
3364
3372
  children: /* @__PURE__ */ n(
3365
3373
  C.Viewport,
3366
3374
  {
3367
- className: d(
3375
+ className: c(
3368
3376
  "p-1",
3369
3377
  t === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
3370
3378
  ),
@@ -3374,12 +3382,12 @@ const Rt = c.forwardRef(({ className: e, children: r, position: t = "popper", ..
3374
3382
  }
3375
3383
  ) }));
3376
3384
  Rt.displayName = C.Content.displayName;
3377
- const St = c.forwardRef(({ className: e, children: r, ...t }, o) => /* @__PURE__ */ n(
3385
+ const St = d.forwardRef(({ className: e, children: r, ...t }, o) => /* @__PURE__ */ n(
3378
3386
  C.Item,
3379
3387
  {
3380
3388
  ref: o,
3381
- className: d(
3382
- "relative flex w-full cursor-pointer select-none items-center rounded px-3 py-2 text-base outline-none",
3389
+ className: c(
3390
+ "relative flex w-full cursor-pointer select-none items-center rounded px-2.5 py-1.5 text-sm outline-none",
3383
3391
  "focus:bg-primary focus:text-white",
3384
3392
  "data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
3385
3393
  e
@@ -3389,20 +3397,20 @@ const St = c.forwardRef(({ className: e, children: r, ...t }, o) => /* @__PURE__
3389
3397
  }
3390
3398
  ));
3391
3399
  St.displayName = C.Item.displayName;
3392
- const zt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
3400
+ const zt = d.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
3393
3401
  C.Separator,
3394
3402
  {
3395
3403
  ref: t,
3396
- className: d("-mx-1 my-1 h-px bg-gray-300", e),
3404
+ className: c("-mx-1 my-1 h-px bg-gray-300", e),
3397
3405
  ...r
3398
3406
  }
3399
3407
  ));
3400
3408
  zt.displayName = C.Separator.displayName;
3401
- const Mt = c.forwardRef(
3409
+ const Mt = d.forwardRef(
3402
3410
  ({ className: e, error: r = !1, size: t = "base", ...o }, a) => /* @__PURE__ */ n(
3403
3411
  "textarea",
3404
3412
  {
3405
- className: d(
3413
+ className: c(
3406
3414
  "flex min-h-[80px] w-full rounded border-2 border-black bg-white px-3 py-2 text-base",
3407
3415
  "placeholder:text-gray-500",
3408
3416
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
@@ -3421,7 +3429,7 @@ const Mt = c.forwardRef(
3421
3429
  )
3422
3430
  );
3423
3431
  Mt.displayName = "Textarea";
3424
- const It = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
3432
+ const It = d.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
3425
3433
  const a = {
3426
3434
  sm: "h-1",
3427
3435
  base: "h-2",
@@ -3435,7 +3443,7 @@ const It = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
3435
3443
  U.Root,
3436
3444
  {
3437
3445
  ref: o,
3438
- className: d(
3446
+ className: c(
3439
3447
  "relative flex w-full touch-none select-none items-center",
3440
3448
  a[r],
3441
3449
  e
@@ -3446,7 +3454,7 @@ const It = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
3446
3454
  /* @__PURE__ */ n(
3447
3455
  U.Thumb,
3448
3456
  {
3449
- className: d(
3457
+ className: c(
3450
3458
  "block rounded-full border-2 border-black bg-white transition-colors",
3451
3459
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
3452
3460
  "disabled:pointer-events-none disabled:opacity-50",
@@ -3459,17 +3467,17 @@ const It = c.forwardRef(({ className: e, size: r = "base", ...t }, o) => {
3459
3467
  );
3460
3468
  });
3461
3469
  It.displayName = U.Root.displayName;
3462
- const Tt = c.forwardRef(
3470
+ const Tt = d.forwardRef(
3463
3471
  ({ className: e, separator: r = "/", children: t, ...o }, a) => {
3464
- const s = c.Children.toArray(t);
3472
+ const s = d.Children.toArray(t);
3465
3473
  return /* @__PURE__ */ n(
3466
3474
  "nav",
3467
3475
  {
3468
3476
  ref: a,
3469
3477
  "aria-label": "Breadcrumb",
3470
- className: d("flex items-center space-x-2", e),
3478
+ className: c("flex items-center space-x-2", e),
3471
3479
  ...o,
3472
- children: /* @__PURE__ */ n("ol", { className: "flex items-center space-x-2", children: c.Children.map(t, (i, l) => {
3480
+ children: /* @__PURE__ */ n("ol", { className: "flex items-center space-x-2", children: d.Children.map(t, (i, l) => {
3473
3481
  const b = l === s.length - 1;
3474
3482
  return /* @__PURE__ */ T("li", { className: "flex items-center", children: [
3475
3483
  i,
@@ -3481,12 +3489,12 @@ const Tt = c.forwardRef(
3481
3489
  }
3482
3490
  );
3483
3491
  Tt.displayName = "Breadcrumbs";
3484
- const At = c.forwardRef(
3492
+ const At = d.forwardRef(
3485
3493
  ({ className: e, active: r = !1, ...t }, o) => r ? /* @__PURE__ */ n(
3486
3494
  "span",
3487
3495
  {
3488
3496
  ref: o,
3489
- className: d("text-gray-500", e),
3497
+ className: c("text-gray-500", e),
3490
3498
  "aria-current": "page",
3491
3499
  ...t,
3492
3500
  children: t.children
@@ -3495,7 +3503,7 @@ const At = c.forwardRef(
3495
3503
  "a",
3496
3504
  {
3497
3505
  ref: o,
3498
- className: d(
3506
+ className: c(
3499
3507
  "text-black hover:text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
3500
3508
  e
3501
3509
  ),
@@ -3504,7 +3512,7 @@ const At = c.forwardRef(
3504
3512
  )
3505
3513
  );
3506
3514
  At.displayName = "BreadcrumbItem";
3507
- const Pt = c.forwardRef(
3515
+ const Pt = d.forwardRef(
3508
3516
  ({
3509
3517
  className: e,
3510
3518
  currentPage: r,
@@ -3527,7 +3535,7 @@ const Pt = c.forwardRef(
3527
3535
  {
3528
3536
  ref: l,
3529
3537
  "aria-label": "Pagination",
3530
- className: d("flex items-center justify-center gap-1", e),
3538
+ className: c("flex items-center justify-center gap-1", e),
3531
3539
  ...i,
3532
3540
  children: [
3533
3541
  /* @__PURE__ */ n(
@@ -3565,11 +3573,11 @@ const Pt = c.forwardRef(
3565
3573
  }
3566
3574
  );
3567
3575
  Pt.displayName = "Pagination";
3568
- const K = c.forwardRef(({ className: e, active: r = !1, ...t }, o) => /* @__PURE__ */ n(
3576
+ const K = d.forwardRef(({ className: e, active: r = !1, ...t }, o) => /* @__PURE__ */ n(
3569
3577
  "button",
3570
3578
  {
3571
3579
  ref: o,
3572
- className: d(
3580
+ className: c(
3573
3581
  "min-h-[2.75rem] min-w-[2.75rem] rounded border-2 border-black px-3 py-2 text-base font-medium transition-colors",
3574
3582
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
3575
3583
  r ? "bg-primary text-white border-primary" : "bg-white text-black hover:bg-gray-200",
@@ -3580,11 +3588,11 @@ const K = c.forwardRef(({ className: e, active: r = !1, ...t }, o) => /* @__PURE
3580
3588
  }
3581
3589
  ));
3582
3590
  K.displayName = "PaginationButton";
3583
- const uo = G.Root, jt = c.forwardRef(({ className: e, variant: r = "default", ...t }, o) => /* @__PURE__ */ n(
3591
+ const uo = G.Root, jt = d.forwardRef(({ className: e, variant: r = "default", ...t }, o) => /* @__PURE__ */ n(
3584
3592
  G.List,
3585
3593
  {
3586
3594
  ref: o,
3587
- className: d(
3595
+ className: c(
3588
3596
  "inline-flex items-center justify-center rounded",
3589
3597
  r === "default" && "border-2 border-black",
3590
3598
  r === "pills" && "bg-gray-200 p-1",
@@ -3594,11 +3602,11 @@ const uo = G.Root, jt = c.forwardRef(({ className: e, variant: r = "default", ..
3594
3602
  }
3595
3603
  ));
3596
3604
  jt.displayName = G.List.displayName;
3597
- const Lt = c.forwardRef(({ className: e, variant: r = "default", ...t }, o) => /* @__PURE__ */ n(
3605
+ const Lt = d.forwardRef(({ className: e, variant: r = "default", ...t }, o) => /* @__PURE__ */ n(
3598
3606
  G.Trigger,
3599
3607
  {
3600
3608
  ref: o,
3601
- className: d(
3609
+ className: c(
3602
3610
  "inline-flex items-center justify-center whitespace-nowrap rounded px-4 py-2 text-base font-medium transition-colors",
3603
3611
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
3604
3612
  "disabled:pointer-events-none disabled:opacity-50",
@@ -3610,11 +3618,11 @@ const Lt = c.forwardRef(({ className: e, variant: r = "default", ...t }, o) => /
3610
3618
  }
3611
3619
  ));
3612
3620
  Lt.displayName = G.Trigger.displayName;
3613
- const Gt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
3621
+ const Gt = d.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
3614
3622
  G.Content,
3615
3623
  {
3616
3624
  ref: t,
3617
- className: d(
3625
+ className: c(
3618
3626
  "mt-2 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
3619
3627
  e
3620
3628
  ),
@@ -3622,20 +3630,20 @@ const Gt = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
3622
3630
  }
3623
3631
  ));
3624
3632
  Gt.displayName = G.Content.displayName;
3625
- const fo = L.Root, Et = c.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
3633
+ const fo = L.Root, Et = d.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ n(
3626
3634
  L.Item,
3627
3635
  {
3628
3636
  ref: t,
3629
- className: d("border-b-2 border-black", e),
3637
+ className: c("border-b-2 border-black", e),
3630
3638
  ...r
3631
3639
  }
3632
3640
  ));
3633
3641
  Et.displayName = "AccordionItem";
3634
- const Bt = c.forwardRef(({ className: e, children: r, ...t }, o) => /* @__PURE__ */ n(L.Header, { className: "flex", children: /* @__PURE__ */ T(
3642
+ const Bt = d.forwardRef(({ className: e, children: r, ...t }, o) => /* @__PURE__ */ n(L.Header, { className: "flex", children: /* @__PURE__ */ T(
3635
3643
  L.Trigger,
3636
3644
  {
3637
3645
  ref: o,
3638
- className: d(
3646
+ className: c(
3639
3647
  "flex flex-1 items-center justify-between py-4 text-left text-base font-medium transition-all",
3640
3648
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary",
3641
3649
  "[&[data-state=open]>svg]:rotate-180",
@@ -3667,23 +3675,23 @@ const Bt = c.forwardRef(({ className: e, children: r, ...t }, o) => /* @__PURE__
3667
3675
  }
3668
3676
  ) }));
3669
3677
  Bt.displayName = L.Trigger.displayName;
3670
- const Ft = c.forwardRef(({ className: e, children: r, ...t }, o) => /* @__PURE__ */ n(
3678
+ const Ft = d.forwardRef(({ className: e, children: r, ...t }, o) => /* @__PURE__ */ n(
3671
3679
  L.Content,
3672
3680
  {
3673
3681
  ref: o,
3674
3682
  className: "overflow-hidden text-base transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
3675
3683
  ...t,
3676
- children: /* @__PURE__ */ n("div", { className: d("pb-4 pt-0", e), children: r })
3684
+ children: /* @__PURE__ */ n("div", { className: c("pb-4 pt-0", e), children: r })
3677
3685
  }
3678
3686
  ));
3679
3687
  Ft.displayName = L.Content.displayName;
3680
- const ho = q.Root, vo = q.Trigger, Wt = c.forwardRef(({ className: e, align: r = "center", sideOffset: t = 4, ...o }, a) => /* @__PURE__ */ n(q.Portal, { children: /* @__PURE__ */ n(
3688
+ const ho = q.Root, vo = q.Trigger, Wt = d.forwardRef(({ className: e, align: r = "center", sideOffset: t = 4, ...o }, a) => /* @__PURE__ */ n(q.Portal, { children: /* @__PURE__ */ n(
3681
3689
  q.Content,
3682
3690
  {
3683
3691
  ref: a,
3684
3692
  align: r,
3685
3693
  sideOffset: t,
3686
- className: d(
3694
+ className: c(
3687
3695
  "z-50 w-72 rounded border-2 border-black bg-white p-4 shadow-lg",
3688
3696
  "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
3689
3697
  e
@@ -3692,12 +3700,12 @@ const ho = q.Root, vo = q.Trigger, Wt = c.forwardRef(({ className: e, align: r =
3692
3700
  }
3693
3701
  ) }));
3694
3702
  Wt.displayName = q.Content.displayName;
3695
- const xo = D.Provider, yo = D.Root, wo = D.Trigger, Ht = c.forwardRef(({ className: e, sideOffset: r = 4, ...t }, o) => /* @__PURE__ */ n(
3703
+ const xo = D.Provider, yo = D.Root, wo = D.Trigger, Ht = d.forwardRef(({ className: e, sideOffset: r = 4, ...t }, o) => /* @__PURE__ */ n(
3696
3704
  D.Content,
3697
3705
  {
3698
3706
  ref: o,
3699
3707
  sideOffset: r,
3700
- className: d(
3708
+ className: c(
3701
3709
  "z-50 overflow-hidden rounded border-2 border-black bg-black px-3 py-1.5 text-sm text-white shadow-md",
3702
3710
  "animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
3703
3711
  e
@@ -3706,7 +3714,7 @@ const xo = D.Provider, yo = D.Root, wo = D.Trigger, Ht = c.forwardRef(({ classNa
3706
3714
  }
3707
3715
  ));
3708
3716
  Ht.displayName = D.Content.displayName;
3709
- const Vt = c.forwardRef(
3717
+ const Vt = d.forwardRef(
3710
3718
  ({ className: e, variant: r = "primary", size: t = "base", ...o }, a) => {
3711
3719
  const s = {
3712
3720
  primary: "bg-primary text-white",
@@ -3726,7 +3734,7 @@ const Vt = c.forwardRef(
3726
3734
  "span",
3727
3735
  {
3728
3736
  ref: a,
3729
- className: d(
3737
+ className: c(
3730
3738
  "inline-flex items-center rounded font-medium",
3731
3739
  s[r],
3732
3740
  i[t],
@@ -3738,18 +3746,18 @@ const Vt = c.forwardRef(
3738
3746
  }
3739
3747
  );
3740
3748
  Vt.displayName = "Badge";
3741
- const Ut = c.forwardRef(
3749
+ const Ut = d.forwardRef(
3742
3750
  ({ className: e, src: r, alt: t, fallback: o, size: a = "base", ...s }, i) => {
3743
3751
  const l = {
3744
3752
  sm: "h-8 w-8 text-xs",
3745
3753
  base: "h-10 w-10 text-sm",
3746
3754
  lg: "h-12 w-12 text-base"
3747
- }, [b, g] = c.useState(!1);
3755
+ }, [b, g] = d.useState(!1);
3748
3756
  return /* @__PURE__ */ n(
3749
3757
  "div",
3750
3758
  {
3751
3759
  ref: i,
3752
- className: d(
3760
+ className: c(
3753
3761
  "relative flex shrink-0 items-center justify-center overflow-hidden rounded-full bg-gray-300",
3754
3762
  l[a],
3755
3763
  e
@@ -3769,12 +3777,12 @@ const Ut = c.forwardRef(
3769
3777
  }
3770
3778
  );
3771
3779
  Ut.displayName = "Avatar";
3772
- const $t = c.forwardRef(
3780
+ const $t = d.forwardRef(
3773
3781
  ({ className: e, orientation: r = "horizontal", variant: t = "solid", ...o }, a) => r === "vertical" ? /* @__PURE__ */ n(
3774
3782
  "div",
3775
3783
  {
3776
3784
  ref: a,
3777
- className: d(
3785
+ className: c(
3778
3786
  "w-px bg-black",
3779
3787
  t === "dashed" && "border-dashed",
3780
3788
  e
@@ -3787,7 +3795,7 @@ const $t = c.forwardRef(
3787
3795
  "hr",
3788
3796
  {
3789
3797
  ref: a,
3790
- className: d(
3798
+ className: c(
3791
3799
  "border-0 border-t-2 border-black",
3792
3800
  t === "dashed" && "border-dashed",
3793
3801
  e
@@ -3799,7 +3807,7 @@ const $t = c.forwardRef(
3799
3807
  )
3800
3808
  );
3801
3809
  $t.displayName = "Divider";
3802
- const _t = c.forwardRef(
3810
+ const _t = d.forwardRef(
3803
3811
  ({
3804
3812
  className: e,
3805
3813
  variant: r = "rectangular",
@@ -3811,7 +3819,7 @@ const _t = c.forwardRef(
3811
3819
  "div",
3812
3820
  {
3813
3821
  ref: i,
3814
- className: d(
3822
+ className: c(
3815
3823
  "animate-pulse bg-gray-300",
3816
3824
  {
3817
3825
  text: "rounded",
@@ -3830,7 +3838,7 @@ const _t = c.forwardRef(
3830
3838
  )
3831
3839
  );
3832
3840
  _t.displayName = "Skeleton";
3833
- const qt = c.forwardRef(({ className: e, variant: r = "primary", size: t = "base", value: o, ...a }, s) => {
3841
+ const qt = d.forwardRef(({ className: e, variant: r = "primary", size: t = "base", value: o, ...a }, s) => {
3834
3842
  const i = {
3835
3843
  primary: "bg-primary",
3836
3844
  success: "bg-success",
@@ -3846,7 +3854,7 @@ const qt = c.forwardRef(({ className: e, variant: r = "primary", size: t = "base
3846
3854
  ne.Root,
3847
3855
  {
3848
3856
  ref: s,
3849
- className: d(
3857
+ className: c(
3850
3858
  "relative h-2 w-full overflow-hidden rounded-full bg-gray-300",
3851
3859
  l[t],
3852
3860
  e
@@ -3855,7 +3863,7 @@ const qt = c.forwardRef(({ className: e, variant: r = "primary", size: t = "base
3855
3863
  children: /* @__PURE__ */ n(
3856
3864
  ne.Indicator,
3857
3865
  {
3858
- className: d(
3866
+ className: c(
3859
3867
  "h-full w-full flex-1 transition-all",
3860
3868
  i[r]
3861
3869
  ),
@@ -3866,7 +3874,7 @@ const qt = c.forwardRef(({ className: e, variant: r = "primary", size: t = "base
3866
3874
  );
3867
3875
  });
3868
3876
  qt.displayName = ne.Root.displayName;
3869
- const Dt = c.forwardRef(
3877
+ const Dt = d.forwardRef(
3870
3878
  ({ className: e, size: r = "base", variant: t = "primary", ...o }, a) => {
3871
3879
  const s = {
3872
3880
  sm: "h-4 w-4 border-2",
@@ -3881,7 +3889,7 @@ const Dt = c.forwardRef(
3881
3889
  "div",
3882
3890
  {
3883
3891
  ref: a,
3884
- className: d(
3892
+ className: c(
3885
3893
  "animate-spin rounded-full",
3886
3894
  s[r],
3887
3895
  i[t],
@@ -3896,14 +3904,14 @@ const Dt = c.forwardRef(
3896
3904
  }
3897
3905
  );
3898
3906
  Dt.displayName = "Spinner";
3899
- const Ot = c.forwardRef(
3907
+ const Ot = d.forwardRef(
3900
3908
  ({ className: e, orientation: r = "horizontal", decorative: t = !0, ...o }, a) => /* @__PURE__ */ n(
3901
3909
  Ne.Root,
3902
3910
  {
3903
3911
  ref: a,
3904
3912
  decorative: t,
3905
3913
  orientation: r,
3906
- className: d(
3914
+ className: c(
3907
3915
  "shrink-0 bg-black",
3908
3916
  r === "horizontal" ? "h-px w-full" : "h-full w-px",
3909
3917
  e