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 2.0.0 to 2.0.1

4

HISTORY.md
# Changelog
## 2.0.1 / 2018-03-24
* [[122245cb](http://gitlab.alibaba-inc.com/nuke/input/commit/122245cb35a8a13abf643748486b18be502b1ccb)] - `feat` update demo
## 2.0.0 / 2018-03-22

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

17

package.json
{
"name": "nuke-input",
"version": "2.0.0",
"version": "2.0.1",
"description": "输入框",
"main": "lib/index",
"files": ["lib", "docs", "theme", "README.md", "HISTORY.md"],
"keywords": ["nuke", "input"],
"files": [
"lib",
"docs",
"theme",
"README.md",
"HISTORY.md"
],
"keywords": [
"nuke",
"input"
],
"author": {

@@ -44,3 +53,3 @@ "name": "leanhunter",

"nuke-button": "^2.x.x",
"nuke-page": "^1.x.x",
"nuke-page": "^2.x.x",
"resemblejs-node": "^1.0.0",

@@ -47,0 +56,0 @@ "webdriver-keycode": "^1.0.3"

@@ -47,7 +47,7 @@ /** @jsx createElement */

<DemoContainer>
<DemoSection title="全局-Size">
<DemoSection title="单行">
<Demo>
<DemoItem direction="row">
<DemoItem direction="column">
<Input
multiple
style={{ alignSelf: 'stretch' }}
materialDesign={false}

@@ -59,13 +59,30 @@ renderClear

</DemoItem>
<DemoItem direction="row">
</Demo>
</DemoSection>
<DemoSection title="disabled">
<Demo>
<DemoItem direction="column">
<Input
multiple
materialDesign={false}
disabled
renderClear
defaultValue={'WATSON$7189833'}
type="text"
onChange={this.change}
/>
</DemoItem>
</Demo>
</DemoSection>
<DemoSection title="error">
<Demo>
<DemoItem direction="column">
<Input
maxLength={20}
defaultValue={this.state.value}
onInput={this.checkLength}
status={this.state.status1}
renderCount={false}
renderError
renderClear
type="text"
onChange={this.change}
status="error"
placeholder="Ender Voucher Code"

@@ -75,27 +92,45 @@ errorMessage={'Voucher code error'}

</DemoItem>
<DemoItem direction="row">
</Demo>
</DemoSection>
<DemoSection title="md 单行">
<Demo>
<DemoItem direction="column">
<Input
multiple
maxRows={5}
onInput={this.checkLength}
renderCount
materialDesign
renderClear
type="text"
placeholder="milti-line input label"
placeholder="Ender Voucher Code"
/>
</DemoItem>
<DemoItem direction="row">
</Demo>
</DemoSection>
<DemoSection title="md disabled">
<Demo>
<DemoItem direction="column">
<Input
multiple
materialDesign
disabled
renderClear
defaultValue={'WATSON$7189833'}
type="text"
onChange={this.change}
/>
</DemoItem>
</Demo>
</DemoSection>
<DemoSection title="md error">
<Demo>
<DemoItem direction="column">
<Input
maxLength={20}
maxRows={20}
materialDesign
defaultValue={this.state.value}
onInput={this.checkLength}
renderCount={false}
errorMessage="error"
renderError
renderClear
type="text"
status={this.state.status2}
placeholder="milti-line input label"
status="error"
placeholder="Ender Voucher Code"
errorMessage={'Voucher code error'}
/>

@@ -102,0 +137,0 @@ </DemoItem>

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