@tant/icons 1.22.31 → 1.22.33
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/alert-cl.js +5 -5
- package/dist/es/icons/alert-setting.js +69 -0
- package/dist/es/icons/bell-off.js +63 -0
- package/dist/es/icons/bell-plus.js +63 -0
- package/dist/es/icons/bell-ring.js +63 -0
- package/dist/es/icons/chart-topic.js +2 -2
- package/dist/es/icons/d-assets-cl.js +8 -8
- package/dist/es/icons/d-integration-cl.js +4 -4
- package/dist/es/icons/d-manage-cl.js +7 -7
- package/dist/es/icons/d-tracking-cl.js +5 -5
- package/dist/es/icons/date-mark-cl.js +3 -3
- package/dist/es/icons/e-campaign-cl.js +8 -8
- package/dist/es/icons/e-charts-cl.js +4 -4
- package/dist/es/icons/e-config-cl.js +4 -4
- package/dist/es/icons/e-flow-cl.js +11 -38
- package/dist/es/icons/e-setting-cl.js +5 -5
- package/dist/es/icons/e-task-cl.js +3 -3
- package/dist/es/icons/home.js +63 -0
- package/dist/es/icons/layout-fold.js +67 -0
- package/dist/es/icons/platform-dataops-cl.js +2 -2
- package/dist/es/icons/platform-system-cl.js +1 -1
- package/dist/es/icons/template-cl.js +4 -4
- package/dist/es/icons/to-do.js +63 -0
- package/dist/es/icons/tool.js +63 -0
- package/dist/es/icons/unstarted.js +63 -0
- package/dist/es/index.js +10 -1
- package/dist/index.d.ts +9 -0
- package/dist/lib/icons/alert-cl.js +5 -5
- package/dist/lib/icons/alert-setting.js +76 -0
- package/dist/lib/icons/bell-off.js +70 -0
- package/dist/lib/icons/bell-plus.js +70 -0
- package/dist/lib/icons/bell-ring.js +70 -0
- package/dist/lib/icons/chart-topic.js +2 -2
- package/dist/lib/icons/d-assets-cl.js +8 -8
- package/dist/lib/icons/d-integration-cl.js +4 -4
- package/dist/lib/icons/d-manage-cl.js +7 -7
- package/dist/lib/icons/d-tracking-cl.js +5 -5
- package/dist/lib/icons/date-mark-cl.js +3 -3
- package/dist/lib/icons/e-campaign-cl.js +8 -8
- package/dist/lib/icons/e-charts-cl.js +4 -4
- package/dist/lib/icons/e-config-cl.js +4 -4
- package/dist/lib/icons/e-flow-cl.js +11 -38
- package/dist/lib/icons/e-setting-cl.js +5 -5
- package/dist/lib/icons/e-task-cl.js +3 -3
- package/dist/lib/icons/home.js +70 -0
- package/dist/lib/icons/layout-fold.js +74 -0
- package/dist/lib/icons/platform-dataops-cl.js +2 -2
- package/dist/lib/icons/platform-system-cl.js +1 -1
- package/dist/lib/icons/template-cl.js +4 -4
- package/dist/lib/icons/to-do.js +70 -0
- package/dist/lib/icons/tool.js +70 -0
- package/dist/lib/icons/unstarted.js +70 -0
- package/dist/lib/index.js +63 -0
- package/dist/tant-icons.cjs.js +1852 -1392
- package/dist/tant-icons.esm.js +1844 -1393
- package/package.json +1 -1
|
@@ -50,24 +50,24 @@ var ESettingCl = function ESettingCl(props) {
|
|
|
50
50
|
y: "13",
|
|
51
51
|
width: "15",
|
|
52
52
|
height: "9",
|
|
53
|
-
fill: "#
|
|
53
|
+
fill: "#9EA6FF"
|
|
54
54
|
}), /*#__PURE__*/React.createElement("rect", {
|
|
55
55
|
x: "7",
|
|
56
56
|
y: "2",
|
|
57
57
|
width: "15",
|
|
58
58
|
height: "9",
|
|
59
|
-
fill: "#
|
|
59
|
+
fill: "#9EA6FF"
|
|
60
60
|
}), /*#__PURE__*/React.createElement("path", {
|
|
61
61
|
fillRule: "evenodd",
|
|
62
62
|
clipRule: "evenodd",
|
|
63
63
|
d: "M12.5 22l3.5-6-3.5-6h-7L2 16l3.5 6h7zM9 17.98c1.104 0 2-.887 2-1.98a1.99 1.99 0 00-2-1.98c-1.105 0-2 .887-2 1.98a1.99 1.99 0 002 1.98z",
|
|
64
|
-
fill: "#
|
|
64
|
+
fill: "#3C50FF"
|
|
65
65
|
}), /*#__PURE__*/React.createElement("path", {
|
|
66
66
|
d: "M7 11h6.083l-.583-1H7v1z",
|
|
67
|
-
fill: "#
|
|
67
|
+
fill: "#3040CC"
|
|
68
68
|
}), /*#__PURE__*/React.createElement("path", {
|
|
69
69
|
d: "M12.5 22l3.5-6-1.75-3H7v2.982a1.99 1.99 0 012-1.961c1.104 0 2 .886 2 1.979a1.99 1.99 0 01-2 1.98 1.99 1.99 0 01-2-1.962V22h5.5z",
|
|
70
|
-
fill: "#
|
|
70
|
+
fill: "#3040CC"
|
|
71
71
|
}))));
|
|
72
72
|
};
|
|
73
73
|
ESettingCl.propTypes = {
|
|
@@ -47,13 +47,13 @@ var ETaskCl = function ETaskCl(props) {
|
|
|
47
47
|
xmlns: "http://www.w3.org/2000/svg"
|
|
48
48
|
}, /*#__PURE__*/React.createElement("path", {
|
|
49
49
|
d: "M6 2v17H4v3h7v-3H9V2H6z",
|
|
50
|
-
fill: "#
|
|
50
|
+
fill: "#9EA6FF"
|
|
51
51
|
}), /*#__PURE__*/React.createElement("path", {
|
|
52
52
|
d: "M20 4H7.5v10.5H20l-2.5-5L20 4z",
|
|
53
|
-
fill: "#
|
|
53
|
+
fill: "#3C50FF"
|
|
54
54
|
}), /*#__PURE__*/React.createElement("path", {
|
|
55
55
|
d: "M9 4H7.5v10.5H9V4z",
|
|
56
|
-
fill: "#
|
|
56
|
+
fill: "#3040CC"
|
|
57
57
|
}))));
|
|
58
58
|
};
|
|
59
59
|
ETaskCl.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 Home = function Home(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: "M10.1 13.429v6.666h3.8V13.43h-3.8zm11.4 5.714c0 .758-.3 1.485-.835 2.02A2.846 2.846 0 0118.65 22H5.35c-.756 0-1.48-.3-2.015-.836a2.863 2.863 0 01-.835-2.021V10.57A2.864 2.864 0 013.51 8.39l6.646-5.711.004-.004a2.846 2.846 0 013.48-.154l.2.154.004.004 6.646 5.71.116.104a2.858 2.858 0 01.894 2.078v8.572zm-5.7.952h2.85a.949.949 0 00.95-.952V10.57a.955.955 0 00-.337-.727l-.004-.005-6.646-5.71a.948.948 0 00-1.226 0h-.001L4.74 9.839l-.004.005a.952.952 0 00-.337.727v8.572a.949.949 0 00.95.952H8.2V13.43c0-.506.2-.99.557-1.347.356-.357.84-.558 1.343-.558h3.8c.504 0 .987.2 1.343.558.357.357.557.841.557 1.347v6.666z"
|
|
49
|
+
}))));
|
|
50
|
+
};
|
|
51
|
+
Home.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
|
+
Home.defaultProps = {
|
|
59
|
+
spin: false,
|
|
60
|
+
color: 'currentColor',
|
|
61
|
+
size: '1em'
|
|
62
|
+
};
|
|
63
|
+
export default Home;
|
|
@@ -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 LayoutFold = function LayoutFold(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: "M2 6.857C2 4.727 3.679 3 5.75 3h12.5C20.321 3 22 4.727 22 6.857v10.286C22 19.273 20.321 21 18.25 21H5.75C3.679 21 2 19.273 2 17.143V6.857zM5.75 4.93h12.5c1.035 0 1.875.863 1.875 1.928v10.286c0 1.065-.84 1.928-1.875 1.928H5.75c-1.036 0-1.875-.863-1.875-1.928V6.857c0-1.065.84-1.928 1.875-1.928z"
|
|
51
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
52
|
+
d: "M10 4.929V19.07H8V4.93h2z"
|
|
53
|
+
}))));
|
|
54
|
+
};
|
|
55
|
+
LayoutFold.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
|
+
LayoutFold.defaultProps = {
|
|
63
|
+
spin: false,
|
|
64
|
+
color: 'currentColor',
|
|
65
|
+
size: '1em'
|
|
66
|
+
};
|
|
67
|
+
export default LayoutFold;
|
|
@@ -52,7 +52,7 @@ var PlatformDataopsCl = function PlatformDataopsCl(props) {
|
|
|
52
52
|
fill: "#9CBEF0"
|
|
53
53
|
}), /*#__PURE__*/React.createElement("path", {
|
|
54
54
|
d: "M21.637 15.818l-6.546 5.455c-.049-.024-7.867-3.863-10.35-5.572l8.4-3.186 8.496 3.303z",
|
|
55
|
-
fill: "#
|
|
55
|
+
fill: "#9EA6FF"
|
|
56
56
|
}), /*#__PURE__*/React.createElement("rect", {
|
|
57
57
|
x: "10.727",
|
|
58
58
|
y: "5.455",
|
|
@@ -68,7 +68,7 @@ var PlatformDataopsCl = function PlatformDataopsCl(props) {
|
|
|
68
68
|
fill: "#4175D5"
|
|
69
69
|
}), /*#__PURE__*/React.createElement("path", {
|
|
70
70
|
d: "M16.182 5.455c0-.603-1.221-1.091-2.727-1.091-1.506 0-2.728.488-2.728 1.09 0 .603 1.222 1.091 2.728 1.091 1.506 0 2.727-.488 2.727-1.09z",
|
|
71
|
-
fill: "#
|
|
71
|
+
fill: "#3040CC"
|
|
72
72
|
}))));
|
|
73
73
|
};
|
|
74
74
|
PlatformDataopsCl.propTypes = {
|
|
@@ -60,7 +60,7 @@ var PlatformSystemCl = function PlatformSystemCl(props) {
|
|
|
60
60
|
fill: "#9BAFF6"
|
|
61
61
|
}), /*#__PURE__*/React.createElement("path", {
|
|
62
62
|
d: "M11.82 3.525l7.203 3.94v4.73L11.82 8.254V3.525z",
|
|
63
|
-
fill: "#
|
|
63
|
+
fill: "#9EA6FF"
|
|
64
64
|
}), /*#__PURE__*/React.createElement("path", {
|
|
65
65
|
fillRule: "evenodd",
|
|
66
66
|
clipRule: "evenodd",
|
|
@@ -47,16 +47,16 @@ var TemplateCl = function TemplateCl(props) {
|
|
|
47
47
|
xmlns: "http://www.w3.org/2000/svg"
|
|
48
48
|
}, /*#__PURE__*/React.createElement("path", {
|
|
49
49
|
d: "M11.303 2L23 4.97l-3.003 11.565L8.3 13.565 11.303 2z",
|
|
50
|
-
fill: "#
|
|
50
|
+
fill: "#9EA6FF"
|
|
51
51
|
}), /*#__PURE__*/React.createElement("path", {
|
|
52
52
|
d: "M13.801 13.94c0 3.769-3.09 6.823-6.9 6.823C3.089 20.763 0 17.708 0 13.94c0-3.768 3.09-6.823 6.9-6.823 3.812 0 6.901 3.055 6.901 6.823z",
|
|
53
|
-
fill: "#
|
|
53
|
+
fill: "#9EA6FF"
|
|
54
54
|
}), /*#__PURE__*/React.createElement("path", {
|
|
55
55
|
d: "M13.727 14.943L8.3 13.565l1.51-5.814c2.357 1.086 3.991 3.449 3.991 6.19 0 .34-.025.675-.074 1.002z",
|
|
56
|
-
fill: "#
|
|
56
|
+
fill: "#5468FF"
|
|
57
57
|
}), /*#__PURE__*/React.createElement("path", {
|
|
58
58
|
d: "M14.664 10.207L22.134 23H7.194l7.47-12.793z",
|
|
59
|
-
fill: "#
|
|
59
|
+
fill: "#3C50FF"
|
|
60
60
|
}))));
|
|
61
61
|
};
|
|
62
62
|
TemplateCl.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 ToDo = function ToDo(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 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 100-16 8 8 0 000 16zm-3-8a3 3 0 116 0 3 3 0 01-6 0z"
|
|
49
|
+
}))));
|
|
50
|
+
};
|
|
51
|
+
ToDo.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
|
+
ToDo.defaultProps = {
|
|
59
|
+
spin: false,
|
|
60
|
+
color: 'currentColor',
|
|
61
|
+
size: '1em'
|
|
62
|
+
};
|
|
63
|
+
export default ToDo;
|
|
@@ -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 Tool = function Tool(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: "M14.428 6.872a.9.9 0 000 1.26l1.44 1.44a.9.9 0 001.26 0l2.794-2.794c.288-.29.777-.198.885.196a5.398 5.398 0 01-7.432 6.35L6.258 20.44a1.909 1.909 0 01-2.699-2.7l7.118-7.117a5.398 5.398 0 016.35-7.43c.394.107.486.595.197.885l-2.796 2.793z"
|
|
49
|
+
}))));
|
|
50
|
+
};
|
|
51
|
+
Tool.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
|
+
Tool.defaultProps = {
|
|
59
|
+
spin: false,
|
|
60
|
+
color: 'currentColor',
|
|
61
|
+
size: '1em'
|
|
62
|
+
};
|
|
63
|
+
export default Tool;
|
|
@@ -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 Unstarted = function Unstarted(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.95 21.81a10.045 10.045 0 01-3.9 0l.387-1.962a8.045 8.045 0 003.126 0l.387 1.962zm-8.603-5.366a8.049 8.049 0 002.209 2.21l-1.113 1.661a10.054 10.054 0 01-2.758-2.758l1.662-1.113zm14.968 1.113a10.053 10.053 0 01-2.758 2.758l-1.113-1.662a8.047 8.047 0 002.21-2.209l1.661 1.113zM2 12c0-.666.066-1.319.19-1.95l1.962.387a8.045 8.045 0 000 3.126l-1.962.387A10.044 10.044 0 012 12zm18 0c0-.536-.052-1.058-.152-1.563l1.962-.387a10.045 10.045 0 010 3.9l-1.962-.387c.1-.505.152-1.027.152-1.563zM7.556 5.347a8.05 8.05 0 00-2.21 2.209L3.686 6.443a10.054 10.054 0 012.758-2.758l1.113 1.662zm10-1.662c1.09.73 2.03 1.668 2.76 2.758l-1.663 1.113a8.049 8.049 0 00-2.209-2.21l1.113-1.661zM12 2c.666 0 1.319.066 1.95.19l-.387 1.962a8.045 8.045 0 00-3.126 0L10.05 2.19C10.68 2.066 11.334 2 12 2z"
|
|
49
|
+
}))));
|
|
50
|
+
};
|
|
51
|
+
Unstarted.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
|
+
Unstarted.defaultProps = {
|
|
59
|
+
spin: false,
|
|
60
|
+
color: 'currentColor',
|
|
61
|
+
size: '1em'
|
|
62
|
+
};
|
|
63
|
+
export default Unstarted;
|
package/dist/es/index.js
CHANGED
|
@@ -286,6 +286,7 @@ export { default as TaExposure } from './icons/exposure';
|
|
|
286
286
|
export { default as TaIndicator } from './icons/indicator';
|
|
287
287
|
export { default as TaCurrency } from './icons/currency';
|
|
288
288
|
export { default as TaContrast } from './icons/contrast';
|
|
289
|
+
export { default as TaAlertSetting } from './icons/alert-setting';
|
|
289
290
|
export { default as TaIndex } from './icons/index';
|
|
290
291
|
export { default as TaSortUp } from './icons/sort-up';
|
|
291
292
|
export { default as TaSortDown } from './icons/sort-down';
|
|
@@ -356,11 +357,15 @@ export { default as TaCalculate } from './icons/calculate';
|
|
|
356
357
|
export { default as TaPrice } from './icons/price';
|
|
357
358
|
export { default as TaHammer } from './icons/hammer';
|
|
358
359
|
export { default as TaCart } from './icons/cart';
|
|
360
|
+
export { default as TaTool } from './icons/tool';
|
|
359
361
|
export { default as TaInformation } from './icons/information';
|
|
360
362
|
export { default as TaGather } from './icons/gather';
|
|
361
363
|
export { default as TaBasics } from './icons/basics';
|
|
362
364
|
export { default as TaDialogue } from './icons/dialogue';
|
|
363
365
|
export { default as TaNewValue } from './icons/new-value';
|
|
366
|
+
export { default as TaBellOff } from './icons/bell-off';
|
|
367
|
+
export { default as TaBellRing } from './icons/bell-ring';
|
|
368
|
+
export { default as TaBellPlus } from './icons/bell-plus';
|
|
364
369
|
export { default as TaFontSize } from './icons/font-size';
|
|
365
370
|
export { default as TaFontBold } from './icons/font-bold';
|
|
366
371
|
export { default as TaFontItalic } from './icons/font- italic';
|
|
@@ -389,6 +394,7 @@ export { default as TaVideo } from './icons/video';
|
|
|
389
394
|
export { default as TaWebpage } from './icons/webpage';
|
|
390
395
|
export { default as TaText } from './icons/text';
|
|
391
396
|
export { default as TaPicture } from './icons/picture';
|
|
397
|
+
export { default as TaLayoutFold } from './icons/layout-fold';
|
|
392
398
|
export { default as TaUser1 } from './icons/user-1';
|
|
393
399
|
export { default as TaUser1Fill } from './icons/user-1-fill';
|
|
394
400
|
export { default as TaUser2 } from './icons/user-2';
|
|
@@ -515,6 +521,8 @@ export { default as TaPaste2 } from './icons/paste-2';
|
|
|
515
521
|
export { default as TaOpen } from './icons/open';
|
|
516
522
|
export { default as TaSnapshot } from './icons/snapshot';
|
|
517
523
|
export { default as TaCreate } from './icons/create';
|
|
524
|
+
export { default as TaToDo } from './icons/to-do';
|
|
525
|
+
export { default as TaUnstarted } from './icons/unstarted';
|
|
518
526
|
export { default as TaInfo } from './icons/info';
|
|
519
527
|
export { default as TaInfoFill } from './icons/info-fill';
|
|
520
528
|
export { default as TaHelp } from './icons/help';
|
|
@@ -598,4 +606,5 @@ export { default as TaSatelliteDish } from './icons/satellite-dish';
|
|
|
598
606
|
export { default as TaPost } from './icons/post';
|
|
599
607
|
export { default as TaPhrase } from './icons/phrase';
|
|
600
608
|
export { default as TaHashtag } from './icons/hashtag';
|
|
601
|
-
export { default as TaCalendarCheck } from './icons/calendar-check';
|
|
609
|
+
export { default as TaCalendarCheck } from './icons/calendar-check';
|
|
610
|
+
export { default as TaHome } from './icons/home';
|
package/dist/index.d.ts
CHANGED
|
@@ -298,6 +298,7 @@ export const TaExposure: Icon;
|
|
|
298
298
|
export const TaIndicator: Icon;
|
|
299
299
|
export const TaCurrency: Icon;
|
|
300
300
|
export const TaContrast: Icon;
|
|
301
|
+
export const TaAlertSetting: Icon;
|
|
301
302
|
export const TaIndex: Icon;
|
|
302
303
|
export const TaSortUp: Icon;
|
|
303
304
|
export const TaSortDown: Icon;
|
|
@@ -368,11 +369,15 @@ export const TaCalculate: Icon;
|
|
|
368
369
|
export const TaPrice: Icon;
|
|
369
370
|
export const TaHammer: Icon;
|
|
370
371
|
export const TaCart: Icon;
|
|
372
|
+
export const TaTool: Icon;
|
|
371
373
|
export const TaInformation: Icon;
|
|
372
374
|
export const TaGather: Icon;
|
|
373
375
|
export const TaBasics: Icon;
|
|
374
376
|
export const TaDialogue: Icon;
|
|
375
377
|
export const TaNewValue: Icon;
|
|
378
|
+
export const TaBellOff: Icon;
|
|
379
|
+
export const TaBellRing: Icon;
|
|
380
|
+
export const TaBellPlus: Icon;
|
|
376
381
|
export const TaFontSize: Icon;
|
|
377
382
|
export const TaFontBold: Icon;
|
|
378
383
|
export const TaFontItalic: Icon;
|
|
@@ -401,6 +406,7 @@ export const TaVideo: Icon;
|
|
|
401
406
|
export const TaWebpage: Icon;
|
|
402
407
|
export const TaText: Icon;
|
|
403
408
|
export const TaPicture: Icon;
|
|
409
|
+
export const TaLayoutFold: Icon;
|
|
404
410
|
export const TaUser1: Icon;
|
|
405
411
|
export const TaUser1Fill: Icon;
|
|
406
412
|
export const TaUser2: Icon;
|
|
@@ -527,6 +533,8 @@ export const TaPaste2: Icon;
|
|
|
527
533
|
export const TaOpen: Icon;
|
|
528
534
|
export const TaSnapshot: Icon;
|
|
529
535
|
export const TaCreate: Icon;
|
|
536
|
+
export const TaToDo: Icon;
|
|
537
|
+
export const TaUnstarted: Icon;
|
|
530
538
|
export const TaInfo: Icon;
|
|
531
539
|
export const TaInfoFill: Icon;
|
|
532
540
|
export const TaHelp: Icon;
|
|
@@ -611,3 +619,4 @@ export const TaPost: Icon;
|
|
|
611
619
|
export const TaPhrase: Icon;
|
|
612
620
|
export const TaHashtag: Icon;
|
|
613
621
|
export const TaCalendarCheck: Icon;
|
|
622
|
+
export const TaHome: Icon;
|
|
@@ -57,21 +57,21 @@ var AlertCl = function AlertCl(props) {
|
|
|
57
57
|
y: "19.7",
|
|
58
58
|
width: "22",
|
|
59
59
|
height: "3.3",
|
|
60
|
-
fill: "#
|
|
60
|
+
fill: "#9EA6FF"
|
|
61
61
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
62
62
|
d: "M10.9 1h2.2v3.3h-2.2V1z",
|
|
63
|
-
fill: "#
|
|
63
|
+
fill: "#9EA6FF"
|
|
64
64
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
65
65
|
d: "M19.834 3.2l1.555 1.556-2.333 2.333L17.5 5.533 19.834 3.2z",
|
|
66
|
-
fill: "#
|
|
66
|
+
fill: "#9EA6FF"
|
|
67
67
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
68
68
|
d: "M2.1 4.778L3.633 3.2 6 5.5 4.467 7.078 2.1 4.778z",
|
|
69
|
-
fill: "#
|
|
69
|
+
fill: "#9EA6FF"
|
|
70
70
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
71
71
|
fillRule: "evenodd",
|
|
72
72
|
clipRule: "evenodd",
|
|
73
73
|
d: "M12 5.651a7.7 7.7 0 00-7.7 7.7v7.999h15.4v-7.999a7.7 7.7 0 00-7.7-7.7zM9.8 13.1H7.6v4.4h2.2v-4.4z",
|
|
74
|
-
fill: "#
|
|
74
|
+
fill: "#3C50FF"
|
|
75
75
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
76
76
|
d: "M19.7 19.7H4.3v1.65h15.4V19.7z",
|
|
77
77
|
fill: "#1663ED"
|
|
@@ -0,0 +1,76 @@
|
|
|
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 AlertSetting = function AlertSetting(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: "M10.889 2v3.316h2V2h-2zm5.534 9.192L18.048 10A7 7 0 005 13.526V20H2v2h10v-2H7v-6.474a5 5 0 019.423-2.334zm-7.756 7.492v-4.42h2v4.42h-2zM21.023 5.287l-2.357 2.345-1.418-1.41 2.357-2.346 1.418 1.411zM3.11 5.421l2.357 2.345 1.418-1.41L4.53 4.01 3.111 5.42z"
|
|
58
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
59
|
+
fillRule: "evenodd",
|
|
60
|
+
clipRule: "evenodd",
|
|
61
|
+
d: "M14.595 18.812a3.51 3.51 0 010-1.623l-.992-.573 1-1.732.992.573c.398-.377.88-.655 1.405-.812V13.5h2v1.145c.532.158 1.012.44 1.405.812l.992-.573 1 1.732-.992.573a3.508 3.508 0 010 1.622l.992.573-1 1.732-.992-.573c-.398.377-.88.655-1.405.812V22.5h-2v-1.145a3.497 3.497 0 01-1.405-.812l-.992.573-1-1.732.992-.572zm4.466.249a1.5 1.5 0 11-2.121-2.122 1.5 1.5 0 012.12 2.122z"
|
|
62
|
+
}))));
|
|
63
|
+
};
|
|
64
|
+
AlertSetting.propTypes = {
|
|
65
|
+
iconClassName: _propTypes["default"].string,
|
|
66
|
+
spin: _propTypes["default"].bool,
|
|
67
|
+
color: _propTypes["default"].string,
|
|
68
|
+
testid: _propTypes["default"].string,
|
|
69
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
70
|
+
};
|
|
71
|
+
AlertSetting.defaultProps = {
|
|
72
|
+
spin: false,
|
|
73
|
+
color: 'currentColor',
|
|
74
|
+
size: '1em'
|
|
75
|
+
};
|
|
76
|
+
var _default = exports["default"] = AlertSetting;
|