import { CommandCompound } from './types'; /** * A modal command palette for action search and keyboard navigation. * * Built on Base UI Dialog for focus-trap, backdrop, Escape-key dismiss and * portal rendering. Compose with the named sub-components: * * - `Command.Trigger` — element that opens the palette. * - `Command.Content` — the modal panel; creates the search context. * - `Command.Input` — the combobox search field. * - `Command.List` — the scrollable results container (`role="listbox"`). * - `Command.Group` — a labeled section inside the list. * - `Command.Item` — a single activatable command (`role="option"`). * - `Command.Empty` — shown when no items match the current search. * - `Command.Separator` — horizontal divider between groups. * * @example * ```tsx * * *