@tant/icons 1.20.25 → 1.20.34
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/dist/es/icons/Planet-cl.js +73 -0
- package/dist/es/icons/chart- wordcloud.js +73 -0
- package/dist/es/icons/chart-trophy.js +67 -0
- package/dist/es/index.js +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/lib/icons/Planet-cl.js +80 -0
- package/dist/lib/icons/chart- wordcloud.js +80 -0
- package/dist/lib/icons/chart-trophy.js +74 -0
- package/dist/lib/index.js +21 -0
- package/dist/tant-icons.cjs.js +2178 -1995
- package/dist/tant-icons.esm.js +2176 -1996
- package/package.json +1 -1
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
|
|
3
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
10
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import PropTypes from 'prop-types';
|
|
13
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
14
|
+
var PlanetCl = function PlanetCl(props) {
|
|
15
|
+
var color = props.color,
|
|
16
|
+
size = props.size,
|
|
17
|
+
spin = props.spin,
|
|
18
|
+
style = props.style,
|
|
19
|
+
className = props.className,
|
|
20
|
+
iconClassName = props.iconClassName,
|
|
21
|
+
testid = props.testid,
|
|
22
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
23
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
24
|
+
role: "img",
|
|
25
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
26
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
27
|
+
children: loadingCircleStyle
|
|
28
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
29
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
30
|
+
width: size,
|
|
31
|
+
height: size,
|
|
32
|
+
viewBox: "0 0 24 24",
|
|
33
|
+
fill: color
|
|
34
|
+
}, otherProps, {
|
|
35
|
+
className: iconClassName,
|
|
36
|
+
"data-testid": testid,
|
|
37
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
38
|
+
animationDuration: '1s',
|
|
39
|
+
animationIterationCount: 'infinite',
|
|
40
|
+
animationName: 'loadingCircle',
|
|
41
|
+
animationTimingFunction: 'linear'
|
|
42
|
+
} : {})
|
|
43
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
44
|
+
width: "24",
|
|
45
|
+
height: "24",
|
|
46
|
+
fill: "none",
|
|
47
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
48
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
49
|
+
fillRule: "evenodd",
|
|
50
|
+
clipRule: "evenodd",
|
|
51
|
+
d: "M12 5c1.93 0 3.677.781 4.943 2.044a.9.9 0 01.296-.09c1.275-.155 2.433-.169 3.347.003.85.16 1.816.548 2.154 1.484.291.81-.046 1.605-.471 2.205a5.97 5.97 0 01-.617.725 4.013 4.013 0 00-1.103-1.453c.097-.109.181-.213.251-.312.142-.2.207-.35.234-.448a.356.356 0 00.014-.09l-.002-.012v-.003s0-.003-.002-.005a.485.485 0 00-.12-.099c-.127-.077-.341-.161-.67-.223-.525-.1-1.234-.122-2.097-.055.06.113.12.226.175.343a3.99 3.99 0 00-1.88.297 5.2 5.2 0 10-8.266 6.223c1.439-.26 3.077-.698 4.786-1.314a33.86 33.86 0 001.107-.423c.122.607.383 1.165.748 1.638a34.068 34.068 0 01-4.525 1.48 5.191 5.191 0 005.037-.93 3.99 3.99 0 001.68.893A6.979 6.979 0 0112 19a6.97 6.97 0 01-4.395-1.554c-.488.068-.953.118-1.392.144-1.012.06-1.937.012-2.678-.187-.711-.19-1.479-.587-1.77-1.396-.322-.892.115-1.764.62-2.406.538-.684 1.355-1.376 2.338-2.037a.895.895 0 01.302-.13A6.999 6.999 0 0112 5zm-6.846 8.464c-.61.456-1.063.88-1.354 1.25-.186.237-.281.42-.321.544a.43.43 0 00-.023.117l.001.017.002.006a.332.332 0 00.075.071c.083.06.23.132.467.196.48.129 1.188.184 2.105.129l.012-.001a6.957 6.957 0 01-.964-2.33z",
|
|
52
|
+
fill: "#7E7F80"
|
|
53
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
54
|
+
d: "M18 10a3 3 0 110 6 3 3 0 010-6z",
|
|
55
|
+
fill: "#7E7F80"
|
|
56
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
57
|
+
d: "M9.612 8.81c.89-.447 1.855-.325 2.156.273l.047.115c.191.588-.28 1.359-1.114 1.779l-.167.076c-.841.353-1.708.211-1.99-.349-.3-.598.178-1.446 1.068-1.893z",
|
|
58
|
+
fill: "#7E7F80"
|
|
59
|
+
}))));
|
|
60
|
+
};
|
|
61
|
+
PlanetCl.propTypes = {
|
|
62
|
+
iconClassName: PropTypes.string,
|
|
63
|
+
spin: PropTypes.bool,
|
|
64
|
+
color: PropTypes.string,
|
|
65
|
+
testid: PropTypes.string,
|
|
66
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
67
|
+
};
|
|
68
|
+
PlanetCl.defaultProps = {
|
|
69
|
+
spin: false,
|
|
70
|
+
color: 'currentColor',
|
|
71
|
+
size: '1em'
|
|
72
|
+
};
|
|
73
|
+
export default PlanetCl;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
|
|
3
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
10
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import PropTypes from 'prop-types';
|
|
13
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
14
|
+
var ChartWordcloud = function ChartWordcloud(props) {
|
|
15
|
+
var color = props.color,
|
|
16
|
+
size = props.size,
|
|
17
|
+
spin = props.spin,
|
|
18
|
+
style = props.style,
|
|
19
|
+
className = props.className,
|
|
20
|
+
iconClassName = props.iconClassName,
|
|
21
|
+
testid = props.testid,
|
|
22
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
23
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
24
|
+
role: "img",
|
|
25
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
26
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
27
|
+
children: loadingCircleStyle
|
|
28
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
29
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
30
|
+
width: size,
|
|
31
|
+
height: size,
|
|
32
|
+
viewBox: "0 0 24 24",
|
|
33
|
+
fill: color
|
|
34
|
+
}, otherProps, {
|
|
35
|
+
className: iconClassName,
|
|
36
|
+
"data-testid": testid,
|
|
37
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
38
|
+
animationDuration: '1s',
|
|
39
|
+
animationIterationCount: 'infinite',
|
|
40
|
+
animationName: 'loadingCircle',
|
|
41
|
+
animationTimingFunction: 'linear'
|
|
42
|
+
} : {})
|
|
43
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
44
|
+
width: "24",
|
|
45
|
+
height: "24",
|
|
46
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
47
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
48
|
+
d: "M12 13a1 1 0 110 2H7a1 1 0 110-2h5z"
|
|
49
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
50
|
+
d: "M18 13a1 1 0 110 2h-2a1 1 0 110-2h2z"
|
|
51
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
52
|
+
d: "M10 9a1 1 0 110 2H9a1 1 0 110-2h1z"
|
|
53
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
54
|
+
d: "M16 9a1 1 0 110 2h-2a1 1 0 110-2h2z"
|
|
55
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
56
|
+
fillRule: "evenodd",
|
|
57
|
+
clipRule: "evenodd",
|
|
58
|
+
d: "M14.083 4c3.28 0 6.016 2.422 6.374 5.58C21.97 10.454 23 12.07 23 13.936 23 16.758 20.663 19 17.833 19H6.167C3.337 19 1 16.757 1 13.937c0-2.271 1.52-4.17 3.587-4.82.678-2.04 2.633-3.492 4.913-3.492.09 0 .179.005.268.01A6.474 6.474 0 0114.083 4zm0 2c-1.28 0-2.427.528-3.231 1.364l-.358.371-.51-.075a3.307 3.307 0 00-.484-.035c-1.569 0-2.846 1.098-3.113 2.506l-.128.675-.677.122C4.094 11.196 3 12.458 3 13.938 3 15.604 4.394 17 6.167 17h11.666C19.606 17 21 15.605 21 13.937c0-1.24-.766-2.324-1.894-2.804l-.6-.256-.008-.651C18.468 7.91 16.526 6 14.083 6z"
|
|
59
|
+
}))));
|
|
60
|
+
};
|
|
61
|
+
ChartWordcloud.propTypes = {
|
|
62
|
+
iconClassName: PropTypes.string,
|
|
63
|
+
spin: PropTypes.bool,
|
|
64
|
+
color: PropTypes.string,
|
|
65
|
+
testid: PropTypes.string,
|
|
66
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
67
|
+
};
|
|
68
|
+
ChartWordcloud.defaultProps = {
|
|
69
|
+
spin: false,
|
|
70
|
+
color: 'currentColor',
|
|
71
|
+
size: '1em'
|
|
72
|
+
};
|
|
73
|
+
export default ChartWordcloud;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
|
|
3
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
10
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import PropTypes from 'prop-types';
|
|
13
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
14
|
+
var ChartTrophy = function ChartTrophy(props) {
|
|
15
|
+
var color = props.color,
|
|
16
|
+
size = props.size,
|
|
17
|
+
spin = props.spin,
|
|
18
|
+
style = props.style,
|
|
19
|
+
className = props.className,
|
|
20
|
+
iconClassName = props.iconClassName,
|
|
21
|
+
testid = props.testid,
|
|
22
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
23
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
24
|
+
role: "img",
|
|
25
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
26
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
27
|
+
children: loadingCircleStyle
|
|
28
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
29
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
30
|
+
width: size,
|
|
31
|
+
height: size,
|
|
32
|
+
viewBox: "0 0 24 24",
|
|
33
|
+
fill: color
|
|
34
|
+
}, otherProps, {
|
|
35
|
+
className: iconClassName,
|
|
36
|
+
"data-testid": testid,
|
|
37
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
38
|
+
animationDuration: '1s',
|
|
39
|
+
animationIterationCount: 'infinite',
|
|
40
|
+
animationName: 'loadingCircle',
|
|
41
|
+
animationTimingFunction: 'linear'
|
|
42
|
+
} : {})
|
|
43
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
44
|
+
width: "24",
|
|
45
|
+
height: "24",
|
|
46
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
47
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
48
|
+
d: "M13 11.402h-1.384V7.313h-.038l-1.499.94V7.025L11.7 6H13v5.402z"
|
|
49
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
50
|
+
fillRule: "evenodd",
|
|
51
|
+
clipRule: "evenodd",
|
|
52
|
+
d: "M15.5 2a3 3 0 013 3v1h1.7A1.8 1.8 0 0122 7.8v.7a3.5 3.5 0 01-3.5 3.5c-.038 0-.075-.003-.112-.007-.507 2.578-2.703 4.54-5.392 4.934.002.024.004.048.004.073v3h2a1 1 0 110 2H9a1 1 0 110-2h2v-3c0-.025.001-.049.003-.073-2.689-.394-4.885-2.356-5.392-4.934A1.023 1.023 0 015.5 12 3.5 3.5 0 012 8.5v-.7A1.8 1.8 0 013.8 6h1.7V5a3 3 0 013-3h7zm-7 2a1 1 0 00-1 1v5.857C7.5 13.083 9.45 15 12 15s4.5-1.917 4.5-4.143V5a1 1 0 00-1-1h-7zm10 6A1.5 1.5 0 0020 8.5V8h-1.5v2zM4 8v.5A1.5 1.5 0 005.5 10V8H4z"
|
|
53
|
+
}))));
|
|
54
|
+
};
|
|
55
|
+
ChartTrophy.propTypes = {
|
|
56
|
+
iconClassName: PropTypes.string,
|
|
57
|
+
spin: PropTypes.bool,
|
|
58
|
+
color: PropTypes.string,
|
|
59
|
+
testid: PropTypes.string,
|
|
60
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
61
|
+
};
|
|
62
|
+
ChartTrophy.defaultProps = {
|
|
63
|
+
spin: false,
|
|
64
|
+
color: 'currentColor',
|
|
65
|
+
size: '1em'
|
|
66
|
+
};
|
|
67
|
+
export default ChartTrophy;
|
package/dist/es/index.js
CHANGED
|
@@ -35,6 +35,7 @@ export { default as TaDashboardReadingCl } from './icons/Dashboard-Reading-cl';
|
|
|
35
35
|
export { default as TaReportReadingCl } from './icons/Report-Reading-cl';
|
|
36
36
|
export { default as TaCopywritingAiCl } from './icons/Copywriting-AI-cl';
|
|
37
37
|
export { default as TaDashboardAiCl } from './icons/Dashboard-AI-cl';
|
|
38
|
+
export { default as TaPlanetCl } from './icons/Planet-cl';
|
|
38
39
|
export { default as TaFlagCn } from './icons/flag-cn';
|
|
39
40
|
export { default as TaFlagUs } from './icons/flag-us';
|
|
40
41
|
export { default as TaFlagJp } from './icons/flag-jp';
|
|
@@ -186,6 +187,8 @@ export { default as TaChartLineTable } from './icons/chart-line-table';
|
|
|
186
187
|
export { default as TaSqlTableView } from './icons/sql-table-view';
|
|
187
188
|
export { default as TaChartGantt } from './icons/chart-gantt ';
|
|
188
189
|
export { default as TaChartScatter } from './icons/chart-scatter';
|
|
190
|
+
export { default as TaChartWordcloud } from './icons/chart- wordcloud';
|
|
191
|
+
export { default as TaChartTrophy } from './icons/chart-trophy';
|
|
189
192
|
export { default as TaMEvent } from './icons/m-event';
|
|
190
193
|
export { default as TaMRetention } from './icons/m-retention';
|
|
191
194
|
export { default as TaMFunnel } from './icons/m-funnel';
|
package/dist/index.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ export const TaDashboardReadingCl: Icon;
|
|
|
47
47
|
export const TaReportReadingCl: Icon;
|
|
48
48
|
export const TaCopywritingAiCl: Icon;
|
|
49
49
|
export const TaDashboardAiCl: Icon;
|
|
50
|
+
export const TaPlanetCl: Icon;
|
|
50
51
|
export const TaFlagCn: Icon;
|
|
51
52
|
export const TaFlagUs: Icon;
|
|
52
53
|
export const TaFlagJp: Icon;
|
|
@@ -198,6 +199,8 @@ export const TaChartLineTable: Icon;
|
|
|
198
199
|
export const TaSqlTableView: Icon;
|
|
199
200
|
export const TaChartGantt: Icon;
|
|
200
201
|
export const TaChartScatter: Icon;
|
|
202
|
+
export const TaChartWordcloud: Icon;
|
|
203
|
+
export const TaChartTrophy: Icon;
|
|
201
204
|
export const TaMEvent: Icon;
|
|
202
205
|
export const TaMRetention: Icon;
|
|
203
206
|
export const TaMFunnel: Icon;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
12
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
13
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
19
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var PlanetCl = function PlanetCl(props) {
|
|
22
|
+
var color = props.color,
|
|
23
|
+
size = props.size,
|
|
24
|
+
spin = props.spin,
|
|
25
|
+
style = props.style,
|
|
26
|
+
className = props.className,
|
|
27
|
+
iconClassName = props.iconClassName,
|
|
28
|
+
testid = props.testid,
|
|
29
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
30
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
31
|
+
role: "img",
|
|
32
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
33
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
34
|
+
children: loadingCircleStyle
|
|
35
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
36
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
37
|
+
width: size,
|
|
38
|
+
height: size,
|
|
39
|
+
viewBox: "0 0 24 24",
|
|
40
|
+
fill: color
|
|
41
|
+
}, otherProps, {
|
|
42
|
+
className: iconClassName,
|
|
43
|
+
"data-testid": testid,
|
|
44
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
45
|
+
animationDuration: '1s',
|
|
46
|
+
animationIterationCount: 'infinite',
|
|
47
|
+
animationName: 'loadingCircle',
|
|
48
|
+
animationTimingFunction: 'linear'
|
|
49
|
+
} : {})
|
|
50
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", {
|
|
51
|
+
width: "24",
|
|
52
|
+
height: "24",
|
|
53
|
+
fill: "none",
|
|
54
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
55
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
56
|
+
fillRule: "evenodd",
|
|
57
|
+
clipRule: "evenodd",
|
|
58
|
+
d: "M12 5c1.93 0 3.677.781 4.943 2.044a.9.9 0 01.296-.09c1.275-.155 2.433-.169 3.347.003.85.16 1.816.548 2.154 1.484.291.81-.046 1.605-.471 2.205a5.97 5.97 0 01-.617.725 4.013 4.013 0 00-1.103-1.453c.097-.109.181-.213.251-.312.142-.2.207-.35.234-.448a.356.356 0 00.014-.09l-.002-.012v-.003s0-.003-.002-.005a.485.485 0 00-.12-.099c-.127-.077-.341-.161-.67-.223-.525-.1-1.234-.122-2.097-.055.06.113.12.226.175.343a3.99 3.99 0 00-1.88.297 5.2 5.2 0 10-8.266 6.223c1.439-.26 3.077-.698 4.786-1.314a33.86 33.86 0 001.107-.423c.122.607.383 1.165.748 1.638a34.068 34.068 0 01-4.525 1.48 5.191 5.191 0 005.037-.93 3.99 3.99 0 001.68.893A6.979 6.979 0 0112 19a6.97 6.97 0 01-4.395-1.554c-.488.068-.953.118-1.392.144-1.012.06-1.937.012-2.678-.187-.711-.19-1.479-.587-1.77-1.396-.322-.892.115-1.764.62-2.406.538-.684 1.355-1.376 2.338-2.037a.895.895 0 01.302-.13A6.999 6.999 0 0112 5zm-6.846 8.464c-.61.456-1.063.88-1.354 1.25-.186.237-.281.42-.321.544a.43.43 0 00-.023.117l.001.017.002.006a.332.332 0 00.075.071c.083.06.23.132.467.196.48.129 1.188.184 2.105.129l.012-.001a6.957 6.957 0 01-.964-2.33z",
|
|
59
|
+
fill: "#7E7F80"
|
|
60
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
61
|
+
d: "M18 10a3 3 0 110 6 3 3 0 010-6z",
|
|
62
|
+
fill: "#7E7F80"
|
|
63
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
64
|
+
d: "M9.612 8.81c.89-.447 1.855-.325 2.156.273l.047.115c.191.588-.28 1.359-1.114 1.779l-.167.076c-.841.353-1.708.211-1.99-.349-.3-.598.178-1.446 1.068-1.893z",
|
|
65
|
+
fill: "#7E7F80"
|
|
66
|
+
}))));
|
|
67
|
+
};
|
|
68
|
+
PlanetCl.propTypes = {
|
|
69
|
+
iconClassName: _propTypes["default"].string,
|
|
70
|
+
spin: _propTypes["default"].bool,
|
|
71
|
+
color: _propTypes["default"].string,
|
|
72
|
+
testid: _propTypes["default"].string,
|
|
73
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
74
|
+
};
|
|
75
|
+
PlanetCl.defaultProps = {
|
|
76
|
+
spin: false,
|
|
77
|
+
color: 'currentColor',
|
|
78
|
+
size: '1em'
|
|
79
|
+
};
|
|
80
|
+
var _default = exports["default"] = PlanetCl;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
12
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
13
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
19
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var ChartWordcloud = function ChartWordcloud(props) {
|
|
22
|
+
var color = props.color,
|
|
23
|
+
size = props.size,
|
|
24
|
+
spin = props.spin,
|
|
25
|
+
style = props.style,
|
|
26
|
+
className = props.className,
|
|
27
|
+
iconClassName = props.iconClassName,
|
|
28
|
+
testid = props.testid,
|
|
29
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
30
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
31
|
+
role: "img",
|
|
32
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
33
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
34
|
+
children: loadingCircleStyle
|
|
35
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
36
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
37
|
+
width: size,
|
|
38
|
+
height: size,
|
|
39
|
+
viewBox: "0 0 24 24",
|
|
40
|
+
fill: color
|
|
41
|
+
}, otherProps, {
|
|
42
|
+
className: iconClassName,
|
|
43
|
+
"data-testid": testid,
|
|
44
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
45
|
+
animationDuration: '1s',
|
|
46
|
+
animationIterationCount: 'infinite',
|
|
47
|
+
animationName: 'loadingCircle',
|
|
48
|
+
animationTimingFunction: 'linear'
|
|
49
|
+
} : {})
|
|
50
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", {
|
|
51
|
+
width: "24",
|
|
52
|
+
height: "24",
|
|
53
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
54
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
55
|
+
d: "M12 13a1 1 0 110 2H7a1 1 0 110-2h5z"
|
|
56
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
57
|
+
d: "M18 13a1 1 0 110 2h-2a1 1 0 110-2h2z"
|
|
58
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
59
|
+
d: "M10 9a1 1 0 110 2H9a1 1 0 110-2h1z"
|
|
60
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
61
|
+
d: "M16 9a1 1 0 110 2h-2a1 1 0 110-2h2z"
|
|
62
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
63
|
+
fillRule: "evenodd",
|
|
64
|
+
clipRule: "evenodd",
|
|
65
|
+
d: "M14.083 4c3.28 0 6.016 2.422 6.374 5.58C21.97 10.454 23 12.07 23 13.936 23 16.758 20.663 19 17.833 19H6.167C3.337 19 1 16.757 1 13.937c0-2.271 1.52-4.17 3.587-4.82.678-2.04 2.633-3.492 4.913-3.492.09 0 .179.005.268.01A6.474 6.474 0 0114.083 4zm0 2c-1.28 0-2.427.528-3.231 1.364l-.358.371-.51-.075a3.307 3.307 0 00-.484-.035c-1.569 0-2.846 1.098-3.113 2.506l-.128.675-.677.122C4.094 11.196 3 12.458 3 13.938 3 15.604 4.394 17 6.167 17h11.666C19.606 17 21 15.605 21 13.937c0-1.24-.766-2.324-1.894-2.804l-.6-.256-.008-.651C18.468 7.91 16.526 6 14.083 6z"
|
|
66
|
+
}))));
|
|
67
|
+
};
|
|
68
|
+
ChartWordcloud.propTypes = {
|
|
69
|
+
iconClassName: _propTypes["default"].string,
|
|
70
|
+
spin: _propTypes["default"].bool,
|
|
71
|
+
color: _propTypes["default"].string,
|
|
72
|
+
testid: _propTypes["default"].string,
|
|
73
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
74
|
+
};
|
|
75
|
+
ChartWordcloud.defaultProps = {
|
|
76
|
+
spin: false,
|
|
77
|
+
color: 'currentColor',
|
|
78
|
+
size: '1em'
|
|
79
|
+
};
|
|
80
|
+
var _default = exports["default"] = ChartWordcloud;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
12
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
13
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
19
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var ChartTrophy = function ChartTrophy(props) {
|
|
22
|
+
var color = props.color,
|
|
23
|
+
size = props.size,
|
|
24
|
+
spin = props.spin,
|
|
25
|
+
style = props.style,
|
|
26
|
+
className = props.className,
|
|
27
|
+
iconClassName = props.iconClassName,
|
|
28
|
+
testid = props.testid,
|
|
29
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
30
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
31
|
+
role: "img",
|
|
32
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
33
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
34
|
+
children: loadingCircleStyle
|
|
35
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
36
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
37
|
+
width: size,
|
|
38
|
+
height: size,
|
|
39
|
+
viewBox: "0 0 24 24",
|
|
40
|
+
fill: color
|
|
41
|
+
}, otherProps, {
|
|
42
|
+
className: iconClassName,
|
|
43
|
+
"data-testid": testid,
|
|
44
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
45
|
+
animationDuration: '1s',
|
|
46
|
+
animationIterationCount: 'infinite',
|
|
47
|
+
animationName: 'loadingCircle',
|
|
48
|
+
animationTimingFunction: 'linear'
|
|
49
|
+
} : {})
|
|
50
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", {
|
|
51
|
+
width: "24",
|
|
52
|
+
height: "24",
|
|
53
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
54
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
55
|
+
d: "M13 11.402h-1.384V7.313h-.038l-1.499.94V7.025L11.7 6H13v5.402z"
|
|
56
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
57
|
+
fillRule: "evenodd",
|
|
58
|
+
clipRule: "evenodd",
|
|
59
|
+
d: "M15.5 2a3 3 0 013 3v1h1.7A1.8 1.8 0 0122 7.8v.7a3.5 3.5 0 01-3.5 3.5c-.038 0-.075-.003-.112-.007-.507 2.578-2.703 4.54-5.392 4.934.002.024.004.048.004.073v3h2a1 1 0 110 2H9a1 1 0 110-2h2v-3c0-.025.001-.049.003-.073-2.689-.394-4.885-2.356-5.392-4.934A1.023 1.023 0 015.5 12 3.5 3.5 0 012 8.5v-.7A1.8 1.8 0 013.8 6h1.7V5a3 3 0 013-3h7zm-7 2a1 1 0 00-1 1v5.857C7.5 13.083 9.45 15 12 15s4.5-1.917 4.5-4.143V5a1 1 0 00-1-1h-7zm10 6A1.5 1.5 0 0020 8.5V8h-1.5v2zM4 8v.5A1.5 1.5 0 005.5 10V8H4z"
|
|
60
|
+
}))));
|
|
61
|
+
};
|
|
62
|
+
ChartTrophy.propTypes = {
|
|
63
|
+
iconClassName: _propTypes["default"].string,
|
|
64
|
+
spin: _propTypes["default"].bool,
|
|
65
|
+
color: _propTypes["default"].string,
|
|
66
|
+
testid: _propTypes["default"].string,
|
|
67
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
68
|
+
};
|
|
69
|
+
ChartTrophy.defaultProps = {
|
|
70
|
+
spin: false,
|
|
71
|
+
color: 'currentColor',
|
|
72
|
+
size: '1em'
|
|
73
|
+
};
|
|
74
|
+
var _default = exports["default"] = ChartTrophy;
|
package/dist/lib/index.js
CHANGED
|
@@ -525,6 +525,18 @@ Object.defineProperty(exports, "TaChartTable", {
|
|
|
525
525
|
return _chartTable["default"];
|
|
526
526
|
}
|
|
527
527
|
});
|
|
528
|
+
Object.defineProperty(exports, "TaChartTrophy", {
|
|
529
|
+
enumerable: true,
|
|
530
|
+
get: function get() {
|
|
531
|
+
return _chartTrophy["default"];
|
|
532
|
+
}
|
|
533
|
+
});
|
|
534
|
+
Object.defineProperty(exports, "TaChartWordcloud", {
|
|
535
|
+
enumerable: true,
|
|
536
|
+
get: function get() {
|
|
537
|
+
return _chartWordcloud["default"];
|
|
538
|
+
}
|
|
539
|
+
});
|
|
528
540
|
Object.defineProperty(exports, "TaClean", {
|
|
529
541
|
enumerable: true,
|
|
530
542
|
get: function get() {
|
|
@@ -2259,6 +2271,12 @@ Object.defineProperty(exports, "TaPinch", {
|
|
|
2259
2271
|
return _pinch["default"];
|
|
2260
2272
|
}
|
|
2261
2273
|
});
|
|
2274
|
+
Object.defineProperty(exports, "TaPlanetCl", {
|
|
2275
|
+
enumerable: true,
|
|
2276
|
+
get: function get() {
|
|
2277
|
+
return _PlanetCl["default"];
|
|
2278
|
+
}
|
|
2279
|
+
});
|
|
2262
2280
|
Object.defineProperty(exports, "TaPlatformAnalyticsCl", {
|
|
2263
2281
|
enumerable: true,
|
|
2264
2282
|
get: function get() {
|
|
@@ -3244,6 +3262,7 @@ var _DashboardReadingCl = _interopRequireDefault(require("./icons/Dashboard-Read
|
|
|
3244
3262
|
var _ReportReadingCl = _interopRequireDefault(require("./icons/Report-Reading-cl"));
|
|
3245
3263
|
var _CopywritingAICl = _interopRequireDefault(require("./icons/Copywriting-AI-cl"));
|
|
3246
3264
|
var _DashboardAICl = _interopRequireDefault(require("./icons/Dashboard-AI-cl"));
|
|
3265
|
+
var _PlanetCl = _interopRequireDefault(require("./icons/Planet-cl"));
|
|
3247
3266
|
var _flagCn = _interopRequireDefault(require("./icons/flag-cn"));
|
|
3248
3267
|
var _flagUs = _interopRequireDefault(require("./icons/flag-us"));
|
|
3249
3268
|
var _flagJp = _interopRequireDefault(require("./icons/flag-jp"));
|
|
@@ -3395,6 +3414,8 @@ var _chartLineTable = _interopRequireDefault(require("./icons/chart-line-table")
|
|
|
3395
3414
|
var _sqlTableView = _interopRequireDefault(require("./icons/sql-table-view"));
|
|
3396
3415
|
var _chartGantt = _interopRequireDefault(require("./icons/chart-gantt "));
|
|
3397
3416
|
var _chartScatter = _interopRequireDefault(require("./icons/chart-scatter"));
|
|
3417
|
+
var _chartWordcloud = _interopRequireDefault(require("./icons/chart- wordcloud"));
|
|
3418
|
+
var _chartTrophy = _interopRequireDefault(require("./icons/chart-trophy"));
|
|
3398
3419
|
var _mEvent = _interopRequireDefault(require("./icons/m-event"));
|
|
3399
3420
|
var _mRetention = _interopRequireDefault(require("./icons/m-retention"));
|
|
3400
3421
|
var _mFunnel = _interopRequireDefault(require("./icons/m-funnel"));
|