@tant/icons 1.22.29 → 1.22.30

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,67 @@
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 ChartTopic = function ChartTopic(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
+ xmlns: "http://www.w3.org/2000/svg"
47
+ }, /*#__PURE__*/React.createElement("path", {
48
+ d: "M21 4a1 1 0 011 1v4h-2V8H4v10h6v2H3a1 1 0 01-1-1V5a1 1 0 011-1h18z"
49
+ }), /*#__PURE__*/React.createElement("path", {
50
+ fillRule: "evenodd",
51
+ clipRule: "evenodd",
52
+ d: "M19.67 16.645a2.32 2.32 0 00-1.745.793l-1.094-.775c.116-.32.183-.663.183-1.022 0-.354-.064-.69-.176-1.007l1.091-.766a2.318 2.318 0 001.743.789A2.33 2.33 0 0022 12.328 2.331 2.331 0 0019.672 10a2.332 2.332 0 00-2.232 2.99l-1.093.767c-.466-.578-1.031-.948-1.861-1.082a2.588 2.588 0 00-1 .007c-.79.139-1.326.487-1.78 1.028A3.01 3.01 0 0011 15.64a3.01 3.01 0 00.713 1.94c.459.542 1 .89 1.795 1.023.384.065.614.065.998 0 .816-.137 1.37-.5 1.83-1.065l1.102.78a2.331 2.331 0 002.233 2.983A2.33 2.33 0 0022 18.973a2.332 2.332 0 00-2.33-2.328zm.799-5.114a1.13 1.13 0 00-.798-.33 1.13 1.13 0 00-1.129 1.128 1.13 1.13 0 001.926.798 1.13 1.13 0 000-1.596zm-7.576 5.223a1.577 1.577 0 002.226 0 1.576 1.576 0 000-2.226 1.576 1.576 0 00-2.226 0 1.576 1.576 0 000 2.226zm5.98 3.017a1.13 1.13 0 001.595 0 1.13 1.13 0 000-1.596 1.13 1.13 0 00-1.926.798c0 .3.12.586.331.798z"
53
+ }))));
54
+ };
55
+ ChartTopic.propTypes = {
56
+ iconClassName: PropTypes.string,
57
+ spin: PropTypes.bool,
58
+ color: PropTypes.string,
59
+ testid: PropTypes.string,
60
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
61
+ };
62
+ ChartTopic.defaultProps = {
63
+ spin: false,
64
+ color: 'currentColor',
65
+ size: '1em'
66
+ };
67
+ export default ChartTopic;
@@ -0,0 +1,63 @@
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 Note = function Note(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
+ xmlns: "http://www.w3.org/2000/svg"
47
+ }, /*#__PURE__*/React.createElement("path", {
48
+ d: "M15.5 3a2 2 0 012 2v4.639l1.477-1.476a.556.556 0 01.786 0l1.574 1.574a.556.556 0 010 .786L17.5 14.36V19a2 2 0 01-1.796 1.99L15.5 21h-11l-.204-.01a2 2 0 01-1.785-1.786L2.5 19V5a2 2 0 012-2h11zm-11 1.8a.2.2 0 00-.2.2v14c0 .11.09.2.2.2h11a.2.2 0 00.2-.2v-2.84L13.861 18H11.5v-2.361l4.2-4.2V5a.2.2 0 00-.2-.2h-11zm8.113 11.3v.787h.786l2.301-2.301v-1.573L12.613 16.1zM9.75 14a.75.75 0 010 1.5h-3.5a.75.75 0 010-1.5h3.5zm7.75-2.787v.013l-1.799 1.79v1.569l1.195-1.196.604-.604v.001l1.083-1.082-.787-.787-.296.296zM11.75 11a.75.75 0 010 1.5h-5.5a.75.75 0 010-1.5h5.5zm6.833-.87l.786.787.787-.786-.787-.787-.786.787zM14.75 8a.75.75 0 010 1.5h-8.5a.75.75 0 010-1.5h8.5z"
49
+ }))));
50
+ };
51
+ Note.propTypes = {
52
+ iconClassName: PropTypes.string,
53
+ spin: PropTypes.bool,
54
+ color: PropTypes.string,
55
+ testid: PropTypes.string,
56
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
57
+ };
58
+ Note.defaultProps = {
59
+ spin: false,
60
+ color: 'currentColor',
61
+ size: '1em'
62
+ };
63
+ export default Note;
package/dist/es/index.js CHANGED
@@ -169,6 +169,7 @@ export { default as TaDynamicText } from './icons/dynamic-text';
169
169
  export { default as TaInterpretation } from './icons/interpretation';
170
170
  export { default as TaLinks } from './icons/links';
171
171
  export { default as TaHlightedBlock } from './icons/hlighted-block';
172
+ export { default as TaNote } from './icons/note';
172
173
  export { default as TaOperatorEqual } from './icons/operator-equal';
173
174
  export { default as TaOperatorUnequal } from './icons/operator-unequal';
174
175
  export { default as TaOperatorDivide } from './icons/operator-divide';
@@ -218,6 +219,7 @@ export { default as TaProgress } from './icons/progress';
218
219
  export { default as TaDashboardPlan } from './icons/dashboard-plan';
219
220
  export { default as TaRipple } from './icons/ripple';
220
221
  export { default as TaChartView } from './icons/chart-view';
222
+ export { default as TaChartTopic } from './icons/chart-topic';
221
223
  export { default as TaProgressBar } from './icons/progress-bar';
222
224
  export { default as TaMEvent } from './icons/m-event';
223
225
  export { default as TaMRetention } from './icons/m-retention';
package/dist/index.d.ts CHANGED
@@ -181,6 +181,7 @@ export const TaDynamicText: Icon;
181
181
  export const TaInterpretation: Icon;
182
182
  export const TaLinks: Icon;
183
183
  export const TaHlightedBlock: Icon;
184
+ export const TaNote: Icon;
184
185
  export const TaOperatorEqual: Icon;
185
186
  export const TaOperatorUnequal: Icon;
186
187
  export const TaOperatorDivide: Icon;
@@ -230,6 +231,7 @@ export const TaProgress: Icon;
230
231
  export const TaDashboardPlan: Icon;
231
232
  export const TaRipple: Icon;
232
233
  export const TaChartView: Icon;
234
+ export const TaChartTopic: Icon;
233
235
  export const TaProgressBar: Icon;
234
236
  export const TaMEvent: Icon;
235
237
  export const TaMRetention: Icon;
@@ -0,0 +1,74 @@
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 ChartTopic = function ChartTopic(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
+ xmlns: "http://www.w3.org/2000/svg"
54
+ }, /*#__PURE__*/_react["default"].createElement("path", {
55
+ d: "M21 4a1 1 0 011 1v4h-2V8H4v10h6v2H3a1 1 0 01-1-1V5a1 1 0 011-1h18z"
56
+ }), /*#__PURE__*/_react["default"].createElement("path", {
57
+ fillRule: "evenodd",
58
+ clipRule: "evenodd",
59
+ d: "M19.67 16.645a2.32 2.32 0 00-1.745.793l-1.094-.775c.116-.32.183-.663.183-1.022 0-.354-.064-.69-.176-1.007l1.091-.766a2.318 2.318 0 001.743.789A2.33 2.33 0 0022 12.328 2.331 2.331 0 0019.672 10a2.332 2.332 0 00-2.232 2.99l-1.093.767c-.466-.578-1.031-.948-1.861-1.082a2.588 2.588 0 00-1 .007c-.79.139-1.326.487-1.78 1.028A3.01 3.01 0 0011 15.64a3.01 3.01 0 00.713 1.94c.459.542 1 .89 1.795 1.023.384.065.614.065.998 0 .816-.137 1.37-.5 1.83-1.065l1.102.78a2.331 2.331 0 002.233 2.983A2.33 2.33 0 0022 18.973a2.332 2.332 0 00-2.33-2.328zm.799-5.114a1.13 1.13 0 00-.798-.33 1.13 1.13 0 00-1.129 1.128 1.13 1.13 0 001.926.798 1.13 1.13 0 000-1.596zm-7.576 5.223a1.577 1.577 0 002.226 0 1.576 1.576 0 000-2.226 1.576 1.576 0 00-2.226 0 1.576 1.576 0 000 2.226zm5.98 3.017a1.13 1.13 0 001.595 0 1.13 1.13 0 000-1.596 1.13 1.13 0 00-1.926.798c0 .3.12.586.331.798z"
60
+ }))));
61
+ };
62
+ ChartTopic.propTypes = {
63
+ iconClassName: _propTypes["default"].string,
64
+ spin: _propTypes["default"].bool,
65
+ color: _propTypes["default"].string,
66
+ testid: _propTypes["default"].string,
67
+ size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
68
+ };
69
+ ChartTopic.defaultProps = {
70
+ spin: false,
71
+ color: 'currentColor',
72
+ size: '1em'
73
+ };
74
+ var _default = exports["default"] = ChartTopic;
@@ -0,0 +1,70 @@
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 Note = function Note(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
+ xmlns: "http://www.w3.org/2000/svg"
54
+ }, /*#__PURE__*/_react["default"].createElement("path", {
55
+ d: "M15.5 3a2 2 0 012 2v4.639l1.477-1.476a.556.556 0 01.786 0l1.574 1.574a.556.556 0 010 .786L17.5 14.36V19a2 2 0 01-1.796 1.99L15.5 21h-11l-.204-.01a2 2 0 01-1.785-1.786L2.5 19V5a2 2 0 012-2h11zm-11 1.8a.2.2 0 00-.2.2v14c0 .11.09.2.2.2h11a.2.2 0 00.2-.2v-2.84L13.861 18H11.5v-2.361l4.2-4.2V5a.2.2 0 00-.2-.2h-11zm8.113 11.3v.787h.786l2.301-2.301v-1.573L12.613 16.1zM9.75 14a.75.75 0 010 1.5h-3.5a.75.75 0 010-1.5h3.5zm7.75-2.787v.013l-1.799 1.79v1.569l1.195-1.196.604-.604v.001l1.083-1.082-.787-.787-.296.296zM11.75 11a.75.75 0 010 1.5h-5.5a.75.75 0 010-1.5h5.5zm6.833-.87l.786.787.787-.786-.787-.787-.786.787zM14.75 8a.75.75 0 010 1.5h-8.5a.75.75 0 010-1.5h8.5z"
56
+ }))));
57
+ };
58
+ Note.propTypes = {
59
+ iconClassName: _propTypes["default"].string,
60
+ spin: _propTypes["default"].bool,
61
+ color: _propTypes["default"].string,
62
+ testid: _propTypes["default"].string,
63
+ size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
64
+ };
65
+ Note.defaultProps = {
66
+ spin: false,
67
+ color: 'currentColor',
68
+ size: '1em'
69
+ };
70
+ var _default = exports["default"] = Note;
package/dist/lib/index.js CHANGED
@@ -567,6 +567,12 @@ Object.defineProperty(exports, "TaChartTable", {
567
567
  return _chartTable["default"];
568
568
  }
569
569
  });
570
+ Object.defineProperty(exports, "TaChartTopic", {
571
+ enumerable: true,
572
+ get: function get() {
573
+ return _chartTopic["default"];
574
+ }
575
+ });
570
576
  Object.defineProperty(exports, "TaChartTrophy", {
571
577
  enumerable: true,
572
578
  get: function get() {
@@ -2271,6 +2277,12 @@ Object.defineProperty(exports, "TaNewValue", {
2271
2277
  return _newValue["default"];
2272
2278
  }
2273
2279
  });
2280
+ Object.defineProperty(exports, "TaNote", {
2281
+ enumerable: true,
2282
+ get: function get() {
2283
+ return _note["default"];
2284
+ }
2285
+ });
2274
2286
  Object.defineProperty(exports, "TaNotice", {
2275
2287
  enumerable: true,
2276
2288
  get: function get() {
@@ -3768,6 +3780,7 @@ var _dynamicText = _interopRequireDefault(require("./icons/dynamic-text"));
3768
3780
  var _interpretation = _interopRequireDefault(require("./icons/interpretation"));
3769
3781
  var _links = _interopRequireDefault(require("./icons/links"));
3770
3782
  var _hlightedBlock = _interopRequireDefault(require("./icons/hlighted-block"));
3783
+ var _note = _interopRequireDefault(require("./icons/note"));
3771
3784
  var _operatorEqual = _interopRequireDefault(require("./icons/operator-equal"));
3772
3785
  var _operatorUnequal = _interopRequireDefault(require("./icons/operator-unequal"));
3773
3786
  var _operatorDivide = _interopRequireDefault(require("./icons/operator-divide"));
@@ -3817,6 +3830,7 @@ var _progress = _interopRequireDefault(require("./icons/progress"));
3817
3830
  var _dashboardPlan = _interopRequireDefault(require("./icons/dashboard-plan"));
3818
3831
  var _ripple = _interopRequireDefault(require("./icons/ripple"));
3819
3832
  var _chartView = _interopRequireDefault(require("./icons/chart-view"));
3833
+ var _chartTopic = _interopRequireDefault(require("./icons/chart-topic"));
3820
3834
  var _progressBar = _interopRequireDefault(require("./icons/progress-bar"));
3821
3835
  var _mEvent = _interopRequireDefault(require("./icons/m-event"));
3822
3836
  var _mRetention = _interopRequireDefault(require("./icons/m-retention"));