@grupo-elo-editorial/shared-ui-react 1.2.3 → 1.2.5

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,16 +1,16 @@
1
1
  "use client";
2
2
  import { clsx as Z } from "clsx";
3
3
  import { twMerge as J } from "tailwind-merge";
4
- import { jsx as e, jsxs as i, Fragment as A } from "react/jsx-runtime";
4
+ import { jsx as e, jsxs as i, Fragment as _ } from "react/jsx-runtime";
5
5
  import { forwardRef as N, useState as k, useEffect as M } from "react";
6
- import { Loader2 as V, User as ee, Star as te, CheckIcon as U, ChevronDownIcon as E, ChevronUpIcon as ae, CircleIcon as re, ShoppingCart as L, Heart as oe, Search as Q, X as ie, Minus as ne, Plus as se, ChevronRight as W, FileX as le, Package as de, AlertCircle as ce, RefreshCw as ue, Home as me, XIcon as K, Accessibility as fe, ZoomOut as ge, ZoomIn as ve, Moon as pe, Sun as be, ChevronLeft as he, Menu as xe, ChevronDown as O, Instagram as Ne, Facebook as we, Youtube as ye, Linkedin as ke, Mail as ze } from "lucide-react";
7
- import { cva as P } from "class-variance-authority";
6
+ import { Loader2 as V, User as ee, Star as te, CheckIcon as U, ChevronDownIcon as A, ChevronUpIcon as ae, CircleIcon as re, ShoppingCart as R, Heart as oe, Search as Q, X as ie, Minus as ne, Plus as se, ChevronRight as W, FileX as le, Package as de, AlertCircle as ce, RefreshCw as ue, Home as me, XIcon as K, Accessibility as fe, ZoomOut as ge, ZoomIn as ve, Moon as pe, Sun as be, ChevronLeft as he, Menu as xe, ChevronDown as O, Instagram as Ne, Facebook as we, Youtube as ye, Linkedin as ke, Mail as ze } from "lucide-react";
7
+ import { cva as L } from "class-variance-authority";
8
8
  import * as z from "@radix-ui/react-select";
9
9
  import * as F from "@radix-ui/react-checkbox";
10
- import * as T from "@radix-ui/react-radio-group";
10
+ import * as E from "@radix-ui/react-radio-group";
11
11
  import * as q from "@radix-ui/react-switch";
12
12
  import { Slot as Ce } from "@radix-ui/react-slot";
13
- import * as _ from "@radix-ui/react-accordion";
13
+ import * as D from "@radix-ui/react-accordion";
14
14
  import * as I from "@radix-ui/react-tooltip";
15
15
  import { toast as na } from "sonner";
16
16
  import { Progress as la } from "@radix-ui/react-progress";
@@ -19,7 +19,7 @@ import * as S from "@radix-ui/react-navigation-menu";
19
19
  function o(...a) {
20
20
  return J(Z(a));
21
21
  }
22
- const Se = P(
22
+ const Se = L(
23
23
  "inline-flex items-center justify-center gap-2 rounded-lg font-medium transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 whitespace-nowrap",
24
24
  {
25
25
  variants: {
@@ -64,10 +64,10 @@ const Se = P(
64
64
  ref: v,
65
65
  disabled: f || s,
66
66
  ...u,
67
- children: s ? /* @__PURE__ */ i(A, { children: [
67
+ children: s ? /* @__PURE__ */ i(_, { children: [
68
68
  /* @__PURE__ */ e(V, { className: "h-4 w-4 animate-spin" }),
69
69
  m && /* @__PURE__ */ e("span", { children: m })
70
- ] }) : /* @__PURE__ */ i(A, { children: [
70
+ ] }) : /* @__PURE__ */ i(_, { children: [
71
71
  c && /* @__PURE__ */ e("span", { className: "inline-flex", children: c }),
72
72
  m,
73
73
  l && /* @__PURE__ */ e("span", { className: "inline-flex", children: l })
@@ -107,7 +107,7 @@ const Ie = N(
107
107
  ] })
108
108
  );
109
109
  Ie.displayName = "Textarea";
110
- const je = P(
110
+ const je = L(
111
111
  "inline-flex items-center rounded-full font-medium transition-colors whitespace-nowrap",
112
112
  {
113
113
  variants: {
@@ -131,7 +131,7 @@ const je = P(
131
131
  size: "md"
132
132
  }
133
133
  }
134
- ), D = N(
134
+ ), P = N(
135
135
  ({ className: a, variant: t, size: r, icon: n, onRemove: s, children: c, ...l }, m) => /* @__PURE__ */ i(
136
136
  "div",
137
137
  {
@@ -154,8 +154,8 @@ const je = P(
154
154
  }
155
155
  )
156
156
  );
157
- D.displayName = "Badge";
158
- const Me = P(
157
+ P.displayName = "Badge";
158
+ const Me = L(
159
159
  "relative inline-flex items-center justify-center overflow-hidden rounded-full bg-[var(--muted)] text-[var(--muted-foreground)] flex-shrink-0",
160
160
  {
161
161
  variants: {
@@ -170,7 +170,7 @@ const Me = P(
170
170
  size: "md"
171
171
  }
172
172
  }
173
- ), _e = N(
173
+ ), De = N(
174
174
  ({ className: a, size: t, src: r, alt: n, name: s, showStatus: c, statusType: l = "online", ...m }, f) => {
175
175
  const [u, v] = k(!1), g = (x) => x.split(" ").map((d) => d[0]).join("").toUpperCase().slice(0, 2), b = {
176
176
  online: "bg-[var(--success)]",
@@ -208,8 +208,8 @@ const Me = P(
208
208
  ] });
209
209
  }
210
210
  );
211
- _e.displayName = "Avatar";
212
- const Pe = P("animate-spin text-[var(--brand-primary)]", {
211
+ De.displayName = "Avatar";
212
+ const Le = L("animate-spin text-[var(--brand-primary)]", {
213
213
  variants: {
214
214
  size: {
215
215
  sm: "h-4 w-4",
@@ -221,7 +221,7 @@ const Pe = P("animate-spin text-[var(--brand-primary)]", {
221
221
  defaultVariants: {
222
222
  size: "md"
223
223
  }
224
- }), Ae = N(
224
+ }), _e = N(
225
225
  ({ className: a, size: t, label: r, ...n }, s) => /* @__PURE__ */ i(
226
226
  "div",
227
227
  {
@@ -231,14 +231,14 @@ const Pe = P("animate-spin text-[var(--brand-primary)]", {
231
231
  className: o("inline-flex items-center justify-center", a),
232
232
  ...n,
233
233
  children: [
234
- /* @__PURE__ */ e(V, { className: o(Pe({ size: t })) }),
234
+ /* @__PURE__ */ e(V, { className: o(Le({ size: t })) }),
235
235
  /* @__PURE__ */ e("span", { className: "sr-only", children: r || "Loading" })
236
236
  ]
237
237
  }
238
238
  )
239
239
  );
240
- Ae.displayName = "Spinner";
241
- const De = N(
240
+ _e.displayName = "Spinner";
241
+ const Pe = N(
242
242
  ({ className: a, orientation: t = "horizontal", variant: r = "solid", text: n, ...s }, c) => {
243
243
  const l = {
244
244
  solid: "border-solid",
@@ -284,8 +284,8 @@ const De = N(
284
284
  );
285
285
  }
286
286
  );
287
- De.displayName = "Divider";
288
- const $ = N(
287
+ Pe.displayName = "Divider";
288
+ const T = N(
289
289
  ({
290
290
  className: a,
291
291
  value: t = 0,
@@ -347,7 +347,7 @@ const $ = N(
347
347
  );
348
348
  }
349
349
  );
350
- $.displayName = "Rating";
350
+ T.displayName = "Rating";
351
351
  function kt({ className: a, type: t, ...r }) {
352
352
  return /* @__PURE__ */ e(
353
353
  "input",
@@ -392,7 +392,7 @@ function St({
392
392
  ...n,
393
393
  children: [
394
394
  r,
395
- /* @__PURE__ */ e(z.Icon, { asChild: !0, children: /* @__PURE__ */ e(E, { className: "size-4 opacity-50" }) })
395
+ /* @__PURE__ */ e(z.Icon, { asChild: !0, children: /* @__PURE__ */ e(A, { className: "size-4 opacity-50" }) })
396
396
  ]
397
397
  }
398
398
  );
@@ -415,7 +415,7 @@ function It({
415
415
  position: r,
416
416
  ...n,
417
417
  children: [
418
- /* @__PURE__ */ e(Ee, {}),
418
+ /* @__PURE__ */ e(Ae, {}),
419
419
  /* @__PURE__ */ e(
420
420
  z.Viewport,
421
421
  {
@@ -426,7 +426,7 @@ function It({
426
426
  children: t
427
427
  }
428
428
  ),
429
- /* @__PURE__ */ e(Le, {})
429
+ /* @__PURE__ */ e(Re, {})
430
430
  ]
431
431
  }
432
432
  ) });
@@ -452,7 +452,7 @@ function jt({
452
452
  }
453
453
  );
454
454
  }
455
- function Ee({
455
+ function Ae({
456
456
  className: a,
457
457
  ...t
458
458
  }) {
@@ -469,7 +469,7 @@ function Ee({
469
469
  }
470
470
  );
471
471
  }
472
- function Le({
472
+ function Re({
473
473
  className: a,
474
474
  ...t
475
475
  }) {
@@ -482,7 +482,7 @@ function Le({
482
482
  a
483
483
  ),
484
484
  ...t,
485
- children: /* @__PURE__ */ e(E, { className: "size-4" })
485
+ children: /* @__PURE__ */ e(A, { className: "size-4" })
486
486
  }
487
487
  );
488
488
  }
@@ -510,12 +510,12 @@ function Mt({
510
510
  }
511
511
  );
512
512
  }
513
- function _t({
513
+ function Dt({
514
514
  className: a,
515
515
  ...t
516
516
  }) {
517
517
  return /* @__PURE__ */ e(
518
- T.Root,
518
+ E.Root,
519
519
  {
520
520
  "data-slot": "radio-group",
521
521
  className: o("grid gap-3", a),
@@ -523,12 +523,12 @@ function _t({
523
523
  }
524
524
  );
525
525
  }
526
- function Pt({
526
+ function Lt({
527
527
  className: a,
528
528
  ...t
529
529
  }) {
530
530
  return /* @__PURE__ */ e(
531
- T.Item,
531
+ E.Item,
532
532
  {
533
533
  "data-slot": "radio-group-item",
534
534
  className: o(
@@ -537,7 +537,7 @@ function Pt({
537
537
  ),
538
538
  ...t,
539
539
  children: /* @__PURE__ */ e(
540
- T.Indicator,
540
+ E.Indicator,
541
541
  {
542
542
  "data-slot": "radio-group-indicator",
543
543
  className: "relative flex items-center justify-center",
@@ -547,7 +547,7 @@ function Pt({
547
547
  }
548
548
  );
549
549
  }
550
- function At({
550
+ function _t({
551
551
  className: a,
552
552
  ...t
553
553
  }) {
@@ -579,7 +579,7 @@ function H({
579
579
  }) {
580
580
  return a ? /* @__PURE__ */ e("a", { href: a, className: t, tabIndex: -1, "aria-hidden": "true", children: r }) : /* @__PURE__ */ e("div", { className: t, children: r });
581
581
  }
582
- const R = N(
582
+ const $ = N(
583
583
  ({
584
584
  className: a,
585
585
  image: t,
@@ -615,7 +615,7 @@ const R = N(
615
615
  {
616
616
  className: o(
617
617
  "rounded-lg bg-[var(--muted)]",
618
- p === "horizontal" ? "h-24 w-20 shrink-0" : "aspect-square w-full"
618
+ p === "horizontal" ? "h-24 w-20 shrink-0" : "h-50 sm:h-60 lg:h-65 w-full"
619
619
  )
620
620
  }
621
621
  ),
@@ -647,7 +647,7 @@ const R = N(
647
647
  {
648
648
  src: t,
649
649
  alt: r,
650
- className: "h-full w-full object-cover transition-transform duration-300 group-hover:scale-105"
650
+ className: "h-full w-full object-contain transition-transform duration-300 group-hover:scale-105"
651
651
  }
652
652
  )
653
653
  }
@@ -663,7 +663,7 @@ const R = N(
663
663
  ) : /* @__PURE__ */ e("h3", { className: "line-clamp-2 text-sm font-medium text-[var(--card-foreground)]", children: r }),
664
664
  n && /* @__PURE__ */ e("p", { className: "text-xs text-[var(--muted-foreground)]", children: n }),
665
665
  l !== void 0 && /* @__PURE__ */ i("div", { className: "flex items-center gap-1", children: [
666
- /* @__PURE__ */ e($, { value: l, size: "sm", readonly: !0 }),
666
+ /* @__PURE__ */ e(T, { value: l, size: "sm", readonly: !0 }),
667
667
  m !== void 0 && /* @__PURE__ */ i("span", { className: "text-xs text-[var(--muted-foreground)]", children: [
668
668
  "(",
669
669
  m,
@@ -673,11 +673,11 @@ const R = N(
673
673
  /* @__PURE__ */ i("div", { className: "flex items-baseline gap-2", children: [
674
674
  /* @__PURE__ */ i("span", { className: "text-base font-bold text-[var(--foreground)]", children: [
675
675
  "R$ ",
676
- s.toFixed(2)
676
+ s.toLocaleString("pt-BR", { minimumFractionDigits: 2, maximumFractionDigits: 2 })
677
677
  ] }),
678
678
  c && c > s && /* @__PURE__ */ i("span", { className: "text-xs text-[var(--muted-foreground)] line-through", children: [
679
679
  "R$ ",
680
- c.toFixed(2)
680
+ c.toLocaleString("pt-BR", { minimumFractionDigits: 2, maximumFractionDigits: 2 })
681
681
  ] })
682
682
  ] }),
683
683
  b && /* @__PURE__ */ e(
@@ -688,7 +688,7 @@ const R = N(
688
688
  variant: "primary",
689
689
  size: "sm",
690
690
  fullWidth: !0,
691
- leftIcon: /* @__PURE__ */ e(L, { className: "h-3.5 w-3.5" }),
691
+ leftIcon: /* @__PURE__ */ e(R, { className: "h-3.5 w-3.5" }),
692
692
  className: "mt-auto",
693
693
  children: g ? "Indisponível" : "Adicionar"
694
694
  }
@@ -711,18 +711,18 @@ const R = N(
711
711
  H,
712
712
  {
713
713
  href: d,
714
- className: "relative block aspect-[3/4] w-full overflow-hidden rounded-t-lg",
714
+ className: "relative block h-50 sm:h-60 lg:h-65 w-full overflow-hidden rounded-t-lg",
715
715
  children: [
716
716
  /* @__PURE__ */ e(
717
717
  "img",
718
718
  {
719
719
  src: t,
720
720
  alt: r,
721
- className: "h-full w-full object-cover transition-transform group-hover:scale-105"
721
+ className: "h-full w-full object-contain transition-transform group-hover:scale-105"
722
722
  }
723
723
  ),
724
- f && /* @__PURE__ */ e("div", { className: "absolute left-3 top-3", children: /* @__PURE__ */ e(D, { variant: u, children: f }) }),
725
- g && /* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center bg-black/60", children: /* @__PURE__ */ e(D, { variant: "danger", size: "lg", children: "Esgotado" }) })
724
+ f && /* @__PURE__ */ e("div", { className: "absolute left-3 top-3", children: /* @__PURE__ */ e(P, { variant: u, children: f }) }),
725
+ g && /* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center bg-black/60", children: /* @__PURE__ */ e(P, { variant: "danger", size: "lg", children: "Esgotado" }) })
726
726
  ]
727
727
  }
728
728
  ),
@@ -754,7 +754,7 @@ const R = N(
754
754
  ) : /* @__PURE__ */ e("h3", { className: "line-clamp-2 text-base font-medium text-[var(--card-foreground)]", children: r }),
755
755
  n && /* @__PURE__ */ e("p", { className: "mt-1 text-sm text-[var(--muted-foreground)]", children: n }),
756
756
  l !== void 0 && /* @__PURE__ */ i("div", { className: "mt-2 flex items-center gap-2", children: [
757
- /* @__PURE__ */ e($, { value: l, size: "sm", readonly: !0 }),
757
+ /* @__PURE__ */ e(T, { value: l, size: "sm", readonly: !0 }),
758
758
  m !== void 0 && /* @__PURE__ */ i("span", { className: "text-sm text-[var(--muted-foreground)]", children: [
759
759
  "(",
760
760
  m,
@@ -764,11 +764,11 @@ const R = N(
764
764
  /* @__PURE__ */ i("div", { className: "mt-3 flex items-baseline gap-2", children: [
765
765
  /* @__PURE__ */ i("span", { className: "text-xl font-bold text-[var(--foreground)]", children: [
766
766
  "R$ ",
767
- s.toFixed(2)
767
+ s.toLocaleString("pt-BR", { minimumFractionDigits: 2, maximumFractionDigits: 2 })
768
768
  ] }),
769
769
  c && c > s && /* @__PURE__ */ i("span", { className: "text-sm text-[var(--muted-foreground)] line-through", children: [
770
770
  "R$ ",
771
- c.toFixed(2)
771
+ c.toLocaleString("pt-BR", { minimumFractionDigits: 2, maximumFractionDigits: 2 })
772
772
  ] })
773
773
  ] }),
774
774
  b && /* @__PURE__ */ e(
@@ -779,7 +779,7 @@ const R = N(
779
779
  variant: "primary",
780
780
  size: "md",
781
781
  fullWidth: !0,
782
- leftIcon: /* @__PURE__ */ e(L, { className: "h-4 w-4" }),
782
+ leftIcon: /* @__PURE__ */ e(R, { className: "h-4 w-4" }),
783
783
  className: o(
784
784
  "mt-4 transition-all duration-200",
785
785
  "opacity-0 translate-y-2",
@@ -794,8 +794,8 @@ const R = N(
794
794
  }
795
795
  )
796
796
  );
797
- R.displayName = "ProductCard";
798
- const Te = N(
797
+ $.displayName = "ProductCard";
798
+ const Ee = N(
799
799
  ({
800
800
  className: a,
801
801
  onSearch: t,
@@ -856,8 +856,8 @@ const Te = N(
856
856
  ] }) });
857
857
  }
858
858
  );
859
- Te.displayName = "SearchBar";
860
- const $e = N(
859
+ Ee.displayName = "SearchBar";
860
+ const Te = N(
861
861
  ({
862
862
  className: a,
863
863
  price: t,
@@ -902,7 +902,7 @@ const $e = N(
902
902
  }
903
903
  )
904
904
  ] }),
905
- c && u > 0 && /* @__PURE__ */ i(D, { variant: "success", size: "sm", children: [
905
+ c && u > 0 && /* @__PURE__ */ i(P, { variant: "success", size: "sm", children: [
906
906
  "-",
907
907
  u,
908
908
  "%"
@@ -920,8 +920,8 @@ const $e = N(
920
920
  ] });
921
921
  }
922
922
  );
923
- $e.displayName = "PriceDisplay";
924
- const Re = N(
923
+ Te.displayName = "PriceDisplay";
924
+ const $e = N(
925
925
  ({
926
926
  className: a,
927
927
  value: t,
@@ -1001,7 +1001,7 @@ const Re = N(
1001
1001
  ] });
1002
1002
  }
1003
1003
  );
1004
- Re.displayName = "QuantitySelector";
1004
+ $e.displayName = "QuantitySelector";
1005
1005
  const Be = N(
1006
1006
  ({ className: a, label: t, htmlFor: r, required: n, error: s, helperText: c, children: l, ...m }, f) => /* @__PURE__ */ i("div", { ref: f, className: o("flex flex-col gap-1.5", a), ...m, children: [
1007
1007
  t && /* @__PURE__ */ i(
@@ -1029,10 +1029,10 @@ const Be = N(
1029
1029
  ] })
1030
1030
  );
1031
1031
  Be.displayName = "FormGroup";
1032
- function Dt({ ...a }) {
1032
+ function Pt({ ...a }) {
1033
1033
  return /* @__PURE__ */ e("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...a });
1034
1034
  }
1035
- function Et({ className: a, ...t }) {
1035
+ function At({ className: a, ...t }) {
1036
1036
  return /* @__PURE__ */ e(
1037
1037
  "ol",
1038
1038
  {
@@ -1045,7 +1045,7 @@ function Et({ className: a, ...t }) {
1045
1045
  }
1046
1046
  );
1047
1047
  }
1048
- function Lt({ className: a, ...t }) {
1048
+ function Rt({ className: a, ...t }) {
1049
1049
  return /* @__PURE__ */ e(
1050
1050
  "li",
1051
1051
  {
@@ -1055,7 +1055,7 @@ function Lt({ className: a, ...t }) {
1055
1055
  }
1056
1056
  );
1057
1057
  }
1058
- function Tt({
1058
+ function Et({
1059
1059
  asChild: a,
1060
1060
  className: t,
1061
1061
  ...r
@@ -1069,7 +1069,7 @@ function Tt({
1069
1069
  }
1070
1070
  );
1071
1071
  }
1072
- function $t({ className: a, ...t }) {
1072
+ function Tt({ className: a, ...t }) {
1073
1073
  return /* @__PURE__ */ e(
1074
1074
  "span",
1075
1075
  {
@@ -1082,7 +1082,7 @@ function $t({ className: a, ...t }) {
1082
1082
  }
1083
1083
  );
1084
1084
  }
1085
- function Rt({
1085
+ function $t({
1086
1086
  children: a,
1087
1087
  className: t,
1088
1088
  ...r
@@ -1102,14 +1102,14 @@ function Rt({
1102
1102
  function Bt({
1103
1103
  ...a
1104
1104
  }) {
1105
- return /* @__PURE__ */ e(_.Root, { "data-slot": "accordion", ...a });
1105
+ return /* @__PURE__ */ e(D.Root, { "data-slot": "accordion", ...a });
1106
1106
  }
1107
1107
  function Vt({
1108
1108
  className: a,
1109
1109
  ...t
1110
1110
  }) {
1111
1111
  return /* @__PURE__ */ e(
1112
- _.Item,
1112
+ D.Item,
1113
1113
  {
1114
1114
  "data-slot": "accordion-item",
1115
1115
  className: o("border-b last:border-b-0", a),
@@ -1122,8 +1122,8 @@ function Ft({
1122
1122
  children: t,
1123
1123
  ...r
1124
1124
  }) {
1125
- return /* @__PURE__ */ e(_.Header, { className: "flex", children: /* @__PURE__ */ i(
1126
- _.Trigger,
1125
+ return /* @__PURE__ */ e(D.Header, { className: "flex", children: /* @__PURE__ */ i(
1126
+ D.Trigger,
1127
1127
  {
1128
1128
  "data-slot": "accordion-trigger",
1129
1129
  className: o(
@@ -1133,7 +1133,7 @@ function Ft({
1133
1133
  ...r,
1134
1134
  children: [
1135
1135
  t,
1136
- /* @__PURE__ */ e(E, { className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" })
1136
+ /* @__PURE__ */ e(A, { className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" })
1137
1137
  ]
1138
1138
  }
1139
1139
  ) });
@@ -1144,7 +1144,7 @@ function qt({
1144
1144
  ...r
1145
1145
  }) {
1146
1146
  return /* @__PURE__ */ e(
1147
- _.Content,
1147
+ D.Content,
1148
1148
  {
1149
1149
  "data-slot": "accordion-content",
1150
1150
  className: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",
@@ -1227,7 +1227,7 @@ const Fe = N(
1227
1227
  ),
1228
1228
  ...v,
1229
1229
  children: [
1230
- m && /* @__PURE__ */ i(A, { children: [
1230
+ m && /* @__PURE__ */ i(_, { children: [
1231
1231
  /* @__PURE__ */ e(
1232
1232
  "div",
1233
1233
  {
@@ -1320,7 +1320,7 @@ const X = N(
1320
1320
  const u = r || {
1321
1321
  default: /* @__PURE__ */ e(de, { className: "h-16 w-16" }),
1322
1322
  search: /* @__PURE__ */ e(Q, { className: "h-16 w-16" }),
1323
- cart: /* @__PURE__ */ e(L, { className: "h-16 w-16" }),
1323
+ cart: /* @__PURE__ */ e(R, { className: "h-16 w-16" }),
1324
1324
  error: /* @__PURE__ */ e(le, { className: "h-16 w-16" })
1325
1325
  }[t];
1326
1326
  return /* @__PURE__ */ i(
@@ -1448,7 +1448,7 @@ const He = N(
1448
1448
  2: "grid-cols-1 sm:grid-cols-2",
1449
1449
  3: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-3",
1450
1450
  4: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4",
1451
- 5: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5"
1451
+ 5: "grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5"
1452
1452
  }, g = {
1453
1453
  sm: "gap-4",
1454
1454
  md: "gap-6",
@@ -1466,7 +1466,7 @@ const He = N(
1466
1466
  ),
1467
1467
  ...f,
1468
1468
  children: Array.from({ length: c }).map((b, h) => /* @__PURE__ */ e(
1469
- R,
1469
+ $,
1470
1470
  {
1471
1471
  image: "",
1472
1472
  title: "",
@@ -1498,7 +1498,7 @@ const He = N(
1498
1498
  a
1499
1499
  ),
1500
1500
  ...f,
1501
- children: t.map((b, h) => /* @__PURE__ */ e(R, { ...b }, h))
1501
+ children: t.map((b, h) => /* @__PURE__ */ e($, { ...b }, h))
1502
1502
  }
1503
1503
  );
1504
1504
  }
@@ -1936,7 +1936,7 @@ const tt = N(
1936
1936
  },
1937
1937
  d.id
1938
1938
  )) }),
1939
- t.length > 1 && /* @__PURE__ */ i(A, { children: [
1939
+ t.length > 1 && /* @__PURE__ */ i(_, { children: [
1940
1940
  /* @__PURE__ */ e(
1941
1941
  "button",
1942
1942
  {
@@ -2027,7 +2027,7 @@ function G({
2027
2027
  }
2028
2028
  );
2029
2029
  }
2030
- const ot = P(
2030
+ const ot = L(
2031
2031
  "group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1"
2032
2032
  );
2033
2033
  function it({
@@ -2045,7 +2045,7 @@ function it({
2045
2045
  t,
2046
2046
  " ",
2047
2047
  /* @__PURE__ */ e(
2048
- E,
2048
+ A,
2049
2049
  {
2050
2050
  className: "relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180",
2051
2051
  "aria-hidden": "true"
@@ -2493,14 +2493,14 @@ export {
2493
2493
  qt as AccordionContent,
2494
2494
  Vt as AccordionItem,
2495
2495
  Ft as AccordionTrigger,
2496
- _e as Avatar,
2497
- D as Badge,
2498
- Dt as Breadcrumb,
2499
- Lt as BreadcrumbItem,
2500
- Tt as BreadcrumbLink,
2501
- Et as BreadcrumbList,
2502
- $t as BreadcrumbPage,
2503
- Rt as BreadcrumbSeparator,
2496
+ De as Avatar,
2497
+ P as Badge,
2498
+ Pt as Breadcrumb,
2499
+ Rt as BreadcrumbItem,
2500
+ Et as BreadcrumbLink,
2501
+ At as BreadcrumbList,
2502
+ Tt as BreadcrumbPage,
2503
+ $t as BreadcrumbSeparator,
2504
2504
  C as Button,
2505
2505
  Mt as Checkbox,
2506
2506
  ra as Col,
@@ -2511,7 +2511,7 @@ export {
2511
2511
  Ot as DialogHeader,
2512
2512
  Yt as DialogTitle,
2513
2513
  Wt as DialogTrigger,
2514
- De as Divider,
2514
+ Pe as Divider,
2515
2515
  Qe as Drawer,
2516
2516
  X as EmptyState,
2517
2517
  qe as ErrorState,
@@ -2523,15 +2523,15 @@ export {
2523
2523
  kt as Input,
2524
2524
  dt as MegaMenu,
2525
2525
  Qt as Modal,
2526
- $e as PriceDisplay,
2527
- R as ProductCard,
2526
+ Te as PriceDisplay,
2527
+ $ as ProductCard,
2528
2528
  He as ProductGrid,
2529
2529
  la as ProgressBar,
2530
- Re as QuantitySelector,
2531
- _t as RadioGroup,
2532
- Pt as RadioGroupItem,
2533
- $ as Rating,
2534
- Te as SearchBar,
2530
+ $e as QuantitySelector,
2531
+ Dt as RadioGroup,
2532
+ Lt as RadioGroupItem,
2533
+ T as Rating,
2534
+ Ee as SearchBar,
2535
2535
  zt as Select,
2536
2536
  It as SelectContent,
2537
2537
  jt as SelectItem,
@@ -2543,9 +2543,9 @@ export {
2543
2543
  Ze as SheetHeader,
2544
2544
  Je as SheetTitle,
2545
2545
  We as SheetTrigger,
2546
- Ae as Spinner,
2546
+ _e as Spinner,
2547
2547
  Ie as Textarea,
2548
- At as Toggle,
2548
+ _t as Toggle,
2549
2549
  Ht as Tooltip,
2550
2550
  Ut as TooltipContent,
2551
2551
  Ve as TooltipProvider,
@@ -2555,7 +2555,7 @@ export {
2555
2555
  je as badgeVariants,
2556
2556
  Se as buttonVariants,
2557
2557
  o as cn,
2558
- Pe as spinnerVariants,
2558
+ Le as spinnerVariants,
2559
2559
  na as toast
2560
2560
  };
2561
2561
  //# sourceMappingURL=index.js.map