@tant/icons 1.20.8 → 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.
@@ -0,0 +1,74 @@
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 BiVendorFillCl = function BiVendorFillCl(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: "M20.75 20.25a.75.75 0 010 1.5h-18a.75.75 0 010-1.5h18z",
50
+ fill: "#915AFF"
51
+ }), /*#__PURE__*/React.createElement("path", {
52
+ d: "M18.75 3a2 2 0 012 2v11.23a2 2 0 01-2 2h-14a2 2 0 01-2-2V5a2 2 0 012-2h14z",
53
+ fill: "#915AFF"
54
+ }), /*#__PURE__*/React.createElement("path", {
55
+ d: "M15.352 6.432h1.296V15h-1.296V6.432z",
56
+ fill: "#F1ECFF"
57
+ }), /*#__PURE__*/React.createElement("path", {
58
+ d: "M7.09 6.432h3.912c.84 0 1.488.192 1.968.6.456.384.684.9.684 1.56 0 .48-.12.888-.36 1.224a2.13 2.13 0 01-.996.708c.564.108.996.336 1.284.684.288.348.432.816.432 1.392 0 .864-.3 1.488-.888 1.896-.504.336-1.212.504-2.124.504H7.09V6.432zm1.308 1.08v2.556h2.256c.6 0 1.032-.108 1.296-.312.264-.216.396-.552.396-1.008 0-.432-.132-.744-.396-.936-.264-.204-.696-.3-1.272-.3h-2.28zm0 3.624v2.784h2.424c.552 0 .984-.096 1.296-.264.384-.228.588-.588.588-1.08 0-.504-.156-.876-.456-1.104-.3-.228-.768-.336-1.392-.336h-2.46z",
59
+ fill: "#F1ECFF"
60
+ }))));
61
+ };
62
+ BiVendorFillCl.propTypes = {
63
+ iconClassName: PropTypes.string,
64
+ spin: PropTypes.bool,
65
+ color: PropTypes.string,
66
+ testid: PropTypes.string,
67
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
68
+ };
69
+ BiVendorFillCl.defaultProps = {
70
+ spin: false,
71
+ color: 'currentColor',
72
+ size: '1em'
73
+ };
74
+ export default BiVendorFillCl;
@@ -45,7 +45,7 @@ var BiVendor = function BiVendor(props) {
45
45
  height: "24",
46
46
  xmlns: "http://www.w3.org/2000/svg"
47
47
  }, /*#__PURE__*/React.createElement("path", {
48
- d: "M21 19a1 1 0 110 2H3a1 1 0 110-2h18zM19 2a2 2 0 012 2v11.23a2 2 0 01-1.796 1.99l-.204.01H5l-.204-.01A2 2 0 013 15.23V4a2 2 0 012-2h14zM5 15.23h14V4H5v11.23zm6.252-9.798c.84 0 1.488.192 1.968.6.456.384.684.9.684 1.56 0 .48-.12.888-.36 1.224a2.13 2.13 0 01-.996.708c.564.108.996.336 1.284.684.288.348.432.816.432 1.392 0 .864-.3 1.488-.888 1.896-.504.336-1.212.504-2.124.504H7.34V5.432h3.912zM16.898 14h-1.296V5.432h1.296V14zm-8.25-1.08h2.424c.552 0 .984-.096 1.296-.264.384-.228.588-.588.588-1.08 0-.504-.156-.876-.456-1.104-.3-.228-.768-.336-1.392-.336h-2.46v2.784zm0-3.852h2.256c.6 0 1.032-.108 1.296-.312.264-.216.396-.552.396-1.008 0-.432-.132-.744-.396-.936-.264-.204-.696-.3-1.272-.3h-2.28v2.556z"
48
+ d: "M20.75 20.25a.75.75 0 010 1.5h-18a.75.75 0 010-1.5h18zM18.75 3a2 2 0 012 2v11.23a2 2 0 01-1.796 1.99l-.204.01h-14l-.204-.01a2 2 0 01-1.796-1.99V5a2 2 0 012-2h14zm-14 1.5a.5.5 0 00-.5.5v11.23a.5.5 0 00.5.5h14a.5.5 0 00.5-.5V5a.5.5 0 00-.5-.5h-14zm6.252 1.932c.84 0 1.488.192 1.968.6.456.384.684.9.684 1.56 0 .48-.12.888-.36 1.224a2.13 2.13 0 01-.996.708c.564.108.996.336 1.284.684.288.348.432.816.432 1.392 0 .864-.3 1.488-.888 1.896-.504.336-1.212.504-2.124.504H7.09V6.432h3.912zM16.648 15h-1.296V6.432h1.296V15zm-8.25-1.08h2.424c.552 0 .984-.096 1.296-.264.384-.228.588-.588.588-1.08 0-.504-.156-.876-.456-1.104-.3-.228-.768-.336-1.392-.336h-2.46v2.784zm0-3.852h2.256c.6 0 1.032-.108 1.296-.312.264-.216.396-.552.396-1.008 0-.432-.132-.744-.396-.936-.264-.204-.696-.3-1.272-.3h-2.28v2.556z"
49
49
  }))));
50
50
  };
51
51
  BiVendor.propTypes = {
@@ -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;