@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.
Files changed (46) hide show
  1. package/dist/es/icons/Dashboard-Generate-cl.js +142 -0
  2. package/dist/es/icons/align-legend-bottom.js +63 -0
  3. package/dist/es/icons/align-legend-left.js +63 -0
  4. package/dist/es/icons/align-legend-right.js +63 -0
  5. package/dist/es/icons/align-legend-top.js +63 -0
  6. package/dist/es/icons/clean.js +69 -0
  7. package/dist/es/icons/goal-fill.js +65 -0
  8. package/dist/es/icons/goal.js +1 -3
  9. package/dist/es/icons/hashtag.js +63 -0
  10. package/dist/es/icons/list-nested.js +1 -1
  11. package/dist/es/icons/logo-AppPush-gray.js +1 -1
  12. package/dist/es/icons/logo-douyin-gray.js +1 -1
  13. package/dist/es/icons/logo-wechat-gray.js +2 -9
  14. package/dist/es/icons/neutral.js +63 -0
  15. package/dist/es/icons/phrase.js +63 -0
  16. package/dist/es/icons/post.js +63 -0
  17. package/dist/es/icons/robot.js +73 -0
  18. package/dist/es/icons/sad.js +63 -0
  19. package/dist/es/icons/switch.js +65 -0
  20. package/dist/es/icons/video.js +63 -0
  21. package/dist/es/index.js +16 -1
  22. package/dist/index.d.ts +15 -0
  23. package/dist/lib/icons/Dashboard-Generate-cl.js +149 -0
  24. package/dist/lib/icons/align-legend-bottom.js +70 -0
  25. package/dist/lib/icons/align-legend-left.js +70 -0
  26. package/dist/lib/icons/align-legend-right.js +70 -0
  27. package/dist/lib/icons/align-legend-top.js +70 -0
  28. package/dist/lib/icons/clean.js +76 -0
  29. package/dist/lib/icons/goal-fill.js +72 -0
  30. package/dist/lib/icons/goal.js +1 -3
  31. package/dist/lib/icons/hashtag.js +70 -0
  32. package/dist/lib/icons/list-nested.js +1 -1
  33. package/dist/lib/icons/logo-AppPush-gray.js +1 -1
  34. package/dist/lib/icons/logo-douyin-gray.js +1 -1
  35. package/dist/lib/icons/logo-wechat-gray.js +2 -9
  36. package/dist/lib/icons/neutral.js +70 -0
  37. package/dist/lib/icons/phrase.js +70 -0
  38. package/dist/lib/icons/post.js +70 -0
  39. package/dist/lib/icons/robot.js +80 -0
  40. package/dist/lib/icons/sad.js +70 -0
  41. package/dist/lib/icons/switch.js +72 -0
  42. package/dist/lib/icons/video.js +70 -0
  43. package/dist/lib/index.js +105 -0
  44. package/dist/tant-icons.cjs.js +3229 -2344
  45. package/dist/tant-icons.esm.js +3215 -2345
  46. package/package.json +1 -1
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _propTypes = _interopRequireDefault(require("prop-types"));
10
+ var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
12
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
13
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
14
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
15
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
16
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
18
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
19
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
20
+ var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
21
+ var Hashtag = function Hashtag(props) {
22
+ var color = props.color,
23
+ size = props.size,
24
+ spin = props.spin,
25
+ style = props.style,
26
+ className = props.className,
27
+ iconClassName = props.iconClassName,
28
+ testid = props.testid,
29
+ otherProps = _objectWithoutProperties(props, _excluded);
30
+ return /*#__PURE__*/_react["default"].createElement("span", {
31
+ role: "img",
32
+ className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
33
+ }, /*#__PURE__*/_react["default"].createElement("style", {
34
+ children: loadingCircleStyle
35
+ }), /*#__PURE__*/_react["default"].createElement("svg", _extends({
36
+ xmlns: "http://www.w3.org/2000/svg",
37
+ width: size,
38
+ height: size,
39
+ viewBox: "0 0 24 24",
40
+ fill: color
41
+ }, otherProps, {
42
+ className: iconClassName,
43
+ "data-testid": testid,
44
+ style: _objectSpread(_objectSpread({}, style), spin ? {
45
+ animationDuration: '1s',
46
+ animationIterationCount: 'infinite',
47
+ animationName: 'loadingCircle',
48
+ animationTimingFunction: 'linear'
49
+ } : {})
50
+ }), /*#__PURE__*/_react["default"].createElement("svg", {
51
+ width: "24",
52
+ height: "24",
53
+ xmlns: "http://www.w3.org/2000/svg"
54
+ }, /*#__PURE__*/_react["default"].createElement("path", {
55
+ d: "M5.89 6.454h2.783L9.382 2h2.345l-.681 4.454h3.627L15.382 2h2.345l-.681 4.454H19.5l-.355 2.157h-2.427l-1.063 6.778h2.809l-.355 2.157h-2.782L14.646 22h-2.373l.681-4.454H9.328L8.645 22H6.273l.682-4.454H4.5l.355-2.157h2.427l1.063-6.778H5.536l.355-2.157zm3.765 8.935h3.627l1.063-6.778h-3.627l-1.063 6.778z"
56
+ }))));
57
+ };
58
+ Hashtag.propTypes = {
59
+ iconClassName: _propTypes["default"].string,
60
+ spin: _propTypes["default"].bool,
61
+ color: _propTypes["default"].string,
62
+ testid: _propTypes["default"].string,
63
+ size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
64
+ };
65
+ Hashtag.defaultProps = {
66
+ spin: false,
67
+ color: 'currentColor',
68
+ size: '1em'
69
+ };
70
+ var _default = exports["default"] = Hashtag;
@@ -54,7 +54,7 @@ var ListNested = function ListNested(props) {
54
54
  }, /*#__PURE__*/_react["default"].createElement("path", {
55
55
  fillRule: "evenodd",
56
56
  clipRule: "evenodd",
57
- d: "M3 4a1 1 0 102 0 1 1 0 00-2 0zm3-1h15v2H6V3zm4 5h11v2H10V8zm5 5h6v2h-6v-2zm-9 5h15v2H6v-2zm1.076-8.617a1 1 0 111.848-.765 1 1 0 01-1.848.765zM12 14a1 1 0 101.998 0A1 1 0 0012 14zm-8.924 5.383a1 1 0 111.847-.765 1 1 0 01-1.847.765z"
57
+ d: "M3 4a1 1 0 102 0 1 1 0 00-2 0zm3-1h15v2H6V3zm4 5h11v2H10V8zm5 5h6v2h-6v-2zm-9 5h15v2H6v-2zm1.076-8.617a1 1 0 111.848-.765 1 1 0 01-1.848.765zM12 14a1 1 0 102 0 1 1 0 00-2 0zm-8.924 5.383a1 1 0 111.848-.765 1 1 0 01-1.848.765z"
58
58
  }))));
59
59
  };
60
60
  ListNested.propTypes = {
@@ -52,7 +52,7 @@ var LogoAppPushGray = function LogoAppPushGray(props) {
52
52
  height: "24",
53
53
  xmlns: "http://www.w3.org/2000/svg"
54
54
  }, /*#__PURE__*/_react["default"].createElement("path", {
55
- d: "M16.5 6.5a1 1 0 00-1-1h-7a1 1 0 00-1 1V10a1 1 0 001 1h7a1 1 0 001-1V6.5z"
55
+ d: "M16.5 6.5a1 1 0 00-1-1h-7a1 1 0 00-1 1v2a1 1 0 001 1h7a1 1 0 001-1v-2z"
56
56
  }), /*#__PURE__*/_react["default"].createElement("path", {
57
57
  d: "M4 4a2 2 0 012-2h12a2 2 0 012 2v16a2 2 0 01-2 2H6a2 2 0 01-2-2V4zm2 1v14a1 1 0 001 1h10a1 1 0 001-1V5a1 1 0 00-1-1H7a1 1 0 00-1 1z"
58
58
  }), /*#__PURE__*/_react["default"].createElement("path", {
@@ -52,7 +52,7 @@ var LogoDouyinGray = function LogoDouyinGray(props) {
52
52
  height: "24",
53
53
  xmlns: "http://www.w3.org/2000/svg"
54
54
  }, /*#__PURE__*/_react["default"].createElement("path", {
55
- d: "M19.273 4.877A5.698 5.698 0 0116.68.111h-4.088l-.01 16.385a3.438 3.438 0 01-3.428 3.308 3.442 3.442 0 01-3.437-3.437 3.442 3.442 0 013.437-3.437c.356 0 .695.06 1.016.159V8.914a7.218 7.218 0 00-1.016-.073c-4.148 0-7.525 3.373-7.525 7.526 0 2.546 1.273 4.8 3.214 6.163a7.483 7.483 0 004.311 1.363c4.149 0 7.526-3.377 7.526-7.526v-8.31a9.713 9.713 0 005.687 1.83V5.8a5.671 5.671 0 01-3.094-.922z"
55
+ 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"
56
56
  }))));
57
57
  };
58
58
  LogoDouyinGray.propTypes = {
@@ -51,16 +51,9 @@ var LogoWechatGray = function LogoWechatGray(props) {
51
51
  width: "24",
52
52
  height: "24",
53
53
  xmlns: "http://www.w3.org/2000/svg"
54
- }, /*#__PURE__*/_react["default"].createElement("g", {
55
- clipPath: "url(#clip0_3342_397)"
56
54
  }, /*#__PURE__*/_react["default"].createElement("path", {
57
- d: "M9.01 14.475c.45-2.925 1.8-4.65 4.125-5.7.9-.375 2.55-.975 3.9-.6-.375-3.525-4.875-6.075-9-6l-2.025.45C4.51 3 3.385 3.675 2.335 4.5.91 5.625-.59 8.325.235 11.1c.525 1.8 1.725 3.15 3.15 4.05L2.56 17.7l2.925-1.5 1.275.3c.75.225 1.65.225 2.475.15 0-.6-.375-1.35-.225-2.175zm1.5-7.875c.15-.45.6-.525 1.125-.75 1.425.075 1.5 1.95.225 2.1-.825.15-1.65-.525-1.35-1.35zM5.935 8.025c-.825.15-1.65-.6-1.35-1.425.225-.45.6-.525 1.125-.75 1.425.075 1.5 1.875.225 2.175zm17.4 4.2c-1.275-2.175-3.45-3.675-6.9-3.675l-1.425.225c-1.2.3-2.25.75-3.15 1.425-3.15 2.4-2.85 7.05.225 9.3.9.675 3.075 1.725 4.875 1.425.375-.075 2.325-.45 2.4-.45l2.325 1.275-.675-2.1c1.125-1.275 2.25-1.8 2.85-3.75.375-1.275 0-2.775-.525-3.675zm-8.4 1.35c-1.125.45-1.875-.9-.6-1.575 1.125-.075 1.575 1.2.6 1.575zm4.65 0c-1.125.45-1.8-.9-.6-1.575 1.2-.075 1.65 1.2.6 1.575z"
58
- })), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("clipPath", {
59
- id: "clip0_3342_397"
60
- }, /*#__PURE__*/_react["default"].createElement("rect", {
61
- width: "24",
62
- height: "24"
63
- }))))));
55
+ 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"
56
+ }))));
64
57
  };
65
58
  LogoWechatGray.propTypes = {
66
59
  iconClassName: _propTypes["default"].string,
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _propTypes = _interopRequireDefault(require("prop-types"));
10
+ var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
12
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
13
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
14
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
15
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
16
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
18
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
19
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
20
+ var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
21
+ var Neutral = function Neutral(props) {
22
+ var color = props.color,
23
+ size = props.size,
24
+ spin = props.spin,
25
+ style = props.style,
26
+ className = props.className,
27
+ iconClassName = props.iconClassName,
28
+ testid = props.testid,
29
+ otherProps = _objectWithoutProperties(props, _excluded);
30
+ return /*#__PURE__*/_react["default"].createElement("span", {
31
+ role: "img",
32
+ className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
33
+ }, /*#__PURE__*/_react["default"].createElement("style", {
34
+ children: loadingCircleStyle
35
+ }), /*#__PURE__*/_react["default"].createElement("svg", _extends({
36
+ xmlns: "http://www.w3.org/2000/svg",
37
+ width: size,
38
+ height: size,
39
+ viewBox: "0 0 24 24",
40
+ fill: color
41
+ }, otherProps, {
42
+ className: iconClassName,
43
+ "data-testid": testid,
44
+ style: _objectSpread(_objectSpread({}, style), spin ? {
45
+ animationDuration: '1s',
46
+ animationIterationCount: 'infinite',
47
+ animationName: 'loadingCircle',
48
+ animationTimingFunction: 'linear'
49
+ } : {})
50
+ }), /*#__PURE__*/_react["default"].createElement("svg", {
51
+ width: "24",
52
+ height: "24",
53
+ xmlns: "http://www.w3.org/2000/svg"
54
+ }, /*#__PURE__*/_react["default"].createElement("path", {
55
+ d: "M12 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"
56
+ }))));
57
+ };
58
+ Neutral.propTypes = {
59
+ iconClassName: _propTypes["default"].string,
60
+ spin: _propTypes["default"].bool,
61
+ color: _propTypes["default"].string,
62
+ testid: _propTypes["default"].string,
63
+ size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
64
+ };
65
+ Neutral.defaultProps = {
66
+ spin: false,
67
+ color: 'currentColor',
68
+ size: '1em'
69
+ };
70
+ var _default = exports["default"] = Neutral;
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _propTypes = _interopRequireDefault(require("prop-types"));
10
+ var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
12
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
13
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
14
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
15
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
16
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
18
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
19
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
20
+ var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
21
+ var Phrase = function Phrase(props) {
22
+ var color = props.color,
23
+ size = props.size,
24
+ spin = props.spin,
25
+ style = props.style,
26
+ className = props.className,
27
+ iconClassName = props.iconClassName,
28
+ testid = props.testid,
29
+ otherProps = _objectWithoutProperties(props, _excluded);
30
+ return /*#__PURE__*/_react["default"].createElement("span", {
31
+ role: "img",
32
+ className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
33
+ }, /*#__PURE__*/_react["default"].createElement("style", {
34
+ children: loadingCircleStyle
35
+ }), /*#__PURE__*/_react["default"].createElement("svg", _extends({
36
+ xmlns: "http://www.w3.org/2000/svg",
37
+ width: size,
38
+ height: size,
39
+ viewBox: "0 0 24 24",
40
+ fill: color
41
+ }, otherProps, {
42
+ className: iconClassName,
43
+ "data-testid": testid,
44
+ style: _objectSpread(_objectSpread({}, style), spin ? {
45
+ animationDuration: '1s',
46
+ animationIterationCount: 'infinite',
47
+ animationName: 'loadingCircle',
48
+ animationTimingFunction: 'linear'
49
+ } : {})
50
+ }), /*#__PURE__*/_react["default"].createElement("svg", {
51
+ width: "24",
52
+ height: "24",
53
+ xmlns: "http://www.w3.org/2000/svg"
54
+ }, /*#__PURE__*/_react["default"].createElement("path", {
55
+ d: "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"
56
+ }))));
57
+ };
58
+ Phrase.propTypes = {
59
+ iconClassName: _propTypes["default"].string,
60
+ spin: _propTypes["default"].bool,
61
+ color: _propTypes["default"].string,
62
+ testid: _propTypes["default"].string,
63
+ size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
64
+ };
65
+ Phrase.defaultProps = {
66
+ spin: false,
67
+ color: 'currentColor',
68
+ size: '1em'
69
+ };
70
+ var _default = exports["default"] = Phrase;
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _propTypes = _interopRequireDefault(require("prop-types"));
10
+ var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
12
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
13
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
14
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
15
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
16
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
18
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
19
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
20
+ var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
21
+ var Post = function Post(props) {
22
+ var color = props.color,
23
+ size = props.size,
24
+ spin = props.spin,
25
+ style = props.style,
26
+ className = props.className,
27
+ iconClassName = props.iconClassName,
28
+ testid = props.testid,
29
+ otherProps = _objectWithoutProperties(props, _excluded);
30
+ return /*#__PURE__*/_react["default"].createElement("span", {
31
+ role: "img",
32
+ className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
33
+ }, /*#__PURE__*/_react["default"].createElement("style", {
34
+ children: loadingCircleStyle
35
+ }), /*#__PURE__*/_react["default"].createElement("svg", _extends({
36
+ xmlns: "http://www.w3.org/2000/svg",
37
+ width: size,
38
+ height: size,
39
+ viewBox: "0 0 24 24",
40
+ fill: color
41
+ }, otherProps, {
42
+ className: iconClassName,
43
+ "data-testid": testid,
44
+ style: _objectSpread(_objectSpread({}, style), spin ? {
45
+ animationDuration: '1s',
46
+ animationIterationCount: 'infinite',
47
+ animationName: 'loadingCircle',
48
+ animationTimingFunction: 'linear'
49
+ } : {})
50
+ }), /*#__PURE__*/_react["default"].createElement("svg", {
51
+ width: "24",
52
+ height: "24",
53
+ xmlns: "http://www.w3.org/2000/svg"
54
+ }, /*#__PURE__*/_react["default"].createElement("path", {
55
+ d: "M12.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"
56
+ }))));
57
+ };
58
+ Post.propTypes = {
59
+ iconClassName: _propTypes["default"].string,
60
+ spin: _propTypes["default"].bool,
61
+ color: _propTypes["default"].string,
62
+ testid: _propTypes["default"].string,
63
+ size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
64
+ };
65
+ Post.defaultProps = {
66
+ spin: false,
67
+ color: 'currentColor',
68
+ size: '1em'
69
+ };
70
+ var _default = exports["default"] = Post;
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _propTypes = _interopRequireDefault(require("prop-types"));
10
+ var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
12
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
13
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
14
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
15
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
16
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
18
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
19
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
20
+ var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
21
+ var Robot = function Robot(props) {
22
+ var color = props.color,
23
+ size = props.size,
24
+ spin = props.spin,
25
+ style = props.style,
26
+ className = props.className,
27
+ iconClassName = props.iconClassName,
28
+ testid = props.testid,
29
+ otherProps = _objectWithoutProperties(props, _excluded);
30
+ return /*#__PURE__*/_react["default"].createElement("span", {
31
+ role: "img",
32
+ className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
33
+ }, /*#__PURE__*/_react["default"].createElement("style", {
34
+ children: loadingCircleStyle
35
+ }), /*#__PURE__*/_react["default"].createElement("svg", _extends({
36
+ xmlns: "http://www.w3.org/2000/svg",
37
+ width: size,
38
+ height: size,
39
+ viewBox: "0 0 24 24",
40
+ fill: color
41
+ }, otherProps, {
42
+ className: iconClassName,
43
+ "data-testid": testid,
44
+ style: _objectSpread(_objectSpread({}, style), spin ? {
45
+ animationDuration: '1s',
46
+ animationIterationCount: 'infinite',
47
+ animationName: 'loadingCircle',
48
+ animationTimingFunction: 'linear'
49
+ } : {})
50
+ }), /*#__PURE__*/_react["default"].createElement("svg", {
51
+ width: "24",
52
+ height: "24",
53
+ xmlns: "http://www.w3.org/2000/svg"
54
+ }, /*#__PURE__*/_react["default"].createElement("path", {
55
+ d: "M9.5 11a1.5 1.5 0 110 3 1.5 1.5 0 010-3z"
56
+ }), /*#__PURE__*/_react["default"].createElement("path", {
57
+ d: "M14.5 11a1.5 1.5 0 110 3 1.5 1.5 0 010-3z"
58
+ }), /*#__PURE__*/_react["default"].createElement("path", {
59
+ fillRule: "evenodd",
60
+ clipRule: "evenodd",
61
+ 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"
62
+ }), /*#__PURE__*/_react["default"].createElement("path", {
63
+ d: "M3 10a1 1 0 011 1v3l-.005.102a1 1 0 01-1.99 0L2 14v-3a1 1 0 011-1z"
64
+ }), /*#__PURE__*/_react["default"].createElement("path", {
65
+ d: "M21 10a1 1 0 011 1v3l-.005.102a1 1 0 01-1.99 0L20 14v-3a1 1 0 011-1z"
66
+ }))));
67
+ };
68
+ Robot.propTypes = {
69
+ iconClassName: _propTypes["default"].string,
70
+ spin: _propTypes["default"].bool,
71
+ color: _propTypes["default"].string,
72
+ testid: _propTypes["default"].string,
73
+ size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
74
+ };
75
+ Robot.defaultProps = {
76
+ spin: false,
77
+ color: 'currentColor',
78
+ size: '1em'
79
+ };
80
+ var _default = exports["default"] = Robot;
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _propTypes = _interopRequireDefault(require("prop-types"));
10
+ var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
12
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
13
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
14
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
15
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
16
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
18
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
19
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
20
+ var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
21
+ var Sad = function Sad(props) {
22
+ var color = props.color,
23
+ size = props.size,
24
+ spin = props.spin,
25
+ style = props.style,
26
+ className = props.className,
27
+ iconClassName = props.iconClassName,
28
+ testid = props.testid,
29
+ otherProps = _objectWithoutProperties(props, _excluded);
30
+ return /*#__PURE__*/_react["default"].createElement("span", {
31
+ role: "img",
32
+ className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
33
+ }, /*#__PURE__*/_react["default"].createElement("style", {
34
+ children: loadingCircleStyle
35
+ }), /*#__PURE__*/_react["default"].createElement("svg", _extends({
36
+ xmlns: "http://www.w3.org/2000/svg",
37
+ width: size,
38
+ height: size,
39
+ viewBox: "0 0 24 24",
40
+ fill: color
41
+ }, otherProps, {
42
+ className: iconClassName,
43
+ "data-testid": testid,
44
+ style: _objectSpread(_objectSpread({}, style), spin ? {
45
+ animationDuration: '1s',
46
+ animationIterationCount: 'infinite',
47
+ animationName: 'loadingCircle',
48
+ animationTimingFunction: 'linear'
49
+ } : {})
50
+ }), /*#__PURE__*/_react["default"].createElement("svg", {
51
+ width: "24",
52
+ height: "24",
53
+ xmlns: "http://www.w3.org/2000/svg"
54
+ }, /*#__PURE__*/_react["default"].createElement("path", {
55
+ d: "M12 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"
56
+ }))));
57
+ };
58
+ Sad.propTypes = {
59
+ iconClassName: _propTypes["default"].string,
60
+ spin: _propTypes["default"].bool,
61
+ color: _propTypes["default"].string,
62
+ testid: _propTypes["default"].string,
63
+ size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
64
+ };
65
+ Sad.defaultProps = {
66
+ spin: false,
67
+ color: 'currentColor',
68
+ size: '1em'
69
+ };
70
+ var _default = exports["default"] = Sad;
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _propTypes = _interopRequireDefault(require("prop-types"));
10
+ var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
12
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
13
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
14
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
15
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
16
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
18
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
19
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
20
+ var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
21
+ var Switch = function Switch(props) {
22
+ var color = props.color,
23
+ size = props.size,
24
+ spin = props.spin,
25
+ style = props.style,
26
+ className = props.className,
27
+ iconClassName = props.iconClassName,
28
+ testid = props.testid,
29
+ otherProps = _objectWithoutProperties(props, _excluded);
30
+ return /*#__PURE__*/_react["default"].createElement("span", {
31
+ role: "img",
32
+ className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
33
+ }, /*#__PURE__*/_react["default"].createElement("style", {
34
+ children: loadingCircleStyle
35
+ }), /*#__PURE__*/_react["default"].createElement("svg", _extends({
36
+ xmlns: "http://www.w3.org/2000/svg",
37
+ width: size,
38
+ height: size,
39
+ viewBox: "0 0 24 24",
40
+ fill: color
41
+ }, otherProps, {
42
+ className: iconClassName,
43
+ "data-testid": testid,
44
+ style: _objectSpread(_objectSpread({}, style), spin ? {
45
+ animationDuration: '1s',
46
+ animationIterationCount: 'infinite',
47
+ animationName: 'loadingCircle',
48
+ animationTimingFunction: 'linear'
49
+ } : {})
50
+ }), /*#__PURE__*/_react["default"].createElement("svg", {
51
+ width: "24",
52
+ height: "24",
53
+ xmlns: "http://www.w3.org/2000/svg"
54
+ }, /*#__PURE__*/_react["default"].createElement("path", {
55
+ d: "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"
56
+ }), /*#__PURE__*/_react["default"].createElement("path", {
57
+ 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"
58
+ }))));
59
+ };
60
+ Switch.propTypes = {
61
+ iconClassName: _propTypes["default"].string,
62
+ spin: _propTypes["default"].bool,
63
+ color: _propTypes["default"].string,
64
+ testid: _propTypes["default"].string,
65
+ size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
66
+ };
67
+ Switch.defaultProps = {
68
+ spin: false,
69
+ color: 'currentColor',
70
+ size: '1em'
71
+ };
72
+ var _default = exports["default"] = Switch;