@grupo-elo-editorial/shared-ui-react 1.4.4 → 1.4.6
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 +9 -0
- package/dist/index.js +23 -23
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,15 @@ Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) · Versioning:
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
## [1.4.5] — 2026-06-11 (Footer — capitalização sentence case na barra legal; ELO-414)
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **`Footer`**: barra legal inferior agora usa sentence case — "Política de Privacidade" → "Política de privacidade" e "Termos de Uso" → "Termos de uso" (alinha ao padrão editorial do site). "Cookies" mantido (palavra única).
|
|
12
|
+
- `package.json` `version` bumped `1.4.4 → 1.4.5`.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
7
16
|
## [1.4.3] — 2026-06-10 (TopAccessibilityBar — VLibras lazy load; ELO-396)
|
|
8
17
|
|
|
9
18
|
### Fixed
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ 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
5
|
import { forwardRef as w, useState as C, useRef as ie, useEffect as L } from "react";
|
|
6
|
-
import { Loader2 as
|
|
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
7
|
import { cva as B } from "class-variance-authority";
|
|
8
8
|
import * as S from "@radix-ui/react-select";
|
|
9
9
|
import * as G from "@radix-ui/react-checkbox";
|
|
@@ -65,7 +65,7 @@ const Pe = B(
|
|
|
65
65
|
disabled: m || l,
|
|
66
66
|
...f,
|
|
67
67
|
children: l ? /* @__PURE__ */ o(P, { children: [
|
|
68
|
-
/* @__PURE__ */ e(
|
|
68
|
+
/* @__PURE__ */ e(U, { className: "h-4 w-4 animate-spin" }),
|
|
69
69
|
c && /* @__PURE__ */ e("span", { children: c })
|
|
70
70
|
] }) : /* @__PURE__ */ o(P, { children: [
|
|
71
71
|
n && /* @__PURE__ */ e("span", { className: "inline-flex", children: n }),
|
|
@@ -231,7 +231,7 @@ const Re = B("animate-spin text-[var(--brand-primary)]", {
|
|
|
231
231
|
className: i("inline-flex items-center justify-center", a),
|
|
232
232
|
...s,
|
|
233
233
|
children: [
|
|
234
|
-
/* @__PURE__ */ e(
|
|
234
|
+
/* @__PURE__ */ e(U, { className: i(Re({ size: t })) }),
|
|
235
235
|
/* @__PURE__ */ e("span", { className: "sr-only", children: r || "Loading" })
|
|
236
236
|
]
|
|
237
237
|
}
|
|
@@ -794,7 +794,7 @@ const I = w(
|
|
|
794
794
|
)
|
|
795
795
|
);
|
|
796
796
|
I.displayName = "ProductCard";
|
|
797
|
-
const
|
|
797
|
+
const qe = w(
|
|
798
798
|
({
|
|
799
799
|
className: a,
|
|
800
800
|
onSearch: t,
|
|
@@ -840,7 +840,7 @@ const Ue = w(
|
|
|
840
840
|
}
|
|
841
841
|
),
|
|
842
842
|
/* @__PURE__ */ o("div", { className: "absolute right-3 flex items-center gap-1", children: [
|
|
843
|
-
s && /* @__PURE__ */ e(
|
|
843
|
+
s && /* @__PURE__ */ e(U, { className: "h-5 w-5 animate-spin text-[var(--muted-foreground)]" }),
|
|
844
844
|
h && !s && /* @__PURE__ */ e(
|
|
845
845
|
"button",
|
|
846
846
|
{
|
|
@@ -855,8 +855,8 @@ const Ue = w(
|
|
|
855
855
|
] }) });
|
|
856
856
|
}
|
|
857
857
|
);
|
|
858
|
-
|
|
859
|
-
const
|
|
858
|
+
qe.displayName = "SearchBar";
|
|
859
|
+
const Ue = w(
|
|
860
860
|
({
|
|
861
861
|
className: a,
|
|
862
862
|
price: t,
|
|
@@ -919,7 +919,7 @@ const qe = w(
|
|
|
919
919
|
] });
|
|
920
920
|
}
|
|
921
921
|
);
|
|
922
|
-
|
|
922
|
+
Ue.displayName = "PriceDisplay";
|
|
923
923
|
const Ge = w(
|
|
924
924
|
({
|
|
925
925
|
className: a,
|
|
@@ -1044,7 +1044,7 @@ function It({ className: a, ...t }) {
|
|
|
1044
1044
|
}
|
|
1045
1045
|
);
|
|
1046
1046
|
}
|
|
1047
|
-
function
|
|
1047
|
+
function qt({ className: a, ...t }) {
|
|
1048
1048
|
return /* @__PURE__ */ e(
|
|
1049
1049
|
"li",
|
|
1050
1050
|
{
|
|
@@ -1054,7 +1054,7 @@ function Ut({ className: a, ...t }) {
|
|
|
1054
1054
|
}
|
|
1055
1055
|
);
|
|
1056
1056
|
}
|
|
1057
|
-
function
|
|
1057
|
+
function Ut({
|
|
1058
1058
|
asChild: a,
|
|
1059
1059
|
className: t,
|
|
1060
1060
|
...r
|
|
@@ -2113,7 +2113,7 @@ function gt({
|
|
|
2113
2113
|
}
|
|
2114
2114
|
);
|
|
2115
2115
|
}
|
|
2116
|
-
function
|
|
2116
|
+
function q({
|
|
2117
2117
|
className: a,
|
|
2118
2118
|
...t
|
|
2119
2119
|
}) {
|
|
@@ -2143,7 +2143,7 @@ function pt({ items: a }) {
|
|
|
2143
2143
|
}
|
|
2144
2144
|
),
|
|
2145
2145
|
/* @__PURE__ */ e("ul", { className: "ml-1", role: "none", children: t.children.map((s) => /* @__PURE__ */ e("li", { role: "none", children: /* @__PURE__ */ e(
|
|
2146
|
-
|
|
2146
|
+
q,
|
|
2147
2147
|
{
|
|
2148
2148
|
href: s.href ?? "#",
|
|
2149
2149
|
className: "block rounded px-3 py-1.5 text-sm text-[var(--foreground)] hover:bg-[var(--accent)] transition-colors",
|
|
@@ -2151,7 +2151,7 @@ function pt({ items: a }) {
|
|
|
2151
2151
|
}
|
|
2152
2152
|
) }, s.id)) })
|
|
2153
2153
|
] }, t.id) : /* @__PURE__ */ e("li", { role: "none", children: /* @__PURE__ */ e(
|
|
2154
|
-
|
|
2154
|
+
q,
|
|
2155
2155
|
{
|
|
2156
2156
|
href: t.href ?? "#",
|
|
2157
2157
|
className: "block rounded px-3 py-1.5 text-sm text-[var(--foreground)] hover:bg-[var(--accent)] transition-colors",
|
|
@@ -2267,7 +2267,7 @@ const vt = w(
|
|
|
2267
2267
|
/* @__PURE__ */ e(mt, { className: "h-9 bg-transparent text-sm text-[var(--foreground)] hover:bg-[var(--accent)]", children: m.label }),
|
|
2268
2268
|
/* @__PURE__ */ e(ft, { children: /* @__PURE__ */ e(pt, { items: m.children }) })
|
|
2269
2269
|
] }, m.id) : /* @__PURE__ */ e(W, { children: /* @__PURE__ */ e(
|
|
2270
|
-
|
|
2270
|
+
q,
|
|
2271
2271
|
{
|
|
2272
2272
|
href: m.href ?? "#",
|
|
2273
2273
|
className: "inline-flex h-9 items-center rounded-md px-4 text-sm font-medium text-[var(--foreground)] transition-colors hover:bg-[var(--accent)] hover:text-[var(--accent-foreground)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
|
|
@@ -2428,9 +2428,9 @@ const yt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r
|
|
|
2428
2428
|
{
|
|
2429
2429
|
src: p,
|
|
2430
2430
|
alt: h,
|
|
2431
|
-
width:
|
|
2432
|
-
height:
|
|
2433
|
-
className: "h-
|
|
2431
|
+
width: 290,
|
|
2432
|
+
height: 96,
|
|
2433
|
+
className: "h-16 lg:h-24 w-auto object-contain"
|
|
2434
2434
|
}
|
|
2435
2435
|
),
|
|
2436
2436
|
/* @__PURE__ */ o("div", { className: "mt-6 space-y-1 text-sm", children: [
|
|
@@ -2512,9 +2512,9 @@ const yt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r
|
|
|
2512
2512
|
" Grupo ELO Editorial. Todos os direitos reservados."
|
|
2513
2513
|
] }),
|
|
2514
2514
|
/* @__PURE__ */ o("nav", { "aria-label": "Links legais", className: "flex flex-wrap gap-4", children: [
|
|
2515
|
-
/* @__PURE__ */ e("a", { href: "/editora/privacidade/politica", className: "transition-colors hover:text-[var(--foreground)]", children: "Política de
|
|
2515
|
+
/* @__PURE__ */ e("a", { href: "/editora/privacidade/politica", className: "transition-colors hover:text-[var(--foreground)]", children: "Política de privacidade" }),
|
|
2516
2516
|
/* @__PURE__ */ e("a", { href: "/editora/privacidade/cookies", className: "transition-colors hover:text-[var(--foreground)]", children: "Cookies" }),
|
|
2517
|
-
/* @__PURE__ */ e("a", { href: "/editora/privacidade/demais", className: "transition-colors hover:text-[var(--foreground)]", children: "Termos de
|
|
2517
|
+
/* @__PURE__ */ e("a", { href: "/editora/privacidade/demais", className: "transition-colors hover:text-[var(--foreground)]", children: "Termos de uso" })
|
|
2518
2518
|
] })
|
|
2519
2519
|
] })
|
|
2520
2520
|
] })
|
|
@@ -2555,8 +2555,8 @@ export {
|
|
|
2555
2555
|
Le as Avatar,
|
|
2556
2556
|
R as Badge,
|
|
2557
2557
|
Ft as Breadcrumb,
|
|
2558
|
-
|
|
2559
|
-
|
|
2558
|
+
qt as BreadcrumbItem,
|
|
2559
|
+
Ut as BreadcrumbLink,
|
|
2560
2560
|
It as BreadcrumbList,
|
|
2561
2561
|
Gt as BreadcrumbPage,
|
|
2562
2562
|
Ht as BreadcrumbSeparator,
|
|
@@ -2582,7 +2582,7 @@ export {
|
|
|
2582
2582
|
At as Input,
|
|
2583
2583
|
vt as MegaMenu,
|
|
2584
2584
|
Jt as Modal,
|
|
2585
|
-
|
|
2585
|
+
Ue as PriceDisplay,
|
|
2586
2586
|
I as ProductCard,
|
|
2587
2587
|
Ye as ProductGrid,
|
|
2588
2588
|
ga as ProgressBar,
|
|
@@ -2590,7 +2590,7 @@ export {
|
|
|
2590
2590
|
Tt as RadioGroup,
|
|
2591
2591
|
$t as RadioGroupItem,
|
|
2592
2592
|
F as Rating,
|
|
2593
|
-
|
|
2593
|
+
qe as SearchBar,
|
|
2594
2594
|
Pt as Select,
|
|
2595
2595
|
Et as SelectContent,
|
|
2596
2596
|
Lt as SelectItem,
|