@lobehub/ui 4.27.2 → 4.27.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/es/Accordion/Accordion.d.mts +2 -2
  2. package/es/Accordion/AccordionItem.d.mts +2 -2
  3. package/es/ActionIcon/ActionIcon.d.mts +2 -2
  4. package/es/Alert/Alert.d.mts +2 -2
  5. package/es/AutoComplete/Select.d.mts +2 -2
  6. package/es/Avatar/Avatar.mjs +4 -5
  7. package/es/Avatar/Avatar.mjs.map +1 -1
  8. package/es/Avatar/AvatarGroup/index.d.mts +2 -2
  9. package/es/Burger/Burger.d.mts +2 -2
  10. package/es/CodeDiff/CodeDiff.d.mts +2 -2
  11. package/es/CodeDiff/PatchDiff.d.mts +2 -2
  12. package/es/CodeEditor/CodeEditor.d.mts +2 -2
  13. package/es/Collapse/Collapse.d.mts +2 -2
  14. package/es/ColorSwatches/ColorSwatches.mjs +3 -4
  15. package/es/ColorSwatches/ColorSwatches.mjs.map +1 -1
  16. package/es/ConfigProvider/index.d.mts +2 -2
  17. package/es/ContextMenu/ContextMenuHost.d.mts +2 -2
  18. package/es/CopyButton/CopyButton.d.mts +2 -2
  19. package/es/DatePicker/DatePicker.d.mts +2 -2
  20. package/es/DraggablePanel/components/DraggablePanelBody.d.mts +2 -2
  21. package/es/DraggablePanel/components/DraggablePanelContainer.d.mts +2 -2
  22. package/es/DraggablePanel/components/DraggablePanelFooter.d.mts +2 -2
  23. package/es/DraggablePanel/components/DraggablePanelHeader.d.mts +2 -2
  24. package/es/DraggableSideNav/DraggableSideNav.d.mts +2 -2
  25. package/es/Drawer/Drawer.d.mts +2 -2
  26. package/es/Dropdown/Dropdown.d.mts +2 -2
  27. package/es/DropdownMenu/DropdownMenu.d.mts +2 -2
  28. package/es/DropdownMenu/atoms.d.mts +16 -16
  29. package/es/EditableText/EditableText.d.mts +2 -2
  30. package/es/EditorSlashMenu/atoms.d.mts +12 -12
  31. package/es/EmojiPicker/EmojiPicker.d.mts +2 -2
  32. package/es/Flex/FlexBasic.d.mts +2 -2
  33. package/es/FontLoader/index.d.mts +2 -2
  34. package/es/Footer/Footer.d.mts +2 -2
  35. package/es/Form/components/FormGroup.d.mts +2 -2
  36. package/es/Form/components/FormItem.d.mts +2 -2
  37. package/es/Form/components/FormSubmitFooter.d.mts +2 -2
  38. package/es/FormModal/FormModal.d.mts +2 -2
  39. package/es/GuideCard/GuideCard.d.mts +2 -2
  40. package/es/Header/Header.d.mts +2 -2
  41. package/es/Highlighter/Highlighter.d.mts +2 -2
  42. package/es/Highlighter/SyntaxHighlighter/index.d.mts +2 -2
  43. package/es/Hotkey/Hotkey.d.mts +2 -2
  44. package/es/HotkeyInput/HotkeyInput.d.mts +2 -2
  45. package/es/Icon/Icon.d.mts +2 -2
  46. package/es/Icon/components/IconProvider.d.mts +3 -3
  47. package/es/Image/PreviewGroup.d.mts +2 -2
  48. package/es/ImageSelect/ImageSelect.d.mts +2 -2
  49. package/es/Input/Input.d.mts +2 -2
  50. package/es/Input/InputNumber.d.mts +2 -2
  51. package/es/Input/InputOPT.d.mts +2 -2
  52. package/es/Input/InputPassword.d.mts +2 -2
  53. package/es/Input/TextArea.d.mts +2 -2
  54. package/es/Layout/components/LayoutFooter.d.mts +2 -2
  55. package/es/Layout/components/LayoutHeader.d.mts +2 -2
  56. package/es/Layout/components/LayoutMain.d.mts +2 -2
  57. package/es/Layout/components/LayoutSidebar.d.mts +2 -2
  58. package/es/Layout/components/LayoutSidebarInner.d.mts +2 -2
  59. package/es/Layout/components/LayoutToc.d.mts +2 -2
  60. package/es/List/ListItem/index.d.mts +2 -2
  61. package/es/LobeSelect/LobeSelect.d.mts +2 -2
  62. package/es/LobeSelect/atoms.d.mts +19 -19
  63. package/es/LobeSwitch/LobeSwitch.d.mts +2 -2
  64. package/es/LobeSwitch/atoms.d.mts +4 -4
  65. package/es/Markdown/Markdown.d.mts +2 -2
  66. package/es/Markdown/Typography.d.mts +2 -2
  67. package/es/Markdown/components/SearchResultCards/index.d.mts +2 -2
  68. package/es/MaskShadow/MaskShadow.d.mts +2 -2
  69. package/es/Menu/Menu.d.mts +2 -2
  70. package/es/Mermaid/Mermaid.d.mts +2 -2
  71. package/es/Mermaid/SyntaxMermaid/index.d.mts +2 -2
  72. package/es/Modal/Modal.d.mts +2 -2
  73. package/es/Modal/ModalProvider.d.mts +2 -2
  74. package/es/Modal/ModalStackItem.mjs +28 -17
  75. package/es/Modal/ModalStackItem.mjs.map +1 -1
  76. package/es/Modal/RawModalStackItem.mjs +8 -6
  77. package/es/Modal/RawModalStackItem.mjs.map +1 -1
  78. package/es/Modal/imperative.d.mts +2 -2
  79. package/es/MotionProvider/index.d.mts +2 -2
  80. package/es/Popover/ArrowIcon.d.mts +2 -2
  81. package/es/Popover/atoms.d.mts +9 -9
  82. package/es/Popover/context.d.mts +2 -2
  83. package/es/SearchBar/SearchBar.d.mts +2 -2
  84. package/es/Segmented/Segmented.d.mts +2 -2
  85. package/es/Select/Select.d.mts +2 -2
  86. package/es/SideNav/SideNav.d.mts +2 -2
  87. package/es/Skeleton/SkeletonTags.mjs +2 -3
  88. package/es/Skeleton/SkeletonTags.mjs.map +1 -1
  89. package/es/Skeleton/SkeletonTitle.mjs +6 -7
  90. package/es/Skeleton/SkeletonTitle.mjs.map +1 -1
  91. package/es/SliderWithInput/SliderWithInput.d.mts +2 -2
  92. package/es/SortableList/components/DragHandle.d.mts +2 -2
  93. package/es/SortableList/components/SortableItem.d.mts +2 -2
  94. package/es/ThemeProvider/ThemeProvider.d.mts +2 -2
  95. package/es/Toast/imperative.d.mts +3 -3
  96. package/es/Toc/Toc.d.mts +2 -2
  97. package/es/Video/index.d.mts +2 -2
  98. package/es/awesome/AuroraBackground/AuroraBackground.d.mts +2 -2
  99. package/es/awesome/BottomGradientButton/BottomGradientButton.d.mts +2 -2
  100. package/es/awesome/Features/Features.d.mts +2 -2
  101. package/es/awesome/Giscus/Giscus.d.mts +2 -2
  102. package/es/awesome/GradientButton/GradientButton.d.mts +2 -2
  103. package/es/awesome/GridBackground/GridBackground.d.mts +2 -2
  104. package/es/awesome/GridBackground/GridShowcase.d.mts +2 -2
  105. package/es/awesome/Hero/Hero.d.mts +2 -2
  106. package/es/awesome/Spline/Spine.d.mts +2 -2
  107. package/es/awesome/Spotlight/Spotlight.d.mts +2 -2
  108. package/es/awesome/SpotlightCard/SpotlightCard.d.mts +2 -2
  109. package/es/awesome/TypewriterEffect/TypewriterEffect.d.mts +2 -2
  110. package/es/brand/LobeChat/index.d.mts +2 -2
  111. package/es/brand/LobeHub/index.d.mts +2 -2
  112. package/es/brand/LogoThree/LogoSpline.d.mts +2 -2
  113. package/es/brand/LogoThree/index.d.mts +2 -2
  114. package/es/chat/BackBottom/BackBottom.d.mts +2 -2
  115. package/es/chat/ChatInputArea/components/ChatInputAreaInner.d.mts +2 -2
  116. package/es/chat/ChatItem/ChatItem.d.mts +2 -2
  117. package/es/chat/ChatList/ChatList.d.mts +2 -2
  118. package/es/chat/EditableMessage/EditableMessage.d.mts +2 -2
  119. package/es/chat/EditableMessageList/EditableMessageList.d.mts +2 -2
  120. package/es/chat/MessageInput/MessageInput.d.mts +2 -2
  121. package/es/chat/MessageModal/MessageModal.d.mts +2 -2
  122. package/es/color/ColorScales/index.d.mts +2 -2
  123. package/es/color/CssVar/index.d.mts +2 -2
  124. package/es/hooks/useEventCallback.mjs +16 -0
  125. package/es/hooks/useEventCallback.mjs.map +1 -0
  126. package/es/i18n/context.d.mts +2 -2
  127. package/es/icons/lucideExtra/BotPromptIcon.d.mts +2 -2
  128. package/es/icons/lucideExtra/CreateBotIcon.d.mts +3 -3
  129. package/es/icons/lucideExtra/DiscordIcon.d.mts +2 -2
  130. package/es/icons/lucideExtra/GlobeOffIcon.d.mts +3 -3
  131. package/es/icons/lucideExtra/GroupBotIcon.d.mts +3 -3
  132. package/es/icons/lucideExtra/GroupBotSquareIcon.d.mts +3 -3
  133. package/es/icons/lucideExtra/LeftClickIcon.d.mts +3 -3
  134. package/es/icons/lucideExtra/LeftDoubleClickIcon.d.mts +3 -3
  135. package/es/icons/lucideExtra/McpIcon.d.mts +3 -3
  136. package/es/icons/lucideExtra/ProviderIcon.d.mts +3 -3
  137. package/es/icons/lucideExtra/RightClickIcon.d.mts +3 -3
  138. package/es/icons/lucideExtra/RightDoubleClickIcon.d.mts +3 -3
  139. package/es/icons/lucideExtra/ShapesUploadIcon.d.mts +3 -3
  140. package/es/icons/lucideExtra/TreeDownRightIcon.d.mts +2 -2
  141. package/es/icons/lucideExtra/TreeUpDownRightIcon.d.mts +3 -3
  142. package/es/mdx/Mdx/index.d.mts +2 -2
  143. package/es/mobile/ChatHeader/ChatHeaderTitle.d.mts +2 -2
  144. package/es/mobile/ChatInputArea/components/ChatSendButton.d.mts +2 -2
  145. package/es/mobile/TabBar/TabBar.d.mts +2 -2
  146. package/es/storybook/StoryBook/index.d.mts +2 -2
  147. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { FlexboxProps } from "../Flex/type.mjs";
2
2
  import "../Flex/index.mjs";
3
3
  import { VideoProps as VideoProps$1 } from "../types/index.mjs";
4
- import * as react8 from "react";
4
+ import * as react87 from "react";
5
5
  import { CSSProperties, Ref } from "react";
6
6
 
7
7
  //#region src/Video/index.d.ts
@@ -39,7 +39,7 @@ interface VideoProps extends VideoProps$1, Pick<FlexboxProps, 'width' | 'height'
39
39
  };
40
40
  variant?: 'borderless' | 'filled' | 'outlined';
41
41
  }
42
- declare const Video: react8.NamedExoticComponent<VideoProps>;
42
+ declare const Video: react87.NamedExoticComponent<VideoProps>;
43
43
  //#endregion
44
44
  export { Video, VideoProps };
45
45
  //# sourceMappingURL=index.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { AuroraBackgroundProps } from "./type.mjs";
2
- import * as react144 from "react";
2
+ import * as react137 from "react";
3
3
 
4
4
  //#region src/awesome/AuroraBackground/AuroraBackground.d.ts
5
- declare const AuroraBackground: react144.NamedExoticComponent<AuroraBackgroundProps>;
5
+ declare const AuroraBackground: react137.NamedExoticComponent<AuroraBackgroundProps>;
6
6
  //#endregion
7
7
  export { AuroraBackground };
8
8
  //# sourceMappingURL=AuroraBackground.d.mts.map
@@ -1,9 +1,9 @@
1
1
  import { ButtonProps } from "../../Button/type.mjs";
2
2
  import "../../Button/index.mjs";
3
- import * as react145 from "react";
3
+ import * as react138 from "react";
4
4
 
5
5
  //#region src/awesome/BottomGradientButton/BottomGradientButton.d.ts
6
- declare const BottomGradientButton: react145.NamedExoticComponent<ButtonProps>;
6
+ declare const BottomGradientButton: react138.NamedExoticComponent<ButtonProps>;
7
7
  //#endregion
8
8
  export { BottomGradientButton };
9
9
  //# sourceMappingURL=BottomGradientButton.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { FeaturesProps } from "./type.mjs";
2
- import * as react146 from "react";
2
+ import * as react139 from "react";
3
3
 
4
4
  //#region src/awesome/Features/Features.d.ts
5
- declare const Features: react146.NamedExoticComponent<FeaturesProps>;
5
+ declare const Features: react139.NamedExoticComponent<FeaturesProps>;
6
6
  //#endregion
7
7
  export { Features };
8
8
  //# sourceMappingURL=Features.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { GiscusProps } from "./type.mjs";
2
- import * as react147 from "react";
2
+ import * as react141 from "react";
3
3
 
4
4
  //#region src/awesome/Giscus/Giscus.d.ts
5
- declare const Giscus: react147.NamedExoticComponent<GiscusProps>;
5
+ declare const Giscus: react141.NamedExoticComponent<GiscusProps>;
6
6
  //#endregion
7
7
  export { Giscus };
8
8
  //# sourceMappingURL=Giscus.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { GradientButtonProps } from "./type.mjs";
2
- import * as react148 from "react";
2
+ import * as react140 from "react";
3
3
 
4
4
  //#region src/awesome/GradientButton/GradientButton.d.ts
5
- declare const GradientButton: react148.NamedExoticComponent<GradientButtonProps>;
5
+ declare const GradientButton: react140.NamedExoticComponent<GradientButtonProps>;
6
6
  //#endregion
7
7
  export { GradientButton };
8
8
  //# sourceMappingURL=GradientButton.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { GridBackgroundProps } from "./type.mjs";
2
- import * as react152 from "react";
2
+ import * as react142 from "react";
3
3
 
4
4
  //#region src/awesome/GridBackground/GridBackground.d.ts
5
- declare const GridBackground: react152.NamedExoticComponent<GridBackgroundProps>;
5
+ declare const GridBackground: react142.NamedExoticComponent<GridBackgroundProps>;
6
6
  //#endregion
7
7
  export { GridBackground };
8
8
  //# sourceMappingURL=GridBackground.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { GridShowcaseProps } from "./type.mjs";
2
- import * as react153 from "react";
2
+ import * as react143 from "react";
3
3
 
4
4
  //#region src/awesome/GridBackground/GridShowcase.d.ts
5
- declare const GridShowcase: react153.NamedExoticComponent<GridShowcaseProps>;
5
+ declare const GridShowcase: react143.NamedExoticComponent<GridShowcaseProps>;
6
6
  //#endregion
7
7
  export { GridShowcase };
8
8
  //# sourceMappingURL=GridShowcase.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { HeroProps } from "./type.mjs";
2
- import * as react154 from "react";
2
+ import * as react145 from "react";
3
3
 
4
4
  //#region src/awesome/Hero/Hero.d.ts
5
- declare const Hero: react154.NamedExoticComponent<HeroProps>;
5
+ declare const Hero: react145.NamedExoticComponent<HeroProps>;
6
6
  //#endregion
7
7
  export { Hero };
8
8
  //# sourceMappingURL=Hero.d.mts.map
@@ -1,9 +1,9 @@
1
1
  import { SplineProps } from "./type.mjs";
2
- import * as react151 from "react";
2
+ import * as react147 from "react";
3
3
  import "@splinetool/runtime";
4
4
 
5
5
  //#region src/awesome/Spline/Spine.d.ts
6
- declare const Spline: react151.NamedExoticComponent<SplineProps>;
6
+ declare const Spline: react147.NamedExoticComponent<SplineProps>;
7
7
  //#endregion
8
8
  export { Spline };
9
9
  //# sourceMappingURL=Spine.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { SpotlightProps } from "./type.mjs";
2
- import * as react149 from "react";
2
+ import * as react146 from "react";
3
3
 
4
4
  //#region src/awesome/Spotlight/Spotlight.d.ts
5
- declare const Spotlight: react149.NamedExoticComponent<SpotlightProps>;
5
+ declare const Spotlight: react146.NamedExoticComponent<SpotlightProps>;
6
6
  //#endregion
7
7
  export { Spotlight };
8
8
  //# sourceMappingURL=Spotlight.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { SpotlightCardProps } from "./type.mjs";
2
- import * as react150 from "react";
2
+ import * as react148 from "react";
3
3
 
4
4
  //#region src/awesome/SpotlightCard/SpotlightCard.d.ts
5
- declare const SpotlightCard: react150.NamedExoticComponent<SpotlightCardProps<any>>;
5
+ declare const SpotlightCard: react148.NamedExoticComponent<SpotlightCardProps<any>>;
6
6
  //#endregion
7
7
  export { SpotlightCard };
8
8
  //# sourceMappingURL=SpotlightCard.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { TypewriterEffectProps } from "./type.mjs";
2
- import * as react143 from "react";
2
+ import * as react144 from "react";
3
3
 
4
4
  //#region src/awesome/TypewriterEffect/TypewriterEffect.d.ts
5
- declare const TypewriterEffect: react143.NamedExoticComponent<TypewriterEffectProps>;
5
+ declare const TypewriterEffect: react144.NamedExoticComponent<TypewriterEffectProps>;
6
6
  //#endregion
7
7
  export { TypewriterEffect };
8
8
  //# sourceMappingURL=TypewriterEffect.d.mts.map
@@ -1,5 +1,5 @@
1
1
  import { DivProps } from "../../types/index.mjs";
2
- import * as react70 from "react";
2
+ import * as react63 from "react";
3
3
  import { ReactNode } from "react";
4
4
 
5
5
  //#region src/brand/LobeChat/index.d.ts
@@ -8,7 +8,7 @@ interface LobeChatProps extends DivProps {
8
8
  size?: number;
9
9
  type?: '3d' | 'flat' | 'mono' | 'text' | 'combine';
10
10
  }
11
- declare const LobeChat: react70.NamedExoticComponent<LobeChatProps>;
11
+ declare const LobeChat: react63.NamedExoticComponent<LobeChatProps>;
12
12
  //#endregion
13
13
  export { LobeChat, LobeChatProps };
14
14
  //# sourceMappingURL=index.d.mts.map
@@ -1,5 +1,5 @@
1
1
  import { DivProps } from "../../types/index.mjs";
2
- import * as react69 from "react";
2
+ import * as react64 from "react";
3
3
  import { ReactNode } from "react";
4
4
 
5
5
  //#region src/brand/LobeHub/index.d.ts
@@ -8,7 +8,7 @@ interface LobeHubProps extends DivProps {
8
8
  size?: number;
9
9
  type?: '3d' | 'flat' | 'mono' | 'text' | 'combine';
10
10
  }
11
- declare const LobeHub: react69.NamedExoticComponent<LobeHubProps>;
11
+ declare const LobeHub: react64.NamedExoticComponent<LobeHubProps>;
12
12
  //#endregion
13
13
  export { LobeHub, LobeHubProps };
14
14
  //# sourceMappingURL=index.d.mts.map
@@ -1,6 +1,6 @@
1
1
  import { SplineProps } from "../../awesome/Spline/type.mjs";
2
2
  import "../../awesome/Spline/index.mjs";
3
- import * as react71 from "react";
3
+ import * as react62 from "react";
4
4
  import { CSSProperties } from "react";
5
5
 
6
6
  //#region src/brand/LogoThree/LogoSpline.d.ts
@@ -10,7 +10,7 @@ interface LogoSplineProps extends Partial<SplineProps> {
10
10
  style?: CSSProperties;
11
11
  width?: number | string;
12
12
  }
13
- declare const LogoSpline: react71.NamedExoticComponent<LogoSplineProps>;
13
+ declare const LogoSpline: react62.NamedExoticComponent<LogoSplineProps>;
14
14
  //#endregion
15
15
  export { LogoSpline, LogoSplineProps };
16
16
  //# sourceMappingURL=LogoSpline.d.mts.map
@@ -1,6 +1,6 @@
1
1
  import { SplineProps } from "../../awesome/Spline/type.mjs";
2
2
  import "../../awesome/Spline/index.mjs";
3
- import * as react72 from "react";
3
+ import * as react65 from "react";
4
4
  import { CSSProperties } from "react";
5
5
 
6
6
  //#region src/brand/LogoThree/index.d.ts
@@ -9,7 +9,7 @@ interface LogoThreeProps extends Partial<SplineProps> {
9
9
  size?: number;
10
10
  style?: CSSProperties;
11
11
  }
12
- declare const LogoThree: react72.NamedExoticComponent<LogoThreeProps>;
12
+ declare const LogoThree: react65.NamedExoticComponent<LogoThreeProps>;
13
13
  //#endregion
14
14
  export { LogoThree, LogoThreeProps };
15
15
  //# sourceMappingURL=index.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { BackBottomProps } from "./type.mjs";
2
- import * as react138 from "react";
2
+ import * as react130 from "react";
3
3
 
4
4
  //#region src/chat/BackBottom/BackBottom.d.ts
5
- declare const BackBottom: react138.NamedExoticComponent<BackBottomProps>;
5
+ declare const BackBottom: react130.NamedExoticComponent<BackBottomProps>;
6
6
  //#endregion
7
7
  export { BackBottom };
8
8
  //# sourceMappingURL=BackBottom.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { ChatInputAreaInnerProps } from "../type.mjs";
2
- import * as react136 from "react";
2
+ import * as react129 from "react";
3
3
 
4
4
  //#region src/chat/ChatInputArea/components/ChatInputAreaInner.d.ts
5
- declare const ChatInputAreaInner: react136.NamedExoticComponent<ChatInputAreaInnerProps>;
5
+ declare const ChatInputAreaInner: react129.NamedExoticComponent<ChatInputAreaInnerProps>;
6
6
  //#endregion
7
7
  export { ChatInputAreaInner };
8
8
  //# sourceMappingURL=ChatInputAreaInner.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { ChatItemProps } from "./type.mjs";
2
- import * as react137 from "react";
2
+ import * as react132 from "react";
3
3
 
4
4
  //#region src/chat/ChatItem/ChatItem.d.ts
5
- declare const ChatItem: react137.NamedExoticComponent<ChatItemProps>;
5
+ declare const ChatItem: react132.NamedExoticComponent<ChatItemProps>;
6
6
  //#endregion
7
7
  export { ChatItem };
8
8
  //# sourceMappingURL=ChatItem.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { ChatListProps } from "./type.mjs";
2
- import * as react135 from "react";
2
+ import * as react134 from "react";
3
3
 
4
4
  //#region src/chat/ChatList/ChatList.d.ts
5
- declare const ChatList: react135.NamedExoticComponent<ChatListProps>;
5
+ declare const ChatList: react134.NamedExoticComponent<ChatListProps>;
6
6
  //#endregion
7
7
  export { ChatList };
8
8
  //# sourceMappingURL=ChatList.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { EditableMessageProps } from "./type.mjs";
2
- import * as react139 from "react";
2
+ import * as react135 from "react";
3
3
 
4
4
  //#region src/chat/EditableMessage/EditableMessage.d.ts
5
- declare const EditableMessage: react139.NamedExoticComponent<EditableMessageProps>;
5
+ declare const EditableMessage: react135.NamedExoticComponent<EditableMessageProps>;
6
6
  //#endregion
7
7
  export { EditableMessage };
8
8
  //# sourceMappingURL=EditableMessage.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { EditableMessageListProps } from "./type.mjs";
2
- import * as react141 from "react";
2
+ import * as react131 from "react";
3
3
 
4
4
  //#region src/chat/EditableMessageList/EditableMessageList.d.ts
5
- declare const EditableMessageList: react141.NamedExoticComponent<EditableMessageListProps>;
5
+ declare const EditableMessageList: react131.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 react142 from "react";
2
+ import * as react133 from "react";
3
3
 
4
4
  //#region src/chat/MessageInput/MessageInput.d.ts
5
- declare const MessageInput: react142.NamedExoticComponent<MessageInputProps>;
5
+ declare const MessageInput: react133.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 react140 from "react";
2
+ import * as react136 from "react";
3
3
 
4
4
  //#region src/chat/MessageModal/MessageModal.d.ts
5
- declare const MessageModal: react140.NamedExoticComponent<MessageModalProps>;
5
+ declare const MessageModal: react136.NamedExoticComponent<MessageModalProps>;
6
6
  //#endregion
7
7
  export { MessageModal };
8
8
  //# sourceMappingURL=MessageModal.d.mts.map
@@ -1,5 +1,5 @@
1
1
  import { ColorScaleItem } from "../types.mjs";
2
- import * as react67 from "react";
2
+ import * as react59 from "react";
3
3
 
4
4
  //#region src/color/ColorScales/index.d.ts
5
5
  interface ColorScalesProps {
@@ -16,7 +16,7 @@ interface ColorScalesProps {
16
16
  */
17
17
  scale: ColorScaleItem;
18
18
  }
19
- declare const ColorScales: react67.NamedExoticComponent<ColorScalesProps>;
19
+ declare const ColorScales: react59.NamedExoticComponent<ColorScalesProps>;
20
20
  //#endregion
21
21
  export { ColorScales, ColorScalesProps };
22
22
  //# sourceMappingURL=index.d.mts.map
@@ -1,5 +1,5 @@
1
1
  import { ColorScaleItem } from "../types.mjs";
2
- import * as react66 from "react";
2
+ import * as react60 from "react";
3
3
 
4
4
  //#region src/color/CssVar/index.d.ts
5
5
  interface ColorScalesProps {
@@ -16,7 +16,7 @@ interface ColorScalesProps {
16
16
  */
17
17
  scale: ColorScaleItem;
18
18
  }
19
- declare const ColorScales: react66.NamedExoticComponent<ColorScalesProps>;
19
+ declare const ColorScales: react60.NamedExoticComponent<ColorScalesProps>;
20
20
  //#endregion
21
21
  export { ColorScales };
22
22
  //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1,16 @@
1
+ import { useCallback, useLayoutEffect, useRef } from "react";
2
+
3
+ //#region src/hooks/useEventCallback.ts
4
+ function useEventCallback(fn) {
5
+ const ref = useRef(fn);
6
+ useLayoutEffect(() => {
7
+ ref.current = fn;
8
+ });
9
+ return useCallback((...args) => {
10
+ return ref.current(...args);
11
+ }, []);
12
+ }
13
+
14
+ //#endregion
15
+ export { useEventCallback };
16
+ //# sourceMappingURL=useEventCallback.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useEventCallback.mjs","names":[],"sources":["../../src/hooks/useEventCallback.ts"],"sourcesContent":["import { useCallback, useLayoutEffect, useRef } from 'react';\n\nexport function useEventCallback<T extends (...args: any[]) => any>(fn: T): T {\n const ref = useRef(fn);\n\n useLayoutEffect(() => {\n ref.current = fn;\n });\n\n return useCallback((...args: Parameters<T>) => {\n return ref.current(...args);\n }, []) as T;\n}\n"],"mappings":";;;AAEA,SAAgB,iBAAoD,IAAU;CAC5E,MAAM,MAAM,OAAO,GAAG;AAEtB,uBAAsB;AACpB,MAAI,UAAU;GACd;AAEF,QAAO,aAAa,GAAG,SAAwB;AAC7C,SAAO,IAAI,QAAQ,GAAG,KAAK;IAC1B,EAAE,CAAC"}
@@ -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 react74 from "react";
4
+ import * as react61 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: react74.NamedExoticComponent<I18nProviderProps>;
14
+ declare const I18nProvider: react61.NamedExoticComponent<I18nProviderProps>;
15
15
  //#endregion
16
16
  export { I18nProvider, I18nProviderProps };
17
17
  //# sourceMappingURL=context.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react98 from "react";
1
+ import * as react95 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: react98.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react98.RefAttributes<SVGSVGElement>>;
5
+ declare const BotPromptIcon: react95.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react95.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { BotPromptIcon };
8
8
  //# sourceMappingURL=BotPromptIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react96 from "react";
2
- import * as lucide_react0 from "lucide-react";
1
+ import * as react97 from "react";
2
+ import * as lucide_react1 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/CreateBotIcon.d.ts
5
- declare const CreateBotIcon: react96.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react96.RefAttributes<SVGSVGElement>>;
5
+ declare const CreateBotIcon: react97.ForwardRefExoticComponent<Omit<lucide_react1.LucideProps, "ref"> & react97.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { CreateBotIcon };
8
8
  //# sourceMappingURL=CreateBotIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react102 from "react";
1
+ import * as react99 from "react";
2
2
  import * as lucide_react2 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/DiscordIcon.d.ts
5
- declare const DiscordIcon: react102.ForwardRefExoticComponent<Omit<lucide_react2.LucideProps, "ref"> & react102.RefAttributes<SVGSVGElement>>;
5
+ declare const DiscordIcon: react99.ForwardRefExoticComponent<Omit<lucide_react2.LucideProps, "ref"> & react99.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { DiscordIcon };
8
8
  //# sourceMappingURL=DiscordIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react124 from "react";
2
- import * as lucide_react13 from "lucide-react";
1
+ import * as react101 from "react";
2
+ import * as lucide_react3 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/GlobeOffIcon.d.ts
5
- declare const GlobeOffIcon: react124.ForwardRefExoticComponent<Omit<lucide_react13.LucideProps, "ref"> & react124.RefAttributes<SVGSVGElement>>;
5
+ declare const GlobeOffIcon: react101.ForwardRefExoticComponent<Omit<lucide_react3.LucideProps, "ref"> & react101.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { GlobeOffIcon };
8
8
  //# sourceMappingURL=GlobeOffIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react116 from "react";
2
- import * as lucide_react9 from "lucide-react";
1
+ import * as react103 from "react";
2
+ import * as lucide_react4 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/GroupBotIcon.d.ts
5
- declare const GroupBotIcon: react116.ForwardRefExoticComponent<Omit<lucide_react9.LucideProps, "ref"> & react116.RefAttributes<SVGSVGElement>>;
5
+ declare const GroupBotIcon: react103.ForwardRefExoticComponent<Omit<lucide_react4.LucideProps, "ref"> & react103.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { GroupBotIcon };
8
8
  //# sourceMappingURL=GroupBotIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react120 from "react";
2
- import * as lucide_react11 from "lucide-react";
1
+ import * as react93 from "react";
2
+ import * as lucide_react0 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/GroupBotSquareIcon.d.ts
5
- declare const GroupBotSquareIcon: react120.ForwardRefExoticComponent<Omit<lucide_react11.LucideProps, "ref"> & react120.RefAttributes<SVGSVGElement>>;
5
+ declare const GroupBotSquareIcon: react93.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react93.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { GroupBotSquareIcon };
8
8
  //# sourceMappingURL=GroupBotSquareIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react100 from "react";
2
- import * as lucide_react1 from "lucide-react";
1
+ import * as react111 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: react100.ForwardRefExoticComponent<Omit<lucide_react1.LucideProps, "ref"> & react100.RefAttributes<SVGSVGElement>>;
5
+ declare const LeftClickIcon: react111.ForwardRefExoticComponent<Omit<lucide_react8.LucideProps, "ref"> & react111.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { LeftClickIcon };
8
8
  //# sourceMappingURL=LeftClickIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react110 from "react";
2
- import * as lucide_react6 from "lucide-react";
1
+ import * as react113 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: react110.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react110.RefAttributes<SVGSVGElement>>;
5
+ declare const LeftDoubleClickIcon: react113.ForwardRefExoticComponent<Omit<lucide_react9.LucideProps, "ref"> & react113.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { LeftDoubleClickIcon };
8
8
  //# sourceMappingURL=LeftDoubleClickIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react114 from "react";
2
- import * as lucide_react8 from "lucide-react";
1
+ import * as react105 from "react";
2
+ import * as lucide_react5 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/McpIcon.d.ts
5
- declare const McpIcon: react114.ForwardRefExoticComponent<Omit<lucide_react8.LucideProps, "ref"> & react114.RefAttributes<SVGSVGElement>>;
5
+ declare const McpIcon: react105.ForwardRefExoticComponent<Omit<lucide_react5.LucideProps, "ref"> & react105.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { McpIcon };
8
8
  //# sourceMappingURL=McpIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react106 from "react";
2
- import * as lucide_react4 from "lucide-react";
1
+ import * as react109 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: react106.ForwardRefExoticComponent<Omit<lucide_react4.LucideProps, "ref"> & react106.RefAttributes<SVGSVGElement>>;
5
+ declare const ProviderIcon: react109.ForwardRefExoticComponent<Omit<lucide_react7.LucideProps, "ref"> & react109.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { ProviderIcon };
8
8
  //# sourceMappingURL=ProviderIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react108 from "react";
2
- import * as lucide_react5 from "lucide-react";
1
+ import * as react107 from "react";
2
+ import * as lucide_react6 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/RightClickIcon.d.ts
5
- declare const RightClickIcon: react108.ForwardRefExoticComponent<Omit<lucide_react5.LucideProps, "ref"> & react108.RefAttributes<SVGSVGElement>>;
5
+ declare const RightClickIcon: react107.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react107.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { RightClickIcon };
8
8
  //# sourceMappingURL=RightClickIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react112 from "react";
2
- import * as lucide_react7 from "lucide-react";
1
+ import * as react115 from "react";
2
+ import * as lucide_react10 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/RightDoubleClickIcon.d.ts
5
- declare const RightDoubleClickIcon: react112.ForwardRefExoticComponent<Omit<lucide_react7.LucideProps, "ref"> & react112.RefAttributes<SVGSVGElement>>;
5
+ declare const RightDoubleClickIcon: react115.ForwardRefExoticComponent<Omit<lucide_react10.LucideProps, "ref"> & react115.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { RightDoubleClickIcon };
8
8
  //# sourceMappingURL=RightDoubleClickIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react118 from "react";
2
- import * as lucide_react10 from "lucide-react";
1
+ import * as react117 from "react";
2
+ import * as lucide_react11 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/ShapesUploadIcon.d.ts
5
- declare const ShapesUploadIcon: react118.ForwardRefExoticComponent<Omit<lucide_react10.LucideProps, "ref"> & react118.RefAttributes<SVGSVGElement>>;
5
+ declare const ShapesUploadIcon: react117.ForwardRefExoticComponent<Omit<lucide_react11.LucideProps, "ref"> & react117.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { ShapesUploadIcon };
8
8
  //# sourceMappingURL=ShapesUploadIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react122 from "react";
1
+ import * as react119 from "react";
2
2
  import * as lucide_react12 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/TreeDownRightIcon.d.ts
5
- declare const TreeDownRightIcon: react122.ForwardRefExoticComponent<Omit<lucide_react12.LucideProps, "ref"> & react122.RefAttributes<SVGSVGElement>>;
5
+ declare const TreeDownRightIcon: react119.ForwardRefExoticComponent<Omit<lucide_react12.LucideProps, "ref"> & react119.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { TreeDownRightIcon };
8
8
  //# sourceMappingURL=TreeDownRightIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react104 from "react";
2
- import * as lucide_react3 from "lucide-react";
1
+ import * as react121 from "react";
2
+ import * as lucide_react13 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/TreeUpDownRightIcon.d.ts
5
- declare const TreeUpDownRightIcon: react104.ForwardRefExoticComponent<Omit<lucide_react3.LucideProps, "ref"> & react104.RefAttributes<SVGSVGElement>>;
5
+ declare const TreeUpDownRightIcon: react121.ForwardRefExoticComponent<Omit<lucide_react13.LucideProps, "ref"> & react121.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 react65 from "react";
3
+ import * as react49 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: react65.NamedExoticComponent<MdxProps>;
21
+ declare const Mdx: react49.NamedExoticComponent<MdxProps>;
22
22
  //#endregion
23
23
  export { Mdx, MdxProps };
24
24
  //# sourceMappingURL=index.d.mts.map