feat: add combobox component

This commit is contained in:
2026-11-04 08:08:02 +07:00
parent 7d1bceefd5
commit ded23ab2f2
7 changed files with 1126 additions and 3 deletions
+7
View File
@@ -75,6 +75,9 @@ pub mod field;
#[cfg(feature = "status_dot")]
pub mod status_dot;
#[cfg(feature = "combobox")]
pub mod combobox;
#[cfg(feature = "toast")]
pub mod toast;
@@ -86,4 +89,8 @@ pub fn init(cx: &mut App) {
gpui_native_theme::Theme::init(cx);
#[cfg(feature = "input")]
input::bind_input_keys(cx, None);
// Load-bearing order: the combobox's bindings must win the depth tie
// with the input's, and gpui breaks ties by later registration.
#[cfg(feature = "combobox")]
combobox::bind_combobox_keys(cx);
}