Socket
Socket
Sign inDemoInstall

nuke-input

Package Overview
Dependencies
8
Maintainers
4
Versions
185
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.1 to 2.0.2

docs/single-md-color.md

4

HISTORY.md
# Changelog
## 2.0.2 / 2018-03-27
* [[94cf852c](http://gitlab.alibaba-inc.com/nuke/input/commit/94cf852cb944f61ac45e26a85cf88d10218ef7ef)] - `fix` update docs & notes
## 2.0.1 / 2018-03-24

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

228

lib/styles/variable.js

@@ -6,7 +6,13 @@ 'use strict';

var ComponentCustomStyle = theme.Input || {};
/**
* 输入框
* @namespace component
* @property module input
* @property tag Input
* @property category component
*/
var inputVariables = {
/**
* background
* @property statement
* @property namespace statement
*/

@@ -16,3 +22,3 @@ 'bg-color': core['color-white'],

* background
* @property statement/disabled
* @property namespace statement/disabled
*/

@@ -22,3 +28,3 @@ 'disabled-bg-color': core['color-fill1-3'],

* border
* @property statement/disabled
* @property namespace statement/disabled
*/

@@ -28,3 +34,3 @@ 'disabled-line-color': core['color-line1-1'],

* text
* @property statement/disabled
* @property namespace statement/disabled
*/

@@ -34,3 +40,3 @@ 'disabled-color': core['color-text1-1'],

* border
* @property statement
* @property namespace statement
*/

@@ -40,3 +46,3 @@ 'border-color': core['color-line1-2'],

* border-style
* @property statement
* @property namespace statement
*/

@@ -46,3 +52,3 @@ 'border-style': core['line-solid'],

* border
* @property statement
* @property namespace statement
*/

@@ -52,8 +58,8 @@ 'line-width': core['line-1'],

* height
* @property size/bouncing
* @property namespace size/bouncing
*/
'single-height': core.s10,
'single-height': core['s-10'],
/**
* text
* @property size/text
* @property namespace size/text
*/

@@ -63,3 +69,3 @@ 'single-font-size': core['font-size-body-3'],

* text
* @property statement
* @property namespace statement
*/

@@ -69,3 +75,3 @@ 'single-readonly-color': core['color-text1-2'],

* text
* @property statement/placeholder
* @property namespace statement/placeholder
*/

@@ -76,3 +82,3 @@ 'placeholder-color': core['color-text1-2'],

* text
* @property size/placeholder
* @property namespace size/placeholder
*/

@@ -82,8 +88,8 @@ 'placeholder-font-size': core['font-size-subhead'],

* height
* @property size/placeholder
* @property namespace size/placeholder
*/
'placeholder-height': core.s6,
'placeholder-height': core['s-6'],
/**
* min-width
* @property size/placeholder
* @property namespace size/placeholder
*/

@@ -93,3 +99,3 @@ 'placeholder-min-width': 200,

* top
* @property size/placeholder
* @property namespace size/placeholder
*/

@@ -99,3 +105,3 @@ 'placeholder-top': 10,

* padding(l, r)
* @property size/bouncing
* @property namespace size/bouncing
*/

@@ -105,3 +111,3 @@ 'single-padding-left-right': 20,

* corner
* @property statement
* @property namespace statement
*/

@@ -111,3 +117,3 @@ 'single-radius': core['corner-1'],

* text
* @property statement
* @property namespace statement
*/

@@ -117,3 +123,3 @@ 'single-color': core['color-text1-4'],

* border
* @property statement
* @property namespace statement
*/

@@ -123,8 +129,8 @@ 'single-line-color': core['color-line1-2'],

* height
* @property size/bounding
* @property namespace size/bounding
*/
'multiple-height': core.s20,
'multiple-height': core['s-20'],
/**
* text
* @property size/text
* @property namespace size/text
*/

@@ -134,8 +140,8 @@ 'multiple-font-size': core['font-size-body-3'],

* padding
* @property size/bounding
* @property namespace size/bounding
*/
'multiple-inset-padding': core.s1,
'multiple-inset-padding': core['s-1'],
/**
* text
* @property statement
* @property namespace statement
*/

@@ -145,8 +151,8 @@ 'multiple-inset-color': core['color-text1-4'],

* padding(l, r)
* @property size/bouncing
* @property namespace size/bouncing
*/
'multiple-padding': core.s1,
'multiple-padding': core['s-1'],
/**
* corner
* @property statement
* @property namespace statement
*/

@@ -156,3 +162,3 @@ 'multiple-radius': core['corner-0'],

* text
* @property statement
* @property namespace statement
*/

@@ -162,3 +168,3 @@ 'multiple-color': core['color-text1-4'],

* border
* @property statement
* @property namespace statement
*/

@@ -168,3 +174,3 @@ 'multiple-border-color': core['color-line1-2'],

* bottom
* @property size/count
* @property namespace size/count
*/

@@ -174,3 +180,3 @@ 'single-count-bottom': 14,

* right
* @property size/count
* @property namespace size/count
*/

@@ -180,3 +186,3 @@ 'single-count-right': 10,

* min-width
* @property size/count
* @property namespace size/count
*/

@@ -186,3 +192,3 @@ 'single-count-min-width': 200,

* text
* @property statement/count
* @property namespace statement/count
*/

@@ -192,3 +198,3 @@ 'count-color': core['color-text1-1'],

* text
* @property statement/count
* @property namespace statement/count
*/

@@ -198,3 +204,3 @@ 'count-font-size': core['font-size-caption'],

* text
* @property statement/count
* @property namespace statement/count
*/

@@ -204,3 +210,3 @@ 'count-error-color': core['color-error-3'],

* bottom
* @property size/count
* @property namespace size/count
*/

@@ -210,3 +216,3 @@ 'multiple-count-bottom': 16,

* right
* @property size/count
* @property namespace size/count
*/

@@ -216,3 +222,3 @@ 'multiple-count-right': 10,

* min-width
* @property size/count
* @property namespace size/count
*/

@@ -222,8 +228,8 @@ 'multiple-count-min-width': 200,

* height
* @property size/error
* @property namespace size/error
*/
'error-height': core.s6,
'error-height': core['s-6'],
/**
* text
* @property statement/error
* @property namespace statement/error
*/

@@ -233,8 +239,8 @@ 'error-text-color': core['color-error-3'],

* lineHeight
* @property size/error
* @property namespace size/error
*/
'error-text-line-height': core.s6,
'error-text-line-height': core['s-6'],
/**
* text
* @property size/error
* @property namespace size/error
*/

@@ -244,3 +250,3 @@ 'error-text-font-size': core['font-size-caption'],

* padding(t)
* @property size/error
* @property namespace size/error
*/

@@ -250,3 +256,3 @@ 'error-text-padding-top': 6,

* border
* @property statement/error
* @property namespace statement/error
*/

@@ -256,3 +262,3 @@ 'error-border-color': core['color-error-3'],

* border
* @property statement/focus
* @property namespace statement/focus
*/

@@ -262,3 +268,3 @@ 'focus-border-color': core['color-brand1-6'],

* width
* @property size/clear
* @property namespace size/clear
*/

@@ -268,3 +274,3 @@ 'clear-width': 34,

* height
* @property size/clear
* @property namespace size/clear
*/

@@ -274,3 +280,3 @@ 'clear-height': 34,

* top
* @property size/clear
* @property namespace size/clear
*/

@@ -280,3 +286,3 @@ 'clear-top': 26,

* right
* @property size/clear
* @property namespace size/clear
*/

@@ -286,3 +292,3 @@ 'clear-right': 20,

* width
* @property size/icon
* @property namespace size/icon
*/

@@ -292,3 +298,3 @@ 'icon-width': 34,

* height
* @property size/icon
* @property namespace size/icon
*/

@@ -298,3 +304,3 @@ 'icon-height': 34,

* top
* @property size/icon
* @property namespace size/icon
*/

@@ -304,3 +310,3 @@ 'icon-top': 26,

* right
* @property size/icon
* @property namespace size/icon
*/

@@ -310,3 +316,3 @@ 'icon-right': 20,

* width
* @property size/warning
* @property namespace size/warning
*/

@@ -316,3 +322,3 @@ 'warning-width': 38,

* height
* @property size/warning
* @property namespace size/warning
*/

@@ -322,3 +328,3 @@ 'warning-height': 38,

* bottom
* @property size/warning
* @property namespace size/warning
*/

@@ -328,3 +334,3 @@ 'warning-bottom': 6,

* right
* @property size/warning
* @property namespace size/warning
*/

@@ -334,3 +340,3 @@ 'warning-right': 4,

* text
* @property statement/placeholder
* @property namespace statement/placeholder
*/

@@ -340,3 +346,3 @@ 'md-focus-placeholder-color': core['color-brand1-6'],

* text
* @property statement/placeholder
* @property namespace statement/placeholder
*/

@@ -346,3 +352,3 @@ 'md-empty-placeholder-color': core['color-text1-2'],

* text
* @property statement/placeholder
* @property namespace statement/placeholder
*/

@@ -352,3 +358,3 @@ 'md-error-placeholder-color': core['color-error-3'],

* text
* @property statement/placeholder/disabled
* @property namespace statement/placeholder/disabled
*/

@@ -358,3 +364,3 @@ 'md-disabled-placeholder-color': core['color-text1-1'],

* border
* @property statement/placeholder
* @property namespace statement/placeholder
*/

@@ -364,3 +370,3 @@ 'md-border-color': core['color-line1-2'],

* corner
* @property statement
* @property namespace statement
*/

@@ -370,3 +376,3 @@ 'md-border-radius': core['corner-0'],

* border
* @property statement/focus
* @property namespace statement/focus
*/

@@ -376,3 +382,3 @@ 'md-focus-border-color': core['color-brand1-6'],

* border
* @property statement/error
* @property namespace statement/error
*/

@@ -382,3 +388,3 @@ 'md-error-border-color': core['color-error-3'],

* border-top
* @property statement
* @property namespace statement
*/

@@ -388,3 +394,3 @@ 'md-border-top-width': 0,

* height
* @property size/line
* @property namespace size/line
*/

@@ -394,3 +400,3 @@ 'md-line-height': core['line-2'],

* margin(t,b)
* @property size/line
* @property namespace size/line
*/

@@ -400,3 +406,3 @@ 'md-line-margin-tb': core['line-1'],

* height
* @property size/line/focus
* @property namespace size/line/focus
*/

@@ -406,3 +412,3 @@ 'md-line-focus-height': core['line-3'],

* height
* @property size/line/error
* @property namespace size/line/error
*/

@@ -412,3 +418,3 @@ 'md-line-error-height': core['line-3'],

* border-left
* @property size/bounding
* @property namespace size/bounding
*/

@@ -418,3 +424,3 @@ 'md-border-left-width': 0,

* border-right
* @property size/bounding
* @property namespace size/bounding
*/

@@ -424,3 +430,3 @@ 'md-border-right-width': 0,

* height
* @property size/placeholder
* @property namespace size/placeholder
*/

@@ -430,3 +436,3 @@ 'md-placeholder-height': 40,

* height
* @property size/placeholder/small
* @property namespace size/placeholder/small
*/

@@ -436,3 +442,3 @@ 'md-placeholder-small-height': 36,

* padding(t)
* @property size/placeholder/small
* @property namespace size/placeholder/small
*/

@@ -442,3 +448,3 @@ 'md-placeholder-small-padding-top': 6,

* text
* @property size/placeholder
* @property namespace size/placeholder
*/

@@ -448,3 +454,3 @@ 'md-placeholder-font-size': core['font-size-body-3'],

* text
* @property statement/placeholder
* @property namespace statement/placeholder
*/

@@ -454,3 +460,3 @@ 'md-placeholder-color': core['color-text1-1'],

* text
* @property size/placeholder/small
* @property namespace size/placeholder/small
*/

@@ -460,3 +466,3 @@ 'md-placeholder-small-font-size': core['font-size-caption'],

* height
* @property size/bounding
* @property namespace size/bounding
*/

@@ -466,3 +472,3 @@ 'md-input-height': 40,

* margin(t)
* @property size/bounding
* @property namespace size/bounding
*/

@@ -472,3 +478,3 @@ 'md-input-margin-top': 6,

* margin(b)
* @property size/bounding
* @property namespace size/bounding
*/

@@ -478,3 +484,3 @@ 'md-input-margin-bottom': 6,

* height
* @property size/help
* @property namespace size/help
*/

@@ -484,8 +490,8 @@ 'md-help-height': 28,

* margin(t)
* @property size/help
* @property namespace size/help
*/
'md-help-margin-top': core.s1,
'md-help-margin-top': core['s-1'],
/**
* height
* @property size/error
* @property namespace size/error
*/

@@ -495,3 +501,3 @@ 'md-error-height': 28,

* text
* @property statement/error
* @property namespace statement/error
*/

@@ -501,3 +507,3 @@ 'md-error-text-color': core['color-error-3'],

* text
* @property size/error
* @property namespace size/error
*/

@@ -507,3 +513,3 @@ 'md-error-text-font-size': core['font-size-footnote'],

* bottom
* @property size/count
* @property namespace size/count
*/

@@ -513,3 +519,3 @@ 'md-single-count-bottom': 10,

* right
* @property size/count
* @property namespace size/count
*/

@@ -519,3 +525,3 @@ 'md-single-count-right': 10,

* width
* @property size/clear
* @property namespace size/clear
*/

@@ -525,3 +531,3 @@ 'md-clear-width': 32,

* height
* @property size/clear
* @property namespace size/clear
*/

@@ -531,3 +537,3 @@ 'md-clear-height': 32,

* top
* @property size/clear
* @property namespace size/clear
*/

@@ -537,3 +543,3 @@ 'md-clear-top': 40,

* right
* @property size/clear
* @property namespace size/clear
*/

@@ -543,3 +549,3 @@ 'md-clear-right': 10,

* width
* @property size/icon
* @property namespace size/icon
*/

@@ -549,3 +555,3 @@ 'md-icon-width': 32,

* height
* @property size/icon
* @property namespace size/icon
*/

@@ -555,3 +561,3 @@ 'md-icon-height': 32,

* top
* @property size/icon
* @property namespace size/icon
*/

@@ -561,3 +567,3 @@ 'md-icon-top': 40,

* right
* @property size/icon
* @property namespace size/icon
*/

@@ -567,3 +573,3 @@ 'md-icon-right': 10,

* width
* @property size/warning
* @property namespace size/warning
*/

@@ -573,3 +579,3 @@ 'md-warning-width': 36,

* height
* @property size/warning
* @property namespace size/warning
*/

@@ -579,3 +585,3 @@ 'md-warning-height': 36,

* bottom
* @property size/warning
* @property namespace size/warning
*/

@@ -585,3 +591,3 @@ 'md-warning-bottom': 6,

* right
* @property size/warning
* @property namespace size/warning
*/

@@ -591,3 +597,3 @@ 'md-warning-right': 10,

* height
* @property size/bouding
* @property namespace size/bouding
*/

@@ -597,3 +603,3 @@ 'md-multiple-height': 160,

* top
* @property size/placeholder
* @property namespace size/placeholder
*/

@@ -603,3 +609,3 @@ 'md-placeholder-top': 50,

* top
* @property size/placeholder/small
* @property namespace size/placeholder/small
*/

@@ -609,3 +615,3 @@ 'md-placeholder-small-top': 0,

* top
* @property size/placeholder
* @property namespace size/placeholder
*/

@@ -612,0 +618,0 @@ 'multiple-md-placeholder-top': 10

{
"name": "nuke-input",
"version": "2.0.1",
"version": "2.0.2",
"description": "输入框",

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

@@ -54,2 +54,3 @@ /** @jsx createElement */

renderClear
disabled
type="text"

@@ -56,0 +57,0 @@ placeholder="Ender Voucher Code"

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc