- In general follow (https://docs.npmjs.com/getting-started/semantic-versioning) versioning.
- Fixed: disabled unchecked must show empty checkbox
- Fix
name
andvalue
defaultProps
- Added
value
andname
props to make checkbox act more like a real HTML5 checkbox. Previously name was generated fromid
prop.
- Fixed a styling issue that only occurred in Firefox
- Additional props are now passed to the container
- Refactored the component logic. Removed click triggering, etc.
- Prevent default events in event handlers
- Checking a checkbox will now trigger a click event on an
input
element. This way we can pass a "real" synthetic input onChange event to a callback function.
- Update packages
- Optional onBlur and onFocus callbacks and tabIndex added
- Updated oc-cm-common-styles to 2.1.0
- Fixed: issue #5 Can't check/uncheck with space bar
- Added nowrap white-space
- Focus style fixed
- Added babel-polyfill for DEMO
- Added 2 default props : inputRef and onKeyDown
- Initial release