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.3.6 to 0.3.7

5

docs/autofocus.md

@@ -35,2 +35,5 @@ # focus、blur

}
input = (value,e) => {
console.log(e);
}
render() {

@@ -41,3 +44,3 @@ return (

<View style={styles.lineWithMargin}>
<Input autoFocus ref="myinput" onChange={this.change}/>
<Input autoFocus preventEnterKey returnKeyType="done" ref="myinput" onInput={this.input} onChange={this.change}/>
</View>

@@ -44,0 +47,0 @@ <View style={[styles.lineWithMargin,styles.textLine]}>

4

HISTORY.md
# Changelog
## 0.3.7 / 2017-05-15
* [[cf4afab](http://gitlab.alibaba-inc.com/nuke/input/commit/cf4afabca65f46796cadf349d4d1a6dedea1453b)] - `fix` fix h5 1px bug
## 0.3.6 / 2017-04-27

@@ -5,0 +9,0 @@

@@ -227,6 +227,6 @@ /** @jsx createElement */

}
var classNameForBorder = parseInt(inputWrapperStyle.borderWidth, 10) ? { className: 'nuke-border-fix-1' } : {};
return (0, _rax.createElement)(
_nukeComponents.View,
{ x: 'input-wrap', style: inputWrapperStyle },
_extends({ x: 'input-wrap', style: inputWrapperStyle }, classNameForBorder),
(0, _rax.createElement)(

@@ -233,0 +233,0 @@ _nukeComponents.View,

@@ -6,3 +6,3 @@ 'use strict';

});
exports.default = 'accept acceptCharset accessKey action allowFullScreen allowTransparency\nalt async autoComplete autoPlay capture cellPadding cellSpacing challenge\ncharSet checked classID className colSpan cols content contentEditable contextMenu\ncontrols coords crossOrigin data dateTime default defer dir disabled download draggable\nencType form formAction formEncType formMethod formNoValidate formTarget frameBorder\nheaders height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\nis keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\nmediaGroup method min minLength multiple muted name noValidate nonce open\noptimum pattern placeholder poster preload radioGroup readOnly rel required\nreversed role rowSpan rows sandbox scope scoped scrolling seamless selected\nshape size sizes span spellCheck src srcDoc srcLang srcSet start step style\nsummary tabIndex target title type useMap value width wmode wrap'.replace(/\s+/g, ' ').replace(/\t|\n|\r/g, '').split(' ');
exports.default = 'accept acceptCharset accessKey action preventEnterKey returnKeyType allowFullScreen allowTransparency\nalt async autoComplete autoPlay capture cellPadding cellSpacing challenge\ncharSet checked classID className colSpan cols content contentEditable contextMenu\ncontrols coords crossOrigin data dateTime default defer dir disabled download draggable\nencType form formAction formEncType formMethod formNoValidate formTarget frameBorder\nheaders height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\nis keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\nmediaGroup method min minLength multiple muted name noValidate nonce open\noptimum pattern placeholder poster preload radioGroup readOnly rel required\nreversed role rowSpan rows sandbox scope scoped scrolling seamless selected\nshape size sizes span spellCheck src srcDoc srcLang srcSet start step style\nsummary tabIndex target title type useMap value width wmode wrap'.replace(/\s+/g, ' ').replace(/\t|\n|\r/g, '').split(' ');
module.exports = exports['default'];

@@ -44,3 +44,3 @@ 'use strict';

borderColor: _variable2.default['input-single-enclosed-line-color'],
borderWidth: parseFloat(_variable2.default['input-line-width'], 10) * 2 + 'rem',
borderWidth: parseFloat(_variable2.default['input-line-width'], 10) + 'rem',
borderStyle: _variable2.default['input-border-style']

@@ -47,0 +47,0 @@ }), _defineProperty(_module$exports, 'enclosed-single-disabled', {

{
"name": "nuke-input",
"version": "0.3.6",
"version": "0.3.7",
"description": "输入框",

@@ -5,0 +5,0 @@ "main": "lib/index",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc