From b5d7e2f2150ec3d95a60a095204b50077e97d7e8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 22 Nov 2026 07:00:19 +0000 Subject: [PATCH] Version Packages --- .changeset/adapter-test-kit.md | 5 --- .changeset/automatic-errors.md | 5 --- .changeset/binding-tests.md | 5 --- .changeset/blade-icons.md | 5 --- .changeset/cascade-keeps-value.md | 5 --- .changeset/custom-field-hooks.md | 5 --- .changeset/date-time-zones.md | 5 --- .changeset/docs-and-hidden-panels.md | 5 --- .changeset/filter-submit-export-list.md | 5 --- .changeset/i18n-strings.md | 5 --- .changeset/icon-prototype-names.md | 5 --- .changeset/inertia.md | 5 --- .changeset/listing-ssr-url.md | 5 --- .changeset/loading-buttons.md | 5 --- .changeset/map-input-sync.md | 5 --- .changeset/number-decimals.md | 5 --- .changeset/onu-accordion-mounted.md | 5 --- .changeset/onu-map-multipolygon.md | 5 --- .changeset/onu-summary-select.md | 5 --- .changeset/parity-v2.md | 5 --- .changeset/portable-declarations.md | 5 --- .changeset/rename-to-javaabu-forms.md | 5 --- .changeset/reset-on-success-names.md | 5 --- .changeset/rtl.md | 5 --- .changeset/script-tag-build.md | 5 --- .changeset/set-in-arrays.md | 5 --- .changeset/shadcn-accordion-hidden.md | 5 --- .changeset/shadcn-clear-select.md | 5 --- .changeset/shadcn-empty-radio.md | 5 --- .changeset/shadcn-modal-trigger.md | 5 --- .changeset/shadcn-remote-label.md | 5 --- .changeset/shadcn.md | 5 --- .changeset/submit-spinner-reset.md | 5 --- .changeset/table-selection-rows.md | 5 --- .changeset/table-selection.md | 5 --- .changeset/ui-agnostic-core.md | 5 --- .changeset/url-controlled.md | 5 --- .changeset/use-form-choices.md | 5 --- .changeset/use-form-files-hidden.md | 5 --- .changeset/use-form-transform.md | 5 --- .changeset/wayfinder.md | 5 --- CHANGELOG.md | 50 +++++++++++++++++++++++++ package.json | 2 +- 43 files changed, 51 insertions(+), 206 deletions(-) delete mode 100644 .changeset/adapter-test-kit.md delete mode 100644 .changeset/automatic-errors.md delete mode 100644 .changeset/binding-tests.md delete mode 100644 .changeset/blade-icons.md delete mode 100644 .changeset/cascade-keeps-value.md delete mode 100644 .changeset/custom-field-hooks.md delete mode 100644 .changeset/date-time-zones.md delete mode 100644 .changeset/docs-and-hidden-panels.md delete mode 100644 .changeset/filter-submit-export-list.md delete mode 100644 .changeset/i18n-strings.md delete mode 100644 .changeset/icon-prototype-names.md delete mode 100644 .changeset/inertia.md delete mode 100644 .changeset/listing-ssr-url.md delete mode 100644 .changeset/loading-buttons.md delete mode 100644 .changeset/map-input-sync.md delete mode 100644 .changeset/number-decimals.md delete mode 100644 .changeset/onu-accordion-mounted.md delete mode 100644 .changeset/onu-map-multipolygon.md delete mode 100644 .changeset/onu-summary-select.md delete mode 100644 .changeset/parity-v2.md delete mode 100644 .changeset/portable-declarations.md delete mode 100644 .changeset/rename-to-javaabu-forms.md delete mode 100644 .changeset/reset-on-success-names.md delete mode 100644 .changeset/rtl.md delete mode 100644 .changeset/script-tag-build.md delete mode 100644 .changeset/set-in-arrays.md delete mode 100644 .changeset/shadcn-accordion-hidden.md delete mode 100644 .changeset/shadcn-clear-select.md delete mode 100644 .changeset/shadcn-empty-radio.md delete mode 100644 .changeset/shadcn-modal-trigger.md delete mode 100644 .changeset/shadcn-remote-label.md delete mode 100644 .changeset/shadcn.md delete mode 100644 .changeset/submit-spinner-reset.md delete mode 100644 .changeset/table-selection-rows.md delete mode 100644 .changeset/table-selection.md delete mode 100644 .changeset/ui-agnostic-core.md delete mode 100644 .changeset/url-controlled.md delete mode 100644 .changeset/use-form-choices.md delete mode 100644 .changeset/use-form-files-hidden.md delete mode 100644 .changeset/use-form-transform.md delete mode 100644 .changeset/wayfinder.md create mode 100644 CHANGELOG.md diff --git a/.changeset/adapter-test-kit.md b/.changeset/adapter-test-kit.md deleted file mode 100644 index fed57ba..0000000 --- a/.changeset/adapter-test-kit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@javaabu/forms": minor ---- - -New `@javaabu/forms/testing`: `testAdapter(myAdapter)` runs conformance tests that render every component through an adapter and check labels, values, native submission, errors and ARIA. The adapter contract is typed (`defineAdapter`, `FormsComponents` and a `…SlotProps` type per slot) and documented in `docs/advanced-usage/adapters.md`. `@testing-library/react` is an optional peer dependency. diff --git a/.changeset/automatic-errors.md b/.changeset/automatic-errors.md deleted file mode 100644 index bb94c4b..0000000 --- a/.changeset/automatic-errors.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@javaabu/forms": minor ---- - -Validation errors are now handled by the core, for every adapter. Errors come from Inertia page props, `useForm()`, a JSON 422 response, the `errors` prop or `FormsProvider errors`. Fields match them in dot or bracket notation, and array fields (`tags[]`) also collect their items' errors (`tags.0`). Error bags work with `errorBag`. New: `ErrorSummary`, `ValidationError`, `errorsFor`, `selectErrorBag` and `useFormState()`. Invalid fields get `aria-invalid` and `aria-describedby`, and the first one is focused when errors arrive. diff --git a/.changeset/binding-tests.md b/.changeset/binding-tests.md deleted file mode 100644 index 9c12eab..0000000 --- a/.changeset/binding-tests.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@javaabu/forms": patch ---- - -Fields are controlled by the core and still submit natively. Model binding, old input (including `null` old values), nested and array names, checkbox groups, radio groups, relations and date formats follow javaabu/forms. Radios in a group now update together when one is picked. diff --git a/.changeset/blade-icons.md b/.changeset/blade-icons.md deleted file mode 100644 index 7df1aa4..0000000 --- a/.changeset/blade-icons.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@javaabu/forms": minor ---- - -Icons match javaabu/forms (Blade): `startIcon`, `endIcon` and the new `Icon` component take Blade's 30 bundled Lucide names (`pencil`, `trash-2`, `eye`, `check`, …) or icon font classes. The Onu adapter maps them to Onu's icon names. `close` and `error` stay as aliases of `x` and `circle-alert`. Adds `BUNDLED_ICONS`, `ICON_ALIASES` and `resolveIconName()` for adapters. diff --git a/.changeset/cascade-keeps-value.md b/.changeset/cascade-keeps-value.md deleted file mode 100644 index 05fc117..0000000 --- a/.changeset/cascade-keeps-value.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@javaabu/forms": patch ---- - -A cascade child linked with `parent=` no longer loses its saved value on mount: it waits for the parent's value, and clears only when that value changes. diff --git a/.changeset/custom-field-hooks.md b/.changeset/custom-field-hooks.md deleted file mode 100644 index 39d6d6a..0000000 --- a/.changeset/custom-field-hooks.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@javaabu/forms": minor ---- - -Custom fields: `useFieldState`, `splitFieldProps` and `usePublishField` (with `FieldStateOptions`, `UseFieldOptions`, `FieldEntry` and `FieldKind`) are exported from the package root, so fields from other packages get Inertia `useForm()` data, reset, `ConditionalWrapper` and errors like the built-in ones. New docs page: Custom fields. diff --git a/.changeset/date-time-zones.md b/.changeset/date-time-zones.md deleted file mode 100644 index 5249c15..0000000 --- a/.changeset/date-time-zones.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@javaabu/forms": patch ---- - -Date fields no longer move zone-aware values (Laravel's JSON for date casts, `2024-05-01T00:00:00.000000Z`) into the browser's time zone. `Date` keeps the date as written, and the new `app_timezone` setting (`FormsProvider settings`) shows every date field in the app's time zone. diff --git a/.changeset/docs-and-hidden-panels.md b/.changeset/docs-and-hidden-panels.md deleted file mode 100644 index 2802ed4..0000000 --- a/.changeset/docs-and-hidden-panels.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@javaabu/forms": patch ---- - -Tab panels stay mounted in every adapter (and accordion items in the HTML and shadcn adapters), so fields in other tabs keep their values and submit, as in Blade. The tab or item with an invalid field opens when errors arrive. New for adapters: `TabPanel` and `useReveal`. `Textarea wysiwyg` passes `className` and `onChange` on. The docs are rewritten for the adapter-based API, with `llms.txt`, an API reference, an upgrade guide from `@javaabu/react-forms`, and a Laravel Boost guideline and skill (`javaabu-react-forms`). diff --git a/.changeset/filter-submit-export-list.md b/.changeset/filter-submit-export-list.md deleted file mode 100644 index a2b5b80..0000000 --- a/.changeset/filter-submit-export-list.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@javaabu/forms": patch ---- - -`FilterSubmit export={["csv", "xlsx"]}` submits the format (`download=csv`) instead of the list index. diff --git a/.changeset/i18n-strings.md b/.changeset/i18n-strings.md deleted file mode 100644 index caaf9c2..0000000 --- a/.changeset/i18n-strings.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@javaabu/forms": minor ---- - -Strings now come from `@javaabu/i18n` under the Blade package's keys (`forms::strings.nothing_selected`), so apps change them in `lang/vendor/forms/{locale}/strings.php` as they do for the Blade components. Generated labels go through `__()` by default. The locale follows `@javaabu/i18n` (``, `setLocale()`) instead of Onu's. `FormsProvider messages` is gone, and the string keys are now snake_case like Blade's (`t("nothing_selected")`). diff --git a/.changeset/icon-prototype-names.md b/.changeset/icon-prototype-names.md deleted file mode 100644 index 183adba..0000000 --- a/.changeset/icon-prototype-names.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@javaabu/forms": patch ---- - -`Icon` (and `startIcon` / `endIcon`) no longer crashes on names like `constructor` or `toString`: they render as icon font classes. diff --git a/.changeset/inertia.md b/.changeset/inertia.md deleted file mode 100644 index 67669eb..0000000 --- a/.changeset/inertia.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@javaabu/forms": minor ---- - -New `@javaabu/forms/inertia`. `` submits every form as an Inertia visit, with files, method spoofing, error bags, progress, `preserveScroll` / `preserveState` (default `"errors"`) and `resetOnSuccess`. Errors and old input come from the page props. `
` binds the fields to `useForm` data, nested names and checkbox groups included. `inertiaLinks` puts Inertia's `Link` in the `Link` slot. Without Inertia, `fetchRouter` submits JSON requests and shows 422 errors. `@inertiajs/react` (v2 or v3) is an optional peer dependency. diff --git a/.changeset/listing-ssr-url.md b/.changeset/listing-ssr-url.md deleted file mode 100644 index 5c60daa..0000000 --- a/.changeset/listing-ssr-url.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@javaabu/forms": minor ---- - -Listing components (sortable headings, `Filter`, `PerPage`, `SearchForm`, `BulkActions`, `Pagination`) no longer read `window.location` while rendering, so Inertia SSR pages hydrate without a mismatch. They read the URL from the router's new `useUrl()` hook (the Inertia router returns `usePage().url`) or the new `FormsProvider url`, else the browser's URL after hydration. `usePageUrl()` and `usePageQuery()` expose it. diff --git a/.changeset/loading-buttons.md b/.changeset/loading-buttons.md deleted file mode 100644 index 55c440a..0000000 --- a/.changeset/loading-buttons.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@javaabu/forms": patch ---- - -Submit buttons of the HTML and shadcn adapters submit again with `animate`. While loading, they use `aria-disabled` and ignore clicks instead of `disabled`, because a button disabled during its own click doesn't submit the form. The shadcn adapter now styles `Form`, `DescriptionList`, `DescriptionItem` and `EmptyState`, and lays out `inline` fields side by side. New example pages for Inertia and fetch, with a mock Laravel endpoint. diff --git a/.changeset/map-input-sync.md b/.changeset/map-input-sync.md deleted file mode 100644 index a673c01..0000000 --- a/.changeset/map-input-sync.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@javaabu/forms": patch ---- - -`MapInput` follows a model that loads later and changed `lat`, `lng`, `radius` and `polygon` props, and returns to its starting values when the form resets. diff --git a/.changeset/number-decimals.md b/.changeset/number-decimals.md deleted file mode 100644 index e830462..0000000 --- a/.changeset/number-decimals.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@javaabu/forms": patch ---- - -`Number`, `Latitude` and `Longitude` with `decimals` now submit the rounded value they report: the HTML and shadcn adapters show it once the input loses focus, and the Onu adapter rounds what it reports. The conformance kit checks it. diff --git a/.changeset/onu-accordion-mounted.md b/.changeset/onu-accordion-mounted.md deleted file mode 100644 index ae8fa94..0000000 --- a/.changeset/onu-accordion-mounted.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@javaabu/forms": patch ---- - -Onu adapter: closed accordion items stay mounted (hidden), so their fields submit, and an item opens when a field inside has an error. The conformance kit's accordion case now runs for Onu. diff --git a/.changeset/onu-map-multipolygon.md b/.changeset/onu-map-multipolygon.md deleted file mode 100644 index 11de1cc..0000000 --- a/.changeset/onu-map-multipolygon.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@javaabu/forms": patch ---- - -Onu maps: every polygon of a bound `MULTIPOLYGON` boundary can be edited, not just the first. A single boundary still draws one polygon, as in Blade. diff --git a/.changeset/onu-summary-select.md b/.changeset/onu-summary-select.md deleted file mode 100644 index 9c5679f..0000000 --- a/.changeset/onu-summary-select.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@javaabu/forms": patch ---- - -Onu adapter: error summary links focus nested fields (`items.0.name`) and open the tab or accordion item that holds the field, like the other adapters. diff --git a/.changeset/parity-v2.md b/.changeset/parity-v2.md deleted file mode 100644 index 7adf44c..0000000 --- a/.changeset/parity-v2.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@javaabu/forms": minor ---- - -Parity with javaabu/forms v2. `Form summary` now defaults to `false`, as in Blade; a general message (a failed submit) still shows at the top. `Errors` and `ErrorSummary` take `bag`. `Textarea wysiwyg` renders the rich text editor. New strings: `per_page` (the `PerPage` default label), `export_title` and `export_options`. The parity matrix is in `docs/parity.md`. diff --git a/.changeset/portable-declarations.md b/.changeset/portable-declarations.md deleted file mode 100644 index 1b54e8a..0000000 --- a/.changeset/portable-declarations.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@javaabu/forms": patch ---- - -Installing from Git no longer fails in CI when pnpm's store is inside `node_modules` (TS2883 during the `prepare` build). `Wysiwyg`, and the Onu editor and maps slots, have explicit return types. diff --git a/.changeset/rename-to-javaabu-forms.md b/.changeset/rename-to-javaabu-forms.md deleted file mode 100644 index 0f70a34..0000000 --- a/.changeset/rename-to-javaabu-forms.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@javaabu/forms": minor ---- - -Renamed from `@javaabu/react-forms` to `@javaabu/forms`. The package now ships CommonJS next to ESM, and builds itself when installed from Git (`github:Javaabu/react-forms#next-gen`). diff --git a/.changeset/reset-on-success-names.md b/.changeset/reset-on-success-names.md deleted file mode 100644 index c58cf01..0000000 --- a/.changeset/reset-on-success-names.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@javaabu/forms": patch ---- - -A field that a `resetOnSuccess` list leaves out keeps its value, even after an earlier reset of every field. diff --git a/.changeset/rtl.md b/.changeset/rtl.md deleted file mode 100644 index 8d590eb..0000000 --- a/.changeset/rtl.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@javaabu/forms": patch ---- - -The HTML adapter flips side-pointing arrows in right-to-left pages. Thaana typing (`thaana`) is documented and tested for every adapter. Dhivehi lines that need a native speaker's review are listed in `docs/advanced-usage/dhivehi-and-rtl.md`. diff --git a/.changeset/script-tag-build.md b/.changeset/script-tag-build.md deleted file mode 100644 index 09375cf..0000000 --- a/.changeset/script-tag-build.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@javaabu/forms": minor ---- - -A `