euv-ui 0.48.10

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
/// Axis orientation of the adaptive navigation dock rendered by `EuvBottomNav`.
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub enum NavDockOrientation {
    /// Horizontal row of tabs (standard mobile bottom dock or compact watch dock).
    #[default]
    Horizontal,
    /// Vertical column of tabs docked borderless inside an asymmetric left or right hardware safe-area strip (e.g. iPhone Duo folded/unfolded/rotated/split).
    Vertical,
}

/// Concrete screen placement selected by `EuvChromeLayoutPolicy` for the adaptive navigation dock.
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub enum NavDockPlacement {
    /// Navigation dock is hidden (desktop sidebar active, fullscreen mode, or no bottom nav provided).
    #[default]
    Hidden,
    /// Standard floating horizontal capsule above the bottom safe inset.
    BottomHorizontal,
    /// Compact icon-only horizontal capsule centered inside a round/squircle smartwatch bezel.
    WatchBottomCompact,
    /// Borderless vertical navigation buttons docked inside the left hardware safe-area strip avoiding the camera and signal cluster.
    LeftSafeRail,
    /// Borderless vertical navigation buttons docked inside the right hardware safe-area strip avoiding the camera and signal cluster.
    RightSafeRail,
}

/// Normalized hardware display posture inferred purely from viewport dimensions and safe-area geometry.
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub enum ChromePosture {
    /// Desktop / PC / wide landscape tablet (`>= 960dp`) with persistent left sidebar.
    Desktop,
    /// Compact smartwatch dial (`< 300dp` on either axis).
    WatchCompact,
    /// Asymmetric left-side hardware safe-area strip hosting borderless persistent vertical navigation (iPhone Duo rotated left-safe / split).
    SideSafeRailLeft,
    /// Asymmetric right-side hardware safe-area strip hosting borderless persistent vertical navigation (iPhone Duo folded/unfolded/split).
    SideSafeRailRight,
    /// Wide top hardware safe-area strip hosting the page top bar (avoiding the top-right hardware zone) while navigation docks at the bottom (iPhone Duo unfolded portrait).
    TopSafeHeader,
    /// Standard mobile / tablet portrait / MiniApp / QuickApp / symmetric landscape layout with bottom navigation dock.
    #[default]
    StandardMobile,
}