Changelog
Release history.
1.1.0
- Published under the
reactformswitchpackage name. - Added an MIT
LICENSE.
No API changes from 1.0.0.
1.0.0
Initial stable release.
- Schema-driven forms — render a validated, themed form from a
schemaon top of React Hook Form (state) and Zod (validation). - Single-page and multi-step —
fieldsfor one page,stepsfor a wizard where each step validates before advancing. - Ten built-in field types —
text,email,password,number,date,textarea,select,checkbox,radio, and a drag-and-drop / pasteimageupload with per-file constraints and thumbnail previews. - Two validation paths — a Zod
validationper field, or pure-JSONruleswith a custommessage. - JSON-authored look & behavior (
ui) — size, max width, label & button position, error mode (inline/toast/popup), toast position + TTL, and a full theme, all from plain values — no raw CSS. - Serialization —
json,formdata, andxmlpayloads (images serialized correctly per payload), plusregisterSerializerfor custom formats. - Theming —
light/darkpresets,defineThemetoken merging, or raw--fs-*CSS variables. - Responsive —
colspans on a 12-column grid driven by container queries, no JS media queries. - Loaders — five CSS-only submit-button loaders (
spinner,ring,pulse,dots,bars) plusregisterLoaderand a standalone<Loader>. - Three extension registries —
registerField,registerSerializer,registerLoader— plain functions, no plugin framework. - Visual builder — configure a form in a UI and copy out the schema JSON.