@lobehub/ui 4.17.1 → 4.18.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 (170) 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 +8 -0
  9. package/es/CodeDiff/CodeDiff.mjs +122 -0
  10. package/es/CodeDiff/CodeDiff.mjs.map +1 -0
  11. package/es/CodeDiff/PatchDiff.d.mts +8 -0
  12. package/es/CodeDiff/PatchDiff.mjs +101 -0
  13. package/es/CodeDiff/PatchDiff.mjs.map +1 -0
  14. package/es/CodeDiff/index.d.mts +4 -0
  15. package/es/CodeDiff/index.d.ts +1 -0
  16. package/es/CodeDiff/index.js +1 -0
  17. package/es/CodeDiff/index.mjs +4 -0
  18. package/es/CodeDiff/style.mjs +122 -0
  19. package/es/CodeDiff/style.mjs.map +1 -0
  20. package/es/CodeDiff/type.d.mts +123 -0
  21. package/es/CodeEditor/CodeEditor.d.mts +2 -2
  22. package/es/Collapse/Collapse.d.mts +2 -2
  23. package/es/ConfigProvider/index.d.mts +2 -2
  24. package/es/ContextMenu/ContextMenuHost.d.mts +3 -3
  25. package/es/DatePicker/DatePicker.d.mts +2 -2
  26. package/es/DraggablePanel/components/DraggablePanelBody.d.mts +2 -2
  27. package/es/DraggablePanel/components/DraggablePanelContainer.d.mts +2 -2
  28. package/es/DraggablePanel/components/DraggablePanelFooter.d.mts +2 -2
  29. package/es/DraggablePanel/components/DraggablePanelHeader.d.mts +2 -2
  30. package/es/DraggableSideNav/DraggableSideNav.d.mts +2 -2
  31. package/es/Drawer/Drawer.d.mts +2 -2
  32. package/es/Dropdown/Dropdown.d.mts +2 -2
  33. package/es/DropdownMenu/DropdownMenu.d.mts +2 -2
  34. package/es/DropdownMenu/DropdownMenu.mjs +13 -42
  35. package/es/DropdownMenu/DropdownMenu.mjs.map +1 -1
  36. package/es/DropdownMenu/atoms.d.mts +145 -0
  37. package/es/DropdownMenu/atoms.mjs +163 -0
  38. package/es/DropdownMenu/atoms.mjs.map +1 -0
  39. package/es/DropdownMenu/index.d.mts +3 -1
  40. package/es/DropdownMenu/index.mjs +3 -1
  41. package/es/DropdownMenu/renderItems.d.mts +10 -0
  42. package/es/DropdownMenu/renderItems.mjs +22 -47
  43. package/es/DropdownMenu/renderItems.mjs.map +1 -1
  44. package/es/EditableText/EditableText.d.mts +2 -2
  45. package/es/EmojiPicker/EmojiPicker.d.mts +2 -2
  46. package/es/Flex/FlexBasic.d.mts +2 -2
  47. package/es/FontLoader/index.d.mts +2 -2
  48. package/es/Footer/Footer.d.mts +2 -2
  49. package/es/Form/components/FormGroup.d.mts +2 -2
  50. package/es/Form/components/FormItem.d.mts +2 -2
  51. package/es/Form/components/FormSubmitFooter.d.mts +2 -2
  52. package/es/FormModal/FormModal.d.mts +2 -2
  53. package/es/GuideCard/GuideCard.d.mts +2 -2
  54. package/es/Header/Header.d.mts +2 -2
  55. package/es/Highlighter/FullFeatured.mjs +1 -1
  56. package/es/Highlighter/Highlighter.d.mts +2 -2
  57. package/es/Highlighter/SyntaxHighlighter/index.d.mts +2 -2
  58. package/es/Hotkey/Hotkey.d.mts +2 -2
  59. package/es/HotkeyInput/HotkeyInput.d.mts +2 -2
  60. package/es/Icon/Icon.d.mts +2 -2
  61. package/es/Icon/components/IconProvider.d.mts +3 -3
  62. package/es/Image/PreviewGroup.d.mts +2 -2
  63. package/es/ImageSelect/ImageSelect.d.mts +2 -2
  64. package/es/Input/Input.d.mts +2 -2
  65. package/es/Input/InputNumber.d.mts +2 -2
  66. package/es/Input/InputOPT.d.mts +2 -2
  67. package/es/Input/InputPassword.d.mts +2 -2
  68. package/es/Input/TextArea.d.mts +2 -2
  69. package/es/Layout/components/LayoutFooter.d.mts +2 -2
  70. package/es/Layout/components/LayoutHeader.d.mts +2 -2
  71. package/es/Layout/components/LayoutMain.d.mts +2 -2
  72. package/es/Layout/components/LayoutSidebar.d.mts +2 -2
  73. package/es/Layout/components/LayoutSidebarInner.d.mts +2 -2
  74. package/es/Layout/components/LayoutToc.d.mts +2 -2
  75. package/es/List/ListItem/index.d.mts +2 -2
  76. package/es/Markdown/Markdown.d.mts +2 -2
  77. package/es/Markdown/Typography.d.mts +2 -2
  78. package/es/Markdown/components/SearchResultCards/index.d.mts +2 -2
  79. package/es/Markdown/type.d.mts +1 -2
  80. package/es/MaskShadow/MaskShadow.d.mts +2 -2
  81. package/es/Menu/Menu.d.mts +2 -2
  82. package/es/Menu/sharedStyle.mjs +1 -1
  83. package/es/Menu/sharedStyle.mjs.map +1 -1
  84. package/es/Mermaid/FullFeatured.mjs +1 -1
  85. package/es/Mermaid/Mermaid.d.mts +2 -2
  86. package/es/Mermaid/SyntaxMermaid/index.d.mts +2 -2
  87. package/es/Mermaid/type.d.mts +1 -1
  88. package/es/Modal/Modal.d.mts +2 -2
  89. package/es/Modal/ModalProvider.d.mts +2 -2
  90. package/es/Modal/imperative.d.mts +2 -2
  91. package/es/MotionProvider/index.d.mts +2 -2
  92. package/es/Popover/ArrowIcon.d.mts +7 -0
  93. package/es/Popover/PopoverGroup.mjs +14 -15
  94. package/es/Popover/PopoverGroup.mjs.map +1 -1
  95. package/es/Popover/PopoverPortal.d.mts +6 -0
  96. package/es/Popover/PopoverPortal.mjs +1 -1
  97. package/es/Popover/PopoverStandalone.mjs +20 -49
  98. package/es/Popover/PopoverStandalone.mjs.map +1 -1
  99. package/es/Popover/atoms.d.mts +77 -0
  100. package/es/Popover/atoms.mjs +104 -0
  101. package/es/Popover/atoms.mjs.map +1 -0
  102. package/es/Popover/context.d.mts +2 -2
  103. package/es/Popover/groupContext.d.mts +1 -0
  104. package/es/Popover/groupContext.mjs.map +1 -1
  105. package/es/Popover/index.d.mts +5 -2
  106. package/es/Popover/index.mjs +4 -1
  107. package/es/SearchBar/SearchBar.d.mts +2 -2
  108. package/es/Segmented/Segmented.d.mts +2 -2
  109. package/es/Select/Select.d.mts +2 -2
  110. package/es/SideNav/SideNav.d.mts +2 -2
  111. package/es/SliderWithInput/SliderWithInput.d.mts +2 -2
  112. package/es/SortableList/components/DragHandle.d.mts +2 -2
  113. package/es/SortableList/components/SortableItem.d.mts +2 -2
  114. package/es/ThemeProvider/ThemeProvider.d.mts +2 -2
  115. package/es/Toc/Toc.d.mts +2 -2
  116. package/es/Tooltip/groupContext.mjs.map +1 -1
  117. package/es/Video/index.d.mts +2 -2
  118. package/es/awesome/AuroraBackground/AuroraBackground.d.mts +2 -2
  119. package/es/awesome/Features/Features.d.mts +2 -2
  120. package/es/awesome/Giscus/Giscus.d.mts +2 -2
  121. package/es/awesome/Giscus/type.d.mts +4 -4
  122. package/es/awesome/GradientButton/GradientButton.d.mts +2 -2
  123. package/es/awesome/GridBackground/GridBackground.d.mts +2 -2
  124. package/es/awesome/GridBackground/GridShowcase.d.mts +2 -2
  125. package/es/awesome/Hero/Hero.d.mts +2 -2
  126. package/es/awesome/Spline/Spine.d.mts +2 -2
  127. package/es/awesome/Spotlight/Spotlight.d.mts +2 -2
  128. package/es/awesome/TypewriterEffect/TypewriterEffect.d.mts +2 -2
  129. package/es/brand/LobeChat/index.d.mts +2 -2
  130. package/es/brand/LobeHub/index.d.mts +2 -2
  131. package/es/brand/LogoThree/LogoSpline.d.mts +2 -2
  132. package/es/brand/LogoThree/index.d.mts +2 -2
  133. package/es/chat/BackBottom/BackBottom.d.mts +2 -2
  134. package/es/chat/ChatInputArea/components/ChatInputAreaInner.d.mts +2 -2
  135. package/es/chat/ChatItem/ChatItem.d.mts +2 -2
  136. package/es/chat/ChatList/ChatList.d.mts +2 -2
  137. package/es/chat/EditableMessage/EditableMessage.d.mts +2 -2
  138. package/es/chat/EditableMessageList/EditableMessageList.d.mts +2 -2
  139. package/es/chat/MessageInput/MessageInput.d.mts +2 -2
  140. package/es/chat/MessageModal/MessageModal.d.mts +2 -2
  141. package/es/color/ColorScales/index.d.mts +2 -2
  142. package/es/color/CssVar/index.d.mts +2 -2
  143. package/es/hooks/useMermaid.mjs.map +1 -1
  144. package/es/hooks/useStreamMermaid.mjs.map +1 -1
  145. package/es/i18n/context.d.mts +2 -2
  146. package/es/icons/lucideExtra/BotPromptIcon.d.mts +2 -2
  147. package/es/icons/lucideExtra/CreateBotIcon.d.mts +2 -2
  148. package/es/icons/lucideExtra/DiscordIcon.d.mts +2 -2
  149. package/es/icons/lucideExtra/GlobeOffIcon.d.mts +3 -3
  150. package/es/icons/lucideExtra/GroupBotIcon.d.mts +3 -3
  151. package/es/icons/lucideExtra/GroupBotSquareIcon.d.mts +3 -3
  152. package/es/icons/lucideExtra/LeftClickIcon.d.mts +3 -3
  153. package/es/icons/lucideExtra/LeftDoubleClickIcon.d.mts +3 -3
  154. package/es/icons/lucideExtra/McpIcon.d.mts +3 -3
  155. package/es/icons/lucideExtra/ProviderIcon.d.mts +3 -3
  156. package/es/icons/lucideExtra/RightClickIcon.d.mts +3 -3
  157. package/es/icons/lucideExtra/RightDoubleClickIcon.d.mts +3 -3
  158. package/es/icons/lucideExtra/ShapesUploadIcon.d.mts +3 -3
  159. package/es/icons/lucideExtra/TreeDownRightIcon.d.mts +3 -3
  160. package/es/icons/lucideExtra/TreeUpDownRightIcon.d.mts +3 -3
  161. package/es/index.d.mts +11 -2
  162. package/es/index.mjs +10 -3
  163. package/es/mdx/Mdx/index.d.mts +2 -2
  164. package/es/mobile/ChatHeader/ChatHeaderTitle.d.mts +2 -2
  165. package/es/mobile/ChatInputArea/components/ChatSendButton.d.mts +2 -2
  166. package/es/mobile/TabBar/TabBar.d.mts +2 -2
  167. package/es/storybook/StoryBook/index.d.mts +2 -2
  168. package/es/utils/placement.d.mts +7 -1
  169. package/es/utils/placement.mjs.map +1 -1
  170. package/package.json +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/ui",
3
- "version": "4.17.1",
3
+ "version": "4.18.0",
4
4
  "description": "Lobe UI is an open-source UI component library for building AIGC web apps",
5
5
  "keywords": [
6
6
  "lobehub",
@@ -118,6 +118,7 @@
118
118
  "@giscus/react": "^3.1.0",
119
119
  "@mdx-js/mdx": "^3.1.1",
120
120
  "@mdx-js/react": "^3.1.1",
121
+ "@pierre/diffs": "^1.0.4",
121
122
  "@radix-ui/react-slot": "^1.2.4",
122
123
  "@shikijs/core": "^3.20.0",
123
124
  "@shikijs/transformers": "^3.20.0",