pub use animato_core::{
Angle, Animatable, AnimationIntrospection, AnimationKind, Color, Easing, Inspectable,
Interpolate, Mat4, Playable, PlaybackState, Quaternion, Update,
};
#[cfg(feature = "serde")]
pub use serde::{Deserialize, Serialize};
pub mod easing {
pub use animato_core::easing::*;
}
#[cfg(feature = "tween")]
pub use animato_tween::{
GridOrigin, Keyframe, KeyframeTrack, Loop, StaggerPattern, Tween, TweenBuilder, TweenSnapshot,
TweenState, Waveform, round_to, snap_to,
};
#[cfg(feature = "timeline")]
pub use animato_timeline::{AnimationGroup, At, Sequence, Timeline, TimelineState, stagger};
#[cfg(feature = "spring")]
pub use animato_spring::{Integrator, Spring, SpringConfig};
#[cfg(feature = "spring")]
pub use animato_spring::SpringN;
#[cfg(feature = "path")]
pub use animato_path::{
CatmullRomSpline, CompoundPath, CubicBezierCurve, DrawSvg, DrawValues, EllipticalArc,
LineSegment, MorphPath, MotionPath, MotionPathTween, MotionPathTweenBuilder, PathCommand,
PathEvaluate, PathSegment, PolyPath, QuadBezier, SvgPathError, SvgPathParser, resample,
};
#[cfg(feature = "physics")]
pub use animato_physics::{
DragAxis, DragConstraints, DragState, Gesture, GestureConfig, GestureRecognizer, Inertia,
InertiaBounds, InertiaConfig, InertiaN, PointerData, SwipeDirection,
};
#[cfg(feature = "color")]
pub use animato_color::{InLab, InLinear, InOklch};
#[cfg(feature = "color")]
pub use palette;
#[cfg(feature = "driver")]
pub use animato_driver::{
AnimationDriver, AnimationId, AnimationUpdateCost, Clock, DriverFrameProfile, DriverSnapshot,
ManualClock, MockClock, ScrollClock, ScrollDriver, WallClock,
};
#[cfg(all(feature = "driver", feature = "std"))]
pub use animato_driver::{AnimationRecorder, RecordedSample, RecordedTrack, RecorderError};
#[cfg(feature = "gpu")]
pub use animato_gpu::{GpuAnimationBatch, GpuBackend, GpuBatchError};
#[cfg(feature = "bevy")]
pub use animato_bevy::{
AnimationChannel, AnimationLabel, AnimatoPlugin, AnimatoSet, AnimatoSpring,
AnimatoSpringPlugin, AnimatoTween, AnimatoTweenPlugin, SpringSettled, TweenCompleted,
};
#[cfg(feature = "wasm")]
pub use animato_wasm::{RafDriver, ScrollSmoother};
#[cfg(all(feature = "wasm-dom", target_arch = "wasm32"))]
pub use animato_wasm::{
Draggable, FlipAnimation, FlipState, LayoutAnimator, Observer, ObserverEvent,
SharedElementTransition, SplitMode, SplitText,
};
#[cfg(feature = "leptos")]
pub mod leptos {
pub use animato_leptos::*;
}
#[cfg(all(feature = "leptos", not(feature = "dioxus")))]
pub use animato_leptos::*;
#[cfg(feature = "dioxus")]
pub mod dioxus {
pub use animato_dioxus::*;
}
#[cfg(all(feature = "dioxus", not(feature = "leptos")))]
pub use animato_dioxus::*;
#[cfg(feature = "yew")]
pub mod yew {
pub use animato_yew::*;
}
#[cfg(all(feature = "yew", not(feature = "leptos"), not(feature = "dioxus")))]
pub use animato_yew::*;
#[cfg(feature = "js")]
pub mod js {
pub use animato_js::*;
}
#[cfg(feature = "devtools")]
pub mod devtools {
pub use animato_devtools::*;
}
#[cfg(feature = "devtools")]
pub use animato_devtools::{
DevToolsState, EasingCurveEditor, PerformanceMonitor, RecorderControls, SpringVisualizer,
TimelineInspector,
};
#[cfg(feature = "devtools-web-panel")]
pub use animato_devtools::DevToolsWebPanel;
#[cfg(feature = "devtools-egui-panel")]
pub use animato_devtools::DevToolsEguiPanel;
#[cfg(feature = "devtools-tui-panel")]
pub use animato_devtools::DevToolsTuiPanel;