@tant/icons 1.21.62 → 1.21.63

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.
@@ -1,315 +0,0 @@
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 BiMmoGameCl = function BiMmoGameCl(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("g", {
49
- clipPath: "url(#clip0_10870_715)"
50
- }, /*#__PURE__*/React.createElement("g", {
51
- filter: "url(#filter0_f_10870_715)"
52
- }, /*#__PURE__*/React.createElement("ellipse", {
53
- cx: "13.036",
54
- cy: "13.424",
55
- rx: "6.299",
56
- ry: "5.849",
57
- fill: "#00C3FF"
58
- })), /*#__PURE__*/React.createElement("g", {
59
- filter: "url(#filter1_ii_10870_715)"
60
- }, /*#__PURE__*/React.createElement("path", {
61
- d: "M14.755 5.897l-6.67-1.455a.341.341 0 00-.276.058L2.307 8.543a.347.347 0 00-.134.356l.746 3.508c.752 3.541 3.485 6.313 6.96 7.06.57.123.987.153 1.275.092.288-.061.656-.258 1.127-.602 2.871-2.097 4.24-5.74 3.487-9.281l-.745-3.508a.355.355 0 00-.268-.271z",
62
- fill: "url(#paint0_linear_10870_715)"
63
- })), /*#__PURE__*/React.createElement("path", {
64
- opacity: ".8",
65
- d: "M13.662 7.319l.592 2.783c.604 2.839-.496 5.748-2.78 7.416-.4.292-.606.374-.672.388-.066.014-.286.023-.77-.082-2.765-.594-4.954-2.804-5.557-5.643l-.592-2.784 4.42-3.248 5.36 1.17z",
66
- stroke: "url(#paint1_linear_10870_715)",
67
- strokeWidth: "1.776"
68
- }), /*#__PURE__*/React.createElement("foreignObject", {
69
- x: "-6.572",
70
- y: "-11.133",
71
- width: "43.265",
72
- height: "45.965"
73
- }, /*#__PURE__*/React.createElement("div", {
74
- xmlns: "http://www.w3.org/1999/xhtml",
75
- style: {
76
- backdropFilter: 'blur(7.1px)height'
77
- },
78
- clipPath: "url(#bgblur_1_10870_715_clip_path)"
79
- })), /*#__PURE__*/React.createElement("g", {
80
- filter: "url(#filter2_ii_10870_715)",
81
- "data-figma-bg-blurRadius": "14.209"
82
- }, /*#__PURE__*/React.createElement("path", {
83
- d: "M22.252 6.3L15.22 3.11a.384.384 0 00-.318 0L7.869 6.3a.405.405 0 00-.232.364v4.072c0 4.11 2.37 7.834 6.037 9.484.6.27 1.054.402 1.387.402.332 0 .786-.131 1.387-.402 3.667-1.65 6.036-5.374 6.036-9.483V6.664a.405.405 0 00-.232-.365z",
84
- fill: "url(#paint2_linear_10870_715)",
85
- fillOpacity: ".4"
86
- })), /*#__PURE__*/React.createElement("g", {
87
- filter: "url(#filter3_d_10870_715)"
88
- }, /*#__PURE__*/React.createElement("path", {
89
- d: "M13.238 9.21l1.013 5.279h-1.215v1.267h1.417v1.267h1.215v-1.267h1.417v-1.267H15.87l1.013-5.28-1.822-2.534-1.823 2.534z",
90
- fill: "url(#paint3_linear_10870_715)"
91
- }))), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
92
- id: "paint0_linear_10870_715",
93
- x1: "7.941",
94
- y1: "4.441",
95
- x2: "11.154",
96
- y2: "19.559",
97
- gradientUnits: "userSpaceOnUse"
98
- }, /*#__PURE__*/React.createElement("stop", {
99
- stopColor: "#BBEDFF"
100
- }), /*#__PURE__*/React.createElement("stop", {
101
- offset: "1",
102
- stopColor: "#00C4FF"
103
- })), /*#__PURE__*/React.createElement("linearGradient", {
104
- id: "paint1_linear_10870_715",
105
- x1: "8.107",
106
- y1: "5.226",
107
- x2: "10.987",
108
- y2: "18.774",
109
- gradientUnits: "userSpaceOnUse"
110
- }, /*#__PURE__*/React.createElement("stop", {
111
- stopColor: "#fff"
112
- }), /*#__PURE__*/React.createElement("stop", {
113
- offset: "1",
114
- stopColor: "#CEDCFF"
115
- })), /*#__PURE__*/React.createElement("linearGradient", {
116
- id: "paint2_linear_10870_715",
117
- x1: "15.061",
118
- y1: "3.076",
119
- x2: "15.061",
120
- y2: "20.622",
121
- gradientUnits: "userSpaceOnUse"
122
- }, /*#__PURE__*/React.createElement("stop", {
123
- stopColor: "#fff"
124
- }), /*#__PURE__*/React.createElement("stop", {
125
- offset: "1",
126
- stopColor: "#BBEDFF"
127
- })), /*#__PURE__*/React.createElement("linearGradient", {
128
- id: "paint3_linear_10870_715",
129
- x1: "15.06",
130
- y1: "6.675",
131
- x2: "15.06",
132
- y2: "17.023",
133
- gradientUnits: "userSpaceOnUse"
134
- }, /*#__PURE__*/React.createElement("stop", {
135
- stopColor: "#fff"
136
- }), /*#__PURE__*/React.createElement("stop", {
137
- offset: "1",
138
- stopColor: "#E2F2FF"
139
- })), /*#__PURE__*/React.createElement("filter", {
140
- id: "filter0_f_10870_715",
141
- x: "-93.263",
142
- y: "-92.425",
143
- width: "212.598",
144
- height: "211.698",
145
- filterUnits: "userSpaceOnUse",
146
- "color-interpolationFilters": "sRGB"
147
- }, /*#__PURE__*/React.createElement("feFlood", {
148
- floodOpacity: "0",
149
- result: "BackgroundImageFix"
150
- }), /*#__PURE__*/React.createElement("feBlend", {
151
- "in": "SourceGraphic",
152
- in2: "BackgroundImageFix",
153
- result: "shape"
154
- }), /*#__PURE__*/React.createElement("feGaussianBlur", {
155
- stdDeviation: "50",
156
- result: "effect1_foregroundBlur_10870_715"
157
- })), /*#__PURE__*/React.createElement("filter", {
158
- id: "filter1_ii_10870_715",
159
- x: "2.165",
160
- y: "3.901",
161
- width: "13.807",
162
- height: "16.221",
163
- filterUnits: "userSpaceOnUse",
164
- "color-interpolationFilters": "sRGB"
165
- }, /*#__PURE__*/React.createElement("feFlood", {
166
- floodOpacity: "0",
167
- result: "BackgroundImageFix"
168
- }), /*#__PURE__*/React.createElement("feBlend", {
169
- "in": "SourceGraphic",
170
- in2: "BackgroundImageFix",
171
- result: "shape"
172
- }), /*#__PURE__*/React.createElement("feColorMatrix", {
173
- "in": "SourceAlpha",
174
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
175
- result: "hardAlpha"
176
- }), /*#__PURE__*/React.createElement("feOffset", {
177
- dy: "-.533"
178
- }), /*#__PURE__*/React.createElement("feGaussianBlur", {
179
- stdDeviation: ".533"
180
- }), /*#__PURE__*/React.createElement("feComposite", {
181
- in2: "hardAlpha",
182
- operator: "arithmetic",
183
- k2: "-1",
184
- k3: "1"
185
- }), /*#__PURE__*/React.createElement("feColorMatrix", {
186
- values: "0 0 0 0 0 0 0 0 0 0.764706 0 0 0 0 1 0 0 0 0.3 0"
187
- }), /*#__PURE__*/React.createElement("feBlend", {
188
- in2: "shape",
189
- result: "effect1_innerShadow_10870_715"
190
- }), /*#__PURE__*/React.createElement("feColorMatrix", {
191
- "in": "SourceAlpha",
192
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
193
- result: "hardAlpha"
194
- }), /*#__PURE__*/React.createElement("feOffset", {
195
- dy: ".533"
196
- }), /*#__PURE__*/React.createElement("feGaussianBlur", {
197
- stdDeviation: ".533"
198
- }), /*#__PURE__*/React.createElement("feComposite", {
199
- in2: "hardAlpha",
200
- operator: "arithmetic",
201
- k2: "-1",
202
- k3: "1"
203
- }), /*#__PURE__*/React.createElement("feColorMatrix", {
204
- values: "0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"
205
- }), /*#__PURE__*/React.createElement("feBlend", {
206
- in2: "effect1_innerShadow_10870_715",
207
- result: "effect2_innerShadow_10870_715"
208
- })), /*#__PURE__*/React.createElement("filter", {
209
- id: "filter2_ii_10870_715",
210
- x: "-6.572",
211
- y: "-11.133",
212
- width: "43.265",
213
- height: "45.965",
214
- filterUnits: "userSpaceOnUse",
215
- "color-interpolationFilters": "sRGB"
216
- }, /*#__PURE__*/React.createElement("feFlood", {
217
- floodOpacity: "0",
218
- result: "BackgroundImageFix"
219
- }), /*#__PURE__*/React.createElement("feBlend", {
220
- "in": "SourceGraphic",
221
- in2: "BackgroundImageFix",
222
- result: "shape"
223
- }), /*#__PURE__*/React.createElement("feColorMatrix", {
224
- "in": "SourceAlpha",
225
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
226
- result: "hardAlpha"
227
- }), /*#__PURE__*/React.createElement("feOffset", {
228
- dy: "-.533"
229
- }), /*#__PURE__*/React.createElement("feGaussianBlur", {
230
- stdDeviation: ".533"
231
- }), /*#__PURE__*/React.createElement("feComposite", {
232
- in2: "hardAlpha",
233
- operator: "arithmetic",
234
- k2: "-1",
235
- k3: "1"
236
- }), /*#__PURE__*/React.createElement("feColorMatrix", {
237
- values: "0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.8 0"
238
- }), /*#__PURE__*/React.createElement("feBlend", {
239
- in2: "shape",
240
- result: "effect1_innerShadow_10870_715"
241
- }), /*#__PURE__*/React.createElement("feColorMatrix", {
242
- "in": "SourceAlpha",
243
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
244
- result: "hardAlpha"
245
- }), /*#__PURE__*/React.createElement("feOffset", {
246
- dy: ".533"
247
- }), /*#__PURE__*/React.createElement("feGaussianBlur", {
248
- stdDeviation: ".533"
249
- }), /*#__PURE__*/React.createElement("feComposite", {
250
- in2: "hardAlpha",
251
- operator: "arithmetic",
252
- k2: "-1",
253
- k3: "1"
254
- }), /*#__PURE__*/React.createElement("feColorMatrix", {
255
- values: "0 0 0 0 0.733333 0 0 0 0 0.929412 0 0 0 0 1 0 0 0 1 0"
256
- }), /*#__PURE__*/React.createElement("feBlend", {
257
- in2: "effect1_innerShadow_10870_715",
258
- result: "effect2_innerShadow_10870_715"
259
- })), /*#__PURE__*/React.createElement("filter", {
260
- id: "filter3_d_10870_715",
261
- x: "5.931",
262
- y: "1.347",
263
- width: "18.258",
264
- height: "24.557",
265
- filterUnits: "userSpaceOnUse",
266
- "color-interpolationFilters": "sRGB"
267
- }, /*#__PURE__*/React.createElement("feFlood", {
268
- floodOpacity: "0",
269
- result: "BackgroundImageFix"
270
- }), /*#__PURE__*/React.createElement("feColorMatrix", {
271
- "in": "SourceAlpha",
272
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
273
- result: "hardAlpha"
274
- }), /*#__PURE__*/React.createElement("feOffset", {
275
- dy: "1.776"
276
- }), /*#__PURE__*/React.createElement("feGaussianBlur", {
277
- stdDeviation: "3.552"
278
- }), /*#__PURE__*/React.createElement("feComposite", {
279
- in2: "hardAlpha",
280
- operator: "out"
281
- }), /*#__PURE__*/React.createElement("feColorMatrix", {
282
- values: "0 0 0 0 0 0 0 0 0 0.764706 0 0 0 0 1 0 0 0 0.5 0"
283
- }), /*#__PURE__*/React.createElement("feBlend", {
284
- in2: "BackgroundImageFix",
285
- result: "effect1_dropShadow_10870_715"
286
- }), /*#__PURE__*/React.createElement("feBlend", {
287
- "in": "SourceGraphic",
288
- in2: "effect1_dropShadow_10870_715",
289
- result: "shape"
290
- })), /*#__PURE__*/React.createElement("clipPath", {
291
- id: "bgblur_1_10870_715_clip_path",
292
- transform: "translate(6.572 11.133)"
293
- }, /*#__PURE__*/React.createElement("path", {
294
- d: "M22.252 6.3L15.22 3.11a.384.384 0 00-.318 0L7.869 6.3a.405.405 0 00-.232.364v4.072c0 4.11 2.37 7.834 6.037 9.484.6.27 1.054.402 1.387.402.332 0 .786-.131 1.387-.402 3.667-1.65 6.036-5.374 6.036-9.483V6.664a.405.405 0 00-.232-.365z"
295
- })), /*#__PURE__*/React.createElement("clipPath", {
296
- id: "clip0_10870_715"
297
- }, /*#__PURE__*/React.createElement("rect", {
298
- width: "24",
299
- height: "24",
300
- fill: "#fff"
301
- }))))));
302
- };
303
- BiMmoGameCl.propTypes = {
304
- iconClassName: PropTypes.string,
305
- spin: PropTypes.bool,
306
- color: PropTypes.string,
307
- testid: PropTypes.string,
308
- size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
309
- };
310
- BiMmoGameCl.defaultProps = {
311
- spin: false,
312
- color: 'currentColor',
313
- size: '1em'
314
- };
315
- export default BiMmoGameCl;