gpui-component 0.6.0

GPUI Component: the styled component library of GPUI Kit, with 60+ desktop UI components for GPUI.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! A command palette: a search field over a filtered list of commands, with
//! groups, Action keybinding hints and keyboard navigation.
//!
//! [`Command`] owns the entries and rendering policy; [`CommandState`] holds
//! interaction state such as the query, focus, selection, and scrolling.
#[allow(clippy::module_inception)]
mod command;
mod item;
mod state;

pub use command::Command;
pub use item::{CommandEntry, CommandGroup, CommandItem};
pub use state::CommandState;

pub(crate) use state::init;