@s-ui/react-atom-checkbox
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="1.3.0"></a> | ||
# 1.3.0 (2019-10-15) | ||
### Features | ||
* internal hoc served from the component ([5b07bc6](https://github.com/SUI-Components/sui-components/commit/5b07bc6)) | ||
<a name="1.2.0"></a> | ||
@@ -7,0 +17,0 @@ # 1.2.0 (2019-10-10) |
@@ -5,2 +5,3 @@ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; | ||
import cx from 'classnames'; | ||
import withCheckedValue from './hoc/withCheckedValue'; | ||
var BASE_CLASS = 'sui-AtomCheckbox'; | ||
@@ -20,2 +21,3 @@ var ERROR_STATES = { | ||
var id = _ref.id, | ||
name = _ref.name, | ||
disabled = _ref.disabled, | ||
@@ -25,3 +27,3 @@ checked = _ref.checked, | ||
errorState = _ref.errorState, | ||
props = _objectWithoutProperties(_ref, ["id", "disabled", "checked", "onChange", "errorState"]); | ||
props = _objectWithoutProperties(_ref, ["id", "name", "disabled", "checked", "onChange", "errorState"]); | ||
@@ -43,2 +45,3 @@ var handleChange = function handleChange(ev) { | ||
id: id, | ||
name: name || id, | ||
disabled: disabled, | ||
@@ -54,2 +57,3 @@ checked: checked, | ||
}; | ||
export default AtomCheckbox; | ||
export default AtomCheckbox; | ||
export { withCheckedValue }; |
{ | ||
"name": "@s-ui/react-atom-checkbox", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
13756
7
83