@tant/icons 1.20.18 → 1.20.26
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/{Copywriting- AI-cl.js → Copywriting-AI-cl.js} +2 -2
- package/dist/es/icons/Dashboard-AI-cl.js +2 -2
- package/dist/es/icons/Dashboard-Generate-cl.js +20 -20
- package/dist/es/icons/Drill-down.js +1 -1
- package/dist/es/icons/calendar-check.js +63 -0
- package/dist/es/icons/heat.js +65 -0
- package/dist/es/index.js +6 -4
- package/dist/index.d.ts +3 -1
- package/dist/lib/icons/{Copywriting- AI-cl.js → Copywriting-AI-cl.js} +2 -2
- package/dist/lib/icons/Dashboard-AI-cl.js +2 -2
- package/dist/lib/icons/Dashboard-Generate-cl.js +20 -20
- package/dist/lib/icons/Drill-down.js +1 -1
- package/dist/lib/icons/calendar-check.js +70 -0
- package/dist/lib/icons/heat.js +72 -0
- package/dist/lib/index.js +17 -3
- package/dist/tant-icons.cjs.js +1686 -1578
- package/dist/tant-icons.esm.js +1685 -1579
- package/package.json +1 -1
- /package/dist/es/icons/{Report- Reading-cl.js → Report-Reading-cl.js} +0 -0
- /package/dist/lib/icons/{Report- Reading-cl.js → Report-Reading-cl.js} +0 -0
|
@@ -47,9 +47,9 @@ var CopywritingAiCl = function CopywritingAiCl(props) {
|
|
|
47
47
|
xmlns: "http://www.w3.org/2000/svg"
|
|
48
48
|
}, /*#__PURE__*/React.createElement("path", {
|
|
49
49
|
d: "M16.628 2C18.486 2 19.5 3.026 19.5 4.884v.67c0 .569-.174 1.03-.8 1.031-.428 0-.77-.462-.77-1.031v-.67c0-.72-.583-1.302-1.302-1.302H4.962c-.719 0-1.302.583-1.302 1.302v14.232c0 .72.621 1.184 1.34 1.184h12.5c.57 0 .8.565.8 1 0 .358-.23.7-.8.7H5c-1.858 0-3-1.026-3-2.884V4.884C2 3.026 3.104 2 4.962 2h11.666zm-.424 8c.063 0 .085.021.106.085l2.603 8.799c.02.073 0 .105-.075.105h-1.36c-.075 0-.106-.021-.127-.074l-.68-2.45c.009.012-2.587 0-2.613 0l-.649 2.45c-.02.074-.042.085-.127.085h-1.19c-.084 0-.106-.021-.084-.127l2.326-8.11c.042-.137.074-.276.085-.678 0-.064.021-.085.074-.085h1.711zm5.29.07c.074 0 .105.028.106.142v8.645c0 .1-.02.143-.106.143H20.22c-.085 0-.107-.057-.107-.143l-.01-8.645.005-.064c.01-.054.038-.079.102-.079h1.285zM8.202 15.204a.89.89 0 01.895.883.89.89 0 01-.896.884H6.493a.89.89 0 01-.893-.884.89.89 0 01.894-.883h1.708zm7.13-3.89c-.17.954-.605 2.565-.955 3.827h1.954c-.223-.902-.764-2.873-.977-3.827h-.022zm-5.214-.713c.496 0 .895.394.896.883a.89.89 0 01-.896.884H6.494a.89.89 0 01-.894-.884c0-.487.402-.883.894-.883h3.624zM14.078 6a.89.89 0 01.894.884c0 .487-.4.883-.894.883H6.494a.89.89 0 01-.894-.883A.89.89 0 016.494 6h7.584z",
|
|
50
|
-
fill: "url(#
|
|
50
|
+
fill: "url(#paint0_linear_10608_46)"
|
|
51
51
|
}), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
52
|
-
id: "
|
|
52
|
+
id: "paint0_linear_10608_46",
|
|
53
53
|
x1: "2",
|
|
54
54
|
y1: "12",
|
|
55
55
|
x2: "22.157",
|
|
@@ -49,9 +49,9 @@ var DashboardAiCl = function DashboardAiCl(props) {
|
|
|
49
49
|
fillRule: "evenodd",
|
|
50
50
|
clipRule: "evenodd",
|
|
51
51
|
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",
|
|
52
|
-
fill: "url(#
|
|
52
|
+
fill: "url(#paint0_linear_10608_51)"
|
|
53
53
|
}), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
54
|
-
id: "
|
|
54
|
+
id: "paint0_linear_10608_51",
|
|
55
55
|
x1: "4.151",
|
|
56
56
|
y1: "-13.743",
|
|
57
57
|
x2: "19.694",
|
|
@@ -48,28 +48,28 @@ var DashboardGenerateCl = function DashboardGenerateCl(props) {
|
|
|
48
48
|
}, /*#__PURE__*/React.createElement("path", {
|
|
49
49
|
fillRule: "evenodd",
|
|
50
50
|
clipRule: "evenodd",
|
|
51
|
-
d: "M10 16a1 1 0 011
|
|
52
|
-
fill: "url(#
|
|
51
|
+
d: "M10 16a1 1 0 011 1v4l-.005.102a1 1 0 01-.893.893L10 22H3l-.103-.005a1 1 0 01-.892-.893L2 21v-4a1 1 0 011-1h7zm-6.2 4.2h5.4v-2.4H3.8v2.4z",
|
|
52
|
+
fill: "url(#paint0_linear_10611_16)"
|
|
53
53
|
}), /*#__PURE__*/React.createElement("path", {
|
|
54
54
|
fillRule: "evenodd",
|
|
55
55
|
clipRule: "evenodd",
|
|
56
|
-
d: "
|
|
57
|
-
fill: "url(#
|
|
56
|
+
d: "M21 11.2a1 1 0 011 1V21a1 1 0 01-.898.995L21 22h-7l-.102-.005A1 1 0 0113 21v-8.8a1 1 0 011-1h7zm-6.2 9h5.4V13h-5.4v7.2z",
|
|
57
|
+
fill: "url(#paint1_linear_10611_16)"
|
|
58
58
|
}), /*#__PURE__*/React.createElement("path", {
|
|
59
59
|
fillRule: "evenodd",
|
|
60
60
|
clipRule: "evenodd",
|
|
61
|
-
d: "M10
|
|
62
|
-
fill: "url(#
|
|
61
|
+
d: "M10 2a1 1 0 011 1v10a1 1 0 01-.898.995L10 14H3l-.103-.005a1 1 0 01-.892-.893L2 13V3a1 1 0 011-1h7zM3.8 12.2h5.4V3.8H3.8v8.4z",
|
|
62
|
+
fill: "url(#paint2_linear_10611_16)"
|
|
63
63
|
}), /*#__PURE__*/React.createElement("path", {
|
|
64
64
|
fillRule: "evenodd",
|
|
65
65
|
clipRule: "evenodd",
|
|
66
|
-
d: "
|
|
67
|
-
fill: "url(#
|
|
66
|
+
d: "M21 2a1 1 0 011 1v5a1 1 0 01-1 1h-7a1 1 0 01-1-1V3a1 1 0 011-1h7z",
|
|
67
|
+
fill: "url(#paint3_linear_10611_16)"
|
|
68
68
|
}), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
69
|
-
id: "
|
|
70
|
-
x1: "
|
|
69
|
+
id: "paint0_linear_10611_16",
|
|
70
|
+
x1: "2",
|
|
71
71
|
y1: "12",
|
|
72
|
-
x2: "
|
|
72
|
+
x2: "22.568",
|
|
73
73
|
y2: "12",
|
|
74
74
|
gradientUnits: "userSpaceOnUse"
|
|
75
75
|
}, /*#__PURE__*/React.createElement("stop", {
|
|
@@ -81,10 +81,10 @@ var DashboardGenerateCl = function DashboardGenerateCl(props) {
|
|
|
81
81
|
offset: ".965",
|
|
82
82
|
stopColor: "#1E76F0"
|
|
83
83
|
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
84
|
-
id: "
|
|
85
|
-
x1: "
|
|
84
|
+
id: "paint1_linear_10611_16",
|
|
85
|
+
x1: "2",
|
|
86
86
|
y1: "12",
|
|
87
|
-
x2: "
|
|
87
|
+
x2: "22.568",
|
|
88
88
|
y2: "12",
|
|
89
89
|
gradientUnits: "userSpaceOnUse"
|
|
90
90
|
}, /*#__PURE__*/React.createElement("stop", {
|
|
@@ -96,10 +96,10 @@ var DashboardGenerateCl = function DashboardGenerateCl(props) {
|
|
|
96
96
|
offset: ".965",
|
|
97
97
|
stopColor: "#1E76F0"
|
|
98
98
|
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
99
|
-
id: "
|
|
100
|
-
x1: "
|
|
99
|
+
id: "paint2_linear_10611_16",
|
|
100
|
+
x1: "2",
|
|
101
101
|
y1: "12",
|
|
102
|
-
x2: "
|
|
102
|
+
x2: "22.568",
|
|
103
103
|
y2: "12",
|
|
104
104
|
gradientUnits: "userSpaceOnUse"
|
|
105
105
|
}, /*#__PURE__*/React.createElement("stop", {
|
|
@@ -111,10 +111,10 @@ var DashboardGenerateCl = function DashboardGenerateCl(props) {
|
|
|
111
111
|
offset: ".965",
|
|
112
112
|
stopColor: "#1E76F0"
|
|
113
113
|
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
114
|
-
id: "
|
|
115
|
-
x1: "
|
|
114
|
+
id: "paint3_linear_10611_16",
|
|
115
|
+
x1: "2",
|
|
116
116
|
y1: "12",
|
|
117
|
-
x2: "
|
|
117
|
+
x2: "22.568",
|
|
118
118
|
y2: "12",
|
|
119
119
|
gradientUnits: "userSpaceOnUse"
|
|
120
120
|
}, /*#__PURE__*/React.createElement("stop", {
|
|
@@ -45,7 +45,7 @@ var DrillDown = function DrillDown(props) {
|
|
|
45
45
|
height: "24",
|
|
46
46
|
xmlns: "http://www.w3.org/2000/svg"
|
|
47
47
|
}, /*#__PURE__*/React.createElement("path", {
|
|
48
|
-
d: "M9.023 6.386l.537.723a.2.2 0 01.003.234l-.045.046-2.842 2.108 5.415 3.148 5.
|
|
48
|
+
d: "M9.023 6.386l.537.723a.2.2 0 01.003.234l-.045.046-2.842 2.108 5.415 3.148 5.258-3.15-2.74-2.11a.2.2 0 01-.066-.225l.03-.056.55-.713a.2.2 0 01.28-.036L18.9 9.049a.65.65 0 01-.063 1.072l-6.403 3.838a.65.65 0 01-.662.005l-6.6-3.837a.65.65 0 01-.06-1.084l3.632-2.697a.2.2 0 01.28.04zm3.463-1.737c.11 0 .2.09.2.2v5.8a.2.2 0 01-.2.2h-.9a.2.2 0 01-.2-.2v-5.8c0-.11.09-.2.2-.2h.9zm0 10.425c.11 0 .2.09.2.2v1.81l1.871-1.863a.2.2 0 01.284 0l.635.639a.202.202 0 01.043.218.2.2 0 01-.043.065l-3.033 3.019a.65.65 0 01-.918-.001l-3.019-3.02a.2.2 0 010-.282l.637-.636a.2.2 0 01.23-.038l.053.038 1.96 1.96v-1.91a.2.2 0 01.148-.192l.052-.007h.9z"
|
|
49
49
|
}))));
|
|
50
50
|
};
|
|
51
51
|
DrillDown.propTypes = {
|
|
@@ -0,0 +1,63 @@
|
|
|
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 CalendarCheck = function CalendarCheck(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: "M9 1v2h6V1h2v2h4a1 1 0 011 1v16a1 1 0 01-1 1H3a1 1 0 01-1-1V4a1 1 0 011-1h4V1h2zm11 9H4v9h16v-9zm-4.964 1.136l1.414 1.414-4.95 4.95-3.536-3.536L9.38 12.55l2.121 2.122 3.536-3.536zM7 5H4v3h16V5h-3v1h-2V5H9v1H7V5z"
|
|
49
|
+
}))));
|
|
50
|
+
};
|
|
51
|
+
CalendarCheck.propTypes = {
|
|
52
|
+
iconClassName: PropTypes.string,
|
|
53
|
+
spin: PropTypes.bool,
|
|
54
|
+
color: PropTypes.string,
|
|
55
|
+
testid: PropTypes.string,
|
|
56
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
57
|
+
};
|
|
58
|
+
CalendarCheck.defaultProps = {
|
|
59
|
+
spin: false,
|
|
60
|
+
color: 'currentColor',
|
|
61
|
+
size: '1em'
|
|
62
|
+
};
|
|
63
|
+
export default CalendarCheck;
|
|
@@ -0,0 +1,65 @@
|
|
|
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 Heat = function Heat(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
|
+
fillRule: "evenodd",
|
|
49
|
+
clipRule: "evenodd",
|
|
50
|
+
d: "M9.5 2c.48 0 3.384 1.625 4.563 4.375 1.141 2.665.598 4.038.905 4.121L15 10.5c.671 0 1.232-1.939 1.427-2.7.036-.14.202-.199.312-.105C17.53 8.371 20 10.745 20 14l-.01.412A8 8 0 0112 22l-.412-.01A8 8 0 014 14c0-1.085.156-3.165 2.855-5.691l.27-.246C10 5.5 8.91 2 9.5 2zm1.46 3.347c-.317 1.316-.995 2.864-2.504 4.209-1.283 1.143-1.868 2.103-2.15 2.796A4.127 4.127 0 006 14a6 6 0 0012 0c0-1.026-.363-1.962-.83-2.741a3.89 3.89 0 01-.11.151c-.233.3-.914 1.09-2.06 1.09a2.104 2.104 0 01-1.89-1.175c-.21-.42-.235-.83-.243-.927-.012-.155-.015-.33-.017-.432a10.265 10.265 0 00-.014-.38c-.03-.497-.128-1.295-.611-2.423-.292-.68-.752-1.295-1.264-1.816z"
|
|
51
|
+
}))));
|
|
52
|
+
};
|
|
53
|
+
Heat.propTypes = {
|
|
54
|
+
iconClassName: PropTypes.string,
|
|
55
|
+
spin: PropTypes.bool,
|
|
56
|
+
color: PropTypes.string,
|
|
57
|
+
testid: PropTypes.string,
|
|
58
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
59
|
+
};
|
|
60
|
+
Heat.defaultProps = {
|
|
61
|
+
spin: false,
|
|
62
|
+
color: 'currentColor',
|
|
63
|
+
size: '1em'
|
|
64
|
+
};
|
|
65
|
+
export default Heat;
|
package/dist/es/index.js
CHANGED
|
@@ -32,8 +32,8 @@ export { default as TaBiVendorFillCl } from './icons/bi-vendor-fill-cl';
|
|
|
32
32
|
export { default as TaDataOpsAiCl } from './icons/DataOps-AI-cl';
|
|
33
33
|
export { default as TaEngageAiCl } from './icons/Engage-AI-cl';
|
|
34
34
|
export { default as TaDashboardReadingCl } from './icons/Dashboard-Reading-cl';
|
|
35
|
-
export { default as TaReportReadingCl } from './icons/Report-
|
|
36
|
-
export { default as TaCopywritingAiCl } from './icons/Copywriting-
|
|
35
|
+
export { default as TaReportReadingCl } from './icons/Report-Reading-cl';
|
|
36
|
+
export { default as TaCopywritingAiCl } from './icons/Copywriting-AI-cl';
|
|
37
37
|
export { default as TaDashboardAiCl } from './icons/Dashboard-AI-cl';
|
|
38
38
|
export { default as TaDashboardGenerateCl } from './icons/Dashboard-Generate-cl';
|
|
39
39
|
export { default as TaFlagCn } from './icons/flag-cn';
|
|
@@ -143,6 +143,7 @@ export { default as TaAlignLegendRight } from './icons/align-legend-right';
|
|
|
143
143
|
export { default as TaLineCircle } from './icons/line-circle';
|
|
144
144
|
export { default as TaLineDiamond } from './icons/line-diamond';
|
|
145
145
|
export { default as TaLineSquare } from './icons/line-square';
|
|
146
|
+
export { default as TaDrillDown } from './icons/Drill-down';
|
|
146
147
|
export { default as TaOperatorEqual } from './icons/operator-equal';
|
|
147
148
|
export { default as TaOperatorUnequal } from './icons/operator-unequal';
|
|
148
149
|
export { default as TaOperatorDivide } from './icons/operator-divide';
|
|
@@ -303,7 +304,7 @@ export { default as TaArrowExpand } from './icons/arrow-expand';
|
|
|
303
304
|
export { default as TaArrowClose } from './icons/arrow-close';
|
|
304
305
|
export { default as TaTranslation } from './icons/translation';
|
|
305
306
|
export { default as TaManualVerification } from './icons/manual-verification';
|
|
306
|
-
export { default as
|
|
307
|
+
export { default as TaHeat } from './icons/heat';
|
|
307
308
|
export { default as TaFontSize } from './icons/font-size';
|
|
308
309
|
export { default as TaFontBold } from './icons/font-bold';
|
|
309
310
|
export { default as TaFontItalic } from './icons/font- italic';
|
|
@@ -530,4 +531,5 @@ export { default as TaTerminal } from './icons/terminal';
|
|
|
530
531
|
export { default as TaSatelliteDish } from './icons/satellite-dish';
|
|
531
532
|
export { default as TaPost } from './icons/post';
|
|
532
533
|
export { default as TaPhrase } from './icons/phrase';
|
|
533
|
-
export { default as TaHashtag } from './icons/hashtag';
|
|
534
|
+
export { default as TaHashtag } from './icons/hashtag';
|
|
535
|
+
export { default as TaCalendarCheck } from './icons/calendar-check';
|
package/dist/index.d.ts
CHANGED
|
@@ -155,6 +155,7 @@ export const TaAlignLegendRight: Icon;
|
|
|
155
155
|
export const TaLineCircle: Icon;
|
|
156
156
|
export const TaLineDiamond: Icon;
|
|
157
157
|
export const TaLineSquare: Icon;
|
|
158
|
+
export const TaDrillDown: Icon;
|
|
158
159
|
export const TaOperatorEqual: Icon;
|
|
159
160
|
export const TaOperatorUnequal: Icon;
|
|
160
161
|
export const TaOperatorDivide: Icon;
|
|
@@ -315,7 +316,7 @@ export const TaArrowExpand: Icon;
|
|
|
315
316
|
export const TaArrowClose: Icon;
|
|
316
317
|
export const TaTranslation: Icon;
|
|
317
318
|
export const TaManualVerification: Icon;
|
|
318
|
-
export const
|
|
319
|
+
export const TaHeat: Icon;
|
|
319
320
|
export const TaFontSize: Icon;
|
|
320
321
|
export const TaFontBold: Icon;
|
|
321
322
|
export const TaFontItalic: Icon;
|
|
@@ -543,3 +544,4 @@ export const TaSatelliteDish: Icon;
|
|
|
543
544
|
export const TaPost: Icon;
|
|
544
545
|
export const TaPhrase: Icon;
|
|
545
546
|
export const TaHashtag: Icon;
|
|
547
|
+
export const TaCalendarCheck: Icon;
|
|
@@ -54,9 +54,9 @@ var CopywritingAiCl = function CopywritingAiCl(props) {
|
|
|
54
54
|
xmlns: "http://www.w3.org/2000/svg"
|
|
55
55
|
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
56
56
|
d: "M16.628 2C18.486 2 19.5 3.026 19.5 4.884v.67c0 .569-.174 1.03-.8 1.031-.428 0-.77-.462-.77-1.031v-.67c0-.72-.583-1.302-1.302-1.302H4.962c-.719 0-1.302.583-1.302 1.302v14.232c0 .72.621 1.184 1.34 1.184h12.5c.57 0 .8.565.8 1 0 .358-.23.7-.8.7H5c-1.858 0-3-1.026-3-2.884V4.884C2 3.026 3.104 2 4.962 2h11.666zm-.424 8c.063 0 .085.021.106.085l2.603 8.799c.02.073 0 .105-.075.105h-1.36c-.075 0-.106-.021-.127-.074l-.68-2.45c.009.012-2.587 0-2.613 0l-.649 2.45c-.02.074-.042.085-.127.085h-1.19c-.084 0-.106-.021-.084-.127l2.326-8.11c.042-.137.074-.276.085-.678 0-.064.021-.085.074-.085h1.711zm5.29.07c.074 0 .105.028.106.142v8.645c0 .1-.02.143-.106.143H20.22c-.085 0-.107-.057-.107-.143l-.01-8.645.005-.064c.01-.054.038-.079.102-.079h1.285zM8.202 15.204a.89.89 0 01.895.883.89.89 0 01-.896.884H6.493a.89.89 0 01-.893-.884.89.89 0 01.894-.883h1.708zm7.13-3.89c-.17.954-.605 2.565-.955 3.827h1.954c-.223-.902-.764-2.873-.977-3.827h-.022zm-5.214-.713c.496 0 .895.394.896.883a.89.89 0 01-.896.884H6.494a.89.89 0 01-.894-.884c0-.487.402-.883.894-.883h3.624zM14.078 6a.89.89 0 01.894.884c0 .487-.4.883-.894.883H6.494a.89.89 0 01-.894-.883A.89.89 0 016.494 6h7.584z",
|
|
57
|
-
fill: "url(#
|
|
57
|
+
fill: "url(#paint0_linear_10608_46)"
|
|
58
58
|
}), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("linearGradient", {
|
|
59
|
-
id: "
|
|
59
|
+
id: "paint0_linear_10608_46",
|
|
60
60
|
x1: "2",
|
|
61
61
|
y1: "12",
|
|
62
62
|
x2: "22.157",
|
|
@@ -56,9 +56,9 @@ var DashboardAiCl = function DashboardAiCl(props) {
|
|
|
56
56
|
fillRule: "evenodd",
|
|
57
57
|
clipRule: "evenodd",
|
|
58
58
|
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",
|
|
59
|
-
fill: "url(#
|
|
59
|
+
fill: "url(#paint0_linear_10608_51)"
|
|
60
60
|
}), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("linearGradient", {
|
|
61
|
-
id: "
|
|
61
|
+
id: "paint0_linear_10608_51",
|
|
62
62
|
x1: "4.151",
|
|
63
63
|
y1: "-13.743",
|
|
64
64
|
x2: "19.694",
|
|
@@ -55,28 +55,28 @@ var DashboardGenerateCl = function DashboardGenerateCl(props) {
|
|
|
55
55
|
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
56
56
|
fillRule: "evenodd",
|
|
57
57
|
clipRule: "evenodd",
|
|
58
|
-
d: "M10 16a1 1 0 011
|
|
59
|
-
fill: "url(#
|
|
58
|
+
d: "M10 16a1 1 0 011 1v4l-.005.102a1 1 0 01-.893.893L10 22H3l-.103-.005a1 1 0 01-.892-.893L2 21v-4a1 1 0 011-1h7zm-6.2 4.2h5.4v-2.4H3.8v2.4z",
|
|
59
|
+
fill: "url(#paint0_linear_10611_16)"
|
|
60
60
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
61
61
|
fillRule: "evenodd",
|
|
62
62
|
clipRule: "evenodd",
|
|
63
|
-
d: "
|
|
64
|
-
fill: "url(#
|
|
63
|
+
d: "M21 11.2a1 1 0 011 1V21a1 1 0 01-.898.995L21 22h-7l-.102-.005A1 1 0 0113 21v-8.8a1 1 0 011-1h7zm-6.2 9h5.4V13h-5.4v7.2z",
|
|
64
|
+
fill: "url(#paint1_linear_10611_16)"
|
|
65
65
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
66
66
|
fillRule: "evenodd",
|
|
67
67
|
clipRule: "evenodd",
|
|
68
|
-
d: "M10
|
|
69
|
-
fill: "url(#
|
|
68
|
+
d: "M10 2a1 1 0 011 1v10a1 1 0 01-.898.995L10 14H3l-.103-.005a1 1 0 01-.892-.893L2 13V3a1 1 0 011-1h7zM3.8 12.2h5.4V3.8H3.8v8.4z",
|
|
69
|
+
fill: "url(#paint2_linear_10611_16)"
|
|
70
70
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
71
71
|
fillRule: "evenodd",
|
|
72
72
|
clipRule: "evenodd",
|
|
73
|
-
d: "
|
|
74
|
-
fill: "url(#
|
|
73
|
+
d: "M21 2a1 1 0 011 1v5a1 1 0 01-1 1h-7a1 1 0 01-1-1V3a1 1 0 011-1h7z",
|
|
74
|
+
fill: "url(#paint3_linear_10611_16)"
|
|
75
75
|
}), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("linearGradient", {
|
|
76
|
-
id: "
|
|
77
|
-
x1: "
|
|
76
|
+
id: "paint0_linear_10611_16",
|
|
77
|
+
x1: "2",
|
|
78
78
|
y1: "12",
|
|
79
|
-
x2: "
|
|
79
|
+
x2: "22.568",
|
|
80
80
|
y2: "12",
|
|
81
81
|
gradientUnits: "userSpaceOnUse"
|
|
82
82
|
}, /*#__PURE__*/_react["default"].createElement("stop", {
|
|
@@ -88,10 +88,10 @@ var DashboardGenerateCl = function DashboardGenerateCl(props) {
|
|
|
88
88
|
offset: ".965",
|
|
89
89
|
stopColor: "#1E76F0"
|
|
90
90
|
})), /*#__PURE__*/_react["default"].createElement("linearGradient", {
|
|
91
|
-
id: "
|
|
92
|
-
x1: "
|
|
91
|
+
id: "paint1_linear_10611_16",
|
|
92
|
+
x1: "2",
|
|
93
93
|
y1: "12",
|
|
94
|
-
x2: "
|
|
94
|
+
x2: "22.568",
|
|
95
95
|
y2: "12",
|
|
96
96
|
gradientUnits: "userSpaceOnUse"
|
|
97
97
|
}, /*#__PURE__*/_react["default"].createElement("stop", {
|
|
@@ -103,10 +103,10 @@ var DashboardGenerateCl = function DashboardGenerateCl(props) {
|
|
|
103
103
|
offset: ".965",
|
|
104
104
|
stopColor: "#1E76F0"
|
|
105
105
|
})), /*#__PURE__*/_react["default"].createElement("linearGradient", {
|
|
106
|
-
id: "
|
|
107
|
-
x1: "
|
|
106
|
+
id: "paint2_linear_10611_16",
|
|
107
|
+
x1: "2",
|
|
108
108
|
y1: "12",
|
|
109
|
-
x2: "
|
|
109
|
+
x2: "22.568",
|
|
110
110
|
y2: "12",
|
|
111
111
|
gradientUnits: "userSpaceOnUse"
|
|
112
112
|
}, /*#__PURE__*/_react["default"].createElement("stop", {
|
|
@@ -118,10 +118,10 @@ var DashboardGenerateCl = function DashboardGenerateCl(props) {
|
|
|
118
118
|
offset: ".965",
|
|
119
119
|
stopColor: "#1E76F0"
|
|
120
120
|
})), /*#__PURE__*/_react["default"].createElement("linearGradient", {
|
|
121
|
-
id: "
|
|
122
|
-
x1: "
|
|
121
|
+
id: "paint3_linear_10611_16",
|
|
122
|
+
x1: "2",
|
|
123
123
|
y1: "12",
|
|
124
|
-
x2: "
|
|
124
|
+
x2: "22.568",
|
|
125
125
|
y2: "12",
|
|
126
126
|
gradientUnits: "userSpaceOnUse"
|
|
127
127
|
}, /*#__PURE__*/_react["default"].createElement("stop", {
|
|
@@ -52,7 +52,7 @@ var DrillDown = function DrillDown(props) {
|
|
|
52
52
|
height: "24",
|
|
53
53
|
xmlns: "http://www.w3.org/2000/svg"
|
|
54
54
|
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
55
|
-
d: "M9.023 6.386l.537.723a.2.2 0 01.003.234l-.045.046-2.842 2.108 5.415 3.148 5.
|
|
55
|
+
d: "M9.023 6.386l.537.723a.2.2 0 01.003.234l-.045.046-2.842 2.108 5.415 3.148 5.258-3.15-2.74-2.11a.2.2 0 01-.066-.225l.03-.056.55-.713a.2.2 0 01.28-.036L18.9 9.049a.65.65 0 01-.063 1.072l-6.403 3.838a.65.65 0 01-.662.005l-6.6-3.837a.65.65 0 01-.06-1.084l3.632-2.697a.2.2 0 01.28.04zm3.463-1.737c.11 0 .2.09.2.2v5.8a.2.2 0 01-.2.2h-.9a.2.2 0 01-.2-.2v-5.8c0-.11.09-.2.2-.2h.9zm0 10.425c.11 0 .2.09.2.2v1.81l1.871-1.863a.2.2 0 01.284 0l.635.639a.202.202 0 01.043.218.2.2 0 01-.043.065l-3.033 3.019a.65.65 0 01-.918-.001l-3.019-3.02a.2.2 0 010-.282l.637-.636a.2.2 0 01.23-.038l.053.038 1.96 1.96v-1.91a.2.2 0 01.148-.192l.052-.007h.9z"
|
|
56
56
|
}))));
|
|
57
57
|
};
|
|
58
58
|
DrillDown.propTypes = {
|
|
@@ -0,0 +1,70 @@
|
|
|
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 CalendarCheck = function CalendarCheck(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: "M9 1v2h6V1h2v2h4a1 1 0 011 1v16a1 1 0 01-1 1H3a1 1 0 01-1-1V4a1 1 0 011-1h4V1h2zm11 9H4v9h16v-9zm-4.964 1.136l1.414 1.414-4.95 4.95-3.536-3.536L9.38 12.55l2.121 2.122 3.536-3.536zM7 5H4v3h16V5h-3v1h-2V5H9v1H7V5z"
|
|
56
|
+
}))));
|
|
57
|
+
};
|
|
58
|
+
CalendarCheck.propTypes = {
|
|
59
|
+
iconClassName: _propTypes["default"].string,
|
|
60
|
+
spin: _propTypes["default"].bool,
|
|
61
|
+
color: _propTypes["default"].string,
|
|
62
|
+
testid: _propTypes["default"].string,
|
|
63
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
64
|
+
};
|
|
65
|
+
CalendarCheck.defaultProps = {
|
|
66
|
+
spin: false,
|
|
67
|
+
color: 'currentColor',
|
|
68
|
+
size: '1em'
|
|
69
|
+
};
|
|
70
|
+
var _default = exports["default"] = CalendarCheck;
|
|
@@ -0,0 +1,72 @@
|
|
|
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 Heat = function Heat(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
|
+
fillRule: "evenodd",
|
|
56
|
+
clipRule: "evenodd",
|
|
57
|
+
d: "M9.5 2c.48 0 3.384 1.625 4.563 4.375 1.141 2.665.598 4.038.905 4.121L15 10.5c.671 0 1.232-1.939 1.427-2.7.036-.14.202-.199.312-.105C17.53 8.371 20 10.745 20 14l-.01.412A8 8 0 0112 22l-.412-.01A8 8 0 014 14c0-1.085.156-3.165 2.855-5.691l.27-.246C10 5.5 8.91 2 9.5 2zm1.46 3.347c-.317 1.316-.995 2.864-2.504 4.209-1.283 1.143-1.868 2.103-2.15 2.796A4.127 4.127 0 006 14a6 6 0 0012 0c0-1.026-.363-1.962-.83-2.741a3.89 3.89 0 01-.11.151c-.233.3-.914 1.09-2.06 1.09a2.104 2.104 0 01-1.89-1.175c-.21-.42-.235-.83-.243-.927-.012-.155-.015-.33-.017-.432a10.265 10.265 0 00-.014-.38c-.03-.497-.128-1.295-.611-2.423-.292-.68-.752-1.295-1.264-1.816z"
|
|
58
|
+
}))));
|
|
59
|
+
};
|
|
60
|
+
Heat.propTypes = {
|
|
61
|
+
iconClassName: _propTypes["default"].string,
|
|
62
|
+
spin: _propTypes["default"].bool,
|
|
63
|
+
color: _propTypes["default"].string,
|
|
64
|
+
testid: _propTypes["default"].string,
|
|
65
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
66
|
+
};
|
|
67
|
+
Heat.defaultProps = {
|
|
68
|
+
spin: false,
|
|
69
|
+
color: 'currentColor',
|
|
70
|
+
size: '1em'
|
|
71
|
+
};
|
|
72
|
+
var _default = exports["default"] = Heat;
|