@lobehub/ui 4.8.0 → 4.9.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 (157) 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/ContextMenu/ContextMenuHost.mjs +7 -0
  13. package/es/ContextMenu/ContextMenuHost.mjs.map +1 -1
  14. package/es/ContextMenu/ContextMenuTrigger.d.mts +2 -3
  15. package/es/ContextMenu/ContextMenuTrigger.mjs.map +1 -1
  16. package/es/ContextMenu/imperative.d.mts +1 -1
  17. package/es/ContextMenu/index.d.mts +3 -2
  18. package/es/ContextMenu/index.mjs +2 -2
  19. package/es/ContextMenu/renderItems.mjs +30 -5
  20. package/es/ContextMenu/renderItems.mjs.map +1 -1
  21. package/es/ContextMenu/store.d.mts +8 -4
  22. package/es/ContextMenu/store.mjs +9 -1
  23. package/es/ContextMenu/store.mjs.map +1 -1
  24. package/es/ContextMenu/type.d.mts +10 -0
  25. package/es/CopyButton/CopyButton.d.mts +2 -2
  26. package/es/DatePicker/DatePicker.d.mts +2 -2
  27. package/es/DraggablePanel/components/DraggablePanelBody.d.mts +2 -2
  28. package/es/DraggablePanel/components/DraggablePanelContainer.d.mts +2 -2
  29. package/es/DraggablePanel/components/DraggablePanelFooter.d.mts +2 -2
  30. package/es/DraggablePanel/components/DraggablePanelHeader.d.mts +2 -2
  31. package/es/DraggableSideNav/DraggableSideNav.d.mts +2 -2
  32. package/es/Drawer/Drawer.d.mts +2 -2
  33. package/es/Dropdown/Dropdown.d.mts +2 -2
  34. package/es/DropdownMenu/DropdownMenu.d.mts +2 -2
  35. package/es/DropdownMenu/type.d.mts +5 -19
  36. package/es/EditableText/EditableText.d.mts +2 -2
  37. package/es/EmojiPicker/EmojiPicker.d.mts +2 -2
  38. package/es/Flex/FlexBasic.d.mts +2 -2
  39. package/es/FontLoader/index.d.mts +2 -2
  40. package/es/Footer/Footer.d.mts +2 -2
  41. package/es/Form/components/FormGroup.d.mts +2 -2
  42. package/es/Form/components/FormItem.d.mts +2 -2
  43. package/es/Form/components/FormSubmitFooter.d.mts +2 -2
  44. package/es/FormModal/FormModal.d.mts +2 -2
  45. package/es/GuideCard/GuideCard.d.mts +2 -2
  46. package/es/Header/Header.d.mts +2 -2
  47. package/es/Highlighter/Highlighter.d.mts +2 -2
  48. package/es/Highlighter/SyntaxHighlighter/index.d.mts +2 -2
  49. package/es/Hotkey/Hotkey.d.mts +2 -2
  50. package/es/HotkeyInput/HotkeyInput.d.mts +2 -2
  51. package/es/Icon/Icon.d.mts +2 -2
  52. package/es/Icon/components/IconProvider.d.mts +3 -3
  53. package/es/Image/PreviewGroup.d.mts +2 -2
  54. package/es/Input/Input.d.mts +2 -2
  55. package/es/Input/InputNumber.d.mts +2 -2
  56. package/es/Input/InputOPT.d.mts +2 -2
  57. package/es/Input/InputPassword.d.mts +2 -2
  58. package/es/Input/TextArea.d.mts +2 -2
  59. package/es/Layout/components/LayoutFooter.d.mts +2 -2
  60. package/es/Layout/components/LayoutHeader.d.mts +2 -2
  61. package/es/Layout/components/LayoutMain.d.mts +2 -2
  62. package/es/Layout/components/LayoutSidebar.d.mts +2 -2
  63. package/es/Layout/components/LayoutSidebarInner.d.mts +2 -2
  64. package/es/Layout/components/LayoutToc.d.mts +2 -2
  65. package/es/List/ListItem/index.d.mts +2 -2
  66. package/es/Markdown/Markdown.d.mts +2 -2
  67. package/es/Markdown/Typography.d.mts +2 -2
  68. package/es/Markdown/components/SearchResultCards/index.d.mts +2 -2
  69. package/es/MaskShadow/MaskShadow.d.mts +2 -2
  70. package/es/Menu/Menu.d.mts +2 -2
  71. package/es/Menu/baseItem.d.mts +15 -0
  72. package/es/Menu/checkboxItem.d.mts +27 -0
  73. package/es/Menu/index.d.mts +3 -1
  74. package/es/Mermaid/Mermaid.d.mts +2 -2
  75. package/es/Mermaid/SyntaxMermaid/index.d.mts +2 -2
  76. package/es/Modal/Modal.d.mts +2 -2
  77. package/es/Modal/ModalProvider.d.mts +2 -2
  78. package/es/Modal/imperative.mjs +8 -2
  79. package/es/Modal/imperative.mjs.map +1 -1
  80. package/es/MotionProvider/index.d.mts +2 -2
  81. package/es/SearchBar/SearchBar.d.mts +2 -2
  82. package/es/Segmented/Segmented.d.mts +2 -2
  83. package/es/Select/Select.d.mts +2 -2
  84. package/es/SideNav/SideNav.d.mts +2 -2
  85. package/es/SliderWithInput/SliderWithInput.d.mts +2 -2
  86. package/es/SortableList/components/DragHandle.d.mts +2 -2
  87. package/es/SortableList/components/SortableItem.d.mts +2 -2
  88. package/es/Tag/Tag.mjs +10 -15
  89. package/es/Tag/Tag.mjs.map +1 -1
  90. package/es/Tag/utils.mjs +9 -4
  91. package/es/Tag/utils.mjs.map +1 -1
  92. package/es/ThemeProvider/GlobalStyle/antdOverride.mjs +9 -15
  93. package/es/ThemeProvider/GlobalStyle/antdOverride.mjs.map +1 -1
  94. package/es/ThemeProvider/ThemeProvider.d.mts +2 -2
  95. package/es/ThemeProvider/ThemeProvider.mjs.map +1 -1
  96. package/es/Toc/Toc.d.mts +2 -2
  97. package/es/Tooltip/TooltipFloating.mjs +58 -36
  98. package/es/Tooltip/TooltipFloating.mjs.map +1 -1
  99. package/es/Tooltip/TooltipGroup.mjs +6 -0
  100. package/es/Tooltip/TooltipGroup.mjs.map +1 -1
  101. package/es/Tooltip/TooltipStandalone.mjs +1 -0
  102. package/es/Tooltip/TooltipStandalone.mjs.map +1 -1
  103. package/es/Tooltip/style.mjs +4 -1
  104. package/es/Tooltip/style.mjs.map +1 -1
  105. package/es/Video/index.d.mts +2 -2
  106. package/es/awesome/AuroraBackground/AuroraBackground.d.mts +2 -2
  107. package/es/awesome/BottomGradientButton/BottomGradientButton.d.mts +2 -2
  108. package/es/awesome/Features/Features.d.mts +2 -2
  109. package/es/awesome/Giscus/Giscus.d.mts +2 -2
  110. package/es/awesome/GradientButton/GradientButton.d.mts +2 -2
  111. package/es/awesome/GridBackground/GridBackground.d.mts +2 -2
  112. package/es/awesome/GridBackground/GridShowcase.d.mts +2 -2
  113. package/es/awesome/Hero/Hero.d.mts +2 -2
  114. package/es/awesome/Spline/Spine.d.mts +2 -2
  115. package/es/awesome/Spotlight/Spotlight.d.mts +2 -2
  116. package/es/awesome/SpotlightCard/SpotlightCard.d.mts +2 -2
  117. package/es/awesome/TypewriterEffect/TypewriterEffect.d.mts +2 -2
  118. package/es/brand/LobeChat/index.d.mts +2 -2
  119. package/es/brand/LobeHub/index.d.mts +2 -2
  120. package/es/brand/LogoThree/LogoSpline.d.mts +2 -2
  121. package/es/brand/LogoThree/index.d.mts +2 -2
  122. package/es/chat/BackBottom/BackBottom.d.mts +2 -2
  123. package/es/chat/ChatInputArea/components/ChatInputAreaInner.d.mts +2 -2
  124. package/es/chat/ChatItem/ChatItem.d.mts +2 -2
  125. package/es/chat/ChatList/ChatList.d.mts +2 -2
  126. package/es/chat/EditableMessage/EditableMessage.d.mts +2 -2
  127. package/es/chat/EditableMessageList/EditableMessageList.d.mts +2 -2
  128. package/es/chat/MessageInput/MessageInput.d.mts +2 -2
  129. package/es/chat/MessageModal/MessageModal.d.mts +2 -2
  130. package/es/color/ColorScales/index.d.mts +2 -2
  131. package/es/color/CssVar/index.d.mts +2 -2
  132. package/es/i18n/context.d.mts +2 -2
  133. package/es/icons/lucideExtra/BotPromptIcon.d.mts +2 -2
  134. package/es/icons/lucideExtra/CreateBotIcon.d.mts +2 -2
  135. package/es/icons/lucideExtra/DiscordIcon.d.mts +2 -2
  136. package/es/icons/lucideExtra/GlobeOffIcon.d.mts +2 -2
  137. package/es/icons/lucideExtra/GroupBotIcon.d.mts +2 -2
  138. package/es/icons/lucideExtra/GroupBotSquareIcon.d.mts +3 -3
  139. package/es/icons/lucideExtra/LeftClickIcon.d.mts +3 -3
  140. package/es/icons/lucideExtra/LeftDoubleClickIcon.d.mts +3 -3
  141. package/es/icons/lucideExtra/McpIcon.d.mts +3 -3
  142. package/es/icons/lucideExtra/ProviderIcon.d.mts +3 -3
  143. package/es/icons/lucideExtra/RightClickIcon.d.mts +3 -3
  144. package/es/icons/lucideExtra/RightDoubleClickIcon.d.mts +3 -3
  145. package/es/icons/lucideExtra/ShapesUploadIcon.d.mts +3 -3
  146. package/es/icons/lucideExtra/TreeDownRightIcon.d.mts +2 -2
  147. package/es/icons/lucideExtra/TreeUpDownRightIcon.d.mts +2 -2
  148. package/es/index.d.mts +5 -2
  149. package/es/index.mjs +2 -2
  150. package/es/mdx/Mdx/index.d.mts +2 -2
  151. package/es/mobile/ChatHeader/ChatHeaderTitle.d.mts +2 -2
  152. package/es/mobile/ChatInputArea/components/ChatSendButton.d.mts +2 -2
  153. package/es/mobile/TabBar/TabBar.d.mts +2 -2
  154. package/es/storybook/StoryBook/index.d.mts +2 -2
  155. package/es/utils/devSingleton.mjs +61 -0
  156. package/es/utils/devSingleton.mjs.map +1 -0
  157. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  import { EditableTextProps } from "./type.mjs";
2
- import * as react12 from "react";
2
+ import * as react71 from "react";
3
3
 
4
4
  //#region src/EditableText/EditableText.d.ts
5
- declare const EditableText: react12.NamedExoticComponent<EditableTextProps>;
5
+ declare const EditableText: react71.NamedExoticComponent<EditableTextProps>;
6
6
  //#endregion
7
7
  export { EditableText };
8
8
  //# sourceMappingURL=EditableText.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { EmojiPickerProps } from "./type.mjs";
2
- import * as react67 from "react";
2
+ import * as react0 from "react";
3
3
 
4
4
  //#region src/EmojiPicker/EmojiPicker.d.ts
5
- declare const EmojiPicker: react67.NamedExoticComponent<EmojiPickerProps>;
5
+ declare const EmojiPicker: react0.NamedExoticComponent<EmojiPickerProps>;
6
6
  //#endregion
7
7
  export { EmojiPicker };
8
8
  //# sourceMappingURL=EmojiPicker.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { FlexBasicProps } from "./type.mjs";
2
- import * as react19 from "react";
2
+ import * as react48 from "react";
3
3
 
4
4
  //#region src/Flex/FlexBasic.d.ts
5
- declare const _default: react19.NamedExoticComponent<FlexBasicProps>;
5
+ declare const _default: react48.NamedExoticComponent<FlexBasicProps>;
6
6
  //#endregion
7
7
  export { _default };
8
8
  //# sourceMappingURL=FlexBasic.d.mts.map
@@ -1,10 +1,10 @@
1
- import * as react25 from "react";
1
+ import * as react67 from "react";
2
2
 
3
3
  //#region src/FontLoader/index.d.ts
4
4
  interface FontLoaderProps {
5
5
  url: string;
6
6
  }
7
- declare const FontLoader: react25.NamedExoticComponent<FontLoaderProps>;
7
+ declare const FontLoader: react67.NamedExoticComponent<FontLoaderProps>;
8
8
  //#endregion
9
9
  export { FontLoader, FontLoaderProps };
10
10
  //# sourceMappingURL=index.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { FooterProps } from "./type.mjs";
2
- import * as react73 from "react";
2
+ import * as react47 from "react";
3
3
 
4
4
  //#region src/Footer/Footer.d.ts
5
- declare const Footer: react73.NamedExoticComponent<FooterProps>;
5
+ declare const Footer: react47.NamedExoticComponent<FooterProps>;
6
6
  //#endregion
7
7
  export { Footer };
8
8
  //# sourceMappingURL=Footer.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { FormGroupProps } from "../type.mjs";
2
- import * as react53 from "react";
2
+ import * as react43 from "react";
3
3
 
4
4
  //#region src/Form/components/FormGroup.d.ts
5
- declare const FormGroup: react53.NamedExoticComponent<FormGroupProps>;
5
+ declare const FormGroup: react43.NamedExoticComponent<FormGroupProps>;
6
6
  //#endregion
7
7
  export { FormGroup };
8
8
  //# sourceMappingURL=FormGroup.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { FormItemProps } from "../type.mjs";
2
- import * as react54 from "react";
2
+ import * as react44 from "react";
3
3
 
4
4
  //#region src/Form/components/FormItem.d.ts
5
- declare const FormItem: react54.NamedExoticComponent<FormItemProps>;
5
+ declare const FormItem: react44.NamedExoticComponent<FormItemProps>;
6
6
  //#endregion
7
7
  export { FormItem };
8
8
  //# sourceMappingURL=FormItem.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { FormSubmitFooterProps } from "../type.mjs";
2
- import * as react55 from "react";
2
+ import * as react45 from "react";
3
3
 
4
4
  //#region src/Form/components/FormSubmitFooter.d.ts
5
- declare const FormSubmitFooter: react55.NamedExoticComponent<FormSubmitFooterProps>;
5
+ declare const FormSubmitFooter: react45.NamedExoticComponent<FormSubmitFooterProps>;
6
6
  //#endregion
7
7
  export { FormSubmitFooter };
8
8
  //# sourceMappingURL=FormSubmitFooter.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { FormModalProps } from "./type.mjs";
2
- import * as react52 from "react";
2
+ import * as react46 from "react";
3
3
 
4
4
  //#region src/FormModal/FormModal.d.ts
5
- declare const FormModal: react52.NamedExoticComponent<FormModalProps>;
5
+ declare const FormModal: react46.NamedExoticComponent<FormModalProps>;
6
6
  //#endregion
7
7
  export { FormModal };
8
8
  //# sourceMappingURL=FormModal.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { GuideCardProps } from "./type.mjs";
2
- import * as react110 from "react";
2
+ import * as react131 from "react";
3
3
 
4
4
  //#region src/GuideCard/GuideCard.d.ts
5
- declare const GuideCard: react110.NamedExoticComponent<GuideCardProps>;
5
+ declare const GuideCard: react131.NamedExoticComponent<GuideCardProps>;
6
6
  //#endregion
7
7
  export { GuideCard };
8
8
  //# sourceMappingURL=GuideCard.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { HeaderProps } from "./type.mjs";
2
- import * as react51 from "react";
2
+ import * as react42 from "react";
3
3
 
4
4
  //#region src/Header/Header.d.ts
5
- declare const Header: react51.NamedExoticComponent<HeaderProps>;
5
+ declare const Header: react42.NamedExoticComponent<HeaderProps>;
6
6
  //#endregion
7
7
  export { Header };
8
8
  //# sourceMappingURL=Header.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { HighlighterProps } from "./type.mjs";
2
- import * as react47 from "react";
2
+ import * as react39 from "react";
3
3
 
4
4
  //#region src/Highlighter/Highlighter.d.ts
5
- declare const Highlighter: react47.NamedExoticComponent<HighlighterProps>;
5
+ declare const Highlighter: react39.NamedExoticComponent<HighlighterProps>;
6
6
  //#endregion
7
7
  export { Highlighter };
8
8
  //# sourceMappingURL=Highlighter.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { SyntaxHighlighterProps } from "../type.mjs";
2
- import * as react48 from "react";
2
+ import * as react40 from "react";
3
3
 
4
4
  //#region src/Highlighter/SyntaxHighlighter/index.d.ts
5
- declare const SyntaxHighlighter: react48.NamedExoticComponent<SyntaxHighlighterProps>;
5
+ declare const SyntaxHighlighter: react40.NamedExoticComponent<SyntaxHighlighterProps>;
6
6
  //#endregion
7
7
  export { SyntaxHighlighter };
8
8
  //# sourceMappingURL=index.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { HotkeyProps } from "./type.mjs";
2
- import * as react49 from "react";
2
+ import * as react41 from "react";
3
3
 
4
4
  //#region src/Hotkey/Hotkey.d.ts
5
- declare const Hotkey: react49.NamedExoticComponent<HotkeyProps>;
5
+ declare const Hotkey: react41.NamedExoticComponent<HotkeyProps>;
6
6
  //#endregion
7
7
  export { Hotkey };
8
8
  //# sourceMappingURL=Hotkey.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { HotkeyInputProps } from "./type.mjs";
2
- import * as react50 from "react";
2
+ import * as react38 from "react";
3
3
 
4
4
  //#region src/HotkeyInput/HotkeyInput.d.ts
5
- declare const HotkeyInput: react50.NamedExoticComponent<HotkeyInputProps>;
5
+ declare const HotkeyInput: react38.NamedExoticComponent<HotkeyInputProps>;
6
6
  //#endregion
7
7
  export { HotkeyInput };
8
8
  //# sourceMappingURL=HotkeyInput.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { IconProps } from "./type.mjs";
2
- import * as react46 from "react";
2
+ import * as react36 from "react";
3
3
 
4
4
  //#region src/Icon/Icon.d.ts
5
- declare const Icon: react46.NamedExoticComponent<IconProps>;
5
+ declare const Icon: react36.NamedExoticComponent<IconProps>;
6
6
  //#endregion
7
7
  export { Icon };
8
8
  //# sourceMappingURL=Icon.d.mts.map
@@ -1,11 +1,11 @@
1
1
  import { IconProps } from "../type.mjs";
2
- import * as react44 from "react";
2
+ import * as react34 from "react";
3
3
  import { ReactNode } from "react";
4
4
 
5
5
  //#region src/Icon/components/IconProvider.d.ts
6
6
  type IconContentConfig = Omit<IconProps, 'icon' | 'ref'>;
7
- declare const IconContext: react44.Context<IconContentConfig>;
8
- declare const IconProvider: react44.NamedExoticComponent<{
7
+ declare const IconContext: react34.Context<IconContentConfig>;
8
+ declare const IconProvider: react34.NamedExoticComponent<{
9
9
  children: ReactNode;
10
10
  config?: IconContentConfig;
11
11
  }>;
@@ -1,8 +1,8 @@
1
1
  import { PreviewGroupProps } from "./type.mjs";
2
- import * as react42 from "react";
2
+ import * as react37 from "react";
3
3
 
4
4
  //#region src/Image/PreviewGroup.d.ts
5
- declare const PreviewGroup: react42.NamedExoticComponent<PreviewGroupProps>;
5
+ declare const PreviewGroup: react37.NamedExoticComponent<PreviewGroupProps>;
6
6
  //#endregion
7
7
  export { PreviewGroup };
8
8
  //# sourceMappingURL=PreviewGroup.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { InputProps } from "./type.mjs";
2
- import * as react111 from "react";
2
+ import * as react134 from "react";
3
3
 
4
4
  //#region src/Input/Input.d.ts
5
- declare const Input: react111.NamedExoticComponent<InputProps>;
5
+ declare const Input: react134.NamedExoticComponent<InputProps>;
6
6
  //#endregion
7
7
  export { Input };
8
8
  //# sourceMappingURL=Input.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { InputNumberProps } from "./type.mjs";
2
- import * as react112 from "react";
2
+ import * as react135 from "react";
3
3
 
4
4
  //#region src/Input/InputNumber.d.ts
5
- declare const InputNumber: react112.NamedExoticComponent<InputNumberProps>;
5
+ declare const InputNumber: react135.NamedExoticComponent<InputNumberProps>;
6
6
  //#endregion
7
7
  export { InputNumber };
8
8
  //# sourceMappingURL=InputNumber.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { InputOPTProps } from "./type.mjs";
2
- import * as react113 from "react";
2
+ import * as react136 from "react";
3
3
 
4
4
  //#region src/Input/InputOPT.d.ts
5
- declare const InputOPT: react113.NamedExoticComponent<InputOPTProps>;
5
+ declare const InputOPT: react136.NamedExoticComponent<InputOPTProps>;
6
6
  //#endregion
7
7
  export { InputOPT };
8
8
  //# sourceMappingURL=InputOPT.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { InputPasswordProps } from "./type.mjs";
2
- import * as react114 from "react";
2
+ import * as react137 from "react";
3
3
 
4
4
  //#region src/Input/InputPassword.d.ts
5
- declare const InputPassword: react114.NamedExoticComponent<InputPasswordProps>;
5
+ declare const InputPassword: react137.NamedExoticComponent<InputPasswordProps>;
6
6
  //#endregion
7
7
  export { InputPassword };
8
8
  //# sourceMappingURL=InputPassword.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { TextAreaProps } from "./type.mjs";
2
- import * as react115 from "react";
2
+ import * as react138 from "react";
3
3
 
4
4
  //#region src/Input/TextArea.d.ts
5
- declare const TextArea: react115.NamedExoticComponent<TextAreaProps>;
5
+ declare const TextArea: react138.NamedExoticComponent<TextAreaProps>;
6
6
  //#endregion
7
7
  export { TextArea };
8
8
  //# sourceMappingURL=TextArea.d.mts.map
@@ -1,9 +1,9 @@
1
1
  import { DivProps } from "../../types/index.mjs";
2
2
  import "../../index.mjs";
3
- import * as react57 from "react";
3
+ import * as react29 from "react";
4
4
 
5
5
  //#region src/Layout/components/LayoutFooter.d.ts
6
- declare const LayoutFooter: react57.NamedExoticComponent<DivProps>;
6
+ declare const LayoutFooter: react29.NamedExoticComponent<DivProps>;
7
7
  //#endregion
8
8
  export { LayoutFooter };
9
9
  //# sourceMappingURL=LayoutFooter.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { LayoutHeaderProps } from "../type.mjs";
2
- import * as react58 from "react";
2
+ import * as react28 from "react";
3
3
 
4
4
  //#region src/Layout/components/LayoutHeader.d.ts
5
- declare const LayoutHeader: react58.NamedExoticComponent<LayoutHeaderProps>;
5
+ declare const LayoutHeader: react28.NamedExoticComponent<LayoutHeaderProps>;
6
6
  //#endregion
7
7
  export { LayoutHeader };
8
8
  //# sourceMappingURL=LayoutHeader.d.mts.map
@@ -1,9 +1,9 @@
1
1
  import { DivProps } from "../../types/index.mjs";
2
2
  import "../../index.mjs";
3
- import * as react56 from "react";
3
+ import * as react31 from "react";
4
4
 
5
5
  //#region src/Layout/components/LayoutMain.d.ts
6
- declare const LayoutMain: react56.NamedExoticComponent<DivProps>;
6
+ declare const LayoutMain: react31.NamedExoticComponent<DivProps>;
7
7
  //#endregion
8
8
  export { LayoutMain };
9
9
  //# sourceMappingURL=LayoutMain.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { LayoutSidebarProps } from "../type.mjs";
2
- import * as react60 from "react";
2
+ import * as react30 from "react";
3
3
 
4
4
  //#region src/Layout/components/LayoutSidebar.d.ts
5
- declare const LayoutSidebar: react60.NamedExoticComponent<LayoutSidebarProps>;
5
+ declare const LayoutSidebar: react30.NamedExoticComponent<LayoutSidebarProps>;
6
6
  //#endregion
7
7
  export { LayoutSidebar };
8
8
  //# sourceMappingURL=LayoutSidebar.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { LayoutSidebarInnerProps } from "../type.mjs";
2
- import * as react61 from "react";
2
+ import * as react32 from "react";
3
3
 
4
4
  //#region src/Layout/components/LayoutSidebarInner.d.ts
5
- declare const LayoutSidebarInner: react61.NamedExoticComponent<LayoutSidebarInnerProps>;
5
+ declare const LayoutSidebarInner: react32.NamedExoticComponent<LayoutSidebarInnerProps>;
6
6
  //#endregion
7
7
  export { LayoutSidebarInner };
8
8
  //# sourceMappingURL=LayoutSidebarInner.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { LayoutTocProps } from "../type.mjs";
2
- import * as react59 from "react";
2
+ import * as react33 from "react";
3
3
 
4
4
  //#region src/Layout/components/LayoutToc.d.ts
5
- declare const LayoutToc: react59.NamedExoticComponent<LayoutTocProps>;
5
+ declare const LayoutToc: react33.NamedExoticComponent<LayoutTocProps>;
6
6
  //#endregion
7
7
  export { LayoutToc };
8
8
  //# sourceMappingURL=LayoutToc.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { ListItemProps } from "../type.mjs";
2
- import * as react72 from "react";
2
+ import * as react27 from "react";
3
3
 
4
4
  //#region src/List/ListItem/index.d.ts
5
- declare const ListItem: react72.NamedExoticComponent<ListItemProps>;
5
+ declare const ListItem: react27.NamedExoticComponent<ListItemProps>;
6
6
  //#endregion
7
7
  export { ListItem };
8
8
  //# sourceMappingURL=index.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { MarkdownProps } from "./type.mjs";
2
- import * as react30 from "react";
2
+ import * as react26 from "react";
3
3
 
4
4
  //#region src/Markdown/Markdown.d.ts
5
- declare const Markdown: react30.NamedExoticComponent<MarkdownProps>;
5
+ declare const Markdown: react26.NamedExoticComponent<MarkdownProps>;
6
6
  //#endregion
7
7
  export { Markdown };
8
8
  //# sourceMappingURL=Markdown.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { TypographyProps } from "./type.mjs";
2
- import * as react29 from "react";
2
+ import * as react25 from "react";
3
3
 
4
4
  //#region src/Markdown/Typography.d.ts
5
- declare const Typography: react29.NamedExoticComponent<TypographyProps>;
5
+ declare const Typography: react25.NamedExoticComponent<TypographyProps>;
6
6
  //#endregion
7
7
  export { Typography };
8
8
  //# sourceMappingURL=Typography.d.mts.map
@@ -1,6 +1,6 @@
1
1
  import { FlexboxProps } from "../../../Flex/type.mjs";
2
2
  import "../../../Flex/index.mjs";
3
- import * as react26 from "react";
3
+ import * as react68 from "react";
4
4
  import { Ref } from "react";
5
5
 
6
6
  //#region src/Markdown/components/SearchResultCards/index.d.ts
@@ -14,7 +14,7 @@ interface SearchResultCardsProps extends FlexboxProps {
14
14
  dataSource: string[] | SearchResultItem[];
15
15
  ref?: Ref<HTMLDivElement>;
16
16
  }
17
- declare const SearchResultCards: react26.NamedExoticComponent<SearchResultCardsProps>;
17
+ declare const SearchResultCards: react68.NamedExoticComponent<SearchResultCardsProps>;
18
18
  //#endregion
19
19
  export { SearchResultCards, SearchResultCardsProps };
20
20
  //# sourceMappingURL=index.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { MaskShadowProps } from "./type.mjs";
2
- import * as react32 from "react";
2
+ import * as react24 from "react";
3
3
 
4
4
  //#region src/MaskShadow/MaskShadow.d.ts
5
- declare const MaskShadow: react32.NamedExoticComponent<MaskShadowProps>;
5
+ declare const MaskShadow: react24.NamedExoticComponent<MaskShadowProps>;
6
6
  //#endregion
7
7
  export { MaskShadow };
8
8
  //# sourceMappingURL=MaskShadow.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { MenuProps } from "./type.mjs";
2
- import * as react40 from "react";
2
+ import * as react18 from "react";
3
3
 
4
4
  //#region src/Menu/Menu.d.ts
5
- declare const Menu: react40.NamedExoticComponent<MenuProps<unknown>>;
5
+ declare const Menu: react18.NamedExoticComponent<MenuProps<unknown>>;
6
6
  //#endregion
7
7
  export { Menu };
8
8
  //# sourceMappingURL=Menu.d.mts.map
@@ -0,0 +1,15 @@
1
+ import { MenuCheckboxItemType } from "./checkboxItem.mjs";
2
+ import { GenericItemType } from "./type.mjs";
3
+
4
+ //#region src/Menu/baseItem.d.ts
5
+
6
+ /**
7
+ * Base item union for Base UI driven menus (DropdownMenu / ContextMenu).
8
+ *
9
+ * Note: This intentionally does NOT change `GenericItemType` itself,
10
+ * because `GenericItemType` maps to rc-menu/antd Menu item types.
11
+ */
12
+ type BaseMenuItemType<T = unknown> = GenericItemType<T> | MenuCheckboxItemType;
13
+ //#endregion
14
+ export { BaseMenuItemType };
15
+ //# sourceMappingURL=baseItem.d.mts.map
@@ -0,0 +1,27 @@
1
+ import { IconProps } from "../Icon/type.mjs";
2
+ import "../Icon/index.mjs";
3
+ import { Key, ReactNode } from "react";
4
+
5
+ //#region src/Menu/checkboxItem.d.ts
6
+
7
+ /**
8
+ * Checkbox menu item shared by DropdownMenu / ContextMenu.
9
+ * This is intentionally aligned with Base UI's `Menu.CheckboxItem` API we use.
10
+ */
11
+ interface MenuCheckboxItemType {
12
+ checked?: boolean;
13
+ closeOnClick?: boolean;
14
+ danger?: boolean;
15
+ defaultChecked?: boolean;
16
+ disabled?: boolean;
17
+ extra?: ReactNode;
18
+ icon?: IconProps['icon'];
19
+ key: Key;
20
+ label?: ReactNode;
21
+ onCheckedChange?: (checked: boolean) => void;
22
+ title?: ReactNode;
23
+ type: 'checkbox';
24
+ }
25
+ //#endregion
26
+ export { MenuCheckboxItemType };
27
+ //# sourceMappingURL=checkboxItem.d.mts.map
@@ -1,4 +1,6 @@
1
+ import { MenuCheckboxItemType } from "./checkboxItem.mjs";
1
2
  import { GenericItemType, ItemType, MenuDividerType, MenuInfo, MenuItemGroupType, MenuItemType, MenuProps, SubMenuType } from "./type.mjs";
3
+ import { BaseMenuItemType } from "./baseItem.mjs";
2
4
  import { Menu } from "./Menu.mjs";
3
5
  import { mapItems } from "./utils.mjs";
4
- export { GenericItemType, ItemType, MenuDividerType, MenuInfo, MenuItemGroupType, MenuItemType, MenuProps, SubMenuType, Menu as default, mapItems };
6
+ export { type BaseMenuItemType, GenericItemType, ItemType, type MenuCheckboxItemType, MenuDividerType, MenuInfo, MenuItemGroupType, MenuItemType, MenuProps, SubMenuType, Menu as default, mapItems };
@@ -1,8 +1,8 @@
1
1
  import { MermaidProps } from "./type.mjs";
2
- import * as react38 from "react";
2
+ import * as react19 from "react";
3
3
 
4
4
  //#region src/Mermaid/Mermaid.d.ts
5
- declare const Mermaid: react38.NamedExoticComponent<MermaidProps>;
5
+ declare const Mermaid: react19.NamedExoticComponent<MermaidProps>;
6
6
  //#endregion
7
7
  export { Mermaid };
8
8
  //# sourceMappingURL=Mermaid.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { SyntaxMermaidProps } from "../type.mjs";
2
- import * as react39 from "react";
2
+ import * as react20 from "react";
3
3
 
4
4
  //#region src/Mermaid/SyntaxMermaid/index.d.ts
5
- declare const SyntaxMermaid: react39.NamedExoticComponent<SyntaxMermaidProps>;
5
+ declare const SyntaxMermaid: react20.NamedExoticComponent<SyntaxMermaidProps>;
6
6
  //#endregion
7
7
  export { SyntaxMermaid };
8
8
  //# sourceMappingURL=index.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { ModalProps } from "./type.mjs";
2
- import * as react35 from "react";
2
+ import * as react21 from "react";
3
3
 
4
4
  //#region src/Modal/Modal.d.ts
5
- declare const Modal: react35.NamedExoticComponent<ModalProps>;
5
+ declare const Modal: react21.NamedExoticComponent<ModalProps>;
6
6
  //#endregion
7
7
  export { Modal };
8
8
  //# sourceMappingURL=Modal.d.mts.map
@@ -1,9 +1,9 @@
1
1
  import { ModalContextValue } from "./type.mjs";
2
- import * as react36 from "react";
2
+ import * as react22 from "react";
3
3
  import { ReactNode } from "react";
4
4
 
5
5
  //#region src/Modal/ModalProvider.d.ts
6
- declare const ModalProvider: react36.NamedExoticComponent<{
6
+ declare const ModalProvider: react22.NamedExoticComponent<{
7
7
  children: ReactNode;
8
8
  value: ModalContextValue;
9
9
  }>;
@@ -1,9 +1,10 @@
1
1
  'use client';
2
2
 
3
3
  import { useIsClient } from "../hooks/useIsClient.mjs";
4
+ import { registerDevSingleton } from "../utils/devSingleton.mjs";
4
5
  import { ModalStackItem } from "./ModalStackItem.mjs";
5
6
  import { RawModalStackItem } from "./RawModalStackItem.mjs";
6
- import { memo, useState, useSyncExternalStore } from "react";
7
+ import { memo, useEffect, useState, useSyncExternalStore } from "react";
7
8
  import { jsx } from "react/jsx-runtime";
8
9
  import { createPortal } from "react-dom";
9
10
 
@@ -153,7 +154,12 @@ const ModalStack = memo(({ stack }) => {
153
154
  ModalStack.displayName = "ModalStack";
154
155
  const ModalHost = ({ root }) => {
155
156
  const stack = useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
156
- if (!useIsClient()) return null;
157
+ const isClient = useIsClient();
158
+ useEffect(() => {
159
+ if (!isClient) return;
160
+ return registerDevSingleton("ModalHost", root ?? document.body);
161
+ }, [isClient, root]);
162
+ if (!isClient) return null;
157
163
  if (stack.length === 0) return null;
158
164
  return /* @__PURE__ */ jsx(ModalPortal, {
159
165
  root,