@tant/icons 1.20.16 → 1.20.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/e-flow-cl.js +113 -0
- package/dist/es/icons/logo-flink-cl.js +623 -0
- package/dist/es/icons/logo-spark-cl.js +74 -0
- package/dist/es/icons/paste-2.js +63 -0
- package/dist/es/icons/paste.js +63 -0
- package/dist/es/index.js +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/lib/icons/e-flow-cl.js +120 -0
- package/dist/lib/icons/logo-flink-cl.js +630 -0
- package/dist/lib/icons/logo-spark-cl.js +81 -0
- package/dist/lib/icons/paste-2.js +70 -0
- package/dist/lib/icons/paste.js +70 -0
- package/dist/lib/index.js +35 -0
- package/dist/tant-icons.cjs.js +2879 -1993
- package/dist/tant-icons.esm.js +2875 -1994
- package/package.json +1 -1
|
@@ -0,0 +1,113 @@
|
|
|
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 EFlowCl = function EFlowCl(props) {
|
|
15
|
+
var color = props.color,
|
|
16
|
+
size = props.size,
|
|
17
|
+
spin = props.spin,
|
|
18
|
+
style = props.style,
|
|
19
|
+
className = props.className,
|
|
20
|
+
iconClassName = props.iconClassName,
|
|
21
|
+
testid = props.testid,
|
|
22
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
23
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
24
|
+
role: "img",
|
|
25
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
26
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
27
|
+
children: loadingCircleStyle
|
|
28
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
29
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
30
|
+
width: size,
|
|
31
|
+
height: size,
|
|
32
|
+
viewBox: "0 0 24 24",
|
|
33
|
+
fill: color
|
|
34
|
+
}, otherProps, {
|
|
35
|
+
className: iconClassName,
|
|
36
|
+
"data-testid": testid,
|
|
37
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
38
|
+
animationDuration: '1s',
|
|
39
|
+
animationIterationCount: 'infinite',
|
|
40
|
+
animationName: 'loadingCircle',
|
|
41
|
+
animationTimingFunction: 'linear'
|
|
42
|
+
} : {})
|
|
43
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
44
|
+
width: "24",
|
|
45
|
+
height: "24",
|
|
46
|
+
fill: "none",
|
|
47
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
48
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
49
|
+
d: "M5 3a1 1 0 011-1h12a1 1 0 011 1v6a1 1 0 01-1 1H6a1 1 0 01-1-1V3z",
|
|
50
|
+
fill: "#1673F6"
|
|
51
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
52
|
+
d: "M12 10v6m-8 .5l3.207-3.207A1 1 0 017.914 13h8.172a1 1 0 01.707.293L20 16.5",
|
|
53
|
+
stroke: "#B3CFF8"
|
|
54
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
55
|
+
d: "M17 17a1 1 0 011-1h3a1 1 0 011 1v4a1 1 0 01-1 1h-3a1 1 0 01-1-1v-4z",
|
|
56
|
+
fill: "#B3CFF8"
|
|
57
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
58
|
+
id: "a",
|
|
59
|
+
fill: "#fff"
|
|
60
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
61
|
+
d: "M17 17a1 1 0 011-1h3a1 1 0 011 1v1h-5v-1z"
|
|
62
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
63
|
+
d: "M17 17a1 1 0 011-1h3a1 1 0 011 1v1h-5v-1z",
|
|
64
|
+
fill: "#1673F6"
|
|
65
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
66
|
+
d: "M17 16.5a2.5 2.5 0 015 0V18h-5v-1.5zm5 1.5h-5 5zm-5 0v-2 2zm5-2v2-2z",
|
|
67
|
+
fill: "#1673F6",
|
|
68
|
+
mask: "url(#a)"
|
|
69
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
70
|
+
d: "M9.5 17a1 1 0 011-1h3a1 1 0 011 1v4a1 1 0 01-1 1h-3a1 1 0 01-1-1v-4z",
|
|
71
|
+
fill: "#B3CFF8"
|
|
72
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
73
|
+
id: "b",
|
|
74
|
+
fill: "#fff"
|
|
75
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
76
|
+
d: "M9.5 17a1 1 0 011-1h3a1 1 0 011 1v1h-5v-1z"
|
|
77
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
78
|
+
d: "M9.5 17a1 1 0 011-1h3a1 1 0 011 1v1h-5v-1z",
|
|
79
|
+
fill: "#1673F6"
|
|
80
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
81
|
+
d: "M9.5 16.5a2.5 2.5 0 015 0V18h-5v-1.5zm5 1.5h-5 5zm-5 0v-2 2zm5-2v2-2z",
|
|
82
|
+
fill: "#1673F6",
|
|
83
|
+
mask: "url(#b)"
|
|
84
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
85
|
+
d: "M2 17a1 1 0 011-1h3a1 1 0 011 1v4a1 1 0 01-1 1H3a1 1 0 01-1-1v-4z",
|
|
86
|
+
fill: "#B3CFF8"
|
|
87
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
88
|
+
id: "c",
|
|
89
|
+
fill: "#fff"
|
|
90
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
91
|
+
d: "M2 17a1 1 0 011-1h3a1 1 0 011 1v1H2v-1z"
|
|
92
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
93
|
+
d: "M2 17a1 1 0 011-1h3a1 1 0 011 1v1H2v-1z",
|
|
94
|
+
fill: "#1673F6"
|
|
95
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
96
|
+
d: "M2 16.5a2.5 2.5 0 015 0V18H2v-1.5zM7 18H2h5zm-5 0v-2 2zm5-2v2-2z",
|
|
97
|
+
fill: "#1673F6",
|
|
98
|
+
mask: "url(#c)"
|
|
99
|
+
}))));
|
|
100
|
+
};
|
|
101
|
+
EFlowCl.propTypes = {
|
|
102
|
+
iconClassName: PropTypes.string,
|
|
103
|
+
spin: PropTypes.bool,
|
|
104
|
+
color: PropTypes.string,
|
|
105
|
+
testid: PropTypes.string,
|
|
106
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
107
|
+
};
|
|
108
|
+
EFlowCl.defaultProps = {
|
|
109
|
+
spin: false,
|
|
110
|
+
color: 'currentColor',
|
|
111
|
+
size: '1em'
|
|
112
|
+
};
|
|
113
|
+
export default EFlowCl;
|