@tant/icons 1.21.71 → 1.21.73
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/stream.js +67 -0
- package/dist/es/index.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/lib/icons/stream.js +74 -0
- package/dist/lib/index.js +7 -0
- package/dist/tant-icons.cjs.js +978 -921
- package/dist/tant-icons.esm.js +978 -922
- package/package.json +1 -1
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
|
|
3
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
10
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import PropTypes from 'prop-types';
|
|
13
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
14
|
+
var Stream = function Stream(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
|
+
testid = props.testid,
|
|
22
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
23
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
24
|
+
role: "img",
|
|
25
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
26
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
27
|
+
children: loadingCircleStyle
|
|
28
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
29
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
30
|
+
width: size,
|
|
31
|
+
height: size,
|
|
32
|
+
viewBox: "0 0 24 24",
|
|
33
|
+
fill: color
|
|
34
|
+
}, otherProps, {
|
|
35
|
+
className: iconClassName,
|
|
36
|
+
"data-testid": testid,
|
|
37
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
38
|
+
animationDuration: '1s',
|
|
39
|
+
animationIterationCount: 'infinite',
|
|
40
|
+
animationName: 'loadingCircle',
|
|
41
|
+
animationTimingFunction: 'linear'
|
|
42
|
+
} : {})
|
|
43
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
44
|
+
width: "24",
|
|
45
|
+
height: "24",
|
|
46
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
47
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
48
|
+
d: "M3.246 14.424c.274 0 .497.218.512.495l.025.447c.999-.437 2.063-.662 3.136-.66 1.799 0 3.612.623 5.396 1.852 1.425.984 2.877 1.483 4.317 1.483 2.319 0 3.797-1.283 3.86-1.337a1.08 1.08 0 011.538.114c.189.222.284.508.262.804-.01.148-.05.292-.113.423-.063.13-.151.244-.257.335l-.006.005c-.226.19-2.291 1.864-5.344 1.864h-.103v.002c-1.837-.025-3.65-.649-5.388-1.853-1.402-.969-2.816-1.461-4.205-1.461-.48 0-.956.06-1.414.177-.27.07-.537.162-.797.272l.675.48c.183.13.262.365.196.582a.515.515 0 01-.488.366h-.02l-3.319-.12a.745.745 0 01-.604-1.129l1.702-2.886a.544.544 0 01.19-.19.478.478 0 01.249-.065z"
|
|
49
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
50
|
+
d: "M7.08 9.251c.407 0 .817.033 1.225.095 1.385.218 2.77.804 4.117 1.744 1.41.978 2.845 1.474 4.27 1.475 2.207 0 3.66-1.19 3.826-1.332a1.07 1.07 0 01.706-.266c.308 0 .606.134.818.364l.007.008a1.12 1.12 0 01-.106 1.556c-.107.094-.649.53-1.48.941a8.633 8.633 0 01-3.815.915h-.052v-.002c-1.833-.014-3.642-.635-5.382-1.842-1.395-.968-2.8-1.459-4.175-1.459-.467 0-.933.06-1.381.178-1.331.352-2.111 1.076-2.137 1.104-.208.2-.473.31-.747.31H2.75a1.03 1.03 0 01-.761-.339 1.12 1.12 0 01-.302-.783c.002-.296.12-.574.334-.778l.016-.017.004-.002c.292-.264 1.336-1.127 2.97-1.587a7.722 7.722 0 012.068-.283z"
|
|
51
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
52
|
+
d: "M4.871 4.036a7.814 7.814 0 013.327-.188c1.4.22 2.8.81 4.162 1.755 1.424.982 2.877 1.481 4.317 1.481.868 0 1.728-.183 2.535-.539l-.56-.403a.522.522 0 01.297-.946h.018l3.324.121c.263.01.495.155.62.39a.745.745 0 01-.016.74l-1.701 2.882a.504.504 0 01-.438.255.516.516 0 01-.513-.495l-.029-.596c-.87.396-2.107.791-3.586.791h-.054c-1.857-.016-3.685-.638-5.439-1.852C9.711 6.45 8.297 5.953 6.94 5.953c-.464 0-.926.058-1.379.172-1.22.309-1.992.946-2.2 1.135l-.003.002a1.088 1.088 0 01-1.54-.045 1.123 1.123 0 01.031-1.565c.074-.07 1.206-1.106 3.023-1.616z"
|
|
53
|
+
}))));
|
|
54
|
+
};
|
|
55
|
+
Stream.propTypes = {
|
|
56
|
+
iconClassName: PropTypes.string,
|
|
57
|
+
spin: PropTypes.bool,
|
|
58
|
+
color: PropTypes.string,
|
|
59
|
+
testid: PropTypes.string,
|
|
60
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
61
|
+
};
|
|
62
|
+
Stream.defaultProps = {
|
|
63
|
+
spin: false,
|
|
64
|
+
color: 'currentColor',
|
|
65
|
+
size: '1em'
|
|
66
|
+
};
|
|
67
|
+
export default Stream;
|
package/dist/es/index.js
CHANGED
|
@@ -317,6 +317,7 @@ export { default as TaManualVerification } from './icons/manual-verification';
|
|
|
317
317
|
export { default as TaHeat } from './icons/heat';
|
|
318
318
|
export { default as TaDanmaku } from './icons/danmaku';
|
|
319
319
|
export { default as TaOfficial } from './icons/official';
|
|
320
|
+
export { default as TaStream } from './icons/stream';
|
|
320
321
|
export { default as TaFontSize } from './icons/font-size';
|
|
321
322
|
export { default as TaFontBold } from './icons/font-bold';
|
|
322
323
|
export { default as TaFontItalic } from './icons/font- italic';
|
package/dist/index.d.ts
CHANGED
|
@@ -329,6 +329,7 @@ export const TaManualVerification: Icon;
|
|
|
329
329
|
export const TaHeat: Icon;
|
|
330
330
|
export const TaDanmaku: Icon;
|
|
331
331
|
export const TaOfficial: Icon;
|
|
332
|
+
export const TaStream: Icon;
|
|
332
333
|
export const TaFontSize: Icon;
|
|
333
334
|
export const TaFontBold: Icon;
|
|
334
335
|
export const TaFontItalic: Icon;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
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", "testid"];
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
12
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
13
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
19
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var Stream = function Stream(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
|
+
testid = props.testid,
|
|
29
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
30
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
31
|
+
role: "img",
|
|
32
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
33
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
34
|
+
children: loadingCircleStyle
|
|
35
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
36
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
37
|
+
width: size,
|
|
38
|
+
height: size,
|
|
39
|
+
viewBox: "0 0 24 24",
|
|
40
|
+
fill: color
|
|
41
|
+
}, otherProps, {
|
|
42
|
+
className: iconClassName,
|
|
43
|
+
"data-testid": testid,
|
|
44
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
45
|
+
animationDuration: '1s',
|
|
46
|
+
animationIterationCount: 'infinite',
|
|
47
|
+
animationName: 'loadingCircle',
|
|
48
|
+
animationTimingFunction: 'linear'
|
|
49
|
+
} : {})
|
|
50
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", {
|
|
51
|
+
width: "24",
|
|
52
|
+
height: "24",
|
|
53
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
54
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
55
|
+
d: "M3.246 14.424c.274 0 .497.218.512.495l.025.447c.999-.437 2.063-.662 3.136-.66 1.799 0 3.612.623 5.396 1.852 1.425.984 2.877 1.483 4.317 1.483 2.319 0 3.797-1.283 3.86-1.337a1.08 1.08 0 011.538.114c.189.222.284.508.262.804-.01.148-.05.292-.113.423-.063.13-.151.244-.257.335l-.006.005c-.226.19-2.291 1.864-5.344 1.864h-.103v.002c-1.837-.025-3.65-.649-5.388-1.853-1.402-.969-2.816-1.461-4.205-1.461-.48 0-.956.06-1.414.177-.27.07-.537.162-.797.272l.675.48c.183.13.262.365.196.582a.515.515 0 01-.488.366h-.02l-3.319-.12a.745.745 0 01-.604-1.129l1.702-2.886a.544.544 0 01.19-.19.478.478 0 01.249-.065z"
|
|
56
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
57
|
+
d: "M7.08 9.251c.407 0 .817.033 1.225.095 1.385.218 2.77.804 4.117 1.744 1.41.978 2.845 1.474 4.27 1.475 2.207 0 3.66-1.19 3.826-1.332a1.07 1.07 0 01.706-.266c.308 0 .606.134.818.364l.007.008a1.12 1.12 0 01-.106 1.556c-.107.094-.649.53-1.48.941a8.633 8.633 0 01-3.815.915h-.052v-.002c-1.833-.014-3.642-.635-5.382-1.842-1.395-.968-2.8-1.459-4.175-1.459-.467 0-.933.06-1.381.178-1.331.352-2.111 1.076-2.137 1.104-.208.2-.473.31-.747.31H2.75a1.03 1.03 0 01-.761-.339 1.12 1.12 0 01-.302-.783c.002-.296.12-.574.334-.778l.016-.017.004-.002c.292-.264 1.336-1.127 2.97-1.587a7.722 7.722 0 012.068-.283z"
|
|
58
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
59
|
+
d: "M4.871 4.036a7.814 7.814 0 013.327-.188c1.4.22 2.8.81 4.162 1.755 1.424.982 2.877 1.481 4.317 1.481.868 0 1.728-.183 2.535-.539l-.56-.403a.522.522 0 01.297-.946h.018l3.324.121c.263.01.495.155.62.39a.745.745 0 01-.016.74l-1.701 2.882a.504.504 0 01-.438.255.516.516 0 01-.513-.495l-.029-.596c-.87.396-2.107.791-3.586.791h-.054c-1.857-.016-3.685-.638-5.439-1.852C9.711 6.45 8.297 5.953 6.94 5.953c-.464 0-.926.058-1.379.172-1.22.309-1.992.946-2.2 1.135l-.003.002a1.088 1.088 0 01-1.54-.045 1.123 1.123 0 01.031-1.565c.074-.07 1.206-1.106 3.023-1.616z"
|
|
60
|
+
}))));
|
|
61
|
+
};
|
|
62
|
+
Stream.propTypes = {
|
|
63
|
+
iconClassName: _propTypes["default"].string,
|
|
64
|
+
spin: _propTypes["default"].bool,
|
|
65
|
+
color: _propTypes["default"].string,
|
|
66
|
+
testid: _propTypes["default"].string,
|
|
67
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
68
|
+
};
|
|
69
|
+
Stream.defaultProps = {
|
|
70
|
+
spin: false,
|
|
71
|
+
color: 'currentColor',
|
|
72
|
+
size: '1em'
|
|
73
|
+
};
|
|
74
|
+
var _default = exports["default"] = Stream;
|
package/dist/lib/index.js
CHANGED
|
@@ -2799,6 +2799,12 @@ Object.defineProperty(exports, "TaStopCircle", {
|
|
|
2799
2799
|
return _stopCircle["default"];
|
|
2800
2800
|
}
|
|
2801
2801
|
});
|
|
2802
|
+
Object.defineProperty(exports, "TaStream", {
|
|
2803
|
+
enumerable: true,
|
|
2804
|
+
get: function get() {
|
|
2805
|
+
return _stream["default"];
|
|
2806
|
+
}
|
|
2807
|
+
});
|
|
2802
2808
|
Object.defineProperty(exports, "TaStringSm", {
|
|
2803
2809
|
enumerable: true,
|
|
2804
2810
|
get: function get() {
|
|
@@ -3622,6 +3628,7 @@ var _manualVerification = _interopRequireDefault(require("./icons/manual-verific
|
|
|
3622
3628
|
var _heat = _interopRequireDefault(require("./icons/heat"));
|
|
3623
3629
|
var _danmaku = _interopRequireDefault(require("./icons/danmaku"));
|
|
3624
3630
|
var _official = _interopRequireDefault(require("./icons/official"));
|
|
3631
|
+
var _stream = _interopRequireDefault(require("./icons/stream"));
|
|
3625
3632
|
var _fontSize = _interopRequireDefault(require("./icons/font-size"));
|
|
3626
3633
|
var _fontBold = _interopRequireDefault(require("./icons/font-bold"));
|
|
3627
3634
|
var _fontItalic = _interopRequireDefault(require("./icons/font- italic"));
|