@tant/icons 1.21.91 → 1.21.93
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/aisql-cl.js +117 -0
- package/dist/es/icons/create.js +63 -0
- package/dist/es/icons/magic-cl.js +1 -1
- package/dist/es/icons/magic-wand-cl.js +99 -0
- package/dist/es/index.js +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/lib/icons/aisql-cl.js +124 -0
- package/dist/lib/icons/create.js +70 -0
- package/dist/lib/icons/magic-cl.js +1 -1
- package/dist/lib/icons/magic-wand-cl.js +106 -0
- package/dist/lib/index.js +22 -1
- package/dist/tant-icons.cjs.js +2544 -2295
- package/dist/tant-icons.esm.js +2542 -2296
- package/package.json +1 -1
|
@@ -0,0 +1,117 @@
|
|
|
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 AisqlCl = function AisqlCl(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
|
+
d: "M18.3 15.15l-3.606 3.677-.902-.92 2.705-2.757-2.705-2.758.902-.919L18.3 15.15zm-13.497 0l2.705 2.758-.902.919L3 15.15l3.606-3.677.902.92-2.705 2.757zM9.24 21H7.883L12.06 9.3h1.357L9.24 21z",
|
|
50
|
+
fill: "url(#paint0_linear_11723_48)"
|
|
51
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
52
|
+
d: "M16.944 8.495l.289-.658a2.542 2.542 0 011.297-1.308l.795-.351a.324.324 0 000-.59l-.77-.34a2.543 2.543 0 01-1.316-1.351l-.293-.702a.312.312 0 00-.578 0l-.293.702a2.543 2.543 0 01-1.315 1.351l-.77.34a.324.324 0 000 .59l.794.351c.578.255 1.04.722 1.297 1.308l.29.658a.312.312 0 00.573 0zm2.892 1.603l.081-.185c.145-.33.406-.594.731-.737l.25-.111a.173.173 0 000-.316l-.236-.104c-.334-.148-.6-.42-.741-.762l-.084-.2a.167.167 0 00-.31 0l-.083.2a1.434 1.434 0 01-.742.762l-.236.104a.173.173 0 000 .316l.25.11c.325.144.586.408.731.738l.081.185c.06.136.248.136.308 0z",
|
|
53
|
+
fill: "url(#paint1_linear_11723_48)"
|
|
54
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
55
|
+
d: "M16.944 8.495l.289-.658a2.542 2.542 0 011.297-1.308l.795-.351a.324.324 0 000-.59l-.77-.34a2.543 2.543 0 01-1.316-1.351l-.293-.702a.312.312 0 00-.578 0l-.293.702a2.543 2.543 0 01-1.315 1.351l-.77.34a.324.324 0 000 .59l.794.351c.578.255 1.04.722 1.297 1.308l.29.658a.312.312 0 00.573 0zm2.892 1.603l.081-.185c.145-.33.406-.594.731-.737l.25-.111a.173.173 0 000-.316l-.236-.104c-.334-.148-.6-.42-.741-.762l-.084-.2a.167.167 0 00-.31 0l-.083.2a1.434 1.434 0 01-.742.762l-.236.104a.173.173 0 000 .316l.25.11c.325.144.586.408.731.738l.081.185c.06.136.248.136.308 0z",
|
|
56
|
+
fill: "url(#paint2_linear_11723_48)",
|
|
57
|
+
fillOpacity: ".2"
|
|
58
|
+
}), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
59
|
+
id: "paint0_linear_11723_48",
|
|
60
|
+
x1: "3",
|
|
61
|
+
y1: "15.15",
|
|
62
|
+
x2: "18.735",
|
|
63
|
+
y2: "15.15",
|
|
64
|
+
gradientUnits: "userSpaceOnUse"
|
|
65
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
66
|
+
stopColor: "#1E76F0"
|
|
67
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
68
|
+
offset: ".355",
|
|
69
|
+
stopColor: "#9747FF"
|
|
70
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
71
|
+
offset: ".965",
|
|
72
|
+
stopColor: "#1E76F0"
|
|
73
|
+
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
74
|
+
id: "paint1_linear_11723_48",
|
|
75
|
+
x1: "13.796",
|
|
76
|
+
y1: "5.4",
|
|
77
|
+
x2: "21.204",
|
|
78
|
+
y2: "6.6",
|
|
79
|
+
gradientUnits: "userSpaceOnUse"
|
|
80
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
81
|
+
stopColor: "#1E76F0"
|
|
82
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
83
|
+
offset: ".355",
|
|
84
|
+
stopColor: "#9746FF"
|
|
85
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
86
|
+
offset: ".628",
|
|
87
|
+
stopColor: "#7053FF"
|
|
88
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
89
|
+
offset: ".965",
|
|
90
|
+
stopColor: "#1E76F0"
|
|
91
|
+
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
92
|
+
id: "paint2_linear_11723_48",
|
|
93
|
+
x1: "18.773",
|
|
94
|
+
y1: "3",
|
|
95
|
+
x2: "16",
|
|
96
|
+
y2: "10",
|
|
97
|
+
gradientUnits: "userSpaceOnUse"
|
|
98
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
99
|
+
stopColor: "#D8BAFF"
|
|
100
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
101
|
+
offset: "1",
|
|
102
|
+
stopColor: "#2B71EE"
|
|
103
|
+
}))))));
|
|
104
|
+
};
|
|
105
|
+
AisqlCl.propTypes = {
|
|
106
|
+
iconClassName: PropTypes.string,
|
|
107
|
+
spin: PropTypes.bool,
|
|
108
|
+
color: PropTypes.string,
|
|
109
|
+
testid: PropTypes.string,
|
|
110
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
111
|
+
};
|
|
112
|
+
AisqlCl.defaultProps = {
|
|
113
|
+
spin: false,
|
|
114
|
+
color: 'currentColor',
|
|
115
|
+
size: '1em'
|
|
116
|
+
};
|
|
117
|
+
export default AisqlCl;
|
|
@@ -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 Create = function Create(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: "M16.436 3.212a1 1 0 011.414 0l2.828 2.829a1 1 0 010 1.414L7.242 20.89H3v-4.242L16.436 3.212zM5 17.476v1.414h1.414l9.314-9.314-1.415-1.414L5 17.476zM4.53 1.319a.507.507 0 01.94 0l.254.612a4.367 4.367 0 002.25 2.326l.718.32a.53.53 0 010 .962l-.76.338a4.363 4.363 0 00-2.218 2.251l-.247.565a.506.506 0 01-.934 0l-.247-.565a4.363 4.363 0 00-2.219-2.251l-.76-.338a.53.53 0 010-.963l.718-.32a4.366 4.366 0 002.251-2.325l.253-.612zm11.198 5.43l1.415 1.413 1.414-1.414-1.414-1.414-1.415 1.414z"
|
|
49
|
+
}))));
|
|
50
|
+
};
|
|
51
|
+
Create.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
|
+
Create.defaultProps = {
|
|
59
|
+
spin: false,
|
|
60
|
+
color: 'currentColor',
|
|
61
|
+
size: '1em'
|
|
62
|
+
};
|
|
63
|
+
export default Create;
|
|
@@ -46,7 +46,7 @@ var MagicCl = function MagicCl(props) {
|
|
|
46
46
|
fill: "none",
|
|
47
47
|
xmlns: "http://www.w3.org/2000/svg"
|
|
48
48
|
}, /*#__PURE__*/React.createElement("path", {
|
|
49
|
-
d: "M5.495 6.785l3.45 1.436-1.258-3.444 1.257-3.444-3.45 1.048-3.449-1.048 1.337 3.444-1.337 3.444 3.45-1.436zm14.62-1.493l2.218.923L21.525 4l.808-2.214-2.217.674-2.218-.674.86 2.214-.86 2.214 2.218-.923zM18.969 18.56l-1.79-.745-1.79.745.694-1.787-.694-1.788 1.79.544 1.79-.544-.652 1.788.652 1.787zM15.167 6.147a1.003 1.003 0 00-1.442 0L1.64 18.213a1 1 0 000 1.44l2.
|
|
49
|
+
d: "M5.495 6.785l3.45 1.436-1.258-3.444 1.257-3.444-3.45 1.048-3.449-1.048 1.337 3.444-1.337 3.444 3.45-1.436zm14.62-1.493l2.218.923L21.525 4l.808-2.214-2.217.674-2.218-.674.86 2.214-.86 2.214 2.218-.923zM18.969 18.56l-1.79-.745-1.79.745.694-1.787-.694-1.788 1.79.544 1.79-.544-.652 1.788.652 1.787zM15.167 6.147a1.003 1.003 0 00-1.442 0L1.64 18.213a1 1 0 000 1.44l2.375 2.37a1 1 0 001.447 0l12.08-12.06a.997.997 0 000-1.445l-2.374-2.371zm-3.303 3.51l2.475-2.478 2.173 2.165-2.48 2.476-2.168-2.164z",
|
|
50
50
|
fill: "url(#paint0_linear_11657_77)"
|
|
51
51
|
}), /*#__PURE__*/React.createElement("rect", {
|
|
52
52
|
x: "14.667",
|
|
@@ -0,0 +1,99 @@
|
|
|
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 MagicWandCl = function MagicWandCl(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
|
+
d: "M15.241 9.76c-.452-.429-.743-1-.824-1.618l-.42-3.216-2.848 1.55a2.712 2.712 0 01-1.795.285l-3.188-.595.595 3.188a2.712 2.712 0 01-.285 1.795l-1.55 2.848 3.216.42c.618.08 1.189.372 1.617.824l2.23 2.355 1.394-2.929a2.712 2.712 0 011.283-1.284l2.93-1.394L15.24 9.76zm.026 5.803l-2.308 4.851a.626.626 0 01-1.02.162l-3.695-3.9a.626.626 0 00-.372-.19l-5.328-.697a.625.625 0 01-.468-.92l2.568-4.719a.626.626 0 00.065-.413l-.984-5.282a.626.626 0 01.73-.73l5.282.984a.626.626 0 00.413-.065l4.72-2.568a.625.625 0 01.919.47l.697 5.326a.626.626 0 00.19.372l3.9 3.695a.625.625 0 01-.162 1.02l-4.85 2.308a.626.626 0 00-.297.296zm.832 2.01l1.475-1.474L22 20.524 20.524 22l-4.425-4.426z",
|
|
50
|
+
fill: "url(#paint0_linear_11727_83)"
|
|
51
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
52
|
+
d: "M15.241 9.76c-.452-.429-.743-1-.824-1.618l-.42-3.216-2.848 1.55a2.712 2.712 0 01-1.795.285l-3.188-.595.595 3.188a2.712 2.712 0 01-.285 1.795l-1.55 2.848 3.216.42c.618.08 1.189.372 1.617.824l2.23 2.355 1.394-2.929a2.712 2.712 0 011.283-1.284l2.93-1.394L15.24 9.76zm.026 5.803l-2.308 4.851a.626.626 0 01-1.02.162l-3.695-3.9a.626.626 0 00-.372-.19l-5.328-.697a.625.625 0 01-.468-.92l2.568-4.719a.626.626 0 00.065-.413l-.984-5.282a.626.626 0 01.73-.73l5.282.984a.626.626 0 00.413-.065l4.72-2.568a.625.625 0 01.919.47l.697 5.326a.626.626 0 00.19.372l3.9 3.695a.625.625 0 01-.162 1.02l-4.85 2.308a.626.626 0 00-.297.296zm.832 2.01l1.475-1.474L22 20.524 20.524 22l-4.425-4.426z",
|
|
53
|
+
fill: "url(#paint1_linear_11727_83)",
|
|
54
|
+
fillOpacity: ".2"
|
|
55
|
+
}), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
56
|
+
id: "paint0_linear_11727_83",
|
|
57
|
+
x1: "2",
|
|
58
|
+
y1: "12",
|
|
59
|
+
x2: "22.568",
|
|
60
|
+
y2: "12",
|
|
61
|
+
gradientUnits: "userSpaceOnUse"
|
|
62
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
63
|
+
stopColor: "#1E76F0"
|
|
64
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
65
|
+
offset: ".258",
|
|
66
|
+
stopColor: "#8567FF"
|
|
67
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
68
|
+
offset: ".355",
|
|
69
|
+
stopColor: "#9A4CFF"
|
|
70
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
71
|
+
offset: ".965",
|
|
72
|
+
stopColor: "#1E76F0"
|
|
73
|
+
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
74
|
+
id: "paint1_linear_11727_83",
|
|
75
|
+
x1: "19.5",
|
|
76
|
+
y1: "12",
|
|
77
|
+
x2: "5.5",
|
|
78
|
+
y2: "15.5",
|
|
79
|
+
gradientUnits: "userSpaceOnUse"
|
|
80
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
81
|
+
stopColor: "#A663FF"
|
|
82
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
83
|
+
offset: "1",
|
|
84
|
+
stopColor: "#1E76F0"
|
|
85
|
+
}))))));
|
|
86
|
+
};
|
|
87
|
+
MagicWandCl.propTypes = {
|
|
88
|
+
iconClassName: PropTypes.string,
|
|
89
|
+
spin: PropTypes.bool,
|
|
90
|
+
color: PropTypes.string,
|
|
91
|
+
testid: PropTypes.string,
|
|
92
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
93
|
+
};
|
|
94
|
+
MagicWandCl.defaultProps = {
|
|
95
|
+
spin: false,
|
|
96
|
+
color: 'currentColor',
|
|
97
|
+
size: '1em'
|
|
98
|
+
};
|
|
99
|
+
export default MagicWandCl;
|
package/dist/es/index.js
CHANGED
|
@@ -29,7 +29,6 @@ export { default as TaGroupCl } from './icons/group-cl';
|
|
|
29
29
|
export { default as TaVPropCl } from './icons/v-prop-cl';
|
|
30
30
|
export { default as TaBiVendorFillCl } from './icons/bi-vendor-fill-cl';
|
|
31
31
|
export { default as TaCollectCl } from './icons/collect-cl';
|
|
32
|
-
export { default as TaMagicCl } from './icons/magic-cl';
|
|
33
32
|
export { default as TaDataOpsAiCl } from './icons/DataOps-AI-cl';
|
|
34
33
|
export { default as TaEngageAiCl } from './icons/Engage-AI-cl';
|
|
35
34
|
export { default as TaDashboardReadingCl } from './icons/Dashboard-Reading-cl';
|
|
@@ -38,6 +37,9 @@ export { default as TaCopywritingAiCl } from './icons/Copywriting-AI-cl';
|
|
|
38
37
|
export { default as TaDashboardAiCl } from './icons/Dashboard-AI-cl';
|
|
39
38
|
export { default as TaDashboardGenerateCl } from './icons/Dashboard-Generate-cl';
|
|
40
39
|
export { default as TaPlanetCl } from './icons/Planet-cl';
|
|
40
|
+
export { default as TaAisqlCl } from './icons/aisql-cl';
|
|
41
|
+
export { default as TaMagicCl } from './icons/magic-cl';
|
|
42
|
+
export { default as TaMagicWandCl } from './icons/magic-wand-cl';
|
|
41
43
|
export { default as TaFlagCn } from './icons/flag-cn';
|
|
42
44
|
export { default as TaFlagUs } from './icons/flag-us';
|
|
43
45
|
export { default as TaFlagJp } from './icons/flag-jp';
|
|
@@ -486,6 +488,7 @@ export { default as TaPaste } from './icons/paste';
|
|
|
486
488
|
export { default as TaPaste2 } from './icons/paste-2';
|
|
487
489
|
export { default as TaOpen } from './icons/open';
|
|
488
490
|
export { default as TaSnapshot } from './icons/snapshot';
|
|
491
|
+
export { default as TaCreate } from './icons/create';
|
|
489
492
|
export { default as TaInfo } from './icons/info';
|
|
490
493
|
export { default as TaInfoFill } from './icons/info-fill';
|
|
491
494
|
export { default as TaHelp } from './icons/help';
|
package/dist/index.d.ts
CHANGED
|
@@ -41,7 +41,6 @@ export const TaGroupCl: Icon;
|
|
|
41
41
|
export const TaVPropCl: Icon;
|
|
42
42
|
export const TaBiVendorFillCl: Icon;
|
|
43
43
|
export const TaCollectCl: Icon;
|
|
44
|
-
export const TaMagicCl: Icon;
|
|
45
44
|
export const TaDataOpsAiCl: Icon;
|
|
46
45
|
export const TaEngageAiCl: Icon;
|
|
47
46
|
export const TaDashboardReadingCl: Icon;
|
|
@@ -50,6 +49,9 @@ export const TaCopywritingAiCl: Icon;
|
|
|
50
49
|
export const TaDashboardAiCl: Icon;
|
|
51
50
|
export const TaDashboardGenerateCl: Icon;
|
|
52
51
|
export const TaPlanetCl: Icon;
|
|
52
|
+
export const TaAisqlCl: Icon;
|
|
53
|
+
export const TaMagicCl: Icon;
|
|
54
|
+
export const TaMagicWandCl: Icon;
|
|
53
55
|
export const TaFlagCn: Icon;
|
|
54
56
|
export const TaFlagUs: Icon;
|
|
55
57
|
export const TaFlagJp: Icon;
|
|
@@ -498,6 +500,7 @@ export const TaPaste: Icon;
|
|
|
498
500
|
export const TaPaste2: Icon;
|
|
499
501
|
export const TaOpen: Icon;
|
|
500
502
|
export const TaSnapshot: Icon;
|
|
503
|
+
export const TaCreate: Icon;
|
|
501
504
|
export const TaInfo: Icon;
|
|
502
505
|
export const TaInfoFill: Icon;
|
|
503
506
|
export const TaHelp: Icon;
|
|
@@ -0,0 +1,124 @@
|
|
|
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 AisqlCl = function AisqlCl(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
|
+
d: "M18.3 15.15l-3.606 3.677-.902-.92 2.705-2.757-2.705-2.758.902-.919L18.3 15.15zm-13.497 0l2.705 2.758-.902.919L3 15.15l3.606-3.677.902.92-2.705 2.757zM9.24 21H7.883L12.06 9.3h1.357L9.24 21z",
|
|
57
|
+
fill: "url(#paint0_linear_11723_48)"
|
|
58
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
59
|
+
d: "M16.944 8.495l.289-.658a2.542 2.542 0 011.297-1.308l.795-.351a.324.324 0 000-.59l-.77-.34a2.543 2.543 0 01-1.316-1.351l-.293-.702a.312.312 0 00-.578 0l-.293.702a2.543 2.543 0 01-1.315 1.351l-.77.34a.324.324 0 000 .59l.794.351c.578.255 1.04.722 1.297 1.308l.29.658a.312.312 0 00.573 0zm2.892 1.603l.081-.185c.145-.33.406-.594.731-.737l.25-.111a.173.173 0 000-.316l-.236-.104c-.334-.148-.6-.42-.741-.762l-.084-.2a.167.167 0 00-.31 0l-.083.2a1.434 1.434 0 01-.742.762l-.236.104a.173.173 0 000 .316l.25.11c.325.144.586.408.731.738l.081.185c.06.136.248.136.308 0z",
|
|
60
|
+
fill: "url(#paint1_linear_11723_48)"
|
|
61
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
62
|
+
d: "M16.944 8.495l.289-.658a2.542 2.542 0 011.297-1.308l.795-.351a.324.324 0 000-.59l-.77-.34a2.543 2.543 0 01-1.316-1.351l-.293-.702a.312.312 0 00-.578 0l-.293.702a2.543 2.543 0 01-1.315 1.351l-.77.34a.324.324 0 000 .59l.794.351c.578.255 1.04.722 1.297 1.308l.29.658a.312.312 0 00.573 0zm2.892 1.603l.081-.185c.145-.33.406-.594.731-.737l.25-.111a.173.173 0 000-.316l-.236-.104c-.334-.148-.6-.42-.741-.762l-.084-.2a.167.167 0 00-.31 0l-.083.2a1.434 1.434 0 01-.742.762l-.236.104a.173.173 0 000 .316l.25.11c.325.144.586.408.731.738l.081.185c.06.136.248.136.308 0z",
|
|
63
|
+
fill: "url(#paint2_linear_11723_48)",
|
|
64
|
+
fillOpacity: ".2"
|
|
65
|
+
}), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("linearGradient", {
|
|
66
|
+
id: "paint0_linear_11723_48",
|
|
67
|
+
x1: "3",
|
|
68
|
+
y1: "15.15",
|
|
69
|
+
x2: "18.735",
|
|
70
|
+
y2: "15.15",
|
|
71
|
+
gradientUnits: "userSpaceOnUse"
|
|
72
|
+
}, /*#__PURE__*/_react["default"].createElement("stop", {
|
|
73
|
+
stopColor: "#1E76F0"
|
|
74
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
75
|
+
offset: ".355",
|
|
76
|
+
stopColor: "#9747FF"
|
|
77
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
78
|
+
offset: ".965",
|
|
79
|
+
stopColor: "#1E76F0"
|
|
80
|
+
})), /*#__PURE__*/_react["default"].createElement("linearGradient", {
|
|
81
|
+
id: "paint1_linear_11723_48",
|
|
82
|
+
x1: "13.796",
|
|
83
|
+
y1: "5.4",
|
|
84
|
+
x2: "21.204",
|
|
85
|
+
y2: "6.6",
|
|
86
|
+
gradientUnits: "userSpaceOnUse"
|
|
87
|
+
}, /*#__PURE__*/_react["default"].createElement("stop", {
|
|
88
|
+
stopColor: "#1E76F0"
|
|
89
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
90
|
+
offset: ".355",
|
|
91
|
+
stopColor: "#9746FF"
|
|
92
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
93
|
+
offset: ".628",
|
|
94
|
+
stopColor: "#7053FF"
|
|
95
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
96
|
+
offset: ".965",
|
|
97
|
+
stopColor: "#1E76F0"
|
|
98
|
+
})), /*#__PURE__*/_react["default"].createElement("linearGradient", {
|
|
99
|
+
id: "paint2_linear_11723_48",
|
|
100
|
+
x1: "18.773",
|
|
101
|
+
y1: "3",
|
|
102
|
+
x2: "16",
|
|
103
|
+
y2: "10",
|
|
104
|
+
gradientUnits: "userSpaceOnUse"
|
|
105
|
+
}, /*#__PURE__*/_react["default"].createElement("stop", {
|
|
106
|
+
stopColor: "#D8BAFF"
|
|
107
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
108
|
+
offset: "1",
|
|
109
|
+
stopColor: "#2B71EE"
|
|
110
|
+
}))))));
|
|
111
|
+
};
|
|
112
|
+
AisqlCl.propTypes = {
|
|
113
|
+
iconClassName: _propTypes["default"].string,
|
|
114
|
+
spin: _propTypes["default"].bool,
|
|
115
|
+
color: _propTypes["default"].string,
|
|
116
|
+
testid: _propTypes["default"].string,
|
|
117
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
118
|
+
};
|
|
119
|
+
AisqlCl.defaultProps = {
|
|
120
|
+
spin: false,
|
|
121
|
+
color: 'currentColor',
|
|
122
|
+
size: '1em'
|
|
123
|
+
};
|
|
124
|
+
var _default = exports["default"] = AisqlCl;
|
|
@@ -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 Create = function Create(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: "M16.436 3.212a1 1 0 011.414 0l2.828 2.829a1 1 0 010 1.414L7.242 20.89H3v-4.242L16.436 3.212zM5 17.476v1.414h1.414l9.314-9.314-1.415-1.414L5 17.476zM4.53 1.319a.507.507 0 01.94 0l.254.612a4.367 4.367 0 002.25 2.326l.718.32a.53.53 0 010 .962l-.76.338a4.363 4.363 0 00-2.218 2.251l-.247.565a.506.506 0 01-.934 0l-.247-.565a4.363 4.363 0 00-2.219-2.251l-.76-.338a.53.53 0 010-.963l.718-.32a4.366 4.366 0 002.251-2.325l.253-.612zm11.198 5.43l1.415 1.413 1.414-1.414-1.414-1.414-1.415 1.414z"
|
|
56
|
+
}))));
|
|
57
|
+
};
|
|
58
|
+
Create.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
|
+
Create.defaultProps = {
|
|
66
|
+
spin: false,
|
|
67
|
+
color: 'currentColor',
|
|
68
|
+
size: '1em'
|
|
69
|
+
};
|
|
70
|
+
var _default = exports["default"] = Create;
|
|
@@ -53,7 +53,7 @@ var MagicCl = function MagicCl(props) {
|
|
|
53
53
|
fill: "none",
|
|
54
54
|
xmlns: "http://www.w3.org/2000/svg"
|
|
55
55
|
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
56
|
-
d: "M5.495 6.785l3.45 1.436-1.258-3.444 1.257-3.444-3.45 1.048-3.449-1.048 1.337 3.444-1.337 3.444 3.45-1.436zm14.62-1.493l2.218.923L21.525 4l.808-2.214-2.217.674-2.218-.674.86 2.214-.86 2.214 2.218-.923zM18.969 18.56l-1.79-.745-1.79.745.694-1.787-.694-1.788 1.79.544 1.79-.544-.652 1.788.652 1.787zM15.167 6.147a1.003 1.003 0 00-1.442 0L1.64 18.213a1 1 0 000 1.44l2.
|
|
56
|
+
d: "M5.495 6.785l3.45 1.436-1.258-3.444 1.257-3.444-3.45 1.048-3.449-1.048 1.337 3.444-1.337 3.444 3.45-1.436zm14.62-1.493l2.218.923L21.525 4l.808-2.214-2.217.674-2.218-.674.86 2.214-.86 2.214 2.218-.923zM18.969 18.56l-1.79-.745-1.79.745.694-1.787-.694-1.788 1.79.544 1.79-.544-.652 1.788.652 1.787zM15.167 6.147a1.003 1.003 0 00-1.442 0L1.64 18.213a1 1 0 000 1.44l2.375 2.37a1 1 0 001.447 0l12.08-12.06a.997.997 0 000-1.445l-2.374-2.371zm-3.303 3.51l2.475-2.478 2.173 2.165-2.48 2.476-2.168-2.164z",
|
|
57
57
|
fill: "url(#paint0_linear_11657_77)"
|
|
58
58
|
}), /*#__PURE__*/_react["default"].createElement("rect", {
|
|
59
59
|
x: "14.667",
|