@grupo-elo-editorial/shared-ui-react 1.3.0 → 1.3.1
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 +12 -6
- 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.3.1] — 2026-06-02 (HeroCarousel — dots pagination visualmente corretos)
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **`HeroCarousel`**: dots de pagination corrigidos — o `min-h-[24px]` do touch target sobrescrevia `h-1.5` tornando os dots visualmente grandes (44×24 px de fundo). Separado o touch target (button transparente `min-w-11 min-h-6 group`) do visual (inner `<span>`) para que o fundo colorido tenha exatamente `h-1 w-1` (inativo) ou `h-1 w-3` (ativo). Cores: `bg-white/40` inativo → `bg-white/60` no `group-hover`; `bg-white` ativo. Gap: `gap-2` → `gap-1.5`. Touch targets e `focus-visible:ring` preservados (WCAG 2.5.5 / 1.4.11).
|
|
12
|
+
- `package.json` `version` bumped `1.3.0 → 1.3.1`.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
7
16
|
## [1.3.0] — 2026-06-02 (HeroCarousel — polish visual nos controles de navegação)
|
|
8
17
|
|
|
9
18
|
### Changed
|
package/dist/index.js
CHANGED
|
@@ -1960,16 +1960,22 @@ const at = x(
|
|
|
1960
1960
|
}
|
|
1961
1961
|
)
|
|
1962
1962
|
] }),
|
|
1963
|
-
t.length > 1 && /* @__PURE__ */ e("div", { className: "absolute bottom-4 left-1/2 -translate-x-1/2 flex gap-
|
|
1963
|
+
t.length > 1 && /* @__PURE__ */ e("div", { className: "absolute bottom-4 left-1/2 -translate-x-1/2 flex gap-1.5", children: t.map((d, v) => /* @__PURE__ */ e(
|
|
1964
1964
|
"button",
|
|
1965
1965
|
{
|
|
1966
1966
|
onClick: () => b(v),
|
|
1967
|
-
className:
|
|
1968
|
-
"h-1.5 rounded-full transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] min-w-[44px] min-h-[24px] flex items-center justify-center",
|
|
1969
|
-
v === s ? "w-5 bg-white" : "w-1.5 bg-white/50 hover:bg-white/70"
|
|
1970
|
-
),
|
|
1967
|
+
className: "min-w-11 min-h-6 flex items-center justify-center focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring rounded-full group",
|
|
1971
1968
|
"aria-label": `Ir para slide ${v + 1}`,
|
|
1972
|
-
"aria-current": v === s
|
|
1969
|
+
"aria-current": v === s,
|
|
1970
|
+
children: /* @__PURE__ */ e(
|
|
1971
|
+
"span",
|
|
1972
|
+
{
|
|
1973
|
+
className: o(
|
|
1974
|
+
"block rounded-full transition-all",
|
|
1975
|
+
v === s ? "h-1 w-3 bg-white" : "h-1 w-1 bg-white/40 group-hover:bg-white/60"
|
|
1976
|
+
)
|
|
1977
|
+
}
|
|
1978
|
+
)
|
|
1973
1979
|
},
|
|
1974
1980
|
v
|
|
1975
1981
|
)) })
|