@tant/icons 1.1.75 → 1.1.76
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/report-cl.js +78 -0
- package/dist/es/index.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/lib/icons/report-cl.js +90 -0
- package/dist/lib/index.js +8 -0
- package/dist/tant-icons.cjs.js +386 -323
- package/dist/tant-icons.esm.js +386 -324
- package/package.json +1 -1
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
2
|
+
|
|
3
|
+
function _extends() { _extends = Object.assign || 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
|
+
|
|
5
|
+
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; }
|
|
6
|
+
|
|
7
|
+
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; }
|
|
8
|
+
|
|
9
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10
|
+
|
|
11
|
+
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; }
|
|
12
|
+
|
|
13
|
+
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; }
|
|
14
|
+
|
|
15
|
+
import React from 'react';
|
|
16
|
+
import PropTypes from 'prop-types';
|
|
17
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
18
|
+
|
|
19
|
+
var ReportCl = function ReportCl(props) {
|
|
20
|
+
var color = props.color,
|
|
21
|
+
size = props.size,
|
|
22
|
+
spin = props.spin,
|
|
23
|
+
style = props.style,
|
|
24
|
+
className = props.className,
|
|
25
|
+
iconClassName = props.iconClassName,
|
|
26
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
27
|
+
|
|
28
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
29
|
+
role: "img",
|
|
30
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
31
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
32
|
+
children: loadingCircleStyle
|
|
33
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
34
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
35
|
+
width: size,
|
|
36
|
+
height: size,
|
|
37
|
+
viewBox: "0 0 24 24",
|
|
38
|
+
fill: color
|
|
39
|
+
}, otherProps, {
|
|
40
|
+
className: iconClassName,
|
|
41
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
42
|
+
animationDuration: '1s',
|
|
43
|
+
animationIterationCount: 'infinite',
|
|
44
|
+
animationName: 'loadingCircle',
|
|
45
|
+
animationTimingFunction: 'linear'
|
|
46
|
+
} : {})
|
|
47
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
48
|
+
d: "M1 3a1 1 0 011-1h20a1 1 0 011 1v2.667H1V3z",
|
|
49
|
+
fill: "#1673F6"
|
|
50
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
51
|
+
opacity: ".2",
|
|
52
|
+
d: "M1 5.667h22v14.5a2 2 0 01-2 2H3a2 2 0 01-2-2v-14.5z",
|
|
53
|
+
fill: "#1673F6"
|
|
54
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
55
|
+
fillRule: "evenodd",
|
|
56
|
+
clipRule: "evenodd",
|
|
57
|
+
d: "M17.5 13.494h-5.076V8.417a5.077 5.077 0 015.077 5.077z",
|
|
58
|
+
fill: "#1673F6"
|
|
59
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
60
|
+
fillRule: "evenodd",
|
|
61
|
+
clipRule: "evenodd",
|
|
62
|
+
d: "M11.578 9.263h-.001a5.077 5.077 0 105.077 5.077h-5.076V9.262z",
|
|
63
|
+
fill: "#1673F6"
|
|
64
|
+
})));
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
ReportCl.propTypes = {
|
|
68
|
+
iconClassName: PropTypes.string,
|
|
69
|
+
spin: PropTypes.bool,
|
|
70
|
+
color: PropTypes.string,
|
|
71
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
72
|
+
};
|
|
73
|
+
ReportCl.defaultProps = {
|
|
74
|
+
spin: false,
|
|
75
|
+
color: 'currentColor',
|
|
76
|
+
size: '1em'
|
|
77
|
+
};
|
|
78
|
+
export default ReportCl;
|
package/dist/es/index.js
CHANGED
|
@@ -147,6 +147,7 @@ export { default as TaLogoAndroidGray } from './icons/logo-android-gray';
|
|
|
147
147
|
export { default as TaLogoAppleGray } from './icons/logo-apple-gray';
|
|
148
148
|
export { default as TaLogoXiaomiCl } from './icons/logo-xiaomi -cl';
|
|
149
149
|
export { default as TaDashboardCl } from './icons/dashboard-cl';
|
|
150
|
+
export { default as TaReportCl } from './icons/report-cl';
|
|
150
151
|
export { default as TaUserTagCl } from './icons/user-tag-cl';
|
|
151
152
|
export { default as TaGroupCl } from './icons/group-cl';
|
|
152
153
|
export { default as TaVPropCl } from './icons/v-prop-cl';
|
package/dist/index.d.ts
CHANGED
|
@@ -158,6 +158,7 @@ export const TaLogoAndroidGray: Icon;
|
|
|
158
158
|
export const TaLogoAppleGray: Icon;
|
|
159
159
|
export const TaLogoXiaomiCl: Icon;
|
|
160
160
|
export const TaDashboardCl: Icon;
|
|
161
|
+
export const TaReportCl: Icon;
|
|
161
162
|
export const TaUserTagCl: Icon;
|
|
162
163
|
export const TaGroupCl: Icon;
|
|
163
164
|
export const TaVPropCl: Icon;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
+
|
|
12
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
+
|
|
16
|
+
function _extends() { _extends = Object.assign || 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); }
|
|
17
|
+
|
|
18
|
+
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; }
|
|
19
|
+
|
|
20
|
+
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; }
|
|
21
|
+
|
|
22
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
23
|
+
|
|
24
|
+
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; }
|
|
25
|
+
|
|
26
|
+
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; }
|
|
27
|
+
|
|
28
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
29
|
+
|
|
30
|
+
var ReportCl = function ReportCl(props) {
|
|
31
|
+
var color = props.color,
|
|
32
|
+
size = props.size,
|
|
33
|
+
spin = props.spin,
|
|
34
|
+
style = props.style,
|
|
35
|
+
className = props.className,
|
|
36
|
+
iconClassName = props.iconClassName,
|
|
37
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
38
|
+
|
|
39
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
40
|
+
role: "img",
|
|
41
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
42
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
43
|
+
children: loadingCircleStyle
|
|
44
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
45
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
46
|
+
width: size,
|
|
47
|
+
height: size,
|
|
48
|
+
viewBox: "0 0 24 24",
|
|
49
|
+
fill: color
|
|
50
|
+
}, otherProps, {
|
|
51
|
+
className: iconClassName,
|
|
52
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
53
|
+
animationDuration: '1s',
|
|
54
|
+
animationIterationCount: 'infinite',
|
|
55
|
+
animationName: 'loadingCircle',
|
|
56
|
+
animationTimingFunction: 'linear'
|
|
57
|
+
} : {})
|
|
58
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
59
|
+
d: "M1 3a1 1 0 011-1h20a1 1 0 011 1v2.667H1V3z",
|
|
60
|
+
fill: "#1673F6"
|
|
61
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
62
|
+
opacity: ".2",
|
|
63
|
+
d: "M1 5.667h22v14.5a2 2 0 01-2 2H3a2 2 0 01-2-2v-14.5z",
|
|
64
|
+
fill: "#1673F6"
|
|
65
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
66
|
+
fillRule: "evenodd",
|
|
67
|
+
clipRule: "evenodd",
|
|
68
|
+
d: "M17.5 13.494h-5.076V8.417a5.077 5.077 0 015.077 5.077z",
|
|
69
|
+
fill: "#1673F6"
|
|
70
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
71
|
+
fillRule: "evenodd",
|
|
72
|
+
clipRule: "evenodd",
|
|
73
|
+
d: "M11.578 9.263h-.001a5.077 5.077 0 105.077 5.077h-5.076V9.262z",
|
|
74
|
+
fill: "#1673F6"
|
|
75
|
+
})));
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
ReportCl.propTypes = {
|
|
79
|
+
iconClassName: _propTypes["default"].string,
|
|
80
|
+
spin: _propTypes["default"].bool,
|
|
81
|
+
color: _propTypes["default"].string,
|
|
82
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
83
|
+
};
|
|
84
|
+
ReportCl.defaultProps = {
|
|
85
|
+
spin: false,
|
|
86
|
+
color: 'currentColor',
|
|
87
|
+
size: '1em'
|
|
88
|
+
};
|
|
89
|
+
var _default = ReportCl;
|
|
90
|
+
exports["default"] = _default;
|
package/dist/lib/index.js
CHANGED
|
@@ -1389,6 +1389,12 @@ Object.defineProperty(exports, "TaReport", {
|
|
|
1389
1389
|
return _report["default"];
|
|
1390
1390
|
}
|
|
1391
1391
|
});
|
|
1392
|
+
Object.defineProperty(exports, "TaReportCl", {
|
|
1393
|
+
enumerable: true,
|
|
1394
|
+
get: function get() {
|
|
1395
|
+
return _reportCl["default"];
|
|
1396
|
+
}
|
|
1397
|
+
});
|
|
1392
1398
|
Object.defineProperty(exports, "TaReportRemoval", {
|
|
1393
1399
|
enumerable: true,
|
|
1394
1400
|
get: function get() {
|
|
@@ -2168,6 +2174,8 @@ var _logoXiaomiCl = _interopRequireDefault(require("./icons/logo-xiaomi -cl"));
|
|
|
2168
2174
|
|
|
2169
2175
|
var _dashboardCl = _interopRequireDefault(require("./icons/dashboard-cl"));
|
|
2170
2176
|
|
|
2177
|
+
var _reportCl = _interopRequireDefault(require("./icons/report-cl"));
|
|
2178
|
+
|
|
2171
2179
|
var _userTagCl = _interopRequireDefault(require("./icons/user-tag-cl"));
|
|
2172
2180
|
|
|
2173
2181
|
var _groupCl = _interopRequireDefault(require("./icons/group-cl"));
|