euv-ui 0.47.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;
/// Fade-out duration in seconds for the bottom exit toast.
pub(crate) const DOUBLE_BACK_TOAST_FADE_SECS: f32 = 0.28;
/// 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;
/// Duration in seconds for coupled 1:1 edge-to-edge horizontal route slide transitions.
pub(crate) const ROUTE_COUPLED_SLIDE_SECS: f32 = 0.26;
/// Maximum duration in seconds for monotonic cancel snap-back after an uncommitted swipe drag.
pub(crate) const ROUTE_DRAG_CANCEL_SECS: f32 = 0.22;
/// 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;