@tant/icons 1.3.16 → 1.3.17
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/folder-cl.js +2 -2
- package/dist/es/icons/folder-open-cl.js +2 -2
- package/dist/es/icons/logo-futu-cl.js +62 -0
- package/dist/es/icons/logo-happyelement-cl.js +103 -0
- package/dist/es/icons/new-indicator.js +1 -22
- package/dist/es/icons/page-cl.js +3 -3
- package/dist/es/icons/space-cl.js +3 -3
- package/dist/es/icons/space-open-cl.js +4 -4
- package/dist/es/icons/u-cohort-cl.js +4 -4
- package/dist/es/icons/u-search-cl.js +6 -6
- package/dist/es/icons/u-tag-cl.js +2 -2
- package/dist/es/icons/user-tag-cl.js +1 -1
- package/dist/es/index.js +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/lib/icons/folder-cl.js +2 -2
- package/dist/lib/icons/folder-open-cl.js +2 -2
- package/dist/lib/icons/logo-futu-cl.js +70 -0
- package/dist/lib/icons/logo-happyelement-cl.js +111 -0
- package/dist/lib/icons/new-indicator.js +1 -22
- package/dist/lib/icons/page-cl.js +3 -3
- package/dist/lib/icons/space-cl.js +3 -3
- package/dist/lib/icons/space-open-cl.js +4 -4
- package/dist/lib/icons/u-cohort-cl.js +4 -4
- package/dist/lib/icons/u-search-cl.js +6 -6
- package/dist/lib/icons/u-tag-cl.js +2 -2
- package/dist/lib/icons/user-tag-cl.js +1 -1
- package/dist/lib/index.js +14 -0
- package/dist/tant-icons.cjs.js +974 -850
- package/dist/tant-icons.esm.js +973 -851
- package/package.json +1 -1
|
@@ -45,11 +45,11 @@ var FolderCl = function FolderCl(props) {
|
|
|
45
45
|
xmlns: "http://www.w3.org/2000/svg"
|
|
46
46
|
}, /*#__PURE__*/React.createElement("path", {
|
|
47
47
|
d: "M2 6a2 2 0 012-2h6.607a2 2 0 012 2v1.75H2V6z",
|
|
48
|
-
fill: "#
|
|
48
|
+
fill: "#202241"
|
|
49
49
|
}), /*#__PURE__*/React.createElement("path", {
|
|
50
50
|
opacity: ".15",
|
|
51
51
|
d: "M2 7h18a2 2 0 012 2v9a2 2 0 01-2 2H4a2 2 0 01-2-2V7z",
|
|
52
|
-
fill: "#
|
|
52
|
+
fill: "#202241"
|
|
53
53
|
}))));
|
|
54
54
|
};
|
|
55
55
|
FolderCl.propTypes = {
|
|
@@ -45,11 +45,11 @@ var FolderOpenCl = function FolderOpenCl(props) {
|
|
|
45
45
|
xmlns: "http://www.w3.org/2000/svg"
|
|
46
46
|
}, /*#__PURE__*/React.createElement("path", {
|
|
47
47
|
d: "M2 5v15l2.499-9.911a1 1 0 01.97-.756H16V7a1 1 0 00-1-1h-4a1 1 0 01-.8-.4l-.9-1.2a1 1 0 00-.8-.4H3a1 1 0 00-1 1z",
|
|
48
|
-
fill: "#
|
|
48
|
+
fill: "#202241"
|
|
49
49
|
}), /*#__PURE__*/React.createElement("path", {
|
|
50
50
|
opacity: ".3",
|
|
51
51
|
d: "M18.174 20H2l2.499-9.911a1 1 0 01.97-.756H20.67a1 1 0 01.961 1.277l-2.497 8.667a1 1 0 01-.96.723z",
|
|
52
|
-
fill: "#
|
|
52
|
+
fill: "#202241"
|
|
53
53
|
}))));
|
|
54
54
|
};
|
|
55
55
|
FolderOpenCl.propTypes = {
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
8
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
9
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
10
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import PropTypes from 'prop-types';
|
|
13
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
14
|
+
var LogoFutuCl = function LogoFutuCl(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
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
22
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
23
|
+
role: "img",
|
|
24
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
25
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
26
|
+
children: loadingCircleStyle
|
|
27
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
28
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
29
|
+
width: size,
|
|
30
|
+
height: size,
|
|
31
|
+
viewBox: "0 0 24 24",
|
|
32
|
+
fill: color
|
|
33
|
+
}, otherProps, {
|
|
34
|
+
className: iconClassName,
|
|
35
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
36
|
+
animationDuration: '1s',
|
|
37
|
+
animationIterationCount: 'infinite',
|
|
38
|
+
animationName: 'loadingCircle',
|
|
39
|
+
animationTimingFunction: 'linear'
|
|
40
|
+
} : {})
|
|
41
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
42
|
+
width: "24",
|
|
43
|
+
height: "24",
|
|
44
|
+
fill: "none",
|
|
45
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
46
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
47
|
+
d: "M22.276 0H1.657C.73 0 0 .73 0 1.657v20.686C0 23.27.73 24 1.657 24h20.686C23.27 24 24 23.27 24 22.343V1.657C23.934.73 23.204 0 22.276 0zm-6.298 15.448c0 .265-.265.53-.53.53H12.53c-.265 0-.53-.265-.53-.53V12.53c0-.265.265-.53.53-.53h2.851c.265 0 .53.265.53.53v2.918h.067zm3.978-8.023c0 .266-.265.53-.53.53h-8.487a2.971 2.971 0 00-2.983 2.984v8.486c0 .266-.265.53-.53.53H4.507c-.265 0-.53-.264-.53-.53v-9.48a5.942 5.942 0 015.967-5.967h9.48c.266 0 .53.265.53.53v2.917z",
|
|
48
|
+
fill: "#1F54D0"
|
|
49
|
+
}))));
|
|
50
|
+
};
|
|
51
|
+
LogoFutuCl.propTypes = {
|
|
52
|
+
iconClassName: PropTypes.string,
|
|
53
|
+
spin: PropTypes.bool,
|
|
54
|
+
color: PropTypes.string,
|
|
55
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
56
|
+
};
|
|
57
|
+
LogoFutuCl.defaultProps = {
|
|
58
|
+
spin: false,
|
|
59
|
+
color: 'currentColor',
|
|
60
|
+
size: '1em'
|
|
61
|
+
};
|
|
62
|
+
export default LogoFutuCl;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
8
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
9
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
10
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import PropTypes from 'prop-types';
|
|
13
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
14
|
+
var LogoHappyelementCl = function LogoHappyelementCl(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
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
22
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
23
|
+
role: "img",
|
|
24
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
25
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
26
|
+
children: loadingCircleStyle
|
|
27
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
28
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
29
|
+
width: size,
|
|
30
|
+
height: size,
|
|
31
|
+
viewBox: "0 0 24 24",
|
|
32
|
+
fill: color
|
|
33
|
+
}, otherProps, {
|
|
34
|
+
className: iconClassName,
|
|
35
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
36
|
+
animationDuration: '1s',
|
|
37
|
+
animationIterationCount: 'infinite',
|
|
38
|
+
animationName: 'loadingCircle',
|
|
39
|
+
animationTimingFunction: 'linear'
|
|
40
|
+
} : {})
|
|
41
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
42
|
+
width: "24",
|
|
43
|
+
height: "24",
|
|
44
|
+
fill: "none",
|
|
45
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
46
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
47
|
+
clipPath: "url(#clip0_6241_4597)"
|
|
48
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
49
|
+
d: "M1.986 11.502h7.612l.487.487c.53.53 1.023.776 1.423.76a4.502 4.502 0 00-.01.265v1.388l-4.07 4.074c-1.325 1.327-3.278 1.148-4.34-.399L.505 14.314c-1.061-1.547-.395-2.812 1.48-2.812z",
|
|
50
|
+
fill: "#80B84E"
|
|
51
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
52
|
+
d: "M12.498 1.989V9.6l-.487.487c-.53.53-.775 1.023-.76 1.423a4.521 4.521 0 00-.265-.01H9.598l-4.074-4.07c-1.327-1.325-1.148-3.278.399-4.34L9.686.508C11.233-.554 12.5.113 12.5 1.988z",
|
|
53
|
+
fill: "#5FABCE"
|
|
54
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
55
|
+
d: "M12.746 12.492c.085.005.173.01.265.01H14.4l4.075 4.069c1.326 1.325 1.147 3.279-.4 4.34l-3.763 2.584c-1.547 1.061-2.813.395-2.813-1.48v-7.613l.488-.487c.53-.53.775-1.023.76-1.423z",
|
|
56
|
+
fill: "#F5D343"
|
|
57
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
58
|
+
d: "M12.49 11.254c.005-.085.008-.173.008-.265V9.6l4.07-4.075c1.325-1.327 3.279-1.147 4.34.4l2.584 3.763c1.062 1.546.396 2.812-1.48 2.812h-7.613l-.487-.487c-.531-.53-1.023-.776-1.423-.76z",
|
|
59
|
+
fill: "#DF6664"
|
|
60
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
61
|
+
d: "M11.251 11.51c.224.014.423.045.598.09a1.597 1.597 0 00-.251.551.82.82 0 01-.347-.64z",
|
|
62
|
+
fill: "#fff"
|
|
63
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
64
|
+
d: "M11.508 12.749a.82.82 0 00.64-.347c.175.046.375.077.598.09.015.4-.23.892-.76 1.422l-.487.488v-1.388c0-.092.004-.18.009-.265z",
|
|
65
|
+
fill: "#EBE36B"
|
|
66
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
67
|
+
d: "M12.746 12.492a.821.821 0 00-.347-.64c.05-.196.08-.396.09-.598.4-.016.892.23 1.423.76l.488.487h-1.388c-.089 0-.178-.003-.266-.009z",
|
|
68
|
+
fill: "#FCE6C5"
|
|
69
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
70
|
+
d: "M12.746 12.492a3.084 3.084 0 01-.598-.09c.107-.141.192-.326.25-.55a.82.82 0 01.348.64zm-.598-.09a.818.818 0 01-.64.347 3.09 3.09 0 01.09-.598c.141.107.326.192.55.251z",
|
|
71
|
+
fill: "#fff"
|
|
72
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
73
|
+
d: "M11.251 11.51a.82.82 0 00.347.641 3.052 3.052 0 00-.09.598c-.4.016-.892-.23-1.423-.76l-.487-.487h1.388c.092 0 .18.003.265.009z",
|
|
74
|
+
fill: "#ADD3E1"
|
|
75
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
76
|
+
d: "M12.498 10.988c0 .093-.003.18-.009.266a.82.82 0 00-.64.347 3.058 3.058 0 00-.598-.09c-.016-.4.23-.893.76-1.423l.487-.487v1.387z",
|
|
77
|
+
fill: "#E6D6E8"
|
|
78
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
79
|
+
d: "M12.49 11.254a3.05 3.05 0 01-.091.598 1.577 1.577 0 00-.55-.25.818.818 0 01.64-.348z",
|
|
80
|
+
fill: "#fff"
|
|
81
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
82
|
+
d: "M11.848 11.6c.224.06.409.145.55.251a1.584 1.584 0 01-.25.55 1.596 1.596 0 01-.55-.25c.06-.224.144-.409.25-.55z",
|
|
83
|
+
fill: "#fff"
|
|
84
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
85
|
+
id: "clip0_6241_4597"
|
|
86
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
87
|
+
width: "24",
|
|
88
|
+
height: "24",
|
|
89
|
+
fill: "#fff"
|
|
90
|
+
}))))));
|
|
91
|
+
};
|
|
92
|
+
LogoHappyelementCl.propTypes = {
|
|
93
|
+
iconClassName: PropTypes.string,
|
|
94
|
+
spin: PropTypes.bool,
|
|
95
|
+
color: PropTypes.string,
|
|
96
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
97
|
+
};
|
|
98
|
+
LogoHappyelementCl.defaultProps = {
|
|
99
|
+
spin: false,
|
|
100
|
+
color: 'currentColor',
|
|
101
|
+
size: '1em'
|
|
102
|
+
};
|
|
103
|
+
export default LogoHappyelementCl;
|
|
@@ -45,28 +45,7 @@ var NewIndicator = function NewIndicator(props) {
|
|
|
45
45
|
}, /*#__PURE__*/React.createElement("path", {
|
|
46
46
|
fillRule: "evenodd",
|
|
47
47
|
clipRule: "evenodd",
|
|
48
|
-
d: "M19.414 2.586A2 2 0 0120
|
|
49
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
50
|
-
x: "10",
|
|
51
|
-
y: "13",
|
|
52
|
-
width: "12",
|
|
53
|
-
height: "10",
|
|
54
|
-
rx: "1"
|
|
55
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
56
|
-
x: "13",
|
|
57
|
-
y: "17",
|
|
58
|
-
width: "8",
|
|
59
|
-
height: "2"
|
|
60
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
61
|
-
x: "16",
|
|
62
|
-
y: "14",
|
|
63
|
-
width: "2",
|
|
64
|
-
height: "8"
|
|
65
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
66
|
-
x: "17",
|
|
67
|
-
y: "11",
|
|
68
|
-
width: "4",
|
|
69
|
-
height: "2"
|
|
48
|
+
d: "M19.414 2.586A2 2 0 0120 4v7h-2V4H4v14h6v2H4a2 2 0 01-2-2V4a2 2 0 012-2h14a2 2 0 011.414.586zm-4.342 7.429L11.092 13H11a1 1 0 00-.299.045L8.825 10.7 5.6 13.119l-1.2-1.6 4.775-3.582 2 2.5 2.693-2.02L12.5 7h4v4.5l-1.428-1.485zM18 17h3v2h-3v3h-2v-3h-3v-2h3v-3h2v3z"
|
|
70
49
|
}))));
|
|
71
50
|
};
|
|
72
51
|
NewIndicator.propTypes = {
|
package/dist/es/icons/page-cl.js
CHANGED
|
@@ -50,21 +50,21 @@ var PageCl = function PageCl(props) {
|
|
|
50
50
|
width: "18",
|
|
51
51
|
height: "18",
|
|
52
52
|
rx: "2",
|
|
53
|
-
fill: "#
|
|
53
|
+
fill: "#202241"
|
|
54
54
|
}), /*#__PURE__*/React.createElement("rect", {
|
|
55
55
|
x: "6.857",
|
|
56
56
|
y: "6.857",
|
|
57
57
|
width: "10.286",
|
|
58
58
|
height: "1.929",
|
|
59
59
|
rx: ".964",
|
|
60
|
-
fill: "#
|
|
60
|
+
fill: "#202241"
|
|
61
61
|
}), /*#__PURE__*/React.createElement("rect", {
|
|
62
62
|
x: "6.857",
|
|
63
63
|
y: "10.714",
|
|
64
64
|
width: "6.429",
|
|
65
65
|
height: "1.929",
|
|
66
66
|
rx: ".964",
|
|
67
|
-
fill: "#
|
|
67
|
+
fill: "#202241"
|
|
68
68
|
}))));
|
|
69
69
|
};
|
|
70
70
|
PageCl.propTypes = {
|
|
@@ -46,14 +46,14 @@ var SpaceCl = function SpaceCl(props) {
|
|
|
46
46
|
}, /*#__PURE__*/React.createElement("path", {
|
|
47
47
|
opacity: ".3",
|
|
48
48
|
d: "M2.667 17.672V6.49l9.109 2.489v12.444l-8.425-2.801a1 1 0 01-.684-.949z",
|
|
49
|
-
fill: "#
|
|
49
|
+
fill: "#202241"
|
|
50
50
|
}), /*#__PURE__*/React.createElement("path", {
|
|
51
51
|
opacity: ".15",
|
|
52
52
|
d: "M21.109 17.591V6.489l-9.333 2.489v12.444l8.65-2.882a1 1 0 00.683-.949z",
|
|
53
|
-
fill: "#
|
|
53
|
+
fill: "#202241"
|
|
54
54
|
}), /*#__PURE__*/React.createElement("path", {
|
|
55
55
|
d: "M11.9 8.978L2.666 6.454l8.978-2.386a1 1 0 01.509-.002l9.18 2.388-9.435 2.524z",
|
|
56
|
-
fill: "#
|
|
56
|
+
fill: "#202241"
|
|
57
57
|
}))));
|
|
58
58
|
};
|
|
59
59
|
SpaceCl.propTypes = {
|
|
@@ -46,18 +46,18 @@ var SpaceOpenCl = function SpaceOpenCl(props) {
|
|
|
46
46
|
}, /*#__PURE__*/React.createElement("path", {
|
|
47
47
|
opacity: ".3",
|
|
48
48
|
d: "M2.667 17.828v-5.534l9.22 5.239v6.465l-8.66-5.181a1.152 1.152 0 01-.56-.989z",
|
|
49
|
-
fill: "#
|
|
49
|
+
fill: "#202241"
|
|
50
50
|
}), /*#__PURE__*/React.createElement("path", {
|
|
51
51
|
opacity: ".15",
|
|
52
52
|
d: "M21.333 17.735v-5.438l-9.446 5.236V24l8.882-5.275c.35-.207.564-.584.564-.99z",
|
|
53
|
-
fill: "#
|
|
53
|
+
fill: "#202241"
|
|
54
54
|
}), /*#__PURE__*/React.createElement("path", {
|
|
55
55
|
d: "M7.293 9.696l3.844 2.406c.405.253.915.256 1.322.006l4.05-2.48 4.824 2.689-9.421 5.402-9.22-5.402 4.6-2.62z",
|
|
56
|
-
fill: "#
|
|
56
|
+
fill: "#202241"
|
|
57
57
|
}), /*#__PURE__*/React.createElement("path", {
|
|
58
58
|
opacity: ".3",
|
|
59
59
|
d: "M11.137 12.102L3.272 7.18c-.813-.51-.806-1.715.014-2.213L11.15.183a1.253 1.253 0 011.295-.006l8.037 4.785c.833.496.84 1.719.013 2.225l-8.036 4.921c-.407.25-.917.247-1.322-.006z",
|
|
60
|
-
fill: "#
|
|
60
|
+
fill: "#202241"
|
|
61
61
|
}))));
|
|
62
62
|
};
|
|
63
63
|
SpaceOpenCl.propTypes = {
|
|
@@ -48,23 +48,23 @@ var UCohortCl = function UCohortCl(props) {
|
|
|
48
48
|
cy: "7.177",
|
|
49
49
|
rx: "3",
|
|
50
50
|
ry: "3.177",
|
|
51
|
-
fill: "#
|
|
51
|
+
fill: "#915AFF"
|
|
52
52
|
}), /*#__PURE__*/React.createElement("path", {
|
|
53
53
|
d: "M10 20h12c0-4.45-2.686-8.057-6-8.057S10 15.55 10 20z",
|
|
54
|
-
fill: "#
|
|
54
|
+
fill: "#34CFDA"
|
|
55
55
|
}), /*#__PURE__*/React.createElement("ellipse", {
|
|
56
56
|
cx: "8",
|
|
57
57
|
cy: "7.177",
|
|
58
58
|
rx: "3",
|
|
59
59
|
ry: "3.177",
|
|
60
|
-
fill: "#
|
|
60
|
+
fill: "#34CFDA"
|
|
61
61
|
}), /*#__PURE__*/React.createElement("g", {
|
|
62
62
|
style: {
|
|
63
63
|
mixBlendMode: 'multiply'
|
|
64
64
|
}
|
|
65
65
|
}, /*#__PURE__*/React.createElement("path", {
|
|
66
66
|
d: "M2 20h12c0-4.45-2.686-8.057-6-8.057S2 15.55 2 20z",
|
|
67
|
-
fill: "#
|
|
67
|
+
fill: "#915AFF"
|
|
68
68
|
})))));
|
|
69
69
|
};
|
|
70
70
|
UCohortCl.propTypes = {
|
|
@@ -47,13 +47,13 @@ var USearchCl = function USearchCl(props) {
|
|
|
47
47
|
cx: "12",
|
|
48
48
|
cy: "7.5",
|
|
49
49
|
r: "3.5",
|
|
50
|
-
fill: "#
|
|
50
|
+
fill: "#915AFF"
|
|
51
51
|
}), /*#__PURE__*/React.createElement("path", {
|
|
52
52
|
d: "M5 21.625c0-4.901 3.134-8.875 7-8.875s7 3.974 7 8.875H5z",
|
|
53
|
-
fill: "#
|
|
53
|
+
fill: "#915AFF"
|
|
54
54
|
}), /*#__PURE__*/React.createElement("path", {
|
|
55
55
|
d: "M3 7V3h4",
|
|
56
|
-
stroke: "#
|
|
56
|
+
stroke: "#34CFDA",
|
|
57
57
|
strokeWidth: "3"
|
|
58
58
|
}), /*#__PURE__*/React.createElement("g", {
|
|
59
59
|
style: {
|
|
@@ -61,11 +61,11 @@ var USearchCl = function USearchCl(props) {
|
|
|
61
61
|
}
|
|
62
62
|
}, /*#__PURE__*/React.createElement("path", {
|
|
63
63
|
d: "M3 14v4h4",
|
|
64
|
-
stroke: "#
|
|
64
|
+
stroke: "#34CFDA",
|
|
65
65
|
strokeWidth: "3"
|
|
66
66
|
})), /*#__PURE__*/React.createElement("path", {
|
|
67
67
|
d: "M21 7V3h-4",
|
|
68
|
-
stroke: "#
|
|
68
|
+
stroke: "#34CFDA",
|
|
69
69
|
strokeWidth: "3"
|
|
70
70
|
}), /*#__PURE__*/React.createElement("g", {
|
|
71
71
|
style: {
|
|
@@ -73,7 +73,7 @@ var USearchCl = function USearchCl(props) {
|
|
|
73
73
|
}
|
|
74
74
|
}, /*#__PURE__*/React.createElement("path", {
|
|
75
75
|
d: "M21 14v4h-4",
|
|
76
|
-
stroke: "#
|
|
76
|
+
stroke: "#34CFDA",
|
|
77
77
|
strokeWidth: "3"
|
|
78
78
|
})))));
|
|
79
79
|
};
|
|
@@ -47,7 +47,7 @@ var UTagCl = function UTagCl(props) {
|
|
|
47
47
|
fillRule: "evenodd",
|
|
48
48
|
clipRule: "evenodd",
|
|
49
49
|
d: "M14.874 2.737L9.032 8.24v13.97h11.684V8.24l-5.842-5.503zM15 11a2 2 0 100-4 2 2 0 000 4z",
|
|
50
|
-
fill: "#
|
|
50
|
+
fill: "#915AFF"
|
|
51
51
|
}), /*#__PURE__*/React.createElement("g", {
|
|
52
52
|
style: {
|
|
53
53
|
mixBlendMode: 'multiply'
|
|
@@ -56,7 +56,7 @@ var UTagCl = function UTagCl(props) {
|
|
|
56
56
|
fillRule: "evenodd",
|
|
57
57
|
clipRule: "evenodd",
|
|
58
58
|
d: "M19.846 4.107l-8.024-.194L2 13.848l8.309 8.214 9.822-9.934-.285-8.02zM15 11a2 2 0 100-4 2 2 0 000 4z",
|
|
59
|
-
fill: "#
|
|
59
|
+
fill: "#34CFDA"
|
|
60
60
|
})))));
|
|
61
61
|
};
|
|
62
62
|
UTagCl.propTypes = {
|
|
@@ -45,7 +45,7 @@ var UserTagCl = function UserTagCl(props) {
|
|
|
45
45
|
xmlns: "http://www.w3.org/2000/svg"
|
|
46
46
|
}, /*#__PURE__*/React.createElement("path", {
|
|
47
47
|
d: "M21.576 1H8.351c-.445 0-.874.174-1.196.482L5.972 2.614c-.194.184-.07.516.194.523l3.332.106c.499.017.975.225 1.327.588 0 0 9.585 9.78 9.602 9.801h1.17c.774 0 1.404-.639 1.404-1.432V2.453C23 1.653 22.364 1 21.576 1z",
|
|
48
|
-
fill: "#
|
|
48
|
+
fill: "#747C94"
|
|
49
49
|
}), /*#__PURE__*/React.createElement("path", {
|
|
50
50
|
d: "M18.998 13.63l-8.503-8.674a1.746 1.746 0 00-1.183-.523l-6.82-.22C1.66 4.187.98 4.88 1 5.729l.181 6.82c.014.514.218 1.002.577 1.365l8.496 8.666c.55.561 1.438.561 1.984 0l6.76-6.895a1.473 1.473 0 000-2.055zM4.654 9.067c-.617 0-1.117-.509-1.117-1.138 0-.629.5-1.138 1.117-1.138.616 0 1.116.509 1.116 1.138 0 .63-.5 1.138-1.116 1.138z",
|
|
51
51
|
fill: "#0A1032",
|
package/dist/es/index.js
CHANGED
|
@@ -153,6 +153,8 @@ export { default as TaLogoGarenaCl } from './icons/logo-garena-cl';
|
|
|
153
153
|
export { default as TaLogoAndroidGray } from './icons/logo-android-gray';
|
|
154
154
|
export { default as TaLogoAppleGray } from './icons/logo-apple-gray';
|
|
155
155
|
export { default as TaLogoXiaomiCl } from './icons/logo-xiaomi -cl';
|
|
156
|
+
export { default as TaLogoFutuCl } from './icons/logo-futu-cl';
|
|
157
|
+
export { default as TaLogoHappyelementCl } from './icons/logo-happyelement-cl';
|
|
156
158
|
export { default as TaDashboardCl } from './icons/dashboard-cl';
|
|
157
159
|
export { default as TaReportCl } from './icons/report-cl';
|
|
158
160
|
export { default as TaUserTagCl } from './icons/user-tag-cl';
|
package/dist/index.d.ts
CHANGED
|
@@ -164,6 +164,8 @@ export const TaLogoGarenaCl: Icon;
|
|
|
164
164
|
export const TaLogoAndroidGray: Icon;
|
|
165
165
|
export const TaLogoAppleGray: Icon;
|
|
166
166
|
export const TaLogoXiaomiCl: Icon;
|
|
167
|
+
export const TaLogoFutuCl: Icon;
|
|
168
|
+
export const TaLogoHappyelementCl: Icon;
|
|
167
169
|
export const TaDashboardCl: Icon;
|
|
168
170
|
export const TaReportCl: Icon;
|
|
169
171
|
export const TaUserTagCl: Icon;
|
|
@@ -52,11 +52,11 @@ var FolderCl = function FolderCl(props) {
|
|
|
52
52
|
xmlns: "http://www.w3.org/2000/svg"
|
|
53
53
|
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
54
54
|
d: "M2 6a2 2 0 012-2h6.607a2 2 0 012 2v1.75H2V6z",
|
|
55
|
-
fill: "#
|
|
55
|
+
fill: "#202241"
|
|
56
56
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
57
57
|
opacity: ".15",
|
|
58
58
|
d: "M2 7h18a2 2 0 012 2v9a2 2 0 01-2 2H4a2 2 0 01-2-2V7z",
|
|
59
|
-
fill: "#
|
|
59
|
+
fill: "#202241"
|
|
60
60
|
}))));
|
|
61
61
|
};
|
|
62
62
|
FolderCl.propTypes = {
|
|
@@ -52,11 +52,11 @@ var FolderOpenCl = function FolderOpenCl(props) {
|
|
|
52
52
|
xmlns: "http://www.w3.org/2000/svg"
|
|
53
53
|
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
54
54
|
d: "M2 5v15l2.499-9.911a1 1 0 01.97-.756H16V7a1 1 0 00-1-1h-4a1 1 0 01-.8-.4l-.9-1.2a1 1 0 00-.8-.4H3a1 1 0 00-1 1z",
|
|
55
|
-
fill: "#
|
|
55
|
+
fill: "#202241"
|
|
56
56
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
57
57
|
opacity: ".3",
|
|
58
58
|
d: "M18.174 20H2l2.499-9.911a1 1 0 01.97-.756H20.67a1 1 0 01.961 1.277l-2.497 8.667a1 1 0 01-.96.723z",
|
|
59
|
-
fill: "#
|
|
59
|
+
fill: "#202241"
|
|
60
60
|
}))));
|
|
61
61
|
};
|
|
62
62
|
FolderOpenCl.propTypes = {
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
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"];
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
13
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
14
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
15
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
16
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
17
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
18
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
19
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var LogoFutuCl = function LogoFutuCl(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
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
29
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
30
|
+
role: "img",
|
|
31
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
32
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
33
|
+
children: loadingCircleStyle
|
|
34
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
35
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
36
|
+
width: size,
|
|
37
|
+
height: size,
|
|
38
|
+
viewBox: "0 0 24 24",
|
|
39
|
+
fill: color
|
|
40
|
+
}, otherProps, {
|
|
41
|
+
className: iconClassName,
|
|
42
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
43
|
+
animationDuration: '1s',
|
|
44
|
+
animationIterationCount: 'infinite',
|
|
45
|
+
animationName: 'loadingCircle',
|
|
46
|
+
animationTimingFunction: 'linear'
|
|
47
|
+
} : {})
|
|
48
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", {
|
|
49
|
+
width: "24",
|
|
50
|
+
height: "24",
|
|
51
|
+
fill: "none",
|
|
52
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
53
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
54
|
+
d: "M22.276 0H1.657C.73 0 0 .73 0 1.657v20.686C0 23.27.73 24 1.657 24h20.686C23.27 24 24 23.27 24 22.343V1.657C23.934.73 23.204 0 22.276 0zm-6.298 15.448c0 .265-.265.53-.53.53H12.53c-.265 0-.53-.265-.53-.53V12.53c0-.265.265-.53.53-.53h2.851c.265 0 .53.265.53.53v2.918h.067zm3.978-8.023c0 .266-.265.53-.53.53h-8.487a2.971 2.971 0 00-2.983 2.984v8.486c0 .266-.265.53-.53.53H4.507c-.265 0-.53-.264-.53-.53v-9.48a5.942 5.942 0 015.967-5.967h9.48c.266 0 .53.265.53.53v2.917z",
|
|
55
|
+
fill: "#1F54D0"
|
|
56
|
+
}))));
|
|
57
|
+
};
|
|
58
|
+
LogoFutuCl.propTypes = {
|
|
59
|
+
iconClassName: _propTypes["default"].string,
|
|
60
|
+
spin: _propTypes["default"].bool,
|
|
61
|
+
color: _propTypes["default"].string,
|
|
62
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
63
|
+
};
|
|
64
|
+
LogoFutuCl.defaultProps = {
|
|
65
|
+
spin: false,
|
|
66
|
+
color: 'currentColor',
|
|
67
|
+
size: '1em'
|
|
68
|
+
};
|
|
69
|
+
var _default = LogoFutuCl;
|
|
70
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
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"];
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
13
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
14
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
15
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
16
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
17
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
18
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
19
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var LogoHappyelementCl = function LogoHappyelementCl(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
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
29
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
30
|
+
role: "img",
|
|
31
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
32
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
33
|
+
children: loadingCircleStyle
|
|
34
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
35
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
36
|
+
width: size,
|
|
37
|
+
height: size,
|
|
38
|
+
viewBox: "0 0 24 24",
|
|
39
|
+
fill: color
|
|
40
|
+
}, otherProps, {
|
|
41
|
+
className: iconClassName,
|
|
42
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
43
|
+
animationDuration: '1s',
|
|
44
|
+
animationIterationCount: 'infinite',
|
|
45
|
+
animationName: 'loadingCircle',
|
|
46
|
+
animationTimingFunction: 'linear'
|
|
47
|
+
} : {})
|
|
48
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", {
|
|
49
|
+
width: "24",
|
|
50
|
+
height: "24",
|
|
51
|
+
fill: "none",
|
|
52
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
53
|
+
}, /*#__PURE__*/_react["default"].createElement("g", {
|
|
54
|
+
clipPath: "url(#clip0_6241_4597)"
|
|
55
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
56
|
+
d: "M1.986 11.502h7.612l.487.487c.53.53 1.023.776 1.423.76a4.502 4.502 0 00-.01.265v1.388l-4.07 4.074c-1.325 1.327-3.278 1.148-4.34-.399L.505 14.314c-1.061-1.547-.395-2.812 1.48-2.812z",
|
|
57
|
+
fill: "#80B84E"
|
|
58
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
59
|
+
d: "M12.498 1.989V9.6l-.487.487c-.53.53-.775 1.023-.76 1.423a4.521 4.521 0 00-.265-.01H9.598l-4.074-4.07c-1.327-1.325-1.148-3.278.399-4.34L9.686.508C11.233-.554 12.5.113 12.5 1.988z",
|
|
60
|
+
fill: "#5FABCE"
|
|
61
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
62
|
+
d: "M12.746 12.492c.085.005.173.01.265.01H14.4l4.075 4.069c1.326 1.325 1.147 3.279-.4 4.34l-3.763 2.584c-1.547 1.061-2.813.395-2.813-1.48v-7.613l.488-.487c.53-.53.775-1.023.76-1.423z",
|
|
63
|
+
fill: "#F5D343"
|
|
64
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
65
|
+
d: "M12.49 11.254c.005-.085.008-.173.008-.265V9.6l4.07-4.075c1.325-1.327 3.279-1.147 4.34.4l2.584 3.763c1.062 1.546.396 2.812-1.48 2.812h-7.613l-.487-.487c-.531-.53-1.023-.776-1.423-.76z",
|
|
66
|
+
fill: "#DF6664"
|
|
67
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
68
|
+
d: "M11.251 11.51c.224.014.423.045.598.09a1.597 1.597 0 00-.251.551.82.82 0 01-.347-.64z",
|
|
69
|
+
fill: "#fff"
|
|
70
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
71
|
+
d: "M11.508 12.749a.82.82 0 00.64-.347c.175.046.375.077.598.09.015.4-.23.892-.76 1.422l-.487.488v-1.388c0-.092.004-.18.009-.265z",
|
|
72
|
+
fill: "#EBE36B"
|
|
73
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
74
|
+
d: "M12.746 12.492a.821.821 0 00-.347-.64c.05-.196.08-.396.09-.598.4-.016.892.23 1.423.76l.488.487h-1.388c-.089 0-.178-.003-.266-.009z",
|
|
75
|
+
fill: "#FCE6C5"
|
|
76
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
77
|
+
d: "M12.746 12.492a3.084 3.084 0 01-.598-.09c.107-.141.192-.326.25-.55a.82.82 0 01.348.64zm-.598-.09a.818.818 0 01-.64.347 3.09 3.09 0 01.09-.598c.141.107.326.192.55.251z",
|
|
78
|
+
fill: "#fff"
|
|
79
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
80
|
+
d: "M11.251 11.51a.82.82 0 00.347.641 3.052 3.052 0 00-.09.598c-.4.016-.892-.23-1.423-.76l-.487-.487h1.388c.092 0 .18.003.265.009z",
|
|
81
|
+
fill: "#ADD3E1"
|
|
82
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
83
|
+
d: "M12.498 10.988c0 .093-.003.18-.009.266a.82.82 0 00-.64.347 3.058 3.058 0 00-.598-.09c-.016-.4.23-.893.76-1.423l.487-.487v1.387z",
|
|
84
|
+
fill: "#E6D6E8"
|
|
85
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
86
|
+
d: "M12.49 11.254a3.05 3.05 0 01-.091.598 1.577 1.577 0 00-.55-.25.818.818 0 01.64-.348z",
|
|
87
|
+
fill: "#fff"
|
|
88
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
89
|
+
d: "M11.848 11.6c.224.06.409.145.55.251a1.584 1.584 0 01-.25.55 1.596 1.596 0 01-.55-.25c.06-.224.144-.409.25-.55z",
|
|
90
|
+
fill: "#fff"
|
|
91
|
+
})), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("clipPath", {
|
|
92
|
+
id: "clip0_6241_4597"
|
|
93
|
+
}, /*#__PURE__*/_react["default"].createElement("rect", {
|
|
94
|
+
width: "24",
|
|
95
|
+
height: "24",
|
|
96
|
+
fill: "#fff"
|
|
97
|
+
}))))));
|
|
98
|
+
};
|
|
99
|
+
LogoHappyelementCl.propTypes = {
|
|
100
|
+
iconClassName: _propTypes["default"].string,
|
|
101
|
+
spin: _propTypes["default"].bool,
|
|
102
|
+
color: _propTypes["default"].string,
|
|
103
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
104
|
+
};
|
|
105
|
+
LogoHappyelementCl.defaultProps = {
|
|
106
|
+
spin: false,
|
|
107
|
+
color: 'currentColor',
|
|
108
|
+
size: '1em'
|
|
109
|
+
};
|
|
110
|
+
var _default = LogoHappyelementCl;
|
|
111
|
+
exports["default"] = _default;
|