@tant/icons 1.1.66 → 1.1.69

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.
@@ -0,0 +1,62 @@
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 Click = function Click(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: "M10.5 1a.84.84 0 01.589.24.816.816 0 01.244.582V4.56a.816.816 0 01-.244.581.84.84 0 01-1.179 0 .816.816 0 01-.244-.58V1.82c0-.217.088-.426.244-.58A.84.84 0 0110.5 1zM5.189 3.158a.84.84 0 011.178 0L8.31 5.075a.822.822 0 01.265.587.811.811 0 01-.244.595.834.834 0 01-.604.24.843.843 0 01-.595-.26L5.19 4.318a.816.816 0 010-1.16zm10.622 0a.816.816 0 010 1.161l-1.945 1.917a.831.831 0 01-.595.262.844.844 0 01-.604-.24.821.821 0 01-.244-.596.813.813 0 01.265-.587l1.945-1.917a.84.84 0 011.178 0zM3 8.394c0-.217.088-.426.244-.58a.84.84 0 01.59-.241H6.61a.84.84 0 01.59.24.816.816 0 010 1.162.84.84 0 01-.59.241H3.833a.84.84 0 01-.589-.24A.816.816 0 013 8.393zm9.085-.289c-.95-.804-2.419-.138-2.419 1.097v12.35c0 1.326 1.661 1.952 2.558.964l2.904-3.202a1.709 1.709 0 011.197-.555l4.266-.17c1.33-.052 1.906-1.685.895-2.54l-9.4-7.944zm-.752 12.928v-11.4l8.68 7.336-3.756.147c-.45.018-.891.125-1.298.315-.407.189-.772.457-1.072.788l-2.554 2.814z"
48
+ })));
49
+ };
50
+
51
+ Click.propTypes = {
52
+ iconClassName: PropTypes.string,
53
+ spin: PropTypes.bool,
54
+ color: PropTypes.string,
55
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
56
+ };
57
+ Click.defaultProps = {
58
+ spin: false,
59
+ color: 'currentColor',
60
+ size: '16'
61
+ };
62
+ export default Click;
@@ -44,7 +44,7 @@ var Detail = function Detail(props) {
44
44
  animationTimingFunction: 'linear'
45
45
  } : {})
46
46
  }), /*#__PURE__*/React.createElement("path", {
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"
47
+ d: "M20 22H4a1 1 0 01-1-1V3a1 1 0 011-1h16a1 1 0 011 1v18a1 1 0 01-1 1zm-1-2V4H5v16h14zM8 9h8v2H8V9zm0 4h8v2H8v-2z"
48
48
  })));
49
49
  };
50
50
 
@@ -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) }} .tant-icon-span { display: inline-flex; align-items: center; justify-content: center } .tant-icon-span > svg { cursor: pointer }';
18
18
 
19
- var SortUpCl = function SortUpCl(props) {
19
+ var Index = function Index(props) {
20
20
  var color = props.color,
21
21
  size = props.size,
22
22
  spin = props.spin,
@@ -44,52 +44,29 @@ var SortUpCl = function SortUpCl(props) {
44
44
  animationTimingFunction: 'linear'
45
45
  } : {})
46
46
  }), /*#__PURE__*/React.createElement("path", {
47
- fillRule: "evenodd",
48
- clipRule: "evenodd",
49
- d: "M9 5a1 1 0 01-1 1H3a1 1 0 110-2h5a1 1 0 011 1z",
50
- fill: "#747C94"
47
+ d: "M18 4H7v2h11V4z"
51
48
  }), /*#__PURE__*/React.createElement("path", {
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"
49
+ d: "M7 11h14v2H7v-2z"
56
50
  }), /*#__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"
51
+ d: "M7 18h7v2H7v-2z"
61
52
  }), /*#__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"
53
+ d: "M5 4H3v2h2V4z"
66
54
  }), /*#__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"
55
+ d: "M5 18H3v2h2v-2z"
71
56
  }), /*#__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"
57
+ d: "M5 11H3v2h2v-2z"
81
58
  })));
82
59
  };
83
60
 
84
- SortUpCl.propTypes = {
61
+ Index.propTypes = {
85
62
  iconClassName: PropTypes.string,
86
63
  spin: PropTypes.bool,
87
64
  color: PropTypes.string,
88
65
  size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
89
66
  };
90
- SortUpCl.defaultProps = {
67
+ Index.defaultProps = {
91
68
  spin: false,
92
69
  color: 'currentColor',
93
70
  size: '16'
94
71
  };
95
- export default SortUpCl;
72
+ export default Index;
@@ -0,0 +1,62 @@
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 Install = function Install(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: "M9 2v2H5l-.001 10h14L19 4h-4V2h5a1 1 0 011 1v18a1 1 0 01-1 1H4a1 1 0 01-1-1V3a1 1 0 011-1h5zm9.999 14h-14L5 20h14l-.001-4zM17 17v2h-2v-2h2zM13 2v5h3l-4 4-4-4h3V2h2z"
48
+ })));
49
+ };
50
+
51
+ Install.propTypes = {
52
+ iconClassName: PropTypes.string,
53
+ spin: PropTypes.bool,
54
+ color: PropTypes.string,
55
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
56
+ };
57
+ Install.defaultProps = {
58
+ spin: false,
59
+ color: 'currentColor',
60
+ size: '16'
61
+ };
62
+ export default Install;
@@ -46,19 +46,11 @@ var SortA2z = function SortA2z(props) {
46
46
  }), /*#__PURE__*/React.createElement("path", {
47
47
  fillRule: "evenodd",
48
48
  clipRule: "evenodd",
49
- d: "M18 2a1 1 0 011 1v17a1 1 0 11-2 0V3a1 1 0 011-1z"
50
- }), /*#__PURE__*/React.createElement("path", {
51
- fillRule: "evenodd",
52
- clipRule: "evenodd",
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
49
  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
50
  }), /*#__PURE__*/React.createElement("path", {
61
- d: "M2.859 13h6.354v1.097l-5.014 6.73H9.5V22h-7v-1.084l5.026-6.744H2.859V13z"
51
+ d: "M18 2a1 1 0 011 1v15.172l1.879-1.88a1 1 0 011.414 1.415l-3.574 3.574-.012.012a.997.997 0 01-1.414 0l-.012-.012-3.574-3.574a1 1 0 011.414-1.414L17 18.172V3a1 1 0 011-1z"
52
+ }), /*#__PURE__*/React.createElement("path", {
53
+ d: "M9.213 13H2.859v1.172h4.667L2.5 20.916V22h7v-1.172H4.2l5.013-6.731V13z"
62
54
  })));
63
55
  };
64
56
 
@@ -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) }} .tant-icon-span { display: inline-flex; align-items: center; justify-content: center } .tant-icon-span > svg { cursor: pointer }';
18
18
 
19
- var SortDownCl = function SortDownCl(props) {
19
+ var SortDown = function SortDown(props) {
20
20
  var color = props.color,
21
21
  size = props.size,
22
22
  spin = props.spin,
@@ -44,52 +44,27 @@ var SortDownCl = function SortDownCl(props) {
44
44
  animationTimingFunction: 'linear'
45
45
  } : {})
46
46
  }), /*#__PURE__*/React.createElement("path", {
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"
47
+ d: "M18 2a1 1 0 011 1v15.172l1.879-1.88a1 1 0 011.414 1.415l-3.586 3.586a1 1 0 01-1.414 0l-3.586-3.586a1 1 0 011.414-1.414L17 18.172V3a1 1 0 011-1z"
51
48
  }), /*#__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"
49
+ d: "M2 4a1 1 0 011-1h11a1 1 0 110 2H3a1 1 0 01-1-1z"
56
50
  }), /*#__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"
51
+ d: "M3 8a1 1 0 000 2h9a1 1 0 100-2H3z"
61
52
  }), /*#__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"
53
+ d: "M2 14a1 1 0 011-1h7a1 1 0 110 2H3a1 1 0 01-1-1z"
66
54
  }), /*#__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"
76
- }), /*#__PURE__*/React.createElement("path", {
77
- fillRule: "evenodd",
78
- clipRule: "evenodd",
79
- d: "M2 19a1 1 0 011-1h5a1 1 0 110 2H3a1 1 0 01-1-1z",
80
- fill: "#747C94"
55
+ d: "M3 18a1 1 0 100 2h5a1 1 0 100-2H3z"
81
56
  })));
82
57
  };
83
58
 
84
- SortDownCl.propTypes = {
59
+ SortDown.propTypes = {
85
60
  iconClassName: PropTypes.string,
86
61
  spin: PropTypes.bool,
87
62
  color: PropTypes.string,
88
63
  size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
89
64
  };
90
- SortDownCl.defaultProps = {
65
+ SortDown.defaultProps = {
91
66
  spin: false,
92
67
  color: 'currentColor',
93
68
  size: '16'
94
69
  };
95
- export default SortDownCl;
70
+ export default SortDown;
@@ -0,0 +1,70 @@
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 SortUp = function SortUp(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: "M17 21a1 1 0 102 0V5.828l1.879 1.88a1 1 0 101.414-1.415l-3.574-3.574a.997.997 0 00-1.437 0l-3.575 3.574a1 1 0 001.414 1.414L17 5.828V21z"
48
+ }), /*#__PURE__*/React.createElement("path", {
49
+ d: "M15 20a1 1 0 01-1 1H3a1 1 0 110-2h11a1 1 0 011 1z"
50
+ }), /*#__PURE__*/React.createElement("path", {
51
+ d: "M9 5a1 1 0 01-1 1H3a1 1 0 010-2h5a1 1 0 011 1z"
52
+ }), /*#__PURE__*/React.createElement("path", {
53
+ d: "M12 16a1 1 0 100-2H3a1 1 0 100 2h9z"
54
+ }), /*#__PURE__*/React.createElement("path", {
55
+ d: "M11 10a1 1 0 01-1 1H3a1 1 0 110-2h7a1 1 0 011 1z"
56
+ })));
57
+ };
58
+
59
+ SortUp.propTypes = {
60
+ iconClassName: PropTypes.string,
61
+ spin: PropTypes.bool,
62
+ color: PropTypes.string,
63
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
64
+ };
65
+ SortUp.defaultProps = {
66
+ spin: false,
67
+ color: 'currentColor',
68
+ size: '16'
69
+ };
70
+ export default SortUp;
@@ -46,19 +46,7 @@ var SortZ2a = function SortZ2a(props) {
46
46
  }), /*#__PURE__*/React.createElement("path", {
47
47
  fillRule: "evenodd",
48
48
  clipRule: "evenodd",
49
- d: "M18 22a1 1 0 01-1-1V4a1 1 0 112 0v17a1 1 0 01-1 1z"
50
- }), /*#__PURE__*/React.createElement("path", {
51
- fillRule: "evenodd",
52
- clipRule: "evenodd",
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"
49
+ 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.86zm7.697.777a1 1 0 11-1.414-1.414l3.574-3.574.012-.012a.997.997 0 011.414 0l.012.012 3.574 3.574a1 1 0 01-1.414 1.414L19 5.828V21a1 1 0 11-2 0V5.828l-1.879 1.88zM9.213 13H2.859v1.172h4.667L2.5 20.916V22h7v-1.172H4.2l5.013-6.731V13z"
62
50
  })));
63
51
  };
64
52
 
@@ -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 Tips = function Tips(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: "M17 16.245V18a1 1 0 01-1 1H8a1 1 0 01-1-1v-1.755a8 8 0 1110 0zm-2-.96l.75-.6a6 6 0 10-7.498 0l.748.6V17h6v-1.715zM9 10a3 3 0 013-3V5a5 5 0 00-5 5h2zm7 12v-2H8v2h8z"
50
+ })));
51
+ };
52
+
53
+ Tips.propTypes = {
54
+ iconClassName: PropTypes.string,
55
+ spin: PropTypes.bool,
56
+ color: PropTypes.string,
57
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
58
+ };
59
+ Tips.defaultProps = {
60
+ spin: false,
61
+ color: 'currentColor',
62
+ size: '16'
63
+ };
64
+ export default Tips;
@@ -44,13 +44,11 @@ var UpdateData = function UpdateData(props) {
44
44
  animationTimingFunction: 'linear'
45
45
  } : {})
46
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"
47
+ d: "M16 12h-3v4h-2v-4H8l4-4 4 4z"
48
+ }), /*#__PURE__*/React.createElement("path", {
49
+ fillRule: "evenodd",
50
+ clipRule: "evenodd",
51
+ d: "M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10zm-2 0a8 8 0 11-16 0 8 8 0 0116 0z"
54
52
  })));
55
53
  };
56
54
 
@@ -44,9 +44,9 @@ var Upload = function Upload(props) {
44
44
  animationTimingFunction: 'linear'
45
45
  } : {})
46
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"
47
+ d: "M6.808 7.614L11.23 3.32c.005-.008.012-.013.018-.017l.006-.006c.162-.157.372-.256.582-.285.01 0 .018-.002.027-.003a.17.17 0 01.027-.003C11.926 3 11.962 3 11.998 3l.102.006a.17.17 0 01.027.003l.027.003c.216.029.42.128.582.285l4.446 4.317a1.003 1.003 0 010 1.444 1.08 1.08 0 01-1.488 0l-2.658-2.58v9.454c0 .56-.474 1.02-1.05 1.02a1.09 1.09 0 01-.744-.298.992.992 0 01-.306-.722V6.478l-2.658 2.58a1.08 1.08 0 01-1.488 0 1.022 1.022 0 01.018-1.444z"
48
48
  }), /*#__PURE__*/React.createElement("path", {
49
- d: "M12.999 12h3l-4-4-4 4h3v4h2v-4z"
49
+ d: "M21.528 16.856v4.095a.906.906 0 01-.03.228.9.9 0 01-.882.705H3.378a.893.893 0 01-.894-.781c-.012-.053-.012-.1-.012-.157V16.85c0-.483.408-.873.9-.873.246 0 .474.099.636.256a.864.864 0 01.264.617v3.28h15.462v-3.28c0-.483.408-.873.9-.873.246 0 .474.099.636.256a.909.909 0 01.258.623z"
50
50
  })));
51
51
  };
52
52
 
package/dist/es/index.js CHANGED
@@ -74,6 +74,7 @@ export { default as TaLive } from './icons/live';
74
74
  export { default as TaPlug } from './icons/plug';
75
75
  export { default as TaApplication } from './icons/application';
76
76
  export { default as TaGift } from './icons/gift';
77
+ export { default as TaTips } from './icons/tips';
77
78
  export { default as TaUsb } from './icons/usb';
78
79
  export { default as TaLocation } from './icons/location';
79
80
  export { default as TaShieldCheck } from './icons/shield-check';
@@ -111,8 +112,9 @@ export { default as TaExposure } from './icons/exposure';
111
112
  export { default as TaIndicator } from './icons/indicator';
112
113
  export { default as TaCurrency } from './icons/currency';
113
114
  export { default as TaContrast } from './icons/contrast';
114
- export { default as TaSortUpCl } from './icons/sort-up-cl';
115
- export { default as TaSortDownCl } from './icons/sort-down-cl';
115
+ export { default as TaIndex } from './icons/index';
116
+ export { default as TaSortUp } from './icons/sort-up';
117
+ export { default as TaSortDown } from './icons/sort-down';
116
118
  export { default as TaOperatorEqual } from './icons/operator-equal';
117
119
  export { default as TaOperatorUnequal } from './icons/operator-unequal';
118
120
  export { default as TaOperatorDivide } from './icons/operator-divide';
@@ -234,8 +236,10 @@ export { default as TaUpdate } from './icons/update';
234
236
  export { default as TaRename } from './icons/rename';
235
237
  export { default as TaPlayCircle } from './icons/play-circle';
236
238
  export { default as TaPauseCircle } from './icons/pause-circle';
237
- export { default as TaUpload } from './icons/upload';
238
239
  export { default as TaUpdateData } from './icons/update-data';
240
+ export { default as TaUpload } from './icons/upload';
241
+ export { default as TaClick } from './icons/click';
242
+ export { default as TaInstall } from './icons/install';
239
243
  export { default as TaReport } from './icons/report';
240
244
  export { default as TaReportRemoval } from './icons/report-removal';
241
245
  export { default as TaFileAdd } from './icons/file-add';
package/dist/index.d.ts CHANGED
@@ -85,6 +85,7 @@ export const TaLive: Icon;
85
85
  export const TaPlug: Icon;
86
86
  export const TaApplication: Icon;
87
87
  export const TaGift: Icon;
88
+ export const TaTips: Icon;
88
89
  export const TaUsb: Icon;
89
90
  export const TaLocation: Icon;
90
91
  export const TaShieldCheck: Icon;
@@ -122,8 +123,9 @@ export const TaExposure: Icon;
122
123
  export const TaIndicator: Icon;
123
124
  export const TaCurrency: Icon;
124
125
  export const TaContrast: Icon;
125
- export const TaSortUpCl: Icon;
126
- export const TaSortDownCl: Icon;
126
+ export const TaIndex: Icon;
127
+ export const TaSortUp: Icon;
128
+ export const TaSortDown: Icon;
127
129
  export const TaOperatorEqual: Icon;
128
130
  export const TaOperatorUnequal: Icon;
129
131
  export const TaOperatorDivide: Icon;
@@ -245,8 +247,10 @@ export const TaUpdate: Icon;
245
247
  export const TaRename: Icon;
246
248
  export const TaPlayCircle: Icon;
247
249
  export const TaPauseCircle: Icon;
248
- export const TaUpload: Icon;
249
250
  export const TaUpdateData: Icon;
251
+ export const TaUpload: Icon;
252
+ export const TaClick: Icon;
253
+ export const TaInstall: Icon;
250
254
  export const TaReport: Icon;
251
255
  export const TaReportRemoval: Icon;
252
256
  export const TaFileAdd: Icon;
@@ -0,0 +1,74 @@
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 Click = function Click(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
+ d: "M10.5 1a.84.84 0 01.589.24.816.816 0 01.244.582V4.56a.816.816 0 01-.244.581.84.84 0 01-1.179 0 .816.816 0 01-.244-.58V1.82c0-.217.088-.426.244-.58A.84.84 0 0110.5 1zM5.189 3.158a.84.84 0 011.178 0L8.31 5.075a.822.822 0 01.265.587.811.811 0 01-.244.595.834.834 0 01-.604.24.843.843 0 01-.595-.26L5.19 4.318a.816.816 0 010-1.16zm10.622 0a.816.816 0 010 1.161l-1.945 1.917a.831.831 0 01-.595.262.844.844 0 01-.604-.24.821.821 0 01-.244-.596.813.813 0 01.265-.587l1.945-1.917a.84.84 0 011.178 0zM3 8.394c0-.217.088-.426.244-.58a.84.84 0 01.59-.241H6.61a.84.84 0 01.59.24.816.816 0 010 1.162.84.84 0 01-.59.241H3.833a.84.84 0 01-.589-.24A.816.816 0 013 8.393zm9.085-.289c-.95-.804-2.419-.138-2.419 1.097v12.35c0 1.326 1.661 1.952 2.558.964l2.904-3.202a1.709 1.709 0 011.197-.555l4.266-.17c1.33-.052 1.906-1.685.895-2.54l-9.4-7.944zm-.752 12.928v-11.4l8.68 7.336-3.756.147c-.45.018-.891.125-1.298.315-.407.189-.772.457-1.072.788l-2.554 2.814z"
59
+ })));
60
+ };
61
+
62
+ Click.propTypes = {
63
+ iconClassName: _propTypes["default"].string,
64
+ spin: _propTypes["default"].bool,
65
+ color: _propTypes["default"].string,
66
+ size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
67
+ };
68
+ Click.defaultProps = {
69
+ spin: false,
70
+ color: 'currentColor',
71
+ size: '16'
72
+ };
73
+ var _default = Click;
74
+ exports["default"] = _default;