@lobehub/ui 5.1.0 → 5.2.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 (147) hide show
  1. package/es/Accordion/Accordion.d.mts +2 -2
  2. package/es/Accordion/AccordionItem.d.mts +2 -2
  3. package/es/ActionIcon/ActionIcon.d.mts +2 -2
  4. package/es/Alert/Alert.d.mts +2 -2
  5. package/es/AutoComplete/Select.d.mts +2 -2
  6. package/es/Avatar/AvatarGroup/index.d.mts +2 -2
  7. package/es/Burger/Burger.d.mts +2 -2
  8. package/es/CodeDiff/CodeDiff.d.mts +2 -2
  9. package/es/CodeDiff/PatchDiff.d.mts +2 -2
  10. package/es/CodeEditor/CodeEditor.d.mts +2 -2
  11. package/es/Collapse/Collapse.d.mts +2 -2
  12. package/es/ConfigProvider/index.d.mts +2 -2
  13. package/es/CopyButton/CopyButton.d.mts +2 -2
  14. package/es/DatePicker/DatePicker.d.mts +2 -2
  15. package/es/DraggablePanel/components/DraggablePanelBody.d.mts +2 -2
  16. package/es/DraggablePanel/components/DraggablePanelContainer.d.mts +2 -2
  17. package/es/DraggablePanel/components/DraggablePanelFooter.d.mts +2 -2
  18. package/es/DraggablePanel/components/DraggablePanelHeader.d.mts +2 -2
  19. package/es/DraggableSideNav/DraggableSideNav.d.mts +2 -2
  20. package/es/Drawer/Drawer.d.mts +2 -2
  21. package/es/Dropdown/Dropdown.d.mts +2 -2
  22. package/es/EditableText/EditableText.d.mts +2 -2
  23. package/es/EmojiPicker/EmojiPicker.d.mts +2 -2
  24. package/es/Flex/FlexBasic.d.mts +2 -2
  25. package/es/FontLoader/index.d.mts +2 -2
  26. package/es/Footer/Footer.d.mts +2 -2
  27. package/es/Form/components/FormGroup.d.mts +2 -2
  28. package/es/Form/components/FormItem.d.mts +2 -2
  29. package/es/Form/components/FormSubmitFooter.d.mts +2 -2
  30. package/es/FormModal/FormModal.d.mts +2 -2
  31. package/es/Freeze/Freeze.d.mts +2 -2
  32. package/es/GuideCard/GuideCard.d.mts +2 -2
  33. package/es/Header/Header.d.mts +2 -2
  34. package/es/Highlighter/Highlighter.d.mts +2 -2
  35. package/es/Highlighter/SyntaxHighlighter/index.d.mts +2 -2
  36. package/es/Hotkey/Hotkey.d.mts +2 -2
  37. package/es/HotkeyInput/HotkeyInput.d.mts +2 -2
  38. package/es/Icon/Icon.d.mts +2 -2
  39. package/es/Icon/components/IconProvider.d.mts +3 -3
  40. package/es/Image/PreviewGroup.d.mts +2 -2
  41. package/es/ImageSelect/ImageSelect.d.mts +2 -2
  42. package/es/Input/Input.d.mts +2 -2
  43. package/es/Input/InputNumber.d.mts +2 -2
  44. package/es/Input/InputOPT.d.mts +2 -2
  45. package/es/Input/InputPassword.d.mts +2 -2
  46. package/es/Input/TextArea.d.mts +2 -2
  47. package/es/Layout/components/LayoutFooter.d.mts +2 -2
  48. package/es/Layout/components/LayoutHeader.d.mts +2 -2
  49. package/es/Layout/components/LayoutMain.d.mts +2 -2
  50. package/es/Layout/components/LayoutSidebar.d.mts +2 -2
  51. package/es/Layout/components/LayoutSidebarInner.d.mts +2 -2
  52. package/es/Layout/components/LayoutToc.d.mts +2 -2
  53. package/es/List/ListItem/index.d.mts +2 -2
  54. package/es/Markdown/Markdown.d.mts +2 -2
  55. package/es/Markdown/SyntaxMarkdown/StreamdownRender.mjs +99 -15
  56. package/es/Markdown/SyntaxMarkdown/StreamdownRender.mjs.map +1 -1
  57. package/es/Markdown/SyntaxMarkdown/style.mjs +11 -6
  58. package/es/Markdown/SyntaxMarkdown/style.mjs.map +1 -1
  59. package/es/Markdown/SyntaxMarkdown/useStreamQueue.mjs +89 -0
  60. package/es/Markdown/SyntaxMarkdown/useStreamQueue.mjs.map +1 -0
  61. package/es/Markdown/Typography.d.mts +2 -2
  62. package/es/Markdown/components/SearchResultCards/index.d.mts +2 -2
  63. package/es/Markdown/plugins/rehypeStreamAnimated.d.mts +6 -1
  64. package/es/Markdown/plugins/rehypeStreamAnimated.mjs +57 -26
  65. package/es/Markdown/plugins/rehypeStreamAnimated.mjs.map +1 -1
  66. package/es/MaskShadow/MaskShadow.d.mts +2 -2
  67. package/es/Menu/Menu.d.mts +2 -2
  68. package/es/Mermaid/Mermaid.d.mts +2 -2
  69. package/es/Mermaid/SyntaxMermaid/index.d.mts +2 -2
  70. package/es/Modal/Modal.d.mts +2 -2
  71. package/es/Modal/ModalProvider.d.mts +2 -2
  72. package/es/Modal/imperative.d.mts +2 -2
  73. package/es/MotionProvider/index.d.mts +2 -2
  74. package/es/Popover/ArrowIcon.d.mts +2 -2
  75. package/es/Popover/atoms.d.mts +9 -9
  76. package/es/Popover/context.d.mts +2 -2
  77. package/es/SearchBar/SearchBar.d.mts +2 -2
  78. package/es/Segmented/Segmented.d.mts +2 -2
  79. package/es/Select/Select.d.mts +2 -2
  80. package/es/SideNav/SideNav.d.mts +2 -2
  81. package/es/SliderWithInput/SliderWithInput.d.mts +2 -2
  82. package/es/SortableList/components/DragHandle.d.mts +2 -2
  83. package/es/SortableList/components/SortableItem.d.mts +2 -2
  84. package/es/ThemeProvider/ThemeProvider.d.mts +2 -2
  85. package/es/Toc/Toc.d.mts +2 -2
  86. package/es/Video/index.d.mts +2 -2
  87. package/es/awesome/AuroraBackground/AuroraBackground.d.mts +2 -2
  88. package/es/awesome/BottomGradientButton/BottomGradientButton.d.mts +2 -2
  89. package/es/awesome/Features/Features.d.mts +2 -2
  90. package/es/awesome/Giscus/Giscus.d.mts +2 -2
  91. package/es/awesome/GradientButton/GradientButton.d.mts +2 -2
  92. package/es/awesome/GridBackground/GridBackground.d.mts +2 -2
  93. package/es/awesome/GridBackground/GridShowcase.d.mts +2 -2
  94. package/es/awesome/Hero/Hero.d.mts +2 -2
  95. package/es/awesome/Spline/Spine.d.mts +2 -2
  96. package/es/awesome/Spotlight/Spotlight.d.mts +2 -2
  97. package/es/awesome/SpotlightCard/SpotlightCard.d.mts +2 -2
  98. package/es/awesome/TypewriterEffect/TypewriterEffect.d.mts +2 -2
  99. package/es/base-ui/DropdownMenu/DropdownMenu.d.mts +2 -2
  100. package/es/base-ui/Modal/context.d.mts +2 -2
  101. package/es/base-ui/Modal/imperative.d.mts +2 -2
  102. package/es/base-ui/Modal/style.mjs +1 -1
  103. package/es/base-ui/Modal/style.mjs.map +1 -1
  104. package/es/base-ui/Select/Select.d.mts +2 -2
  105. package/es/base-ui/Select/atoms.d.mts +3 -3
  106. package/es/base-ui/Switch/Switch.d.mts +2 -2
  107. package/es/base-ui/Toast/imperative.d.mts +2 -2
  108. package/es/brand/LobeChat/index.d.mts +2 -2
  109. package/es/brand/LobeHub/index.d.mts +2 -2
  110. package/es/brand/LogoThree/LogoSpline.d.mts +2 -2
  111. package/es/brand/LogoThree/index.d.mts +2 -2
  112. package/es/chat/BackBottom/BackBottom.d.mts +2 -2
  113. package/es/chat/ChatInputArea/components/ChatInputAreaInner.d.mts +2 -2
  114. package/es/chat/ChatItem/ChatItem.d.mts +2 -2
  115. package/es/chat/ChatList/ChatList.d.mts +2 -2
  116. package/es/chat/EditableMessage/EditableMessage.d.mts +2 -2
  117. package/es/chat/EditableMessageList/EditableMessageList.d.mts +2 -2
  118. package/es/chat/MessageInput/MessageInput.d.mts +2 -2
  119. package/es/chat/MessageModal/MessageModal.d.mts +2 -2
  120. package/es/color/ColorScales/index.d.mts +2 -2
  121. package/es/color/CssVar/index.d.mts +2 -2
  122. package/es/hooks/useMarkdown/useMarkdownRehypePlugins.mjs +2 -5
  123. package/es/hooks/useMarkdown/useMarkdownRehypePlugins.mjs.map +1 -1
  124. package/es/i18n/context.d.mts +2 -2
  125. package/es/icons/lucideExtra/BotPromptIcon.d.mts +2 -2
  126. package/es/icons/lucideExtra/CreateBotIcon.d.mts +3 -3
  127. package/es/icons/lucideExtra/DiscordIcon.d.mts +3 -3
  128. package/es/icons/lucideExtra/GlobeOffIcon.d.mts +2 -2
  129. package/es/icons/lucideExtra/GroupBotIcon.d.mts +3 -3
  130. package/es/icons/lucideExtra/GroupBotSquareIcon.d.mts +2 -2
  131. package/es/icons/lucideExtra/LeftClickIcon.d.mts +3 -3
  132. package/es/icons/lucideExtra/LeftDoubleClickIcon.d.mts +3 -3
  133. package/es/icons/lucideExtra/McpIcon.d.mts +2 -2
  134. package/es/icons/lucideExtra/ProviderIcon.d.mts +3 -3
  135. package/es/icons/lucideExtra/RightClickIcon.d.mts +3 -3
  136. package/es/icons/lucideExtra/RightDoubleClickIcon.d.mts +3 -3
  137. package/es/icons/lucideExtra/ShapesUploadIcon.d.mts +3 -3
  138. package/es/icons/lucideExtra/SkillsIcon.d.mts +3 -3
  139. package/es/icons/lucideExtra/TreeDownRightIcon.d.mts +3 -3
  140. package/es/icons/lucideExtra/TreeUpDownRightIcon.d.mts +3 -3
  141. package/es/index.mjs +1 -1
  142. package/es/mdx/Mdx/index.d.mts +2 -2
  143. package/es/mobile/ChatHeader/ChatHeaderTitle.d.mts +2 -2
  144. package/es/mobile/ChatInputArea/components/ChatSendButton.d.mts +2 -2
  145. package/es/mobile/TabBar/TabBar.d.mts +2 -2
  146. package/es/storybook/StoryBook/index.d.mts +2 -2
  147. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  import { ChatInputAreaInnerProps } from "../type.mjs";
2
- import * as react124 from "react";
2
+ import * as react129 from "react";
3
3
 
4
4
  //#region src/chat/ChatInputArea/components/ChatInputAreaInner.d.ts
5
- declare const ChatInputAreaInner: react124.NamedExoticComponent<ChatInputAreaInnerProps>;
5
+ declare const ChatInputAreaInner: react129.NamedExoticComponent<ChatInputAreaInnerProps>;
6
6
  //#endregion
7
7
  export { ChatInputAreaInner };
8
8
  //# sourceMappingURL=ChatInputAreaInner.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { ChatItemProps } from "./type.mjs";
2
- import * as react126 from "react";
2
+ import * as react130 from "react";
3
3
 
4
4
  //#region src/chat/ChatItem/ChatItem.d.ts
5
- declare const ChatItem: react126.NamedExoticComponent<ChatItemProps>;
5
+ declare const ChatItem: react130.NamedExoticComponent<ChatItemProps>;
6
6
  //#endregion
7
7
  export { ChatItem };
8
8
  //# sourceMappingURL=ChatItem.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { ChatListProps } from "./type.mjs";
2
- import * as react122 from "react";
2
+ import * as react131 from "react";
3
3
 
4
4
  //#region src/chat/ChatList/ChatList.d.ts
5
- declare const ChatList: react122.NamedExoticComponent<ChatListProps>;
5
+ declare const ChatList: react131.NamedExoticComponent<ChatListProps>;
6
6
  //#endregion
7
7
  export { ChatList };
8
8
  //# sourceMappingURL=ChatList.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { EditableMessageProps } from "./type.mjs";
2
- import * as react129 from "react";
2
+ import * as react132 from "react";
3
3
 
4
4
  //#region src/chat/EditableMessage/EditableMessage.d.ts
5
- declare const EditableMessage: react129.NamedExoticComponent<EditableMessageProps>;
5
+ declare const EditableMessage: react132.NamedExoticComponent<EditableMessageProps>;
6
6
  //#endregion
7
7
  export { EditableMessage };
8
8
  //# sourceMappingURL=EditableMessage.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { EditableMessageListProps } from "./type.mjs";
2
- import * as react125 from "react";
2
+ import * as react133 from "react";
3
3
 
4
4
  //#region src/chat/EditableMessageList/EditableMessageList.d.ts
5
- declare const EditableMessageList: react125.NamedExoticComponent<EditableMessageListProps>;
5
+ declare const EditableMessageList: react133.NamedExoticComponent<EditableMessageListProps>;
6
6
  //#endregion
7
7
  export { EditableMessageList };
8
8
  //# sourceMappingURL=EditableMessageList.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { MessageInputProps } from "./type.mjs";
2
- import * as react127 from "react";
2
+ import * as react135 from "react";
3
3
 
4
4
  //#region src/chat/MessageInput/MessageInput.d.ts
5
- declare const MessageInput: react127.NamedExoticComponent<MessageInputProps>;
5
+ declare const MessageInput: react135.NamedExoticComponent<MessageInputProps>;
6
6
  //#endregion
7
7
  export { MessageInput };
8
8
  //# sourceMappingURL=MessageInput.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { MessageModalProps } from "./type.mjs";
2
- import * as react128 from "react";
2
+ import * as react134 from "react";
3
3
 
4
4
  //#region src/chat/MessageModal/MessageModal.d.ts
5
- declare const MessageModal: react128.NamedExoticComponent<MessageModalProps>;
5
+ declare const MessageModal: react134.NamedExoticComponent<MessageModalProps>;
6
6
  //#endregion
7
7
  export { MessageModal };
8
8
  //# sourceMappingURL=MessageModal.d.mts.map
@@ -1,5 +1,5 @@
1
1
  import { ColorScaleItem } from "../types.mjs";
2
- import * as react67 from "react";
2
+ import * as react24 from "react";
3
3
 
4
4
  //#region src/color/ColorScales/index.d.ts
5
5
  interface ColorScalesProps {
@@ -16,7 +16,7 @@ interface ColorScalesProps {
16
16
  */
17
17
  scale: ColorScaleItem;
18
18
  }
19
- declare const ColorScales: react67.NamedExoticComponent<ColorScalesProps>;
19
+ declare const ColorScales: react24.NamedExoticComponent<ColorScalesProps>;
20
20
  //#endregion
21
21
  export { ColorScales, ColorScalesProps };
22
22
  //# sourceMappingURL=index.d.mts.map
@@ -1,5 +1,5 @@
1
1
  import { ColorScaleItem } from "../types.mjs";
2
- import * as react66 from "react";
2
+ import * as react25 from "react";
3
3
 
4
4
  //#region src/color/CssVar/index.d.ts
5
5
  interface ColorScalesProps {
@@ -16,7 +16,7 @@ interface ColorScalesProps {
16
16
  */
17
17
  scale: ColorScaleItem;
18
18
  }
19
- declare const ColorScales: react66.NamedExoticComponent<ColorScalesProps>;
19
+ declare const ColorScales: react25.NamedExoticComponent<ColorScalesProps>;
20
20
  //#endregion
21
21
  export { ColorScales };
22
22
  //# sourceMappingURL=index.d.mts.map
@@ -3,7 +3,6 @@
3
3
  import { useMarkdownContext } from "../../Markdown/components/MarkdownProvider.mjs";
4
4
  import { rehypeCustomFootnotes } from "../../Markdown/plugins/rehypeCustomFootnotes.mjs";
5
5
  import { rehypeKatexDir } from "../../Markdown/plugins/rehypeKatexDir.mjs";
6
- import { rehypeStreamAnimated } from "../../Markdown/plugins/rehypeStreamAnimated.mjs";
7
6
  import { useMemo } from "react";
8
7
  import { rehypeGithubAlerts } from "rehype-github-alerts";
9
8
  import rehypeKatex from "rehype-katex";
@@ -11,16 +10,14 @@ import rehypeRaw from "rehype-raw";
11
10
 
12
11
  //#region src/hooks/useMarkdown/useMarkdownRehypePlugins.ts
13
12
  const useMarkdownRehypePlugins = () => {
14
- const { animated, enableLatex, enableCustomFootnotes, enableGithubAlert, allowHtml, rehypePlugins = [], rehypePluginsAhead = [] } = useMarkdownContext();
13
+ const { enableLatex, enableCustomFootnotes, enableGithubAlert, allowHtml, rehypePlugins = [], rehypePluginsAhead = [] } = useMarkdownContext();
15
14
  const memoPlugins = useMemo(() => [
16
15
  allowHtml && rehypeRaw,
17
16
  enableGithubAlert && rehypeGithubAlerts,
18
17
  enableLatex && rehypeKatex,
19
18
  enableLatex && rehypeKatexDir,
20
- enableCustomFootnotes && rehypeCustomFootnotes,
21
- animated && rehypeStreamAnimated
19
+ enableCustomFootnotes && rehypeCustomFootnotes
22
20
  ].filter(Boolean), [
23
- animated,
24
21
  enableLatex,
25
22
  enableGithubAlert,
26
23
  enableCustomFootnotes,
@@ -1 +1 @@
1
- {"version":3,"file":"useMarkdownRehypePlugins.mjs","names":[],"sources":["../../../src/hooks/useMarkdown/useMarkdownRehypePlugins.ts"],"sourcesContent":["'use client';\n\nimport { useMemo } from 'react';\nimport { rehypeGithubAlerts } from 'rehype-github-alerts';\nimport rehypeKatex from 'rehype-katex';\nimport rehypeRaw from 'rehype-raw';\nimport type { Pluggable } from 'unified';\n\nimport { useMarkdownContext } from '@/Markdown/components/MarkdownProvider';\nimport { rehypeCustomFootnotes } from '@/Markdown/plugins/rehypeCustomFootnotes';\nimport { rehypeKatexDir } from '@/Markdown/plugins/rehypeKatexDir';\nimport { rehypeStreamAnimated } from '@/Markdown/plugins/rehypeStreamAnimated';\n\nexport const useMarkdownRehypePlugins = (): Pluggable[] => {\n const {\n animated,\n enableLatex,\n enableCustomFootnotes,\n enableGithubAlert,\n allowHtml,\n rehypePlugins = [],\n rehypePluginsAhead = [],\n } = useMarkdownContext();\n\n const memoPlugins = useMemo(\n () =>\n [\n allowHtml && rehypeRaw,\n enableGithubAlert && rehypeGithubAlerts,\n enableLatex && rehypeKatex,\n enableLatex && rehypeKatexDir,\n enableCustomFootnotes && rehypeCustomFootnotes,\n animated && rehypeStreamAnimated,\n ].filter(Boolean) as Pluggable[],\n [animated, enableLatex, enableGithubAlert, enableCustomFootnotes, allowHtml],\n );\n\n return useMemo(\n () => [...rehypePluginsAhead, ...memoPlugins, ...rehypePlugins],\n [rehypePlugins, memoPlugins, rehypePluginsAhead],\n );\n};\n"],"mappings":";;;;;;;;;;;;AAaA,MAAa,iCAA8C;CACzD,MAAM,EACJ,UACA,aACA,uBACA,mBACA,WACA,gBAAgB,EAAE,EAClB,qBAAqB,EAAE,KACrB,oBAAoB;CAExB,MAAM,cAAc,cAEhB;EACE,aAAa;EACb,qBAAqB;EACrB,eAAe;EACf,eAAe;EACf,yBAAyB;EACzB,YAAY;EACb,CAAC,OAAO,QAAQ,EACnB;EAAC;EAAU;EAAa;EAAmB;EAAuB;EAAU,CAC7E;AAED,QAAO,cACC;EAAC,GAAG;EAAoB,GAAG;EAAa,GAAG;EAAc,EAC/D;EAAC;EAAe;EAAa;EAAmB,CACjD"}
1
+ {"version":3,"file":"useMarkdownRehypePlugins.mjs","names":[],"sources":["../../../src/hooks/useMarkdown/useMarkdownRehypePlugins.ts"],"sourcesContent":["'use client';\n\nimport { useMemo } from 'react';\nimport { rehypeGithubAlerts } from 'rehype-github-alerts';\nimport rehypeKatex from 'rehype-katex';\nimport rehypeRaw from 'rehype-raw';\nimport type { Pluggable } from 'unified';\n\nimport { useMarkdownContext } from '@/Markdown/components/MarkdownProvider';\nimport { rehypeCustomFootnotes } from '@/Markdown/plugins/rehypeCustomFootnotes';\nimport { rehypeKatexDir } from '@/Markdown/plugins/rehypeKatexDir';\n\nexport const useMarkdownRehypePlugins = (): Pluggable[] => {\n const {\n enableLatex,\n enableCustomFootnotes,\n enableGithubAlert,\n allowHtml,\n rehypePlugins = [],\n rehypePluginsAhead = [],\n } = useMarkdownContext();\n\n const memoPlugins = useMemo(\n () =>\n [\n allowHtml && rehypeRaw,\n enableGithubAlert && rehypeGithubAlerts,\n enableLatex && rehypeKatex,\n enableLatex && rehypeKatexDir,\n enableCustomFootnotes && rehypeCustomFootnotes,\n ].filter(Boolean) as Pluggable[],\n [enableLatex, enableGithubAlert, enableCustomFootnotes, allowHtml],\n );\n\n return useMemo(\n () => [...rehypePluginsAhead, ...memoPlugins, ...rehypePlugins],\n [rehypePlugins, memoPlugins, rehypePluginsAhead],\n );\n};\n"],"mappings":";;;;;;;;;;;AAYA,MAAa,iCAA8C;CACzD,MAAM,EACJ,aACA,uBACA,mBACA,WACA,gBAAgB,EAAE,EAClB,qBAAqB,EAAE,KACrB,oBAAoB;CAExB,MAAM,cAAc,cAEhB;EACE,aAAa;EACb,qBAAqB;EACrB,eAAe;EACf,eAAe;EACf,yBAAyB;EAC1B,CAAC,OAAO,QAAQ,EACnB;EAAC;EAAa;EAAmB;EAAuB;EAAU,CACnE;AAED,QAAO,cACC;EAAC,GAAG;EAAoB,GAAG;EAAa,GAAG;EAAc,EAC/D;EAAC;EAAe;EAAa;EAAmB,CACjD"}
@@ -1,7 +1,7 @@
1
1
  import { I18nContextValue, TranslationKey, TranslationResources, TranslationResourcesInput } from "./types.mjs";
2
2
  import { MotionComponentType } from "../MotionProvider/index.mjs";
3
3
  import "../ConfigProvider/index.mjs";
4
- import * as react68 from "react";
4
+ import * as react10 from "react";
5
5
  import { ReactNode } from "react";
6
6
 
7
7
  //#region src/i18n/context.d.ts
@@ -11,7 +11,7 @@ interface I18nProviderProps {
11
11
  motion: MotionComponentType;
12
12
  resources?: TranslationResourcesInput;
13
13
  }
14
- declare const I18nProvider: react68.NamedExoticComponent<I18nProviderProps>;
14
+ declare const I18nProvider: react10.NamedExoticComponent<I18nProviderProps>;
15
15
  //#endregion
16
16
  export { I18nProvider, I18nProviderProps };
17
17
  //# sourceMappingURL=context.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react83 from "react";
1
+ import * as react82 from "react";
2
2
  import * as lucide_react0 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/BotPromptIcon.d.ts
5
- declare const BotPromptIcon: react83.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react83.RefAttributes<SVGSVGElement>>;
5
+ declare const BotPromptIcon: react82.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react82.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { BotPromptIcon };
8
8
  //# sourceMappingURL=BotPromptIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react81 from "react";
2
- import * as lucide_react0 from "lucide-react";
1
+ import * as react86 from "react";
2
+ import * as lucide_react1 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/CreateBotIcon.d.ts
5
- declare const CreateBotIcon: react81.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react81.RefAttributes<SVGSVGElement>>;
5
+ declare const CreateBotIcon: react86.ForwardRefExoticComponent<Omit<lucide_react1.LucideProps, "ref"> & react86.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { CreateBotIcon };
8
8
  //# sourceMappingURL=CreateBotIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react87 from "react";
2
- import * as lucide_react2 from "lucide-react";
1
+ import * as react84 from "react";
2
+ import * as lucide_react0 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/DiscordIcon.d.ts
5
- declare const DiscordIcon: react87.ForwardRefExoticComponent<Omit<lucide_react2.LucideProps, "ref"> & react87.RefAttributes<SVGSVGElement>>;
5
+ declare const DiscordIcon: react84.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react84.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { DiscordIcon };
8
8
  //# sourceMappingURL=DiscordIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react89 from "react";
1
+ import * as react90 from "react";
2
2
  import * as lucide_react3 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/GlobeOffIcon.d.ts
5
- declare const GlobeOffIcon: react89.ForwardRefExoticComponent<Omit<lucide_react3.LucideProps, "ref"> & react89.RefAttributes<SVGSVGElement>>;
5
+ declare const GlobeOffIcon: react90.ForwardRefExoticComponent<Omit<lucide_react3.LucideProps, "ref"> & react90.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { GlobeOffIcon };
8
8
  //# sourceMappingURL=GlobeOffIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react91 from "react";
2
- import * as lucide_react4 from "lucide-react";
1
+ import * as react88 from "react";
2
+ import * as lucide_react2 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/GroupBotIcon.d.ts
5
- declare const GroupBotIcon: react91.ForwardRefExoticComponent<Omit<lucide_react4.LucideProps, "ref"> & react91.RefAttributes<SVGSVGElement>>;
5
+ declare const GroupBotIcon: react88.ForwardRefExoticComponent<Omit<lucide_react2.LucideProps, "ref"> & react88.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { GroupBotIcon };
8
8
  //# sourceMappingURL=GroupBotIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react93 from "react";
1
+ import * as react94 from "react";
2
2
  import * as lucide_react5 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/GroupBotSquareIcon.d.ts
5
- declare const GroupBotSquareIcon: react93.ForwardRefExoticComponent<Omit<lucide_react5.LucideProps, "ref"> & react93.RefAttributes<SVGSVGElement>>;
5
+ declare const GroupBotSquareIcon: react94.ForwardRefExoticComponent<Omit<lucide_react5.LucideProps, "ref"> & react94.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { GroupBotSquareIcon };
8
8
  //# sourceMappingURL=GroupBotSquareIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react85 from "react";
2
- import * as lucide_react1 from "lucide-react";
1
+ import * as react96 from "react";
2
+ import * as lucide_react6 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/LeftClickIcon.d.ts
5
- declare const LeftClickIcon: react85.ForwardRefExoticComponent<Omit<lucide_react1.LucideProps, "ref"> & react85.RefAttributes<SVGSVGElement>>;
5
+ declare const LeftClickIcon: react96.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react96.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { LeftClickIcon };
8
8
  //# sourceMappingURL=LeftClickIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react97 from "react";
2
- import * as lucide_react7 from "lucide-react";
1
+ import * as react92 from "react";
2
+ import * as lucide_react4 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/LeftDoubleClickIcon.d.ts
5
- declare const LeftDoubleClickIcon: react97.ForwardRefExoticComponent<Omit<lucide_react7.LucideProps, "ref"> & react97.RefAttributes<SVGSVGElement>>;
5
+ declare const LeftDoubleClickIcon: react92.ForwardRefExoticComponent<Omit<lucide_react4.LucideProps, "ref"> & react92.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { LeftDoubleClickIcon };
8
8
  //# sourceMappingURL=LeftDoubleClickIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react99 from "react";
1
+ import * as react100 from "react";
2
2
  import * as lucide_react8 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/McpIcon.d.ts
5
- declare const McpIcon: react99.ForwardRefExoticComponent<Omit<lucide_react8.LucideProps, "ref"> & react99.RefAttributes<SVGSVGElement>>;
5
+ declare const McpIcon: react100.ForwardRefExoticComponent<Omit<lucide_react8.LucideProps, "ref"> & react100.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { McpIcon };
8
8
  //# sourceMappingURL=McpIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react95 from "react";
2
- import * as lucide_react6 from "lucide-react";
1
+ import * as react102 from "react";
2
+ import * as lucide_react9 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/ProviderIcon.d.ts
5
- declare const ProviderIcon: react95.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react95.RefAttributes<SVGSVGElement>>;
5
+ declare const ProviderIcon: react102.ForwardRefExoticComponent<Omit<lucide_react9.LucideProps, "ref"> & react102.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { ProviderIcon };
8
8
  //# sourceMappingURL=ProviderIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react105 from "react";
2
- import * as lucide_react11 from "lucide-react";
1
+ import * as react98 from "react";
2
+ import * as lucide_react7 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/RightClickIcon.d.ts
5
- declare const RightClickIcon: react105.ForwardRefExoticComponent<Omit<lucide_react11.LucideProps, "ref"> & react105.RefAttributes<SVGSVGElement>>;
5
+ declare const RightClickIcon: react98.ForwardRefExoticComponent<Omit<lucide_react7.LucideProps, "ref"> & react98.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { RightClickIcon };
8
8
  //# sourceMappingURL=RightClickIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react109 from "react";
2
- import * as lucide_react13 from "lucide-react";
1
+ import * as react104 from "react";
2
+ import * as lucide_react10 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/RightDoubleClickIcon.d.ts
5
- declare const RightDoubleClickIcon: react109.ForwardRefExoticComponent<Omit<lucide_react13.LucideProps, "ref"> & react109.RefAttributes<SVGSVGElement>>;
5
+ declare const RightDoubleClickIcon: react104.ForwardRefExoticComponent<Omit<lucide_react10.LucideProps, "ref"> & react104.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { RightDoubleClickIcon };
8
8
  //# sourceMappingURL=RightDoubleClickIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react101 from "react";
2
- import * as lucide_react9 from "lucide-react";
1
+ import * as react110 from "react";
2
+ import * as lucide_react13 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/ShapesUploadIcon.d.ts
5
- declare const ShapesUploadIcon: react101.ForwardRefExoticComponent<Omit<lucide_react9.LucideProps, "ref"> & react101.RefAttributes<SVGSVGElement>>;
5
+ declare const ShapesUploadIcon: react110.ForwardRefExoticComponent<Omit<lucide_react13.LucideProps, "ref"> & react110.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { ShapesUploadIcon };
8
8
  //# sourceMappingURL=ShapesUploadIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react107 from "react";
2
- import * as lucide_react12 from "lucide-react";
1
+ import * as react106 from "react";
2
+ import * as lucide_react11 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/SkillsIcon.d.ts
5
- declare const SkillsIcon: react107.ForwardRefExoticComponent<Omit<lucide_react12.LucideProps, "ref"> & react107.RefAttributes<SVGSVGElement>>;
5
+ declare const SkillsIcon: react106.ForwardRefExoticComponent<Omit<lucide_react11.LucideProps, "ref"> & react106.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { SkillsIcon };
8
8
  //# sourceMappingURL=SkillsIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react111 from "react";
2
- import * as lucide_react14 from "lucide-react";
1
+ import * as react108 from "react";
2
+ import * as lucide_react12 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/TreeDownRightIcon.d.ts
5
- declare const TreeDownRightIcon: react111.ForwardRefExoticComponent<Omit<lucide_react14.LucideProps, "ref"> & react111.RefAttributes<SVGSVGElement>>;
5
+ declare const TreeDownRightIcon: react108.ForwardRefExoticComponent<Omit<lucide_react12.LucideProps, "ref"> & react108.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { TreeDownRightIcon };
8
8
  //# sourceMappingURL=TreeDownRightIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react103 from "react";
2
- import * as lucide_react10 from "lucide-react";
1
+ import * as react112 from "react";
2
+ import * as lucide_react14 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/TreeUpDownRightIcon.d.ts
5
- declare const TreeUpDownRightIcon: react103.ForwardRefExoticComponent<Omit<lucide_react10.LucideProps, "ref"> & react103.RefAttributes<SVGSVGElement>>;
5
+ declare const TreeUpDownRightIcon: react112.ForwardRefExoticComponent<Omit<lucide_react14.LucideProps, "ref"> & react112.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { TreeUpDownRightIcon };
8
8
  //# sourceMappingURL=TreeUpDownRightIcon.d.mts.map
package/es/index.mjs CHANGED
@@ -127,11 +127,11 @@ import SearchResultCards_default from "./Markdown/components/SearchResultCards/i
127
127
  import Video_default from "./Video/index.mjs";
128
128
  import { rehypeCustomFootnotes } from "./Markdown/plugins/rehypeCustomFootnotes.mjs";
129
129
  import { rehypeKatexDir } from "./Markdown/plugins/rehypeKatexDir.mjs";
130
- import { rehypeStreamAnimated } from "./Markdown/plugins/rehypeStreamAnimated.mjs";
131
130
  import { remarkBr } from "./Markdown/plugins/remarkBr.mjs";
132
131
  import { remarkCustomFootnotes } from "./Markdown/plugins/remarkCustomFootnotes.mjs";
133
132
  import { remarkGfmPlus } from "./Markdown/plugins/remarkGfmPlus.mjs";
134
133
  import { remarkVideo } from "./Markdown/plugins/remarkVideo.mjs";
134
+ import { rehypeStreamAnimated } from "./Markdown/plugins/rehypeStreamAnimated.mjs";
135
135
  import Typography_default from "./Markdown/Typography.mjs";
136
136
  import Markdown_default from "./Markdown/Markdown.mjs";
137
137
  import { remarkColor } from "./Markdown/plugins/remarkColor.mjs";
@@ -1,6 +1,6 @@
1
1
  import { TypographyProps } from "../../Markdown/type.mjs";
2
2
  import "../../Markdown/index.mjs";
3
- import * as react7 from "react";
3
+ import * as react17 from "react";
4
4
  import { ReactNode } from "react";
5
5
  import { Pluggable } from "unified";
6
6
 
@@ -18,7 +18,7 @@ interface MdxProps extends Omit<TypographyProps, 'children'> {
18
18
  remarkPlugins?: Pluggable[];
19
19
  variant?: 'normal' | 'chat';
20
20
  }
21
- declare const Mdx: react7.NamedExoticComponent<MdxProps>;
21
+ declare const Mdx: react17.NamedExoticComponent<MdxProps>;
22
22
  //#endregion
23
23
  export { Mdx, MdxProps };
24
24
  //# sourceMappingURL=index.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { ChatHeaderTitleProps } from "./type.mjs";
2
- import * as react120 from "react";
2
+ import * as react126 from "react";
3
3
 
4
4
  //#region src/mobile/ChatHeader/ChatHeaderTitle.d.ts
5
- declare const ChatHeaderTitle: react120.NamedExoticComponent<ChatHeaderTitleProps>;
5
+ declare const ChatHeaderTitle: react126.NamedExoticComponent<ChatHeaderTitleProps>;
6
6
  //#endregion
7
7
  export { ChatHeaderTitle };
8
8
  //# sourceMappingURL=ChatHeaderTitle.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { ChatSendButtonProps } from "../type.mjs";
2
- import * as react121 from "react";
2
+ import * as react127 from "react";
3
3
 
4
4
  //#region src/mobile/ChatInputArea/components/ChatSendButton.d.ts
5
- declare const ChatSendButton: react121.NamedExoticComponent<ChatSendButtonProps>;
5
+ declare const ChatSendButton: react127.NamedExoticComponent<ChatSendButtonProps>;
6
6
  //#endregion
7
7
  export { ChatSendButton };
8
8
  //# sourceMappingURL=ChatSendButton.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { TabBarProps } from "./type.mjs";
2
- import * as react119 from "react";
2
+ import * as react125 from "react";
3
3
 
4
4
  //#region src/mobile/TabBar/TabBar.d.ts
5
- declare const TabBar: react119.NamedExoticComponent<TabBarProps>;
5
+ declare const TabBar: react125.NamedExoticComponent<TabBarProps>;
6
6
  //#endregion
7
7
  export { TabBar };
8
8
  //# sourceMappingURL=TabBar.d.mts.map
@@ -1,6 +1,6 @@
1
1
  import { FlexboxProps } from "../../Flex/type.mjs";
2
2
  import "../../Flex/index.mjs";
3
- import * as react6 from "react";
3
+ import * as react18 from "react";
4
4
  import { Ref } from "react";
5
5
  import { useControls, useCreateStore } from "leva";
6
6
 
@@ -10,7 +10,7 @@ interface StoryBookProps extends FlexboxProps {
10
10
  noPadding?: boolean;
11
11
  ref?: Ref<HTMLDivElement>;
12
12
  }
13
- declare const StoryBook: react6.NamedExoticComponent<StoryBookProps>;
13
+ declare const StoryBook: react18.NamedExoticComponent<StoryBookProps>;
14
14
  //#endregion
15
15
  export { StoryBook, StoryBookProps, useControls, useCreateStore };
16
16
  //# sourceMappingURL=index.d.mts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/ui",
3
- "version": "5.1.0",
3
+ "version": "5.2.0",
4
4
  "description": "Lobe UI is an open-source UI component library for building AIGC web apps",
5
5
  "keywords": [
6
6
  "lobehub",