euv-ui 0.50.0

Cross-platform UI component library and 17-scheme design system for the euv framework with pixel-consistent rendering across Web, Android, iOS, iPadOS, macOS, Windows, and Linux.
Documentation
/// Standard mobile/desktop app convention prompt displayed at the bottom when pressing Back at the root route.
pub const DOUBLE_BACK_EXIT_PROMPT: &str = "Press back again to exit";
/// Standard confirmation window in milliseconds for a consecutive second Back press to exit the app.
pub(crate) const DOUBLE_BACK_EXIT_WINDOW_MS: u64 = 2000;
/// Hold duration in seconds before the bottom exit toast begins its smooth fade-out.
pub(crate) const DOUBLE_BACK_TOAST_HOLD_SECS: f32 = 1.72;
/// Top-layer z-index ensuring the bottom exit prompt renders cleanly above all page content.
pub(crate) const Z_INDEX_EXIT_TOAST: i32 = 950;
/// Bottom margin above safe area for the floating double-back exit snackbar pill.
pub(crate) const EXIT_TOAST_BOTTOM_OFFSET: f32 = 36.0;
/// Corner radius in logical pixels for the double-back exit snackbar.
pub(crate) const EXIT_TOAST_RADIUS: f32 = 12.0;
/// Bounded cold `PageRetention::Freeze` page cache capacity enforced by `PageLifecycleController` LRU eviction.
pub(crate) const ROUTER_DEFAULT_MAX_FROZEN_PAGES: usize = 8;
/// Estimated core retained memory footprint per cached frozen route in bytes (`512 KiB`).
pub(crate) const ROUTER_ESTIMATED_PAGE_BYTES: usize = 512 * 1024;
/// Maximum retained byte budget across all frozen router pages (`32 MiB`).
pub(crate) const ROUTER_MAX_RETAINED_BYTES: usize = 32 * 1024 * 1024;
/// Maximum snapshot byte budget per frozen router page (`64 KiB`).
pub(crate) const ROUTER_MAX_SNAPSHOT_BYTES: usize = 64 * 1024;