@tant/icons 1.1.78 → 1.1.82

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.
@@ -16,7 +16,7 @@ import React from 'react';
16
16
  import PropTypes from 'prop-types';
17
17
  var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
18
18
 
19
- var Picture1 = function Picture1(props) {
19
+ var Link2 = function Link2(props) {
20
20
  var color = props.color,
21
21
  size = props.size,
22
22
  spin = props.spin,
@@ -44,41 +44,20 @@ var Picture1 = function Picture1(props) {
44
44
  animationName: 'loadingCircle',
45
45
  animationTimingFunction: 'linear'
46
46
  } : {})
47
- }), /*#__PURE__*/React.createElement("circle", {
48
- cx: "10",
49
- cy: "10",
50
- r: "10"
51
- }), /*#__PURE__*/React.createElement("mask", {
52
- id: "a",
53
- style: "mask-type:alpha",
54
- maskUnits: "userSpaceOnUse",
55
- x: "0",
56
- y: "0",
57
- width: "20",
58
- height: "20"
59
- }, /*#__PURE__*/React.createElement("circle", {
60
- cx: "10",
61
- cy: "10",
62
- r: "10"
63
- })), /*#__PURE__*/React.createElement("g", {
64
- mask: "url(#a)"
65
- }, /*#__PURE__*/React.createElement("path", {
66
- opacity: ".4",
67
- d: "M8.947 15.427L4.5 12.673a1 1 0 010-1.7l4.448-2.754a2 2 0 012.106 0l4.448 2.754a1 1 0 010 1.7l-4.448 2.754a2 2 0 01-2.106 0z"
68
47
  }), /*#__PURE__*/React.createElement("path", {
69
- d: "M8.947 12.235L4.5 9.481a1 1 0 010-1.7l4.448-2.754a2 2 0 012.106 0L15.5 7.78a1 1 0 010 1.7l-4.448 2.754a2 2 0 01-2.106 0z"
70
- }))));
48
+ d: "M13.06 8.11l1.415 1.415a7 7 0 010 9.9l-.354.353a7 7 0 01-9.9-9.9l1.415 1.415a5 5 0 107.07 7.071l.355-.354a5 5 0 000-7.07l-1.415-1.415 1.415-1.414-.001-.001zm6.718 6.011l-1.414-1.414a5 5 0 10-7.071-7.071l-.354.354a5 5 0 000 7.07l1.415 1.415-1.415 1.414-1.414-1.414a7 7 0 010-9.9l.354-.353a7 7 0 019.9 9.9l-.001-.001z"
49
+ })));
71
50
  };
72
51
 
73
- Picture1.propTypes = {
52
+ Link2.propTypes = {
74
53
  iconClassName: PropTypes.string,
75
54
  spin: PropTypes.bool,
76
55
  color: PropTypes.string,
77
56
  size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
78
57
  };
79
- Picture1.defaultProps = {
58
+ Link2.defaultProps = {
80
59
  spin: false,
81
60
  color: 'currentColor',
82
61
  size: '1em'
83
62
  };
84
- export default Picture1;
63
+ export default Link2;
package/dist/es/index.js CHANGED
@@ -226,6 +226,7 @@ export { default as TaFullscreen } from './icons/fullscreen';
226
226
  export { default as TaArrowLeftDown } from './icons/arrow-left-down';
227
227
  export { default as TaLink } from './icons/link';
228
228
  export { default as TaUnlink } from './icons/unlink';
229
+ export { default as TaLink2 } from './icons/link-2';
229
230
  export { default as TaMenuUnfold } from './icons/menu-unfold';
230
231
  export { default as TaMenuFold } from './icons/menu-fold';
231
232
  export { default as TaList } from './icons/list';
@@ -315,6 +316,4 @@ export { default as TaGrid } from './icons/grid';
315
316
  export { default as TaDrag2 } from './icons/drag-2';
316
317
  export { default as TaExternal } from './icons/external';
317
318
  export { default as TaDisplayS } from './icons/display-s';
318
- export { default as TaShare } from './icons/share';
319
- export { default as TaPicture2 } from './icons/picture-2';
320
- export { default as TaPicture1 } from './icons/picture-1';
319
+ export { default as TaShare } from './icons/share';
package/dist/index.d.ts CHANGED
@@ -237,6 +237,7 @@ export const TaFullscreen: Icon;
237
237
  export const TaArrowLeftDown: Icon;
238
238
  export const TaLink: Icon;
239
239
  export const TaUnlink: Icon;
240
+ export const TaLink2: Icon;
240
241
  export const TaMenuUnfold: Icon;
241
242
  export const TaMenuFold: Icon;
242
243
  export const TaList: Icon;
@@ -327,5 +328,3 @@ export const TaDrag2: Icon;
327
328
  export const TaExternal: Icon;
328
329
  export const TaDisplayS: Icon;
329
330
  export const TaShare: Icon;
330
- export const TaPicture2: Icon;
331
- export const TaPicture1: Icon;
@@ -27,7 +27,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
27
27
 
28
28
  var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
29
29
 
30
- var Picture1 = function Picture1(props) {
30
+ var Link2 = function Link2(props) {
31
31
  var color = props.color,
32
32
  size = props.size,
33
33
  spin = props.spin,
@@ -55,42 +55,21 @@ var Picture1 = function Picture1(props) {
55
55
  animationName: 'loadingCircle',
56
56
  animationTimingFunction: 'linear'
57
57
  } : {})
58
- }), /*#__PURE__*/_react["default"].createElement("circle", {
59
- cx: "10",
60
- cy: "10",
61
- r: "10"
62
- }), /*#__PURE__*/_react["default"].createElement("mask", {
63
- id: "a",
64
- style: "mask-type:alpha",
65
- maskUnits: "userSpaceOnUse",
66
- x: "0",
67
- y: "0",
68
- width: "20",
69
- height: "20"
70
- }, /*#__PURE__*/_react["default"].createElement("circle", {
71
- cx: "10",
72
- cy: "10",
73
- r: "10"
74
- })), /*#__PURE__*/_react["default"].createElement("g", {
75
- mask: "url(#a)"
76
- }, /*#__PURE__*/_react["default"].createElement("path", {
77
- opacity: ".4",
78
- d: "M8.947 15.427L4.5 12.673a1 1 0 010-1.7l4.448-2.754a2 2 0 012.106 0l4.448 2.754a1 1 0 010 1.7l-4.448 2.754a2 2 0 01-2.106 0z"
79
58
  }), /*#__PURE__*/_react["default"].createElement("path", {
80
- d: "M8.947 12.235L4.5 9.481a1 1 0 010-1.7l4.448-2.754a2 2 0 012.106 0L15.5 7.78a1 1 0 010 1.7l-4.448 2.754a2 2 0 01-2.106 0z"
81
- }))));
59
+ d: "M13.06 8.11l1.415 1.415a7 7 0 010 9.9l-.354.353a7 7 0 01-9.9-9.9l1.415 1.415a5 5 0 107.07 7.071l.355-.354a5 5 0 000-7.07l-1.415-1.415 1.415-1.414-.001-.001zm6.718 6.011l-1.414-1.414a5 5 0 10-7.071-7.071l-.354.354a5 5 0 000 7.07l1.415 1.415-1.415 1.414-1.414-1.414a7 7 0 010-9.9l.354-.353a7 7 0 019.9 9.9l-.001-.001z"
60
+ })));
82
61
  };
83
62
 
84
- Picture1.propTypes = {
63
+ Link2.propTypes = {
85
64
  iconClassName: _propTypes["default"].string,
86
65
  spin: _propTypes["default"].bool,
87
66
  color: _propTypes["default"].string,
88
67
  size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
89
68
  };
90
- Picture1.defaultProps = {
69
+ Link2.defaultProps = {
91
70
  spin: false,
92
71
  color: 'currentColor',
93
72
  size: '1em'
94
73
  };
95
- var _default = Picture1;
74
+ var _default = Link2;
96
75
  exports["default"] = _default;
package/dist/lib/index.js CHANGED
@@ -975,6 +975,12 @@ Object.defineProperty(exports, "TaLink", {
975
975
  return _link["default"];
976
976
  }
977
977
  });
978
+ Object.defineProperty(exports, "TaLink2", {
979
+ enumerable: true,
980
+ get: function get() {
981
+ return _link2["default"];
982
+ }
983
+ });
978
984
  Object.defineProperty(exports, "TaList", {
979
985
  enumerable: true,
980
986
  get: function get() {
@@ -1335,18 +1341,6 @@ Object.defineProperty(exports, "TaPauseCircle", {
1335
1341
  return _pauseCircle["default"];
1336
1342
  }
1337
1343
  });
1338
- Object.defineProperty(exports, "TaPicture1", {
1339
- enumerable: true,
1340
- get: function get() {
1341
- return _picture2["default"];
1342
- }
1343
- });
1344
- Object.defineProperty(exports, "TaPicture2", {
1345
- enumerable: true,
1346
- get: function get() {
1347
- return _picture["default"];
1348
- }
1349
- });
1350
1344
  Object.defineProperty(exports, "TaPlay", {
1351
1345
  enumerable: true,
1352
1346
  get: function get() {
@@ -2380,6 +2374,8 @@ var _link = _interopRequireDefault(require("./icons/link"));
2380
2374
 
2381
2375
  var _unlink = _interopRequireDefault(require("./icons/unlink"));
2382
2376
 
2377
+ var _link2 = _interopRequireDefault(require("./icons/link-2"));
2378
+
2383
2379
  var _menuUnfold = _interopRequireDefault(require("./icons/menu-unfold"));
2384
2380
 
2385
2381
  var _menuFold = _interopRequireDefault(require("./icons/menu-fold"));
@@ -2560,8 +2556,4 @@ var _displayS = _interopRequireDefault(require("./icons/display-s"));
2560
2556
 
2561
2557
  var _share = _interopRequireDefault(require("./icons/share"));
2562
2558
 
2563
- var _picture = _interopRequireDefault(require("./icons/picture-2"));
2564
-
2565
- var _picture2 = _interopRequireDefault(require("./icons/picture-1"));
2566
-
2567
2559
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }