@tant/icons 1.22.36 → 1.22.37

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.
@@ -0,0 +1,75 @@
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 ConnectorJdbc = function ConnectorJdbc(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
+ fillRule: "evenodd",
49
+ clipRule: "evenodd",
50
+ d: "M21 4.44l-1.512 1.512a5.094 5.094 0 01-.648 6.408l-2.16 2.16-7.2-7.2 2.16-2.16a5.094 5.094 0 016.408-.648L19.56 3 21 4.44zM17.4 6.6a3.055 3.055 0 00-4.32 0l-.72.72 4.32 4.32.72-.72a3.055 3.055 0 000-4.32z"
51
+ }), /*#__PURE__*/React.createElement("path", {
52
+ d: "M13.963 18.198c.18 0 .326.005.497.16.17.154.256.435.256.841.02.252-.036.489-.166.711a.626.626 0 01-.573.334h-.662v-2.046h.648z"
53
+ }), /*#__PURE__*/React.createElement("path", {
54
+ d: "M17.202 19.417c.14 0 .256.029.347.087.09.058.135.155.135.29 0 .155-.045.271-.135.349-.09.077-.222.116-.393.116h-.828v-.842h.874z"
55
+ }), /*#__PURE__*/React.createElement("path", {
56
+ d: "M17.111 18.213c.171-.01.297.014.377.072.08.058.12.145.12.26a.29.29 0 01-.135.263.778.778 0 01-.346.087h-.799v-.682h.783z"
57
+ }), /*#__PURE__*/React.createElement("path", {
58
+ fillRule: "evenodd",
59
+ clipRule: "evenodd",
60
+ d: "M22.5 22.5H9v-2.176a5.084 5.084 0 01-3.048-.836L4.44 21 3 19.56l1.512-1.512a5.094 5.094 0 01.648-6.408l2.16-2.16 1.44 1.44 1.44-1.44 1.44 1.44-1.44 1.44 1.44 1.44 1.44-1.44 1.44 1.44-1.44 1.44.76.76h8.66v6.5zM10.96 16l-3.64-3.64-.72.72a3.055 3.055 0 000 4.32c.657.658 1.54.95 2.4.882V16h1.96zm.547 3.88a.572.572 0 01-.06.32c-.05.097-.156.146-.317.146-.18-.03-.29-.092-.331-.189-.04-.096-.06-.28-.06-.552h-.634c0 .416.046.702.136.857.151.27.468.406.95.406.33 0 .582-.083.752-.247.171-.164.256-.411.256-.74l-.014-2.22h-.678v2.22zm8.557-2.276a1.362 1.362 0 00-1.069.406c-.291.29-.437.701-.437 1.233.02.542.16.948.422 1.219.26.27.618.406 1.07.406.411-.02.733-.126.964-.32.23-.193.381-.468.452-.826h-.678c-.05.193-.098.313-.257.435a.662.662 0 01-.466.145c-.274-.004-.444-.116-.618-.32-.193-.226-.195-.432-.196-.725 0-.357.008-.635.286-.87.168-.143.304-.212.527-.218.233-.007.401.038.558.203.101.107.126.18.166.334h.692c.04-.232-.074-.474-.345-.726-.271-.251-.629-.377-1.07-.377zm-7.413 3.176h1.402c.482 0 .839-.188 1.07-.565.18-.29.276-.644.286-1.06.05-.3-.036-.623-.257-.971-.22-.349-.577-.523-1.069-.523h-1.432v3.12zm3.029 0h1.37c.352-.01.584-.033.694-.072.11-.039.222-.106.332-.203a.873.873 0 00.286-.639.806.806 0 00-.105-.449.712.712 0 00-.392-.32c.07 0 .156-.057.256-.173a.683.683 0 00.15-.465c-.002-.219-.03-.339-.21-.523-.181-.183-.448-.275-.8-.275H15.68v3.12z"
61
+ }))));
62
+ };
63
+ ConnectorJdbc.propTypes = {
64
+ iconClassName: PropTypes.string,
65
+ spin: PropTypes.bool,
66
+ color: PropTypes.string,
67
+ testid: PropTypes.string,
68
+ size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
69
+ };
70
+ ConnectorJdbc.defaultProps = {
71
+ spin: false,
72
+ color: 'currentColor',
73
+ size: '1em'
74
+ };
75
+ export default ConnectorJdbc;
package/dist/es/index.js CHANGED
@@ -371,6 +371,7 @@ export { default as TaBellRing } from './icons/bell-ring';
371
371
  export { default as TaBellPlus } from './icons/bell-plus';
372
372
  export { default as TaShapes } from './icons/shapes';
373
373
  export { default as TaRobotOff } from './icons/robot-off';
374
+ export { default as TaConnectorJdbc } from './icons/connector-jdbc';
374
375
  export { default as TaFontSize } from './icons/font-size';
375
376
  export { default as TaFontBold } from './icons/font-bold';
376
377
  export { default as TaFontItalic } from './icons/font- italic';
package/dist/index.d.ts CHANGED
@@ -383,6 +383,7 @@ export const TaBellRing: Icon;
383
383
  export const TaBellPlus: Icon;
384
384
  export const TaShapes: Icon;
385
385
  export const TaRobotOff: Icon;
386
+ export const TaConnectorJdbc: Icon;
386
387
  export const TaFontSize: Icon;
387
388
  export const TaFontBold: Icon;
388
389
  export const TaFontItalic: Icon;
@@ -0,0 +1,82 @@
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 ConnectorJdbc = function ConnectorJdbc(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
+ fillRule: "evenodd",
56
+ clipRule: "evenodd",
57
+ d: "M21 4.44l-1.512 1.512a5.094 5.094 0 01-.648 6.408l-2.16 2.16-7.2-7.2 2.16-2.16a5.094 5.094 0 016.408-.648L19.56 3 21 4.44zM17.4 6.6a3.055 3.055 0 00-4.32 0l-.72.72 4.32 4.32.72-.72a3.055 3.055 0 000-4.32z"
58
+ }), /*#__PURE__*/_react["default"].createElement("path", {
59
+ d: "M13.963 18.198c.18 0 .326.005.497.16.17.154.256.435.256.841.02.252-.036.489-.166.711a.626.626 0 01-.573.334h-.662v-2.046h.648z"
60
+ }), /*#__PURE__*/_react["default"].createElement("path", {
61
+ d: "M17.202 19.417c.14 0 .256.029.347.087.09.058.135.155.135.29 0 .155-.045.271-.135.349-.09.077-.222.116-.393.116h-.828v-.842h.874z"
62
+ }), /*#__PURE__*/_react["default"].createElement("path", {
63
+ d: "M17.111 18.213c.171-.01.297.014.377.072.08.058.12.145.12.26a.29.29 0 01-.135.263.778.778 0 01-.346.087h-.799v-.682h.783z"
64
+ }), /*#__PURE__*/_react["default"].createElement("path", {
65
+ fillRule: "evenodd",
66
+ clipRule: "evenodd",
67
+ d: "M22.5 22.5H9v-2.176a5.084 5.084 0 01-3.048-.836L4.44 21 3 19.56l1.512-1.512a5.094 5.094 0 01.648-6.408l2.16-2.16 1.44 1.44 1.44-1.44 1.44 1.44-1.44 1.44 1.44 1.44 1.44-1.44 1.44 1.44-1.44 1.44.76.76h8.66v6.5zM10.96 16l-3.64-3.64-.72.72a3.055 3.055 0 000 4.32c.657.658 1.54.95 2.4.882V16h1.96zm.547 3.88a.572.572 0 01-.06.32c-.05.097-.156.146-.317.146-.18-.03-.29-.092-.331-.189-.04-.096-.06-.28-.06-.552h-.634c0 .416.046.702.136.857.151.27.468.406.95.406.33 0 .582-.083.752-.247.171-.164.256-.411.256-.74l-.014-2.22h-.678v2.22zm8.557-2.276a1.362 1.362 0 00-1.069.406c-.291.29-.437.701-.437 1.233.02.542.16.948.422 1.219.26.27.618.406 1.07.406.411-.02.733-.126.964-.32.23-.193.381-.468.452-.826h-.678c-.05.193-.098.313-.257.435a.662.662 0 01-.466.145c-.274-.004-.444-.116-.618-.32-.193-.226-.195-.432-.196-.725 0-.357.008-.635.286-.87.168-.143.304-.212.527-.218.233-.007.401.038.558.203.101.107.126.18.166.334h.692c.04-.232-.074-.474-.345-.726-.271-.251-.629-.377-1.07-.377zm-7.413 3.176h1.402c.482 0 .839-.188 1.07-.565.18-.29.276-.644.286-1.06.05-.3-.036-.623-.257-.971-.22-.349-.577-.523-1.069-.523h-1.432v3.12zm3.029 0h1.37c.352-.01.584-.033.694-.072.11-.039.222-.106.332-.203a.873.873 0 00.286-.639.806.806 0 00-.105-.449.712.712 0 00-.392-.32c.07 0 .156-.057.256-.173a.683.683 0 00.15-.465c-.002-.219-.03-.339-.21-.523-.181-.183-.448-.275-.8-.275H15.68v3.12z"
68
+ }))));
69
+ };
70
+ ConnectorJdbc.propTypes = {
71
+ iconClassName: _propTypes["default"].string,
72
+ spin: _propTypes["default"].bool,
73
+ color: _propTypes["default"].string,
74
+ testid: _propTypes["default"].string,
75
+ size: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number])
76
+ };
77
+ ConnectorJdbc.defaultProps = {
78
+ spin: false,
79
+ color: 'currentColor',
80
+ size: '1em'
81
+ };
82
+ var _default = exports["default"] = ConnectorJdbc;
package/dist/lib/index.js CHANGED
@@ -687,6 +687,12 @@ Object.defineProperty(exports, "TaConfig", {
687
687
  return _config["default"];
688
688
  }
689
689
  });
690
+ Object.defineProperty(exports, "TaConnectorJdbc", {
691
+ enumerable: true,
692
+ get: function get() {
693
+ return _connectorJdbc["default"];
694
+ }
695
+ });
690
696
  Object.defineProperty(exports, "TaConsent", {
691
697
  enumerable: true,
692
698
  get: function get() {
@@ -4078,6 +4084,7 @@ var _bellRing = _interopRequireDefault(require("./icons/bell-ring"));
4078
4084
  var _bellPlus = _interopRequireDefault(require("./icons/bell-plus"));
4079
4085
  var _shapes = _interopRequireDefault(require("./icons/shapes"));
4080
4086
  var _robotOff = _interopRequireDefault(require("./icons/robot-off"));
4087
+ var _connectorJdbc = _interopRequireDefault(require("./icons/connector-jdbc"));
4081
4088
  var _fontSize = _interopRequireDefault(require("./icons/font-size"));
4082
4089
  var _fontBold = _interopRequireDefault(require("./icons/font-bold"));
4083
4090
  var _fontItalic = _interopRequireDefault(require("./icons/font- italic"));