Skip to main content

euv_ui/
lib.rs

1//! euv-ui
2//!
3//! Cross-platform UI component library and 17-scheme design system for euv,
4//! rendering pixel-consistently across Web, Android, iOS, iPadOS, macOS,
5//! Windows, and Linux with zero CSS runtime overhead.
6
7mod brand;
8mod component;
9mod hook;
10mod overlay_stack;
11mod router;
12mod theme;
13
14#[cfg(test)]
15#[path = "../tests/mod.rs"]
16mod tests;
17
18pub use {
19    brand::*, component::*, euv::TextSelectMode, hook::*, overlay_stack::*, router::*, theme::*,
20};
21
22use std::{
23    cell::{Cell, Ref, RefCell, RefMut},
24    cmp::Ordering,
25    collections::{HashMap, VecDeque},
26    f32::consts::{FRAC_1_SQRT_2, FRAC_PI_2, PI, TAU},
27    mem::{replace, take},
28    rc::Rc,
29    str::Chars,
30    sync::OnceLock,
31};
32
33use {
34    euv::*,
35    lombok_macros::{CustomDebug, Data, Getter, New},
36};