gpui-material-foundation 0.3.2

GPUI adapters and drawing primitives for GPUI Material
Documentation
//! Material presentation and adapters for GPUI and Base.
#![warn(missing_docs)]
#![deny(rustdoc::broken_intra_doc_links)]

mod root;
mod surface;
mod theme_scope;
mod typography;

pub use root::{
    MaterialRoot, material_theme, project_base_theme, set_material_theme,
    set_window_material_theme, window_material_theme,
};
pub use surface::{
    Surface, SurfaceBorder, SurfaceFeedback, color, elevation_shadow_pair, elevation_shadows,
    scrim_color,
};
pub use theme_scope::{ThemeScope, current_base_theme, current_material_theme};
#[doc(hidden)]
pub use typography::font_cache_revision;
pub use typography::{ShapedText, font_for_style, shape_text, text_style, wrapped_text};

#[doc(hidden)]
pub mod control_feedback;
mod feedback;
mod motion;
mod shape;

pub use feedback::{InteractionFeedback, InteractionState, Ripple};
pub use gpui_material_theme::MaterialShape;
pub use motion::{
    LoopClock, MotionSample, MotionStatus, RetargetTransition, animate, animate_with_status,
    is_bounds_visible,
};
pub use shape::{PolygonMorph, Shape, ShapeFit, ShapeMorph, ShapeMorphSequence, ShapePolygon};

mod input;
mod interaction;
mod overlay;
mod range;

pub use input::{DragCapture, move_roving_focus};
pub use interaction::{InteractionSource, InteractionTracker, InteractionUpdate};
pub use overlay::{Scrim, isolated_scroll, logical_anchor};
pub use range::{RangeThumb, range_semantics, value_label};