T01 primitives: image, divider, backdrop, focus, pressable, measure, tooltip

Ely-built primitives plus gallery demos for every chapter-one entry,
including gpui natives. The gallery now scripts real input by posting
NSEvents to its own queue and shoots each interaction in both modes.
Codex gpt-6-astra (max): three rounds; the last finding, a two-line
doc comment, was fixed after the three-review cap.
This commit is contained in:
ZacharyZhang-NY committed 2026-09-25 00:39:06 -04:00
1 parent abf4cbcfc6
commit a13343c2a5
38 files changed
+2165 -157

No files matched your search

+8
View File
@@ -18,6 +18,13 @@ macro_rules! icons {
$(IconName::$variant => concat!("icons/", $file, ".svg"),)*
}
}
/// Lucide name, such as `chevron-down`.
pub fn name(self) -> &'static str {
match self {
$(IconName::$variant => $file,)*
}
}
}
};
}
@@ -124,6 +131,7 @@ icons! {
Hourglass => "hourglass",
House => "house",
Image => "image",
ImageOff => "image-off",
Inbox => "inbox",
Info => "info",
Italic => "italic",