@lobehub/ui 1.2.0 → 1.3.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 (179) hide show
  1. package/es/ActionIcon/index.d.ts +10 -5
  2. package/es/ActionIcon/index.js +15 -7
  3. package/es/ActionIcon/style.d.ts +4 -1
  4. package/es/ActionIcon/style.js +5 -3
  5. package/es/CopyButton/index.d.ts +34 -0
  6. package/es/CopyButton/index.js +49 -0
  7. package/es/DraggablePanel/index.d.ts +4 -4
  8. package/es/DraggablePanel/index.js +4 -4
  9. package/es/DraggablePanel/style.js +2 -2
  10. package/es/DraggablePanel/utils.d.ts +1 -1
  11. package/es/EditableText/ControlInput.d.ts +9 -0
  12. package/es/EditableText/ControlInput.js +88 -0
  13. package/es/EditableText/index.d.ts +5 -0
  14. package/es/EditableText/index.js +35 -0
  15. package/es/Highlighter/SyntaxHighlighter/Prism.d.ts +7 -0
  16. package/es/Highlighter/SyntaxHighlighter/Prism.js +40 -0
  17. package/es/Highlighter/SyntaxHighlighter/index.d.ts +5 -0
  18. package/es/Highlighter/SyntaxHighlighter/index.js +58 -0
  19. package/es/Highlighter/SyntaxHighlighter/style.d.ts +5 -0
  20. package/es/Highlighter/SyntaxHighlighter/style.js +15 -0
  21. package/es/Highlighter/index.d.ts +36 -0
  22. package/es/Highlighter/index.js +42 -0
  23. package/es/Highlighter/style.d.ts +5 -0
  24. package/es/Highlighter/style.js +18 -0
  25. package/es/Icon/index.d.ts +2 -3
  26. package/es/Icon/index.js +2 -2
  27. package/es/Logo/Divider.d.ts +3 -3
  28. package/es/Logo/Divider.js +6 -4
  29. package/es/Logo/Logo3D.d.ts +3 -3
  30. package/es/Logo/Logo3D.js +6 -4
  31. package/es/Logo/LogoFlat.d.ts +3 -3
  32. package/es/Logo/LogoFlat.js +6 -4
  33. package/es/Logo/LogoHighContrast.d.ts +3 -3
  34. package/es/Logo/LogoHighContrast.js +6 -4
  35. package/es/Logo/LogoText.d.ts +3 -3
  36. package/es/Logo/LogoText.js +6 -4
  37. package/es/Logo/index.d.ts +3 -3
  38. package/es/Logo/index.js +5 -5
  39. package/es/Logo/style.js +1 -1
  40. package/es/Markdown/Code.d.ts +3 -0
  41. package/es/Markdown/Code.js +12 -0
  42. package/es/Markdown/CodeBlock.d.ts +3 -0
  43. package/es/Markdown/CodeBlock.js +27 -0
  44. package/es/Markdown/index.d.ts +13 -0
  45. package/es/Markdown/index.js +28 -0
  46. package/es/Markdown/style.d.ts +4 -0
  47. package/es/Markdown/style.js +12 -0
  48. package/es/MessageInput/index.d.ts +35 -0
  49. package/es/MessageInput/index.js +63 -0
  50. package/es/SearchBar/index.d.ts +5 -0
  51. package/es/SearchBar/index.js +27 -0
  52. package/es/SideNav/index.d.ts +6 -6
  53. package/es/SideNav/index.js +17 -20
  54. package/es/SideNav/style.d.ts +1 -0
  55. package/es/SideNav/style.js +8 -0
  56. package/es/Snippet/index.d.ts +29 -0
  57. package/es/Snippet/index.js +39 -0
  58. package/es/Snippet/style.d.ts +1 -0
  59. package/es/Snippet/style.js +9 -0
  60. package/es/StroyBook/index.d.ts +3 -4
  61. package/es/StroyBook/index.js +14 -7
  62. package/es/StroyBook/style.d.ts +4 -1
  63. package/es/StroyBook/style.js +7 -5
  64. package/es/Swatches/index.d.ts +8 -0
  65. package/es/Swatches/index.js +44 -0
  66. package/es/TabsNav/index.d.ts +3 -3
  67. package/es/TabsNav/index.js +4 -4
  68. package/es/ThemeProvider/GlobalStyle.js +1 -1
  69. package/es/ThemeProvider/index.d.ts +15 -0
  70. package/es/ThemeSwitch/index.d.ts +5 -5
  71. package/es/ThemeSwitch/index.js +5 -9
  72. package/es/Tooltip/index.d.ts +5 -0
  73. package/es/Tooltip/index.js +20 -0
  74. package/es/Tooltip/style.d.ts +3 -0
  75. package/es/Tooltip/style.js +10 -0
  76. package/es/hooks/useCopied.d.ts +4 -0
  77. package/es/hooks/useCopied.js +26 -0
  78. package/es/hooks/useHighlight.d.ts +36 -0
  79. package/es/hooks/useHighlight.js +63 -0
  80. package/es/index.d.ts +9 -0
  81. package/es/index.js +10 -1
  82. package/es/styles/theme/base.d.ts +2 -0
  83. package/es/styles/theme/base.js +15 -0
  84. package/es/styles/theme/dark.js +6 -14
  85. package/es/styles/theme/light.js +11 -12
  86. package/es/types/index.d.ts +14 -5
  87. package/lib/ActionIcon/index.d.ts +10 -5
  88. package/lib/ActionIcon/index.js +39 -50
  89. package/lib/ActionIcon/style.d.ts +4 -1
  90. package/lib/ActionIcon/style.js +29 -22
  91. package/lib/CopyButton/index.d.ts +34 -0
  92. package/lib/CopyButton/index.js +70 -0
  93. package/lib/DraggablePanel/index.d.ts +4 -4
  94. package/lib/DraggablePanel/index.js +160 -158
  95. package/lib/DraggablePanel/style.js +1 -2
  96. package/lib/DraggablePanel/utils.d.ts +1 -1
  97. package/lib/EditableText/ControlInput.d.ts +9 -0
  98. package/lib/EditableText/ControlInput.js +101 -0
  99. package/lib/EditableText/index.d.ts +5 -0
  100. package/lib/EditableText/index.js +52 -0
  101. package/lib/Highlighter/SyntaxHighlighter/Prism.d.ts +7 -0
  102. package/lib/Highlighter/SyntaxHighlighter/Prism.js +41 -0
  103. package/lib/Highlighter/SyntaxHighlighter/index.d.ts +5 -0
  104. package/lib/Highlighter/SyntaxHighlighter/index.js +55 -0
  105. package/lib/Highlighter/SyntaxHighlighter/style.d.ts +5 -0
  106. package/lib/Highlighter/SyntaxHighlighter/style.js +58 -0
  107. package/lib/Highlighter/index.d.ts +36 -0
  108. package/lib/Highlighter/index.js +62 -0
  109. package/lib/Highlighter/style.d.ts +5 -0
  110. package/lib/Highlighter/style.js +107 -0
  111. package/lib/Icon/index.d.ts +2 -3
  112. package/lib/Icon/index.js +3 -13
  113. package/lib/Logo/Divider.d.ts +3 -3
  114. package/lib/Logo/Divider.js +5 -15
  115. package/lib/Logo/Logo3D.d.ts +3 -3
  116. package/lib/Logo/Logo3D.js +4 -14
  117. package/lib/Logo/LogoFlat.d.ts +3 -3
  118. package/lib/Logo/LogoFlat.js +18 -28
  119. package/lib/Logo/LogoHighContrast.d.ts +3 -3
  120. package/lib/Logo/LogoHighContrast.js +4 -14
  121. package/lib/Logo/LogoText.d.ts +3 -3
  122. package/lib/Logo/LogoText.js +5 -15
  123. package/lib/Logo/index.d.ts +3 -3
  124. package/lib/Logo/index.js +11 -18
  125. package/lib/Logo/style.js +1 -1
  126. package/lib/Markdown/Code.d.ts +3 -0
  127. package/lib/Markdown/Code.js +33 -0
  128. package/lib/Markdown/CodeBlock.d.ts +3 -0
  129. package/lib/Markdown/CodeBlock.js +64 -0
  130. package/lib/Markdown/index.d.ts +13 -0
  131. package/lib/Markdown/index.js +48 -0
  132. package/lib/Markdown/style.d.ts +4 -0
  133. package/lib/Markdown/style.js +64 -0
  134. package/lib/MessageInput/index.d.ts +35 -0
  135. package/lib/MessageInput/index.js +58 -0
  136. package/lib/SearchBar/index.d.ts +5 -0
  137. package/lib/SearchBar/index.js +42 -0
  138. package/lib/SideNav/index.d.ts +6 -6
  139. package/lib/SideNav/index.js +7 -31
  140. package/lib/SideNav/style.d.ts +1 -0
  141. package/lib/SideNav/style.js +46 -0
  142. package/lib/Snippet/index.d.ts +29 -0
  143. package/lib/Snippet/index.js +47 -0
  144. package/lib/Snippet/style.d.ts +1 -0
  145. package/lib/Snippet/style.js +71 -0
  146. package/lib/StroyBook/index.d.ts +3 -4
  147. package/lib/StroyBook/index.js +20 -13
  148. package/lib/StroyBook/style.d.ts +4 -1
  149. package/lib/StroyBook/style.js +49 -43
  150. package/lib/Swatches/index.d.ts +8 -0
  151. package/lib/Swatches/index.js +68 -0
  152. package/lib/TabsNav/index.d.ts +3 -3
  153. package/lib/TabsNav/index.js +5 -15
  154. package/lib/ThemeProvider/GlobalStyle.js +7 -5
  155. package/lib/ThemeProvider/index.d.ts +15 -0
  156. package/lib/ThemeSwitch/index.d.ts +5 -5
  157. package/lib/ThemeSwitch/index.js +15 -32
  158. package/lib/Tooltip/index.d.ts +5 -0
  159. package/lib/Tooltip/index.js +34 -0
  160. package/lib/Tooltip/style.d.ts +3 -0
  161. package/lib/Tooltip/style.js +51 -0
  162. package/lib/hooks/useCopied.d.ts +4 -0
  163. package/lib/hooks/useCopied.js +44 -0
  164. package/lib/hooks/useHighlight.d.ts +36 -0
  165. package/lib/hooks/useHighlight.js +76 -0
  166. package/lib/index.d.ts +9 -0
  167. package/lib/index.js +29 -0
  168. package/lib/styles/theme/base.d.ts +2 -0
  169. package/lib/styles/theme/base.js +43 -0
  170. package/lib/styles/theme/dark.js +5 -12
  171. package/lib/styles/theme/light.js +10 -10
  172. package/lib/types/index.d.ts +14 -5
  173. package/package.json +12 -4
  174. package/es/ThemeProvider/token.d.ts +0 -3
  175. package/es/ThemeProvider/token.js +0 -45
  176. package/es/types/index.js +0 -1
  177. package/lib/ThemeProvider/token.d.ts +0 -3
  178. package/lib/ThemeProvider/token.js +0 -73
  179. package/lib/types/index.js +0 -17
@@ -1,8 +1,6 @@
1
- var __create = Object.create;
2
1
  var __defProp = Object.defineProperty;
3
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
5
  var __export = (target, all) => {
8
6
  for (var name in all)
@@ -16,14 +14,6 @@ var __copyProps = (to, from, except, desc) => {
16
14
  }
17
15
  return to;
18
16
  };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
17
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
18
 
29
19
  // src/Logo/LogoFlat.tsx
@@ -32,99 +22,99 @@ __export(LogoFlat_exports, {
32
22
  default: () => LogoFlat_default
33
23
  });
34
24
  module.exports = __toCommonJS(LogoFlat_exports);
35
- var import_react = __toESM(require("react"));
36
- var LogoFlat = (props) => /* @__PURE__ */ import_react.default.createElement("svg", { fill: "none", viewBox: "0 0 320 320", ...props }, /* @__PURE__ */ import_react.default.createElement(
25
+ var import_react = require("react");
26
+ var LogoFlat = (0, import_react.memo)(({ ...props }) => /* @__PURE__ */ React.createElement("svg", { fill: "none", viewBox: "0 0 320 320", ...props }, /* @__PURE__ */ React.createElement(
37
27
  "path",
38
28
  {
39
29
  fill: "#FFB02E",
40
30
  d: "M294 172.516c0 75.655-59.442 128.5-134 128.5-74.558 0-134-53.845-134-129.5 0-22.501 5-32.142 31.5-35.672 47.5-6.329 72.542-3.828 102.5-3.828 29.959 0 72.556-1.271 102.5 3.828 24.5 4.171 30 8.671 31.5 36.672z"
41
31
  }
42
- ), /* @__PURE__ */ import_react.default.createElement(
32
+ ), /* @__PURE__ */ React.createElement(
43
33
  "path",
44
34
  {
45
35
  fill: "#972021",
46
36
  d: "M159.75 242.516c-28.25 0-35.75 3.5-35.75 3.5s3.5 27 35.75 27 35.75-27 35.75-27-7.5-3.5-35.75-3.5z"
47
37
  }
48
- ), /* @__PURE__ */ import_react.default.createElement("ellipse", { cx: "160.5", cy: "148.516", fill: "#FF6723", rx: "111.5", ry: "11.5" }), /* @__PURE__ */ import_react.default.createElement(
38
+ ), /* @__PURE__ */ React.createElement("ellipse", { cx: "160.5", cy: "148.516", fill: "#FF6723", rx: "111.5", ry: "11.5" }), /* @__PURE__ */ React.createElement(
49
39
  "path",
50
40
  {
51
41
  fill: "#FEE064",
52
42
  d: "M135.5 160.015c.633-14.972-.483-22.788-5.5-36.443 0 0 9.5-12.056 27-12.056s30 3.064 30 3.064c-3.028 16.793-3.182 26.921-2.5 45.435h-49z"
53
43
  }
54
- ), /* @__PURE__ */ import_react.default.createElement(
44
+ ), /* @__PURE__ */ React.createElement(
55
45
  "path",
56
46
  {
57
47
  fill: "#fff",
58
48
  d: "M119.189 234.289c14.742-7.076 24.811-21.51 24.811-39.273 0-25.405-20.595-48-46-48s-47 19.595-47 45c0 13.983 6.542 26.812 16.662 35.521 5.893-2.245 12.652-3.521 19.838-3.521 12.705 0 24.077 3.989 31.689 10.273zM200.811 234.289C186.069 227.213 176 212.779 176 195.016c0-25.405 20.595-48 46-48s47 19.595 47 45c0 13.983-6.542 26.812-16.662 35.521-5.893-2.245-12.652-3.521-19.838-3.521-12.705 0-24.077 3.989-31.689 10.273z"
59
49
  }
60
- ), /* @__PURE__ */ import_react.default.createElement("circle", { cx: "28", cy: "28", r: "28", fill: "#270C36", transform: "matrix(-1 0 0 1 247 165.016)" }), /* @__PURE__ */ import_react.default.createElement("circle", { cx: "101", cy: "193.016", r: "28", fill: "#270C36" }), /* @__PURE__ */ import_react.default.createElement(
50
+ ), /* @__PURE__ */ React.createElement("circle", { cx: "28", cy: "28", r: "28", fill: "#270C36", transform: "matrix(-1 0 0 1 247 165.016)" }), /* @__PURE__ */ React.createElement("circle", { cx: "101", cy: "193.016", r: "28", fill: "#270C36" }), /* @__PURE__ */ React.createElement(
61
51
  "path",
62
52
  {
63
53
  fill: "#F70A8D",
64
54
  d: "M160.006 290.016c20.099 0 23.305-20.488 23.927-25.61.478-4.146-1.675-6.244-4.02-7.659-2.345-1.414-9.379-2.731-19.907-2.731-10.527 0-17.514 1.317-19.906 2.731-2.393 1.415-4.546 3.513-4.02 7.659.622 5.122 3.828 25.61 23.926 25.61z"
65
55
  }
66
- ), /* @__PURE__ */ import_react.default.createElement(
56
+ ), /* @__PURE__ */ React.createElement(
67
57
  "path",
68
58
  {
69
59
  fill: "#F70A8D",
70
60
  d: "M160.006 290.016c20.099 0 23.305-20.488 23.927-25.61.478-4.146-1.675-6.244-4.02-7.659-2.345-1.414-9.379-2.731-19.907-2.731-10.527 0-17.514 1.317-19.906 2.731-2.393 1.415-4.546 3.513-4.02 7.659.622 5.122 3.828 25.61 23.926 25.61z"
71
61
  }
72
- ), /* @__PURE__ */ import_react.default.createElement(
62
+ ), /* @__PURE__ */ React.createElement(
73
63
  "path",
74
64
  {
75
65
  fill: "#20D45F",
76
66
  fillOpacity: ".42",
77
67
  d: "M160.006 290.016c20.099 0 23.305-20.488 23.927-25.61.478-4.146-1.675-6.244-4.02-7.659-2.345-1.414-9.379-2.731-19.907-2.731-10.527 0-17.514 1.317-19.906 2.731-2.393 1.415-4.546 3.513-4.02 7.659.622 5.122 3.828 25.61 23.926 25.61z"
78
68
  }
79
- ), /* @__PURE__ */ import_react.default.createElement(
69
+ ), /* @__PURE__ */ React.createElement(
80
70
  "path",
81
71
  {
82
72
  fill: "#A68AE2",
83
73
  d: "M173 19.016c-14.027 0-19.5-11.5-41-11-23.394 0-34 13-45.5 23-1.958 1.702-11.5 7-16 9-19.683 8.748-34.5 21.5-34.5 40.5 0 20.711 17.46 37.5 39 37.5 3.536 0 6.963-.453 10.22-1.301 8.7 10.539 22.179 16.658 37.28 17.301 23.5 1 31-15.25 44.5-8.5 9.259 4.629 13.83 8.5 28.5 8.5 17.108 0 25.057-5.233 30-11 9-10.5 22.879-4 31.5-4 18.778 0 34-14.551 34-32.5 0-17.95-15.222-32.5-34-32.5-5.15 0-14.856 1.27-17-7-3.5-13.5-20.148-29-44-29-9.318 0-17.691 1-23 1z"
84
74
  }
85
- ), /* @__PURE__ */ import_react.default.createElement(
75
+ ), /* @__PURE__ */ React.createElement(
86
76
  "path",
87
77
  {
88
78
  fill: "#DBA6E9",
89
79
  d: "M157.32 14.32c4.969 2.458 9.492 4.696 15.68 4.696 2.284 0 5.134-.185 8.383-.396 4.304-.28 9.307-.604 14.617-.604 23.852 0 40.5 15.5 44 29 1.908 7.36 9.804 7.164 15.149 7.032a77.169 77.169 0 011.851-.032c16.664 0 30.528 11.46 33.438 26.583.137.71-1.083.88-1.354.208-.027-.07-.056-.139-.084-.208-4.719-11.431-17.265-19.605-32-19.605-.544 0-1.173.013-1.866.027-5.853.12-16.216.334-18.134-6.413-3.5-12.315-17.148-26.455-41-26.455-5.31 0-10.313.296-14.617.55-3.249.193-6.099.362-8.383.362-6.188 0-10.711-2.042-15.68-4.285-6.295-2.84-13.305-6.005-25.32-5.75-20.261 0-30.93 8.896-40.895 17.205a244.788 244.788 0 01-4.605 3.777c-1.958 1.553-11.5 6.386-16 8.21-15.7 6.366-28.304 15.055-32.762 27.107-.247.668-1.437.525-1.327-.178l.021-.135c2.572-16.004 16.348-27.125 34.068-35 4.5-2 14.042-7.298 16-9 1.54-1.34 3.064-2.732 4.605-4.14 9.965-9.109 20.634-18.86 40.895-18.86 12.015-.28 19.025 3.189 25.32 6.303z"
90
80
  }
91
- ), /* @__PURE__ */ import_react.default.createElement("circle", { cx: "73.5", cy: "20.516", r: "9.5", fill: "#7B61FF" }), /* @__PURE__ */ import_react.default.createElement("circle", { cx: "55", cy: "108.016", r: "16", fill: "#D9D9D9" }), /* @__PURE__ */ import_react.default.createElement("circle", { cx: "55", cy: "108.016", r: "16", fill: "#F2314D" }), /* @__PURE__ */ import_react.default.createElement("circle", { cx: "266.5", cy: "49.516", r: "15.5", fill: "#7CEE1D" }), /* @__PURE__ */ import_react.default.createElement(
81
+ ), /* @__PURE__ */ React.createElement("circle", { cx: "73.5", cy: "20.516", r: "9.5", fill: "#7B61FF" }), /* @__PURE__ */ React.createElement("circle", { cx: "55", cy: "108.016", r: "16", fill: "#D9D9D9" }), /* @__PURE__ */ React.createElement("circle", { cx: "55", cy: "108.016", r: "16", fill: "#F2314D" }), /* @__PURE__ */ React.createElement("circle", { cx: "266.5", cy: "49.516", r: "15.5", fill: "#7CEE1D" }), /* @__PURE__ */ React.createElement(
92
82
  "path",
93
83
  {
94
84
  fill: "#fff",
95
85
  d: "M132.235 244.117c5.483-.823 14.191-1.601 27.515-1.601 12.211 0 20.546.654 26.073 1.396-1.542 5.86-12.963 8.104-26.823 8.104-13.698 0-25.013-2.191-26.765-7.899z"
96
86
  }
97
- ), /* @__PURE__ */ import_react.default.createElement(
87
+ ), /* @__PURE__ */ React.createElement(
98
88
  "path",
99
89
  {
100
90
  fill: "#F70A8D",
101
91
  d: "M160.006 290.016c20.099 0 23.305-20.488 23.927-25.61.478-4.146-1.675-6.244-4.02-7.659-2.345-1.414-9.379-2.731-19.907-2.731-10.527 0-17.514 1.317-19.906 2.731-2.393 1.415-4.546 3.513-4.02 7.659.622 5.122 3.828 25.61 23.926 25.61z"
102
92
  }
103
- ), /* @__PURE__ */ import_react.default.createElement(
93
+ ), /* @__PURE__ */ React.createElement(
104
94
  "path",
105
95
  {
106
96
  fill: "#F70A8D",
107
97
  d: "M160.006 290.016c20.099 0 23.305-20.488 23.927-25.61.478-4.146-1.675-6.244-4.02-7.659-2.345-1.414-9.379-2.731-19.907-2.731-10.527 0-17.514 1.317-19.906 2.731-2.393 1.415-4.546 3.513-4.02 7.659.622 5.122 3.828 25.61 23.926 25.61z"
108
98
  }
109
- ), /* @__PURE__ */ import_react.default.createElement(
99
+ ), /* @__PURE__ */ React.createElement(
110
100
  "path",
111
101
  {
112
102
  fill: "#F24630",
113
103
  d: "M160.006 290.016c20.099 0 23.305-20.488 23.927-25.61.478-4.146-1.675-6.244-4.02-7.659-2.345-1.414-9.379-2.731-19.907-2.731-10.527 0-17.514 1.317-19.906 2.731-2.393 1.415-4.546 3.513-4.02 7.659.622 5.122 3.828 25.61 23.926 25.61z"
114
104
  }
115
- ), /* @__PURE__ */ import_react.default.createElement(
105
+ ), /* @__PURE__ */ React.createElement(
116
106
  "path",
117
107
  {
118
108
  fill: "#F4B8CA",
119
109
  d: "M171.696 129.744c-5.721-3.89-13.954-4.248-19.786-.526-7.724 4.929-16.971 7.798-26.91 7.798-27.062 0-49-21.267-49-47.5 0-26.234 21.938-47.5 49-47.5 13.628 0 25.956 5.392 34.838 14.097 4.948 4.85 13.088 6.24 19.498 3.609a42.502 42.502 0 0116.164-3.166c22.92 0 41.5 18.012 41.5 40.23 0 22.218-18.58 40.23-41.5 40.23-8.856 0-17.065-2.69-23.804-7.272z"
120
110
  }
121
- ), /* @__PURE__ */ import_react.default.createElement(
111
+ ), /* @__PURE__ */ React.createElement(
122
112
  "path",
123
113
  {
124
114
  fill: "#FFD7D7",
125
115
  d: "M237 96.786c0 .752-1.081.808-1.271.08-4.558-17.42-20.841-30.31-40.229-30.31a42.503 42.503 0 00-16.164 3.166c-6.41 2.63-14.55 1.24-19.498-3.61-8.882-8.704-21.21-14.096-34.838-14.096-23.544 0-43.21 16.096-47.925 37.556-.139.632-1.075.59-1.075-.056 0-26.234 21.938-47.5 49-47.5 13.628 0 25.956 5.392 34.838 14.097 4.948 4.85 13.088 6.24 19.498 3.609a42.503 42.503 0 0116.164-3.166c22.92 0 41.5 18.012 41.5 40.23z"
126
116
  }
127
- ), /* @__PURE__ */ import_react.default.createElement("circle", { cx: "205.5", cy: "106.516", r: "13.5", fill: "#0C74FF" }));
128
- var LogoFlat_default = import_react.default.memo(LogoFlat);
117
+ ), /* @__PURE__ */ React.createElement("circle", { cx: "205.5", cy: "106.516", r: "13.5", fill: "#0C74FF" })));
118
+ var LogoFlat_default = LogoFlat;
129
119
  // Annotate the CommonJS export names for ESM import in node:
130
120
  0 && (module.exports = {});
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- declare const _default: React.NamedExoticComponent<any>;
3
- export default _default;
1
+ /// <reference types="react" />
2
+ declare const LogoHighContrast: import("react").MemoExoticComponent<any>;
3
+ export default LogoHighContrast;
@@ -1,8 +1,6 @@
1
- var __create = Object.create;
2
1
  var __defProp = Object.defineProperty;
3
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
5
  var __export = (target, all) => {
8
6
  for (var name in all)
@@ -16,14 +14,6 @@ var __copyProps = (to, from, except, desc) => {
16
14
  }
17
15
  return to;
18
16
  };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
17
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
18
 
29
19
  // src/Logo/LogoHighContrast.tsx
@@ -32,14 +22,14 @@ __export(LogoHighContrast_exports, {
32
22
  default: () => LogoHighContrast_default
33
23
  });
34
24
  module.exports = __toCommonJS(LogoHighContrast_exports);
35
- var import_react = __toESM(require("react"));
36
- var LogoHighContrast = (props) => /* @__PURE__ */ import_react.default.createElement("svg", { viewBox: "0 0 320 320", fill: "currentColor", fillRule: "evenodd", ...props }, /* @__PURE__ */ import_react.default.createElement("path", { d: "M25.401 140.14c3.71-5.453 8.81-9.628 15.313-12.838A23.89 23.89 0 0055 132.015a23.91 23.91 0 0016.053-6.159 48.924 48.924 0 0010.603-.294 56.54 56.54 0 006.809 6.555c-8.655 1.087-18.202 2.821-29.05 5.494-11.996 2.956-17.707 7.005-20.785 11.53-3.227 4.743-4.63 11.518-4.63 22.374 0 70.838 55.45 121.5 126 121.5 70.564 0 125.889-49.642 126-120.286-.751-13.724-2.613-20.518-5.764-24.763-3.023-4.073-8.262-7.153-19.898-10.42-9.615-2.7-20.317-4.252-31.506-5.103a48.977 48.977 0 006.306-6.763c2.995-1.106 6.948-.684 12.998.332l.321.054c2.498.421 5.641.95 8.543.95 5.214 0 10.234-.927 14.879-2.626 8.925 3.124 16.138 7.213 21.205 14.041 6.227 8.389 8.147 19.524 8.905 33.656l.011.214v.214c0 80.552-63.518 136.5-142 136.5-78.567 0-142-57.028-142-137.5 0-11.644 1.368-22.506 7.401-31.375z" }), /* @__PURE__ */ import_react.default.createElement("path", { d: "M195.5 145.016a50.53 50.53 0 0018.014-3.295C238.551 143.519 255 146.556 255 150c0 4.335-26.066 8.026-62.517 9.413-.201-5.525-.323-10.211-.316-14.505 1.102.071 2.214.108 3.333.108zM125 145.016a58.278 58.278 0 01-19.063-3.182C81.773 143.646 66 146.628 66 150c0 4.295 25.591 7.958 61.52 9.374.238-5.823.186-10.311-.246-14.402a59.24 59.24 0 01-2.274.044zM122.87 228c9.79-4.353 16.63-14.277 16.63-25.823 0-15.562-12.424-28.177-27.75-28.177S84 186.615 84 202.177c0 10.646 5.815 19.913 14.396 24.705 2.902-.349 5.839-.554 8.729-.554 5.259 0 10.673.678 15.745 1.672zM236 202.177c0 10.646-5.815 19.913-14.396 24.705-2.902-.349-5.839-.554-8.729-.554-5.259 0-10.673.678-15.745 1.672-9.79-4.353-16.63-14.277-16.63-25.823 0-15.562 12.424-28.177 27.75-28.177S236 186.615 236 202.177zM127 248.787S133.923 245 160 245c26.077 0 33 3.787 33 3.787S189.769 278 160 278s-33-29.213-33-29.213z" }), /* @__PURE__ */ import_react.default.createElement(
25
+ var import_react = require("react");
26
+ var LogoHighContrast = (0, import_react.memo)(({ ...props }) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 320 320", fill: "currentColor", fillRule: "evenodd", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M25.401 140.14c3.71-5.453 8.81-9.628 15.313-12.838A23.89 23.89 0 0055 132.015a23.91 23.91 0 0016.053-6.159 48.924 48.924 0 0010.603-.294 56.54 56.54 0 006.809 6.555c-8.655 1.087-18.202 2.821-29.05 5.494-11.996 2.956-17.707 7.005-20.785 11.53-3.227 4.743-4.63 11.518-4.63 22.374 0 70.838 55.45 121.5 126 121.5 70.564 0 125.889-49.642 126-120.286-.751-13.724-2.613-20.518-5.764-24.763-3.023-4.073-8.262-7.153-19.898-10.42-9.615-2.7-20.317-4.252-31.506-5.103a48.977 48.977 0 006.306-6.763c2.995-1.106 6.948-.684 12.998.332l.321.054c2.498.421 5.641.95 8.543.95 5.214 0 10.234-.927 14.879-2.626 8.925 3.124 16.138 7.213 21.205 14.041 6.227 8.389 8.147 19.524 8.905 33.656l.011.214v.214c0 80.552-63.518 136.5-142 136.5-78.567 0-142-57.028-142-137.5 0-11.644 1.368-22.506 7.401-31.375z" }), /* @__PURE__ */ React.createElement("path", { d: "M195.5 145.016a50.53 50.53 0 0018.014-3.295C238.551 143.519 255 146.556 255 150c0 4.335-26.066 8.026-62.517 9.413-.201-5.525-.323-10.211-.316-14.505 1.102.071 2.214.108 3.333.108zM125 145.016a58.278 58.278 0 01-19.063-3.182C81.773 143.646 66 146.628 66 150c0 4.295 25.591 7.958 61.52 9.374.238-5.823.186-10.311-.246-14.402a59.24 59.24 0 01-2.274.044zM122.87 228c9.79-4.353 16.63-14.277 16.63-25.823 0-15.562-12.424-28.177-27.75-28.177S84 186.615 84 202.177c0 10.646 5.815 19.913 14.396 24.705 2.902-.349 5.839-.554 8.729-.554 5.259 0 10.673.678 15.745 1.672zM236 202.177c0 10.646-5.815 19.913-14.396 24.705-2.902-.349-5.839-.554-8.729-.554-5.259 0-10.673.678-15.745 1.672-9.79-4.353-16.63-14.277-16.63-25.823 0-15.562 12.424-28.177 27.75-28.177S236 186.615 236 202.177zM127 248.787S133.923 245 160 245c26.077 0 33 3.787 33 3.787S189.769 278 160 278s-33-29.213-33-29.213z" }), /* @__PURE__ */ React.createElement(
37
27
  "path",
38
28
  {
39
29
  d: "M173 19.016c-6.188 0-10.711-2.238-15.68-4.697-6.295-3.114-13.305-6.583-25.32-6.303-20.261 0-30.93 9.751-40.896 18.86-1.54 1.408-3.064 2.8-4.604 4.14-1.958 1.702-11.5 7-16 9-19.683 8.748-34.5 21.5-34.5 40.5 0 3.789.584 7.447 1.672 10.895A23.93 23.93 0 0155 84.016c13.255 0 24 10.745 24 24 0 3.552-.772 6.925-2.157 9.959a40.472 40.472 0 008.042-1.174c8.866 12.225 23.528 20.215 40.115 20.215 3.041 0 6.018-.269 8.906-.783 1.675 7.287 2.007 14.011 1.594 23.782h49c-.359-9.741-.486-17.161-.085-24.451a42.76 42.76 0 0011.085 1.452c14.294 0 26.9-7.006 34.364-17.668 6.059-3.498 13.291-2.284 19.597-1.225 2.746.461 5.317.893 7.539.893 18.778 0 34-14.551 34-32.5 0-8.333-3.281-15.934-8.675-21.686-4.31 5.012-10.697 8.186-17.825 8.186-12.979 0-23.5-10.522-23.5-23.5 0-12.98-30.137-31.5-45-31.5-5.31 0-10.313.325-14.617.604-3.249.21-6.099.396-8.383.396zM234.307 82.5c1.181 3.012-2.694 4.293-4.517 1.62l-.021-.03-.032-.047-.031-.043c-7.483-10.536-20.012-17.444-34.206-17.444a42.498 42.498 0 00-16.163 3.166c-6.41 2.63-14.55 1.24-19.499-3.61-8.882-8.704-21.21-14.096-34.838-14.096-17.152 0-32.245 8.542-41 21.478-1.966 2.365-5.65 1.323-4.535-1.543.06-.155.12-.305.182-.451C86.968 54.2 104.516 42.016 125 42.016c13.628 0 25.956 5.392 34.838 14.097 4.949 4.85 13.089 6.24 19.499 3.609a42.498 42.498 0 0116.163-3.166c17.73 0 32.863 10.778 38.807 25.944z",
40
30
  clipRule: "evenodd"
41
31
  }
42
- ), /* @__PURE__ */ import_react.default.createElement("path", { d: "M83 20.516a9.5 9.5 0 11-19 0 9.5 9.5 0 0119 0zM264.5 65.016c8.56 0 15.5-6.94 15.5-15.5 0-8.56-6.94-15.5-15.5-15.5-8.56 0-15.5 6.94-15.5 15.5 0 8.56 6.94 15.5 15.5 15.5zM55 124.016c8.837 0 16-7.164 16-16 0-8.837-7.163-16-16-16s-16 7.163-16 16c0 8.836 7.163 16 16 16z" }));
43
- var LogoHighContrast_default = import_react.default.memo(LogoHighContrast);
32
+ ), /* @__PURE__ */ React.createElement("path", { d: "M83 20.516a9.5 9.5 0 11-19 0 9.5 9.5 0 0119 0zM264.5 65.016c8.56 0 15.5-6.94 15.5-15.5 0-8.56-6.94-15.5-15.5-15.5-8.56 0-15.5 6.94-15.5 15.5 0 8.56 6.94 15.5 15.5 15.5zM55 124.016c8.837 0 16-7.164 16-16 0-8.837-7.163-16-16-16s-16 7.163-16 16c0 8.836 7.163 16 16 16z" })));
33
+ var LogoHighContrast_default = LogoHighContrast;
44
34
  // Annotate the CommonJS export names for ESM import in node:
45
35
  0 && (module.exports = {});
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- declare const _default: React.NamedExoticComponent<any>;
3
- export default _default;
1
+ /// <reference types="react" />
2
+ declare const LogoText: import("react").MemoExoticComponent<any>;
3
+ export default LogoText;
@@ -1,8 +1,6 @@
1
- var __create = Object.create;
2
1
  var __defProp = Object.defineProperty;
3
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
5
  var __export = (target, all) => {
8
6
  for (var name in all)
@@ -16,14 +14,6 @@ var __copyProps = (to, from, except, desc) => {
16
14
  }
17
15
  return to;
18
16
  };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
17
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
18
 
29
19
  // src/Logo/LogoText.tsx
@@ -32,8 +22,8 @@ __export(LogoText_exports, {
32
22
  default: () => LogoText_default
33
23
  });
34
24
  module.exports = __toCommonJS(LogoText_exports);
35
- var import_react = __toESM(require("react"));
36
- var LogoText = (props) => /* @__PURE__ */ import_react.default.createElement(
25
+ var import_react = require("react");
26
+ var LogoText = (0, import_react.memo)(({ ...props }) => /* @__PURE__ */ React.createElement(
37
27
  "svg",
38
28
  {
39
29
  xmlns: "http://www.w3.org/2000/svg",
@@ -42,8 +32,8 @@ var LogoText = (props) => /* @__PURE__ */ import_react.default.createElement(
42
32
  fillRule: "evenodd",
43
33
  ...props
44
34
  },
45
- /* @__PURE__ */ import_react.default.createElement("path", { d: "M15 240.035V87.172h39.24V205.75h66.192v34.285H15zM183.731 242c-11.759 0-22.196-2.621-31.313-7.862-9.116-5.241-16.317-12.447-21.601-21.619-5.153-9.317-7.729-19.945-7.729-31.883 0-11.937 2.576-22.492 7.729-31.664 5.164-8.963 12.159-15.98 20.982-21.05l.619-.351c9.117-5.241 19.554-7.861 31.313-7.861s22.196 2.62 31.313 7.861c9.248 5.096 16.449 12.229 21.601 21.401 5.153 9.172 7.729 19.727 7.729 31.664 0 11.938-2.576 22.566-7.729 31.883-5.152 9.172-12.353 16.378-21.601 21.619-9.117 5.241-19.554 7.862-31.313 7.862zm0-32.975c4.36 0 8.191-1.092 11.494-3.275 3.436-2.184 6.144-5.387 8.126-9.609 1.982-4.367 2.973-9.536 2.973-15.505 0-5.968-.991-10.991-2.973-15.067-1.906-4.06-4.483-7.177-7.733-9.352l-.393-.257c-3.303-2.184-7.134-3.276-11.494-3.276-4.228 0-8.059 1.092-11.495 3.276-3.303 2.184-6.011 5.387-8.125 9.609-1.982 4.076-2.973 9.099-2.973 15.067 0 5.969.991 11.138 2.973 15.505 2.114 4.222 4.822 7.425 8.125 9.609 3.436 2.183 7.267 3.275 11.495 3.275zM295.508 78l-.001 54.042a34.071 34.071 0 016.541-5.781c6.474-4.367 14.269-6.551 23.385-6.551 9.777 0 18.629 2.475 26.557 7.424 7.872 4.835 14.105 11.684 18.7 20.546l.325.637c4.756 9.026 7.135 19.799 7.135 32.319 0 12.666-2.379 23.585-7.135 32.757-4.624 9.026-10.966 16.087-19.025 21.182-7.928 4.95-16.78 7.425-26.557 7.425-9.644 0-17.704-2.184-24.178-6.551-2.825-1.946-5.336-4.355-7.532-7.226l.001 11.812h-35.87V78h37.654zm21.998 74.684c-4.228 0-8.059 1.092-11.494 3.276-3.303 2.184-6.012 5.387-8.126 9.609-1.982 4.076-2.972 9.099-2.972 15.067 0 5.969.99 11.138 2.972 15.505 2.114 4.222 4.823 7.425 8.126 9.609 3.435 2.183 7.266 3.275 11.494 3.275s7.994-1.092 11.297-3.275c3.435-2.184 6.143-5.387 8.125-9.609 2.114-4.367 3.171-9.536 3.171-15.505 0-5.968-1.057-10.991-3.171-15.067-1.906-4.06-4.483-7.177-7.732-9.352l-.393-.257c-3.303-2.184-7.069-3.276-11.297-3.276zm105.335 38.653l.084.337a27.857 27.857 0 002.057 5.559c2.246 4.222 5.417 7.498 9.513 9.827 4.096 2.184 8.984 3.276 14.665 3.276 5.285 0 9.777-.801 13.477-2.403 3.579-1.632 7.1-4.025 10.564-7.182l.732-.679 19.818 22.711c-5.153 6.26-11.494 11.064-19.025 14.413-7.531 3.203-16.449 4.804-26.755 4.804-12.683 0-23.782-2.621-33.294-7.862-9.381-5.386-16.713-12.665-21.998-21.837-5.153-9.317-7.729-19.872-7.729-31.665 0-11.792 2.51-22.274 7.53-31.446 5.036-9.105 11.902-16.195 20.596-21.268l.61-.351c8.984-5.241 19.091-7.861 30.322-7.861 10.311 0 19.743 2.286 28.294 6.859l.64.347c8.72 4.659 15.656 11.574 20.809 20.746 5.153 9.172 7.729 20.309 7.729 33.411 0 1.294-.052 2.761-.156 4.4l-.042.623-.17 2.353c-.075 1.01-.151 1.973-.227 2.888h-78.044zm21.365-42.147c-4.492 0-8.456 1.092-11.891 3.276-3.303 2.184-5.879 5.314-7.729 9.39a26.04 26.04 0 00-1.117 2.79 30.164 30.164 0 00-1.121 4.499l-.058.354h43.96l-.015-.106c-.401-2.638-1.122-5.055-2.163-7.252l-.246-.503c-1.776-3.774-4.282-6.742-7.519-8.906l-.409-.266c-3.303-2.184-7.2-3.276-11.692-3.276zm111.695-62.018l-.001 57.432h53.51V87.172h39.24v152.863h-39.24v-59.617H555.9l.001 59.617h-39.24V87.172h39.24zM715.766 242c-8.72 0-16.581-1.893-23.583-5.678-6.87-3.785-12.287-9.681-16.251-17.688-3.832-8.153-5.747-18.417-5.747-30.791v-66.168h37.654v59.398c0 9.172 1.519 15.723 4.558 19.654 3.171 3.931 7.597 5.896 13.278 5.896 3.7 0 7.069-.946 10.108-2.839 3.038-1.892 5.483-4.877 7.332-8.953 1.85-4.222 2.775-9.609 2.775-16.16v-56.996h37.654v118.36h-35.871l.004-12.38c-2.642 3.197-5.682 5.868-9.12 8.012-7.002 4.222-14.599 6.333-22.791 6.333zM841.489 78l-.001 54.041a34.1 34.1 0 016.541-5.78c6.474-4.367 14.269-6.551 23.385-6.551 9.777 0 18.629 2.475 26.556 7.424 7.873 4.835 14.106 11.684 18.701 20.546l.325.637c4.756 9.026 7.134 19.799 7.134 32.319 0 12.666-2.378 23.585-7.134 32.757-4.624 9.026-10.966 16.087-19.026 21.182-7.927 4.95-16.779 7.425-26.556 7.425-9.645 0-17.704-2.184-24.178-6.551-2.825-1.946-5.336-4.354-7.531-7.224v11.81h-35.87V78h37.654zm21.998 74.684c-4.228 0-8.059 1.092-11.495 3.276-3.303 2.184-6.011 5.387-8.125 9.609-1.982 4.076-2.973 9.099-2.973 15.067 0 5.969.991 11.138 2.973 15.505 2.114 4.222 4.822 7.425 8.125 9.609 3.436 2.183 7.267 3.275 11.495 3.275 4.228 0 7.993-1.092 11.296-3.275 3.435-2.184 6.144-5.387 8.126-9.609 2.114-4.367 3.171-9.536 3.171-15.505 0-5.968-1.057-10.991-3.171-15.067-1.906-4.06-4.484-7.177-7.733-9.352l-.393-.257c-3.303-2.184-7.068-3.276-11.296-3.276z" })
46
- );
47
- var LogoText_default = import_react.default.memo(LogoText);
35
+ /* @__PURE__ */ React.createElement("path", { d: "M15 240.035V87.172h39.24V205.75h66.192v34.285H15zM183.731 242c-11.759 0-22.196-2.621-31.313-7.862-9.116-5.241-16.317-12.447-21.601-21.619-5.153-9.317-7.729-19.945-7.729-31.883 0-11.937 2.576-22.492 7.729-31.664 5.164-8.963 12.159-15.98 20.982-21.05l.619-.351c9.117-5.241 19.554-7.861 31.313-7.861s22.196 2.62 31.313 7.861c9.248 5.096 16.449 12.229 21.601 21.401 5.153 9.172 7.729 19.727 7.729 31.664 0 11.938-2.576 22.566-7.729 31.883-5.152 9.172-12.353 16.378-21.601 21.619-9.117 5.241-19.554 7.862-31.313 7.862zm0-32.975c4.36 0 8.191-1.092 11.494-3.275 3.436-2.184 6.144-5.387 8.126-9.609 1.982-4.367 2.973-9.536 2.973-15.505 0-5.968-.991-10.991-2.973-15.067-1.906-4.06-4.483-7.177-7.733-9.352l-.393-.257c-3.303-2.184-7.134-3.276-11.494-3.276-4.228 0-8.059 1.092-11.495 3.276-3.303 2.184-6.011 5.387-8.125 9.609-1.982 4.076-2.973 9.099-2.973 15.067 0 5.969.991 11.138 2.973 15.505 2.114 4.222 4.822 7.425 8.125 9.609 3.436 2.183 7.267 3.275 11.495 3.275zM295.508 78l-.001 54.042a34.071 34.071 0 016.541-5.781c6.474-4.367 14.269-6.551 23.385-6.551 9.777 0 18.629 2.475 26.557 7.424 7.872 4.835 14.105 11.684 18.7 20.546l.325.637c4.756 9.026 7.135 19.799 7.135 32.319 0 12.666-2.379 23.585-7.135 32.757-4.624 9.026-10.966 16.087-19.025 21.182-7.928 4.95-16.78 7.425-26.557 7.425-9.644 0-17.704-2.184-24.178-6.551-2.825-1.946-5.336-4.355-7.532-7.226l.001 11.812h-35.87V78h37.654zm21.998 74.684c-4.228 0-8.059 1.092-11.494 3.276-3.303 2.184-6.012 5.387-8.126 9.609-1.982 4.076-2.972 9.099-2.972 15.067 0 5.969.99 11.138 2.972 15.505 2.114 4.222 4.823 7.425 8.126 9.609 3.435 2.183 7.266 3.275 11.494 3.275s7.994-1.092 11.297-3.275c3.435-2.184 6.143-5.387 8.125-9.609 2.114-4.367 3.171-9.536 3.171-15.505 0-5.968-1.057-10.991-3.171-15.067-1.906-4.06-4.483-7.177-7.732-9.352l-.393-.257c-3.303-2.184-7.069-3.276-11.297-3.276zm105.335 38.653l.084.337a27.857 27.857 0 002.057 5.559c2.246 4.222 5.417 7.498 9.513 9.827 4.096 2.184 8.984 3.276 14.665 3.276 5.285 0 9.777-.801 13.477-2.403 3.579-1.632 7.1-4.025 10.564-7.182l.732-.679 19.818 22.711c-5.153 6.26-11.494 11.064-19.025 14.413-7.531 3.203-16.449 4.804-26.755 4.804-12.683 0-23.782-2.621-33.294-7.862-9.381-5.386-16.713-12.665-21.998-21.837-5.153-9.317-7.729-19.872-7.729-31.665 0-11.792 2.51-22.274 7.53-31.446 5.036-9.105 11.902-16.195 20.596-21.268l.61-.351c8.984-5.241 19.091-7.861 30.322-7.861 10.311 0 19.743 2.286 28.294 6.859l.64.347c8.72 4.659 15.656 11.574 20.809 20.746 5.153 9.172 7.729 20.309 7.729 33.411 0 1.294-.052 2.761-.156 4.4l-.042.623-.17 2.353c-.075 1.01-.151 1.973-.227 2.888h-78.044zm21.365-42.147c-4.492 0-8.456 1.092-11.891 3.276-3.303 2.184-5.879 5.314-7.729 9.39a26.04 26.04 0 00-1.117 2.79 30.164 30.164 0 00-1.121 4.499l-.058.354h43.96l-.015-.106c-.401-2.638-1.122-5.055-2.163-7.252l-.246-.503c-1.776-3.774-4.282-6.742-7.519-8.906l-.409-.266c-3.303-2.184-7.2-3.276-11.692-3.276zm111.695-62.018l-.001 57.432h53.51V87.172h39.24v152.863h-39.24v-59.617H555.9l.001 59.617h-39.24V87.172h39.24zM715.766 242c-8.72 0-16.581-1.893-23.583-5.678-6.87-3.785-12.287-9.681-16.251-17.688-3.832-8.153-5.747-18.417-5.747-30.791v-66.168h37.654v59.398c0 9.172 1.519 15.723 4.558 19.654 3.171 3.931 7.597 5.896 13.278 5.896 3.7 0 7.069-.946 10.108-2.839 3.038-1.892 5.483-4.877 7.332-8.953 1.85-4.222 2.775-9.609 2.775-16.16v-56.996h37.654v118.36h-35.871l.004-12.38c-2.642 3.197-5.682 5.868-9.12 8.012-7.002 4.222-14.599 6.333-22.791 6.333zM841.489 78l-.001 54.041a34.1 34.1 0 016.541-5.78c6.474-4.367 14.269-6.551 23.385-6.551 9.777 0 18.629 2.475 26.556 7.424 7.873 4.835 14.106 11.684 18.701 20.546l.325.637c4.756 9.026 7.134 19.799 7.134 32.319 0 12.666-2.378 23.585-7.134 32.757-4.624 9.026-10.966 16.087-19.026 21.182-7.927 4.95-16.779 7.425-26.556 7.425-9.645 0-17.704-2.184-24.178-6.551-2.825-1.946-5.336-4.354-7.531-7.224v11.81h-35.87V78h37.654zm21.998 74.684c-4.228 0-8.059 1.092-11.495 3.276-3.303 2.184-6.011 5.387-8.125 9.609-1.982 4.076-2.973 9.099-2.973 15.067 0 5.969.991 11.138 2.973 15.505 2.114 4.222 4.822 7.425 8.125 9.609 3.436 2.183 7.267 3.275 11.495 3.275 4.228 0 7.993-1.092 11.296-3.275 3.435-2.184 6.144-5.387 8.126-9.609 2.114-4.367 3.171-9.536 3.171-15.505 0-5.968-1.057-10.991-3.171-15.067-1.906-4.06-4.484-7.177-7.733-9.352l-.393-.257c-3.303-2.184-7.068-3.276-11.296-3.276z" })
36
+ ));
37
+ var LogoText_default = LogoText;
48
38
  // Annotate the CommonJS export names for ESM import in node:
49
39
  0 && (module.exports = {});
@@ -1,5 +1,5 @@
1
+ /// <reference types="react" />
1
2
  import { DivProps } from "../types";
2
- import React from 'react';
3
3
  export interface LogoProps extends DivProps {
4
4
  /**
5
5
  * @description Type of the logo to be rendered
@@ -16,5 +16,5 @@ export interface LogoProps extends DivProps {
16
16
  */
17
17
  extra?: React.ReactNode;
18
18
  }
19
- declare const _default: React.NamedExoticComponent<LogoProps>;
20
- export default _default;
19
+ declare const Logo: import("react").NamedExoticComponent<LogoProps>;
20
+ export default Logo;
package/lib/Logo/index.js CHANGED
@@ -33,39 +33,32 @@ __export(Logo_exports, {
33
33
  });
34
34
  module.exports = __toCommonJS(Logo_exports);
35
35
  var import_antd_style = require("antd-style");
36
- var import_react = __toESM(require("react"));
36
+ var import_react = require("react");
37
37
  var import_Divider = __toESM(require("./Divider"));
38
38
  var import_Logo3D = __toESM(require("./Logo3D"));
39
39
  var import_LogoFlat = __toESM(require("./LogoFlat"));
40
40
  var import_LogoHighContrast = __toESM(require("./LogoHighContrast"));
41
41
  var import_LogoText = __toESM(require("./LogoText"));
42
42
  var import_style = require("./style");
43
- var Logo = ({
44
- type = "3d",
45
- size = 32,
46
- style,
47
- extra,
48
- className,
49
- ...props
50
- }) => {
43
+ var Logo = (0, import_react.memo)(({ type = "3d", size = 32, style, extra, className, ...props }) => {
51
44
  const theme = (0, import_antd_style.useTheme)();
52
45
  const { styles, cx } = (0, import_style.useStyles)();
53
46
  let logoComponent;
54
47
  switch (type) {
55
48
  case "3d":
56
- return /* @__PURE__ */ import_react.default.createElement(import_Logo3D.default, { style: { height: size, width: size, ...style }, ...props });
49
+ return /* @__PURE__ */ React.createElement(import_Logo3D.default, { style: { height: size, width: size, ...style }, ...props });
57
50
  case "flat":
58
- return /* @__PURE__ */ import_react.default.createElement(import_LogoFlat.default, { style: { height: size, width: size, ...style }, ...props });
51
+ return /* @__PURE__ */ React.createElement(import_LogoFlat.default, { style: { height: size, width: size, ...style }, ...props });
59
52
  case "high-contrast":
60
- return /* @__PURE__ */ import_react.default.createElement(import_LogoHighContrast.default, { style: { height: size, width: size, ...style }, ...props });
53
+ return /* @__PURE__ */ React.createElement(import_LogoHighContrast.default, { style: { height: size, width: size, ...style }, ...props });
61
54
  case "text":
62
- return /* @__PURE__ */ import_react.default.createElement(import_LogoText.default, { style: { height: size, width: "auto", ...style }, ...props });
55
+ return /* @__PURE__ */ React.createElement(import_LogoText.default, { style: { height: size, width: "auto", ...style }, ...props });
63
56
  case "combine":
64
- logoComponent = /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(import_Logo3D.default, { style: { height: size, width: size } }), /* @__PURE__ */ import_react.default.createElement(import_LogoText.default, { style: { marginLeft: Math.round(size / 4), height: size, width: "auto" } }));
57
+ logoComponent = /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(import_Logo3D.default, { style: { height: size, width: size } }), /* @__PURE__ */ React.createElement(import_LogoText.default, { style: { marginLeft: Math.round(size / 4), height: size, width: "auto" } }));
65
58
  }
66
- const extraSize = Math.round(size / 3 * 2);
67
- return /* @__PURE__ */ import_react.default.createElement("div", { className: cx(styles.flexCenter, className), style, ...props }, logoComponent, extra && /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(import_Divider.default, { style: { height: extraSize, width: extraSize, color: theme.colorBorder } }), /* @__PURE__ */ import_react.default.createElement("div", { className: styles.extraTitle, style: { fontSize: extraSize } }, extra)));
68
- };
69
- var Logo_default = import_react.default.memo(Logo);
59
+ const extraSize = Math.round(size / 3 * 1.9);
60
+ return /* @__PURE__ */ React.createElement("div", { className: cx(styles.flexCenter, className), style, ...props }, logoComponent, extra && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(import_Divider.default, { style: { height: extraSize, width: extraSize, color: theme.colorBorder } }), /* @__PURE__ */ React.createElement("div", { className: styles.extraTitle, style: { fontSize: extraSize } }, extra)));
61
+ });
62
+ var Logo_default = Logo;
70
63
  // Annotate the CommonJS export names for ESM import in node:
71
64
  0 && (module.exports = {});
package/lib/Logo/style.js CHANGED
@@ -31,7 +31,7 @@ var useStyles = (0, import_antd_style.createStyles)(({ css }) => {
31
31
  `,
32
32
  extraTitle: css`
33
33
  white-space: nowrap;
34
- font-weight: 200;
34
+ font-weight: 300;
35
35
  `
36
36
  };
37
37
  });
@@ -0,0 +1,3 @@
1
+ import { PropsWithChildren } from 'react';
2
+ declare const Code: import("react").MemoExoticComponent<(p: PropsWithChildren<any>) => import("react/jsx-runtime").JSX.Element>;
3
+ export default Code;
@@ -0,0 +1,33 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // src/Markdown/Code.tsx
20
+ var Code_exports = {};
21
+ __export(Code_exports, {
22
+ default: () => Code_default
23
+ });
24
+ module.exports = __toCommonJS(Code_exports);
25
+ var import_style = require("./style");
26
+ var import_react = require("react");
27
+ var Code = (0, import_react.memo)((p) => {
28
+ const { styles } = (0, import_style.useStyles)();
29
+ return /* @__PURE__ */ React.createElement("code", { className: styles.code }, "`", p.children, "`");
30
+ });
31
+ var Code_default = Code;
32
+ // Annotate the CommonJS export names for ESM import in node:
33
+ 0 && (module.exports = {});
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Code: import("react").MemoExoticComponent<(props: any) => import("react/jsx-runtime").JSX.Element | null>;
3
+ export default Code;
@@ -0,0 +1,64 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/Markdown/CodeBlock.tsx
30
+ var CodeBlock_exports = {};
31
+ __export(CodeBlock_exports, {
32
+ default: () => CodeBlock_default
33
+ });
34
+ module.exports = __toCommonJS(CodeBlock_exports);
35
+ var import_Highlighter = __toESM(require("../Highlighter"));
36
+ var import_antd_style = require("antd-style");
37
+ var import_react = require("react");
38
+ var useStyles = (0, import_antd_style.createStyles)(
39
+ ({ css }) => css`
40
+ :not(:last-child) {
41
+ margin-bottom: 14px;
42
+ }
43
+ `
44
+ );
45
+ var Code = (0, import_react.memo)((props) => {
46
+ const { styles, theme } = useStyles();
47
+ if (!props.children[0])
48
+ return null;
49
+ const { children, className } = props.children[0].props;
50
+ if (!children)
51
+ return null;
52
+ return /* @__PURE__ */ React.createElement(
53
+ import_Highlighter.default,
54
+ {
55
+ theme: theme.appearance,
56
+ language: (className == null ? void 0 : className.replace("language-", "")) || "markdown",
57
+ className: styles
58
+ },
59
+ children instanceof Array ? children[0] : children
60
+ );
61
+ });
62
+ var CodeBlock_default = Code;
63
+ // Annotate the CommonJS export names for ESM import in node:
64
+ 0 && (module.exports = {});
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ export interface MarkdownProps {
3
+ /**
4
+ * @description The markdown content to be rendered
5
+ */
6
+ children: string;
7
+ /**
8
+ * @description The class name for the Markdown component
9
+ */
10
+ className?: string;
11
+ }
12
+ declare const Markdown: import("react").NamedExoticComponent<MarkdownProps>;
13
+ export default Markdown;
@@ -0,0 +1,48 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/Markdown/index.tsx
30
+ var Markdown_exports = {};
31
+ __export(Markdown_exports, {
32
+ default: () => Markdown_default
33
+ });
34
+ module.exports = __toCommonJS(Markdown_exports);
35
+ var import_antd = require("antd");
36
+ var import_react = require("react");
37
+ var import_react_markdown = __toESM(require("react-markdown"));
38
+ var import_style = require("./style");
39
+ var import_Code = __toESM(require("./Code"));
40
+ var import_CodeBlock = __toESM(require("./CodeBlock"));
41
+ var Markdown = (0, import_react.memo)(({ children, className }) => {
42
+ const { styles, cx } = (0, import_style.useStyles)();
43
+ const components = { pre: import_CodeBlock.default, code: import_Code.default, hr: import_antd.Divider, a: import_antd.Typography.Link };
44
+ return /* @__PURE__ */ React.createElement(import_antd.Typography, null, /* @__PURE__ */ React.createElement(import_react_markdown.default, { className: cx(styles.container, className), components }, children));
45
+ });
46
+ var Markdown_default = Markdown;
47
+ // Annotate the CommonJS export names for ESM import in node:
48
+ 0 && (module.exports = {});
@@ -0,0 +1,4 @@
1
+ export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
2
+ container: import("antd-style").SerializedStyles;
3
+ code: import("antd-style").SerializedStyles;
4
+ }>;
@@ -0,0 +1,64 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // src/Markdown/style.ts
20
+ var style_exports = {};
21
+ __export(style_exports, {
22
+ useStyles: () => useStyles
23
+ });
24
+ module.exports = __toCommonJS(style_exports);
25
+ var import_antd_style = require("antd-style");
26
+ var useStyles = (0, import_antd_style.createStyles)(({ css, token, isDarkMode }) => {
27
+ return {
28
+ container: css`
29
+ p {
30
+ margin: 20px auto;
31
+ line-height: 2;
32
+ word-wrap: break-word;
33
+ font-size: 14px;
34
+ color: ${token.colorText};
35
+ }
36
+
37
+ p:not(:last-child) {
38
+ margin-bottom: 1em;
39
+ }
40
+
41
+ blockquote p {
42
+ color: ${token.colorTextDescription};
43
+ }
44
+
45
+ ol,
46
+ ul {
47
+ li {
48
+ line-height: 2;
49
+ display: list-item;
50
+ }
51
+ }
52
+ `,
53
+ code: css`
54
+ padding: 2px 4px;
55
+ font-family: ${token.fontFamilyCode} !important;
56
+ color: ${isDarkMode ? token.cyan8 : token.pink7};
57
+ border-radius: 4px;
58
+ `
59
+ };
60
+ });
61
+ // Annotate the CommonJS export names for ESM import in node:
62
+ 0 && (module.exports = {
63
+ useStyles
64
+ });
@@ -0,0 +1,35 @@
1
+ /// <reference types="react" />
2
+ import { ButtonProps } from 'antd';
3
+ /**
4
+ * @title MessageInputProps
5
+ * @category Props
6
+ * @description MessageInput 组件的 Props
7
+ */
8
+ export interface MessageInputProps {
9
+ /**
10
+ * @title 确认回调函数
11
+ * @description 用户点击确认按钮后的回调函数
12
+ * @param text - 用户输入的文本
13
+ */
14
+ onConfirm?: (text: string) => void;
15
+ /**
16
+ * @title 取消回调函数
17
+ * @description 用户点击取消按钮后的回调函数
18
+ */
19
+ onCancel?: () => void;
20
+ /**
21
+ * @title 默认值
22
+ * @description 输入框的默认值
23
+ */
24
+ defaultValue?: string;
25
+ /**
26
+ * @title 渲染按钮
27
+ * @description 自定义渲染底部按钮
28
+ * @param text - 用户输入的文本
29
+ */
30
+ renderButtons?: (text: string) => ButtonProps[];
31
+ height?: number;
32
+ className?: string;
33
+ }
34
+ declare const MessageInput: import("react").NamedExoticComponent<MessageInputProps>;
35
+ export default MessageInput;