nuke-input
Advanced tools
Comparing version 0.2.0 to 0.2.1
# Changelog | ||
## 0.2.1 / 2017-01-23 | ||
* [[984306f](http://gitlab.alibaba-inc.com/nuke/input/commit/984306fa0d81312b18bb7d8d2b663bc05cde958c)] - `fix` fix mixin input style bugs | ||
## 0.2.0 / 2017-01-18 | ||
@@ -5,0 +9,0 @@ |
@@ -145,5 +145,4 @@ /** @jsx createElement */ | ||
//如果当前的没有设置, 则取上下文的state | ||
if (state === undefined) state = this.context.state; | ||
@@ -188,3 +187,3 @@ | ||
}); | ||
var elementStyle = Object.assign({}, _styles2.default['input-inner'], _styles2.default[size], _styles2.default[type + '-' + (multiple ? 'multiple' : 'single') + '-input'], _styles2.default[(multiple ? 'multiple' : 'single') + '-input'], hasFeedback ? _styles2.default['has-feedback-input'] : {}, hasClear && this.state.focus ? _styles2.default['has-clear-input'] : {}, this.state.focus ? _styles2.default['focus-input'] : {}, readOnly ? _styles2.default[(multiple ? 'multiple' : 'single') + '-readonly-input'] : {}, disabled ? _styles2.default[type + '-' + (multiple ? 'multiple' : 'single') + '-disabled-input'] : {}, inputStyle, customStyleFilter); | ||
var elementStyle = Object.assign({}, _styles2.default['input-inner'], _styles2.default[size], _styles2.default[type + '-' + (multiple ? 'multiple' : 'single') + '-input'], _styles2.default[(multiple ? 'multiple' : 'single') + '-input'], hasFeedback ? _styles2.default['has-feedback-input'] : {}, hasClear && this.state.focus ? _styles2.default['has-clear-input'] : {}, this.state.focus ? _styles2.default['focus-input'] : {}, readOnly ? _styles2.default[(multiple ? 'multiple' : 'single') + '-readonly-input'] : {}, disabled ? _styles2.default[type + '-' + (multiple ? 'multiple' : 'single') + '-disabled-input'] : {}, customStyleFilter, inputStyle); | ||
@@ -191,0 +190,0 @@ if (multiple) { |
{ | ||
"name": "nuke-input", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "输入框", | ||
@@ -34,2 +34,3 @@ "main": "lib/index", | ||
"dependencies": { | ||
"nuke-var-loader": "^0.x.x", | ||
"nuke-components": "0.x.x", | ||
@@ -36,0 +37,0 @@ "nuke-core": "0.x.x", |
94632
6
+ Addednuke-var-loader@^0.x.x