@tant/icons 1.3.31 → 1.3.33

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.
@@ -11,7 +11,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
11
11
  import React from 'react';
12
12
  import PropTypes from 'prop-types';
13
13
  var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
14
- var EndLab = function EndLab(props) {
14
+ var NewTask = function NewTask(props) {
15
15
  var color = props.color,
16
16
  size = props.size,
17
17
  spin = props.spin,
@@ -40,32 +40,27 @@ var EndLab = function EndLab(props) {
40
40
  } : {})
41
41
  }), /*#__PURE__*/React.createElement("svg", {
42
42
  width: "24",
43
- height: "25",
43
+ height: "24",
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", {
49
- d: "M15.452 8.51l1.55 2.49h-1.58l-1.098-1.763a2.77 2.77 0 01-.443-1.532V3.37h-3.709v4.334c0 .544-.16 1.068-.443 1.532L4.61 17.46a1.485 1.485 0 00-.04 1.552c.262.484.766.786 1.33.786H11v1.35H5.88c-1.068 0-1.995-.564-2.519-1.49a2.868 2.868 0 01.08-2.924l5.14-8.224c.14-.242.221-.524.221-.806V3.37h-.544a.68.68 0 01-.685-.686A.68.68 0 018.258 2h7.517a.68.68 0 01.685.685.68.68 0 01-.685.686h-.544v4.334c0 .282.08.564.221.806z"
45
+ }, /*#__PURE__*/React.createElement("path", {
46
+ d: "M20 5a3 3 0 00-3-3H5a3 3 0 00-3 3v14a3 3 0 003 3h6v-2H5a1 1 0 01-1-1V5a1 1 0 011-1h12a1 1 0 011 1v6h2V5z"
50
47
  }), /*#__PURE__*/React.createElement("path", {
51
- d: "M8.822 12.623H11v6.148H5.9c-.262 0-.403-.16-.444-.262-.06-.12-.12-.322.02-.524l3.346-5.362z"
48
+ d: "M16 9H6V7h10v2z"
52
49
  }), /*#__PURE__*/React.createElement("path", {
53
- d: "M15.5 18.5h4v-2h-4v2z"
50
+ d: "M6 13h5v-2H6v2z"
54
51
  }), /*#__PURE__*/React.createElement("path", {
55
- fillRule: "evenodd",
56
- clipRule: "evenodd",
57
- d: "M23 17.5a5.5 5.5 0 11-11 0 5.5 5.5 0 0111 0zm-2 0a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0z"
52
+ d: "M22 16v2h-4v4h-2v-4h-4v-2h4v-4h2v4h4z"
58
53
  }))));
59
54
  };
60
- EndLab.propTypes = {
55
+ NewTask.propTypes = {
61
56
  iconClassName: PropTypes.string,
62
57
  spin: PropTypes.bool,
63
58
  color: PropTypes.string,
64
59
  size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
65
60
  };
66
- EndLab.defaultProps = {
61
+ NewTask.defaultProps = {
67
62
  spin: false,
68
63
  color: 'currentColor',
69
64
  size: '1em'
70
65
  };
71
- export default EndLab;
66
+ export default NewTask;
@@ -0,0 +1,62 @@
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 Submit = function Submit(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: "M4 5v14h3v2H3a1 1 0 01-1-1V4a1 1 0 011-1h16a1 1 0 011 1v4h-2V5H4z"
47
+ }), /*#__PURE__*/React.createElement("path", {
48
+ d: "M9.4 14.4l3.5 3.5 7.9-7.9 1.4 1.4-9.3 9.3L8 15.8l1.4-1.4z"
49
+ }))));
50
+ };
51
+ Submit.propTypes = {
52
+ iconClassName: PropTypes.string,
53
+ spin: PropTypes.bool,
54
+ color: PropTypes.string,
55
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
56
+ };
57
+ Submit.defaultProps = {
58
+ spin: false,
59
+ color: 'currentColor',
60
+ size: '1em'
61
+ };
62
+ export default Submit;
package/dist/es/index.js CHANGED
@@ -58,8 +58,9 @@ export { default as TaApproveCancelled } from './icons/approve-cancelled';
58
58
  export { default as TaSmile } from './icons/smile';
59
59
  export { default as TaProperty } from './icons/property';
60
60
  export { default as TaLab } from './icons/lab';
61
- export { default as TaEndLab } from './icons/end-lab';
62
61
  export { default as TaRuler } from './icons/ruler';
62
+ export { default as TaNewTask } from './icons/new-task';
63
+ export { default as TaSubmit } from './icons/submit';
63
64
  export { default as TaTdLogo } from './icons/td-logo';
64
65
  export { default as TaLanguage } from './icons/language';
65
66
  export { default as TaCalendar } from './icons/calendar';
package/dist/index.d.ts CHANGED
@@ -69,8 +69,9 @@ export const TaApproveCancelled: Icon;
69
69
  export const TaSmile: Icon;
70
70
  export const TaProperty: Icon;
71
71
  export const TaLab: Icon;
72
- export const TaEndLab: Icon;
73
72
  export const TaRuler: Icon;
73
+ export const TaNewTask: Icon;
74
+ export const TaSubmit: Icon;
74
75
  export const TaTdLogo: Icon;
75
76
  export const TaLanguage: Icon;
76
77
  export const TaCalendar: Icon;
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
18
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
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
20
  var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
21
- var EndLab = function EndLab(props) {
21
+ var NewTask = function NewTask(props) {
22
22
  var color = props.color,
23
23
  size = props.size,
24
24
  spin = props.spin,
@@ -47,33 +47,28 @@ var EndLab = function EndLab(props) {
47
47
  } : {})
48
48
  }), /*#__PURE__*/_react["default"].createElement("svg", {
49
49
  width: "24",
50
- height: "25",
50
+ height: "24",
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", {
56
- d: "M15.452 8.51l1.55 2.49h-1.58l-1.098-1.763a2.77 2.77 0 01-.443-1.532V3.37h-3.709v4.334c0 .544-.16 1.068-.443 1.532L4.61 17.46a1.485 1.485 0 00-.04 1.552c.262.484.766.786 1.33.786H11v1.35H5.88c-1.068 0-1.995-.564-2.519-1.49a2.868 2.868 0 01.08-2.924l5.14-8.224c.14-.242.221-.524.221-.806V3.37h-.544a.68.68 0 01-.685-.686A.68.68 0 018.258 2h7.517a.68.68 0 01.685.685.68.68 0 01-.685.686h-.544v4.334c0 .282.08.564.221.806z"
52
+ }, /*#__PURE__*/_react["default"].createElement("path", {
53
+ d: "M20 5a3 3 0 00-3-3H5a3 3 0 00-3 3v14a3 3 0 003 3h6v-2H5a1 1 0 01-1-1V5a1 1 0 011-1h12a1 1 0 011 1v6h2V5z"
57
54
  }), /*#__PURE__*/_react["default"].createElement("path", {
58
- d: "M8.822 12.623H11v6.148H5.9c-.262 0-.403-.16-.444-.262-.06-.12-.12-.322.02-.524l3.346-5.362z"
55
+ d: "M16 9H6V7h10v2z"
59
56
  }), /*#__PURE__*/_react["default"].createElement("path", {
60
- d: "M15.5 18.5h4v-2h-4v2z"
57
+ d: "M6 13h5v-2H6v2z"
61
58
  }), /*#__PURE__*/_react["default"].createElement("path", {
62
- fillRule: "evenodd",
63
- clipRule: "evenodd",
64
- d: "M23 17.5a5.5 5.5 0 11-11 0 5.5 5.5 0 0111 0zm-2 0a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0z"
59
+ d: "M22 16v2h-4v4h-2v-4h-4v-2h4v-4h2v4h4z"
65
60
  }))));
66
61
  };
67
- EndLab.propTypes = {
62
+ NewTask.propTypes = {
68
63
  iconClassName: _propTypes["default"].string,
69
64
  spin: _propTypes["default"].bool,
70
65
  color: _propTypes["default"].string,
71
66
  size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
72
67
  };
73
- EndLab.defaultProps = {
68
+ NewTask.defaultProps = {
74
69
  spin: false,
75
70
  color: 'currentColor',
76
71
  size: '1em'
77
72
  };
78
- var _default = EndLab;
73
+ var _default = NewTask;
79
74
  exports["default"] = _default;
@@ -0,0 +1,70 @@
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 Submit = function Submit(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: "M4 5v14h3v2H3a1 1 0 01-1-1V4a1 1 0 011-1h16a1 1 0 011 1v4h-2V5H4z"
54
+ }), /*#__PURE__*/_react["default"].createElement("path", {
55
+ d: "M9.4 14.4l3.5 3.5 7.9-7.9 1.4 1.4-9.3 9.3L8 15.8l1.4-1.4z"
56
+ }))));
57
+ };
58
+ Submit.propTypes = {
59
+ iconClassName: _propTypes["default"].string,
60
+ spin: _propTypes["default"].bool,
61
+ color: _propTypes["default"].string,
62
+ size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
63
+ };
64
+ Submit.defaultProps = {
65
+ spin: false,
66
+ color: 'currentColor',
67
+ size: '1em'
68
+ };
69
+ var _default = Submit;
70
+ exports["default"] = _default;
package/dist/lib/index.js CHANGED
@@ -693,12 +693,6 @@ Object.defineProperty(exports, "TaEmail", {
693
693
  return _email["default"];
694
694
  }
695
695
  });
696
- Object.defineProperty(exports, "TaEndLab", {
697
- enumerable: true,
698
- get: function get() {
699
- return _endLab["default"];
700
- }
701
- });
702
696
  Object.defineProperty(exports, "TaEndTask", {
703
697
  enumerable: true,
704
698
  get: function get() {
@@ -1473,6 +1467,12 @@ Object.defineProperty(exports, "TaNewIndicator", {
1473
1467
  return _newIndicator["default"];
1474
1468
  }
1475
1469
  });
1470
+ Object.defineProperty(exports, "TaNewTask", {
1471
+ enumerable: true,
1472
+ get: function get() {
1473
+ return _newTask["default"];
1474
+ }
1475
+ });
1476
1476
  Object.defineProperty(exports, "TaNotice", {
1477
1477
  enumerable: true,
1478
1478
  get: function get() {
@@ -1971,6 +1971,12 @@ Object.defineProperty(exports, "TaStringSm", {
1971
1971
  return _stringSm["default"];
1972
1972
  }
1973
1973
  });
1974
+ Object.defineProperty(exports, "TaSubmit", {
1975
+ enumerable: true,
1976
+ get: function get() {
1977
+ return _submit["default"];
1978
+ }
1979
+ });
1974
1980
  Object.defineProperty(exports, "TaSubtract", {
1975
1981
  enumerable: true,
1976
1982
  get: function get() {
@@ -2331,8 +2337,9 @@ var _approveCancelled = _interopRequireDefault(require("./icons/approve-cancelle
2331
2337
  var _smile = _interopRequireDefault(require("./icons/smile"));
2332
2338
  var _property = _interopRequireDefault(require("./icons/property"));
2333
2339
  var _lab = _interopRequireDefault(require("./icons/lab"));
2334
- var _endLab = _interopRequireDefault(require("./icons/end-lab"));
2335
2340
  var _ruler = _interopRequireDefault(require("./icons/ruler"));
2341
+ var _newTask = _interopRequireDefault(require("./icons/new-task"));
2342
+ var _submit = _interopRequireDefault(require("./icons/submit"));
2336
2343
  var _tdLogo = _interopRequireDefault(require("./icons/td-logo"));
2337
2344
  var _language = _interopRequireDefault(require("./icons/language"));
2338
2345
  var _calendar = _interopRequireDefault(require("./icons/calendar"));