@tant/icons 1.2.4 → 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/notice.js +55 -0
- package/dist/es/index.js +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/lib/icons/bell-2-fill.js +61 -0
- package/dist/lib/icons/notice.js +63 -0
- package/dist/lib/index.js +14 -0
- package/dist/tant-icons.cjs.js +1055 -961
- package/dist/tant-icons.esm.js +1054 -962
- 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,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,7 @@ 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';
|
|
88
89
|
export { default as TaBox } from './icons/box';
|
|
89
90
|
export { default as TaAnalysis } from './icons/analysis';
|
|
90
91
|
export { default as TaFilter } from './icons/filter';
|
|
@@ -196,6 +197,7 @@ export { default as TaEyeOff } from './icons/eye-off';
|
|
|
196
197
|
export { default as TaEyeOffFill } from './icons/eye-off-fill';
|
|
197
198
|
export { default as TaDot } from './icons/dot';
|
|
198
199
|
export { default as TaAnchor } from './icons/anchor';
|
|
200
|
+
export { default as TaNotice } from './icons/notice';
|
|
199
201
|
export { default as TaChartLine } from './icons/chart-line';
|
|
200
202
|
export { default as TaChartBar } from './icons/chart-bar';
|
|
201
203
|
export { default as TaChartCum } from './icons/chart-cum';
|
package/dist/index.d.ts
CHANGED
|
@@ -96,6 +96,7 @@ 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;
|
|
99
100
|
export const TaBox: Icon;
|
|
100
101
|
export const TaAnalysis: Icon;
|
|
101
102
|
export const TaFilter: Icon;
|
|
@@ -207,6 +208,7 @@ export const TaEyeOff: Icon;
|
|
|
207
208
|
export const TaEyeOffFill: Icon;
|
|
208
209
|
export const TaDot: Icon;
|
|
209
210
|
export const TaAnchor: Icon;
|
|
211
|
+
export const TaNotice: Icon;
|
|
210
212
|
export const TaChartLine: Icon;
|
|
211
213
|
export const TaChartBar: Icon;
|
|
212
214
|
export const TaChartCum: 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,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() {
|
|
@@ -1245,6 +1251,12 @@ Object.defineProperty(exports, "TaNewIndicator", {
|
|
|
1245
1251
|
return _newIndicator["default"];
|
|
1246
1252
|
}
|
|
1247
1253
|
});
|
|
1254
|
+
Object.defineProperty(exports, "TaNotice", {
|
|
1255
|
+
enumerable: true,
|
|
1256
|
+
get: function get() {
|
|
1257
|
+
return _notice["default"];
|
|
1258
|
+
}
|
|
1259
|
+
});
|
|
1248
1260
|
Object.defineProperty(exports, "TaNumSm", {
|
|
1249
1261
|
enumerable: true,
|
|
1250
1262
|
get: function get() {
|
|
@@ -2058,6 +2070,7 @@ var _location = _interopRequireDefault(require("./icons/location"));
|
|
|
2058
2070
|
var _shieldCheck = _interopRequireDefault(require("./icons/shield-check"));
|
|
2059
2071
|
var _shieldCross = _interopRequireDefault(require("./icons/shield-cross"));
|
|
2060
2072
|
var _shieldKeyhole = _interopRequireDefault(require("./icons/shield-keyhole"));
|
|
2073
|
+
var _bell2Fill = _interopRequireDefault(require("./icons/bell-2-fill"));
|
|
2061
2074
|
var _box = _interopRequireDefault(require("./icons/box"));
|
|
2062
2075
|
var _analysis = _interopRequireDefault(require("./icons/analysis"));
|
|
2063
2076
|
var _filter = _interopRequireDefault(require("./icons/filter"));
|
|
@@ -2169,6 +2182,7 @@ var _eyeOff = _interopRequireDefault(require("./icons/eye-off"));
|
|
|
2169
2182
|
var _eyeOffFill = _interopRequireDefault(require("./icons/eye-off-fill"));
|
|
2170
2183
|
var _dot = _interopRequireDefault(require("./icons/dot"));
|
|
2171
2184
|
var _anchor = _interopRequireDefault(require("./icons/anchor"));
|
|
2185
|
+
var _notice = _interopRequireDefault(require("./icons/notice"));
|
|
2172
2186
|
var _chartLine = _interopRequireDefault(require("./icons/chart-line"));
|
|
2173
2187
|
var _chartBar = _interopRequireDefault(require("./icons/chart-bar"));
|
|
2174
2188
|
var _chartCum = _interopRequireDefault(require("./icons/chart-cum"));
|