@tant/icons 1.17.13 → 1.17.14
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/{arrow-go-back-line 1.js → arrow-go-back.js} +4 -4
- package/dist/es/icons/{arrow-go-forward-line 1.js → arrow-go-forward.js} +4 -4
- package/dist/es/icons/build-mode.js +63 -0
- package/dist/es/icons/find.js +73 -0
- package/dist/es/index.js +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/lib/icons/{arrow-go-back-line 1.js → arrow-go-back.js} +4 -4
- package/dist/lib/icons/{arrow-go-forward-line 1.js → arrow-go-forward.js} +4 -4
- package/dist/lib/icons/build-mode.js +70 -0
- package/dist/lib/icons/find.js +80 -0
- package/dist/lib/index.js +20 -6
- package/dist/tant-icons.cjs.js +863 -747
- package/dist/tant-icons.esm.js +860 -746
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
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
|
|
14
|
+
var ArrowGoBack = function ArrowGoBack(props) {
|
|
15
15
|
var color = props.color,
|
|
16
16
|
size = props.size,
|
|
17
17
|
spin = props.spin,
|
|
@@ -48,16 +48,16 @@ var ArrowGoBackLine1 = function ArrowGoBackLine1(props) {
|
|
|
48
48
|
d: "M5.828 7l2.536 2.535L6.95 10.95 2 6l4.95-4.95 1.414 1.415L5.828 5H13a8 8 0 110 16H4v-2h9a6 6 0 000-12H5.828z"
|
|
49
49
|
}))));
|
|
50
50
|
};
|
|
51
|
-
|
|
51
|
+
ArrowGoBack.propTypes = {
|
|
52
52
|
iconClassName: PropTypes.string,
|
|
53
53
|
spin: PropTypes.bool,
|
|
54
54
|
color: PropTypes.string,
|
|
55
55
|
testid: PropTypes.string,
|
|
56
56
|
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
57
57
|
};
|
|
58
|
-
|
|
58
|
+
ArrowGoBack.defaultProps = {
|
|
59
59
|
spin: false,
|
|
60
60
|
color: 'currentColor',
|
|
61
61
|
size: '1em'
|
|
62
62
|
};
|
|
63
|
-
export default
|
|
63
|
+
export default ArrowGoBack;
|
|
@@ -11,7 +11,7 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
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
|
|
14
|
+
var ArrowGoForward = function ArrowGoForward(props) {
|
|
15
15
|
var color = props.color,
|
|
16
16
|
size = props.size,
|
|
17
17
|
spin = props.spin,
|
|
@@ -48,16 +48,16 @@ var ArrowGoForwardLine1 = function ArrowGoForwardLine1(props) {
|
|
|
48
48
|
d: "M18.172 7H11a6 6 0 000 12h9v2h-9a8 8 0 010-16h7.172l-2.536-2.536L17.05 1.05 22 6l-4.95 4.95-1.414-1.415L18.172 7z"
|
|
49
49
|
}))));
|
|
50
50
|
};
|
|
51
|
-
|
|
51
|
+
ArrowGoForward.propTypes = {
|
|
52
52
|
iconClassName: PropTypes.string,
|
|
53
53
|
spin: PropTypes.bool,
|
|
54
54
|
color: PropTypes.string,
|
|
55
55
|
testid: PropTypes.string,
|
|
56
56
|
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
57
57
|
};
|
|
58
|
-
|
|
58
|
+
ArrowGoForward.defaultProps = {
|
|
59
59
|
spin: false,
|
|
60
60
|
color: 'currentColor',
|
|
61
61
|
size: '1em'
|
|
62
62
|
};
|
|
63
|
-
export default
|
|
63
|
+
export default ArrowGoForward;
|
|
@@ -0,0 +1,63 @@
|
|
|
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 s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(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 (e.includes(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 BuildMode = function BuildMode(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: "M5.33 3.272a3.5 3.5 0 014.254 4.962l10.709 10.71-1.414 1.414-10.71-10.71a3.502 3.502 0 01-4.962-4.255L5.444 7.63a1.5 1.5 0 002.121-2.121L5.33 3.272zm10.367 1.883l3.182-1.768 1.414 1.415-1.768 3.182-1.768.353-2.12 2.122-1.415-1.415 2.121-2.121.354-1.768zm-6.718 8.132l1.415 1.414-5.304 5.303a1 1 0 01-1.492-1.327l.078-.087 5.303-5.303z"
|
|
49
|
+
}))));
|
|
50
|
+
};
|
|
51
|
+
BuildMode.propTypes = {
|
|
52
|
+
iconClassName: PropTypes.string,
|
|
53
|
+
spin: PropTypes.bool,
|
|
54
|
+
color: PropTypes.string,
|
|
55
|
+
testid: PropTypes.string,
|
|
56
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
57
|
+
};
|
|
58
|
+
BuildMode.defaultProps = {
|
|
59
|
+
spin: false,
|
|
60
|
+
color: 'currentColor',
|
|
61
|
+
size: '1em'
|
|
62
|
+
};
|
|
63
|
+
export default BuildMode;
|
|
@@ -0,0 +1,73 @@
|
|
|
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 s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(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 (e.includes(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 Find = function Find(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: "M22 3h-6v2h4v4h2V3z"
|
|
49
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
50
|
+
d: "M8 3H2v6h2V5h4V3z"
|
|
51
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
52
|
+
d: "M20 15v4h-4v2h6v-6h-2z"
|
|
53
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
54
|
+
d: "M8 19H4v-4H2v6h6v-2z"
|
|
55
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
56
|
+
fillRule: "evenodd",
|
|
57
|
+
clipRule: "evenodd",
|
|
58
|
+
d: "M12 17.5a5.48 5.48 0 003.676-1.41l1.824 1.825 1.414-1.415-2.01-2.009A5.5 5.5 0 1012 17.5zm0-2a3.5 3.5 0 100-7 3.5 3.5 0 000 7z"
|
|
59
|
+
}))));
|
|
60
|
+
};
|
|
61
|
+
Find.propTypes = {
|
|
62
|
+
iconClassName: PropTypes.string,
|
|
63
|
+
spin: PropTypes.bool,
|
|
64
|
+
color: PropTypes.string,
|
|
65
|
+
testid: PropTypes.string,
|
|
66
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
67
|
+
};
|
|
68
|
+
Find.defaultProps = {
|
|
69
|
+
spin: false,
|
|
70
|
+
color: 'currentColor',
|
|
71
|
+
size: '1em'
|
|
72
|
+
};
|
|
73
|
+
export default Find;
|
package/dist/es/index.js
CHANGED
|
@@ -250,6 +250,7 @@ export { default as TaPalette } from './icons/palette';
|
|
|
250
250
|
export { default as TaHand } from './icons/hand';
|
|
251
251
|
export { default as TaLayoutFocus } from './icons/layout-focus';
|
|
252
252
|
export { default as TaLayoutSide } from './icons/layout-side';
|
|
253
|
+
export { default as TaBuildMode } from './icons/build-mode';
|
|
253
254
|
export { default as TaUser1 } from './icons/user-1';
|
|
254
255
|
export { default as TaUser1Fill } from './icons/user-1-fill';
|
|
255
256
|
export { default as TaUser2 } from './icons/user-2';
|
|
@@ -356,8 +357,9 @@ export { default as TaSticky } from './icons/sticky';
|
|
|
356
357
|
export { default as TaOnline } from './icons/online';
|
|
357
358
|
export { default as TaOffline } from './icons/offline';
|
|
358
359
|
export { default as TaStopCircle } from './icons/stop-circle';
|
|
359
|
-
export { default as
|
|
360
|
-
export { default as
|
|
360
|
+
export { default as TaFind } from './icons/find';
|
|
361
|
+
export { default as TaArrowGoBack } from './icons/arrow-go-back';
|
|
362
|
+
export { default as TaArrowGoForward } from './icons/arrow-go-forward';
|
|
361
363
|
export { default as TaInfo } from './icons/info';
|
|
362
364
|
export { default as TaInfoFill } from './icons/info-fill';
|
|
363
365
|
export { default as TaHelp } from './icons/help';
|
package/dist/index.d.ts
CHANGED
|
@@ -262,6 +262,7 @@ export const TaPalette: Icon;
|
|
|
262
262
|
export const TaHand: Icon;
|
|
263
263
|
export const TaLayoutFocus: Icon;
|
|
264
264
|
export const TaLayoutSide: Icon;
|
|
265
|
+
export const TaBuildMode: Icon;
|
|
265
266
|
export const TaUser1: Icon;
|
|
266
267
|
export const TaUser1Fill: Icon;
|
|
267
268
|
export const TaUser2: Icon;
|
|
@@ -368,8 +369,9 @@ export const TaSticky: Icon;
|
|
|
368
369
|
export const TaOnline: Icon;
|
|
369
370
|
export const TaOffline: Icon;
|
|
370
371
|
export const TaStopCircle: Icon;
|
|
371
|
-
export const
|
|
372
|
-
export const
|
|
372
|
+
export const TaFind: Icon;
|
|
373
|
+
export const TaArrowGoBack: Icon;
|
|
374
|
+
export const TaArrowGoForward: Icon;
|
|
373
375
|
export const TaInfo: Icon;
|
|
374
376
|
export const TaInfoFill: Icon;
|
|
375
377
|
export const TaHelp: Icon;
|
|
@@ -18,7 +18,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
18
18
|
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
19
19
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
20
20
|
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
-
var
|
|
21
|
+
var ArrowGoBack = function ArrowGoBack(props) {
|
|
22
22
|
var color = props.color,
|
|
23
23
|
size = props.size,
|
|
24
24
|
spin = props.spin,
|
|
@@ -55,16 +55,16 @@ var ArrowGoBackLine1 = function ArrowGoBackLine1(props) {
|
|
|
55
55
|
d: "M5.828 7l2.536 2.535L6.95 10.95 2 6l4.95-4.95 1.414 1.415L5.828 5H13a8 8 0 110 16H4v-2h9a6 6 0 000-12H5.828z"
|
|
56
56
|
}))));
|
|
57
57
|
};
|
|
58
|
-
|
|
58
|
+
ArrowGoBack.propTypes = {
|
|
59
59
|
iconClassName: _propTypes["default"].string,
|
|
60
60
|
spin: _propTypes["default"].bool,
|
|
61
61
|
color: _propTypes["default"].string,
|
|
62
62
|
testid: _propTypes["default"].string,
|
|
63
63
|
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
64
64
|
};
|
|
65
|
-
|
|
65
|
+
ArrowGoBack.defaultProps = {
|
|
66
66
|
spin: false,
|
|
67
67
|
color: 'currentColor',
|
|
68
68
|
size: '1em'
|
|
69
69
|
};
|
|
70
|
-
var _default = exports["default"] =
|
|
70
|
+
var _default = exports["default"] = ArrowGoBack;
|
|
@@ -18,7 +18,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
18
18
|
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
19
19
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
20
20
|
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
-
var
|
|
21
|
+
var ArrowGoForward = function ArrowGoForward(props) {
|
|
22
22
|
var color = props.color,
|
|
23
23
|
size = props.size,
|
|
24
24
|
spin = props.spin,
|
|
@@ -55,16 +55,16 @@ var ArrowGoForwardLine1 = function ArrowGoForwardLine1(props) {
|
|
|
55
55
|
d: "M18.172 7H11a6 6 0 000 12h9v2h-9a8 8 0 010-16h7.172l-2.536-2.536L17.05 1.05 22 6l-4.95 4.95-1.414-1.415L18.172 7z"
|
|
56
56
|
}))));
|
|
57
57
|
};
|
|
58
|
-
|
|
58
|
+
ArrowGoForward.propTypes = {
|
|
59
59
|
iconClassName: _propTypes["default"].string,
|
|
60
60
|
spin: _propTypes["default"].bool,
|
|
61
61
|
color: _propTypes["default"].string,
|
|
62
62
|
testid: _propTypes["default"].string,
|
|
63
63
|
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
64
64
|
};
|
|
65
|
-
|
|
65
|
+
ArrowGoForward.defaultProps = {
|
|
66
66
|
spin: false,
|
|
67
67
|
color: 'currentColor',
|
|
68
68
|
size: '1em'
|
|
69
69
|
};
|
|
70
|
-
var _default = exports["default"] =
|
|
70
|
+
var _default = exports["default"] = ArrowGoForward;
|
|
@@ -0,0 +1,70 @@
|
|
|
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 s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(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 (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var BuildMode = function BuildMode(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: "M5.33 3.272a3.5 3.5 0 014.254 4.962l10.709 10.71-1.414 1.414-10.71-10.71a3.502 3.502 0 01-4.962-4.255L5.444 7.63a1.5 1.5 0 002.121-2.121L5.33 3.272zm10.367 1.883l3.182-1.768 1.414 1.415-1.768 3.182-1.768.353-2.12 2.122-1.415-1.415 2.121-2.121.354-1.768zm-6.718 8.132l1.415 1.414-5.304 5.303a1 1 0 01-1.492-1.327l.078-.087 5.303-5.303z"
|
|
56
|
+
}))));
|
|
57
|
+
};
|
|
58
|
+
BuildMode.propTypes = {
|
|
59
|
+
iconClassName: _propTypes["default"].string,
|
|
60
|
+
spin: _propTypes["default"].bool,
|
|
61
|
+
color: _propTypes["default"].string,
|
|
62
|
+
testid: _propTypes["default"].string,
|
|
63
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
64
|
+
};
|
|
65
|
+
BuildMode.defaultProps = {
|
|
66
|
+
spin: false,
|
|
67
|
+
color: 'currentColor',
|
|
68
|
+
size: '1em'
|
|
69
|
+
};
|
|
70
|
+
var _default = exports["default"] = BuildMode;
|
|
@@ -0,0 +1,80 @@
|
|
|
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 s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(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 (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var Find = function Find(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: "M22 3h-6v2h4v4h2V3z"
|
|
56
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
57
|
+
d: "M8 3H2v6h2V5h4V3z"
|
|
58
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
59
|
+
d: "M20 15v4h-4v2h6v-6h-2z"
|
|
60
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
61
|
+
d: "M8 19H4v-4H2v6h6v-2z"
|
|
62
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
63
|
+
fillRule: "evenodd",
|
|
64
|
+
clipRule: "evenodd",
|
|
65
|
+
d: "M12 17.5a5.48 5.48 0 003.676-1.41l1.824 1.825 1.414-1.415-2.01-2.009A5.5 5.5 0 1012 17.5zm0-2a3.5 3.5 0 100-7 3.5 3.5 0 000 7z"
|
|
66
|
+
}))));
|
|
67
|
+
};
|
|
68
|
+
Find.propTypes = {
|
|
69
|
+
iconClassName: _propTypes["default"].string,
|
|
70
|
+
spin: _propTypes["default"].bool,
|
|
71
|
+
color: _propTypes["default"].string,
|
|
72
|
+
testid: _propTypes["default"].string,
|
|
73
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
74
|
+
};
|
|
75
|
+
Find.defaultProps = {
|
|
76
|
+
spin: false,
|
|
77
|
+
color: 'currentColor',
|
|
78
|
+
size: '1em'
|
|
79
|
+
};
|
|
80
|
+
var _default = exports["default"] = Find;
|
package/dist/lib/index.js
CHANGED
|
@@ -93,16 +93,16 @@ Object.defineProperty(exports, "TaArrowDown2", {
|
|
|
93
93
|
return _arrowDown2["default"];
|
|
94
94
|
}
|
|
95
95
|
});
|
|
96
|
-
Object.defineProperty(exports, "
|
|
96
|
+
Object.defineProperty(exports, "TaArrowGoBack", {
|
|
97
97
|
enumerable: true,
|
|
98
98
|
get: function get() {
|
|
99
|
-
return
|
|
99
|
+
return _arrowGoBack["default"];
|
|
100
100
|
}
|
|
101
101
|
});
|
|
102
|
-
Object.defineProperty(exports, "
|
|
102
|
+
Object.defineProperty(exports, "TaArrowGoForward", {
|
|
103
103
|
enumerable: true,
|
|
104
104
|
get: function get() {
|
|
105
|
-
return
|
|
105
|
+
return _arrowGoForward["default"];
|
|
106
106
|
}
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "TaArrowLeft", {
|
|
@@ -243,6 +243,12 @@ Object.defineProperty(exports, "TaBring", {
|
|
|
243
243
|
return _bring["default"];
|
|
244
244
|
}
|
|
245
245
|
});
|
|
246
|
+
Object.defineProperty(exports, "TaBuildMode", {
|
|
247
|
+
enumerable: true,
|
|
248
|
+
get: function get() {
|
|
249
|
+
return _buildMode["default"];
|
|
250
|
+
}
|
|
251
|
+
});
|
|
246
252
|
Object.defineProperty(exports, "TaBuiltIn", {
|
|
247
253
|
enumerable: true,
|
|
248
254
|
get: function get() {
|
|
@@ -921,6 +927,12 @@ Object.defineProperty(exports, "TaFilter2", {
|
|
|
921
927
|
return _filter2["default"];
|
|
922
928
|
}
|
|
923
929
|
});
|
|
930
|
+
Object.defineProperty(exports, "TaFind", {
|
|
931
|
+
enumerable: true,
|
|
932
|
+
get: function get() {
|
|
933
|
+
return _find["default"];
|
|
934
|
+
}
|
|
935
|
+
});
|
|
924
936
|
Object.defineProperty(exports, "TaFirstLast", {
|
|
925
937
|
enumerable: true,
|
|
926
938
|
get: function get() {
|
|
@@ -2853,6 +2865,7 @@ var _palette = _interopRequireDefault(require("./icons/palette"));
|
|
|
2853
2865
|
var _hand = _interopRequireDefault(require("./icons/hand"));
|
|
2854
2866
|
var _layoutFocus = _interopRequireDefault(require("./icons/layout-focus"));
|
|
2855
2867
|
var _layoutSide = _interopRequireDefault(require("./icons/layout-side"));
|
|
2868
|
+
var _buildMode = _interopRequireDefault(require("./icons/build-mode"));
|
|
2856
2869
|
var _user = _interopRequireDefault(require("./icons/user-1"));
|
|
2857
2870
|
var _user1Fill = _interopRequireDefault(require("./icons/user-1-fill"));
|
|
2858
2871
|
var _user2 = _interopRequireDefault(require("./icons/user-2"));
|
|
@@ -2959,8 +2972,9 @@ var _sticky = _interopRequireDefault(require("./icons/sticky"));
|
|
|
2959
2972
|
var _online = _interopRequireDefault(require("./icons/online"));
|
|
2960
2973
|
var _offline = _interopRequireDefault(require("./icons/offline"));
|
|
2961
2974
|
var _stopCircle = _interopRequireDefault(require("./icons/stop-circle"));
|
|
2962
|
-
var
|
|
2963
|
-
var
|
|
2975
|
+
var _find = _interopRequireDefault(require("./icons/find"));
|
|
2976
|
+
var _arrowGoBack = _interopRequireDefault(require("./icons/arrow-go-back"));
|
|
2977
|
+
var _arrowGoForward = _interopRequireDefault(require("./icons/arrow-go-forward"));
|
|
2964
2978
|
var _info = _interopRequireDefault(require("./icons/info"));
|
|
2965
2979
|
var _infoFill = _interopRequireDefault(require("./icons/info-fill"));
|
|
2966
2980
|
var _help = _interopRequireDefault(require("./icons/help"));
|