@tant/icons 1.3.23 → 1.3.24
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/logo-igg-cl.js +72 -0
- package/dist/es/index.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/lib/icons/logo-igg-cl.js +80 -0
- package/dist/lib/index.js +7 -0
- package/dist/tant-icons.cjs.js +863 -801
- package/dist/tant-icons.esm.js +863 -802
- package/package.json +2 -2
|
@@ -0,0 +1,72 @@
|
|
|
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 LogoIggCl = function LogoIggCl(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: "25",
|
|
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
|
+
d: "M4 16.121V5.411L12.5 2 21 5.41v10.711c0 .15-.08.494-.327.977a6.28 6.28 0 01-.968 1.37c-1.093 1.049-2.191 1.757-3.428 2.45-.398.222-.821.448-1.266.686-.777.416-1.62.867-2.511 1.396-.89-.529-1.734-.98-2.511-1.396-.445-.238-.868-.464-1.266-.687-1.237-.692-2.335-1.4-3.428-2.449a6.282 6.282 0 01-.968-1.37C4.08 16.615 4 16.272 4 16.12z",
|
|
52
|
+
stroke: "#EBAD39",
|
|
53
|
+
strokeWidth: "2"
|
|
54
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
55
|
+
fillRule: "evenodd",
|
|
56
|
+
clipRule: "evenodd",
|
|
57
|
+
d: "M16 7.26s-2.873-.705-5.175.207c-2.353.912-2.857 3.668-2.823 4.6.016.622.184 4.353 3.747 4.933h3.881l.32-5.326h-3.075l.134 1.492h.672v2.404s-2.084-.974-2.084-4.207V9.25s0-.704.706-.704h1.378v1.533h1.933L16 7.26z",
|
|
58
|
+
fill: "#EBAD39"
|
|
59
|
+
}))));
|
|
60
|
+
};
|
|
61
|
+
LogoIggCl.propTypes = {
|
|
62
|
+
iconClassName: PropTypes.string,
|
|
63
|
+
spin: PropTypes.bool,
|
|
64
|
+
color: PropTypes.string,
|
|
65
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
66
|
+
};
|
|
67
|
+
LogoIggCl.defaultProps = {
|
|
68
|
+
spin: false,
|
|
69
|
+
color: 'currentColor',
|
|
70
|
+
size: '1em'
|
|
71
|
+
};
|
|
72
|
+
export default LogoIggCl;
|
package/dist/es/index.js
CHANGED
|
@@ -159,6 +159,7 @@ export { default as TaLogoXiaomiCl } from './icons/logo-xiaomi -cl';
|
|
|
159
159
|
export { default as TaLogoFutuCl } from './icons/logo-futu-cl';
|
|
160
160
|
export { default as TaLogoHappyelementCl } from './icons/logo-happyelement-cl';
|
|
161
161
|
export { default as TaLogoWepieCl } from './icons/logo-wepie-cl';
|
|
162
|
+
export { default as TaLogoIggCl } from './icons/logo-igg-cl';
|
|
162
163
|
export { default as TaDashboardCl } from './icons/dashboard-cl';
|
|
163
164
|
export { default as TaReportCl } from './icons/report-cl';
|
|
164
165
|
export { default as TaUserTagCl } from './icons/user-tag-cl';
|
package/dist/index.d.ts
CHANGED
|
@@ -170,6 +170,7 @@ export const TaLogoXiaomiCl: Icon;
|
|
|
170
170
|
export const TaLogoFutuCl: Icon;
|
|
171
171
|
export const TaLogoHappyelementCl: Icon;
|
|
172
172
|
export const TaLogoWepieCl: Icon;
|
|
173
|
+
export const TaLogoIggCl: Icon;
|
|
173
174
|
export const TaDashboardCl: Icon;
|
|
174
175
|
export const TaReportCl: Icon;
|
|
175
176
|
export const TaUserTagCl: Icon;
|
|
@@ -0,0 +1,80 @@
|
|
|
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 LogoIggCl = function LogoIggCl(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: "25",
|
|
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
|
+
d: "M4 16.121V5.411L12.5 2 21 5.41v10.711c0 .15-.08.494-.327.977a6.28 6.28 0 01-.968 1.37c-1.093 1.049-2.191 1.757-3.428 2.45-.398.222-.821.448-1.266.686-.777.416-1.62.867-2.511 1.396-.89-.529-1.734-.98-2.511-1.396-.445-.238-.868-.464-1.266-.687-1.237-.692-2.335-1.4-3.428-2.449a6.282 6.282 0 01-.968-1.37C4.08 16.615 4 16.272 4 16.12z",
|
|
59
|
+
stroke: "#EBAD39",
|
|
60
|
+
strokeWidth: "2"
|
|
61
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
62
|
+
fillRule: "evenodd",
|
|
63
|
+
clipRule: "evenodd",
|
|
64
|
+
d: "M16 7.26s-2.873-.705-5.175.207c-2.353.912-2.857 3.668-2.823 4.6.016.622.184 4.353 3.747 4.933h3.881l.32-5.326h-3.075l.134 1.492h.672v2.404s-2.084-.974-2.084-4.207V9.25s0-.704.706-.704h1.378v1.533h1.933L16 7.26z",
|
|
65
|
+
fill: "#EBAD39"
|
|
66
|
+
}))));
|
|
67
|
+
};
|
|
68
|
+
LogoIggCl.propTypes = {
|
|
69
|
+
iconClassName: _propTypes["default"].string,
|
|
70
|
+
spin: _propTypes["default"].bool,
|
|
71
|
+
color: _propTypes["default"].string,
|
|
72
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
73
|
+
};
|
|
74
|
+
LogoIggCl.defaultProps = {
|
|
75
|
+
spin: false,
|
|
76
|
+
color: 'currentColor',
|
|
77
|
+
size: '1em'
|
|
78
|
+
};
|
|
79
|
+
var _default = LogoIggCl;
|
|
80
|
+
exports["default"] = _default;
|
package/dist/lib/index.js
CHANGED
|
@@ -1203,6 +1203,12 @@ Object.defineProperty(exports, "TaLogoHappyelementCl", {
|
|
|
1203
1203
|
return _logoHappyelementCl["default"];
|
|
1204
1204
|
}
|
|
1205
1205
|
});
|
|
1206
|
+
Object.defineProperty(exports, "TaLogoIggCl", {
|
|
1207
|
+
enumerable: true,
|
|
1208
|
+
get: function get() {
|
|
1209
|
+
return _logoIggCl["default"];
|
|
1210
|
+
}
|
|
1211
|
+
});
|
|
1206
1212
|
Object.defineProperty(exports, "TaLogoKingCl", {
|
|
1207
1213
|
enumerable: true,
|
|
1208
1214
|
get: function get() {
|
|
@@ -2336,6 +2342,7 @@ var _logoXiaomiCl = _interopRequireDefault(require("./icons/logo-xiaomi -cl"));
|
|
|
2336
2342
|
var _logoFutuCl = _interopRequireDefault(require("./icons/logo-futu-cl"));
|
|
2337
2343
|
var _logoHappyelementCl = _interopRequireDefault(require("./icons/logo-happyelement-cl"));
|
|
2338
2344
|
var _logoWepieCl = _interopRequireDefault(require("./icons/logo-wepie-cl"));
|
|
2345
|
+
var _logoIggCl = _interopRequireDefault(require("./icons/logo-igg-cl"));
|
|
2339
2346
|
var _dashboardCl = _interopRequireDefault(require("./icons/dashboard-cl"));
|
|
2340
2347
|
var _reportCl = _interopRequireDefault(require("./icons/report-cl"));
|
|
2341
2348
|
var _userTagCl = _interopRequireDefault(require("./icons/user-tag-cl"));
|