@grupo-elo-editorial/shared-ui-react 1.4.6 → 1.4.8

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/CHANGELOG.md CHANGED
@@ -4,6 +4,24 @@ Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) · Versioning:
4
4
 
5
5
  ---
6
6
 
7
+ ## [1.4.8] — 2026-06-23 (TopAccessibilityBar — VLibras não inicializa em lazy load; ELO-613)
8
+
9
+ ### Fixed
10
+
11
+ - **`TopAccessibilityBar`**: corrigida inicialização do VLibras quando carregado lazily. O `VLibras.Widget()` registra `window.onload` para executar sua inicialização real (injetar ícone, registrar listeners). Como o script é carregado ao clicar — com a página já carregada — `window.onload` nunca disparava, deixando o widget sem ícone e sem estilos. Agora, após `new VLibras.Widget()`, o handler `window.onload` é invocado manualmente, garantindo que o botão flutuante apareça corretamente.
12
+ - `package.json` `version` bumped `1.4.7 → 1.4.8`.
13
+
14
+ ---
15
+
16
+ ## [1.4.7] — 2026-06-22 (TopAccessibilityBar — VLibras reexibe após esconder; ELO-607)
17
+
18
+ ### Fixed
19
+
20
+ - **`TopAccessibilityBar`**: corrigido o toggle do VLibras. Esconder o widget usava `display:none` no container `[vw]`, que descarta o contexto Unity WebGL do avatar e impedia o reaparecimento ao reativar (só voltava recarregando a página). Agora usa `visibility` + `opacity` + `pointer-events`, mantendo o canvas Unity na árvore de layout — o avatar volta a aparecer ao reativar, sem reload. Combina com o fix de CSP do site (ELO-603) que destravou o carregamento inicial do widget.
21
+ - `package.json` `version` bumped `1.4.6 → 1.4.7`.
22
+
23
+ ---
24
+
7
25
  ## [1.4.5] — 2026-06-11 (Footer — capitalização sentence case na barra legal; ELO-414)
8
26
 
9
27
  ### Fixed
package/dist/index.js CHANGED
@@ -2,15 +2,15 @@
2
2
  import { clsx as ae } from "clsx";
3
3
  import { twMerge as re } from "tailwind-merge";
4
4
  import { jsx as e, jsxs as o, Fragment as P } from "react/jsx-runtime";
5
- import { forwardRef as w, useState as C, useRef as ie, useEffect as L } from "react";
6
- import { Loader2 as U, User as oe, Star as ne, CheckIcon as X, ChevronDownIcon as T, ChevronUpIcon as se, CircleIcon as le, ShoppingCart as $, Heart as de, Search as Y, X as ce, Minus as ue, Plus as me, ChevronRight as K, FileX as fe, Package as ge, AlertCircle as pe, RefreshCw as ve, Home as be, XIcon as O, Accessibility as he, ZoomOut as xe, ZoomIn as Ne, Moon as ye, Sun as we, ChevronLeft as ke, Menu as ze, ChevronDown as Z, Instagram as Ce, Facebook as Se, Youtube as je, Linkedin as De, Mail as Me } from "lucide-react";
7
- import { cva as B } from "class-variance-authority";
5
+ import { forwardRef as y, useState as C, useRef as ie, useEffect as L } from "react";
6
+ import { Loader2 as U, User as oe, Star as ne, CheckIcon as X, ChevronDownIcon as T, ChevronUpIcon as se, CircleIcon as le, ShoppingCart as $, Heart as de, Search as Y, X as ce, Minus as ue, Plus as me, ChevronRight as K, FileX as fe, Package as ge, AlertCircle as pe, RefreshCw as ve, Home as be, XIcon as O, Accessibility as he, ZoomOut as xe, ZoomIn as Ne, Moon as we, Sun as ye, ChevronLeft as ke, Menu as ze, ChevronDown as Z, Instagram as Ce, Facebook as Se, Youtube as je, Linkedin as De, Mail as Me } from "lucide-react";
7
+ import { cva as _ } from "class-variance-authority";
8
8
  import * as S from "@radix-ui/react-select";
9
9
  import * as G from "@radix-ui/react-checkbox";
10
10
  import * as V from "@radix-ui/react-radio-group";
11
11
  import * as H from "@radix-ui/react-switch";
12
12
  import { Slot as Ae } from "@radix-ui/react-slot";
13
- import * as _ from "@radix-ui/react-accordion";
13
+ import * as E from "@radix-ui/react-accordion";
14
14
  import * as A from "@radix-ui/react-tooltip";
15
15
  import { toast as ma } from "sonner";
16
16
  import { Progress as ga } from "@radix-ui/react-progress";
@@ -19,7 +19,7 @@ import * as M from "@radix-ui/react-navigation-menu";
19
19
  function i(...a) {
20
20
  return re(ae(a));
21
21
  }
22
- const Pe = B(
22
+ const Pe = _(
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: {
@@ -45,7 +45,7 @@ const Pe = B(
45
45
  size: "md"
46
46
  }
47
47
  }
48
- ), j = w(
48
+ ), j = y(
49
49
  ({
50
50
  className: a,
51
51
  variant: t,
@@ -76,7 +76,7 @@ const Pe = B(
76
76
  )
77
77
  );
78
78
  j.displayName = "Button";
79
- const _e = w(
79
+ const Ee = y(
80
80
  ({ className: a, error: t, helperText: r, ...s }, l) => /* @__PURE__ */ o("div", { className: "w-full", children: [
81
81
  /* @__PURE__ */ e(
82
82
  "textarea",
@@ -106,8 +106,8 @@ const _e = w(
106
106
  )
107
107
  ] })
108
108
  );
109
- _e.displayName = "Textarea";
110
- const Be = B(
109
+ Ee.displayName = "Textarea";
110
+ const _e = _(
111
111
  "inline-flex items-center rounded-full font-medium transition-colors whitespace-nowrap",
112
112
  {
113
113
  variants: {
@@ -131,12 +131,12 @@ const Be = B(
131
131
  size: "md"
132
132
  }
133
133
  }
134
- ), R = w(
134
+ ), R = y(
135
135
  ({ className: a, variant: t, size: r, icon: s, onRemove: l, children: n, ...d }, c) => /* @__PURE__ */ o(
136
136
  "div",
137
137
  {
138
138
  ref: c,
139
- className: i(Be({ variant: t, size: r }), a),
139
+ className: i(_e({ variant: t, size: r }), a),
140
140
  ...d,
141
141
  children: [
142
142
  s && /* @__PURE__ */ e("span", { className: "mr-1 inline-flex", children: s }),
@@ -155,7 +155,7 @@ const Be = B(
155
155
  )
156
156
  );
157
157
  R.displayName = "Badge";
158
- const Ee = B(
158
+ const Be = _(
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 Ee = B(
170
170
  size: "md"
171
171
  }
172
172
  }
173
- ), Le = w(
173
+ ), Le = y(
174
174
  ({ className: a, size: t, src: r, alt: s, name: l, showStatus: n, statusType: d = "online", ...c }, m) => {
175
175
  const [f, v] = C(!1), p = (N) => N.split(" ").map((u) => u[0]).join("").toUpperCase().slice(0, 2), h = {
176
176
  online: "bg-[var(--success)]",
@@ -183,7 +183,7 @@ const Ee = B(
183
183
  lg: "h-3 w-3 border-2",
184
184
  xl: "h-4 w-4 border-2"
185
185
  };
186
- return /* @__PURE__ */ o("div", { ref: m, className: i(Ee({ size: t }), "relative", a), children: [
186
+ return /* @__PURE__ */ o("div", { ref: m, className: i(Be({ size: t }), "relative", a), children: [
187
187
  r && !f ? /* @__PURE__ */ e(
188
188
  "img",
189
189
  {
@@ -209,7 +209,7 @@ const Ee = B(
209
209
  }
210
210
  );
211
211
  Le.displayName = "Avatar";
212
- const Re = B("animate-spin text-[var(--brand-primary)]", {
212
+ const Re = _("animate-spin text-[var(--brand-primary)]", {
213
213
  variants: {
214
214
  size: {
215
215
  sm: "h-4 w-4",
@@ -221,7 +221,7 @@ const Re = B("animate-spin text-[var(--brand-primary)]", {
221
221
  defaultVariants: {
222
222
  size: "md"
223
223
  }
224
- }), Te = w(
224
+ }), Te = y(
225
225
  ({ className: a, size: t, label: r, ...s }, l) => /* @__PURE__ */ o(
226
226
  "div",
227
227
  {
@@ -238,7 +238,7 @@ const Re = B("animate-spin text-[var(--brand-primary)]", {
238
238
  )
239
239
  );
240
240
  Te.displayName = "Spinner";
241
- const $e = w(
241
+ const $e = y(
242
242
  ({ className: a, orientation: t = "horizontal", variant: r = "solid", text: s, ...l }, n) => {
243
243
  const d = {
244
244
  solid: "border-solid",
@@ -285,7 +285,7 @@ const $e = w(
285
285
  }
286
286
  );
287
287
  $e.displayName = "Divider";
288
- const F = w(
288
+ const F = y(
289
289
  ({
290
290
  className: a,
291
291
  value: t = 0,
@@ -369,12 +369,12 @@ function Pt({
369
369
  }) {
370
370
  return /* @__PURE__ */ e(S.Root, { "data-slot": "select", ...a });
371
371
  }
372
- function _t({
372
+ function Et({
373
373
  ...a
374
374
  }) {
375
375
  return /* @__PURE__ */ e(S.Value, { "data-slot": "select-value", ...a });
376
376
  }
377
- function Bt({
377
+ function _t({
378
378
  className: a,
379
379
  size: t = "default",
380
380
  children: r,
@@ -397,7 +397,7 @@ function Bt({
397
397
  }
398
398
  );
399
399
  }
400
- function Et({
400
+ function Bt({
401
401
  className: a,
402
402
  children: t,
403
403
  position: r = "popper",
@@ -583,7 +583,7 @@ function Q({
583
583
  }) {
584
584
  return a ? /* @__PURE__ */ e("a", { href: a, className: t, tabIndex: -1, "aria-hidden": "true", children: r }) : /* @__PURE__ */ e("div", { className: t, children: r });
585
585
  }
586
- const I = w(
586
+ const I = y(
587
587
  ({
588
588
  className: a,
589
589
  image: t,
@@ -603,7 +603,7 @@ const I = w(
603
603
  href: u,
604
604
  orientation: b = "vertical",
605
605
  renderImage: g = Ie,
606
- ...y
606
+ ...w
607
607
  }, D) => v ? /* @__PURE__ */ o(
608
608
  "div",
609
609
  {
@@ -613,7 +613,7 @@ const I = w(
613
613
  b === "horizontal" ? "flex-row gap-3" : "flex-col",
614
614
  a
615
615
  ),
616
- ...y,
616
+ ...w,
617
617
  children: [
618
618
  /* @__PURE__ */ e(
619
619
  "div",
@@ -640,7 +640,7 @@ const I = w(
640
640
  p && "opacity-60",
641
641
  a
642
642
  ),
643
- ...y,
643
+ ...w,
644
644
  children: [
645
645
  /* @__PURE__ */ e(
646
646
  Q,
@@ -707,7 +707,7 @@ const I = w(
707
707
  p && "opacity-60",
708
708
  a
709
709
  ),
710
- ...y,
710
+ ...w,
711
711
  children: [
712
712
  /* @__PURE__ */ o(
713
713
  Q,
@@ -794,7 +794,7 @@ const I = w(
794
794
  )
795
795
  );
796
796
  I.displayName = "ProductCard";
797
- const qe = w(
797
+ const qe = y(
798
798
  ({
799
799
  className: a,
800
800
  onSearch: t,
@@ -811,8 +811,8 @@ const qe = w(
811
811
  md: "h-11 text-base",
812
812
  lg: "h-14 text-lg"
813
813
  }, N = (g) => {
814
- const y = g.target.value;
815
- d === void 0 && p(y), c == null || c(g);
814
+ const w = g.target.value;
815
+ d === void 0 && p(w), c == null || c(g);
816
816
  }, u = () => {
817
817
  d === void 0 && p(""), r == null || r();
818
818
  }, b = (g) => {
@@ -856,7 +856,7 @@ const qe = w(
856
856
  }
857
857
  );
858
858
  qe.displayName = "SearchBar";
859
- const Ue = w(
859
+ const Ue = y(
860
860
  ({
861
861
  className: a,
862
862
  price: t,
@@ -920,7 +920,7 @@ const Ue = w(
920
920
  }
921
921
  );
922
922
  Ue.displayName = "PriceDisplay";
923
- const Ge = w(
923
+ const Ge = y(
924
924
  ({
925
925
  className: a,
926
926
  value: t,
@@ -1001,7 +1001,7 @@ const Ge = w(
1001
1001
  }
1002
1002
  );
1003
1003
  Ge.displayName = "QuantitySelector";
1004
- const He = w(
1004
+ const He = y(
1005
1005
  ({ className: a, label: t, htmlFor: r, required: s, error: l, helperText: n, children: d, ...c }, m) => /* @__PURE__ */ o("div", { ref: m, className: i("flex flex-col gap-1.5", a), ...c, children: [
1006
1006
  t && /* @__PURE__ */ o(
1007
1007
  "label",
@@ -1101,14 +1101,14 @@ function Ht({
1101
1101
  function Qt({
1102
1102
  ...a
1103
1103
  }) {
1104
- return /* @__PURE__ */ e(_.Root, { "data-slot": "accordion", ...a });
1104
+ return /* @__PURE__ */ e(E.Root, { "data-slot": "accordion", ...a });
1105
1105
  }
1106
1106
  function Wt({
1107
1107
  className: a,
1108
1108
  ...t
1109
1109
  }) {
1110
1110
  return /* @__PURE__ */ e(
1111
- _.Item,
1111
+ E.Item,
1112
1112
  {
1113
1113
  "data-slot": "accordion-item",
1114
1114
  className: i("border-b last:border-b-0", a),
@@ -1121,8 +1121,8 @@ function Xt({
1121
1121
  children: t,
1122
1122
  ...r
1123
1123
  }) {
1124
- return /* @__PURE__ */ e(_.Header, { className: "flex", children: /* @__PURE__ */ o(
1125
- _.Trigger,
1124
+ return /* @__PURE__ */ e(E.Header, { className: "flex", children: /* @__PURE__ */ o(
1125
+ E.Trigger,
1126
1126
  {
1127
1127
  "data-slot": "accordion-trigger",
1128
1128
  className: i(
@@ -1143,7 +1143,7 @@ function Yt({
1143
1143
  ...r
1144
1144
  }) {
1145
1145
  return /* @__PURE__ */ e(
1146
- _.Content,
1146
+ E.Content,
1147
1147
  {
1148
1148
  "data-slot": "accordion-content",
1149
1149
  className: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",
@@ -1198,7 +1198,7 @@ function Zt({
1198
1198
  }
1199
1199
  ) });
1200
1200
  }
1201
- const We = w(
1201
+ const We = y(
1202
1202
  ({
1203
1203
  className: a,
1204
1204
  variant: t = "default",
@@ -1306,7 +1306,7 @@ const We = w(
1306
1306
  )
1307
1307
  );
1308
1308
  We.displayName = "Hero";
1309
- const J = w(
1309
+ const J = y(
1310
1310
  ({
1311
1311
  className: a,
1312
1312
  variant: t = "default",
@@ -1351,7 +1351,7 @@ const J = w(
1351
1351
  }
1352
1352
  );
1353
1353
  J.displayName = "EmptyState";
1354
- const Xe = w(
1354
+ const Xe = y(
1355
1355
  ({
1356
1356
  className: a,
1357
1357
  type: t = "generic",
@@ -1431,7 +1431,7 @@ const Xe = w(
1431
1431
  }
1432
1432
  );
1433
1433
  Xe.displayName = "ErrorState";
1434
- const Ye = w(
1434
+ const Ye = y(
1435
1435
  ({
1436
1436
  className: a,
1437
1437
  products: t,
@@ -1727,26 +1727,26 @@ function nt({ children: a, as: t = "div", className: r }) {
1727
1727
  }
1728
1728
  );
1729
1729
  }
1730
- const st = w(
1730
+ const st = y(
1731
1731
  ({ className: a, onThemeChange: t, onFontSizeChange: r, showA11yLink: s = !1, ...l }, n) => {
1732
1732
  const [d, c] = C("light"), [m, f] = C(16), [v, p] = C(!1), h = ie(!1);
1733
1733
  L(() => {
1734
- const y = localStorage.getItem("a11y-theme") ?? document.documentElement.getAttribute("data-theme") ?? "light";
1735
- c(y);
1734
+ const w = localStorage.getItem("a11y-theme") ?? document.documentElement.getAttribute("data-theme") ?? "light";
1735
+ c(w);
1736
1736
  const D = Number(localStorage.getItem("a11y-font-size"));
1737
1737
  Number.isFinite(D) && D > 0 && f(D);
1738
1738
  }, []);
1739
1739
  const x = () => {
1740
1740
  if (h.current) {
1741
- const g = document.querySelector("[vw]"), y = !v;
1742
- g && (g.style.display = y ? "" : "none"), p(y);
1741
+ const g = document.querySelector("[vw]"), w = !v;
1742
+ g && (g.style.visibility = w ? "" : "hidden", g.style.opacity = w ? "" : "0", g.style.pointerEvents = w ? "" : "none"), p(w);
1743
1743
  } else {
1744
1744
  const g = document.createElement("div");
1745
1745
  g.setAttribute("vw", ""), g.className = "enabled", g.innerHTML = '<div vw-access-button class="active"></div><div vw-plugin-wrapper><div class="vw-plugin-top-wrapper"></div></div>', document.body.appendChild(g);
1746
- const y = document.createElement("script");
1747
- y.src = "https://vlibras.gov.br/app/vlibras-plugin.js", y.async = !0, y.onload = () => {
1748
- window.VLibras && new window.VLibras.Widget("https://vlibras.gov.br/app"), h.current = !0, p(!0);
1749
- }, document.body.appendChild(y);
1746
+ const w = document.createElement("script");
1747
+ w.src = "https://vlibras.gov.br/app/vlibras-plugin.js", w.async = !0, w.onload = () => {
1748
+ window.VLibras && (new window.VLibras.Widget("https://vlibras.gov.br/app"), typeof window.onload == "function" && window.onload(new Event("load"))), h.current = !0, p(!0);
1749
+ }, document.body.appendChild(w);
1750
1750
  }
1751
1751
  }, N = () => {
1752
1752
  const g = d === "light" ? "dark" : "light";
@@ -1826,7 +1826,7 @@ const st = w(
1826
1826
  "p-2 rounded-md transition-colors text-[var(--muted-foreground)] hover:bg-[var(--muted)]",
1827
1827
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]"
1828
1828
  ),
1829
- children: d === "light" ? /* @__PURE__ */ e(ye, { className: "h-4 w-4" }) : /* @__PURE__ */ e(we, { className: "h-4 w-4" })
1829
+ children: d === "light" ? /* @__PURE__ */ e(we, { className: "h-4 w-4" }) : /* @__PURE__ */ e(ye, { className: "h-4 w-4" })
1830
1830
  }
1831
1831
  ),
1832
1832
  /* @__PURE__ */ e(
@@ -1855,7 +1855,7 @@ const st = w(
1855
1855
  }
1856
1856
  );
1857
1857
  st.displayName = "TopAccessibilityBar";
1858
- const lt = w(
1858
+ const lt = y(
1859
1859
  ({
1860
1860
  className: a,
1861
1861
  slides: t,
@@ -2044,7 +2044,7 @@ function W({
2044
2044
  }
2045
2045
  );
2046
2046
  }
2047
- const ut = B(
2047
+ const ut = _(
2048
2048
  "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"
2049
2049
  );
2050
2050
  function mt({
@@ -2211,7 +2211,7 @@ function ee({ item: a, depth: t = 0 }) {
2211
2211
  )
2212
2212
  ] });
2213
2213
  }
2214
- const vt = w(
2214
+ const vt = y(
2215
2215
  ({ items: a, logo: t, rightSlot: r, searchSlot: s, drawerFooter: l, className: n, ...d }, c) => /* @__PURE__ */ e(
2216
2216
  "header",
2217
2217
  {
@@ -2398,20 +2398,20 @@ function Nt({ title: a, links: t }) {
2398
2398
  )
2399
2399
  ] });
2400
2400
  }
2401
- const yt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r, playStoreUrl: s, appStoreUrl: l, orgInfo: n, navColumns: d, className: c, ...m }) => {
2401
+ const wt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r, playStoreUrl: s, appStoreUrl: l, orgInfo: n, navColumns: d, className: c, ...m }) => {
2402
2402
  const [f, v] = C("light");
2403
2403
  L(() => {
2404
2404
  const z = document.documentElement;
2405
2405
  v(z.getAttribute("data-theme") ?? "light");
2406
- const E = new MutationObserver(() => {
2406
+ const B = new MutationObserver(() => {
2407
2407
  v(z.getAttribute("data-theme") ?? "light");
2408
2408
  });
2409
- return E.observe(z, { attributes: !0, attributeFilter: ["data-theme"] }), () => E.disconnect();
2409
+ return B.observe(z, { attributes: !0, attributeFilter: ["data-theme"] }), () => B.disconnect();
2410
2410
  }, []);
2411
2411
  const p = a === "perabook" ? f === "dark" ? "/logos/logo_PeraBook_institucional_tarja_branca.png" : "/logos/PeraBook_instituicional.png" : f === "dark" ? "/logos/logo_elo_editora_texto_branco.png" : "/logos/logo_elo_institucional.png", h = a === "perabook" ? "PeraBook" : "Elo Editora", x = bt.map((z) => ({
2412
2412
  ...z,
2413
2413
  href: (n == null ? void 0 : n[z.key]) ?? z.href
2414
- })).filter((z) => z.href), N = (n == null ? void 0 : n.email) ?? "contato@grupoeloediorial.com.br", u = (n == null ? void 0 : n.phone) ?? "(11) 3000-0000", b = n == null ? void 0 : n.fullAddress, g = f === "dark" && (n == null ? void 0 : n.googlePlayBadgeUrlDark) || (n == null ? void 0 : n.googlePlayBadgeUrl) || "", y = f === "dark" && (n == null ? void 0 : n.appStoreBadgeUrlDark) || (n == null ? void 0 : n.appStoreBadgeUrl) || "", D = !!(g || y);
2414
+ })).filter((z) => z.href), N = (n == null ? void 0 : n.email) ?? "contato@grupoeloediorial.com.br", u = (n == null ? void 0 : n.phone) ?? "(11) 3000-0000", b = n == null ? void 0 : n.fullAddress, g = f === "dark" && (n == null ? void 0 : n.googlePlayBadgeUrlDark) || (n == null ? void 0 : n.googlePlayBadgeUrl) || "", w = f === "dark" && (n == null ? void 0 : n.appStoreBadgeUrlDark) || (n == null ? void 0 : n.appStoreBadgeUrl) || "", D = !!(g || w);
2415
2415
  return /* @__PURE__ */ o(
2416
2416
  "footer",
2417
2417
  {
@@ -2467,7 +2467,7 @@ const yt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r
2467
2467
  )
2468
2468
  }
2469
2469
  ),
2470
- y && /* @__PURE__ */ e(
2470
+ w && /* @__PURE__ */ e(
2471
2471
  "a",
2472
2472
  {
2473
2473
  href: l ?? "#",
@@ -2478,23 +2478,23 @@ const yt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r
2478
2478
  children: /* @__PURE__ */ e(
2479
2479
  "img",
2480
2480
  {
2481
- src: y,
2481
+ src: w,
2482
2482
  alt: "Disponível na App Store",
2483
2483
  width: 135,
2484
2484
  height: 40,
2485
2485
  className: "h-10 w-[135px] object-contain"
2486
2486
  },
2487
- y
2487
+ w
2488
2488
  )
2489
2489
  }
2490
2490
  )
2491
2491
  ] })
2492
2492
  ] }),
2493
2493
  /* @__PURE__ */ e("p", { className: "mt-6 text-sm font-semibold uppercase tracking-wide text-[var(--foreground)]", children: "Compartilhe" }),
2494
- /* @__PURE__ */ e("div", { className: "mt-3 flex flex-wrap gap-2", "aria-label": "Compartilhe nas redes sociais", children: x.map(({ label: z, href: E, Icon: te }) => /* @__PURE__ */ e(
2494
+ /* @__PURE__ */ e("div", { className: "mt-3 flex flex-wrap gap-2", "aria-label": "Compartilhe nas redes sociais", children: x.map(({ label: z, href: B, Icon: te }) => /* @__PURE__ */ e(
2495
2495
  "a",
2496
2496
  {
2497
- href: E,
2497
+ href: B,
2498
2498
  target: "_blank",
2499
2499
  rel: "noopener noreferrer",
2500
2500
  "aria-label": z,
@@ -2522,7 +2522,7 @@ const yt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r
2522
2522
  }
2523
2523
  );
2524
2524
  };
2525
- yt.displayName = "Footer";
2525
+ wt.displayName = "Footer";
2526
2526
  function la({ children: a, className: t }) {
2527
2527
  return /* @__PURE__ */ e(
2528
2528
  "div",
@@ -2536,7 +2536,7 @@ function la({ children: a, className: t }) {
2536
2536
  }
2537
2537
  );
2538
2538
  }
2539
- const wt = {
2539
+ const yt = {
2540
2540
  1: "col-span-1",
2541
2541
  2: "col-span-2",
2542
2542
  3: "col-span-3",
@@ -2545,7 +2545,7 @@ const wt = {
2545
2545
  6: "col-span-6"
2546
2546
  };
2547
2547
  function da({ children: a, span: t, className: r }) {
2548
- return /* @__PURE__ */ e("div", { "data-slot": "col", className: i("min-w-0", t && wt[t], r), children: a });
2548
+ return /* @__PURE__ */ e("div", { "data-slot": "col", className: i("min-w-0", t && yt[t], r), children: a });
2549
2549
  }
2550
2550
  export {
2551
2551
  Qt as Accordion,
@@ -2574,7 +2574,7 @@ export {
2574
2574
  Ze as Drawer,
2575
2575
  J as EmptyState,
2576
2576
  Xe as ErrorState,
2577
- yt as Footer,
2577
+ wt as Footer,
2578
2578
  He as FormGroup,
2579
2579
  la as Grid,
2580
2580
  We as Hero,
@@ -2592,10 +2592,10 @@ export {
2592
2592
  F as Rating,
2593
2593
  qe as SearchBar,
2594
2594
  Pt as Select,
2595
- Et as SelectContent,
2595
+ Bt as SelectContent,
2596
2596
  Lt as SelectItem,
2597
- Bt as SelectTrigger,
2598
- _t as SelectValue,
2597
+ _t as SelectTrigger,
2598
+ Et as SelectValue,
2599
2599
  rt as SheetContent,
2600
2600
  sa as SheetDescription,
2601
2601
  na as SheetFooter,
@@ -2603,15 +2603,15 @@ export {
2603
2603
  ot as SheetTitle,
2604
2604
  Je as SheetTrigger,
2605
2605
  Te as Spinner,
2606
- _e as Textarea,
2606
+ Ee as Textarea,
2607
2607
  Vt as Toggle,
2608
2608
  Kt as Tooltip,
2609
2609
  Zt as TooltipContent,
2610
2610
  Qe as TooltipProvider,
2611
2611
  Ot as TooltipTrigger,
2612
2612
  st as TopAccessibilityBar,
2613
- Ee as avatarVariants,
2614
- Be as badgeVariants,
2613
+ Be as avatarVariants,
2614
+ _e as badgeVariants,
2615
2615
  Pe as buttonVariants,
2616
2616
  i as cn,
2617
2617
  Re as spinnerVariants,