@s-ui/react-atom-checkbox
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="1.4.0"></a> | ||
# 1.4.0 (2019-10-31) | ||
### Features | ||
* styles disabled ([d6bcbef](https://github.com/SUI-Components/sui-components/commit/d6bcbef)) | ||
<a name="1.3.0"></a> | ||
@@ -7,0 +17,0 @@ # 1.3.0 (2019-10-15) |
@@ -1,3 +0,2 @@ | ||
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; | ||
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; | ||
import React, { useState } from 'react'; | ||
@@ -13,8 +12,7 @@ import PropTypes from 'prop-types'; | ||
onChangeFromProps = _ref.onChange, | ||
props = _objectWithoutProperties(_ref, ["checked", "onChange"]); | ||
props = _objectWithoutPropertiesLoose(_ref, ["checked", "onChange"]); | ||
var _useState = useState(checkedFromProps), | ||
_useState2 = _slicedToArray(_useState, 2), | ||
checked = _useState2[0], | ||
setChecked = _useState2[1]; | ||
checked = _useState[0], | ||
setChecked = _useState[1]; | ||
@@ -21,0 +19,0 @@ var handleChangeValue = function handleChangeValue(ev, _ref2) { |
@@ -1,2 +0,2 @@ | ||
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; | ||
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; | ||
import React from 'react'; | ||
@@ -25,3 +25,3 @@ import PropTypes from 'prop-types'; | ||
errorState = _ref.errorState, | ||
props = _objectWithoutProperties(_ref, ["id", "name", "disabled", "checked", "onChange", "errorState"]); | ||
props = _objectWithoutPropertiesLoose(_ref, ["id", "name", "disabled", "checked", "onChange", "errorState"]); | ||
@@ -28,0 +28,0 @@ var handleChange = function handleChange(ev) { |
{ | ||
"name": "@s-ui/react-atom-checkbox", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
13869
81