update components

This commit is contained in:
2026-02-19 08:17:46 +07:00
parent 2c33670ba5
commit 3e8efdd0ef
31 changed files with 3240 additions and 2440 deletions

View File

@@ -1,9 +1,11 @@
pub use anchored::*;
pub use element_ext::ElementExt;
pub use event::InteractiveElementExt;
pub use focusable::FocusableCycle;
pub use geometry::*;
pub use icon::*;
pub use index_path::IndexPath;
pub use kbd::*;
pub use menu::{context_menu, popup_menu};
pub use root::{window_paddings, Root};
pub use styled::*;
pub use window_ext::*;
@@ -16,7 +18,6 @@ pub mod avatar;
pub mod button;
pub mod checkbox;
pub mod divider;
pub mod dropdown;
pub mod history;
pub mod indicator;
pub mod input;
@@ -30,10 +31,13 @@ pub mod skeleton;
pub mod switch;
pub mod tooltip;
mod anchored;
mod element_ext;
mod event;
mod focusable;
mod geometry;
mod icon;
mod index_path;
mod kbd;
mod root;
mod styled;
@@ -44,7 +48,6 @@ mod window_ext;
/// This must be called before using any of the UI components.
/// You can initialize the UI module at your application's entry point.
pub fn init(cx: &mut gpui::App) {
dropdown::init(cx);
input::init(cx);
list::init(cx);
modal::init(cx);