@tant/icons 1.21.92 → 1.21.93

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,99 @@
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 MagicWandCl = function MagicWandCl(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: "M15.241 9.76c-.452-.429-.743-1-.824-1.618l-.42-3.216-2.848 1.55a2.712 2.712 0 01-1.795.285l-3.188-.595.595 3.188a2.712 2.712 0 01-.285 1.795l-1.55 2.848 3.216.42c.618.08 1.189.372 1.617.824l2.23 2.355 1.394-2.929a2.712 2.712 0 011.283-1.284l2.93-1.394L15.24 9.76zm.026 5.803l-2.308 4.851a.626.626 0 01-1.02.162l-3.695-3.9a.626.626 0 00-.372-.19l-5.328-.697a.625.625 0 01-.468-.92l2.568-4.719a.626.626 0 00.065-.413l-.984-5.282a.626.626 0 01.73-.73l5.282.984a.626.626 0 00.413-.065l4.72-2.568a.625.625 0 01.919.47l.697 5.326a.626.626 0 00.19.372l3.9 3.695a.625.625 0 01-.162 1.02l-4.85 2.308a.626.626 0 00-.297.296zm.832 2.01l1.475-1.474L22 20.524 20.524 22l-4.425-4.426z",
50
+ fill: "url(#paint0_linear_11727_83)"
51
+ }), /*#__PURE__*/React.createElement("path", {
52
+ d: "M15.241 9.76c-.452-.429-.743-1-.824-1.618l-.42-3.216-2.848 1.55a2.712 2.712 0 01-1.795.285l-3.188-.595.595 3.188a2.712 2.712 0 01-.285 1.795l-1.55 2.848 3.216.42c.618.08 1.189.372 1.617.824l2.23 2.355 1.394-2.929a2.712 2.712 0 011.283-1.284l2.93-1.394L15.24 9.76zm.026 5.803l-2.308 4.851a.626.626 0 01-1.02.162l-3.695-3.9a.626.626 0 00-.372-.19l-5.328-.697a.625.625 0 01-.468-.92l2.568-4.719a.626.626 0 00.065-.413l-.984-5.282a.626.626 0 01.73-.73l5.282.984a.626.626 0 00.413-.065l4.72-2.568a.625.625 0 01.919.47l.697 5.326a.626.626 0 00.19.372l3.9 3.695a.625.625 0 01-.162 1.02l-4.85 2.308a.626.626 0 00-.297.296zm.832 2.01l1.475-1.474L22 20.524 20.524 22l-4.425-4.426z",
53
+ fill: "url(#paint1_linear_11727_83)",
54
+ fillOpacity: ".2"
55
+ }), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
56
+ id: "paint0_linear_11727_83",
57
+ x1: "2",
58
+ y1: "12",
59
+ x2: "22.568",
60
+ y2: "12",
61
+ gradientUnits: "userSpaceOnUse"
62
+ }, /*#__PURE__*/React.createElement("stop", {
63
+ stopColor: "#1E76F0"
64
+ }), /*#__PURE__*/React.createElement("stop", {
65
+ offset: ".258",
66
+ stopColor: "#8567FF"
67
+ }), /*#__PURE__*/React.createElement("stop", {
68
+ offset: ".355",
69
+ stopColor: "#9A4CFF"
70
+ }), /*#__PURE__*/React.createElement("stop", {
71
+ offset: ".965",
72
+ stopColor: "#1E76F0"
73
+ })), /*#__PURE__*/React.createElement("linearGradient", {
74
+ id: "paint1_linear_11727_83",
75
+ x1: "19.5",
76
+ y1: "12",
77
+ x2: "5.5",
78
+ y2: "15.5",
79
+ gradientUnits: "userSpaceOnUse"
80
+ }, /*#__PURE__*/React.createElement("stop", {
81
+ stopColor: "#A663FF"
82
+ }), /*#__PURE__*/React.createElement("stop", {
83
+ offset: "1",
84
+ stopColor: "#1E76F0"
85
+ }))))));
86
+ };
87
+ MagicWandCl.propTypes = {
88
+ iconClassName: PropTypes.string,
89
+ spin: PropTypes.bool,
90
+ color: PropTypes.string,
91
+ testid: PropTypes.string,
92
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
93
+ };
94
+ MagicWandCl.defaultProps = {
95
+ spin: false,
96
+ color: 'currentColor',
97
+ size: '1em'
98
+ };
99
+ export default MagicWandCl;
package/dist/es/index.js CHANGED
@@ -39,6 +39,7 @@ export { default as TaDashboardGenerateCl } from './icons/Dashboard-Generate-cl'
39
39
  export { default as TaPlanetCl } from './icons/Planet-cl';
40
40
  export { default as TaAisqlCl } from './icons/aisql-cl';
41
41
  export { default as TaMagicCl } from './icons/magic-cl';
42
+ export { default as TaMagicWandCl } from './icons/magic-wand-cl';
42
43
  export { default as TaFlagCn } from './icons/flag-cn';
43
44
  export { default as TaFlagUs } from './icons/flag-us';
44
45
  export { default as TaFlagJp } from './icons/flag-jp';
package/dist/index.d.ts CHANGED
@@ -51,6 +51,7 @@ export const TaDashboardGenerateCl: Icon;
51
51
  export const TaPlanetCl: Icon;
52
52
  export const TaAisqlCl: Icon;
53
53
  export const TaMagicCl: Icon;
54
+ export const TaMagicWandCl: Icon;
54
55
  export const TaFlagCn: Icon;
55
56
  export const TaFlagUs: Icon;
56
57
  export const TaFlagJp: Icon;
@@ -0,0 +1,106 @@
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 MagicWandCl = function MagicWandCl(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
+ fill: "none",
54
+ xmlns: "http://www.w3.org/2000/svg"
55
+ }, /*#__PURE__*/_react["default"].createElement("path", {
56
+ d: "M15.241 9.76c-.452-.429-.743-1-.824-1.618l-.42-3.216-2.848 1.55a2.712 2.712 0 01-1.795.285l-3.188-.595.595 3.188a2.712 2.712 0 01-.285 1.795l-1.55 2.848 3.216.42c.618.08 1.189.372 1.617.824l2.23 2.355 1.394-2.929a2.712 2.712 0 011.283-1.284l2.93-1.394L15.24 9.76zm.026 5.803l-2.308 4.851a.626.626 0 01-1.02.162l-3.695-3.9a.626.626 0 00-.372-.19l-5.328-.697a.625.625 0 01-.468-.92l2.568-4.719a.626.626 0 00.065-.413l-.984-5.282a.626.626 0 01.73-.73l5.282.984a.626.626 0 00.413-.065l4.72-2.568a.625.625 0 01.919.47l.697 5.326a.626.626 0 00.19.372l3.9 3.695a.625.625 0 01-.162 1.02l-4.85 2.308a.626.626 0 00-.297.296zm.832 2.01l1.475-1.474L22 20.524 20.524 22l-4.425-4.426z",
57
+ fill: "url(#paint0_linear_11727_83)"
58
+ }), /*#__PURE__*/_react["default"].createElement("path", {
59
+ d: "M15.241 9.76c-.452-.429-.743-1-.824-1.618l-.42-3.216-2.848 1.55a2.712 2.712 0 01-1.795.285l-3.188-.595.595 3.188a2.712 2.712 0 01-.285 1.795l-1.55 2.848 3.216.42c.618.08 1.189.372 1.617.824l2.23 2.355 1.394-2.929a2.712 2.712 0 011.283-1.284l2.93-1.394L15.24 9.76zm.026 5.803l-2.308 4.851a.626.626 0 01-1.02.162l-3.695-3.9a.626.626 0 00-.372-.19l-5.328-.697a.625.625 0 01-.468-.92l2.568-4.719a.626.626 0 00.065-.413l-.984-5.282a.626.626 0 01.73-.73l5.282.984a.626.626 0 00.413-.065l4.72-2.568a.625.625 0 01.919.47l.697 5.326a.626.626 0 00.19.372l3.9 3.695a.625.625 0 01-.162 1.02l-4.85 2.308a.626.626 0 00-.297.296zm.832 2.01l1.475-1.474L22 20.524 20.524 22l-4.425-4.426z",
60
+ fill: "url(#paint1_linear_11727_83)",
61
+ fillOpacity: ".2"
62
+ }), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("linearGradient", {
63
+ id: "paint0_linear_11727_83",
64
+ x1: "2",
65
+ y1: "12",
66
+ x2: "22.568",
67
+ y2: "12",
68
+ gradientUnits: "userSpaceOnUse"
69
+ }, /*#__PURE__*/_react["default"].createElement("stop", {
70
+ stopColor: "#1E76F0"
71
+ }), /*#__PURE__*/_react["default"].createElement("stop", {
72
+ offset: ".258",
73
+ stopColor: "#8567FF"
74
+ }), /*#__PURE__*/_react["default"].createElement("stop", {
75
+ offset: ".355",
76
+ stopColor: "#9A4CFF"
77
+ }), /*#__PURE__*/_react["default"].createElement("stop", {
78
+ offset: ".965",
79
+ stopColor: "#1E76F0"
80
+ })), /*#__PURE__*/_react["default"].createElement("linearGradient", {
81
+ id: "paint1_linear_11727_83",
82
+ x1: "19.5",
83
+ y1: "12",
84
+ x2: "5.5",
85
+ y2: "15.5",
86
+ gradientUnits: "userSpaceOnUse"
87
+ }, /*#__PURE__*/_react["default"].createElement("stop", {
88
+ stopColor: "#A663FF"
89
+ }), /*#__PURE__*/_react["default"].createElement("stop", {
90
+ offset: "1",
91
+ stopColor: "#1E76F0"
92
+ }))))));
93
+ };
94
+ MagicWandCl.propTypes = {
95
+ iconClassName: _propTypes["default"].string,
96
+ spin: _propTypes["default"].bool,
97
+ color: _propTypes["default"].string,
98
+ testid: _propTypes["default"].string,
99
+ size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
100
+ };
101
+ MagicWandCl.defaultProps = {
102
+ spin: false,
103
+ color: 'currentColor',
104
+ size: '1em'
105
+ };
106
+ var _default = exports["default"] = MagicWandCl;
package/dist/lib/index.js CHANGED
@@ -2055,6 +2055,12 @@ Object.defineProperty(exports, "TaMagicWand", {
2055
2055
  return _magicWand["default"];
2056
2056
  }
2057
2057
  });
2058
+ Object.defineProperty(exports, "TaMagicWandCl", {
2059
+ enumerable: true,
2060
+ get: function get() {
2061
+ return _magicWandCl["default"];
2062
+ }
2063
+ });
2058
2064
  Object.defineProperty(exports, "TaManageQuery", {
2059
2065
  enumerable: true,
2060
2066
  get: function get() {
@@ -3488,6 +3494,7 @@ var _DashboardGenerateCl = _interopRequireDefault(require("./icons/Dashboard-Gen
3488
3494
  var _PlanetCl = _interopRequireDefault(require("./icons/Planet-cl"));
3489
3495
  var _aisqlCl = _interopRequireDefault(require("./icons/aisql-cl"));
3490
3496
  var _magicCl = _interopRequireDefault(require("./icons/magic-cl"));
3497
+ var _magicWandCl = _interopRequireDefault(require("./icons/magic-wand-cl"));
3491
3498
  var _flagCn = _interopRequireDefault(require("./icons/flag-cn"));
3492
3499
  var _flagUs = _interopRequireDefault(require("./icons/flag-us"));
3493
3500
  var _flagJp = _interopRequireDefault(require("./icons/flag-jp"));