euv-ui 0.48.8

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, compact watch dock, or wide top/bottom safe strip).
    #[default]
    Horizontal,
    /// Vertical column of tabs docked inside a right or left hardware safe-area strip (e.g. iPhone Duo folded/unfolded/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,
    /// Vertical navigation rail docked inside the right hardware safe-area strip below the signal cluster.
    RightSafeRail,
    /// Vertical navigation rail docked inside the left hardware safe-area strip below the signal cluster.
    LeftSafeRail,
    /// Horizontal navigation capsule docked inside a wide top hardware safe-area strip clear of the signal cluster.
    TopSafeStrip,
    /// Horizontal navigation capsule docked inside a tall bottom hardware safe-area strip clear of the signal cluster.
    BottomSafeStrip,
}

/// 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 right-side hardware safe-area strip (iPhone Duo folded/unfolded/split or landscape right cutout).
    SideSafeRailRight,
    /// Asymmetric left-side hardware safe-area strip (iPhone Duo 180-degree rotated or landscape left cutout).
    SideSafeRailLeft,
    /// Wide rotated top hardware safe-area strip (iPhone Duo landscape with top signal rail).
    TopSafeRail,
    /// Wide rotated bottom hardware safe-area strip (iPhone Duo landscape inverted).
    BottomSafeRail,
    /// Standard mobile / tablet portrait / MiniApp / QuickApp layout.
    #[default]
    StandardMobile,
}