@lobehub/ui 4.0.0 → 4.1.1

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 (146) hide show
  1. package/README.md +1 -1
  2. package/es/Accordion/Accordion.d.mts +2 -2
  3. package/es/Accordion/AccordionItem.d.mts +2 -2
  4. package/es/Accordion/AccordionItem.mjs +4 -4
  5. package/es/Accordion/AccordionItem.mjs.map +1 -1
  6. package/es/ActionIcon/ActionIcon.d.mts +2 -2
  7. package/es/Alert/Alert.d.mts +2 -2
  8. package/es/AutoComplete/Select.d.mts +2 -2
  9. package/es/Avatar/AvatarGroup/index.d.mts +2 -2
  10. package/es/Burger/Burger.d.mts +2 -2
  11. package/es/CodeEditor/CodeEditor.d.mts +2 -2
  12. package/es/Collapse/Collapse.d.mts +2 -2
  13. package/es/ConfigProvider/index.d.mts +4 -4
  14. package/es/ConfigProvider/index.mjs +31 -5
  15. package/es/ConfigProvider/index.mjs.map +1 -1
  16. package/es/CopyButton/CopyButton.d.mts +2 -2
  17. package/es/DatePicker/DatePicker.d.mts +2 -2
  18. package/es/DraggablePanel/components/DraggablePanelBody.d.mts +2 -2
  19. package/es/DraggablePanel/components/DraggablePanelContainer.d.mts +2 -2
  20. package/es/DraggablePanel/components/DraggablePanelFooter.d.mts +2 -2
  21. package/es/DraggablePanel/components/DraggablePanelHeader.d.mts +2 -2
  22. package/es/DraggableSideNav/DraggableSideNav.d.mts +2 -2
  23. package/es/Drawer/Drawer.d.mts +2 -2
  24. package/es/Dropdown/Dropdown.d.mts +2 -2
  25. package/es/EditableText/EditableText.d.mts +2 -2
  26. package/es/EmojiPicker/EmojiPicker.d.mts +2 -2
  27. package/es/Flex/FlexBasic.d.mts +2 -2
  28. package/es/FontLoader/index.d.mts +2 -2
  29. package/es/Footer/Footer.d.mts +2 -2
  30. package/es/Form/components/FormGroup.d.mts +2 -2
  31. package/es/Form/components/FormItem.d.mts +2 -2
  32. package/es/Form/components/FormSubmitFooter.d.mts +2 -2
  33. package/es/Form/components/FormSubmitFooter.mjs +3 -3
  34. package/es/Form/components/FormSubmitFooter.mjs.map +1 -1
  35. package/es/FormModal/FormModal.d.mts +2 -2
  36. package/es/GuideCard/GuideCard.d.mts +2 -2
  37. package/es/Header/Header.d.mts +2 -2
  38. package/es/Highlighter/Highlighter.d.mts +2 -2
  39. package/es/Highlighter/SyntaxHighlighter/index.d.mts +2 -2
  40. package/es/Hotkey/Hotkey.d.mts +2 -2
  41. package/es/HotkeyInput/HotkeyInput.d.mts +2 -2
  42. package/es/Icon/Icon.d.mts +2 -2
  43. package/es/Icon/components/IconProvider.d.mts +3 -3
  44. package/es/Image/PreviewGroup.d.mts +2 -2
  45. package/es/ImageSelect/ImageSelect.d.mts +2 -2
  46. package/es/Input/Input.d.mts +2 -2
  47. package/es/Input/InputNumber.d.mts +2 -2
  48. package/es/Input/InputOPT.d.mts +2 -2
  49. package/es/Input/InputPassword.d.mts +2 -2
  50. package/es/Input/TextArea.d.mts +2 -2
  51. package/es/Layout/components/LayoutFooter.d.mts +2 -2
  52. package/es/Layout/components/LayoutHeader.d.mts +2 -2
  53. package/es/Layout/components/LayoutMain.d.mts +2 -2
  54. package/es/Layout/components/LayoutSidebar.d.mts +2 -2
  55. package/es/Layout/components/LayoutSidebarInner.d.mts +2 -2
  56. package/es/Layout/components/LayoutToc.d.mts +2 -2
  57. package/es/List/ListItem/index.d.mts +2 -2
  58. package/es/Markdown/Markdown.d.mts +2 -2
  59. package/es/Markdown/Typography.d.mts +2 -2
  60. package/es/Markdown/components/SearchResultCards/index.d.mts +2 -2
  61. package/es/MaskShadow/MaskShadow.d.mts +2 -2
  62. package/es/Menu/Menu.d.mts +2 -2
  63. package/es/Mermaid/Mermaid.d.mts +2 -2
  64. package/es/Mermaid/SyntaxMermaid/index.d.mts +2 -2
  65. package/es/Modal/Modal.d.mts +2 -2
  66. package/es/MotionProvider/index.d.mts +4 -3
  67. package/es/MotionProvider/index.mjs +2 -2
  68. package/es/MotionProvider/index.mjs.map +1 -1
  69. package/es/SearchBar/SearchBar.d.mts +2 -2
  70. package/es/Segmented/Segmented.d.mts +2 -2
  71. package/es/Select/Select.d.mts +2 -2
  72. package/es/SideNav/SideNav.d.mts +2 -2
  73. package/es/SliderWithInput/SliderWithInput.d.mts +2 -2
  74. package/es/SortableList/components/DragHandle.d.mts +2 -2
  75. package/es/SortableList/components/SortableItem.d.mts +2 -2
  76. package/es/ThemeProvider/ThemeProvider.d.mts +2 -2
  77. package/es/ThemeProvider/ThemeProvider.mjs +4 -11
  78. package/es/ThemeProvider/ThemeProvider.mjs.map +1 -1
  79. package/es/ThemeProvider/type.d.mts +0 -4
  80. package/es/Toc/Toc.d.mts +2 -2
  81. package/es/Tooltip/TooltipFloating.mjs +6 -5
  82. package/es/Tooltip/TooltipFloating.mjs.map +1 -1
  83. package/es/Video/index.d.mts +2 -2
  84. package/es/awesome/AuroraBackground/AuroraBackground.d.mts +2 -2
  85. package/es/awesome/BottomGradientButton/BottomGradientButton.d.mts +2 -2
  86. package/es/awesome/Features/Features.d.mts +2 -2
  87. package/es/awesome/Giscus/Giscus.d.mts +2 -2
  88. package/es/awesome/GradientButton/GradientButton.d.mts +2 -2
  89. package/es/awesome/GridBackground/GridBackground.d.mts +2 -2
  90. package/es/awesome/GridBackground/GridShowcase.d.mts +2 -2
  91. package/es/awesome/Hero/Hero.d.mts +2 -2
  92. package/es/awesome/Spotlight/Spotlight.d.mts +2 -2
  93. package/es/awesome/SpotlightCard/SpotlightCard.d.mts +2 -2
  94. package/es/awesome/TypewriterEffect/TypewriterEffect.d.mts +2 -2
  95. package/es/awesome/TypewriterEffect/TypewriterEffect.mjs +3 -3
  96. package/es/awesome/TypewriterEffect/TypewriterEffect.mjs.map +1 -1
  97. package/es/brand/BrandLoading/{style-Cof4dJBw.css → style-BpgFy1wc.css} +1 -1
  98. package/es/brand/BrandLoading/{style-Cof4dJBw.css.map → style-BpgFy1wc.css.map} +1 -1
  99. package/es/brand/LobeChat/index.d.mts +2 -2
  100. package/es/brand/LobeHub/index.d.mts +2 -2
  101. package/es/brand/LogoThree/LogoSpline.d.mts +2 -2
  102. package/es/brand/LogoThree/index.d.mts +2 -2
  103. package/es/chat/BackBottom/BackBottom.d.mts +2 -2
  104. package/es/chat/ChatInputArea/components/ChatInputAreaInner.d.mts +2 -2
  105. package/es/chat/ChatItem/ChatItem.d.mts +2 -2
  106. package/es/chat/ChatList/ChatList.d.mts +2 -2
  107. package/es/chat/EditableMessage/EditableMessage.d.mts +2 -2
  108. package/es/chat/EditableMessageList/EditableMessageList.d.mts +2 -2
  109. package/es/chat/MessageInput/MessageInput.d.mts +2 -2
  110. package/es/chat/MessageModal/MessageModal.d.mts +2 -2
  111. package/es/color/ColorScales/index.d.mts +2 -2
  112. package/es/i18n/context.d.mts +4 -4
  113. package/es/i18n/context.mjs.map +1 -1
  114. package/es/i18n/index.d.mts +2 -2
  115. package/es/i18n/types.d.mts +3 -1
  116. package/es/icons/lucideExtra/BotPromptIcon.d.mts +2 -2
  117. package/es/icons/lucideExtra/CreateBotIcon.d.mts +3 -3
  118. package/es/icons/lucideExtra/DiscordIcon.d.mts +3 -3
  119. package/es/icons/lucideExtra/GlobeOffIcon.d.mts +2 -2
  120. package/es/icons/lucideExtra/GroupBotIcon.d.mts +2 -2
  121. package/es/icons/lucideExtra/GroupBotSquareIcon.d.mts +3 -3
  122. package/es/icons/lucideExtra/LeftClickIcon.d.mts +3 -3
  123. package/es/icons/lucideExtra/LeftDoubleClickIcon.d.mts +3 -3
  124. package/es/icons/lucideExtra/McpIcon.d.mts +3 -3
  125. package/es/icons/lucideExtra/ProviderIcon.d.mts +3 -3
  126. package/es/icons/lucideExtra/RightClickIcon.d.mts +3 -3
  127. package/es/icons/lucideExtra/RightDoubleClickIcon.d.mts +3 -3
  128. package/es/icons/lucideExtra/ShapesUploadIcon.d.mts +2 -2
  129. package/es/icons/lucideExtra/TreeDownRightIcon.d.mts +2 -2
  130. package/es/icons/lucideExtra/TreeUpDownRightIcon.d.mts +3 -3
  131. package/es/mdx/Mdx/index.d.mts +2 -2
  132. package/es/mobile/ChatHeader/ChatHeaderTitle.d.mts +2 -2
  133. package/es/mobile/ChatInputArea/components/ChatSendButton.d.mts +2 -2
  134. package/es/mobile/TabBar/TabBar.d.mts +2 -2
  135. package/es/storybook/StoryBook/index.d.mts +2 -2
  136. package/package.json +1 -1
  137. package/es/motion/LazyMotion.d.mts +0 -20
  138. package/es/motion/LazyMotion.mjs +0 -20
  139. package/es/motion/LazyMotion.mjs.map +0 -1
  140. package/es/motion/index.d.mts +0 -4
  141. package/es/motion/index.d.ts +0 -1
  142. package/es/motion/index.js +0 -1
  143. package/es/motion/index.mjs +0 -5
  144. package/es/motion/loadFeatures.d.mts +0 -14
  145. package/es/motion/loadFeatures.mjs +0 -6
  146. package/es/motion/loadFeatures.mjs.map +0 -1
@@ -1,8 +1,8 @@
1
- import * as react73 from "react";
2
- import * as lucide_react0 from "lucide-react";
1
+ import * as react77 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: react73.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react73.RefAttributes<SVGSVGElement>>;
5
+ declare const DiscordIcon: react77.ForwardRefExoticComponent<Omit<lucide_react2.LucideProps, "ref"> & react77.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { DiscordIcon };
8
8
  //# sourceMappingURL=DiscordIcon.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import * as react79 from "react";
2
- import * as lucide_react2 from "lucide-react";
2
+ import * as lucide_react3 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/GlobeOffIcon.d.ts
5
- declare const GlobeOffIcon: react79.ForwardRefExoticComponent<Omit<lucide_react2.LucideProps, "ref"> & react79.RefAttributes<SVGSVGElement>>;
5
+ declare const GlobeOffIcon: react79.ForwardRefExoticComponent<Omit<lucide_react3.LucideProps, "ref"> & react79.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { GlobeOffIcon };
8
8
  //# sourceMappingURL=GlobeOffIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react83 from "react";
1
+ import * as react81 from "react";
2
2
  import * as lucide_react4 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/GroupBotIcon.d.ts
5
- declare const GroupBotIcon: react83.ForwardRefExoticComponent<Omit<lucide_react4.LucideProps, "ref"> & react83.RefAttributes<SVGSVGElement>>;
5
+ declare const GroupBotIcon: react81.ForwardRefExoticComponent<Omit<lucide_react4.LucideProps, "ref"> & react81.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { GroupBotIcon };
8
8
  //# sourceMappingURL=GroupBotIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react89 from "react";
2
- import * as lucide_react7 from "lucide-react";
1
+ import * as react75 from "react";
2
+ import * as lucide_react1 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/GroupBotSquareIcon.d.ts
5
- declare const GroupBotSquareIcon: react89.ForwardRefExoticComponent<Omit<lucide_react7.LucideProps, "ref"> & react89.RefAttributes<SVGSVGElement>>;
5
+ declare const GroupBotSquareIcon: react75.ForwardRefExoticComponent<Omit<lucide_react1.LucideProps, "ref"> & react75.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { GroupBotSquareIcon };
8
8
  //# sourceMappingURL=GroupBotSquareIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react95 from "react";
2
- import * as lucide_react10 from "lucide-react";
1
+ import * as react89 from "react";
2
+ import * as lucide_react8 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/LeftClickIcon.d.ts
5
- declare const LeftClickIcon: react95.ForwardRefExoticComponent<Omit<lucide_react10.LucideProps, "ref"> & react95.RefAttributes<SVGSVGElement>>;
5
+ declare const LeftClickIcon: react89.ForwardRefExoticComponent<Omit<lucide_react8.LucideProps, "ref"> & react89.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_react11 from "lucide-react";
1
+ import * as react91 from "react";
2
+ import * as lucide_react9 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/LeftDoubleClickIcon.d.ts
5
- declare const LeftDoubleClickIcon: react97.ForwardRefExoticComponent<Omit<lucide_react11.LucideProps, "ref"> & react97.RefAttributes<SVGSVGElement>>;
5
+ declare const LeftDoubleClickIcon: react91.ForwardRefExoticComponent<Omit<lucide_react9.LucideProps, "ref"> & react91.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";
2
- import * as lucide_react12 from "lucide-react";
1
+ import * as react85 from "react";
2
+ import * as lucide_react6 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/McpIcon.d.ts
5
- declare const McpIcon: react99.ForwardRefExoticComponent<Omit<lucide_react12.LucideProps, "ref"> & react99.RefAttributes<SVGSVGElement>>;
5
+ declare const McpIcon: react85.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react85.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { McpIcon };
8
8
  //# sourceMappingURL=McpIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react85 from "react";
2
- import * as lucide_react5 from "lucide-react";
1
+ import * as react87 from "react";
2
+ import * as lucide_react7 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/ProviderIcon.d.ts
5
- declare const ProviderIcon: react85.ForwardRefExoticComponent<Omit<lucide_react5.LucideProps, "ref"> & react85.RefAttributes<SVGSVGElement>>;
5
+ declare const ProviderIcon: react87.ForwardRefExoticComponent<Omit<lucide_react7.LucideProps, "ref"> & react87.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { ProviderIcon };
8
8
  //# sourceMappingURL=ProviderIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react87 from "react";
2
- import * as lucide_react6 from "lucide-react";
1
+ import * as react83 from "react";
2
+ import * as lucide_react5 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/RightClickIcon.d.ts
5
- declare const RightClickIcon: react87.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react87.RefAttributes<SVGSVGElement>>;
5
+ declare const RightClickIcon: react83.ForwardRefExoticComponent<Omit<lucide_react5.LucideProps, "ref"> & react83.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { RightClickIcon };
8
8
  //# sourceMappingURL=RightClickIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react91 from "react";
2
- import * as lucide_react8 from "lucide-react";
1
+ import * as react97 from "react";
2
+ import * as lucide_react12 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/RightDoubleClickIcon.d.ts
5
- declare const RightDoubleClickIcon: react91.ForwardRefExoticComponent<Omit<lucide_react8.LucideProps, "ref"> & react91.RefAttributes<SVGSVGElement>>;
5
+ declare const RightDoubleClickIcon: react97.ForwardRefExoticComponent<Omit<lucide_react12.LucideProps, "ref"> & react97.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { RightDoubleClickIcon };
8
8
  //# sourceMappingURL=RightDoubleClickIcon.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import * as react93 from "react";
2
- import * as lucide_react9 from "lucide-react";
2
+ import * as lucide_react10 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/ShapesUploadIcon.d.ts
5
- declare const ShapesUploadIcon: react93.ForwardRefExoticComponent<Omit<lucide_react9.LucideProps, "ref"> & react93.RefAttributes<SVGSVGElement>>;
5
+ declare const ShapesUploadIcon: react93.ForwardRefExoticComponent<Omit<lucide_react10.LucideProps, "ref"> & react93.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { ShapesUploadIcon };
8
8
  //# sourceMappingURL=ShapesUploadIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react101 from "react";
1
+ import * as react99 from "react";
2
2
  import * as lucide_react13 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/TreeDownRightIcon.d.ts
5
- declare const TreeDownRightIcon: react101.ForwardRefExoticComponent<Omit<lucide_react13.LucideProps, "ref"> & react101.RefAttributes<SVGSVGElement>>;
5
+ declare const TreeDownRightIcon: react99.ForwardRefExoticComponent<Omit<lucide_react13.LucideProps, "ref"> & react99.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { TreeDownRightIcon };
8
8
  //# sourceMappingURL=TreeDownRightIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react77 from "react";
2
- import * as lucide_react1 from "lucide-react";
1
+ import * as react95 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: react77.ForwardRefExoticComponent<Omit<lucide_react1.LucideProps, "ref"> & react77.RefAttributes<SVGSVGElement>>;
5
+ declare const TreeUpDownRightIcon: react95.ForwardRefExoticComponent<Omit<lucide_react11.LucideProps, "ref"> & react95.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 react52 from "react";
3
+ import * as react69 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: react52.NamedExoticComponent<MdxProps>;
21
+ declare const Mdx: react69.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 react116 from "react";
2
+ import * as react125 from "react";
3
3
 
4
4
  //#region src/mobile/ChatHeader/ChatHeaderTitle.d.ts
5
- declare const ChatHeaderTitle: react116.NamedExoticComponent<ChatHeaderTitleProps>;
5
+ declare const ChatHeaderTitle: react125.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 react117 from "react";
2
+ import * as react124 from "react";
3
3
 
4
4
  //#region src/mobile/ChatInputArea/components/ChatSendButton.d.ts
5
- declare const ChatSendButton: react117.NamedExoticComponent<ChatSendButtonProps>;
5
+ declare const ChatSendButton: react124.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 react115 from "react";
2
+ import * as react123 from "react";
3
3
 
4
4
  //#region src/mobile/TabBar/TabBar.d.ts
5
- declare const TabBar: react115.NamedExoticComponent<TabBarProps>;
5
+ declare const TabBar: react123.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 react51 from "react";
3
+ import * as react66 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: react51.NamedExoticComponent<StoryBookProps>;
13
+ declare const StoryBook: react66.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.0.0",
3
+ "version": "4.1.1",
4
4
  "description": "Lobe UI is an open-source UI component library for building AIGC web apps",
5
5
  "keywords": [
6
6
  "lobehub",
@@ -1,20 +0,0 @@
1
- import * as react53 from "react";
2
- import { ComponentProps } from "react";
3
- import { LazyMotion } from "motion/react";
4
-
5
- //#region src/motion/LazyMotion.d.ts
6
- type MotionLazyMotionProps = ComponentProps<typeof LazyMotion>;
7
- type LobeLazyMotionProps = Omit<MotionLazyMotionProps, 'features'> & {
8
- /**
9
- * Optional override for Motion features.
10
- * Defaults to the shared lazy-loaded `loadFeatures`.
11
- */
12
- features?: MotionLazyMotionProps['features'];
13
- };
14
- /**
15
- * A project-wide `LazyMotion` wrapper that provides a shared default `features` loader.
16
- */
17
- declare const LazyMotion$1: react53.NamedExoticComponent<LobeLazyMotionProps>;
18
- //#endregion
19
- export { LazyMotion$1 as LazyMotion, LobeLazyMotionProps };
20
- //# sourceMappingURL=LazyMotion.d.mts.map
@@ -1,20 +0,0 @@
1
- 'use client';
2
-
3
- import { loadFeatures } from "./loadFeatures.mjs";
4
- import { memo } from "react";
5
- import { jsx } from "react/jsx-runtime";
6
- import { LazyMotion } from "motion/react";
7
-
8
- //#region src/motion/LazyMotion.tsx
9
- /**
10
- * A project-wide `LazyMotion` wrapper that provides a shared default `features` loader.
11
- */
12
- const LazyMotion$1 = memo(({ features, ...props }) => /* @__PURE__ */ jsx(LazyMotion, {
13
- features: features ?? loadFeatures,
14
- ...props
15
- }));
16
- LazyMotion$1.displayName = "LazyMotion";
17
-
18
- //#endregion
19
- export { LazyMotion$1 as LazyMotion };
20
- //# sourceMappingURL=LazyMotion.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LazyMotion.mjs","names":["LazyMotion","MotionLazyMotion"],"sources":["../../src/motion/LazyMotion.tsx"],"sourcesContent":["'use client';\n\nimport { LazyMotion as MotionLazyMotion } from 'motion/react';\nimport { memo } from 'react';\nimport type { ComponentProps } from 'react';\n\nimport { loadFeatures } from './loadFeatures';\n\ntype MotionLazyMotionProps = ComponentProps<typeof MotionLazyMotion>;\n\nexport type LobeLazyMotionProps = Omit<MotionLazyMotionProps, 'features'> & {\n /**\n * Optional override for Motion features.\n * Defaults to the shared lazy-loaded `loadFeatures`.\n */\n features?: MotionLazyMotionProps['features'];\n};\n\n/**\n * A project-wide `LazyMotion` wrapper that provides a shared default `features` loader.\n */\nexport const LazyMotion = memo<LobeLazyMotionProps>(({ features, ...props }) => (\n <MotionLazyMotion features={features ?? loadFeatures} {...props} />\n));\n\nLazyMotion.displayName = 'LazyMotion';\n"],"mappings":";;;;;;;;;;;AAqBA,MAAaA,eAAa,MAA2B,EAAE,UAAU,GAAG,YAClE,oBAACC;CAAiB,UAAU,YAAY;CAAc,GAAI;EAAS,CACnE;AAEF,aAAW,cAAc"}
@@ -1,4 +0,0 @@
1
- import { LazyMotion, LobeLazyMotionProps } from "./LazyMotion.mjs";
2
- import { loadFeatures } from "./loadFeatures.mjs";
3
- import { AnimatePresence, m } from "motion/react";
4
- export { AnimatePresence, LazyMotion, type LobeLazyMotionProps, loadFeatures, m };
@@ -1 +0,0 @@
1
- export * from './index.d.mts';
@@ -1 +0,0 @@
1
- export * from './index.mjs';
@@ -1,5 +0,0 @@
1
- import { loadFeatures } from "./loadFeatures.mjs";
2
- import { LazyMotion } from "./LazyMotion.mjs";
3
- import { AnimatePresence, m } from "motion/react";
4
-
5
- export { AnimatePresence, LazyMotion, loadFeatures, m };
@@ -1,14 +0,0 @@
1
- import { ComponentProps } from "react";
2
- import { LazyMotion } from "motion/react";
3
-
4
- //#region src/motion/loadFeatures.d.ts
5
-
6
- /**
7
- * Shared lazy-loaded Motion features bundle.
8
- * Using a dynamic import keeps the initial bundle lighter and avoids repeating this logic across components.
9
- */
10
- type MotionLazyMotionProps = ComponentProps<typeof LazyMotion>;
11
- declare const loadFeatures: MotionLazyMotionProps['features'];
12
- //#endregion
13
- export { loadFeatures };
14
- //# sourceMappingURL=loadFeatures.d.mts.map
@@ -1,6 +0,0 @@
1
- //#region src/motion/loadFeatures.ts
2
- const loadFeatures = () => import("motion/react").then((res) => res.domAnimation);
3
-
4
- //#endregion
5
- export { loadFeatures };
6
- //# sourceMappingURL=loadFeatures.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loadFeatures.mjs","names":["loadFeatures: MotionLazyMotionProps['features']"],"sources":["../../src/motion/loadFeatures.ts"],"sourcesContent":["import { LazyMotion as MotionLazyMotion } from 'motion/react';\nimport type { ComponentProps } from 'react';\n\n/**\n * Shared lazy-loaded Motion features bundle.\n * Using a dynamic import keeps the initial bundle lighter and avoids repeating this logic across components.\n */\ntype MotionLazyMotionProps = ComponentProps<typeof MotionLazyMotion>;\n\nexport const loadFeatures: MotionLazyMotionProps['features'] = () =>\n import('motion/react').then((res) => (res as any).domAnimation);\n"],"mappings":";AASA,MAAaA,qBACX,OAAO,gBAAgB,MAAM,QAAS,IAAY,aAAa"}