@tant/icons 1.4.0 → 1.4.2
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/date-mark-cl.js +1 -1
- package/dist/es/icons/e-campaign-cl.js +93 -0
- package/dist/es/icons/font- italic.js +62 -0
- package/dist/es/icons/font-bg-color.js +60 -0
- package/dist/es/icons/font-bold.js +60 -0
- package/dist/es/icons/font-color.js +60 -0
- package/dist/es/icons/font-size.js +62 -0
- package/dist/es/icons/image.js +62 -0
- package/dist/es/icons/list-ordered.js +62 -0
- package/dist/es/icons/list-unordered.js +62 -0
- package/dist/es/icons/logo-litmatch-cl.js +208 -0
- package/dist/es/icons/palette.js +62 -0
- package/dist/es/index.js +11 -0
- package/dist/index.d.ts +11 -0
- package/dist/lib/icons/date-mark-cl.js +1 -1
- package/dist/lib/icons/e-campaign-cl.js +101 -0
- package/dist/lib/icons/font- italic.js +70 -0
- package/dist/lib/icons/font-bg-color.js +68 -0
- package/dist/lib/icons/font-bold.js +68 -0
- package/dist/lib/icons/font-color.js +68 -0
- package/dist/lib/icons/font-size.js +70 -0
- package/dist/lib/icons/image.js +70 -0
- package/dist/lib/icons/list-ordered.js +70 -0
- package/dist/lib/icons/list-unordered.js +70 -0
- package/dist/lib/icons/logo-litmatch-cl.js +216 -0
- package/dist/lib/icons/palette.js +70 -0
- package/dist/lib/index.js +77 -0
- package/dist/tant-icons.cjs.js +1597 -854
- package/dist/tant-icons.esm.js +1587 -855
- package/package.json +1 -1
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
8
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
9
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
10
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import PropTypes from 'prop-types';
|
|
13
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
14
|
+
var LogoLitmatchCl = function LogoLitmatchCl(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
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
22
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
23
|
+
role: "img",
|
|
24
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
25
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
26
|
+
children: loadingCircleStyle
|
|
27
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
28
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
29
|
+
width: size,
|
|
30
|
+
height: size,
|
|
31
|
+
viewBox: "0 0 24 24",
|
|
32
|
+
fill: color
|
|
33
|
+
}, otherProps, {
|
|
34
|
+
className: iconClassName,
|
|
35
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
36
|
+
animationDuration: '1s',
|
|
37
|
+
animationIterationCount: 'infinite',
|
|
38
|
+
animationName: 'loadingCircle',
|
|
39
|
+
animationTimingFunction: 'linear'
|
|
40
|
+
} : {})
|
|
41
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
42
|
+
width: "24",
|
|
43
|
+
height: "24",
|
|
44
|
+
fill: "none",
|
|
45
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
46
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
47
|
+
width: "24",
|
|
48
|
+
height: "24",
|
|
49
|
+
fill: "#fff"
|
|
50
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
51
|
+
fillRule: "evenodd",
|
|
52
|
+
clipRule: "evenodd",
|
|
53
|
+
d: "M13.7 2.1a10.619 10.619 0 00-3.8-.05 2.846 2.846 0 01-1.4.4.226.226 0 00-.1.15 10.257 10.257 0 00-4.75 3.3 4.204 4.204 0 01-.7 1 5.255 5.255 0 00-.15.7.327.327 0 00-.35.2 9.749 9.749 0 00-.75 2.55c.346.402.38.835.1 1.3-.633.133-.917-.117-.85-.75.312-.744.578-1.51.8-2.3C3.432 4.433 6.515 2.116 11 1.65a12.868 12.868 0 012.6.05c.897.277 1.797.51 2.7.7.547.446 1.18.696 1.9.75.4.3.4.6 0 .9-.638.194-.972-.039-1-.7a10.97 10.97 0 00-3.5-1.25z",
|
|
54
|
+
fill: "#C6CCD1"
|
|
55
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
56
|
+
fillRule: "evenodd",
|
|
57
|
+
clipRule: "evenodd",
|
|
58
|
+
d: "M13.7 2.1c-1.235-.033-2.469 0-3.7.1a4.157 4.157 0 01-1.6.4.226.226 0 01.1-.15 2.846 2.846 0 001.4-.4 10.619 10.619 0 013.8.05z",
|
|
59
|
+
fill: "#E0E3E6"
|
|
60
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
61
|
+
fillRule: "evenodd",
|
|
62
|
+
clipRule: "evenodd",
|
|
63
|
+
d: "M13.2 4.3c-.405.081-.672-.069-.8-.45-.755-.126-.989.174-.7.9l.3.05.7-.3a4.974 4.974 0 011.5.4 9.352 9.352 0 01-1.3-.2c-.428.132-.86.182-1.3.15-.41-.925-.11-1.292.9-1.1a.439.439 0 01.1.35c.229.01.428.076.6.2z",
|
|
64
|
+
fill: "#E6E8EB"
|
|
65
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
66
|
+
fillRule: "evenodd",
|
|
67
|
+
clipRule: "evenodd",
|
|
68
|
+
d: "M12.3 8.1a6.125 6.125 0 00-1.3.1c.172-.13.389-.197.65-.2.236 0 .453.034.65.1z",
|
|
69
|
+
fill: "#A3B2C9"
|
|
70
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
71
|
+
fillRule: "evenodd",
|
|
72
|
+
clipRule: "evenodd",
|
|
73
|
+
d: "M12.3 8.1c.604.137 1.07.47 1.4 1-.007.153.06.253.2.3a3.664 3.664 0 010 1.7.573.573 0 01-.1.3.776.776 0 00-.4.5v.1c-.153-.007-.253.06-.3.2-.137.251-.104.485.1.7-.034.198.032.332.2.4v.3c.013.172.046.338.1.5-.024.24.043.44.2.6a.461.461 0 00.1.4v.6h-3.6v-.3c-.005-.24.028-.474.1-.7a.226.226 0 00.15-.1c.053-.474.136-.94.25-1.4a1.8 1.8 0 000-1l-.5-.4c.007-.153-.06-.253-.2-.3a.581.581 0 01-.2-.4 7.718 7.718 0 01-.1-1.3c.106-.312.24-.612.4-.9.2-.067.333-.2.4-.4a.473.473 0 00.4-.3h.1c.428-.08.862-.113 1.3-.1z",
|
|
74
|
+
fill: "#1A427D"
|
|
75
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
76
|
+
fillRule: "evenodd",
|
|
77
|
+
clipRule: "evenodd",
|
|
78
|
+
d: "M18.9 4.2a.31.31 0 01.3.1 14.135 14.135 0 012.75 3.8c.092.26.159.527.2.8.484.27.567.636.25 1.1-.278.145-.528.112-.75-.1a1.271 1.271 0 01.15-.95 9.38 9.38 0 00-2.85-4.35.843.843 0 01-.05-.4z",
|
|
79
|
+
fill: "#C7CDD2"
|
|
80
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
81
|
+
fillRule: "evenodd",
|
|
82
|
+
clipRule: "evenodd",
|
|
83
|
+
d: "M10.9 8.2a.473.473 0 01-.4.3.473.473 0 01.4-.3z",
|
|
84
|
+
fill: "#8EA0BD"
|
|
85
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
86
|
+
fillRule: "evenodd",
|
|
87
|
+
clipRule: "evenodd",
|
|
88
|
+
d: "M10.5 8.5c-.067.2-.2.333-.4.4.067-.2.2-.333.4-.4z",
|
|
89
|
+
fill: "#6780A7"
|
|
90
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
91
|
+
fillRule: "evenodd",
|
|
92
|
+
clipRule: "evenodd",
|
|
93
|
+
d: "M10.1 8.9c-.16.288-.294.588-.4.9h-.1c.041-.383.208-.683.5-.9z",
|
|
94
|
+
fill: "#9AA9C3"
|
|
95
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
96
|
+
fillRule: "evenodd",
|
|
97
|
+
clipRule: "evenodd",
|
|
98
|
+
d: "M13.7 9.1c.14.047.207.147.2.3-.14-.047-.207-.147-.2-.3z",
|
|
99
|
+
fill: "#8799B7"
|
|
100
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
101
|
+
fillRule: "evenodd",
|
|
102
|
+
clipRule: "evenodd",
|
|
103
|
+
d: "M9.6 9.8h.1c-.003.437.03.87.1 1.3a.226.226 0 01-.15-.1 7.244 7.244 0 01-.05-1.2z",
|
|
104
|
+
fill: "#5B79A3"
|
|
105
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
106
|
+
fillRule: "evenodd",
|
|
107
|
+
clipRule: "evenodd",
|
|
108
|
+
d: "M13.9 9.4a.226.226 0 01.15.1c.067.467.067.933 0 1.4a.33.33 0 01-.15.2 3.663 3.663 0 000-1.7z",
|
|
109
|
+
fill: "#95A6C1"
|
|
110
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
111
|
+
fillRule: "evenodd",
|
|
112
|
+
clipRule: "evenodd",
|
|
113
|
+
d: "M13.8 11.4a.764.764 0 01-.4.5.776.776 0 01.4-.5z",
|
|
114
|
+
fill: "#9DACC5"
|
|
115
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
116
|
+
fillRule: "evenodd",
|
|
117
|
+
clipRule: "evenodd",
|
|
118
|
+
d: "M10 11.5c.14.047.207.147.2.3-.14-.047-.207-.147-.2-.3z",
|
|
119
|
+
fill: "#8295B5"
|
|
120
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
121
|
+
fillRule: "evenodd",
|
|
122
|
+
clipRule: "evenodd",
|
|
123
|
+
d: "M10.7 12.2a1.8 1.8 0 010 1h-.1l.1-1z",
|
|
124
|
+
fill: "#B3BFD2"
|
|
125
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
126
|
+
fillRule: "evenodd",
|
|
127
|
+
clipRule: "evenodd",
|
|
128
|
+
d: "M13.4 12c-.12.429-.12.862 0 1.3-.168-.068-.234-.202-.2-.4a5.157 5.157 0 00-.1-.7c.047-.14.147-.207.3-.2z",
|
|
129
|
+
fill: "#CED5E1"
|
|
130
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
131
|
+
fillRule: "evenodd",
|
|
132
|
+
clipRule: "evenodd",
|
|
133
|
+
d: "M3.7 11.3c.008.868.042 1.734.1 2.6a5.973 5.973 0 01-.2-1.65c0-.335.034-.652.1-.95z",
|
|
134
|
+
fill: "#E2E4E7"
|
|
135
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
136
|
+
fillRule: "evenodd",
|
|
137
|
+
clipRule: "evenodd",
|
|
138
|
+
d: "M13.1 12.2c.05.23.083.464.1.7-.203-.216-.237-.449-.1-.7z",
|
|
139
|
+
fill: "#6982A8"
|
|
140
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
141
|
+
fillRule: "evenodd",
|
|
142
|
+
clipRule: "evenodd",
|
|
143
|
+
d: "M13.2 4.3c2.198.214 3.948 1.214 5.25 3a6.436 6.436 0 011.45 3.3 9.635 9.635 0 01-.5 4.9 10.32 10.32 0 01-4.2 4.25c-.544.131-1.078.281-1.6.45-.55.586-.983.503-1.3-.25.095-.329.312-.512.65-.55l.8.3a7.394 7.394 0 003.45-1.9c2.825-2.934 3.275-6.2 1.35-9.8a8.71 8.71 0 00-3.65-2.95 2.457 2.457 0 01-.7-.15 4.974 4.974 0 00-1.5-.4l-.7.3-.3-.05c-.289-.726-.055-1.026.7-.9.128.381.395.531.8.45z",
|
|
144
|
+
fill: "#C8CED3"
|
|
145
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
146
|
+
fillRule: "evenodd",
|
|
147
|
+
clipRule: "evenodd",
|
|
148
|
+
d: "M10.6 13.2h.1c-.114.46-.197.926-.25 1.4a.226.226 0 01-.15.1c.06-.51.16-1.01.3-1.5z",
|
|
149
|
+
fill: "#7A8FB1"
|
|
150
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
151
|
+
fillRule: "evenodd",
|
|
152
|
+
clipRule: "evenodd",
|
|
153
|
+
d: "M13.4 13.6c.171.114.238.28.2.5h-.1a2.069 2.069 0 01-.1-.5z",
|
|
154
|
+
fill: "#ADBACE"
|
|
155
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
156
|
+
fillRule: "evenodd",
|
|
157
|
+
clipRule: "evenodd",
|
|
158
|
+
d: "M13.5 14.1h.1c.065.194.098.393.1.6a.712.712 0 01-.2-.6z",
|
|
159
|
+
fill: "#5E79A2"
|
|
160
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
161
|
+
fillRule: "evenodd",
|
|
162
|
+
clipRule: "evenodd",
|
|
163
|
+
d: "M19.9 10.6a.554.554 0 01.15.3c.067 1 .067 2 0 3-.12.361-.22.728-.3 1.1a1.7 1.7 0 01-.35.5 9.635 9.635 0 00.5-4.9z",
|
|
164
|
+
fill: "#E7E9EB"
|
|
165
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
166
|
+
fillRule: "evenodd",
|
|
167
|
+
clipRule: "evenodd",
|
|
168
|
+
d: "M1.2 12.8h.4a10.247 10.247 0 001.55 5c.222.155.472.255.75.3.21.276.244.576.1.9-.287.261-.57.261-.85 0a3.421 3.421 0 00-.15-.8l-.75-1.1a22.25 22.25 0 01-1-3.1 7.244 7.244 0 01-.05-1.2z",
|
|
169
|
+
fill: "#CACFD4"
|
|
170
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
171
|
+
fillRule: "evenodd",
|
|
172
|
+
clipRule: "evenodd",
|
|
173
|
+
d: "M13.8 15.1a.686.686 0 01.1.5c-.58.133-1.196.2-1.85.2-.634 0-1.25-.033-1.85-.1h3.6v-.6z",
|
|
174
|
+
fill: "#2E558A"
|
|
175
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
176
|
+
fillRule: "evenodd",
|
|
177
|
+
clipRule: "evenodd",
|
|
178
|
+
d: "M10.2 15.4v.3c.599.067 1.216.1 1.85.1.654 0 1.27-.067 1.85-.2.09.07.124.17.1.3h-3.9a.686.686 0 01.1-.5z",
|
|
179
|
+
fill: "#6279A1"
|
|
180
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
181
|
+
fillRule: "evenodd",
|
|
182
|
+
clipRule: "evenodd",
|
|
183
|
+
d: "M13.7 14.7c.301.368.434.8.4 1.3-1.35.033-2.684 0-4-.1H14c.024-.13-.01-.23-.1-.3a.686.686 0 00-.1-.5.461.461 0 01-.1-.4z",
|
|
184
|
+
fill: "#B1BDD0"
|
|
185
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
186
|
+
fillRule: "evenodd",
|
|
187
|
+
clipRule: "evenodd",
|
|
188
|
+
d: "M3.8 13.9a45.24 45.24 0 01-.1-2.6 7.956 7.956 0 012.15-4.7c.574-.524 1.19-.99 1.85-1.4.495-.248.995-.482 1.5-.7.36-.104.727-.17 1.1-.2a.485.485 0 01-.1.4c-3.169.764-5.185 2.73-6.05 5.9-.332 1.827-.082 3.56.75 5.2a12.814 12.814 0 001.9 2.35 6.3 6.3 0 001.05.75c.902.5 1.868.8 2.9.9.216-.125.45-.225.7-.3.543.044.76.344.65.9a2.616 2.616 0 01-1.1.2v-.4c-2.476-.284-4.46-1.418-5.95-3.4a7.26 7.26 0 00-.9-1.7 19.013 19.013 0 00-.2-1.1.226.226 0 00-.15-.1z",
|
|
189
|
+
fill: "#C7CDD2"
|
|
190
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
191
|
+
fillRule: "evenodd",
|
|
192
|
+
clipRule: "evenodd",
|
|
193
|
+
d: "M22.2 11.5c.5-.127.767.057.8.55a.555.555 0 01-.25.55c-.017.57-.067 1.136-.15 1.7a20.537 20.537 0 00-.85 2.4l-1.7 2.6a28.576 28.576 0 01-3.25 2.45c-3.477 1.487-6.91 1.387-10.3-.3a3.84 3.84 0 00-1.8-.9c-.289-.335-.255-.634.1-.9.61-.128.91.122.9.75 1.516 1.21 3.249 1.86 5.2 1.95 3.59.296 6.572-.888 8.95-3.55l1.4-2c.245-.702.512-1.402.8-2.1.067-.57.15-1.136.25-1.7a2.277 2.277 0 00-.3-.95c.026-.2.093-.384.2-.55z",
|
|
194
|
+
fill: "#C8CDD2"
|
|
195
|
+
}))));
|
|
196
|
+
};
|
|
197
|
+
LogoLitmatchCl.propTypes = {
|
|
198
|
+
iconClassName: PropTypes.string,
|
|
199
|
+
spin: PropTypes.bool,
|
|
200
|
+
color: PropTypes.string,
|
|
201
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
202
|
+
};
|
|
203
|
+
LogoLitmatchCl.defaultProps = {
|
|
204
|
+
spin: false,
|
|
205
|
+
color: 'currentColor',
|
|
206
|
+
size: '1em'
|
|
207
|
+
};
|
|
208
|
+
export default LogoLitmatchCl;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
8
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
9
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
10
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import PropTypes from 'prop-types';
|
|
13
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
14
|
+
var Palette = function Palette(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
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
22
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
23
|
+
role: "img",
|
|
24
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
25
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
26
|
+
children: loadingCircleStyle
|
|
27
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
28
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
29
|
+
width: size,
|
|
30
|
+
height: size,
|
|
31
|
+
viewBox: "0 0 24 24",
|
|
32
|
+
fill: color
|
|
33
|
+
}, otherProps, {
|
|
34
|
+
className: iconClassName,
|
|
35
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
36
|
+
animationDuration: '1s',
|
|
37
|
+
animationIterationCount: 'infinite',
|
|
38
|
+
animationName: 'loadingCircle',
|
|
39
|
+
animationTimingFunction: 'linear'
|
|
40
|
+
} : {})
|
|
41
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
42
|
+
width: "24",
|
|
43
|
+
height: "24",
|
|
44
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
45
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
46
|
+
fillRule: "evenodd",
|
|
47
|
+
clipRule: "evenodd",
|
|
48
|
+
d: "M19.793 12.964c.067-.313.102-.635.102-.964 0-3.005-3.181-6-7.895-6-4.714 0-7.895 2.995-7.895 6S7.286 18 12 18c.543 0 1.071-.042 1.58-.121.077-2.97 2.946-4.879 5.788-4.879.145 0 .278-.01.39-.03l.012-.002.023-.004zm1.955.827c-.261.915-1.382 1.209-2.38 1.209-2.034 0-3.684 1.343-3.684 3 0 .722-.274 1.548-1.015 1.712C13.82 19.9 12.924 20 12 20c-5.523 0-10-3.582-10-8s4.477-8 10-8 10 3.582 10 8a6.5 6.5 0 01-.252 1.791zM9.368 15c0 .552-.47 1-1.052 1-.582 0-1.053-.448-1.053-1s.471-1 1.053-1c.581 0 1.052.448 1.052 1zm-2.105-3c.582 0 1.053-.448 1.053-1s-.471-1-1.053-1c-.581 0-1.052.448-1.052 1s.47 1 1.052 1zm3.158-4c0 .552-.471 1-1.053 1-.58 0-1.052-.448-1.052-1s.471-1 1.052-1c.582 0 1.053.448 1.053 1zm3.158 1c.581 0 1.053-.448 1.053-1s-.472-1-1.053-1-1.053.448-1.053 1 .472 1 1.053 1z"
|
|
49
|
+
}))));
|
|
50
|
+
};
|
|
51
|
+
Palette.propTypes = {
|
|
52
|
+
iconClassName: PropTypes.string,
|
|
53
|
+
spin: PropTypes.bool,
|
|
54
|
+
color: PropTypes.string,
|
|
55
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
56
|
+
};
|
|
57
|
+
Palette.defaultProps = {
|
|
58
|
+
spin: false,
|
|
59
|
+
color: 'currentColor',
|
|
60
|
+
size: '1em'
|
|
61
|
+
};
|
|
62
|
+
export default Palette;
|
package/dist/es/index.js
CHANGED
|
@@ -165,6 +165,7 @@ export { default as TaLogoFutuCl } from './icons/logo-futu-cl';
|
|
|
165
165
|
export { default as TaLogoHappyelementCl } from './icons/logo-happyelement-cl';
|
|
166
166
|
export { default as TaLogoWepieCl } from './icons/logo-wepie-cl';
|
|
167
167
|
export { default as TaLogoIggCl } from './icons/logo-igg-cl';
|
|
168
|
+
export { default as TaLogoLitmatchCl } from './icons/logo-litmatch-cl';
|
|
168
169
|
export { default as TaDashboardCl } from './icons/dashboard-cl';
|
|
169
170
|
export { default as TaReportCl } from './icons/report-cl';
|
|
170
171
|
export { default as TaUserTagCl } from './icons/user-tag-cl';
|
|
@@ -188,6 +189,7 @@ export { default as TaUSearchCl } from './icons/u-search-cl';
|
|
|
188
189
|
export { default as TaETaskCl } from './icons/e-task-cl';
|
|
189
190
|
export { default as TaEChartsCl } from './icons/e-charts-cl';
|
|
190
191
|
export { default as TaESettingCl } from './icons/e-setting-cl';
|
|
192
|
+
export { default as TaECampaignCl } from './icons/e-campaign-cl';
|
|
191
193
|
export { default as TaDManageCl } from './icons/d-manage-cl';
|
|
192
194
|
export { default as TaDTrackingCl } from './icons/d-tracking-cl';
|
|
193
195
|
export { default as TaDIntegrationCl } from './icons/d-integration-cl';
|
|
@@ -334,6 +336,15 @@ export { default as TaSpaceLine } from './icons/space-line';
|
|
|
334
336
|
export { default as TaSpaceOpenLine } from './icons/space-open-line';
|
|
335
337
|
export { default as TaPageLine } from './icons/page-line';
|
|
336
338
|
export { default as TaPageOpenCl } from './icons/page-open-cl';
|
|
339
|
+
export { default as TaFontSize } from './icons/font-size';
|
|
340
|
+
export { default as TaFontBold } from './icons/font-bold';
|
|
341
|
+
export { default as TaFontItalic } from './icons/font- italic';
|
|
342
|
+
export { default as TaFontColor } from './icons/font-color';
|
|
343
|
+
export { default as TaFontBgColor } from './icons/font-bg-color';
|
|
344
|
+
export { default as TaListOrdered } from './icons/list-ordered';
|
|
345
|
+
export { default as TaListUnordered } from './icons/list-unordered';
|
|
346
|
+
export { default as TaImage } from './icons/image';
|
|
347
|
+
export { default as TaPalette } from './icons/palette';
|
|
337
348
|
export { default as TaEventSm } from './icons/event-sm';
|
|
338
349
|
export { default as TaEPropertySm } from './icons/e-property-sm';
|
|
339
350
|
export { default as TaIndicatorSm } from './icons/indicator-sm';
|
package/dist/index.d.ts
CHANGED
|
@@ -176,6 +176,7 @@ export const TaLogoFutuCl: Icon;
|
|
|
176
176
|
export const TaLogoHappyelementCl: Icon;
|
|
177
177
|
export const TaLogoWepieCl: Icon;
|
|
178
178
|
export const TaLogoIggCl: Icon;
|
|
179
|
+
export const TaLogoLitmatchCl: Icon;
|
|
179
180
|
export const TaDashboardCl: Icon;
|
|
180
181
|
export const TaReportCl: Icon;
|
|
181
182
|
export const TaUserTagCl: Icon;
|
|
@@ -199,6 +200,7 @@ export const TaUSearchCl: Icon;
|
|
|
199
200
|
export const TaETaskCl: Icon;
|
|
200
201
|
export const TaEChartsCl: Icon;
|
|
201
202
|
export const TaESettingCl: Icon;
|
|
203
|
+
export const TaECampaignCl: Icon;
|
|
202
204
|
export const TaDManageCl: Icon;
|
|
203
205
|
export const TaDTrackingCl: Icon;
|
|
204
206
|
export const TaDIntegrationCl: Icon;
|
|
@@ -345,6 +347,15 @@ export const TaSpaceLine: Icon;
|
|
|
345
347
|
export const TaSpaceOpenLine: Icon;
|
|
346
348
|
export const TaPageLine: Icon;
|
|
347
349
|
export const TaPageOpenCl: Icon;
|
|
350
|
+
export const TaFontSize: Icon;
|
|
351
|
+
export const TaFontBold: Icon;
|
|
352
|
+
export const TaFontItalic: Icon;
|
|
353
|
+
export const TaFontColor: Icon;
|
|
354
|
+
export const TaFontBgColor: Icon;
|
|
355
|
+
export const TaListOrdered: Icon;
|
|
356
|
+
export const TaListUnordered: Icon;
|
|
357
|
+
export const TaImage: Icon;
|
|
358
|
+
export const TaPalette: Icon;
|
|
348
359
|
export const TaEventSm: Icon;
|
|
349
360
|
export const TaEPropertySm: Icon;
|
|
350
361
|
export const TaIndicatorSm: Icon;
|
|
@@ -60,7 +60,7 @@ var DateMarkCl = function DateMarkCl(props) {
|
|
|
60
60
|
mixBlendMode: 'multiply'
|
|
61
61
|
}
|
|
62
62
|
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
63
|
-
d: "M23.442 14.434a.659.659 0 00-.
|
|
63
|
+
d: "M23.442 14.434a.659.659 0 00-.199-.3.638.638 0 00-.324-.148l-3.739-.658-1.691-3.353a.654.654 0 00-1.168 0l-1.673 3.354-3.739.676a.639.639 0 00-.34.14.658.658 0 00-.223.666.64.64 0 00.18.309l2.73 2.496-.702 3.62a.66.66 0 00.262.64.71.71 0 00.691.047l3.393-1.658 3.383 1.658a.653.653 0 00.953-.686l-.682-3.62 2.701-2.516a.64.64 0 00.187-.667z",
|
|
64
64
|
fill: "#1673F6"
|
|
65
65
|
})))));
|
|
66
66
|
};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
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"];
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
13
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
14
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
15
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
16
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
17
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
18
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
19
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var ECampaignCl = function ECampaignCl(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
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
29
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
30
|
+
role: "img",
|
|
31
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
32
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
33
|
+
children: loadingCircleStyle
|
|
34
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
35
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
36
|
+
width: size,
|
|
37
|
+
height: size,
|
|
38
|
+
viewBox: "0 0 24 24",
|
|
39
|
+
fill: color
|
|
40
|
+
}, otherProps, {
|
|
41
|
+
className: iconClassName,
|
|
42
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
43
|
+
animationDuration: '1s',
|
|
44
|
+
animationIterationCount: 'infinite',
|
|
45
|
+
animationName: 'loadingCircle',
|
|
46
|
+
animationTimingFunction: 'linear'
|
|
47
|
+
} : {})
|
|
48
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", {
|
|
49
|
+
width: "24",
|
|
50
|
+
height: "24",
|
|
51
|
+
fill: "none",
|
|
52
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
53
|
+
}, /*#__PURE__*/_react["default"].createElement("g", {
|
|
54
|
+
clipPath: "url(#clip0_7092_721)"
|
|
55
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
56
|
+
d: "M4 9h7v11H6a2 2 0 01-2-2V9z",
|
|
57
|
+
fill: "#B3CFF8"
|
|
58
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
59
|
+
d: "M20 9h-7v11h5a2 2 0 002-2V9z",
|
|
60
|
+
fill: "#B3CFF8"
|
|
61
|
+
}), /*#__PURE__*/_react["default"].createElement("g", {
|
|
62
|
+
style: {
|
|
63
|
+
mixBlendMode: 'multiply'
|
|
64
|
+
}
|
|
65
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
66
|
+
d: "M2 8a1 1 0 011-1h8v4H3a1 1 0 01-1-1V8z",
|
|
67
|
+
fill: "#1E76F0"
|
|
68
|
+
})), /*#__PURE__*/_react["default"].createElement("g", {
|
|
69
|
+
style: {
|
|
70
|
+
mixBlendMode: 'multiply'
|
|
71
|
+
}
|
|
72
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
73
|
+
d: "M22 8a1 1 0 00-1-1h-8v4h8a1 1 0 001-1V8z",
|
|
74
|
+
fill: "#1E76F0"
|
|
75
|
+
})), /*#__PURE__*/_react["default"].createElement("path", {
|
|
76
|
+
d: "M7.277 2.518l3.849 2.566a.5.5 0 01-.277.916H7a.5.5 0 01-.5-.5V2.934a.5.5 0 01.777-.416z",
|
|
77
|
+
fill: "#B3CFF8"
|
|
78
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
79
|
+
d: "M16.723 2.518l-3.849 2.566a.5.5 0 00.277.916H17a.5.5 0 00.5-.5V2.934a.5.5 0 00-.777-.416z",
|
|
80
|
+
fill: "#B3CFF8"
|
|
81
|
+
})), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("clipPath", {
|
|
82
|
+
id: "clip0_7092_721"
|
|
83
|
+
}, /*#__PURE__*/_react["default"].createElement("rect", {
|
|
84
|
+
width: "24",
|
|
85
|
+
height: "24",
|
|
86
|
+
fill: "#fff"
|
|
87
|
+
}))))));
|
|
88
|
+
};
|
|
89
|
+
ECampaignCl.propTypes = {
|
|
90
|
+
iconClassName: _propTypes["default"].string,
|
|
91
|
+
spin: _propTypes["default"].bool,
|
|
92
|
+
color: _propTypes["default"].string,
|
|
93
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
94
|
+
};
|
|
95
|
+
ECampaignCl.defaultProps = {
|
|
96
|
+
spin: false,
|
|
97
|
+
color: 'currentColor',
|
|
98
|
+
size: '1em'
|
|
99
|
+
};
|
|
100
|
+
var _default = ECampaignCl;
|
|
101
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
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"];
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
13
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
14
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
15
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
16
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
17
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
18
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
19
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var FontItalic = function FontItalic(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
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
29
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
30
|
+
role: "img",
|
|
31
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
32
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
33
|
+
children: loadingCircleStyle
|
|
34
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
35
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
36
|
+
width: size,
|
|
37
|
+
height: size,
|
|
38
|
+
viewBox: "0 0 24 24",
|
|
39
|
+
fill: color
|
|
40
|
+
}, otherProps, {
|
|
41
|
+
className: iconClassName,
|
|
42
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
43
|
+
animationDuration: '1s',
|
|
44
|
+
animationIterationCount: 'infinite',
|
|
45
|
+
animationName: 'loadingCircle',
|
|
46
|
+
animationTimingFunction: 'linear'
|
|
47
|
+
} : {})
|
|
48
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", {
|
|
49
|
+
width: "24",
|
|
50
|
+
height: "24",
|
|
51
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
52
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
53
|
+
fillRule: "evenodd",
|
|
54
|
+
clipRule: "evenodd",
|
|
55
|
+
d: "M11 5h8l-1 2h-3l-4.546 10H14l-1 2H5l1-2h2.455L13 7h-3l1-2z"
|
|
56
|
+
}))));
|
|
57
|
+
};
|
|
58
|
+
FontItalic.propTypes = {
|
|
59
|
+
iconClassName: _propTypes["default"].string,
|
|
60
|
+
spin: _propTypes["default"].bool,
|
|
61
|
+
color: _propTypes["default"].string,
|
|
62
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
63
|
+
};
|
|
64
|
+
FontItalic.defaultProps = {
|
|
65
|
+
spin: false,
|
|
66
|
+
color: 'currentColor',
|
|
67
|
+
size: '1em'
|
|
68
|
+
};
|
|
69
|
+
var _default = FontItalic;
|
|
70
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
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"];
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
13
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
14
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
15
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
16
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
17
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
18
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
19
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var FontBgColor = function FontBgColor(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
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
29
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
30
|
+
role: "img",
|
|
31
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
32
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
33
|
+
children: loadingCircleStyle
|
|
34
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
35
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
36
|
+
width: size,
|
|
37
|
+
height: size,
|
|
38
|
+
viewBox: "0 0 24 24",
|
|
39
|
+
fill: color
|
|
40
|
+
}, otherProps, {
|
|
41
|
+
className: iconClassName,
|
|
42
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
43
|
+
animationDuration: '1s',
|
|
44
|
+
animationIterationCount: 'infinite',
|
|
45
|
+
animationName: 'loadingCircle',
|
|
46
|
+
animationTimingFunction: 'linear'
|
|
47
|
+
} : {})
|
|
48
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", {
|
|
49
|
+
width: "24",
|
|
50
|
+
height: "24",
|
|
51
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
52
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
53
|
+
d: "M9.918 12.24l7.748-5.39 1.179 1.297-6.094 7.207-2.833-3.113zm-2.33.412l4.535 4.983a.934.934 0 001.395-.09l7.451-8.813a.908.908 0 00.022-1.199l-2.513-2.761a.908.908 0 00-1.195-.091l-9.474 6.59a.933.933 0 00-.222 1.381zm-4.794 5.876l5.617.972 1.48-1.346-3.03-3.328-4.067 3.702z"
|
|
54
|
+
}))));
|
|
55
|
+
};
|
|
56
|
+
FontBgColor.propTypes = {
|
|
57
|
+
iconClassName: _propTypes["default"].string,
|
|
58
|
+
spin: _propTypes["default"].bool,
|
|
59
|
+
color: _propTypes["default"].string,
|
|
60
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
61
|
+
};
|
|
62
|
+
FontBgColor.defaultProps = {
|
|
63
|
+
spin: false,
|
|
64
|
+
color: 'currentColor',
|
|
65
|
+
size: '1em'
|
|
66
|
+
};
|
|
67
|
+
var _default = FontBgColor;
|
|
68
|
+
exports["default"] = _default;
|