@tant/icons 1.1.74 → 1.1.75
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/dashboard-cl.js +74 -0
- package/dist/es/icons/group-cl.js +75 -0
- package/dist/es/icons/num-sm.js +1 -1
- package/dist/es/icons/user-tag-cl.js +68 -0
- package/dist/es/icons/v-prop-cl.js +75 -0
- package/dist/es/index.js +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/lib/icons/dashboard-cl.js +86 -0
- package/dist/lib/icons/group-cl.js +87 -0
- package/dist/lib/icons/num-sm.js +1 -1
- package/dist/lib/icons/user-tag-cl.js +80 -0
- package/dist/lib/icons/v-prop-cl.js +87 -0
- package/dist/lib/index.js +32 -0
- package/dist/tant-icons.cjs.js +550 -318
- package/dist/tant-icons.esm.js +547 -319
- package/package.json +1 -1
|
@@ -0,0 +1,87 @@
|
|
|
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 VPropCl = function VPropCl(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: "M22 2H8v2.222h14V2z",
|
|
60
|
+
fill: "#ACAFBD"
|
|
61
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
62
|
+
d: "M22 10.889h-6.461v2.222H22V10.89z",
|
|
63
|
+
fill: "#ACAFBD"
|
|
64
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
65
|
+
d: "M22 22v-2.222H8V22h14z",
|
|
66
|
+
fill: "#ACAFBD"
|
|
67
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
68
|
+
fillRule: "evenodd",
|
|
69
|
+
clipRule: "evenodd",
|
|
70
|
+
d: "M11 9.222L6 6.444 1 9.222v5.556l5 2.777 5-2.777V9.222zm-5 5a2.222 2.222 0 100-4.444 2.222 2.222 0 000 4.444z",
|
|
71
|
+
fill: "#0A1032"
|
|
72
|
+
})));
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
VPropCl.propTypes = {
|
|
76
|
+
iconClassName: _propTypes["default"].string,
|
|
77
|
+
spin: _propTypes["default"].bool,
|
|
78
|
+
color: _propTypes["default"].string,
|
|
79
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
80
|
+
};
|
|
81
|
+
VPropCl.defaultProps = {
|
|
82
|
+
spin: false,
|
|
83
|
+
color: 'currentColor',
|
|
84
|
+
size: '1em'
|
|
85
|
+
};
|
|
86
|
+
var _default = VPropCl;
|
|
87
|
+
exports["default"] = _default;
|
package/dist/lib/index.js
CHANGED
|
@@ -429,6 +429,12 @@ Object.defineProperty(exports, "TaDashboard", {
|
|
|
429
429
|
return _dashboard["default"];
|
|
430
430
|
}
|
|
431
431
|
});
|
|
432
|
+
Object.defineProperty(exports, "TaDashboardCl", {
|
|
433
|
+
enumerable: true,
|
|
434
|
+
get: function get() {
|
|
435
|
+
return _dashboardCl["default"];
|
|
436
|
+
}
|
|
437
|
+
});
|
|
432
438
|
Object.defineProperty(exports, "TaDashboardMgr", {
|
|
433
439
|
enumerable: true,
|
|
434
440
|
get: function get() {
|
|
@@ -843,6 +849,12 @@ Object.defineProperty(exports, "TaGroupAddSm", {
|
|
|
843
849
|
return _groupAddSm["default"];
|
|
844
850
|
}
|
|
845
851
|
});
|
|
852
|
+
Object.defineProperty(exports, "TaGroupCl", {
|
|
853
|
+
enumerable: true,
|
|
854
|
+
get: function get() {
|
|
855
|
+
return _groupCl["default"];
|
|
856
|
+
}
|
|
857
|
+
});
|
|
846
858
|
Object.defineProperty(exports, "TaGroupFill", {
|
|
847
859
|
enumerable: true,
|
|
848
860
|
get: function get() {
|
|
@@ -1809,12 +1821,24 @@ Object.defineProperty(exports, "TaUserSettings", {
|
|
|
1809
1821
|
return _userSettings["default"];
|
|
1810
1822
|
}
|
|
1811
1823
|
});
|
|
1824
|
+
Object.defineProperty(exports, "TaUserTagCl", {
|
|
1825
|
+
enumerable: true,
|
|
1826
|
+
get: function get() {
|
|
1827
|
+
return _userTagCl["default"];
|
|
1828
|
+
}
|
|
1829
|
+
});
|
|
1812
1830
|
Object.defineProperty(exports, "TaUsertag", {
|
|
1813
1831
|
enumerable: true,
|
|
1814
1832
|
get: function get() {
|
|
1815
1833
|
return _usertag["default"];
|
|
1816
1834
|
}
|
|
1817
1835
|
});
|
|
1836
|
+
Object.defineProperty(exports, "TaVPropCl", {
|
|
1837
|
+
enumerable: true,
|
|
1838
|
+
get: function get() {
|
|
1839
|
+
return _vPropCl["default"];
|
|
1840
|
+
}
|
|
1841
|
+
});
|
|
1818
1842
|
Object.defineProperty(exports, "TaVProperty", {
|
|
1819
1843
|
enumerable: true,
|
|
1820
1844
|
get: function get() {
|
|
@@ -2142,6 +2166,14 @@ var _logoAppleGray = _interopRequireDefault(require("./icons/logo-apple-gray"));
|
|
|
2142
2166
|
|
|
2143
2167
|
var _logoXiaomiCl = _interopRequireDefault(require("./icons/logo-xiaomi -cl"));
|
|
2144
2168
|
|
|
2169
|
+
var _dashboardCl = _interopRequireDefault(require("./icons/dashboard-cl"));
|
|
2170
|
+
|
|
2171
|
+
var _userTagCl = _interopRequireDefault(require("./icons/user-tag-cl"));
|
|
2172
|
+
|
|
2173
|
+
var _groupCl = _interopRequireDefault(require("./icons/group-cl"));
|
|
2174
|
+
|
|
2175
|
+
var _vPropCl = _interopRequireDefault(require("./icons/v-prop-cl"));
|
|
2176
|
+
|
|
2145
2177
|
var _info = _interopRequireDefault(require("./icons/info"));
|
|
2146
2178
|
|
|
2147
2179
|
var _infoFill = _interopRequireDefault(require("./icons/info-fill"));
|