@ray-js/components 1.4.52 → 1.4.54
Sign up to get free protection for your applications and to get access to all the features.
package/lib/Icon/Icon.js
CHANGED
@@ -12,7 +12,7 @@ const Icon = props => {
|
|
12
12
|
className
|
13
13
|
} = props;
|
14
14
|
return /*#__PURE__*/React.createElement(Text, {
|
15
|
-
className: "
|
15
|
+
className: "ray_iconfont ".concat(type, " ").concat(className),
|
16
16
|
style: _objectSpread(_objectSpread({}, style), {}, {
|
17
17
|
color: "".concat(color),
|
18
18
|
fontSize: "".concat(size, "px")
|
package/lib/Icon/Icon.thing.js
CHANGED
@@ -11,7 +11,7 @@ const Icon = props => {
|
|
11
11
|
className
|
12
12
|
} = props;
|
13
13
|
return /*#__PURE__*/React.createElement(Text, {
|
14
|
-
className: "
|
14
|
+
className: "ray_iconfont ".concat(type, " ").concat(className),
|
15
15
|
style: _objectSpread(_objectSpread({}, style), {}, {
|
16
16
|
color: "".concat(color),
|
17
17
|
fontSize: "".concat(size, "px")
|
package/lib/Icon/Icon.wechat.js
CHANGED
@@ -12,7 +12,7 @@ const Icon = props => {
|
|
12
12
|
className
|
13
13
|
} = props;
|
14
14
|
return /*#__PURE__*/React.createElement(Text, {
|
15
|
-
className: "
|
15
|
+
className: "ray_iconfont ".concat(type, " ").concat(className),
|
16
16
|
style: _objectSpread(_objectSpread({}, style), {}, {
|
17
17
|
color: "".concat(color),
|
18
18
|
fontSize: "".concat(size, "px")
|
@@ -1,5 +1,5 @@
|
|
1
1
|
@font-face {
|
2
|
-
font-family: '
|
2
|
+
font-family: 'ray_iconfont';
|
3
3
|
/* Project id 3149224 这里需要转成base64,否则微信会编译找不到iconfont文件
|
4
4
|
见issue https://github.com/NervJS/taro-ui/issues/202
|
5
5
|
*/
|
@@ -11,8 +11,8 @@
|
|
11
11
|
format('truetype');
|
12
12
|
}
|
13
13
|
|
14
|
-
.
|
15
|
-
font-family: '
|
14
|
+
.ray_iconfont {
|
15
|
+
font-family: 'ray_iconfont' !important;
|
16
16
|
font-size: 16px;
|
17
17
|
font-style: normal;
|
18
18
|
-webkit-font-smoothing: antialiased;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ray-js/components",
|
3
|
-
"version": "1.4.
|
3
|
+
"version": "1.4.54",
|
4
4
|
"description": "Ray basic components",
|
5
5
|
"keywords": [
|
6
6
|
"ray"
|
@@ -29,8 +29,8 @@
|
|
29
29
|
"dependencies": {
|
30
30
|
"@ray-core/macro": "^0.4.0",
|
31
31
|
"@ray-core/wechat": "^0.4.0",
|
32
|
-
"@ray-js/adapter": "1.4.
|
33
|
-
"@ray-js/framework-shared": "1.4.
|
32
|
+
"@ray-js/adapter": "1.4.54",
|
33
|
+
"@ray-js/framework-shared": "1.4.54",
|
34
34
|
"ahooks": "^3.7.10",
|
35
35
|
"clsx": "^1.2.1",
|
36
36
|
"core-js": "^3.36.1",
|
@@ -40,11 +40,11 @@
|
|
40
40
|
"style-to-object": "^0.3.0"
|
41
41
|
},
|
42
42
|
"devDependencies": {
|
43
|
-
"@ray-js/cli": "1.4.
|
43
|
+
"@ray-js/cli": "1.4.54"
|
44
44
|
},
|
45
45
|
"publishConfig": {
|
46
46
|
"access": "public",
|
47
47
|
"registry": "https://registry.npmjs.org"
|
48
48
|
},
|
49
|
-
"gitHead": "
|
49
|
+
"gitHead": "06c591f21809ed9d04e1d20ebc8d92e4d00643a6"
|
50
50
|
}
|