(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

@ -6,19 +6,16 @@
//! ```rust,no_run
//! use pagetop_bootsier::theme::*;
//!
//! let bg = class::Bg::with(ThemeColor::Primary);
//! let bg = class::Bg::with(BootsierColors::Primary);
//! let border = class::Border::new()
//! .with_side(BoxSide::Top, ScaleSize::Zero)
//! .with_color(ThemeColor::Danger);
//! .with_color(BootsierColors::Danger);
//! ```
mod color;
pub use color::{Bg, BgColor};
pub use color::{Text, TextColor};
mod button;
pub use button::{ButtonColor, ButtonColorStyle, ButtonSize, ButtonSizeKind};
mod border;
pub use border::{Border, BorderColor};