uzor 1.2.1

Core UI engine — geometry, interaction, input state
//! Input coordinator — centralized input handling for uzor
//!
//! Consolidates all input routing: clicks, scrolls, keyboard, text editing,
//! drag, touch, tooltips, and widget focus management.

pub mod core;
pub mod text;
pub mod keyboard;
pub mod pointer;
pub mod handlers;
pub mod builders;

pub use self::core::{PlatformEvent, ImeEvent, SystemTheme};

pub use self::core::{InputCoordinator, LayerId, ScopedRegion, WidgetKind};
pub use self::core::response::*;
pub use self::core::sense::*;
pub use self::core::widget_state::*;

// Re-export text
pub use text::{InputCapability, TextAction, TextFieldConfig, TextFieldState, TextFieldStore};

// Re-export keyboard
pub use keyboard::events::*;
pub use keyboard::KeyPress;
pub use keyboard::shortcuts::*;

// Re-export pointer
pub use self::core::EventProcessor;
pub use pointer::ScrollManager;
pub use pointer::{InputState, MouseButton, ModifierKeys, PointerState, PointerDragState};
pub use pointer::touch::*;

// Compat shim — AnimatedValue moved to ui/animation/
pub use crate::ui::animation::{AnimatedValue, EasingFn};

// Re-export handlers (moved from _ongoing)
pub use handlers::*;

// Compat shim — CursorIcon moved to ui/assets/cursors
pub mod cursor {
    pub use crate::ui::assets::cursors::CursorIcon;
}

// Flat module aliases (used by core/platform and ui/widgets via crate::input::X)
pub use keyboard::events;
pub use pointer::state;
pub use keyboard::shortcuts;
pub use core::widget_state;