use super::*;
#[derive(Clone, Data, Debug, New, Props)]
pub struct EuvBadge {
pub(crate) label: String,
#[get(type(copy))]
#[prop(custom)]
pub(crate) tone: EuvTone,
#[get(type(copy))]
pub(crate) tokens: ThemeTokens,
}
#[derive(Clone, Data, Debug, New, Props)]
pub struct EuvAlert {
pub(crate) title: String,
pub(crate) description: String,
#[get(type(copy))]
pub(crate) tone: EuvTone,
#[get(type(copy))]
pub(crate) tokens: ThemeTokens,
#[new(skip)]
#[get(type(copy))]
pub(crate) style: Option<Style>,
}
#[derive(Clone, Copy, Data, Debug, New, Props)]
pub struct EuvProgress {
#[get(type(copy))]
pub(crate) value: f32,
#[new(skip)]
#[get(type(copy))]
pub(crate) style: Option<Style>,
#[get(type(copy))]
pub(crate) tokens: ThemeTokens,
}
#[derive(Clone, CustomDebug, Data, New)]
pub struct EuvVirtualList {
#[get(type(copy))]
pub(crate) total_items: usize,
#[get(type(copy))]
pub(crate) item_height: f32,
#[new(skip)]
#[get(type(copy))]
pub(crate) viewport_height: f32,
#[get(type(copy))]
pub(crate) scroll_y: Signal<f32>,
#[new(skip)]
#[get(type(copy))]
pub(crate) overscan: usize,
#[get(type(copy))]
pub(crate) tokens: ThemeTokens,
}
#[derive(Clone, CustomDebug)]
pub struct EuvVirtualListHandle {
pub(crate) container: NodeId,
pub(crate) rows_host: NodeId,
#[debug(skip)]
pub(crate) scene: SceneHandle,
#[debug(skip)]
pub(crate) ctx: Context,
#[debug(skip)]
pub(crate) window: Rc<RefCell<VecDeque<(usize, Scope, NodeId)>>>,
#[debug(skip)]
pub(crate) builder: Rc<RefCell<dyn FnMut(usize) -> NodeId + 'static>>,
}
#[derive(Clone, Data, Debug, New, Props)]
pub struct EuvTable {
pub(crate) headers: Vec<String>,
pub(crate) rows: Vec<Vec<String>>,
#[get(type(copy))]
pub(crate) tokens: ThemeTokens,
#[new(skip)]
#[get(type(copy))]
pub(crate) style: Option<Style>,
}