Skip to main content

euv_ui/
lib.rs

1//! euv-ui
2//!
3//! Reusable UI component library for the euv framework,
4//! providing buttons, cards, modals, inputs, theme management, and more.
5
6mod component;
7mod hook;
8mod style;
9
10pub use {component::*, hook::*, style::*};
11
12use euv::*;
13
14use std::{
15    any::Any,
16    cell::{Cell, Ref, RefCell, RefMut, UnsafeCell},
17    collections::{HashMap, HashSet},
18    fmt::{self, Debug, Display, Formatter},
19    hash::Hash,
20    ops::Deref,
21    panic::{AssertUnwindSafe, UnwindSafe, catch_unwind},
22    ptr::addr_of_mut,
23    rc::Rc,
24    sync::{
25        LazyLock, OnceLock, PoisonError, RwLock, RwLockReadGuard, RwLockWriteGuard,
26        atomic::{AtomicBool, Ordering},
27    },
28};
29
30#[cfg(not(target_arch = "wasm32"))]
31use std::time::{Duration, SystemTime, UNIX_EPOCH};
32
33use wasm_bindgen_futures::*;