nuke-input
Advanced tools
Comparing version 2.0.4 to 2.0.5
# Changelog | ||
## 2.0.5 / 2018-04-10 | ||
* [[d77b0c94](http://gitlab.alibaba-inc.com/nuke/input/commit/d77b0c94a47ba599f03cdc7cb82a9bde0da6ee5c)] - `fix` remove parseInt in style | ||
## 2.0.4 / 2018-04-09 | ||
@@ -5,0 +9,0 @@ |
@@ -25,10 +25,12 @@ 'use strict'; | ||
}, | ||
'single-wrap': _extends({ | ||
'single-wrap': { | ||
borderRadius: Variables['single-radius'], | ||
borderColor: Variables['single-line-color'], | ||
borderWidth: parseFloat(Variables['line-width'], 10), | ||
borderWidth: Variables['line-width'], | ||
borderStyle: Variables['border-style'], | ||
backgroundColor: Variables['bg-color'], | ||
height: Variables['single-height'] | ||
}, core.padding(0, Variables['single-padding-left-right'])), | ||
height: Variables['single-height'], | ||
paddingLeft: Variables['single-padding-left-right'], | ||
paddingRight: Variables['single-padding-left-right'] | ||
}, | ||
'single-disabled': { | ||
@@ -89,6 +91,6 @@ borderColor: Variables['disabled-line-color'], | ||
borderColor: 'transparent', | ||
borderBottomWidth: parseFloat(Variables['md-border-top-width'], 10), | ||
borderTopWidth: parseFloat(Variables['md-border-top-width'], 10), | ||
borderLeftWidth: parseFloat(Variables['md-border-left-width'], 10), | ||
borderRightWidth: parseFloat(Variables['md-border-right-width'], 10) | ||
borderBottomWidth: Variables['md-border-top-width'], | ||
borderTopWidth: Variables['md-border-top-width'], | ||
borderLeftWidth: Variables['md-border-left-width'], | ||
borderRightWidth: Variables['md-border-right-width'] | ||
}, | ||
@@ -332,6 +334,6 @@ 'static-placeholder': { | ||
borderColor: 'transparent', | ||
borderBottomWidth: parseFloat(Variables['md-border-top-width'], 10), | ||
borderTopWidth: parseFloat(Variables['md-border-top-width'], 10), | ||
borderLeftWidth: parseFloat(Variables['md-border-left-width'], 10), | ||
borderRightWidth: parseFloat(Variables['md-border-right-width'], 10), | ||
borderBottomWidth: Variables['md-border-top-width'], | ||
borderTopWidth: Variables['md-border-top-width'], | ||
borderLeftWidth: Variables['md-border-left-width'], | ||
borderRightWidth: Variables['md-border-right-width'], | ||
backgroundColor: Variables['bg-color'] | ||
@@ -338,0 +340,0 @@ }, |
@@ -361,2 +361,4 @@ 'use strict'; | ||
} | ||
// console.log(inputWrapperStyle) | ||
return (0, _rax.createElement)( | ||
@@ -363,0 +365,0 @@ _nukeView2.default, |
{ | ||
"name": "nuke-input", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "输入框", | ||
@@ -5,0 +5,0 @@ "main": "lib/index", |
197106
2728