@lobehub/ui 1.157.1 → 1.158.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 (157) hide show
  1. package/es/A/index.js +2 -2
  2. package/es/ActionIcon/index.js +11 -15
  3. package/es/ActionIconGroup/index.js +45 -47
  4. package/es/Alert/index.js +43 -50
  5. package/es/Avatar/index.js +10 -12
  6. package/es/Burger/index.js +30 -35
  7. package/es/CodeEditor/index.js +38 -41
  8. package/es/Collapse/index.js +3 -3
  9. package/es/ColorScales/ScaleRow.js +39 -43
  10. package/es/ColorScales/index.js +57 -59
  11. package/es/ConfigProvider/index.js +3 -5
  12. package/es/ContextMenu/index.js +2 -3
  13. package/es/CopyButton/index.js +3 -4
  14. package/es/DraggablePanel/components/DraggablePanelBody.js +2 -3
  15. package/es/DraggablePanel/components/DraggablePanelContainer.js +2 -3
  16. package/es/DraggablePanel/components/DraggablePanelFooter.js +2 -3
  17. package/es/DraggablePanel/components/DraggablePanelHeader.js +5 -9
  18. package/es/DraggablePanel/index.js +28 -35
  19. package/es/EditableText/index.js +13 -16
  20. package/es/EmojiPicker/AvatarUploader.js +60 -71
  21. package/es/EmojiPicker/index.js +101 -110
  22. package/es/EmptyCard/index.js +23 -31
  23. package/es/FileTypeIcon/index.js +44 -55
  24. package/es/FluentEmoji/index.js +4 -6
  25. package/es/Footer/index.js +8 -10
  26. package/es/Form/components/FormDivider.js +2 -2
  27. package/es/Form/components/FormFlatGroup.js +4 -9
  28. package/es/Form/components/FormFooter.js +3 -6
  29. package/es/Form/components/FormGroup.js +15 -21
  30. package/es/Form/components/FormItem.js +10 -17
  31. package/es/Form/components/FormTitle.js +15 -23
  32. package/es/Form/index.js +26 -30
  33. package/es/FormModal/index.js +30 -34
  34. package/es/Grid/index.js +3 -6
  35. package/es/Header/index.js +49 -65
  36. package/es/Highlighter/FullFeatured.js +41 -51
  37. package/es/Highlighter/SyntaxHighlighter/index.js +19 -30
  38. package/es/Highlighter/index.js +19 -29
  39. package/es/Icon/icons/DiscordIcon.js +2 -3
  40. package/es/Icon/index.js +13 -16
  41. package/es/Image/ImageGallery.js +3 -5
  42. package/es/Image/Preview.js +5 -6
  43. package/es/Image/index.js +34 -38
  44. package/es/Image/usePreview.js +33 -37
  45. package/es/Img/index.js +2 -2
  46. package/es/Input/index.js +3 -3
  47. package/es/Layout/index.js +35 -63
  48. package/es/List/ListItem/index.js +53 -67
  49. package/es/Markdown/CodeBlock.js +10 -16
  50. package/es/Markdown/Typography.js +3 -6
  51. package/es/Markdown/index.js +18 -22
  52. package/es/MaterialFileTypeIcon/index.js +17 -20
  53. package/es/MaterialFileTypeIcon/utils.d.ts +2 -2
  54. package/es/Mermaid/FullFeatured.js +35 -45
  55. package/es/Mermaid/index.js +17 -26
  56. package/es/Mermaid/useMermaid.d.ts +2 -1
  57. package/es/Mermaid/useMermaid.js +3 -5
  58. package/es/Modal/index.js +48 -60
  59. package/es/SearchBar/index.js +48 -52
  60. package/es/SelectWithImg/index.js +34 -40
  61. package/es/SideNav/index.js +15 -22
  62. package/es/SliderWithInput/index.js +35 -38
  63. package/es/Snippet/index.js +10 -15
  64. package/es/SortableList/DragHandle.js +3 -3
  65. package/es/SortableList/SortableItem.js +16 -19
  66. package/es/SortableList/SortableOverlay.js +3 -5
  67. package/es/SortableList/index.js +15 -23
  68. package/es/Swatches/index.js +18 -20
  69. package/es/TabsNav/index.js +2 -3
  70. package/es/Tag/index.js +7 -12
  71. package/es/ThemeProvider/Meta.js +53 -58
  72. package/es/ThemeProvider/index.js +17 -23
  73. package/es/ThemeSwitch/index.js +15 -19
  74. package/es/Toc/TocMobile.js +47 -52
  75. package/es/Toc/index.js +8 -13
  76. package/es/Tooltip/index.js +2 -3
  77. package/es/Video/index.js +41 -47
  78. package/es/awesome/AuroraBackground/index.js +11 -18
  79. package/es/awesome/Features/Item.js +37 -45
  80. package/es/awesome/Features/index.js +5 -4
  81. package/es/awesome/GaussianBackground/index.js +8 -13
  82. package/es/awesome/GaussianBackground/useGaussianBackground.d.ts +1 -1
  83. package/es/awesome/GaussianBackground/useGaussianBackground.js +1 -1
  84. package/es/awesome/Giscus/index.js +13 -15
  85. package/es/awesome/GradientButton/index.js +5 -9
  86. package/es/awesome/GridBackground/Grid.js +49 -61
  87. package/es/awesome/GridBackground/GridShowcase.js +24 -28
  88. package/es/awesome/GridBackground/index.js +27 -33
  89. package/es/awesome/Hero/index.js +63 -74
  90. package/es/awesome/Spline/ParentSize.js +7 -8
  91. package/es/awesome/Spline/index.js +10 -13
  92. package/es/awesome/Spotlight/index.js +3 -4
  93. package/es/awesome/SpotlightCard/SpotlightCardItem.js +5 -8
  94. package/es/awesome/SpotlightCard/index.js +9 -12
  95. package/es/brand/BrandLoading/index.js +2 -3
  96. package/es/brand/LobeChat/index.js +29 -38
  97. package/es/brand/LobeChatText/index.js +8 -13
  98. package/es/brand/LobeHub/index.js +29 -38
  99. package/es/brand/LobeHubText/index.js +4 -9
  100. package/es/brand/Logo3d/index.js +2 -3
  101. package/es/brand/LogoFlat/index.js +44 -49
  102. package/es/brand/LogoMono/index.js +48 -53
  103. package/es/brand/LogoThree/Loading.js +9 -11
  104. package/es/brand/LogoThree/LogoSpline.js +10 -12
  105. package/es/brand/LogoThree/index.js +23 -25
  106. package/es/brand/components/Divider.js +4 -6
  107. package/es/chat/BackBottom/index.js +4 -6
  108. package/es/chat/ChatHeader/ChatHeaderTitle.js +22 -31
  109. package/es/chat/ChatHeader/index.js +35 -42
  110. package/es/chat/ChatInputArea/ChatInputActionBar.js +16 -21
  111. package/es/chat/ChatInputArea/ChatInputArea.d.ts +1 -1
  112. package/es/chat/ChatInputArea/ChatInputArea.js +19 -23
  113. package/es/chat/ChatInputArea/ChatInputAreaInner.d.ts +1 -1
  114. package/es/chat/ChatInputArea/ChatInputAreaInner.js +2 -3
  115. package/es/chat/ChatInputArea/SendButton.js +36 -51
  116. package/es/chat/ChatItem/components/Actions.js +3 -5
  117. package/es/chat/ChatItem/components/Avatar.js +17 -21
  118. package/es/chat/ChatItem/components/BorderSpacing.js +1 -2
  119. package/es/chat/ChatItem/components/ErrorContent.js +9 -11
  120. package/es/chat/ChatItem/components/Loading.js +10 -12
  121. package/es/chat/ChatItem/components/MessageContent.js +6 -10
  122. package/es/chat/ChatItem/components/Title.js +3 -8
  123. package/es/chat/ChatItem/index.js +47 -53
  124. package/es/chat/ChatList/ActionsBar.js +2 -3
  125. package/es/chat/ChatList/HistoryDivider.js +6 -11
  126. package/es/chat/ChatList/Item.js +14 -12
  127. package/es/chat/ChatList/index.js +25 -29
  128. package/es/chat/EditableMessage/index.js +26 -32
  129. package/es/chat/EditableMessageList/index.js +72 -76
  130. package/es/chat/MessageInput/index.js +35 -43
  131. package/es/chat/MessageModal/index.js +41 -51
  132. package/es/chat/TokenTag/index.js +7 -11
  133. package/es/components/ControlInput.js +18 -22
  134. package/es/hooks/useHighlight.d.ts +1 -1
  135. package/es/mdx/Callout/index.js +13 -19
  136. package/es/mdx/Cards/Card.js +46 -59
  137. package/es/mdx/Cards/index.js +3 -6
  138. package/es/mdx/FileTree/File.js +5 -11
  139. package/es/mdx/FileTree/Folder.js +13 -22
  140. package/es/mdx/FileTree/index.js +3 -6
  141. package/es/mdx/Mdx/index.js +7 -9
  142. package/es/mdx/Steps/index.js +3 -6
  143. package/es/mdx/Tabs/Tab.js +3 -8
  144. package/es/mdx/Tabs/index.js +17 -21
  145. package/es/mdx/mdxComponents/CodeBlock.js +9 -14
  146. package/es/mdx/mdxComponents/Image.js +2 -2
  147. package/es/mdx/mdxComponents/Link.js +2 -3
  148. package/es/mdx/mdxComponents/Pre.js +7 -14
  149. package/es/mdx/mdxComponents/Video.js +2 -2
  150. package/es/mobile/MobileChatInputArea/SendButton.js +3 -4
  151. package/es/mobile/MobileChatInputArea/index.js +69 -79
  152. package/es/mobile/MobileNavBar/MobileNavBarTitle.js +26 -37
  153. package/es/mobile/MobileNavBar/index.js +41 -48
  154. package/es/mobile/MobileSafeArea/index.js +2 -3
  155. package/es/mobile/MobileTabBar/index.js +29 -35
  156. package/es/storybook/StoryBook/index.js +19 -26
  157. package/package.json +41 -45
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
 
3
- import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
3
+ import _extends from "@babel/runtime/helpers/esm/extends";
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,9 +12,6 @@ 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";
18
15
  var LobeHub = /*#__PURE__*/memo(function (_ref) {
19
16
  var _ref$type = _ref.type,
20
17
  type = _ref$type === void 0 ? '3d' : _ref$type,
@@ -31,14 +28,14 @@ var LobeHub = /*#__PURE__*/memo(function (_ref) {
31
28
  switch (type) {
32
29
  case '3d':
33
30
  {
34
- logoComponent = /*#__PURE__*/_jsx(Logo3d, _objectSpread({
31
+ logoComponent = /*#__PURE__*/React.createElement(Logo3d, _extends({
35
32
  size: size
36
33
  }, rest));
37
34
  break;
38
35
  }
39
36
  case 'flat':
40
37
  {
41
- logoComponent = /*#__PURE__*/_jsx(LogoFlat, {
38
+ logoComponent = /*#__PURE__*/React.createElement(LogoFlat, {
42
39
  size: size,
43
40
  style: style
44
41
  });
@@ -46,7 +43,7 @@ var LobeHub = /*#__PURE__*/memo(function (_ref) {
46
43
  }
47
44
  case 'mono':
48
45
  {
49
- logoComponent = /*#__PURE__*/_jsx(LogoMono, {
46
+ logoComponent = /*#__PURE__*/React.createElement(LogoMono, {
50
47
  size: size,
51
48
  style: style
52
49
  });
@@ -54,7 +51,7 @@ var LobeHub = /*#__PURE__*/memo(function (_ref) {
54
51
  }
55
52
  case 'text':
56
53
  {
57
- logoComponent = /*#__PURE__*/_jsx(LogoText, _objectSpread({
54
+ logoComponent = /*#__PURE__*/React.createElement(LogoText, _extends({
58
55
  className: className,
59
56
  size: size,
60
57
  style: style
@@ -63,49 +60,43 @@ var LobeHub = /*#__PURE__*/memo(function (_ref) {
63
60
  }
64
61
  case 'combine':
65
62
  {
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, {
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, {
78
73
  align: 'center',
79
74
  className: className,
80
75
  flex: 'none',
81
76
  horizontal: true,
82
- style: style,
83
- children: logoComponent
84
- });
77
+ style: style
78
+ }, logoComponent);
85
79
  break;
86
80
  }
87
81
  }
88
82
  if (!extra) return logoComponent;
89
83
  var extraSize = Math.round(size / 3 * 1.9);
90
- return /*#__PURE__*/_jsxs(Flexbox, _objectSpread(_objectSpread({
84
+ return /*#__PURE__*/React.createElement(Flexbox, _extends({
91
85
  align: 'center',
92
86
  className: className,
93
87
  flex: 'none',
94
88
  horizontal: true,
95
89
  style: style
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
- }));
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));
110
101
  });
111
102
  export default LobeHub;
@@ -1,14 +1,13 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
1
2
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
3
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
4
  var _excluded = ["size", "style"];
4
- import { jsx as _jsx } from "react/jsx-runtime";
5
- import { jsxs as _jsxs } from "react/jsx-runtime";
6
5
  var LobeHubText = function LobeHubText(_ref) {
7
6
  var _ref$size = _ref.size,
8
7
  size = _ref$size === void 0 ? '1em' : _ref$size,
9
8
  style = _ref.style,
10
9
  rest = _objectWithoutProperties(_ref, _excluded);
11
- return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
10
+ return /*#__PURE__*/React.createElement("svg", _extends({
12
11
  fill: "currentColor",
13
12
  fillRule: "evenodd",
14
13
  height: size,
@@ -18,12 +17,8 @@ var LobeHubText = function LobeHubText(_ref) {
18
17
  }, style),
19
18
  viewBox: "0 0 940 320",
20
19
  xmlns: "http://www.w3.org/2000/svg"
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
- })]
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"
27
22
  }));
28
23
  };
29
24
  export default LobeHubText;
@@ -1,11 +1,10 @@
1
- import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
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";
9
8
  var Logo3d = /*#__PURE__*/memo(function (_ref) {
10
9
  var _ref$size = _ref.size,
11
10
  size = _ref$size === void 0 ? '1em' : _ref$size,
@@ -14,7 +13,7 @@ var Logo3d = /*#__PURE__*/memo(function (_ref) {
14
13
  alt = _ref$alt === void 0 ? 'LobeHub' : _ref$alt,
15
14
  rest = _objectWithoutProperties(_ref, _excluded);
16
15
  var genCdnUrl = useCdnFn();
17
- return /*#__PURE__*/_jsx(Img, _objectSpread({
16
+ return /*#__PURE__*/React.createElement(Img, _extends({
18
17
  alt: alt,
19
18
  height: size,
20
19
  src: genCdnUrl(LOGO_3D),
@@ -1,15 +1,14 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
1
2
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
3
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
4
  var _excluded = ["size", "style"];
4
5
  import { memo } from 'react';
5
- import { jsx as _jsx } from "react/jsx-runtime";
6
- import { jsxs as _jsxs } from "react/jsx-runtime";
7
6
  var LogoFlat = /*#__PURE__*/memo(function (_ref) {
8
7
  var _ref$size = _ref.size,
9
8
  size = _ref$size === void 0 ? '1em' : _ref$size,
10
9
  style = _ref.style,
11
10
  rest = _objectWithoutProperties(_ref, _excluded);
12
- return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
11
+ return /*#__PURE__*/React.createElement("svg", _extends({
13
12
  height: size,
14
13
  style: _objectSpread({
15
14
  flex: 'none',
@@ -18,52 +17,48 @@ var LogoFlat = /*#__PURE__*/memo(function (_ref) {
18
17
  viewBox: "0 0 24 24",
19
18
  width: size,
20
19
  xmlns: "http://www.w3.org/2000/svg"
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
- })]
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"
67
62
  }));
68
63
  });
69
64
  export default LogoFlat;
@@ -1,15 +1,14 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
1
2
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
3
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
4
  var _excluded = ["size", "style"];
4
5
  import { memo } from 'react';
5
- import { jsx as _jsx } from "react/jsx-runtime";
6
- import { jsxs as _jsxs } from "react/jsx-runtime";
7
6
  var LogoMono = /*#__PURE__*/memo(function (_ref) {
8
7
  var _ref$size = _ref.size,
9
8
  size = _ref$size === void 0 ? '1em' : _ref$size,
10
9
  style = _ref.style,
11
10
  rest = _objectWithoutProperties(_ref, _excluded);
12
- return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
11
+ return /*#__PURE__*/React.createElement("svg", _extends({
13
12
  height: size,
14
13
  style: _objectSpread({
15
14
  flex: 'none',
@@ -18,56 +17,52 @@ var LogoMono = /*#__PURE__*/memo(function (_ref) {
18
17
  viewBox: "0 0 24 24",
19
18
  width: size,
20
19
  xmlns: "http://www.w3.org/2000/svg"
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
- })]
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"
71
66
  }));
72
67
  });
73
68
  export default LogoMono;
@@ -2,24 +2,22 @@ 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";
6
5
  var Loading = /*#__PURE__*/memo(function (_ref) {
7
6
  var _ref$size = _ref.size,
8
7
  size = _ref$size === void 0 ? 32 : _ref$size;
9
- return /*#__PURE__*/_jsx(Center, {
8
+ return /*#__PURE__*/React.createElement(Center, {
10
9
  height: '100%',
11
10
  justify: 'center',
12
11
  style: {
13
12
  position: 'absolute'
14
13
  },
15
- width: '100%',
16
- children: /*#__PURE__*/_jsx(Icon, {
17
- icon: Loader2,
18
- size: {
19
- fontSize: size
20
- },
21
- spin: true
22
- })
23
- });
14
+ width: '100%'
15
+ }, /*#__PURE__*/React.createElement(Icon, {
16
+ icon: Loader2,
17
+ size: {
18
+ fontSize: size
19
+ },
20
+ spin: true
21
+ }));
24
22
  });
25
23
  export default Loading;
@@ -1,3 +1,4 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
1
2
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
3
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
3
4
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
@@ -6,8 +7,6 @@ import { useThemeMode } from 'antd-style';
6
7
  import { memo, useState } from 'react';
7
8
  import Spline from "../../awesome/Spline";
8
9
  import Loading from "./Loading";
9
- import { jsx as _jsx } from "react/jsx-runtime";
10
- import { jsxs as _jsxs } from "react/jsx-runtime";
11
10
  var LIGHT = 'https://gw.alipayobjects.com/os/kitchen/J9jiHITGrs/scene.splinecode';
12
11
  var DARK = 'https://gw.alipayobjects.com/os/kitchen/CzQKKvSE8a/scene.splinecode';
13
12
  var LogoSpline = /*#__PURE__*/memo(function (_ref) {
@@ -23,20 +22,19 @@ var LogoSpline = /*#__PURE__*/memo(function (_ref) {
23
22
  _useState2 = _slicedToArray(_useState, 2),
24
23
  loading = _useState2[0],
25
24
  setLoading = _useState2[1];
26
- return /*#__PURE__*/_jsxs("div", {
25
+ return /*#__PURE__*/React.createElement("div", {
27
26
  className: className,
28
27
  style: _objectSpread({
29
28
  height: height,
30
29
  position: 'relative',
31
30
  width: width
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
- });
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)));
41
39
  });
42
40
  export default LogoSpline;
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import _extends from "@babel/runtime/helpers/esm/extends";
3
4
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
4
5
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
5
6
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
@@ -9,8 +10,6 @@ import { Flexbox } from 'react-layout-kit';
9
10
  import { useCdnFn } from "../../ConfigProvider";
10
11
  import Img from "../../Img";
11
12
  import Spline from "../../awesome/Spline";
12
- import { jsx as _jsx } from "react/jsx-runtime";
13
- import { jsxs as _jsxs } from "react/jsx-runtime";
14
13
  var LOGO_3D = {
15
14
  path: 'assets/logo-3d.webp',
16
15
  pkg: '@lobehub/assets-logo',
@@ -28,7 +27,7 @@ var LogoThree = /*#__PURE__*/memo(function (_ref) {
28
27
  _useState2 = _slicedToArray(_useState, 2),
29
28
  loading = _useState2[0],
30
29
  setLoading = _useState2[1];
31
- return /*#__PURE__*/_jsxs(Flexbox, {
30
+ return /*#__PURE__*/React.createElement(Flexbox, {
32
31
  align: 'center',
33
32
  className: className,
34
33
  flex: 'none',
@@ -38,27 +37,26 @@ var LogoThree = /*#__PURE__*/memo(function (_ref) {
38
37
  overflow: 'hidden',
39
38
  position: 'relative',
40
39
  width: size
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
- });
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)));
63
61
  });
64
62
  export default LogoThree;