@tant/icons 1.21.84 → 1.21.86

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,75 @@
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 Calculate = function Calculate(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: "M8.95 14.293a1 1 0 011.414 1.414l-2.122 2.121 2.122 2.122a1 1 0 01-1.415 1.414l-2.12-2.122-2.122 2.122a1 1 0 01-1.414-1.414l2.121-2.122-2.12-2.121a1 1 0 111.413-1.414l2.121 2.121 2.121-2.121z"
49
+ }), /*#__PURE__*/React.createElement("path", {
50
+ d: "M21 19a1 1 0 010 2h-7a1 1 0 110-2h7z"
51
+ }), /*#__PURE__*/React.createElement("path", {
52
+ d: "M21 16a1 1 0 010 2h-7a1 1 0 110-2h7z"
53
+ }), /*#__PURE__*/React.createElement("path", {
54
+ d: "M17.5 3.5a1 1 0 011 1V7H21a1 1 0 010 2h-2.5v2.5a1 1 0 01-2 0V9H14a1 1 0 110-2h2.5V4.5a1 1 0 011-1z"
55
+ }), /*#__PURE__*/React.createElement("path", {
56
+ d: "M9.364 4.06a1 1 0 011.414 1.415l-5.657 5.657a1 1 0 01-1.414-1.414L9.364 4.06z"
57
+ }), /*#__PURE__*/React.createElement("path", {
58
+ d: "M8.833 8.834a1.25 1.25 0 111.769 1.77 1.25 1.25 0 01-1.769-1.77z"
59
+ }), /*#__PURE__*/React.createElement("path", {
60
+ d: "M3.884 3.884a1.25 1.25 0 111.768 1.768 1.25 1.25 0 01-1.768-1.768z"
61
+ }))));
62
+ };
63
+ Calculate.propTypes = {
64
+ iconClassName: PropTypes.string,
65
+ spin: PropTypes.bool,
66
+ color: PropTypes.string,
67
+ testid: PropTypes.string,
68
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
69
+ };
70
+ Calculate.defaultProps = {
71
+ spin: false,
72
+ color: 'currentColor',
73
+ size: '1em'
74
+ };
75
+ export default Calculate;
@@ -45,7 +45,7 @@ var ChartPie = function ChartPie(props) {
45
45
  height: "24",
46
46
  xmlns: "http://www.w3.org/2000/svg"
47
47
  }, /*#__PURE__*/React.createElement("path", {
48
- d: "M11.25 4.035a8 8 0 107.325 12.524l-1.315-.74a6.5 6.5 0 11-6.01-10.276V4.035z"
48
+ d: "M11.25 4.035a8 8 0 107.325 12.524l-1.315-.74a6.5 6.5 0 11-6.01-10.277V4.036z"
49
49
  }), /*#__PURE__*/React.createElement("path", {
50
50
  d: "M19.311 15.252A7.97 7.97 0 0020 12.008v-.014a7.974 7.974 0 00-2.411-5.718 7.974 7.974 0 00-4.839-2.241v7.526l6.561 3.691z"
51
51
  }))));
@@ -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 Discount = function Discount(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: "M12.314 2.414a2 2 0 012.828 0l1.061 1.06c.195.196.188.51.047.748a2 2 0 002.741 2.741c.238-.14.552-.148.747.047L20.8 8.07a2 2 0 010 2.829l-1.795-1.796a3.994 3.994 0 01-4.895-4.895l-.381-.38-2.743 2.741.472.473-1.414 1.414-.472-.473-5.743 5.744.381.38a3.995 3.995 0 014.895 4.896l1.796 1.795a2 2 0 01-2.828 0l-1.061-1.06c-.195-.196-.189-.51-.048-.748a2 2 0 00-2.595-2.82l-.146.08c-.237.14-.552.146-.747-.049l-1.06-1.06a2 2 0 010-2.828l9.899-9.9z"
49
+ }), /*#__PURE__*/React.createElement("path", {
50
+ d: "M20.8 10.9l-9.9 9.899-1.414-1.414 5.742-5.743-.685-.685 1.414-1.414.685.685 2.743-2.743 1.414 1.415z"
51
+ }), /*#__PURE__*/React.createElement("path", {
52
+ d: "M14.457 10.043l-1.414 1.414-1.5-1.5 1.414-1.414 1.5 1.5z"
53
+ }))));
54
+ };
55
+ Discount.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
+ Discount.defaultProps = {
63
+ spin: false,
64
+ color: 'currentColor',
65
+ size: '1em'
66
+ };
67
+ export default Discount;
@@ -88,13 +88,9 @@ var FlagCn = function FlagCn(props) {
88
88
  d: "M11.324 13.448l-1.124.657.257-1.283-.936-.96 1.267-.052.536-1.198.535 1.198h1.265l-.933 1.012.28 1.283-1.147-.657z"
89
89
  }), /*#__PURE__*/React.createElement("path", {
90
90
  d: "M8.574 14.781l-1.124.658.257-1.283-.936-.96 1.267-.053.536-1.198.535 1.198h1.265l-.933 1.013.28 1.283-1.147-.658z"
91
- }))), /*#__PURE__*/React.createElement("g", {
92
- style: {
93
- mixBlendMode: 'multiply'
94
- }
95
- }, /*#__PURE__*/React.createElement("path", {
91
+ }))), /*#__PURE__*/React.createElement("path", {
96
92
  d: "M21.625 4.667H2.375a.677.677 0 00-.688.666v13.334c0 .368.308.666.688.666h19.25c.38 0 .688-.298.688-.666V5.333a.677.677 0 00-.688-.666z"
97
- }))), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
93
+ })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
98
94
  id: "clip0_6697_1121"
99
95
  }, /*#__PURE__*/React.createElement("rect", {
100
96
  width: "22",
@@ -98,13 +98,9 @@ var FlagJp = function FlagJp(props) {
98
98
  fillRule: "evenodd",
99
99
  clipRule: "evenodd",
100
100
  d: "M12 17c2.848 0 5.156-2.239 5.156-5S14.848 7 12 7s-5.156 2.239-5.156 5S9.152 17 12 17z"
101
- })))), /*#__PURE__*/React.createElement("g", {
102
- style: {
103
- mixBlendMode: 'multiply'
104
- }
105
- }, /*#__PURE__*/React.createElement("path", {
101
+ })))), /*#__PURE__*/React.createElement("path", {
106
102
  d: "M21.625 4.667H2.375a.677.677 0 00-.688.666v13.334c0 .368.308.666.688.666h19.25c.38 0 .688-.298.688-.666V5.333a.677.677 0 00-.688-.666z"
107
- }))), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
103
+ })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
108
104
  id: "clip0_6697_1119"
109
105
  }, /*#__PURE__*/React.createElement("rect", {
110
106
  width: "22",
@@ -142,13 +142,9 @@ var FlagKr = function FlagKr(props) {
142
142
  d: "M17.902 18.994l-.629-.551 2.915-3.302.63.552-2.916 3.301zm-1.037-.892l-.63-.552 2.811-3.254.63.552-2.811 3.254zm-1.662-1.456l.63.552 2.818-3.278-.63-.552-2.818 3.278z"
143
143
  }), /*#__PURE__*/React.createElement("path", {
144
144
  d: "M17.273 18.443l-.078-.065-.065.074.074.065.07-.074zm.63.551l-.07.075.079.069.069-.079-.079-.065zm2.286-3.852l.069-.075-.079-.069-.069.079.079.065zm.628.551l.079.065.065-.074-.074-.065-.07.074zm-4.581 1.857l-.08-.064-.063.074.074.064.069-.074zm.629.552l-.07.074.08.07.069-.08-.079-.064zm2.182-3.805l.069-.075-.08-.07-.068.08.079.065zm.629.551l.079.064.064-.073-.074-.065-.07.074zm-3.844 2.35l-.069.074.08.07.069-.08-.08-.064zm-.629-.552l-.079-.064-.064.074.074.064.07-.074zm3.448-2.726l.079.064.063-.074-.073-.064-.07.074zm-.63-.552l.07-.074-.08-.07-.069.08.08.064zm-.817 5.149l.63.552.138-.149-.63-.551-.138.148zm2.906-3.44l-2.915 3.3.157.13 2.915-3.3-.157-.13zm.777.542l-.63-.552-.138.149.63.551.138-.148zm-2.906 3.44l2.915-3.3-.157-.13-2.915 3.3.157.13zm-1.814-1.435l.629.552.138-.148-.629-.552-.138.148zm2.8-3.392l-2.81 3.254.158.128 2.81-3.253-.157-.129zm.778.542l-.63-.552-.138.149.63.551.138-.148zm-2.801 3.392l2.81-3.254-.158-.128-2.81 3.254.158.128zm-1.042-1.042l-.63-.552-.138.148.629.552.139-.148zm2.67-3.268l-2.819 3.278.159.128 2.818-3.278-.158-.128zm-.62-.414l.63.552.138-.148-.63-.552-.137.148zm-2.67 3.268l2.819-3.278-.159-.128-2.818 3.278.159.128z"
145
- })))), /*#__PURE__*/React.createElement("g", {
146
- style: {
147
- mixBlendMode: 'multiply'
148
- }
149
- }, /*#__PURE__*/React.createElement("path", {
145
+ })))), /*#__PURE__*/React.createElement("path", {
150
146
  d: "M21.625 4.667H2.375a.677.677 0 00-.688.666v13.334c0 .368.308.666.688.666h19.25c.38 0 .688-.298.688-.666V5.333a.677.677 0 00-.688-.666z"
151
- }))), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
147
+ })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
152
148
  id: "clip0_6697_1118"
153
149
  }, /*#__PURE__*/React.createElement("rect", {
154
150
  width: "22",
@@ -88,13 +88,9 @@ var FlagUs = function FlagUs(props) {
88
88
  fillRule: "evenodd",
89
89
  clipRule: "evenodd",
90
90
  d: "M2.43 6.898l.729-.492.565.395h-.32l.647.555-.219.778H3.49l-.332-.715-.284.715H2.03l.647.555-.246.876.729-.492.565.394h-.32l.647.556-.219.778H3.49l-.332-.715-.284.715H2.03l.647.555-.246.876.729-.492.705.492-.22-.876.567-.555h-.262l.585-.395.565.395h-.32l.647.555-.246.876.729-.492.705.492-.22-.876.567-.555h-.262l.585-.395.565.395h-.32l.647.555-.246.876.729-.492.705.492-.22-.876.567-.555h-.262l.585-.395.565.395h-.32l.647.555-.246.876.729-.492.705.492-.22-.876.567-.555h-.721l-.332-.715-.284.715h-.41l-.195-.778.567-.556h-.261l.584-.394.705.492-.22-.876.567-.555h-.721l-.332-.715-.284.715h-.41l-.195-.778.567-.555h-.261l.584-.395.705.492-.22-.875.567-.556h-.721l-.332-.714-.284.714h-.845l.647.556-.219.778h-.342l-.332-.715-.284.715h-.41l-.195-.778.567-.556H8.99l-.332-.714-.284.714H7.53l.647.556-.219.778h-.342l-.332-.715-.284.715h-.41l-.195-.778.567-.556H6.24l-.332-.714-.284.714H4.78l.647.556-.219.778h-.342l-.332-.715-.284.715h-.41l-.195-.778.567-.556H3.49l-.332-.714-.284.714H2.03l.647.556-.246.875zm8.277 2.57l.219-.779-.647-.555h.32l-.565-.394-.585.394h.262l-.567.555.195.778h.41l.284-.714.332.714h.342zm-1.483 0l-.565-.395-.585.394h.262l-.567.556.195.778h.41l.284-.715.332.715h.342l.219-.778-.647-.556h.32zm-2.423.555l-.219.778H6.24l-.332-.715-.284.715h-.41l-.195-.778.567-.556h-.262l.585-.394.565.394h-.32l.647.556zm.198-.556h-.41l-.195-.778.567-.555h-.262l.585-.394.565.394h-.32l.647.555-.219.778h-.342l-.332-.714-.284.714zm-1.792 0l.219-.778-.647-.555h.32l-.565-.394-.585.394h.262l-.567.555.195.778h.41l.284-.714.332.714h.342zm4.344-2.111l-.219.778H8.99l-.332-.715-.284.715h-.41l-.195-.778.567-.555h-.262l.585-.395.565.395h-.32l.647.555zM6.474 6.8l-.565-.395-.585.395h.262l-.567.555.195.778h.41l.284-.715.332.715h.342l.219-.778-.647-.555h.32z"
91
- }))), /*#__PURE__*/React.createElement("g", {
92
- style: {
93
- mixBlendMode: 'multiply'
94
- }
95
- }, /*#__PURE__*/React.createElement("path", {
91
+ }))), /*#__PURE__*/React.createElement("path", {
96
92
  d: "M21.625 4.667H2.375a.677.677 0 00-.688.666v13.334c0 .368.308.666.688.666h19.25c.38 0 .688-.298.688-.666V5.333a.677.677 0 00-.688-.666z"
97
- }))), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
93
+ })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
98
94
  id: "clip0_6697_1120"
99
95
  }, /*#__PURE__*/React.createElement("rect", {
100
96
  width: "22",
@@ -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 Phote = function Phote(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: "M4 5v14h16V7h-8.414l-2-2H4zm8.414 0H21a1 1 0 011 1v14a1 1 0 01-1 1H3a1 1 0 01-1-1V4a1 1 0 011-1h7.414l2 2zM10 10.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zm8 6.5l-4-6-7 6h11z"
49
+ }))));
50
+ };
51
+ Phote.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
+ Phote.defaultProps = {
59
+ spin: false,
60
+ color: 'currentColor',
61
+ size: '1em'
62
+ };
63
+ export default Phote;
@@ -0,0 +1,65 @@
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 Price = function Price(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
+ fillRule: "evenodd",
49
+ clipRule: "evenodd",
50
+ d: "M19.26 1.865c.821-.145 1.652-.024 2.225.549.675.675.724 1.7.446 2.673-.284.992-.933 2.057-1.86 2.984a8.5 8.5 0 01-.811.711l.223 2.235.01.224a2 2 0 01-.437 1.223l-.149.167-7.715 7.714-.151.136a2.001 2.001 0 01-2.525 0l-.152-.136-4.95-4.95a2.001 2.001 0 01-.137-2.677l.137-.15 7.715-7.716.167-.148a2 2 0 011.446-.428l4.5.45a2.001 2.001 0 011.791 1.791l.106 1.059c.075-.07.151-.138.225-.212.83-.83 1.377-1.752 1.606-2.552.233-.818.11-1.39-.192-1.691-.256-.256-.702-.385-1.345-.272-.636.112-1.39.454-2.131 1.016a.5.5 0 11-.604-.797c.836-.634 1.734-1.057 2.562-1.203zM4.829 13.981l4.95 4.95 7.714-7.715-.138-1.372c-.09.03-.18.061-.268.086-.478.137-.967.193-1.422.137a1.498 1.498 0 01-2.887-.567 1.5 1.5 0 012.935-.439c.293.053.66.034 1.1-.091.143-.041.289-.096.439-.158l-.21-2.095-4.5-.45L4.83 13.98z"
51
+ }))));
52
+ };
53
+ Price.propTypes = {
54
+ iconClassName: PropTypes.string,
55
+ spin: PropTypes.bool,
56
+ color: PropTypes.string,
57
+ testid: PropTypes.string,
58
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
59
+ };
60
+ Price.defaultProps = {
61
+ spin: false,
62
+ color: 'currentColor',
63
+ size: '1em'
64
+ };
65
+ export default Price;
@@ -47,7 +47,7 @@ var ProgressBar = function ProgressBar(props) {
47
47
  }, /*#__PURE__*/React.createElement("path", {
48
48
  d: "M1.5 12c0 5.816 4.684 10.5 10.5 10.5 5.762 0 10.5-4.738 10.5-10.5 0-5.761-4.738-10.5-10.5-10.5v1.615A8.894 8.894 0 0120.884 12 8.894 8.894 0 0112 20.884 8.894 8.894 0 013.116 12H1.5z"
49
49
  }), /*#__PURE__*/React.createElement("path", {
50
- d: "M9.43 12a1.926 1.926 0 110-3.855 1.926 1.926 0 010 3.857V12zm0-2.57a.642.642 0 100 1.284.642.642 0 000-1.283zm5.14 6.428a1.925 1.925 0 01-1.363-3.293 1.929 1.929 0 013.281 1.553 1.928 1.928 0 01-1.919 1.739v.001zm0-2.571a.642.642 0 100 1.284.642.642 0 000-1.284zM8.145 16.5a.643.643 0 01-.456-1.1L15.4 7.69a.646.646 0 11.912.912L8.6 16.314a.64.64 0 01-.455.186z"
50
+ d: "M9.43 12a1.926 1.926 0 110-3.855 1.926 1.926 0 010 3.857V12zm0-2.57a.642.642 0 100 1.284.642.642 0 000-1.284zm5.14 6.428a1.926 1.926 0 01-1.363-3.293 1.928 1.928 0 111.362 3.292v.001zm0-2.571a.642.642 0 100 1.284.642.642 0 000-1.284zM8.145 16.5a.644.644 0 01-.456-1.1L15.4 7.69a.646.646 0 11.912.912L8.6 16.314a.641.641 0 01-.455.186z"
51
51
  }))));
52
52
  };
53
53
  ProgressBar.propTypes = {
@@ -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 Text = function Text(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: "M5 5v14h14V5H5zM4 3h16a1 1 0 011 1v16a1 1 0 01-1 1H4a1 1 0 01-1-1V4a1 1 0 011-1zm9 7v7h-2v-7H7V8h10v2h-4z"
49
+ }))));
50
+ };
51
+ Text.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
+ Text.defaultProps = {
59
+ spin: false,
60
+ color: 'currentColor',
61
+ size: '1em'
62
+ };
63
+ export default Text;
@@ -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 Webpage = function Webpage(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 3a1 1 0 011 1v16a1 1 0 01-1 1H3a1 1 0 01-1-1V4a1 1 0 011-1h18zm-1 8H4v8h16v-8zm0-6H4v4h16V5zm-9 1v2H9V6h2zM7 6v2H5V6h2z"
49
+ }))));
50
+ };
51
+ Webpage.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
+ Webpage.defaultProps = {
59
+ spin: false,
60
+ color: 'currentColor',
61
+ size: '1em'
62
+ };
63
+ export default Webpage;
package/dist/es/index.js CHANGED
@@ -266,6 +266,9 @@ export { default as TaSortUp } from './icons/sort-up';
266
266
  export { default as TaSortDown } from './icons/sort-down';
267
267
  export { default as TaFunction } from './icons/function';
268
268
  export { default as TaPartition } from './icons/partition';
269
+ export { default as TaDiscount } from './icons/discount';
270
+ export { default as TaCalculate } from './icons/calculate';
271
+ export { default as TaPrice } from './icons/price';
269
272
  export { default as TaEducation } from './icons/education';
270
273
  export { default as TaEducationFill } from './icons/education-fill';
271
274
  export { default as TaGame } from './icons/game';
@@ -349,6 +352,9 @@ export { default as TaTextWholeMatch } from './icons/text-whole-match';
349
352
  export { default as TaAttachment } from './icons/attachment';
350
353
  export { default as TaResizer } from './icons/resizer';
351
354
  export { default as TaVideo } from './icons/video';
355
+ export { default as TaWebpage } from './icons/webpage';
356
+ export { default as TaText } from './icons/text';
357
+ export { default as TaPhote } from './icons/phote';
352
358
  export { default as TaUser1 } from './icons/user-1';
353
359
  export { default as TaUser1Fill } from './icons/user-1-fill';
354
360
  export { default as TaUser2 } from './icons/user-2';
package/dist/index.d.ts CHANGED
@@ -278,6 +278,9 @@ export const TaSortUp: Icon;
278
278
  export const TaSortDown: Icon;
279
279
  export const TaFunction: Icon;
280
280
  export const TaPartition: Icon;
281
+ export const TaDiscount: Icon;
282
+ export const TaCalculate: Icon;
283
+ export const TaPrice: Icon;
281
284
  export const TaEducation: Icon;
282
285
  export const TaEducationFill: Icon;
283
286
  export const TaGame: Icon;
@@ -361,6 +364,9 @@ export const TaTextWholeMatch: Icon;
361
364
  export const TaAttachment: Icon;
362
365
  export const TaResizer: Icon;
363
366
  export const TaVideo: Icon;
367
+ export const TaWebpage: Icon;
368
+ export const TaText: Icon;
369
+ export const TaPhote: Icon;
364
370
  export const TaUser1: Icon;
365
371
  export const TaUser1Fill: Icon;
366
372
  export const TaUser2: Icon;
@@ -0,0 +1,82 @@
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 Calculate = function Calculate(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: "M8.95 14.293a1 1 0 011.414 1.414l-2.122 2.121 2.122 2.122a1 1 0 01-1.415 1.414l-2.12-2.122-2.122 2.122a1 1 0 01-1.414-1.414l2.121-2.122-2.12-2.121a1 1 0 111.413-1.414l2.121 2.121 2.121-2.121z"
56
+ }), /*#__PURE__*/_react["default"].createElement("path", {
57
+ d: "M21 19a1 1 0 010 2h-7a1 1 0 110-2h7z"
58
+ }), /*#__PURE__*/_react["default"].createElement("path", {
59
+ d: "M21 16a1 1 0 010 2h-7a1 1 0 110-2h7z"
60
+ }), /*#__PURE__*/_react["default"].createElement("path", {
61
+ d: "M17.5 3.5a1 1 0 011 1V7H21a1 1 0 010 2h-2.5v2.5a1 1 0 01-2 0V9H14a1 1 0 110-2h2.5V4.5a1 1 0 011-1z"
62
+ }), /*#__PURE__*/_react["default"].createElement("path", {
63
+ d: "M9.364 4.06a1 1 0 011.414 1.415l-5.657 5.657a1 1 0 01-1.414-1.414L9.364 4.06z"
64
+ }), /*#__PURE__*/_react["default"].createElement("path", {
65
+ d: "M8.833 8.834a1.25 1.25 0 111.769 1.77 1.25 1.25 0 01-1.769-1.77z"
66
+ }), /*#__PURE__*/_react["default"].createElement("path", {
67
+ d: "M3.884 3.884a1.25 1.25 0 111.768 1.768 1.25 1.25 0 01-1.768-1.768z"
68
+ }))));
69
+ };
70
+ Calculate.propTypes = {
71
+ iconClassName: _propTypes["default"].string,
72
+ spin: _propTypes["default"].bool,
73
+ color: _propTypes["default"].string,
74
+ testid: _propTypes["default"].string,
75
+ size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
76
+ };
77
+ Calculate.defaultProps = {
78
+ spin: false,
79
+ color: 'currentColor',
80
+ size: '1em'
81
+ };
82
+ var _default = exports["default"] = Calculate;