orbital-motion 0.1.1

Shared motion tokens, atoms, and presence utilities for Orbital
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Shared preview types (avoids cyclic dependency on orbital-base-components).

/// Matches [`orbital_base_components::PreviewRenderMode`] without a cyclic crate dependency.
#[derive(Clone, Copy, PartialEq, Eq)]
pub enum PreviewRenderMode {
    BareDefault,
}

/// Matches [`orbital_base_components::ComponentPropDoc`] for generated preview pages.
pub struct ComponentPropDoc {
    pub name: &'static str,
    pub type_name: &'static str,
    pub description: &'static str,
}