@tant/icons 1.1.54 → 1.1.66

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.
@@ -44,7 +44,7 @@ var Detail = function Detail(props) {
44
44
  animationTimingFunction: 'linear'
45
45
  } : {})
46
46
  }), /*#__PURE__*/React.createElement("path", {
47
- d: "M20.222 22H7.778a.767.767 0 01-.55-.234A.812.812 0 017 21.2V6.8c0-.212.082-.416.228-.566A.767.767 0 017.778 6h12.444c.206 0 .404.084.55.234.146.15.228.354.228.566v14.4a.812.812 0 01-.228.566.767.767 0 01-.55.234zm-.778-1.6V7.6H8.556v12.8h10.888zm-8.555-8.8h6.222v1.6H10.89v-1.6zm0 3.2h6.222v1.6H10.89v-1.6z"
47
+ d: "M18.222 20H5.778a.767.767 0 01-.55-.234A.812.812 0 015 19.2V4.8c0-.212.082-.416.228-.566A.767.767 0 015.778 4h12.444c.206 0 .404.084.55.234.146.15.228.354.228.566v14.4a.812.812 0 01-.228.566.767.767 0 01-.55.234zm-.778-1.6V5.6H6.556v12.8h10.888zM8.89 9.6h6.222v1.6H8.89V9.6zm0 3.2h6.222v1.6H8.89v-1.6z"
48
48
  })));
49
49
  };
50
50
 
@@ -0,0 +1,64 @@
1
+ var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
2
+
3
+ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
+
5
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
6
+
7
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
8
+
9
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
10
+
11
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
12
+
13
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
14
+
15
+ import React from 'react';
16
+ import PropTypes from 'prop-types';
17
+ var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} .tant-icon-span { display: inline-flex; align-items: center; justify-content: center } .tant-icon-span > svg { cursor: pointer }';
18
+
19
+ var Goal = function Goal(props) {
20
+ var color = props.color,
21
+ size = props.size,
22
+ spin = props.spin,
23
+ style = props.style,
24
+ className = props.className,
25
+ iconClassName = props.iconClassName,
26
+ otherProps = _objectWithoutProperties(props, _excluded);
27
+
28
+ return /*#__PURE__*/React.createElement("span", {
29
+ className: className ? 'tant-icon-span ' + className : 'tant-icon-span'
30
+ }, /*#__PURE__*/React.createElement("style", {
31
+ children: loadingCircleStyle
32
+ }), /*#__PURE__*/React.createElement("svg", _extends({
33
+ xmlns: "http://www.w3.org/2000/svg",
34
+ width: size,
35
+ height: size,
36
+ viewBox: "0 0 24 24",
37
+ fill: color
38
+ }, otherProps, {
39
+ className: iconClassName,
40
+ style: _objectSpread(_objectSpread({}, style), spin ? {
41
+ animationDuration: '1s',
42
+ animationIterationCount: 'infinite',
43
+ animationName: 'loadingCircle',
44
+ animationTimingFunction: 'linear'
45
+ } : {})
46
+ }), /*#__PURE__*/React.createElement("path", {
47
+ fillRule: "evenodd",
48
+ clipRule: "evenodd",
49
+ d: "M12 2c5.52 0 10 4.48 10 10 0 5.51-4.48 10-10 10-5.51 0-10-4.49-10-10C2 6.48 6.49 2 12 2zm4.88 6.27a.95.95 0 00-.35-.73.907.907 0 00-.78-.19l-.31.06c-.21.03-.5.06-.83.09-.69.05-1.4.04-1.87-.12-.71-.24-1.37-.38-2.05-.38-.68 0-1.33.14-2.05.38-.38.13-.64.49-.64.89v9.16c0 .28.23.5.5.5.28 0 .5-.22.5-.5v-2.86c.37-.03.74-.14 1.11-.17.6-.05 1.36-.05 2.1.14 1.42.36 2.95.54 4.16-.07.31-.17.51-.49.51-.84V8.27z"
50
+ })));
51
+ };
52
+
53
+ Goal.propTypes = {
54
+ iconClassName: PropTypes.string,
55
+ spin: PropTypes.bool,
56
+ color: PropTypes.string,
57
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
58
+ };
59
+ Goal.defaultProps = {
60
+ spin: false,
61
+ color: 'currentColor',
62
+ size: '16'
63
+ };
64
+ export default Goal;
@@ -44,11 +44,21 @@ var SortA2z = function SortA2z(props) {
44
44
  animationTimingFunction: 'linear'
45
45
  } : {})
46
46
  }), /*#__PURE__*/React.createElement("path", {
47
- d: "M22 12.047h-5.742l5.565-7.838V3H14v1.541h5.557L14 12.334v1.24h8v-1.527z"
47
+ fillRule: "evenodd",
48
+ clipRule: "evenodd",
49
+ d: "M18 2a1 1 0 011 1v17a1 1 0 11-2 0V3a1 1 0 011-1z"
48
50
  }), /*#__PURE__*/React.createElement("path", {
49
51
  fillRule: "evenodd",
50
52
  clipRule: "evenodd",
51
- d: "M3.98 21l.889-2.561h4.247L10.012 21H12L7.85 10H6.143L2 21h1.98zm3.012-8.665l1.59 4.563H5.403l1.588-4.563z"
53
+ d: "M13.707 16.293a1 1 0 011.414 0l3.586 3.586a1 1 0 01-1.414 1.414l-3.586-3.586a1 1 0 010-1.414z"
54
+ }), /*#__PURE__*/React.createElement("path", {
55
+ fillRule: "evenodd",
56
+ clipRule: "evenodd",
57
+ d: "M22.293 16.293a1 1 0 00-1.414 0l-3.586 3.586a1 1 0 001.414 1.414l3.586-3.586a1 1 0 000-1.414z"
58
+ }), /*#__PURE__*/React.createElement("path", {
59
+ d: "M6.736 2L10 10H8.611l-.795-2.062H4.172L3.377 10H2l3.264-8h1.472zm.688 4.93l-1.4-3.62h-.048L4.564 6.93h2.86z"
60
+ }), /*#__PURE__*/React.createElement("path", {
61
+ d: "M2.859 13h6.354v1.097l-5.014 6.73H9.5V22h-7v-1.084l5.026-6.744H2.859V13z"
52
62
  })));
53
63
  };
54
64
 
@@ -44,10 +44,39 @@ var SortDownCl = function SortDownCl(props) {
44
44
  animationTimingFunction: 'linear'
45
45
  } : {})
46
46
  }), /*#__PURE__*/React.createElement("path", {
47
- d: "M6 15l6 6 6-6H6z",
48
- fill: "#1673F6"
47
+ fillRule: "evenodd",
48
+ clipRule: "evenodd",
49
+ d: "M18 2a1 1 0 011 1v17a1 1 0 11-2 0V3a1 1 0 011-1z",
50
+ fill: "#747C94"
51
+ }), /*#__PURE__*/React.createElement("path", {
52
+ fillRule: "evenodd",
53
+ clipRule: "evenodd",
54
+ d: "M13.707 16.293a1 1 0 011.414 0l3.586 3.586a1 1 0 01-1.414 1.414l-3.586-3.586a1 1 0 010-1.414z",
55
+ fill: "#747C94"
56
+ }), /*#__PURE__*/React.createElement("path", {
57
+ fillRule: "evenodd",
58
+ clipRule: "evenodd",
59
+ d: "M22.293 16.293a1 1 0 00-1.414 0l-3.586 3.586a1 1 0 001.414 1.414l3.586-3.586a1 1 0 000-1.414z",
60
+ fill: "#747C94"
61
+ }), /*#__PURE__*/React.createElement("path", {
62
+ fillRule: "evenodd",
63
+ clipRule: "evenodd",
64
+ d: "M2 4a1 1 0 011-1h11a1 1 0 110 2H3a1 1 0 01-1-1z",
65
+ fill: "#747C94"
66
+ }), /*#__PURE__*/React.createElement("path", {
67
+ fillRule: "evenodd",
68
+ clipRule: "evenodd",
69
+ d: "M2 9a1 1 0 011-1h9a1 1 0 110 2H3a1 1 0 01-1-1z",
70
+ fill: "#747C94"
71
+ }), /*#__PURE__*/React.createElement("path", {
72
+ fillRule: "evenodd",
73
+ clipRule: "evenodd",
74
+ d: "M2 14a1 1 0 011-1h7a1 1 0 110 2H3a1 1 0 01-1-1z",
75
+ fill: "#747C94"
49
76
  }), /*#__PURE__*/React.createElement("path", {
50
- d: "M6 9l6-6 6 6H6z",
77
+ fillRule: "evenodd",
78
+ clipRule: "evenodd",
79
+ d: "M2 19a1 1 0 011-1h5a1 1 0 110 2H3a1 1 0 01-1-1z",
51
80
  fill: "#747C94"
52
81
  })));
53
82
  };
@@ -44,11 +44,40 @@ var SortUpCl = function SortUpCl(props) {
44
44
  animationTimingFunction: 'linear'
45
45
  } : {})
46
46
  }), /*#__PURE__*/React.createElement("path", {
47
- d: "M6 15l6 6 6-6H6z",
47
+ fillRule: "evenodd",
48
+ clipRule: "evenodd",
49
+ d: "M9 5a1 1 0 01-1 1H3a1 1 0 110-2h5a1 1 0 011 1z",
48
50
  fill: "#747C94"
49
51
  }), /*#__PURE__*/React.createElement("path", {
50
- d: "M6 9l6-6 6 6H6z",
51
- fill: "#1673F6"
52
+ fillRule: "evenodd",
53
+ clipRule: "evenodd",
54
+ d: "M15 20a1 1 0 01-1 1H3a1 1 0 110-2h11a1 1 0 011 1z",
55
+ fill: "#747C94"
56
+ }), /*#__PURE__*/React.createElement("path", {
57
+ fillRule: "evenodd",
58
+ clipRule: "evenodd",
59
+ d: "M13 15a1 1 0 01-1 1H3a1 1 0 110-2h9a1 1 0 011 1z",
60
+ fill: "#747C94"
61
+ }), /*#__PURE__*/React.createElement("path", {
62
+ fillRule: "evenodd",
63
+ clipRule: "evenodd",
64
+ d: "M11 10a1 1 0 01-1 1H3a1 1 0 110-2h7a1 1 0 011 1z",
65
+ fill: "#747C94"
66
+ }), /*#__PURE__*/React.createElement("path", {
67
+ fillRule: "evenodd",
68
+ clipRule: "evenodd",
69
+ d: "M18 22a1 1 0 01-1-1V4a1 1 0 112 0v17a1 1 0 01-1 1z",
70
+ fill: "#747C94"
71
+ }), /*#__PURE__*/React.createElement("path", {
72
+ fillRule: "evenodd",
73
+ clipRule: "evenodd",
74
+ d: "M22.293 7.707a1 1 0 01-1.414 0l-3.586-3.586a1 1 0 011.414-1.414l3.586 3.586a1 1 0 010 1.414z",
75
+ fill: "#747C94"
76
+ }), /*#__PURE__*/React.createElement("path", {
77
+ fillRule: "evenodd",
78
+ clipRule: "evenodd",
79
+ d: "M13.707 7.707a1 1 0 001.414 0l3.586-3.586a1 1 0 00-1.414-1.414l-3.586 3.586a1 1 0 000 1.414z",
80
+ fill: "#747C94"
52
81
  })));
53
82
  };
54
83
 
@@ -44,11 +44,21 @@ var SortZ2a = function SortZ2a(props) {
44
44
  animationTimingFunction: 'linear'
45
45
  } : {})
46
46
  }), /*#__PURE__*/React.createElement("path", {
47
- d: "M10 12.035H4.258l5.565-7.826V3H2v1.541h5.557L2 12.322v1.24h8v-1.527z"
47
+ fillRule: "evenodd",
48
+ clipRule: "evenodd",
49
+ d: "M18 22a1 1 0 01-1-1V4a1 1 0 112 0v17a1 1 0 01-1 1z"
48
50
  }), /*#__PURE__*/React.createElement("path", {
49
51
  fillRule: "evenodd",
50
52
  clipRule: "evenodd",
51
- d: "M13.98 21l.889-2.561h4.247L20.012 21H22l-4.15-11h-1.708L12 21h1.98zm3.012-8.665l1.59 4.563h-3.178l1.588-4.563z"
53
+ d: "M22.293 7.707a1 1 0 01-1.414 0l-3.586-3.586a1 1 0 011.414-1.414l3.586 3.586a1 1 0 010 1.414z"
54
+ }), /*#__PURE__*/React.createElement("path", {
55
+ fillRule: "evenodd",
56
+ clipRule: "evenodd",
57
+ d: "M13.707 7.707a1 1 0 001.414 0l3.586-3.586a1 1 0 00-1.414-1.414l-3.586 3.586a1 1 0 000 1.414z"
58
+ }), /*#__PURE__*/React.createElement("path", {
59
+ d: "M6.736 2L10 10H8.611l-.795-2.062H4.172L3.377 10H2l3.264-8h1.472zm.688 4.93l-1.4-3.62h-.048L4.564 6.93h2.86z"
60
+ }), /*#__PURE__*/React.createElement("path", {
61
+ d: "M2.859 13h6.354v1.097l-5.014 6.73H9.5V22h-7v-1.084l5.026-6.744H2.859V13z"
52
62
  })));
53
63
  };
54
64
 
@@ -0,0 +1,68 @@
1
+ var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
2
+
3
+ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
+
5
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
6
+
7
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
8
+
9
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
10
+
11
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
12
+
13
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
14
+
15
+ import React from 'react';
16
+ import PropTypes from 'prop-types';
17
+ var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} .tant-icon-span { display: inline-flex; align-items: center; justify-content: center } .tant-icon-span > svg { cursor: pointer }';
18
+
19
+ var UpdateData = function UpdateData(props) {
20
+ var color = props.color,
21
+ size = props.size,
22
+ spin = props.spin,
23
+ style = props.style,
24
+ className = props.className,
25
+ iconClassName = props.iconClassName,
26
+ otherProps = _objectWithoutProperties(props, _excluded);
27
+
28
+ return /*#__PURE__*/React.createElement("span", {
29
+ className: className ? 'tant-icon-span ' + className : 'tant-icon-span'
30
+ }, /*#__PURE__*/React.createElement("style", {
31
+ children: loadingCircleStyle
32
+ }), /*#__PURE__*/React.createElement("svg", _extends({
33
+ xmlns: "http://www.w3.org/2000/svg",
34
+ width: size,
35
+ height: size,
36
+ viewBox: "0 0 24 24",
37
+ fill: color
38
+ }, otherProps, {
39
+ className: iconClassName,
40
+ style: _objectSpread(_objectSpread({}, style), spin ? {
41
+ animationDuration: '1s',
42
+ animationIterationCount: 'infinite',
43
+ animationName: 'loadingCircle',
44
+ animationTimingFunction: 'linear'
45
+ } : {})
46
+ }), /*#__PURE__*/React.createElement("path", {
47
+ d: "M12.999 12h3l-4-4-4 4h3v4h2v-4z"
48
+ }), /*#__PURE__*/React.createElement("rect", {
49
+ x: "3",
50
+ y: "3",
51
+ width: "18",
52
+ height: "18",
53
+ rx: "9"
54
+ })));
55
+ };
56
+
57
+ UpdateData.propTypes = {
58
+ iconClassName: PropTypes.string,
59
+ spin: PropTypes.bool,
60
+ color: PropTypes.string,
61
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
62
+ };
63
+ UpdateData.defaultProps = {
64
+ spin: false,
65
+ color: 'currentColor',
66
+ size: '16'
67
+ };
68
+ export default UpdateData;
@@ -0,0 +1,64 @@
1
+ var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
2
+
3
+ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
+
5
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
6
+
7
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
8
+
9
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
10
+
11
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
12
+
13
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
14
+
15
+ import React from 'react';
16
+ import PropTypes from 'prop-types';
17
+ var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} .tant-icon-span { display: inline-flex; align-items: center; justify-content: center } .tant-icon-span > svg { cursor: pointer }';
18
+
19
+ var Upload = function Upload(props) {
20
+ var color = props.color,
21
+ size = props.size,
22
+ spin = props.spin,
23
+ style = props.style,
24
+ className = props.className,
25
+ iconClassName = props.iconClassName,
26
+ otherProps = _objectWithoutProperties(props, _excluded);
27
+
28
+ return /*#__PURE__*/React.createElement("span", {
29
+ className: className ? 'tant-icon-span ' + className : 'tant-icon-span'
30
+ }, /*#__PURE__*/React.createElement("style", {
31
+ children: loadingCircleStyle
32
+ }), /*#__PURE__*/React.createElement("svg", _extends({
33
+ xmlns: "http://www.w3.org/2000/svg",
34
+ width: size,
35
+ height: size,
36
+ viewBox: "0 0 24 24",
37
+ fill: color
38
+ }, otherProps, {
39
+ className: iconClassName,
40
+ style: _objectSpread(_objectSpread({}, style), spin ? {
41
+ animationDuration: '1s',
42
+ animationIterationCount: 'infinite',
43
+ animationName: 'loadingCircle',
44
+ animationTimingFunction: 'linear'
45
+ } : {})
46
+ }), /*#__PURE__*/React.createElement("path", {
47
+ d: "M4 3h16a1 1 0 011 1v16a1 1 0 01-1 1H4a1 1 0 01-1-1V4a1 1 0 011-1zm1 2v14h14V5H5z"
48
+ }), /*#__PURE__*/React.createElement("path", {
49
+ d: "M12.999 12h3l-4-4-4 4h3v4h2v-4z"
50
+ })));
51
+ };
52
+
53
+ Upload.propTypes = {
54
+ iconClassName: PropTypes.string,
55
+ spin: PropTypes.bool,
56
+ color: PropTypes.string,
57
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
58
+ };
59
+ Upload.defaultProps = {
60
+ spin: false,
61
+ color: 'currentColor',
62
+ size: '16'
63
+ };
64
+ export default Upload;
package/dist/es/index.js CHANGED
@@ -47,6 +47,7 @@ export { default as TaGameFill } from './icons/game-fill';
47
47
  export { default as TaShop } from './icons/shop';
48
48
  export { default as TaShopFill } from './icons/shop-fill';
49
49
  export { default as TaEarth } from './icons/earth';
50
+ export { default as TaGoal } from './icons/goal';
50
51
  export { default as TaTdLogo } from './icons/td-logo';
51
52
  export { default as TaLanguage } from './icons/language';
52
53
  export { default as TaCalendar } from './icons/calendar';
@@ -233,6 +234,8 @@ export { default as TaUpdate } from './icons/update';
233
234
  export { default as TaRename } from './icons/rename';
234
235
  export { default as TaPlayCircle } from './icons/play-circle';
235
236
  export { default as TaPauseCircle } from './icons/pause-circle';
237
+ export { default as TaUpload } from './icons/upload';
238
+ export { default as TaUpdateData } from './icons/update-data';
236
239
  export { default as TaReport } from './icons/report';
237
240
  export { default as TaReportRemoval } from './icons/report-removal';
238
241
  export { default as TaFileAdd } from './icons/file-add';
package/dist/index.d.ts CHANGED
@@ -5,6 +5,7 @@
5
5
  color?: string;
6
6
  size?: string | number;
7
7
  spin?: boolean;
8
+ iconClassName?: string,
8
9
  }
9
10
 
10
11
  type Icon = FC<Props>;
@@ -57,6 +58,7 @@ export const TaGameFill: Icon;
57
58
  export const TaShop: Icon;
58
59
  export const TaShopFill: Icon;
59
60
  export const TaEarth: Icon;
61
+ export const TaGoal: Icon;
60
62
  export const TaTdLogo: Icon;
61
63
  export const TaLanguage: Icon;
62
64
  export const TaCalendar: Icon;
@@ -243,6 +245,8 @@ export const TaUpdate: Icon;
243
245
  export const TaRename: Icon;
244
246
  export const TaPlayCircle: Icon;
245
247
  export const TaPauseCircle: Icon;
248
+ export const TaUpload: Icon;
249
+ export const TaUpdateData: Icon;
246
250
  export const TaReport: Icon;
247
251
  export const TaReportRemoval: Icon;
248
252
  export const TaFileAdd: Icon;
@@ -55,7 +55,7 @@ var Detail = function Detail(props) {
55
55
  animationTimingFunction: 'linear'
56
56
  } : {})
57
57
  }), /*#__PURE__*/_react["default"].createElement("path", {
58
- d: "M20.222 22H7.778a.767.767 0 01-.55-.234A.812.812 0 017 21.2V6.8c0-.212.082-.416.228-.566A.767.767 0 017.778 6h12.444c.206 0 .404.084.55.234.146.15.228.354.228.566v14.4a.812.812 0 01-.228.566.767.767 0 01-.55.234zm-.778-1.6V7.6H8.556v12.8h10.888zm-8.555-8.8h6.222v1.6H10.89v-1.6zm0 3.2h6.222v1.6H10.89v-1.6z"
58
+ d: "M18.222 20H5.778a.767.767 0 01-.55-.234A.812.812 0 015 19.2V4.8c0-.212.082-.416.228-.566A.767.767 0 015.778 4h12.444c.206 0 .404.084.55.234.146.15.228.354.228.566v14.4a.812.812 0 01-.228.566.767.767 0 01-.55.234zm-.778-1.6V5.6H6.556v12.8h10.888zM8.89 9.6h6.222v1.6H8.89V9.6zm0 3.2h6.222v1.6H8.89v-1.6z"
59
59
  })));
60
60
  };
61
61
 
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+
8
+ var _react = _interopRequireDefault(require("react"));
9
+
10
+ var _propTypes = _interopRequireDefault(require("prop-types"));
11
+
12
+ var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
13
+
14
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
+
16
+ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
17
+
18
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
19
+
20
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
21
+
22
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
23
+
24
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
25
+
26
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
27
+
28
+ var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} .tant-icon-span { display: inline-flex; align-items: center; justify-content: center } .tant-icon-span > svg { cursor: pointer }';
29
+
30
+ var Goal = function Goal(props) {
31
+ var color = props.color,
32
+ size = props.size,
33
+ spin = props.spin,
34
+ style = props.style,
35
+ className = props.className,
36
+ iconClassName = props.iconClassName,
37
+ otherProps = _objectWithoutProperties(props, _excluded);
38
+
39
+ return /*#__PURE__*/_react["default"].createElement("span", {
40
+ className: className ? 'tant-icon-span ' + className : 'tant-icon-span'
41
+ }, /*#__PURE__*/_react["default"].createElement("style", {
42
+ children: loadingCircleStyle
43
+ }), /*#__PURE__*/_react["default"].createElement("svg", _extends({
44
+ xmlns: "http://www.w3.org/2000/svg",
45
+ width: size,
46
+ height: size,
47
+ viewBox: "0 0 24 24",
48
+ fill: color
49
+ }, otherProps, {
50
+ className: iconClassName,
51
+ style: _objectSpread(_objectSpread({}, style), spin ? {
52
+ animationDuration: '1s',
53
+ animationIterationCount: 'infinite',
54
+ animationName: 'loadingCircle',
55
+ animationTimingFunction: 'linear'
56
+ } : {})
57
+ }), /*#__PURE__*/_react["default"].createElement("path", {
58
+ fillRule: "evenodd",
59
+ clipRule: "evenodd",
60
+ d: "M12 2c5.52 0 10 4.48 10 10 0 5.51-4.48 10-10 10-5.51 0-10-4.49-10-10C2 6.48 6.49 2 12 2zm4.88 6.27a.95.95 0 00-.35-.73.907.907 0 00-.78-.19l-.31.06c-.21.03-.5.06-.83.09-.69.05-1.4.04-1.87-.12-.71-.24-1.37-.38-2.05-.38-.68 0-1.33.14-2.05.38-.38.13-.64.49-.64.89v9.16c0 .28.23.5.5.5.28 0 .5-.22.5-.5v-2.86c.37-.03.74-.14 1.11-.17.6-.05 1.36-.05 2.1.14 1.42.36 2.95.54 4.16-.07.31-.17.51-.49.51-.84V8.27z"
61
+ })));
62
+ };
63
+
64
+ Goal.propTypes = {
65
+ iconClassName: _propTypes["default"].string,
66
+ spin: _propTypes["default"].bool,
67
+ color: _propTypes["default"].string,
68
+ size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
69
+ };
70
+ Goal.defaultProps = {
71
+ spin: false,
72
+ color: 'currentColor',
73
+ size: '16'
74
+ };
75
+ var _default = Goal;
76
+ exports["default"] = _default;
@@ -55,11 +55,21 @@ var SortA2z = function SortA2z(props) {
55
55
  animationTimingFunction: 'linear'
56
56
  } : {})
57
57
  }), /*#__PURE__*/_react["default"].createElement("path", {
58
- d: "M22 12.047h-5.742l5.565-7.838V3H14v1.541h5.557L14 12.334v1.24h8v-1.527z"
58
+ fillRule: "evenodd",
59
+ clipRule: "evenodd",
60
+ d: "M18 2a1 1 0 011 1v17a1 1 0 11-2 0V3a1 1 0 011-1z"
59
61
  }), /*#__PURE__*/_react["default"].createElement("path", {
60
62
  fillRule: "evenodd",
61
63
  clipRule: "evenodd",
62
- d: "M3.98 21l.889-2.561h4.247L10.012 21H12L7.85 10H6.143L2 21h1.98zm3.012-8.665l1.59 4.563H5.403l1.588-4.563z"
64
+ d: "M13.707 16.293a1 1 0 011.414 0l3.586 3.586a1 1 0 01-1.414 1.414l-3.586-3.586a1 1 0 010-1.414z"
65
+ }), /*#__PURE__*/_react["default"].createElement("path", {
66
+ fillRule: "evenodd",
67
+ clipRule: "evenodd",
68
+ d: "M22.293 16.293a1 1 0 00-1.414 0l-3.586 3.586a1 1 0 001.414 1.414l3.586-3.586a1 1 0 000-1.414z"
69
+ }), /*#__PURE__*/_react["default"].createElement("path", {
70
+ d: "M6.736 2L10 10H8.611l-.795-2.062H4.172L3.377 10H2l3.264-8h1.472zm.688 4.93l-1.4-3.62h-.048L4.564 6.93h2.86z"
71
+ }), /*#__PURE__*/_react["default"].createElement("path", {
72
+ d: "M2.859 13h6.354v1.097l-5.014 6.73H9.5V22h-7v-1.084l5.026-6.744H2.859V13z"
63
73
  })));
64
74
  };
65
75
 
@@ -55,10 +55,39 @@ var SortDownCl = function SortDownCl(props) {
55
55
  animationTimingFunction: 'linear'
56
56
  } : {})
57
57
  }), /*#__PURE__*/_react["default"].createElement("path", {
58
- d: "M6 15l6 6 6-6H6z",
59
- fill: "#1673F6"
58
+ fillRule: "evenodd",
59
+ clipRule: "evenodd",
60
+ d: "M18 2a1 1 0 011 1v17a1 1 0 11-2 0V3a1 1 0 011-1z",
61
+ fill: "#747C94"
62
+ }), /*#__PURE__*/_react["default"].createElement("path", {
63
+ fillRule: "evenodd",
64
+ clipRule: "evenodd",
65
+ d: "M13.707 16.293a1 1 0 011.414 0l3.586 3.586a1 1 0 01-1.414 1.414l-3.586-3.586a1 1 0 010-1.414z",
66
+ fill: "#747C94"
67
+ }), /*#__PURE__*/_react["default"].createElement("path", {
68
+ fillRule: "evenodd",
69
+ clipRule: "evenodd",
70
+ d: "M22.293 16.293a1 1 0 00-1.414 0l-3.586 3.586a1 1 0 001.414 1.414l3.586-3.586a1 1 0 000-1.414z",
71
+ fill: "#747C94"
72
+ }), /*#__PURE__*/_react["default"].createElement("path", {
73
+ fillRule: "evenodd",
74
+ clipRule: "evenodd",
75
+ d: "M2 4a1 1 0 011-1h11a1 1 0 110 2H3a1 1 0 01-1-1z",
76
+ fill: "#747C94"
77
+ }), /*#__PURE__*/_react["default"].createElement("path", {
78
+ fillRule: "evenodd",
79
+ clipRule: "evenodd",
80
+ d: "M2 9a1 1 0 011-1h9a1 1 0 110 2H3a1 1 0 01-1-1z",
81
+ fill: "#747C94"
82
+ }), /*#__PURE__*/_react["default"].createElement("path", {
83
+ fillRule: "evenodd",
84
+ clipRule: "evenodd",
85
+ d: "M2 14a1 1 0 011-1h7a1 1 0 110 2H3a1 1 0 01-1-1z",
86
+ fill: "#747C94"
60
87
  }), /*#__PURE__*/_react["default"].createElement("path", {
61
- d: "M6 9l6-6 6 6H6z",
88
+ fillRule: "evenodd",
89
+ clipRule: "evenodd",
90
+ d: "M2 19a1 1 0 011-1h5a1 1 0 110 2H3a1 1 0 01-1-1z",
62
91
  fill: "#747C94"
63
92
  })));
64
93
  };
@@ -55,11 +55,40 @@ var SortUpCl = function SortUpCl(props) {
55
55
  animationTimingFunction: 'linear'
56
56
  } : {})
57
57
  }), /*#__PURE__*/_react["default"].createElement("path", {
58
- d: "M6 15l6 6 6-6H6z",
58
+ fillRule: "evenodd",
59
+ clipRule: "evenodd",
60
+ d: "M9 5a1 1 0 01-1 1H3a1 1 0 110-2h5a1 1 0 011 1z",
59
61
  fill: "#747C94"
60
62
  }), /*#__PURE__*/_react["default"].createElement("path", {
61
- d: "M6 9l6-6 6 6H6z",
62
- fill: "#1673F6"
63
+ fillRule: "evenodd",
64
+ clipRule: "evenodd",
65
+ d: "M15 20a1 1 0 01-1 1H3a1 1 0 110-2h11a1 1 0 011 1z",
66
+ fill: "#747C94"
67
+ }), /*#__PURE__*/_react["default"].createElement("path", {
68
+ fillRule: "evenodd",
69
+ clipRule: "evenodd",
70
+ d: "M13 15a1 1 0 01-1 1H3a1 1 0 110-2h9a1 1 0 011 1z",
71
+ fill: "#747C94"
72
+ }), /*#__PURE__*/_react["default"].createElement("path", {
73
+ fillRule: "evenodd",
74
+ clipRule: "evenodd",
75
+ d: "M11 10a1 1 0 01-1 1H3a1 1 0 110-2h7a1 1 0 011 1z",
76
+ fill: "#747C94"
77
+ }), /*#__PURE__*/_react["default"].createElement("path", {
78
+ fillRule: "evenodd",
79
+ clipRule: "evenodd",
80
+ d: "M18 22a1 1 0 01-1-1V4a1 1 0 112 0v17a1 1 0 01-1 1z",
81
+ fill: "#747C94"
82
+ }), /*#__PURE__*/_react["default"].createElement("path", {
83
+ fillRule: "evenodd",
84
+ clipRule: "evenodd",
85
+ d: "M22.293 7.707a1 1 0 01-1.414 0l-3.586-3.586a1 1 0 011.414-1.414l3.586 3.586a1 1 0 010 1.414z",
86
+ fill: "#747C94"
87
+ }), /*#__PURE__*/_react["default"].createElement("path", {
88
+ fillRule: "evenodd",
89
+ clipRule: "evenodd",
90
+ d: "M13.707 7.707a1 1 0 001.414 0l3.586-3.586a1 1 0 00-1.414-1.414l-3.586 3.586a1 1 0 000 1.414z",
91
+ fill: "#747C94"
63
92
  })));
64
93
  };
65
94
 
@@ -55,11 +55,21 @@ var SortZ2a = function SortZ2a(props) {
55
55
  animationTimingFunction: 'linear'
56
56
  } : {})
57
57
  }), /*#__PURE__*/_react["default"].createElement("path", {
58
- d: "M10 12.035H4.258l5.565-7.826V3H2v1.541h5.557L2 12.322v1.24h8v-1.527z"
58
+ fillRule: "evenodd",
59
+ clipRule: "evenodd",
60
+ d: "M18 22a1 1 0 01-1-1V4a1 1 0 112 0v17a1 1 0 01-1 1z"
59
61
  }), /*#__PURE__*/_react["default"].createElement("path", {
60
62
  fillRule: "evenodd",
61
63
  clipRule: "evenodd",
62
- d: "M13.98 21l.889-2.561h4.247L20.012 21H22l-4.15-11h-1.708L12 21h1.98zm3.012-8.665l1.59 4.563h-3.178l1.588-4.563z"
64
+ d: "M22.293 7.707a1 1 0 01-1.414 0l-3.586-3.586a1 1 0 011.414-1.414l3.586 3.586a1 1 0 010 1.414z"
65
+ }), /*#__PURE__*/_react["default"].createElement("path", {
66
+ fillRule: "evenodd",
67
+ clipRule: "evenodd",
68
+ d: "M13.707 7.707a1 1 0 001.414 0l3.586-3.586a1 1 0 00-1.414-1.414l-3.586 3.586a1 1 0 000 1.414z"
69
+ }), /*#__PURE__*/_react["default"].createElement("path", {
70
+ d: "M6.736 2L10 10H8.611l-.795-2.062H4.172L3.377 10H2l3.264-8h1.472zm.688 4.93l-1.4-3.62h-.048L4.564 6.93h2.86z"
71
+ }), /*#__PURE__*/_react["default"].createElement("path", {
72
+ d: "M2.859 13h6.354v1.097l-5.014 6.73H9.5V22h-7v-1.084l5.026-6.744H2.859V13z"
63
73
  })));
64
74
  };
65
75