pub mod unified;
pub use unified::CommandPalette;

/// Context type for sharing the command palette open/close signal
/// between sibling components (e.g. FloatingPill toggle button).
#[derive(Clone, Copy)]
pub struct CommandPaletteOpen(pub leptos::prelude::RwSignal<bool>);

/// Context type for injecting build-time application pages into the command
/// palette. Provided by the website client from the generated
/// `get_palette_app_pages()` function. Each entry is `(display_label,
/// route_path)`.
#[derive(Clone, Copy)]
pub struct CommandPaletteExtraItems(pub &'static [(&'static str, &'static str)]);
