@lobehub/ui 4.12.2 → 4.13.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 (168) 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 +1 -1
  13. package/es/CopyButton/CopyButton.d.mts +2 -2
  14. package/es/DatePicker/DatePicker.d.mts +2 -2
  15. package/es/DraggablePanel/DraggablePanel.mjs +1 -1
  16. package/es/DraggablePanel/components/DraggablePanelBody.d.mts +2 -2
  17. package/es/DraggablePanel/components/DraggablePanelContainer.d.mts +2 -2
  18. package/es/DraggableSideNav/DraggableSideNav.d.mts +2 -2
  19. package/es/DraggableSideNav/DraggableSideNav.mjs +1 -1
  20. package/es/Drawer/Drawer.d.mts +2 -2
  21. package/es/Dropdown/Dropdown.d.mts +2 -2
  22. package/es/DropdownMenu/DropdownMenu.d.mts +2 -2
  23. package/es/DropdownMenu/DropdownMenu.mjs +3 -3
  24. package/es/EditableText/EditableText.d.mts +2 -2
  25. package/es/EmojiPicker/EmojiPicker.d.mts +2 -2
  26. package/es/Flex/FlexBasic.d.mts +2 -2
  27. package/es/FontLoader/index.d.mts +2 -2
  28. package/es/Footer/Footer.d.mts +2 -2
  29. package/es/Form/components/FormGroup.d.mts +2 -2
  30. package/es/Form/components/FormItem.d.mts +2 -2
  31. package/es/Form/components/FormSubmitFooter.d.mts +2 -2
  32. package/es/FormModal/FormModal.d.mts +2 -2
  33. package/es/Header/Header.d.mts +2 -2
  34. package/es/Highlighter/Highlighter.d.mts +2 -2
  35. package/es/Highlighter/SyntaxHighlighter/index.d.mts +2 -2
  36. package/es/Hotkey/Hotkey.d.mts +2 -2
  37. package/es/HotkeyInput/HotkeyInput.d.mts +2 -2
  38. package/es/Icon/Icon.d.mts +2 -2
  39. package/es/Icon/components/IconProvider.d.mts +3 -3
  40. package/es/Image/PreviewGroup.d.mts +2 -2
  41. package/es/ImageSelect/ImageSelect.d.mts +2 -2
  42. package/es/Input/Input.d.mts +2 -2
  43. package/es/Input/InputNumber.d.mts +2 -2
  44. package/es/Layout/components/LayoutFooter.d.mts +2 -2
  45. package/es/Layout/components/LayoutHeader.d.mts +2 -2
  46. package/es/Layout/components/LayoutMain.d.mts +2 -2
  47. package/es/Layout/components/LayoutSidebar.d.mts +2 -2
  48. package/es/Layout/components/LayoutSidebarInner.d.mts +2 -2
  49. package/es/Layout/components/LayoutToc.d.mts +2 -2
  50. package/es/List/ListItem/index.d.mts +2 -2
  51. package/es/Markdown/Markdown.d.mts +2 -2
  52. package/es/Markdown/Typography.d.mts +2 -2
  53. package/es/Markdown/components/SearchResultCards/index.d.mts +2 -2
  54. package/es/MaskShadow/MaskShadow.d.mts +2 -2
  55. package/es/Menu/Menu.d.mts +2 -2
  56. package/es/Mermaid/Mermaid.d.mts +2 -2
  57. package/es/Mermaid/SyntaxMermaid/index.d.mts +2 -2
  58. package/es/Modal/Modal.d.mts +2 -2
  59. package/es/Modal/ModalProvider.d.mts +2 -2
  60. package/es/MotionProvider/index.d.mts +2 -2
  61. package/es/Popover/Popover.mjs +1 -1
  62. package/es/Popover/Popover.mjs.map +1 -1
  63. package/es/Popover/PopoverGroup.mjs +6 -2
  64. package/es/Popover/PopoverGroup.mjs.map +1 -1
  65. package/es/Popover/PopoverInGroup.mjs +1 -1
  66. package/es/Popover/PopoverPortal.mjs +1 -1
  67. package/es/Popover/PopoverPortal.mjs.map +1 -1
  68. package/es/Popover/PopoverStandalone.mjs +2 -2
  69. package/es/Popover/context.d.mts +2 -2
  70. package/es/Popover/context.mjs +3 -1
  71. package/es/Popover/context.mjs.map +1 -1
  72. package/es/Popover/type.d.mts +4 -0
  73. package/es/SearchBar/SearchBar.d.mts +2 -2
  74. package/es/Segmented/Segmented.d.mts +2 -2
  75. package/es/Select/Select.d.mts +2 -2
  76. package/es/SideNav/SideNav.d.mts +2 -2
  77. package/es/SliderWithInput/SliderWithInput.d.mts +2 -2
  78. package/es/SortableList/components/DragHandle.d.mts +2 -2
  79. package/es/SortableList/components/SortableItem.d.mts +2 -2
  80. package/es/ThemeProvider/ThemeProvider.d.mts +2 -2
  81. package/es/Toc/Toc.d.mts +2 -2
  82. package/es/Tooltip/ArrowIcon.mjs +22 -0
  83. package/es/Tooltip/ArrowIcon.mjs.map +1 -0
  84. package/es/Tooltip/Tooltip.mjs +3 -3
  85. package/es/Tooltip/Tooltip.mjs.map +1 -1
  86. package/es/Tooltip/TooltipContent.mjs +24 -0
  87. package/es/Tooltip/TooltipContent.mjs.map +1 -0
  88. package/es/Tooltip/TooltipGroup.d.mts +2 -5
  89. package/es/Tooltip/TooltipGroup.mjs +90 -178
  90. package/es/Tooltip/TooltipGroup.mjs.map +1 -1
  91. package/es/Tooltip/TooltipInGroup.mjs +54 -52
  92. package/es/Tooltip/TooltipInGroup.mjs.map +1 -1
  93. package/es/Tooltip/TooltipPortal.mjs +4 -7
  94. package/es/Tooltip/TooltipPortal.mjs.map +1 -1
  95. package/es/Tooltip/TooltipStandalone.mjs +149 -83
  96. package/es/Tooltip/TooltipStandalone.mjs.map +1 -1
  97. package/es/Tooltip/groupContext.mjs +4 -2
  98. package/es/Tooltip/groupContext.mjs.map +1 -1
  99. package/es/Tooltip/index.d.mts +1 -1
  100. package/es/Tooltip/style.mjs +203 -32
  101. package/es/Tooltip/style.mjs.map +1 -1
  102. package/es/Tooltip/type.d.mts +30 -3
  103. package/es/Tooltip/useMergedTooltipProps.mjs +17 -6
  104. package/es/Tooltip/useMergedTooltipProps.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/GridBackground.mjs +1 -1
  113. package/es/awesome/GridBackground/GridShowcase.d.mts +2 -2
  114. package/es/awesome/Spotlight/Spotlight.d.mts +2 -2
  115. package/es/awesome/SpotlightCard/SpotlightCard.d.mts +2 -2
  116. package/es/awesome/TypewriterEffect/TypewriterEffect.d.mts +2 -2
  117. package/es/brand/LobeChat/index.d.mts +2 -2
  118. package/es/brand/LobeHub/index.d.mts +2 -2
  119. package/es/brand/LogoThree/LogoSpline.d.mts +2 -2
  120. package/es/brand/LogoThree/index.d.mts +2 -2
  121. package/es/chat/BackBottom/BackBottom.d.mts +2 -2
  122. package/es/chat/BackBottom/BackBottom.mjs +1 -1
  123. package/es/chat/ChatInputArea/components/ChatInputAreaInner.d.mts +2 -2
  124. package/es/chat/ChatList/ChatList.d.mts +2 -2
  125. package/es/chat/EditableMessage/EditableMessage.d.mts +2 -2
  126. package/es/chat/EditableMessageList/EditableMessageList.d.mts +2 -2
  127. package/es/chat/MessageInput/MessageInput.d.mts +2 -2
  128. package/es/chat/MessageModal/MessageModal.d.mts +2 -2
  129. package/es/color/ColorScales/index.d.mts +2 -2
  130. package/es/color/CssVar/index.d.mts +2 -2
  131. package/es/hooks/usePortalContainer.mjs +1 -1
  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 +3 -3
  135. package/es/icons/lucideExtra/DiscordIcon.d.mts +3 -3
  136. package/es/icons/lucideExtra/GlobeOffIcon.d.mts +2 -2
  137. package/es/icons/lucideExtra/GroupBotIcon.d.mts +3 -3
  138. package/es/icons/lucideExtra/GroupBotSquareIcon.d.mts +2 -2
  139. package/es/icons/lucideExtra/LeftClickIcon.d.mts +3 -3
  140. package/es/icons/lucideExtra/LeftDoubleClickIcon.d.mts +2 -2
  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 +2 -2
  145. package/es/icons/lucideExtra/ShapesUploadIcon.d.mts +2 -2
  146. package/es/icons/lucideExtra/TreeDownRightIcon.d.mts +3 -3
  147. package/es/icons/lucideExtra/TreeUpDownRightIcon.d.mts +3 -3
  148. package/es/index.mjs +1 -1
  149. package/es/mdx/Mdx/index.d.mts +2 -2
  150. package/es/mobile/ChatInputArea/ChatInputArea.mjs +1 -1
  151. package/es/mobile/ChatInputArea/components/ChatSendButton.d.mts +2 -2
  152. package/es/mobile/TabBar/TabBar.d.mts +2 -2
  153. package/es/storybook/StoryBook/index.d.mts +2 -2
  154. package/es/utils/placement.d.mts +1 -1
  155. package/package.json +1 -1
  156. package/es/Tooltip/TooltipFloating.mjs +0 -119
  157. package/es/Tooltip/TooltipFloating.mjs.map +0 -1
  158. package/es/Tooltip/groupContext.d.mts +0 -14
  159. package/es/Tooltip/useTooltipFloating.mjs +0 -55
  160. package/es/Tooltip/useTooltipFloating.mjs.map +0 -1
  161. package/es/Tooltip/useTooltipReference.mjs +0 -56
  162. package/es/Tooltip/useTooltipReference.mjs.map +0 -1
  163. package/es/Tooltip/useTooltipTrigger.mjs +0 -18
  164. package/es/Tooltip/useTooltipTrigger.mjs.map +0 -1
  165. package/es/Tooltip/utils.mjs +0 -36
  166. package/es/Tooltip/utils.mjs.map +0 -1
  167. package/es/utils/composeEventHandlers.mjs +0 -28
  168. package/es/utils/composeEventHandlers.mjs.map +0 -1
@@ -5,7 +5,7 @@ import { CSSProperties, ReactElement, ReactNode, Ref } from "react";
5
5
 
6
6
  //#region src/Tooltip/type.d.ts
7
7
  type TooltipPlacement = Placement;
8
- type TooltipProps = {
8
+ interface TooltipProps {
9
9
  /**
10
10
  * Whether the tooltip has an arrow pointer.
11
11
  */
@@ -78,6 +78,11 @@ type TooltipProps = {
78
78
  */
79
79
  portalled?: boolean;
80
80
  ref?: Ref<HTMLElement>;
81
+ /**
82
+ * When true, this tooltip will render independently even inside a TooltipGroup,
83
+ * ignoring the group singleton behavior.
84
+ */
85
+ standalone?: boolean;
81
86
  /**
82
87
  * Compatible with Ant Design `styles` shape (subset).
83
88
  */
@@ -98,7 +103,29 @@ type TooltipProps = {
98
103
  * z-index for tooltip floating root.
99
104
  */
100
105
  zIndex?: number;
101
- };
106
+ }
107
+ /**
108
+ * Props for `TooltipGroup`.
109
+ */
110
+ interface TooltipGroupProps {
111
+ arrow?: boolean;
112
+ children: ReactNode;
113
+ className?: string;
114
+ classNames?: TooltipProps['classNames'];
115
+ closeDelay?: number;
116
+ disabled?: boolean;
117
+ getPopupContainer?: TooltipProps['getPopupContainer'];
118
+ hotkey?: string;
119
+ hotkeyProps?: Omit<HotkeyProps, 'keys'>;
120
+ layoutAnimation?: boolean;
121
+ mouseEnterDelay?: number;
122
+ mouseLeaveDelay?: number;
123
+ openDelay?: number;
124
+ placement?: TooltipPlacement;
125
+ portalled?: boolean;
126
+ styles?: TooltipProps['styles'];
127
+ zIndex?: number;
128
+ }
102
129
  //#endregion
103
- export { TooltipPlacement, TooltipProps };
130
+ export { TooltipGroupProps, TooltipPlacement, TooltipProps };
104
131
  //# sourceMappingURL=type.d.mts.map
@@ -1,10 +1,12 @@
1
+ 'use client';
2
+
1
3
  import { TooltipGroupPropsContext } from "./groupContext.mjs";
2
4
  import { useContext, useMemo } from "react";
3
5
 
4
6
  //#region src/Tooltip/useMergedTooltipProps.ts
5
7
  const useMergedTooltipProps = (props) => {
6
8
  const sharedProps = useContext(TooltipGroupPropsContext);
7
- const { className, classNames, styles: styleProps, hotkeyProps, onOpenChange, arrow, closeDelay, disabled, getPopupContainer, hotkey, mouseEnterDelay, mouseLeaveDelay, openDelay, placement, portalled, title, zIndex } = props;
9
+ const { arrow, className, classNames, closeDelay, disabled, getPopupContainer, hotkey, hotkeyProps, mouseEnterDelay, mouseLeaveDelay, onOpenChange, openDelay, placement, portalled, styles: styleProps, title, zIndex } = props;
8
10
  const mergedClassName = useMemo(() => {
9
11
  if (!sharedProps?.className && !className) return void 0;
10
12
  return [sharedProps?.className, className].filter(Boolean).join(" ");
@@ -16,13 +18,21 @@ const useMergedTooltipProps = (props) => {
16
18
  ...classNames
17
19
  };
18
20
  }, [classNames, sharedProps?.classNames]);
21
+ const resolvedSharedStyles = useMemo(() => {
22
+ if (typeof sharedProps?.styles === "function") return void 0;
23
+ return sharedProps?.styles;
24
+ }, [sharedProps?.styles]);
25
+ const resolvedLocalStyles = useMemo(() => {
26
+ if (typeof styleProps === "function") return void 0;
27
+ return styleProps;
28
+ }, [styleProps]);
19
29
  const mergedStyles = useMemo(() => {
20
- if (!sharedProps?.styles && !styleProps) return void 0;
30
+ if (!resolvedSharedStyles && !resolvedLocalStyles) return void 0;
21
31
  return {
22
- ...sharedProps?.styles,
23
- ...styleProps
32
+ ...resolvedSharedStyles,
33
+ ...resolvedLocalStyles
24
34
  };
25
- }, [sharedProps?.styles, styleProps]);
35
+ }, [resolvedSharedStyles, resolvedLocalStyles]);
26
36
  const mergedHotkeyProps = useMemo(() => {
27
37
  if (!sharedProps?.hotkeyProps && !hotkeyProps) return void 0;
28
38
  return {
@@ -38,7 +48,7 @@ const useMergedTooltipProps = (props) => {
38
48
  };
39
49
  }, [onOpenChange, sharedProps?.onOpenChange]);
40
50
  return useMemo(() => ({
41
- arrow: arrow ?? sharedProps?.arrow ?? false,
51
+ arrow: arrow ?? sharedProps?.arrow ?? true,
42
52
  className: mergedClassName,
43
53
  classNames: mergedClassNames,
44
54
  closeDelay: closeDelay ?? sharedProps?.closeDelay,
@@ -78,6 +88,7 @@ const useMergedTooltipProps = (props) => {
78
88
  sharedProps?.hotkey,
79
89
  sharedProps?.mouseEnterDelay,
80
90
  sharedProps?.mouseLeaveDelay,
91
+ sharedProps?.onOpenChange,
81
92
  sharedProps?.openDelay,
82
93
  sharedProps?.placement,
83
94
  sharedProps?.portalled,
@@ -1 +1 @@
1
- {"version":3,"file":"useMergedTooltipProps.mjs","names":[],"sources":["../../src/Tooltip/useMergedTooltipProps.ts"],"sourcesContent":["import { useContext, useMemo } from 'react';\n\nimport { type TooltipGroupItem, TooltipGroupPropsContext } from './groupContext';\nimport type { TooltipProps } from './type';\n\nexport const useMergedTooltipProps = (props: Partial<TooltipProps>): TooltipGroupItem => {\n const sharedProps = useContext(TooltipGroupPropsContext);\n\n const {\n className,\n classNames,\n styles: styleProps,\n hotkeyProps,\n onOpenChange,\n arrow,\n closeDelay,\n disabled,\n getPopupContainer,\n hotkey,\n mouseEnterDelay,\n mouseLeaveDelay,\n openDelay,\n placement,\n portalled,\n title,\n zIndex,\n } = props;\n\n const mergedClassName = useMemo(() => {\n if (!sharedProps?.className && !className) return undefined;\n return [sharedProps?.className, className].filter(Boolean).join(' ');\n }, [className, sharedProps?.className]);\n\n const mergedClassNames = useMemo(() => {\n if (!sharedProps?.classNames && !classNames) return undefined;\n return { ...sharedProps?.classNames, ...classNames };\n }, [classNames, sharedProps?.classNames]);\n\n const mergedStyles = useMemo(() => {\n if (!sharedProps?.styles && !styleProps) return undefined;\n return { ...sharedProps?.styles, ...styleProps };\n }, [sharedProps?.styles, styleProps]);\n\n const mergedHotkeyProps = useMemo(() => {\n if (!sharedProps?.hotkeyProps && !hotkeyProps) return undefined;\n return { ...sharedProps?.hotkeyProps, ...hotkeyProps };\n }, [hotkeyProps, sharedProps?.hotkeyProps]);\n\n const mergedOnOpenChange = useMemo(() => {\n if (!sharedProps?.onOpenChange && !onOpenChange) return undefined;\n return (open: boolean) => {\n sharedProps?.onOpenChange?.(open);\n onOpenChange?.(open);\n };\n }, [onOpenChange, sharedProps?.onOpenChange]);\n\n const item: TooltipGroupItem = useMemo(\n () => ({\n arrow: arrow ?? sharedProps?.arrow ?? false,\n className: mergedClassName,\n classNames: mergedClassNames,\n closeDelay: closeDelay ?? sharedProps?.closeDelay,\n disabled: disabled ?? sharedProps?.disabled,\n getPopupContainer: getPopupContainer ?? sharedProps?.getPopupContainer,\n hotkey: hotkey ?? sharedProps?.hotkey,\n hotkeyProps: mergedHotkeyProps,\n mouseEnterDelay: mouseEnterDelay ?? sharedProps?.mouseEnterDelay,\n mouseLeaveDelay: mouseLeaveDelay ?? sharedProps?.mouseLeaveDelay,\n onOpenChange: mergedOnOpenChange,\n openDelay: openDelay ?? sharedProps?.openDelay,\n placement: placement ?? sharedProps?.placement ?? 'top',\n portalled: portalled ?? sharedProps?.portalled,\n styles: mergedStyles,\n title,\n zIndex: zIndex ?? sharedProps?.zIndex,\n }),\n [\n arrow,\n closeDelay,\n disabled,\n getPopupContainer,\n hotkey,\n mergedClassName,\n mergedClassNames,\n mergedHotkeyProps,\n mergedOnOpenChange,\n mergedStyles,\n mouseEnterDelay,\n mouseLeaveDelay,\n openDelay,\n placement,\n portalled,\n sharedProps?.arrow,\n sharedProps?.closeDelay,\n sharedProps?.disabled,\n sharedProps?.getPopupContainer,\n sharedProps?.hotkey,\n sharedProps?.mouseEnterDelay,\n sharedProps?.mouseLeaveDelay,\n sharedProps?.openDelay,\n sharedProps?.placement,\n sharedProps?.portalled,\n sharedProps?.zIndex,\n title,\n zIndex,\n ],\n );\n\n return item;\n};\n"],"mappings":";;;;AAKA,MAAa,yBAAyB,UAAmD;CACvF,MAAM,cAAc,WAAW,yBAAyB;CAExD,MAAM,EACJ,WACA,YACA,QAAQ,YACR,aACA,cACA,OACA,YACA,UACA,mBACA,QACA,iBACA,iBACA,WACA,WACA,WACA,OACA,WACE;CAEJ,MAAM,kBAAkB,cAAc;AACpC,MAAI,CAAC,aAAa,aAAa,CAAC,UAAW,QAAO;AAClD,SAAO,CAAC,aAAa,WAAW,UAAU,CAAC,OAAO,QAAQ,CAAC,KAAK,IAAI;IACnE,CAAC,WAAW,aAAa,UAAU,CAAC;CAEvC,MAAM,mBAAmB,cAAc;AACrC,MAAI,CAAC,aAAa,cAAc,CAAC,WAAY,QAAO;AACpD,SAAO;GAAE,GAAG,aAAa;GAAY,GAAG;GAAY;IACnD,CAAC,YAAY,aAAa,WAAW,CAAC;CAEzC,MAAM,eAAe,cAAc;AACjC,MAAI,CAAC,aAAa,UAAU,CAAC,WAAY,QAAO;AAChD,SAAO;GAAE,GAAG,aAAa;GAAQ,GAAG;GAAY;IAC/C,CAAC,aAAa,QAAQ,WAAW,CAAC;CAErC,MAAM,oBAAoB,cAAc;AACtC,MAAI,CAAC,aAAa,eAAe,CAAC,YAAa,QAAO;AACtD,SAAO;GAAE,GAAG,aAAa;GAAa,GAAG;GAAa;IACrD,CAAC,aAAa,aAAa,YAAY,CAAC;CAE3C,MAAM,qBAAqB,cAAc;AACvC,MAAI,CAAC,aAAa,gBAAgB,CAAC,aAAc,QAAO;AACxD,UAAQ,SAAkB;AACxB,gBAAa,eAAe,KAAK;AACjC,kBAAe,KAAK;;IAErB,CAAC,cAAc,aAAa,aAAa,CAAC;AAsD7C,QApD+B,eACtB;EACL,OAAO,SAAS,aAAa,SAAS;EACtC,WAAW;EACX,YAAY;EACZ,YAAY,cAAc,aAAa;EACvC,UAAU,YAAY,aAAa;EACnC,mBAAmB,qBAAqB,aAAa;EACrD,QAAQ,UAAU,aAAa;EAC/B,aAAa;EACb,iBAAiB,mBAAmB,aAAa;EACjD,iBAAiB,mBAAmB,aAAa;EACjD,cAAc;EACd,WAAW,aAAa,aAAa;EACrC,WAAW,aAAa,aAAa,aAAa;EAClD,WAAW,aAAa,aAAa;EACrC,QAAQ;EACR;EACA,QAAQ,UAAU,aAAa;EAChC,GACD;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,aAAa;EACb,aAAa;EACb,aAAa;EACb,aAAa;EACb,aAAa;EACb,aAAa;EACb,aAAa;EACb,aAAa;EACb,aAAa;EACb,aAAa;EACb,aAAa;EACb;EACA;EACD,CACF"}
1
+ {"version":3,"file":"useMergedTooltipProps.mjs","names":[],"sources":["../../src/Tooltip/useMergedTooltipProps.ts"],"sourcesContent":["'use client';\n\nimport { useContext, useMemo } from 'react';\n\nimport { type TooltipGroupItem, TooltipGroupPropsContext } from './groupContext';\nimport type { TooltipProps } from './type';\n\nexport const useMergedTooltipProps = (props: Partial<TooltipProps>): TooltipGroupItem => {\n const sharedProps = useContext(TooltipGroupPropsContext);\n\n const {\n arrow,\n className,\n classNames,\n closeDelay,\n disabled,\n getPopupContainer,\n hotkey,\n hotkeyProps,\n mouseEnterDelay,\n mouseLeaveDelay,\n onOpenChange,\n openDelay,\n placement,\n portalled,\n styles: styleProps,\n title,\n zIndex,\n } = props;\n\n const mergedClassName = useMemo(() => {\n if (!sharedProps?.className && !className) return undefined;\n return [sharedProps?.className, className].filter(Boolean).join(' ');\n }, [className, sharedProps?.className]);\n\n const mergedClassNames = useMemo(() => {\n if (!sharedProps?.classNames && !classNames) return undefined;\n return { ...sharedProps?.classNames, ...classNames };\n }, [classNames, sharedProps?.classNames]);\n\n const resolvedSharedStyles = useMemo(() => {\n if (typeof sharedProps?.styles === 'function') return undefined;\n return sharedProps?.styles;\n }, [sharedProps?.styles]);\n\n const resolvedLocalStyles = useMemo(() => {\n if (typeof styleProps === 'function') return undefined;\n return styleProps;\n }, [styleProps]);\n\n const mergedStyles = useMemo(() => {\n if (!resolvedSharedStyles && !resolvedLocalStyles) return undefined;\n return { ...resolvedSharedStyles, ...resolvedLocalStyles };\n }, [resolvedSharedStyles, resolvedLocalStyles]);\n\n const mergedHotkeyProps = useMemo(() => {\n if (!sharedProps?.hotkeyProps && !hotkeyProps) return undefined;\n return { ...sharedProps?.hotkeyProps, ...hotkeyProps };\n }, [hotkeyProps, sharedProps?.hotkeyProps]);\n\n const mergedOnOpenChange = useMemo(() => {\n if (!sharedProps?.onOpenChange && !onOpenChange) return undefined;\n return (open: boolean) => {\n sharedProps?.onOpenChange?.(open);\n onOpenChange?.(open);\n };\n }, [onOpenChange, sharedProps?.onOpenChange]);\n\n const item: TooltipGroupItem = useMemo(\n () => ({\n arrow: arrow ?? sharedProps?.arrow ?? true,\n className: mergedClassName,\n classNames: mergedClassNames,\n closeDelay: closeDelay ?? sharedProps?.closeDelay,\n disabled: disabled ?? sharedProps?.disabled,\n getPopupContainer: getPopupContainer ?? sharedProps?.getPopupContainer,\n hotkey: hotkey ?? sharedProps?.hotkey,\n hotkeyProps: mergedHotkeyProps,\n mouseEnterDelay: mouseEnterDelay ?? sharedProps?.mouseEnterDelay,\n mouseLeaveDelay: mouseLeaveDelay ?? sharedProps?.mouseLeaveDelay,\n onOpenChange: mergedOnOpenChange,\n openDelay: openDelay ?? sharedProps?.openDelay,\n placement: placement ?? sharedProps?.placement ?? 'top',\n portalled: portalled ?? sharedProps?.portalled,\n styles: mergedStyles,\n title,\n zIndex: zIndex ?? sharedProps?.zIndex,\n }),\n [\n arrow,\n closeDelay,\n disabled,\n getPopupContainer,\n hotkey,\n mergedClassName,\n mergedClassNames,\n mergedHotkeyProps,\n mergedOnOpenChange,\n mergedStyles,\n mouseEnterDelay,\n mouseLeaveDelay,\n openDelay,\n placement,\n portalled,\n sharedProps?.arrow,\n sharedProps?.closeDelay,\n sharedProps?.disabled,\n sharedProps?.getPopupContainer,\n sharedProps?.hotkey,\n sharedProps?.mouseEnterDelay,\n sharedProps?.mouseLeaveDelay,\n sharedProps?.onOpenChange,\n sharedProps?.openDelay,\n sharedProps?.placement,\n sharedProps?.portalled,\n sharedProps?.zIndex,\n title,\n zIndex,\n ],\n );\n\n return item;\n};\n"],"mappings":";;;;;;AAOA,MAAa,yBAAyB,UAAmD;CACvF,MAAM,cAAc,WAAW,yBAAyB;CAExD,MAAM,EACJ,OACA,WACA,YACA,YACA,UACA,mBACA,QACA,aACA,iBACA,iBACA,cACA,WACA,WACA,WACA,QAAQ,YACR,OACA,WACE;CAEJ,MAAM,kBAAkB,cAAc;AACpC,MAAI,CAAC,aAAa,aAAa,CAAC,UAAW,QAAO;AAClD,SAAO,CAAC,aAAa,WAAW,UAAU,CAAC,OAAO,QAAQ,CAAC,KAAK,IAAI;IACnE,CAAC,WAAW,aAAa,UAAU,CAAC;CAEvC,MAAM,mBAAmB,cAAc;AACrC,MAAI,CAAC,aAAa,cAAc,CAAC,WAAY,QAAO;AACpD,SAAO;GAAE,GAAG,aAAa;GAAY,GAAG;GAAY;IACnD,CAAC,YAAY,aAAa,WAAW,CAAC;CAEzC,MAAM,uBAAuB,cAAc;AACzC,MAAI,OAAO,aAAa,WAAW,WAAY,QAAO;AACtD,SAAO,aAAa;IACnB,CAAC,aAAa,OAAO,CAAC;CAEzB,MAAM,sBAAsB,cAAc;AACxC,MAAI,OAAO,eAAe,WAAY,QAAO;AAC7C,SAAO;IACN,CAAC,WAAW,CAAC;CAEhB,MAAM,eAAe,cAAc;AACjC,MAAI,CAAC,wBAAwB,CAAC,oBAAqB,QAAO;AAC1D,SAAO;GAAE,GAAG;GAAsB,GAAG;GAAqB;IACzD,CAAC,sBAAsB,oBAAoB,CAAC;CAE/C,MAAM,oBAAoB,cAAc;AACtC,MAAI,CAAC,aAAa,eAAe,CAAC,YAAa,QAAO;AACtD,SAAO;GAAE,GAAG,aAAa;GAAa,GAAG;GAAa;IACrD,CAAC,aAAa,aAAa,YAAY,CAAC;CAE3C,MAAM,qBAAqB,cAAc;AACvC,MAAI,CAAC,aAAa,gBAAgB,CAAC,aAAc,QAAO;AACxD,UAAQ,SAAkB;AACxB,gBAAa,eAAe,KAAK;AACjC,kBAAe,KAAK;;IAErB,CAAC,cAAc,aAAa,aAAa,CAAC;AAuD7C,QArD+B,eACtB;EACL,OAAO,SAAS,aAAa,SAAS;EACtC,WAAW;EACX,YAAY;EACZ,YAAY,cAAc,aAAa;EACvC,UAAU,YAAY,aAAa;EACnC,mBAAmB,qBAAqB,aAAa;EACrD,QAAQ,UAAU,aAAa;EAC/B,aAAa;EACb,iBAAiB,mBAAmB,aAAa;EACjD,iBAAiB,mBAAmB,aAAa;EACjD,cAAc;EACd,WAAW,aAAa,aAAa;EACrC,WAAW,aAAa,aAAa,aAAa;EAClD,WAAW,aAAa,aAAa;EACrC,QAAQ;EACR;EACA,QAAQ,UAAU,aAAa;EAChC,GACD;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,aAAa;EACb,aAAa;EACb,aAAa;EACb,aAAa;EACb,aAAa;EACb,aAAa;EACb,aAAa;EACb,aAAa;EACb,aAAa;EACb,aAAa;EACb,aAAa;EACb,aAAa;EACb;EACA;EACD,CACF"}
@@ -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 react61 from "react";
4
+ import * as react47 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: react61.NamedExoticComponent<VideoProps>;
42
+ declare const Video: react47.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 react128 from "react";
2
+ import * as react125 from "react";
3
3
 
4
4
  //#region src/awesome/AuroraBackground/AuroraBackground.d.ts
5
- declare const AuroraBackground: react128.NamedExoticComponent<AuroraBackgroundProps>;
5
+ declare const AuroraBackground: react125.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 react127 from "react";
3
+ import * as react126 from "react";
4
4
 
5
5
  //#region src/awesome/BottomGradientButton/BottomGradientButton.d.ts
6
- declare const BottomGradientButton: react127.NamedExoticComponent<ButtonProps>;
6
+ declare const BottomGradientButton: react126.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 react125 from "react";
2
+ import * as react127 from "react";
3
3
 
4
4
  //#region src/awesome/Features/Features.d.ts
5
- declare const Features: react125.NamedExoticComponent<FeaturesProps>;
5
+ declare const Features: react127.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 react129 from "react";
2
+ import * as react128 from "react";
3
3
 
4
4
  //#region src/awesome/Giscus/Giscus.d.ts
5
- declare const Giscus: react129.NamedExoticComponent<GiscusProps>;
5
+ declare const Giscus: react128.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 react130 from "react";
2
+ import * as react131 from "react";
3
3
 
4
4
  //#region src/awesome/GradientButton/GradientButton.d.ts
5
- declare const GradientButton: react130.NamedExoticComponent<GradientButtonProps>;
5
+ declare const GradientButton: react131.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 react133 from "react";
2
+ import * as react129 from "react";
3
3
 
4
4
  //#region src/awesome/GridBackground/GridBackground.d.ts
5
- declare const GridBackground: react133.NamedExoticComponent<GridBackgroundProps>;
5
+ declare const GridBackground: react129.NamedExoticComponent<GridBackgroundProps>;
6
6
  //#endregion
7
7
  export { GridBackground };
8
8
  //# sourceMappingURL=GridBackground.d.mts.map
@@ -6,8 +6,8 @@ import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
6
6
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
7
7
  import { cssVar, cx, useTheme } from "antd-style";
8
8
  import { shuffle } from "es-toolkit/compat";
9
- import { useSize } from "ahooks";
10
9
  import chroma from "chroma-js";
10
+ import { useSize } from "ahooks";
11
11
 
12
12
  //#region src/awesome/GridBackground/GridBackground.tsx
13
13
  const initialGroup = [
@@ -1,8 +1,8 @@
1
1
  import { GridShowcaseProps } from "./type.mjs";
2
- import * as react131 from "react";
2
+ import * as react130 from "react";
3
3
 
4
4
  //#region src/awesome/GridBackground/GridShowcase.d.ts
5
- declare const GridShowcase: react131.NamedExoticComponent<GridShowcaseProps>;
5
+ declare const GridShowcase: react130.NamedExoticComponent<GridShowcaseProps>;
6
6
  //#endregion
7
7
  export { GridShowcase };
8
8
  //# sourceMappingURL=GridShowcase.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { SpotlightProps } from "./type.mjs";
2
- import * as react135 from "react";
2
+ import * as react133 from "react";
3
3
 
4
4
  //#region src/awesome/Spotlight/Spotlight.d.ts
5
- declare const Spotlight: react135.NamedExoticComponent<SpotlightProps>;
5
+ declare const Spotlight: react133.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 react136 from "react";
2
+ import * as react135 from "react";
3
3
 
4
4
  //#region src/awesome/SpotlightCard/SpotlightCard.d.ts
5
- declare const SpotlightCard: react136.NamedExoticComponent<SpotlightCardProps<any>>;
5
+ declare const SpotlightCard: react135.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 react126 from "react";
2
+ import * as react136 from "react";
3
3
 
4
4
  //#region src/awesome/TypewriterEffect/TypewriterEffect.d.ts
5
- declare const TypewriterEffect: react126.NamedExoticComponent<TypewriterEffectProps>;
5
+ declare const TypewriterEffect: react136.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 react52 from "react";
2
+ import * as react17 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: react52.NamedExoticComponent<LobeChatProps>;
11
+ declare const LobeChat: react17.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 react53 from "react";
2
+ import * as react18 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: react53.NamedExoticComponent<LobeHubProps>;
11
+ declare const LobeHub: react18.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 react51 from "react";
3
+ import * as react16 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: react51.NamedExoticComponent<LogoSplineProps>;
13
+ declare const LogoSpline: react16.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 react54 from "react";
3
+ import * as react19 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: react54.NamedExoticComponent<LogoThreeProps>;
12
+ declare const LogoThree: react19.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 react119 from "react";
2
+ import * as react117 from "react";
3
3
 
4
4
  //#region src/chat/BackBottom/BackBottom.d.ts
5
- declare const BackBottom: react119.NamedExoticComponent<BackBottomProps>;
5
+ declare const BackBottom: react117.NamedExoticComponent<BackBottomProps>;
6
6
  //#endregion
7
7
  export { BackBottom };
8
8
  //# sourceMappingURL=BackBottom.d.mts.map
@@ -5,8 +5,8 @@ import { styles } from "./style.mjs";
5
5
  import { memo, useEffect, useRef, useState } from "react";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  import { cx } from "antd-style";
8
- import { useScroll } from "ahooks";
9
8
  import { ListEnd } from "lucide-react";
9
+ import { useScroll } from "ahooks";
10
10
 
11
11
  //#region src/chat/BackBottom/BackBottom.tsx
12
12
  const BackBottom = memo(({ visibilityHeight = 240, target, onClick, style, className, text }) => {
@@ -1,8 +1,8 @@
1
1
  import { ChatInputAreaInnerProps } from "../type.mjs";
2
- import * as react121 from "react";
2
+ import * as react118 from "react";
3
3
 
4
4
  //#region src/chat/ChatInputArea/components/ChatInputAreaInner.d.ts
5
- declare const ChatInputAreaInner: react121.NamedExoticComponent<ChatInputAreaInnerProps>;
5
+ declare const ChatInputAreaInner: react118.NamedExoticComponent<ChatInputAreaInnerProps>;
6
6
  //#endregion
7
7
  export { ChatInputAreaInner };
8
8
  //# sourceMappingURL=ChatInputAreaInner.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { ChatListProps } from "./type.mjs";
2
- import * as react117 from "react";
2
+ import * as react123 from "react";
3
3
 
4
4
  //#region src/chat/ChatList/ChatList.d.ts
5
- declare const ChatList: react117.NamedExoticComponent<ChatListProps>;
5
+ declare const ChatList: react123.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 react120 from "react";
2
+ import * as react124 from "react";
3
3
 
4
4
  //#region src/chat/EditableMessage/EditableMessage.d.ts
5
- declare const EditableMessage: react120.NamedExoticComponent<EditableMessageProps>;
5
+ declare const EditableMessage: react124.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 react123 from "react";
2
+ import * as react119 from "react";
3
3
 
4
4
  //#region src/chat/EditableMessageList/EditableMessageList.d.ts
5
- declare const EditableMessageList: react123.NamedExoticComponent<EditableMessageListProps>;
5
+ declare const EditableMessageList: react119.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 react118 from "react";
2
+ import * as react121 from "react";
3
3
 
4
4
  //#region src/chat/MessageInput/MessageInput.d.ts
5
- declare const MessageInput: react118.NamedExoticComponent<MessageInputProps>;
5
+ declare const MessageInput: react121.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 react124 from "react";
2
+ import * as react120 from "react";
3
3
 
4
4
  //#region src/chat/MessageModal/MessageModal.d.ts
5
- declare const MessageModal: react124.NamedExoticComponent<MessageModalProps>;
5
+ declare const MessageModal: react120.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 react46 from "react";
2
+ import * as react14 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: react46.NamedExoticComponent<ColorScalesProps>;
19
+ declare const ColorScales: react14.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 react47 from "react";
2
+ import * as react15 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: react47.NamedExoticComponent<ColorScalesProps>;
19
+ declare const ColorScales: react15.NamedExoticComponent<ColorScalesProps>;
20
20
  //#endregion
21
21
  export { ColorScales };
22
22
  //# sourceMappingURL=index.d.mts.map
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import { LOBE_THEME_APP_ID } from "../ThemeProvider/constants.mjs";
4
3
  import { useIsClient } from "./useIsClient.mjs";
4
+ import { LOBE_THEME_APP_ID } from "../ThemeProvider/constants.mjs";
5
5
  import { useMemo } from "react";
6
6
 
7
7
  //#region src/hooks/usePortalContainer.ts
@@ -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 react48 from "react";
4
+ import * as react13 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: react48.NamedExoticComponent<I18nProviderProps>;
14
+ declare const I18nProvider: react13.NamedExoticComponent<I18nProviderProps>;
15
15
  //#endregion
16
16
  export { I18nProvider, I18nProviderProps };
17
17
  //# sourceMappingURL=context.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react80 from "react";
1
+ import * as react78 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: react80.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react80.RefAttributes<SVGSVGElement>>;
5
+ declare const BotPromptIcon: react78.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react78.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { BotPromptIcon };
8
8
  //# sourceMappingURL=BotPromptIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react78 from "react";
2
- import * as lucide_react0 from "lucide-react";
1
+ import * as react80 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: react78.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react78.RefAttributes<SVGSVGElement>>;
5
+ declare const CreateBotIcon: react80.ForwardRefExoticComponent<Omit<lucide_react1.LucideProps, "ref"> & react80.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { CreateBotIcon };
8
8
  //# sourceMappingURL=CreateBotIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react84 from "react";
2
- import * as lucide_react2 from "lucide-react";
1
+ import * as react76 from "react";
2
+ import * as lucide_react0 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/DiscordIcon.d.ts
5
- declare const DiscordIcon: react84.ForwardRefExoticComponent<Omit<lucide_react2.LucideProps, "ref"> & react84.RefAttributes<SVGSVGElement>>;
5
+ declare const DiscordIcon: react76.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react76.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { DiscordIcon };
8
8
  //# sourceMappingURL=DiscordIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react86 from "react";
1
+ import * as react84 from "react";
2
2
  import * as lucide_react3 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/GlobeOffIcon.d.ts
5
- declare const GlobeOffIcon: react86.ForwardRefExoticComponent<Omit<lucide_react3.LucideProps, "ref"> & react86.RefAttributes<SVGSVGElement>>;
5
+ declare const GlobeOffIcon: react84.ForwardRefExoticComponent<Omit<lucide_react3.LucideProps, "ref"> & react84.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { GlobeOffIcon };
8
8
  //# sourceMappingURL=GlobeOffIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react82 from "react";
2
- import * as lucide_react1 from "lucide-react";
1
+ import * as react86 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: react82.ForwardRefExoticComponent<Omit<lucide_react1.LucideProps, "ref"> & react82.RefAttributes<SVGSVGElement>>;
5
+ declare const GroupBotIcon: react86.ForwardRefExoticComponent<Omit<lucide_react4.LucideProps, "ref"> & react86.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { GroupBotIcon };
8
8
  //# sourceMappingURL=GroupBotIcon.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import * as react88 from "react";
2
- import * as lucide_react4 from "lucide-react";
2
+ import * as lucide_react5 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/GroupBotSquareIcon.d.ts
5
- declare const GroupBotSquareIcon: react88.ForwardRefExoticComponent<Omit<lucide_react4.LucideProps, "ref"> & react88.RefAttributes<SVGSVGElement>>;
5
+ declare const GroupBotSquareIcon: react88.ForwardRefExoticComponent<Omit<lucide_react5.LucideProps, "ref"> & react88.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { GroupBotSquareIcon };
8
8
  //# sourceMappingURL=GroupBotSquareIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react90 from "react";
2
- import * as lucide_react5 from "lucide-react";
1
+ import * as react82 from "react";
2
+ import * as lucide_react2 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/LeftClickIcon.d.ts
5
- declare const LeftClickIcon: react90.ForwardRefExoticComponent<Omit<lucide_react5.LucideProps, "ref"> & react90.RefAttributes<SVGSVGElement>>;
5
+ declare const LeftClickIcon: react82.ForwardRefExoticComponent<Omit<lucide_react2.LucideProps, "ref"> & react82.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { LeftClickIcon };
8
8
  //# sourceMappingURL=LeftClickIcon.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import * as react94 from "react";
2
- import * as lucide_react7 from "lucide-react";
2
+ import * as lucide_react8 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/LeftDoubleClickIcon.d.ts
5
- declare const LeftDoubleClickIcon: react94.ForwardRefExoticComponent<Omit<lucide_react7.LucideProps, "ref"> & react94.RefAttributes<SVGSVGElement>>;
5
+ declare const LeftDoubleClickIcon: react94.ForwardRefExoticComponent<Omit<lucide_react8.LucideProps, "ref"> & react94.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { LeftDoubleClickIcon };
8
8
  //# sourceMappingURL=LeftDoubleClickIcon.d.mts.map