Repository URL to install this package:
|
Version:
3.5.4-es ▾
|
@skava/forms
/
CHANGELOG.md
|
|---|
setFormStateOnInput split to a bound methodisValid added to store with comment todo...errorMessageerrorMessage as errorMessageForerrorMessageList => errorMessageIndexedisValidCity as isValidCountry & isValidProvince to progressively add them, alongside todo commentisDirtyerror state & focused & isDirty stateObserverInput with a default style, then deduped to default styled used in renderPropsisDirtyclassName support for use with styleddefaultProps (left as commented out as it has a comment related to passing in props and how that would work with defaultState)styled(PluginHere) before providing them! added story for thisisValidName validator<> fragmentsstate or provincerenderLabel using required automatically adding *get predicatesblur and submit are used)defaultState which mutates state function an action in FieldSettodo for moving renderWrap inside of the render method for ObserverInputfromPropsToInputState into depsonPreFill (OnPreFill)prepublish script in pkgdata-qahttps://bitbucket.org/skava-admin/mono/pull-requests/40/forms-batch-6
tag version 3.0.0-alpha.4
add input rendering tests adapted from TextBox to ensure error rendering functionality
add lifecycle test for onPreFill OneFormState
change some of the deprecated imports to relative for tests
tests
FieldSet
legend prop & StyledLegendCommonState
OneForm
FormView
ObserverInput
add typings update for commonState
deps (added)
FormState
Form render
InputState, StyledError, renderInput props
input- to the identifier for debug & ensure no overlap) and move it back out of commonstatedisabled
!!! testsreact-scripts-ts :eye-roll:deprecated/ aliased imports from src/ into relative imports because https://github.com/wmonk/create-react-app-typescript/issues/203 (though we could use module-alias to solve this, the tests should not error right off the bat for imports of deprecated code)react-testing-library in plugins test to extend functionality and check submitreact-testing-library in plugins test to extend functionality and check validation calls with jest.fn mock wrappingreact-testing-library setup longhand (because of react-scripts-ts)name element on input for semantic html (thanks Michael)https://bitbucket.org/skava-admin/mono/pull-requests/38/forms-batch-4/diff
tag version 3.0.0-alpha.2
move all src/forms into deprecated/forms
move all src/inputs into deprecated/inputs
move all src/forms/deps into validators
update all import paths
remove storybook alias for src/forms & src/inputs
remove some unused files
improve typings on all validators
add exports file (since index can't be used yet)
move app from components into app
move Incrementer into components (since we are using it, though we should move it)
update storybook
update lint dependencies
add test-react library
example for most complex state management in plugins without bloating other classes
text|| for compat...SelectDropDownPlugin & CreditCardPluginconsole.warn for all @deprecated methods, alongside a transformation path using setters & getters & styled wrappersfromObserverFormPropsToState with strong assertions that @throwOneFormObserverInputPropsget and isValid as minimal requirements for functionality in core we want to keep that was not in the originalinit configs
init tests
storybook config
old @skava/ui forms 4 compat - SKB2B-2051
commonstate
todos
!! base typings
base deps
!!! readme/documentation
#44dfd0087e53957b8f78fba453a6e88915f0eba7
add links to all related JIRA
add learn more links
add codesandbox poc
!!! first stories for forms 3.0
!!! forms/*
structured according to the standards
!!!! inputs/*
merge
static from (factory)!!!! plugins/*
#0433cdb3905ca51db4318a01f65240a110c7a608
PluginsContext
note this is very different from how it was done with
registerRluginswhich only allowed things to be added for the whole library/site and nothing else
CountryPlugin
EmailPlugin
TelephonePlugin
NamePlugin
TogglePlugin
TextPlugin
IncrementerPlugin
PasswordPlugin
!!!!! OneForm/*
js objects
PluginsContext
! remaining todos as md list in terms of tests required