nuke-input
Advanced tools
Comparing version 1.0.37 to 1.0.38
# Changelog | ||
## 1.0.38 / 2018-01-05 | ||
* [[868393d](http://gitlab.alibaba-inc.com/nuke/input/commit/868393ddb2298f494d93cd0c6076d56e45b2528d)] - `fix` fix line style in android web | ||
## 1.0.37 / 2018-01-02 | ||
@@ -5,0 +9,0 @@ |
@@ -9,2 +9,4 @@ 'use strict'; | ||
var _nukeHelper = require('nuke-helper'); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -17,5 +19,5 @@ | ||
var core = theme.Core; | ||
return { | ||
Input: { | ||
'input-wrap': {}, | ||
@@ -97,10 +99,9 @@ 'input-inner': { | ||
'md-line': { | ||
height: Variables['md-line-height'], | ||
height: (0, _nukeHelper.fixSmallUnit)(Variables['md-line-height']), | ||
marginTop: Variables['md-line-margin-tb'], | ||
marginBottom: Variables['md-line-margin-tb'], | ||
backgroundColor: Variables['md-border-color'] | ||
}, | ||
'md-line-focus': { | ||
height: Variables['md-line-focus-height'], | ||
height: (0, _nukeHelper.fixSmallUnit)(Variables['md-line-focus-height']), | ||
marginTop: 0, | ||
@@ -110,13 +111,11 @@ marginBottom: 0, | ||
backgroundColor: Variables['md-focus-border-color'] | ||
}, | ||
'md-line-error': { | ||
height: Variables['md-line-error-height'], | ||
height: (0, _nukeHelper.fixSmallUnit)(Variables['md-line-error-height']), | ||
marginTop: 0, | ||
marginBottom: 0, | ||
backgroundColor: Variables['md-error-border-color'] | ||
}, | ||
'md-line-disabled': { | ||
height: Variables['md-line-height'], | ||
height: (0, _nukeHelper.fixSmallUnit)(Variables['md-line-height']), | ||
backgroundColor: 'transparent', | ||
@@ -126,3 +125,2 @@ borderBottomWidth: Variables['md-line-height'], | ||
borderBottomColor: Variables['disabled-line-color'] | ||
// borderBottomWidth: Variables['md-focus-line-height'], | ||
}, | ||
@@ -149,3 +147,2 @@ input: { | ||
backgroundColor: 'transparent', | ||
// bottom: Variables['md-border-bottom-width'], | ||
marginTop: Variables['md-input-margin-tb'], | ||
@@ -210,8 +207,5 @@ marginBottom: Variables['md-input-margin-tb'], | ||
color: Variables['count-color'] | ||
}, | ||
'count-error': { | ||
color: Variables['count-error-color'] | ||
}, | ||
@@ -233,3 +227,2 @@ 'multiple-count-wrap': { | ||
color: Variables['count-color'] | ||
}, | ||
@@ -242,3 +235,2 @@ 'md-single-count-wrap': { | ||
maxWidth: Variables['single-count-min-width'] | ||
}, | ||
@@ -248,5 +240,2 @@ | ||
alignSelf: 'flex-end', | ||
// position: 'absolute', | ||
// bottom: Variables['multiple-count-bottom'], | ||
// right: Variables['multiple-count-right'], | ||
maxWidth: Variables['multiple-count-min-width'] | ||
@@ -259,3 +248,2 @@ }, | ||
color: Variables['count-color'] | ||
}, | ||
@@ -268,3 +256,3 @@ 'md-clear': { | ||
right: Variables['md-clear-right'], | ||
zIndex: 4 //for web | ||
zIndex: 4 // for web | ||
}, | ||
@@ -277,3 +265,3 @@ 'md-icon': { | ||
right: Variables['md-icon-right'], | ||
zIndex: 4 //for web | ||
zIndex: 4 // for web | ||
}, | ||
@@ -283,3 +271,2 @@ 'clear-image': { | ||
height: Variables['clear-height'] | ||
}, | ||
@@ -299,7 +286,5 @@ 'icon-image': { | ||
// height: Variables['single-height'] + Variables['error-height'], | ||
}, | ||
'multiple-outter': { | ||
// height: Variables['single-height'] + Variables['error-height'], | ||
}, | ||
@@ -309,3 +294,2 @@ help: { | ||
justifyContent: 'center' | ||
}, | ||
@@ -318,3 +302,3 @@ clear: { | ||
right: Variables['clear-right'], | ||
zIndex: 2 //for web | ||
zIndex: 2 // for web | ||
}, | ||
@@ -327,3 +311,3 @@ icon: { | ||
right: Variables['icon-right'], | ||
zIndex: 2 //for web | ||
zIndex: 2 // for web | ||
}, | ||
@@ -330,0 +314,0 @@ 'error-text': { |
{ | ||
"name": "nuke-input", | ||
"version": "1.0.37", | ||
"version": "1.0.38", | ||
"description": "输入框", | ||
@@ -5,0 +5,0 @@ "main": "lib/index", |
140033
31
2015