@lobehub/ui 1.158.1 → 1.160.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 (153) hide show
  1. package/es/A/index.js +2 -2
  2. package/es/ActionIcon/index.js +15 -11
  3. package/es/ActionIconGroup/index.js +47 -45
  4. package/es/Alert/index.js +50 -43
  5. package/es/Avatar/index.js +12 -10
  6. package/es/Burger/index.js +35 -30
  7. package/es/CodeEditor/index.js +43 -38
  8. package/es/Collapse/index.js +3 -3
  9. package/es/ColorScales/ScaleRow.js +43 -39
  10. package/es/ColorScales/index.js +59 -57
  11. package/es/ConfigProvider/index.js +5 -3
  12. package/es/ContextMenu/index.js +3 -2
  13. package/es/CopyButton/index.js +4 -3
  14. package/es/DraggablePanel/components/DraggablePanelBody.js +3 -2
  15. package/es/DraggablePanel/components/DraggablePanelContainer.js +3 -2
  16. package/es/DraggablePanel/components/DraggablePanelFooter.js +3 -2
  17. package/es/DraggablePanel/components/DraggablePanelHeader.js +9 -5
  18. package/es/DraggablePanel/index.js +32 -25
  19. package/es/EditableText/index.js +16 -13
  20. package/es/EmojiPicker/AvatarUploader.js +71 -60
  21. package/es/EmojiPicker/index.js +110 -101
  22. package/es/EmptyCard/index.js +31 -23
  23. package/es/FileTypeIcon/index.js +55 -44
  24. package/es/FluentEmoji/index.js +6 -4
  25. package/es/Footer/index.js +10 -8
  26. package/es/Form/components/FormDivider.js +2 -2
  27. package/es/Form/components/FormFlatGroup.js +9 -4
  28. package/es/Form/components/FormFooter.js +6 -3
  29. package/es/Form/components/FormGroup.js +21 -15
  30. package/es/Form/components/FormItem.js +17 -10
  31. package/es/Form/components/FormTitle.js +23 -15
  32. package/es/Form/index.js +30 -26
  33. package/es/FormModal/index.js +34 -30
  34. package/es/Grid/index.js +6 -3
  35. package/es/Header/index.js +65 -49
  36. package/es/Highlighter/FullFeatured.js +51 -41
  37. package/es/Highlighter/SyntaxHighlighter/index.js +30 -19
  38. package/es/Highlighter/index.js +29 -19
  39. package/es/Icon/icons/DiscordIcon.js +3 -2
  40. package/es/Icon/index.js +16 -13
  41. package/es/Image/ImageGallery.js +5 -3
  42. package/es/Image/Preview.js +5 -3
  43. package/es/Image/index.js +38 -34
  44. package/es/Image/usePreview.js +37 -33
  45. package/es/Img/index.js +2 -2
  46. package/es/Input/index.js +3 -3
  47. package/es/Layout/index.js +63 -35
  48. package/es/List/ListItem/index.js +67 -53
  49. package/es/Markdown/CodeBlock.js +16 -10
  50. package/es/Markdown/Typography.js +6 -3
  51. package/es/Markdown/index.js +22 -18
  52. package/es/MaterialFileTypeIcon/index.js +20 -17
  53. package/es/MaterialFileTypeIcon/utils.d.ts +2 -2
  54. package/es/Mermaid/FullFeatured.js +45 -35
  55. package/es/Mermaid/index.js +26 -17
  56. package/es/Mermaid/useMermaid.d.ts +1 -2
  57. package/es/Mermaid/useMermaid.js +5 -3
  58. package/es/Modal/index.js +60 -48
  59. package/es/SearchBar/index.js +51 -47
  60. package/es/SelectWithImg/index.js +40 -34
  61. package/es/SideNav/index.js +22 -15
  62. package/es/SliderWithInput/index.js +38 -35
  63. package/es/Snippet/index.js +15 -10
  64. package/es/SortableList/DragHandle.js +3 -3
  65. package/es/SortableList/SortableItem.js +19 -16
  66. package/es/SortableList/SortableOverlay.js +5 -3
  67. package/es/SortableList/index.js +23 -15
  68. package/es/Swatches/index.js +20 -18
  69. package/es/TabsNav/index.js +3 -2
  70. package/es/Tag/index.js +12 -7
  71. package/es/ThemeProvider/Meta.js +58 -53
  72. package/es/ThemeProvider/index.js +23 -17
  73. package/es/ThemeSwitch/index.js +19 -15
  74. package/es/Toc/TocMobile.js +52 -47
  75. package/es/Toc/index.js +13 -8
  76. package/es/Tooltip/index.js +3 -2
  77. package/es/Video/index.js +47 -41
  78. package/es/awesome/AuroraBackground/index.js +18 -11
  79. package/es/awesome/Features/Item.js +45 -37
  80. package/es/awesome/Features/index.js +4 -5
  81. package/es/awesome/GaussianBackground/index.js +13 -8
  82. package/es/awesome/Giscus/index.js +15 -13
  83. package/es/awesome/GradientButton/index.js +9 -5
  84. package/es/awesome/GridBackground/Grid.js +61 -49
  85. package/es/awesome/GridBackground/GridShowcase.js +28 -24
  86. package/es/awesome/GridBackground/index.js +33 -27
  87. package/es/awesome/Hero/index.js +74 -63
  88. package/es/awesome/Spline/ParentSize.js +8 -7
  89. package/es/awesome/Spline/index.js +13 -10
  90. package/es/awesome/Spotlight/index.js +3 -2
  91. package/es/awesome/SpotlightCard/SpotlightCardItem.js +8 -5
  92. package/es/awesome/SpotlightCard/index.js +12 -9
  93. package/es/brand/BrandLoading/index.js +3 -2
  94. package/es/brand/LobeChat/index.js +38 -29
  95. package/es/brand/LobeChatText/index.js +13 -8
  96. package/es/brand/LobeHub/index.js +38 -29
  97. package/es/brand/LobeHubText/index.js +9 -4
  98. package/es/brand/Logo3d/index.js +3 -2
  99. package/es/brand/LogoFlat/index.js +49 -44
  100. package/es/brand/LogoMono/index.js +53 -48
  101. package/es/brand/LogoThree/Loading.js +11 -9
  102. package/es/brand/LogoThree/LogoSpline.js +12 -10
  103. package/es/brand/LogoThree/index.js +25 -23
  104. package/es/brand/components/Divider.js +6 -4
  105. package/es/chat/BackBottom/index.js +6 -4
  106. package/es/chat/ChatHeader/ChatHeaderTitle.js +31 -22
  107. package/es/chat/ChatHeader/index.js +42 -35
  108. package/es/chat/ChatInputArea/ChatInputActionBar.js +21 -16
  109. package/es/chat/ChatInputArea/ChatInputArea.js +23 -19
  110. package/es/chat/ChatInputArea/ChatInputAreaInner.js +3 -2
  111. package/es/chat/ChatInputArea/SendButton.js +51 -36
  112. package/es/chat/ChatItem/components/Actions.js +5 -3
  113. package/es/chat/ChatItem/components/Avatar.js +21 -17
  114. package/es/chat/ChatItem/components/BorderSpacing.js +2 -1
  115. package/es/chat/ChatItem/components/ErrorContent.js +11 -9
  116. package/es/chat/ChatItem/components/Loading.js +12 -10
  117. package/es/chat/ChatItem/components/MessageContent.js +10 -6
  118. package/es/chat/ChatItem/components/Title.js +8 -3
  119. package/es/chat/ChatItem/index.js +53 -47
  120. package/es/chat/ChatList/ActionsBar.js +3 -2
  121. package/es/chat/ChatList/HistoryDivider.js +11 -6
  122. package/es/chat/ChatList/Item.js +12 -14
  123. package/es/chat/ChatList/index.js +29 -25
  124. package/es/chat/EditableMessage/index.js +32 -26
  125. package/es/chat/EditableMessageList/index.js +76 -72
  126. package/es/chat/MessageInput/index.js +43 -35
  127. package/es/chat/MessageModal/index.js +51 -41
  128. package/es/chat/TokenTag/index.js +11 -7
  129. package/es/components/ControlInput.js +22 -18
  130. package/es/hooks/useHighlight.d.ts +1 -1
  131. package/es/mdx/Callout/index.js +19 -13
  132. package/es/mdx/Cards/Card.js +59 -46
  133. package/es/mdx/Cards/index.js +6 -3
  134. package/es/mdx/FileTree/File.js +11 -5
  135. package/es/mdx/FileTree/Folder.js +22 -13
  136. package/es/mdx/FileTree/index.js +6 -3
  137. package/es/mdx/Mdx/index.js +9 -7
  138. package/es/mdx/Steps/index.js +6 -3
  139. package/es/mdx/Tabs/Tab.js +8 -3
  140. package/es/mdx/Tabs/index.js +21 -17
  141. package/es/mdx/mdxComponents/CodeBlock.js +14 -9
  142. package/es/mdx/mdxComponents/Image.js +2 -2
  143. package/es/mdx/mdxComponents/Link.js +3 -2
  144. package/es/mdx/mdxComponents/Pre.js +14 -7
  145. package/es/mdx/mdxComponents/Video.js +2 -2
  146. package/es/mobile/MobileChatInputArea/SendButton.js +4 -3
  147. package/es/mobile/MobileChatInputArea/index.js +79 -69
  148. package/es/mobile/MobileNavBar/MobileNavBarTitle.js +37 -26
  149. package/es/mobile/MobileNavBar/index.js +48 -41
  150. package/es/mobile/MobileSafeArea/index.js +3 -2
  151. package/es/mobile/MobileTabBar/index.js +35 -29
  152. package/es/storybook/StoryBook/index.js +26 -19
  153. package/package.json +1 -90
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
3
+ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
4
4
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
5
5
  var _excluded = ["type", "size", "style", "extra", "className"];
6
6
  import { useTheme } from 'antd-style';
@@ -12,6 +12,9 @@ import LogoFlat from "../LogoFlat";
12
12
  import LogoMono from "../LogoMono";
13
13
  import Divider from "../components/Divider";
14
14
  import { useStyles } from "./style";
15
+ import { jsx as _jsx } from "react/jsx-runtime";
16
+ import { Fragment as _Fragment } from "react/jsx-runtime";
17
+ import { jsxs as _jsxs } from "react/jsx-runtime";
15
18
  var LobeHub = /*#__PURE__*/memo(function (_ref) {
16
19
  var _ref$type = _ref.type,
17
20
  type = _ref$type === void 0 ? '3d' : _ref$type,
@@ -28,14 +31,14 @@ var LobeHub = /*#__PURE__*/memo(function (_ref) {
28
31
  switch (type) {
29
32
  case '3d':
30
33
  {
31
- logoComponent = /*#__PURE__*/React.createElement(Logo3d, _extends({
34
+ logoComponent = /*#__PURE__*/_jsx(Logo3d, _objectSpread({
32
35
  size: size
33
36
  }, rest));
34
37
  break;
35
38
  }
36
39
  case 'flat':
37
40
  {
38
- logoComponent = /*#__PURE__*/React.createElement(LogoFlat, {
41
+ logoComponent = /*#__PURE__*/_jsx(LogoFlat, {
39
42
  size: size,
40
43
  style: style
41
44
  });
@@ -43,7 +46,7 @@ var LobeHub = /*#__PURE__*/memo(function (_ref) {
43
46
  }
44
47
  case 'mono':
45
48
  {
46
- logoComponent = /*#__PURE__*/React.createElement(LogoMono, {
49
+ logoComponent = /*#__PURE__*/_jsx(LogoMono, {
47
50
  size: size,
48
51
  style: style
49
52
  });
@@ -51,7 +54,7 @@ var LobeHub = /*#__PURE__*/memo(function (_ref) {
51
54
  }
52
55
  case 'text':
53
56
  {
54
- logoComponent = /*#__PURE__*/React.createElement(LogoText, _extends({
57
+ logoComponent = /*#__PURE__*/_jsx(LogoText, _objectSpread({
55
58
  className: className,
56
59
  size: size,
57
60
  style: style
@@ -60,43 +63,49 @@ var LobeHub = /*#__PURE__*/memo(function (_ref) {
60
63
  }
61
64
  case 'combine':
62
65
  {
63
- logoComponent = /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Logo3d, {
64
- alt: "LobeChat",
65
- size: size
66
- }), /*#__PURE__*/React.createElement(LogoText, {
67
- size: size,
68
- style: {
69
- marginLeft: Math.round(size / 4)
70
- }
71
- }));
72
- if (!extra) logoComponent = /*#__PURE__*/React.createElement(Flexbox, {
66
+ logoComponent = /*#__PURE__*/_jsxs(_Fragment, {
67
+ children: [/*#__PURE__*/_jsx(Logo3d, {
68
+ alt: "LobeChat",
69
+ size: size
70
+ }), /*#__PURE__*/_jsx(LogoText, {
71
+ size: size,
72
+ style: {
73
+ marginLeft: Math.round(size / 4)
74
+ }
75
+ })]
76
+ });
77
+ if (!extra) logoComponent = /*#__PURE__*/_jsx(Flexbox, {
73
78
  align: 'center',
74
79
  className: className,
75
80
  flex: 'none',
76
81
  horizontal: true,
77
- style: style
78
- }, logoComponent);
82
+ style: style,
83
+ children: logoComponent
84
+ });
79
85
  break;
80
86
  }
81
87
  }
82
88
  if (!extra) return logoComponent;
83
89
  var extraSize = Math.round(size / 3 * 1.9);
84
- return /*#__PURE__*/React.createElement(Flexbox, _extends({
90
+ return /*#__PURE__*/_jsxs(Flexbox, _objectSpread(_objectSpread({
85
91
  align: 'center',
86
92
  className: className,
87
93
  flex: 'none',
88
94
  horizontal: true,
89
95
  style: style
90
- }, rest), logoComponent, /*#__PURE__*/React.createElement(Divider, {
91
- size: extraSize,
92
- style: {
93
- color: theme.colorFill
94
- }
95
- }), /*#__PURE__*/React.createElement("div", {
96
- className: styles.extraTitle,
97
- style: {
98
- fontSize: extraSize
99
- }
100
- }, extra));
96
+ }, rest), {}, {
97
+ children: [logoComponent, /*#__PURE__*/_jsx(Divider, {
98
+ size: extraSize,
99
+ style: {
100
+ color: theme.colorFill
101
+ }
102
+ }), /*#__PURE__*/_jsx("div", {
103
+ className: styles.extraTitle,
104
+ style: {
105
+ fontSize: extraSize
106
+ },
107
+ children: extra
108
+ })]
109
+ }));
101
110
  });
102
111
  export default LobeHub;
@@ -1,13 +1,14 @@
1
- import _extends from "@babel/runtime/helpers/esm/extends";
2
1
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
3
2
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
4
3
  var _excluded = ["size", "style"];
4
+ import { jsx as _jsx } from "react/jsx-runtime";
5
+ import { jsxs as _jsxs } from "react/jsx-runtime";
5
6
  var LobeHubText = function LobeHubText(_ref) {
6
7
  var _ref$size = _ref.size,
7
8
  size = _ref$size === void 0 ? '1em' : _ref$size,
8
9
  style = _ref.style,
9
10
  rest = _objectWithoutProperties(_ref, _excluded);
10
- return /*#__PURE__*/React.createElement("svg", _extends({
11
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
11
12
  fill: "currentColor",
12
13
  fillRule: "evenodd",
13
14
  height: size,
@@ -17,8 +18,12 @@ var LobeHubText = function LobeHubText(_ref) {
17
18
  }, style),
18
19
  viewBox: "0 0 940 320",
19
20
  xmlns: "http://www.w3.org/2000/svg"
20
- }, rest), /*#__PURE__*/React.createElement("title", null, "LobeHub"), /*#__PURE__*/React.createElement("path", {
21
- 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"
21
+ }, rest), {}, {
22
+ children: [/*#__PURE__*/_jsx("title", {
23
+ children: "LobeHub"
24
+ }), /*#__PURE__*/_jsx("path", {
25
+ 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"
26
+ })]
22
27
  }));
23
28
  };
24
29
  export default LobeHubText;
@@ -1,10 +1,11 @@
1
- import _extends from "@babel/runtime/helpers/esm/extends";
1
+ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
3
  var _excluded = ["size", "style", "alt"];
4
4
  import { memo } from 'react';
5
5
  import { useCdnFn } from "../../ConfigProvider";
6
6
  import Img from "../../Img";
7
7
  import { LOGO_3D } from "../LobeHub/style";
8
+ import { jsx as _jsx } from "react/jsx-runtime";
8
9
  var Logo3d = /*#__PURE__*/memo(function (_ref) {
9
10
  var _ref$size = _ref.size,
10
11
  size = _ref$size === void 0 ? '1em' : _ref$size,
@@ -13,7 +14,7 @@ var Logo3d = /*#__PURE__*/memo(function (_ref) {
13
14
  alt = _ref$alt === void 0 ? 'LobeHub' : _ref$alt,
14
15
  rest = _objectWithoutProperties(_ref, _excluded);
15
16
  var genCdnUrl = useCdnFn();
16
- return /*#__PURE__*/React.createElement(Img, _extends({
17
+ return /*#__PURE__*/_jsx(Img, _objectSpread({
17
18
  alt: alt,
18
19
  height: size,
19
20
  src: genCdnUrl(LOGO_3D),
@@ -1,14 +1,15 @@
1
- import _extends from "@babel/runtime/helpers/esm/extends";
2
1
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
3
2
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
4
3
  var _excluded = ["size", "style"];
5
4
  import { memo } from 'react';
5
+ import { jsx as _jsx } from "react/jsx-runtime";
6
+ import { jsxs as _jsxs } from "react/jsx-runtime";
6
7
  var LogoFlat = /*#__PURE__*/memo(function (_ref) {
7
8
  var _ref$size = _ref.size,
8
9
  size = _ref$size === void 0 ? '1em' : _ref$size,
9
10
  style = _ref.style,
10
11
  rest = _objectWithoutProperties(_ref, _excluded);
11
- return /*#__PURE__*/React.createElement("svg", _extends({
12
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
12
13
  height: size,
13
14
  style: _objectSpread({
14
15
  flex: 'none',
@@ -17,48 +18,52 @@ var LogoFlat = /*#__PURE__*/memo(function (_ref) {
17
18
  viewBox: "0 0 24 24",
18
19
  width: size,
19
20
  xmlns: "http://www.w3.org/2000/svg"
20
- }, rest), /*#__PURE__*/React.createElement("title", null, "LobeHub"), /*#__PURE__*/React.createElement("path", {
21
- d: "M22.951 13.475C22.951 19.672 18.082 24 11.975 24 5.87 24 1 19.59 1 13.393c0-1.843.41-2.633 2.58-2.922 3.89-.518 5.942-.313 8.396-.313 2.453 0 5.942-.104 8.395.313 2.007.342 2.457.71 2.58 3.004z",
22
- fill: "#FFB02E"
23
- }), /*#__PURE__*/React.createElement("path", {
24
- d: "M11.955 19.209c-2.314 0-2.928.286-2.928.286s.287 2.212 2.928 2.212c2.642 0 2.928-2.212 2.928-2.212s-.614-.287-2.928-.287z",
25
- fill: "#972021"
26
- }), /*#__PURE__*/React.createElement("path", {
27
- d: "M21.15 11.51c0 .52-4.09.941-9.133.941-5.044 0-9.133-.422-9.133-.942s4.089-.942 9.133-.942c5.043 0 9.132.422 9.132.942z",
28
- fill: "#FF6723"
29
- }), /*#__PURE__*/React.createElement("path", {
30
- d: "M9.969 12.451c.052-1.226-.04-1.867-.45-2.985 0 0 .777-.987 2.21-.987 1.434 0 2.458.25 2.458.25-.248 1.376-.26 2.206-.205 3.722H9.97z",
31
- fill: "#FEE064"
32
- }), /*#__PURE__*/React.createElement("path", {
33
- d: "M8.633 18.535c1.207-.58 2.032-1.762 2.032-3.217 0-2.081-1.687-3.932-3.768-3.932-2.08 0-3.85 1.605-3.85 3.686 0 1.146.537 2.196 1.365 2.91a4.582 4.582 0 011.625-.289c1.04 0 1.972.327 2.596.842zM15.318 18.535c-1.207-.58-2.032-1.762-2.032-3.217 0-2.081 1.687-3.932 3.768-3.932 2.08 0 3.85 1.605 3.85 3.686 0 1.146-.537 2.196-1.365 2.91a4.582 4.582 0 00-1.625-.289c-1.04 0-1.972.327-2.596.842z",
34
- fill: "#fff"
35
- }), /*#__PURE__*/React.createElement("path", {
36
- d: "M7.143 17.447a2.293 2.293 0 100-4.586 2.293 2.293 0 000 4.586zM16.808 17.447a2.293 2.293 0 110-4.586 2.293 2.293 0 010 4.586z",
37
- fill: "#270C36"
38
- }), /*#__PURE__*/React.createElement("path", {
39
- d: "M13.04.902c-1.149 0-1.597-.942-3.358-.9-1.916 0-2.785 1.064-3.727 1.883-.16.14-.942.574-1.31.737-1.612.717-2.826 1.761-2.826 3.318 0 1.696 1.43 3.071 3.194 3.071.29 0 .57-.037.838-.106.712.863 1.816 1.364 3.053 1.417 1.925.082 2.54-1.25 3.645-.697.758.38 1.133.697 2.334.697 1.402 0 2.053-.43 2.457-.901.738-.86 1.874-.328 2.58-.328 1.538 0 2.785-1.192 2.785-2.662s-1.246-2.662-2.784-2.662c-.422 0-1.217.104-1.393-.573C18.241 2.09 16.878.82 14.924.82c-.763 0-1.449.082-1.884.082z",
40
- fill: "#A68AE2"
41
- }), /*#__PURE__*/React.createElement("path", {
42
- d: "M5.669 1.025a.778.778 0 11-1.557 0 .778.778 0 011.557 0z",
43
- fill: "#7B61FF"
44
- }), /*#__PURE__*/React.createElement("path", {
45
- d: "M4.686 8.192a1.31 1.31 0 11-2.621 0 1.31 1.31 0 012.62 0z",
46
- fill: "#F24630"
47
- }), /*#__PURE__*/React.createElement("path", {
48
- d: "M21.968 3.4a1.27 1.27 0 11-2.539 0 1.27 1.27 0 012.54 0z",
49
- fill: "#7CEE1D"
50
- }), /*#__PURE__*/React.createElement("path", {
51
- d: "M9.701 19.34c.45-.068 1.163-.131 2.254-.131 1 0 1.683.053 2.136.114-.127.48-1.062.664-2.197.664-1.122 0-2.05-.18-2.193-.647z",
52
- fill: "#fff"
53
- }), /*#__PURE__*/React.createElement("path", {
54
- d: "M11.976 23.099c1.646 0 1.909-1.678 1.96-2.098.039-.34-.137-.511-.33-.627-.191-.116-.768-.224-1.63-.224-.862 0-1.435.108-1.63.224-.196.116-.373.288-.33.627.051.42.314 2.098 1.96 2.098z",
55
- fill: "#F24630"
56
- }), /*#__PURE__*/React.createElement("path", {
57
- d: "M12.934 9.972c-.47-.319-1.143-.348-1.621-.043a4.086 4.086 0 01-2.204.638c-2.217 0-4.014-1.742-4.014-3.89 0-2.149 1.797-3.89 4.014-3.89 1.116 0 2.126.44 2.853 1.154.406.397 1.072.51 1.597.295.407-.167.855-.259 1.324-.259 1.878 0 3.4 1.475 3.4 3.295 0 1.82-1.523 3.295-3.4 3.295-.725 0-1.397-.22-1.95-.595z",
58
- fill: "#F4B8CA"
59
- }), /*#__PURE__*/React.createElement("path", {
60
- d: "M16.808 8.07a1.106 1.106 0 11-2.211 0 1.106 1.106 0 012.211 0z",
61
- fill: "#0C74FF"
21
+ }, rest), {}, {
22
+ children: [/*#__PURE__*/_jsx("title", {
23
+ children: "LobeHub"
24
+ }), /*#__PURE__*/_jsx("path", {
25
+ d: "M22.951 13.475C22.951 19.672 18.082 24 11.975 24 5.87 24 1 19.59 1 13.393c0-1.843.41-2.633 2.58-2.922 3.89-.518 5.942-.313 8.396-.313 2.453 0 5.942-.104 8.395.313 2.007.342 2.457.71 2.58 3.004z",
26
+ fill: "#FFB02E"
27
+ }), /*#__PURE__*/_jsx("path", {
28
+ d: "M11.955 19.209c-2.314 0-2.928.286-2.928.286s.287 2.212 2.928 2.212c2.642 0 2.928-2.212 2.928-2.212s-.614-.287-2.928-.287z",
29
+ fill: "#972021"
30
+ }), /*#__PURE__*/_jsx("path", {
31
+ d: "M21.15 11.51c0 .52-4.09.941-9.133.941-5.044 0-9.133-.422-9.133-.942s4.089-.942 9.133-.942c5.043 0 9.132.422 9.132.942z",
32
+ fill: "#FF6723"
33
+ }), /*#__PURE__*/_jsx("path", {
34
+ d: "M9.969 12.451c.052-1.226-.04-1.867-.45-2.985 0 0 .777-.987 2.21-.987 1.434 0 2.458.25 2.458.25-.248 1.376-.26 2.206-.205 3.722H9.97z",
35
+ fill: "#FEE064"
36
+ }), /*#__PURE__*/_jsx("path", {
37
+ d: "M8.633 18.535c1.207-.58 2.032-1.762 2.032-3.217 0-2.081-1.687-3.932-3.768-3.932-2.08 0-3.85 1.605-3.85 3.686 0 1.146.537 2.196 1.365 2.91a4.582 4.582 0 011.625-.289c1.04 0 1.972.327 2.596.842zM15.318 18.535c-1.207-.58-2.032-1.762-2.032-3.217 0-2.081 1.687-3.932 3.768-3.932 2.08 0 3.85 1.605 3.85 3.686 0 1.146-.537 2.196-1.365 2.91a4.582 4.582 0 00-1.625-.289c-1.04 0-1.972.327-2.596.842z",
38
+ fill: "#fff"
39
+ }), /*#__PURE__*/_jsx("path", {
40
+ d: "M7.143 17.447a2.293 2.293 0 100-4.586 2.293 2.293 0 000 4.586zM16.808 17.447a2.293 2.293 0 110-4.586 2.293 2.293 0 010 4.586z",
41
+ fill: "#270C36"
42
+ }), /*#__PURE__*/_jsx("path", {
43
+ d: "M13.04.902c-1.149 0-1.597-.942-3.358-.9-1.916 0-2.785 1.064-3.727 1.883-.16.14-.942.574-1.31.737-1.612.717-2.826 1.761-2.826 3.318 0 1.696 1.43 3.071 3.194 3.071.29 0 .57-.037.838-.106.712.863 1.816 1.364 3.053 1.417 1.925.082 2.54-1.25 3.645-.697.758.38 1.133.697 2.334.697 1.402 0 2.053-.43 2.457-.901.738-.86 1.874-.328 2.58-.328 1.538 0 2.785-1.192 2.785-2.662s-1.246-2.662-2.784-2.662c-.422 0-1.217.104-1.393-.573C18.241 2.09 16.878.82 14.924.82c-.763 0-1.449.082-1.884.082z",
44
+ fill: "#A68AE2"
45
+ }), /*#__PURE__*/_jsx("path", {
46
+ d: "M5.669 1.025a.778.778 0 11-1.557 0 .778.778 0 011.557 0z",
47
+ fill: "#7B61FF"
48
+ }), /*#__PURE__*/_jsx("path", {
49
+ d: "M4.686 8.192a1.31 1.31 0 11-2.621 0 1.31 1.31 0 012.62 0z",
50
+ fill: "#F24630"
51
+ }), /*#__PURE__*/_jsx("path", {
52
+ d: "M21.968 3.4a1.27 1.27 0 11-2.539 0 1.27 1.27 0 012.54 0z",
53
+ fill: "#7CEE1D"
54
+ }), /*#__PURE__*/_jsx("path", {
55
+ d: "M9.701 19.34c.45-.068 1.163-.131 2.254-.131 1 0 1.683.053 2.136.114-.127.48-1.062.664-2.197.664-1.122 0-2.05-.18-2.193-.647z",
56
+ fill: "#fff"
57
+ }), /*#__PURE__*/_jsx("path", {
58
+ d: "M11.976 23.099c1.646 0 1.909-1.678 1.96-2.098.039-.34-.137-.511-.33-.627-.191-.116-.768-.224-1.63-.224-.862 0-1.435.108-1.63.224-.196.116-.373.288-.33.627.051.42.314 2.098 1.96 2.098z",
59
+ fill: "#F24630"
60
+ }), /*#__PURE__*/_jsx("path", {
61
+ d: "M12.934 9.972c-.47-.319-1.143-.348-1.621-.043a4.086 4.086 0 01-2.204.638c-2.217 0-4.014-1.742-4.014-3.89 0-2.149 1.797-3.89 4.014-3.89 1.116 0 2.126.44 2.853 1.154.406.397 1.072.51 1.597.295.407-.167.855-.259 1.324-.259 1.878 0 3.4 1.475 3.4 3.295 0 1.82-1.523 3.295-3.4 3.295-.725 0-1.397-.22-1.95-.595z",
62
+ fill: "#F4B8CA"
63
+ }), /*#__PURE__*/_jsx("path", {
64
+ d: "M16.808 8.07a1.106 1.106 0 11-2.211 0 1.106 1.106 0 012.211 0z",
65
+ fill: "#0C74FF"
66
+ })]
62
67
  }));
63
68
  });
64
69
  export default LogoFlat;
@@ -1,14 +1,15 @@
1
- import _extends from "@babel/runtime/helpers/esm/extends";
2
1
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
3
2
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
4
3
  var _excluded = ["size", "style"];
5
4
  import { memo } from 'react';
5
+ import { jsx as _jsx } from "react/jsx-runtime";
6
+ import { jsxs as _jsxs } from "react/jsx-runtime";
6
7
  var LogoMono = /*#__PURE__*/memo(function (_ref) {
7
8
  var _ref$size = _ref.size,
8
9
  size = _ref$size === void 0 ? '1em' : _ref$size,
9
10
  style = _ref.style,
10
11
  rest = _objectWithoutProperties(_ref, _excluded);
11
- return /*#__PURE__*/React.createElement("svg", _extends({
12
+ return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
12
13
  height: size,
13
14
  style: _objectSpread({
14
15
  flex: 'none',
@@ -17,52 +18,56 @@ var LogoMono = /*#__PURE__*/memo(function (_ref) {
17
18
  viewBox: "0 0 24 24",
18
19
  width: size,
19
20
  xmlns: "http://www.w3.org/2000/svg"
20
- }, rest), /*#__PURE__*/React.createElement("title", null, "LobeHub"), /*#__PURE__*/React.createElement("path", {
21
- d: "M22.951 13.475C22.951 19.672 18.082 24 11.975 24 5.87 24 1 19.59 1 13.393c0-1.843.41-2.633 2.58-2.922 3.89-.518 5.942-.313 8.396-.313 2.453 0 5.942-.104 8.395.313 2.007.342 2.457.71 2.58 3.004z",
22
- fill: "#BFBFBF"
23
- }), /*#__PURE__*/React.createElement("path", {
24
- d: "M11.955 19.209c-2.314 0-2.928.286-2.928.286s.287 2.212 2.928 2.212c2.642 0 2.928-2.212 2.928-2.212s-.614-.287-2.928-.287z",
25
- fill: "#4F4F4F"
26
- }), /*#__PURE__*/React.createElement("ellipse", {
27
- cx: "12.017",
28
- cy: "11.509",
29
- fill: "#838383",
30
- rx: "9.133",
31
- ry: ".942"
32
- }), /*#__PURE__*/React.createElement("path", {
33
- d: "M9.969 12.451c.052-1.226-.04-1.867-.45-2.985 0 0 .777-.987 2.21-.987 1.434 0 2.458.25 2.458.25-.248 1.376-.26 2.206-.205 3.722H9.97z",
34
- fill: "#E1E1E1"
35
- }), /*#__PURE__*/React.createElement("path", {
36
- d: "M8.633 18.535c1.207-.58 2.032-1.762 2.032-3.217 0-2.081-1.687-3.932-3.768-3.932-2.08 0-3.85 1.605-3.85 3.686 0 1.146.537 2.196 1.365 2.91a4.582 4.582 0 011.625-.289c1.04 0 1.972.327 2.596.842zM15.318 18.535c-1.207-.58-2.032-1.762-2.032-3.217 0-2.081 1.687-3.932 3.768-3.932 2.08 0 3.85 1.605 3.85 3.686 0 1.146-.537 2.196-1.365 2.91a4.582 4.582 0 00-1.625-.289c-1.04 0-1.972.327-2.596.842z",
37
- fill: "#fff"
38
- }), /*#__PURE__*/React.createElement("path", {
39
- d: "M16.808 17.447a2.293 2.293 0 110-4.586 2.293 2.293 0 010 4.586zM7.143 17.447a2.293 2.293 0 100-4.586 2.293 2.293 0 000 4.586z",
40
- fill: "#1A1A1A"
41
- }), /*#__PURE__*/React.createElement("path", {
42
- d: "M13.04.902c-1.149 0-1.597-.942-3.358-.9-1.916 0-2.785 1.064-3.727 1.883-.16.14-.942.574-1.31.737-1.612.717-2.826 1.761-2.826 3.318 0 1.696 1.43 3.071 3.194 3.071.29 0 .57-.037.838-.106.712.863 1.816 1.364 3.053 1.417 1.925.082 2.54-1.25 3.645-.697.758.38 1.133.697 2.334.697 1.402 0 2.053-.43 2.457-.901.738-.86 1.874-.328 2.58-.328 1.538 0 2.785-1.192 2.785-2.662s-1.246-2.662-2.784-2.662c-.422 0-1.217.104-1.393-.573C18.241 2.09 16.878.82 14.924.82c-.763 0-1.449.082-1.884.082z",
43
- fill: "#838383"
44
- }), /*#__PURE__*/React.createElement("circle", {
45
- cx: "4.891",
46
- cy: "1.025",
47
- fill: "#838383",
48
- r: ".778"
49
- }), /*#__PURE__*/React.createElement("circle", {
50
- cx: "20.699",
51
- cy: "3.4",
52
- fill: "#C8C8C8",
53
- r: "1.27"
54
- }), /*#__PURE__*/React.createElement("path", {
55
- d: "M9.701 19.34c.45-.068 1.163-.131 2.254-.131 1 0 1.683.053 2.136.114-.127.48-1.062.664-2.197.664-1.122 0-2.05-.18-2.193-.647z",
56
- fill: "#fff"
57
- }), /*#__PURE__*/React.createElement("path", {
58
- d: "M11.976 23.099c1.646 0 1.909-1.678 1.96-2.098.039-.34-.137-.511-.33-.627-.191-.116-.768-.224-1.63-.224-.862 0-1.435.108-1.63.224-.196.116-.373.288-.33.627.051.42.314 2.098 1.96 2.098z",
59
- fill: "#838383"
60
- }), /*#__PURE__*/React.createElement("path", {
61
- d: "M12.934 9.972c-.47-.319-1.143-.348-1.621-.043a4.086 4.086 0 01-2.204.638c-2.217 0-4.014-1.742-4.014-3.89 0-2.149 1.797-3.89 4.014-3.89 1.116 0 2.126.44 2.853 1.154.406.397 1.072.51 1.597.295.407-.167.855-.259 1.324-.259 1.878 0 3.4 1.475 3.4 3.295 0 1.82-1.523 3.295-3.4 3.295-.725 0-1.397-.22-1.95-.595z",
62
- fill: "#C8C8C8"
63
- }), /*#__PURE__*/React.createElement("path", {
64
- d: "M3.375 9.502a1.31 1.31 0 100-2.62 1.31 1.31 0 000 2.62zM15.702 9.175a1.106 1.106 0 100-2.212 1.106 1.106 0 000 2.212z",
65
- fill: "#4F4F4F"
21
+ }, rest), {}, {
22
+ children: [/*#__PURE__*/_jsx("title", {
23
+ children: "LobeHub"
24
+ }), /*#__PURE__*/_jsx("path", {
25
+ d: "M22.951 13.475C22.951 19.672 18.082 24 11.975 24 5.87 24 1 19.59 1 13.393c0-1.843.41-2.633 2.58-2.922 3.89-.518 5.942-.313 8.396-.313 2.453 0 5.942-.104 8.395.313 2.007.342 2.457.71 2.58 3.004z",
26
+ fill: "#BFBFBF"
27
+ }), /*#__PURE__*/_jsx("path", {
28
+ d: "M11.955 19.209c-2.314 0-2.928.286-2.928.286s.287 2.212 2.928 2.212c2.642 0 2.928-2.212 2.928-2.212s-.614-.287-2.928-.287z",
29
+ fill: "#4F4F4F"
30
+ }), /*#__PURE__*/_jsx("ellipse", {
31
+ cx: "12.017",
32
+ cy: "11.509",
33
+ fill: "#838383",
34
+ rx: "9.133",
35
+ ry: ".942"
36
+ }), /*#__PURE__*/_jsx("path", {
37
+ d: "M9.969 12.451c.052-1.226-.04-1.867-.45-2.985 0 0 .777-.987 2.21-.987 1.434 0 2.458.25 2.458.25-.248 1.376-.26 2.206-.205 3.722H9.97z",
38
+ fill: "#E1E1E1"
39
+ }), /*#__PURE__*/_jsx("path", {
40
+ d: "M8.633 18.535c1.207-.58 2.032-1.762 2.032-3.217 0-2.081-1.687-3.932-3.768-3.932-2.08 0-3.85 1.605-3.85 3.686 0 1.146.537 2.196 1.365 2.91a4.582 4.582 0 011.625-.289c1.04 0 1.972.327 2.596.842zM15.318 18.535c-1.207-.58-2.032-1.762-2.032-3.217 0-2.081 1.687-3.932 3.768-3.932 2.08 0 3.85 1.605 3.85 3.686 0 1.146-.537 2.196-1.365 2.91a4.582 4.582 0 00-1.625-.289c-1.04 0-1.972.327-2.596.842z",
41
+ fill: "#fff"
42
+ }), /*#__PURE__*/_jsx("path", {
43
+ d: "M16.808 17.447a2.293 2.293 0 110-4.586 2.293 2.293 0 010 4.586zM7.143 17.447a2.293 2.293 0 100-4.586 2.293 2.293 0 000 4.586z",
44
+ fill: "#1A1A1A"
45
+ }), /*#__PURE__*/_jsx("path", {
46
+ d: "M13.04.902c-1.149 0-1.597-.942-3.358-.9-1.916 0-2.785 1.064-3.727 1.883-.16.14-.942.574-1.31.737-1.612.717-2.826 1.761-2.826 3.318 0 1.696 1.43 3.071 3.194 3.071.29 0 .57-.037.838-.106.712.863 1.816 1.364 3.053 1.417 1.925.082 2.54-1.25 3.645-.697.758.38 1.133.697 2.334.697 1.402 0 2.053-.43 2.457-.901.738-.86 1.874-.328 2.58-.328 1.538 0 2.785-1.192 2.785-2.662s-1.246-2.662-2.784-2.662c-.422 0-1.217.104-1.393-.573C18.241 2.09 16.878.82 14.924.82c-.763 0-1.449.082-1.884.082z",
47
+ fill: "#838383"
48
+ }), /*#__PURE__*/_jsx("circle", {
49
+ cx: "4.891",
50
+ cy: "1.025",
51
+ fill: "#838383",
52
+ r: ".778"
53
+ }), /*#__PURE__*/_jsx("circle", {
54
+ cx: "20.699",
55
+ cy: "3.4",
56
+ fill: "#C8C8C8",
57
+ r: "1.27"
58
+ }), /*#__PURE__*/_jsx("path", {
59
+ d: "M9.701 19.34c.45-.068 1.163-.131 2.254-.131 1 0 1.683.053 2.136.114-.127.48-1.062.664-2.197.664-1.122 0-2.05-.18-2.193-.647z",
60
+ fill: "#fff"
61
+ }), /*#__PURE__*/_jsx("path", {
62
+ d: "M11.976 23.099c1.646 0 1.909-1.678 1.96-2.098.039-.34-.137-.511-.33-.627-.191-.116-.768-.224-1.63-.224-.862 0-1.435.108-1.63.224-.196.116-.373.288-.33.627.051.42.314 2.098 1.96 2.098z",
63
+ fill: "#838383"
64
+ }), /*#__PURE__*/_jsx("path", {
65
+ d: "M12.934 9.972c-.47-.319-1.143-.348-1.621-.043a4.086 4.086 0 01-2.204.638c-2.217 0-4.014-1.742-4.014-3.89 0-2.149 1.797-3.89 4.014-3.89 1.116 0 2.126.44 2.853 1.154.406.397 1.072.51 1.597.295.407-.167.855-.259 1.324-.259 1.878 0 3.4 1.475 3.4 3.295 0 1.82-1.523 3.295-3.4 3.295-.725 0-1.397-.22-1.95-.595z",
66
+ fill: "#C8C8C8"
67
+ }), /*#__PURE__*/_jsx("path", {
68
+ d: "M3.375 9.502a1.31 1.31 0 100-2.62 1.31 1.31 0 000 2.62zM15.702 9.175a1.106 1.106 0 100-2.212 1.106 1.106 0 000 2.212z",
69
+ fill: "#4F4F4F"
70
+ })]
66
71
  }));
67
72
  });
68
73
  export default LogoMono;
@@ -2,22 +2,24 @@ import { Loader2 } from 'lucide-react';
2
2
  import { memo } from 'react';
3
3
  import { Center } from 'react-layout-kit';
4
4
  import Icon from "../../Icon";
5
+ import { jsx as _jsx } from "react/jsx-runtime";
5
6
  var Loading = /*#__PURE__*/memo(function (_ref) {
6
7
  var _ref$size = _ref.size,
7
8
  size = _ref$size === void 0 ? 32 : _ref$size;
8
- return /*#__PURE__*/React.createElement(Center, {
9
+ return /*#__PURE__*/_jsx(Center, {
9
10
  height: '100%',
10
11
  justify: 'center',
11
12
  style: {
12
13
  position: 'absolute'
13
14
  },
14
- width: '100%'
15
- }, /*#__PURE__*/React.createElement(Icon, {
16
- icon: Loader2,
17
- size: {
18
- fontSize: size
19
- },
20
- spin: true
21
- }));
15
+ width: '100%',
16
+ children: /*#__PURE__*/_jsx(Icon, {
17
+ icon: Loader2,
18
+ size: {
19
+ fontSize: size
20
+ },
21
+ spin: true
22
+ })
23
+ });
22
24
  });
23
25
  export default Loading;
@@ -1,4 +1,3 @@
1
- import _extends from "@babel/runtime/helpers/esm/extends";
2
1
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
3
2
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
4
3
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
@@ -7,6 +6,8 @@ import { useThemeMode } from 'antd-style';
7
6
  import { memo, useState } from 'react';
8
7
  import Spline from "../../awesome/Spline";
9
8
  import Loading from "./Loading";
9
+ import { jsx as _jsx } from "react/jsx-runtime";
10
+ import { jsxs as _jsxs } from "react/jsx-runtime";
10
11
  var LIGHT = 'https://gw.alipayobjects.com/os/kitchen/J9jiHITGrs/scene.splinecode';
11
12
  var DARK = 'https://gw.alipayobjects.com/os/kitchen/CzQKKvSE8a/scene.splinecode';
12
13
  var LogoSpline = /*#__PURE__*/memo(function (_ref) {
@@ -22,19 +23,20 @@ var LogoSpline = /*#__PURE__*/memo(function (_ref) {
22
23
  _useState2 = _slicedToArray(_useState, 2),
23
24
  loading = _useState2[0],
24
25
  setLoading = _useState2[1];
25
- return /*#__PURE__*/React.createElement("div", {
26
+ return /*#__PURE__*/_jsxs("div", {
26
27
  className: className,
27
28
  style: _objectSpread({
28
29
  height: height,
29
30
  position: 'relative',
30
31
  width: width
31
- }, style)
32
- }, loading && /*#__PURE__*/React.createElement(Loading, null), /*#__PURE__*/React.createElement(Spline, _extends({
33
- onLoad: function onLoad(splineApp) {
34
- setLoading(false);
35
- _onLoad === null || _onLoad === void 0 || _onLoad(splineApp);
36
- },
37
- scene: isDarkMode ? DARK : LIGHT
38
- }, rest)));
32
+ }, style),
33
+ children: [loading && /*#__PURE__*/_jsx(Loading, {}), /*#__PURE__*/_jsx(Spline, _objectSpread({
34
+ onLoad: function onLoad(splineApp) {
35
+ setLoading(false);
36
+ _onLoad === null || _onLoad === void 0 || _onLoad(splineApp);
37
+ },
38
+ scene: isDarkMode ? DARK : LIGHT
39
+ }, rest))]
40
+ });
39
41
  });
40
42
  export default LogoSpline;
@@ -1,6 +1,5 @@
1
1
  'use client';
2
2
 
3
- import _extends from "@babel/runtime/helpers/esm/extends";
4
3
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
5
4
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
6
5
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
@@ -10,6 +9,8 @@ import { Flexbox } from 'react-layout-kit';
10
9
  import { useCdnFn } from "../../ConfigProvider";
11
10
  import Img from "../../Img";
12
11
  import Spline from "../../awesome/Spline";
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { jsxs as _jsxs } from "react/jsx-runtime";
13
14
  var LOGO_3D = {
14
15
  path: 'assets/logo-3d.webp',
15
16
  pkg: '@lobehub/assets-logo',
@@ -27,7 +28,7 @@ var LogoThree = /*#__PURE__*/memo(function (_ref) {
27
28
  _useState2 = _slicedToArray(_useState, 2),
28
29
  loading = _useState2[0],
29
30
  setLoading = _useState2[1];
30
- return /*#__PURE__*/React.createElement(Flexbox, {
31
+ return /*#__PURE__*/_jsxs(Flexbox, {
31
32
  align: 'center',
32
33
  className: className,
33
34
  flex: 'none',
@@ -37,26 +38,27 @@ var LogoThree = /*#__PURE__*/memo(function (_ref) {
37
38
  overflow: 'hidden',
38
39
  position: 'relative',
39
40
  width: size
40
- }, style)
41
- }, loading && /*#__PURE__*/React.createElement(Img, {
42
- alt: 'logo',
43
- height: size * 0.75,
44
- src: genCdnUrl(LOGO_3D),
45
- style: {
46
- position: 'absolute'
47
- },
48
- width: size * 0.75
49
- }), /*#__PURE__*/React.createElement(Spline, _extends({
50
- onLoad: function onLoad(splineApp) {
51
- setLoading(false);
52
- _onLoad === null || _onLoad === void 0 || _onLoad(splineApp);
53
- },
54
- scene: 'https://gw.alipayobjects.com/os/kitchen/8LH7slSv3s/logo.splinecode',
55
- style: {
56
- flex: 'none',
57
- height: size,
58
- width: size
59
- }
60
- }, rest)));
41
+ }, style),
42
+ children: [loading && /*#__PURE__*/_jsx(Img, {
43
+ alt: 'logo',
44
+ height: size * 0.75,
45
+ src: genCdnUrl(LOGO_3D),
46
+ style: {
47
+ position: 'absolute'
48
+ },
49
+ width: size * 0.75
50
+ }), /*#__PURE__*/_jsx(Spline, _objectSpread({
51
+ onLoad: function onLoad(splineApp) {
52
+ setLoading(false);
53
+ _onLoad === null || _onLoad === void 0 || _onLoad(splineApp);
54
+ },
55
+ scene: 'https://gw.alipayobjects.com/os/kitchen/8LH7slSv3s/logo.splinecode',
56
+ style: {
57
+ flex: 'none',
58
+ height: size,
59
+ width: size
60
+ }
61
+ }, rest))]
62
+ });
61
63
  });
62
64
  export default LogoThree;