Socket
Socket
Sign inDemoInstall

nuke-input

Package Overview
Dependencies
Maintainers
3
Versions
185
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuke-input - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

4

HISTORY.md
# 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 @@

5

lib/index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc