CommandPalette
Stellt die globale Ortssuche mit Tastaturnavigation und einen Hilfedialog zum Abschalten einfacher Tastenkürzel bereit.
src/components/site/CommandPalette.astroSource contract in German. The marked authoring notes below retain their original language.
Usage contract
Use through the documented parent
Entry point: src/components/site/ProposalShell.astro
- Nur über ProposalShell einmal pro Seite einbetten. Suchdialog und Hilfe erhalten Fokusführung; einfache Tastenkürzel bleiben beim Tippen aus und über mx.keys abschaltbar.
Examples
No dedicated demo is assigned. Use the documented entry point and consumers below; this is not evidence of a missing runtime component.
API
Extracted from the source with the TypeScript parser. Inherited and imported types remain references; implementation is authoritative.
interface Props {places:Place[];ui:{cmdLabel:string;cmdSearch:string;cmdPlaceholder:string;choose:string;open:string;keys:string;keysTitle:string;keysOff:string;keysOffHint:string;keyRows:[string,string][]}}Astro.props
Bindings and defaults read from source; these do not add inferred types.
placesui
Source usage
Website reference
This is static source evidence. A reachable module may contain conditional or unused branches. External consumers and staged static pages are outside this scan. No status authorizes deletion.
Website
Preview
- src/pages/vorschlag/cases/index.astro
- src/components/site/ProposalShell.astro
- src/components/site/CommandPalette.astro
Consumers in source
Direct static, dynamic and type imports. Imports do not prove that a branch renders or that a proposal is published.
Dependencies
@/components/Zeichen.astro·src/components/Zeichen.astro@/components/Keycap.astro·src/components/Keycap.astro@/lib/site-content·src/lib/site-content.ts