/** * SvField - the shared field chrome for every value-bearing editor in the kit. * It renders an optional `label` (wired to the control via `for`/`id`), the * control itself (passed as children), and an optional `hint` / `error` line * whose ids match `editorHintId` / `editorErrorId` for `aria-describedby`. * * Two modes: * * 1. Default (`frame` unset) - SvField renders only the label / children / hint * / error rows; the editor draws its own bordered control box. This is the * original behavior and is byte-identical for every existing call site. * * ```svelte * *
...control...
*
* ``` * * 2. Framed (`frame`) - SvField OWNS the bordered control box, so it applies * `invalid` + `size` styling, the shared leading/trailing adornments and * prefix/suffix affixes, and the shared clear button ONCE, and the editor * passes only its bare control (an `` / `