Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nuke-core

Package Overview
Dependencies
Maintainers
5
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuke-core - npm Package Compare versions

Comparing version 2.1.10 to 2.2.2

27

CHANGELOG.md

@@ -6,2 +6,29 @@ # Change Log

<a name="2.2.2"></a>
## [2.2.2](https://gitlab.alibaba-inc.com/nuke/core/compare/v2.2.1...v2.2.2) (2018-08-23)
**Note:** Version bump only for package nuke-core
<a name="2.2.1"></a>
## [2.2.1](https://gitlab.alibaba-inc.com/nuke/core/compare/v2.2.0...v2.2.1) (2018-08-23)
**Note:** Version bump only for package nuke-core
<a name="2.2.0"></a>
# [2.2.0](https://gitlab.alibaba-inc.com/nuke/core/compare/v2.1.10...v2.2.0) (2018-08-23)
**Note:** Version bump only for package nuke-core
<a name="2.1.10"></a>

@@ -8,0 +35,0 @@ ## [2.1.10](https://gitlab.alibaba-inc.com/nuke/core/compare/v2.1.9...v2.1.10) (2018-08-20)

54

lib/index.js

@@ -1,1 +0,53 @@

'use strict';Object.defineProperty(exports,'__esModule',{value:!0});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},_size=require('./variables/size'),size=_interopRequireWildcard(_size),_color=require('./variables/color'),color=_interopRequireWildcard(_color),_corner=require('./variables/corner'),corner=_interopRequireWildcard(_corner),_font=require('./variables/font'),font=_interopRequireWildcard(_font),_line=require('./variables/line'),line=_interopRequireWildcard(_line),_shadow=require('./variables/shadow'),shadow=_interopRequireWildcard(_shadow),_icon=require('./variables/icon'),icon=_interopRequireWildcard(_icon),_varLoader=require('./util/var-loader'),loaders=_interopRequireWildcard(_varLoader),_mixin=require('./util/mixin'),mixin=_interopRequireWildcard(_mixin);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);return newObj.default=obj,newObj}var BaseVariables=_extends({},mixin,loaders,size,color,corner,font,line,shadow,icon);function injectCore(obj){return Object.assign(BaseVariables,obj)}BaseVariables.injectCore=injectCore,exports.default=BaseVariables,module.exports=exports['default'];
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
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 _size = require('./variables/size');
var size = _interopRequireWildcard(_size);
var _color = require('./variables/color');
var color = _interopRequireWildcard(_color);
var _corner = require('./variables/corner');
var corner = _interopRequireWildcard(_corner);
var _font = require('./variables/font');
var font = _interopRequireWildcard(_font);
var _line = require('./variables/line');
var line = _interopRequireWildcard(_line);
var _shadow = require('./variables/shadow');
var shadow = _interopRequireWildcard(_shadow);
var _icon = require('./variables/icon');
var icon = _interopRequireWildcard(_icon);
var _varLoader = require('./util/var-loader');
var loaders = _interopRequireWildcard(_varLoader);
var _mixin = require('./util/mixin');
var mixin = _interopRequireWildcard(_mixin);
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
var BaseVariables = _extends({}, mixin, loaders, size, color, corner, font, line, shadow, icon);
function injectCore(obj) {
return Object.assign(BaseVariables, obj);
}
BaseVariables.injectCore = injectCore;
exports.default = BaseVariables;
module.exports = exports['default'];

@@ -1,1 +0,59 @@

'use strict';Object.defineProperty(exports,'__esModule',{value:!0}),exports.padding=padding,exports.margin=margin,exports.border=border;function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function padding(){var pt=0<arguments.length&&arguments[0]!==void 0?arguments[0]:0,pr=1<arguments.length&&arguments[1]!==void 0?arguments[1]:pt,pb=2<arguments.length&&arguments[2]!==void 0?arguments[2]:pt,pl=3<arguments.length&&arguments[3]!==void 0?arguments[3]:pr;return{paddingTop:pt,paddingRight:pr,paddingBottom:pb,paddingLeft:pl}}function margin(){var pt=0<arguments.length&&arguments[0]!==void 0?arguments[0]:0,pr=1<arguments.length&&arguments[1]!==void 0?arguments[1]:pt,pb=2<arguments.length&&arguments[2]!==void 0?arguments[2]:pt,pl=3<arguments.length&&arguments[3]!==void 0?arguments[3]:pr;return{marginTop:pt,marginRight:pr,marginBottom:pb,marginLeft:pl}}function border(){var width=0<arguments.length&&void 0!==arguments[0]?arguments[0]:1,style=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'solid',color=2<arguments.length&&void 0!==arguments[2]?arguments[2]:'#ffffff',direction=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;if('string'==typeof width&&-1<width.indexOf('px')&&(width=2*width.split('px')[0]),direction){var _ref,x=direction[0].toUpperCase()+direction.slice(1);return _ref={},_defineProperty(_ref,'border'+x+'Width',width),_defineProperty(_ref,'border'+x+'Style',style),_defineProperty(_ref,'border'+x+'Color',color),_ref}return{borderWidth:width,borderStyle:style,borderColor:color}}
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.padding = padding;
exports.margin = margin;
exports.border = border;
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function padding() {
var pt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
var pr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : pt;
var pb = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : pt;
var pl = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : pr;
return {
paddingTop: pt,
paddingRight: pr,
paddingBottom: pb,
paddingLeft: pl
};
}
function margin() {
var pt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
var pr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : pt;
var pb = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : pt;
var pl = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : pr;
return {
marginTop: pt,
marginRight: pr,
marginBottom: pb,
marginLeft: pl
};
}
function border() {
var width = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
var style = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'solid';
var color = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '#ffffff';
var direction = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;
if (typeof width === 'string' && width.indexOf('px') > -1) {
width = width.split('px')[0] * 2;
}
if (direction) {
var _ref;
var x = direction[0].toUpperCase() + direction.slice(1);
return _ref = {}, _defineProperty(_ref, 'border' + x + 'Width', width), _defineProperty(_ref, 'border' + x + 'Style', style), _defineProperty(_ref, 'border' + x + 'Color', color), _ref;
}
return {
borderWidth: width,
borderStyle: style,
borderColor: color
};
}

@@ -1,1 +0,25 @@

'use strict';Object.defineProperty(exports,'__esModule',{value:!0});var isWeex='function'==typeof callNative,platform={iOS:!1,android:!1,weex:isWeex,web:!isWeex};if(isWeex){var WeexEnv='undefined'!=typeof window&&window.__weex_env__?Object.assign({},window.__weex_env__):Object.assign({},WXEnvironment);platform.iOS='iOS'===WeexEnv.platform,platform.android='android'===WeexEnv.platform}else{var userAgent='undefined'!=typeof navigator&&navigator.userAgent?navigator.userAgent.toLowerCase():'iPhone';platform.iOS=/iPhone|iPod|iPad|IOS/i.test(userAgent),platform.android=/Android/i.test(userAgent)}exports.default=platform,module.exports=exports['default'];
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var isWeex = typeof callNative === 'function';
var platform = {
iOS: false,
android: false,
weex: isWeex,
web: !isWeex
};
if (isWeex) {
var WeexEnv = typeof window !== 'undefined' && window.__weex_env__ ? Object.assign({}, window.__weex_env__) : Object.assign({}, WXEnvironment);
platform.iOS = WeexEnv.platform === 'iOS';
platform.android = WeexEnv.platform === 'android';
} else {
var userAgent = typeof navigator !== 'undefined' && navigator.userAgent ? navigator.userAgent.toLowerCase() : 'iPhone';
platform.iOS = /iPhone|iPod|iPad|IOS/i.test(userAgent);
platform.android = /Android/i.test(userAgent);
}
exports.default = platform;
module.exports = exports['default'];

@@ -1,1 +0,21 @@

'use strict';Object.defineProperty(exports,'__esModule',{value:!0}),exports.vLoader=vLoader;var _platform=require('./platform'),_platform2=_interopRequireDefault(_platform);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function vLoader(){var args=arguments;return 1<args.length&&_platform2.default.iOS?args[1]:args[0]}
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.vLoader = vLoader;
var _platform = require('./platform');
var _platform2 = _interopRequireDefault(_platform);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
// eslint-disable-next-line
function vLoader() {
var args = arguments;
if (args.length > 1 && _platform2.default.iOS) {
return args[1];
}
return args[0];
}

@@ -1,1 +0,402 @@

'use strict';Object.defineProperty(exports,'__esModule',{value:!0});var _varLoader=require('../util/var-loader'),colorTransparent=(0,_varLoader.vLoader)('transparent'),colorWhite=(0,_varLoader.vLoader)('#FFFFFF'),colorBlack=(0,_varLoader.vLoader)('#000000'),colorBrand11=(0,_varLoader.vLoader)('#E4F0FD'),colorBrand16=(0,_varLoader.vLoader)('#3089DC'),colorBrand19=(0,_varLoader.vLoader)('#1170BC'),colorLine11=(0,_varLoader.vLoader)('#E6E7EB'),colorLine12=(0,_varLoader.vLoader)('#DCDEE3'),colorLine13=(0,_varLoader.vLoader)('#C4C6CF'),colorLine14=(0,_varLoader.vLoader)('#A0A2AD'),colorFill11=(0,_varLoader.vLoader)('#F7F8FA'),colorFill12=(0,_varLoader.vLoader)('#F2F3F7'),colorFill13=(0,_varLoader.vLoader)('#EBECF0'),colorText11=(0,_varLoader.vLoader)('#CCCCCC'),colorText12=(0,_varLoader.vLoader)('#999999'),colorText13=(0,_varLoader.vLoader)('#666666'),colorText14=(0,_varLoader.vLoader)('#333333'),colorText15=(0,_varLoader.vLoader)('#222222'),colorWarning1=(0,_varLoader.vLoader)('#FFF3E0'),colorWarning2=(0,_varLoader.vLoader)('#FFA033'),colorWarning3=(0,_varLoader.vLoader)('#ED6F00'),colorError1=(0,_varLoader.vLoader)('#FFEBEE'),colorError2=(0,_varLoader.vLoader)('#F44336'),colorError3=(0,_varLoader.vLoader)('#DB2F23'),colorSuccess1=(0,_varLoader.vLoader)('#F1F8E9'),colorSuccess2=(0,_varLoader.vLoader)('#1DC11D'),colorSuccess3=(0,_varLoader.vLoader)('#0DA80D'),colorNotice1=(0,_varLoader.vLoader)('#E3F2FD'),colorNotice2=(0,_varLoader.vLoader)('#2196F3'),colorNotice3=(0,_varLoader.vLoader)('#1681D9'),colorHelp1=(0,_varLoader.vLoader)('#FDF5FF'),colorHelp2=(0,_varLoader.vLoader)('#B921F3'),colorHelp3=(0,_varLoader.vLoader)('#A116D9'),colorLink1=(0,_varLoader.vLoader)('#FDF5FF'),colorLink2=(0,_varLoader.vLoader)('#2196F3'),colorLink3=(0,_varLoader.vLoader)('#A116D9'),colorOther1=(0,_varLoader.vLoader)('#FDF5FF'),varMap={"color-transparent":colorTransparent,"color-white":colorWhite,"color-black":colorBlack,"color-brand1-1":colorBrand11,"color-brand1-6":colorBrand16,"color-brand1-9":colorBrand19,"color-line1-1":colorLine11,"color-line1-2":colorLine12,"color-line1-3":colorLine13,"color-line1-4":colorLine14,"color-fill1-1":colorFill11,"color-fill1-2":colorFill12,"color-fill1-3":colorFill13,"color-text1-1":colorText11,"color-text1-2":colorText12,"color-text1-3":colorText13,"color-text1-4":colorText14,"color-text1-5":colorText15,"color-success-1":colorSuccess1,"color-success-2":colorSuccess2,"color-success-3":colorSuccess3,"color-notice-1":colorNotice1,"color-notice-2":colorNotice2,"color-notice-3":colorNotice3,"color-warning-1":colorWarning1,"color-warning-2":colorWarning2,"color-warning-3":colorWarning3,"color-error-1":colorError1,"color-error-2":colorError2,"color-error-3":colorError3,"color-help-1":colorHelp1,"color-help-2":colorHelp2,"color-help-3":colorHelp3,"color-link-1":colorLink1,"color-link-2":colorLink2,"color-link-3":colorLink3,"color-other-1":colorOther1};exports.default=varMap,module.exports=exports['default'];
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _varLoader = require('../util/var-loader');
var colorTransparent = (0, _varLoader.vLoader)('transparent');
var colorWhite = (0, _varLoader.vLoader)('#FFFFFF');
var colorBlack = (0, _varLoader.vLoader)('#000000');
var colorBrand11 = (0, _varLoader.vLoader)('#E4F0FD');
var colorBrand16 = (0, _varLoader.vLoader)('#3089DC');
var colorBrand19 = (0, _varLoader.vLoader)('#1170BC');
var colorLine11 = (0, _varLoader.vLoader)('#E6E7EB');
var colorLine12 = (0, _varLoader.vLoader)('#DCDEE3');
var colorLine13 = (0, _varLoader.vLoader)('#C4C6CF');
var colorLine14 = (0, _varLoader.vLoader)('#A0A2AD');
var colorFill11 = (0, _varLoader.vLoader)('#F7F8FA');
var colorFill12 = (0, _varLoader.vLoader)('#F2F3F7');
var colorFill13 = (0, _varLoader.vLoader)('#EBECF0');
var colorText11 = (0, _varLoader.vLoader)('#CCCCCC');
var colorText12 = (0, _varLoader.vLoader)('#999999');
var colorText13 = (0, _varLoader.vLoader)('#666666');
var colorText14 = (0, _varLoader.vLoader)('#333333');
var colorText15 = (0, _varLoader.vLoader)('#222222');
var colorWarning1 = (0, _varLoader.vLoader)('#FFF3E0');
var colorWarning2 = (0, _varLoader.vLoader)('#FFA033');
var colorWarning3 = (0, _varLoader.vLoader)('#ED6F00');
var colorError1 = (0, _varLoader.vLoader)('#FFEBEE');
var colorError2 = (0, _varLoader.vLoader)('#F44336');
var colorError3 = (0, _varLoader.vLoader)('#DB2F23');
var colorSuccess1 = (0, _varLoader.vLoader)('#F1F8E9');
var colorSuccess2 = (0, _varLoader.vLoader)('#1DC11D');
var colorSuccess3 = (0, _varLoader.vLoader)('#0DA80D');
var colorNotice1 = (0, _varLoader.vLoader)('#E3F2FD');
var colorNotice2 = (0, _varLoader.vLoader)('#2196F3');
var colorNotice3 = (0, _varLoader.vLoader)('#1681D9');
var colorHelp1 = (0, _varLoader.vLoader)('#FDF5FF');
var colorHelp2 = (0, _varLoader.vLoader)('#B921F3');
var colorHelp3 = (0, _varLoader.vLoader)('#A116D9');
var colorLink1 = (0, _varLoader.vLoader)('#FDF5FF');
var colorLink2 = (0, _varLoader.vLoader)('#2196F3');
var colorLink3 = (0, _varLoader.vLoader)('#A116D9');
var colorOther1 = (0, _varLoader.vLoader)('#FDF5FF');
/**
* 颜色
* @namespace component
* @property module color
* @property category style
*/
var varMap = {
/**
* 内置色
* @namespace inset
*/
/**
* transparent
* @property group color-inset
* @property semantic 透明
* @property export
*/
'color-transparent': colorTransparent,
/**
* white
* @property group color-inset
* @property semantic 纯白
* @property export
*/
'color-white': colorWhite,
/**
* black
* @property group color-inset
* @property semantic 纯黑
* @property export
*/
'color-black': colorBlack,
/**
* 品牌色
* @namespace brand
*/
/**
* 品牌主色
* @namespace color-brand1
* @property group brand
*/
/**
* brand1-1
* @property group color-brand1
* @property semantic 浅
* @property export
*/
'color-brand1-1': colorBrand11,
/**
* brand1-6
* @property group color-brand1
* @property semantic 常规
* @property export
*/
'color-brand1-6': colorBrand16,
/**
* brand1-9
* @property group color-brand1
* @property semantic 深
* @property export
*/
'color-brand1-9': colorBrand19,
/**
* 中立色
* @namespace neutral
*/
/**
* 线条
* @namespace color-line1
* @property group neutral
*/
/**
* line1-1
* @property group color-line1
* @property semantic 浅
* @property export
*/
'color-line1-1': colorLine11,
/**
* line1-2
* @property group color-line1
* @property semantic 常规
* @property export
*/
'color-line1-2': colorLine12,
/**
* line1-3
* @property group color-line1
* @property semantic 深
* @property export
*/
'color-line1-3': colorLine13,
/**
* line1-4
* @property group color-line1
* @property semantic 重
* @property export
*/
'color-line1-4': colorLine14,
/**
* fill1-1
* @property group color-fill1
* @property semantic 浅
* @property export
*/
'color-fill1-1': colorFill11,
/**
* fill1-2
* @property group color-fill1
* @property semantic 常规
* @property export
*/
'color-fill1-2': colorFill12,
/**
* fill1-3
* @property group color-fill1
* @property semantic 深
* @property export
*/
'color-fill1-3': colorFill13,
/**
* text1-1
* @property group color-text1
* @property semantic 禁用/水印
* @property export
*/
'color-text1-1': colorText11,
/**
* text1-2
* @property group color-text1
* @property semantic 脚注
* @property export
*/
'color-text1-2': colorText12,
/**
* text1-3
* @property group color-text1
* @property semantic 正文
* @property export
*/
'color-text1-3': colorText13,
/**
* text1-4
* @property group color-text1
* @property semantic 标题
* @property export
*/
'color-text1-4': colorText14,
/**
* text1-5
* @property group color-text1
* @property semantic 重
* @property export
*/
'color-text1-5': colorText15,
/**
* 功能色
* @namespace funtional
*/
/**
* 成功
* @namespace color-success
* @property group funtional
*/
/**
* success-1
* @property group color-success
* @property semantic 浅
* @property export
*/
'color-success-1': colorSuccess1,
/**
* success-2
* @property group color-success
* @property semantic 常规
* @property export
*/
'color-success-2': colorSuccess2,
/**
* success-3
* @property group color-success
* @property semantic 深
* @property export
*/
'color-success-3': colorSuccess3,
/**
* 提示
* @namespace color-notice
* @property group funtional
*/
/**
* notice-1
* @property group color-notice
* @property semantic 浅
* @property export
*/
'color-notice-1': colorNotice1,
/**
* notice-2
* @property group color-notice
* @property semantic 常规
* @property export
*/
'color-notice-2': colorNotice2,
/**
* notice-3
* @property group color-notice
* @property semantic 深
* @property export
*/
'color-notice-3': colorNotice3,
/**
* 警告
* @namespace color-warning
* @property group funtional
*/
/**
* warning-1
* @property group color-warning
* @property semantic 浅
* @property export
*/
'color-warning-1': colorWarning1,
/**
* warning-2
* @property group color-warning
* @property semantic 常规
* @property export
*/
'color-warning-2': colorWarning2,
/**
* warning-3
* @property group color-warning
* @property semantic 深
* @property export
*/
'color-warning-3': colorWarning3,
/**
* 错误
* @namespace color-error
* @property group funtional
*/
/**
* error-1
* @property group color-error
* @property semantic 浅
* @property export
*/
'color-error-1': colorError1,
/**
* error-2
* @property group color-error
* @property semantic 常规
* @property export
*/
'color-error-2': colorError2,
/**
* error-3
* @property group color-error
* @property semantic 深
* @property export
*/
'color-error-3': colorError3,
/**
* 帮助
* @namespace color-help
* @property group funtional
*/
/**
* help-1
* @property group color-help
* @property semantic 浅
* @property export
*/
'color-help-1': colorHelp1,
/**
* error-2
* @property group color-error
* @property semantic 常规
* @property export
*/
'color-help-2': colorHelp2,
/**
* error-3
* @property group color-error
* @property semantic 深
* @property export
*/
'color-help-3': colorHelp3,
/**
* 链接
* @namespace color-link
* @property group funtional
*/
/**
* link-1
* @property group color-link
* @property semantic 默认
* @property export
*/
'color-link-1': colorLink1,
/**
* link-2
* @property group color-link
* @property semantic 已访问
* @property export
*/
'color-link-2': colorLink2,
/**
* link-3
* @property group color-link
* @property semantic 激活
* @property export
*/
'color-link-3': colorLink3,
/**
* 其他
* @namespace color-other
* @property group funtional
*/
/**
* other-1
* @property group color-other
* @property semantic 默认
* @property export
*/
'color-other-1': colorOther1
};
exports.default = varMap;
module.exports = exports['default'];

@@ -1,1 +0,63 @@

'use strict';Object.defineProperty(exports,'__esModule',{value:!0});var _varLoader=require('../util/var-loader'),corner0=(0,_varLoader.vLoader)(0),corner1=(0,_varLoader.vLoader)(6),corner2=(0,_varLoader.vLoader)(12),corner3=(0,_varLoader.vLoader)(40),cornerCircle=(0,_varLoader.vLoader)('50%'),cornerInfinite=999,varMap={"corner-0":corner0,"corner-1":corner1,"corner-2":corner2,"corner-3":corner3,"corner-circle":cornerCircle,"corner-infinite":cornerInfinite};exports.default=varMap,module.exports=exports['default'];
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _varLoader = require('../util/var-loader');
var corner0 = (0, _varLoader.vLoader)(0);
var corner1 = (0, _varLoader.vLoader)(6);
var corner2 = (0, _varLoader.vLoader)(12);
var corner3 = (0, _varLoader.vLoader)(40);
var cornerCircle = (0, _varLoader.vLoader)('50%');
var cornerInfinite = 999;
/**
* 边角
* @namespace component
* @property module corner
* @property category style
*/
var varMap = {
/**
* corner-0
* @property semantic 直角
* @property export
*/
'corner-0': corner0,
/**
* corner-1
* @property semantic 常规圆角
* @property export
*/
'corner-1': corner1,
/**
* corner-2
* @property semantic 大圆角
* @property export
*/
'corner-2': corner2,
/**
* corner-3
* @property semantic 超大圆角
* @property export
*/
'corner-3': corner3,
/**
* corner-circle
* @property semantic 圆形
* @property export
*/
'corner-circle': cornerCircle,
/**
* corner-infinite
* @property semantic 无限大圆角
* @property export
*/
'corner-infinite': cornerInfinite
};
exports.default = varMap;
module.exports = exports['default'];

@@ -1,1 +0,142 @@

'use strict';Object.defineProperty(exports,'__esModule',{value:!0});var _varLoader=require('../util/var-loader'),fontFamilyBase=(0,_varLoader.vLoader)('Roboto, "Helvetica Neue", Helvetica, Tahoma, Arial, "PingFang SC", "Microsoft YaHei"'),fontSizeDisplay3=(0,_varLoader.vLoader)(112),fontSizeDisplay2=(0,_varLoader.vLoader)(96),fontSizeDisplay1=(0,_varLoader.vLoader)(72),fontSizeHeadline=(0,_varLoader.vLoader)(48,40),fontSizeTitle=(0,_varLoader.vLoader)(40,34),fontSizeSubhead=(0,_varLoader.vLoader)(32),fontSizeBody3=(0,_varLoader.vLoader)(28,30),fontSizeBody2=(0,_varLoader.vLoader)(28,26),fontSizeBody1=(0,_varLoader.vLoader)(28,24),fontSizeCaption=(0,_varLoader.vLoader)(24,22),fontWeight1=(0,_varLoader.vLoader)(300),fontWeight2=(0,_varLoader.vLoader)(600),fontWeight3=(0,_varLoader.vLoader)(900),fontLineHeight1=(0,_varLoader.vLoader)(1.3),fontLineHeight2=(0,_varLoader.vLoader)(1.5),fontLineHeight3=(0,_varLoader.vLoader)(1.7),varMap={"font-family-base":fontFamilyBase,"font-size-display-3":fontSizeDisplay3,"font-size-display-2":fontSizeDisplay2,"font-size-display-1":fontSizeDisplay1,"font-size-headline":fontSizeHeadline,"font-size-title":fontSizeTitle,"font-size-subhead":fontSizeSubhead,"font-size-body-3":fontSizeBody3,"font-size-body-2":fontSizeBody2,"font-size-body-1":fontSizeBody1,"font-size-caption":fontSizeCaption,"font-weight-1":fontWeight1,"font-weight-2":fontWeight2,"font-weight-3":fontWeight3,"font-lineheight-1":fontLineHeight1,"font-lineheight-2":fontLineHeight2,"font-lineheight-3":fontLineHeight3};exports.default=varMap,module.exports=exports['default'];
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _varLoader = require('../util/var-loader');
var fontFamilyBase = (0, _varLoader.vLoader)('Roboto, "Helvetica Neue", Helvetica, Tahoma, Arial, "PingFang SC", "Microsoft YaHei"');
var fontSizeDisplay3 = (0, _varLoader.vLoader)(112);
var fontSizeDisplay2 = (0, _varLoader.vLoader)(96);
var fontSizeDisplay1 = (0, _varLoader.vLoader)(72);
var fontSizeHeadline = (0, _varLoader.vLoader)(48, 40);
var fontSizeTitle = (0, _varLoader.vLoader)(40, 34);
var fontSizeSubhead = (0, _varLoader.vLoader)(32);
var fontSizeBody3 = (0, _varLoader.vLoader)(28, 30);
var fontSizeBody2 = (0, _varLoader.vLoader)(28, 26);
var fontSizeBody1 = (0, _varLoader.vLoader)(28, 24);
var fontSizeCaption = (0, _varLoader.vLoader)(24, 22);
var fontWeight1 = (0, _varLoader.vLoader)(300);
var fontWeight2 = (0, _varLoader.vLoader)(600);
var fontWeight3 = (0, _varLoader.vLoader)(900);
var fontLineHeight1 = (0, _varLoader.vLoader)(1.3);
var fontLineHeight2 = (0, _varLoader.vLoader)(1.5);
var fontLineHeight3 = (0, _varLoader.vLoader)(1.7);
/**
* 字体
* @namespace component
* @property module font
* @property category style
*/
var varMap = {
/**
* family
* @property semantic 字体
* @property export
*/
'font-family-base': fontFamilyBase,
/**
* display-3
* @property semantic 运营标题-大
* @property export size
*/
'font-size-display-3': fontSizeDisplay3,
/**
* display-2
* @property semantic 运营标题-中
* @property export size
*/
'font-size-display-2': fontSizeDisplay2,
/**
* display-1
* @property semantic 运营标题-小
* @property export size
*/
'font-size-display-1': fontSizeDisplay1,
/**
* headline
* @property semantic 标题-大
* @property export size
*/
'font-size-headline': fontSizeHeadline,
/**
* title
* @property semantic 标题-中
* @property export size
*/
'font-size-title': fontSizeTitle,
/**
* subhead
* @property semantic 标题-小
* @property export size
*/
'font-size-subhead': fontSizeSubhead,
/**
* body-3
* @property semantic 正文
* @property export size
*/
'font-size-body-3': fontSizeBody3,
/**
* body-2
* @property semantic 正文-强调
* @property export size
*/
'font-size-body-2': fontSizeBody2,
/**
* body-1
* @property semantic 正文-常规
* @property export size
*/
'font-size-body-1': fontSizeBody1,
/**
* caption
* @property semantic 水印文本
* @property export size
*/
'font-size-caption': fontSizeCaption,
/**
* light
* @property semantic 细体
* @property export weightcore
*/
'font-weight-1': fontWeight1,
/**
* regular
* @property semantic 常规
* @property export weightcore
*/
'font-weight-2': fontWeight2,
/**
* bold
* @property semantic 粗体
* @property export weightcore
*/
'font-weight-3': fontWeight3,
/**
* lineheight-1
* @property semantic 密集
* @property export lineheight
*/
'font-lineheight-1': fontLineHeight1,
/**
* lineheight-2
* @property semantic 常规
* @property export lineheight
*/
'font-lineheight-2': fontLineHeight2,
/**
* lineheight-3
* @property semantic 宽松
* @property export lineheight
*/
'font-lineheight-3': fontLineHeight3
};
exports.default = varMap;
module.exports = exports['default'];

@@ -1,1 +0,305 @@

'use strict';Object.defineProperty(exports,'__esModule',{value:!0});var _varLoader=require('../util/var-loader'),_size=require('./size'),size=_interopRequireWildcard(_size);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);return newObj.default=obj,newObj}var iconXxs=(0,_varLoader.vLoader)(size['s-2']),iconXs=(0,_varLoader.vLoader)(size['s-3']),iconS=(0,_varLoader.vLoader)(size['s-4']),iconM=(0,_varLoader.vLoader)(size['s-5']),iconL=(0,_varLoader.vLoader)(size['s-6']),iconXl=(0,_varLoader.vLoader)(size['s-8']),iconXxl=(0,_varLoader.vLoader)(size['s-12']),iconXxxl=(0,_varLoader.vLoader)(size['s-16']),varMap={"icon-xxs":iconXxs,"icon-xs":iconXs,"icon-s":iconS,"icon-m":iconM,"icon-l":iconL,"icon-xl":iconXl,"icon-xxl":iconXxl,"icon-xxxl":iconXxxl,"icon-font-path":'//at.alicdn.com/t/font_595713_851pnlzi16g',"icon-font-family":'NukeIcon',"icon-content-right":'e713',"icon-content-download":'e637',"icon-content-accessory":'e6DD',"icon-content-add":'e655',"icon-content-camera":'e6F0',"icon-content-close":'e6F3',"icon-content-enter":'e70C',"icon-content-feedback-fill":'e70F',"icon-content-feedback":'e710',"icon-content-homepage-fill":'e71C',"icon-content-homepage":'e71D',"icon-content-message-fill":'e730',"icon-content-message":'e72F',"icon-content-picture":'e73F',"icon-content-info-fill":'e746',"icon-content-info":'e747',"icon-content-return":'e74F',"icon-content-scan":'e751',"icon-content-setup-fill":'e757',"icon-content-setup":'e758',"icon-content-share":'e75A',"icon-content-success-fill":'e761',"icon-content-success":'e762',"icon-content-switch":'e764',"icon-content-prompt":'e766',"icon-content-tailor":'e767',"icon-content-video":'e776',"icon-content-warning-fill":'e778',"icon-content-warning":'e779',"icon-content-search":'e77C',"icon-content-packup":'e782',"icon-content-unfold":'e783',"icon-content-delete":'e6f4',"icon-content-delete-fill":'e6f2',"icon-content-minus":'e657'};exports.default=varMap,module.exports=exports['default'];
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _varLoader = require('../util/var-loader');
var _size = require('./size');
var size = _interopRequireWildcard(_size);
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
var iconXxs = (0, _varLoader.vLoader)(size['s-2']);
var iconXs = (0, _varLoader.vLoader)(size['s-3']);
var iconS = (0, _varLoader.vLoader)(size['s-4']);
var iconM = (0, _varLoader.vLoader)(size['s-5']);
var iconL = (0, _varLoader.vLoader)(size['s-6']);
var iconXl = (0, _varLoader.vLoader)(size['s-8']);
var iconXxl = (0, _varLoader.vLoader)(size['s-12']);
var iconXxxl = (0, _varLoader.vLoader)(size['s-16']);
/**
* 图标
* @namespace component
* @property module icon
* @property category style
*/
var varMap = {
/**
* icon-xxs
* @property semantic xxs
* @property export size
*/
'icon-xxs': iconXxs,
/**
* icon-xs
* @property semantic xs
* @property export size
*/
'icon-xs': iconXs,
/**
* icon-s
* @property semantic s
* @property export size
*/
'icon-s': iconS,
/**
* icon-m
* @property semantic m
* @property export size
*/
'icon-m': iconM,
/**
* icon-l
* @property semantic l
* @property export size
*/
'icon-l': iconL,
/**
* icon-xl
* @property semantic xl
* @property export size
*/
'icon-xl': iconXl,
/**
* icon-xxl
* @property semantic xxl
* @property export size
*/
'icon-xxl': iconXxl,
/**
* icon-xxxl
* @property semantic xxxl
* @property export size
*/
'icon-xxxl': iconXxxl,
/**
* icon-font-path
* @property semantic path
* @property unconfigurable
*/
'icon-font-path': '//at.alicdn.com/t/font_595713_851pnlzi16g',
/**
* icon-font-family
* @property semantic family
* @property unconfigurable
*/
'icon-font-family': 'NukeIcon',
/**
* icon-content-right
* @property semantic right
* @property unconfigurable
*/
'icon-content-right': 'e713',
/**
* icon-content-download
* @property semantic download
* @property unconfigurable
*/
'icon-content-download': 'e637',
/**
* icon-content-download
* @property semantic download
* @property unconfigurable
*/
'icon-content-accessory': 'e6DD',
/**
* icon-content-add
* @property semantic add
* @property unconfigurable
*/
'icon-content-add': 'e655',
/**
* icon-content-camera
* @property semantic camera
* @property unconfigurable
*/
'icon-content-camera': 'e6F0',
/**
* icon-content-close
* @property semantic close
* @property unconfigurable
*/
'icon-content-close': 'e6F3',
/**
* icon-content-enter
* @property semantic enter
* @property unconfigurable
*/
'icon-content-enter': 'e70C',
/**
* icon-content-feedback-fill
* @property semantic feedback-fill
* @property unconfigurable
*/
'icon-content-feedback-fill': 'e70F',
/**
* icon-content-feedback
* @property semantic feedback
* @property unconfigurable
*/
'icon-content-feedback': 'e710',
/**
* icon-content-homepage-fill
* @property semantic homepage-fill
* @property unconfigurable
*/
'icon-content-homepage-fill': 'e71C',
/**
* icon-content-homepage
* @property semantic homepage
* @property unconfigurable
*/
'icon-content-homepage': 'e71D',
/**
* icon-content-message-fill
* @property semantic message-fill
* @property unconfigurable
*/
'icon-content-message-fill': 'e730',
/**
* icon-content-message
* @property semantic message
* @property unconfigurable
*/
'icon-content-message': 'e72F',
/**
* icon-content-picture
* @property semantic picture
* @property unconfigurable
*/
'icon-content-picture': 'e73F',
/**
* icon-content-info-fill
* @property semantic info-fill
* @property unconfigurable
*/
'icon-content-info-fill': 'e746',
/**
* icon-content-info
* @property semantic info
* @property unconfigurable
*/
'icon-content-info': 'e747',
/**
* icon-content-return
* @property semantic return
* @property unconfigurable
*/
'icon-content-return': 'e74F',
/**
* icon-content-scan
* @property semantic scan
* @property unconfigurable
*/
'icon-content-scan': 'e751',
/**
* icon-content-setup-fill
* @property semantic setup-fill
* @property unconfigurable
*/
'icon-content-setup-fill': 'e757',
/**
* icon-content-setup
* @property semantic setup
* @property unconfigurable
*/
'icon-content-setup': 'e758',
/**
* icon-content-share
* @property semantic share
* @property unconfigurable
*/
'icon-content-share': 'e75A',
/**
* icon-content-success-fill
* @property semantic success-fill
* @property unconfigurable
*/
'icon-content-success-fill': 'e761',
/**
* icon-content-success
* @property semantic success
* @property unconfigurable
*/
'icon-content-success': 'e762',
/**
* icon-content-switch
* @property semantic switch
* @property unconfigurable
*/
'icon-content-switch': 'e764',
/**
* icon-content-prompt
* @property semantic prompt
* @property unconfigurable
*/
'icon-content-prompt': 'e766',
/**
* icon-content-tailor
* @property semantic tailor
* @property unconfigurable
*/
'icon-content-tailor': 'e767',
/**
* icon-content-video
* @property semantic video
* @property unconfigurable
*/
'icon-content-video': 'e776',
/**
* icon-content-warning-fill
* @property semantic warning-fill
* @property unconfigurable
*/
'icon-content-warning-fill': 'e778',
/**
* icon-content-warning
* @property semantic warning
* @property unconfigurable
*/
'icon-content-warning': 'e779',
/**
* icon-content-search
* @property semantic search
* @property unconfigurable
*/
'icon-content-search': 'e77C',
/**
* icon-content-packup
* @property semantic packup
* @property unconfigurable
*/
'icon-content-packup': 'e782',
/**
* icon-content-unfold
* @property semantic unfold
* @property unconfigurable
*/
'icon-content-unfold': 'e783',
/**
* icon-content-delete
* @property semantic delete
* @property unconfigurable
*/
'icon-content-delete': 'e6f4',
/**
* icon-content-delete-fill
* @property semantic delete-fill
* @property unconfigurable
*/
'icon-content-delete-fill': 'e6f2',
/**
* icon-content-minus
* @property semantic minus
* @property unconfigurable
*/
'icon-content-minus': 'e657'
};
exports.default = varMap;
module.exports = exports['default'];

@@ -1,1 +0,73 @@

'use strict';Object.defineProperty(exports,'__esModule',{value:!0});var _varLoader=require('../util/var-loader'),line0=(0,_varLoader.vLoader)(0),line1=(0,_varLoader.vLoader)(1),line2=(0,_varLoader.vLoader)(2),line3=(0,_varLoader.vLoader)(4),lineSolid=(0,_varLoader.vLoader)('solid'),lineDashed=(0,_varLoader.vLoader)('dashed'),lineDotted=(0,_varLoader.vLoader)('dotted'),varMap={"line-0":line0,"line-1":line1,"line-2":line2,"line-3":line3,"line-solid":lineSolid,"line-dashed":lineDashed,"line-dotted":lineDotted};exports.default=varMap,module.exports=exports['default'];
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _varLoader = require('../util/var-loader');
var line0 = (0, _varLoader.vLoader)(0);
var line1 = (0, _varLoader.vLoader)(1);
var line2 = (0, _varLoader.vLoader)(2);
var line3 = (0, _varLoader.vLoader)(4);
var lineSolid = (0, _varLoader.vLoader)('solid');
var lineDashed = (0, _varLoader.vLoader)('dashed');
var lineDotted = (0, _varLoader.vLoader)('dotted');
/**
* 线条
* @namespace component
* @property module line
* @property category style
*/
var varMap = {
/**
* line-0
* @property semantic 无
* @property export width
*/
'line-0': line0,
/**
* line-1
* @property semantic 细
* @property export width
*/
'line-1': line1,
/**
* line-2
* @property semantic 常规
* @property export width
*/
'line-2': line2,
/**
* line-3
* @property semantic 粗
* @property export width
*/
'line-3': line3,
/**
* line-solid
* @property semantic 实线
* @property unconfigurable
* @property export style
*/
'line-solid': lineSolid,
/**
* line-dashed
* @property semantic 虚线
* @property unconfigurable
* @property export style
*/
'line-dashed': lineDashed,
/**
* line-dotted
* @property semantic 点线
* @property unconfigurable
* @property export style
*/
'line-dotted': lineDotted
};
exports.default = varMap;
module.exports = exports['default'];

@@ -1,1 +0,141 @@

'use strict';Object.defineProperty(exports,'__esModule',{value:!0});var _varLoader=require('../util/var-loader'),_color=require('./color'),color=_interopRequireWildcard(_color);function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;var newObj={};if(null!=obj)for(var key in obj)Object.prototype.hasOwnProperty.call(obj,key)&&(newObj[key]=obj[key]);return newObj.default=obj,newObj}var shadow1=(0,_varLoader.vLoader)('1px 1px 3px 0 rgba(0,0,0,0.12)'),shadow2=(0,_varLoader.vLoader)('2px 3px 4px 0 rgba(0,0,0,0.12)'),shadow3=(0,_varLoader.vLoader)('2px 3px 5px 0 rgba(0,0,0,0.12)'),shadowDistanceSd1=(0,_varLoader.vLoader)('1px'),shadowDistanceSd2=(0,_varLoader.vLoader)('2px'),shadowDistanceSd3=(0,_varLoader.vLoader)('3px'),shadowBlurSd1=(0,_varLoader.vLoader)('3px'),shadowBlurSd2=(0,_varLoader.vLoader)('4px'),shadowBlurSd3=(0,_varLoader.vLoader)('5px'),shadowSpreadSd1=(0,_varLoader.vLoader)(0),shadowSpreadSd2=(0,_varLoader.vLoader)(0),shadowSpreadSd3=(0,_varLoader.vLoader)(0),shadowColorSd1=(0,_varLoader.vLoader)(color['color-black']),shadowColorSd2=(0,_varLoader.vLoader)(color['color-black']),shadowColorSd3=(0,_varLoader.vLoader)(color['color-black']),shadowOpacitySd1=(0,_varLoader.vLoader)(.12),shadowOpacitySd2=(0,_varLoader.vLoader)(.12),shadowOpacitySd3=(0,_varLoader.vLoader)(.12),varMap={"shadow-1":shadow1,"shadow-2":shadow2,"shadow-3":shadow3,"shadow-distance-sd1":shadowDistanceSd1,"shadow-distance-sd2":shadowDistanceSd2,"shadow-distance-sd3":shadowDistanceSd3,"shadow-opacity-sd1":shadowOpacitySd1,"shadow-opacity-sd2":shadowOpacitySd2,"shadow-opacity-sd3":shadowOpacitySd3,"shadow-color-sd1":shadowColorSd1,"shadow-color-sd2":shadowColorSd2,"shadow-color-sd3":shadowColorSd3,"shadow-blur-sd1":shadowBlurSd1,"shadow-blur-sd2":shadowBlurSd2,"shadow-blur-sd3":shadowBlurSd3,"shadow-spread-sd1":shadowSpreadSd1,"shadow-spread-sd2":shadowSpreadSd2,"shadow-spread-sd3":shadowSpreadSd3};exports.default=varMap,module.exports=exports['default'];
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _varLoader = require('../util/var-loader');
var _color = require('./color');
var color = _interopRequireWildcard(_color);
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
var shadow1 = (0, _varLoader.vLoader)('1px 1px 3px 0 rgba(0,0,0,0.12)');
var shadow2 = (0, _varLoader.vLoader)('2px 3px 4px 0 rgba(0,0,0,0.12)');
var shadow3 = (0, _varLoader.vLoader)('2px 3px 5px 0 rgba(0,0,0,0.12)');
var shadowDistanceSd1 = (0, _varLoader.vLoader)('1px');
var shadowDistanceSd2 = (0, _varLoader.vLoader)('2px');
var shadowDistanceSd3 = (0, _varLoader.vLoader)('3px');
var shadowBlurSd1 = (0, _varLoader.vLoader)('3px');
var shadowBlurSd2 = (0, _varLoader.vLoader)('4px');
var shadowBlurSd3 = (0, _varLoader.vLoader)('5px');
var shadowSpreadSd1 = (0, _varLoader.vLoader)(0);
var shadowSpreadSd2 = (0, _varLoader.vLoader)(0);
var shadowSpreadSd3 = (0, _varLoader.vLoader)(0);
var shadowColorSd1 = (0, _varLoader.vLoader)(color['color-black']);
var shadowColorSd2 = (0, _varLoader.vLoader)(color['color-black']);
var shadowColorSd3 = (0, _varLoader.vLoader)(color['color-black']);
var shadowOpacitySd1 = (0, _varLoader.vLoader)(0.12);
var shadowOpacitySd2 = (0, _varLoader.vLoader)(0.12);
var shadowOpacitySd3 = (0, _varLoader.vLoader)(0.12);
/**
* 阴影
* @namespace component
* @property module shadow
* @property category style
*/
var varMap = {
/**
* shadow-1
* @property semantic 阴影1
* @property export
* @property calculate ['shadow-distance-sd1'] ['shadow-distance-sd1'] ['shadow-blur-sd1'] ['shadow-spread-sd1'] rgba(['shadow-color-sd1'], ['shadow-opacity-sd1'])
*/
'shadow-1': shadow1,
/**
* shadow-2
* @property semantic 阴影2
* @property export
* @property calculate ['shadow-distance-sd2'] ['shadow-distance-sd2'] ['shadow-blur-sd2'] ['shadow-spread-sd2'] rgba(['shadow-color-sd2'], ['shadow-opacity-sd2'])
*/
'shadow-2': shadow2,
/**
* shadow-3
* @property semantic 阴影3
* @property export
* @property calculate ['shadow-distance-sd3'] ['shadow-distance-sd3'] ['shadow-blur-sd3'] ['shadow-spread-sd3'] rgba(['shadow-color-sd3'], ['shadow-opacity-sd3'])
*/
'shadow-3': shadow3,
/**
* shadow-distance-sd1
* @property semantic 阴影1距离
*/
'shadow-distance-sd1': shadowDistanceSd1,
/**
* shadow-distance-sd2
* @property semantic 阴影2距离
*/
'shadow-distance-sd2': shadowDistanceSd2,
/**
* shadow-distance-sd3
* @property semantic 阴影3距离
*/
'shadow-distance-sd3': shadowDistanceSd3,
/**
* shadow-opacity-sd1
* @property semantic 阴影1透明度
*/
'shadow-opacity-sd1': shadowOpacitySd1,
/**
* shadow-opacity-sd2
* @property semantic 阴影2透明度
*/
'shadow-opacity-sd2': shadowOpacitySd2,
/**
* shadow-opacity-sd3
* @property semantic 阴影3透明度
*/
'shadow-opacity-sd3': shadowOpacitySd3,
/**
* shadow-color-sd1
* @property semantic 阴影1颜色
*/
'shadow-color-sd1': shadowColorSd1,
/**
* shadow-color-sd2
* @property semantic 阴影2颜色
*/
'shadow-color-sd2': shadowColorSd2,
/**
* shadow-color-sd3
* @property semantic 阴影3颜色
*/
'shadow-color-sd3': shadowColorSd3,
/**
* shadow-blur-sd1
* @property semantic 阴影1羽化值
*/
'shadow-blur-sd1': shadowBlurSd1,
/**
* shadow-blur-sd2
* @property semantic 阴影2羽化值
*/
'shadow-blur-sd2': shadowBlurSd2,
/**
* shadow-blur-sd3
* @property semantic 阴影3羽化值
*/
'shadow-blur-sd3': shadowBlurSd3,
/**
* shadow-spread-sd1
* @property semantic 阴影1扩散值
*/
'shadow-spread-sd1': shadowSpreadSd1,
/**
* shadow-spread-sd2
* @property semantic 阴影2扩散值
*/
'shadow-spread-sd2': shadowSpreadSd2,
/**
* shadow-spread-sd3
* @property semantic 阴影3扩散值
*/
'shadow-spread-sd3': shadowSpreadSd3
};
exports.default = varMap;
module.exports = exports['default'];

@@ -1,1 +0,178 @@

'use strict';Object.defineProperty(exports,'__esModule',{value:!0});var _varLoader=require('../util/var-loader');function getGlobalVal(base,times){return base*times}var sizeBase=(0,_varLoader.vLoader)(8),s0=getGlobalVal(sizeBase,0),s1=getGlobalVal(sizeBase,1),s2=getGlobalVal(sizeBase,2),s3=getGlobalVal(sizeBase,3),s4=getGlobalVal(sizeBase,4),s5=getGlobalVal(sizeBase,5),s6=getGlobalVal(sizeBase,6),s7=getGlobalVal(sizeBase,7),s8=getGlobalVal(sizeBase,8),s9=getGlobalVal(sizeBase,9),s10=getGlobalVal(sizeBase,10),s11=getGlobalVal(sizeBase,11),s12=getGlobalVal(sizeBase,12),s13=getGlobalVal(sizeBase,13),s14=getGlobalVal(sizeBase,14),s15=getGlobalVal(sizeBase,15),s16=getGlobalVal(sizeBase,16),s17=getGlobalVal(sizeBase,17),s18=getGlobalVal(sizeBase,18),s19=getGlobalVal(sizeBase,19),s20=getGlobalVal(sizeBase,20),varMap={"size-base":sizeBase,"s-0":s0,"s-1":s1,"s-2":s2,"s-3":s3,"s-4":s4,"s-5":s5,"s-6":s6,"s-7":s7,"s-8":s8,"s-9":s9,"s-10":s10,"s-11":s11,"s-12":s12,"s-13":s13,"s-14":s14,"s-15":s15,"s-16":s16,"s-17":s17,"s-18":s18,"s-19":s19,"s-20":s20};exports.default=varMap,module.exports=exports['default'];
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _varLoader = require('../util/var-loader');
function getGlobalVal(base, times) {
return base * times;
}
var sizeBase = (0, _varLoader.vLoader)(8);
var s0 = getGlobalVal(sizeBase, 0);
var s1 = getGlobalVal(sizeBase, 1);
var s2 = getGlobalVal(sizeBase, 2);
var s3 = getGlobalVal(sizeBase, 3);
var s4 = getGlobalVal(sizeBase, 4);
var s5 = getGlobalVal(sizeBase, 5);
var s6 = getGlobalVal(sizeBase, 6);
var s7 = getGlobalVal(sizeBase, 7);
var s8 = getGlobalVal(sizeBase, 8);
var s9 = getGlobalVal(sizeBase, 9);
var s10 = getGlobalVal(sizeBase, 10);
var s11 = getGlobalVal(sizeBase, 11);
var s12 = getGlobalVal(sizeBase, 12);
var s13 = getGlobalVal(sizeBase, 13);
var s14 = getGlobalVal(sizeBase, 14);
var s15 = getGlobalVal(sizeBase, 15);
var s16 = getGlobalVal(sizeBase, 16);
var s17 = getGlobalVal(sizeBase, 17);
var s18 = getGlobalVal(sizeBase, 18);
var s19 = getGlobalVal(sizeBase, 19);
var s20 = getGlobalVal(sizeBase, 20);
/**
* 尺寸
* @namespace component
* @property module size
* @property category style
*/
var varMap = {
/**
* size-base
* @property semantic 基础尺寸
* @property export
*/
'size-base': sizeBase,
/**
* s0
* @property export
*/
's-0': s0,
/**
* s1
* @property export
* @property calculate ['size-base']*1
*/
's-1': s1,
/**
* s2
* @property export
* @property calculate ['size-base']*2
*/
's-2': s2,
/**
* s3
* @property export
* @property calculate ['size-base']*3
*/
's-3': s3,
/**
* s4
* @property export
* @property calculate ['size-base']*4
*/
's-4': s4,
/**
* s5
* @property export
* @property calculate ['size-base']*5
*/
's-5': s5,
/**
* s6
* @property export
* @property calculate ['size-base']*6
*/
's-6': s6,
/**
* s7
* @property export
* @property calculate ['size-base']*7
*/
's-7': s7,
/**
* s8
* @property export
* @property calculate ['size-base']*8
*/
's-8': s8,
/**
* s9
* @property export
* @property calculate ['size-base']*9
*/
's-9': s9,
/**
* s10
* @property export
* @property calculate ['size-base']*10
*/
's-10': s10,
/**
* s11
* @property export
* @property calculate ['size-base']*11
*/
's-11': s11,
/**
* s12
* @property export
* @property calculate ['size-base']*12
*/
's-12': s12,
/**
* s13
* @property export
* @property calculate ['size-base']*13
*/
's-13': s13,
/**
* s14
* @property export
* @property calculate ['size-base']*14
*/
's-14': s14,
/**
* s15
* @property export
* @property calculate ['size-base']*15
*/
's-15': s15,
/**
* s16
* @property export
* @property calculate ['size-base']*16
*/
's-16': s16,
/**
* s17
* @property export
* @property calculate ['size-base']*17
*/
's-17': s17,
/**
* s18
* @property export
* @property calculate ['size-base']*18
*/
's-18': s18,
/**
* s19
* @property export
* @property calculate ['size-base']*19
*/
's-19': s19,
/**
* s20
* @property export
* @property calculate ['size-base']*20
*/
's-20': s20
};
exports.default = varMap;
module.exports = exports['default'];

4

package.json
{
"name": "nuke-core",
"version": "2.1.10",
"version": "2.2.2",
"description": "nuke 核心变量",

@@ -34,3 +34,3 @@ "main": "lib/index",

"license": "Apache",
"gitHead": "3f456cd7f92241938769ceee9057f543a2034fd1"
"gitHead": "ffcb4269489cb30dfded592190c4997ff2376c18"
}
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