@grupo-elo-editorial/shared-ui-react 1.2.1 → 1.2.3
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 +24 -0
- package/dist/components/prd/HeroCarousel.d.ts +2 -0
- package/dist/index.js +45 -45
- 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,30 @@ Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) · Versioning:
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
## [1.2.3] — 2026-05-25 (HeroCarousel — overlay de texto configurável por slide)
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- **`HeroSlide.showOverlay`** (`boolean`, default `false`): quando `true`, renderiza um overlay gradiente sobre a imagem com `title`, `description` e `cta` do slide. Permite que banners com imagem neutra exibam texto dinâmico; banners com artwork que já contém o texto continuam com `showOverlay: false` (comportamento padrão inalterado).
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- `package.json` `version` bumped `1.2.2 → 1.2.3`.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## [1.2.2] — 2026-05-25 (HeroCarousel — remove text overlay)
|
|
20
|
+
|
|
21
|
+
### Fixed
|
|
22
|
+
|
|
23
|
+
- **`HeroCarousel`**: removed the text/CTA overlay rendered on top of banner images (gradient backdrop, `<h2>` title, `<p>` description, and anchor CTA). Banner artwork is now displayed clean — textual content is part of the image itself. The `title` prop is preserved as `alt` text on the `<img>` for accessibility.
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- `package.json` `version` bumped `1.2.1 → 1.2.2`.
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
7
31
|
## [1.2.1] — 2026-05-24 (Hotfix — exports.development leaking into published tarball)
|
|
8
32
|
|
|
9
33
|
### Fixed
|
package/dist/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { clsx as
|
|
3
|
-
import { twMerge as
|
|
2
|
+
import { clsx as Z } from "clsx";
|
|
3
|
+
import { twMerge as J } from "tailwind-merge";
|
|
4
4
|
import { jsx as e, jsxs as i, Fragment as A } 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
|
|
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
7
|
import { cva as P } 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
10
|
import * as T from "@radix-ui/react-radio-group";
|
|
11
11
|
import * as q from "@radix-ui/react-switch";
|
|
12
|
-
import { Slot as
|
|
12
|
+
import { Slot as Ce } from "@radix-ui/react-slot";
|
|
13
13
|
import * as _ from "@radix-ui/react-accordion";
|
|
14
14
|
import * as I from "@radix-ui/react-tooltip";
|
|
15
15
|
import { toast as na } from "sonner";
|
|
@@ -17,9 +17,9 @@ import { Progress as la } from "@radix-ui/react-progress";
|
|
|
17
17
|
import * as w from "@radix-ui/react-dialog";
|
|
18
18
|
import * as S from "@radix-ui/react-navigation-menu";
|
|
19
19
|
function o(...a) {
|
|
20
|
-
return
|
|
20
|
+
return J(Z(a));
|
|
21
21
|
}
|
|
22
|
-
const
|
|
22
|
+
const Se = P(
|
|
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: {
|
|
@@ -60,7 +60,7 @@ const X = P(
|
|
|
60
60
|
}, v) => /* @__PURE__ */ e(
|
|
61
61
|
"button",
|
|
62
62
|
{
|
|
63
|
-
className: o(
|
|
63
|
+
className: o(Se({ variant: t, size: r, fullWidth: n, className: a })),
|
|
64
64
|
ref: v,
|
|
65
65
|
disabled: f || s,
|
|
66
66
|
...u,
|
|
@@ -193,7 +193,7 @@ const Me = P(
|
|
|
193
193
|
className: "h-full w-full object-cover",
|
|
194
194
|
...m
|
|
195
195
|
}
|
|
196
|
-
) : s ? /* @__PURE__ */ e("span", { className: "font-medium", children: g(s) }) : /* @__PURE__ */ e(
|
|
196
|
+
) : s ? /* @__PURE__ */ e("span", { className: "font-medium", children: g(s) }) : /* @__PURE__ */ e(ee, { className: "h-1/2 w-1/2" }),
|
|
197
197
|
c && /* @__PURE__ */ e(
|
|
198
198
|
"span",
|
|
199
199
|
{
|
|
@@ -328,7 +328,7 @@ const $ = N(
|
|
|
328
328
|
),
|
|
329
329
|
"aria-label": `Rate ${x} out of ${r}`,
|
|
330
330
|
children: /* @__PURE__ */ e(
|
|
331
|
-
|
|
331
|
+
te,
|
|
332
332
|
{
|
|
333
333
|
className: o(
|
|
334
334
|
g[n],
|
|
@@ -465,7 +465,7 @@ function Ee({
|
|
|
465
465
|
a
|
|
466
466
|
),
|
|
467
467
|
...t,
|
|
468
|
-
children: /* @__PURE__ */ e(
|
|
468
|
+
children: /* @__PURE__ */ e(ae, { className: "size-4" })
|
|
469
469
|
}
|
|
470
470
|
);
|
|
471
471
|
}
|
|
@@ -541,7 +541,7 @@ function Pt({
|
|
|
541
541
|
{
|
|
542
542
|
"data-slot": "radio-group-indicator",
|
|
543
543
|
className: "relative flex items-center justify-center",
|
|
544
|
-
children: /* @__PURE__ */ e(
|
|
544
|
+
children: /* @__PURE__ */ e(re, { className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
|
|
545
545
|
}
|
|
546
546
|
)
|
|
547
547
|
}
|
|
@@ -733,7 +733,7 @@ const R = N(
|
|
|
733
733
|
className: "absolute right-3 top-3 rounded-full bg-white/90 p-2 transition-all hover:bg-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
|
|
734
734
|
"aria-label": x ? "Remover dos favoritos" : "Adicionar aos favoritos",
|
|
735
735
|
children: /* @__PURE__ */ e(
|
|
736
|
-
|
|
736
|
+
oe,
|
|
737
737
|
{
|
|
738
738
|
className: o(
|
|
739
739
|
"h-5 w-5",
|
|
@@ -849,7 +849,7 @@ const Te = N(
|
|
|
849
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
|
-
children: /* @__PURE__ */ e(
|
|
852
|
+
children: /* @__PURE__ */ e(ie, { className: "h-4 w-4 text-[var(--muted-foreground)]" })
|
|
853
853
|
}
|
|
854
854
|
)
|
|
855
855
|
] })
|
|
@@ -962,7 +962,7 @@ const Re = N(
|
|
|
962
962
|
disabled: l || t <= r,
|
|
963
963
|
className: o(h[c], "p-0"),
|
|
964
964
|
"aria-label": "Decrease quantity",
|
|
965
|
-
children: /* @__PURE__ */ e(
|
|
965
|
+
children: /* @__PURE__ */ e(ne, { className: "h-4 w-4" })
|
|
966
966
|
}
|
|
967
967
|
),
|
|
968
968
|
/* @__PURE__ */ e(
|
|
@@ -994,7 +994,7 @@ const Re = N(
|
|
|
994
994
|
disabled: l || t >= n,
|
|
995
995
|
className: o(h[c], "p-0"),
|
|
996
996
|
"aria-label": "Increase quantity",
|
|
997
|
-
children: /* @__PURE__ */ e(
|
|
997
|
+
children: /* @__PURE__ */ e(se, { className: "h-4 w-4" })
|
|
998
998
|
}
|
|
999
999
|
)
|
|
1000
1000
|
] })
|
|
@@ -1061,7 +1061,7 @@ function Tt({
|
|
|
1061
1061
|
...r
|
|
1062
1062
|
}) {
|
|
1063
1063
|
return /* @__PURE__ */ e(
|
|
1064
|
-
a ?
|
|
1064
|
+
a ? Ce : "a",
|
|
1065
1065
|
{
|
|
1066
1066
|
"data-slot": "breadcrumb-link",
|
|
1067
1067
|
className: o("hover:text-foreground transition-colors", t),
|
|
@@ -1307,7 +1307,7 @@ const Fe = N(
|
|
|
1307
1307
|
)
|
|
1308
1308
|
);
|
|
1309
1309
|
Fe.displayName = "Hero";
|
|
1310
|
-
const
|
|
1310
|
+
const X = N(
|
|
1311
1311
|
({
|
|
1312
1312
|
className: a,
|
|
1313
1313
|
variant: t = "default",
|
|
@@ -1318,10 +1318,10 @@ const Y = N(
|
|
|
1318
1318
|
...l
|
|
1319
1319
|
}, m) => {
|
|
1320
1320
|
const u = r || {
|
|
1321
|
-
default: /* @__PURE__ */ e(
|
|
1321
|
+
default: /* @__PURE__ */ e(de, { className: "h-16 w-16" }),
|
|
1322
1322
|
search: /* @__PURE__ */ e(Q, { className: "h-16 w-16" }),
|
|
1323
1323
|
cart: /* @__PURE__ */ e(L, { className: "h-16 w-16" }),
|
|
1324
|
-
error: /* @__PURE__ */ e(
|
|
1324
|
+
error: /* @__PURE__ */ e(le, { className: "h-16 w-16" })
|
|
1325
1325
|
}[t];
|
|
1326
1326
|
return /* @__PURE__ */ i(
|
|
1327
1327
|
"div",
|
|
@@ -1351,7 +1351,7 @@ const Y = N(
|
|
|
1351
1351
|
);
|
|
1352
1352
|
}
|
|
1353
1353
|
);
|
|
1354
|
-
|
|
1354
|
+
X.displayName = "EmptyState";
|
|
1355
1355
|
const qe = N(
|
|
1356
1356
|
({
|
|
1357
1357
|
className: a,
|
|
@@ -1400,7 +1400,7 @@ const qe = N(
|
|
|
1400
1400
|
children: [
|
|
1401
1401
|
/* @__PURE__ */ i("div", { className: "flex flex-col items-center gap-4", children: [
|
|
1402
1402
|
g.code && /* @__PURE__ */ e("h1", { className: "text-9xl font-bold text-[var(--muted)] opacity-40", children: g.code }),
|
|
1403
|
-
/* @__PURE__ */ e("div", { className: "rounded-full bg-[var(--destructive)]/10 p-6 text-[var(--destructive)]", children: /* @__PURE__ */ e(
|
|
1403
|
+
/* @__PURE__ */ e("div", { className: "rounded-full bg-[var(--destructive)]/10 p-6 text-[var(--destructive)]", children: /* @__PURE__ */ e(ce, { className: "h-16 w-16" }) })
|
|
1404
1404
|
] }),
|
|
1405
1405
|
/* @__PURE__ */ e("h2", { className: "mt-6 text-2xl font-bold text-[var(--foreground)]", children: b }),
|
|
1406
1406
|
/* @__PURE__ */ e("p", { className: "mt-2 max-w-md text-[var(--muted-foreground)]", children: h }),
|
|
@@ -1411,7 +1411,7 @@ const qe = N(
|
|
|
1411
1411
|
onClick: s,
|
|
1412
1412
|
variant: "primary",
|
|
1413
1413
|
size: "lg",
|
|
1414
|
-
leftIcon: /* @__PURE__ */ e(
|
|
1414
|
+
leftIcon: /* @__PURE__ */ e(ue, { className: "h-5 w-5" }),
|
|
1415
1415
|
children: "Tentar novamente"
|
|
1416
1416
|
}
|
|
1417
1417
|
),
|
|
@@ -1421,7 +1421,7 @@ const qe = N(
|
|
|
1421
1421
|
onClick: c,
|
|
1422
1422
|
variant: "secondary",
|
|
1423
1423
|
size: "lg",
|
|
1424
|
-
leftIcon: /* @__PURE__ */ e(
|
|
1424
|
+
leftIcon: /* @__PURE__ */ e(me, { className: "h-5 w-5" }),
|
|
1425
1425
|
children: "Voltar ao início"
|
|
1426
1426
|
}
|
|
1427
1427
|
)
|
|
@@ -1477,7 +1477,7 @@ const He = N(
|
|
|
1477
1477
|
))
|
|
1478
1478
|
}
|
|
1479
1479
|
) : t.length === 0 ? /* @__PURE__ */ e(
|
|
1480
|
-
|
|
1480
|
+
X,
|
|
1481
1481
|
{
|
|
1482
1482
|
variant: "search",
|
|
1483
1483
|
title: l,
|
|
@@ -1762,7 +1762,7 @@ const et = N(
|
|
|
1762
1762
|
...s,
|
|
1763
1763
|
children: /* @__PURE__ */ i("div", { className: "mx-auto max-w-7xl px-4 py-2 flex items-center justify-between", children: [
|
|
1764
1764
|
/* @__PURE__ */ i("div", { className: "flex items-center gap-2 text-sm text-[var(--muted-foreground)]", children: [
|
|
1765
|
-
/* @__PURE__ */ e(
|
|
1765
|
+
/* @__PURE__ */ e(fe, { className: "h-4 w-4 flex-shrink-0", "aria-hidden": "true" }),
|
|
1766
1766
|
/* @__PURE__ */ e("span", { className: "hidden sm:inline", children: "Ferramentas de Acessibilidade" })
|
|
1767
1767
|
] }),
|
|
1768
1768
|
/* @__PURE__ */ i("div", { className: "flex items-center gap-2 md:gap-4", children: [
|
|
@@ -1787,7 +1787,7 @@ const et = N(
|
|
|
1787
1787
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
|
|
1788
1788
|
"disabled:opacity-40 disabled:cursor-not-allowed"
|
|
1789
1789
|
),
|
|
1790
|
-
children: /* @__PURE__ */ e(
|
|
1790
|
+
children: /* @__PURE__ */ e(ge, { className: "h-4 w-4" })
|
|
1791
1791
|
}
|
|
1792
1792
|
),
|
|
1793
1793
|
/* @__PURE__ */ e("span", { className: "text-xs text-[var(--muted-foreground)] w-3 text-center select-none", "aria-hidden": "true", children: "A" }),
|
|
@@ -1803,7 +1803,7 @@ const et = N(
|
|
|
1803
1803
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
|
|
1804
1804
|
"disabled:opacity-40 disabled:cursor-not-allowed"
|
|
1805
1805
|
),
|
|
1806
|
-
children: /* @__PURE__ */ e(
|
|
1806
|
+
children: /* @__PURE__ */ e(ve, { className: "h-4 w-4" })
|
|
1807
1807
|
}
|
|
1808
1808
|
)
|
|
1809
1809
|
] }),
|
|
@@ -1817,7 +1817,7 @@ const et = N(
|
|
|
1817
1817
|
"p-2 rounded-md transition-colors text-[var(--muted-foreground)] hover:bg-[var(--muted)]",
|
|
1818
1818
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]"
|
|
1819
1819
|
),
|
|
1820
|
-
children: l === "light" ? /* @__PURE__ */ e(
|
|
1820
|
+
children: l === "light" ? /* @__PURE__ */ e(pe, { className: "h-4 w-4" }) : /* @__PURE__ */ e(be, { className: "h-4 w-4" })
|
|
1821
1821
|
}
|
|
1822
1822
|
),
|
|
1823
1823
|
/* @__PURE__ */ e(
|
|
@@ -1920,18 +1920,18 @@ const tt = N(
|
|
|
1920
1920
|
}
|
|
1921
1921
|
)
|
|
1922
1922
|
] }),
|
|
1923
|
-
/* @__PURE__ */
|
|
1924
|
-
/* @__PURE__ */ e("h2", { className: "text-
|
|
1925
|
-
/* @__PURE__ */ e("p", { className: "
|
|
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
1926
|
d.cta && /* @__PURE__ */ e(
|
|
1927
1927
|
"a",
|
|
1928
1928
|
{
|
|
1929
1929
|
href: d.cta.href,
|
|
1930
|
-
className:
|
|
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
1931
|
children: d.cta.label
|
|
1932
1932
|
}
|
|
1933
1933
|
)
|
|
1934
|
-
] })
|
|
1934
|
+
] })
|
|
1935
1935
|
]
|
|
1936
1936
|
},
|
|
1937
1937
|
d.id
|
|
@@ -1943,7 +1943,7 @@ const tt = N(
|
|
|
1943
1943
|
onClick: h,
|
|
1944
1944
|
className: "absolute left-4 top-1/2 -translate-y-1/2 rounded-full bg-white/90 p-2 shadow-lg transition-all hover:bg-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] min-w-[44px] min-h-[44px]",
|
|
1945
1945
|
"aria-label": "Slide anterior",
|
|
1946
|
-
children: /* @__PURE__ */ e(
|
|
1946
|
+
children: /* @__PURE__ */ e(he, { className: "h-6 w-6 text-gray-900" })
|
|
1947
1947
|
}
|
|
1948
1948
|
),
|
|
1949
1949
|
/* @__PURE__ */ e(
|
|
@@ -2144,7 +2144,7 @@ function lt({ items: a }) {
|
|
|
2144
2144
|
}
|
|
2145
2145
|
) });
|
|
2146
2146
|
}
|
|
2147
|
-
function
|
|
2147
|
+
function Y({ item: a, depth: t = 0 }) {
|
|
2148
2148
|
var c;
|
|
2149
2149
|
const [r, n] = k(!1);
|
|
2150
2150
|
return !((c = a.children) != null && c.length) ? /* @__PURE__ */ e(Ke, { asChild: !0, children: /* @__PURE__ */ e(
|
|
@@ -2189,7 +2189,7 @@ function Z({ item: a, depth: t = 0 }) {
|
|
|
2189
2189
|
{
|
|
2190
2190
|
id: `mobile-nav-${a.id}`,
|
|
2191
2191
|
className: "mb-1 ml-2 border-l-2 border-[var(--border)] pl-3",
|
|
2192
|
-
children: a.children.map((l) => /* @__PURE__ */ e(
|
|
2192
|
+
children: a.children.map((l) => /* @__PURE__ */ e(Y, { item: l, depth: t + 1 }, l.id))
|
|
2193
2193
|
}
|
|
2194
2194
|
)
|
|
2195
2195
|
] });
|
|
@@ -2217,7 +2217,7 @@ const dt = N(
|
|
|
2217
2217
|
type: "button",
|
|
2218
2218
|
"aria-label": "Abrir menu de navegação",
|
|
2219
2219
|
className: "inline-flex min-h-[44px] min-w-[44px] items-center justify-center rounded-lg text-[var(--foreground)] transition-colors hover:bg-[var(--accent)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] md:hidden",
|
|
2220
|
-
children: /* @__PURE__ */ e(
|
|
2220
|
+
children: /* @__PURE__ */ e(xe, { className: "h-5 w-5", "aria-hidden": "true" })
|
|
2221
2221
|
}
|
|
2222
2222
|
) }),
|
|
2223
2223
|
/* @__PURE__ */ i(Ye, { side: "left", className: "flex flex-col p-0", children: [
|
|
@@ -2231,7 +2231,7 @@ const dt = N(
|
|
|
2231
2231
|
{
|
|
2232
2232
|
"aria-label": "Menu principal",
|
|
2233
2233
|
className: "flex-1 overflow-y-auto px-5 py-3",
|
|
2234
|
-
children: /* @__PURE__ */ e("div", { className: "divide-y divide-[var(--border)]", children: a.map((f) => /* @__PURE__ */ e("div", { className: "py-0.5", children: /* @__PURE__ */ e(
|
|
2234
|
+
children: /* @__PURE__ */ e("div", { className: "divide-y divide-[var(--border)]", children: a.map((f) => /* @__PURE__ */ e("div", { className: "py-0.5", children: /* @__PURE__ */ e(Y, { item: f }) }, f.id)) })
|
|
2235
2235
|
}
|
|
2236
2236
|
),
|
|
2237
2237
|
s && /* @__PURE__ */ e("div", { className: "border-t border-[var(--border)] px-5 py-4", children: s })
|
|
@@ -2300,15 +2300,15 @@ const ct = [
|
|
|
2300
2300
|
]
|
|
2301
2301
|
}
|
|
2302
2302
|
], ut = [
|
|
2303
|
-
{ label: "Instagram", href: "https://instagram.com/eloeditora", Icon:
|
|
2304
|
-
{ label: "Facebook", href: "https://facebook.com/eloeditora", Icon:
|
|
2305
|
-
{ label: "YouTube", href: "https://youtube.com/@eloeditora", Icon:
|
|
2306
|
-
{ label: "LinkedIn", href: "https://linkedin.com/company/eloeditora", Icon:
|
|
2303
|
+
{ label: "Instagram", href: "https://instagram.com/eloeditora", Icon: Ne },
|
|
2304
|
+
{ label: "Facebook", href: "https://facebook.com/eloeditora", Icon: we },
|
|
2305
|
+
{ label: "YouTube", href: "https://youtube.com/@eloeditora", Icon: ye },
|
|
2306
|
+
{ label: "LinkedIn", href: "https://linkedin.com/company/eloeditora", Icon: ke }
|
|
2307
2307
|
];
|
|
2308
2308
|
function mt({ onSubmit: a }) {
|
|
2309
2309
|
const [t, r] = k(""), [n, s] = k(!1);
|
|
2310
2310
|
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: [
|
|
2311
|
-
/* @__PURE__ */ e(
|
|
2311
|
+
/* @__PURE__ */ e(ze, { className: "mx-auto mb-4 h-10 w-10 text-white", "aria-hidden": "true" }),
|
|
2312
2312
|
/* @__PURE__ */ e("h2", { className: "text-xl font-semibold text-white sm:text-2xl", children: "Receba novidades e ofertas exclusivas" }),
|
|
2313
2313
|
/* @__PURE__ */ e("p", { className: "mt-2 text-sm", style: { color: "rgba(255,255,255,0.85)" }, children: "Cadastre-se e fique por dentro dos lançamentos. Sem spam." }),
|
|
2314
2314
|
n ? /* @__PURE__ */ e("p", { className: "mt-6 text-sm font-medium text-white", children: "Obrigado! Você está na lista. ✓" }) : /* @__PURE__ */ i("form", { onSubmit: (l) => {
|
|
@@ -2513,7 +2513,7 @@ export {
|
|
|
2513
2513
|
Wt as DialogTrigger,
|
|
2514
2514
|
De as Divider,
|
|
2515
2515
|
Qe as Drawer,
|
|
2516
|
-
|
|
2516
|
+
X as EmptyState,
|
|
2517
2517
|
qe as ErrorState,
|
|
2518
2518
|
gt as Footer,
|
|
2519
2519
|
Be as FormGroup,
|
|
@@ -2553,7 +2553,7 @@ export {
|
|
|
2553
2553
|
et as TopAccessibilityBar,
|
|
2554
2554
|
Me as avatarVariants,
|
|
2555
2555
|
je as badgeVariants,
|
|
2556
|
-
|
|
2556
|
+
Se as buttonVariants,
|
|
2557
2557
|
o as cn,
|
|
2558
2558
|
Pe as spinnerVariants,
|
|
2559
2559
|
na as toast
|