| 1 | //! A command palette: a search field over a filtered list of commands, with |
| 2 | //! groups, Action keybinding hints and keyboard navigation. |
| 3 | //! |
| 4 | //! [`Command`] owns the entries and rendering policy; [`CommandState`] holds |
| 5 | //! interaction state such as the query, focus, selection, and scrolling. |
| 6 | #[allow(clippy::module_inception)] |
| 7 | mod command; |
| 8 | mod item; |
| 9 | mod state; |
| 10 | |
| 11 | pub use command::Command; |
| 12 | pub use item::{CommandEntry, CommandGroup, CommandItem}; |
| 13 | pub use state::CommandState; |
| 14 | |
| 15 | pub(crate) use state::init; |