@tant/icons 1.4.1 → 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.
@@ -0,0 +1,216 @@
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 LogoLitmatchCl = function LogoLitmatchCl(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("rect", {
54
+ width: "24",
55
+ height: "24",
56
+ fill: "#fff"
57
+ }), /*#__PURE__*/_react["default"].createElement("path", {
58
+ fillRule: "evenodd",
59
+ clipRule: "evenodd",
60
+ 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",
61
+ fill: "#C6CCD1"
62
+ }), /*#__PURE__*/_react["default"].createElement("path", {
63
+ fillRule: "evenodd",
64
+ clipRule: "evenodd",
65
+ 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",
66
+ fill: "#E0E3E6"
67
+ }), /*#__PURE__*/_react["default"].createElement("path", {
68
+ fillRule: "evenodd",
69
+ clipRule: "evenodd",
70
+ 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",
71
+ fill: "#E6E8EB"
72
+ }), /*#__PURE__*/_react["default"].createElement("path", {
73
+ fillRule: "evenodd",
74
+ clipRule: "evenodd",
75
+ 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",
76
+ fill: "#A3B2C9"
77
+ }), /*#__PURE__*/_react["default"].createElement("path", {
78
+ fillRule: "evenodd",
79
+ clipRule: "evenodd",
80
+ 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",
81
+ fill: "#1A427D"
82
+ }), /*#__PURE__*/_react["default"].createElement("path", {
83
+ fillRule: "evenodd",
84
+ clipRule: "evenodd",
85
+ 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",
86
+ fill: "#C7CDD2"
87
+ }), /*#__PURE__*/_react["default"].createElement("path", {
88
+ fillRule: "evenodd",
89
+ clipRule: "evenodd",
90
+ d: "M10.9 8.2a.473.473 0 01-.4.3.473.473 0 01.4-.3z",
91
+ fill: "#8EA0BD"
92
+ }), /*#__PURE__*/_react["default"].createElement("path", {
93
+ fillRule: "evenodd",
94
+ clipRule: "evenodd",
95
+ d: "M10.5 8.5c-.067.2-.2.333-.4.4.067-.2.2-.333.4-.4z",
96
+ fill: "#6780A7"
97
+ }), /*#__PURE__*/_react["default"].createElement("path", {
98
+ fillRule: "evenodd",
99
+ clipRule: "evenodd",
100
+ d: "M10.1 8.9c-.16.288-.294.588-.4.9h-.1c.041-.383.208-.683.5-.9z",
101
+ fill: "#9AA9C3"
102
+ }), /*#__PURE__*/_react["default"].createElement("path", {
103
+ fillRule: "evenodd",
104
+ clipRule: "evenodd",
105
+ d: "M13.7 9.1c.14.047.207.147.2.3-.14-.047-.207-.147-.2-.3z",
106
+ fill: "#8799B7"
107
+ }), /*#__PURE__*/_react["default"].createElement("path", {
108
+ fillRule: "evenodd",
109
+ clipRule: "evenodd",
110
+ 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",
111
+ fill: "#5B79A3"
112
+ }), /*#__PURE__*/_react["default"].createElement("path", {
113
+ fillRule: "evenodd",
114
+ clipRule: "evenodd",
115
+ 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",
116
+ fill: "#95A6C1"
117
+ }), /*#__PURE__*/_react["default"].createElement("path", {
118
+ fillRule: "evenodd",
119
+ clipRule: "evenodd",
120
+ d: "M13.8 11.4a.764.764 0 01-.4.5.776.776 0 01.4-.5z",
121
+ fill: "#9DACC5"
122
+ }), /*#__PURE__*/_react["default"].createElement("path", {
123
+ fillRule: "evenodd",
124
+ clipRule: "evenodd",
125
+ d: "M10 11.5c.14.047.207.147.2.3-.14-.047-.207-.147-.2-.3z",
126
+ fill: "#8295B5"
127
+ }), /*#__PURE__*/_react["default"].createElement("path", {
128
+ fillRule: "evenodd",
129
+ clipRule: "evenodd",
130
+ d: "M10.7 12.2a1.8 1.8 0 010 1h-.1l.1-1z",
131
+ fill: "#B3BFD2"
132
+ }), /*#__PURE__*/_react["default"].createElement("path", {
133
+ fillRule: "evenodd",
134
+ clipRule: "evenodd",
135
+ 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",
136
+ fill: "#CED5E1"
137
+ }), /*#__PURE__*/_react["default"].createElement("path", {
138
+ fillRule: "evenodd",
139
+ clipRule: "evenodd",
140
+ 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",
141
+ fill: "#E2E4E7"
142
+ }), /*#__PURE__*/_react["default"].createElement("path", {
143
+ fillRule: "evenodd",
144
+ clipRule: "evenodd",
145
+ d: "M13.1 12.2c.05.23.083.464.1.7-.203-.216-.237-.449-.1-.7z",
146
+ fill: "#6982A8"
147
+ }), /*#__PURE__*/_react["default"].createElement("path", {
148
+ fillRule: "evenodd",
149
+ clipRule: "evenodd",
150
+ 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",
151
+ fill: "#C8CED3"
152
+ }), /*#__PURE__*/_react["default"].createElement("path", {
153
+ fillRule: "evenodd",
154
+ clipRule: "evenodd",
155
+ 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",
156
+ fill: "#7A8FB1"
157
+ }), /*#__PURE__*/_react["default"].createElement("path", {
158
+ fillRule: "evenodd",
159
+ clipRule: "evenodd",
160
+ d: "M13.4 13.6c.171.114.238.28.2.5h-.1a2.069 2.069 0 01-.1-.5z",
161
+ fill: "#ADBACE"
162
+ }), /*#__PURE__*/_react["default"].createElement("path", {
163
+ fillRule: "evenodd",
164
+ clipRule: "evenodd",
165
+ d: "M13.5 14.1h.1c.065.194.098.393.1.6a.712.712 0 01-.2-.6z",
166
+ fill: "#5E79A2"
167
+ }), /*#__PURE__*/_react["default"].createElement("path", {
168
+ fillRule: "evenodd",
169
+ clipRule: "evenodd",
170
+ 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",
171
+ fill: "#E7E9EB"
172
+ }), /*#__PURE__*/_react["default"].createElement("path", {
173
+ fillRule: "evenodd",
174
+ clipRule: "evenodd",
175
+ 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",
176
+ fill: "#CACFD4"
177
+ }), /*#__PURE__*/_react["default"].createElement("path", {
178
+ fillRule: "evenodd",
179
+ clipRule: "evenodd",
180
+ 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",
181
+ fill: "#2E558A"
182
+ }), /*#__PURE__*/_react["default"].createElement("path", {
183
+ fillRule: "evenodd",
184
+ clipRule: "evenodd",
185
+ 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",
186
+ fill: "#6279A1"
187
+ }), /*#__PURE__*/_react["default"].createElement("path", {
188
+ fillRule: "evenodd",
189
+ clipRule: "evenodd",
190
+ 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",
191
+ fill: "#B1BDD0"
192
+ }), /*#__PURE__*/_react["default"].createElement("path", {
193
+ fillRule: "evenodd",
194
+ clipRule: "evenodd",
195
+ 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",
196
+ fill: "#C7CDD2"
197
+ }), /*#__PURE__*/_react["default"].createElement("path", {
198
+ fillRule: "evenodd",
199
+ clipRule: "evenodd",
200
+ 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",
201
+ fill: "#C8CDD2"
202
+ }))));
203
+ };
204
+ LogoLitmatchCl.propTypes = {
205
+ iconClassName: _propTypes["default"].string,
206
+ spin: _propTypes["default"].bool,
207
+ color: _propTypes["default"].string,
208
+ size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
209
+ };
210
+ LogoLitmatchCl.defaultProps = {
211
+ spin: false,
212
+ color: 'currentColor',
213
+ size: '1em'
214
+ };
215
+ var _default = LogoLitmatchCl;
216
+ exports["default"] = _default;
@@ -52,7 +52,7 @@ var Palette = function Palette(props) {
52
52
  }, /*#__PURE__*/_react["default"].createElement("path", {
53
53
  fillRule: "evenodd",
54
54
  clipRule: "evenodd",
55
- d: "M18.903 12.964c.064-.313.097-.635.097-.964 0-3.005-3.022-6-7.5-6S4 8.995 4 12s3.022 6 7.5 6a9.29 9.29 0 001.502-.121C13.073 14.909 15.799 13 18.5 13c.137 0 .263-.01.37-.03l.011-.002.022-.004zm1.858.827C20.513 14.706 19.448 15 18.5 15c-1.933 0-3.5 1.343-3.5 3 0 .722-.26 1.548-.964 1.712A11.19 11.19 0 0111.5 20C6.253 20 2 16.418 2 12s4.253-8 9.5-8S21 7.582 21 12c0 .616-.083 1.215-.239 1.791zM9 15a1 1 0 11-2 0 1 1 0 012 0zm-2-3a1 1 0 100-2 1 1 0 000 2zm3-4a1 1 0 11-2 0 1 1 0 012 0zm3 1a1 1 0 100-2 1 1 0 000 2z"
55
+ 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"
56
56
  }))));
57
57
  };
58
58
  Palette.propTypes = {
package/dist/lib/index.js CHANGED
@@ -1323,6 +1323,12 @@ Object.defineProperty(exports, "TaLogoKingCl", {
1323
1323
  return _logoKingCl["default"];
1324
1324
  }
1325
1325
  });
1326
+ Object.defineProperty(exports, "TaLogoLitmatchCl", {
1327
+ enumerable: true,
1328
+ get: function get() {
1329
+ return _logoLitmatchCl["default"];
1330
+ }
1331
+ });
1326
1332
  Object.defineProperty(exports, "TaLogoWechatCl", {
1327
1333
  enumerable: true,
1328
1334
  get: function get() {
@@ -2516,6 +2522,7 @@ var _logoFutuCl = _interopRequireDefault(require("./icons/logo-futu-cl"));
2516
2522
  var _logoHappyelementCl = _interopRequireDefault(require("./icons/logo-happyelement-cl"));
2517
2523
  var _logoWepieCl = _interopRequireDefault(require("./icons/logo-wepie-cl"));
2518
2524
  var _logoIggCl = _interopRequireDefault(require("./icons/logo-igg-cl"));
2525
+ var _logoLitmatchCl = _interopRequireDefault(require("./icons/logo-litmatch-cl"));
2519
2526
  var _dashboardCl = _interopRequireDefault(require("./icons/dashboard-cl"));
2520
2527
  var _reportCl = _interopRequireDefault(require("./icons/report-cl"));
2521
2528
  var _userTagCl = _interopRequireDefault(require("./icons/user-tag-cl"));