@grupo-elo-editorial/shared-ui-react 1.2.2 → 1.2.4

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: {
@@ -52,7 +52,7 @@ const Se = P(
52
52
  size: r,
53
53
  fullWidth: n,
54
54
  isLoading: s,
55
- leftIcon: d,
55
+ leftIcon: c,
56
56
  rightIcon: l,
57
57
  children: m,
58
58
  disabled: f,
@@ -64,11 +64,11 @@ 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: [
71
- d && /* @__PURE__ */ e("span", { className: "inline-flex", children: d }),
70
+ ] }) : /* @__PURE__ */ i(_, { children: [
71
+ c && /* @__PURE__ */ e("span", { className: "inline-flex", children: c }),
72
72
  m,
73
73
  l && /* @__PURE__ */ e("span", { className: "inline-flex", children: l })
74
74
  ] })
@@ -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,8 +131,8 @@ const je = P(
131
131
  size: "md"
132
132
  }
133
133
  }
134
- ), D = N(
135
- ({ className: a, variant: t, size: r, icon: n, onRemove: s, children: d, ...l }, m) => /* @__PURE__ */ i(
134
+ ), P = N(
135
+ ({ className: a, variant: t, size: r, icon: n, onRemove: s, children: c, ...l }, m) => /* @__PURE__ */ i(
136
136
  "div",
137
137
  {
138
138
  ref: m,
@@ -140,7 +140,7 @@ const je = P(
140
140
  ...l,
141
141
  children: [
142
142
  n && /* @__PURE__ */ e("span", { className: "mr-1 inline-flex", children: n }),
143
- d,
143
+ c,
144
144
  s && /* @__PURE__ */ e(
145
145
  "button",
146
146
  {
@@ -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,9 +170,9 @@ const Me = P(
170
170
  size: "md"
171
171
  }
172
172
  }
173
- ), _e = N(
174
- ({ className: a, size: t, src: r, alt: n, name: s, showStatus: d, statusType: l = "online", ...m }, f) => {
175
- const [u, v] = k(!1), g = (x) => x.split(" ").map((c) => c[0]).join("").toUpperCase().slice(0, 2), b = {
173
+ ), De = N(
174
+ ({ className: a, size: t, src: r, alt: n, name: s, showStatus: c, statusType: l = "online", ...m }, f) => {
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)]",
177
177
  offline: "bg-[var(--muted-foreground)]",
178
178
  away: "bg-[var(--warning)]",
@@ -194,7 +194,7 @@ const Me = P(
194
194
  ...m
195
195
  }
196
196
  ) : s ? /* @__PURE__ */ e("span", { className: "font-medium", children: g(s) }) : /* @__PURE__ */ e(ee, { className: "h-1/2 w-1/2" }),
197
- d && /* @__PURE__ */ e(
197
+ c && /* @__PURE__ */ e(
198
198
  "span",
199
199
  {
200
200
  className: o(
@@ -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,15 +231,15 @@ 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(
242
- ({ className: a, orientation: t = "horizontal", variant: r = "solid", text: n, ...s }, d) => {
240
+ _e.displayName = "Spinner";
241
+ const Pe = N(
242
+ ({ className: a, orientation: t = "horizontal", variant: r = "solid", text: n, ...s }, c) => {
243
243
  const l = {
244
244
  solid: "border-solid",
245
245
  dashed: "border-dashed",
@@ -249,7 +249,7 @@ const De = N(
249
249
  /* @__PURE__ */ e(
250
250
  "hr",
251
251
  {
252
- ref: d,
252
+ ref: c,
253
253
  className: o(
254
254
  "flex-1 border-[var(--border)]",
255
255
  l[r]
@@ -270,7 +270,7 @@ const De = N(
270
270
  ] }) : /* @__PURE__ */ e(
271
271
  "hr",
272
272
  {
273
- ref: d,
273
+ ref: c,
274
274
  role: "separator",
275
275
  "aria-orientation": t,
276
276
  className: o(
@@ -284,15 +284,15 @@ 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,
292
292
  maxRating: r = 5,
293
293
  size: n = "md",
294
294
  readonly: s = !1,
295
- onChange: d,
295
+ onChange: c,
296
296
  showValue: l = !1,
297
297
  ...m
298
298
  }, f) => {
@@ -301,7 +301,7 @@ const $ = N(
301
301
  md: "h-5 w-5",
302
302
  lg: "h-6 w-6"
303
303
  }, b = (x) => {
304
- !s && d && d(x);
304
+ !s && c && c(x);
305
305
  }, h = u || t;
306
306
  return /* @__PURE__ */ i(
307
307
  "div",
@@ -312,8 +312,8 @@ const $ = N(
312
312
  "aria-label": `Rating: ${t} out of ${r}`,
313
313
  ...m,
314
314
  children: [
315
- /* @__PURE__ */ e("div", { className: "flex items-center gap-0.5", children: Array.from({ length: r }, (x, c) => c + 1).map((x) => {
316
- const c = x <= h;
315
+ /* @__PURE__ */ e("div", { className: "flex items-center gap-0.5", children: Array.from({ length: r }, (x, d) => d + 1).map((x) => {
316
+ const d = x <= h;
317
317
  return /* @__PURE__ */ e(
318
318
  "button",
319
319
  {
@@ -333,7 +333,7 @@ const $ = N(
333
333
  className: o(
334
334
  g[n],
335
335
  "transition-all",
336
- c ? "fill-[var(--warning)] text-[var(--warning)]" : "fill-none text-[var(--muted-foreground)]"
336
+ d ? "fill-[var(--warning)] text-[var(--warning)]" : "fill-none text-[var(--muted-foreground)]"
337
337
  )
338
338
  }
339
339
  )
@@ -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,14 +579,14 @@ 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,
586
586
  title: r,
587
587
  author: n,
588
588
  price: s,
589
- originalPrice: d,
589
+ originalPrice: c,
590
590
  rating: l,
591
591
  reviewCount: m,
592
592
  badge: f,
@@ -596,7 +596,7 @@ const R = N(
596
596
  onAddToCart: b,
597
597
  onToggleFavorite: h,
598
598
  isFavorite: x = !1,
599
- href: c,
599
+ href: d,
600
600
  orientation: p = "vertical",
601
601
  ...y
602
602
  }, j) => v ? /* @__PURE__ */ i(
@@ -640,30 +640,30 @@ const R = N(
640
640
  /* @__PURE__ */ e(
641
641
  H,
642
642
  {
643
- href: c,
643
+ href: d,
644
644
  className: "block h-24 w-20 shrink-0 overflow-hidden rounded-lg",
645
645
  children: /* @__PURE__ */ e(
646
646
  "img",
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
  }
654
654
  ),
655
655
  /* @__PURE__ */ i("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
656
- c ? /* @__PURE__ */ e(
656
+ d ? /* @__PURE__ */ e(
657
657
  "a",
658
658
  {
659
- href: c,
659
+ href: d,
660
660
  className: "line-clamp-2 text-sm font-medium text-[var(--card-foreground)] hover:text-[var(--brand-primary)] transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] rounded",
661
661
  children: r
662
662
  }
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
- d && d > s && /* @__PURE__ */ i("span", { className: "text-xs text-[var(--muted-foreground)] line-through", children: [
678
+ c && c > s && /* @__PURE__ */ i("span", { className: "text-xs text-[var(--muted-foreground)] line-through", children: [
679
679
  "R$ ",
680
- d.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
  }
@@ -710,7 +710,7 @@ const R = N(
710
710
  /* @__PURE__ */ i(
711
711
  H,
712
712
  {
713
- href: c,
713
+ href: d,
714
714
  className: "relative block aspect-[3/4] w-full overflow-hidden rounded-t-lg",
715
715
  children: [
716
716
  /* @__PURE__ */ e(
@@ -718,11 +718,11 @@ const R = N(
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
  ),
@@ -744,17 +744,17 @@ const R = N(
744
744
  }
745
745
  ),
746
746
  /* @__PURE__ */ i("div", { className: "flex flex-1 flex-col p-4", children: [
747
- c ? /* @__PURE__ */ e(
747
+ d ? /* @__PURE__ */ e(
748
748
  "a",
749
749
  {
750
- href: c,
750
+ href: d,
751
751
  className: "line-clamp-2 text-base font-medium text-[var(--card-foreground)] hover:text-[var(--brand-primary)] transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] rounded",
752
752
  children: r
753
753
  }
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
- d && d > s && /* @__PURE__ */ i("span", { className: "text-sm text-[var(--muted-foreground)] line-through", children: [
769
+ c && c > s && /* @__PURE__ */ i("span", { className: "text-sm text-[var(--muted-foreground)] line-through", children: [
770
770
  "R$ ",
771
- d.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,15 +794,15 @@ 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,
802
802
  onClear: r,
803
803
  isLoading: n = !1,
804
804
  size: s = "md",
805
- placeholder: d = "Buscar...",
805
+ placeholder: c = "Buscar...",
806
806
  value: l,
807
807
  onChange: m,
808
808
  ...f
@@ -814,7 +814,7 @@ const Te = N(
814
814
  }, x = (y) => {
815
815
  const j = y.target.value;
816
816
  l === void 0 && g(j), m == null || m(y);
817
- }, c = () => {
817
+ }, d = () => {
818
818
  l === void 0 && g(""), r == null || r();
819
819
  }, p = (y) => {
820
820
  y.key === "Enter" && t && t(b);
@@ -829,7 +829,7 @@ const Te = N(
829
829
  value: b,
830
830
  onChange: x,
831
831
  onKeyDown: p,
832
- placeholder: d,
832
+ placeholder: c,
833
833
  className: o(
834
834
  "w-full rounded-lg border-2 border-[var(--border)] bg-[var(--input-background)] pl-10 pr-10 font-normal transition-colors",
835
835
  "placeholder:text-[var(--muted-foreground)]",
@@ -846,7 +846,7 @@ const Te = N(
846
846
  "button",
847
847
  {
848
848
  type: "button",
849
- onClick: c,
849
+ onClick: d,
850
850
  className: "rounded-full p-1 hover:bg-[var(--muted)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
851
851
  "aria-label": "Clear search",
852
852
  children: /* @__PURE__ */ e(ie, { className: "h-4 w-4 text-[var(--muted-foreground)]" })
@@ -856,15 +856,15 @@ 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,
864
864
  originalPrice: r,
865
865
  currency: n = "R$",
866
866
  size: s = "md",
867
- showDiscount: d = !0,
867
+ showDiscount: c = !0,
868
868
  installments: l,
869
869
  ...m
870
870
  }, f) => {
@@ -902,7 +902,7 @@ const $e = N(
902
902
  }
903
903
  )
904
904
  ] }),
905
- d && 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,15 +920,15 @@ 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,
928
928
  min: r = 1,
929
929
  max: n = 99,
930
930
  onChange: s,
931
- size: d = "md",
931
+ size: c = "md",
932
932
  disabled: l = !1,
933
933
  showLabel: m = !1,
934
934
  ...f
@@ -937,8 +937,8 @@ const Re = N(
937
937
  t < n && s(t + 1);
938
938
  }, g = () => {
939
939
  t > r && s(t - 1);
940
- }, b = (c) => {
941
- const p = parseInt(c.target.value);
940
+ }, b = (d) => {
941
+ const p = parseInt(d.target.value);
942
942
  !isNaN(p) && p >= r && p <= n && s(p);
943
943
  }, h = {
944
944
  sm: "h-8 w-8",
@@ -960,7 +960,7 @@ const Re = N(
960
960
  size: "sm",
961
961
  onClick: g,
962
962
  disabled: l || t <= r,
963
- className: o(h[d], "p-0"),
963
+ className: o(h[c], "p-0"),
964
964
  "aria-label": "Decrease quantity",
965
965
  children: /* @__PURE__ */ e(ne, { className: "h-4 w-4" })
966
966
  }
@@ -979,7 +979,7 @@ const Re = N(
979
979
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] focus-visible:ring-offset-2",
980
980
  "disabled:cursor-not-allowed disabled:opacity-50",
981
981
  "[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none",
982
- x[d]
982
+ x[c]
983
983
  ),
984
984
  "aria-label": "Quantity"
985
985
  }
@@ -992,7 +992,7 @@ const Re = N(
992
992
  size: "sm",
993
993
  onClick: v,
994
994
  disabled: l || t >= n,
995
- className: o(h[d], "p-0"),
995
+ className: o(h[c], "p-0"),
996
996
  "aria-label": "Increase quantity",
997
997
  children: /* @__PURE__ */ e(se, { className: "h-4 w-4" })
998
998
  }
@@ -1001,9 +1001,9 @@ const Re = N(
1001
1001
  ] });
1002
1002
  }
1003
1003
  );
1004
- Re.displayName = "QuantitySelector";
1004
+ $e.displayName = "QuantitySelector";
1005
1005
  const Be = N(
1006
- ({ className: a, label: t, htmlFor: r, required: n, error: s, helperText: d, children: l, ...m }, f) => /* @__PURE__ */ i("div", { ref: f, className: o("flex flex-col gap-1.5", a), ...m, children: [
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(
1008
1008
  "label",
1009
1009
  {
@@ -1016,23 +1016,23 @@ const Be = N(
1016
1016
  }
1017
1017
  ),
1018
1018
  l,
1019
- (s || d) && /* @__PURE__ */ e(
1019
+ (s || c) && /* @__PURE__ */ e(
1020
1020
  "p",
1021
1021
  {
1022
1022
  className: o(
1023
1023
  "text-sm",
1024
1024
  s ? "text-[var(--destructive)]" : "text-[var(--muted-foreground)]"
1025
1025
  ),
1026
- children: s || d
1026
+ children: s || c
1027
1027
  }
1028
1028
  )
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",
@@ -1206,7 +1206,7 @@ const Fe = N(
1206
1206
  title: r,
1207
1207
  subtitle: n,
1208
1208
  description: s,
1209
- primaryCTA: d,
1209
+ primaryCTA: c,
1210
1210
  secondaryCTA: l,
1211
1211
  backgroundImage: m,
1212
1212
  overlay: f = !0,
@@ -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
  {
@@ -1276,14 +1276,14 @@ const Fe = N(
1276
1276
  children: s
1277
1277
  }
1278
1278
  ),
1279
- (d || l) && /* @__PURE__ */ i("div", { className: "mt-8 flex flex-wrap gap-4", children: [
1280
- d && /* @__PURE__ */ e(
1279
+ (c || l) && /* @__PURE__ */ i("div", { className: "mt-8 flex flex-wrap gap-4", children: [
1280
+ c && /* @__PURE__ */ e(
1281
1281
  C,
1282
1282
  {
1283
1283
  size: "lg",
1284
- onClick: d.onClick,
1284
+ onClick: c.onClick,
1285
1285
  variant: "primary",
1286
- children: d.label
1286
+ children: c.label
1287
1287
  }
1288
1288
  ),
1289
1289
  l && /* @__PURE__ */ e(
@@ -1314,13 +1314,13 @@ const X = N(
1314
1314
  icon: r,
1315
1315
  title: n,
1316
1316
  description: s,
1317
- action: d,
1317
+ action: c,
1318
1318
  ...l
1319
1319
  }, m) => {
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(
@@ -1336,14 +1336,14 @@ const X = N(
1336
1336
  /* @__PURE__ */ e("div", { className: "rounded-full bg-[var(--muted)] p-6 text-[var(--muted-foreground)]", children: u }),
1337
1337
  /* @__PURE__ */ e("h3", { className: "mt-6 text-xl font-semibold text-[var(--foreground)]", children: n }),
1338
1338
  s && /* @__PURE__ */ e("p", { className: "mt-2 max-w-md text-[var(--muted-foreground)]", children: s }),
1339
- d && /* @__PURE__ */ e(
1339
+ c && /* @__PURE__ */ e(
1340
1340
  C,
1341
1341
  {
1342
- onClick: d.onClick,
1342
+ onClick: c.onClick,
1343
1343
  variant: "primary",
1344
1344
  size: "lg",
1345
1345
  className: "mt-6",
1346
- children: d.label
1346
+ children: c.label
1347
1347
  }
1348
1348
  )
1349
1349
  ]
@@ -1359,7 +1359,7 @@ const qe = N(
1359
1359
  title: r,
1360
1360
  message: n,
1361
1361
  onRetry: s,
1362
- onGoHome: d,
1362
+ onGoHome: c,
1363
1363
  showRetry: l = !0,
1364
1364
  showHome: m = !0,
1365
1365
  ...f
@@ -1415,10 +1415,10 @@ const qe = N(
1415
1415
  children: "Tentar novamente"
1416
1416
  }
1417
1417
  ),
1418
- m && d && /* @__PURE__ */ e(
1418
+ m && c && /* @__PURE__ */ e(
1419
1419
  C,
1420
1420
  {
1421
- onClick: d,
1421
+ onClick: c,
1422
1422
  variant: "secondary",
1423
1423
  size: "lg",
1424
1424
  leftIcon: /* @__PURE__ */ e(me, { className: "h-5 w-5" }),
@@ -1439,7 +1439,7 @@ const He = N(
1439
1439
  columns: r = 4,
1440
1440
  gap: n = "md",
1441
1441
  isLoading: s = !1,
1442
- skeletonCount: d = 8,
1442
+ skeletonCount: c = 8,
1443
1443
  emptyStateMessage: l = "Nenhum produto encontrado",
1444
1444
  onEmptyAction: m,
1445
1445
  ...f
@@ -1465,8 +1465,8 @@ const He = N(
1465
1465
  a
1466
1466
  ),
1467
1467
  ...f,
1468
- children: Array.from({ length: d }).map((b, h) => /* @__PURE__ */ e(
1469
- R,
1468
+ children: Array.from({ length: c }).map((b, h) => /* @__PURE__ */ e(
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
  }
@@ -1724,7 +1724,7 @@ function ea({
1724
1724
  );
1725
1725
  }
1726
1726
  const et = N(
1727
- ({ className: a, onThemeChange: t, onFontSizeChange: r, showA11yLink: n = !1, ...s }, d) => {
1727
+ ({ className: a, onThemeChange: t, onFontSizeChange: r, showA11yLink: n = !1, ...s }, c) => {
1728
1728
  const [l, m] = k("light"), [f, u] = k(16), [v, g] = k(!1);
1729
1729
  M(() => {
1730
1730
  const p = localStorage.getItem("a11y-theme") ?? document.documentElement.getAttribute("data-theme") ?? "light";
@@ -1740,19 +1740,19 @@ const et = N(
1740
1740
  }
1741
1741
  }, [v]);
1742
1742
  const b = () => {
1743
- const c = l === "light" ? "dark" : "light";
1744
- m(c), document.documentElement.setAttribute("data-theme", c), localStorage.setItem("a11y-theme", c), t == null || t(c);
1743
+ const d = l === "light" ? "dark" : "light";
1744
+ m(d), document.documentElement.setAttribute("data-theme", d), localStorage.setItem("a11y-theme", d), t == null || t(d);
1745
1745
  }, h = () => {
1746
- const c = Math.min(f + 2, 24);
1747
- u(c), document.documentElement.style.setProperty("--font-size", `${c}px`), document.documentElement.style.fontSize = `${c}px`, localStorage.setItem("a11y-font-size", c.toString()), r == null || r(c);
1746
+ const d = Math.min(f + 2, 24);
1747
+ u(d), document.documentElement.style.setProperty("--font-size", `${d}px`), document.documentElement.style.fontSize = `${d}px`, localStorage.setItem("a11y-font-size", d.toString()), r == null || r(d);
1748
1748
  }, x = () => {
1749
- const c = Math.max(f - 2, 12);
1750
- u(c), document.documentElement.style.setProperty("--font-size", `${c}px`), document.documentElement.style.fontSize = `${c}px`, localStorage.setItem("a11y-font-size", c.toString()), r == null || r(c);
1749
+ const d = Math.max(f - 2, 12);
1750
+ u(d), document.documentElement.style.setProperty("--font-size", `${d}px`), document.documentElement.style.fontSize = `${d}px`, localStorage.setItem("a11y-font-size", d.toString()), r == null || r(d);
1751
1751
  };
1752
1752
  return /* @__PURE__ */ e(
1753
1753
  "div",
1754
1754
  {
1755
- ref: d,
1755
+ ref: c,
1756
1756
  className: o(
1757
1757
  "w-full border-b border-[var(--border)] bg-[var(--card)] sticky top-0 z-50",
1758
1758
  a
@@ -1824,7 +1824,7 @@ const et = N(
1824
1824
  "button",
1825
1825
  {
1826
1826
  type: "button",
1827
- onClick: () => g((c) => !c),
1827
+ onClick: () => g((d) => !d),
1828
1828
  "aria-label": "Ativar VLibras",
1829
1829
  "aria-pressed": v,
1830
1830
  className: o(
@@ -1853,24 +1853,24 @@ const tt = N(
1853
1853
  autoplayDelay: r = 5e3,
1854
1854
  autoplay: n = !0,
1855
1855
  ...s
1856
- }, d) => {
1856
+ }, c) => {
1857
1857
  const [l, m] = k(0), [f, u] = k(!1), [v, g] = k(!1);
1858
1858
  M(() => {
1859
- const c = window.matchMedia("(prefers-reduced-motion: reduce)");
1860
- g(c.matches);
1859
+ const d = window.matchMedia("(prefers-reduced-motion: reduce)");
1860
+ g(d.matches);
1861
1861
  const p = (y) => {
1862
1862
  g(y.matches);
1863
1863
  };
1864
- return c.addEventListener("change", p), () => c.removeEventListener("change", p);
1864
+ return d.addEventListener("change", p), () => d.removeEventListener("change", p);
1865
1865
  }, []), M(() => {
1866
1866
  if (!n || f || v) return;
1867
- const c = setInterval(() => {
1867
+ const d = setInterval(() => {
1868
1868
  m((p) => (p + 1) % t.length);
1869
1869
  }, r);
1870
- return () => clearInterval(c);
1870
+ return () => clearInterval(d);
1871
1871
  }, [n, r, t.length, f, v]);
1872
- const b = (c) => {
1873
- m(c), u(!0), setTimeout(() => u(!1), r);
1872
+ const b = (d) => {
1873
+ m(d), u(!0), setTimeout(() => u(!1), r);
1874
1874
  }, h = () => {
1875
1875
  b((l - 1 + t.length) % t.length);
1876
1876
  }, x = () => {
@@ -1879,13 +1879,13 @@ const tt = N(
1879
1879
  return t.length === 0 ? null : (t[l], /* @__PURE__ */ i(
1880
1880
  "div",
1881
1881
  {
1882
- ref: d,
1882
+ ref: c,
1883
1883
  className: o("relative w-full overflow-hidden", a),
1884
1884
  onMouseEnter: () => u(!0),
1885
1885
  onMouseLeave: () => u(!1),
1886
1886
  ...s,
1887
1887
  children: [
1888
- /* @__PURE__ */ e("div", { className: "relative", children: t.map((c, p) => /* @__PURE__ */ e(
1888
+ /* @__PURE__ */ e("div", { className: "relative", children: t.map((d, p) => /* @__PURE__ */ i(
1889
1889
  "div",
1890
1890
  {
1891
1891
  className: o(
@@ -1893,36 +1893,50 @@ const tt = N(
1893
1893
  p === l ? "block" : "hidden"
1894
1894
  ),
1895
1895
  "aria-hidden": p !== l,
1896
- children: /* @__PURE__ */ i("picture", { children: [
1897
- /* @__PURE__ */ e(
1898
- "source",
1899
- {
1900
- media: "(min-width: 1024px)",
1901
- srcSet: `${c.imageDesktop} 1x, ${c.imageDesktop.replace(/\.(jpg|png)$/, "@2x.$1")} 2x`
1902
- }
1903
- ),
1904
- /* @__PURE__ */ e(
1905
- "source",
1906
- {
1907
- media: "(min-width: 768px)",
1908
- srcSet: `${c.imageTablet} 1x, ${c.imageTablet.replace(/\.(jpg|png)$/, "@2x.$1")} 2x`
1909
- }
1910
- ),
1911
- /* @__PURE__ */ e(
1912
- "img",
1913
- {
1914
- src: c.imageMobile,
1915
- srcSet: `${c.imageMobile} 1x, ${c.imageMobile.replace(/\.(jpg|png)$/, "@2x.$1")} 2x`,
1916
- alt: c.title,
1917
- className: "w-full object-cover aspect-[5/6] md:aspect-video lg:aspect-[1920/700]",
1918
- loading: p === 0 ? "eager" : "lazy"
1919
- }
1920
- )
1921
- ] })
1896
+ children: [
1897
+ /* @__PURE__ */ i("picture", { children: [
1898
+ /* @__PURE__ */ e(
1899
+ "source",
1900
+ {
1901
+ media: "(min-width: 1024px)",
1902
+ srcSet: `${d.imageDesktop} 1x, ${d.imageDesktop.replace(/\.(jpg|png)$/, "@2x.$1")} 2x`
1903
+ }
1904
+ ),
1905
+ /* @__PURE__ */ e(
1906
+ "source",
1907
+ {
1908
+ media: "(min-width: 768px)",
1909
+ srcSet: `${d.imageTablet} 1x, ${d.imageTablet.replace(/\.(jpg|png)$/, "@2x.$1")} 2x`
1910
+ }
1911
+ ),
1912
+ /* @__PURE__ */ e(
1913
+ "img",
1914
+ {
1915
+ src: d.imageMobile,
1916
+ srcSet: `${d.imageMobile} 1x, ${d.imageMobile.replace(/\.(jpg|png)$/, "@2x.$1")} 2x`,
1917
+ alt: d.title,
1918
+ className: "w-full object-cover aspect-[5/6] md:aspect-video lg:aspect-[1920/700]",
1919
+ loading: p === 0 ? "eager" : "lazy"
1920
+ }
1921
+ )
1922
+ ] }),
1923
+ d.showOverlay && /* @__PURE__ */ i("div", { className: "absolute inset-0 flex flex-col justify-end bg-linear-to-t from-black/60 to-transparent p-6 md:p-10", children: [
1924
+ /* @__PURE__ */ e("h2", { className: "text-2xl font-bold text-white md:text-3xl", children: d.title }),
1925
+ d.description && /* @__PURE__ */ e("p", { className: "mt-2 text-sm text-gray-200 md:text-base", children: d.description }),
1926
+ d.cta && /* @__PURE__ */ e(
1927
+ "a",
1928
+ {
1929
+ href: d.cta.href,
1930
+ className: "mt-4 inline-block self-start rounded-md bg-brand-primary px-5 py-2 text-sm font-semibold text-white transition hover:opacity-90",
1931
+ children: d.cta.label
1932
+ }
1933
+ )
1934
+ ] })
1935
+ ]
1922
1936
  },
1923
- c.id
1937
+ d.id
1924
1938
  )) }),
1925
- t.length > 1 && /* @__PURE__ */ i(A, { children: [
1939
+ t.length > 1 && /* @__PURE__ */ i(_, { children: [
1926
1940
  /* @__PURE__ */ e(
1927
1941
  "button",
1928
1942
  {
@@ -1942,7 +1956,7 @@ const tt = N(
1942
1956
  }
1943
1957
  )
1944
1958
  ] }),
1945
- t.length > 1 && /* @__PURE__ */ e("div", { className: "absolute bottom-4 left-1/2 -translate-x-1/2 flex gap-2", children: t.map((c, p) => /* @__PURE__ */ e(
1959
+ t.length > 1 && /* @__PURE__ */ e("div", { className: "absolute bottom-4 left-1/2 -translate-x-1/2 flex gap-2", children: t.map((d, p) => /* @__PURE__ */ e(
1946
1960
  "button",
1947
1961
  {
1948
1962
  onClick: () => b(p),
@@ -2013,7 +2027,7 @@ function G({
2013
2027
  }
2014
2028
  );
2015
2029
  }
2016
- const ot = P(
2030
+ const ot = L(
2017
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"
2018
2032
  );
2019
2033
  function it({
@@ -2031,7 +2045,7 @@ function it({
2031
2045
  t,
2032
2046
  " ",
2033
2047
  /* @__PURE__ */ e(
2034
- E,
2048
+ A,
2035
2049
  {
2036
2050
  className: "relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180",
2037
2051
  "aria-hidden": "true"
@@ -2131,9 +2145,9 @@ function lt({ items: a }) {
2131
2145
  ) });
2132
2146
  }
2133
2147
  function Y({ item: a, depth: t = 0 }) {
2134
- var d;
2148
+ var c;
2135
2149
  const [r, n] = k(!1);
2136
- return !((d = a.children) != null && d.length) ? /* @__PURE__ */ e(Ke, { asChild: !0, children: /* @__PURE__ */ e(
2150
+ return !((c = a.children) != null && c.length) ? /* @__PURE__ */ e(Ke, { asChild: !0, children: /* @__PURE__ */ e(
2137
2151
  "a",
2138
2152
  {
2139
2153
  href: a.href ?? "#",
@@ -2181,13 +2195,13 @@ function Y({ item: a, depth: t = 0 }) {
2181
2195
  ] });
2182
2196
  }
2183
2197
  const dt = N(
2184
- ({ items: a, logo: t, rightSlot: r, searchSlot: n, drawerFooter: s, className: d, ...l }, m) => /* @__PURE__ */ e(
2198
+ ({ items: a, logo: t, rightSlot: r, searchSlot: n, drawerFooter: s, className: c, ...l }, m) => /* @__PURE__ */ e(
2185
2199
  "header",
2186
2200
  {
2187
2201
  ref: m,
2188
2202
  className: o(
2189
2203
  "sticky top-0 z-40 border-b border-[var(--border)] bg-[var(--card)]",
2190
- d
2204
+ c
2191
2205
  ),
2192
2206
  ...l,
2193
2207
  children: /* @__PURE__ */ i("div", { className: "px-4", children: [
@@ -2369,12 +2383,12 @@ function ft({ title: a, links: t }) {
2369
2383
  ] });
2370
2384
  }
2371
2385
  const gt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, className: r, ...n }) => {
2372
- const [s, d] = k("light");
2386
+ const [s, c] = k("light");
2373
2387
  M(() => {
2374
2388
  const u = document.documentElement;
2375
- d(u.getAttribute("data-theme") ?? "light");
2389
+ c(u.getAttribute("data-theme") ?? "light");
2376
2390
  const v = new MutationObserver(() => {
2377
- d(u.getAttribute("data-theme") ?? "light");
2391
+ c(u.getAttribute("data-theme") ?? "light");
2378
2392
  });
2379
2393
  return v.observe(u, { attributes: !0, attributeFilter: ["data-theme"] }), () => v.disconnect();
2380
2394
  }, []);
@@ -2479,14 +2493,14 @@ export {
2479
2493
  qt as AccordionContent,
2480
2494
  Vt as AccordionItem,
2481
2495
  Ft as AccordionTrigger,
2482
- _e as Avatar,
2483
- D as Badge,
2484
- Dt as Breadcrumb,
2485
- Lt as BreadcrumbItem,
2486
- Tt as BreadcrumbLink,
2487
- Et as BreadcrumbList,
2488
- $t as BreadcrumbPage,
2489
- 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,
2490
2504
  C as Button,
2491
2505
  Mt as Checkbox,
2492
2506
  ra as Col,
@@ -2497,7 +2511,7 @@ export {
2497
2511
  Ot as DialogHeader,
2498
2512
  Yt as DialogTitle,
2499
2513
  Wt as DialogTrigger,
2500
- De as Divider,
2514
+ Pe as Divider,
2501
2515
  Qe as Drawer,
2502
2516
  X as EmptyState,
2503
2517
  qe as ErrorState,
@@ -2509,15 +2523,15 @@ export {
2509
2523
  kt as Input,
2510
2524
  dt as MegaMenu,
2511
2525
  Qt as Modal,
2512
- $e as PriceDisplay,
2513
- R as ProductCard,
2526
+ Te as PriceDisplay,
2527
+ $ as ProductCard,
2514
2528
  He as ProductGrid,
2515
2529
  la as ProgressBar,
2516
- Re as QuantitySelector,
2517
- _t as RadioGroup,
2518
- Pt as RadioGroupItem,
2519
- $ as Rating,
2520
- Te as SearchBar,
2530
+ $e as QuantitySelector,
2531
+ Dt as RadioGroup,
2532
+ Lt as RadioGroupItem,
2533
+ T as Rating,
2534
+ Ee as SearchBar,
2521
2535
  zt as Select,
2522
2536
  It as SelectContent,
2523
2537
  jt as SelectItem,
@@ -2529,9 +2543,9 @@ export {
2529
2543
  Ze as SheetHeader,
2530
2544
  Je as SheetTitle,
2531
2545
  We as SheetTrigger,
2532
- Ae as Spinner,
2546
+ _e as Spinner,
2533
2547
  Ie as Textarea,
2534
- At as Toggle,
2548
+ _t as Toggle,
2535
2549
  Ht as Tooltip,
2536
2550
  Ut as TooltipContent,
2537
2551
  Ve as TooltipProvider,
@@ -2541,7 +2555,7 @@ export {
2541
2555
  je as badgeVariants,
2542
2556
  Se as buttonVariants,
2543
2557
  o as cn,
2544
- Pe as spinnerVariants,
2558
+ Le as spinnerVariants,
2545
2559
  na as toast
2546
2560
  };
2547
2561
  //# sourceMappingURL=index.js.map