@tant/icons 1.1.66 → 1.1.67
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/detail.js +1 -1
- package/dist/es/icons/index.js +72 -0
- package/dist/es/icons/tips.js +64 -0
- package/dist/es/icons/update-data.js +5 -7
- package/dist/es/icons/upload.js +4 -2
- package/dist/es/index.js +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/lib/icons/detail.js +1 -1
- package/dist/lib/icons/index.js +84 -0
- package/dist/lib/icons/tips.js +76 -0
- package/dist/lib/icons/update-data.js +5 -7
- package/dist/lib/icons/upload.js +4 -2
- package/dist/lib/index.js +16 -0
- package/dist/tant-icons.cjs.js +563 -457
- package/dist/tant-icons.esm.js +562 -458
- package/package.json +1 -1
package/dist/es/icons/detail.js
CHANGED
|
@@ -44,7 +44,7 @@ var Detail = function Detail(props) {
|
|
|
44
44
|
animationTimingFunction: 'linear'
|
|
45
45
|
} : {})
|
|
46
46
|
}), /*#__PURE__*/React.createElement("path", {
|
|
47
|
-
d: "
|
|
47
|
+
d: "M20 22H4a1 1 0 01-1-1V3a1 1 0 011-1h16a1 1 0 011 1v18a1 1 0 01-1 1zm-1-2V4H5v16h14zM8 9h8v2H8V9zm0 4h8v2H8v-2z"
|
|
48
48
|
})));
|
|
49
49
|
};
|
|
50
50
|
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
2
|
+
|
|
3
|
+
function _extends() { _extends = Object.assign || 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 } .tant-icon-span > svg { cursor: pointer }';
|
|
18
|
+
|
|
19
|
+
var Index = function Index(props) {
|
|
20
|
+
var color = props.color,
|
|
21
|
+
size = props.size,
|
|
22
|
+
spin = props.spin,
|
|
23
|
+
style = props.style,
|
|
24
|
+
className = props.className,
|
|
25
|
+
iconClassName = props.iconClassName,
|
|
26
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
27
|
+
|
|
28
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
29
|
+
className: className ? 'tant-icon-span ' + className : 'tant-icon-span'
|
|
30
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
31
|
+
children: loadingCircleStyle
|
|
32
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
33
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
34
|
+
width: size,
|
|
35
|
+
height: size,
|
|
36
|
+
viewBox: "0 0 24 24",
|
|
37
|
+
fill: color
|
|
38
|
+
}, otherProps, {
|
|
39
|
+
className: iconClassName,
|
|
40
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
41
|
+
animationDuration: '1s',
|
|
42
|
+
animationIterationCount: 'infinite',
|
|
43
|
+
animationName: 'loadingCircle',
|
|
44
|
+
animationTimingFunction: 'linear'
|
|
45
|
+
} : {})
|
|
46
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
47
|
+
d: "M18 4H7v2h11V4z"
|
|
48
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
49
|
+
d: "M7 11h14v2H7v-2z"
|
|
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"
|
|
58
|
+
})));
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
Index.propTypes = {
|
|
62
|
+
iconClassName: PropTypes.string,
|
|
63
|
+
spin: PropTypes.bool,
|
|
64
|
+
color: PropTypes.string,
|
|
65
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
66
|
+
};
|
|
67
|
+
Index.defaultProps = {
|
|
68
|
+
spin: false,
|
|
69
|
+
color: 'currentColor',
|
|
70
|
+
size: '16'
|
|
71
|
+
};
|
|
72
|
+
export default Index;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
2
|
+
|
|
3
|
+
function _extends() { _extends = Object.assign || 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 } .tant-icon-span > svg { cursor: pointer }';
|
|
18
|
+
|
|
19
|
+
var Tips = function Tips(props) {
|
|
20
|
+
var color = props.color,
|
|
21
|
+
size = props.size,
|
|
22
|
+
spin = props.spin,
|
|
23
|
+
style = props.style,
|
|
24
|
+
className = props.className,
|
|
25
|
+
iconClassName = props.iconClassName,
|
|
26
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
27
|
+
|
|
28
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
29
|
+
className: className ? 'tant-icon-span ' + className : 'tant-icon-span'
|
|
30
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
31
|
+
children: loadingCircleStyle
|
|
32
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
33
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
34
|
+
width: size,
|
|
35
|
+
height: size,
|
|
36
|
+
viewBox: "0 0 24 24",
|
|
37
|
+
fill: color
|
|
38
|
+
}, otherProps, {
|
|
39
|
+
className: iconClassName,
|
|
40
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
41
|
+
animationDuration: '1s',
|
|
42
|
+
animationIterationCount: 'infinite',
|
|
43
|
+
animationName: 'loadingCircle',
|
|
44
|
+
animationTimingFunction: 'linear'
|
|
45
|
+
} : {})
|
|
46
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
47
|
+
fillRule: "evenodd",
|
|
48
|
+
clipRule: "evenodd",
|
|
49
|
+
d: "M17 16.245V18a1 1 0 01-1 1H8a1 1 0 01-1-1v-1.755a8 8 0 1110 0zm-2-.96l.75-.6a6 6 0 10-7.498 0l.748.6V17h6v-1.715zM9 10a3 3 0 013-3V5a5 5 0 00-5 5h2zm7 12v-2H8v2h8z"
|
|
50
|
+
})));
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
Tips.propTypes = {
|
|
54
|
+
iconClassName: PropTypes.string,
|
|
55
|
+
spin: PropTypes.bool,
|
|
56
|
+
color: PropTypes.string,
|
|
57
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
58
|
+
};
|
|
59
|
+
Tips.defaultProps = {
|
|
60
|
+
spin: false,
|
|
61
|
+
color: 'currentColor',
|
|
62
|
+
size: '16'
|
|
63
|
+
};
|
|
64
|
+
export default Tips;
|
|
@@ -44,13 +44,11 @@ var UpdateData = function UpdateData(props) {
|
|
|
44
44
|
animationTimingFunction: 'linear'
|
|
45
45
|
} : {})
|
|
46
46
|
}), /*#__PURE__*/React.createElement("path", {
|
|
47
|
-
d: "
|
|
48
|
-
}), /*#__PURE__*/React.createElement("
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
height: "18",
|
|
53
|
-
rx: "9"
|
|
47
|
+
d: "M13 12h3l-4-4-4 4h3v4h2v-4z"
|
|
48
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
49
|
+
fillRule: "evenodd",
|
|
50
|
+
clipRule: "evenodd",
|
|
51
|
+
d: "M12 20a8 8 0 100-16 8 8 0 000 16zm0 2c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z"
|
|
54
52
|
})));
|
|
55
53
|
};
|
|
56
54
|
|
package/dist/es/icons/upload.js
CHANGED
|
@@ -44,9 +44,11 @@ var Upload = function Upload(props) {
|
|
|
44
44
|
animationTimingFunction: 'linear'
|
|
45
45
|
} : {})
|
|
46
46
|
}), /*#__PURE__*/React.createElement("path", {
|
|
47
|
-
|
|
47
|
+
fillRule: "evenodd",
|
|
48
|
+
clipRule: "evenodd",
|
|
49
|
+
d: "M21.528 20.951v-4.095a.909.909 0 00-.258-.623.917.917 0 00-.636-.256c-.492 0-.9.39-.9.873v3.28H4.272v-3.28a.864.864 0 00-.264-.617.917.917 0 00-.636-.256c-.492 0-.9.39-.9.873v4.096c0 .058 0 .104.012.157.048.437.432.78.894.78h17.238a.9.9 0 00.882-.704.906.906 0 00.03-.228z"
|
|
48
50
|
}), /*#__PURE__*/React.createElement("path", {
|
|
49
|
-
d: "
|
|
51
|
+
d: "M11.23 3.32L6.808 7.614a1.022 1.022 0 00-.018 1.444 1.08 1.08 0 001.488 0l2.658-2.58v9.454c0 .286.114.536.306.722.192.181.456.297.744.297.576 0 1.05-.46 1.05-1.019V6.478l2.658 2.58a1.08 1.08 0 001.488 0 1.003 1.003 0 000-1.444L12.76 3.32l-.024-.023a1.035 1.035 0 00-.609-.288.17.17 0 00-.027-.003L11.998 3c-.036 0-.072 0-.108.006a.17.17 0 00-.027.003 1.054 1.054 0 00-.609.288l-.006.006c-.006.004-.013.01-.018.017z"
|
|
50
52
|
})));
|
|
51
53
|
};
|
|
52
54
|
|
package/dist/es/index.js
CHANGED
|
@@ -74,6 +74,7 @@ export { default as TaLive } from './icons/live';
|
|
|
74
74
|
export { default as TaPlug } from './icons/plug';
|
|
75
75
|
export { default as TaApplication } from './icons/application';
|
|
76
76
|
export { default as TaGift } from './icons/gift';
|
|
77
|
+
export { default as TaTips } from './icons/tips';
|
|
77
78
|
export { default as TaUsb } from './icons/usb';
|
|
78
79
|
export { default as TaLocation } from './icons/location';
|
|
79
80
|
export { default as TaShieldCheck } from './icons/shield-check';
|
|
@@ -111,6 +112,7 @@ export { default as TaExposure } from './icons/exposure';
|
|
|
111
112
|
export { default as TaIndicator } from './icons/indicator';
|
|
112
113
|
export { default as TaCurrency } from './icons/currency';
|
|
113
114
|
export { default as TaContrast } from './icons/contrast';
|
|
115
|
+
export { default as TaIndex } from './icons/index';
|
|
114
116
|
export { default as TaSortUpCl } from './icons/sort-up-cl';
|
|
115
117
|
export { default as TaSortDownCl } from './icons/sort-down-cl';
|
|
116
118
|
export { default as TaOperatorEqual } from './icons/operator-equal';
|
package/dist/index.d.ts
CHANGED
|
@@ -85,6 +85,7 @@ export const TaLive: Icon;
|
|
|
85
85
|
export const TaPlug: Icon;
|
|
86
86
|
export const TaApplication: Icon;
|
|
87
87
|
export const TaGift: Icon;
|
|
88
|
+
export const TaTips: Icon;
|
|
88
89
|
export const TaUsb: Icon;
|
|
89
90
|
export const TaLocation: Icon;
|
|
90
91
|
export const TaShieldCheck: Icon;
|
|
@@ -122,6 +123,7 @@ export const TaExposure: Icon;
|
|
|
122
123
|
export const TaIndicator: Icon;
|
|
123
124
|
export const TaCurrency: Icon;
|
|
124
125
|
export const TaContrast: Icon;
|
|
126
|
+
export const TaIndex: Icon;
|
|
125
127
|
export const TaSortUpCl: Icon;
|
|
126
128
|
export const TaSortDownCl: Icon;
|
|
127
129
|
export const TaOperatorEqual: Icon;
|
package/dist/lib/icons/detail.js
CHANGED
|
@@ -55,7 +55,7 @@ var Detail = function Detail(props) {
|
|
|
55
55
|
animationTimingFunction: 'linear'
|
|
56
56
|
} : {})
|
|
57
57
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
58
|
-
d: "
|
|
58
|
+
d: "M20 22H4a1 1 0 01-1-1V3a1 1 0 011-1h16a1 1 0 011 1v18a1 1 0 01-1 1zm-1-2V4H5v16h14zM8 9h8v2H8V9zm0 4h8v2H8v-2z"
|
|
59
59
|
})));
|
|
60
60
|
};
|
|
61
61
|
|
|
@@ -0,0 +1,84 @@
|
|
|
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", "iconClassName"];
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
+
|
|
16
|
+
function _extends() { _extends = Object.assign || 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 } .tant-icon-span > svg { cursor: pointer }';
|
|
29
|
+
|
|
30
|
+
var Index = function Index(props) {
|
|
31
|
+
var color = props.color,
|
|
32
|
+
size = props.size,
|
|
33
|
+
spin = props.spin,
|
|
34
|
+
style = props.style,
|
|
35
|
+
className = props.className,
|
|
36
|
+
iconClassName = props.iconClassName,
|
|
37
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
38
|
+
|
|
39
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
40
|
+
className: className ? 'tant-icon-span ' + className : 'tant-icon-span'
|
|
41
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
42
|
+
children: loadingCircleStyle
|
|
43
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
44
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
45
|
+
width: size,
|
|
46
|
+
height: size,
|
|
47
|
+
viewBox: "0 0 24 24",
|
|
48
|
+
fill: color
|
|
49
|
+
}, otherProps, {
|
|
50
|
+
className: iconClassName,
|
|
51
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
52
|
+
animationDuration: '1s',
|
|
53
|
+
animationIterationCount: 'infinite',
|
|
54
|
+
animationName: 'loadingCircle',
|
|
55
|
+
animationTimingFunction: 'linear'
|
|
56
|
+
} : {})
|
|
57
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
58
|
+
d: "M18 4H7v2h11V4z"
|
|
59
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
60
|
+
d: "M7 11h14v2H7v-2z"
|
|
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"
|
|
69
|
+
})));
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
Index.propTypes = {
|
|
73
|
+
iconClassName: _propTypes["default"].string,
|
|
74
|
+
spin: _propTypes["default"].bool,
|
|
75
|
+
color: _propTypes["default"].string,
|
|
76
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
77
|
+
};
|
|
78
|
+
Index.defaultProps = {
|
|
79
|
+
spin: false,
|
|
80
|
+
color: 'currentColor',
|
|
81
|
+
size: '16'
|
|
82
|
+
};
|
|
83
|
+
var _default = Index;
|
|
84
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,76 @@
|
|
|
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", "iconClassName"];
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
+
|
|
16
|
+
function _extends() { _extends = Object.assign || 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 } .tant-icon-span > svg { cursor: pointer }';
|
|
29
|
+
|
|
30
|
+
var Tips = function Tips(props) {
|
|
31
|
+
var color = props.color,
|
|
32
|
+
size = props.size,
|
|
33
|
+
spin = props.spin,
|
|
34
|
+
style = props.style,
|
|
35
|
+
className = props.className,
|
|
36
|
+
iconClassName = props.iconClassName,
|
|
37
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
38
|
+
|
|
39
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
40
|
+
className: className ? 'tant-icon-span ' + className : 'tant-icon-span'
|
|
41
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
42
|
+
children: loadingCircleStyle
|
|
43
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
44
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
45
|
+
width: size,
|
|
46
|
+
height: size,
|
|
47
|
+
viewBox: "0 0 24 24",
|
|
48
|
+
fill: color
|
|
49
|
+
}, otherProps, {
|
|
50
|
+
className: iconClassName,
|
|
51
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
52
|
+
animationDuration: '1s',
|
|
53
|
+
animationIterationCount: 'infinite',
|
|
54
|
+
animationName: 'loadingCircle',
|
|
55
|
+
animationTimingFunction: 'linear'
|
|
56
|
+
} : {})
|
|
57
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
58
|
+
fillRule: "evenodd",
|
|
59
|
+
clipRule: "evenodd",
|
|
60
|
+
d: "M17 16.245V18a1 1 0 01-1 1H8a1 1 0 01-1-1v-1.755a8 8 0 1110 0zm-2-.96l.75-.6a6 6 0 10-7.498 0l.748.6V17h6v-1.715zM9 10a3 3 0 013-3V5a5 5 0 00-5 5h2zm7 12v-2H8v2h8z"
|
|
61
|
+
})));
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
Tips.propTypes = {
|
|
65
|
+
iconClassName: _propTypes["default"].string,
|
|
66
|
+
spin: _propTypes["default"].bool,
|
|
67
|
+
color: _propTypes["default"].string,
|
|
68
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
69
|
+
};
|
|
70
|
+
Tips.defaultProps = {
|
|
71
|
+
spin: false,
|
|
72
|
+
color: 'currentColor',
|
|
73
|
+
size: '16'
|
|
74
|
+
};
|
|
75
|
+
var _default = Tips;
|
|
76
|
+
exports["default"] = _default;
|
|
@@ -55,13 +55,11 @@ var UpdateData = function UpdateData(props) {
|
|
|
55
55
|
animationTimingFunction: 'linear'
|
|
56
56
|
} : {})
|
|
57
57
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
58
|
-
d: "
|
|
59
|
-
}), /*#__PURE__*/_react["default"].createElement("
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
height: "18",
|
|
64
|
-
rx: "9"
|
|
58
|
+
d: "M13 12h3l-4-4-4 4h3v4h2v-4z"
|
|
59
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
60
|
+
fillRule: "evenodd",
|
|
61
|
+
clipRule: "evenodd",
|
|
62
|
+
d: "M12 20a8 8 0 100-16 8 8 0 000 16zm0 2c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z"
|
|
65
63
|
})));
|
|
66
64
|
};
|
|
67
65
|
|
package/dist/lib/icons/upload.js
CHANGED
|
@@ -55,9 +55,11 @@ var Upload = function Upload(props) {
|
|
|
55
55
|
animationTimingFunction: 'linear'
|
|
56
56
|
} : {})
|
|
57
57
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
58
|
-
|
|
58
|
+
fillRule: "evenodd",
|
|
59
|
+
clipRule: "evenodd",
|
|
60
|
+
d: "M21.528 20.951v-4.095a.909.909 0 00-.258-.623.917.917 0 00-.636-.256c-.492 0-.9.39-.9.873v3.28H4.272v-3.28a.864.864 0 00-.264-.617.917.917 0 00-.636-.256c-.492 0-.9.39-.9.873v4.096c0 .058 0 .104.012.157.048.437.432.78.894.78h17.238a.9.9 0 00.882-.704.906.906 0 00.03-.228z"
|
|
59
61
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
60
|
-
d: "
|
|
62
|
+
d: "M11.23 3.32L6.808 7.614a1.022 1.022 0 00-.018 1.444 1.08 1.08 0 001.488 0l2.658-2.58v9.454c0 .286.114.536.306.722.192.181.456.297.744.297.576 0 1.05-.46 1.05-1.019V6.478l2.658 2.58a1.08 1.08 0 001.488 0 1.003 1.003 0 000-1.444L12.76 3.32l-.024-.023a1.035 1.035 0 00-.609-.288.17.17 0 00-.027-.003L11.998 3c-.036 0-.072 0-.108.006a.17.17 0 00-.027.003 1.054 1.054 0 00-.609.288l-.006.006c-.006.004-.013.01-.018.017z"
|
|
61
63
|
})));
|
|
62
64
|
};
|
|
63
65
|
|
package/dist/lib/index.js
CHANGED
|
@@ -879,6 +879,12 @@ Object.defineProperty(exports, "TaImport", {
|
|
|
879
879
|
return _import["default"];
|
|
880
880
|
}
|
|
881
881
|
});
|
|
882
|
+
Object.defineProperty(exports, "TaIndex", {
|
|
883
|
+
enumerable: true,
|
|
884
|
+
get: function get() {
|
|
885
|
+
return _index["default"];
|
|
886
|
+
}
|
|
887
|
+
});
|
|
882
888
|
Object.defineProperty(exports, "TaIndicator", {
|
|
883
889
|
enumerable: true,
|
|
884
890
|
get: function get() {
|
|
@@ -1635,6 +1641,12 @@ Object.defineProperty(exports, "TaTimeSm", {
|
|
|
1635
1641
|
return _timeSm["default"];
|
|
1636
1642
|
}
|
|
1637
1643
|
});
|
|
1644
|
+
Object.defineProperty(exports, "TaTips", {
|
|
1645
|
+
enumerable: true,
|
|
1646
|
+
get: function get() {
|
|
1647
|
+
return _tips["default"];
|
|
1648
|
+
}
|
|
1649
|
+
});
|
|
1638
1650
|
Object.defineProperty(exports, "TaTracking", {
|
|
1639
1651
|
enumerable: true,
|
|
1640
1652
|
get: function get() {
|
|
@@ -1956,6 +1968,8 @@ var _application = _interopRequireDefault(require("./icons/application"));
|
|
|
1956
1968
|
|
|
1957
1969
|
var _gift = _interopRequireDefault(require("./icons/gift"));
|
|
1958
1970
|
|
|
1971
|
+
var _tips = _interopRequireDefault(require("./icons/tips"));
|
|
1972
|
+
|
|
1959
1973
|
var _usb = _interopRequireDefault(require("./icons/usb"));
|
|
1960
1974
|
|
|
1961
1975
|
var _location = _interopRequireDefault(require("./icons/location"));
|
|
@@ -2030,6 +2044,8 @@ var _currency = _interopRequireDefault(require("./icons/currency"));
|
|
|
2030
2044
|
|
|
2031
2045
|
var _contrast = _interopRequireDefault(require("./icons/contrast"));
|
|
2032
2046
|
|
|
2047
|
+
var _index = _interopRequireDefault(require("./icons/index"));
|
|
2048
|
+
|
|
2033
2049
|
var _sortUpCl = _interopRequireDefault(require("./icons/sort-up-cl"));
|
|
2034
2050
|
|
|
2035
2051
|
var _sortDownCl = _interopRequireDefault(require("./icons/sort-down-cl"));
|