Socket
Socket
Sign inDemoInstall

nuke-input

Package Overview
Dependencies
Maintainers
4
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.9 to 2.1.1-3

lib/mods/count.jsx

25

lib/index.js

@@ -1,24 +0,1 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _nukeEnv = require('nuke-env');
var _native = require('./native');
var _native2 = _interopRequireDefault(_native);
var _web = require('./web');
var _web2 = _interopRequireDefault(_web);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var InputEntry = _web2.default;
if (_nukeEnv.isWeex) {
InputEntry = _native2.default;
}
exports.default = InputEntry;
module.exports = exports['default'];
'use strict';Object.defineProperty(exports,'__esModule',{value:!0});var _nukeEnv=require('nuke-env'),_native=require('./native'),_native2=_interopRequireDefault(_native),_web=require('./web'),_web2=_interopRequireDefault(_web);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var InputEntry=_web2.default;_nukeEnv.isWeex&&(InputEntry=_native2.default),exports.default=InputEntry,module.exports=exports['default'];

@@ -1,7 +0,1 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
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 encrypt htmlFor httpEquiv windowSoftInputMode 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 encryptFormat searchEncryptFormat encryptSeckeyType'.replace(/\s+/g, ' ').replace(/\t|\n|\r/g, '').split(' ');
module.exports = exports['default'];
'use strict';Object.defineProperty(exports,'__esModule',{value:!0}),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 encrypt htmlFor httpEquiv windowSoftInputMode 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 encryptFormat searchEncryptFormat encryptSeckeyType'.replace(/\s+/g,' ').replace(/\t|\n|\r/g,'').split(' '),module.exports=exports['default'];

@@ -1,18 +0,1 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _nukeEnv = require('nuke-env');
var _nukeEnv2 = _interopRequireDefault(_nukeEnv);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = function (num) {
if (num > 6) return num;
return '' + Math.floor(num / 2).toString() + (_nukeEnv2.default.isWeb ? 'px' : 'wx');
};
module.exports = exports['default'];
'use strict';Object.defineProperty(exports,'__esModule',{value:!0});var _nukeEnv=require('nuke-env'),_nukeEnv2=_interopRequireDefault(_nukeEnv);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=function(num){return 6<num?num:''+Math.floor(num/2).toString()+(_nukeEnv2.default.isWeb?'px':'wx')},module.exports=exports['default'];

@@ -1,7 +0,1 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = 'onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onScanGunScanned onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError'.replace(/\s+/g, ' ').replace(/\t|\n|\r/g, '').split(' ');
module.exports = exports['default'];
'use strict';Object.defineProperty(exports,'__esModule',{value:!0}),exports.default='onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onScanGunScanned onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError'.replace(/\s+/g,' ').replace(/\t|\n|\r/g,'').split(' '),module.exports=exports['default'];

@@ -1,10 +0,1 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = {
clear: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABIUExURUxpcdvb2+rq6tvb29vb2////9vb29vb29ra2t3d3dzc3Nvb29vb29vb29vb29vb29zc3OPj49ra2tra2tra2v///+3t7evr66GrXawAAAAUdFJOUwDoDNn+Aap/81IWcr+l0yOCCfKD2tG2sAAAAONJREFUOMuVlVkSgyAQRMctoIKitnr/m0arYgKC2uk/i8dQs7UigfrWmkLrwti2l0s1roOnzjVJLFcaJ2mVx1ydIaGsPmGVKpFUqSqfG1641Gvw4t1wG/mLqXAr9c2jvAfLT0Z5hgdlefjwuoTnyxo83hx1Xuc5IJd5Pki992jyDnwy+HQb2KWPwmvdNi9IBjmFRy8tUuSZQysWCTLiYMUgJmMORgrEZMyhkGhalxQHLSMHjvzTdDJ0eeiC0y2kh0IcO2b04NKrwC8Xva68AfCWQpsUb3u8kf5hzXuPJsrsH34fb8y0YVOqBARgAAAAAElFTkSuQmCC',
warning: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA/UExURUxpcdIKFtEJF9IJF9EKFtEKFtcIENMIFNIJF88AENIKFtIIFdEJF9EJF9EKFtUFFdIIFNEKFtIKFtEJF9IKF+mWP4kAAAAUdFJOUwCg37/vgCBAwBDQYHDg8DA/z1CQP2gf+wAAAJ9JREFUOMvNk9sSgyAMRJE7ar3U/f9vlamVFAj01X2BIYcNkx2EeJ5C+AO8ZL8+A3O3gQZ0r4lBlOkbdC0GfHS06hZf2bbB6NwIDHx9jXe9ED4uKwt4AhRXdyAArmGQAMZiwi+Ad51SDkjegABMxZDldayV0tdOhjqlXKZOCfckUWWWDOgNmUVKCfu27fde2zLmUpTZwgMLtXCs7FP+4gkrxRPG+kr+5gAAAABJRU5ErkJggg=='
};
module.exports = exports['default'];
'use strict';Object.defineProperty(exports,'__esModule',{value:!0}),exports.default={clear:'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABIUExURUxpcdvb2+rq6tvb29vb2////9vb29vb29ra2t3d3dzc3Nvb29vb29vb29vb29vb29zc3OPj49ra2tra2tra2v///+3t7evr66GrXawAAAAUdFJOUwDoDNn+Aap/81IWcr+l0yOCCfKD2tG2sAAAAONJREFUOMuVlVkSgyAQRMctoIKitnr/m0arYgKC2uk/i8dQs7UigfrWmkLrwti2l0s1roOnzjVJLFcaJ2mVx1ydIaGsPmGVKpFUqSqfG1641Gvw4t1wG/mLqXAr9c2jvAfLT0Z5hgdlefjwuoTnyxo83hx1Xuc5IJd5Pki992jyDnwy+HQb2KWPwmvdNi9IBjmFRy8tUuSZQysWCTLiYMUgJmMORgrEZMyhkGhalxQHLSMHjvzTdDJ0eeiC0y2kh0IcO2b04NKrwC8Xva68AfCWQpsUb3u8kf5hzXuPJsrsH34fb8y0YVOqBARgAAAAAElFTkSuQmCC',warning:'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA/UExURUxpcdIKFtEJF9IJF9EKFtEKFtcIENMIFNIJF88AENIKFtIIFdEJF9EJF9EKFtUFFdIIFNEKFtIKFtEJF9IKF+mWP4kAAAAUdFJOUwCg37/vgCBAwBDQYHDg8DA/z1CQP2gf+wAAAJ9JREFUOMvNk9sSgyAMRJE7ar3U/f9vlamVFAj01X2BIYcNkx2EeJ5C+AO8ZL8+A3O3gQZ0r4lBlOkbdC0GfHS06hZf2bbB6NwIDHx9jXe9ED4uKwt4AhRXdyAArmGQAMZiwi+Ad51SDkjegABMxZDldayV0tdOhjqlXKZOCfckUWWWDOgNmUVKCfu27fde2zLmUpTZwgMLtXCs7FP+4gkrxRPG+kr+5gAAAABJRU5ErkJggg=='},module.exports=exports['default'];

@@ -1,7 +0,1 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = ['color', 'fontSize', 'fontStyle', 'fontWeight', 'lineHeight', 'textAlign', 'textDecoration'];
module.exports = exports['default'];
'use strict';Object.defineProperty(exports,'__esModule',{value:!0}),exports.default=['color','fontSize','fontStyle','fontWeight','lineHeight','textAlign','textDecoration'],module.exports=exports['default'];

@@ -1,32 +0,1 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.genEventObject = exports.getText = undefined;
var _nukeEnv = require('nuke-env');
function getText(event) {
var text = void 0;
if (_nukeEnv.isWeex) {
text = event.value;
} else {
text = event.target.value;
}
return text;
}
function genEventObject(originalEvent) {
var text = getText(originalEvent);
return {
nativeEvent: {
text: text
},
value: text,
target: originalEvent.target,
originalEvent: originalEvent
};
}
exports.getText = getText;
exports.genEventObject = genEventObject;
'use strict';Object.defineProperty(exports,'__esModule',{value:!0}),exports.genEventObject=exports.getText=void 0;var _nukeEnv=require('nuke-env');function getText(event){var text;return text=_nukeEnv.isWeex?event.value:event.target.value,text}function genEventObject(originalEvent){var text=getText(originalEvent);return{nativeEvent:{text:text},value:text,target:originalEvent.target,originalEvent:originalEvent}}exports.getText=getText,exports.genEventObject=genEventObject;

@@ -1,417 +0,1 @@

'use strict';
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
var _variable = require('./variable');
var _variable2 = _interopRequireDefault(_variable);
var _nukeHelper = require('nuke-helper');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function styleProvider() {
var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
var Variables = (0, _variable2.default)(theme);
var core = theme.Core;
return {
Input: {
'input-wrap': {},
'input-inner': {
flex: 1
},
'single-wrap': {
borderRadius: Variables['single-radius'],
borderColor: Variables['single-line-color'],
borderWidth: Variables['line-width'],
borderStyle: Variables['border-style'],
backgroundColor: Variables['bg-color'],
height: Variables['single-height'],
paddingLeft: Variables['single-padding-left-right'],
paddingRight: Variables['single-padding-left-right']
},
'single-disabled': {
borderColor: Variables['disabled-line-color'],
backgroundColor: Variables['disabled-bg-color']
},
'md-single-disabled': {
borderColor: Variables['disabled-line-color'],
backgroundColor: 'transparent'
},
'single-disabled-input': {
color: Variables['disabled-color']
},
'multiple-wrap': _extends({}, core.border(Variables['line-width'], Variables.borderStyle, Variables['multiple-borderColor']), {
borderRadius: Variables['multiple-radius'],
backgroundColor: Variables['bg-color'],
height: Variables['multiple-height'],
padding: Variables['multiple-padding']
}),
'multiple-disabled': {
backgroundColor: Variables['disabled-bg-color']
},
'md-multiple-disabled': {
backgroundColor: 'transparent'
},
'multiple-disabled-input': {
backgroundColor: Variables['disabled-bg-color'],
color: Variables['disabled-color']
},
'single-input': {
backgroundColor: 'transparent',
color: Variables['single-color'],
height: Variables['single-height'],
fontSize: Variables['single-font-size']
},
readonly: {
color: Variables['readonly-color']
},
'multiple-input': {
fontSize: Variables['multiple-font-size']
},
'single-md-wrap': {
// position: 'relative',
flexDirection: 'column',
// justifyContent: 'flex-end',
// height:
// Variables['md-input-height'] + Variables['md-placeholder-height'],
paddingTop: Variables['md-placeholder-small-height'],
paddingLeft: 0,
paddingRight: 0,
borderRadius: Variables['md-border-radius'],
borderColor: 'transparent',
borderBottomWidth: Variables['md-border-top-width'],
borderTopWidth: Variables['md-border-top-width'],
borderLeftWidth: Variables['md-border-left-width'],
borderRightWidth: Variables['md-border-right-width']
},
'static-placeholder': {
paddingTop: 0
},
'md-line': {
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: (0, _nukeHelper.fixSmallUnit)(Variables['md-line-focus-height']),
marginTop: 0,
marginBottom: 0,
backgroundColor: Variables['md-focus-border-color']
},
'md-line-error': {
height: (0, _nukeHelper.fixSmallUnit)(Variables['md-line-error-height']),
marginTop: 0,
marginBottom: 0,
backgroundColor: Variables['md-error-border-color']
},
'md-line-disabled': {
height: (0, _nukeHelper.fixSmallUnit)(Variables['md-line-height']),
backgroundColor: 'transparent',
borderBottomWidth: Variables['md-line-height'],
borderBottomStyle: 'dotted',
borderBottomColor: Variables['disabled-line-color']
},
input: {
borderTopWidth: 0,
borderBottomWidth: 0,
borderLeftWidth: 0,
borderRightWidth: 0,
paddingLeft: 0,
paddingRight: 0
},
'input-has-clear': {
paddingRight: 36
},
'md-input': {
borderTopWidth: 0,
borderBottomWidth: 0,
borderLeftWidth: 0,
borderRightWidth: 0,
paddingLeft: 0,
paddingRight: 0,
zIndex: 3,
backgroundColor: 'transparent',
marginTop: Variables['md-input-margin-top'],
marginBottom: Variables['md-input-margin-bottom'],
height: Variables['md-input-height']
},
'multiple-md-input': {
borderTopWidth: 0,
borderBottomWidth: 0,
borderLeftWidth: 0,
borderRightWidth: 0,
paddingLeft: 0,
paddingRight: 0,
marginTop: Variables['md-input-margin-top'],
marginBottom: Variables['md-input-margin-top'],
zIndex: 3,
backgroundColor: 'transparent',
// bottom: Variables['md-border-bottom-width'],
lineHeight: Variables['md-input-height']
},
'md-error': {
height: Variables['md-error-height'],
justifyContent: 'center'
},
'md-help': {
height: Variables['md-help-height'],
justifyContent: 'flex-end',
flexDirection: 'row',
marginTop: Variables['md-help-margin-top']
},
'md-error-text': {
color: Variables['md-error-text-color'],
fontSize: Variables['md-error-text-font-size'],
flex: 1,
display: 'flex'
},
'web-normalize': {
webkitAppearance: 'none',
outline: 'none',
boxSizing: 'border-box',
width: '100%',
border: 'none',
resize: 'none',
zIndex: 1
},
'single-count-wrap': {
// position: 'absolute',
alignSelf: 'flex-end',
// bottom: Variables['single-count-bottom'],
// right: Variables['single-count-right'],
maxWidth: Variables['single-count-min-width']
// flexDirection: 'row',
// justifyContent: 'flex-end',
// backgroundColor: 'red'
},
'single-count-text': {
flex: 1,
textAlign: 'right',
fontSize: Variables['count-font-size'],
color: Variables['count-color']
},
'count-error': {
color: Variables['count-error-color']
},
'multiple-count-wrap': {
alignSelf: 'flex-end',
// position: 'absolute',
// bottom: Variables['multiple-count-bottom'],
// right: Variables['multiple-count-right'],
maxWidth: Variables['multiple-count-min-width']
// flexDirection: 'row',
// justifyContent: 'flex-end',
// backgroundColor: 'red'
},
'multiple-count-text': {
flex: 1,
textAlign: 'right',
fontSize: Variables['count-font-size'],
color: Variables['count-color']
},
'md-single-count-wrap': {
alignSelf: 'flex-end',
// position: 'absolute',
// bottom: Variables['md-single-count-bottom'],
// right: Variables['md-single-count-right'],
maxWidth: Variables['single-count-min-width']
},
'md-multiple-count-wrap': {
alignSelf: 'flex-end',
maxWidth: Variables['multiple-count-min-width']
},
'md-multiple-count-text': {
flex: 1,
textAlign: 'right',
fontSize: Variables['count-font-size'],
color: Variables['count-color']
},
'md-clear': {
width: Variables['md-clear-width'],
height: Variables['md-clear-height'],
position: 'absolute',
top: Variables['md-clear-top'],
right: Variables['md-clear-right'],
zIndex: 4 // for web
},
'md-icon': {
width: Variables['md-icon-width'],
height: Variables['md-icon-height'],
position: 'absolute',
top: Variables['md-icon-top'],
right: Variables['md-icon-right'],
zIndex: 4 // for web
},
'clear-image': {
width: Variables['clear-width'],
height: Variables['clear-height']
},
'icon-image': {
width: Variables['icon-width'],
height: Variables['icon-height']
},
'md-warning': {
width: Variables['md-warning-width'],
height: Variables['md-warning-height'],
position: 'absolute',
bottom: Variables['md-warning-bottom'],
right: Variables['md-warning-right']
},
'single-outter': {
// height: Variables['single-height'] + Variables['error-height'],
},
'multiple-outter': {
// height: Variables['single-height'] + Variables['error-height'],
},
help: {
minHeight: Variables['error-height'],
justifyContent: 'center'
},
clear: {
width: Variables['clear-width'],
height: Variables['clear-height'],
position: 'absolute',
top: Variables['clear-top'],
right: Variables['clear-right'],
zIndex: 2 // for web
},
icon: {
width: Variables['icon-width'],
height: Variables['icon-height'],
position: 'absolute',
top: Variables['icon-top'],
right: Variables['icon-right'],
zIndex: 2 // for web
},
'error-text': {
color: Variables['error-text-color'],
lineHeight: Variables['error-text-line-height'],
// justifyContent: 'center',
fontSize: Variables['error-text-font-size'],
paddingTop: Variables['error-text-padding-top']
},
'error-input-wrap': {
borderColor: Variables['error-border-color']
},
'focus-input-wrap': {
borderColor: Variables['focus-border-color']
},
warning: {
width: Variables['warning-width'],
height: Variables['warning-height'],
position: 'absolute',
bottom: Variables['warning-bottom'],
right: Variables['warning-right']
},
'multiple-md-wrap': {
position: 'relative',
flexDirection: 'column',
justifyContent: 'flex-end',
padding: Variables['multiple-padding'],
// height:
// Variables['md-input-height'] + Variables['md-placeholder-height'],
paddingTop: Variables['md-placeholder-height'],
// lineHeight: Variables['md-input-height'],
paddingLeft: 0,
paddingRight: 0,
borderRadius: Variables['md-border-radius'],
borderColor: 'transparent',
borderBottomWidth: Variables['md-border-top-width'],
borderTopWidth: Variables['md-border-top-width'],
borderLeftWidth: Variables['md-border-left-width'],
borderRightWidth: Variables['md-border-right-width'],
backgroundColor: Variables['bg-color']
},
'text-for-height': {
position: 'absolute',
top: 10,
left: 10,
fontSize: Variables['multiple-font-size'],
lineHeight: 36,
// color: 'red',
visibility: 'hidden'
},
'multiple-md-placeholder': {
top: Variables['multiple-md-placeholder-top']
},
placeholder: _extends({
position: 'absolute',
// width: '90%',
flexDirection: 'row',
left: 0,
top: Variables['placeholder-top'],
justifyContent: 'flex-start',
alignItems: 'center',
minWidth: Variables['placeholder-min-width'],
height: Variables['placeholder-height']
}, core.padding(0, 0)),
'placeholder-text': {
color: Variables['placeholder-color'],
fontSize: Variables['placeholder-font-size']
},
'md-placeholder': {
alignItems: 'center',
// lineHeight: Variables['md-placeholder-height'],
height: Variables['md-placeholder-height'],
top: Variables['md-placeholder-small-height'] + Variables['md-input-margin-top']
// ## todo (weex 0.17)
// transitionProperty: 'top',
// transitionDuration: '0.1s',
// transitionDelay: '0s',
// // transitionTimingFunction: 'cubic-bezier(0.25, 0.1, 0.25, 1.0)',
// transitionTimingFunction: 'linear',
},
'md-placeholder-static': {
top: Variables['md-input-margin-top']
},
'md-placeholder-text': {
color: Variables['md-placeholder-color'],
fontSize: Variables['md-placeholder-font-size']
},
'md-focus-placeholder-text': {
color: Variables['md-focus-placeholder-color']
},
'md-empty-placeholder-text': {
color: Variables['md-empty-placeholder-color']
},
'md-disabled-placeholder-text': {
color: Variables['md-disabled-placeholder-color']
},
'md-placeholder-small': {
// lineHeight: Variables['md-placeholder-small-height'],
height: Variables['md-placeholder-small-height'],
// to avoid cut when placeholder language is thai
top: Variables['md-placeholder-small-top'] // ## todo (weex 0.17)
// transitionProperty: 'top',
// transitionDuration: '0.1s',
// transitionDelay: '0s',
// transitionTimingFunction: 'linear',
// transitionTimingFunction: 'cubic-bezier(0.25, 0.1, 0.25, 1.0)',
},
'md-placeholder-small-text': {
paddingTop: Variables['md-placeholder-small-padding-top'],
fontSize: Variables['md-placeholder-small-font-size']
},
'md-placeholder-small-text-has-error': {
color: Variables['md-error-placeholder-color']
}
}
};
}
module.exports = styleProvider;
'use strict';var _extends=Object.assign||function(target){for(var source,i=1;i<arguments.length;i++)for(var key in source=arguments[i],source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key]);return target},_variable=require('./variable'),_variable2=_interopRequireDefault(_variable),_nukeHelper=require('nuke-helper');function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function styleProvider(){var theme=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},Variables=(0,_variable2.default)(theme),core=theme.Core;return{Input:{"input-wrap":{},"input-inner":{flex:1},"single-wrap":{borderRadius:Variables['single-radius'],borderColor:Variables['single-line-color'],borderWidth:Variables['line-width'],borderStyle:Variables['border-style'],backgroundColor:Variables['bg-color'],height:Variables['single-height'],paddingLeft:Variables['single-padding-left-right'],paddingRight:Variables['single-padding-left-right']},"single-disabled":{borderColor:Variables['disabled-line-color'],backgroundColor:Variables['disabled-bg-color']},"md-single-disabled":{borderColor:Variables['disabled-line-color'],backgroundColor:'transparent'},"single-disabled-input":{color:Variables['disabled-color']},"multiple-wrap":_extends({},core.border(Variables['line-width'],Variables.borderStyle,Variables['multiple-borderColor']),{borderRadius:Variables['multiple-radius'],backgroundColor:Variables['bg-color'],height:Variables['multiple-height'],padding:Variables['multiple-padding']}),"multiple-disabled":{backgroundColor:Variables['disabled-bg-color']},"md-multiple-disabled":{backgroundColor:'transparent'},"multiple-disabled-input":{backgroundColor:Variables['disabled-bg-color'],color:Variables['disabled-color']},"single-input":{backgroundColor:'transparent',color:Variables['single-color'],height:Variables['single-height'],fontSize:Variables['single-font-size']},readonly:{color:Variables['readonly-color']},"multiple-input":{fontSize:Variables['multiple-font-size']},"single-md-wrap":{flexDirection:'column',paddingTop:Variables['md-placeholder-small-height'],paddingLeft:0,paddingRight:0,borderRadius:Variables['md-border-radius'],borderColor:'transparent',borderBottomWidth:Variables['md-border-top-width'],borderTopWidth:Variables['md-border-top-width'],borderLeftWidth:Variables['md-border-left-width'],borderRightWidth:Variables['md-border-right-width']},"static-placeholder":{paddingTop:0},"md-line":{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:(0,_nukeHelper.fixSmallUnit)(Variables['md-line-focus-height']),marginTop:0,marginBottom:0,backgroundColor:Variables['md-focus-border-color']},"md-line-error":{height:(0,_nukeHelper.fixSmallUnit)(Variables['md-line-error-height']),marginTop:0,marginBottom:0,backgroundColor:Variables['md-error-border-color']},"md-line-disabled":{height:(0,_nukeHelper.fixSmallUnit)(Variables['md-line-height']),backgroundColor:'transparent',borderBottomWidth:Variables['md-line-height'],borderBottomStyle:'dotted',borderBottomColor:Variables['disabled-line-color']},input:{borderTopWidth:0,borderBottomWidth:0,borderLeftWidth:0,borderRightWidth:0,paddingLeft:0,paddingRight:0},"input-has-clear":{paddingRight:36},"md-input":{borderTopWidth:0,borderBottomWidth:0,borderLeftWidth:0,borderRightWidth:0,paddingLeft:0,paddingRight:0,zIndex:3,backgroundColor:'transparent',marginTop:Variables['md-input-margin-top'],marginBottom:Variables['md-input-margin-bottom'],height:Variables['md-input-height']},"multiple-md-input":{borderTopWidth:0,borderBottomWidth:0,borderLeftWidth:0,borderRightWidth:0,paddingLeft:0,paddingRight:0,marginTop:Variables['md-input-margin-top'],marginBottom:Variables['md-input-margin-top'],zIndex:3,backgroundColor:'transparent',lineHeight:Variables['md-input-height']},"md-error":{height:Variables['md-error-height'],justifyContent:'center'},"md-help":{height:Variables['md-help-height'],justifyContent:'flex-end',flexDirection:'row',marginTop:Variables['md-help-margin-top']},"md-error-text":{color:Variables['md-error-text-color'],fontSize:Variables['md-error-text-font-size'],flex:1,display:'flex'},"web-normalize":{webkitAppearance:'none',outline:'none',boxSizing:'border-box',width:'100%',border:'none',resize:'none',zIndex:1},"single-count-wrap":{alignSelf:'flex-end',maxWidth:Variables['single-count-min-width']},"single-count-text":{flex:1,textAlign:'right',fontSize:Variables['count-font-size'],color:Variables['count-color']},"count-error":{color:Variables['count-error-color']},"multiple-count-wrap":{alignSelf:'flex-end',maxWidth:Variables['multiple-count-min-width']},"multiple-count-text":{flex:1,textAlign:'right',fontSize:Variables['count-font-size'],color:Variables['count-color']},"md-single-count-wrap":{alignSelf:'flex-end',maxWidth:Variables['single-count-min-width']},"md-multiple-count-wrap":{alignSelf:'flex-end',maxWidth:Variables['multiple-count-min-width']},"md-multiple-count-text":{flex:1,textAlign:'right',fontSize:Variables['count-font-size'],color:Variables['count-color']},"md-clear":{width:Variables['md-clear-width'],height:Variables['md-clear-height'],position:'absolute',top:Variables['md-clear-top'],right:Variables['md-clear-right'],zIndex:4},"md-icon":{width:Variables['md-icon-width'],height:Variables['md-icon-height'],position:'absolute',top:Variables['md-icon-top'],right:Variables['md-icon-right'],zIndex:4},"clear-image":{width:Variables['clear-width'],height:Variables['clear-height']},"icon-image":{width:Variables['icon-width'],height:Variables['icon-height']},"md-warning":{width:Variables['md-warning-width'],height:Variables['md-warning-height'],position:'absolute',bottom:Variables['md-warning-bottom'],right:Variables['md-warning-right']},"single-outter":{},"multiple-outter":{},help:{minHeight:Variables['error-height'],justifyContent:'center'},clear:{width:Variables['clear-width'],height:Variables['clear-height'],position:'absolute',top:Variables['clear-top'],right:Variables['clear-right'],zIndex:2},icon:{width:Variables['icon-width'],height:Variables['icon-height'],position:'absolute',top:Variables['icon-top'],right:Variables['icon-right'],zIndex:2},"error-text":{color:Variables['error-text-color'],lineHeight:Variables['error-text-line-height'],fontSize:Variables['error-text-font-size'],paddingTop:Variables['error-text-padding-top']},"error-input-wrap":{borderColor:Variables['error-border-color']},"focus-input-wrap":{borderColor:Variables['focus-border-color']},warning:{width:Variables['warning-width'],height:Variables['warning-height'],position:'absolute',bottom:Variables['warning-bottom'],right:Variables['warning-right']},"multiple-md-wrap":{position:'relative',flexDirection:'column',justifyContent:'flex-end',padding:Variables['multiple-padding'],paddingTop:Variables['md-placeholder-height'],paddingLeft:0,paddingRight:0,borderRadius:Variables['md-border-radius'],borderColor:'transparent',borderBottomWidth:Variables['md-border-top-width'],borderTopWidth:Variables['md-border-top-width'],borderLeftWidth:Variables['md-border-left-width'],borderRightWidth:Variables['md-border-right-width'],backgroundColor:Variables['bg-color']},"text-for-height":{position:'absolute',top:10,left:10,fontSize:Variables['multiple-font-size'],lineHeight:36,visibility:'hidden'},"multiple-md-placeholder":{top:Variables['multiple-md-placeholder-top']},placeholder:_extends({position:'absolute',flexDirection:'row',left:0,top:Variables['placeholder-top'],justifyContent:'flex-start',alignItems:'center',minWidth:Variables['placeholder-min-width'],height:Variables['placeholder-height']},core.padding(0,0)),"placeholder-text":{color:Variables['placeholder-color'],fontSize:Variables['placeholder-font-size']},"md-placeholder":{alignItems:'center',height:Variables['md-placeholder-height'],top:Variables['md-placeholder-small-height']+Variables['md-input-margin-top']},"md-placeholder-static":{top:Variables['md-input-margin-top']},"md-placeholder-text":{color:Variables['md-placeholder-color'],fontSize:Variables['md-placeholder-font-size']},"md-focus-placeholder-text":{color:Variables['md-focus-placeholder-color']},"md-empty-placeholder-text":{color:Variables['md-empty-placeholder-color']},"md-disabled-placeholder-text":{color:Variables['md-disabled-placeholder-color']},"md-placeholder-small":{height:Variables['md-placeholder-small-height'],top:Variables['md-placeholder-small-top']},"md-placeholder-small-text":{paddingTop:Variables['md-placeholder-small-padding-top'],fontSize:Variables['md-placeholder-small-font-size']},"md-placeholder-small-text-has-error":{color:Variables['md-error-placeholder-color']}}}}module.exports=styleProvider;

@@ -1,530 +0,1 @@

'use strict';
function VariableMix(theme) {
var core = theme.Core;
var ComponentCustomStyle = theme.Input || {};
/**
* 输入框
* @namespace component
* @property module input
* @property tag Input
* @property category component
*/
var inputVariables = {
/**
* background
* @property namespace statement
*/
'bg-color': core['color-white'],
/**
* background
* @property namespace statement/disabled
*/
'disabled-bg-color': core['color-fill1-3'],
/**
* border
* @property namespace statement/disabled
*/
'disabled-line-color': core['color-line1-1'],
/**
* text
* @property namespace statement/disabled
*/
'disabled-color': core['color-text1-1'],
/**
* border
* @property namespace statement
*/
'border-color': core['color-line1-2'],
/**
* border-style
* @property namespace statement
*/
'border-style': core['line-solid'],
/**
* border
* @property namespace size/border
*/
'line-width': core['line-1'],
/**
* height
* @property namespace size/bouncing
*/
'single-height': core['s-10'],
/**
* text
* @property namespace size/text
*/
'single-font-size': core['font-size-body-3'],
/**
* text
* @property namespace statement
*/
'single-readonly-color': core['color-text1-2'],
/**
* text
* @property namespace statement/placeholder
*/
'placeholder-color': core['color-text1-2'],
/**
* text
* @property namespace size/placeholder
*/
'placeholder-font-size': core['font-size-subhead'],
/**
* height
* @property namespace size/placeholder
*/
'placeholder-height': core['s-6'],
/**
* min-width
* @property namespace size/placeholder
*/
'placeholder-min-width': 200,
/**
* top
* @property namespace size/placeholder
*/
'placeholder-top': 10,
/**
* padding(l, r)
* @property namespace size/bouncing
*/
'single-padding-left-right': 20,
/**
* corner
* @property namespace statement
*/
'single-radius': core['corner-1'],
/**
* text
* @property namespace statement
*/
'single-color': core['color-text1-4'],
/**
* border
* @property namespace statement
*/
'single-line-color': core['color-line1-2'],
/**
* height
* @property namespace size/bounding
*/
'multiple-height': core['s-20'],
/**
* text
* @property namespace size/text
*/
'multiple-font-size': core['font-size-body-3'],
/**
* padding
* @property namespace size/bounding
*/
'multiple-inset-padding': core['s-1'],
/**
* text
* @property namespace statement
*/
'multiple-inset-color': core['color-text1-4'],
/**
* padding(l, r)
* @property namespace size/bouncing
*/
'multiple-padding': core['s-1'],
/**
* corner
* @property namespace statement
*/
'multiple-radius': core['corner-0'],
/**
* text
* @property namespace statement
*/
'multiple-color': core['color-text1-4'],
/**
* border
* @property namespace statement
*/
'multiple-border-color': core['color-line1-2'],
/**
* bottom
* @property namespace size/count
*/
'single-count-bottom': 14,
/**
* right
* @property namespace size/count
*/
'single-count-right': 10,
/**
* min-width
* @property namespace size/count
*/
'single-count-min-width': 200,
/**
* text
* @property namespace statement/count
*/
'count-color': core['color-text1-1'],
/**
* text
* @property namespace statement/count
*/
'count-font-size': core['font-size-caption'],
/**
* text
* @property namespace statement/count
*/
'count-error-color': core['color-error-3'],
/**
* bottom
* @property namespace size/count
*/
'multiple-count-bottom': 16,
/**
* right
* @property namespace size/count
*/
'multiple-count-right': 10,
/**
* min-width
* @property namespace size/count
*/
'multiple-count-min-width': 200,
/**
* height
* @property namespace size/error
*/
'error-height': core['s-6'],
/**
* text
* @property namespace statement/error
*/
'error-text-color': core['color-error-3'],
/**
* lineHeight
* @property namespace size/error
*/
'error-text-line-height': core['s-6'],
/**
* text
* @property namespace size/error
*/
'error-text-font-size': core['font-size-caption'],
/**
* padding(t)
* @property namespace size/error
*/
'error-text-padding-top': 6,
/**
* border
* @property namespace statement/error
*/
'error-border-color': core['color-error-3'],
/**
* border
* @property namespace statement/focus
*/
'focus-border-color': core['color-brand1-6'],
/**
* width
* @property namespace size/clear
*/
'clear-width': 34,
/**
* height
* @property namespace size/clear
*/
'clear-height': 34,
/**
* top
* @property namespace size/clear
*/
'clear-top': 26,
/**
* right
* @property namespace size/clear
*/
'clear-right': 20,
/**
* width
* @property namespace size/icon
*/
'icon-width': 34,
/**
* height
* @property namespace size/icon
*/
'icon-height': 34,
/**
* top
* @property namespace size/icon
*/
'icon-top': 26,
/**
* right
* @property namespace size/icon
*/
'icon-right': 20,
/**
* width
* @property namespace size/warning
*/
'warning-width': 38,
/**
* height
* @property namespace size/warning
*/
'warning-height': 38,
/**
* bottom
* @property namespace size/warning
*/
'warning-bottom': 6,
/**
* right
* @property namespace size/warning
*/
'warning-right': 4,
/**
* text
* @property namespace statement/placeholder
*/
'md-focus-placeholder-color': core['color-brand1-6'],
/**
* text
* @property namespace statement/placeholder
*/
'md-empty-placeholder-color': core['color-text1-2'],
/**
* text
* @property namespace statement/placeholder
*/
'md-error-placeholder-color': core['color-error-3'],
/**
* text
* @property namespace statement/placeholder/disabled
*/
'md-disabled-placeholder-color': core['color-text1-1'],
/**
* border
* @property namespace statement/placeholder
*/
'md-border-color': core['color-line1-2'],
/**
* corner
* @property namespace statement
*/
'md-border-radius': core['corner-0'],
/**
* border
* @property namespace statement/focus
*/
'md-focus-border-color': core['color-brand1-6'],
/**
* border
* @property namespace statement/error
*/
'md-error-border-color': core['color-error-3'],
/**
* border-top
* @property namespace statement
*/
'md-border-top-width': 0,
/**
* height
* @property namespace size/line
*/
'md-line-height': core['line-2'],
/**
* margin(t,b)
* @property namespace size/line
*/
'md-line-margin-tb': core['line-1'],
/**
* height
* @property namespace size/line/focus
*/
'md-line-focus-height': core['line-3'],
/**
* height
* @property namespace size/line/error
*/
'md-line-error-height': core['line-3'],
/**
* border-left
* @property namespace size/bounding
*/
'md-border-left-width': 0,
/**
* border-right
* @property namespace size/bounding
*/
'md-border-right-width': 0,
/**
* height
* @property namespace size/placeholder
*/
'md-placeholder-height': 40,
/**
* height
* @property namespace size/placeholder/small
*/
'md-placeholder-small-height': 36,
/**
* padding(t)
* @property namespace size/placeholder/small
*/
'md-placeholder-small-padding-top': 6,
/**
* text
* @property namespace size/placeholder
*/
'md-placeholder-font-size': core['font-size-body-3'],
/**
* text
* @property namespace statement/placeholder
*/
'md-placeholder-color': core['color-text1-1'],
/**
* text
* @property namespace size/placeholder/small
*/
'md-placeholder-small-font-size': core['font-size-caption'],
/**
* height
* @property namespace size/bounding
*/
'md-input-height': 40,
/**
* margin(t)
* @property namespace size/bounding
*/
'md-input-margin-top': 6,
/**
* margin(b)
* @property namespace size/bounding
*/
'md-input-margin-bottom': 6,
/**
* height
* @property namespace size/help
*/
'md-help-height': 28,
/**
* margin(t)
* @property namespace size/help
*/
'md-help-margin-top': core['s-1'],
/**
* height
* @property namespace size/error
*/
'md-error-height': 28,
/**
* text
* @property namespace statement/error
*/
'md-error-text-color': core['color-error-3'],
/**
* text
* @property namespace size/error
*/
'md-error-text-font-size': core['font-size-caption'],
/**
* bottom
* @property namespace size/count
*/
'md-single-count-bottom': 10,
/**
* right
* @property namespace size/count
*/
'md-single-count-right': 10,
/**
* width
* @property namespace size/clear
*/
'md-clear-width': 32,
/**
* height
* @property namespace size/clear
*/
'md-clear-height': 32,
/**
* top
* @property namespace size/clear
*/
'md-clear-top': 40,
/**
* right
* @property namespace size/clear
*/
'md-clear-right': 10,
/**
* width
* @property namespace size/icon
*/
'md-icon-width': 32,
/**
* height
* @property namespace size/icon
*/
'md-icon-height': 32,
/**
* top
* @property namespace size/icon
*/
'md-icon-top': 40,
/**
* right
* @property namespace size/icon
*/
'md-icon-right': 10,
/**
* width
* @property namespace size/warning
*/
'md-warning-width': 36,
/**
* height
* @property namespace size/warning
*/
'md-warning-height': 36,
/**
* bottom
* @property namespace size/warning
*/
'md-warning-bottom': 6,
/**
* right
* @property namespace size/warning
*/
'md-warning-right': 10,
/**
* height
* @property namespace size/bouding
*/
'md-multiple-height': 160,
/**
* top
* @property namespace size/placeholder
*/
'md-placeholder-top': 50,
/**
* top
* @property namespace size/placeholder/small
*/
'md-placeholder-small-top': 0,
/**
* top
* @property namespace size/placeholder
*/
'multiple-md-placeholder-top': 10
};
// should alway use var statement to carray a assigngg
var variable = Object.assign(inputVariables, ComponentCustomStyle);
return variable;
}
module.exports = VariableMix;
'use strict';function VariableMix(theme){var core=theme.Core,ComponentCustomStyle=theme.Input||{},inputVariables={"bg-color":core['color-white'],"disabled-bg-color":core['color-fill1-3'],"disabled-line-color":core['color-line1-1'],"disabled-color":core['color-text1-1'],"border-color":core['color-line1-2'],"border-style":core['line-solid'],"line-width":core['line-1'],"single-height":core['s-10'],"single-font-size":core['font-size-body-3'],"single-readonly-color":core['color-text1-2'],"placeholder-color":core['color-text1-2'],"placeholder-font-size":core['font-size-subhead'],"placeholder-height":core['s-6'],"placeholder-min-width":200,"placeholder-top":10,"single-padding-left-right":20,"single-radius":core['corner-1'],"single-color":core['color-text1-4'],"single-line-color":core['color-line1-2'],"multiple-height":core['s-20'],"multiple-font-size":core['font-size-body-3'],"multiple-inset-padding":core['s-1'],"multiple-inset-color":core['color-text1-4'],"multiple-padding":core['s-1'],"multiple-radius":core['corner-0'],"multiple-color":core['color-text1-4'],"multiple-border-color":core['color-line1-2'],"single-count-bottom":14,"single-count-right":10,"single-count-min-width":200,"count-color":core['color-text1-1'],"count-font-size":core['font-size-caption'],"count-error-color":core['color-error-3'],"multiple-count-bottom":16,"multiple-count-right":10,"multiple-count-min-width":200,"error-height":core['s-6'],"error-text-color":core['color-error-3'],"error-text-line-height":core['s-6'],"error-text-font-size":core['font-size-caption'],"error-text-padding-top":6,"error-border-color":core['color-error-3'],"focus-border-color":core['color-brand1-6'],"clear-width":34,"clear-height":34,"clear-top":26,"clear-right":20,"icon-width":34,"icon-height":34,"icon-top":26,"icon-right":20,"warning-width":38,"warning-height":38,"warning-bottom":6,"warning-right":4,"md-focus-placeholder-color":core['color-brand1-6'],"md-empty-placeholder-color":core['color-text1-2'],"md-error-placeholder-color":core['color-error-3'],"md-disabled-placeholder-color":core['color-text1-1'],"md-border-color":core['color-line1-2'],"md-border-radius":core['corner-0'],"md-focus-border-color":core['color-brand1-6'],"md-error-border-color":core['color-error-3'],"md-border-top-width":0,"md-line-height":core['line-2'],"md-line-margin-tb":core['line-1'],"md-line-focus-height":core['line-3'],"md-line-error-height":core['line-3'],"md-border-left-width":0,"md-border-right-width":0,"md-placeholder-height":40,"md-placeholder-small-height":36,"md-placeholder-small-padding-top":6,"md-placeholder-font-size":core['font-size-body-3'],"md-placeholder-color":core['color-text1-1'],"md-placeholder-small-font-size":core['font-size-caption'],"md-input-height":40,"md-input-margin-top":6,"md-input-margin-bottom":6,"md-help-height":28,"md-help-margin-top":core['s-1'],"md-error-height":28,"md-error-text-color":core['color-error-3'],"md-error-text-font-size":core['font-size-caption'],"md-single-count-bottom":10,"md-single-count-right":10,"md-clear-width":32,"md-clear-height":32,"md-clear-top":40,"md-clear-right":10,"md-icon-width":32,"md-icon-height":32,"md-icon-top":40,"md-icon-right":10,"md-warning-width":36,"md-warning-height":36,"md-warning-bottom":6,"md-warning-right":10,"md-multiple-height":160,"md-placeholder-top":50,"md-placeholder-small-top":0,"multiple-md-placeholder-top":10},variable=Object.assign(inputVariables,ComponentCustomStyle);return variable}module.exports=VariableMix;

@@ -1,24 +0,1 @@

"use strict";
/**
* @param {dom node} element
* check whether the dom node's input is valid [ work in h5]
* number键盘输入非合法的时候value为空,此时需要校验是否合法。
* relative issue https://github.com/angular/angular.js/issues/2144
*/
exports.isValidInput = function (element) {
if (element.validity && !element.validity.valid) {
// if html5 validation says it's bad: it's bad
return false;
}
// Fallback to browsers that don't yet support html5 input validation
// Or we maybe want to perform additional validations
var value = element.value;
if (value != null) return true;
return false;
};
exports.isValidNumber = function (value) {
var reg = /^[-+]?[0-9]*\.?[0-9]+$/;
return reg.test(value);
};
"use strict";exports.isValidInput=function(element){if(element.validity&&!element.validity.valid)return!1;var value=element.value;return null!=value},exports.isValidNumber=function(value){var reg=/^[-+]?[0-9]*\.?[0-9]+$/;return reg.test(value)};
{
"name": "nuke-input",
"version": "2.0.9",
"version": "2.1.1-3",
"description": "输入框",

@@ -23,8 +23,2 @@ "main": "lib/index",

},
"scripts": {
"dev": "nuke-bin server",
"build": "nuke-bin build",
"test": "nuke-bin test",
"lint": "eslint '@(src|docs)/**/*.@(js|jsx|md)' || true"
},
"repository": {

@@ -35,9 +29,9 @@ "type": "git",

"dependencies": {
"nuke-core": "^2.x.x",
"nuke-env": "^2.x.x",
"nuke-helper": "^2.x.x",
"nuke-text": "^2.x.x",
"nuke-theme-provider": "^2.x.x",
"nuke-view": "^2.x.x",
"nuke-image": "^2.x.x"
"nuke-core": "^2.1.1-0",
"nuke-env": "^2.1.1-3",
"nuke-helper": "^2.1.1-3",
"nuke-image": "^2.1.1-0",
"nuke-text": "^2.1.1-3",
"nuke-theme-provider": "^2.1.1-3",
"nuke-view": "^2.1.1-3"
},

@@ -56,4 +50,4 @@ "devDependencies": {

"mocha": "^3.4.2",
"nuke-button": "^2.x.x",
"nuke-page": "^2.x.x",
"nuke-button": "^2.1.1-3",
"nuke-page": "^2.1.1-3",
"resemblejs-node": "^1.0.0",

@@ -65,3 +59,4 @@ "webdriver-keycode": "^1.0.3"

},
"license": "Apache"
"license": "Apache",
"gitHead": "1f7b1551e5d262305859ef4a185eb6d4743fa0aa"
}
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