@tant/icons 1.20.59 → 1.21.60
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/circular-progress-cl.js +4 -5
- package/dist/es/icons/official.js +65 -0
- package/dist/es/icons/{ripple-cl.js → ripple.js} +5 -10
- package/dist/es/index.js +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/lib/icons/circular-progress-cl.js +4 -5
- package/dist/lib/icons/official.js +72 -0
- package/dist/lib/icons/{ripple-cl.js → ripple.js} +5 -10
- package/dist/lib/index.js +10 -3
- package/dist/tant-icons.cjs.js +1246 -1197
- package/dist/tant-icons.esm.js +1245 -1197
- package/package.json +1 -1
|
@@ -46,14 +46,13 @@ var CircularProgressCl = function CircularProgressCl(props) {
|
|
|
46
46
|
fill: "none",
|
|
47
47
|
xmlns: "http://www.w3.org/2000/svg"
|
|
48
48
|
}, /*#__PURE__*/React.createElement("g", {
|
|
49
|
-
clipPath: "url(#clip0_11001_251)"
|
|
49
|
+
clipPath: "url(#clip0_11001_251)",
|
|
50
|
+
fill: "#7E7F80"
|
|
50
51
|
}, /*#__PURE__*/React.createElement("path", {
|
|
51
52
|
opacity: ".3",
|
|
52
|
-
d: "M12 23.55a11.4 11.4 0 100-22.8 11.4 11.4 0 000 22.8zm5.515-16.915C19.038 8.158 19.8 9.996 19.8 12.15c0 2.154-.762 3.992-2.285 5.515-1.523 1.523-3.361 2.285-5.515 2.285-2.153 0-3.992-.762-5.515-2.285C4.962 16.142 4.2 14.304 4.2 12.15c0-2.154.762-3.992 2.285-5.515C8.008 5.112 9.847 4.35 12 4.35c2.154 0 3.992.762 5.515 2.285z"
|
|
53
|
-
fill: "#777E8C"
|
|
53
|
+
d: "M12 23.55a11.4 11.4 0 100-22.8 11.4 11.4 0 000 22.8zm5.515-16.915C19.038 8.158 19.8 9.996 19.8 12.15c0 2.154-.762 3.992-2.285 5.515-1.523 1.523-3.361 2.285-5.515 2.285-2.153 0-3.992-.762-5.515-2.285C4.962 16.142 4.2 14.304 4.2 12.15c0-2.154.762-3.992 2.285-5.515C8.008 5.112 9.847 4.35 12 4.35c2.154 0 3.992.762 5.515 2.285z"
|
|
54
54
|
}), /*#__PURE__*/React.createElement("path", {
|
|
55
|
-
d: "M23.4 12.15A11.4 11.4 0 0012 .75v3.6c2.154 0 3.992.762 5.515 2.285C19.038 8.158 19.8 9.996 19.8 12.15h3.6z"
|
|
56
|
-
fill: "#48C6A8"
|
|
55
|
+
d: "M23.4 12.15A11.4 11.4 0 0012 .75v3.6c2.154 0 3.992.762 5.515 2.285C19.038 8.158 19.8 9.996 19.8 12.15h3.6z"
|
|
57
56
|
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
58
57
|
id: "clip0_11001_251"
|
|
59
58
|
}, /*#__PURE__*/React.createElement("rect", {
|
|
@@ -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 Official = function Official(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: "M6.992 4.465a2.688 2.688 0 013.222-1.334l1.51.49c.18.057.373.057.552 0l1.51-.49a2.69 2.69 0 013.223 1.334l.722 1.414a.897.897 0 00.39.391l1.413.722a2.688 2.688 0 011.335 3.221l-.49 1.51a.897.897 0 000 .553l.49 1.51a2.69 2.69 0 01-1.335 3.223l-1.413.722a.895.895 0 00-.39.39l-.722 1.413a2.69 2.69 0 01-3.223 1.335l-1.51-.49a.897.897 0 00-.552 0l-1.51.49a2.688 2.688 0 01-3.222-1.335l-.722-1.413a.898.898 0 00-.39-.39l-1.414-.722a2.69 2.69 0 01-1.335-3.223l.49-1.51a.897.897 0 000-.552l-.49-1.51a2.688 2.688 0 011.335-3.222l1.413-.722a.9.9 0 00.391-.39l.722-1.415zm4.114 8.584L8.57 10.515l-1.268 1.267 3.803 3.803 6.337-6.337-1.268-1.268-5.07 5.07z"
|
|
51
|
+
}))));
|
|
52
|
+
};
|
|
53
|
+
Official.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
|
+
Official.defaultProps = {
|
|
61
|
+
spin: false,
|
|
62
|
+
color: 'currentColor',
|
|
63
|
+
size: '1em'
|
|
64
|
+
};
|
|
65
|
+
export default Official;
|
|
@@ -11,7 +11,7 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
11
11
|
import React from 'react';
|
|
12
12
|
import PropTypes from 'prop-types';
|
|
13
13
|
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
14
|
-
var
|
|
14
|
+
var Ripple = function Ripple(props) {
|
|
15
15
|
var color = props.color,
|
|
16
16
|
size = props.size,
|
|
17
17
|
spin = props.spin,
|
|
@@ -43,26 +43,21 @@ var RippleCl = function RippleCl(props) {
|
|
|
43
43
|
}), /*#__PURE__*/React.createElement("svg", {
|
|
44
44
|
width: "24",
|
|
45
45
|
height: "24",
|
|
46
|
-
fill: "none",
|
|
47
46
|
xmlns: "http://www.w3.org/2000/svg"
|
|
48
47
|
}, /*#__PURE__*/React.createElement("path", {
|
|
49
|
-
d: "M11.625 2.25c5.592 0 10.125 4.533 10.125 10.125S17.217 22.5 11.625 22.5 1.5 17.967 1.5 12.375 6.033 2.25 11.625 2.25zm0 1.898a8.227 8.227 0 10-.005 16.
|
|
50
|
-
fill: "#3080EF"
|
|
51
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
52
|
-
d: "M11.646 12.558c2.644 1.454 5.012 1.696 7.104.73-.415 3.812-3.932 6.576-7.856 6.173-3.924-.403-6.768-3.82-6.354-7.631 2.097-.968 4.463-.725 7.106.728z",
|
|
53
|
-
fill: "#CDD8FA"
|
|
48
|
+
d: "M11.625 2.25c5.592 0 10.125 4.533 10.125 10.125S17.217 22.5 11.625 22.5 1.5 17.967 1.5 12.375 6.033 2.25 11.625 2.25zm0 1.898a8.227 8.227 0 10-.005 16.454 8.227 8.227 0 00.005-16.454zM4.54 11.83c2.096-.967 4.463-.725 7.106.728 2.643 1.453 5.012 1.695 7.104.73-.415 3.811-3.931 6.576-7.855 6.173-3.924-.403-6.77-3.82-6.355-7.63z"
|
|
54
49
|
}))));
|
|
55
50
|
};
|
|
56
|
-
|
|
51
|
+
Ripple.propTypes = {
|
|
57
52
|
iconClassName: PropTypes.string,
|
|
58
53
|
spin: PropTypes.bool,
|
|
59
54
|
color: PropTypes.string,
|
|
60
55
|
testid: PropTypes.string,
|
|
61
56
|
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
62
57
|
};
|
|
63
|
-
|
|
58
|
+
Ripple.defaultProps = {
|
|
64
59
|
spin: false,
|
|
65
60
|
color: 'currentColor',
|
|
66
61
|
size: '1em'
|
|
67
62
|
};
|
|
68
|
-
export default
|
|
63
|
+
export default Ripple;
|
package/dist/es/index.js
CHANGED
|
@@ -192,6 +192,7 @@ export { default as TaChartWordcloud } from './icons/chart- wordcloud';
|
|
|
192
192
|
export { default as TaChartTrophy } from './icons/chart-trophy';
|
|
193
193
|
export { default as TaProgress } from './icons/progress';
|
|
194
194
|
export { default as TaDashboardPlan } from './icons/dashboard-plan';
|
|
195
|
+
export { default as TaRipple } from './icons/ripple';
|
|
195
196
|
export { default as TaMEvent } from './icons/m-event';
|
|
196
197
|
export { default as TaMRetention } from './icons/m-retention';
|
|
197
198
|
export { default as TaMFunnel } from './icons/m-funnel';
|
|
@@ -202,7 +203,6 @@ export { default as TaMSql } from './icons/m-sql';
|
|
|
202
203
|
export { default as TaUTag } from './icons/u-tag';
|
|
203
204
|
export { default as TaMProperty } from './icons/m-property';
|
|
204
205
|
export { default as TaUGroup } from './icons/u-group';
|
|
205
|
-
export { default as TaRippleCl } from './icons/ripple-cl';
|
|
206
206
|
export { default as TaCircularProgressCl } from './icons/circular-progress-cl';
|
|
207
207
|
export { default as TaSSpace } from './icons/s-space';
|
|
208
208
|
export { default as TaProject } from './icons/project';
|
|
@@ -312,6 +312,7 @@ export { default as TaArrowClose } from './icons/arrow-close';
|
|
|
312
312
|
export { default as TaTranslation } from './icons/translation';
|
|
313
313
|
export { default as TaManualVerification } from './icons/manual-verification';
|
|
314
314
|
export { default as TaHeat } from './icons/heat';
|
|
315
|
+
export { default as TaOfficial } from './icons/official';
|
|
315
316
|
export { default as TaFontSize } from './icons/font-size';
|
|
316
317
|
export { default as TaFontBold } from './icons/font-bold';
|
|
317
318
|
export { default as TaFontItalic } from './icons/font- italic';
|
package/dist/index.d.ts
CHANGED
|
@@ -204,6 +204,7 @@ export const TaChartWordcloud: Icon;
|
|
|
204
204
|
export const TaChartTrophy: Icon;
|
|
205
205
|
export const TaProgress: Icon;
|
|
206
206
|
export const TaDashboardPlan: Icon;
|
|
207
|
+
export const TaRipple: Icon;
|
|
207
208
|
export const TaMEvent: Icon;
|
|
208
209
|
export const TaMRetention: Icon;
|
|
209
210
|
export const TaMFunnel: Icon;
|
|
@@ -214,7 +215,6 @@ export const TaMSql: Icon;
|
|
|
214
215
|
export const TaUTag: Icon;
|
|
215
216
|
export const TaMProperty: Icon;
|
|
216
217
|
export const TaUGroup: Icon;
|
|
217
|
-
export const TaRippleCl: Icon;
|
|
218
218
|
export const TaCircularProgressCl: Icon;
|
|
219
219
|
export const TaSSpace: Icon;
|
|
220
220
|
export const TaProject: Icon;
|
|
@@ -324,6 +324,7 @@ export const TaArrowClose: Icon;
|
|
|
324
324
|
export const TaTranslation: Icon;
|
|
325
325
|
export const TaManualVerification: Icon;
|
|
326
326
|
export const TaHeat: Icon;
|
|
327
|
+
export const TaOfficial: Icon;
|
|
327
328
|
export const TaFontSize: Icon;
|
|
328
329
|
export const TaFontBold: Icon;
|
|
329
330
|
export const TaFontItalic: Icon;
|
|
@@ -53,14 +53,13 @@ var CircularProgressCl = function CircularProgressCl(props) {
|
|
|
53
53
|
fill: "none",
|
|
54
54
|
xmlns: "http://www.w3.org/2000/svg"
|
|
55
55
|
}, /*#__PURE__*/_react["default"].createElement("g", {
|
|
56
|
-
clipPath: "url(#clip0_11001_251)"
|
|
56
|
+
clipPath: "url(#clip0_11001_251)",
|
|
57
|
+
fill: "#7E7F80"
|
|
57
58
|
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
58
59
|
opacity: ".3",
|
|
59
|
-
d: "M12 23.55a11.4 11.4 0 100-22.8 11.4 11.4 0 000 22.8zm5.515-16.915C19.038 8.158 19.8 9.996 19.8 12.15c0 2.154-.762 3.992-2.285 5.515-1.523 1.523-3.361 2.285-5.515 2.285-2.153 0-3.992-.762-5.515-2.285C4.962 16.142 4.2 14.304 4.2 12.15c0-2.154.762-3.992 2.285-5.515C8.008 5.112 9.847 4.35 12 4.35c2.154 0 3.992.762 5.515 2.285z"
|
|
60
|
-
fill: "#777E8C"
|
|
60
|
+
d: "M12 23.55a11.4 11.4 0 100-22.8 11.4 11.4 0 000 22.8zm5.515-16.915C19.038 8.158 19.8 9.996 19.8 12.15c0 2.154-.762 3.992-2.285 5.515-1.523 1.523-3.361 2.285-5.515 2.285-2.153 0-3.992-.762-5.515-2.285C4.962 16.142 4.2 14.304 4.2 12.15c0-2.154.762-3.992 2.285-5.515C8.008 5.112 9.847 4.35 12 4.35c2.154 0 3.992.762 5.515 2.285z"
|
|
61
61
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
62
|
-
d: "M23.4 12.15A11.4 11.4 0 0012 .75v3.6c2.154 0 3.992.762 5.515 2.285C19.038 8.158 19.8 9.996 19.8 12.15h3.6z"
|
|
63
|
-
fill: "#48C6A8"
|
|
62
|
+
d: "M23.4 12.15A11.4 11.4 0 0012 .75v3.6c2.154 0 3.992.762 5.515 2.285C19.038 8.158 19.8 9.996 19.8 12.15h3.6z"
|
|
64
63
|
})), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("clipPath", {
|
|
65
64
|
id: "clip0_11001_251"
|
|
66
65
|
}, /*#__PURE__*/_react["default"].createElement("rect", {
|
|
@@ -0,0 +1,72 @@
|
|
|
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 Official = function Official(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
|
+
fillRule: "evenodd",
|
|
56
|
+
clipRule: "evenodd",
|
|
57
|
+
d: "M6.992 4.465a2.688 2.688 0 013.222-1.334l1.51.49c.18.057.373.057.552 0l1.51-.49a2.69 2.69 0 013.223 1.334l.722 1.414a.897.897 0 00.39.391l1.413.722a2.688 2.688 0 011.335 3.221l-.49 1.51a.897.897 0 000 .553l.49 1.51a2.69 2.69 0 01-1.335 3.223l-1.413.722a.895.895 0 00-.39.39l-.722 1.413a2.69 2.69 0 01-3.223 1.335l-1.51-.49a.897.897 0 00-.552 0l-1.51.49a2.688 2.688 0 01-3.222-1.335l-.722-1.413a.898.898 0 00-.39-.39l-1.414-.722a2.69 2.69 0 01-1.335-3.223l.49-1.51a.897.897 0 000-.552l-.49-1.51a2.688 2.688 0 011.335-3.222l1.413-.722a.9.9 0 00.391-.39l.722-1.415zm4.114 8.584L8.57 10.515l-1.268 1.267 3.803 3.803 6.337-6.337-1.268-1.268-5.07 5.07z"
|
|
58
|
+
}))));
|
|
59
|
+
};
|
|
60
|
+
Official.propTypes = {
|
|
61
|
+
iconClassName: _propTypes["default"].string,
|
|
62
|
+
spin: _propTypes["default"].bool,
|
|
63
|
+
color: _propTypes["default"].string,
|
|
64
|
+
testid: _propTypes["default"].string,
|
|
65
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
66
|
+
};
|
|
67
|
+
Official.defaultProps = {
|
|
68
|
+
spin: false,
|
|
69
|
+
color: 'currentColor',
|
|
70
|
+
size: '1em'
|
|
71
|
+
};
|
|
72
|
+
var _default = exports["default"] = Official;
|
|
@@ -18,7 +18,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
18
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
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
20
|
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
-
var
|
|
21
|
+
var Ripple = function Ripple(props) {
|
|
22
22
|
var color = props.color,
|
|
23
23
|
size = props.size,
|
|
24
24
|
spin = props.spin,
|
|
@@ -50,26 +50,21 @@ var RippleCl = function RippleCl(props) {
|
|
|
50
50
|
}), /*#__PURE__*/_react["default"].createElement("svg", {
|
|
51
51
|
width: "24",
|
|
52
52
|
height: "24",
|
|
53
|
-
fill: "none",
|
|
54
53
|
xmlns: "http://www.w3.org/2000/svg"
|
|
55
54
|
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
56
|
-
d: "M11.625 2.25c5.592 0 10.125 4.533 10.125 10.125S17.217 22.5 11.625 22.5 1.5 17.967 1.5 12.375 6.033 2.25 11.625 2.25zm0 1.898a8.227 8.227 0 10-.005 16.
|
|
57
|
-
fill: "#3080EF"
|
|
58
|
-
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
59
|
-
d: "M11.646 12.558c2.644 1.454 5.012 1.696 7.104.73-.415 3.812-3.932 6.576-7.856 6.173-3.924-.403-6.768-3.82-6.354-7.631 2.097-.968 4.463-.725 7.106.728z",
|
|
60
|
-
fill: "#CDD8FA"
|
|
55
|
+
d: "M11.625 2.25c5.592 0 10.125 4.533 10.125 10.125S17.217 22.5 11.625 22.5 1.5 17.967 1.5 12.375 6.033 2.25 11.625 2.25zm0 1.898a8.227 8.227 0 10-.005 16.454 8.227 8.227 0 00.005-16.454zM4.54 11.83c2.096-.967 4.463-.725 7.106.728 2.643 1.453 5.012 1.695 7.104.73-.415 3.811-3.931 6.576-7.855 6.173-3.924-.403-6.77-3.82-6.355-7.63z"
|
|
61
56
|
}))));
|
|
62
57
|
};
|
|
63
|
-
|
|
58
|
+
Ripple.propTypes = {
|
|
64
59
|
iconClassName: _propTypes["default"].string,
|
|
65
60
|
spin: _propTypes["default"].bool,
|
|
66
61
|
color: _propTypes["default"].string,
|
|
67
62
|
testid: _propTypes["default"].string,
|
|
68
63
|
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
69
64
|
};
|
|
70
|
-
|
|
65
|
+
Ripple.defaultProps = {
|
|
71
66
|
spin: false,
|
|
72
67
|
color: 'currentColor',
|
|
73
68
|
size: '1em'
|
|
74
69
|
};
|
|
75
|
-
var _default = exports["default"] =
|
|
70
|
+
var _default = exports["default"] = Ripple;
|
package/dist/lib/index.js
CHANGED
|
@@ -2337,6 +2337,12 @@ Object.defineProperty(exports, "TaNumSm", {
|
|
|
2337
2337
|
return _numSm["default"];
|
|
2338
2338
|
}
|
|
2339
2339
|
});
|
|
2340
|
+
Object.defineProperty(exports, "TaOfficial", {
|
|
2341
|
+
enumerable: true,
|
|
2342
|
+
get: function get() {
|
|
2343
|
+
return _official["default"];
|
|
2344
|
+
}
|
|
2345
|
+
});
|
|
2340
2346
|
Object.defineProperty(exports, "TaOffline", {
|
|
2341
2347
|
enumerable: true,
|
|
2342
2348
|
get: function get() {
|
|
@@ -2745,10 +2751,10 @@ Object.defineProperty(exports, "TaRevert", {
|
|
|
2745
2751
|
return _revert["default"];
|
|
2746
2752
|
}
|
|
2747
2753
|
});
|
|
2748
|
-
Object.defineProperty(exports, "
|
|
2754
|
+
Object.defineProperty(exports, "TaRipple", {
|
|
2749
2755
|
enumerable: true,
|
|
2750
2756
|
get: function get() {
|
|
2751
|
-
return
|
|
2757
|
+
return _ripple["default"];
|
|
2752
2758
|
}
|
|
2753
2759
|
});
|
|
2754
2760
|
Object.defineProperty(exports, "TaRobot", {
|
|
@@ -3725,6 +3731,7 @@ var _chartWordcloud = _interopRequireDefault(require("./icons/chart- wordcloud")
|
|
|
3725
3731
|
var _chartTrophy = _interopRequireDefault(require("./icons/chart-trophy"));
|
|
3726
3732
|
var _progress = _interopRequireDefault(require("./icons/progress"));
|
|
3727
3733
|
var _dashboardPlan = _interopRequireDefault(require("./icons/dashboard-plan"));
|
|
3734
|
+
var _ripple = _interopRequireDefault(require("./icons/ripple"));
|
|
3728
3735
|
var _mEvent = _interopRequireDefault(require("./icons/m-event"));
|
|
3729
3736
|
var _mRetention = _interopRequireDefault(require("./icons/m-retention"));
|
|
3730
3737
|
var _mFunnel = _interopRequireDefault(require("./icons/m-funnel"));
|
|
@@ -3735,7 +3742,6 @@ var _mSql = _interopRequireDefault(require("./icons/m-sql"));
|
|
|
3735
3742
|
var _uTag = _interopRequireDefault(require("./icons/u-tag"));
|
|
3736
3743
|
var _mProperty = _interopRequireDefault(require("./icons/m-property"));
|
|
3737
3744
|
var _uGroup = _interopRequireDefault(require("./icons/u-group"));
|
|
3738
|
-
var _rippleCl = _interopRequireDefault(require("./icons/ripple-cl"));
|
|
3739
3745
|
var _circularProgressCl = _interopRequireDefault(require("./icons/circular-progress-cl"));
|
|
3740
3746
|
var _sSpace = _interopRequireDefault(require("./icons/s-space"));
|
|
3741
3747
|
var _project = _interopRequireDefault(require("./icons/project"));
|
|
@@ -3845,6 +3851,7 @@ var _arrowClose = _interopRequireDefault(require("./icons/arrow-close"));
|
|
|
3845
3851
|
var _translation = _interopRequireDefault(require("./icons/translation"));
|
|
3846
3852
|
var _manualVerification = _interopRequireDefault(require("./icons/manual-verification"));
|
|
3847
3853
|
var _heat = _interopRequireDefault(require("./icons/heat"));
|
|
3854
|
+
var _official = _interopRequireDefault(require("./icons/official"));
|
|
3848
3855
|
var _fontSize = _interopRequireDefault(require("./icons/font-size"));
|
|
3849
3856
|
var _fontBold = _interopRequireDefault(require("./icons/font-bold"));
|
|
3850
3857
|
var _fontItalic = _interopRequireDefault(require("./icons/font- italic"));
|