ailloli_ui_widgets/
lib.rs

1//! Generic UI widget catalogue for Ailloli UI.
2//!
3//! This crate implements the retained [`ailloli_ui_runtime::Widget`] trait for
4//! layout, controls, text, chrome, and overlays. It contains **no app-specific**
5//! screens (chat, IDE shells, etc.); those belong in the application crate.
6//!
7//! # Modules
8//!
9//! | Module | Widgets |
10//! |--------|---------|
11//! | [`layout`] | `Row`, `Column`, `Container`, `ScrollView`, `Align`, margin/padding |
12//! | [`controls`] | `Button`, `TextInput`, `Checkbox`, `Tabs`, lists |
13//! | [`text`] | `Text`, `RichText`, editable line helpers |
14//! | [`primitives`] | `Icon`, rects, spacers |
15//! | [`editor`] | Multi-paragraph `Editor` with virtual scroll |
16//! | [`chrome`] | Default title bar, resize/drag hit regions |
17//! | [`overlay`] | Modals, tooltips, base+overlay scene helpers |
18
19/// Window chrome widgets (title bar, resize, drag regions).
20pub mod chrome;
21/// Interactive controls (button, text field, tabs, …).
22pub mod controls;
23/// Code editor view with rope buffer and IME.
24pub mod editor;
25/// File-oriented widgets built from VFS snapshots.
26#[cfg(feature = "files")]
27pub mod files;
28/// Flex layout and box model wrappers.
29pub mod layout;
30/// Modal, tooltip, and layered scene helpers.
31pub mod overlay;
32/// Low-level draw helpers (icon, rect, spacer).
33pub mod primitives;
34mod scrollbar;
35/// Static and rich text widgets.
36pub mod text;
37mod transactional_layout;