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

v3 #47

Merged
merged 15 commits into from
Mar 4, 2022
Merged

v3 #47

merged 15 commits into from
Mar 4, 2022

Conversation

nighca
Copy link
Collaborator

@nighca nighca commented May 12, 2021

@nighca nighca changed the title v3 WIP v3 Jul 26, 2021
This was referenced Feb 7, 2022
@nighca nighca mentioned this pull request Feb 22, 2022
nighca added 15 commits March 4, 2022 11:06
* feature set

* update cases

* remove useless code

* isFormState

* more cases

* typo

* ArrayFromState: dispose removed fields

* declare $ as readonly for form state

* remove useless line

* fix coverage issue
* onChange for FormState & methods for ArrayFormState

* test case for onChange & ArrayFormState methods

* enable CI for branch `v3.x`

* fix adapter

* typo

* typo

* cases for `onChange` of `FormState` (mode: object)
* sv

* extract State

* cases for ProxyState

* remove adapter

* extract testUtils

* more cases

* comment for `$` of `ProxyState`

* typo

* remove useless `declare`

* fix test

* remove useless interface Bindable
* more cases

* fix test

* use dumi

* docs

* typo

* finish docs build

* update CI config

* restore ci config

* adjust Node.js version for npm
* debounced state

* upgrade coverallsapp/github-action

* case for DebouncedState validationDisabled

* simplify IState

* adjust naming

* comment for DebouncedState & ProxyState

* optimize type inference & error logic of DebouncedState

* naming details

* cases for default delay of DebouncedState

* doc for debounced state

* debounce validation for DebouncedState

* simplify sync of DebouncedState

* docs for async validator

* comment for DebouncedFieldState

* docs typo

* base state class rename
* adapter for v2

* exports for adapter

* debug ci

* add original state for adapted state

* upragde formstate-x v2

* comment typo

* optimize details

* rename throw fn
* ProxyState -> TransformedState

* validators -> addValidator

* adjust IState details & comment typo

* disableValidation -> disable

* docs details optimization

* addValidator -> withValidator

* naming adjustment for adapter

* docs typo
* remove isFormState

* Simplify validation logic

* typo

* specify exports in src/index.ts

* rename bindInput in docs react-bindings

* remove bindInput

* type details optimization

* remove useless path mapping

* Optimize test cases

* remove bindInput in docs

* field -> child state

* clear validation info when ending validation
* ownError & hasOwnError for IState

* @OverRide for action

* throw for ownError of non-recognized v2 state
* finish docs

* react as dev deps to build docs

* typo

* Error -> ValidationError
* dirty -> touched

* debug DebouncedState
@nighca nighca changed the title WIP v3 v3 Mar 4, 2022
@nighca nighca merged commit d3c0c38 into master Mar 4, 2022
@nighca
Copy link
Collaborator Author

nighca commented Mar 9, 2022

升级文档见 #84 (comment)

@nighca nighca mentioned this pull request Apr 17, 2022
@nighca nighca deleted the v3.x branch April 17, 2022 11:51
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.

1 participant