@grupo-elo-editorial/shared-ui-react 1.2.15 → 1.3.0
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 +12 -0
- package/dist/components/prd/Footer.d.ts +3 -1
- package/dist/index.js +278 -278
- 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,18 @@ Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) · Versioning:
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
## [1.3.0] — 2026-06-02 (HeroCarousel — polish visual nos controles de navegação)
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- **`HeroCarousel`**: setas de navegação com opacidade reduzida: idle `bg-white/90` → `bg-white/50`; hover `hover:bg-white` → `hover:bg-white/80`. Touch targets (`min-w-[44px] min-h-[44px]`) e `focus-visible:ring` preservados (WCAG 2.5.5 / 1.4.11).
|
|
12
|
+
|
|
13
|
+
- **`HeroCarousel`**: pagination dots menores: pill ativo `h-2 w-8` (32×8 px) → `h-1.5 w-5` (20×6 px); círculo inativo `h-2 w-2` (8×8 px) → `h-1.5 w-1.5` (6×6 px). Wrapper mantém `min-w-[44px] min-h-[24px]` (WCAG 2.5.5).
|
|
14
|
+
|
|
15
|
+
- `package.json` `version` bumped `1.2.16 → 1.3.0`.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
7
19
|
## [1.2.9] — 2026-05-26 (HeroCarousel — desktop aspect ratio 24:7)
|
|
8
20
|
|
|
9
21
|
### Changed
|
|
@@ -2,9 +2,11 @@ import { HTMLAttributes } from 'react';
|
|
|
2
2
|
export interface FooterProps extends HTMLAttributes<HTMLElement> {
|
|
3
3
|
brand?: 'elo-editora' | 'perabook';
|
|
4
4
|
onNewsletterSubmit?: (email: string) => void;
|
|
5
|
+
/** Substitui o bloco de newsletter por conteúdo customizado. Quando omitido, exibe o NewsletterForm padrão. */
|
|
6
|
+
newsletterSlot?: React.ReactNode;
|
|
5
7
|
}
|
|
6
8
|
declare const Footer: {
|
|
7
|
-
({ brand, onNewsletterSubmit, className, ...props }: FooterProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
({ brand, onNewsletterSubmit, newsletterSlot, className, ...props }: FooterProps): import("react/jsx-runtime").JSX.Element;
|
|
8
10
|
displayName: string;
|
|
9
11
|
};
|
|
10
12
|
export { Footer };
|