nuke-core
Advanced tools
Comparing version 2.0.6 to 2.0.7
# Changelog | ||
## 2.0.6 / 2018-03-27 | ||
* [[85d754d](http://gitlab.alibaba-inc.com/nuke/core/commit/85d754d3287f52ef7b456b2c760d7ee9b5c0e4e0)] - `fix` update icons | ||
## 2.0.4 / 2018-03-26 | ||
* [[e43c19e](http://gitlab.alibaba-inc.com/nuke/core/commit/e43c19e6b7ee2cd190ee5886d6c473e79ad0cef5)] - `fix` fixed to support fusion | ||
## 2.0.3 / 2018-03-22 | ||
@@ -13,0 +5,0 @@ |
@@ -21,3 +21,3 @@ 'use strict'; | ||
} else { | ||
var userAgent = navigator ? navigator.userAgent.toLowerCase() : 'iPhone'; | ||
var userAgent = typeof navigator !== 'undefined' ? navigator.userAgent.toLowerCase() : 'iPhone'; | ||
platform.iOS = /iPhone|iPod|iPad|IOS/i.test(userAgent); | ||
@@ -24,0 +24,0 @@ platform.android = /Android/i.test(userAgent); |
@@ -20,38 +20,2 @@ 'use strict'; | ||
var iconPath = 'https://at.alicdn.com/t/font_595713_6kms8ar5hwu3di.ttf'; | ||
var iconFamily = 'NukeIcon'; | ||
var iconRight = '\uE713'; | ||
var iconDownload = '\uE637'; | ||
var iconAccessory = '\uE6DD'; | ||
var iconAdd = '\uE655'; | ||
var iconMinus = '\uE657'; | ||
var iconCamera = '\uE6F0'; | ||
var iconClose = '\uE6F3'; | ||
var iconEnter = '\uE70C'; | ||
var iconFeedbackFill = '\uE70F'; | ||
var iconFeedback = '\uE710'; | ||
var iconHomepageFill = '\uE71C'; | ||
var iconHomepage = '\uE71D'; | ||
var iconMessage = '\uE72F'; | ||
var iconMessageFill = '\uE730'; | ||
var iconPicture = '\uE73F'; | ||
var iconInfoFill = '\uE746'; | ||
var iconInfo = '\uE747'; | ||
var iconReturn = '\uE74F'; | ||
var iconScan = '\uE751'; | ||
var iconSetupFill = '\uE757'; | ||
var iconSetup = '\uE758'; | ||
var iconShare = '\uE75A'; | ||
var iconSuccessFill = '\uE761'; | ||
var iconSuccess = '\uE762'; | ||
var iconSwitch = '\uE764'; | ||
var iconPrompt = '\uE766'; | ||
var iconTailor = '\uE767'; | ||
var iconVideo = '\uE776'; | ||
var iconWarningFill = '\uE778'; | ||
var iconWarning = '\uE779'; | ||
var iconSearch = '\uE77C'; | ||
var iconPackup = '\uE782'; | ||
var iconUnfold = '\uE783'; | ||
/** | ||
@@ -114,213 +78,207 @@ * 图标 | ||
/** | ||
* icon-path | ||
* icon-font-path | ||
* @property semantic path | ||
* @property unconfigurable | ||
*/ | ||
'icon-path': iconPath, | ||
'icon-font-path': '//at.alicdn.com/t/font_595713_2jrdmo4vkgmsra4i', | ||
/** | ||
* icon-right | ||
* icon-font-family | ||
* @property semantic family | ||
* @property unconfigurable | ||
*/ | ||
'icon-font-family': 'NukeIcon', | ||
/** | ||
* icon-content-right | ||
* @property semantic right | ||
* @property unconfigurable | ||
*/ | ||
'icon-right': iconRight, | ||
'icon-content-right': '\e713', | ||
/** | ||
* icon-download | ||
* icon-content-download | ||
* @property semantic download | ||
* @property unconfigurable | ||
*/ | ||
'icon-download': iconDownload, | ||
'icon-content-download': '\e637', | ||
/** | ||
* icon-download | ||
* icon-content-download | ||
* @property semantic download | ||
* @property unconfigurable | ||
*/ | ||
'icon-accessory': iconAccessory, | ||
'icon-content-accessory': '\e6DD', | ||
/** | ||
* icon-add | ||
* icon-content-add | ||
* @property semantic add | ||
* @property unconfigurable | ||
*/ | ||
'icon-add': iconAdd, | ||
'icon-content-add': '\e6E0', | ||
/** | ||
* icon-minus | ||
* @property semantic minus | ||
* @property unconfigurable | ||
*/ | ||
'icon-minus': iconMinus, | ||
/** | ||
* icon-camera | ||
* icon-content-camera | ||
* @property semantic camera | ||
* @property unconfigurable | ||
*/ | ||
'icon-camera': iconCamera, | ||
'icon-content-camera': '\e6F0', | ||
/** | ||
* icon-close | ||
* icon-content-close | ||
* @property semantic close | ||
* @property unconfigurable | ||
*/ | ||
'icon-close': iconClose, | ||
'icon-content-close': '\e6F3', | ||
/** | ||
* icon-enter | ||
* icon-content-enter | ||
* @property semantic enter | ||
* @property unconfigurable | ||
*/ | ||
'icon-enter': iconEnter, | ||
'icon-content-enter': '\e70C', | ||
/** | ||
* icon-feedback-fill | ||
* icon-content-feedback-fill | ||
* @property semantic feedback-fill | ||
* @property unconfigurable | ||
*/ | ||
'icon-feedback-fill': iconFeedbackFill, | ||
'icon-content-feedback-fill': '\e70F', | ||
/** | ||
* icon-feedback | ||
* icon-content-feedback | ||
* @property semantic feedback | ||
* @property unconfigurable | ||
*/ | ||
'icon-feedback': iconFeedback, | ||
'icon-content-feedback': '\e710', | ||
/** | ||
* icon-homepage-fill | ||
* icon-content-homepage-fill | ||
* @property semantic homepage-fill | ||
* @property unconfigurable | ||
*/ | ||
'icon-homepage-fill': iconHomepageFill, | ||
'icon-content-homepage-fill': '\e71C', | ||
/** | ||
* icon-homepage | ||
* icon-content-homepage | ||
* @property semantic homepage | ||
* @property unconfigurable | ||
*/ | ||
'icon-homepage': iconHomepage, | ||
'icon-content-homepage': '\e71D', | ||
/** | ||
* icon-message-fill | ||
* icon-content-message-fill | ||
* @property semantic message-fill | ||
* @property unconfigurable | ||
*/ | ||
'icon-message-fill': iconMessageFill, | ||
'icon-content-message-fill': '\e730', | ||
/** | ||
* icon-message | ||
* icon-content-message | ||
* @property semantic message | ||
* @property unconfigurable | ||
*/ | ||
'icon-message': iconMessage, | ||
'icon-content-message': '\e72F', | ||
/** | ||
* icon-picture | ||
* icon-content-picture | ||
* @property semantic picture | ||
* @property unconfigurable | ||
*/ | ||
'icon-picture': iconPicture, | ||
'icon-content-picture': '\e73F', | ||
/** | ||
* icon-info-fill | ||
* icon-content-info-fill | ||
* @property semantic info-fill | ||
* @property unconfigurable | ||
*/ | ||
'icon-info-fill': iconInfo, | ||
'icon-content-info-fill': '\e746', | ||
/** | ||
* icon-info | ||
* icon-content-info | ||
* @property semantic info | ||
* @property unconfigurable | ||
*/ | ||
'icon-info': iconInfo, | ||
'icon-content-info': '\e747', | ||
/** | ||
* icon-return | ||
* icon-content-return | ||
* @property semantic return | ||
* @property unconfigurable | ||
*/ | ||
'icon-return': iconReturn, | ||
'icon-content-return': '\e74F', | ||
/** | ||
* icon-scan | ||
* icon-content-scan | ||
* @property semantic scan | ||
* @property unconfigurable | ||
*/ | ||
'icon-scan': iconScan, | ||
'icon-content-scan': '\e751', | ||
/** | ||
* icon-setup-fill | ||
* icon-content-setup-fill | ||
* @property semantic setup-fill | ||
* @property unconfigurable | ||
*/ | ||
'icon-setup-fill': iconSetupFill, | ||
'icon-content-setup-fill': '\e757', | ||
/** | ||
* icon-setup | ||
* icon-content-setup | ||
* @property semantic setup | ||
* @property unconfigurable | ||
*/ | ||
'icon-setup': iconSetup, | ||
'icon-content-setup': '\e758', | ||
/** | ||
* icon-share | ||
* icon-content-share | ||
* @property semantic share | ||
* @property unconfigurable | ||
*/ | ||
'icon-share': iconShare, | ||
'icon-content-share': '\e75A', | ||
/** | ||
* icon-success-fill | ||
* icon-content-success-fill | ||
* @property semantic success-fill | ||
* @property unconfigurable | ||
*/ | ||
'icon-success-fill': iconSuccessFill, | ||
'icon-content-success-fill': '\e761', | ||
/** | ||
* icon-success | ||
* icon-content-success | ||
* @property semantic success | ||
* @property unconfigurable | ||
*/ | ||
'icon-success': iconSuccess, | ||
'icon-content-success': '\e762', | ||
/** | ||
* icon-switch | ||
* icon-content-switch | ||
* @property semantic switch | ||
* @property unconfigurable | ||
*/ | ||
'icon-switch': iconSwitch, | ||
'icon-content-switch': '\e764', | ||
/** | ||
* icon-prompt | ||
* icon-content-prompt | ||
* @property semantic prompt | ||
* @property unconfigurable | ||
*/ | ||
'icon-prompt': iconPrompt, | ||
'icon-content-prompt': '\e766', | ||
/** | ||
* icon-tailor | ||
* icon-content-tailor | ||
* @property semantic tailor | ||
* @property unconfigurable | ||
*/ | ||
'icon-tailor': iconTailor, | ||
'icon-content-tailor': '\e767', | ||
/** | ||
* icon-video | ||
* icon-content-video | ||
* @property semantic video | ||
* @property unconfigurable | ||
*/ | ||
'icon-video': iconVideo, | ||
'icon-content-video': '\e776', | ||
/** | ||
* icon-warning-fill | ||
* icon-content-warning-fill | ||
* @property semantic warning-fill | ||
* @property unconfigurable | ||
*/ | ||
'icon-warning-fill': iconWarningFill, | ||
'icon-content-warning-fill': '\e778', | ||
/** | ||
* icon-warning | ||
* icon-content-warning | ||
* @property semantic warning | ||
* @property unconfigurable | ||
*/ | ||
'icon-warning': iconWarning, | ||
'icon-content-warning': '\e779', | ||
/** | ||
* icon-search | ||
* icon-content-search | ||
* @property semantic search | ||
* @property unconfigurable | ||
*/ | ||
'icon-search': iconSearch, | ||
'icon-content-search': '\e77C', | ||
/** | ||
* icon-packup | ||
* icon-content-packup | ||
* @property semantic packup | ||
* @property unconfigurable | ||
*/ | ||
'icon-packup': iconPackup, | ||
'icon-content-packup': '\e782', | ||
/** | ||
* icon-unfold | ||
* icon-content-unfold | ||
* @property semantic unfold | ||
* @property unconfigurable | ||
*/ | ||
'icon-unfold': iconUnfold, | ||
/** | ||
* icon-family | ||
* @property semantic family | ||
* @property unconfigurable | ||
*/ | ||
'icon-family': iconFamily | ||
'icon-content-unfold': '\e783' | ||
}; | ||
module.exports = varMap; |
@@ -41,6 +41,5 @@ 'use strict'; | ||
/** | ||
* size-base | ||
* @property semantic 基础尺寸 | ||
* @property export | ||
*/ | ||
* size-base | ||
* @property semantic 基础尺寸 | ||
*/ | ||
'size-base': sizeBase, | ||
@@ -50,2 +49,3 @@ /** | ||
* @property export | ||
* @property calculate ['size-base']*0 | ||
*/ | ||
@@ -52,0 +52,0 @@ 's-0': s0, |
{ | ||
"name": "nuke-core", | ||
"version": "2.0.6", | ||
"version": "2.0.7", | ||
"description": "nuke 核心变量", | ||
@@ -5,0 +5,0 @@ "main": "lib/nuke", |
56366
1846