@tant/icons 1.20.1 → 1.20.4
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/Dashboard-Generate-cl.js +142 -0
- package/dist/es/icons/align-legend-bottom.js +63 -0
- package/dist/es/icons/align-legend-left.js +63 -0
- package/dist/es/icons/align-legend-right.js +63 -0
- package/dist/es/icons/align-legend-top.js +63 -0
- package/dist/es/icons/clean.js +69 -0
- package/dist/es/icons/goal-fill.js +65 -0
- package/dist/es/icons/goal.js +1 -3
- package/dist/es/icons/hashtag.js +63 -0
- package/dist/es/icons/list-nested.js +1 -1
- package/dist/es/icons/logo-AppPush-gray.js +1 -1
- package/dist/es/icons/logo-douyin-gray.js +1 -1
- package/dist/es/icons/logo-wechat-gray.js +2 -9
- package/dist/es/icons/neutral.js +63 -0
- package/dist/es/icons/phrase.js +63 -0
- package/dist/es/icons/post.js +63 -0
- package/dist/es/icons/robot.js +73 -0
- package/dist/es/icons/sad.js +63 -0
- package/dist/es/icons/switch.js +65 -0
- package/dist/es/icons/video.js +63 -0
- package/dist/es/index.js +16 -1
- package/dist/index.d.ts +15 -0
- package/dist/lib/icons/Dashboard-Generate-cl.js +149 -0
- package/dist/lib/icons/align-legend-bottom.js +70 -0
- package/dist/lib/icons/align-legend-left.js +70 -0
- package/dist/lib/icons/align-legend-right.js +70 -0
- package/dist/lib/icons/align-legend-top.js +70 -0
- package/dist/lib/icons/clean.js +76 -0
- package/dist/lib/icons/goal-fill.js +72 -0
- package/dist/lib/icons/goal.js +1 -3
- package/dist/lib/icons/hashtag.js +70 -0
- package/dist/lib/icons/list-nested.js +1 -1
- package/dist/lib/icons/logo-AppPush-gray.js +1 -1
- package/dist/lib/icons/logo-douyin-gray.js +1 -1
- package/dist/lib/icons/logo-wechat-gray.js +2 -9
- package/dist/lib/icons/neutral.js +70 -0
- package/dist/lib/icons/phrase.js +70 -0
- package/dist/lib/icons/post.js +70 -0
- package/dist/lib/icons/robot.js +80 -0
- package/dist/lib/icons/sad.js +70 -0
- package/dist/lib/icons/switch.js +72 -0
- package/dist/lib/icons/video.js +70 -0
- package/dist/lib/index.js +105 -0
- package/dist/tant-icons.cjs.js +3229 -2344
- package/dist/tant-icons.esm.js +3215 -2345
- package/package.json +1 -1
|
@@ -45,7 +45,7 @@ var LogoDouyinGray = function LogoDouyinGray(props) {
|
|
|
45
45
|
height: "24",
|
|
46
46
|
xmlns: "http://www.w3.org/2000/svg"
|
|
47
47
|
}, /*#__PURE__*/React.createElement("path", {
|
|
48
|
-
d: "
|
|
48
|
+
d: "M17.613 7.607c-.989-.632-1.703-3.644-1.925-4.822A4.105 4.105 0 0115.612 2h-3.154l-.007 14.401c-.053 1.389-1.216 2.504-2.645 2.504-.443 0-.863-.11-1.23-.298a2.598 2.598 0 01-1.422-2.303c0-1.434 1.19-2.602 2.652-2.602.275 0 .536.046.784.12v-3.16a5.672 5.672 0 00-.784-.054C6.606 10.608 4 13.16 4 16.304c0 1.927.982 3.633 2.48 4.665A5.85 5.85 0 009.806 22c3.2 0 5.806-2.556 5.806-5.696v-6.29A7.593 7.593 0 0020 11.4V8.305c-.88 0-1.7-.26-2.387-.698z"
|
|
49
49
|
}))));
|
|
50
50
|
};
|
|
51
51
|
LogoDouyinGray.propTypes = {
|
|
@@ -44,16 +44,9 @@ var LogoWechatGray = function LogoWechatGray(props) {
|
|
|
44
44
|
width: "24",
|
|
45
45
|
height: "24",
|
|
46
46
|
xmlns: "http://www.w3.org/2000/svg"
|
|
47
|
-
}, /*#__PURE__*/React.createElement("g", {
|
|
48
|
-
clipPath: "url(#clip0_3342_397)"
|
|
49
47
|
}, /*#__PURE__*/React.createElement("path", {
|
|
50
|
-
d: "
|
|
51
|
-
}))
|
|
52
|
-
id: "clip0_3342_397"
|
|
53
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
54
|
-
width: "24",
|
|
55
|
-
height: "24"
|
|
56
|
-
}))))));
|
|
48
|
+
d: "M16.777 8.628c3.99 0 7.223 2.768 7.223 6.185 0 1.516-.5 2.187-1.3 3.387l.55 2.8-2.75-1c-1.142.648-2.253 1-3.723 1-3.982 0-7.215-2.77-7.215-6.187 0-3.417 3.233-6.185 7.215-6.185zm0 2.148c-2.715 0-5.115 1.873-5.115 4.037 0 2.166 2.393 4.187 5.115 4.187C19.5 19 22 16.979 22 14.813c0-2.165-2.478-4.037-5.223-4.037zM8.55 3c3.757 0 6.953 2.044 8.093 4.88a9.355 9.355 0 00-2.326.333C13.35 6.478 11.13 5 8.55 5 5.077 5 2 7.473 2 10.182 2 12.89 5.028 15.4 8.5 15.4h.277c.03.782.26 1.221.583 1.933h-.81c-1.069 0-2.09-.164-3.033-.462l-2.974 1.405L2.6 15.5C1 14 0 12.493 0 10.182 0 6.214 3.825 3 8.55 3zm6.454 9.855a1.048 1.048 0 01.947 1.05 1.049 1.049 0 01-.947 1.05l-.104.006a1.049 1.049 0 01-1.045-.951l-.005-.105a1.049 1.049 0 011.05-1.056l.104.006zm3.82-.005a1.05 1.05 0 011.05 1.055c0 .28-.11.548-.308.746a1.05 1.05 0 01-1.793-.746 1.049 1.049 0 011.05-1.056zM6.217 7.3c.298 0 .584.12.795.332a1.135 1.135 0 010 1.6 1.122 1.122 0 01-1.92-.8c0-.3.118-.588.329-.8.21-.212.497-.332.796-.332zm4.47 0c.298 0 .584.12.795.332a1.135 1.135 0 010 1.6 1.123 1.123 0 01-1.92-.8c0-.3.118-.588.329-.8.21-.212.497-.332.796-.332z"
|
|
49
|
+
}))));
|
|
57
50
|
};
|
|
58
51
|
LogoWechatGray.propTypes = {
|
|
59
52
|
iconClassName: PropTypes.string,
|
|
@@ -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 Neutral = function Neutral(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 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 2a8 8 0 00-8 8 8 8 0 008 8 8 8 0 008-8 8 8 0 00-8-8zm3 10a1 1 0 110 2H9a1 1 0 110-2h6zM8.5 8a1 1 0 011 1v1a1 1 0 11-2 0V9a1 1 0 011-1zm7 0a1 1 0 011 1v1a1 1 0 11-2 0V9a1 1 0 011-1z"
|
|
49
|
+
}))));
|
|
50
|
+
};
|
|
51
|
+
Neutral.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
|
+
Neutral.defaultProps = {
|
|
59
|
+
spin: false,
|
|
60
|
+
color: 'currentColor',
|
|
61
|
+
size: '1em'
|
|
62
|
+
};
|
|
63
|
+
export default Neutral;
|
|
@@ -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 Phrase = function Phrase(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: "M7.603 4.005a1 1 0 010 1.99L7.5 6H7a3 3 0 00-3 3v2.065h4.5a2.5 2.5 0 012.5 2.5V16.5A2.5 2.5 0 018.5 19h-4A2.5 2.5 0 012 16.5V9a5 5 0 015-5h.5l.103.005zm11 0a1 1 0 010 1.99L18.5 6H18a3 3 0 00-3 3v2.065h4.5a2.5 2.5 0 012.5 2.5V16.5a2.5 2.5 0 01-2.5 2.5h-4a2.5 2.5 0 01-2.5-2.5V9a5 5 0 015-5h.5l.102.005zM4 16.5a.5.5 0 00.5.5h4a.5.5 0 00.5-.5v-2.935a.5.5 0 00-.5-.5H4V16.5zm11 0a.5.5 0 00.5.5h4a.5.5 0 00.5-.5v-2.935a.5.5 0 00-.5-.5H15V16.5z"
|
|
49
|
+
}))));
|
|
50
|
+
};
|
|
51
|
+
Phrase.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
|
+
Phrase.defaultProps = {
|
|
59
|
+
spin: false,
|
|
60
|
+
color: 'currentColor',
|
|
61
|
+
size: '1em'
|
|
62
|
+
};
|
|
63
|
+
export default Phrase;
|
|
@@ -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 Post = function Post(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.467 3C17.17 3 21 6.796 21 11.5c0 4.704-3.83 8.5-8.533 8.5H5.473c-1.945 0-2.933-2.337-1.579-3.732l.94-.968a8.44 8.44 0 01-.9-3.8c0-4.704 3.83-8.5 8.533-8.5zm0 2c-3.609 0-6.533 2.91-6.533 6.5 0 1.537.536 2.95 1.432 4.063L5.33 17.66a.2.2 0 00.144.339h6.994C16.075 18 19 15.09 19 11.5S16.075 5 12.467 5z"
|
|
49
|
+
}))));
|
|
50
|
+
};
|
|
51
|
+
Post.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
|
+
Post.defaultProps = {
|
|
59
|
+
spin: false,
|
|
60
|
+
color: 'currentColor',
|
|
61
|
+
size: '1em'
|
|
62
|
+
};
|
|
63
|
+
export default Post;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
|
|
3
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
10
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import PropTypes from 'prop-types';
|
|
13
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
14
|
+
var Robot = function Robot(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.5 11a1.5 1.5 0 110 3 1.5 1.5 0 010-3z"
|
|
49
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
50
|
+
d: "M14.5 11a1.5 1.5 0 110 3 1.5 1.5 0 010-3z"
|
|
51
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
52
|
+
fillRule: "evenodd",
|
|
53
|
+
clipRule: "evenodd",
|
|
54
|
+
d: "M12 2a2 2 0 011 3.73V7h5l.102.005A1 1 0 0119 8v10l-.005.102a1 1 0 01-.893.893L18 19H6l-.103-.005a1 1 0 01-.892-.893L5 18V8a1 1 0 01.897-.995L6 7h5V5.73A2 2 0 0112 2zM7 17h10V9H7v8z"
|
|
55
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
56
|
+
d: "M3 10a1 1 0 011 1v3l-.005.102a1 1 0 01-1.99 0L2 14v-3a1 1 0 011-1z"
|
|
57
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
58
|
+
d: "M21 10a1 1 0 011 1v3l-.005.102a1 1 0 01-1.99 0L20 14v-3a1 1 0 011-1z"
|
|
59
|
+
}))));
|
|
60
|
+
};
|
|
61
|
+
Robot.propTypes = {
|
|
62
|
+
iconClassName: PropTypes.string,
|
|
63
|
+
spin: PropTypes.bool,
|
|
64
|
+
color: PropTypes.string,
|
|
65
|
+
testid: PropTypes.string,
|
|
66
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
67
|
+
};
|
|
68
|
+
Robot.defaultProps = {
|
|
69
|
+
spin: false,
|
|
70
|
+
color: 'currentColor',
|
|
71
|
+
size: '1em'
|
|
72
|
+
};
|
|
73
|
+
export default Robot;
|
|
@@ -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 Sad = function Sad(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 008-8 8 8 0 00-8-8 8 8 0 00-8 8 8 8 0 008 8zm3.5-9a1 1 0 01-1-1V9a1 1 0 112 0v1a1 1 0 01-1 1zm-7 0a1 1 0 01-1-1V9a1 1 0 112 0v1a1 1 0 01-1 1zm.494 6.024a1 1 0 01-1.408-1.42l.003-.002.003-.003.008-.007.021-.02.066-.062a6.07 6.07 0 011.057-.732 6.355 6.355 0 016.926.541 4.586 4.586 0 01.296.252l.031.031.002.002-.706.707.707-.707a1.001 1.001 0 01-1.41 1.42l-.002-.003.002.002a2.698 2.698 0 00-.152-.128 4.354 4.354 0 00-4.736-.36 4.06 4.06 0 00-.554.36 2.506 2.506 0 00-.152.128l-.002.001z"
|
|
49
|
+
}))));
|
|
50
|
+
};
|
|
51
|
+
Sad.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
|
+
Sad.defaultProps = {
|
|
59
|
+
spin: false,
|
|
60
|
+
color: 'currentColor',
|
|
61
|
+
size: '1em'
|
|
62
|
+
};
|
|
63
|
+
export default Sad;
|
|
@@ -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 Switch = function Switch(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: "M5.24 15.15A1 1 0 016 13.5h12a1 1 0 010 2H8.173l1.585 1.85.064.08a1 1 0 01-1.581 1.22l-3-3.5z"
|
|
49
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
50
|
+
d: "M5 9.5a1 1 0 011-1h9.826l-1.585-1.85-.063-.081a1 1 0 011.58-1.22l3 3.5a1 1 0 01-.758 1.65H6a1 1 0 01-1-1z"
|
|
51
|
+
}))));
|
|
52
|
+
};
|
|
53
|
+
Switch.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
|
+
Switch.defaultProps = {
|
|
61
|
+
spin: false,
|
|
62
|
+
color: 'currentColor',
|
|
63
|
+
size: '1em'
|
|
64
|
+
};
|
|
65
|
+
export default Switch;
|
|
@@ -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 Video = function Video(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: "M18.25 3C20.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.857C2 4.727 3.679 3 5.75 3h12.5zM3.875 17.143c0 1.065.84 1.928 1.875 1.928h12.5c1.035 0 1.875-.863 1.875-1.928V10H3.875v7.143zM11.222 12a.206.206 0 01.106.037l2.578 1.78a.226.226 0 01.068.286.215.215 0 01-.068.08l-2.578 1.78a.206.206 0 01-.298-.07.226.226 0 01-.03-.112V12.22a.225.225 0 01.111-.194.207.207 0 01.11-.025zM5.528 4.942c-.93.113-1.653.927-1.653 1.915V8h4.71L5.528 4.942zM17.414 8h2.711V6.857c0-1.065-.84-1.928-1.875-1.928h-3.907L17.414 8zm-6 0h3.171l-3.07-3.071H8.343L11.414 8z"
|
|
49
|
+
}))));
|
|
50
|
+
};
|
|
51
|
+
Video.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
|
+
Video.defaultProps = {
|
|
59
|
+
spin: false,
|
|
60
|
+
color: 'currentColor',
|
|
61
|
+
size: '1em'
|
|
62
|
+
};
|
|
63
|
+
export default Video;
|
package/dist/es/index.js
CHANGED
|
@@ -33,6 +33,7 @@ export { default as TaDashboardReadingCl } from './icons/Dashboard-Reading-cl';
|
|
|
33
33
|
export { default as TaReportReadingCl } from './icons/Report- Reading-cl';
|
|
34
34
|
export { default as TaCopywritingAiCl } from './icons/Copywriting- AI-cl';
|
|
35
35
|
export { default as TaDashboardAiCl } from './icons/Dashboard-AI-cl';
|
|
36
|
+
export { default as TaDashboardGenerateCl } from './icons/Dashboard-Generate-cl';
|
|
36
37
|
export { default as TaFlagCn } from './icons/flag-cn';
|
|
37
38
|
export { default as TaFlagUs } from './icons/flag-us';
|
|
38
39
|
export { default as TaFlagJp } from './icons/flag-jp';
|
|
@@ -130,6 +131,10 @@ export { default as TaTableSimple } from './icons/table-simple ';
|
|
|
130
131
|
export { default as TaCertified } from './icons/certified';
|
|
131
132
|
export { default as TaUncertified } from './icons/uncertified';
|
|
132
133
|
export { default as TaAddIndexCl } from './icons/add-index-cl';
|
|
134
|
+
export { default as TaAlignLegendTop } from './icons/align-legend-top';
|
|
135
|
+
export { default as TaAlignLegendBottom } from './icons/align-legend-bottom';
|
|
136
|
+
export { default as TaAlignLegendLeft } from './icons/align-legend-left';
|
|
137
|
+
export { default as TaAlignLegendRight } from './icons/align-legend-right';
|
|
133
138
|
export { default as TaOperatorEqual } from './icons/operator-equal';
|
|
134
139
|
export { default as TaOperatorUnequal } from './icons/operator-unequal';
|
|
135
140
|
export { default as TaOperatorDivide } from './icons/operator-divide';
|
|
@@ -245,6 +250,7 @@ export { default as TaGameFill } from './icons/game-fill';
|
|
|
245
250
|
export { default as TaShop } from './icons/shop';
|
|
246
251
|
export { default as TaShopFill } from './icons/shop-fill';
|
|
247
252
|
export { default as TaEarth } from './icons/earth';
|
|
253
|
+
export { default as TaGoalFill } from './icons/goal-fill';
|
|
248
254
|
export { default as TaGoal } from './icons/goal';
|
|
249
255
|
export { default as TaOneTime } from './icons/one-time';
|
|
250
256
|
export { default as TaRecurring } from './icons/recurring';
|
|
@@ -281,6 +287,9 @@ export { default as TaWarehouse } from './icons/warehouse';
|
|
|
281
287
|
export { default as TaDataInput } from './icons/data-input';
|
|
282
288
|
export { default as TaDataOutput } from './icons/data-output';
|
|
283
289
|
export { default as TaManageQuery } from './icons/manage-query';
|
|
290
|
+
export { default as TaSad } from './icons/sad';
|
|
291
|
+
export { default as TaNeutral } from './icons/neutral';
|
|
292
|
+
export { default as TaRobot } from './icons/robot';
|
|
284
293
|
export { default as TaFontSize } from './icons/font-size';
|
|
285
294
|
export { default as TaFontBold } from './icons/font-bold';
|
|
286
295
|
export { default as TaFontItalic } from './icons/font- italic';
|
|
@@ -305,6 +314,7 @@ export { default as TaTextCase } from './icons/text-case';
|
|
|
305
314
|
export { default as TaTextWholeMatch } from './icons/text-whole-match';
|
|
306
315
|
export { default as TaAttachment } from './icons/attachment';
|
|
307
316
|
export { default as TaResizer } from './icons/resizer';
|
|
317
|
+
export { default as TaVideo } from './icons/video';
|
|
308
318
|
export { default as TaUser1 } from './icons/user-1';
|
|
309
319
|
export { default as TaUser1Fill } from './icons/user-1-fill';
|
|
310
320
|
export { default as TaUser2 } from './icons/user-2';
|
|
@@ -420,6 +430,8 @@ export { default as TaArrowGoBack } from './icons/arrow-go-back';
|
|
|
420
430
|
export { default as TaArrowGoForward } from './icons/arrow-go-forward';
|
|
421
431
|
export { default as TaRecycle } from './icons/recycle';
|
|
422
432
|
export { default as TaOfflineSync } from './icons/offline-sync';
|
|
433
|
+
export { default as TaSwitch } from './icons/switch';
|
|
434
|
+
export { default as TaClean } from './icons/clean';
|
|
423
435
|
export { default as TaInfo } from './icons/info';
|
|
424
436
|
export { default as TaInfoFill } from './icons/info-fill';
|
|
425
437
|
export { default as TaHelp } from './icons/help';
|
|
@@ -497,4 +509,7 @@ export { default as TaBox } from './icons/box';
|
|
|
497
509
|
export { default as TaShutDown } from './icons/shut-down';
|
|
498
510
|
export { default as TaDatabase } from './icons/database';
|
|
499
511
|
export { default as TaTerminal } from './icons/terminal';
|
|
500
|
-
export { default as TaSatelliteDish } from './icons/satellite-dish';
|
|
512
|
+
export { default as TaSatelliteDish } from './icons/satellite-dish';
|
|
513
|
+
export { default as TaPost } from './icons/post';
|
|
514
|
+
export { default as TaPhrase } from './icons/phrase';
|
|
515
|
+
export { default as TaHashtag } from './icons/hashtag';
|
package/dist/index.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ export const TaDashboardReadingCl: Icon;
|
|
|
45
45
|
export const TaReportReadingCl: Icon;
|
|
46
46
|
export const TaCopywritingAiCl: Icon;
|
|
47
47
|
export const TaDashboardAiCl: Icon;
|
|
48
|
+
export const TaDashboardGenerateCl: Icon;
|
|
48
49
|
export const TaFlagCn: Icon;
|
|
49
50
|
export const TaFlagUs: Icon;
|
|
50
51
|
export const TaFlagJp: Icon;
|
|
@@ -142,6 +143,10 @@ export const TaTableSimple: Icon;
|
|
|
142
143
|
export const TaCertified: Icon;
|
|
143
144
|
export const TaUncertified: Icon;
|
|
144
145
|
export const TaAddIndexCl: Icon;
|
|
146
|
+
export const TaAlignLegendTop: Icon;
|
|
147
|
+
export const TaAlignLegendBottom: Icon;
|
|
148
|
+
export const TaAlignLegendLeft: Icon;
|
|
149
|
+
export const TaAlignLegendRight: Icon;
|
|
145
150
|
export const TaOperatorEqual: Icon;
|
|
146
151
|
export const TaOperatorUnequal: Icon;
|
|
147
152
|
export const TaOperatorDivide: Icon;
|
|
@@ -257,6 +262,7 @@ export const TaGameFill: Icon;
|
|
|
257
262
|
export const TaShop: Icon;
|
|
258
263
|
export const TaShopFill: Icon;
|
|
259
264
|
export const TaEarth: Icon;
|
|
265
|
+
export const TaGoalFill: Icon;
|
|
260
266
|
export const TaGoal: Icon;
|
|
261
267
|
export const TaOneTime: Icon;
|
|
262
268
|
export const TaRecurring: Icon;
|
|
@@ -293,6 +299,9 @@ export const TaWarehouse: Icon;
|
|
|
293
299
|
export const TaDataInput: Icon;
|
|
294
300
|
export const TaDataOutput: Icon;
|
|
295
301
|
export const TaManageQuery: Icon;
|
|
302
|
+
export const TaSad: Icon;
|
|
303
|
+
export const TaNeutral: Icon;
|
|
304
|
+
export const TaRobot: Icon;
|
|
296
305
|
export const TaFontSize: Icon;
|
|
297
306
|
export const TaFontBold: Icon;
|
|
298
307
|
export const TaFontItalic: Icon;
|
|
@@ -317,6 +326,7 @@ export const TaTextCase: Icon;
|
|
|
317
326
|
export const TaTextWholeMatch: Icon;
|
|
318
327
|
export const TaAttachment: Icon;
|
|
319
328
|
export const TaResizer: Icon;
|
|
329
|
+
export const TaVideo: Icon;
|
|
320
330
|
export const TaUser1: Icon;
|
|
321
331
|
export const TaUser1Fill: Icon;
|
|
322
332
|
export const TaUser2: Icon;
|
|
@@ -432,6 +442,8 @@ export const TaArrowGoBack: Icon;
|
|
|
432
442
|
export const TaArrowGoForward: Icon;
|
|
433
443
|
export const TaRecycle: Icon;
|
|
434
444
|
export const TaOfflineSync: Icon;
|
|
445
|
+
export const TaSwitch: Icon;
|
|
446
|
+
export const TaClean: Icon;
|
|
435
447
|
export const TaInfo: Icon;
|
|
436
448
|
export const TaInfoFill: Icon;
|
|
437
449
|
export const TaHelp: Icon;
|
|
@@ -510,3 +522,6 @@ export const TaShutDown: Icon;
|
|
|
510
522
|
export const TaDatabase: Icon;
|
|
511
523
|
export const TaTerminal: Icon;
|
|
512
524
|
export const TaSatelliteDish: Icon;
|
|
525
|
+
export const TaPost: Icon;
|
|
526
|
+
export const TaPhrase: Icon;
|
|
527
|
+
export const TaHashtag: Icon;
|