@grupo-elo-editorial/shared-ui-react 1.2.6 → 1.2.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 +20 -0
- package/dist/index.js +116 -116
- 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,26 @@ Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) · Versioning:
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
## [1.2.8] — 2026-05-26 (HeroCarousel — mobile aspect ratio 3:2)
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- **`HeroCarousel`**: mobile aspect ratio updated from `5:6` (portrait, ~497px on iPhone XR) to `3:2` (~276px on iPhone XR = 31% of 896px viewport). The previous ratio made the hero occupy 55% of the screen on common phones, which was disproportionate. Tablet (`16:9`) and desktop (`1920:700`) ratios unchanged. Image spec updated: mobile banners should now be **750 × 500 px** (3:2) instead of 750 × 900 px.
|
|
12
|
+
|
|
13
|
+
- `package.json` `version` bumped `1.2.7 → 1.2.8`.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## [1.2.7] — 2026-05-26 (TopAccessibilityBar — container via design-tokens)
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- **`TopAccessibilityBar`**: inner content wrapper migrated from hardcoded `max-w-7xl` (1280px) to the `<Container>` layout primitive from `../layout/Container`. The component now reads `var(--container-max)` at runtime, so any consuming app that overrides `--container-max` in its global CSS automatically gets the correct max-width on the accessibility bar — no prop needed. Backward-compatible: apps that don't override `--container-max` continue to render at the design-tokens default (1280px).
|
|
22
|
+
|
|
23
|
+
- `package.json` `version` bumped `1.2.6 → 1.2.7`.
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
7
27
|
## [1.2.3] — 2026-05-25 (HeroCarousel — overlay de texto configurável por slide)
|
|
8
28
|
|
|
9
29
|
### Added
|
package/dist/index.js
CHANGED
|
@@ -348,7 +348,7 @@ const $ = N(
|
|
|
348
348
|
}
|
|
349
349
|
);
|
|
350
350
|
$.displayName = "Rating";
|
|
351
|
-
function
|
|
351
|
+
function zt({ className: a, type: t, ...r }) {
|
|
352
352
|
return /* @__PURE__ */ e(
|
|
353
353
|
"input",
|
|
354
354
|
{
|
|
@@ -364,17 +364,17 @@ function kt({ className: a, type: t, ...r }) {
|
|
|
364
364
|
}
|
|
365
365
|
);
|
|
366
366
|
}
|
|
367
|
-
function
|
|
367
|
+
function Ct({
|
|
368
368
|
...a
|
|
369
369
|
}) {
|
|
370
370
|
return /* @__PURE__ */ e(z.Root, { "data-slot": "select", ...a });
|
|
371
371
|
}
|
|
372
|
-
function
|
|
372
|
+
function St({
|
|
373
373
|
...a
|
|
374
374
|
}) {
|
|
375
375
|
return /* @__PURE__ */ e(z.Value, { "data-slot": "select-value", ...a });
|
|
376
376
|
}
|
|
377
|
-
function
|
|
377
|
+
function It({
|
|
378
378
|
className: a,
|
|
379
379
|
size: t = "default",
|
|
380
380
|
children: r,
|
|
@@ -397,7 +397,7 @@ function St({
|
|
|
397
397
|
}
|
|
398
398
|
);
|
|
399
399
|
}
|
|
400
|
-
function
|
|
400
|
+
function jt({
|
|
401
401
|
className: a,
|
|
402
402
|
children: t,
|
|
403
403
|
position: r = "popper",
|
|
@@ -431,7 +431,7 @@ function It({
|
|
|
431
431
|
}
|
|
432
432
|
) });
|
|
433
433
|
}
|
|
434
|
-
function
|
|
434
|
+
function Mt({
|
|
435
435
|
className: a,
|
|
436
436
|
children: t,
|
|
437
437
|
...r
|
|
@@ -486,7 +486,7 @@ function Re({
|
|
|
486
486
|
}
|
|
487
487
|
);
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function Dt({
|
|
490
490
|
className: a,
|
|
491
491
|
...t
|
|
492
492
|
}) {
|
|
@@ -510,7 +510,7 @@ function Mt({
|
|
|
510
510
|
}
|
|
511
511
|
);
|
|
512
512
|
}
|
|
513
|
-
function
|
|
513
|
+
function Lt({
|
|
514
514
|
className: a,
|
|
515
515
|
...t
|
|
516
516
|
}) {
|
|
@@ -523,7 +523,7 @@ function Dt({
|
|
|
523
523
|
}
|
|
524
524
|
);
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
function _t({
|
|
527
527
|
className: a,
|
|
528
528
|
...t
|
|
529
529
|
}) {
|
|
@@ -547,7 +547,7 @@ function Lt({
|
|
|
547
547
|
}
|
|
548
548
|
);
|
|
549
549
|
}
|
|
550
|
-
function
|
|
550
|
+
function Pt({
|
|
551
551
|
className: a,
|
|
552
552
|
...t
|
|
553
553
|
}) {
|
|
@@ -615,7 +615,7 @@ const T = N(
|
|
|
615
615
|
{
|
|
616
616
|
className: o(
|
|
617
617
|
"rounded-lg bg-[var(--muted)]",
|
|
618
|
-
p === "horizontal" ? "h-24 w-20 shrink-0" : "w-full
|
|
618
|
+
p === "horizontal" ? "h-24 w-20 shrink-0" : "h-56 sm:h-60 lg:h-64 w-full"
|
|
619
619
|
)
|
|
620
620
|
}
|
|
621
621
|
),
|
|
@@ -711,7 +711,7 @@ const T = N(
|
|
|
711
711
|
H,
|
|
712
712
|
{
|
|
713
713
|
href: d,
|
|
714
|
-
className: "relative block w-full
|
|
714
|
+
className: "relative block h-56 sm:h-60 lg:h-64 w-full overflow-hidden rounded-t-lg",
|
|
715
715
|
children: [
|
|
716
716
|
/* @__PURE__ */ e(
|
|
717
717
|
"div",
|
|
@@ -730,7 +730,7 @@ const T = N(
|
|
|
730
730
|
{
|
|
731
731
|
src: t,
|
|
732
732
|
alt: r,
|
|
733
|
-
className: "relative z-10 h-full w-full object-
|
|
733
|
+
className: "relative z-10 h-full w-full object-cover transition-transform group-hover:scale-105"
|
|
734
734
|
}
|
|
735
735
|
),
|
|
736
736
|
f && /* @__PURE__ */ e("div", { className: "absolute left-3 top-3 z-20", children: /* @__PURE__ */ e(P, { variant: u, children: f }) }),
|
|
@@ -1041,10 +1041,10 @@ const Be = N(
|
|
|
1041
1041
|
] })
|
|
1042
1042
|
);
|
|
1043
1043
|
Be.displayName = "FormGroup";
|
|
1044
|
-
function
|
|
1044
|
+
function At({ ...a }) {
|
|
1045
1045
|
return /* @__PURE__ */ e("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...a });
|
|
1046
1046
|
}
|
|
1047
|
-
function
|
|
1047
|
+
function Rt({ className: a, ...t }) {
|
|
1048
1048
|
return /* @__PURE__ */ e(
|
|
1049
1049
|
"ol",
|
|
1050
1050
|
{
|
|
@@ -1057,7 +1057,7 @@ function At({ className: a, ...t }) {
|
|
|
1057
1057
|
}
|
|
1058
1058
|
);
|
|
1059
1059
|
}
|
|
1060
|
-
function
|
|
1060
|
+
function Et({ className: a, ...t }) {
|
|
1061
1061
|
return /* @__PURE__ */ e(
|
|
1062
1062
|
"li",
|
|
1063
1063
|
{
|
|
@@ -1067,7 +1067,7 @@ function Rt({ className: a, ...t }) {
|
|
|
1067
1067
|
}
|
|
1068
1068
|
);
|
|
1069
1069
|
}
|
|
1070
|
-
function
|
|
1070
|
+
function $t({
|
|
1071
1071
|
asChild: a,
|
|
1072
1072
|
className: t,
|
|
1073
1073
|
...r
|
|
@@ -1081,7 +1081,7 @@ function Et({
|
|
|
1081
1081
|
}
|
|
1082
1082
|
);
|
|
1083
1083
|
}
|
|
1084
|
-
function
|
|
1084
|
+
function Tt({ className: a, ...t }) {
|
|
1085
1085
|
return /* @__PURE__ */ e(
|
|
1086
1086
|
"span",
|
|
1087
1087
|
{
|
|
@@ -1094,7 +1094,7 @@ function $t({ className: a, ...t }) {
|
|
|
1094
1094
|
}
|
|
1095
1095
|
);
|
|
1096
1096
|
}
|
|
1097
|
-
function
|
|
1097
|
+
function Bt({
|
|
1098
1098
|
children: a,
|
|
1099
1099
|
className: t,
|
|
1100
1100
|
...r
|
|
@@ -1111,12 +1111,12 @@ function Tt({
|
|
|
1111
1111
|
}
|
|
1112
1112
|
);
|
|
1113
1113
|
}
|
|
1114
|
-
function
|
|
1114
|
+
function Vt({
|
|
1115
1115
|
...a
|
|
1116
1116
|
}) {
|
|
1117
1117
|
return /* @__PURE__ */ e(D.Root, { "data-slot": "accordion", ...a });
|
|
1118
1118
|
}
|
|
1119
|
-
function
|
|
1119
|
+
function Ft({
|
|
1120
1120
|
className: a,
|
|
1121
1121
|
...t
|
|
1122
1122
|
}) {
|
|
@@ -1129,7 +1129,7 @@ function Vt({
|
|
|
1129
1129
|
}
|
|
1130
1130
|
);
|
|
1131
1131
|
}
|
|
1132
|
-
function
|
|
1132
|
+
function qt({
|
|
1133
1133
|
className: a,
|
|
1134
1134
|
children: t,
|
|
1135
1135
|
...r
|
|
@@ -1150,7 +1150,7 @@ function Ft({
|
|
|
1150
1150
|
}
|
|
1151
1151
|
) });
|
|
1152
1152
|
}
|
|
1153
|
-
function
|
|
1153
|
+
function Ht({
|
|
1154
1154
|
className: a,
|
|
1155
1155
|
children: t,
|
|
1156
1156
|
...r
|
|
@@ -1178,17 +1178,17 @@ function Ve({
|
|
|
1178
1178
|
}
|
|
1179
1179
|
);
|
|
1180
1180
|
}
|
|
1181
|
-
function
|
|
1181
|
+
function Gt({
|
|
1182
1182
|
...a
|
|
1183
1183
|
}) {
|
|
1184
1184
|
return /* @__PURE__ */ e(Ve, { children: /* @__PURE__ */ e(I.Root, { "data-slot": "tooltip", ...a }) });
|
|
1185
1185
|
}
|
|
1186
|
-
function
|
|
1186
|
+
function Ut({
|
|
1187
1187
|
...a
|
|
1188
1188
|
}) {
|
|
1189
1189
|
return /* @__PURE__ */ e(I.Trigger, { "data-slot": "tooltip-trigger", ...a });
|
|
1190
1190
|
}
|
|
1191
|
-
function
|
|
1191
|
+
function Qt({
|
|
1192
1192
|
className: a,
|
|
1193
1193
|
sideOffset: t = 0,
|
|
1194
1194
|
children: r,
|
|
@@ -1458,8 +1458,8 @@ const He = N(
|
|
|
1458
1458
|
}, u) => {
|
|
1459
1459
|
const v = {
|
|
1460
1460
|
2: "grid-cols-1 sm:grid-cols-2",
|
|
1461
|
-
3: "grid-cols-
|
|
1462
|
-
4: "grid-cols-
|
|
1461
|
+
3: "grid-cols-2 sm:grid-cols-2 lg:grid-cols-3",
|
|
1462
|
+
4: "grid-cols-2 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4",
|
|
1463
1463
|
5: "grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5"
|
|
1464
1464
|
}, g = {
|
|
1465
1465
|
sm: "gap-4",
|
|
@@ -1516,12 +1516,12 @@ const He = N(
|
|
|
1516
1516
|
}
|
|
1517
1517
|
);
|
|
1518
1518
|
He.displayName = "ProductGrid";
|
|
1519
|
-
function
|
|
1519
|
+
function Wt({
|
|
1520
1520
|
...a
|
|
1521
1521
|
}) {
|
|
1522
1522
|
return /* @__PURE__ */ e(w.Root, { "data-slot": "dialog", ...a });
|
|
1523
1523
|
}
|
|
1524
|
-
function
|
|
1524
|
+
function Kt({
|
|
1525
1525
|
...a
|
|
1526
1526
|
}) {
|
|
1527
1527
|
return /* @__PURE__ */ e(w.Trigger, { "data-slot": "dialog-trigger", ...a });
|
|
@@ -1547,7 +1547,7 @@ function Ue({
|
|
|
1547
1547
|
}
|
|
1548
1548
|
);
|
|
1549
1549
|
}
|
|
1550
|
-
function
|
|
1550
|
+
function Ot({
|
|
1551
1551
|
className: a,
|
|
1552
1552
|
children: t,
|
|
1553
1553
|
...r
|
|
@@ -1574,7 +1574,7 @@ function Kt({
|
|
|
1574
1574
|
)
|
|
1575
1575
|
] });
|
|
1576
1576
|
}
|
|
1577
|
-
function
|
|
1577
|
+
function Xt({ className: a, ...t }) {
|
|
1578
1578
|
return /* @__PURE__ */ e(
|
|
1579
1579
|
"div",
|
|
1580
1580
|
{
|
|
@@ -1584,7 +1584,7 @@ function Ot({ className: a, ...t }) {
|
|
|
1584
1584
|
}
|
|
1585
1585
|
);
|
|
1586
1586
|
}
|
|
1587
|
-
function
|
|
1587
|
+
function Yt({ className: a, ...t }) {
|
|
1588
1588
|
return /* @__PURE__ */ e(
|
|
1589
1589
|
"div",
|
|
1590
1590
|
{
|
|
@@ -1597,7 +1597,7 @@ function Xt({ className: a, ...t }) {
|
|
|
1597
1597
|
}
|
|
1598
1598
|
);
|
|
1599
1599
|
}
|
|
1600
|
-
function
|
|
1600
|
+
function Zt({
|
|
1601
1601
|
className: a,
|
|
1602
1602
|
...t
|
|
1603
1603
|
}) {
|
|
@@ -1610,7 +1610,7 @@ function Yt({
|
|
|
1610
1610
|
}
|
|
1611
1611
|
);
|
|
1612
1612
|
}
|
|
1613
|
-
function
|
|
1613
|
+
function Jt({
|
|
1614
1614
|
className: a,
|
|
1615
1615
|
...t
|
|
1616
1616
|
}) {
|
|
@@ -1699,7 +1699,7 @@ function Ze({ className: a, ...t }) {
|
|
|
1699
1699
|
}
|
|
1700
1700
|
);
|
|
1701
1701
|
}
|
|
1702
|
-
function
|
|
1702
|
+
function ea({ className: a, ...t }) {
|
|
1703
1703
|
return /* @__PURE__ */ e(
|
|
1704
1704
|
"div",
|
|
1705
1705
|
{
|
|
@@ -1722,7 +1722,7 @@ function Je({
|
|
|
1722
1722
|
}
|
|
1723
1723
|
);
|
|
1724
1724
|
}
|
|
1725
|
-
function
|
|
1725
|
+
function ta({
|
|
1726
1726
|
className: a,
|
|
1727
1727
|
...t
|
|
1728
1728
|
}) {
|
|
@@ -1735,7 +1735,18 @@ function ea({
|
|
|
1735
1735
|
}
|
|
1736
1736
|
);
|
|
1737
1737
|
}
|
|
1738
|
-
|
|
1738
|
+
function et({ children: a, as: t = "div", className: r }) {
|
|
1739
|
+
return /* @__PURE__ */ e(
|
|
1740
|
+
t,
|
|
1741
|
+
{
|
|
1742
|
+
"data-slot": "container",
|
|
1743
|
+
className: o("w-full mx-auto px-[var(--container-px)]", r),
|
|
1744
|
+
style: { maxWidth: "var(--container-max)" },
|
|
1745
|
+
children: a
|
|
1746
|
+
}
|
|
1747
|
+
);
|
|
1748
|
+
}
|
|
1749
|
+
const tt = N(
|
|
1739
1750
|
({ className: a, onThemeChange: t, onFontSizeChange: r, showA11yLink: n = !1, ...s }, c) => {
|
|
1740
1751
|
const [l, m] = k("light"), [f, u] = k(16), [v, g] = k(!1);
|
|
1741
1752
|
M(() => {
|
|
@@ -1772,7 +1783,7 @@ const et = N(
|
|
|
1772
1783
|
role: "toolbar",
|
|
1773
1784
|
"aria-label": "Ferramentas de acessibilidade",
|
|
1774
1785
|
...s,
|
|
1775
|
-
children: /* @__PURE__ */ i(
|
|
1786
|
+
children: /* @__PURE__ */ i(et, { className: "py-2 flex items-center justify-between", children: [
|
|
1776
1787
|
/* @__PURE__ */ i("div", { className: "flex items-center gap-2 text-sm text-[var(--muted-foreground)]", children: [
|
|
1777
1788
|
/* @__PURE__ */ e(fe, { className: "h-4 w-4 flex-shrink-0", "aria-hidden": "true" }),
|
|
1778
1789
|
/* @__PURE__ */ e("span", { className: "hidden sm:inline", children: "Ferramentas de Acessibilidade" })
|
|
@@ -1857,8 +1868,8 @@ const et = N(
|
|
|
1857
1868
|
);
|
|
1858
1869
|
}
|
|
1859
1870
|
);
|
|
1860
|
-
|
|
1861
|
-
const
|
|
1871
|
+
tt.displayName = "TopAccessibilityBar";
|
|
1872
|
+
const at = N(
|
|
1862
1873
|
({
|
|
1863
1874
|
className: a,
|
|
1864
1875
|
slides: t,
|
|
@@ -1927,7 +1938,7 @@ const tt = N(
|
|
|
1927
1938
|
src: d.imageMobile,
|
|
1928
1939
|
srcSet: `${d.imageMobile} 1x, ${d.imageMobile.replace(/\.(jpg|png)$/, "@2x.$1")} 2x`,
|
|
1929
1940
|
alt: d.title,
|
|
1930
|
-
className: "w-full object-cover aspect-
|
|
1941
|
+
className: "w-full object-cover aspect-3/2 md:aspect-video lg:aspect-1920/700",
|
|
1931
1942
|
loading: p === 0 ? "eager" : "lazy"
|
|
1932
1943
|
}
|
|
1933
1944
|
)
|
|
@@ -1986,8 +1997,8 @@ const tt = N(
|
|
|
1986
1997
|
));
|
|
1987
1998
|
}
|
|
1988
1999
|
);
|
|
1989
|
-
|
|
1990
|
-
function
|
|
2000
|
+
at.displayName = "HeroCarousel";
|
|
2001
|
+
function rt({
|
|
1991
2002
|
className: a,
|
|
1992
2003
|
children: t,
|
|
1993
2004
|
viewport: r = !0,
|
|
@@ -2005,12 +2016,12 @@ function at({
|
|
|
2005
2016
|
...n,
|
|
2006
2017
|
children: [
|
|
2007
2018
|
t,
|
|
2008
|
-
r && /* @__PURE__ */ e(
|
|
2019
|
+
r && /* @__PURE__ */ e(lt, {})
|
|
2009
2020
|
]
|
|
2010
2021
|
}
|
|
2011
2022
|
);
|
|
2012
2023
|
}
|
|
2013
|
-
function
|
|
2024
|
+
function ot({
|
|
2014
2025
|
className: a,
|
|
2015
2026
|
...t
|
|
2016
2027
|
}) {
|
|
@@ -2039,10 +2050,10 @@ function G({
|
|
|
2039
2050
|
}
|
|
2040
2051
|
);
|
|
2041
2052
|
}
|
|
2042
|
-
const
|
|
2053
|
+
const it = L(
|
|
2043
2054
|
"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"
|
|
2044
2055
|
);
|
|
2045
|
-
function
|
|
2056
|
+
function nt({
|
|
2046
2057
|
className: a,
|
|
2047
2058
|
children: t,
|
|
2048
2059
|
...r
|
|
@@ -2051,7 +2062,7 @@ function it({
|
|
|
2051
2062
|
S.Trigger,
|
|
2052
2063
|
{
|
|
2053
2064
|
"data-slot": "navigation-menu-trigger",
|
|
2054
|
-
className: o(
|
|
2065
|
+
className: o(it(), "group", a),
|
|
2055
2066
|
...r,
|
|
2056
2067
|
children: [
|
|
2057
2068
|
t,
|
|
@@ -2067,7 +2078,7 @@ function it({
|
|
|
2067
2078
|
}
|
|
2068
2079
|
);
|
|
2069
2080
|
}
|
|
2070
|
-
function
|
|
2081
|
+
function st({
|
|
2071
2082
|
className: a,
|
|
2072
2083
|
...t
|
|
2073
2084
|
}) {
|
|
@@ -2084,7 +2095,7 @@ function nt({
|
|
|
2084
2095
|
}
|
|
2085
2096
|
);
|
|
2086
2097
|
}
|
|
2087
|
-
function
|
|
2098
|
+
function lt({
|
|
2088
2099
|
className: a,
|
|
2089
2100
|
...t
|
|
2090
2101
|
}) {
|
|
@@ -2124,7 +2135,7 @@ function B({
|
|
|
2124
2135
|
}
|
|
2125
2136
|
);
|
|
2126
2137
|
}
|
|
2127
|
-
function
|
|
2138
|
+
function dt({ items: a }) {
|
|
2128
2139
|
return /* @__PURE__ */ e("ul", { className: "grid gap-0.5 p-2 min-w-[180px]", role: "none", children: a.map(
|
|
2129
2140
|
(t) => {
|
|
2130
2141
|
var r;
|
|
@@ -2206,7 +2217,7 @@ function Y({ item: a, depth: t = 0 }) {
|
|
|
2206
2217
|
)
|
|
2207
2218
|
] });
|
|
2208
2219
|
}
|
|
2209
|
-
const
|
|
2220
|
+
const ct = N(
|
|
2210
2221
|
({ items: a, logo: t, rightSlot: r, searchSlot: n, drawerFooter: s, className: c, ...l }, m) => /* @__PURE__ */ e(
|
|
2211
2222
|
"header",
|
|
2212
2223
|
{
|
|
@@ -2255,12 +2266,12 @@ const dt = N(
|
|
|
2255
2266
|
{
|
|
2256
2267
|
"aria-label": "Menu principal",
|
|
2257
2268
|
className: "hidden border-t border-[var(--border)] py-2 md:flex",
|
|
2258
|
-
children: /* @__PURE__ */ e(
|
|
2269
|
+
children: /* @__PURE__ */ e(rt, { children: /* @__PURE__ */ e(ot, { children: a.map(
|
|
2259
2270
|
(f) => {
|
|
2260
2271
|
var u;
|
|
2261
2272
|
return (u = f.children) != null && u.length ? /* @__PURE__ */ i(G, { children: [
|
|
2262
|
-
/* @__PURE__ */ e(
|
|
2263
|
-
/* @__PURE__ */ e(
|
|
2273
|
+
/* @__PURE__ */ e(nt, { className: "h-9 bg-transparent text-sm text-[var(--foreground)] hover:bg-[var(--accent)]", children: f.label }),
|
|
2274
|
+
/* @__PURE__ */ e(st, { children: /* @__PURE__ */ e(dt, { items: f.children }) })
|
|
2264
2275
|
] }, f.id) : /* @__PURE__ */ e(G, { children: /* @__PURE__ */ e(
|
|
2265
2276
|
B,
|
|
2266
2277
|
{
|
|
@@ -2277,8 +2288,8 @@ const dt = N(
|
|
|
2277
2288
|
}
|
|
2278
2289
|
)
|
|
2279
2290
|
);
|
|
2280
|
-
|
|
2281
|
-
const
|
|
2291
|
+
ct.displayName = "MegaMenu";
|
|
2292
|
+
const ut = [
|
|
2282
2293
|
{
|
|
2283
2294
|
id: "catalogo",
|
|
2284
2295
|
title: "Catálogo",
|
|
@@ -2311,13 +2322,13 @@ const ct = [
|
|
|
2311
2322
|
{ label: "Sobre o APP", href: "/sobre-app" }
|
|
2312
2323
|
]
|
|
2313
2324
|
}
|
|
2314
|
-
],
|
|
2325
|
+
], mt = [
|
|
2315
2326
|
{ label: "Instagram", href: "https://instagram.com/eloeditora", Icon: Ne },
|
|
2316
2327
|
{ label: "Facebook", href: "https://facebook.com/eloeditora", Icon: we },
|
|
2317
2328
|
{ label: "YouTube", href: "https://youtube.com/@eloeditora", Icon: ye },
|
|
2318
2329
|
{ label: "LinkedIn", href: "https://linkedin.com/company/eloeditora", Icon: ke }
|
|
2319
2330
|
];
|
|
2320
|
-
function
|
|
2331
|
+
function ft({ onSubmit: a }) {
|
|
2321
2332
|
const [t, r] = k(""), [n, s] = k(!1);
|
|
2322
2333
|
return /* @__PURE__ */ e("div", { className: "bg-[var(--brand-primary)] py-10", children: /* @__PURE__ */ i("div", { className: "mx-auto max-w-lg px-4 text-center", children: [
|
|
2323
2334
|
/* @__PURE__ */ e(ze, { className: "mx-auto mb-4 h-10 w-10 text-white", "aria-hidden": "true" }),
|
|
@@ -2351,7 +2362,7 @@ function mt({ onSubmit: a }) {
|
|
|
2351
2362
|
] })
|
|
2352
2363
|
] }) });
|
|
2353
2364
|
}
|
|
2354
|
-
function
|
|
2365
|
+
function gt({ title: a, links: t }) {
|
|
2355
2366
|
const [r, n] = k(!1);
|
|
2356
2367
|
return /* @__PURE__ */ i("div", { className: "border-b border-[var(--border)] md:border-none", children: [
|
|
2357
2368
|
/* @__PURE__ */ i(
|
|
@@ -2394,7 +2405,7 @@ function ft({ title: a, links: t }) {
|
|
|
2394
2405
|
)
|
|
2395
2406
|
] });
|
|
2396
2407
|
}
|
|
2397
|
-
const
|
|
2408
|
+
const vt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, className: r, ...n }) => {
|
|
2398
2409
|
const [s, c] = k("light");
|
|
2399
2410
|
M(() => {
|
|
2400
2411
|
const u = document.documentElement;
|
|
@@ -2412,7 +2423,7 @@ const gt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, className: r, ...
|
|
|
2412
2423
|
"aria-label": "Rodapé do site",
|
|
2413
2424
|
...n,
|
|
2414
2425
|
children: [
|
|
2415
|
-
/* @__PURE__ */ e(
|
|
2426
|
+
/* @__PURE__ */ e(ft, { onSubmit: t }),
|
|
2416
2427
|
/* @__PURE__ */ i("div", { className: "mx-auto max-w-screen-xl px-4", children: [
|
|
2417
2428
|
/* @__PURE__ */ i("div", { className: "py-10 md:grid md:grid-cols-4 md:gap-8", children: [
|
|
2418
2429
|
/* @__PURE__ */ i("div", { className: "mb-8 md:mb-0", children: [
|
|
@@ -2427,7 +2438,7 @@ const gt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, className: r, ...
|
|
|
2427
2438
|
}
|
|
2428
2439
|
),
|
|
2429
2440
|
/* @__PURE__ */ e("p", { className: "mt-3 max-w-xs text-sm text-[var(--muted-foreground)]", children: f }),
|
|
2430
|
-
/* @__PURE__ */ e("div", { className: "mt-6 flex flex-wrap gap-2", "aria-label": "Redes sociais", children:
|
|
2441
|
+
/* @__PURE__ */ e("div", { className: "mt-6 flex flex-wrap gap-2", "aria-label": "Redes sociais", children: mt.map(({ label: u, href: v, Icon: g }) => /* @__PURE__ */ e(
|
|
2431
2442
|
"a",
|
|
2432
2443
|
{
|
|
2433
2444
|
href: v,
|
|
@@ -2445,7 +2456,7 @@ const gt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, className: r, ...
|
|
|
2445
2456
|
/* @__PURE__ */ e("p", { className: "font-medium text-[var(--foreground)]", children: "(11) 3000-0000" })
|
|
2446
2457
|
] })
|
|
2447
2458
|
] }),
|
|
2448
|
-
|
|
2459
|
+
ut.map((u) => /* @__PURE__ */ e(gt, { title: u.title, links: u.links }, u.id))
|
|
2449
2460
|
] }),
|
|
2450
2461
|
/* @__PURE__ */ i("div", { className: "flex flex-col gap-2 border-t border-[var(--border)] py-6 text-xs text-[var(--muted-foreground)] sm:flex-row sm:items-center sm:justify-between", children: [
|
|
2451
2462
|
/* @__PURE__ */ i("p", { children: [
|
|
@@ -2464,18 +2475,7 @@ const gt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, className: r, ...
|
|
|
2464
2475
|
}
|
|
2465
2476
|
);
|
|
2466
2477
|
};
|
|
2467
|
-
|
|
2468
|
-
function ta({ children: a, as: t = "div", className: r }) {
|
|
2469
|
-
return /* @__PURE__ */ e(
|
|
2470
|
-
t,
|
|
2471
|
-
{
|
|
2472
|
-
"data-slot": "container",
|
|
2473
|
-
className: o("w-full mx-auto px-[var(--container-px)]", r),
|
|
2474
|
-
style: { maxWidth: "var(--container-max)" },
|
|
2475
|
-
children: a
|
|
2476
|
-
}
|
|
2477
|
-
);
|
|
2478
|
-
}
|
|
2478
|
+
vt.displayName = "Footer";
|
|
2479
2479
|
function aa({ children: a, className: t }) {
|
|
2480
2480
|
return /* @__PURE__ */ e(
|
|
2481
2481
|
"div",
|
|
@@ -2489,7 +2489,7 @@ function aa({ children: a, className: t }) {
|
|
|
2489
2489
|
}
|
|
2490
2490
|
);
|
|
2491
2491
|
}
|
|
2492
|
-
const
|
|
2492
|
+
const pt = {
|
|
2493
2493
|
1: "col-span-1",
|
|
2494
2494
|
2: "col-span-2",
|
|
2495
2495
|
3: "col-span-3",
|
|
@@ -2498,71 +2498,71 @@ const vt = {
|
|
|
2498
2498
|
6: "col-span-6"
|
|
2499
2499
|
};
|
|
2500
2500
|
function ra({ children: a, span: t, className: r }) {
|
|
2501
|
-
return /* @__PURE__ */ e("div", { "data-slot": "col", className: o("min-w-0", t &&
|
|
2501
|
+
return /* @__PURE__ */ e("div", { "data-slot": "col", className: o("min-w-0", t && pt[t], r), children: a });
|
|
2502
2502
|
}
|
|
2503
2503
|
export {
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2504
|
+
Vt as Accordion,
|
|
2505
|
+
Ht as AccordionContent,
|
|
2506
|
+
Ft as AccordionItem,
|
|
2507
|
+
qt as AccordionTrigger,
|
|
2508
2508
|
De as Avatar,
|
|
2509
2509
|
P as Badge,
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2510
|
+
At as Breadcrumb,
|
|
2511
|
+
Et as BreadcrumbItem,
|
|
2512
|
+
$t as BreadcrumbLink,
|
|
2513
|
+
Rt as BreadcrumbList,
|
|
2514
|
+
Tt as BreadcrumbPage,
|
|
2515
|
+
Bt as BreadcrumbSeparator,
|
|
2516
2516
|
C as Button,
|
|
2517
|
-
|
|
2517
|
+
Dt as Checkbox,
|
|
2518
2518
|
ra as Col,
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2519
|
+
et as Container,
|
|
2520
|
+
Ot as DialogContent,
|
|
2521
|
+
Jt as DialogDescription,
|
|
2522
|
+
Yt as DialogFooter,
|
|
2523
|
+
Xt as DialogHeader,
|
|
2524
|
+
Zt as DialogTitle,
|
|
2525
|
+
Kt as DialogTrigger,
|
|
2526
2526
|
Pe as Divider,
|
|
2527
2527
|
Qe as Drawer,
|
|
2528
2528
|
X as EmptyState,
|
|
2529
2529
|
qe as ErrorState,
|
|
2530
|
-
|
|
2530
|
+
vt as Footer,
|
|
2531
2531
|
Be as FormGroup,
|
|
2532
2532
|
aa as Grid,
|
|
2533
2533
|
Fe as Hero,
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2534
|
+
at as HeroCarousel,
|
|
2535
|
+
zt as Input,
|
|
2536
|
+
ct as MegaMenu,
|
|
2537
|
+
Wt as Modal,
|
|
2538
2538
|
$e as PriceDisplay,
|
|
2539
2539
|
T as ProductCard,
|
|
2540
2540
|
He as ProductGrid,
|
|
2541
2541
|
la as ProgressBar,
|
|
2542
2542
|
Te as QuantitySelector,
|
|
2543
|
-
|
|
2544
|
-
|
|
2543
|
+
Lt as RadioGroup,
|
|
2544
|
+
_t as RadioGroupItem,
|
|
2545
2545
|
$ as Rating,
|
|
2546
2546
|
Ee as SearchBar,
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2547
|
+
Ct as Select,
|
|
2548
|
+
jt as SelectContent,
|
|
2549
|
+
Mt as SelectItem,
|
|
2550
|
+
It as SelectTrigger,
|
|
2551
|
+
St as SelectValue,
|
|
2552
2552
|
Ye as SheetContent,
|
|
2553
|
-
|
|
2554
|
-
|
|
2553
|
+
ta as SheetDescription,
|
|
2554
|
+
ea as SheetFooter,
|
|
2555
2555
|
Ze as SheetHeader,
|
|
2556
2556
|
Je as SheetTitle,
|
|
2557
2557
|
We as SheetTrigger,
|
|
2558
2558
|
_e as Spinner,
|
|
2559
2559
|
Ie as Textarea,
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2560
|
+
Pt as Toggle,
|
|
2561
|
+
Gt as Tooltip,
|
|
2562
|
+
Qt as TooltipContent,
|
|
2563
2563
|
Ve as TooltipProvider,
|
|
2564
|
-
|
|
2565
|
-
|
|
2564
|
+
Ut as TooltipTrigger,
|
|
2565
|
+
tt as TopAccessibilityBar,
|
|
2566
2566
|
Me as avatarVariants,
|
|
2567
2567
|
je as badgeVariants,
|
|
2568
2568
|
Se as buttonVariants,
|