Skip to content

Commit

Permalink
v2.0.0-beta.5
Browse files Browse the repository at this point in the history
  • Loading branch information
rkuykendall committed Oct 27, 2019
1 parent f8f99f9 commit 402a4dc
Show file tree
Hide file tree
Showing 11 changed files with 272 additions and 254 deletions.
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [v2.0.0-beta.4](https://github.com/formsy/formsy-react/compare/v2.0.0-beta.3...v2.0.0-beta.4)

> 12 July 2019
- Add prettier format to Markdown files [`#197`](https://github.com/formsy/formsy-react/pull/197)
- Fix test imports to use src not dist files [`#196`](https://github.com/formsy/formsy-react/pull/196)
- Bump all libraries [`#195`](https://github.com/formsy/formsy-react/pull/195)
- Allow HTMLFormElement attributes to be passed to a Formsy form [`#193`](https://github.com/formsy/formsy-react/pull/193)
- chore(deps): [Security] Bump lodash from 4.17.11 to 4.17.14 [`#191`](https://github.com/formsy/formsy-react/pull/191)
- Fix 'types' package key to point at the generated type declaration. [`#192`](https://github.com/formsy/formsy-react/pull/192)

#### [v2.0.0-beta.3](https://github.com/formsy/formsy-react/compare/v2.0.0-beta.2...v2.0.0-beta.3)

> 5 July 2019
Expand Down Expand Up @@ -64,6 +75,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- Merge v2.0 branch [`#135`](https://github.com/formsy/formsy-react/pull/135)
- Fixing #123 [`#124`](https://github.com/formsy/formsy-react/pull/124)
- Fix isValidValue call in documentation. Closes #99. [`#101`](https://github.com/formsy/formsy-react/pull/101)
- Merge pull request #101 from guillaumevincent/patch-1 [`#99`](https://github.com/formsy/formsy-react/issues/99)
- Fix isValidValue call in documentation [`#99`](https://github.com/formsy/formsy-react/issues/99)
- fix: removed useless default for innerRef prop from the HOC to prevent warnings when the wrapped component is a SFC [`3284327`](https://github.com/formsy/formsy-react/commit/32843279adbaa64248709e3a2b208e54ad2ab0c6)
- Clarified preventExternalInvalidation [`95dd051`](https://github.com/formsy/formsy-react/commit/95dd0516052053accd8781c3acb358d06d28747b)
Expand Down Expand Up @@ -186,7 +198,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- Use better displayNames for components wrapped into HOC [`#357`](https://github.com/formsy/formsy-react/pull/357)
- Fixed #335: getErrorMessages is undocumented in API [`#335`](https://github.com/formsy/formsy-react/issues/335)
- Fixed #298: RangeError: Maximum call stack size exceeded with custom validator [`#298`](https://github.com/formsy/formsy-react/issues/298)
- Fixed #361: Unknown props `onValidSubmit`, `onSubmitted` on <form> tag [`#361`](https://github.com/formsy/formsy-react/issues/361)
- Fixed #361: Unknown props `onValidSubmit`, `onSubmitted` on &lt;form&gt; tag [`#361`](https://github.com/formsy/formsy-react/issues/361)
- Update documentation [`89a2d42`](https://github.com/formsy/formsy-react/commit/89a2d4287ba3decab2b9a52214cf881e60fb7d77)
- Fix: Cannot reset value unless truthy [`6767a6b`](https://github.com/formsy/formsy-react/commit/6767a6b9eba9c0a7c255c46ce2d6f84dc69eeeb4)
- Use better names for components wrapped into HOC [`9e923dd`](https://github.com/formsy/formsy-react/commit/9e923dd0dc27eaad3d42c3b207f28ae66dc2fe93)
Expand Down Expand Up @@ -247,6 +259,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- Made passing all props, except `onSubmit` [`#148`](https://github.com/formsy/formsy-react/pull/148)
- fix typo [`#149`](https://github.com/formsy/formsy-react/pull/149)
- Changed validation behaviour [`#138`](https://github.com/formsy/formsy-react/pull/138)
- Merge pull request #197 from rblakeley/patch-1 [`#196`](https://github.com/formsy/formsy-react/issues/196)
- add built files, fix #196 [`#196`](https://github.com/formsy/formsy-react/issues/196)
- removed obsolete method call, fix #196 [`#196`](https://github.com/formsy/formsy-react/issues/196)
- fix #196 [`#196`](https://github.com/formsy/formsy-react/issues/196)
Expand Down Expand Up @@ -373,6 +386,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- Added npmignore file [`#68`](https://github.com/formsy/formsy-react/pull/68)
- Allow a component to decide whether it is valid (fixes #60) [`#63`](https://github.com/formsy/formsy-react/pull/63)
- Added example [`#69`](https://github.com/formsy/formsy-react/pull/69)
- Merge pull request #63 from philippotto/checkValidity [`#60`](https://github.com/formsy/formsy-react/issues/60)
- Fixed bug with internal ajax [`ebd17fd`](https://github.com/formsy/formsy-react/commit/ebd17fde625101ec602aca34c7cfdf26d7d9b44c)
- Fixed validation bug [`0964b07`](https://github.com/formsy/formsy-react/commit/0964b07e1d35d006e1b791c3f525cae79f4c2f76)
- Added section on validate method [`f1d9d6c`](https://github.com/formsy/formsy-react/commit/f1d9d6c15c7946544d26050b0a00484bea0d0f79)
Expand Down
18 changes: 7 additions & 11 deletions dist/Wrapper.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ declare const propTypes: {
export interface WrapperProps {
innerRef?: (ref: any) => void;
name: string;
required: RequiredValidation;
validationError: any;
validationErrors: any;
validations: Validations | string;
value: any;
required?: RequiredValidation;
validationError?: any;
validationErrors?: any;
validations?: Validations | string;
value?: Value;
}
export interface WrapperState {
[key: string]: unknown;
Expand All @@ -28,7 +28,7 @@ export interface WrapperState {
validationError: any[];
value: any;
}
export interface PassDownProps {
export interface PassDownProps extends WrapperProps {
errorMessage: any;
errorMessages: any;
hasValue: boolean;
Expand All @@ -38,16 +38,12 @@ export interface PassDownProps {
isRequired: boolean;
isValid: boolean;
isValidValue: (value: Value) => boolean;
name: string;
ref?: any;
resetValue: any;
setValidations: any;
setValue: (value: Value) => void;
showError: boolean;
showRequired: boolean;
validationError: any;
validationErrors: any;
value: Value;
}
export { propTypes };
export default function <Props, State, CompState>(WrappedComponent: React.ComponentClass<Props & State>): React.ComponentClass<Props & State>;
export default function <T>(WrappedComponent: React.ComponentType<T & PassDownProps>): React.ComponentType<T & WrapperProps>;
156 changes: 79 additions & 77 deletions dist/formsy-react.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/formsy-react.cjs.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 402a4dc

Please sign in to comment.