├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── LICENSE.txt ├── README.md ├── package-lock.json ├── package.json ├── src └── submittable.js └── test └── submittable.test.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | coverage 4 | dist 5 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "stable" 4 | cache: 5 | directories: 6 | - node_modules 7 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | ## 3.0.1 4 | - Upgrade dependencies 5 | 6 | ## 3.0.0 7 | - Change the package name to @mapbox/react-submittable 8 | - Add react@18 to the allowed peer dependencies 9 | 10 | ## 2.0.0 11 | 12 | - react and react-dom are now peer dependencies, instead of regular dependencies. 13 | - `dist/` no longer included in Git repo. 14 | - Switch `prepublish` build to `prepublishOnly`. 15 | 16 | ## 1.0.4 17 | 18 | - Babel fanciness to appease React 15.5. 19 | 20 | ## 1.0.3 21 | 22 | - Fixed: no longer passes `ReactSubmittable`'s own props to the child `