@ray-js/components 1.4.53 → 1.4.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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: "iconfont ".concat(type, " ").concat(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")
@@ -11,7 +11,7 @@ const Icon = props => {
11
11
  className
12
12
  } = props;
13
13
  return /*#__PURE__*/React.createElement(Text, {
14
- className: "iconfont ".concat(type, " ").concat(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")
@@ -12,7 +12,7 @@ const Icon = props => {
12
12
  className
13
13
  } = props;
14
14
  return /*#__PURE__*/React.createElement(Text, {
15
- className: "iconfont ".concat(type, " ").concat(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: 'iconfont';
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
- .iconfont {
15
- font-family: 'iconfont' !important;
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;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "3149224",
3
3
  "name": "智能小程序",
4
- "font_family": "iconfont",
4
+ "font_family": "ray_iconfont",
5
5
  "css_prefix_text": "icon-",
6
6
  "description": "icon",
7
7
  "glyphs": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/components",
3
- "version": "1.4.53",
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.53",
33
- "@ray-js/framework-shared": "1.4.53",
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.53"
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": "e995833efdbe1d0537e4255c3e20cf15d7121dfb"
49
+ "gitHead": "06c591f21809ed9d04e1d20ebc8d92e4d00643a6"
50
50
  }