@tant/icons 1.3.35 → 1.4.0

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.
@@ -42,14 +42,9 @@ var Lab = function Lab(props) {
42
42
  width: "24",
43
43
  height: "25",
44
44
  xmlns: "http://www.w3.org/2000/svg"
45
- }, /*#__PURE__*/React.createElement("rect", {
46
- width: "24",
47
- height: "24.123"
48
- }), /*#__PURE__*/React.createElement("path", {
45
+ }, /*#__PURE__*/React.createElement("path", {
49
46
  d: "M8.822 13.623h6.368l3.345 5.362a.49.49 0 01.02.524.48.48 0 01-.443.262H5.9c-.262 0-.403-.16-.444-.262-.06-.12-.12-.322.02-.524l3.346-5.362z"
50
47
  }), /*#__PURE__*/React.createElement("path", {
51
- fillRule: "evenodd",
52
- clipRule: "evenodd",
53
48
  d: "M15.452 9.51l5.12 8.225c.543.907.584 1.996.04 2.923a2.836 2.836 0 01-2.52 1.492H5.88c-1.068 0-1.995-.565-2.519-1.492a2.868 2.868 0 01.08-2.923l5.14-8.224c.14-.242.221-.524.221-.806V4.37h-.544a.68.68 0 01-.685-.686A.68.68 0 018.258 3h7.517a.68.68 0 01.685.685.68.68 0 01-.685.686h-.544v4.334c0 .282.08.564.221.806zm2.66 11.29c.565 0 1.049-.303 1.33-.787a1.577 1.577 0 000-1.552l-5.118-8.224a2.77 2.77 0 01-.443-1.532V4.37h-3.709v4.334c0 .544-.16 1.068-.443 1.531L4.61 18.462a1.485 1.485 0 00-.04 1.552c.262.484.766.786 1.33.786h12.212z"
54
49
  }))));
55
50
  };
@@ -0,0 +1,64 @@
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 SystemBuild = function SystemBuild(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
+ xmlns: "http://www.w3.org/2000/svg"
45
+ }, /*#__PURE__*/React.createElement("path", {
46
+ d: "M2 12c0-.865.11-1.703.316-2.504A3 3 0 004.99 4.867a9.99 9.99 0 014.335-2.505 3 3 0 005.348 0 9.99 9.99 0 014.335 2.505 3 3 0 002.675 4.63 10.036 10.036 0 010 5.007 3 3 0 00-2.675 4.629 9.99 9.99 0 01-4.335 2.505 3 3 0 00-5.348 0 9.99 9.99 0 01-4.335-2.505 3 3 0 00-2.675-4.63A10.056 10.056 0 012 12zm4.804 3c.63 1.091.81 2.346.564 3.524.408.29.842.541 1.297.75A4.993 4.993 0 0112 18c1.26 0 2.438.471 3.335 1.274.455-.209.889-.46 1.297-.75A4.993 4.993 0 0117.196 15a4.993 4.993 0 012.77-2.25 8.134 8.134 0 000-1.5A4.993 4.993 0 0117.195 9a4.993 4.993 0 01-.564-3.524 7.988 7.988 0 00-1.297-.75A4.993 4.993 0 0112 6a4.993 4.993 0 01-3.335-1.274 7.99 7.99 0 00-1.297.75A4.993 4.993 0 016.804 9a4.993 4.993 0 01-2.77 2.25 8.125 8.125 0 000 1.5A4.99 4.99 0 016.804 15z"
47
+ }), /*#__PURE__*/React.createElement("path", {
48
+ fillRule: "evenodd",
49
+ clipRule: "evenodd",
50
+ d: "M11.102 12.341l4.013-3.461 1.385 1.385-5.539 4.846L7.5 11.649l1.385-1.384 2.217 2.076z"
51
+ }))));
52
+ };
53
+ SystemBuild.propTypes = {
54
+ iconClassName: PropTypes.string,
55
+ spin: PropTypes.bool,
56
+ color: PropTypes.string,
57
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
58
+ };
59
+ SystemBuild.defaultProps = {
60
+ spin: false,
61
+ color: 'currentColor',
62
+ size: '1em'
63
+ };
64
+ export default SystemBuild;
package/dist/es/index.js CHANGED
@@ -305,6 +305,7 @@ export { default as TaDisable } from './icons/disable';
305
305
  export { default as TaBranch } from './icons/branch';
306
306
  export { default as TaValidate } from './icons/validate';
307
307
  export { default as TaMagicWand } from './icons/magic-wand';
308
+ export { default as TaSystemBuild } from './icons/system-build';
308
309
  export { default as TaAddToPage } from './icons/add-to-page';
309
310
  export { default as TaPause2 } from './icons/pause-2';
310
311
  export { default as TaReport } from './icons/report';
package/dist/index.d.ts CHANGED
@@ -316,6 +316,7 @@ export const TaDisable: Icon;
316
316
  export const TaBranch: Icon;
317
317
  export const TaValidate: Icon;
318
318
  export const TaMagicWand: Icon;
319
+ export const TaSystemBuild: Icon;
319
320
  export const TaAddToPage: Icon;
320
321
  export const TaPause2: Icon;
321
322
  export const TaReport: Icon;
@@ -49,14 +49,9 @@ var Lab = function Lab(props) {
49
49
  width: "24",
50
50
  height: "25",
51
51
  xmlns: "http://www.w3.org/2000/svg"
52
- }, /*#__PURE__*/_react["default"].createElement("rect", {
53
- width: "24",
54
- height: "24.123"
55
- }), /*#__PURE__*/_react["default"].createElement("path", {
52
+ }, /*#__PURE__*/_react["default"].createElement("path", {
56
53
  d: "M8.822 13.623h6.368l3.345 5.362a.49.49 0 01.02.524.48.48 0 01-.443.262H5.9c-.262 0-.403-.16-.444-.262-.06-.12-.12-.322.02-.524l3.346-5.362z"
57
54
  }), /*#__PURE__*/_react["default"].createElement("path", {
58
- fillRule: "evenodd",
59
- clipRule: "evenodd",
60
55
  d: "M15.452 9.51l5.12 8.225c.543.907.584 1.996.04 2.923a2.836 2.836 0 01-2.52 1.492H5.88c-1.068 0-1.995-.565-2.519-1.492a2.868 2.868 0 01.08-2.923l5.14-8.224c.14-.242.221-.524.221-.806V4.37h-.544a.68.68 0 01-.685-.686A.68.68 0 018.258 3h7.517a.68.68 0 01.685.685.68.68 0 01-.685.686h-.544v4.334c0 .282.08.564.221.806zm2.66 11.29c.565 0 1.049-.303 1.33-.787a1.577 1.577 0 000-1.552l-5.118-8.224a2.77 2.77 0 01-.443-1.532V4.37h-3.709v4.334c0 .544-.16 1.068-.443 1.531L4.61 18.462a1.485 1.485 0 00-.04 1.552c.262.484.766.786 1.33.786h12.212z"
61
56
  }))));
62
57
  };
@@ -0,0 +1,72 @@
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 SystemBuild = function SystemBuild(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
+ xmlns: "http://www.w3.org/2000/svg"
52
+ }, /*#__PURE__*/_react["default"].createElement("path", {
53
+ d: "M2 12c0-.865.11-1.703.316-2.504A3 3 0 004.99 4.867a9.99 9.99 0 014.335-2.505 3 3 0 005.348 0 9.99 9.99 0 014.335 2.505 3 3 0 002.675 4.63 10.036 10.036 0 010 5.007 3 3 0 00-2.675 4.629 9.99 9.99 0 01-4.335 2.505 3 3 0 00-5.348 0 9.99 9.99 0 01-4.335-2.505 3 3 0 00-2.675-4.63A10.056 10.056 0 012 12zm4.804 3c.63 1.091.81 2.346.564 3.524.408.29.842.541 1.297.75A4.993 4.993 0 0112 18c1.26 0 2.438.471 3.335 1.274.455-.209.889-.46 1.297-.75A4.993 4.993 0 0117.196 15a4.993 4.993 0 012.77-2.25 8.134 8.134 0 000-1.5A4.993 4.993 0 0117.195 9a4.993 4.993 0 01-.564-3.524 7.988 7.988 0 00-1.297-.75A4.993 4.993 0 0112 6a4.993 4.993 0 01-3.335-1.274 7.99 7.99 0 00-1.297.75A4.993 4.993 0 016.804 9a4.993 4.993 0 01-2.77 2.25 8.125 8.125 0 000 1.5A4.99 4.99 0 016.804 15z"
54
+ }), /*#__PURE__*/_react["default"].createElement("path", {
55
+ fillRule: "evenodd",
56
+ clipRule: "evenodd",
57
+ d: "M11.102 12.341l4.013-3.461 1.385 1.385-5.539 4.846L7.5 11.649l1.385-1.384 2.217 2.076z"
58
+ }))));
59
+ };
60
+ SystemBuild.propTypes = {
61
+ iconClassName: _propTypes["default"].string,
62
+ spin: _propTypes["default"].bool,
63
+ color: _propTypes["default"].string,
64
+ size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
65
+ };
66
+ SystemBuild.defaultProps = {
67
+ spin: false,
68
+ color: 'currentColor',
69
+ size: '1em'
70
+ };
71
+ var _default = SystemBuild;
72
+ exports["default"] = _default;
package/dist/lib/index.js CHANGED
@@ -2007,6 +2007,12 @@ Object.defineProperty(exports, "TaSwapFill", {
2007
2007
  return _swapFill["default"];
2008
2008
  }
2009
2009
  });
2010
+ Object.defineProperty(exports, "TaSystemBuild", {
2011
+ enumerable: true,
2012
+ get: function get() {
2013
+ return _systemBuild["default"];
2014
+ }
2015
+ });
2010
2016
  Object.defineProperty(exports, "TaSystemMgr", {
2011
2017
  enumerable: true,
2012
2018
  get: function get() {
@@ -2590,6 +2596,7 @@ var _disable = _interopRequireDefault(require("./icons/disable"));
2590
2596
  var _branch = _interopRequireDefault(require("./icons/branch"));
2591
2597
  var _validate = _interopRequireDefault(require("./icons/validate"));
2592
2598
  var _magicWand = _interopRequireDefault(require("./icons/magic-wand"));
2599
+ var _systemBuild = _interopRequireDefault(require("./icons/system-build"));
2593
2600
  var _addToPage = _interopRequireDefault(require("./icons/add-to-page"));
2594
2601
  var _pause = _interopRequireDefault(require("./icons/pause-2"));
2595
2602
  var _report = _interopRequireDefault(require("./icons/report"));