@tant/icons 1.3.21 → 1.3.23

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/README.md CHANGED
@@ -13,3 +13,6 @@ npm install @tant/icons --save
13
13
 
14
14
  ## icon components preview url
15
15
  https://td-fe.github.io/tant-icons/
16
+
17
+ ## LICENSE
18
+ [MIT](./LICENSE)
@@ -0,0 +1,60 @@
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 Function = function Function(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: "M12.172 21.246h-2.168V7.23c0-.914.164-1.683.492-2.308a3.309 3.309 0 011.441-1.43C12.563 3.164 13.306 3 14.165 3a6.04 6.04 0 011.5.188l-.117 1.769a3.59 3.59 0 00-.563-.082 7.948 7.948 0 00-.609-.023c-.46 0-.86.093-1.195.28-.328.18-.578.446-.75.798-.172.351-.258.785-.258 1.3v14.016zm2.695-12.68v1.664H8V8.566h6.867z"
47
+ }))));
48
+ };
49
+ Function.propTypes = {
50
+ iconClassName: PropTypes.string,
51
+ spin: PropTypes.bool,
52
+ color: PropTypes.string,
53
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
54
+ };
55
+ Function.defaultProps = {
56
+ spin: false,
57
+ color: 'currentColor',
58
+ size: '1em'
59
+ };
60
+ export default Function;
@@ -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 Insert = function Insert(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
+ fillRule: "evenodd",
47
+ clipRule: "evenodd",
48
+ d: "M13 3.5h8v2h-8v-2zm0 8h8v2h-8v-2zm8 7H3v2h18v-2zM3 7.5h5V4.764a.31.31 0 01.03-.136.242.242 0 01.084-.097.184.184 0 01.22.013l4.57 3.736c.03.024.054.057.07.095a.314.314 0 010 .25.252.252 0 01-.07.095l-4.57 3.736a.183.183 0 01-.221.013.242.242 0 01-.082-.097.311.311 0 01-.031-.136V9.5H5v6H3v-8z"
49
+ }))));
50
+ };
51
+ Insert.propTypes = {
52
+ iconClassName: PropTypes.string,
53
+ spin: PropTypes.bool,
54
+ color: PropTypes.string,
55
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
56
+ };
57
+ Insert.defaultProps = {
58
+ spin: false,
59
+ color: 'currentColor',
60
+ size: '1em'
61
+ };
62
+ export default Insert;
package/dist/es/index.js CHANGED
@@ -126,6 +126,7 @@ export { default as TaContrast } from './icons/contrast';
126
126
  export { default as TaIndex } from './icons/index';
127
127
  export { default as TaSortUp } from './icons/sort-up';
128
128
  export { default as TaSortDown } from './icons/sort-down';
129
+ export { default as TaFunction } from './icons/function';
129
130
  export { default as TaOperatorEqual } from './icons/operator-equal';
130
131
  export { default as TaOperatorUnequal } from './icons/operator-unequal';
131
132
  export { default as TaOperatorDivide } from './icons/operator-divide';
@@ -287,6 +288,7 @@ export { default as TaNewIndicator } from './icons/new-indicator';
287
288
  export { default as TaBoxOpen } from './icons/box-open';
288
289
  export { default as TaInterval } from './icons/interval';
289
290
  export { default as TaRevert } from './icons/revert';
291
+ export { default as TaInsert } from './icons/insert';
290
292
  export { default as TaReport } from './icons/report';
291
293
  export { default as TaReportRemoval } from './icons/report-removal';
292
294
  export { default as TaFileAdd } from './icons/file-add';
package/dist/index.d.ts CHANGED
@@ -137,6 +137,7 @@ export const TaContrast: Icon;
137
137
  export const TaIndex: Icon;
138
138
  export const TaSortUp: Icon;
139
139
  export const TaSortDown: Icon;
140
+ export const TaFunction: Icon;
140
141
  export const TaOperatorEqual: Icon;
141
142
  export const TaOperatorUnequal: Icon;
142
143
  export const TaOperatorDivide: Icon;
@@ -298,6 +299,7 @@ export const TaNewIndicator: Icon;
298
299
  export const TaBoxOpen: Icon;
299
300
  export const TaInterval: Icon;
300
301
  export const TaRevert: Icon;
302
+ export const TaInsert: Icon;
301
303
  export const TaReport: Icon;
302
304
  export const TaReportRemoval: Icon;
303
305
  export const TaFileAdd: Icon;
@@ -0,0 +1,68 @@
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 Function = function Function(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: "M12.172 21.246h-2.168V7.23c0-.914.164-1.683.492-2.308a3.309 3.309 0 011.441-1.43C12.563 3.164 13.306 3 14.165 3a6.04 6.04 0 011.5.188l-.117 1.769a3.59 3.59 0 00-.563-.082 7.948 7.948 0 00-.609-.023c-.46 0-.86.093-1.195.28-.328.18-.578.446-.75.798-.172.351-.258.785-.258 1.3v14.016zm2.695-12.68v1.664H8V8.566h6.867z"
54
+ }))));
55
+ };
56
+ Function.propTypes = {
57
+ iconClassName: _propTypes["default"].string,
58
+ spin: _propTypes["default"].bool,
59
+ color: _propTypes["default"].string,
60
+ size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
61
+ };
62
+ Function.defaultProps = {
63
+ spin: false,
64
+ color: 'currentColor',
65
+ size: '1em'
66
+ };
67
+ var _default = Function;
68
+ 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 Insert = function Insert(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
+ fillRule: "evenodd",
54
+ clipRule: "evenodd",
55
+ d: "M13 3.5h8v2h-8v-2zm0 8h8v2h-8v-2zm8 7H3v2h18v-2zM3 7.5h5V4.764a.31.31 0 01.03-.136.242.242 0 01.084-.097.184.184 0 01.22.013l4.57 3.736c.03.024.054.057.07.095a.314.314 0 010 .25.252.252 0 01-.07.095l-4.57 3.736a.183.183 0 01-.221.013.242.242 0 01-.082-.097.311.311 0 01-.031-.136V9.5H5v6H3v-8z"
56
+ }))));
57
+ };
58
+ Insert.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
+ Insert.defaultProps = {
65
+ spin: false,
66
+ color: 'currentColor',
67
+ size: '1em'
68
+ };
69
+ var _default = Insert;
70
+ exports["default"] = _default;
package/dist/lib/index.js CHANGED
@@ -909,6 +909,12 @@ Object.defineProperty(exports, "TaFullscreen", {
909
909
  return _fullscreen["default"];
910
910
  }
911
911
  });
912
+ Object.defineProperty(exports, "TaFunction", {
913
+ enumerable: true,
914
+ get: function get() {
915
+ return _function["default"];
916
+ }
917
+ });
912
918
  Object.defineProperty(exports, "TaGame", {
913
919
  enumerable: true,
914
920
  get: function get() {
@@ -1047,6 +1053,12 @@ Object.defineProperty(exports, "TaInfoFill", {
1047
1053
  return _infoFill["default"];
1048
1054
  }
1049
1055
  });
1056
+ Object.defineProperty(exports, "TaInsert", {
1057
+ enumerable: true,
1058
+ get: function get() {
1059
+ return _insert["default"];
1060
+ }
1061
+ });
1050
1062
  Object.defineProperty(exports, "TaInstall", {
1051
1063
  enumerable: true,
1052
1064
  get: function get() {
@@ -2291,6 +2303,7 @@ var _contrast = _interopRequireDefault(require("./icons/contrast"));
2291
2303
  var _index = _interopRequireDefault(require("./icons/index"));
2292
2304
  var _sortUp = _interopRequireDefault(require("./icons/sort-up"));
2293
2305
  var _sortDown = _interopRequireDefault(require("./icons/sort-down"));
2306
+ var _function = _interopRequireDefault(require("./icons/function"));
2294
2307
  var _operatorEqual = _interopRequireDefault(require("./icons/operator-equal"));
2295
2308
  var _operatorUnequal = _interopRequireDefault(require("./icons/operator-unequal"));
2296
2309
  var _operatorDivide = _interopRequireDefault(require("./icons/operator-divide"));
@@ -2452,6 +2465,7 @@ var _newIndicator = _interopRequireDefault(require("./icons/new-indicator"));
2452
2465
  var _boxOpen = _interopRequireDefault(require("./icons/box-open"));
2453
2466
  var _interval = _interopRequireDefault(require("./icons/interval"));
2454
2467
  var _revert = _interopRequireDefault(require("./icons/revert"));
2468
+ var _insert = _interopRequireDefault(require("./icons/insert"));
2455
2469
  var _report = _interopRequireDefault(require("./icons/report"));
2456
2470
  var _reportRemoval = _interopRequireDefault(require("./icons/report-removal"));
2457
2471
  var _fileAdd = _interopRequireDefault(require("./icons/file-add"));