@douyinfe/semi-icons 2.25.2 → 2.25.4

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.
@@ -39,19 +39,19 @@ const Icon = /*#__PURE__*/_react.default.forwardRef((props, ref) => {
39
39
  } = props,
40
40
  restProps = __rest(props, ["svg", "spin", "rotate", "style", "className", "prefixCls", "type", "size"]);
41
41
 
42
- const classes = (0, _classnames.default)("".concat(prefixCls, "-icon"), {
43
- ["".concat(prefixCls, "-icon-extra-small")]: size === 'extra-small',
44
- ["".concat(prefixCls, "-icon-small")]: size === 'small',
45
- ["".concat(prefixCls, "-icon-default")]: size === 'default',
46
- ["".concat(prefixCls, "-icon-large")]: size === 'large',
47
- ["".concat(prefixCls, "-icon-extra-large")]: size === 'extra-large',
48
- ["".concat(prefixCls, "-icon-spinning")]: spin === true,
49
- ["".concat(prefixCls, "-icon-").concat(type)]: Boolean(type)
42
+ const classes = (0, _classnames.default)(`${prefixCls}-icon`, {
43
+ [`${prefixCls}-icon-extra-small`]: size === 'extra-small',
44
+ [`${prefixCls}-icon-small`]: size === 'small',
45
+ [`${prefixCls}-icon-default`]: size === 'default',
46
+ [`${prefixCls}-icon-large`]: size === 'large',
47
+ [`${prefixCls}-icon-extra-large`]: size === 'extra-large',
48
+ [`${prefixCls}-icon-spinning`]: spin === true,
49
+ [`${prefixCls}-icon-${type}`]: Boolean(type)
50
50
  }, className);
51
51
  const outerStyle = {};
52
52
 
53
53
  if (Number.isSafeInteger(rotate)) {
54
- outerStyle.transform = "rotate(".concat(rotate, "deg)");
54
+ outerStyle.transform = `rotate(${rotate}deg)`;
55
55
  }
56
56
 
57
57
  Object.assign(outerStyle, style);
@@ -26,19 +26,19 @@ const Icon = /*#__PURE__*/React.forwardRef((props, ref) => {
26
26
  } = props,
27
27
  restProps = __rest(props, ["svg", "spin", "rotate", "style", "className", "prefixCls", "type", "size"]);
28
28
 
29
- const classes = cls("".concat(prefixCls, "-icon"), {
30
- ["".concat(prefixCls, "-icon-extra-small")]: size === 'extra-small',
31
- ["".concat(prefixCls, "-icon-small")]: size === 'small',
32
- ["".concat(prefixCls, "-icon-default")]: size === 'default',
33
- ["".concat(prefixCls, "-icon-large")]: size === 'large',
34
- ["".concat(prefixCls, "-icon-extra-large")]: size === 'extra-large',
35
- ["".concat(prefixCls, "-icon-spinning")]: spin === true,
36
- ["".concat(prefixCls, "-icon-").concat(type)]: Boolean(type)
29
+ const classes = cls(`${prefixCls}-icon`, {
30
+ [`${prefixCls}-icon-extra-small`]: size === 'extra-small',
31
+ [`${prefixCls}-icon-small`]: size === 'small',
32
+ [`${prefixCls}-icon-default`]: size === 'default',
33
+ [`${prefixCls}-icon-large`]: size === 'large',
34
+ [`${prefixCls}-icon-extra-large`]: size === 'extra-large',
35
+ [`${prefixCls}-icon-spinning`]: spin === true,
36
+ [`${prefixCls}-icon-${type}`]: Boolean(type)
37
37
  }, className);
38
38
  const outerStyle = {};
39
39
 
40
40
  if (Number.isSafeInteger(rotate)) {
41
- outerStyle.transform = "rotate(".concat(rotate, "deg)");
41
+ outerStyle.transform = `rotate(${rotate}deg)`;
42
42
  }
43
43
 
44
44
  Object.assign(outerStyle, style);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@douyinfe/semi-icons",
3
- "version": "2.25.2",
3
+ "version": "2.25.4",
4
4
  "description": "semi icons",
5
5
  "keywords": [
6
6
  "semi",
@@ -59,5 +59,5 @@
59
59
  "unpkgFiles": [
60
60
  "*"
61
61
  ],
62
- "gitHead": "d1cdea565d328c70a4de8636aed30c88f60732dd"
62
+ "gitHead": "52220f9714b8bc8a8cc073ae8f9c463d7850511e"
63
63
  }
package/src/.DS_Store ADDED
Binary file