@s-ui/react-atom-input
Advanced tools
Comparing version 1.15.0 to 1.16.0
@@ -5,2 +5,13 @@ # Change Log | ||
<a name="1.16.0"></a> | ||
# 1.16.0 (2018-11-06) | ||
### Features | ||
* linter sass ([3b5c5f1](https://github.com/SUI-Components/sui-components/commit/3b5c5f1)) | ||
* noBorder through prop ([58fa24f](https://github.com/SUI-Components/sui-components/commit/58fa24f)) | ||
<a name="1.15.0"></a> | ||
@@ -7,0 +18,0 @@ # 1.15.0 (2018-11-02) |
@@ -100,5 +100,6 @@ 'use strict'; | ||
hideInput = _ref2.hideInput, | ||
noBorder = _ref2.noBorder, | ||
errorState = _ref2.errorState; | ||
return (0, _classnames2.default)(BASE_CLASS, BASE_CLASS + '-' + size, charsSize && BASE_CLASS + '--size', hideInput && BASE_CLASS + '--hidden', this.getErrorStateClass(errorState)); | ||
return (0, _classnames2.default)(BASE_CLASS, BASE_CLASS + '-' + size, charsSize && BASE_CLASS + '--size', hideInput && BASE_CLASS + '--hidden', noBorder && BASE_CLASS + '--noBorder', this.getErrorStateClass(errorState)); | ||
} | ||
@@ -112,2 +113,3 @@ }, { | ||
hideInput = _props.hideInput, | ||
noBorder = _props.noBorder, | ||
id = _props.id, | ||
@@ -131,2 +133,3 @@ name = _props.name, | ||
hideInput: hideInput, | ||
noBorder: noBorder, | ||
errorState: errorState | ||
@@ -187,3 +190,5 @@ }), | ||
/* Will set a red/green border if set to true/false */ | ||
errorState: _propTypes2.default.bool | ||
errorState: _propTypes2.default.bool, | ||
/** Wether to hide the input border or not */ | ||
noBorder: _propTypes2.default.bool | ||
} : {} : {}; | ||
@@ -190,0 +195,0 @@ |
{ | ||
"name": "@s-ui/react-atom-input", | ||
"version": "1.15.0", | ||
"version": "1.16.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
40488
608