@tant/icons 1.3.7 → 1.3.8
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/edit-fill.js +2 -9
- package/dist/es/icons/m-event-cl.js +59 -0
- package/dist/es/icons/recurring.js +3 -3
- package/dist/es/index.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/lib/icons/edit-fill.js +2 -9
- package/dist/lib/icons/m-event-cl.js +67 -0
- package/dist/lib/icons/recurring.js +3 -3
- package/dist/lib/index.js +7 -0
- package/dist/tant-icons.cjs.js +722 -677
- package/dist/tant-icons.esm.js +722 -678
- package/package.json +1 -1
|
@@ -35,18 +35,11 @@ var EditFill = function EditFill(props) {
|
|
|
35
35
|
animationName: 'loadingCircle',
|
|
36
36
|
animationTimingFunction: 'linear'
|
|
37
37
|
} : {})
|
|
38
|
-
}), /*#__PURE__*/React.createElement("
|
|
39
|
-
clipPath: "url(#clip0_970_67)"
|
|
40
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
38
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
41
39
|
d: "M3 17.25L14.06 6.19l3.75 3.75L8.75 19H21v2H3v-3.75z"
|
|
42
40
|
}), /*#__PURE__*/React.createElement("path", {
|
|
43
41
|
d: "M20.71 5.63c.39.39.39 1.02 0 1.41l-1.83 1.83-3.75-3.75 1.83-1.83a.996.996 0 011.41 0l2.34 2.34z"
|
|
44
|
-
}))
|
|
45
|
-
id: "clip0_970_67"
|
|
46
|
-
}, /*#__PURE__*/React.createElement("rect", {
|
|
47
|
-
width: "24",
|
|
48
|
-
height: "24"
|
|
49
|
-
})))));
|
|
42
|
+
})));
|
|
50
43
|
};
|
|
51
44
|
EditFill.propTypes = {
|
|
52
45
|
iconClassName: PropTypes.string,
|
|
@@ -0,0 +1,59 @@
|
|
|
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 MEventCl = function MEventCl(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("circle", {
|
|
39
|
+
cx: "17",
|
|
40
|
+
cy: "7",
|
|
41
|
+
r: "5",
|
|
42
|
+
fill: "#F66C47"
|
|
43
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
44
|
+
d: "M2.727 13.472c-.819-.358-.794-1.527.038-1.85l13.596-5.266c.814-.316 1.613.49 1.29 1.302l-5.416 13.6c-.33.832-1.503.843-1.85.019l-2.148-5.1a1 1 0 00-.521-.529l-4.99-2.176z",
|
|
45
|
+
fill: "#1673F6"
|
|
46
|
+
})));
|
|
47
|
+
};
|
|
48
|
+
MEventCl.propTypes = {
|
|
49
|
+
iconClassName: PropTypes.string,
|
|
50
|
+
spin: PropTypes.bool,
|
|
51
|
+
color: PropTypes.string,
|
|
52
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
53
|
+
};
|
|
54
|
+
MEventCl.defaultProps = {
|
|
55
|
+
spin: false,
|
|
56
|
+
color: 'currentColor',
|
|
57
|
+
size: '1em'
|
|
58
|
+
};
|
|
59
|
+
export default MEventCl;
|
|
@@ -36,9 +36,9 @@ var Recurring = function Recurring(props) {
|
|
|
36
36
|
animationTimingFunction: 'linear'
|
|
37
37
|
} : {})
|
|
38
38
|
}), /*#__PURE__*/React.createElement("path", {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
d: "
|
|
39
|
+
d: "M7.046 7.05a7 7 0 0110.022.125h-1.119a1 1 0 100 2h3.535a1 1 0 001-1V4.639a1 1 0 10-2 0v1.124a9 9 0 00-12.852-.127A8.969 8.969 0 003 11.854a1 1 0 002 .032A6.969 6.969 0 017.046 7.05z"
|
|
40
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
41
|
+
d: "M20.988 12.036a1 1 0 10-2-.008 6.966 6.966 0 01-2.042 4.922 7 7 0 01-10.022-.125h1.119a1 1 0 000-2H4.508a1 1 0 00-1 1v3.536a1 1 0 002 0v-1.124c.04.043.082.085.124.127a9 9 0 0012.728 0 8.965 8.965 0 002.628-6.328z"
|
|
42
42
|
})));
|
|
43
43
|
};
|
|
44
44
|
Recurring.propTypes = {
|
package/dist/es/index.js
CHANGED
|
@@ -164,6 +164,7 @@ export { default as TaSpaceCl } from './icons/space-cl';
|
|
|
164
164
|
export { default as TaSpaceOpenCl } from './icons/space-open-cl';
|
|
165
165
|
export { default as TaPageCl } from './icons/page-cl';
|
|
166
166
|
export { default as TaPageOpenCl } from './icons/page-open-cl';
|
|
167
|
+
export { default as TaMEventCl } from './icons/m-event-cl';
|
|
167
168
|
export { default as TaInfo } from './icons/info';
|
|
168
169
|
export { default as TaInfoFill } from './icons/info-fill';
|
|
169
170
|
export { default as TaHelp } from './icons/help';
|
package/dist/index.d.ts
CHANGED
|
@@ -175,6 +175,7 @@ export const TaSpaceCl: Icon;
|
|
|
175
175
|
export const TaSpaceOpenCl: Icon;
|
|
176
176
|
export const TaPageCl: Icon;
|
|
177
177
|
export const TaPageOpenCl: Icon;
|
|
178
|
+
export const TaMEventCl: Icon;
|
|
178
179
|
export const TaInfo: Icon;
|
|
179
180
|
export const TaInfoFill: Icon;
|
|
180
181
|
export const TaHelp: Icon;
|
|
@@ -42,18 +42,11 @@ var EditFill = function EditFill(props) {
|
|
|
42
42
|
animationName: 'loadingCircle',
|
|
43
43
|
animationTimingFunction: 'linear'
|
|
44
44
|
} : {})
|
|
45
|
-
}), /*#__PURE__*/_react["default"].createElement("
|
|
46
|
-
clipPath: "url(#clip0_970_67)"
|
|
47
|
-
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
45
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
48
46
|
d: "M3 17.25L14.06 6.19l3.75 3.75L8.75 19H21v2H3v-3.75z"
|
|
49
47
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
50
48
|
d: "M20.71 5.63c.39.39.39 1.02 0 1.41l-1.83 1.83-3.75-3.75 1.83-1.83a.996.996 0 011.41 0l2.34 2.34z"
|
|
51
|
-
}))
|
|
52
|
-
id: "clip0_970_67"
|
|
53
|
-
}, /*#__PURE__*/_react["default"].createElement("rect", {
|
|
54
|
-
width: "24",
|
|
55
|
-
height: "24"
|
|
56
|
-
})))));
|
|
49
|
+
})));
|
|
57
50
|
};
|
|
58
51
|
EditFill.propTypes = {
|
|
59
52
|
iconClassName: _propTypes["default"].string,
|
|
@@ -0,0 +1,67 @@
|
|
|
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 MEventCl = function MEventCl(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("circle", {
|
|
46
|
+
cx: "17",
|
|
47
|
+
cy: "7",
|
|
48
|
+
r: "5",
|
|
49
|
+
fill: "#F66C47"
|
|
50
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
51
|
+
d: "M2.727 13.472c-.819-.358-.794-1.527.038-1.85l13.596-5.266c.814-.316 1.613.49 1.29 1.302l-5.416 13.6c-.33.832-1.503.843-1.85.019l-2.148-5.1a1 1 0 00-.521-.529l-4.99-2.176z",
|
|
52
|
+
fill: "#1673F6"
|
|
53
|
+
})));
|
|
54
|
+
};
|
|
55
|
+
MEventCl.propTypes = {
|
|
56
|
+
iconClassName: _propTypes["default"].string,
|
|
57
|
+
spin: _propTypes["default"].bool,
|
|
58
|
+
color: _propTypes["default"].string,
|
|
59
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
60
|
+
};
|
|
61
|
+
MEventCl.defaultProps = {
|
|
62
|
+
spin: false,
|
|
63
|
+
color: 'currentColor',
|
|
64
|
+
size: '1em'
|
|
65
|
+
};
|
|
66
|
+
var _default = MEventCl;
|
|
67
|
+
exports["default"] = _default;
|
|
@@ -43,9 +43,9 @@ var Recurring = function Recurring(props) {
|
|
|
43
43
|
animationTimingFunction: 'linear'
|
|
44
44
|
} : {})
|
|
45
45
|
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
d: "
|
|
46
|
+
d: "M7.046 7.05a7 7 0 0110.022.125h-1.119a1 1 0 100 2h3.535a1 1 0 001-1V4.639a1 1 0 10-2 0v1.124a9 9 0 00-12.852-.127A8.969 8.969 0 003 11.854a1 1 0 002 .032A6.969 6.969 0 017.046 7.05z"
|
|
47
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
48
|
+
d: "M20.988 12.036a1 1 0 10-2-.008 6.966 6.966 0 01-2.042 4.922 7 7 0 01-10.022-.125h1.119a1 1 0 000-2H4.508a1 1 0 00-1 1v3.536a1 1 0 002 0v-1.124c.04.043.082.085.124.127a9 9 0 0012.728 0 8.965 8.965 0 002.628-6.328z"
|
|
49
49
|
})));
|
|
50
50
|
};
|
|
51
51
|
Recurring.propTypes = {
|
package/dist/lib/index.js
CHANGED
|
@@ -1179,6 +1179,12 @@ Object.defineProperty(exports, "TaMEvent", {
|
|
|
1179
1179
|
return _mEvent["default"];
|
|
1180
1180
|
}
|
|
1181
1181
|
});
|
|
1182
|
+
Object.defineProperty(exports, "TaMEventCl", {
|
|
1183
|
+
enumerable: true,
|
|
1184
|
+
get: function get() {
|
|
1185
|
+
return _mEventCl["default"];
|
|
1186
|
+
}
|
|
1187
|
+
});
|
|
1182
1188
|
Object.defineProperty(exports, "TaMFlow", {
|
|
1183
1189
|
enumerable: true,
|
|
1184
1190
|
get: function get() {
|
|
@@ -2167,6 +2173,7 @@ var _spaceCl = _interopRequireDefault(require("./icons/space-cl"));
|
|
|
2167
2173
|
var _spaceOpenCl = _interopRequireDefault(require("./icons/space-open-cl"));
|
|
2168
2174
|
var _pageCl = _interopRequireDefault(require("./icons/page-cl"));
|
|
2169
2175
|
var _pageOpenCl = _interopRequireDefault(require("./icons/page-open-cl"));
|
|
2176
|
+
var _mEventCl = _interopRequireDefault(require("./icons/m-event-cl"));
|
|
2170
2177
|
var _info = _interopRequireDefault(require("./icons/info"));
|
|
2171
2178
|
var _infoFill = _interopRequireDefault(require("./icons/info-fill"));
|
|
2172
2179
|
var _help = _interopRequireDefault(require("./icons/help"));
|