@lobehub/icons 1.98.0 → 2.1.0

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.
Files changed (93) hide show
  1. package/README.md +67 -67
  2. package/es/FastGPT/components/Avatar.d.ts +5 -0
  3. package/es/FastGPT/components/Avatar.js +30 -0
  4. package/es/FastGPT/components/Color.d.ts +3 -0
  5. package/es/FastGPT/components/Color.js +81 -0
  6. package/es/FastGPT/components/Combine.d.ts +7 -0
  7. package/es/FastGPT/components/Combine.js +32 -0
  8. package/es/FastGPT/components/Mono.d.ts +3 -0
  9. package/es/FastGPT/components/Mono.js +42 -0
  10. package/es/FastGPT/components/Text.d.ts +3 -0
  11. package/es/FastGPT/components/Text.js +39 -0
  12. package/es/FastGPT/index.d.ts +15 -0
  13. package/es/FastGPT/index.js +14 -0
  14. package/es/FastGPT/style.d.ts +4 -0
  15. package/es/FastGPT/style.js +4 -0
  16. package/es/Jimeng/components/Avatar.d.ts +5 -0
  17. package/es/Jimeng/components/Avatar.js +30 -0
  18. package/es/Jimeng/components/Color.d.ts +3 -0
  19. package/es/Jimeng/components/Color.js +184 -0
  20. package/es/Jimeng/components/Combine.d.ts +7 -0
  21. package/es/Jimeng/components/Combine.js +32 -0
  22. package/es/Jimeng/components/Mono.d.ts +3 -0
  23. package/es/Jimeng/components/Mono.js +40 -0
  24. package/es/Jimeng/components/Text.d.ts +3 -0
  25. package/es/Jimeng/components/Text.js +39 -0
  26. package/es/Jimeng/index.d.ts +15 -0
  27. package/es/Jimeng/index.js +14 -0
  28. package/es/Jimeng/style.d.ts +4 -0
  29. package/es/Jimeng/style.js +4 -0
  30. package/es/MetaAI/components/Avatar.d.ts +5 -0
  31. package/es/MetaAI/components/Avatar.js +30 -0
  32. package/es/MetaAI/components/Color.d.ts +3 -0
  33. package/es/MetaAI/components/Color.js +123 -0
  34. package/es/MetaAI/components/Combine.d.ts +7 -0
  35. package/es/MetaAI/components/Combine.js +32 -0
  36. package/es/MetaAI/components/Mono.d.ts +3 -0
  37. package/es/MetaAI/components/Mono.js +41 -0
  38. package/es/MetaAI/components/Text.d.ts +3 -0
  39. package/es/MetaAI/components/Text.js +39 -0
  40. package/es/MetaAI/index.d.ts +15 -0
  41. package/es/MetaAI/index.js +14 -0
  42. package/es/MetaAI/style.d.ts +4 -0
  43. package/es/MetaAI/style.js +4 -0
  44. package/es/MetaGPT/components/Avatar.d.ts +5 -0
  45. package/es/MetaGPT/components/Avatar.js +27 -0
  46. package/es/MetaGPT/components/Combine.d.ts +5 -0
  47. package/es/MetaGPT/components/Combine.js +26 -0
  48. package/es/MetaGPT/components/Mono.d.ts +3 -0
  49. package/es/MetaGPT/components/Mono.js +46 -0
  50. package/es/MetaGPT/components/Text.d.ts +3 -0
  51. package/es/MetaGPT/components/Text.js +39 -0
  52. package/es/MetaGPT/index.d.ts +13 -0
  53. package/es/MetaGPT/index.js +12 -0
  54. package/es/MetaGPT/style.d.ts +4 -0
  55. package/es/MetaGPT/style.js +4 -0
  56. package/es/PydanticAI/components/Avatar.d.ts +5 -0
  57. package/es/PydanticAI/components/Avatar.js +30 -0
  58. package/es/PydanticAI/components/Color.d.ts +3 -0
  59. package/es/PydanticAI/components/Color.js +54 -0
  60. package/es/PydanticAI/components/Combine.d.ts +7 -0
  61. package/es/PydanticAI/components/Combine.js +32 -0
  62. package/es/PydanticAI/components/Mono.d.ts +3 -0
  63. package/es/PydanticAI/components/Mono.js +50 -0
  64. package/es/PydanticAI/components/Text.d.ts +3 -0
  65. package/es/PydanticAI/components/Text.js +39 -0
  66. package/es/PydanticAI/index.d.ts +15 -0
  67. package/es/PydanticAI/index.js +14 -0
  68. package/es/PydanticAI/style.d.ts +4 -0
  69. package/es/PydanticAI/style.js +4 -0
  70. package/es/Zapier/components/Avatar.d.ts +5 -0
  71. package/es/Zapier/components/Avatar.js +30 -0
  72. package/es/Zapier/components/Color.d.ts +3 -0
  73. package/es/Zapier/components/Color.js +39 -0
  74. package/es/Zapier/components/Combine.d.ts +7 -0
  75. package/es/Zapier/components/Combine.js +32 -0
  76. package/es/Zapier/components/Mono.d.ts +3 -0
  77. package/es/Zapier/components/Mono.js +40 -0
  78. package/es/Zapier/components/Text.d.ts +3 -0
  79. package/es/Zapier/components/Text.js +39 -0
  80. package/es/Zapier/index.d.ts +15 -0
  81. package/es/Zapier/index.js +14 -0
  82. package/es/Zapier/style.d.ts +4 -0
  83. package/es/Zapier/style.js +4 -0
  84. package/es/components/Editor/Preview.js +3 -1
  85. package/es/components/IconPreview/index.d.ts +2 -1
  86. package/es/features/providerConfig.js +4 -0
  87. package/es/features/providerEnum.d.ts +1 -0
  88. package/es/features/providerEnum.js +1 -0
  89. package/es/hooks/useFillId.js +1 -1
  90. package/es/icons.d.ts +6 -0
  91. package/es/icons.js +6 -0
  92. package/es/toc.js +108 -0
  93. package/package.json +1 -1
@@ -0,0 +1,46 @@
1
+ 'use client';
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
+ var _excluded = ["size", "style"];
5
+ 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; }
6
+ 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; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ 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); }
10
+ 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; }
11
+ 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; }
12
+ import { memo } from 'react';
13
+ import { TITLE } from "../style";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ import { jsxs as _jsxs } from "react/jsx-runtime";
16
+ var Icon = /*#__PURE__*/memo(function (_ref) {
17
+ var _ref$size = _ref.size,
18
+ size = _ref$size === void 0 ? '1em' : _ref$size,
19
+ style = _ref.style,
20
+ rest = _objectWithoutProperties(_ref, _excluded);
21
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
22
+ fill: "currentColor",
23
+ fillRule: "evenodd",
24
+ height: size,
25
+ style: _objectSpread({
26
+ flex: 'none',
27
+ lineHeight: 1
28
+ }, style),
29
+ viewBox: "0 0 24 24",
30
+ width: size,
31
+ xmlns: "http://www.w3.org/2000/svg"
32
+ }, rest), {}, {
33
+ children: [/*#__PURE__*/_jsx("title", {
34
+ children: TITLE
35
+ }), /*#__PURE__*/_jsx("path", {
36
+ d: "M12.594 8.727a.01.01 0 01-.002-.008v-.004a.01.01 0 01.004-.004l2.298-1.419a.033.033 0 00.015-.023 3.661 3.661 0 00-.513-2.432c-.545-.868-1.451-1.431-2.489-1.423-1.013.01-1.909.591-2.437 1.45a3.519 3.519 0 00-.521 1.649.012.012 0 01-.016.004 5.96 5.96 0 00-2.361-.645.008.008 0 01-.004-.008c.36-1.926 1.59-3.692 3.43-4.468a4.976 4.976 0 013.854-.015 5.341 5.341 0 011.56.998c2.758 2.523 2.686 7.221-.167 9.646a.01.01 0 01-.004.002h-.007a.01.01 0 01-.003-.003l-2.637-3.297z"
37
+ }), /*#__PURE__*/_jsx("path", {
38
+ d: "M5.664 6.577c.319-.001.54.002.666.009a7.2 7.2 0 013.77 1.286c.474.33.907.712 1.3 1.147.202.224.449.532.74.925.45.608.933 1.253 1.372 1.81.298.378.526.694.794 1.047.36.473.778.866 1.254 1.18.975.642 2.177.88 3.328.672a3.095 3.095 0 001.067-.381c.937-.57 1.404-1.542 1.311-2.627a2.074 2.074 0 00-.092-.479c-.188-.564-.611-1.001-1.117-1.298-.364-.214-.833-.297-1.257-.31a5.416 5.416 0 00-1.377.135.012.012 0 01-.008-.008V9.68l.633-3.109a.016.016 0 01.017-.013 6.811 6.811 0 013.233.884c.571.32 1.067.717 1.487 1.19.63.71 1.014 1.53 1.153 2.46a5.69 5.69 0 01.008 1.623c-.306 2.228-1.996 4.008-4.165 4.527-.379.09-.768.15-1.166.18a.267.267 0 01-.048-.001 4.758 4.758 0 01-1.462-.39 7.222 7.222 0 01-1.295-.787 9.164 9.164 0 01-1.498-1.391c-.713-.825-1.333-1.74-1.945-2.67a29.768 29.768 0 00-1.653-2.285c-.558-.69-1.153-1.322-1.83-1.87A6.93 6.93 0 006.92 6.88a5.217 5.217 0 00-1.261-.295l-.001-.003a.006.006 0 01.006-.006z"
39
+ }), /*#__PURE__*/_jsx("path", {
40
+ d: "M18.256 17.436h.002v.005h-.336c-1.545-.04-2.932-.503-4.158-1.39a8.018 8.018 0 01-1.183-1.072 12.76 12.76 0 01-.75-.945 82.507 82.507 0 00-1.364-1.795c-.275-.351-.442-.58-.748-.99a5.1 5.1 0 00-1.29-1.219 4.59 4.59 0 00-3.576-.61 2.757 2.757 0 00-1.651 1.107c-.435.61-.573 1.406-.427 2.133.133.665.659 1.22 1.24 1.529.159.085.343.149.552.193.653.137 1.353.087 2.008-.058h.004l.003.002a.009.009 0 01.002.008l-.633 3.109a.018.018 0 01-.018.014 6.231 6.231 0 01-1.264-.14c-1.54-.327-3.032-1.18-3.903-2.52a4.706 4.706 0 01-.746-2.22c-.098-1.198.164-2.37.8-3.378a5.529 5.529 0 013.03-2.322 6.926 6.926 0 011.379-.27c.076-.007.152-.005.228.005.468.062.911.186 1.331.373.351.156.748.392 1.19.708.49.352.938.744 1.343 1.179.745.798 1.392 1.727 2.006 2.655.847 1.28 1.707 2.526 2.762 3.615.622.643 1.315 1.21 2.098 1.638a5.58 5.58 0 002.069.656z"
41
+ }), /*#__PURE__*/_jsx("path", {
42
+ d: "M8.741 11.988l.003-.002h.003a.008.008 0 01.006.003l2.638 3.299a.009.009 0 01.002.004.01.01 0 010 .004.01.01 0 01-.004.007l-2.3 1.42a.023.023 0 00-.01.017 3.655 3.655 0 00.258 1.96c.505 1.186 1.662 2.022 2.983 1.887.993-.102 1.826-.736 2.296-1.612a3.536 3.536 0 00.426-1.624l.003-.002.003-.001h.003c.628.318 1.294.52 1.996.605a19.019 19.019 0 00.392.04.01.01 0 01.005.006v.004c-.328 1.989-1.564 3.808-3.45 4.614a4.977 4.977 0 01-3.61.113c-1.883-.67-3.2-2.363-3.65-4.278-.55-2.335.155-4.89 2.007-6.464z"
43
+ })]
44
+ }));
45
+ });
46
+ export default Icon;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,39 @@
1
+ 'use client';
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
+ var _excluded = ["size", "style"];
5
+ 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; }
6
+ 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; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ 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); }
10
+ 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; }
11
+ 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; }
12
+ import { memo } from 'react';
13
+ import { TITLE } from "../style";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ import { jsxs as _jsxs } from "react/jsx-runtime";
16
+ var Icon = /*#__PURE__*/memo(function (_ref) {
17
+ var _ref$size = _ref.size,
18
+ size = _ref$size === void 0 ? '1em' : _ref$size,
19
+ style = _ref.style,
20
+ rest = _objectWithoutProperties(_ref, _excluded);
21
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
22
+ fill: "currentColor",
23
+ fillRule: "evenodd",
24
+ height: size,
25
+ style: _objectSpread({
26
+ flex: 'none',
27
+ lineHeight: 1
28
+ }, style),
29
+ viewBox: "0 0 118 24",
30
+ xmlns: "http://www.w3.org/2000/svg"
31
+ }, rest), {}, {
32
+ children: [/*#__PURE__*/_jsx("title", {
33
+ children: TITLE
34
+ }), /*#__PURE__*/_jsx("path", {
35
+ d: "M18.273 2.343h2.916v19.34H17.53V9.213l-4.93 7.318h-2.014L5.631 9.16v12.523H2V2.343h3.048l6.626 10.014 6.6-10.014zM31.046 7.654c1.22 0 2.297.273 3.234.819a5.362 5.362 0 012.2 2.272c.53.969.795 2.087.795 3.355a9.55 9.55 0 01-.16 1.718h-9.117c.16 1.021.53 1.796 1.113 2.325.584.51 1.308.766 2.174.766.618 0 1.166-.132 1.643-.396a2.787 2.787 0 001.14-1.242l2.703 1.585c-.371 1.004-1.087 1.779-2.147 2.325-1.042.546-2.208.819-3.498.819a7.414 7.414 0 01-3.446-.819c-1.06-.546-1.917-1.365-2.57-2.457-.637-1.092-.955-2.404-.955-3.937 0-1.514.318-2.809.954-3.883.654-1.075 1.502-1.885 2.545-2.431a7.202 7.202 0 013.392-.82zm-.106 2.985c-.724 0-1.343.23-1.855.687-.512.458-.857 1.101-1.034 1.929h5.46c-.07-.846-.344-1.488-.822-1.929-.459-.458-1.042-.687-1.749-.687zM49.245 20.89c-.901.74-2.156 1.11-3.764 1.11-1.484 0-2.685-.387-3.604-1.163-.901-.792-1.352-2.201-1.352-4.227V11.09h-2.438V7.996h2.438v-4.2h3.684v4.2h4.135v3.091h-4.135v4.915c0 .916.16 1.611.477 2.087.318.475.83.713 1.537.713.619 0 1.202-.185 1.75-.555l1.272 2.642zM56.715 7.654c1.855 0 3.304.528 4.347 1.585 1.042 1.04 1.563 2.528 1.563 4.465v7.979h-3.1c-.018-.14-.045-.37-.08-.687a5.61 5.61 0 00-.106-.872 3.868 3.868 0 01-1.59 1.427c-.637.3-1.414.449-2.333.449-.954 0-1.828-.167-2.624-.502-.777-.335-1.395-.819-1.855-1.453-.46-.652-.689-1.418-.689-2.299 0-.915.256-1.708.769-2.377.53-.687 1.236-1.216 2.12-1.586.883-.37 1.855-.554 2.915-.554.955 0 1.935.158 2.942.475-.053-2.025-.919-3.038-2.597-3.038-1.343 0-2.324.599-2.942 1.796l-2.624-1.506c.495-1.021 1.255-1.823 2.28-2.404 1.024-.599 2.226-.898 3.604-.898zm2.28 8.48c-.884-.21-1.653-.316-2.306-.316-.866 0-1.538.158-2.015.475-.477.3-.715.731-.715 1.295 0 .51.185.907.556 1.189.389.282.884.422 1.484.422.795 0 1.493-.22 2.094-.66.6-.458.901-1.083.901-1.876v-.528zM74.75 14.259v-3.303h7.42v7.874c-.6.968-1.563 1.743-2.888 2.325-1.308.563-2.757.845-4.347.845-1.89 0-3.57-.423-5.036-1.268a8.808 8.808 0 01-3.419-3.54c-.812-1.515-1.219-3.25-1.219-5.205 0-1.973.415-3.717 1.246-5.231.848-1.515 2.005-2.686 3.472-3.514C71.445 2.414 73.07 2 74.856 2c1.784 0 3.33.405 4.638 1.215 1.325.793 2.217 1.814 2.677 3.065l-3.18 1.823a4.496 4.496 0 00-1.67-1.902c-.725-.476-1.582-.714-2.571-.714-1.043 0-1.98.265-2.81.793-.83.528-1.484 1.286-1.961 2.272-.477.987-.716 2.131-.716 3.435 0 1.338.239 2.5.716 3.487.495.987 1.184 1.744 2.067 2.272.901.529 1.944.793 3.128.793 1.378 0 2.456-.379 3.233-1.136v-3.144H74.75zM91.995 2.343c1.537 0 2.88.265 4.029.793 1.148.528 2.032 1.277 2.65 2.246.636.95.954 2.07.954 3.355 0 1.268-.318 2.387-.954 3.355-.618.952-1.502 1.691-2.65 2.22-1.149.51-2.492.766-4.029.766h-2.836v6.605h-3.843V2.343h6.679zm-.424 9.485c1.201 0 2.165-.255 2.889-.766.724-.528 1.087-1.303 1.087-2.325 0-1.021-.363-1.796-1.087-2.325-.724-.546-1.688-.819-2.889-.819h-2.412v6.235h2.412zM100.363 2.343H116v3.409h-5.884v15.931h-3.869V5.752h-5.884V2.343z"
36
+ })]
37
+ }));
38
+ });
39
+ export default Icon;
@@ -0,0 +1,13 @@
1
+ import Avatar from './components/Avatar';
2
+ import Combine from './components/Combine';
3
+ import Mono from './components/Mono';
4
+ import Text from './components/Text';
5
+ export type CompoundedIcon = typeof Mono & {
6
+ Avatar: typeof Avatar;
7
+ Combine: typeof Combine;
8
+ Text: typeof Text;
9
+ colorPrimary: string;
10
+ title: string;
11
+ };
12
+ declare const Icons: CompoundedIcon;
13
+ export default Icons;
@@ -0,0 +1,12 @@
1
+ import Avatar from "./components/Avatar";
2
+ import Combine from "./components/Combine";
3
+ import Mono from "./components/Mono";
4
+ import Text from "./components/Text";
5
+ import { COLOR_PRIMARY, TITLE } from "./style";
6
+ var Icons = Mono;
7
+ Icons.Text = Text;
8
+ Icons.Combine = Combine;
9
+ Icons.Avatar = Avatar;
10
+ Icons.colorPrimary = COLOR_PRIMARY;
11
+ Icons.title = TITLE;
12
+ export default Icons;
@@ -0,0 +1,4 @@
1
+ export declare const TITLE = "MetaGPT";
2
+ export declare const TEXT_MULTIPLE = 0.75;
3
+ export declare const SPACE_MULTIPLE = 0.2;
4
+ export declare const COLOR_PRIMARY = "#000";
@@ -0,0 +1,4 @@
1
+ export var TITLE = 'MetaGPT';
2
+ export var TEXT_MULTIPLE = 0.75;
3
+ export var SPACE_MULTIPLE = 0.2;
4
+ export var COLOR_PRIMARY = '#000';
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { type IconAvatarProps } from "../../features/IconAvatar";
3
+ export type AvatarProps = Omit<IconAvatarProps, 'Icon'>;
4
+ declare const Avatar: import("react").NamedExoticComponent<AvatarProps>;
5
+ export default Avatar;
@@ -0,0 +1,30 @@
1
+ 'use client';
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
+ var _excluded = ["background", "size"];
5
+ 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; }
6
+ 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; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ 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); }
10
+ 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; }
11
+ 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; }
12
+ import { memo } from 'react';
13
+ import IconAvatar from "../../features/IconAvatar";
14
+ import { COLOR_PRIMARY, TITLE } from "../style";
15
+ import Mono from "./Mono";
16
+ import { jsx as _jsx } from "react/jsx-runtime";
17
+ var Avatar = /*#__PURE__*/memo(function (_ref) {
18
+ var background = _ref.background,
19
+ size = _ref.size,
20
+ rest = _objectWithoutProperties(_ref, _excluded);
21
+ return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
22
+ Icon: Mono,
23
+ "aria-label": TITLE,
24
+ background: background || COLOR_PRIMARY,
25
+ color: '#fff',
26
+ iconMultiple: 0.7,
27
+ size: size
28
+ }, rest));
29
+ });
30
+ export default Avatar;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,54 @@
1
+ 'use client';
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
+ var _excluded = ["size", "style"];
5
+ 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; }
6
+ 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; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ 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); }
10
+ 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; }
11
+ 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; }
12
+ import { memo } from 'react';
13
+ import { TITLE } from "../style";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ import { jsxs as _jsxs } from "react/jsx-runtime";
16
+ var Icon = /*#__PURE__*/memo(function (_ref) {
17
+ var _ref$size = _ref.size,
18
+ size = _ref$size === void 0 ? '1em' : _ref$size,
19
+ style = _ref.style,
20
+ rest = _objectWithoutProperties(_ref, _excluded);
21
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
22
+ height: size,
23
+ style: _objectSpread({
24
+ flex: 'none',
25
+ lineHeight: 1
26
+ }, style),
27
+ viewBox: "0 0 24 24",
28
+ width: size,
29
+ xmlns: "http://www.w3.org/2000/svg"
30
+ }, rest), {}, {
31
+ children: [/*#__PURE__*/_jsx("title", {
32
+ children: TITLE
33
+ }), /*#__PURE__*/_jsx("path", {
34
+ d: "M13.223 22.86c-.605.83-1.844.83-2.448 0L5.74 15.944a1.514 1.514 0 01.73-2.322l5.035-1.738c.32-.11.668-.11.988 0l5.035 1.738c.962.332 1.329 1.5.73 2.322l-5.035 6.916zm-1.224-1.259l4.688-6.439-4.688-1.618-4.688 1.618L12 21.602z",
35
+ fill: "#E72564"
36
+ }), /*#__PURE__*/_jsx("path", {
37
+ d: "M23.71 13.463c.604.832.221 2.01-.756 2.328l-8.133 2.652a1.514 1.514 0 01-1.983-1.412l-.097-5.326c-.006-.338.101-.67.305-.94l3.209-4.25a1.514 1.514 0 012.434.022l5.022 6.926zm-1.574.775L17.46 7.79l-2.988 3.958.09 4.959 7.574-2.469z",
38
+ fill: "#E723A0"
39
+ }), /*#__PURE__*/_jsx("path", {
40
+ d: "M18.016.591a1.514 1.514 0 011.98 1.44l.009 8.554a1.514 1.514 0 01-1.956 1.45l-5.095-1.554a1.514 1.514 0 01-.8-.58l-3.05-4.366a1.514 1.514 0 01.774-2.308L18.016.591zm.25 1.738L10.69 4.783l2.841 4.065 4.744 1.446-.008-7.965z",
41
+ fill: "#E520E9"
42
+ }), /*#__PURE__*/_jsx("path", {
43
+ d: "M5.99.595a1.514 1.514 0 00-1.98 1.44L4 10.588a1.514 1.514 0 001.956 1.45l5.095-1.554c.323-.098.605-.303.799-.58l3.052-4.366a1.514 1.514 0 00-.775-2.308L5.99.595zm-.25 1.738l7.577 2.454-2.842 4.065-4.743 1.446.007-7.965z",
44
+ fill: "#E520E9"
45
+ }), /*#__PURE__*/_jsx("path", {
46
+ d: "M.29 13.461c-.604.832-.221 2.01.756 2.329l8.133 2.651a1.514 1.514 0 001.983-1.412l.097-5.325a1.515 1.515 0 00-.305-.94L7.745 6.513a1.514 1.514 0 00-2.434.023L.289 13.461zm1.574.776L6.54 7.788l2.988 3.959-.09 4.958-7.574-2.468z",
47
+ fill: "#E723A0"
48
+ }), /*#__PURE__*/_jsx("path", {
49
+ d: "M16.942 17.751l1.316-1.806c.119-.164.2-.341.245-.523l-2.63.858-1.627 2.235a1.51 1.51 0 00.575-.072l2.121-.692zM12.746 11.971l.033 1.842 1.742.602-.034-1.843-1.741-.6zM20.003 8.349l-1.314-1.812a1.513 1.513 0 00-.419-.393l.003 2.767 1.624 2.24c.07-.173.108-.364.108-.566l-.002-2.236zM14.965 11.095l-1.762-.537 1.11-1.471 1.762.537-1.11 1.47zM12.004 9.685l1.056-1.51-1.056-1.51-1.056 1.51 1.056 1.51zM9.368 3.509c.145-.122.316-.219.51-.282l2.12-.686 2.13.69c.191.062.36.157.503.276l-2.634.853-2.629-.851zM10.801 10.562L9.691 9.09l-1.762.537 1.11 1.47 1.762-.537zM4.105 11.146L5.733 8.9l.003-2.763c-.16.1-.305.232-.425.398L4.003 8.339l-.002 2.25c0 .198.037.386.104.557zM11.254 11.97l-1.741.601-.034 1.843 1.742-.601.033-1.843zM9.75 18.513l-1.628-2.237-2.629-.857c.046.183.127.36.247.525l1.313 1.804 2.126.693c.192.062.385.085.571.072z",
50
+ fill: "#FF96D1"
51
+ })]
52
+ }));
53
+ });
54
+ export default Icon;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { type IconCombineProps } from "../../features/IconCombine";
3
+ export interface CombineProps extends Omit<IconCombineProps, 'Icon' | 'Text'> {
4
+ type?: 'color' | 'mono';
5
+ }
6
+ declare const Combine: import("react").NamedExoticComponent<CombineProps>;
7
+ export default Combine;
@@ -0,0 +1,32 @@
1
+ 'use client';
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
+ var _excluded = ["type"];
5
+ 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; }
6
+ 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; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ 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); }
10
+ 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; }
11
+ 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; }
12
+ import { memo } from 'react';
13
+ import IconCombine from "../../features/IconCombine";
14
+ import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from "../style";
15
+ import Color from "./Color";
16
+ import Mono from "./Mono";
17
+ import Text from "./Text";
18
+ import { jsx as _jsx } from "react/jsx-runtime";
19
+ var Combine = /*#__PURE__*/memo(function (_ref) {
20
+ var _ref$type = _ref.type,
21
+ type = _ref$type === void 0 ? 'mono' : _ref$type,
22
+ rest = _objectWithoutProperties(_ref, _excluded);
23
+ var Icon = type === 'color' ? Color : Mono;
24
+ return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
25
+ Icon: Icon,
26
+ Text: Text,
27
+ "aria-label": TITLE,
28
+ spaceMultiple: SPACE_MULTIPLE,
29
+ textMultiple: TEXT_MULTIPLE
30
+ }, rest));
31
+ });
32
+ export default Combine;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,50 @@
1
+ 'use client';
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
+ var _excluded = ["size", "style"];
5
+ 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; }
6
+ 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; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ 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); }
10
+ 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; }
11
+ 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; }
12
+ import { memo } from 'react';
13
+ import { TITLE } from "../style";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ import { jsxs as _jsxs } from "react/jsx-runtime";
16
+ var Icon = /*#__PURE__*/memo(function (_ref) {
17
+ var _ref$size = _ref.size,
18
+ size = _ref$size === void 0 ? '1em' : _ref$size,
19
+ style = _ref.style,
20
+ rest = _objectWithoutProperties(_ref, _excluded);
21
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
22
+ fill: "currentColor",
23
+ fillRule: "evenodd",
24
+ height: size,
25
+ style: _objectSpread({
26
+ flex: 'none',
27
+ lineHeight: 1
28
+ }, style),
29
+ viewBox: "0 0 24 24",
30
+ width: size,
31
+ xmlns: "http://www.w3.org/2000/svg"
32
+ }, rest), {}, {
33
+ children: [/*#__PURE__*/_jsx("title", {
34
+ children: TITLE
35
+ }), /*#__PURE__*/_jsx("path", {
36
+ d: "M13.223 22.86c-.605.83-1.844.83-2.448 0L5.74 15.944a1.514 1.514 0 01.73-2.322l5.035-1.738c.32-.11.668-.11.988 0l5.035 1.738c.962.332 1.329 1.5.73 2.322l-5.035 6.916zm-1.224-1.259l4.688-6.439-4.688-1.618-4.688 1.618L12 21.602z"
37
+ }), /*#__PURE__*/_jsx("path", {
38
+ d: "M23.71 13.463c.604.832.221 2.01-.756 2.328l-8.133 2.652a1.514 1.514 0 01-1.983-1.412l-.097-5.326c-.006-.338.101-.67.305-.94l3.209-4.25a1.514 1.514 0 012.434.022l5.022 6.926zm-1.574.775L17.46 7.79l-2.988 3.958.09 4.959 7.574-2.469z"
39
+ }), /*#__PURE__*/_jsx("path", {
40
+ d: "M18.016.591a1.514 1.514 0 011.98 1.44l.009 8.554a1.514 1.514 0 01-1.956 1.45l-5.095-1.554a1.514 1.514 0 01-.8-.58l-3.05-4.366a1.514 1.514 0 01.774-2.308L18.016.591zm.25 1.738L10.69 4.783l2.841 4.065 4.744 1.446-.008-7.965z"
41
+ }), /*#__PURE__*/_jsx("path", {
42
+ d: "M5.99.595a1.514 1.514 0 00-1.98 1.44L4 10.588a1.514 1.514 0 001.956 1.45l5.095-1.554c.323-.098.605-.303.799-.58l3.052-4.366a1.514 1.514 0 00-.775-2.308L5.99.595zm-.25 1.738l7.577 2.454-2.842 4.065-4.743 1.446.007-7.965z"
43
+ }), /*#__PURE__*/_jsx("path", {
44
+ d: "M.29 13.461c-.604.832-.221 2.01.756 2.329l8.133 2.651a1.514 1.514 0 001.983-1.412l.097-5.325a1.515 1.515 0 00-.305-.94L7.745 6.513a1.514 1.514 0 00-2.434.023L.289 13.461zm1.574.776L6.54 7.788l2.988 3.959-.09 4.958-7.574-2.468z"
45
+ }), /*#__PURE__*/_jsx("path", {
46
+ d: "M16.942 17.751l1.316-1.806c.119-.164.2-.341.245-.523l-2.63.858-1.627 2.235a1.51 1.51 0 00.575-.072l2.121-.692zM12.746 11.971l.033 1.842 1.742.602-.034-1.843-1.741-.6zM20.003 8.349l-1.314-1.812a1.513 1.513 0 00-.419-.393l.003 2.767 1.624 2.24c.07-.173.108-.364.108-.566l-.002-2.236zM14.965 11.095l-1.762-.537 1.11-1.471 1.762.537-1.11 1.47zM12.004 9.685l1.056-1.51-1.056-1.51-1.056 1.51 1.056 1.51zM9.368 3.509c.145-.122.316-.219.51-.282l2.12-.686 2.13.69c.191.062.36.157.503.276l-2.634.853-2.629-.851zM10.801 10.562L9.691 9.09l-1.762.537 1.11 1.47 1.762-.537zM4.105 11.146L5.733 8.9l.003-2.763c-.16.1-.305.232-.425.398L4.003 8.339l-.002 2.25c0 .198.037.386.104.557zM11.254 11.97l-1.741.601-.034 1.843 1.742-.601.033-1.843zM9.75 18.513l-1.628-2.237-2.629-.857c.046.183.127.36.247.525l1.313 1.804 2.126.693c.192.062.385.085.571.072z"
47
+ })]
48
+ }));
49
+ });
50
+ export default Icon;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,39 @@
1
+ 'use client';
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
+ var _excluded = ["size", "style"];
5
+ 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; }
6
+ 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; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ 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); }
10
+ 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; }
11
+ 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; }
12
+ import { memo } from 'react';
13
+ import { TITLE } from "../style";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ import { jsxs as _jsxs } from "react/jsx-runtime";
16
+ var Icon = /*#__PURE__*/memo(function (_ref) {
17
+ var _ref$size = _ref.size,
18
+ size = _ref$size === void 0 ? '1em' : _ref$size,
19
+ style = _ref.style,
20
+ rest = _objectWithoutProperties(_ref, _excluded);
21
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
22
+ fill: "currentColor",
23
+ fillRule: "evenodd",
24
+ height: size,
25
+ style: _objectSpread({
26
+ flex: 'none',
27
+ lineHeight: 1
28
+ }, style),
29
+ viewBox: "0 0 122 24",
30
+ xmlns: "http://www.w3.org/2000/svg"
31
+ }, rest), {}, {
32
+ children: [/*#__PURE__*/_jsx("title", {
33
+ children: TITLE
34
+ }), /*#__PURE__*/_jsx("path", {
35
+ d: "M2 19.349V3.116h7.302c.745 0 1.411.124 2 .372a4.05 4.05 0 011.535 1.024c.419.434.737.96.954 1.581a6.16 6.16 0 01.325 2.046c0 .76-.108 1.45-.325 2.07a4.547 4.547 0 01-.954 1.582c-.418.434-.93.775-1.535 1.023-.589.232-1.255.349-2 .349H5.07v6.186H2zm3.07-8.837h3.953c.59 0 1.055-.155 1.396-.466.34-.325.511-.782.511-1.372v-1.07c0-.589-.17-1.038-.511-1.348-.341-.31-.807-.465-1.396-.465H5.07v4.72zM24.154 7.209h2.79l-4.883 14.302a5.345 5.345 0 01-.535 1.117c-.186.325-.41.589-.674.79a2.579 2.579 0 01-.954.442c-.372.093-.806.14-1.302.14h-1.79v-2.372h2.185l.558-1.698-4.348-12.721h2.953l2.116 6.419.791 3.07h.14l.837-3.07 2.116-6.419zM36.284 17.326h-.116A3.106 3.106 0 0134.935 19c-.604.419-1.31.628-2.116.628-1.535 0-2.713-.55-3.535-1.651-.806-1.1-1.209-2.675-1.209-4.721 0-2.031.403-3.59 1.21-4.674.821-1.101 2-1.652 3.534-1.652.806 0 1.512.21 2.116.628a2.998 2.998 0 011.233 1.651h.116V2.14h2.977v17.21h-2.977v-2.023zm-2.511-.163c.713 0 1.31-.17 1.79-.512.481-.34.721-.83.721-1.465v-3.86c0-.59-.24-1.062-.72-1.419-.481-.356-1.078-.535-1.791-.535-.776 0-1.403.264-1.884.79-.465.513-.698 1.202-.698 2.07v2.094c0 .868.233 1.558.698 2.07.48.511 1.109.767 1.884.767zM51.624 19.349c-.651 0-1.17-.186-1.558-.558-.372-.388-.605-.9-.698-1.535h-.14c-.2.79-.612 1.387-1.232 1.79-.62.388-1.388.582-2.302.582-1.24 0-2.194-.326-2.86-.977-.667-.651-1-1.52-1-2.604 0-1.256.449-2.187 1.348-2.791.9-.62 2.178-.93 3.837-.93h2.07v-.884c0-.682-.178-1.21-.535-1.582-.356-.372-.93-.558-1.72-.558-.698 0-1.264.155-1.698.465a4.384 4.384 0 00-1.07 1.07l-1.768-1.581A5.022 5.022 0 0144.09 7.58c.744-.434 1.729-.65 2.954-.65 1.643 0 2.891.371 3.744 1.115.852.745 1.279 1.814 1.279 3.21v5.72h1.21v2.373h-1.652zm-4.93-1.884c.666 0 1.232-.147 1.697-.442.466-.294.698-.728.698-1.302v-1.605h-1.907c-1.55 0-2.326.496-2.326 1.489V16c0 .496.156.868.466 1.116.325.233.783.35 1.372.35zM55.684 19.349V7.209h2.977v2.024h.116a3.842 3.842 0 011.163-1.628c.543-.45 1.287-.675 2.233-.675 1.256 0 2.217.411 2.883 1.233.667.821 1 1.992 1 3.511v7.675H63.08v-7.372c0-.869-.155-1.52-.465-1.954-.31-.434-.822-.65-1.535-.65-.31 0-.613.046-.907.139a2.351 2.351 0 00-.768.372 1.836 1.836 0 00-.535.604c-.14.233-.209.512-.209.838v8.023h-2.977zM73.147 19.349c-1.023 0-1.806-.264-2.349-.79-.527-.543-.79-1.31-.79-2.303V9.581h-1.791V7.21h.93c.45 0 .752-.1.907-.302.17-.217.256-.535.256-.953v-2.07h2.674v3.325h2.488v2.373h-2.488v7.395h2.302v2.372h-2.14zM79.543 5.442c-.62 0-1.07-.14-1.349-.419-.263-.279-.395-.635-.395-1.07v-.465c0-.434.132-.79.395-1.07.28-.278.729-.418 1.349-.418.605 0 1.046.14 1.326.419.279.279.418.635.418 1.07v.465c0 .434-.14.79-.418 1.07-.28.278-.721.418-1.326.418zm-1.488 1.767h2.976v12.14h-2.976V7.209zM89.273 19.628c-.9 0-1.698-.147-2.396-.442a4.721 4.721 0 01-1.767-1.279c-.465-.558-.822-1.225-1.07-2-.248-.79-.372-1.674-.372-2.651 0-.977.124-1.853.372-2.628.248-.775.605-1.434 1.07-1.977a4.72 4.72 0 011.767-1.279c.698-.295 1.496-.442 2.396-.442 1.225 0 2.232.272 3.023.814.806.543 1.387 1.295 1.744 2.256l-2.442 1.093a2.434 2.434 0 00-.79-1.256c-.373-.34-.884-.511-1.535-.511-.838 0-1.465.263-1.884.79-.403.527-.605 1.217-.605 2.07v2.21c0 .852.202 1.542.605 2.07.419.51 1.046.767 1.884.767.713 0 1.263-.179 1.65-.535.388-.372.69-.83.908-1.372l2.279 1.093c-.403 1.07-1.016 1.876-1.837 2.418-.822.527-1.822.79-3 .79zM107.704 19.349l-1.303-4.14h-5.767l-1.28 4.14H96.24l5.441-16.233h3.814l5.396 16.233h-3.186zm-4.14-13.442h-.116l-2.07 6.674h4.279l-2.093-6.674zM112.608 19.349v-2.465h2.14V5.58h-2.14V3.116h7.372v2.465h-2.163v11.303h2.163v2.465h-7.372z"
36
+ })]
37
+ }));
38
+ });
39
+ export default Icon;
@@ -0,0 +1,15 @@
1
+ import Avatar from './components/Avatar';
2
+ import Color from './components/Color';
3
+ import Combine from './components/Combine';
4
+ import Mono from './components/Mono';
5
+ import Text from './components/Text';
6
+ export type CompoundedIcon = typeof Mono & {
7
+ Avatar: typeof Avatar;
8
+ Color: typeof Color;
9
+ Combine: typeof Combine;
10
+ Text: typeof Text;
11
+ colorPrimary: string;
12
+ title: string;
13
+ };
14
+ declare const Icons: CompoundedIcon;
15
+ export default Icons;
@@ -0,0 +1,14 @@
1
+ import Avatar from "./components/Avatar";
2
+ import Color from "./components/Color";
3
+ import Combine from "./components/Combine";
4
+ import Mono from "./components/Mono";
5
+ import Text from "./components/Text";
6
+ import { COLOR_PRIMARY, TITLE } from "./style";
7
+ var Icons = Mono;
8
+ Icons.Color = Color;
9
+ Icons.Text = Text;
10
+ Icons.Combine = Combine;
11
+ Icons.Avatar = Avatar;
12
+ Icons.colorPrimary = COLOR_PRIMARY;
13
+ Icons.title = TITLE;
14
+ export default Icons;
@@ -0,0 +1,4 @@
1
+ export declare const TITLE = "PydanticAI";
2
+ export declare const TEXT_MULTIPLE = 0.8;
3
+ export declare const SPACE_MULTIPLE = 0.25;
4
+ export declare const COLOR_PRIMARY = "#E92063";
@@ -0,0 +1,4 @@
1
+ export var TITLE = 'PydanticAI';
2
+ export var TEXT_MULTIPLE = 0.8;
3
+ export var SPACE_MULTIPLE = 0.25;
4
+ export var COLOR_PRIMARY = '#E92063';
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { type IconAvatarProps } from "../../features/IconAvatar";
3
+ export type AvatarProps = Omit<IconAvatarProps, 'Icon'>;
4
+ declare const Avatar: import("react").NamedExoticComponent<AvatarProps>;
5
+ export default Avatar;
@@ -0,0 +1,30 @@
1
+ 'use client';
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
+ var _excluded = ["background", "size"];
5
+ 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; }
6
+ 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; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ 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); }
10
+ 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; }
11
+ 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; }
12
+ import { memo } from 'react';
13
+ import IconAvatar from "../../features/IconAvatar";
14
+ import { COLOR_PRIMARY, TITLE } from "../style";
15
+ import Mono from "./Mono";
16
+ import { jsx as _jsx } from "react/jsx-runtime";
17
+ var Avatar = /*#__PURE__*/memo(function (_ref) {
18
+ var background = _ref.background,
19
+ size = _ref.size,
20
+ rest = _objectWithoutProperties(_ref, _excluded);
21
+ return /*#__PURE__*/_jsx(IconAvatar, _objectSpread({
22
+ Icon: Mono,
23
+ "aria-label": TITLE,
24
+ background: background || COLOR_PRIMARY,
25
+ color: '#fff',
26
+ iconMultiple: 0.7,
27
+ size: size
28
+ }, rest));
29
+ });
30
+ export default Avatar;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;
@@ -0,0 +1,39 @@
1
+ 'use client';
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
+ var _excluded = ["size", "style"];
5
+ 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; }
6
+ 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; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ 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); }
10
+ 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; }
11
+ 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; }
12
+ import { memo } from 'react';
13
+ import { TITLE } from "../style";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ import { jsxs as _jsxs } from "react/jsx-runtime";
16
+ var Icon = /*#__PURE__*/memo(function (_ref) {
17
+ var _ref$size = _ref.size,
18
+ size = _ref$size === void 0 ? '1em' : _ref$size,
19
+ style = _ref.style,
20
+ rest = _objectWithoutProperties(_ref, _excluded);
21
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
22
+ height: size,
23
+ style: _objectSpread({
24
+ flex: 'none',
25
+ lineHeight: 1
26
+ }, style),
27
+ viewBox: "0 0 24 24",
28
+ width: size,
29
+ xmlns: "http://www.w3.org/2000/svg"
30
+ }, rest), {}, {
31
+ children: [/*#__PURE__*/_jsx("title", {
32
+ children: TITLE
33
+ }), /*#__PURE__*/_jsx("path", {
34
+ d: "M18.5 16h-13v3h13v-3z",
35
+ fill: "#FF4F00"
36
+ })]
37
+ }));
38
+ });
39
+ export default Icon;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { type IconCombineProps } from "../../features/IconCombine";
3
+ export interface CombineProps extends Omit<IconCombineProps, 'Icon' | 'Text'> {
4
+ type?: 'color' | 'mono';
5
+ }
6
+ declare const Combine: import("react").NamedExoticComponent<CombineProps>;
7
+ export default Combine;
@@ -0,0 +1,32 @@
1
+ 'use client';
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
+ var _excluded = ["type"];
5
+ 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; }
6
+ 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; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ 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); }
10
+ 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; }
11
+ 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; }
12
+ import { memo } from 'react';
13
+ import IconCombine from "../../features/IconCombine";
14
+ import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from "../style";
15
+ import Color from "./Color";
16
+ import Mono from "./Mono";
17
+ import Text from "./Text";
18
+ import { jsx as _jsx } from "react/jsx-runtime";
19
+ var Combine = /*#__PURE__*/memo(function (_ref) {
20
+ var _ref$type = _ref.type,
21
+ type = _ref$type === void 0 ? 'mono' : _ref$type,
22
+ rest = _objectWithoutProperties(_ref, _excluded);
23
+ var Icon = type === 'color' ? Color : Mono;
24
+ return /*#__PURE__*/_jsx(IconCombine, _objectSpread({
25
+ Icon: Icon,
26
+ Text: Text,
27
+ "aria-label": TITLE,
28
+ spaceMultiple: SPACE_MULTIPLE,
29
+ textMultiple: TEXT_MULTIPLE
30
+ }, rest));
31
+ });
32
+ export default Combine;
@@ -0,0 +1,3 @@
1
+ import type { IconType } from "../../types";
2
+ declare const Icon: IconType;
3
+ export default Icon;