@tant/icons 1.22.24 → 1.22.26
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/hlighted-block.js +1 -1
- package/dist/es/icons/python.js +67 -0
- package/dist/es/index.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/lib/icons/hlighted-block.js +1 -1
- package/dist/lib/icons/python.js +74 -0
- package/dist/lib/index.js +7 -0
- package/dist/tant-icons.cjs.js +1007 -950
- package/dist/tant-icons.esm.js +1007 -951
- package/package.json +1 -1
|
@@ -45,7 +45,7 @@ var HlightedBlock = function HlightedBlock(props) {
|
|
|
45
45
|
height: "24",
|
|
46
46
|
xmlns: "http://www.w3.org/2000/svg"
|
|
47
47
|
}, /*#__PURE__*/React.createElement("path", {
|
|
48
|
-
d: "
|
|
48
|
+
d: "M12.6 18.1a.9.9 0 010 1.8H4.4a.9.9 0 110-1.8h8.2zm7-4a.9.9 0 010 1.8H4.4a.9.9 0 110-1.8h15.2zm-.1-10a1 1 0 011 1v6a1 1 0 01-.898.995l-.102.005h-15l-.103-.005A1 1 0 013.5 11.1v-6a1 1 0 011-1h15zM5.3 10.3h13.4V5.9H5.3v4.4z"
|
|
49
49
|
}))));
|
|
50
50
|
};
|
|
51
51
|
HlightedBlock.propTypes = {
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
|
|
3
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
10
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import PropTypes from 'prop-types';
|
|
13
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
14
|
+
var Python = function Python(props) {
|
|
15
|
+
var color = props.color,
|
|
16
|
+
size = props.size,
|
|
17
|
+
spin = props.spin,
|
|
18
|
+
style = props.style,
|
|
19
|
+
className = props.className,
|
|
20
|
+
iconClassName = props.iconClassName,
|
|
21
|
+
testid = props.testid,
|
|
22
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
23
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
24
|
+
role: "img",
|
|
25
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
26
|
+
}, /*#__PURE__*/React.createElement("style", {
|
|
27
|
+
children: loadingCircleStyle
|
|
28
|
+
}), /*#__PURE__*/React.createElement("svg", _extends({
|
|
29
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
30
|
+
width: size,
|
|
31
|
+
height: size,
|
|
32
|
+
viewBox: "0 0 24 24",
|
|
33
|
+
fill: color
|
|
34
|
+
}, otherProps, {
|
|
35
|
+
className: iconClassName,
|
|
36
|
+
"data-testid": testid,
|
|
37
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
38
|
+
animationDuration: '1s',
|
|
39
|
+
animationIterationCount: 'infinite',
|
|
40
|
+
animationName: 'loadingCircle',
|
|
41
|
+
animationTimingFunction: 'linear'
|
|
42
|
+
} : {})
|
|
43
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
44
|
+
width: "24",
|
|
45
|
+
height: "24",
|
|
46
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
47
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
48
|
+
d: "M17.5 9v2a2 2 0 01-2 2h-7v7h7v-3.5H13a1 1 0 110-2h7V9h-2.5zm-9-5v3.5H11a1 1 0 110 2H4V15h2.5v-2a2 2 0 012-2h7V4h-7zm9 3H20a2 2 0 012 2v5.5a2 2 0 01-2 2h-2.5V20a2 2 0 01-2 2h-7a2 2 0 01-2-2v-3H4a2 2 0 01-2-2V9.5a2 2 0 012-2h2.5V4a2 2 0 012-2h7a2 2 0 012 2v3z"
|
|
49
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
50
|
+
d: "M11.5 5.75a1 1 0 11-2 0 1 1 0 012 0z"
|
|
51
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
52
|
+
d: "M14.5 18.25a1 1 0 11-2 0 1 1 0 012 0z"
|
|
53
|
+
}))));
|
|
54
|
+
};
|
|
55
|
+
Python.propTypes = {
|
|
56
|
+
iconClassName: PropTypes.string,
|
|
57
|
+
spin: PropTypes.bool,
|
|
58
|
+
color: PropTypes.string,
|
|
59
|
+
testid: PropTypes.string,
|
|
60
|
+
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
61
|
+
};
|
|
62
|
+
Python.defaultProps = {
|
|
63
|
+
spin: false,
|
|
64
|
+
color: 'currentColor',
|
|
65
|
+
size: '1em'
|
|
66
|
+
};
|
|
67
|
+
export default Python;
|
package/dist/es/index.js
CHANGED
|
@@ -358,6 +358,7 @@ export { default as TaGather } from './icons/gather';
|
|
|
358
358
|
export { default as TaBasics } from './icons/basics';
|
|
359
359
|
export { default as TaDialogue } from './icons/dialogue';
|
|
360
360
|
export { default as TaNewValue } from './icons/new-value';
|
|
361
|
+
export { default as TaPython } from './icons/python';
|
|
361
362
|
export { default as TaFontSize } from './icons/font-size';
|
|
362
363
|
export { default as TaFontBold } from './icons/font-bold';
|
|
363
364
|
export { default as TaFontItalic } from './icons/font- italic';
|
package/dist/index.d.ts
CHANGED
|
@@ -370,6 +370,7 @@ export const TaGather: Icon;
|
|
|
370
370
|
export const TaBasics: Icon;
|
|
371
371
|
export const TaDialogue: Icon;
|
|
372
372
|
export const TaNewValue: Icon;
|
|
373
|
+
export const TaPython: Icon;
|
|
373
374
|
export const TaFontSize: Icon;
|
|
374
375
|
export const TaFontBold: Icon;
|
|
375
376
|
export const TaFontItalic: Icon;
|
|
@@ -52,7 +52,7 @@ var HlightedBlock = function HlightedBlock(props) {
|
|
|
52
52
|
height: "24",
|
|
53
53
|
xmlns: "http://www.w3.org/2000/svg"
|
|
54
54
|
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
55
|
-
d: "
|
|
55
|
+
d: "M12.6 18.1a.9.9 0 010 1.8H4.4a.9.9 0 110-1.8h8.2zm7-4a.9.9 0 010 1.8H4.4a.9.9 0 110-1.8h15.2zm-.1-10a1 1 0 011 1v6a1 1 0 01-.898.995l-.102.005h-15l-.103-.005A1 1 0 013.5 11.1v-6a1 1 0 011-1h15zM5.3 10.3h13.4V5.9H5.3v4.4z"
|
|
56
56
|
}))));
|
|
57
57
|
};
|
|
58
58
|
HlightedBlock.propTypes = {
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
|
+
var _excluded = ["color", "size", "spin", "style", "className", "iconClassName", "testid"];
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
12
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
13
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
19
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
20
|
+
var loadingCircleStyle = '@keyframes loadingCircle { 100% { transform: rotate(360deg) }} ';
|
|
21
|
+
var Python = function Python(props) {
|
|
22
|
+
var color = props.color,
|
|
23
|
+
size = props.size,
|
|
24
|
+
spin = props.spin,
|
|
25
|
+
style = props.style,
|
|
26
|
+
className = props.className,
|
|
27
|
+
iconClassName = props.iconClassName,
|
|
28
|
+
testid = props.testid,
|
|
29
|
+
otherProps = _objectWithoutProperties(props, _excluded);
|
|
30
|
+
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
31
|
+
role: "img",
|
|
32
|
+
className: className ? 'tant-icon-span anticon ' + className : 'tant-icon-span anticon'
|
|
33
|
+
}, /*#__PURE__*/_react["default"].createElement("style", {
|
|
34
|
+
children: loadingCircleStyle
|
|
35
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", _extends({
|
|
36
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
37
|
+
width: size,
|
|
38
|
+
height: size,
|
|
39
|
+
viewBox: "0 0 24 24",
|
|
40
|
+
fill: color
|
|
41
|
+
}, otherProps, {
|
|
42
|
+
className: iconClassName,
|
|
43
|
+
"data-testid": testid,
|
|
44
|
+
style: _objectSpread(_objectSpread({}, style), spin ? {
|
|
45
|
+
animationDuration: '1s',
|
|
46
|
+
animationIterationCount: 'infinite',
|
|
47
|
+
animationName: 'loadingCircle',
|
|
48
|
+
animationTimingFunction: 'linear'
|
|
49
|
+
} : {})
|
|
50
|
+
}), /*#__PURE__*/_react["default"].createElement("svg", {
|
|
51
|
+
width: "24",
|
|
52
|
+
height: "24",
|
|
53
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
54
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
55
|
+
d: "M17.5 9v2a2 2 0 01-2 2h-7v7h7v-3.5H13a1 1 0 110-2h7V9h-2.5zm-9-5v3.5H11a1 1 0 110 2H4V15h2.5v-2a2 2 0 012-2h7V4h-7zm9 3H20a2 2 0 012 2v5.5a2 2 0 01-2 2h-2.5V20a2 2 0 01-2 2h-7a2 2 0 01-2-2v-3H4a2 2 0 01-2-2V9.5a2 2 0 012-2h2.5V4a2 2 0 012-2h7a2 2 0 012 2v3z"
|
|
56
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
57
|
+
d: "M11.5 5.75a1 1 0 11-2 0 1 1 0 012 0z"
|
|
58
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
59
|
+
d: "M14.5 18.25a1 1 0 11-2 0 1 1 0 012 0z"
|
|
60
|
+
}))));
|
|
61
|
+
};
|
|
62
|
+
Python.propTypes = {
|
|
63
|
+
iconClassName: _propTypes["default"].string,
|
|
64
|
+
spin: _propTypes["default"].bool,
|
|
65
|
+
color: _propTypes["default"].string,
|
|
66
|
+
testid: _propTypes["default"].string,
|
|
67
|
+
size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
|
|
68
|
+
};
|
|
69
|
+
Python.defaultProps = {
|
|
70
|
+
spin: false,
|
|
71
|
+
color: 'currentColor',
|
|
72
|
+
size: '1em'
|
|
73
|
+
};
|
|
74
|
+
var _default = exports["default"] = Python;
|
package/dist/lib/index.js
CHANGED
|
@@ -2661,6 +2661,12 @@ Object.defineProperty(exports, "TaPulse", {
|
|
|
2661
2661
|
return _pulse["default"];
|
|
2662
2662
|
}
|
|
2663
2663
|
});
|
|
2664
|
+
Object.defineProperty(exports, "TaPython", {
|
|
2665
|
+
enumerable: true,
|
|
2666
|
+
get: function get() {
|
|
2667
|
+
return _python["default"];
|
|
2668
|
+
}
|
|
2669
|
+
});
|
|
2664
2670
|
Object.defineProperty(exports, "TaQuotation", {
|
|
2665
2671
|
enumerable: true,
|
|
2666
2672
|
get: function get() {
|
|
@@ -3951,6 +3957,7 @@ var _gather = _interopRequireDefault(require("./icons/gather"));
|
|
|
3951
3957
|
var _basics = _interopRequireDefault(require("./icons/basics"));
|
|
3952
3958
|
var _dialogue = _interopRequireDefault(require("./icons/dialogue"));
|
|
3953
3959
|
var _newValue = _interopRequireDefault(require("./icons/new-value"));
|
|
3960
|
+
var _python = _interopRequireDefault(require("./icons/python"));
|
|
3954
3961
|
var _fontSize = _interopRequireDefault(require("./icons/font-size"));
|
|
3955
3962
|
var _fontBold = _interopRequireDefault(require("./icons/font-bold"));
|
|
3956
3963
|
var _fontItalic = _interopRequireDefault(require("./icons/font- italic"));
|