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
1
2
3
4
5
6
7
8
/// Maximum net displacement in logical pixels for a pointer gesture to classify as a tap.
pub const TAP_MAX_DISPLACEMENT_PX: f32 = 12.0;

/// Maximum total path length in logical pixels for a pointer gesture to classify as a tap.
pub const TAP_MAX_PATH_LENGTH_PX: f32 = 18.0;

/// Minimum displacement in logical pixels for a swipe gesture.
pub const SWIPE_MIN_DISTANCE_PX: f32 = 36.0;