(button): Añade Button::anchor() para navegación

- Renderiza un `<a href>` real con el aspecto de un botón, distinto del
  estilo puramente visual `button::Style::Link`.
- Renombra `ButtonKind`/`ButtonStyle` a `Kind`/`Style`.
- Añade `button::Size` (`button-sm`/`button-lg`).
This commit is contained in:
Manuel Cillero 2026-08-28 11:38:57 +02:00
parent 434d31c5eb
commit da959183f6
6 changed files with 229 additions and 67 deletions

View file

@ -1,7 +1,7 @@
//! Definiciones para crear botones ([`Button`]) y conjuntos de botones ([`ButtonSet`]).
mod props;
pub use props::{ButtonKind, ButtonStyle};
pub use props::{Kind, Size, Style};
mod component;
pub use component::Button;