@lobehub/ui 4.12.1 → 4.12.2

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 (125) 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/CodeEditor/CodeEditor.d.mts +2 -2
  9. package/es/Collapse/Collapse.d.mts +2 -2
  10. package/es/ConfigProvider/index.d.mts +2 -2
  11. package/es/ContextMenu/ContextMenuHost.d.mts +2 -2
  12. package/es/CopyButton/CopyButton.d.mts +2 -2
  13. package/es/DatePicker/DatePicker.d.mts +2 -2
  14. package/es/DraggablePanel/components/DraggablePanelBody.d.mts +2 -2
  15. package/es/DraggablePanel/components/DraggablePanelContainer.d.mts +2 -2
  16. package/es/DraggablePanel/components/DraggablePanelFooter.d.mts +2 -2
  17. package/es/DraggablePanel/components/DraggablePanelHeader.d.mts +2 -2
  18. package/es/DraggableSideNav/DraggableSideNav.d.mts +2 -2
  19. package/es/Drawer/Drawer.d.mts +2 -2
  20. package/es/Dropdown/Dropdown.d.mts +2 -2
  21. package/es/DropdownMenu/DropdownMenu.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/GuideCard/GuideCard.d.mts +2 -2
  32. package/es/Header/Header.d.mts +2 -2
  33. package/es/Highlighter/Highlighter.d.mts +2 -2
  34. package/es/Highlighter/SyntaxHighlighter/index.d.mts +2 -2
  35. package/es/Hotkey/Hotkey.d.mts +2 -2
  36. package/es/HotkeyInput/HotkeyInput.d.mts +2 -2
  37. package/es/Icon/Icon.d.mts +2 -2
  38. package/es/Icon/components/IconProvider.d.mts +3 -3
  39. package/es/Image/PreviewGroup.d.mts +2 -2
  40. package/es/ImageSelect/ImageSelect.d.mts +2 -2
  41. package/es/Input/Input.d.mts +2 -2
  42. package/es/Input/InputNumber.d.mts +2 -2
  43. package/es/Input/InputOPT.d.mts +2 -2
  44. package/es/Input/InputPassword.d.mts +2 -2
  45. package/es/Input/TextArea.d.mts +2 -2
  46. package/es/Layout/components/LayoutFooter.d.mts +2 -2
  47. package/es/Layout/components/LayoutHeader.d.mts +2 -2
  48. package/es/Layout/components/LayoutMain.d.mts +2 -2
  49. package/es/Layout/components/LayoutSidebar.d.mts +2 -2
  50. package/es/Layout/components/LayoutSidebarInner.d.mts +2 -2
  51. package/es/Layout/components/LayoutToc.d.mts +2 -2
  52. package/es/List/ListItem/index.d.mts +2 -2
  53. package/es/Markdown/Markdown.d.mts +2 -2
  54. package/es/Markdown/Typography.d.mts +2 -2
  55. package/es/Markdown/components/CodeBlock.mjs +1 -1
  56. package/es/Markdown/components/CodeBlock.mjs.map +1 -1
  57. package/es/Markdown/components/SearchResultCards/index.d.mts +2 -2
  58. package/es/MaskShadow/MaskShadow.d.mts +2 -2
  59. package/es/Menu/Menu.d.mts +2 -2
  60. package/es/Mermaid/Mermaid.d.mts +2 -2
  61. package/es/Mermaid/SyntaxMermaid/index.d.mts +2 -2
  62. package/es/Modal/Modal.d.mts +2 -2
  63. package/es/Modal/ModalProvider.d.mts +2 -2
  64. package/es/MotionProvider/index.d.mts +2 -2
  65. package/es/Popover/context.d.mts +2 -2
  66. package/es/SearchBar/SearchBar.d.mts +2 -2
  67. package/es/Segmented/Segmented.d.mts +2 -2
  68. package/es/Select/Select.d.mts +2 -2
  69. package/es/SideNav/SideNav.d.mts +2 -2
  70. package/es/SliderWithInput/SliderWithInput.d.mts +2 -2
  71. package/es/SortableList/components/DragHandle.d.mts +2 -2
  72. package/es/SortableList/components/SortableItem.d.mts +2 -2
  73. package/es/ThemeProvider/ThemeProvider.d.mts +2 -2
  74. package/es/Toc/Toc.d.mts +2 -2
  75. package/es/Video/index.d.mts +2 -2
  76. package/es/awesome/AuroraBackground/AuroraBackground.d.mts +2 -2
  77. package/es/awesome/BottomGradientButton/BottomGradientButton.d.mts +2 -2
  78. package/es/awesome/Features/Features.d.mts +2 -2
  79. package/es/awesome/Giscus/Giscus.d.mts +2 -2
  80. package/es/awesome/GradientButton/GradientButton.d.mts +2 -2
  81. package/es/awesome/GridBackground/GridBackground.d.mts +2 -2
  82. package/es/awesome/GridBackground/GridShowcase.d.mts +2 -2
  83. package/es/awesome/Hero/Hero.d.mts +2 -2
  84. package/es/awesome/Spline/Spine.d.mts +2 -2
  85. package/es/awesome/Spotlight/Spotlight.d.mts +2 -2
  86. package/es/awesome/SpotlightCard/SpotlightCard.d.mts +2 -2
  87. package/es/awesome/TypewriterEffect/TypewriterEffect.d.mts +2 -2
  88. package/es/brand/LobeChat/index.d.mts +2 -2
  89. package/es/brand/LobeHub/index.d.mts +2 -2
  90. package/es/brand/LogoThree/LogoSpline.d.mts +2 -2
  91. package/es/brand/LogoThree/index.d.mts +2 -2
  92. package/es/chat/BackBottom/BackBottom.d.mts +2 -2
  93. package/es/chat/ChatInputArea/components/ChatInputAreaInner.d.mts +2 -2
  94. package/es/chat/ChatItem/ChatItem.d.mts +2 -2
  95. package/es/chat/ChatList/ChatList.d.mts +2 -2
  96. package/es/chat/EditableMessage/EditableMessage.d.mts +2 -2
  97. package/es/chat/EditableMessageList/EditableMessageList.d.mts +2 -2
  98. package/es/chat/MessageInput/MessageInput.d.mts +2 -2
  99. package/es/chat/MessageModal/MessageModal.d.mts +2 -2
  100. package/es/color/ColorScales/index.d.mts +2 -2
  101. package/es/color/CssVar/index.d.mts +2 -2
  102. package/es/i18n/context.d.mts +2 -2
  103. package/es/icons/lucideExtra/BotPromptIcon.d.mts +2 -2
  104. package/es/icons/lucideExtra/CreateBotIcon.d.mts +3 -3
  105. package/es/icons/lucideExtra/DiscordIcon.d.mts +3 -3
  106. package/es/icons/lucideExtra/GlobeOffIcon.d.mts +2 -2
  107. package/es/icons/lucideExtra/GroupBotIcon.d.mts +3 -3
  108. package/es/icons/lucideExtra/GroupBotSquareIcon.d.mts +3 -3
  109. package/es/icons/lucideExtra/LeftClickIcon.d.mts +2 -2
  110. package/es/icons/lucideExtra/LeftDoubleClickIcon.d.mts +2 -2
  111. package/es/icons/lucideExtra/McpIcon.d.mts +3 -3
  112. package/es/icons/lucideExtra/ProviderIcon.d.mts +3 -3
  113. package/es/icons/lucideExtra/RightClickIcon.d.mts +3 -3
  114. package/es/icons/lucideExtra/RightDoubleClickIcon.d.mts +2 -2
  115. package/es/icons/lucideExtra/ShapesUploadIcon.d.mts +3 -3
  116. package/es/icons/lucideExtra/TreeDownRightIcon.d.mts +3 -3
  117. package/es/icons/lucideExtra/TreeUpDownRightIcon.d.mts +3 -3
  118. package/es/mdx/Mdx/index.d.mts +2 -2
  119. package/es/mdx/mdxComponents/CodeBlock.mjs +3 -2
  120. package/es/mdx/mdxComponents/CodeBlock.mjs.map +1 -1
  121. package/es/mobile/ChatHeader/ChatHeaderTitle.d.mts +2 -2
  122. package/es/mobile/ChatInputArea/components/ChatSendButton.d.mts +2 -2
  123. package/es/mobile/TabBar/TabBar.d.mts +2 -2
  124. package/es/storybook/StoryBook/index.d.mts +2 -2
  125. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  import { EditableMessageListProps } from "./type.mjs";
2
- import * as react114 from "react";
2
+ import * as react123 from "react";
3
3
 
4
4
  //#region src/chat/EditableMessageList/EditableMessageList.d.ts
5
- declare const EditableMessageList: react114.NamedExoticComponent<EditableMessageListProps>;
5
+ declare const EditableMessageList: react123.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 react116 from "react";
2
+ import * as react118 from "react";
3
3
 
4
4
  //#region src/chat/MessageInput/MessageInput.d.ts
5
- declare const MessageInput: react116.NamedExoticComponent<MessageInputProps>;
5
+ declare const MessageInput: react118.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 react120 from "react";
2
+ import * as react124 from "react";
3
3
 
4
4
  //#region src/chat/MessageModal/MessageModal.d.ts
5
- declare const MessageModal: react120.NamedExoticComponent<MessageModalProps>;
5
+ declare const MessageModal: react124.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 react0 from "react";
2
+ import * as react46 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: react0.NamedExoticComponent<ColorScalesProps>;
19
+ declare const ColorScales: react46.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 react0 from "react";
2
+ import * as react47 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: react0.NamedExoticComponent<ColorScalesProps>;
19
+ declare const ColorScales: react47.NamedExoticComponent<ColorScalesProps>;
20
20
  //#endregion
21
21
  export { ColorScales };
22
22
  //# sourceMappingURL=index.d.mts.map
@@ -1,7 +1,7 @@
1
1
  import { MotionComponentType } from "../MotionProvider/index.mjs";
2
2
  import { I18nContextValue, TranslationKey, TranslationResources, TranslationResourcesInput } from "./types.mjs";
3
3
  import "../ConfigProvider/index.mjs";
4
- import * as react71 from "react";
4
+ import * as react48 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: react71.NamedExoticComponent<I18nProviderProps>;
14
+ declare const I18nProvider: react48.NamedExoticComponent<I18nProviderProps>;
15
15
  //#endregion
16
16
  export { I18nProvider, I18nProviderProps };
17
17
  //# sourceMappingURL=context.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react78 from "react";
1
+ import * as react80 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: react78.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react78.RefAttributes<SVGSVGElement>>;
5
+ declare const BotPromptIcon: react80.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react80.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { BotPromptIcon };
8
8
  //# sourceMappingURL=BotPromptIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react80 from "react";
2
- import * as lucide_react1 from "lucide-react";
1
+ import * as react78 from "react";
2
+ import * as lucide_react0 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/CreateBotIcon.d.ts
5
- declare const CreateBotIcon: react80.ForwardRefExoticComponent<Omit<lucide_react1.LucideProps, "ref"> & react80.RefAttributes<SVGSVGElement>>;
5
+ declare const CreateBotIcon: react78.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react78.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { CreateBotIcon };
8
8
  //# sourceMappingURL=CreateBotIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react76 from "react";
2
- import * as lucide_react0 from "lucide-react";
1
+ import * as react84 from "react";
2
+ import * as lucide_react2 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/DiscordIcon.d.ts
5
- declare const DiscordIcon: react76.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react76.RefAttributes<SVGSVGElement>>;
5
+ declare const DiscordIcon: react84.ForwardRefExoticComponent<Omit<lucide_react2.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 react84 from "react";
1
+ import * as react86 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: react84.ForwardRefExoticComponent<Omit<lucide_react3.LucideProps, "ref"> & react84.RefAttributes<SVGSVGElement>>;
5
+ declare const GlobeOffIcon: react86.ForwardRefExoticComponent<Omit<lucide_react3.LucideProps, "ref"> & react86.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { GlobeOffIcon };
8
8
  //# sourceMappingURL=GlobeOffIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react86 from "react";
2
- import * as lucide_react4 from "lucide-react";
1
+ import * as react82 from "react";
2
+ import * as lucide_react1 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/GroupBotIcon.d.ts
5
- declare const GroupBotIcon: react86.ForwardRefExoticComponent<Omit<lucide_react4.LucideProps, "ref"> & react86.RefAttributes<SVGSVGElement>>;
5
+ declare const GroupBotIcon: react82.ForwardRefExoticComponent<Omit<lucide_react1.LucideProps, "ref"> & react82.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { GroupBotIcon };
8
8
  //# sourceMappingURL=GroupBotIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react82 from "react";
2
- import * as lucide_react2 from "lucide-react";
1
+ import * as react88 from "react";
2
+ import * as lucide_react4 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/GroupBotSquareIcon.d.ts
5
- declare const GroupBotSquareIcon: react82.ForwardRefExoticComponent<Omit<lucide_react2.LucideProps, "ref"> & react82.RefAttributes<SVGSVGElement>>;
5
+ declare const GroupBotSquareIcon: react88.ForwardRefExoticComponent<Omit<lucide_react4.LucideProps, "ref"> & react88.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { GroupBotSquareIcon };
8
8
  //# sourceMappingURL=GroupBotSquareIcon.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import * as react90 from "react";
2
- import * as lucide_react6 from "lucide-react";
2
+ import * as lucide_react5 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/LeftClickIcon.d.ts
5
- declare const LeftClickIcon: react90.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react90.RefAttributes<SVGSVGElement>>;
5
+ declare const LeftClickIcon: react90.ForwardRefExoticComponent<Omit<lucide_react5.LucideProps, "ref"> & react90.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { LeftClickIcon };
8
8
  //# sourceMappingURL=LeftClickIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react92 from "react";
1
+ import * as react94 from "react";
2
2
  import * as lucide_react7 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/LeftDoubleClickIcon.d.ts
5
- declare const LeftDoubleClickIcon: react92.ForwardRefExoticComponent<Omit<lucide_react7.LucideProps, "ref"> & react92.RefAttributes<SVGSVGElement>>;
5
+ declare const LeftDoubleClickIcon: react94.ForwardRefExoticComponent<Omit<lucide_react7.LucideProps, "ref"> & react94.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { LeftDoubleClickIcon };
8
8
  //# sourceMappingURL=LeftDoubleClickIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react88 from "react";
2
- import * as lucide_react5 from "lucide-react";
1
+ import * as react96 from "react";
2
+ import * as lucide_react8 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/McpIcon.d.ts
5
- declare const McpIcon: react88.ForwardRefExoticComponent<Omit<lucide_react5.LucideProps, "ref"> & react88.RefAttributes<SVGSVGElement>>;
5
+ declare const McpIcon: react96.ForwardRefExoticComponent<Omit<lucide_react8.LucideProps, "ref"> & react96.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { McpIcon };
8
8
  //# sourceMappingURL=McpIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react100 from "react";
2
- import * as lucide_react11 from "lucide-react";
1
+ import * as react92 from "react";
2
+ import * as lucide_react6 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/ProviderIcon.d.ts
5
- declare const ProviderIcon: react100.ForwardRefExoticComponent<Omit<lucide_react11.LucideProps, "ref"> & react100.RefAttributes<SVGSVGElement>>;
5
+ declare const ProviderIcon: react92.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react92.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { ProviderIcon };
8
8
  //# sourceMappingURL=ProviderIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react104 from "react";
2
- import * as lucide_react13 from "lucide-react";
1
+ import * as react100 from "react";
2
+ import * as lucide_react10 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/RightClickIcon.d.ts
5
- declare const RightClickIcon: react104.ForwardRefExoticComponent<Omit<lucide_react13.LucideProps, "ref"> & react104.RefAttributes<SVGSVGElement>>;
5
+ declare const RightClickIcon: react100.ForwardRefExoticComponent<Omit<lucide_react10.LucideProps, "ref"> & react100.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { RightClickIcon };
8
8
  //# sourceMappingURL=RightClickIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react96 from "react";
1
+ import * as react98 from "react";
2
2
  import * as lucide_react9 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/RightDoubleClickIcon.d.ts
5
- declare const RightDoubleClickIcon: react96.ForwardRefExoticComponent<Omit<lucide_react9.LucideProps, "ref"> & react96.RefAttributes<SVGSVGElement>>;
5
+ declare const RightDoubleClickIcon: react98.ForwardRefExoticComponent<Omit<lucide_react9.LucideProps, "ref"> & react98.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { RightDoubleClickIcon };
8
8
  //# sourceMappingURL=RightDoubleClickIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react98 from "react";
2
- import * as lucide_react10 from "lucide-react";
1
+ import * as react104 from "react";
2
+ import * as lucide_react12 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/ShapesUploadIcon.d.ts
5
- declare const ShapesUploadIcon: react98.ForwardRefExoticComponent<Omit<lucide_react10.LucideProps, "ref"> & react98.RefAttributes<SVGSVGElement>>;
5
+ declare const ShapesUploadIcon: react104.ForwardRefExoticComponent<Omit<lucide_react12.LucideProps, "ref"> & react104.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { ShapesUploadIcon };
8
8
  //# sourceMappingURL=ShapesUploadIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react102 from "react";
2
- import * as lucide_react12 from "lucide-react";
1
+ import * as react106 from "react";
2
+ import * as lucide_react13 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/TreeDownRightIcon.d.ts
5
- declare const TreeDownRightIcon: react102.ForwardRefExoticComponent<Omit<lucide_react12.LucideProps, "ref"> & react102.RefAttributes<SVGSVGElement>>;
5
+ declare const TreeDownRightIcon: react106.ForwardRefExoticComponent<Omit<lucide_react13.LucideProps, "ref"> & react106.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { TreeDownRightIcon };
8
8
  //# sourceMappingURL=TreeDownRightIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react94 from "react";
2
- import * as lucide_react8 from "lucide-react";
1
+ import * as react102 from "react";
2
+ import * as lucide_react11 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/TreeUpDownRightIcon.d.ts
5
- declare const TreeUpDownRightIcon: react94.ForwardRefExoticComponent<Omit<lucide_react8.LucideProps, "ref"> & react94.RefAttributes<SVGSVGElement>>;
5
+ declare const TreeUpDownRightIcon: react102.ForwardRefExoticComponent<Omit<lucide_react11.LucideProps, "ref"> & react102.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { TreeUpDownRightIcon };
8
8
  //# sourceMappingURL=TreeUpDownRightIcon.d.mts.map
@@ -1,6 +1,6 @@
1
1
  import { TypographyProps } from "../../Markdown/type.mjs";
2
2
  import "../../Markdown/index.mjs";
3
- import * as react1 from "react";
3
+ import * as react45 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: react1.NamedExoticComponent<MdxProps>;
21
+ declare const Mdx: react45.NamedExoticComponent<MdxProps>;
22
22
  //#endregion
23
23
  export { Mdx, MdxProps };
24
24
  //# sourceMappingURL=index.d.mts.map
@@ -1,5 +1,6 @@
1
1
  'use client';
2
2
 
3
+ import { FALLBACK_LANG } from "../../Highlighter/const.mjs";
3
4
  import { Pre, PreMermaid, PreSingleLine } from "./Pre.mjs";
4
5
  import { jsx } from "react/jsx-runtime";
5
6
 
@@ -10,10 +11,10 @@ const countLines = (str) => {
10
11
  };
11
12
  const useCode = (raw) => {
12
13
  if (!raw) return;
13
- const { children, className } = raw.props;
14
+ const { children = "", className } = raw?.props || { children: "" };
14
15
  if (!children) return;
15
16
  const content = Array.isArray(children) ? children[0] : children;
16
- const lang = className?.replace("language-", "") || "txt";
17
+ const lang = className?.replace("language-", "") || FALLBACK_LANG;
17
18
  return {
18
19
  content,
19
20
  isSingleLine: countLines(content) <= 1 && content.length <= 32,
@@ -1 +1 @@
1
- {"version":3,"file":"CodeBlock.mjs","names":["CodeBlock: FC<CodeBlockProps>"],"sources":["../../../src/mdx/mdxComponents/CodeBlock.tsx"],"sourcesContent":["'use client';\n\nimport type { FC } from 'react';\n\nimport type { MermaidProps } from '@/Mermaid';\n\nimport { Pre, PreMermaid, PreSingleLine } from '../mdxComponents/Pre';\n\nconst countLines = (str: string): number => {\n const regex = /\\n/g;\n const matches = str.match(regex);\n return matches ? matches.length : 1;\n};\n\nconst useCode = (raw: any) => {\n if (!raw) return;\n\n const { children, className } = raw.props;\n\n if (!children) return;\n\n const content = Array.isArray(children) ? (children[0] as string) : children;\n\n const lang = className?.replace('language-', '') || 'txt';\n\n const isSingleLine = countLines(content) <= 1 && content.length <= 32;\n\n return {\n content,\n isSingleLine,\n lang,\n };\n};\n\ninterface CodeBlockProps {\n children: any;\n enableMermaid?: boolean;\n fullFeatured?: boolean;\n mermaid?: MermaidProps;\n}\n\nconst CodeBlock: FC<CodeBlockProps> = ({ children, fullFeatured, enableMermaid, mermaid }) => {\n const code = useCode(children);\n\n if (!code) return;\n\n if (enableMermaid && code.lang === 'mermaid')\n return (\n <PreMermaid fullFeatured={fullFeatured} {...mermaid}>\n {code.content}\n </PreMermaid>\n );\n\n if (code.isSingleLine) return <PreSingleLine language={code.lang}>{code.content}</PreSingleLine>;\n\n return (\n <Pre allowChangeLanguage={false} fullFeatured={fullFeatured} language={code.lang}>\n {code.content}\n </Pre>\n );\n};\n\nCodeBlock.displayName = 'MdxCodeBlock';\n\nexport default CodeBlock;\n"],"mappings":";;;;;;AAQA,MAAM,cAAc,QAAwB;CAE1C,MAAM,UAAU,IAAI,MADN,MACkB;AAChC,QAAO,UAAU,QAAQ,SAAS;;AAGpC,MAAM,WAAW,QAAa;AAC5B,KAAI,CAAC,IAAK;CAEV,MAAM,EAAE,UAAU,cAAc,IAAI;AAEpC,KAAI,CAAC,SAAU;CAEf,MAAM,UAAU,MAAM,QAAQ,SAAS,GAAI,SAAS,KAAgB;CAEpE,MAAM,OAAO,WAAW,QAAQ,aAAa,GAAG,IAAI;AAIpD,QAAO;EACL;EACA,cAJmB,WAAW,QAAQ,IAAI,KAAK,QAAQ,UAAU;EAKjE;EACD;;AAUH,MAAMA,aAAiC,EAAE,UAAU,cAAc,eAAe,cAAc;CAC5F,MAAM,OAAO,QAAQ,SAAS;AAE9B,KAAI,CAAC,KAAM;AAEX,KAAI,iBAAiB,KAAK,SAAS,UACjC,QACE,oBAAC;EAAyB;EAAc,GAAI;YACzC,KAAK;GACK;AAGjB,KAAI,KAAK,aAAc,QAAO,oBAAC;EAAc,UAAU,KAAK;YAAO,KAAK;GAAwB;AAEhG,QACE,oBAAC;EAAI,qBAAqB;EAAqB;EAAc,UAAU,KAAK;YACzE,KAAK;GACF;;AAIV,UAAU,cAAc;AAExB,wBAAe"}
1
+ {"version":3,"file":"CodeBlock.mjs","names":["CodeBlock: FC<CodeBlockProps>"],"sources":["../../../src/mdx/mdxComponents/CodeBlock.tsx"],"sourcesContent":["'use client';\n\nimport type { FC } from 'react';\n\nimport { FALLBACK_LANG } from '@/Highlighter/const';\nimport type { MermaidProps } from '@/Mermaid';\n\nimport { Pre, PreMermaid, PreSingleLine } from '../mdxComponents/Pre';\n\nconst countLines = (str: string): number => {\n const regex = /\\n/g;\n const matches = str.match(regex);\n return matches ? matches.length : 1;\n};\n\nconst useCode = (raw: any) => {\n if (!raw) return;\n\n const { children = '', className } = raw?.props || { children: '' };\n\n if (!children) return;\n\n const content = Array.isArray(children) ? (children[0] as string) : children;\n\n const lang = className?.replace('language-', '') || FALLBACK_LANG;\n\n const isSingleLine = countLines(content) <= 1 && content.length <= 32;\n\n return {\n content,\n isSingleLine,\n lang,\n };\n};\n\ninterface CodeBlockProps {\n children: any;\n enableMermaid?: boolean;\n fullFeatured?: boolean;\n mermaid?: MermaidProps;\n}\n\nconst CodeBlock: FC<CodeBlockProps> = ({ children, fullFeatured, enableMermaid, mermaid }) => {\n const code = useCode(children);\n\n if (!code) return;\n\n if (enableMermaid && code.lang === 'mermaid')\n return (\n <PreMermaid fullFeatured={fullFeatured} {...mermaid}>\n {code.content}\n </PreMermaid>\n );\n\n if (code.isSingleLine) return <PreSingleLine language={code.lang}>{code.content}</PreSingleLine>;\n\n return (\n <Pre allowChangeLanguage={false} fullFeatured={fullFeatured} language={code.lang}>\n {code.content}\n </Pre>\n );\n};\n\nCodeBlock.displayName = 'MdxCodeBlock';\n\nexport default CodeBlock;\n"],"mappings":";;;;;;;AASA,MAAM,cAAc,QAAwB;CAE1C,MAAM,UAAU,IAAI,MADN,MACkB;AAChC,QAAO,UAAU,QAAQ,SAAS;;AAGpC,MAAM,WAAW,QAAa;AAC5B,KAAI,CAAC,IAAK;CAEV,MAAM,EAAE,WAAW,IAAI,cAAc,KAAK,SAAS,EAAE,UAAU,IAAI;AAEnE,KAAI,CAAC,SAAU;CAEf,MAAM,UAAU,MAAM,QAAQ,SAAS,GAAI,SAAS,KAAgB;CAEpE,MAAM,OAAO,WAAW,QAAQ,aAAa,GAAG,IAAI;AAIpD,QAAO;EACL;EACA,cAJmB,WAAW,QAAQ,IAAI,KAAK,QAAQ,UAAU;EAKjE;EACD;;AAUH,MAAMA,aAAiC,EAAE,UAAU,cAAc,eAAe,cAAc;CAC5F,MAAM,OAAO,QAAQ,SAAS;AAE9B,KAAI,CAAC,KAAM;AAEX,KAAI,iBAAiB,KAAK,SAAS,UACjC,QACE,oBAAC;EAAyB;EAAc,GAAI;YACzC,KAAK;GACK;AAGjB,KAAI,KAAK,aAAc,QAAO,oBAAC;EAAc,UAAU,KAAK;YAAO,KAAK;GAAwB;AAEhG,QACE,oBAAC;EAAI,qBAAqB;EAAqB;EAAc,UAAU,KAAK;YACzE,KAAK;GACF;;AAIV,UAAU,cAAc;AAExB,wBAAe"}
@@ -1,8 +1,8 @@
1
1
  import { ChatHeaderTitleProps } from "./type.mjs";
2
- import * as react141 from "react";
2
+ import * as react115 from "react";
3
3
 
4
4
  //#region src/mobile/ChatHeader/ChatHeaderTitle.d.ts
5
- declare const ChatHeaderTitle: react141.NamedExoticComponent<ChatHeaderTitleProps>;
5
+ declare const ChatHeaderTitle: react115.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 react142 from "react";
2
+ import * as react114 from "react";
3
3
 
4
4
  //#region src/mobile/ChatInputArea/components/ChatSendButton.d.ts
5
- declare const ChatSendButton: react142.NamedExoticComponent<ChatSendButtonProps>;
5
+ declare const ChatSendButton: react114.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 react140 from "react";
2
+ import * as react116 from "react";
3
3
 
4
4
  //#region src/mobile/TabBar/TabBar.d.ts
5
- declare const TabBar: react140.NamedExoticComponent<TabBarProps>;
5
+ declare const TabBar: react116.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 react2 from "react";
3
+ import * as react44 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: react2.NamedExoticComponent<StoryBookProps>;
13
+ declare const StoryBook: react44.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": "4.12.1",
3
+ "version": "4.12.2",
4
4
  "description": "Lobe UI is an open-source UI component library for building AIGC web apps",
5
5
  "keywords": [
6
6
  "lobehub",