├── .babelrc ├── .eslintrc ├── .flowconfig ├── .gitignore ├── README.md ├── package.json ├── rollup.config.js ├── src ├── config.js ├── core │ ├── error.js │ ├── field.js │ ├── form.js │ ├── layout.js │ └── state.js ├── index.d.ts ├── index.js ├── inputs │ ├── checkbox.js │ ├── email.js │ ├── hidden.js │ ├── number.js │ ├── password.js │ ├── phone.js │ ├── radios.js │ ├── search.js │ ├── select.js │ ├── slider.js │ ├── text.js │ └── textarea.js ├── providers │ ├── layout.js │ └── validator.js ├── types.js └── utils │ ├── optionizer.js │ └── trimmer.js └── test ├── core ├── field_test.js ├── form_test.js └── layout_test.js ├── helper.js ├── inputs ├── checkbox_test.js ├── email_test.js ├── hidden_test.js ├── number_test.js ├── password_test.js ├── phone_test.js ├── radios_test.js ├── search_test.js ├── select_test.js ├── slider_test.js ├── text_test.js └── textarea_test.js └── mocha.opts /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/.babelrc -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/.eslintrc -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/.flowconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | .DS_Store 4 | npm-debug* 5 | yarn-error* 6 | .vscode 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/rollup.config.js -------------------------------------------------------------------------------- /src/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/src/config.js -------------------------------------------------------------------------------- /src/core/error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/src/core/error.js -------------------------------------------------------------------------------- /src/core/field.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/src/core/field.js -------------------------------------------------------------------------------- /src/core/form.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/src/core/form.js -------------------------------------------------------------------------------- /src/core/layout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/src/core/layout.js -------------------------------------------------------------------------------- /src/core/state.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/src/core/state.js -------------------------------------------------------------------------------- /src/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/src/index.d.ts -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/src/index.js -------------------------------------------------------------------------------- /src/inputs/checkbox.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/src/inputs/checkbox.js -------------------------------------------------------------------------------- /src/inputs/email.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/src/inputs/email.js -------------------------------------------------------------------------------- /src/inputs/hidden.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/src/inputs/hidden.js -------------------------------------------------------------------------------- /src/inputs/number.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/src/inputs/number.js -------------------------------------------------------------------------------- /src/inputs/password.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/src/inputs/password.js -------------------------------------------------------------------------------- /src/inputs/phone.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/src/inputs/phone.js -------------------------------------------------------------------------------- /src/inputs/radios.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/src/inputs/radios.js -------------------------------------------------------------------------------- /src/inputs/search.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/src/inputs/search.js -------------------------------------------------------------------------------- /src/inputs/select.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/src/inputs/select.js -------------------------------------------------------------------------------- /src/inputs/slider.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/src/inputs/slider.js -------------------------------------------------------------------------------- /src/inputs/text.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/src/inputs/text.js -------------------------------------------------------------------------------- /src/inputs/textarea.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/src/inputs/textarea.js -------------------------------------------------------------------------------- /src/providers/layout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/src/providers/layout.js -------------------------------------------------------------------------------- /src/providers/validator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/src/providers/validator.js -------------------------------------------------------------------------------- /src/types.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/src/types.js -------------------------------------------------------------------------------- /src/utils/optionizer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/src/utils/optionizer.js -------------------------------------------------------------------------------- /src/utils/trimmer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/src/utils/trimmer.js -------------------------------------------------------------------------------- /test/core/field_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/test/core/field_test.js -------------------------------------------------------------------------------- /test/core/form_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/test/core/form_test.js -------------------------------------------------------------------------------- /test/core/layout_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/test/core/layout_test.js -------------------------------------------------------------------------------- /test/helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/test/helper.js -------------------------------------------------------------------------------- /test/inputs/checkbox_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/test/inputs/checkbox_test.js -------------------------------------------------------------------------------- /test/inputs/email_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/test/inputs/email_test.js -------------------------------------------------------------------------------- /test/inputs/hidden_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/test/inputs/hidden_test.js -------------------------------------------------------------------------------- /test/inputs/number_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/test/inputs/number_test.js -------------------------------------------------------------------------------- /test/inputs/password_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/test/inputs/password_test.js -------------------------------------------------------------------------------- /test/inputs/phone_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/test/inputs/phone_test.js -------------------------------------------------------------------------------- /test/inputs/radios_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/test/inputs/radios_test.js -------------------------------------------------------------------------------- /test/inputs/search_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/test/inputs/search_test.js -------------------------------------------------------------------------------- /test/inputs/select_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/test/inputs/select_test.js -------------------------------------------------------------------------------- /test/inputs/slider_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/test/inputs/slider_test.js -------------------------------------------------------------------------------- /test/inputs/text_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/test/inputs/text_test.js -------------------------------------------------------------------------------- /test/inputs/textarea_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/test/inputs/textarea_test.js -------------------------------------------------------------------------------- /test/mocha.opts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaievns/a-plus-forms/HEAD/test/mocha.opts --------------------------------------------------------------------------------