Commit Graph

11 Commits

Author SHA1 Message Date
Aesop Wolf 42e39cbc8f Chore/tweaks for v1 (#473)
* Rename HOC/Wrapper export to `withFormsy`

This is more in alignment with community practices.

* Migrate from npm to yarn

* Update package.json

Use order listed on https://yarnpkg.com/en/docs/package-json

* Update README.md

New examples, and small copy/whitespace changes

* Remove CHANGES.md

We will use github release from now on

* Fix test suite

Replace all references to  with

* Add ESLint

* Update dependencies

* Upgrade babel dependencies

* Upgrade jsdom

* Upgrade nodeunit and sinon

* Upgrade webpack and webpack-dev-server

* Fix examples

* Convert to ES6 classes

* Fix ESLint errors and warnings (WIP)

* Fix more ESLint errors and warnings (WIP)

* Move runRules to utils.js

* Fix more ESLint errors and warnings (WIP)

* Fix more ESLint errors and warnings (WIP)

* Fix more ESLint errors and warnings (WIP)

* Use less complex regex's for url and email

* Change grammar in README

* Change export pattern

* Use ES6 export for utils and validationRules

* Fix login example

* Reorder methods alphabetically and remove "magical" `validate` feature

* Remove `validate` from API docs (and general cleanup of file)

* Update examples (removes `validate` feature)

* Rename webpack file and remove json loader

* Fix code samples in README

* Update reset-values example (WIP)

* Cleanup reset-values example

* Fix prop type for Wrapper value

* Handle onReset event

* Update reset-value example to support `<button type="reset">`

* Update dynamic form fields example
2017-08-29 16:35:17 -07:00
Tom B 98525a4b64 Major update/cleanup to Formsy API; React v15+; No more mixins (#470)
* Up node to 8.2.1; only allow React v15+

* Update HOC to ES6 component; kill Mixin and decorator

* Update all tests; ES6ify everything!

* Update examples to ES6 classes

* Update API docs

* Fix broken/commented test case

* Move peer dep to regular dep since peer is deprecated
2017-08-08 22:09:11 -07:00
Semigradsky 3cdcdf57ce Fixed uncontrollable/controllable components in examples 2016-07-05 11:22:25 +03:00
Semigradsky fbd09119d3 Added `dynamic form fields` example. 2015-12-01 17:00:43 +03:00
Semigradsky 6a0d23cc03 Added `reset-values` example.
Moved examples to es2015
2015-09-10 15:26:17 +03:00
David Blurton 87f14ae418 Fix warnings 2015-08-31 13:18:12 +00:00
David Blurton 712f38883b Use react-dom 2015-08-31 13:17:58 +00:00
Gregory Ostermayr 8af9abec36 fix typo 2015-06-24 15:41:22 -04:00
Semigradsky 49d7d39005 💄 cleanup 2015-05-11 13:48:22 +03:00
Semigradsky 9fdca026bf Added more info about examples. Fix `custom-validation` example 2015-04-15 09:41:30 +03:00
Semigradsky 4a40cd21f1 Add example of custom validation 2015-04-09 13:48:09 +03:00