@tant/icons 1.3.33 → 1.3.35
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/lab.js +3 -1
- package/dist/es/icons/task.js +66 -0
- package/dist/es/index.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/lib/icons/lab.js +3 -1
- package/dist/lib/icons/task.js +74 -0
- package/dist/lib/index.js +7 -0
- package/dist/tant-icons.cjs.js +1320 -1262
- package/dist/tant-icons.esm.js +1320 -1263
- package/package.json +1 -1
package/dist/es/icons/lab.js
CHANGED
|
@@ -45,10 +45,12 @@ var Lab = function Lab(props) {
|
|
|
45
45
|
}, /*#__PURE__*/React.createElement("rect", {
|
|
46
46
|
width: "24",
|
|
47
47
|
height: "24.123"
|
|
48
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
49
|
+
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"
|
|
48
50
|
}), /*#__PURE__*/React.createElement("path", {
|
|
49
51
|
fillRule: "evenodd",
|
|
50
52
|
clipRule: "evenodd",
|
|
51
|
-
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.
|
|
53
|
+
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"
|
|
52
54
|
}))));
|
|
53
55
|
};
|
|
54
56
|
Lab.propTypes = {
|
|
@@ -0,0 +1,66 @@
|
|
|
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 Task = function Task(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: "M7 7h10v2H7V7z"
|
|
47
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
48
|
+
d: "M12 11H7v2h5v-2z"
|
|
49
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
50
|
+
fillRule: "evenodd",
|
|
51
|
+
clipRule: "evenodd",
|
|
52
|
+
d: "M5.5 22A2.5 2.5 0 013 19.5v-15A2.5 2.5 0 015.5 2h13A2.5 2.5 0 0121 4.5v11.389L14.25 22H5.5zm0-18h13a.5.5 0 01.5.5v9h-3.5A3.5 3.5 0 0012 17v3H5.5a.5.5 0 01-.5-.5v-15a.5.5 0 01.5-.5zm12.95 11.5L14 19.528V17a1.5 1.5 0 011.5-1.5h2.95z"
|
|
53
|
+
}))));
|
|
54
|
+
};
|
|
55
|
+
Task.propTypes = {
|
|
56
|
+
iconClassName: PropTypes.string,
|
|
57
|
+
spin: PropTypes.bool,
|
|
58
|
+
color: PropTypes.string,
|
|
59
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
60
|
+
};
|
|
61
|
+
Task.defaultProps = {
|
|
62
|
+
spin: false,
|
|
63
|
+
color: 'currentColor',
|
|
64
|
+
size: '1em'
|
|
65
|
+
};
|
|
66
|
+
export default Task;
|
package/dist/es/index.js
CHANGED
|
@@ -61,6 +61,7 @@ export { default as TaLab } from './icons/lab';
|
|
|
61
61
|
export { default as TaRuler } from './icons/ruler';
|
|
62
62
|
export { default as TaNewTask } from './icons/new-task';
|
|
63
63
|
export { default as TaSubmit } from './icons/submit';
|
|
64
|
+
export { default as TaTask } from './icons/task';
|
|
64
65
|
export { default as TaTdLogo } from './icons/td-logo';
|
|
65
66
|
export { default as TaLanguage } from './icons/language';
|
|
66
67
|
export { default as TaCalendar } from './icons/calendar';
|
package/dist/index.d.ts
CHANGED
package/dist/lib/icons/lab.js
CHANGED
|
@@ -52,10 +52,12 @@ var Lab = function Lab(props) {
|
|
|
52
52
|
}, /*#__PURE__*/_react["default"].createElement("rect", {
|
|
53
53
|
width: "24",
|
|
54
54
|
height: "24.123"
|
|
55
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
56
|
+
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"
|
|
55
57
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
56
58
|
fillRule: "evenodd",
|
|
57
59
|
clipRule: "evenodd",
|
|
58
|
-
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.
|
|
60
|
+
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"
|
|
59
61
|
}))));
|
|
60
62
|
};
|
|
61
63
|
Lab.propTypes = {
|
|
@@ -0,0 +1,74 @@
|
|
|
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 Task = function Task(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: "M7 7h10v2H7V7z"
|
|
54
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
55
|
+
d: "M12 11H7v2h5v-2z"
|
|
56
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
57
|
+
fillRule: "evenodd",
|
|
58
|
+
clipRule: "evenodd",
|
|
59
|
+
d: "M5.5 22A2.5 2.5 0 013 19.5v-15A2.5 2.5 0 015.5 2h13A2.5 2.5 0 0121 4.5v11.389L14.25 22H5.5zm0-18h13a.5.5 0 01.5.5v9h-3.5A3.5 3.5 0 0012 17v3H5.5a.5.5 0 01-.5-.5v-15a.5.5 0 01.5-.5zm12.95 11.5L14 19.528V17a1.5 1.5 0 011.5-1.5h2.95z"
|
|
60
|
+
}))));
|
|
61
|
+
};
|
|
62
|
+
Task.propTypes = {
|
|
63
|
+
iconClassName: _propTypes["default"].string,
|
|
64
|
+
spin: _propTypes["default"].bool,
|
|
65
|
+
color: _propTypes["default"].string,
|
|
66
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
67
|
+
};
|
|
68
|
+
Task.defaultProps = {
|
|
69
|
+
spin: false,
|
|
70
|
+
color: 'currentColor',
|
|
71
|
+
size: '1em'
|
|
72
|
+
};
|
|
73
|
+
var _default = Task;
|
|
74
|
+
exports["default"] = _default;
|
package/dist/lib/index.js
CHANGED
|
@@ -2037,6 +2037,12 @@ Object.defineProperty(exports, "TaTable1dtable", {
|
|
|
2037
2037
|
return _table1dtable["default"];
|
|
2038
2038
|
}
|
|
2039
2039
|
});
|
|
2040
|
+
Object.defineProperty(exports, "TaTask", {
|
|
2041
|
+
enumerable: true,
|
|
2042
|
+
get: function get() {
|
|
2043
|
+
return _task["default"];
|
|
2044
|
+
}
|
|
2045
|
+
});
|
|
2040
2046
|
Object.defineProperty(exports, "TaTdLogo", {
|
|
2041
2047
|
enumerable: true,
|
|
2042
2048
|
get: function get() {
|
|
@@ -2340,6 +2346,7 @@ var _lab = _interopRequireDefault(require("./icons/lab"));
|
|
|
2340
2346
|
var _ruler = _interopRequireDefault(require("./icons/ruler"));
|
|
2341
2347
|
var _newTask = _interopRequireDefault(require("./icons/new-task"));
|
|
2342
2348
|
var _submit = _interopRequireDefault(require("./icons/submit"));
|
|
2349
|
+
var _task = _interopRequireDefault(require("./icons/task"));
|
|
2343
2350
|
var _tdLogo = _interopRequireDefault(require("./icons/td-logo"));
|
|
2344
2351
|
var _language = _interopRequireDefault(require("./icons/language"));
|
|
2345
2352
|
var _calendar = _interopRequireDefault(require("./icons/calendar"));
|