@tant/icons 1.19.40 → 1.20.1
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/Copywriting- AI-cl.js +80 -0
- package/dist/es/icons/Report- Reading-cl.js +80 -0
- package/dist/es/index.js +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/lib/icons/Copywriting- AI-cl.js +87 -0
- package/dist/lib/icons/Report- Reading-cl.js +87 -0
- package/dist/lib/index.js +14 -0
- package/dist/tant-icons.cjs.js +2001 -1861
- package/dist/tant-icons.esm.js +2000 -1862
- package/package.json +1 -1
|
@@ -0,0 +1,80 @@
|
|
|
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 CopywritingAiCl = function CopywritingAiCl(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: "M16.628 2C18.486 2 19.5 3.026 19.5 4.884v.67c0 .569-.174 1.03-.8 1.031-.428 0-.77-.462-.77-1.031v-.67c0-.72-.583-1.302-1.302-1.302H4.962c-.719 0-1.302.583-1.302 1.302v14.232c0 .72.621 1.184 1.34 1.184h12.5c.57 0 .8.565.8 1 0 .358-.23.7-.8.7H5c-1.858 0-3-1.026-3-2.884V4.884C2 3.026 3.104 2 4.962 2h11.666zm-.424 8c.063 0 .085.021.106.085l2.603 8.799c.02.073 0 .105-.075.105h-1.36c-.075 0-.106-.021-.127-.074l-.68-2.45c.009.012-2.587 0-2.613 0l-.649 2.45c-.02.074-.042.085-.127.085h-1.19c-.084 0-.106-.021-.084-.127l2.326-8.11c.042-.137.074-.276.085-.678 0-.064.021-.085.074-.085h1.711zm5.29.07c.074 0 .105.028.106.142v8.645c0 .1-.02.143-.106.143H20.22c-.085 0-.107-.057-.107-.143l-.01-8.645.005-.064c.01-.054.038-.079.102-.079h1.285zM8.202 15.204a.89.89 0 01.895.883.89.89 0 01-.896.884H6.493a.89.89 0 01-.893-.884.89.89 0 01.894-.883h1.708zm7.13-3.89c-.17.954-.605 2.565-.955 3.827h1.954c-.223-.902-.764-2.873-.977-3.827h-.022zm-5.214-.713c.496 0 .895.394.896.883a.89.89 0 01-.896.884H6.494a.89.89 0 01-.894-.884c0-.487.402-.883.894-.883h3.624zM14.078 6a.89.89 0 01.894.884c0 .487-.4.883-.894.883H6.494a.89.89 0 01-.894-.883A.89.89 0 016.494 6h7.584z",
|
|
50
|
+
fill: "url(#paint0_linear_9770_262)"
|
|
51
|
+
}), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
52
|
+
id: "paint0_linear_9770_262",
|
|
53
|
+
x1: "2",
|
|
54
|
+
y1: "12",
|
|
55
|
+
x2: "22.157",
|
|
56
|
+
y2: "12",
|
|
57
|
+
gradientUnits: "userSpaceOnUse"
|
|
58
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
59
|
+
stopColor: "#1E76F0"
|
|
60
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
61
|
+
offset: ".355",
|
|
62
|
+
stopColor: "#9747FF"
|
|
63
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
64
|
+
offset: ".965",
|
|
65
|
+
stopColor: "#1E76F0"
|
|
66
|
+
}))))));
|
|
67
|
+
};
|
|
68
|
+
CopywritingAiCl.propTypes = {
|
|
69
|
+
iconClassName: PropTypes.string,
|
|
70
|
+
spin: PropTypes.bool,
|
|
71
|
+
color: PropTypes.string,
|
|
72
|
+
testid: PropTypes.string,
|
|
73
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
74
|
+
};
|
|
75
|
+
CopywritingAiCl.defaultProps = {
|
|
76
|
+
spin: false,
|
|
77
|
+
color: 'currentColor',
|
|
78
|
+
size: '1em'
|
|
79
|
+
};
|
|
80
|
+
export default CopywritingAiCl;
|
|
@@ -0,0 +1,80 @@
|
|
|
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 ReportReadingCl = function ReportReadingCl(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: "M16.628 2C18.486 2 19.5 3.026 19.5 4.884v.67c0 .569-.174 1.03-.8 1.031-.428 0-.77-.462-.77-1.031v-.67c0-.72-.583-1.302-1.302-1.302H4.962c-.719 0-1.302.583-1.302 1.302v14.232c0 .72.621 1.184 1.34 1.184h12.5c.57 0 .8.565.8 1 0 .358-.23.7-.8.7H5c-1.858 0-3-1.026-3-2.884V4.884C2 3.026 3.104 2 4.962 2h11.666zm3.425 10a.786.786 0 01.566.241c.156.16.24.365.255.585a.852.852 0 01-.226.597l-4.19 4.32a.79.79 0 01-.58.25.819.819 0 01-.58-.25l-3.494-3.604-3.426 3.532a.788.788 0 01-1.132 0 .85.85 0 01-.015-1.182l4.005-4.132a.805.805 0 011.147 0l3.495 3.605 3.608-3.72a.789.789 0 01.567-.242zm-6.575-4c.57 0 1.032.23 1.032.8 0 .57-.462.762-1.031.762H7.03C6.461 9.563 6 9.37 6 8.8c0-.57.462-.8 1.031-.8h6.448z",
|
|
50
|
+
fill: "url(#paint0_linear_9770_30)"
|
|
51
|
+
}), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
52
|
+
id: "paint0_linear_9770_30",
|
|
53
|
+
x1: "2",
|
|
54
|
+
y1: "12",
|
|
55
|
+
x2: "21.411",
|
|
56
|
+
y2: "12",
|
|
57
|
+
gradientUnits: "userSpaceOnUse"
|
|
58
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
59
|
+
stopColor: "#1E76F0"
|
|
60
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
61
|
+
offset: ".355",
|
|
62
|
+
stopColor: "#9747FF"
|
|
63
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
64
|
+
offset: ".965",
|
|
65
|
+
stopColor: "#1E76F0"
|
|
66
|
+
}))))));
|
|
67
|
+
};
|
|
68
|
+
ReportReadingCl.propTypes = {
|
|
69
|
+
iconClassName: PropTypes.string,
|
|
70
|
+
spin: PropTypes.bool,
|
|
71
|
+
color: PropTypes.string,
|
|
72
|
+
testid: PropTypes.string,
|
|
73
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
74
|
+
};
|
|
75
|
+
ReportReadingCl.defaultProps = {
|
|
76
|
+
spin: false,
|
|
77
|
+
color: 'currentColor',
|
|
78
|
+
size: '1em'
|
|
79
|
+
};
|
|
80
|
+
export default ReportReadingCl;
|
package/dist/es/index.js
CHANGED
|
@@ -30,6 +30,8 @@ export { default as TaVPropCl } from './icons/v-prop-cl';
|
|
|
30
30
|
export { default as TaDataOpsAiCl } from './icons/DataOps-AI-cl';
|
|
31
31
|
export { default as TaEngageAiCl } from './icons/Engage-AI-cl';
|
|
32
32
|
export { default as TaDashboardReadingCl } from './icons/Dashboard-Reading-cl';
|
|
33
|
+
export { default as TaReportReadingCl } from './icons/Report- Reading-cl';
|
|
34
|
+
export { default as TaCopywritingAiCl } from './icons/Copywriting- AI-cl';
|
|
33
35
|
export { default as TaDashboardAiCl } from './icons/Dashboard-AI-cl';
|
|
34
36
|
export { default as TaFlagCn } from './icons/flag-cn';
|
|
35
37
|
export { default as TaFlagUs } from './icons/flag-us';
|
package/dist/index.d.ts
CHANGED
|
@@ -42,6 +42,8 @@ export const TaVPropCl: Icon;
|
|
|
42
42
|
export const TaDataOpsAiCl: Icon;
|
|
43
43
|
export const TaEngageAiCl: Icon;
|
|
44
44
|
export const TaDashboardReadingCl: Icon;
|
|
45
|
+
export const TaReportReadingCl: Icon;
|
|
46
|
+
export const TaCopywritingAiCl: Icon;
|
|
45
47
|
export const TaDashboardAiCl: Icon;
|
|
46
48
|
export const TaFlagCn: Icon;
|
|
47
49
|
export const TaFlagUs: Icon;
|
|
@@ -0,0 +1,87 @@
|
|
|
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 CopywritingAiCl = function CopywritingAiCl(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: "M16.628 2C18.486 2 19.5 3.026 19.5 4.884v.67c0 .569-.174 1.03-.8 1.031-.428 0-.77-.462-.77-1.031v-.67c0-.72-.583-1.302-1.302-1.302H4.962c-.719 0-1.302.583-1.302 1.302v14.232c0 .72.621 1.184 1.34 1.184h12.5c.57 0 .8.565.8 1 0 .358-.23.7-.8.7H5c-1.858 0-3-1.026-3-2.884V4.884C2 3.026 3.104 2 4.962 2h11.666zm-.424 8c.063 0 .085.021.106.085l2.603 8.799c.02.073 0 .105-.075.105h-1.36c-.075 0-.106-.021-.127-.074l-.68-2.45c.009.012-2.587 0-2.613 0l-.649 2.45c-.02.074-.042.085-.127.085h-1.19c-.084 0-.106-.021-.084-.127l2.326-8.11c.042-.137.074-.276.085-.678 0-.064.021-.085.074-.085h1.711zm5.29.07c.074 0 .105.028.106.142v8.645c0 .1-.02.143-.106.143H20.22c-.085 0-.107-.057-.107-.143l-.01-8.645.005-.064c.01-.054.038-.079.102-.079h1.285zM8.202 15.204a.89.89 0 01.895.883.89.89 0 01-.896.884H6.493a.89.89 0 01-.893-.884.89.89 0 01.894-.883h1.708zm7.13-3.89c-.17.954-.605 2.565-.955 3.827h1.954c-.223-.902-.764-2.873-.977-3.827h-.022zm-5.214-.713c.496 0 .895.394.896.883a.89.89 0 01-.896.884H6.494a.89.89 0 01-.894-.884c0-.487.402-.883.894-.883h3.624zM14.078 6a.89.89 0 01.894.884c0 .487-.4.883-.894.883H6.494a.89.89 0 01-.894-.883A.89.89 0 016.494 6h7.584z",
|
|
57
|
+
fill: "url(#paint0_linear_9770_262)"
|
|
58
|
+
}), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("linearGradient", {
|
|
59
|
+
id: "paint0_linear_9770_262",
|
|
60
|
+
x1: "2",
|
|
61
|
+
y1: "12",
|
|
62
|
+
x2: "22.157",
|
|
63
|
+
y2: "12",
|
|
64
|
+
gradientUnits: "userSpaceOnUse"
|
|
65
|
+
}, /*#__PURE__*/_react["default"].createElement("stop", {
|
|
66
|
+
stopColor: "#1E76F0"
|
|
67
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
68
|
+
offset: ".355",
|
|
69
|
+
stopColor: "#9747FF"
|
|
70
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
71
|
+
offset: ".965",
|
|
72
|
+
stopColor: "#1E76F0"
|
|
73
|
+
}))))));
|
|
74
|
+
};
|
|
75
|
+
CopywritingAiCl.propTypes = {
|
|
76
|
+
iconClassName: _propTypes["default"].string,
|
|
77
|
+
spin: _propTypes["default"].bool,
|
|
78
|
+
color: _propTypes["default"].string,
|
|
79
|
+
testid: _propTypes["default"].string,
|
|
80
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
81
|
+
};
|
|
82
|
+
CopywritingAiCl.defaultProps = {
|
|
83
|
+
spin: false,
|
|
84
|
+
color: 'currentColor',
|
|
85
|
+
size: '1em'
|
|
86
|
+
};
|
|
87
|
+
var _default = exports["default"] = CopywritingAiCl;
|
|
@@ -0,0 +1,87 @@
|
|
|
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 ReportReadingCl = function ReportReadingCl(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: "M16.628 2C18.486 2 19.5 3.026 19.5 4.884v.67c0 .569-.174 1.03-.8 1.031-.428 0-.77-.462-.77-1.031v-.67c0-.72-.583-1.302-1.302-1.302H4.962c-.719 0-1.302.583-1.302 1.302v14.232c0 .72.621 1.184 1.34 1.184h12.5c.57 0 .8.565.8 1 0 .358-.23.7-.8.7H5c-1.858 0-3-1.026-3-2.884V4.884C2 3.026 3.104 2 4.962 2h11.666zm3.425 10a.786.786 0 01.566.241c.156.16.24.365.255.585a.852.852 0 01-.226.597l-4.19 4.32a.79.79 0 01-.58.25.819.819 0 01-.58-.25l-3.494-3.604-3.426 3.532a.788.788 0 01-1.132 0 .85.85 0 01-.015-1.182l4.005-4.132a.805.805 0 011.147 0l3.495 3.605 3.608-3.72a.789.789 0 01.567-.242zm-6.575-4c.57 0 1.032.23 1.032.8 0 .57-.462.762-1.031.762H7.03C6.461 9.563 6 9.37 6 8.8c0-.57.462-.8 1.031-.8h6.448z",
|
|
57
|
+
fill: "url(#paint0_linear_9770_30)"
|
|
58
|
+
}), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("linearGradient", {
|
|
59
|
+
id: "paint0_linear_9770_30",
|
|
60
|
+
x1: "2",
|
|
61
|
+
y1: "12",
|
|
62
|
+
x2: "21.411",
|
|
63
|
+
y2: "12",
|
|
64
|
+
gradientUnits: "userSpaceOnUse"
|
|
65
|
+
}, /*#__PURE__*/_react["default"].createElement("stop", {
|
|
66
|
+
stopColor: "#1E76F0"
|
|
67
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
68
|
+
offset: ".355",
|
|
69
|
+
stopColor: "#9747FF"
|
|
70
|
+
}), /*#__PURE__*/_react["default"].createElement("stop", {
|
|
71
|
+
offset: ".965",
|
|
72
|
+
stopColor: "#1E76F0"
|
|
73
|
+
}))))));
|
|
74
|
+
};
|
|
75
|
+
ReportReadingCl.propTypes = {
|
|
76
|
+
iconClassName: _propTypes["default"].string,
|
|
77
|
+
spin: _propTypes["default"].bool,
|
|
78
|
+
color: _propTypes["default"].string,
|
|
79
|
+
testid: _propTypes["default"].string,
|
|
80
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
81
|
+
};
|
|
82
|
+
ReportReadingCl.defaultProps = {
|
|
83
|
+
spin: false,
|
|
84
|
+
color: 'currentColor',
|
|
85
|
+
size: '1em'
|
|
86
|
+
};
|
|
87
|
+
var _default = exports["default"] = ReportReadingCl;
|
package/dist/lib/index.js
CHANGED
|
@@ -555,6 +555,12 @@ Object.defineProperty(exports, "TaCopyQuery", {
|
|
|
555
555
|
return _copyQuery["default"];
|
|
556
556
|
}
|
|
557
557
|
});
|
|
558
|
+
Object.defineProperty(exports, "TaCopywritingAiCl", {
|
|
559
|
+
enumerable: true,
|
|
560
|
+
get: function get() {
|
|
561
|
+
return _CopywritingAICl["default"];
|
|
562
|
+
}
|
|
563
|
+
});
|
|
558
564
|
Object.defineProperty(exports, "TaCost", {
|
|
559
565
|
enumerable: true,
|
|
560
566
|
get: function get() {
|
|
@@ -2217,6 +2223,12 @@ Object.defineProperty(exports, "TaReportCl", {
|
|
|
2217
2223
|
return _reportCl["default"];
|
|
2218
2224
|
}
|
|
2219
2225
|
});
|
|
2226
|
+
Object.defineProperty(exports, "TaReportReadingCl", {
|
|
2227
|
+
enumerable: true,
|
|
2228
|
+
get: function get() {
|
|
2229
|
+
return _ReportReadingCl["default"];
|
|
2230
|
+
}
|
|
2231
|
+
});
|
|
2220
2232
|
Object.defineProperty(exports, "TaReportRemoval", {
|
|
2221
2233
|
enumerable: true,
|
|
2222
2234
|
get: function get() {
|
|
@@ -3023,6 +3035,8 @@ var _vPropCl = _interopRequireDefault(require("./icons/v-prop-cl"));
|
|
|
3023
3035
|
var _DataOpsAICl = _interopRequireDefault(require("./icons/DataOps-AI-cl"));
|
|
3024
3036
|
var _EngageAICl = _interopRequireDefault(require("./icons/Engage-AI-cl"));
|
|
3025
3037
|
var _DashboardReadingCl = _interopRequireDefault(require("./icons/Dashboard-Reading-cl"));
|
|
3038
|
+
var _ReportReadingCl = _interopRequireDefault(require("./icons/Report- Reading-cl"));
|
|
3039
|
+
var _CopywritingAICl = _interopRequireDefault(require("./icons/Copywriting- AI-cl"));
|
|
3026
3040
|
var _DashboardAICl = _interopRequireDefault(require("./icons/Dashboard-AI-cl"));
|
|
3027
3041
|
var _flagCn = _interopRequireDefault(require("./icons/flag-cn"));
|
|
3028
3042
|
var _flagUs = _interopRequireDefault(require("./icons/flag-us"));
|