(bootsier): Añade componentes esenciales

- Añade Dialog como modal de Bootstrap, con el JS de soporte para
  `htmx:confirm` y el saneado de su posición fija.
- Adapta Nav, Navbar y Dropdown al reuso de los tipos movidos al core, y
  traduce BootsierColors/Intent en Button y Badge, con soporte para
  Light/Dark vía with_color().
- Reexporta en el tema los componentes de PageTop que faltaban: Block,
  Breadcrumb, Messages, Pager, Table y form::Number.
This commit is contained in:
Manuel Cillero 2026-08-28 19:46:56 +02:00
parent eb63a7ef37
commit c0a5a8c3ab
47 changed files with 2135 additions and 1818 deletions

View file

@ -18,7 +18,7 @@ pub struct Icon {
/// Devuelve identificador, clases CSS, atributos HTML y valores extra del componente.
props: Props,
icon_kind: IconKind,
aria_label: AttrL10n,
aria_label: AttrLc,
}
#[async_trait]
@ -124,7 +124,7 @@ impl Icon {
}
#[builder_fn]
pub fn with_aria_label(mut self, label: L10n) -> Self {
pub fn with_aria_label(mut self, label: Lc) -> Self {
self.aria_label.alter_value(label);
self
}