Vendor the native UI kit as crates/ui
- crates/ui holds the theme, icons, components, data widgets, editor surfaces, layout, and utilities; cargo feature gates are gone. - One merged icon set of 154 SVGs where the app file wins every duplicate name, served by a single rust-embed Assets source. - IconRole grows the 25 app glyphs, so assets::CustomIconName and crates/assets are deleted. - ui::init owns the theme and key bindings that desktop used to bind in three calls. - docs/gpui-native-kit-gaps.md becomes docs/ui-gaps.md; the icon gap is closed.
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
//! The components every application needs.
|
||||
|
||||
pub mod alert;
|
||||
pub mod avatar;
|
||||
pub mod badge;
|
||||
pub mod button;
|
||||
pub mod checkbox;
|
||||
pub mod clipboard;
|
||||
pub mod combobox;
|
||||
pub mod command_palette;
|
||||
pub mod common;
|
||||
pub mod context_menu;
|
||||
pub mod dialog;
|
||||
pub mod dropdown_menu;
|
||||
pub mod empty_state;
|
||||
pub mod field;
|
||||
pub mod grain;
|
||||
pub mod input;
|
||||
pub mod link;
|
||||
pub mod menu;
|
||||
pub mod popover;
|
||||
pub mod progress;
|
||||
pub mod radio;
|
||||
pub mod scroll_area;
|
||||
pub mod scrollbar;
|
||||
pub mod segmented;
|
||||
pub mod select;
|
||||
pub mod separator;
|
||||
pub mod slider;
|
||||
pub mod speech;
|
||||
pub mod spinner;
|
||||
pub mod status_dot;
|
||||
pub mod switch;
|
||||
pub mod toast;
|
||||
pub mod toggle;
|
||||
pub mod tooltip;
|
||||
Reference in New Issue
Block a user