euv-ui 0.48.9

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
/// Viewport logical width threshold in pixels separating Mobile (`< 960px`) from Desktop / PC (`>= 960px`) shell layouts.
pub const DESKTOP_LAYOUT_BREAKPOINT: f32 = 960.0;

/// Wide Desktop logical width threshold in pixels activating 3-column layouts (e.g. persistent left sidebar + main content + right sticky TOC).
pub const DESKTOP_WIDE_LAYOUT_BREAKPOINT: f32 = 1200.0;

/// Permanent left navigation sidebar width in logical pixels on Desktop / PC viewports (`>= 960px`).
pub const SHELL_DESKTOP_SIDEBAR_WIDTH: f32 = 256.0;

/// Shared logical pixel height for uniform top-bar controls (`mobile_fps_pill`, `desktop_fps_pill`, `menu_btn_node`, and brand badge).
pub const SHELL_TOPBAR_CONTROL_HEIGHT: f32 = 32.0;

/// Desktop full-width top header bar height in logical pixels when `top_inset == 0.0`.
pub const SHELL_DESKTOP_HEADER_HEIGHT: f32 = 52.0;

/// Compact clearance in logical pixels between a non-zero top safe-area inset and top-bar controls.
pub const SHELL_TOPBAR_SAFE_TOP_GAP: f32 = 2.0;

/// Bottom breathing gap in logical pixels below top-bar controls when a non-zero top safe-area inset is active.
pub const SHELL_TOPBAR_SAFE_BOTTOM_GAP: f32 = 6.0;

/// Separator rendered between the brand title and live route breadcrumb inside the Desktop top header bar.
pub(crate) const SHELL_BREADCRUMB_SEP: &str = "/";

/// Fallback single-character brand mark when the app brand title is empty.
pub(crate) const SHELL_DEFAULT_INITIAL: &str = "E";

/// Accessibility label assigned to static brand logo emblems in the sidebar and drawer.
pub(crate) const SHELL_BRAND_A11Y_LABEL: &str = "Euv Studio";

/// Shared square dimension in logical pixels for the unified navbar and sidebar brand logo mark.
pub(crate) const SHELL_BRAND_BADGE_SIZE: f32 = SHELL_TOPBAR_CONTROL_HEIGHT;

/// Minimum auto-fill child width in logical pixels inside `EuvActionRow`.
pub(crate) const ACTION_ROW_MIN_BTN_WIDTH: f32 = 76.0;

/// Maximum auto-synthesized child minimum width in logical pixels inside `EuvActionRow`.
pub(crate) const ACTION_ROW_MAX_BTN_WIDTH: f32 = 210.0;

/// Minimum auto-fill width in logical pixels for compound controls (switches/checkboxes) inside `EuvActionRow`.
pub(crate) const ACTION_ROW_SWITCH_MIN_WIDTH: f32 = 136.0;

/// Compact mobile header drawer toggle button label.
pub(crate) const SHELL_MENU_LABEL: &str = "Menu";

/// Overlay stack identifier for the `EuvAppShell` compact drawer.
pub(crate) const SHELL_DRAWER_OVERLAY_NAME: &str = "EuvAppShellDrawer";

/// Fixed height in logical pixels for the floating bottom navigation capsule.
pub(crate) const SHELL_BOTTOM_NAV_HEIGHT: f32 = 60.0;

/// Vertical float offset in logical pixels above the bottom edge on compact viewports.
pub(crate) const SHELL_BOTTOM_NAV_FLOAT_COMPACT: f32 = 10.0;

/// Vertical float offset in logical pixels above the bottom edge on medium/wide viewports.
pub(crate) const SHELL_BOTTOM_NAV_FLOAT_WIDE: f32 = 14.0;

/// Minimum horizontal side margin in logical pixels on both sides of the floating dock on compact screens.
pub(crate) const SHELL_BOTTOM_NAV_SIDE_MARGIN: f32 = 10.0;

/// Minimum horizontal side margin in logical pixels on both sides of the floating dock on medium/wide screens.
pub(crate) const SHELL_BOTTOM_NAV_SIDE_MARGIN_WIDE: f32 = 16.0;

/// Maximum capsule width in logical pixels for the horizontally centered floating bottom dock.
pub(crate) const SHELL_BOTTOM_NAV_MAX_WIDTH: f32 = 540.0;

/// Background alpha channel for the floating bottom navigation capsule to prevent scrolled text bleed-through.
pub(crate) const SHELL_BOTTOM_NAV_BG_ALPHA: u8 = 252;

/// Native action kind dispatched when opening an explicit external brand URL.
pub(crate) const SHELL_OPEN_URL_ACTION: &str = "open_url";

/// Status text rendered in the shell FPS pill when no active presentation frames are running.
pub(crate) const SHELL_FPS_IDLE_LABEL: &str = "Idle";

/// Accessibility label assigned to the compact live FPS telemetry pill.
pub(crate) const SHELL_FPS_A11Y_LABEL: &str = "Live FPS";

/// Minimum measured FPS threshold above which the HUD pill reports active frame rate instead of idle.
pub(crate) const SHELL_FPS_ACTIVE_THRESHOLD: f32 = 0.05;

/// Minimum vertical scroll offset in logical pixels before scrolling down auto-hides shell chrome.
pub(crate) const SHELL_AUTO_HIDE_MIN_SCROLL_Y: f32 = 48.0;

/// Downward vertical scroll hysteresis threshold in logical pixels required to auto-hide shell chrome.
pub(crate) const SHELL_AUTO_HIDE_DOWN_THRESHOLD: f32 = 16.0;

/// Upward vertical scroll hysteresis threshold in logical pixels required to reveal hidden shell chrome.
pub(crate) const SHELL_AUTO_HIDE_UP_THRESHOLD: f32 = 12.0;

/// Scroll offset threshold near the top of content in logical pixels where hidden chrome reveals on upward scroll.
pub(crate) const SHELL_AUTO_HIDE_TOP_REVEAL_Y: f32 = 16.0;