--- /** * The search modal (RFC-0029 §6): markup and words only; `/_cloudhal/search.1.js` wires it. Without * the script the dialog never opens and the header form goes to `/search`. Inside, a form still * goes to `/search` on Enter when no result is chosen. */ import { SEARCH_JSON_PATH, SEARCH_PATH } from "@cloudhal/astro-renderer/search"; import type { ThemeStrings } from "../theme.ts"; interface Props { label: string; placeholder: string; words: ThemeStrings["searchModal"]; } const { label, placeholder, words } = Astro.props; const data = { kinds: words.kinds, all: words.all, none: words.none, recent: words.recent, clear: words.clear, limited: words.limited, error: words.error, updating: words.updating, count: words.count, }; ---