@tant/icons 1.1.43 → 1.1.53
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/indicator-sm.js +65 -0
- package/dist/es/icons/logo-xiaomi -cl.js +62 -0
- package/dist/es/icons/{index.js → sort-down.js} +6 -14
- package/dist/es/icons/sort-result.js +4 -7
- package/dist/es/icons/sort-up.js +63 -0
- package/dist/es/index.js +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/lib/icons/indicator-sm.js +77 -0
- package/dist/lib/icons/logo-xiaomi -cl.js +74 -0
- package/dist/lib/icons/{index.js → sort-down.js} +6 -14
- package/dist/lib/icons/sort-result.js +4 -7
- package/dist/lib/icons/sort-up.js +75 -0
- package/dist/lib/index.js +29 -5
- package/dist/tant-icons.cjs.js +515 -381
- package/dist/tant-icons.esm.js +512 -381
- package/package.json +1 -1
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
var _excluded = ["color", "size", "spin", "style", "className"];
|
|
2
|
+
|
|
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
|
+
|
|
5
|
+
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; }
|
|
6
|
+
|
|
7
|
+
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; }
|
|
8
|
+
|
|
9
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10
|
+
|
|
11
|
+
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; }
|
|
12
|
+
|
|
13
|
+
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; }
|
|
14
|
+
|
|
15
|
+
import React from 'react';
|
|
16
|
+
import PropTypes from 'prop-types';
|
|
17
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} .tant-icon-span { display: inline-flex; align-items: center; justify-content: center }';
|
|
18
|
+
|
|
19
|
+
var IndicatorSm = function IndicatorSm(props) {
|
|
20
|
+
var color = props.color,
|
|
21
|
+
size = props.size,
|
|
22
|
+
spin = props.spin,
|
|
23
|
+
style = props.style,
|
|
24
|
+
className = props.className,
|
|
25
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
26
|
+
|
|
27
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
28
|
+
className: className ? 'tant-icon-span ' + className : 'tant-icon-span'
|
|
29
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
30
|
+
children: loadingCircleStyle
|
|
31
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
32
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
33
|
+
width: size,
|
|
34
|
+
height: size,
|
|
35
|
+
viewBox: "0 0 16 16",
|
|
36
|
+
fill: color
|
|
37
|
+
}, otherProps, {
|
|
38
|
+
style: _objectSpread(_objectSpread(_objectSpread({}, style), spin ? {
|
|
39
|
+
animationDuration: '1s',
|
|
40
|
+
animationIterationCount: 'infinite',
|
|
41
|
+
animationName: 'loadingCircle',
|
|
42
|
+
animationTimingFunction: 'linear'
|
|
43
|
+
} : {}), {}, {
|
|
44
|
+
cursor: 'pointer'
|
|
45
|
+
})
|
|
46
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
47
|
+
d: "M3.796 11.15a.3.3 0 01-.11-.41l1.85-3.204a.5.5 0 01.683-.183l2.598 1.5 1.375-2.382L8.75 5.64l3-.866.75 3.03-1.442-.832-1.625 2.815a.5.5 0 01-.683.183l-2.598-1.5-1.6 2.771a.3.3 0 01-.41.11l-.346-.2z"
|
|
48
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
49
|
+
fillRule: "evenodd",
|
|
50
|
+
clipRule: "evenodd",
|
|
51
|
+
d: "M3 1a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2V3a2 2 0 00-2-2H3zM2 13V3a1 1 0 011-1h10a1 1 0 011 1v10a1 1 0 01-1 1H3a1 1 0 01-1-1z"
|
|
52
|
+
})));
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
IndicatorSm.propTypes = {
|
|
56
|
+
spin: PropTypes.bool,
|
|
57
|
+
color: PropTypes.string,
|
|
58
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
59
|
+
};
|
|
60
|
+
IndicatorSm.defaultProps = {
|
|
61
|
+
spin: false,
|
|
62
|
+
color: 'currentColor',
|
|
63
|
+
size: '16'
|
|
64
|
+
};
|
|
65
|
+
export default IndicatorSm;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
var _excluded = ["color", "size", "spin", "style", "className"];
|
|
2
|
+
|
|
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
|
+
|
|
5
|
+
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; }
|
|
6
|
+
|
|
7
|
+
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; }
|
|
8
|
+
|
|
9
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10
|
+
|
|
11
|
+
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; }
|
|
12
|
+
|
|
13
|
+
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; }
|
|
14
|
+
|
|
15
|
+
import React from 'react';
|
|
16
|
+
import PropTypes from 'prop-types';
|
|
17
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} .tant-icon-span { display: inline-flex; align-items: center; justify-content: center }';
|
|
18
|
+
|
|
19
|
+
var LogoXiaomiCl = function LogoXiaomiCl(props) {
|
|
20
|
+
var color = props.color,
|
|
21
|
+
size = props.size,
|
|
22
|
+
spin = props.spin,
|
|
23
|
+
style = props.style,
|
|
24
|
+
className = props.className,
|
|
25
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
26
|
+
|
|
27
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
28
|
+
className: className ? 'tant-icon-span ' + className : 'tant-icon-span'
|
|
29
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
30
|
+
children: loadingCircleStyle
|
|
31
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
32
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
33
|
+
width: size,
|
|
34
|
+
height: size,
|
|
35
|
+
viewBox: "0 0 24 24",
|
|
36
|
+
fill: color
|
|
37
|
+
}, otherProps, {
|
|
38
|
+
style: _objectSpread(_objectSpread(_objectSpread({}, style), spin ? {
|
|
39
|
+
animationDuration: '1s',
|
|
40
|
+
animationIterationCount: 'infinite',
|
|
41
|
+
animationName: 'loadingCircle',
|
|
42
|
+
animationTimingFunction: 'linear'
|
|
43
|
+
} : {}), {}, {
|
|
44
|
+
cursor: 'pointer'
|
|
45
|
+
})
|
|
46
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
47
|
+
d: "M16.8 0A7.2 7.2 0 0124 7.2v9.6a7.2 7.2 0 01-7.2 7.2H7.2A7.2 7.2 0 010 16.8V7.2A7.2 7.2 0 017.2 0h9.6zm-4.387 7.512H5.358a.1.1 0 00-.098.1v8.733a.099.099 0 00.098.1h1.885a.1.1 0 00.098-.1V9.49a.1.1 0 01.098-.101h4.053c.76 0 1.378.633 1.378 1.413v5.542a.1.1 0 00.098.1h1.857a.1.1 0 00.07-.03.1.1 0 00.028-.07v-6.258c0-1.422-1.124-2.575-2.51-2.575zm-1.394 3.48H9.135a.101.101 0 00-.07.03.1.1 0 00-.028.07v5.253a.1.1 0 00.098.1h1.884c.026 0 .051-.01.07-.029a.102.102 0 00.028-.071v-5.252a.102.102 0 00-.06-.094.095.095 0 00-.038-.007zm7.534-3.48h-1.884a.1.1 0 00-.099.102v8.73a.1.1 0 00.1.101h1.883a.1.1 0 00.098-.1V7.613a.102.102 0 00-.06-.093.097.097 0 00-.038-.007z",
|
|
48
|
+
fill: "#FF6A00"
|
|
49
|
+
})));
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
LogoXiaomiCl.propTypes = {
|
|
53
|
+
spin: PropTypes.bool,
|
|
54
|
+
color: PropTypes.string,
|
|
55
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
56
|
+
};
|
|
57
|
+
LogoXiaomiCl.defaultProps = {
|
|
58
|
+
spin: false,
|
|
59
|
+
color: 'currentColor',
|
|
60
|
+
size: '16'
|
|
61
|
+
};
|
|
62
|
+
export default LogoXiaomiCl;
|
|
@@ -16,7 +16,7 @@ import React from 'react';
|
|
|
16
16
|
import PropTypes from 'prop-types';
|
|
17
17
|
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} .tant-icon-span { display: inline-flex; align-items: center; justify-content: center }';
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var SortDown = function SortDown(props) {
|
|
20
20
|
var color = props.color,
|
|
21
21
|
size = props.size,
|
|
22
22
|
spin = props.spin,
|
|
@@ -44,28 +44,20 @@ var Index = function Index(props) {
|
|
|
44
44
|
cursor: 'pointer'
|
|
45
45
|
})
|
|
46
46
|
}), /*#__PURE__*/React.createElement("path", {
|
|
47
|
-
d: "
|
|
47
|
+
d: "M6 15l6 6 6-6H6z"
|
|
48
48
|
}), /*#__PURE__*/React.createElement("path", {
|
|
49
|
-
d: "
|
|
50
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
51
|
-
d: "M7 18h7v2H7v-2z"
|
|
52
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
53
|
-
d: "M5 4H3v2h2V4z"
|
|
54
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
55
|
-
d: "M5 18H3v2h2v-2z"
|
|
56
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
57
|
-
d: "M5 11H3v2h2v-2z"
|
|
49
|
+
d: "M6 9l6-6 6 6H6z"
|
|
58
50
|
})));
|
|
59
51
|
};
|
|
60
52
|
|
|
61
|
-
|
|
53
|
+
SortDown.propTypes = {
|
|
62
54
|
spin: PropTypes.bool,
|
|
63
55
|
color: PropTypes.string,
|
|
64
56
|
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
65
57
|
};
|
|
66
|
-
|
|
58
|
+
SortDown.defaultProps = {
|
|
67
59
|
spin: false,
|
|
68
60
|
color: 'currentColor',
|
|
69
61
|
size: '16'
|
|
70
62
|
};
|
|
71
|
-
export default
|
|
63
|
+
export default SortDown;
|
|
@@ -43,17 +43,14 @@ var SortResult = function SortResult(props) {
|
|
|
43
43
|
} : {}), {}, {
|
|
44
44
|
cursor: 'pointer'
|
|
45
45
|
})
|
|
46
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
47
|
-
width: "24",
|
|
48
|
-
height: "24"
|
|
49
46
|
}), /*#__PURE__*/React.createElement("path", {
|
|
50
|
-
d: "
|
|
47
|
+
d: "M14 13V3l6 6h-4v4h-2z"
|
|
51
48
|
}), /*#__PURE__*/React.createElement("path", {
|
|
52
|
-
d: "
|
|
49
|
+
d: "M9 3v18l-6-6h4V3h2z"
|
|
53
50
|
}), /*#__PURE__*/React.createElement("path", {
|
|
54
|
-
d: "
|
|
51
|
+
d: "M21 17v-2h-7v2h7z"
|
|
55
52
|
}), /*#__PURE__*/React.createElement("path", {
|
|
56
|
-
d: "
|
|
53
|
+
d: "M21 21v-2h-7v2h7z"
|
|
57
54
|
})));
|
|
58
55
|
};
|
|
59
56
|
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
var _excluded = ["color", "size", "spin", "style", "className"];
|
|
2
|
+
|
|
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
|
+
|
|
5
|
+
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; }
|
|
6
|
+
|
|
7
|
+
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; }
|
|
8
|
+
|
|
9
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10
|
+
|
|
11
|
+
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; }
|
|
12
|
+
|
|
13
|
+
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; }
|
|
14
|
+
|
|
15
|
+
import React from 'react';
|
|
16
|
+
import PropTypes from 'prop-types';
|
|
17
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} .tant-icon-span { display: inline-flex; align-items: center; justify-content: center }';
|
|
18
|
+
|
|
19
|
+
var SortUp = function SortUp(props) {
|
|
20
|
+
var color = props.color,
|
|
21
|
+
size = props.size,
|
|
22
|
+
spin = props.spin,
|
|
23
|
+
style = props.style,
|
|
24
|
+
className = props.className,
|
|
25
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
26
|
+
|
|
27
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
28
|
+
className: className ? 'tant-icon-span ' + className : 'tant-icon-span'
|
|
29
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
30
|
+
children: loadingCircleStyle
|
|
31
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
32
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
33
|
+
width: size,
|
|
34
|
+
height: size,
|
|
35
|
+
viewBox: "0 0 24 24",
|
|
36
|
+
fill: color
|
|
37
|
+
}, otherProps, {
|
|
38
|
+
style: _objectSpread(_objectSpread(_objectSpread({}, style), spin ? {
|
|
39
|
+
animationDuration: '1s',
|
|
40
|
+
animationIterationCount: 'infinite',
|
|
41
|
+
animationName: 'loadingCircle',
|
|
42
|
+
animationTimingFunction: 'linear'
|
|
43
|
+
} : {}), {}, {
|
|
44
|
+
cursor: 'pointer'
|
|
45
|
+
})
|
|
46
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
47
|
+
d: "M6 15l6 6 6-6H6z"
|
|
48
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
49
|
+
d: "M6 9l6-6 6 6H6z"
|
|
50
|
+
})));
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
SortUp.propTypes = {
|
|
54
|
+
spin: PropTypes.bool,
|
|
55
|
+
color: PropTypes.string,
|
|
56
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
57
|
+
};
|
|
58
|
+
SortUp.defaultProps = {
|
|
59
|
+
spin: false,
|
|
60
|
+
color: 'currentColor',
|
|
61
|
+
size: '16'
|
|
62
|
+
};
|
|
63
|
+
export default SortUp;
|
package/dist/es/index.js
CHANGED
|
@@ -110,7 +110,8 @@ export { default as TaExposure } from './icons/exposure';
|
|
|
110
110
|
export { default as TaIndicator } from './icons/indicator';
|
|
111
111
|
export { default as TaCurrency } from './icons/currency';
|
|
112
112
|
export { default as TaContrast } from './icons/contrast';
|
|
113
|
-
export { default as
|
|
113
|
+
export { default as TaSortUp } from './icons/sort-up';
|
|
114
|
+
export { default as TaSortDown } from './icons/sort-down';
|
|
114
115
|
export { default as TaOperatorEqual } from './icons/operator-equal';
|
|
115
116
|
export { default as TaOperatorUnequal } from './icons/operator-unequal';
|
|
116
117
|
export { default as TaOperatorDivide } from './icons/operator-divide';
|
|
@@ -139,6 +140,7 @@ export { default as TaLogoCurrencylayerCl } from './icons/logo-currencylayer-cl'
|
|
|
139
140
|
export { default as TaLogoGarenaCl } from './icons/logo-garena-cl';
|
|
140
141
|
export { default as TaLogoAndroidGray } from './icons/logo-android-gray';
|
|
141
142
|
export { default as TaLogoAppleGray } from './icons/logo-apple-gray';
|
|
143
|
+
export { default as TaLogoXiaomiCl } from './icons/logo-xiaomi -cl';
|
|
142
144
|
export { default as TaInfo } from './icons/info';
|
|
143
145
|
export { default as TaInfoFill } from './icons/info-fill';
|
|
144
146
|
export { default as TaHelp } from './icons/help';
|
|
@@ -253,6 +255,7 @@ export { default as TaSticker } from './icons/sticker';
|
|
|
253
255
|
export { default as TaStickerFill } from './icons/sticker-fill';
|
|
254
256
|
export { default as TaEventSm } from './icons/event-sm';
|
|
255
257
|
export { default as TaEPropertySm } from './icons/e-property-sm';
|
|
258
|
+
export { default as TaIndicatorSm } from './icons/indicator-sm';
|
|
256
259
|
export { default as TaUPropertySm } from './icons/u-property-sm';
|
|
257
260
|
export { default as TaUGroupSm } from './icons/u-group-sm';
|
|
258
261
|
export { default as TaUTagSm } from './icons/u-tag-sm';
|
package/dist/index.d.ts
CHANGED
|
@@ -120,7 +120,8 @@ export const TaExposure: Icon;
|
|
|
120
120
|
export const TaIndicator: Icon;
|
|
121
121
|
export const TaCurrency: Icon;
|
|
122
122
|
export const TaContrast: Icon;
|
|
123
|
-
export const
|
|
123
|
+
export const TaSortUp: Icon;
|
|
124
|
+
export const TaSortDown: Icon;
|
|
124
125
|
export const TaOperatorEqual: Icon;
|
|
125
126
|
export const TaOperatorUnequal: Icon;
|
|
126
127
|
export const TaOperatorDivide: Icon;
|
|
@@ -149,6 +150,7 @@ export const TaLogoCurrencylayerCl: Icon;
|
|
|
149
150
|
export const TaLogoGarenaCl: Icon;
|
|
150
151
|
export const TaLogoAndroidGray: Icon;
|
|
151
152
|
export const TaLogoAppleGray: Icon;
|
|
153
|
+
export const TaLogoXiaomiCl: Icon;
|
|
152
154
|
export const TaInfo: Icon;
|
|
153
155
|
export const TaInfoFill: Icon;
|
|
154
156
|
export const TaHelp: Icon;
|
|
@@ -263,6 +265,7 @@ export const TaSticker: Icon;
|
|
|
263
265
|
export const TaStickerFill: Icon;
|
|
264
266
|
export const TaEventSm: Icon;
|
|
265
267
|
export const TaEPropertySm: Icon;
|
|
268
|
+
export const TaIndicatorSm: Icon;
|
|
266
269
|
export const TaUPropertySm: Icon;
|
|
267
270
|
export const TaUGroupSm: Icon;
|
|
268
271
|
export const TaUTagSm: Icon;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
+
|
|
12
|
+
var _excluded = ["color", "size", "spin", "style", "className"];
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
+
|
|
16
|
+
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); }
|
|
17
|
+
|
|
18
|
+
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; }
|
|
19
|
+
|
|
20
|
+
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; }
|
|
21
|
+
|
|
22
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
23
|
+
|
|
24
|
+
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; }
|
|
25
|
+
|
|
26
|
+
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; }
|
|
27
|
+
|
|
28
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} .tant-icon-span { display: inline-flex; align-items: center; justify-content: center }';
|
|
29
|
+
|
|
30
|
+
var IndicatorSm = function IndicatorSm(props) {
|
|
31
|
+
var color = props.color,
|
|
32
|
+
size = props.size,
|
|
33
|
+
spin = props.spin,
|
|
34
|
+
style = props.style,
|
|
35
|
+
className = props.className,
|
|
36
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
37
|
+
|
|
38
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
39
|
+
className: className ? 'tant-icon-span ' + className : 'tant-icon-span'
|
|
40
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
41
|
+
children: loadingCircleStyle
|
|
42
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
43
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
44
|
+
width: size,
|
|
45
|
+
height: size,
|
|
46
|
+
viewBox: "0 0 16 16",
|
|
47
|
+
fill: color
|
|
48
|
+
}, otherProps, {
|
|
49
|
+
style: _objectSpread(_objectSpread(_objectSpread({}, style), spin ? {
|
|
50
|
+
animationDuration: '1s',
|
|
51
|
+
animationIterationCount: 'infinite',
|
|
52
|
+
animationName: 'loadingCircle',
|
|
53
|
+
animationTimingFunction: 'linear'
|
|
54
|
+
} : {}), {}, {
|
|
55
|
+
cursor: 'pointer'
|
|
56
|
+
})
|
|
57
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
58
|
+
d: "M3.796 11.15a.3.3 0 01-.11-.41l1.85-3.204a.5.5 0 01.683-.183l2.598 1.5 1.375-2.382L8.75 5.64l3-.866.75 3.03-1.442-.832-1.625 2.815a.5.5 0 01-.683.183l-2.598-1.5-1.6 2.771a.3.3 0 01-.41.11l-.346-.2z"
|
|
59
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
60
|
+
fillRule: "evenodd",
|
|
61
|
+
clipRule: "evenodd",
|
|
62
|
+
d: "M3 1a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2V3a2 2 0 00-2-2H3zM2 13V3a1 1 0 011-1h10a1 1 0 011 1v10a1 1 0 01-1 1H3a1 1 0 01-1-1z"
|
|
63
|
+
})));
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
IndicatorSm.propTypes = {
|
|
67
|
+
spin: _propTypes["default"].bool,
|
|
68
|
+
color: _propTypes["default"].string,
|
|
69
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
70
|
+
};
|
|
71
|
+
IndicatorSm.defaultProps = {
|
|
72
|
+
spin: false,
|
|
73
|
+
color: 'currentColor',
|
|
74
|
+
size: '16'
|
|
75
|
+
};
|
|
76
|
+
var _default = IndicatorSm;
|
|
77
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
+
|
|
12
|
+
var _excluded = ["color", "size", "spin", "style", "className"];
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
+
|
|
16
|
+
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); }
|
|
17
|
+
|
|
18
|
+
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; }
|
|
19
|
+
|
|
20
|
+
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; }
|
|
21
|
+
|
|
22
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
23
|
+
|
|
24
|
+
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; }
|
|
25
|
+
|
|
26
|
+
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; }
|
|
27
|
+
|
|
28
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} .tant-icon-span { display: inline-flex; align-items: center; justify-content: center }';
|
|
29
|
+
|
|
30
|
+
var LogoXiaomiCl = function LogoXiaomiCl(props) {
|
|
31
|
+
var color = props.color,
|
|
32
|
+
size = props.size,
|
|
33
|
+
spin = props.spin,
|
|
34
|
+
style = props.style,
|
|
35
|
+
className = props.className,
|
|
36
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
37
|
+
|
|
38
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
39
|
+
className: className ? 'tant-icon-span ' + className : 'tant-icon-span'
|
|
40
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
41
|
+
children: loadingCircleStyle
|
|
42
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
43
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
44
|
+
width: size,
|
|
45
|
+
height: size,
|
|
46
|
+
viewBox: "0 0 24 24",
|
|
47
|
+
fill: color
|
|
48
|
+
}, otherProps, {
|
|
49
|
+
style: _objectSpread(_objectSpread(_objectSpread({}, style), spin ? {
|
|
50
|
+
animationDuration: '1s',
|
|
51
|
+
animationIterationCount: 'infinite',
|
|
52
|
+
animationName: 'loadingCircle',
|
|
53
|
+
animationTimingFunction: 'linear'
|
|
54
|
+
} : {}), {}, {
|
|
55
|
+
cursor: 'pointer'
|
|
56
|
+
})
|
|
57
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
58
|
+
d: "M16.8 0A7.2 7.2 0 0124 7.2v9.6a7.2 7.2 0 01-7.2 7.2H7.2A7.2 7.2 0 010 16.8V7.2A7.2 7.2 0 017.2 0h9.6zm-4.387 7.512H5.358a.1.1 0 00-.098.1v8.733a.099.099 0 00.098.1h1.885a.1.1 0 00.098-.1V9.49a.1.1 0 01.098-.101h4.053c.76 0 1.378.633 1.378 1.413v5.542a.1.1 0 00.098.1h1.857a.1.1 0 00.07-.03.1.1 0 00.028-.07v-6.258c0-1.422-1.124-2.575-2.51-2.575zm-1.394 3.48H9.135a.101.101 0 00-.07.03.1.1 0 00-.028.07v5.253a.1.1 0 00.098.1h1.884c.026 0 .051-.01.07-.029a.102.102 0 00.028-.071v-5.252a.102.102 0 00-.06-.094.095.095 0 00-.038-.007zm7.534-3.48h-1.884a.1.1 0 00-.099.102v8.73a.1.1 0 00.1.101h1.883a.1.1 0 00.098-.1V7.613a.102.102 0 00-.06-.093.097.097 0 00-.038-.007z",
|
|
59
|
+
fill: "#FF6A00"
|
|
60
|
+
})));
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
LogoXiaomiCl.propTypes = {
|
|
64
|
+
spin: _propTypes["default"].bool,
|
|
65
|
+
color: _propTypes["default"].string,
|
|
66
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
67
|
+
};
|
|
68
|
+
LogoXiaomiCl.defaultProps = {
|
|
69
|
+
spin: false,
|
|
70
|
+
color: 'currentColor',
|
|
71
|
+
size: '16'
|
|
72
|
+
};
|
|
73
|
+
var _default = LogoXiaomiCl;
|
|
74
|
+
exports["default"] = _default;
|
|
@@ -27,7 +27,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
27
27
|
|
|
28
28
|
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} .tant-icon-span { display: inline-flex; align-items: center; justify-content: center }';
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var SortDown = function SortDown(props) {
|
|
31
31
|
var color = props.color,
|
|
32
32
|
size = props.size,
|
|
33
33
|
spin = props.spin,
|
|
@@ -55,29 +55,21 @@ var Index = function Index(props) {
|
|
|
55
55
|
cursor: 'pointer'
|
|
56
56
|
})
|
|
57
57
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
58
|
-
d: "
|
|
58
|
+
d: "M6 15l6 6 6-6H6z"
|
|
59
59
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
60
|
-
d: "
|
|
61
|
-
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
62
|
-
d: "M7 18h7v2H7v-2z"
|
|
63
|
-
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
64
|
-
d: "M5 4H3v2h2V4z"
|
|
65
|
-
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
66
|
-
d: "M5 18H3v2h2v-2z"
|
|
67
|
-
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
68
|
-
d: "M5 11H3v2h2v-2z"
|
|
60
|
+
d: "M6 9l6-6 6 6H6z"
|
|
69
61
|
})));
|
|
70
62
|
};
|
|
71
63
|
|
|
72
|
-
|
|
64
|
+
SortDown.propTypes = {
|
|
73
65
|
spin: _propTypes["default"].bool,
|
|
74
66
|
color: _propTypes["default"].string,
|
|
75
67
|
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
76
68
|
};
|
|
77
|
-
|
|
69
|
+
SortDown.defaultProps = {
|
|
78
70
|
spin: false,
|
|
79
71
|
color: 'currentColor',
|
|
80
72
|
size: '16'
|
|
81
73
|
};
|
|
82
|
-
var _default =
|
|
74
|
+
var _default = SortDown;
|
|
83
75
|
exports["default"] = _default;
|
|
@@ -54,17 +54,14 @@ var SortResult = function SortResult(props) {
|
|
|
54
54
|
} : {}), {}, {
|
|
55
55
|
cursor: 'pointer'
|
|
56
56
|
})
|
|
57
|
-
}), /*#__PURE__*/_react["default"].createElement("rect", {
|
|
58
|
-
width: "24",
|
|
59
|
-
height: "24"
|
|
60
57
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
61
|
-
d: "
|
|
58
|
+
d: "M14 13V3l6 6h-4v4h-2z"
|
|
62
59
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
63
|
-
d: "
|
|
60
|
+
d: "M9 3v18l-6-6h4V3h2z"
|
|
64
61
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
65
|
-
d: "
|
|
62
|
+
d: "M21 17v-2h-7v2h7z"
|
|
66
63
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
67
|
-
d: "
|
|
64
|
+
d: "M21 21v-2h-7v2h7z"
|
|
68
65
|
})));
|
|
69
66
|
};
|
|
70
67
|
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
+
|
|
12
|
+
var _excluded = ["color", "size", "spin", "style", "className"];
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
+
|
|
16
|
+
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); }
|
|
17
|
+
|
|
18
|
+
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; }
|
|
19
|
+
|
|
20
|
+
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; }
|
|
21
|
+
|
|
22
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
23
|
+
|
|
24
|
+
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; }
|
|
25
|
+
|
|
26
|
+
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; }
|
|
27
|
+
|
|
28
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} .tant-icon-span { display: inline-flex; align-items: center; justify-content: center }';
|
|
29
|
+
|
|
30
|
+
var SortUp = function SortUp(props) {
|
|
31
|
+
var color = props.color,
|
|
32
|
+
size = props.size,
|
|
33
|
+
spin = props.spin,
|
|
34
|
+
style = props.style,
|
|
35
|
+
className = props.className,
|
|
36
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
37
|
+
|
|
38
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
39
|
+
className: className ? 'tant-icon-span ' + className : 'tant-icon-span'
|
|
40
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
41
|
+
children: loadingCircleStyle
|
|
42
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
43
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
44
|
+
width: size,
|
|
45
|
+
height: size,
|
|
46
|
+
viewBox: "0 0 24 24",
|
|
47
|
+
fill: color
|
|
48
|
+
}, otherProps, {
|
|
49
|
+
style: _objectSpread(_objectSpread(_objectSpread({}, style), spin ? {
|
|
50
|
+
animationDuration: '1s',
|
|
51
|
+
animationIterationCount: 'infinite',
|
|
52
|
+
animationName: 'loadingCircle',
|
|
53
|
+
animationTimingFunction: 'linear'
|
|
54
|
+
} : {}), {}, {
|
|
55
|
+
cursor: 'pointer'
|
|
56
|
+
})
|
|
57
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
58
|
+
d: "M6 15l6 6 6-6H6z"
|
|
59
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
60
|
+
d: "M6 9l6-6 6 6H6z"
|
|
61
|
+
})));
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
SortUp.propTypes = {
|
|
65
|
+
spin: _propTypes["default"].bool,
|
|
66
|
+
color: _propTypes["default"].string,
|
|
67
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
68
|
+
};
|
|
69
|
+
SortUp.defaultProps = {
|
|
70
|
+
spin: false,
|
|
71
|
+
color: 'currentColor',
|
|
72
|
+
size: '16'
|
|
73
|
+
};
|
|
74
|
+
var _default = SortUp;
|
|
75
|
+
exports["default"] = _default;
|