@tant/icons 1.2.3 → 1.2.5
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/bell-2-fill.js +53 -0
- package/dist/es/icons/box-open.js +53 -0
- package/dist/es/icons/box.js +53 -0
- package/dist/es/icons/link.js +1 -1
- package/dist/es/icons/notice.js +55 -0
- package/dist/es/index.js +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/lib/icons/bell-2-fill.js +61 -0
- package/dist/lib/icons/box-open.js +61 -0
- package/dist/lib/icons/box.js +61 -0
- package/dist/lib/icons/link.js +1 -1
- package/dist/lib/icons/notice.js +63 -0
- package/dist/lib/index.js +28 -0
- package/dist/tant-icons.cjs.js +1142 -956
- package/dist/tant-icons.esm.js +1139 -957
- package/package.json +1 -1
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
2
|
+
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); }
|
|
3
|
+
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; }
|
|
4
|
+
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; }
|
|
5
|
+
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; }
|
|
6
|
+
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; }
|
|
7
|
+
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; }
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import PropTypes from 'prop-types';
|
|
10
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
11
|
+
var Bell2Fill = function Bell2Fill(props) {
|
|
12
|
+
var color = props.color,
|
|
13
|
+
size = props.size,
|
|
14
|
+
spin = props.spin,
|
|
15
|
+
style = props.style,
|
|
16
|
+
className = props.className,
|
|
17
|
+
iconClassName = props.iconClassName,
|
|
18
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
19
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
20
|
+
role: "img",
|
|
21
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
22
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
23
|
+
children: loadingCircleStyle
|
|
24
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
+
width: size,
|
|
27
|
+
height: size,
|
|
28
|
+
viewBox: "0 0 24 24",
|
|
29
|
+
fill: color
|
|
30
|
+
}, otherProps, {
|
|
31
|
+
className: iconClassName,
|
|
32
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
33
|
+
animationDuration: '1s',
|
|
34
|
+
animationIterationCount: 'infinite',
|
|
35
|
+
animationName: 'loadingCircle',
|
|
36
|
+
animationTimingFunction: 'linear'
|
|
37
|
+
} : {})
|
|
38
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
39
|
+
d: "M7.308 3.966L5.944 2.602a9.99 9.99 0 00-3.928 7.486h1.907a8.053 8.053 0 013.385-6.122zm12.769 6.122h1.907a9.966 9.966 0 00-3.937-7.486l-1.364 1.364a8.035 8.035 0 013.394 6.122zm-1.878.478a6.195 6.195 0 00-4.767-6.026v-.65c0-.792-.64-1.43-1.43-1.43-.792 0-1.43.64-1.43 1.43v.65a6.194 6.194 0 00-4.767 6.026v5.245l-1.907 1.908v.954h16.211v-.954l-1.907-1.908v-5.245h-.003zM12 21.532a1.9 1.9 0 001.755-1.163c.097-.23.153-.475.153-.742h-3.816c0 1.047.858 1.905 1.908 1.905z"
|
|
40
|
+
})));
|
|
41
|
+
};
|
|
42
|
+
Bell2Fill.propTypes = {
|
|
43
|
+
iconClassName: PropTypes.string,
|
|
44
|
+
spin: PropTypes.bool,
|
|
45
|
+
color: PropTypes.string,
|
|
46
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
47
|
+
};
|
|
48
|
+
Bell2Fill.defaultProps = {
|
|
49
|
+
spin: false,
|
|
50
|
+
color: 'currentColor',
|
|
51
|
+
size: '1em'
|
|
52
|
+
};
|
|
53
|
+
export default Bell2Fill;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
2
|
+
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); }
|
|
3
|
+
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; }
|
|
4
|
+
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; }
|
|
5
|
+
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; }
|
|
6
|
+
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; }
|
|
7
|
+
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; }
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import PropTypes from 'prop-types';
|
|
10
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
11
|
+
var BoxOpen = function BoxOpen(props) {
|
|
12
|
+
var color = props.color,
|
|
13
|
+
size = props.size,
|
|
14
|
+
spin = props.spin,
|
|
15
|
+
style = props.style,
|
|
16
|
+
className = props.className,
|
|
17
|
+
iconClassName = props.iconClassName,
|
|
18
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
19
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
20
|
+
role: "img",
|
|
21
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
22
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
23
|
+
children: loadingCircleStyle
|
|
24
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
+
width: size,
|
|
27
|
+
height: size,
|
|
28
|
+
viewBox: "0 0 24 24",
|
|
29
|
+
fill: color
|
|
30
|
+
}, otherProps, {
|
|
31
|
+
className: iconClassName,
|
|
32
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
33
|
+
animationDuration: '1s',
|
|
34
|
+
animationIterationCount: 'infinite',
|
|
35
|
+
animationName: 'loadingCircle',
|
|
36
|
+
animationTimingFunction: 'linear'
|
|
37
|
+
} : {})
|
|
38
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
39
|
+
d: "M9.616 1.219l.012.014 2.474 3.056 2.473-3.053.012-.014a.636.636 0 01.78-.143l8.306 4.442.016.009a.607.607 0 01.173.914l-2.686 3.28 1.453 3.296a.608.608 0 01-.28.785l-.017.008-1.707.832c.04.092.06.19.063.29V18.291c0 .144-.04.286-.116.41a.808.808 0 01-.316.294l-.018.01-7.97 3.91a.828.828 0 01-.71.01l-.021-.01-7.958-3.91a.81.81 0 01-.323-.287.787.787 0 01-.126-.407v-3.357a.93.93 0 010-.021l-1.86-.906-.015-.008a.608.608 0 01-.28-.785l1.642-3.727-2.48-3.058a.608.608 0 01.18-.915l.015-.009 8.51-4.452a.636.636 0 01.774.146zm2.223 13.726l-1.036 2.95-.006.016a.631.631 0 01-.866.334L4.76 15.727v2.07l7.142 3.511 7.156-3.51v-2.39l-5.386 2.622a.63.63 0 01-.866-.334l-.006-.016-.961-2.735zM3.88 10.67l-1.032 2.342 6.785 3.304.882-2.512L3.88 10.67zm15.843-.214l-6.636 3.134.883 2.512 6.785-3.304-1.032-2.342zM12.12 5.764L4.797 9.33l6.778 3.202 7.191-3.397-6.646-3.37zm3.207-2.887l-1.56 1.925 6.607 3.35 1.467-1.792-6.514-3.483zm-6.456-.01L2.16 6.379l1.426 1.758 6.849-3.335L8.87 2.868z"
|
|
40
|
+
})));
|
|
41
|
+
};
|
|
42
|
+
BoxOpen.propTypes = {
|
|
43
|
+
iconClassName: PropTypes.string,
|
|
44
|
+
spin: PropTypes.bool,
|
|
45
|
+
color: PropTypes.string,
|
|
46
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
47
|
+
};
|
|
48
|
+
BoxOpen.defaultProps = {
|
|
49
|
+
spin: false,
|
|
50
|
+
color: 'currentColor',
|
|
51
|
+
size: '1em'
|
|
52
|
+
};
|
|
53
|
+
export default BoxOpen;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
2
|
+
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); }
|
|
3
|
+
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; }
|
|
4
|
+
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; }
|
|
5
|
+
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; }
|
|
6
|
+
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; }
|
|
7
|
+
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; }
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import PropTypes from 'prop-types';
|
|
10
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
11
|
+
var Box = function Box(props) {
|
|
12
|
+
var color = props.color,
|
|
13
|
+
size = props.size,
|
|
14
|
+
spin = props.spin,
|
|
15
|
+
style = props.style,
|
|
16
|
+
className = props.className,
|
|
17
|
+
iconClassName = props.iconClassName,
|
|
18
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
19
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
20
|
+
role: "img",
|
|
21
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
22
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
23
|
+
children: loadingCircleStyle
|
|
24
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
+
width: size,
|
|
27
|
+
height: size,
|
|
28
|
+
viewBox: "0 0 24 24",
|
|
29
|
+
fill: color
|
|
30
|
+
}, otherProps, {
|
|
31
|
+
className: iconClassName,
|
|
32
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
33
|
+
animationDuration: '1s',
|
|
34
|
+
animationIterationCount: 'infinite',
|
|
35
|
+
animationName: 'loadingCircle',
|
|
36
|
+
animationTimingFunction: 'linear'
|
|
37
|
+
} : {})
|
|
38
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
39
|
+
d: "M21.954 6.888v-.046c0-.091-.045-.137-.045-.183l-1.318-3.013c-.455-1.005-1.41-1.644-2.5-1.644H5.864c-1.091-.045-2.046.594-2.5 1.598L2.045 6.614C2 6.659 2 6.75 2 6.796v12.465A2.741 2.741 0 004.727 22h14.546c1.5 0 2.727-1.233 2.727-2.74V6.98c-.046-.046-.046-.091-.046-.091zm-3.09-2.557l.772 1.735h-4.5V3.783h2.91c.363 0 .681.228.818.548zm-5.546 6.757h-2.727V3.783h2.727v7.305zM5.045 4.331a.898.898 0 01.819-.548h2.909v2.283h-4.5l.772-1.735zm15.091 14.975c0 .502-.409.913-.909.913H4.682c-.5 0-.91-.41-.91-.913V7.892h5v3.196c0 1.005.819 1.826 1.819 1.826h2.727c1 0 1.818-.822 1.818-1.826V7.892h5v11.414z"
|
|
40
|
+
})));
|
|
41
|
+
};
|
|
42
|
+
Box.propTypes = {
|
|
43
|
+
iconClassName: PropTypes.string,
|
|
44
|
+
spin: PropTypes.bool,
|
|
45
|
+
color: PropTypes.string,
|
|
46
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
47
|
+
};
|
|
48
|
+
Box.defaultProps = {
|
|
49
|
+
spin: false,
|
|
50
|
+
color: 'currentColor',
|
|
51
|
+
size: '1em'
|
|
52
|
+
};
|
|
53
|
+
export default Box;
|
package/dist/es/icons/link.js
CHANGED
|
@@ -38,7 +38,7 @@ var Link = function Link(props) {
|
|
|
38
38
|
}), /*#__PURE__*/React.createElement("path", {
|
|
39
39
|
d: "M4.222 11.293l2.121-2.121 1.414 1.414-2.121 2.121a4 4 0 005.657 5.657l2.121-2.121 1.414 1.414-2.121 2.121a6 6 0 01-8.485-8.485z"
|
|
40
40
|
}), /*#__PURE__*/React.createElement("path", {
|
|
41
|
-
d: "M18.364 11.293l-2.122 2.121 1.415 1.414 2.121-2.12a6 6 0 00-8.485-8.486L9.17 6.343l1.415 1.414 2.121-2.
|
|
41
|
+
d: "M18.364 11.293l-2.122 2.121 1.415 1.414 2.121-2.12a6 6 0 00-8.485-8.486L9.17 6.343l1.415 1.414 2.121-2.12a4 4 0 115.657 5.656z"
|
|
42
42
|
}), /*#__PURE__*/React.createElement("path", {
|
|
43
43
|
d: "M14.121 8.464l-5.657 5.657 1.415 1.415 5.656-5.657-1.414-1.415z"
|
|
44
44
|
})));
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
2
|
+
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); }
|
|
3
|
+
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; }
|
|
4
|
+
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; }
|
|
5
|
+
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; }
|
|
6
|
+
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; }
|
|
7
|
+
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; }
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import PropTypes from 'prop-types';
|
|
10
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
11
|
+
var Notice = function Notice(props) {
|
|
12
|
+
var color = props.color,
|
|
13
|
+
size = props.size,
|
|
14
|
+
spin = props.spin,
|
|
15
|
+
style = props.style,
|
|
16
|
+
className = props.className,
|
|
17
|
+
iconClassName = props.iconClassName,
|
|
18
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
19
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
20
|
+
role: "img",
|
|
21
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
22
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
23
|
+
children: loadingCircleStyle
|
|
24
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
+
width: size,
|
|
27
|
+
height: size,
|
|
28
|
+
viewBox: "0 0 24 24",
|
|
29
|
+
fill: color
|
|
30
|
+
}, otherProps, {
|
|
31
|
+
className: iconClassName,
|
|
32
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
33
|
+
animationDuration: '1s',
|
|
34
|
+
animationIterationCount: 'infinite',
|
|
35
|
+
animationName: 'loadingCircle',
|
|
36
|
+
animationTimingFunction: 'linear'
|
|
37
|
+
} : {})
|
|
38
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
39
|
+
fillRule: "evenodd",
|
|
40
|
+
clipRule: "evenodd",
|
|
41
|
+
d: "M8.97 8.7l3.064-3.244L15.098 8.7H8.97zm-2.752 0l5.089-5.387a1 1 0 011.454 0L17.85 8.7h2.418a1 1 0 011 1v10.312a1 1 0 01-1 1H3.8a1 1 0 01-1-1V9.7a1 1 0 011-1h2.418zm2.225 6.464a1.334 1.334 0 11-2.667 0 1.334 1.334 0 012.667 0zm3.591 1.334a1.334 1.334 0 100-2.668 1.334 1.334 0 000 2.668zm6.259-1.334a1.334 1.334 0 11-2.668 0 1.334 1.334 0 012.668 0z"
|
|
42
|
+
})));
|
|
43
|
+
};
|
|
44
|
+
Notice.propTypes = {
|
|
45
|
+
iconClassName: PropTypes.string,
|
|
46
|
+
spin: PropTypes.bool,
|
|
47
|
+
color: PropTypes.string,
|
|
48
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
49
|
+
};
|
|
50
|
+
Notice.defaultProps = {
|
|
51
|
+
spin: false,
|
|
52
|
+
color: 'currentColor',
|
|
53
|
+
size: '1em'
|
|
54
|
+
};
|
|
55
|
+
export default Notice;
|
package/dist/es/index.js
CHANGED
|
@@ -85,6 +85,8 @@ export { default as TaLocation } from './icons/location';
|
|
|
85
85
|
export { default as TaShieldCheck } from './icons/shield-check';
|
|
86
86
|
export { default as TaShieldCross } from './icons/shield-cross';
|
|
87
87
|
export { default as TaShieldKeyhole } from './icons/shield-keyhole';
|
|
88
|
+
export { default as TaBell2Fill } from './icons/bell-2-fill';
|
|
89
|
+
export { default as TaBox } from './icons/box';
|
|
88
90
|
export { default as TaAnalysis } from './icons/analysis';
|
|
89
91
|
export { default as TaFilter } from './icons/filter';
|
|
90
92
|
export { default as TaFilter2 } from './icons/filter-2';
|
|
@@ -195,6 +197,7 @@ export { default as TaEyeOff } from './icons/eye-off';
|
|
|
195
197
|
export { default as TaEyeOffFill } from './icons/eye-off-fill';
|
|
196
198
|
export { default as TaDot } from './icons/dot';
|
|
197
199
|
export { default as TaAnchor } from './icons/anchor';
|
|
200
|
+
export { default as TaNotice } from './icons/notice';
|
|
198
201
|
export { default as TaChartLine } from './icons/chart-line';
|
|
199
202
|
export { default as TaChartBar } from './icons/chart-bar';
|
|
200
203
|
export { default as TaChartCum } from './icons/chart-cum';
|
|
@@ -261,6 +264,7 @@ export { default as TaInstall } from './icons/install';
|
|
|
261
264
|
export { default as TaExpand } from './icons/expand';
|
|
262
265
|
export { default as TaPinch } from './icons/pinch ';
|
|
263
266
|
export { default as TaNewIndicator } from './icons/new-indicator';
|
|
267
|
+
export { default as TaBoxOpen } from './icons/box-open';
|
|
264
268
|
export { default as TaReport } from './icons/report';
|
|
265
269
|
export { default as TaReportRemoval } from './icons/report-removal';
|
|
266
270
|
export { default as TaFileAdd } from './icons/file-add';
|
package/dist/index.d.ts
CHANGED
|
@@ -96,6 +96,8 @@ export const TaLocation: Icon;
|
|
|
96
96
|
export const TaShieldCheck: Icon;
|
|
97
97
|
export const TaShieldCross: Icon;
|
|
98
98
|
export const TaShieldKeyhole: Icon;
|
|
99
|
+
export const TaBell2Fill: Icon;
|
|
100
|
+
export const TaBox: Icon;
|
|
99
101
|
export const TaAnalysis: Icon;
|
|
100
102
|
export const TaFilter: Icon;
|
|
101
103
|
export const TaFilter2: Icon;
|
|
@@ -206,6 +208,7 @@ export const TaEyeOff: Icon;
|
|
|
206
208
|
export const TaEyeOffFill: Icon;
|
|
207
209
|
export const TaDot: Icon;
|
|
208
210
|
export const TaAnchor: Icon;
|
|
211
|
+
export const TaNotice: Icon;
|
|
209
212
|
export const TaChartLine: Icon;
|
|
210
213
|
export const TaChartBar: Icon;
|
|
211
214
|
export const TaChartCum: Icon;
|
|
@@ -272,6 +275,7 @@ export const TaInstall: Icon;
|
|
|
272
275
|
export const TaExpand: Icon;
|
|
273
276
|
export const TaPinch: Icon;
|
|
274
277
|
export const TaNewIndicator: Icon;
|
|
278
|
+
export const TaBoxOpen: Icon;
|
|
275
279
|
export const TaReport: Icon;
|
|
276
280
|
export const TaReportRemoval: Icon;
|
|
277
281
|
export const TaFileAdd: Icon;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
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); }
|
|
12
|
+
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; }
|
|
13
|
+
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; }
|
|
14
|
+
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; }
|
|
15
|
+
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; }
|
|
16
|
+
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; }
|
|
17
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
18
|
+
var Bell2Fill = function Bell2Fill(props) {
|
|
19
|
+
var color = props.color,
|
|
20
|
+
size = props.size,
|
|
21
|
+
spin = props.spin,
|
|
22
|
+
style = props.style,
|
|
23
|
+
className = props.className,
|
|
24
|
+
iconClassName = props.iconClassName,
|
|
25
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
26
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
27
|
+
role: "img",
|
|
28
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
29
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
30
|
+
children: loadingCircleStyle
|
|
31
|
+
}), /*#__PURE__*/_react["default"].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
|
+
className: iconClassName,
|
|
39
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
40
|
+
animationDuration: '1s',
|
|
41
|
+
animationIterationCount: 'infinite',
|
|
42
|
+
animationName: 'loadingCircle',
|
|
43
|
+
animationTimingFunction: 'linear'
|
|
44
|
+
} : {})
|
|
45
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
46
|
+
d: "M7.308 3.966L5.944 2.602a9.99 9.99 0 00-3.928 7.486h1.907a8.053 8.053 0 013.385-6.122zm12.769 6.122h1.907a9.966 9.966 0 00-3.937-7.486l-1.364 1.364a8.035 8.035 0 013.394 6.122zm-1.878.478a6.195 6.195 0 00-4.767-6.026v-.65c0-.792-.64-1.43-1.43-1.43-.792 0-1.43.64-1.43 1.43v.65a6.194 6.194 0 00-4.767 6.026v5.245l-1.907 1.908v.954h16.211v-.954l-1.907-1.908v-5.245h-.003zM12 21.532a1.9 1.9 0 001.755-1.163c.097-.23.153-.475.153-.742h-3.816c0 1.047.858 1.905 1.908 1.905z"
|
|
47
|
+
})));
|
|
48
|
+
};
|
|
49
|
+
Bell2Fill.propTypes = {
|
|
50
|
+
iconClassName: _propTypes["default"].string,
|
|
51
|
+
spin: _propTypes["default"].bool,
|
|
52
|
+
color: _propTypes["default"].string,
|
|
53
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
54
|
+
};
|
|
55
|
+
Bell2Fill.defaultProps = {
|
|
56
|
+
spin: false,
|
|
57
|
+
color: 'currentColor',
|
|
58
|
+
size: '1em'
|
|
59
|
+
};
|
|
60
|
+
var _default = Bell2Fill;
|
|
61
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
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); }
|
|
12
|
+
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; }
|
|
13
|
+
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; }
|
|
14
|
+
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; }
|
|
15
|
+
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; }
|
|
16
|
+
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; }
|
|
17
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
18
|
+
var BoxOpen = function BoxOpen(props) {
|
|
19
|
+
var color = props.color,
|
|
20
|
+
size = props.size,
|
|
21
|
+
spin = props.spin,
|
|
22
|
+
style = props.style,
|
|
23
|
+
className = props.className,
|
|
24
|
+
iconClassName = props.iconClassName,
|
|
25
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
26
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
27
|
+
role: "img",
|
|
28
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
29
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
30
|
+
children: loadingCircleStyle
|
|
31
|
+
}), /*#__PURE__*/_react["default"].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
|
+
className: iconClassName,
|
|
39
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
40
|
+
animationDuration: '1s',
|
|
41
|
+
animationIterationCount: 'infinite',
|
|
42
|
+
animationName: 'loadingCircle',
|
|
43
|
+
animationTimingFunction: 'linear'
|
|
44
|
+
} : {})
|
|
45
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
46
|
+
d: "M9.616 1.219l.012.014 2.474 3.056 2.473-3.053.012-.014a.636.636 0 01.78-.143l8.306 4.442.016.009a.607.607 0 01.173.914l-2.686 3.28 1.453 3.296a.608.608 0 01-.28.785l-.017.008-1.707.832c.04.092.06.19.063.29V18.291c0 .144-.04.286-.116.41a.808.808 0 01-.316.294l-.018.01-7.97 3.91a.828.828 0 01-.71.01l-.021-.01-7.958-3.91a.81.81 0 01-.323-.287.787.787 0 01-.126-.407v-3.357a.93.93 0 010-.021l-1.86-.906-.015-.008a.608.608 0 01-.28-.785l1.642-3.727-2.48-3.058a.608.608 0 01.18-.915l.015-.009 8.51-4.452a.636.636 0 01.774.146zm2.223 13.726l-1.036 2.95-.006.016a.631.631 0 01-.866.334L4.76 15.727v2.07l7.142 3.511 7.156-3.51v-2.39l-5.386 2.622a.63.63 0 01-.866-.334l-.006-.016-.961-2.735zM3.88 10.67l-1.032 2.342 6.785 3.304.882-2.512L3.88 10.67zm15.843-.214l-6.636 3.134.883 2.512 6.785-3.304-1.032-2.342zM12.12 5.764L4.797 9.33l6.778 3.202 7.191-3.397-6.646-3.37zm3.207-2.887l-1.56 1.925 6.607 3.35 1.467-1.792-6.514-3.483zm-6.456-.01L2.16 6.379l1.426 1.758 6.849-3.335L8.87 2.868z"
|
|
47
|
+
})));
|
|
48
|
+
};
|
|
49
|
+
BoxOpen.propTypes = {
|
|
50
|
+
iconClassName: _propTypes["default"].string,
|
|
51
|
+
spin: _propTypes["default"].bool,
|
|
52
|
+
color: _propTypes["default"].string,
|
|
53
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
54
|
+
};
|
|
55
|
+
BoxOpen.defaultProps = {
|
|
56
|
+
spin: false,
|
|
57
|
+
color: 'currentColor',
|
|
58
|
+
size: '1em'
|
|
59
|
+
};
|
|
60
|
+
var _default = BoxOpen;
|
|
61
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
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); }
|
|
12
|
+
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; }
|
|
13
|
+
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; }
|
|
14
|
+
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; }
|
|
15
|
+
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; }
|
|
16
|
+
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; }
|
|
17
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
18
|
+
var Box = function Box(props) {
|
|
19
|
+
var color = props.color,
|
|
20
|
+
size = props.size,
|
|
21
|
+
spin = props.spin,
|
|
22
|
+
style = props.style,
|
|
23
|
+
className = props.className,
|
|
24
|
+
iconClassName = props.iconClassName,
|
|
25
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
26
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
27
|
+
role: "img",
|
|
28
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
29
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
30
|
+
children: loadingCircleStyle
|
|
31
|
+
}), /*#__PURE__*/_react["default"].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
|
+
className: iconClassName,
|
|
39
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
40
|
+
animationDuration: '1s',
|
|
41
|
+
animationIterationCount: 'infinite',
|
|
42
|
+
animationName: 'loadingCircle',
|
|
43
|
+
animationTimingFunction: 'linear'
|
|
44
|
+
} : {})
|
|
45
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
46
|
+
d: "M21.954 6.888v-.046c0-.091-.045-.137-.045-.183l-1.318-3.013c-.455-1.005-1.41-1.644-2.5-1.644H5.864c-1.091-.045-2.046.594-2.5 1.598L2.045 6.614C2 6.659 2 6.75 2 6.796v12.465A2.741 2.741 0 004.727 22h14.546c1.5 0 2.727-1.233 2.727-2.74V6.98c-.046-.046-.046-.091-.046-.091zm-3.09-2.557l.772 1.735h-4.5V3.783h2.91c.363 0 .681.228.818.548zm-5.546 6.757h-2.727V3.783h2.727v7.305zM5.045 4.331a.898.898 0 01.819-.548h2.909v2.283h-4.5l.772-1.735zm15.091 14.975c0 .502-.409.913-.909.913H4.682c-.5 0-.91-.41-.91-.913V7.892h5v3.196c0 1.005.819 1.826 1.819 1.826h2.727c1 0 1.818-.822 1.818-1.826V7.892h5v11.414z"
|
|
47
|
+
})));
|
|
48
|
+
};
|
|
49
|
+
Box.propTypes = {
|
|
50
|
+
iconClassName: _propTypes["default"].string,
|
|
51
|
+
spin: _propTypes["default"].bool,
|
|
52
|
+
color: _propTypes["default"].string,
|
|
53
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
54
|
+
};
|
|
55
|
+
Box.defaultProps = {
|
|
56
|
+
spin: false,
|
|
57
|
+
color: 'currentColor',
|
|
58
|
+
size: '1em'
|
|
59
|
+
};
|
|
60
|
+
var _default = Box;
|
|
61
|
+
exports["default"] = _default;
|
package/dist/lib/icons/link.js
CHANGED
|
@@ -45,7 +45,7 @@ var Link = function Link(props) {
|
|
|
45
45
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
46
46
|
d: "M4.222 11.293l2.121-2.121 1.414 1.414-2.121 2.121a4 4 0 005.657 5.657l2.121-2.121 1.414 1.414-2.121 2.121a6 6 0 01-8.485-8.485z"
|
|
47
47
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
48
|
-
d: "M18.364 11.293l-2.122 2.121 1.415 1.414 2.121-2.12a6 6 0 00-8.485-8.486L9.17 6.343l1.415 1.414 2.121-2.
|
|
48
|
+
d: "M18.364 11.293l-2.122 2.121 1.415 1.414 2.121-2.12a6 6 0 00-8.485-8.486L9.17 6.343l1.415 1.414 2.121-2.12a4 4 0 115.657 5.656z"
|
|
49
49
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
50
50
|
d: "M14.121 8.464l-5.657 5.657 1.415 1.415 5.656-5.657-1.414-1.415z"
|
|
51
51
|
})));
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName"];
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
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); }
|
|
12
|
+
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; }
|
|
13
|
+
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; }
|
|
14
|
+
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; }
|
|
15
|
+
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; }
|
|
16
|
+
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; }
|
|
17
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
18
|
+
var Notice = function Notice(props) {
|
|
19
|
+
var color = props.color,
|
|
20
|
+
size = props.size,
|
|
21
|
+
spin = props.spin,
|
|
22
|
+
style = props.style,
|
|
23
|
+
className = props.className,
|
|
24
|
+
iconClassName = props.iconClassName,
|
|
25
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
26
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
27
|
+
role: "img",
|
|
28
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
29
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
30
|
+
children: loadingCircleStyle
|
|
31
|
+
}), /*#__PURE__*/_react["default"].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
|
+
className: iconClassName,
|
|
39
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
40
|
+
animationDuration: '1s',
|
|
41
|
+
animationIterationCount: 'infinite',
|
|
42
|
+
animationName: 'loadingCircle',
|
|
43
|
+
animationTimingFunction: 'linear'
|
|
44
|
+
} : {})
|
|
45
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
46
|
+
fillRule: "evenodd",
|
|
47
|
+
clipRule: "evenodd",
|
|
48
|
+
d: "M8.97 8.7l3.064-3.244L15.098 8.7H8.97zm-2.752 0l5.089-5.387a1 1 0 011.454 0L17.85 8.7h2.418a1 1 0 011 1v10.312a1 1 0 01-1 1H3.8a1 1 0 01-1-1V9.7a1 1 0 011-1h2.418zm2.225 6.464a1.334 1.334 0 11-2.667 0 1.334 1.334 0 012.667 0zm3.591 1.334a1.334 1.334 0 100-2.668 1.334 1.334 0 000 2.668zm6.259-1.334a1.334 1.334 0 11-2.668 0 1.334 1.334 0 012.668 0z"
|
|
49
|
+
})));
|
|
50
|
+
};
|
|
51
|
+
Notice.propTypes = {
|
|
52
|
+
iconClassName: _propTypes["default"].string,
|
|
53
|
+
spin: _propTypes["default"].bool,
|
|
54
|
+
color: _propTypes["default"].string,
|
|
55
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
56
|
+
};
|
|
57
|
+
Notice.defaultProps = {
|
|
58
|
+
spin: false,
|
|
59
|
+
color: 'currentColor',
|
|
60
|
+
size: '1em'
|
|
61
|
+
};
|
|
62
|
+
var _default = Notice;
|
|
63
|
+
exports["default"] = _default;
|
package/dist/lib/index.js
CHANGED
|
@@ -153,6 +153,12 @@ Object.defineProperty(exports, "TaBell", {
|
|
|
153
153
|
return _bell["default"];
|
|
154
154
|
}
|
|
155
155
|
});
|
|
156
|
+
Object.defineProperty(exports, "TaBell2Fill", {
|
|
157
|
+
enumerable: true,
|
|
158
|
+
get: function get() {
|
|
159
|
+
return _bell2Fill["default"];
|
|
160
|
+
}
|
|
161
|
+
});
|
|
156
162
|
Object.defineProperty(exports, "TaBook", {
|
|
157
163
|
enumerable: true,
|
|
158
164
|
get: function get() {
|
|
@@ -183,6 +189,18 @@ Object.defineProperty(exports, "TaBooleanSm", {
|
|
|
183
189
|
return _booleanSm["default"];
|
|
184
190
|
}
|
|
185
191
|
});
|
|
192
|
+
Object.defineProperty(exports, "TaBox", {
|
|
193
|
+
enumerable: true,
|
|
194
|
+
get: function get() {
|
|
195
|
+
return _box["default"];
|
|
196
|
+
}
|
|
197
|
+
});
|
|
198
|
+
Object.defineProperty(exports, "TaBoxOpen", {
|
|
199
|
+
enumerable: true,
|
|
200
|
+
get: function get() {
|
|
201
|
+
return _boxOpen["default"];
|
|
202
|
+
}
|
|
203
|
+
});
|
|
186
204
|
Object.defineProperty(exports, "TaCalendar", {
|
|
187
205
|
enumerable: true,
|
|
188
206
|
get: function get() {
|
|
@@ -1233,6 +1251,12 @@ Object.defineProperty(exports, "TaNewIndicator", {
|
|
|
1233
1251
|
return _newIndicator["default"];
|
|
1234
1252
|
}
|
|
1235
1253
|
});
|
|
1254
|
+
Object.defineProperty(exports, "TaNotice", {
|
|
1255
|
+
enumerable: true,
|
|
1256
|
+
get: function get() {
|
|
1257
|
+
return _notice["default"];
|
|
1258
|
+
}
|
|
1259
|
+
});
|
|
1236
1260
|
Object.defineProperty(exports, "TaNumSm", {
|
|
1237
1261
|
enumerable: true,
|
|
1238
1262
|
get: function get() {
|
|
@@ -2046,6 +2070,8 @@ var _location = _interopRequireDefault(require("./icons/location"));
|
|
|
2046
2070
|
var _shieldCheck = _interopRequireDefault(require("./icons/shield-check"));
|
|
2047
2071
|
var _shieldCross = _interopRequireDefault(require("./icons/shield-cross"));
|
|
2048
2072
|
var _shieldKeyhole = _interopRequireDefault(require("./icons/shield-keyhole"));
|
|
2073
|
+
var _bell2Fill = _interopRequireDefault(require("./icons/bell-2-fill"));
|
|
2074
|
+
var _box = _interopRequireDefault(require("./icons/box"));
|
|
2049
2075
|
var _analysis = _interopRequireDefault(require("./icons/analysis"));
|
|
2050
2076
|
var _filter = _interopRequireDefault(require("./icons/filter"));
|
|
2051
2077
|
var _filter2 = _interopRequireDefault(require("./icons/filter-2"));
|
|
@@ -2156,6 +2182,7 @@ var _eyeOff = _interopRequireDefault(require("./icons/eye-off"));
|
|
|
2156
2182
|
var _eyeOffFill = _interopRequireDefault(require("./icons/eye-off-fill"));
|
|
2157
2183
|
var _dot = _interopRequireDefault(require("./icons/dot"));
|
|
2158
2184
|
var _anchor = _interopRequireDefault(require("./icons/anchor"));
|
|
2185
|
+
var _notice = _interopRequireDefault(require("./icons/notice"));
|
|
2159
2186
|
var _chartLine = _interopRequireDefault(require("./icons/chart-line"));
|
|
2160
2187
|
var _chartBar = _interopRequireDefault(require("./icons/chart-bar"));
|
|
2161
2188
|
var _chartCum = _interopRequireDefault(require("./icons/chart-cum"));
|
|
@@ -2222,6 +2249,7 @@ var _install = _interopRequireDefault(require("./icons/install"));
|
|
|
2222
2249
|
var _expand = _interopRequireDefault(require("./icons/expand"));
|
|
2223
2250
|
var _pinch = _interopRequireDefault(require("./icons/pinch "));
|
|
2224
2251
|
var _newIndicator = _interopRequireDefault(require("./icons/new-indicator"));
|
|
2252
|
+
var _boxOpen = _interopRequireDefault(require("./icons/box-open"));
|
|
2225
2253
|
var _report = _interopRequireDefault(require("./icons/report"));
|
|
2226
2254
|
var _reportRemoval = _interopRequireDefault(require("./icons/report-removal"));
|
|
2227
2255
|
var _fileAdd = _interopRequireDefault(require("./icons/file-add"));
|