fret-ui 0.1.0

Mechanism-layer UI engine for Fret with tree, layout, focus, routing, and interaction contracts.
Documentation
#![allow(clippy::arc_with_non_send_sync)]

use super::*;
use fret_runtime::GlobalsHost as _;
use std::sync::Arc;

fn attributed_plain(text: &str) -> fret_core::AttributedText {
    fret_core::AttributedText::new(
        Arc::<str>::from(text),
        [fret_core::TextSpan {
            len: text.len(),
            ..Default::default()
        }],
    )
}

mod dismissible;
mod key_propagation;
mod pointer_regions;
mod pressable;
mod resizable_panel_group;
mod roving_flex;
mod selectable_text;
mod text_area;
mod text_input;