Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add docs #1

Merged
merged 68 commits into from
Dec 30, 2024
Merged

feat: add docs #1

merged 68 commits into from
Dec 30, 2024

Conversation

tobySolutions
Copy link
Owner

No description provided.

renovate bot and others added 30 commits October 21, 2024 22:23
* chore(deps): update all non-major dependencies

* chore: fix issues with typescript patches

* ci: apply automated fixes and generate docs

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Corbin Crutchley <git@crutchcorn.dev>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* chore: fix timeout issues

* ci: apply automated fixes and generate docs

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* fix: dont merge arrays in `mergeForm`

- this causes form submissions to be duplicated when having
  an array field in your form

* ci: apply automated fixes and generate docs

* test: add more tests

* ci: apply automated fixes and generate docs

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* fix: remove mount validation on touch

* ci: apply automated fixes and generate docs

* fix: tests

* ci: apply automated fixes and generate docs

* test: check onChange and onMount overlapping

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* chore: update valibot dependency

* Sync version

---------

Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
… values (#791)

* feat: added ability to specify values for `form.reset` method

* test: add test for new default values

* feat: reset defaultValues and control overriding with a flag

* ci: apply automated fixes and generate docs

* test: add default meta to failing test

---------

Co-authored-by: Leonardo Montini <lion.48m@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* feat(react-form): support Remix SSR

* update deps, update createServerValidate, fix ci errors

* docs: add remix example to the docs sidebar

---------

Co-authored-by: Leonardo Montini <lion.48m@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(core): run form submit validator once on submit

* ci: apply automated fixes and generate docs

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
…assed (#1029)

* fix(form-core): make sure async form validator is called only if sync field & form passed

* docs: update references

* tests: add test for asyncAlways in the field
* fix: simplify useForm return type

* ci: apply automated fixes and generate docs

* fix: restore validator type

* ci: apply automated fixes and generate docs

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
crutchcorn and others added 28 commits November 29, 2024 00:03
* chore: add compiler demo

# Conflicts:
#	pnpm-lock.yaml

* chore: add React compiler ESLint rules to React package

* chore!: remove useField and useStore APIs returned from useForm

* fix: Field rerenders properly when using React Compiler

* chore: fix issues with deprecated APIs in tests

* chore: fix build and type issues

* docs: remove reference to form.useField and form.useStore

* ci: apply automated fixes and generate docs

* chore: fix ci

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* fix: export useStore in Solid, React, and Vue forms

* ci: apply automated fixes and generate docs

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* fix: remove errant TypeScript types

* ci: apply automated fixes and generate docs

* chore: fix ui libraries example

* ci: apply automated fixes and generate docs

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This approach should be better than the previous one since this infers the type.
* feat: naive implementation as adapter

* test: naive test with valibot

* feat: add async validation support

* feat: define standard schema adapter in form-core

* feat: support arktype's function-based structure and path

* ci: apply automated fixes and generate docs

* feat: validate form with standard schema without adapter

* feat: validate field with standard schema without adapter

* test: add todo tests for zod

* ci: apply automated fixes and generate docs

* fix: spread field errors from form validator

* docs: add example with multiple schemas

* chore: bump valibot and uncomment failing tests

* docs: mention standard schema

* feat: accept functional sync validator even with an adapter set

* chore: bump versions

* docs: gen

* ci: apply automated fixes and generate docs

* feat: integrate zod

* docs: update with zod and simplify examples

* ci: apply automated fixes and generate docs

* docs: mention latest version for schema libraries
…icit adapter (#1064)

* fix: allow standard schema validator on fields without adapter

* doc: mention standard schema in basic-concepts
standard schema libraries do not need an adapter anymore
* fix: reintroduce mandatori standard schema adapter

* ci: apply automated fixes and generate docs

* fix: add standard any

* ci: apply automated fixes and generate docs

* fix: embed standard schema types

* ci: apply automated fixes and generate docs

* fix: make standar adapter optional again

* ci: apply automated fixes and generate docs

* fix: remove again adapter in example - it works now
there were a bunch ts-ignores, which looks bad on an example

Co-authored-by: Misha Kaletsky <mmkal@users.noreply.github.com>
Signed-off-by: Pascal Küsgen <pascalkuesgen@gmail.com>
* chore: WIP migration to derived state

* chore!: temporarily remove broken tests

* ci: apply automated fixes and generate docs

* chore: refactor derived state in FormApi to use Derived class

* ci: apply automated fixes and generate docs

* chore: fix build

* ci: apply automated fixes and generate docs

* Revert "chore: fix build"

This reverts commit 4087d87.

* ci: apply automated fixes and generate docs

* chore: migrate to form mount on every test

* chore: simplify complex tests

* ci: apply automated fixes and generate docs

* chore: refactor all derived state into `FormApi`, even field derived values

* ci: apply automated fixes and generate docs

* chore: fix build

* fix: only regenerate field.errors when field.errorMap has changed

* chore: fix tests

* ci: apply automated fixes and generate docs

* chore: add previously failing test

* chore: only recompute errors when prevDepVal is different

* ci: apply automated fixes and generate docs

* chore: WIP validate new Store API

* chore: fix issues with tests

* ci: apply automated fixes and generate docs

* chore: fix build

* ci: apply automated fixes and generate docs

* fix: all tests now pass in Form Core and React Form

* chore: bump Store to 0.7

* ci: apply automated fixes and generate docs

* chore: fix issues with Sherif, fix mount tests

* ci: apply automated fixes and generate docs

* test: add previously failing useStore test

* ci: apply automated fixes and generate docs

* chore: fix timing with Solid Form

* ci: apply automated fixes and generate docs

* chore: key rename and fix comment

* ci: apply automated fixes and generate docs

* chore: fix eslint

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
@tobySolutions tobySolutions merged commit 72dbdd1 into tobySolutions:main Dec 30, 2024
1 of 3 checks passed
@autofix-troubleshooter
Copy link

Hi! I'm the autofix logoautofix.ci troubleshooter bot.

It looks like you correctly set up a CI job that uses the autofix.ci GitHub Action, but the autofix.ci GitHub App has not been installed for this repository. This means that autofix.ci unfortunately does not have the permissions to fix this pull request. If you are the repository owner, please install the app and then restart the CI workflow! 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.