@s-ui/react-atom-label
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-02-08) | ||
### Features | ||
* prepare component to admit pass onClick handler ([d397953](https://github.com/SUI-Components/sui-components/commit/d397953)) | ||
<a name="1.3.0"></a> | ||
@@ -32,14 +42,1 @@ # 1.3.0 (2018-10-03) | ||
<a name="1.1.0"></a> | ||
# 1.1.0 (2018-04-10) | ||
### Features | ||
* add use example on readme ([4a5fc99](https://github.com/SUI-Components/sui-components/commit/4a5fc99)) | ||
* add var component ([0628253](https://github.com/SUI-Components/sui-components/commit/0628253)) | ||
* changes from PR comments ([cb6fc6b](https://github.com/SUI-Components/sui-components/commit/cb6fc6b)) | ||
* new label component ([685abae](https://github.com/SUI-Components/sui-components/commit/685abae)) | ||
@@ -42,6 +42,7 @@ 'use strict'; | ||
optionalText = _ref2.optionalText, | ||
type = _ref2.type; | ||
type = _ref2.type, | ||
onClick = _ref2.onClick; | ||
return _react2.default.createElement( | ||
'label', | ||
{ htmlFor: name, className: getClass({ type: type }) }, | ||
{ htmlFor: name, className: getClass({ type: type }), onClick: onClick }, | ||
text, | ||
@@ -74,3 +75,6 @@ optionalText && _react2.default.createElement( | ||
*/ | ||
type: _propTypes2.default.oneOf((0, _values2.default)(TYPES)) | ||
type: _propTypes2.default.oneOf((0, _values2.default)(TYPES)), | ||
/** onClick event handler */ | ||
onClick: _propTypes2.default.func | ||
} : {} : {}; | ||
@@ -77,0 +81,0 @@ |
{ | ||
"name": "@s-ui/react-atom-label", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
62
4507
5