dioxus-dnd 2.3.1

Modular, accessible drag-and-drop for Dioxus: sortable lists, kanban boards, trees, grids, file drops, multi-select, touch support and more
Documentation
//! Shared primitives: the drag context, id/geometry types, hooks, and the
//! `Draggable`/`DropZone`/`DragOverlay` components every other module builds on.

pub mod components;
pub mod hooks;
pub mod machine;
pub mod model;
pub mod modifiers;
pub(crate) mod platform;
pub mod registry;
pub mod state;
pub mod types;
pub mod viewport;

pub use components::{DndProvider, DragOverlay, Draggable, DropZone, ParentZone};
pub use hooks::{
    client_point, element_point, use_dnd, use_dnd_provider, use_rect_refresh, use_zone_id,
    use_zone_registry,
};
pub use machine::{transition, GestureEffect, GestureEvent, GesturePhase};
pub use model::{apply_clone_or_move, apply_list_clone_or_move};
pub use modifiers::{apply_modifiers, DragModifier, ModifierCtx};
pub use registry::{RectRefresh, ZoneRecord, ZoneRegistry};
pub use state::{DndContext, DragState};
pub use types::{
    effective_effect, Direction, DragId, DragMode, DropEffect, DropOutcome, Point, Rect, ZoneId,
};
pub use viewport::{
    screen_delta_to_world, screen_to_world, world_delta_to_screen, world_to_screen, CanvasViewport,
};