@tant/icons 1.3.14 → 1.3.16
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/avatar-group-cl.js +76 -0
- package/dist/es/icons/avatar-project-cl.js +69 -0
- package/dist/es/index.js +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/lib/icons/avatar-group-cl.js +84 -0
- package/dist/lib/icons/avatar-project-cl.js +77 -0
- package/dist/lib/index.js +14 -0
- package/dist/tant-icons.cjs.js +294 -169
- package/dist/tant-icons.esm.js +293 -170
- package/package.json +2 -2
|
@@ -0,0 +1,76 @@
|
|
|
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 AvatarGroupCl = function AvatarGroupCl(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("g", {
|
|
47
|
+
clipPath: "url(#clip0_6187_819)",
|
|
48
|
+
fillRule: "evenodd",
|
|
49
|
+
clipRule: "evenodd",
|
|
50
|
+
fill: "#fff"
|
|
51
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
52
|
+
opacity: ".4",
|
|
53
|
+
d: "M7.854 7.522c-1.231 0-2.229 1.051-2.229 2.348v.289h9.657c1.22 0 2.208.944 2.208 2.11v9.622c0 .376-.103.729-.283 1.034h.814c1.231 0 2.229-1.05 2.229-2.347V9.87c0-1.297-.998-2.348-2.229-2.348H7.854z"
|
|
54
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
55
|
+
opacity: ".9",
|
|
56
|
+
d: "M5.208 10.159c-1.22 0-2.208.944-2.208 2.11v9.622c0 1.165.989 2.11 2.208 2.11h10.074c1.22 0 2.208-.945 2.208-2.11v-9.623c0-1.165-.989-2.11-2.208-2.11H5.208zm1.415 4.943c.476 0 .862-.369.862-.824 0-.455-.386-.824-.862-.824-.477 0-.863.37-.863.824 0 .455.386.824.863.824zm7.072-.824c0 .455-.386.824-.863.824-.476 0-.862-.369-.862-.824 0-.455.386-.824.862-.824.477 0 .863.37.863.824zm-.614 3.472a.511.511 0 00-.064-.743.57.57 0 00-.778.061c-.937 1.055-1.881 1.23-2.676 1.09-.844-.147-1.593-.665-2.017-1.106a.57.57 0 00-.78-.031.51.51 0 00-.032.745c.533.554 1.484 1.23 2.63 1.43 1.197.21 2.534-.113 3.717-1.446z"
|
|
57
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
58
|
+
id: "clip0_6187_819"
|
|
59
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
60
|
+
width: "24",
|
|
61
|
+
height: "24",
|
|
62
|
+
fill: "#fff"
|
|
63
|
+
}))))));
|
|
64
|
+
};
|
|
65
|
+
AvatarGroupCl.propTypes = {
|
|
66
|
+
iconClassName: PropTypes.string,
|
|
67
|
+
spin: PropTypes.bool,
|
|
68
|
+
color: PropTypes.string,
|
|
69
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
70
|
+
};
|
|
71
|
+
AvatarGroupCl.defaultProps = {
|
|
72
|
+
spin: false,
|
|
73
|
+
color: 'currentColor',
|
|
74
|
+
size: '1em'
|
|
75
|
+
};
|
|
76
|
+
export default AvatarGroupCl;
|
|
@@ -0,0 +1,69 @@
|
|
|
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 AvatarProjectCl = function AvatarProjectCl(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("path", {
|
|
47
|
+
opacity: ".92",
|
|
48
|
+
d: "M10.737 14.682l-5.339-3.304a1.2 1.2 0 010-2.041l5.339-3.305a2.4 2.4 0 012.526 0l5.339 3.305a1.2 1.2 0 010 2.04l-5.339 3.305a2.4 2.4 0 01-2.526 0z",
|
|
49
|
+
fill: "#fff"
|
|
50
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
51
|
+
opacity: ".4",
|
|
52
|
+
fillRule: "evenodd",
|
|
53
|
+
clipRule: "evenodd",
|
|
54
|
+
d: "M6.844 12.273l3.893 2.41a2.4 2.4 0 002.526 0l3.893-2.41 1.446.894a1.2 1.2 0 010 2.04l-5.339 3.306a2.4 2.4 0 01-2.526 0l-5.339-3.305a1.2 1.2 0 010-2.04l1.446-.895z",
|
|
55
|
+
fill: "#fff"
|
|
56
|
+
}))));
|
|
57
|
+
};
|
|
58
|
+
AvatarProjectCl.propTypes = {
|
|
59
|
+
iconClassName: PropTypes.string,
|
|
60
|
+
spin: PropTypes.bool,
|
|
61
|
+
color: PropTypes.string,
|
|
62
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
63
|
+
};
|
|
64
|
+
AvatarProjectCl.defaultProps = {
|
|
65
|
+
spin: false,
|
|
66
|
+
color: 'currentColor',
|
|
67
|
+
size: '1em'
|
|
68
|
+
};
|
|
69
|
+
export default AvatarProjectCl;
|
package/dist/es/index.js
CHANGED
|
@@ -309,6 +309,8 @@ export { default as TaBook } from './icons/book';
|
|
|
309
309
|
export { default as TaBook2 } from './icons/book-2';
|
|
310
310
|
export { default as TaSticker } from './icons/sticker';
|
|
311
311
|
export { default as TaStickerFill } from './icons/sticker-fill';
|
|
312
|
+
export { default as TaAvatarGroupCl } from './icons/avatar-group-cl';
|
|
313
|
+
export { default as TaAvatarProjectCl } from './icons/avatar-project-cl';
|
|
312
314
|
export { default as TaEventSm } from './icons/event-sm';
|
|
313
315
|
export { default as TaEPropertySm } from './icons/e-property-sm';
|
|
314
316
|
export { default as TaIndicatorSm } from './icons/indicator-sm';
|
package/dist/index.d.ts
CHANGED
|
@@ -320,6 +320,8 @@ export const TaBook: Icon;
|
|
|
320
320
|
export const TaBook2: Icon;
|
|
321
321
|
export const TaSticker: Icon;
|
|
322
322
|
export const TaStickerFill: Icon;
|
|
323
|
+
export const TaAvatarGroupCl: Icon;
|
|
324
|
+
export const TaAvatarProjectCl: Icon;
|
|
323
325
|
export const TaEventSm: Icon;
|
|
324
326
|
export const TaEPropertySm: Icon;
|
|
325
327
|
export const TaIndicatorSm: Icon;
|
|
@@ -0,0 +1,84 @@
|
|
|
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 AvatarGroupCl = function AvatarGroupCl(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_6187_819)",
|
|
55
|
+
fillRule: "evenodd",
|
|
56
|
+
clipRule: "evenodd",
|
|
57
|
+
fill: "#fff"
|
|
58
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
59
|
+
opacity: ".4",
|
|
60
|
+
d: "M7.854 7.522c-1.231 0-2.229 1.051-2.229 2.348v.289h9.657c1.22 0 2.208.944 2.208 2.11v9.622c0 .376-.103.729-.283 1.034h.814c1.231 0 2.229-1.05 2.229-2.347V9.87c0-1.297-.998-2.348-2.229-2.348H7.854z"
|
|
61
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
62
|
+
opacity: ".9",
|
|
63
|
+
d: "M5.208 10.159c-1.22 0-2.208.944-2.208 2.11v9.622c0 1.165.989 2.11 2.208 2.11h10.074c1.22 0 2.208-.945 2.208-2.11v-9.623c0-1.165-.989-2.11-2.208-2.11H5.208zm1.415 4.943c.476 0 .862-.369.862-.824 0-.455-.386-.824-.862-.824-.477 0-.863.37-.863.824 0 .455.386.824.863.824zm7.072-.824c0 .455-.386.824-.863.824-.476 0-.862-.369-.862-.824 0-.455.386-.824.862-.824.477 0 .863.37.863.824zm-.614 3.472a.511.511 0 00-.064-.743.57.57 0 00-.778.061c-.937 1.055-1.881 1.23-2.676 1.09-.844-.147-1.593-.665-2.017-1.106a.57.57 0 00-.78-.031.51.51 0 00-.032.745c.533.554 1.484 1.23 2.63 1.43 1.197.21 2.534-.113 3.717-1.446z"
|
|
64
|
+
})), /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("clipPath", {
|
|
65
|
+
id: "clip0_6187_819"
|
|
66
|
+
}, /*#__PURE__*/_react["default"].createElement("rect", {
|
|
67
|
+
width: "24",
|
|
68
|
+
height: "24",
|
|
69
|
+
fill: "#fff"
|
|
70
|
+
}))))));
|
|
71
|
+
};
|
|
72
|
+
AvatarGroupCl.propTypes = {
|
|
73
|
+
iconClassName: _propTypes["default"].string,
|
|
74
|
+
spin: _propTypes["default"].bool,
|
|
75
|
+
color: _propTypes["default"].string,
|
|
76
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
77
|
+
};
|
|
78
|
+
AvatarGroupCl.defaultProps = {
|
|
79
|
+
spin: false,
|
|
80
|
+
color: 'currentColor',
|
|
81
|
+
size: '1em'
|
|
82
|
+
};
|
|
83
|
+
var _default = AvatarGroupCl;
|
|
84
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,77 @@
|
|
|
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 AvatarProjectCl = function AvatarProjectCl(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("path", {
|
|
54
|
+
opacity: ".92",
|
|
55
|
+
d: "M10.737 14.682l-5.339-3.304a1.2 1.2 0 010-2.041l5.339-3.305a2.4 2.4 0 012.526 0l5.339 3.305a1.2 1.2 0 010 2.04l-5.339 3.305a2.4 2.4 0 01-2.526 0z",
|
|
56
|
+
fill: "#fff"
|
|
57
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
58
|
+
opacity: ".4",
|
|
59
|
+
fillRule: "evenodd",
|
|
60
|
+
clipRule: "evenodd",
|
|
61
|
+
d: "M6.844 12.273l3.893 2.41a2.4 2.4 0 002.526 0l3.893-2.41 1.446.894a1.2 1.2 0 010 2.04l-5.339 3.306a2.4 2.4 0 01-2.526 0l-5.339-3.305a1.2 1.2 0 010-2.04l1.446-.895z",
|
|
62
|
+
fill: "#fff"
|
|
63
|
+
}))));
|
|
64
|
+
};
|
|
65
|
+
AvatarProjectCl.propTypes = {
|
|
66
|
+
iconClassName: _propTypes["default"].string,
|
|
67
|
+
spin: _propTypes["default"].bool,
|
|
68
|
+
color: _propTypes["default"].string,
|
|
69
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
70
|
+
};
|
|
71
|
+
AvatarProjectCl.defaultProps = {
|
|
72
|
+
spin: false,
|
|
73
|
+
color: 'currentColor',
|
|
74
|
+
size: '1em'
|
|
75
|
+
};
|
|
76
|
+
var _default = AvatarProjectCl;
|
|
77
|
+
exports["default"] = _default;
|
package/dist/lib/index.js
CHANGED
|
@@ -153,6 +153,18 @@ Object.defineProperty(exports, "TaAttribution", {
|
|
|
153
153
|
return _attribution["default"];
|
|
154
154
|
}
|
|
155
155
|
});
|
|
156
|
+
Object.defineProperty(exports, "TaAvatarGroupCl", {
|
|
157
|
+
enumerable: true,
|
|
158
|
+
get: function get() {
|
|
159
|
+
return _avatarGroupCl["default"];
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
Object.defineProperty(exports, "TaAvatarProjectCl", {
|
|
163
|
+
enumerable: true,
|
|
164
|
+
get: function get() {
|
|
165
|
+
return _avatarProjectCl["default"];
|
|
166
|
+
}
|
|
167
|
+
});
|
|
156
168
|
Object.defineProperty(exports, "TaBackup", {
|
|
157
169
|
enumerable: true,
|
|
158
170
|
get: function get() {
|
|
@@ -2438,6 +2450,8 @@ var _book = _interopRequireDefault(require("./icons/book"));
|
|
|
2438
2450
|
var _book2 = _interopRequireDefault(require("./icons/book-2"));
|
|
2439
2451
|
var _sticker = _interopRequireDefault(require("./icons/sticker"));
|
|
2440
2452
|
var _stickerFill = _interopRequireDefault(require("./icons/sticker-fill"));
|
|
2453
|
+
var _avatarGroupCl = _interopRequireDefault(require("./icons/avatar-group-cl"));
|
|
2454
|
+
var _avatarProjectCl = _interopRequireDefault(require("./icons/avatar-project-cl"));
|
|
2441
2455
|
var _eventSm = _interopRequireDefault(require("./icons/event-sm"));
|
|
2442
2456
|
var _ePropertySm = _interopRequireDefault(require("./icons/e-property-sm"));
|
|
2443
2457
|
var _indicatorSm = _interopRequireDefault(require("./icons/indicator-sm"));
|