Commit Graph

43 Commits

Author SHA1 Message Date
Tanner Linsley
a721443870 release: v0.3.7 2023-10-17 11:56:39 +00:00
Tanner Linsley
0159e61103 release: v0.3.6 2023-09-14 15:08:50 +00:00
Tanner Linsley
9e5fef402e release: v0.3.5 2023-09-13 20:48:04 +00:00
Tanner Linsley
658c8f8c6c release: v0.3.4 2023-09-09 11:05:16 +00:00
Tanner Linsley
192ffceca7 release: v0.3.3 2023-09-09 10:42:22 +00:00
Corbin Crutchley
160f71275f fix: Field components should now infer state.value properly
* chore: refactor TS typings for React

* fix: field should now infer state.value properly in React adapter

* chore: fix Vue package typings

* chore: fix linting

* chore: fix React adapter

* chore: improve performance of TData type in FieldApi

* chore: add back index and parent type

* chore: add Vue TSC dep on Vue example

* chore: fix lint and type test

* chore: update Vite stuff

* chore: add implicit dep for Vue and React examples

* chore: add type test pre-req

* chore: install deps from examples in PR CI

* chore: remove filter from more installation
2023-09-09 03:40:29 -07:00
Tanner Linsley
b5a768f182 release: v0.3.2 2023-09-09 07:27:24 +00:00
Corbin Crutchley
539cbfb2f5 fix: build script should now execute on all targets (#459)
* fix: build script should now execute on all targets

* chore: revert back to pnpm workspace file
2023-09-09 00:26:10 -07:00
Corbin Crutchley
707ff5d603 chore: fix errrors in examples, remove unneeded CI steps (#457) 2023-09-09 00:04:42 -07:00
Tanner Linsley
826c58d5c2 release: v0.3.1 2023-09-09 06:44:30 +00:00
Robert Soriano
6935b330fa feat(vue): field is now destructured from Field. TypeScript types are much more strict now
* fix(vue): Subscribe component default scoped slot types

* fix(vue): Field component default scoped slot value types

* example type fixes

* remove test log

* docs(vue): Field component slot fix

* refactor(vue): remove unused children property type from field component

* chore: fix formatting

---------

Co-authored-by: Corbin Crutchley <git@crutchcorn.dev>
2023-09-08 14:41:54 -07:00
Corbin Crutchley
f6bb80ef93 chore: bump package version (#450) 2023-09-07 20:19:27 -07:00
Corbin Crutchley
e3e60ccd41 fix: bundler errors in React and Vue adapters should now be resolved (#447)
* fix: bundler errors in React and Vue adapters should now be resolved

* chore: replace use-isomorphic-layout-effect with dep for RN support
2023-09-07 20:03:11 -07:00
Corbin Crutchley
081a22896e feat: Add Vue adapter (#416)
* chore: initial work at scaffolding Vue package

* chore: initial work on adding in useField and useForm API

* chore: fix build for Vue package

* chore: migrate to slots for functional comps

* chore: got initial fields rendering

* chore: add component names for debuggability

* chore: fix error regarding passdown props

* chore: fix Promise constructor error in demo

* chore: initial work at writing vue store implementation

* feat: add initial useStore and Subscribe instances

* fix: state is now passed as a dedicated reactive option

* chore: temporarily remove Vue 2 typechecking

* chore: make Provider and selector optional

* chore: add createFormFactory

* chore: attempt 1 of test - JSX

* chore: attempt 2 of test - Vue JSX

* chore: attempt 3 of test - H

* chore: migrate to proper h function

* chore: fix tests by bumping package

* chore: fix JSX typings

* chore: add another test for useForm

* chore: listen for fieldAPIs to update

* fix: fields should now update during mount

* chore: add test for useField in Vue

* test: add useField Vue tests

* docs: add early docs for Vue package
2023-09-07 17:20:35 -07:00
Corbin Crutchley
6f76feee6b fix: onSubmit should now behave as expected
* fix: memoize all non-function form props by default

* chore: migrate useStableFormOpts to useMemo

* fix: options passed to useField will not always cause a re-render

* chore: minor code cleanups

* test: add previously failing test to demonstrate fix

* chore: fix linting

* fix: running form.update repeatedly should not wipe form state

* test: add test to validate formapi update behavior

* test: add initial tests for useStableOptions

* chore: remove useStableOpts and useFormCallback
2023-09-06 19:33:52 -07:00
Corbin Crutchley
eea47f03dc docs: remove recently deleted props 2023-09-03 16:48:51 -07:00
Corbin Crutchley
2a31bd8219 feat: remove getFormProps to support React Native 2023-09-03 16:48:51 -07:00
Corbin Crutchley
c392c6100d docs: improve docs, add disclaimer where docs are outdated (#412) 2023-08-29 15:08:25 -07:00
Corbin Crutchley
77594a63ba fix: eslint for example project (#407)
* chore: fix eslint for example project

* chore: fix linting
2023-08-28 18:22:22 -07:00
Tanner Linsley
9beacc44a0 release: v0.0.11 2023-06-13 21:38:41 +00:00
Brandon Bayer
a3f9709dde fix: several type and build errors and fix example type inference (#399)
* fix few type errors and fix example

* couple fixes

* fix babel
2023-06-13 15:36:42 -06:00
Tanner Linsley
884235f211 fix: router + store 2023-05-07 23:33:39 -06:00
Tanner Linsley
ee4cc3f51f release: v0.0.10 2023-05-04 23:07:20 +00:00
Tanner Linsley
ca8f244b5e fix: form.Provider 2023-05-04 16:05:36 -07:00
Tanner Linsley
07ddd2c2d6 Merge branch 'main' of https://github.com/TanStack/form 2023-05-04 15:39:17 -07:00
Tanner Linsley
b37628d337 fix: remove form.Form for headless form.getFormProps() 2023-05-04 15:39:15 -07:00
Tanner Linsley
7526403730 release: v0.0.9 2023-05-04 19:45:27 +00:00
Tanner Linsley
2ae8db4a1c release: v0.0.8 2023-05-04 19:34:37 +00:00
Tanner Linsley
30e74334c4 Update index.tsx 2023-05-03 15:47:42 -07:00
Tanner Linsley
62a82fe48f fix: array-field mode and utilities 2023-05-03 15:16:56 -07:00
Tanner Linsley
ab651b4c2b release: v0.0.7 2023-05-01 18:24:18 +00:00
Tanner Linsley
39555fc8a2 release: v0.0.6 2023-05-01 18:00:45 +00:00
Tanner Linsley
c444704ae3 fix: complete form factory functionality, docs 2023-05-01 10:59:37 -06:00
Tanner Linsley
b274bccf3d fix: createFormFactory 2023-05-01 10:27:51 -06:00
Tanner Linsley
140daf605c release: v0.0.5 2023-04-27 19:28:58 +00:00
Tanner Linsley
5e209cd8d9 release: v0.0.4 2023-04-26 23:50:28 +00:00
Tanner Linsley
4862d15ff9 release: v0.0.3 2023-04-26 20:59:42 +00:00
Tanner Linsley
d7cb9b43dd fix: react reexports core, sync + async validation, debouncing 2023-04-26 14:57:53 -06:00
Tanner Linsley
aa92d2028d release: v0.0.2 2023-04-26 06:01:54 +00:00
Tanner Linsley
1097629559 release: v4.0.2 2023-04-26 05:47:56 +00:00
Tanner Linsley
63c400737a checkpoint 2023-04-25 10:51:17 -06:00
Tanner Linsley
a4fa4f0da8 GPT that shiz 2023-04-24 23:58:54 -06:00
Tanner Linsley
9a18e45de7 big changes 2023-04-24 15:44:59 -06:00