Jesús Pérez b6a4d77421
Some checks failed
Documentation Lint & Validation / Markdown Linting (push) Has been cancelled
Documentation Lint & Validation / Validate mdBook Configuration (push) Has been cancelled
Documentation Lint & Validation / Content & Structure Validation (push) Has been cancelled
mdBook Build & Deploy / Build mdBook (push) Has been cancelled
Rust CI / Security Audit (push) Has been cancelled
Rust CI / Check + Test + Lint (nightly) (push) Has been cancelled
Rust CI / Check + Test + Lint (stable) (push) Has been cancelled
Documentation Lint & Validation / Lint & Validation Summary (push) Has been cancelled
mdBook Build & Deploy / Documentation Quality Check (push) Has been cancelled
mdBook Build & Deploy / Deploy to GitHub Pages (push) Has been cancelled
mdBook Build & Deploy / Notification (push) Has been cancelled
feat: add Leptos UI library and modularize MCP server
2026-02-14 20:10:55 +00:00

52 lines
1.4 KiB
Rust

//! VAPORA Leptos UI - Glassmorphism component library
//!
//! CSR/SSR agnostic components with glassmorphism design.
//!
//! # Features
//!
//! - 🎨 Glassmorphism design (cyan/purple/pink gradients)
//! - 🔄 CSR/SSR agnostic (works in both contexts)
//! - ♿ Accessible (ARIA labels, keyboard navigation)
//! - 📱 Mobile responsive
//! - 🎯 UnoCSS integration
//!
//! # Quick Start
//!
//! ```rust
//! use leptos::prelude::*;
//! use vapora_leptos_ui::{Button, Variant, Size};
//!
//! #[component]
//! fn App() -> impl IntoView {
//! view! {
//! <Button variant=Variant::Primary size=Size::Large>
//! "Click Me"
//! </Button>
//! }
//! }
//! ```
pub mod data;
pub mod feedback;
pub mod forms;
pub mod layout;
pub mod navigation;
pub mod primitives;
pub mod theme;
mod utils;
// Re-export theme tokens
// Re-export data types
pub use data::table::unified::TableColumn;
// Re-export components (all fully functional as of v1.2.0)
pub use data::{Pagination, StatCard, Table};
pub use feedback::{use_toast, ToastContext, ToastMessage, ToastProvider, ToastType};
pub use forms::{
validate_email, validate_max_length, validate_min_length, validate_required, FormField,
};
pub use layout::{Card, Modal};
pub use navigation::SpaLink;
pub use primitives::{Badge, Button, Input, Spinner};
pub use theme::{BlurLevel, GlowColor, Size, Variant};
pub use utils::Portal;