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

nuke-core

Package Overview
Dependencies
Maintainers
4
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 1.0.5 to 2.0.0

4

HISTORY.md
# Changelog
## 2.0.0 / 2018-03-20
* [[7680c78](http://gitlab.alibaba-inc.com/nuke/core/commit/7680c7803b4e584305ecf8cef4524b9348a48793)] - `feat` add icon path & default icons
## 1.0.5 / 2017-10-31

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

6

lib/variables/_color.js

@@ -10,3 +10,5 @@ 'use strict';

/**
* Brand Color 品牌色
* 颜色
* @namespace variables
* @property name color
*/

@@ -179,2 +181,2 @@

module.exports = (_module$exports = {}, _defineProperty(_module$exports, 'color-brand1-1', colorBrand11), _defineProperty(_module$exports, 'color-brand1-6', colorBrand16), _defineProperty(_module$exports, 'color-brand1-9', colorBrand19), _defineProperty(_module$exports, 'color-line1-1', colorLine11), _defineProperty(_module$exports, 'color-line1-2', colorLine12), _defineProperty(_module$exports, 'color-line1-3', colorLine13), _defineProperty(_module$exports, 'color-line1-4', colorLine14), _defineProperty(_module$exports, 'color-fill1-1', colorFill11), _defineProperty(_module$exports, 'color-fill1-2', colorFill12), _defineProperty(_module$exports, 'color-fill1-3', colorFill13), _defineProperty(_module$exports, 'color-text1-1', colorText11), _defineProperty(_module$exports, 'color-text1-2', colorText12), _defineProperty(_module$exports, 'color-text1-3', colorText13), _defineProperty(_module$exports, 'color-text1-4', colorText14), _defineProperty(_module$exports, 'color-text1-5', colorText15), _defineProperty(_module$exports, 'color-white', colorWhite), _defineProperty(_module$exports, 'color-black', colorBlack), _defineProperty(_module$exports, 'color-warning-1', colorWarning1), _defineProperty(_module$exports, 'color-warning-2', colorWarning2), _defineProperty(_module$exports, 'color-warning-3', colorWarning3), _defineProperty(_module$exports, 'color-error-1', colorError1), _defineProperty(_module$exports, 'color-error-2', colorError2), _defineProperty(_module$exports, 'color-error-3', colorError3), _defineProperty(_module$exports, 'color-success-1', colorSuccess1), _defineProperty(_module$exports, 'color-success-2', colorSuccess2), _defineProperty(_module$exports, 'color-success-3', colorSuccess3), _defineProperty(_module$exports, 'color-notice-1', colorNotice1), _defineProperty(_module$exports, 'color-notice-2', colorNotice2), _defineProperty(_module$exports, 'color-notice-3', colorNotice3), _defineProperty(_module$exports, 'color-help-1', colorHelp1), _defineProperty(_module$exports, 'color-help-2', colorHelp2), _defineProperty(_module$exports, 'color-help-3', colorHelp3), _defineProperty(_module$exports, 'color-link-1', colorLink1), _defineProperty(_module$exports, 'color-link-2', colorLink2), _defineProperty(_module$exports, 'color-link-3', colorLink3), _defineProperty(_module$exports, 'color-other-1', colorOther1), _module$exports);
module.exports = (_module$exports = {}, _defineProperty(_module$exports, 'color-brand1-1', colorBrand11), _defineProperty(_module$exports, 'color-brand1-6', colorBrand16), _defineProperty(_module$exports, 'color-brand1-9', colorBrand19), _defineProperty(_module$exports, 'color-line1-1', colorLine11), _defineProperty(_module$exports, 'color-line1-2', colorLine12), _defineProperty(_module$exports, 'color-line1-3', colorLine13), _defineProperty(_module$exports, 'color-line1-4', colorLine14), _defineProperty(_module$exports, 'color-fill1-1', colorFill11), _defineProperty(_module$exports, 'color-fill1-2', colorFill12), _defineProperty(_module$exports, 'color-fill1-3', colorFill13), _defineProperty(_module$exports, 'color-text1-1', colorText11), _defineProperty(_module$exports, 'color-text1-2', colorText12), _defineProperty(_module$exports, 'color-text1-3', colorText13), _defineProperty(_module$exports, 'color-text1-4', colorText14), _defineProperty(_module$exports, 'color-text1-5', colorText15), _defineProperty(_module$exports, 'color-white', colorWhite), _defineProperty(_module$exports, 'color-black', colorBlack), _defineProperty(_module$exports, 'color-success-1', colorSuccess1), _defineProperty(_module$exports, 'color-success-2', colorSuccess2), _defineProperty(_module$exports, 'color-success-3', colorSuccess3), _defineProperty(_module$exports, 'color-notice-1', colorNotice1), _defineProperty(_module$exports, 'color-notice-2', colorNotice2), _defineProperty(_module$exports, 'color-notice-3', colorNotice3), _defineProperty(_module$exports, 'color-warning-1', colorWarning1), _defineProperty(_module$exports, 'color-warning-2', colorWarning2), _defineProperty(_module$exports, 'color-warning-3', colorWarning3), _defineProperty(_module$exports, 'color-error-1', colorError1), _defineProperty(_module$exports, 'color-error-2', colorError2), _defineProperty(_module$exports, 'color-error-3', colorError3), _defineProperty(_module$exports, 'color-help-1', colorHelp1), _defineProperty(_module$exports, 'color-help-2', colorHelp2), _defineProperty(_module$exports, 'color-help-3', colorHelp3), _defineProperty(_module$exports, 'color-link-1', colorLink1), _defineProperty(_module$exports, 'color-link-2', colorLink2), _defineProperty(_module$exports, 'color-link-3', colorLink3), _defineProperty(_module$exports, 'color-other-1', colorOther1), _module$exports);

@@ -10,3 +10,5 @@ 'use strict';

/**
* Corner 圆角尺寸
* 边角
* @namespace variables
* @property name corner
*/

@@ -13,0 +15,0 @@

@@ -10,3 +10,5 @@ 'use strict';

/**
* Font size 字体尺寸
* 字体
* @namespace variables
* @property name font
*/

@@ -13,0 +15,0 @@

@@ -9,7 +9,7 @@ 'use strict';

////
/// @group Variables 变量
/// @module global: 全局基础样式
/// @category style
////
/**
* 字体
* @namespace variables
* @property name size
*/

@@ -16,0 +16,0 @@ function getGlobalVal(base, times) {

'use strict';
var _module$exports;
var _varLoader = require('../util/var-loader');

@@ -9,6 +7,6 @@

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; }
/**
* Icon 图标尺寸
* 图标
* @namespace variables
* @property name icon
*/

@@ -52,4 +50,205 @@

*/
var iconPath = (0, _varLoader.vLoader)('https://at.alicdn.com/t/font_13lpt64qt2h2gldi.ttf');
var iconPath = (0, _varLoader.vLoader)('https://at.alicdn.com/t/font_595713_2jrdmo4vkgmsra4i.ttf');
/**
* @param {string} {icon-name} [icon-right]
*/
var iconRight = '\uE713';
module.exports = (_module$exports = {}, _defineProperty(_module$exports, 'icon-xxs', iconXxs), _defineProperty(_module$exports, 'icon-xs', iconXs), _defineProperty(_module$exports, 'icon-s', iconS), _defineProperty(_module$exports, 'icon-m', iconM), _defineProperty(_module$exports, 'icon-l', iconL), _defineProperty(_module$exports, 'icon-xl', iconXl), _defineProperty(_module$exports, 'icon-xxl', iconXxl), _defineProperty(_module$exports, 'icon-xxxl', iconXxxl), _defineProperty(_module$exports, 'icon-path', iconPath), _module$exports);
/**
* @param {string} {icon-name} [icon-download]
*/
var iconDownload = '\uE637';
/**
* @param {string} {icon-name} [icon-accessory]
*/
var iconAccessory = '\uE6DD';
/**
* @param {string} {icon-name} [icon-add]
*/
var iconAdd = '\uE6E0';
/**
* @param {string} {icon-name} [icon-camera]
*/
var iconCamera = '\uE6F0';
/**
* @param {string} {icon-name} [icon-close]
*/
var iconClose = '\uE6F3';
/**
* @param {string} {icon-name} [icon-enter]
*/
var iconEnter = '\uE70C';
/**
* @param {string} {icon-name} [icon-feedback-fill]
*/
var iconFeedbackFill = '\uE70F';
/**
* @param {string} {icon-name} [icon-feedback]
*/
var iconFeedback = '\uE710';
/**
* @param {string} {icon-name} [icon-homepage-fill]
*/
var iconHomepageFill = '\uE71C';
/**
* @param {string} {icon-name} [icon-homepage]
*/
var iconHomepage = '\uE71D';
/**
* @param {string} {icon-name} [icon-message]
*/
var iconMessage = '\uE72F';
/**
* @param {string} {icon-name} [icon-message-fill]
*/
var iconMessageFill = '\uE730';
/**
* @param {string} {icon-name} [icon-picture]
*/
var iconPicture = '\uE73F';
/**
* @param {string} {icon-name} [icon-info-fill]
*/
var iconInfoFill = '\uE746';
/**
* @param {string} {icon-name} [icon-info]
*/
var iconInfo = '\uE747';
/**
* @param {string} {icon-name} [icon-return]
*/
var iconReturn = '\uE74F';
/**
* @param {string} {icon-name} [icon-scan]
*/
var iconScan = '\uE751';
/**
* @param {string} {icon-name} [icon-setup-fill]
*/
var iconSetupFill = '\uE757';
/**
* @param {string} {icon-name} [icon-setup]
*/
var iconSetup = '\uE758';
/**
* @param {string} {icon-name} [icon-share]
*/
var iconShare = '\uE75A';
/**
* @param {string} {icon-name} [icon-success-fill]
*/
var iconSuccessFill = '\uE761';
/**
* @param {string} {icon-name} [icon-success]
*/
var iconSuccess = '\uE762';
/**
* @param {string} {icon-name} [icon-switch]
*/
var iconSwitch = '\uE764';
/**
* @param {string} {icon-name} [icon-prompt]
*/
var iconPrompt = '\uE766';
/**
* @param {string} {icon-name} [icon-tailor]
*/
var iconTailor = '\uE767';
/**
* @param {string} {icon-name} [icon-video]
*/
var iconVideo = '\uE776';
/**
* @param {string} {icon-name} [icon-warning-fill]
*/
var iconWarningFill = '\uE778';
/**
* @param {string} {icon-name} [icon-warning]
*/
var iconWarning = '\uE779';
/**
* @param {string} {icon-name} [icon-search]
*/
var iconSearch = '\uE77C';
/**
* @param {string} {icon-name} [icon-packup]
*/
var iconPackup = '\uE782';
/**
* @param {string} {icon-name} [icon-unfold]
*/
var iconUnfold = '\uE783';
module.exports = {
'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-path': iconPath,
'icon-right': iconRight,
'icon-download': iconDownload,
'icon-accessory': iconAccessory,
'icon-add': iconAdd,
'icon-camera': iconCamera,
'icon-close': iconClose,
'icon-enter': iconEnter,
'icon-feedback-fill': iconFeedbackFill,
'icon-feedback': iconFeedback,
'icon-homepage-fill': iconHomepageFill,
'icon-homepage': iconHomepage,
'icon-message-fill': iconMessageFill,
'icon-message': iconMessage,
'icon-picture': iconPicture,
'icon-info-fill': iconInfo,
'icon-info': iconInfo,
'icon-return': iconReturn,
'icon-scan': iconScan,
'icon-setup-fill': iconSetupFill,
'icon-setup': iconSetup,
'icon-share': iconShare,
'icon-success-fill': iconSuccessFill,
'icon-success': iconSuccess,
'icon-switch': iconSwitch,
'icon-prompt': iconPrompt,
'icon-tailor': iconTailor,
'icon-video': iconVideo,
'icon-warning-fill': iconWarningFill,
'icon-warning': iconWarning,
'icon-search': iconSearch,
'icon-packup': iconPackup,
'icon-unfold': iconUnfold
};

@@ -10,3 +10,5 @@ 'use strict';

/**
* Line & Border 线和边框粗细
* 线条
* @namespace variables
* @property name line
*/

@@ -13,0 +15,0 @@

@@ -10,3 +10,5 @@ 'use strict';

/**
* Shadow 阴影规格
* 阴影
* @namespace variables
* @property name shadow
*/

@@ -13,0 +15,0 @@

{
"name": "nuke-core",
"version": "1.0.5",
"description": "nuke核心变量",
"version": "2.0.0",
"description": "nuke 核心变量",
"main": "lib/nuke",

@@ -15,3 +15,3 @@ "files": [

"nuke",
"rx",
"rax",
"core"

@@ -18,0 +18,0 @@ ],

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