Releases: michaeldzjap/react-signature-pad-wrapper
Releases · michaeldzjap/react-signature-pad-wrapper
Version 1.2.4 of react-signature-pad-wrapper
Features
None of the changes should affect usage with respect to the previous version. Nonetheless, if there are, please report.
- rollup builds have been altered slightly. A minimised es version now also is available.
- A couple of test cases have been added. Remains a bit difficult to test properly due to the heave canvas involvement. Hence, code coverage looks rather poor...
- It should no longer be necessary to explicitly install the prop-types package.
- The tests folder has been moved to the root directory
Version 1.2.3 of react-signature-pad-wrapper
Maintenance update
Version 1.2.2 of react-signature-pad-wrapper
- The jsnext:main property is removed from package.json
- Dependencies are updated
Version 1.2.1 of react-signature-pad-wrapper
No major changes. Just a maintenance update.
Version 1.2.0 of react-signature-pad-wrapper
New Features
- You can pass any wanted properties to the canvas element now (solves #7):
...
render() {
return <SignaturePad
ref={ref => this.signaturePad = ref}
canvasProps={{className: 'signature-pad-canvas'}} />;
}
...Breaking Changes
- Previously it was possible to define a
classNameproperty on the signature pad component, which was passed down to the canvas element. This option has been removed, since now you can accomplish the same thing by defining aclassNameproperty on yourcanvasPropsobject.
Version 1.1.1 of react-signature-pad-wrapper
Avoid needlessly updating the canvas dimensions (and hence, clearing the canvas content) when a resize event is fired that does not cause the canvas dimensions to change (thanks @lifzgreat)
Version 1.0.0 of react-signature-pad-wrapper
Replaced webpack in favor of rollup for bundling.
Note: the prop-types package needs to be installed explicitly now.