mod colors; mod event; mod focusable; mod icon; mod root; mod styled; mod svg_img; mod title_bar; pub mod accordion; pub mod animation; pub mod badge; pub mod breadcrumb; pub mod button; pub mod button_group; pub mod checkbox; pub mod clipboard; pub mod color_picker; pub mod context_menu; pub mod divider; pub mod dock; pub mod drawer; pub mod dropdown; pub mod history; pub mod indicator; pub mod input; pub mod label; pub mod link; pub mod list; pub mod modal; pub mod notification; pub mod number_input; pub mod popover; pub mod popup_menu; pub mod prelude; pub mod progress; pub mod radio; pub mod resizable; pub mod scroll; pub mod sidebar; pub mod skeleton; pub mod slider; pub mod switch; pub mod tab; pub mod theme; pub mod tooltip; pub use crate::Disableable; pub use event::InteractiveElementExt; pub use focusable::FocusableCycle; pub use root::{ContextModal, Root}; pub use styled::*; pub use title_bar::*; pub use colors::*; pub use icon::*; pub use svg_img::*; use rust_embed::RustEmbed; #[derive(RustEmbed)] #[folder = "../../assets"] pub struct Assets; /// Initialize the UI module. /// /// 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::AppContext) { theme::init(cx); dock::init(cx); drawer::init(cx); dropdown::init(cx); input::init(cx); number_input::init(cx); list::init(cx); modal::init(cx); popover::init(cx); popup_menu::init(cx); }