@beisen-phoenix/mobile-style-token
Advanced tools
Comparing version 1.0.12 to 1.0.13
@@ -0,1 +1,2 @@ | ||
import "core-js/modules/es6.regexp.to-string"; | ||
import "core-js/modules/es6.regexp.constructor"; | ||
@@ -144,2 +145,6 @@ import "core-js/modules/es6.regexp.replace"; | ||
return "rgb(" + rgb.join(",") + ")"; | ||
}; // 生成8位的随机字符串,经常用于生成随机的className | ||
export var $randomClass = function $randomClass() { | ||
return Math.random().toString(36).slice(-8); | ||
}; |
{ | ||
"name": "@beisen-phoenix/mobile-style-token", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"description": "平台移动端UI组件的原子设计", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -97,2 +97,4 @@ export const skinBgS1: string | ||
export function $getRGB(token: string): string | ||
export function $getRGB(token: string): string | ||
export function $randomClass(): string |
14613
222