@lobehub/ui 1.153.10 → 1.153.12

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 (217) hide show
  1. package/es/ActionIcon/index.js +1 -1
  2. package/es/Markdown/CodeBlock.js +1 -1
  3. package/es/Markdown/index.d.ts +3 -3
  4. package/es/Markdown/index.js +3 -3
  5. package/es/MaterialFileTypeIcon/utils.d.ts +2 -2
  6. package/es/SearchBar/index.js +1 -1
  7. package/es/Snippet/index.js +1 -1
  8. package/es/{Features → awesome/Features}/Item.d.ts +2 -2
  9. package/es/{Features → awesome/Features}/Item.js +3 -3
  10. package/es/{Features → awesome/Features}/index.d.ts +1 -1
  11. package/es/{GaussianBackground → awesome/GaussianBackground}/index.d.ts +1 -1
  12. package/es/{GaussianBackground → awesome/GaussianBackground}/index.js +1 -1
  13. package/es/{Giscus → awesome/Giscus}/style.js +1 -1
  14. package/es/{GridBackground → awesome/GridBackground}/Grid.d.ts +1 -1
  15. package/es/{GridBackground → awesome/GridBackground}/index.d.ts +1 -1
  16. package/es/{Hero → awesome/Hero}/index.js +2 -2
  17. package/es/{Spotlight → awesome/Spotlight}/index.d.ts +1 -1
  18. package/es/{SpotlightCard → awesome/SpotlightCard}/SpotlightCardItem.d.ts +1 -1
  19. package/es/{SpotlightCard → awesome/SpotlightCard}/index.d.ts +1 -1
  20. package/es/{SpotlightCard → awesome/SpotlightCard}/index.js +1 -1
  21. package/es/awesome/index.d.ts +10 -0
  22. package/es/awesome/index.js +10 -0
  23. package/es/brand/{LobeChat.d.ts → LobeChat/index.d.ts} +1 -1
  24. package/es/brand/{LobeChat.js → LobeChat/index.js} +6 -6
  25. package/es/brand/{LobeHub.d.ts → LobeHub/index.d.ts} +1 -1
  26. package/es/brand/{LobeHub.js → LobeHub/index.js} +5 -5
  27. package/es/brand/{components/Logo3d.js → Logo3d/index.js} +1 -1
  28. package/es/{LogoThree → brand/LogoThree}/Loading.js +1 -1
  29. package/es/{LogoThree → brand/LogoThree}/LogoSpline.d.ts +1 -1
  30. package/es/{LogoThree → brand/LogoThree}/LogoSpline.js +1 -1
  31. package/es/{LogoThree → brand/LogoThree}/index.d.ts +1 -1
  32. package/es/{LogoThree → brand/LogoThree}/index.js +3 -3
  33. package/es/brand/index.d.ts +7 -5
  34. package/es/brand/index.js +8 -6
  35. package/es/{BackBottom → chat/BackBottom}/index.js +1 -1
  36. package/es/{ChatHeader → chat/ChatHeader}/index.js +1 -1
  37. package/es/{ChatInputArea/desktop → chat/ChatInputArea}/ChatInputArea.d.ts +1 -1
  38. package/es/{ChatInputArea/desktop → chat/ChatInputArea}/ChatInputArea.js +1 -1
  39. package/es/{ChatInputArea → chat/ChatInputArea}/ChatInputAreaInner.d.ts +1 -1
  40. package/es/{ChatInputArea → chat/ChatInputArea}/ChatInputAreaInner.js +1 -1
  41. package/es/{ChatInputArea → chat/ChatInputArea}/index.d.ts +2 -4
  42. package/es/chat/ChatInputArea/index.js +4 -0
  43. package/es/{ChatItem → chat/ChatItem}/components/Avatar.js +1 -1
  44. package/es/{ChatItem → chat/ChatItem}/components/ErrorContent.js +1 -1
  45. package/es/{ChatItem → chat/ChatItem}/components/Loading.js +1 -1
  46. package/es/{ChatItem → chat/ChatItem}/components/MessageContent.d.ts +1 -1
  47. package/es/{ChatItem → chat/ChatItem}/components/Title.js +1 -1
  48. package/es/{ChatItem → chat/ChatItem}/type.d.ts +4 -4
  49. package/es/{ChatList → chat/ChatList}/ActionsBar.d.ts +1 -1
  50. package/es/{ChatList → chat/ChatList}/ActionsBar.js +2 -2
  51. package/es/{ChatList → chat/ChatList}/HistoryDivider.js +2 -2
  52. package/es/{ChatList → chat/ChatList}/Item.d.ts +4 -4
  53. package/es/{ChatList → chat/ChatList}/Item.js +1 -1
  54. package/es/{ChatList → chat/ChatList}/index.d.ts +1 -1
  55. package/es/{EditableMessage → chat/EditableMessage}/index.d.ts +1 -1
  56. package/es/{EditableMessage → chat/EditableMessage}/index.js +1 -1
  57. package/es/{EditableMessageList → chat/EditableMessageList}/index.d.ts +1 -1
  58. package/es/{EditableMessageList → chat/EditableMessageList}/index.js +3 -3
  59. package/es/{EditableMessageList → chat/EditableMessageList}/messageReducer.d.ts +2 -2
  60. package/es/{MessageInput → chat/MessageInput}/index.d.ts +2 -2
  61. package/es/{MessageInput → chat/MessageInput}/index.js +1 -1
  62. package/es/{MessageModal → chat/MessageModal}/index.d.ts +1 -1
  63. package/es/{MessageModal → chat/MessageModal}/index.js +3 -3
  64. package/es/{TokenTag → chat/TokenTag}/index.d.ts +1 -1
  65. package/es/{TokenTag → chat/TokenTag}/index.js +1 -1
  66. package/es/chat/index.d.ts +12 -0
  67. package/es/chat/index.js +12 -0
  68. package/es/components.d.ts +64 -0
  69. package/es/components.js +63 -0
  70. package/es/index.d.ts +7 -95
  71. package/es/index.js +7 -93
  72. package/es/mdx/{Callout.js → Callout/index.js} +1 -1
  73. package/es/mdx/{Card.d.ts → Cards/Card.d.ts} +1 -1
  74. package/es/mdx/{Card.js → Cards/Card.js} +3 -3
  75. package/es/mdx/{Cards.d.ts → Cards/index.d.ts} +1 -1
  76. package/es/mdx/{Cards.js → Cards/index.js} +1 -1
  77. package/es/mdx/{File.d.ts → FileTree/File.d.ts} +1 -1
  78. package/es/mdx/{File.js → FileTree/File.js} +1 -1
  79. package/es/mdx/{Folder.d.ts → FileTree/Folder.d.ts} +1 -1
  80. package/es/mdx/{Folder.js → FileTree/Folder.js} +1 -1
  81. package/es/mdx/{FileTree.d.ts → FileTree/index.d.ts} +1 -1
  82. package/es/mdx/{Steps.d.ts → Steps/index.d.ts} +1 -1
  83. package/es/mdx/{Tab.d.ts → Tabs/Tab.d.ts} +1 -1
  84. package/es/mdx/{Tabs.d.ts → Tabs/index.d.ts} +1 -1
  85. package/es/mdx/{Tabs.js → Tabs/index.js} +1 -1
  86. package/es/mdx/index.d.ts +8 -8
  87. package/es/mdx/index.js +8 -8
  88. package/es/mdx/{Image.d.ts → mdxComponents/Image.d.ts} +1 -1
  89. package/es/mdx/{Image.js → mdxComponents/Image.js} +1 -1
  90. package/es/mdx/{Link.d.ts → mdxComponents/Link.d.ts} +1 -1
  91. package/es/mdx/{Link.js → mdxComponents/Link.js} +1 -1
  92. package/es/mdx/{Pre.d.ts → mdxComponents/Pre.d.ts} +3 -3
  93. package/es/mdx/{Pre.js → mdxComponents/Pre.js} +4 -4
  94. package/es/mdx/{Video.d.ts → mdxComponents/Video.d.ts} +1 -1
  95. package/es/mdx/{Video.js → mdxComponents/Video.js} +1 -1
  96. package/es/mdx/{mdxComponents.js → mdxComponents/index.js} +7 -7
  97. package/es/{ChatInputArea/mobile/ChatInputArea.d.ts → mobile/MobileChatInputArea/index.d.ts} +1 -1
  98. package/es/{ChatInputArea/mobile/ChatInputArea.js → mobile/MobileChatInputArea/index.js} +2 -2
  99. package/es/{MobileNavBar → mobile/MobileNavBar}/index.js +1 -1
  100. package/es/{MobileSafeArea → mobile/MobileSafeArea}/index.d.ts +1 -1
  101. package/es/mobile/index.d.ts +6 -0
  102. package/es/mobile/index.js +6 -0
  103. package/es/{StoryBook → storybook/StoryBook}/index.d.ts +1 -1
  104. package/es/{StoryBook → storybook/StoryBook}/index.js +1 -1
  105. package/es/storybook/index.d.ts +1 -0
  106. package/es/storybook/index.js +1 -0
  107. package/package.json +13 -11
  108. package/es/ChatInputArea/index.js +0 -6
  109. /package/es/{AuroraBackground → awesome/AuroraBackground}/index.d.ts +0 -0
  110. /package/es/{AuroraBackground → awesome/AuroraBackground}/index.js +0 -0
  111. /package/es/{Features → awesome/Features}/index.js +0 -0
  112. /package/es/{Features → awesome/Features}/style.d.ts +0 -0
  113. /package/es/{Features → awesome/Features}/style.js +0 -0
  114. /package/es/{GaussianBackground → awesome/GaussianBackground}/style.d.ts +0 -0
  115. /package/es/{GaussianBackground → awesome/GaussianBackground}/style.js +0 -0
  116. /package/es/{GaussianBackground → awesome/GaussianBackground}/useGaussianBackground.d.ts +0 -0
  117. /package/es/{GaussianBackground → awesome/GaussianBackground}/useGaussianBackground.js +0 -0
  118. /package/es/{GaussianBackground → awesome/GaussianBackground}/vendor/gaussianBackground.d.ts +0 -0
  119. /package/es/{GaussianBackground → awesome/GaussianBackground}/vendor/gaussianBackground.js +0 -0
  120. /package/es/{GaussianBackground → awesome/GaussianBackground}/vendor/stackBlur.d.ts +0 -0
  121. /package/es/{GaussianBackground → awesome/GaussianBackground}/vendor/stackBlur.js +0 -0
  122. /package/es/{GaussianBackground → awesome/GaussianBackground}/vendor/stackBlurTable.d.ts +0 -0
  123. /package/es/{GaussianBackground → awesome/GaussianBackground}/vendor/stackBlurTable.js +0 -0
  124. /package/es/{Giscus → awesome/Giscus}/index.d.ts +0 -0
  125. /package/es/{Giscus → awesome/Giscus}/index.js +0 -0
  126. /package/es/{Giscus → awesome/Giscus}/style.d.ts +0 -0
  127. /package/es/{GradientButton → awesome/GradientButton}/index.d.ts +0 -0
  128. /package/es/{GradientButton → awesome/GradientButton}/index.js +0 -0
  129. /package/es/{GradientButton → awesome/GradientButton}/style.d.ts +0 -0
  130. /package/es/{GradientButton → awesome/GradientButton}/style.js +0 -0
  131. /package/es/{GridBackground → awesome/GridBackground}/Grid.js +0 -0
  132. /package/es/{GridBackground → awesome/GridBackground}/GridShowcase.d.ts +0 -0
  133. /package/es/{GridBackground → awesome/GridBackground}/GridShowcase.js +0 -0
  134. /package/es/{GridBackground → awesome/GridBackground}/index.js +0 -0
  135. /package/es/{GridBackground → awesome/GridBackground}/style.d.ts +0 -0
  136. /package/es/{GridBackground → awesome/GridBackground}/style.js +0 -0
  137. /package/es/{Hero → awesome/Hero}/index.d.ts +0 -0
  138. /package/es/{Hero → awesome/Hero}/style.d.ts +0 -0
  139. /package/es/{Hero → awesome/Hero}/style.js +0 -0
  140. /package/es/{Spline → awesome/Spline}/ParentSize.d.ts +0 -0
  141. /package/es/{Spline → awesome/Spline}/ParentSize.js +0 -0
  142. /package/es/{Spline → awesome/Spline}/index.d.ts +0 -0
  143. /package/es/{Spline → awesome/Spline}/index.js +0 -0
  144. /package/es/{Spotlight → awesome/Spotlight}/index.js +0 -0
  145. /package/es/{Spotlight → awesome/Spotlight}/style.d.ts +0 -0
  146. /package/es/{Spotlight → awesome/Spotlight}/style.js +0 -0
  147. /package/es/{SpotlightCard → awesome/SpotlightCard}/SpotlightCardItem.js +0 -0
  148. /package/es/{SpotlightCard → awesome/SpotlightCard}/style.d.ts +0 -0
  149. /package/es/{SpotlightCard → awesome/SpotlightCard}/style.js +0 -0
  150. /package/es/brand/{components/LobeChatText.d.ts → LobeChatText/index.d.ts} +0 -0
  151. /package/es/brand/{components/LobeChatText.js → LobeChatText/index.js} +0 -0
  152. /package/es/brand/{style.d.ts → LobeHub/style.d.ts} +0 -0
  153. /package/es/brand/{style.js → LobeHub/style.js} +0 -0
  154. /package/es/brand/{components/LobeHubText.d.ts → LobeHubText/index.d.ts} +0 -0
  155. /package/es/brand/{components/LobeHubText.js → LobeHubText/index.js} +0 -0
  156. /package/es/brand/{components/Logo3d.d.ts → Logo3d/index.d.ts} +0 -0
  157. /package/es/brand/{components/LogoFlat.d.ts → LogoFlat/index.d.ts} +0 -0
  158. /package/es/brand/{components/LogoFlat.js → LogoFlat/index.js} +0 -0
  159. /package/es/brand/{components/LogoMono.d.ts → LogoMono/index.d.ts} +0 -0
  160. /package/es/brand/{components/LogoMono.js → LogoMono/index.js} +0 -0
  161. /package/es/{LogoThree → brand/LogoThree}/Loading.d.ts +0 -0
  162. /package/es/{BackBottom → chat/BackBottom}/index.d.ts +0 -0
  163. /package/es/{BackBottom → chat/BackBottom}/style.d.ts +0 -0
  164. /package/es/{BackBottom → chat/BackBottom}/style.js +0 -0
  165. /package/es/{ChatHeader → chat/ChatHeader}/ChatHeaderTitle.d.ts +0 -0
  166. /package/es/{ChatHeader → chat/ChatHeader}/ChatHeaderTitle.js +0 -0
  167. /package/es/{ChatHeader → chat/ChatHeader}/index.d.ts +0 -0
  168. /package/es/{ChatHeader → chat/ChatHeader}/style.d.ts +0 -0
  169. /package/es/{ChatHeader → chat/ChatHeader}/style.js +0 -0
  170. /package/es/{ChatInputArea → chat/ChatInputArea}/ChatInputActionBar.d.ts +0 -0
  171. /package/es/{ChatInputArea → chat/ChatInputArea}/ChatInputActionBar.js +0 -0
  172. /package/es/{ChatInputArea/desktop → chat/ChatInputArea}/SendButton.d.ts +0 -0
  173. /package/es/{ChatInputArea/desktop → chat/ChatInputArea}/SendButton.js +0 -0
  174. /package/es/{ChatItem → chat/ChatItem}/components/Actions.d.ts +0 -0
  175. /package/es/{ChatItem → chat/ChatItem}/components/Actions.js +0 -0
  176. /package/es/{ChatItem → chat/ChatItem}/components/Avatar.d.ts +0 -0
  177. /package/es/{ChatItem → chat/ChatItem}/components/BorderSpacing.d.ts +0 -0
  178. /package/es/{ChatItem → chat/ChatItem}/components/BorderSpacing.js +0 -0
  179. /package/es/{ChatItem → chat/ChatItem}/components/ErrorContent.d.ts +0 -0
  180. /package/es/{ChatItem → chat/ChatItem}/components/Loading.d.ts +0 -0
  181. /package/es/{ChatItem → chat/ChatItem}/components/MessageContent.js +0 -0
  182. /package/es/{ChatItem → chat/ChatItem}/components/Title.d.ts +0 -0
  183. /package/es/{ChatItem → chat/ChatItem}/index.d.ts +0 -0
  184. /package/es/{ChatItem → chat/ChatItem}/index.js +0 -0
  185. /package/es/{ChatItem → chat/ChatItem}/style.d.ts +0 -0
  186. /package/es/{ChatItem → chat/ChatItem}/style.js +0 -0
  187. /package/es/{ChatItem → chat/ChatItem}/type.js +0 -0
  188. /package/es/{ChatList → chat/ChatList}/HistoryDivider.d.ts +0 -0
  189. /package/es/{ChatList → chat/ChatList}/index.js +0 -0
  190. /package/es/{ChatList → chat/ChatList}/style.d.ts +0 -0
  191. /package/es/{ChatList → chat/ChatList}/style.js +0 -0
  192. /package/es/{EditableMessageList → chat/EditableMessageList}/messageReducer.js +0 -0
  193. /package/es/{MessageInput → chat/MessageInput}/style.d.ts +0 -0
  194. /package/es/{MessageInput → chat/MessageInput}/style.js +0 -0
  195. /package/es/{TokenTag → chat/TokenTag}/style.d.ts +0 -0
  196. /package/es/{TokenTag → chat/TokenTag}/style.js +0 -0
  197. /package/es/mdx/{Callout.d.ts → Callout/index.d.ts} +0 -0
  198. /package/es/mdx/{FileTree.js → FileTree/index.js} +0 -0
  199. /package/es/mdx/{Steps.js → Steps/index.js} +0 -0
  200. /package/es/mdx/{Tab.js → Tabs/Tab.js} +0 -0
  201. /package/es/mdx/{mdxComponents.d.ts → mdxComponents/index.d.ts} +0 -0
  202. /package/es/{ChatInputArea/mobile → mobile/MobileChatInputArea}/SendButton.d.ts +0 -0
  203. /package/es/{ChatInputArea/mobile → mobile/MobileChatInputArea}/SendButton.js +0 -0
  204. /package/es/{MobileNavBar → mobile/MobileNavBar}/MobileNavBarTitle.d.ts +0 -0
  205. /package/es/{MobileNavBar → mobile/MobileNavBar}/MobileNavBarTitle.js +0 -0
  206. /package/es/{MobileNavBar → mobile/MobileNavBar}/index.d.ts +0 -0
  207. /package/es/{MobileNavBar → mobile/MobileNavBar}/style.d.ts +0 -0
  208. /package/es/{MobileNavBar → mobile/MobileNavBar}/style.js +0 -0
  209. /package/es/{MobileSafeArea → mobile/MobileSafeArea}/index.js +0 -0
  210. /package/es/{MobileSafeArea → mobile/MobileSafeArea}/style.d.ts +0 -0
  211. /package/es/{MobileSafeArea → mobile/MobileSafeArea}/style.js +0 -0
  212. /package/es/{MobileTabBar → mobile/MobileTabBar}/index.d.ts +0 -0
  213. /package/es/{MobileTabBar → mobile/MobileTabBar}/index.js +0 -0
  214. /package/es/{MobileTabBar → mobile/MobileTabBar}/style.d.ts +0 -0
  215. /package/es/{MobileTabBar → mobile/MobileTabBar}/style.js +0 -0
  216. /package/es/{StoryBook → storybook/StoryBook}/style.d.ts +0 -0
  217. /package/es/{StoryBook → storybook/StoryBook}/style.js +0 -0
package/es/index.js CHANGED
@@ -1,94 +1,8 @@
1
- export { default as ActionIcon } from "./ActionIcon";
2
- export { default as ActionIconGroup } from "./ActionIconGroup";
3
- export { default as Alert } from "./Alert";
4
- export { default as AuroraBackground } from "./AuroraBackground";
5
- export { default as Avatar } from "./Avatar";
6
- export { default as BackBottom } from "./BackBottom";
1
+ export * from "./awesome";
7
2
  export { default as Logo } from "./brand/LobeHub";
8
- export { default as Burger } from "./Burger";
9
- export { default as ChatHeader } from "./ChatHeader";
10
- export { default as ChatHeaderTitle } from "./ChatHeader/ChatHeaderTitle";
11
- export * from "./ChatInputArea";
12
- export { default as ChatItem } from "./ChatItem";
13
- export { default as ChatList } from "./ChatList";
14
- export { default as ActionsBar } from "./ChatList/ActionsBar";
15
- export { default as CodeEditor } from "./CodeEditor";
16
- export { default as Collapse } from "./Collapse";
17
- export { default as ColorScales } from "./ColorScales";
18
- export { default as ConfigProvider, useCdnFn } from "./ConfigProvider";
19
- export { default as ContextMenu } from "./ContextMenu";
20
- export { default as CopyButton } from "./CopyButton";
21
- export { default as DraggablePanel } from "./DraggablePanel";
22
- export { default as DraggablePanelBody } from "./DraggablePanel/components/DraggablePanelBody";
23
- export { default as DraggablePanelContainer } from "./DraggablePanel/components/DraggablePanelContainer";
24
- export { default as DraggablePanelFooter } from "./DraggablePanel/components/DraggablePanelFooter";
25
- export { default as DraggablePanelHeader } from "./DraggablePanel/components/DraggablePanelHeader";
26
- export { default as EditableMessage } from "./EditableMessage";
27
- export { default as EditableMessageList } from "./EditableMessageList";
28
- export { default as EditableText } from "./EditableText";
29
- export { default as EmojiPicker } from "./EmojiPicker";
30
- export { default as EmptyCard } from "./EmptyCard";
31
- export { default as Features } from "./Features";
32
- export { default as FileTypeIcon } from "./FileTypeIcon";
33
- export { default as FluentEmoji } from "./FluentEmoji";
34
- export { default as FontLoader } from "./FontLoader";
35
- export { default as Footer } from "./Footer";
36
- export { default as Form } from "./Form";
37
- export { default as FormDivider } from "./Form/components/FormDivider";
38
- export { default as FormFooter } from "./Form/components/FormFooter";
39
- export { default as FormGroup } from "./Form/components/FormGroup";
40
- export { default as FormItem } from "./Form/components/FormItem";
41
- export { default as FormTitle } from "./Form/components/FormTitle";
42
- export { default as GaussianBackground } from "./GaussianBackground";
43
- export { default as Giscus } from "./Giscus";
44
- export { default as GradientButton } from "./GradientButton";
45
- export { default as Grid } from "./Grid";
46
- export { default as GridBackground } from "./GridBackground";
47
- export { default as GridShowcase } from "./GridBackground/GridShowcase";
48
- export { default as Header } from "./Header";
49
- export { default as Hero } from "./Hero";
50
- export { default as Highlighter, SyntaxHighlighter } from "./Highlighter";
51
- export { useChatListActionsBar } from "./hooks/useChatListActionsBar";
52
- export { default as Icon } from "./Icon";
53
- export * from "./Icon/icons";
54
- export { default as Image } from "./Image";
55
- export { default as ImageGallery } from "./Image/ImageGallery";
56
- export { Input, TextArea } from "./Input";
57
- export { default as Layout, LayoutFooter, LayoutHeader, LayoutMain, LayoutSidebar, LayoutSidebarInner, LayoutToc } from "./Layout";
58
- export { default as List } from "./List";
59
- export { default as LogoThree } from "./LogoThree";
60
- export { default as LogoSpline } from "./LogoThree/LogoSpline";
61
- export { default as Markdown } from "./Markdown";
62
- export { Typography } from "./Markdown/Typography";
63
- export { default as MaterialFileTypeIcon } from "./MaterialFileTypeIcon";
64
- export { default as Mermaid } from "./Mermaid";
65
- export { default as MessageInput } from "./MessageInput";
66
- export { default as MessageModal } from "./MessageModal";
67
- export { default as MobileNavBar } from "./MobileNavBar";
68
- export { default as MobileNavBarTitle } from "./MobileNavBar/MobileNavBarTitle";
69
- export { default as MobileSafeArea } from "./MobileSafeArea";
70
- export { default as MobileTabBar } from "./MobileTabBar";
71
- export { default as Modal } from "./Modal";
72
- export { default as SearchBar } from "./SearchBar";
73
- export { default as SelectWithImg } from "./SelectWithImg";
74
- export { default as SideNav } from "./SideNav";
75
- export { default as SliderWithInput } from "./SliderWithInput";
76
- export { default as Snippet } from "./Snippet";
77
- export { default as SortableList } from "./SortableList";
78
- export { default as Spline } from "./Spline";
79
- export { default as Spotlight } from "./Spotlight";
80
- export { default as SpotlightCard } from "./SpotlightCard";
81
- export { default as StoryBook, useControls, useCreateStore } from "./StoryBook";
82
- export * from "./styles";
83
- export { default as Swatches } from "./Swatches";
84
- export { default as TabsNav } from "./TabsNav";
85
- export { default as Tag } from "./Tag";
86
- export { default as ThemeProvider } from "./ThemeProvider";
87
- export { default as Meta } from "./ThemeProvider/Meta";
88
- export { default as ThemeSwitch } from "./ThemeSwitch";
89
- export { default as Toc } from "./Toc";
90
- export { default as TokenTag } from "./TokenTag";
91
- export { default as Tooltip } from "./Tooltip";
92
- export { copyToClipboard } from "./utils/copyToClipboard";
93
- export { genCdnUrl } from "./utils/genCdnUrl";
94
- export { default as Video } from "./Video";
3
+ export { default as LogoThree } from "./brand/LogoThree";
4
+ export { default as LogoSpline } from "./brand/LogoThree/LogoSpline";
5
+ export * from "./chat";
6
+ export * from "./components";
7
+ export * from "./mobile";
8
+ export * from "./storybook";
@@ -9,7 +9,7 @@ import { createStyles } from 'antd-style';
9
9
  import { AlertOctagon, AlertTriangle, Info, Lightbulb, MessageSquareWarning } from 'lucide-react';
10
10
  import { rgba } from 'polished';
11
11
  import { Flexbox } from 'react-layout-kit';
12
- import Icon from "../Icon";
12
+ import Icon from "../../Icon";
13
13
  import { jsx as _jsx } from "react/jsx-runtime";
14
14
  import { jsxs as _jsxs } from "react/jsx-runtime";
15
15
  var useStyles = createStyles(function (_ref) {
@@ -1,7 +1,7 @@
1
1
  import { TagProps } from 'antd';
2
2
  import { FC } from 'react';
3
3
  import { type FlexboxProps } from 'react-layout-kit';
4
- import { type IconProps } from "../Icon";
4
+ import { type IconProps } from "../../Icon";
5
5
  export interface CardProps extends Omit<FlexboxProps, 'children'> {
6
6
  desc?: string;
7
7
  href?: string;
@@ -8,9 +8,9 @@ var _templateObject, _templateObject2, _templateObject3;
8
8
  import { Tag } from 'antd';
9
9
  import { createStyles } from 'antd-style';
10
10
  import { Flexbox } from 'react-layout-kit';
11
- import A from "../A";
12
- import Icon from "../Icon";
13
- import Img from "../Img";
11
+ import A from "../../A";
12
+ import Icon from "../../Icon";
13
+ import Img from "../../Img";
14
14
  import { jsx as _jsx } from "react/jsx-runtime";
15
15
  import { jsxs as _jsxs } from "react/jsx-runtime";
16
16
  var useStyles = createStyles(function (_ref) {
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { type GridProps } from "../Grid";
2
+ import { type GridProps } from "../../Grid";
3
3
  export type CardsProps = GridProps;
4
4
  declare const Cards: FC<CardsProps>;
5
5
  export default Cards;
@@ -6,7 +6,7 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/esm/taggedTemplateLit
6
6
  var _excluded = ["children", "className", "maxItemWidth", "rows"];
7
7
  var _templateObject;
8
8
  import { createStyles } from 'antd-style';
9
- import Grid from "../Grid";
9
+ import Grid from "../../Grid";
10
10
  import { jsx as _jsx } from "react/jsx-runtime";
11
11
  var useStyles = createStyles(function (_ref) {
12
12
  var css = _ref.css;
@@ -1,6 +1,6 @@
1
1
  import { FC } from 'react';
2
2
  import { FlexboxProps } from 'react-layout-kit';
3
- import { type IconProps } from "../Icon";
3
+ import { type IconProps } from "../../Icon";
4
4
  export interface FileProps extends Omit<FlexboxProps, 'children'> {
5
5
  icon?: IconProps['icon'];
6
6
  name: string;
@@ -5,7 +5,7 @@ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutPr
5
5
  var _excluded = ["name", "icon"];
6
6
  import { FileIcon } from 'lucide-react';
7
7
  import { Flexbox } from 'react-layout-kit';
8
- import Icon from "../Icon";
8
+ import Icon from "../../Icon";
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
10
  import { jsxs as _jsxs } from "react/jsx-runtime";
11
11
  var File = function File(_ref) {
@@ -1,6 +1,6 @@
1
1
  import { FC } from 'react';
2
2
  import { FlexboxProps } from 'react-layout-kit';
3
- import { type IconProps } from "../Icon";
3
+ import { type IconProps } from "../../Icon";
4
4
  export interface FolderProps extends FlexboxProps {
5
5
  defaultOpen?: boolean;
6
6
  icon?: IconProps['icon'];
@@ -10,7 +10,7 @@ import { createStyles } from 'antd-style';
10
10
  import { FolderIcon, FolderOpen } from 'lucide-react';
11
11
  import { useState } from 'react';
12
12
  import { Flexbox } from 'react-layout-kit';
13
- import Icon from "../Icon";
13
+ import Icon from "../../Icon";
14
14
  import { jsx as _jsx } from "react/jsx-runtime";
15
15
  import { jsxs as _jsxs } from "react/jsx-runtime";
16
16
  var useStyles = createStyles(function (_ref) {
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { DivProps } from "../types";
2
+ import { DivProps } from "../../types";
3
3
  export type FileTreeProps = DivProps;
4
4
  declare const FileTree: FC<FileTreeProps>;
5
5
  export default FileTree;
@@ -1,4 +1,4 @@
1
1
  import { FC } from 'react';
2
- import { DivProps } from "../types";
2
+ import { DivProps } from "../../types";
3
3
  declare const Steps: FC<DivProps>;
4
4
  export default Steps;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { DivProps } from "../types";
2
+ import { DivProps } from "../../types";
3
3
  export type TabProps = DivProps;
4
4
  declare const Tab: FC<TabProps>;
5
5
  export default Tab;
@@ -1,6 +1,6 @@
1
1
  import { FC, ReactNode } from 'react';
2
2
  import { FlexboxProps } from 'react-layout-kit';
3
- import { type TabsNavProps } from "../TabsNav";
3
+ import { type TabsNavProps } from "../../TabsNav";
4
4
  export interface TabsProps extends Omit<FlexboxProps, 'children'> {
5
5
  children: ReactNode[];
6
6
  defaultIndex?: number | string;
@@ -10,7 +10,7 @@ var _templateObject, _templateObject2;
10
10
  import { createStyles } from 'antd-style';
11
11
  import { useState } from 'react';
12
12
  import { Flexbox } from 'react-layout-kit';
13
- import TabsNav from "../TabsNav";
13
+ import TabsNav from "../../TabsNav";
14
14
  import { jsx as _jsx } from "react/jsx-runtime";
15
15
  import { jsxs as _jsxs } from "react/jsx-runtime";
16
16
  var useStyles = createStyles(function (_ref) {
package/es/mdx/index.d.ts CHANGED
@@ -1,14 +1,14 @@
1
1
  export { default as Callout, type CalloutProps } from './Callout';
2
- export { default as Card, type CardProps } from './Card';
3
2
  export { default as Cards, type CardsProps } from './Cards';
4
- export { default as File, type FileProps } from './File';
3
+ export { default as Card, type CardProps } from './Cards/Card';
5
4
  export { default as FileTree, type FileTreeProps } from './FileTree';
6
- export { default as Folder, type FolderProps } from './Folder';
7
- export { default as Image, type ImageProps } from './Image';
8
- export { default as Link, type LinkProps } from './Link';
5
+ export { default as File, type FileProps } from './FileTree/File';
6
+ export { default as Folder, type FolderProps } from './FileTree/Folder';
9
7
  export { default as mdxComponents } from './mdxComponents';
10
- export { default as Pre, type PreProps, PreSingleLine } from './Pre';
8
+ export { default as Image, type ImageProps } from './mdxComponents/Image';
9
+ export { default as Link, type LinkProps } from './mdxComponents/Link';
10
+ export { default as Pre, type PreProps, PreSingleLine } from './mdxComponents/Pre';
11
+ export { default as Video, type VideoProps } from './mdxComponents/Video';
11
12
  export { default as Steps } from './Steps';
12
- export { default as Tab, type TabProps } from './Tab';
13
13
  export { default as Tabs, type TabsProps } from './Tabs';
14
- export { default as Video, type VideoProps } from './Video';
14
+ export { default as Tab, type TabProps } from './Tabs/Tab';
package/es/mdx/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  export { default as Callout } from "./Callout";
2
- export { default as Card } from "./Card";
3
2
  export { default as Cards } from "./Cards";
4
- export { default as File } from "./File";
3
+ export { default as Card } from "./Cards/Card";
5
4
  export { default as FileTree } from "./FileTree";
6
- export { default as Folder } from "./Folder";
7
- export { default as Image } from "./Image";
8
- export { default as Link } from "./Link";
5
+ export { default as File } from "./FileTree/File";
6
+ export { default as Folder } from "./FileTree/Folder";
9
7
  export { default as mdxComponents } from "./mdxComponents";
10
- export { default as Pre, PreSingleLine } from "./Pre";
8
+ export { default as Image } from "./mdxComponents/Image";
9
+ export { default as Link } from "./mdxComponents/Link";
10
+ export { default as Pre, PreSingleLine } from "./mdxComponents/Pre";
11
+ export { default as Video } from "./mdxComponents/Video";
11
12
  export { default as Steps } from "./Steps";
12
- export { default as Tab } from "./Tab";
13
13
  export { default as Tabs } from "./Tabs";
14
- export { default as Video } from "./Video";
14
+ export { default as Tab } from "./Tabs/Tab";
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { type ImageProps as LobeImageProps } from "../Image";
2
+ import { type ImageProps as LobeImageProps } from "../../Image";
3
3
  export interface ImageProps extends LobeImageProps {
4
4
  cover?: boolean;
5
5
  inStep?: boolean;
@@ -3,7 +3,7 @@
3
3
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
4
4
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
5
5
  var _excluded = ["style", "width", "height", "cover", "inStep", "alt"];
6
- import LobeImage from "../Image";
6
+ import LobeImage from "../../Image";
7
7
  import { jsx as _jsx } from "react/jsx-runtime";
8
8
  var Image = function Image(_ref) {
9
9
  var style = _ref.style,
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { AProps } from "../types";
2
+ import { AProps } from "../../types";
3
3
  export type LinkProps = AProps;
4
4
  declare const Link: FC<LinkProps>;
5
5
  export default Link;
@@ -1,7 +1,7 @@
1
1
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
3
  var _excluded = ["href", "target"];
4
- import A from "../A";
4
+ import A from "../../A";
5
5
  import { jsx as _jsx } from "react/jsx-runtime";
6
6
  var Link = function Link(_ref) {
7
7
  var href = _ref.href,
@@ -1,7 +1,7 @@
1
1
  import { FC } from 'react';
2
- import { type HighlighterProps } from "../Highlighter";
3
- import { type MermaidProps } from "../Mermaid";
4
- import { type SnippetProps } from "../Snippet";
2
+ import { type HighlighterProps } from "../../Highlighter";
3
+ import { type MermaidProps } from "../../Mermaid";
4
+ import { type SnippetProps } from "../../Snippet";
5
5
  export type PreProps = HighlighterProps;
6
6
  export declare const Pre: FC<PreProps>;
7
7
  export declare const PreSingleLine: FC<SnippetProps>;
@@ -8,10 +8,10 @@ var _excluded = ["fullFeatured", "fileName", "allowChangeLanguage", "language",
8
8
  _excluded3 = ["fullFeatured", "children", "className", "style"];
9
9
  var _templateObject;
10
10
  import { createStyles } from 'antd-style';
11
- import Highlighter from "../Highlighter";
12
- import Mermaid from "../Mermaid";
13
- import Snippet from "../Snippet";
14
- import { FALLBACK_LANG } from "../hooks/useHighlight";
11
+ import Highlighter from "../../Highlighter";
12
+ import Mermaid from "../../Mermaid";
13
+ import Snippet from "../../Snippet";
14
+ import { FALLBACK_LANG } from "../../hooks/useHighlight";
15
15
  import { jsx as _jsx } from "react/jsx-runtime";
16
16
  var useStyles = createStyles(function (_ref) {
17
17
  var css = _ref.css;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { type VideoProps as LobeVideoProps } from "../Video";
2
+ import { type VideoProps as LobeVideoProps } from "../../Video";
3
3
  export interface VideoProps extends LobeVideoProps {
4
4
  cover?: boolean;
5
5
  inStep?: boolean;
@@ -3,7 +3,7 @@
3
3
  import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
4
4
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
5
5
  var _excluded = ["style", "width", "height", "cover", "inStep"];
6
- import LobeVideo from "../Video";
6
+ import LobeVideo from "../../Video";
7
7
  import { jsx as _jsx } from "react/jsx-runtime";
8
8
  var Video = function Video(_ref) {
9
9
  var style = _ref.style,
@@ -1,12 +1,12 @@
1
- import Callout from "./Callout";
2
- import Card from "./Card";
3
- import Cards from "./Cards";
4
- import FileTree from "./FileTree";
1
+ import Callout from "../Callout";
2
+ import Cards from "../Cards";
3
+ import Card from "../Cards/Card";
4
+ import FileTree from "../FileTree";
5
+ import Steps from "../Steps";
6
+ import Tabs from "../Tabs";
7
+ import Tab from "../Tabs/Tab";
5
8
  import Image from "./Image";
6
9
  import Link from "./Link";
7
- import Steps from "./Steps";
8
- import Tab from "./Tab";
9
- import Tabs from "./Tabs";
10
10
  import Video from "./Video";
11
11
  var mdxComponents = {
12
12
  Callout: Callout,
@@ -1,6 +1,6 @@
1
1
  import { TextAreaRef } from 'antd/es/input/TextArea';
2
2
  import { CSSProperties, ReactNode } from 'react';
3
- import { type ChatInputAreaInnerProps } from '../ChatInputAreaInner';
3
+ import { type ChatInputAreaInnerProps } from "../../chat/ChatInputArea/ChatInputAreaInner";
4
4
  export interface MobileChatInputAreaProps extends ChatInputAreaInnerProps {
5
5
  bottomAddons?: ReactNode;
6
6
  expand?: boolean;
@@ -10,8 +10,8 @@ import { rgba } from 'polished';
10
10
  import { forwardRef, useCallback, useEffect, useRef, useState } from 'react';
11
11
  import { Flexbox } from 'react-layout-kit';
12
12
  import ActionIcon from "../../ActionIcon";
13
- import MobileSafeArea from "../../MobileSafeArea";
14
- import ChatInputAreaInner from "../ChatInputAreaInner";
13
+ import ChatInputAreaInner from "../../chat/ChatInputArea/ChatInputAreaInner";
14
+ import MobileSafeArea from "../MobileSafeArea";
15
15
  import { jsxs as _jsxs } from "react/jsx-runtime";
16
16
  import { jsx as _jsx } from "react/jsx-runtime";
17
17
  var useStyles = createStyles(function (_ref) {
@@ -3,7 +3,7 @@
3
3
  import { ChevronLeft } from 'lucide-react';
4
4
  import { memo } from 'react';
5
5
  import { Flexbox } from 'react-layout-kit';
6
- import ActionIcon from "../ActionIcon";
6
+ import ActionIcon from "../../ActionIcon";
7
7
  import MobileSafeArea from "../MobileSafeArea";
8
8
  import { useStyles } from "./style";
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { DivProps } from "../types";
2
+ import { DivProps } from "../../types";
3
3
  export interface MobileSafeAreaProps extends DivProps {
4
4
  position: 'top' | 'bottom';
5
5
  }
@@ -0,0 +1,6 @@
1
+ export { default as MobileChatInputArea, type MobileChatInputAreaProps, } from './MobileChatInputArea';
2
+ export { default as MobileChatSendButton, type MobileChatSendButtonProps, } from './MobileChatInputArea/SendButton';
3
+ export { default as MobileNavBar, type MobileNavBarProps } from './MobileNavBar';
4
+ export { default as MobileNavBarTitle, type MobileNavBarTitleProps, } from './MobileNavBar/MobileNavBarTitle';
5
+ export { default as MobileSafeArea, type MobileSafeAreaProps } from './MobileSafeArea';
6
+ export { default as MobileTabBar, type MobileTabBarItemProps, type MobileTabBarProps, } from './MobileTabBar';
@@ -0,0 +1,6 @@
1
+ export { default as MobileChatInputArea } from "./MobileChatInputArea";
2
+ export { default as MobileChatSendButton } from "./MobileChatInputArea/SendButton";
3
+ export { default as MobileNavBar } from "./MobileNavBar";
4
+ export { default as MobileNavBarTitle } from "./MobileNavBar/MobileNavBarTitle";
5
+ export { default as MobileSafeArea } from "./MobileSafeArea";
6
+ export { default as MobileTabBar } from "./MobileTabBar";
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { DivProps } from "../types";
2
+ import { DivProps } from "../../types";
3
3
  export interface StoryBookProps extends DivProps {
4
4
  /**
5
5
  * @description The Leva store instance to be used by the component
@@ -7,7 +7,7 @@ import { useResponsive } from 'antd-style';
7
7
  import { LevaPanel } from 'leva';
8
8
  import { memo } from 'react';
9
9
  import { Flexbox } from 'react-layout-kit';
10
- import DraggablePanel from "../DraggablePanel";
10
+ import DraggablePanel from "../../DraggablePanel";
11
11
  import { useStyles } from "./style";
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import { jsxs as _jsxs } from "react/jsx-runtime";
@@ -0,0 +1 @@
1
+ export { default as StoryBook, type StoryBookProps, useControls, useCreateStore, } from './StoryBook';
@@ -0,0 +1 @@
1
+ export { default as StoryBook, useControls, useCreateStore } from "./StoryBook";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/ui",
3
- "version": "1.153.10",
3
+ "version": "1.153.12",
4
4
  "description": "Lobe UI is an open-source UI component library for building AIGC web apps",
5
5
  "keywords": [
6
6
  "lobehub",
@@ -76,8 +76,9 @@
76
76
  ]
77
77
  },
78
78
  "dependencies": {
79
+ "@ant-design/cssinjs": "^1.22.1",
79
80
  "@babel/runtime": "^7.26.0",
80
- "@dnd-kit/core": "^6.2.0",
81
+ "@dnd-kit/core": "^6.3.1",
81
82
  "@dnd-kit/modifiers": "^8.0.0",
82
83
  "@dnd-kit/sortable": "^9.0.0",
83
84
  "@dnd-kit/utilities": "^3.2.2",
@@ -85,10 +86,14 @@
85
86
  "@emoji-mart/react": "^1.1.1",
86
87
  "@floating-ui/react": "^0.26.28",
87
88
  "@giscus/react": "^3.0.0",
89
+ "@lobehub/fluent-emoji": "^1.0.1",
90
+ "@radix-ui/react-slot": "^1.1.0",
88
91
  "@react-spring/web": "^9.7.5",
89
92
  "@shikijs/transformers": "^1.24.0",
90
93
  "@splinetool/runtime": "^0.9.526",
94
+ "ahooks": "^3.8.4",
91
95
  "chroma-js": "^3.1.2",
96
+ "class-variance-authority": "^0.7.1",
92
97
  "dayjs": "^1.11.13",
93
98
  "emoji-mart": "^5.6.0",
94
99
  "fast-deep-equal": "^3.1.3",
@@ -104,7 +109,7 @@
104
109
  "re-resizable": "^6.10.1",
105
110
  "react-avatar-editor": "^13.0.2",
106
111
  "react-error-boundary": "^4.1.2",
107
- "react-layout-kit": "^1.9.0",
112
+ "react-layout-kit": "^1.9.1",
108
113
  "react-markdown": "^8.0.7",
109
114
  "react-merge-refs": "^2.1.1",
110
115
  "react-rnd": "^10.4.13",
@@ -117,6 +122,7 @@
117
122
  "shiki": "^1.24.0",
118
123
  "swr": "^2.2.5",
119
124
  "ts-md5": "^1.3.1",
125
+ "unified": "^10.1.2",
120
126
  "url-join": "^5.0.0",
121
127
  "use-merge-value": "^1.2.0",
122
128
  "uuid": "^11.0.3"
@@ -132,9 +138,9 @@
132
138
  "@types/numeral": "^2.0.5",
133
139
  "@types/pangu": "^4.0.2",
134
140
  "@types/query-string": "^6.3.0",
135
- "@types/react": "^18.3.12",
141
+ "@types/react": "^18.3.14",
136
142
  "@types/react-avatar-editor": "^13.0.3",
137
- "@types/react-dom": "^18.3.1",
143
+ "@types/react-dom": "^18.3.2",
138
144
  "@types/unist": "^3.0.3",
139
145
  "@types/uuid": "^10.0.0",
140
146
  "@vitest/coverage-v8": "~1.2.2",
@@ -150,7 +156,7 @@
150
156
  "husky": "^9.1.7",
151
157
  "jsdom": "^25.0.1",
152
158
  "lint-staged": "^15.2.10",
153
- "prettier": "^3.4.1",
159
+ "prettier": "^3.4.2",
154
160
  "react": "^18.3.1",
155
161
  "react-dom": "^18.3.1",
156
162
  "remark": "^14.0.3",
@@ -163,15 +169,11 @@
163
169
  "vitest": "~1.2.2"
164
170
  },
165
171
  "peerDependencies": {
166
- "@ant-design/cssinjs": ">=1",
167
- "@lobehub/fluent-emoji": ">=1",
168
- "ahooks": ">=3",
169
172
  "antd": ">=5.13.0",
170
173
  "antd-style": ">=3",
171
174
  "lucide-react": ">=0.396.0",
172
175
  "react": ">=18",
173
- "react-dom": ">=18",
174
- "unified": ">=10"
176
+ "react-dom": ">=18"
175
177
  },
176
178
  "publishConfig": {
177
179
  "access": "public",
@@ -1,6 +0,0 @@
1
- export { default as ChatInputActionBar } from "./ChatInputActionBar";
2
- export { default as ChatInputAreaInner } from "./ChatInputAreaInner";
3
- export { default as ChatInputArea } from "./desktop/ChatInputArea";
4
- export { default as ChatSendButton } from "./desktop/SendButton";
5
- export { default as MobileChatInputArea } from "./mobile/ChatInputArea";
6
- export { default as MobileChatSendButton } from "./mobile/SendButton";
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes