@lobehub/ui 4.27.1 → 4.27.3

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 (124) hide show
  1. package/es/Accordion/Accordion.d.mts +2 -2
  2. package/es/Accordion/AccordionItem.d.mts +2 -2
  3. package/es/ActionIcon/ActionIcon.d.mts +2 -2
  4. package/es/Alert/Alert.d.mts +2 -2
  5. package/es/AutoComplete/Select.d.mts +2 -2
  6. package/es/Avatar/AvatarGroup/index.d.mts +2 -2
  7. package/es/Burger/Burger.d.mts +2 -2
  8. package/es/CodeDiff/CodeDiff.d.mts +2 -2
  9. package/es/CodeDiff/PatchDiff.d.mts +2 -2
  10. package/es/CodeEditor/CodeEditor.d.mts +2 -2
  11. package/es/Collapse/Collapse.d.mts +2 -2
  12. package/es/CopyButton/CopyButton.d.mts +2 -2
  13. package/es/DatePicker/DatePicker.d.mts +2 -2
  14. package/es/DraggablePanel/components/DraggablePanelBody.d.mts +2 -2
  15. package/es/DraggablePanel/components/DraggablePanelContainer.d.mts +2 -2
  16. package/es/DraggablePanel/components/DraggablePanelFooter.d.mts +2 -2
  17. package/es/DraggablePanel/components/DraggablePanelHeader.d.mts +2 -2
  18. package/es/DraggableSideNav/DraggableSideNav.d.mts +2 -2
  19. package/es/Drawer/Drawer.d.mts +2 -2
  20. package/es/Dropdown/Dropdown.d.mts +2 -2
  21. package/es/DropdownMenu/DropdownMenu.d.mts +2 -2
  22. package/es/EditableText/EditableText.d.mts +2 -2
  23. package/es/EditorSlashMenu/atoms.d.mts +12 -12
  24. package/es/Flex/FlexBasic.d.mts +2 -2
  25. package/es/Footer/Footer.d.mts +2 -2
  26. package/es/Form/components/FormGroup.d.mts +2 -2
  27. package/es/Form/components/FormItem.d.mts +2 -2
  28. package/es/Form/components/FormSubmitFooter.d.mts +2 -2
  29. package/es/FormModal/FormModal.d.mts +2 -2
  30. package/es/Header/Header.d.mts +2 -2
  31. package/es/Highlighter/Highlighter.d.mts +2 -2
  32. package/es/Highlighter/SyntaxHighlighter/style.mjs +4 -0
  33. package/es/Highlighter/SyntaxHighlighter/style.mjs.map +1 -1
  34. package/es/Hotkey/Hotkey.d.mts +2 -2
  35. package/es/HotkeyInput/HotkeyInput.d.mts +2 -2
  36. package/es/Icon/Icon.d.mts +2 -2
  37. package/es/Icon/components/IconProvider.d.mts +3 -3
  38. package/es/Image/PreviewGroup.d.mts +2 -2
  39. package/es/Input/Input.d.mts +2 -2
  40. package/es/Input/InputNumber.d.mts +2 -2
  41. package/es/Input/InputPassword.d.mts +2 -2
  42. package/es/Input/TextArea.d.mts +2 -2
  43. package/es/Layout/components/LayoutFooter.d.mts +2 -2
  44. package/es/Layout/components/LayoutHeader.d.mts +2 -2
  45. package/es/Layout/components/LayoutMain.d.mts +2 -2
  46. package/es/Layout/components/LayoutSidebar.d.mts +2 -2
  47. package/es/Layout/components/LayoutSidebarInner.d.mts +2 -2
  48. package/es/Layout/components/LayoutToc.d.mts +2 -2
  49. package/es/List/ListItem/index.d.mts +2 -2
  50. package/es/LobeSelect/LobeSelect.d.mts +2 -2
  51. package/es/LobeSelect/atoms.d.mts +19 -19
  52. package/es/LobeSwitch/LobeSwitch.d.mts +2 -2
  53. package/es/LobeSwitch/atoms.d.mts +4 -4
  54. package/es/Markdown/Markdown.d.mts +2 -2
  55. package/es/Markdown/Typography.d.mts +2 -2
  56. package/es/MaskShadow/MaskShadow.d.mts +2 -2
  57. package/es/Menu/Menu.d.mts +2 -2
  58. package/es/Mermaid/Mermaid.d.mts +2 -2
  59. package/es/Mermaid/SyntaxMermaid/index.d.mts +2 -2
  60. package/es/Modal/Modal.d.mts +2 -2
  61. package/es/Modal/ModalProvider.d.mts +2 -2
  62. package/es/Modal/ModalStackItem.mjs +28 -17
  63. package/es/Modal/ModalStackItem.mjs.map +1 -1
  64. package/es/Modal/RawModalStackItem.mjs +8 -6
  65. package/es/Modal/RawModalStackItem.mjs.map +1 -1
  66. package/es/Modal/imperative.d.mts +2 -2
  67. package/es/Popover/ArrowIcon.d.mts +2 -2
  68. package/es/Popover/atoms.d.mts +9 -9
  69. package/es/Popover/context.d.mts +2 -2
  70. package/es/SearchBar/SearchBar.d.mts +2 -2
  71. package/es/Segmented/Segmented.d.mts +2 -2
  72. package/es/Select/Select.d.mts +2 -2
  73. package/es/SideNav/SideNav.d.mts +2 -2
  74. package/es/SliderWithInput/SliderWithInput.d.mts +2 -2
  75. package/es/ThemeProvider/ThemeProvider.d.mts +2 -2
  76. package/es/Toast/imperative.d.mts +3 -3
  77. package/es/Toc/Toc.d.mts +2 -2
  78. package/es/awesome/AuroraBackground/AuroraBackground.d.mts +2 -2
  79. package/es/awesome/BottomGradientButton/BottomGradientButton.d.mts +2 -2
  80. package/es/awesome/Features/Features.d.mts +2 -2
  81. package/es/awesome/Giscus/Giscus.d.mts +2 -2
  82. package/es/awesome/GradientButton/GradientButton.d.mts +2 -2
  83. package/es/awesome/GridBackground/GridBackground.d.mts +2 -2
  84. package/es/awesome/GridBackground/GridShowcase.d.mts +2 -2
  85. package/es/awesome/Hero/Hero.d.mts +2 -2
  86. package/es/awesome/Spline/Spine.d.mts +2 -2
  87. package/es/awesome/Spotlight/Spotlight.d.mts +2 -2
  88. package/es/awesome/SpotlightCard/SpotlightCard.d.mts +2 -2
  89. package/es/awesome/TypewriterEffect/TypewriterEffect.d.mts +2 -2
  90. package/es/brand/LobeChat/index.d.mts +2 -2
  91. package/es/brand/LobeHub/index.d.mts +2 -2
  92. package/es/brand/LogoThree/LogoSpline.d.mts +2 -2
  93. package/es/brand/LogoThree/index.d.mts +2 -2
  94. package/es/chat/BackBottom/BackBottom.d.mts +2 -2
  95. package/es/chat/ChatInputArea/components/ChatInputAreaInner.d.mts +2 -2
  96. package/es/chat/ChatItem/ChatItem.d.mts +2 -2
  97. package/es/chat/ChatList/ChatList.d.mts +2 -2
  98. package/es/chat/EditableMessage/EditableMessage.d.mts +2 -2
  99. package/es/chat/EditableMessageList/EditableMessageList.d.mts +2 -2
  100. package/es/chat/MessageInput/MessageInput.d.mts +2 -2
  101. package/es/chat/MessageModal/MessageModal.d.mts +2 -2
  102. package/es/color/ColorScales/index.d.mts +2 -2
  103. package/es/color/CssVar/index.d.mts +2 -2
  104. package/es/hooks/useEventCallback.mjs +16 -0
  105. package/es/hooks/useEventCallback.mjs.map +1 -0
  106. package/es/i18n/context.d.mts +2 -2
  107. package/es/icons/lucideExtra/CreateBotIcon.d.mts +3 -3
  108. package/es/icons/lucideExtra/DiscordIcon.d.mts +3 -3
  109. package/es/icons/lucideExtra/GlobeOffIcon.d.mts +3 -3
  110. package/es/icons/lucideExtra/GroupBotIcon.d.mts +3 -3
  111. package/es/icons/lucideExtra/LeftClickIcon.d.mts +3 -3
  112. package/es/icons/lucideExtra/LeftDoubleClickIcon.d.mts +3 -3
  113. package/es/icons/lucideExtra/McpIcon.d.mts +3 -3
  114. package/es/icons/lucideExtra/ProviderIcon.d.mts +3 -3
  115. package/es/icons/lucideExtra/RightClickIcon.d.mts +3 -3
  116. package/es/icons/lucideExtra/RightDoubleClickIcon.d.mts +3 -3
  117. package/es/icons/lucideExtra/ShapesUploadIcon.d.mts +3 -3
  118. package/es/icons/lucideExtra/TreeUpDownRightIcon.d.mts +3 -3
  119. package/es/mdx/Mdx/index.d.mts +2 -2
  120. package/es/mobile/ChatHeader/ChatHeaderTitle.d.mts +2 -2
  121. package/es/mobile/ChatInputArea/components/ChatSendButton.d.mts +2 -2
  122. package/es/mobile/TabBar/TabBar.d.mts +2 -2
  123. package/es/storybook/StoryBook/index.d.mts +2 -2
  124. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  import { AccordionProps } from "./type.mjs";
2
- import * as react6 from "react";
2
+ import * as react79 from "react";
3
3
 
4
4
  //#region src/Accordion/Accordion.d.ts
5
- declare const Accordion: react6.NamedExoticComponent<AccordionProps>;
5
+ declare const Accordion: react79.NamedExoticComponent<AccordionProps>;
6
6
  //#endregion
7
7
  export { Accordion };
8
8
  //# sourceMappingURL=Accordion.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { AccordionItemProps } from "./type.mjs";
2
- import * as react7 from "react";
2
+ import * as react78 from "react";
3
3
 
4
4
  //#region src/Accordion/AccordionItem.d.ts
5
- declare const AccordionItem: react7.NamedExoticComponent<AccordionItemProps>;
5
+ declare const AccordionItem: react78.NamedExoticComponent<AccordionItemProps>;
6
6
  //#endregion
7
7
  export { AccordionItem };
8
8
  //# sourceMappingURL=AccordionItem.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { ActionIconProps } from "./type.mjs";
2
- import * as react80 from "react";
2
+ import * as react76 from "react";
3
3
 
4
4
  //#region src/ActionIcon/ActionIcon.d.ts
5
- declare const ActionIcon: react80.NamedExoticComponent<ActionIconProps>;
5
+ declare const ActionIcon: react76.NamedExoticComponent<ActionIconProps>;
6
6
  //#endregion
7
7
  export { ActionIcon };
8
8
  //# sourceMappingURL=ActionIcon.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { AlertProps } from "./type.mjs";
2
- import * as react10 from "react";
2
+ import * as react77 from "react";
3
3
 
4
4
  //#region src/Alert/Alert.d.ts
5
- declare const Alert: react10.NamedExoticComponent<AlertProps>;
5
+ declare const Alert: react77.NamedExoticComponent<AlertProps>;
6
6
  //#endregion
7
7
  export { Alert };
8
8
  //# sourceMappingURL=Alert.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { AutoCompleteProps } from "./type.mjs";
2
- import * as react0 from "react";
2
+ import * as react80 from "react";
3
3
 
4
4
  //#region src/AutoComplete/Select.d.ts
5
- declare const AutoComplete: react0.NamedExoticComponent<AutoCompleteProps>;
5
+ declare const AutoComplete: react80.NamedExoticComponent<AutoCompleteProps>;
6
6
  //#endregion
7
7
  export { AutoComplete };
8
8
  //# sourceMappingURL=Select.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { AvatarGroupProps } from "../type.mjs";
2
- import * as react1 from "react";
2
+ import * as react74 from "react";
3
3
 
4
4
  //#region src/Avatar/AvatarGroup/index.d.ts
5
- declare const AvatarGroup: react1.NamedExoticComponent<AvatarGroupProps>;
5
+ declare const AvatarGroup: react74.NamedExoticComponent<AvatarGroupProps>;
6
6
  //#endregion
7
7
  export { AvatarGroup };
8
8
  //# sourceMappingURL=index.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { BurgerProps } from "./type.mjs";
2
- import * as react5 from "react";
2
+ import * as react73 from "react";
3
3
 
4
4
  //#region src/Burger/Burger.d.ts
5
- declare const Burger: react5.NamedExoticComponent<BurgerProps>;
5
+ declare const Burger: react73.NamedExoticComponent<BurgerProps>;
6
6
  //#endregion
7
7
  export { Burger };
8
8
  //# sourceMappingURL=Burger.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { CodeDiffProps } from "./type.mjs";
2
- import * as react3 from "react";
2
+ import * as react69 from "react";
3
3
 
4
4
  //#region src/CodeDiff/CodeDiff.d.ts
5
- declare const CodeDiff: react3.NamedExoticComponent<CodeDiffProps>;
5
+ declare const CodeDiff: react69.NamedExoticComponent<CodeDiffProps>;
6
6
  //#endregion
7
7
  export { CodeDiff };
8
8
  //# sourceMappingURL=CodeDiff.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { PatchDiffProps } from "./type.mjs";
2
- import * as react4 from "react";
2
+ import * as react70 from "react";
3
3
 
4
4
  //#region src/CodeDiff/PatchDiff.d.ts
5
- declare const PatchDiff: react4.NamedExoticComponent<PatchDiffProps>;
5
+ declare const PatchDiff: react70.NamedExoticComponent<PatchDiffProps>;
6
6
  //#endregion
7
7
  export { PatchDiff };
8
8
  //# sourceMappingURL=PatchDiff.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { CodeEditorProps } from "./type.mjs";
2
- import * as react2 from "react";
2
+ import * as react71 from "react";
3
3
 
4
4
  //#region src/CodeEditor/CodeEditor.d.ts
5
- declare const CodeEditor: react2.NamedExoticComponent<CodeEditorProps>;
5
+ declare const CodeEditor: react71.NamedExoticComponent<CodeEditorProps>;
6
6
  //#endregion
7
7
  export { CodeEditor };
8
8
  //# sourceMappingURL=CodeEditor.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { CollapseProps } from "./type.mjs";
2
- import * as react8 from "react";
2
+ import * as react72 from "react";
3
3
 
4
4
  //#region src/Collapse/Collapse.d.ts
5
- declare const Collapse: react8.NamedExoticComponent<CollapseProps>;
5
+ declare const Collapse: react72.NamedExoticComponent<CollapseProps>;
6
6
  //#endregion
7
7
  export { Collapse };
8
8
  //# sourceMappingURL=Collapse.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { CopyButtonProps } from "./type.mjs";
2
- import * as react0 from "react";
2
+ import * as react68 from "react";
3
3
 
4
4
  //#region src/CopyButton/CopyButton.d.ts
5
- declare const CopyButton: react0.NamedExoticComponent<CopyButtonProps>;
5
+ declare const CopyButton: react68.NamedExoticComponent<CopyButtonProps>;
6
6
  //#endregion
7
7
  export { CopyButton };
8
8
  //# sourceMappingURL=CopyButton.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { DatePickerProps } from "./type.mjs";
2
- import * as react78 from "react";
2
+ import * as react67 from "react";
3
3
 
4
4
  //#region src/DatePicker/DatePicker.d.ts
5
- declare const DatePicker: react78.NamedExoticComponent<DatePickerProps>;
5
+ declare const DatePicker: react67.NamedExoticComponent<DatePickerProps>;
6
6
  //#endregion
7
7
  export { DatePicker };
8
8
  //# sourceMappingURL=DatePicker.d.mts.map
@@ -1,9 +1,9 @@
1
1
  import { DivProps } from "../../types/index.mjs";
2
- import * as react76 from "react";
2
+ import * as react62 from "react";
3
3
 
4
4
  //#region src/DraggablePanel/components/DraggablePanelBody.d.ts
5
5
  type DraggablePanelBodyProps = DivProps;
6
- declare const DraggablePanelBody: react76.NamedExoticComponent<DivProps>;
6
+ declare const DraggablePanelBody: react62.NamedExoticComponent<DivProps>;
7
7
  //#endregion
8
8
  export { DraggablePanelBody, DraggablePanelBodyProps };
9
9
  //# sourceMappingURL=DraggablePanelBody.d.mts.map
@@ -1,9 +1,9 @@
1
1
  import { DivProps } from "../../types/index.mjs";
2
- import * as react73 from "react";
2
+ import * as react63 from "react";
3
3
 
4
4
  //#region src/DraggablePanel/components/DraggablePanelContainer.d.ts
5
5
  type DraggablePanelContainerProps = DivProps;
6
- declare const DraggablePanelContainer: react73.NamedExoticComponent<DivProps>;
6
+ declare const DraggablePanelContainer: react63.NamedExoticComponent<DivProps>;
7
7
  //#endregion
8
8
  export { DraggablePanelContainer, DraggablePanelContainerProps };
9
9
  //# sourceMappingURL=DraggablePanelContainer.d.mts.map
@@ -1,9 +1,9 @@
1
1
  import { DivProps } from "../../types/index.mjs";
2
- import * as react74 from "react";
2
+ import * as react64 from "react";
3
3
 
4
4
  //#region src/DraggablePanel/components/DraggablePanelFooter.d.ts
5
5
  type DraggablePanelFooterProps = DivProps;
6
- declare const DraggablePanelFooter: react74.NamedExoticComponent<DivProps>;
6
+ declare const DraggablePanelFooter: react64.NamedExoticComponent<DivProps>;
7
7
  //#endregion
8
8
  export { DraggablePanelFooter, DraggablePanelFooterProps };
9
9
  //# sourceMappingURL=DraggablePanelFooter.d.mts.map
@@ -1,5 +1,5 @@
1
1
  import { DivProps } from "../../types/index.mjs";
2
- import * as react75 from "react";
2
+ import * as react65 from "react";
3
3
 
4
4
  //#region src/DraggablePanel/components/DraggablePanelHeader.d.ts
5
5
  interface DraggablePanelHeaderProps extends Omit<DivProps, 'children'> {
@@ -9,7 +9,7 @@ interface DraggablePanelHeaderProps extends Omit<DivProps, 'children'> {
9
9
  setPin?: (pin: boolean) => void;
10
10
  title?: string;
11
11
  }
12
- declare const DraggablePanelHeader: react75.NamedExoticComponent<DraggablePanelHeaderProps>;
12
+ declare const DraggablePanelHeader: react65.NamedExoticComponent<DraggablePanelHeaderProps>;
13
13
  //#endregion
14
14
  export { DraggablePanelHeader, DraggablePanelHeaderProps };
15
15
  //# sourceMappingURL=DraggablePanelHeader.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { DraggableSideNavProps } from "./type.mjs";
2
- import * as react72 from "react";
2
+ import * as react61 from "react";
3
3
 
4
4
  //#region src/DraggableSideNav/DraggableSideNav.d.ts
5
- declare const DraggableSideNav: react72.NamedExoticComponent<DraggableSideNavProps>;
5
+ declare const DraggableSideNav: react61.NamedExoticComponent<DraggableSideNavProps>;
6
6
  //#endregion
7
7
  export { DraggableSideNav };
8
8
  //# sourceMappingURL=DraggableSideNav.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { DrawerProps } from "./type.mjs";
2
- import * as react71 from "react";
2
+ import * as react59 from "react";
3
3
 
4
4
  //#region src/Drawer/Drawer.d.ts
5
- declare const Drawer: react71.NamedExoticComponent<DrawerProps>;
5
+ declare const Drawer: react59.NamedExoticComponent<DrawerProps>;
6
6
  //#endregion
7
7
  export { Drawer };
8
8
  //# sourceMappingURL=Drawer.d.mts.map
@@ -1,5 +1,5 @@
1
1
  import { DropdownProps } from "./type.mjs";
2
- import * as react70 from "react";
2
+ import * as react60 from "react";
3
3
 
4
4
  //#region src/Dropdown/Dropdown.d.ts
5
5
 
@@ -9,7 +9,7 @@ import * as react70 from "react";
9
9
  * @see https://ui.lobehub.com/components/context-menu
10
10
  * @see https://ui.lobehub.com/components/dropdown-menu
11
11
  */
12
- declare const Dropdown: react70.NamedExoticComponent<DropdownProps>;
12
+ declare const Dropdown: react60.NamedExoticComponent<DropdownProps>;
13
13
  //#endregion
14
14
  export { Dropdown };
15
15
  //# sourceMappingURL=Dropdown.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { DropdownMenuProps } from "./type.mjs";
2
- import * as react79 from "react";
2
+ import * as react66 from "react";
3
3
 
4
4
  //#region src/DropdownMenu/DropdownMenu.d.ts
5
- declare const DropdownMenu: react79.NamedExoticComponent<DropdownMenuProps<unknown>>;
5
+ declare const DropdownMenu: react66.NamedExoticComponent<DropdownMenuProps<unknown>>;
6
6
  //#endregion
7
7
  export { DropdownMenu };
8
8
  //# sourceMappingURL=DropdownMenu.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { EditableTextProps } from "./type.mjs";
2
- import * as react77 from "react";
2
+ import * as react58 from "react";
3
3
 
4
4
  //#region src/EditableText/EditableText.d.ts
5
- declare const EditableText: react77.NamedExoticComponent<EditableTextProps>;
5
+ declare const EditableText: react58.NamedExoticComponent<EditableTextProps>;
6
6
  //#endregion
7
7
  export { EditableText };
8
8
  //# sourceMappingURL=EditableText.d.mts.map
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime25 from "react/jsx-runtime";
3
3
  import * as _base_ui_react_autocomplete0 from "@base-ui/react/autocomplete";
4
4
  import { Autocomplete } from "@base-ui/react/autocomplete";
5
5
 
@@ -17,7 +17,7 @@ declare const EditorSlashMenuPortal: {
17
17
  ({
18
18
  container,
19
19
  ...rest
20
- }: EditorSlashMenuPortalProps): react_jsx_runtime0.JSX.Element;
20
+ }: EditorSlashMenuPortalProps): react_jsx_runtime25.JSX.Element;
21
21
  displayName: string;
22
22
  };
23
23
  type EditorSlashMenuPositionerProps = React.ComponentProps<typeof Autocomplete.Positioner>;
@@ -29,7 +29,7 @@ declare const EditorSlashMenuPositioner: {
29
29
  side,
30
30
  sideOffset,
31
31
  ...rest
32
- }: EditorSlashMenuPositionerProps): react_jsx_runtime0.JSX.Element;
32
+ }: EditorSlashMenuPositionerProps): react_jsx_runtime25.JSX.Element;
33
33
  displayName: string;
34
34
  };
35
35
  type EditorSlashMenuPopupProps = React.ComponentProps<typeof Autocomplete.Popup>;
@@ -38,7 +38,7 @@ declare const EditorSlashMenuPopup: {
38
38
  className,
39
39
  initialFocus,
40
40
  ...rest
41
- }: EditorSlashMenuPopupProps): react_jsx_runtime0.JSX.Element;
41
+ }: EditorSlashMenuPopupProps): react_jsx_runtime25.JSX.Element;
42
42
  displayName: string;
43
43
  };
44
44
  type EditorSlashMenuItemProps = React.ComponentProps<typeof Autocomplete.Item> & {
@@ -49,7 +49,7 @@ declare const EditorSlashMenuItem: {
49
49
  className,
50
50
  danger,
51
51
  ...rest
52
- }: EditorSlashMenuItemProps): react_jsx_runtime0.JSX.Element;
52
+ }: EditorSlashMenuItemProps): react_jsx_runtime25.JSX.Element;
53
53
  displayName: string;
54
54
  };
55
55
  declare const EditorSlashMenuGroup: React.ForwardRefExoticComponent<_base_ui_react_autocomplete0.AutocompleteGroupProps & React.RefAttributes<HTMLDivElement>>;
@@ -58,7 +58,7 @@ declare const EditorSlashMenuGroupLabel: {
58
58
  ({
59
59
  className,
60
60
  ...rest
61
- }: EditorSlashMenuGroupLabelProps): react_jsx_runtime0.JSX.Element;
61
+ }: EditorSlashMenuGroupLabelProps): react_jsx_runtime25.JSX.Element;
62
62
  displayName: string;
63
63
  };
64
64
  type EditorSlashMenuEmptyProps = React.ComponentProps<typeof Autocomplete.Empty>;
@@ -66,7 +66,7 @@ declare const EditorSlashMenuEmpty: {
66
66
  ({
67
67
  className,
68
68
  ...rest
69
- }: EditorSlashMenuEmptyProps): react_jsx_runtime0.JSX.Element;
69
+ }: EditorSlashMenuEmptyProps): react_jsx_runtime25.JSX.Element;
70
70
  displayName: string;
71
71
  };
72
72
  type EditorSlashMenuItemContentProps = React.HTMLAttributes<HTMLDivElement>;
@@ -74,7 +74,7 @@ declare const EditorSlashMenuItemContent: {
74
74
  ({
75
75
  className,
76
76
  ...rest
77
- }: EditorSlashMenuItemContentProps): react_jsx_runtime0.JSX.Element;
77
+ }: EditorSlashMenuItemContentProps): react_jsx_runtime25.JSX.Element;
78
78
  displayName: string;
79
79
  };
80
80
  type EditorSlashMenuItemIconProps = React.HTMLAttributes<HTMLSpanElement>;
@@ -82,7 +82,7 @@ declare const EditorSlashMenuItemIcon: {
82
82
  ({
83
83
  className,
84
84
  ...rest
85
- }: EditorSlashMenuItemIconProps): react_jsx_runtime0.JSX.Element;
85
+ }: EditorSlashMenuItemIconProps): react_jsx_runtime25.JSX.Element;
86
86
  displayName: string;
87
87
  };
88
88
  type EditorSlashMenuItemLabelProps = React.HTMLAttributes<HTMLSpanElement>;
@@ -90,7 +90,7 @@ declare const EditorSlashMenuItemLabel: {
90
90
  ({
91
91
  className,
92
92
  ...rest
93
- }: EditorSlashMenuItemLabelProps): react_jsx_runtime0.JSX.Element;
93
+ }: EditorSlashMenuItemLabelProps): react_jsx_runtime25.JSX.Element;
94
94
  displayName: string;
95
95
  };
96
96
  type EditorSlashMenuItemExtraProps = React.HTMLAttributes<HTMLSpanElement>;
@@ -98,7 +98,7 @@ declare const EditorSlashMenuItemExtra: {
98
98
  ({
99
99
  className,
100
100
  ...rest
101
- }: EditorSlashMenuItemExtraProps): react_jsx_runtime0.JSX.Element;
101
+ }: EditorSlashMenuItemExtraProps): react_jsx_runtime25.JSX.Element;
102
102
  displayName: string;
103
103
  };
104
104
  type EditorSlashMenuHiddenInputProps = React.ComponentProps<typeof Autocomplete.Input>;
@@ -106,7 +106,7 @@ declare const EditorSlashMenuHiddenInput: {
106
106
  ({
107
107
  className,
108
108
  ...rest
109
- }: EditorSlashMenuHiddenInputProps): react_jsx_runtime0.JSX.Element;
109
+ }: EditorSlashMenuHiddenInputProps): react_jsx_runtime25.JSX.Element;
110
110
  displayName: string;
111
111
  };
112
112
  //#endregion
@@ -1,8 +1,8 @@
1
1
  import { FlexBasicProps } from "./type.mjs";
2
- import * as react69 from "react";
2
+ import * as react56 from "react";
3
3
 
4
4
  //#region src/Flex/FlexBasic.d.ts
5
- declare const _default: react69.NamedExoticComponent<FlexBasicProps>;
5
+ declare const _default: react56.NamedExoticComponent<FlexBasicProps>;
6
6
  //#endregion
7
7
  export { _default };
8
8
  //# sourceMappingURL=FlexBasic.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { FooterProps } from "./type.mjs";
2
- import * as react68 from "react";
2
+ import * as react55 from "react";
3
3
 
4
4
  //#region src/Footer/Footer.d.ts
5
- declare const Footer: react68.NamedExoticComponent<FooterProps>;
5
+ declare const Footer: react55.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 react65 from "react";
2
+ import * as react53 from "react";
3
3
 
4
4
  //#region src/Form/components/FormGroup.d.ts
5
- declare const FormGroup: react65.NamedExoticComponent<FormGroupProps>;
5
+ declare const FormGroup: react53.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 react66 from "react";
2
+ import * as react54 from "react";
3
3
 
4
4
  //#region src/Form/components/FormItem.d.ts
5
- declare const FormItem: react66.NamedExoticComponent<FormItemProps>;
5
+ declare const FormItem: react54.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 react67 from "react";
2
+ import * as react52 from "react";
3
3
 
4
4
  //#region src/Form/components/FormSubmitFooter.d.ts
5
- declare const FormSubmitFooter: react67.NamedExoticComponent<FormSubmitFooterProps>;
5
+ declare const FormSubmitFooter: react52.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 react58 from "react";
2
+ import * as react51 from "react";
3
3
 
4
4
  //#region src/FormModal/FormModal.d.ts
5
- declare const FormModal: react58.NamedExoticComponent<FormModalProps>;
5
+ declare const FormModal: react51.NamedExoticComponent<FormModalProps>;
6
6
  //#endregion
7
7
  export { FormModal };
8
8
  //# sourceMappingURL=FormModal.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { HeaderProps } from "./type.mjs";
2
- import * as react51 from "react";
2
+ import * as react50 from "react";
3
3
 
4
4
  //#region src/Header/Header.d.ts
5
- declare const Header: react51.NamedExoticComponent<HeaderProps>;
5
+ declare const Header: react50.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 react49 from "react";
2
+ import * as react47 from "react";
3
3
 
4
4
  //#region src/Highlighter/Highlighter.d.ts
5
- declare const Highlighter: react49.NamedExoticComponent<HighlighterProps>;
5
+ declare const Highlighter: react47.NamedExoticComponent<HighlighterProps>;
6
6
  //#endregion
7
7
  export { Highlighter };
8
8
  //# sourceMappingURL=Highlighter.d.mts.map
@@ -48,10 +48,14 @@ const styles = createStaticStyles(({ css: css$1, cssVar: cssVar$1 }) => {
48
48
  `,
49
49
  shiki: cx("ant-highlighter-highlighter-shiki", css$1`
50
50
  pre {
51
+ user-select: none;
52
+
51
53
  code {
52
54
  display: block;
53
55
 
54
56
  .line {
57
+ user-select: text;
58
+
55
59
  display: inline-block;
56
60
 
57
61
  width: calc(100% + 32px);
@@ -1 +1 @@
1
- {"version":3,"file":"style.mjs","names":["cssVar"],"sources":["../../../src/Highlighter/SyntaxHighlighter/style.ts"],"sourcesContent":["import { createStaticStyles, cx, keyframes } from 'antd-style';\nimport { cva } from 'class-variance-authority';\n\nconst fadeIn = keyframes`\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n `;\n\nexport const styles = createStaticStyles(({ css, cssVar }) => {\n return {\n animated: css`\n .animate-fade-in,\n span.line > span,\n code:not(:has(span.line)) {\n opacity: 1;\n animation: ${fadeIn} 1s ease-in-out;\n }\n `,\n\n noBackground: css`\n pre {\n background: transparent !important;\n }\n `,\n\n noPadding: css`\n pre {\n padding: 0;\n }\n `,\n\n padding: css`\n pre {\n padding: 16px;\n }\n `,\n root: css`\n direction: ltr;\n margin: 0;\n padding: 0;\n text-align: start;\n\n pre {\n overflow-x: auto;\n margin: 0;\n }\n `,\n shiki: cx(\n 'ant-highlighter-highlighter-shiki',\n css`\n pre {\n code {\n display: block;\n\n .line {\n display: inline-block;\n\n width: calc(100% + 32px);\n margin-block: 0;\n margin-inline: -16px;\n padding-block: 0;\n padding-inline: 16px;\n }\n }\n\n &.has-focused {\n .line:not(.focused) {\n opacity: 0.5;\n }\n }\n\n .highlighted {\n background: ${cssVar.colorFillTertiary};\n\n &.warning {\n background: ${cssVar.colorWarningBg};\n }\n\n &.error {\n background: ${cssVar.colorErrorBg};\n }\n }\n\n .highlighted-word {\n padding-block: 0.1em;\n padding-inline: 0.2em;\n border: 1px solid ${cssVar.colorBorderSecondary};\n border-radius: ${cssVar.borderRadius};\n\n background: ${cssVar.colorFillTertiary};\n }\n\n .diff {\n &.remove {\n background: ${cssVar.colorErrorBg};\n\n &::before {\n content: '-';\n\n position: absolute;\n inset-inline-start: 4px;\n\n display: inline-block;\n\n color: ${cssVar.colorErrorText};\n }\n }\n\n &.add {\n background: ${cssVar.colorSuccessBg};\n\n &::before {\n content: '+';\n\n position: absolute;\n inset-inline-start: 4px;\n\n display: inline-block;\n\n color: ${cssVar.colorSuccessText};\n }\n }\n }\n }\n `,\n ),\n unshiki: css`\n color: ${cssVar.colorTextDescription};\n `,\n };\n});\n\nexport const variants = cva(styles.root, {\n defaultVariants: {\n animated: false,\n shiki: true,\n showBackground: false,\n variant: 'borderless',\n },\n /* eslint-disable sort-keys-fix/sort-keys-fix */\n variants: {\n shiki: {\n false: styles.unshiki,\n true: styles.shiki,\n },\n showBackground: {\n false: styles.noBackground,\n true: null,\n },\n animated: {\n true: styles.animated,\n false: null,\n },\n variant: {\n filled: styles.padding,\n outlined: styles.padding,\n borderless: styles.noPadding,\n },\n },\n /* eslint-enable sort-keys-fix/sort-keys-fix */\n});\n"],"mappings":";;;;AAGA,MAAM,SAAS,SAAS;;;;;;;;AASxB,MAAa,SAAS,oBAAoB,EAAE,YAAK,uBAAa;AAC5D,QAAO;EACL,UAAU,KAAG;;;;;qBAKI,OAAO;;;EAIxB,cAAc,KAAG;;;;;EAMjB,WAAW,KAAG;;;;;EAMd,SAAS,KAAG;;;;;EAKZ,MAAM,KAAG;;;;;;;;;;;EAWT,OAAO,GACL,qCACA,KAAG;;;;;;;;;;;;;;;;;;;;;;;0BAuBiBA,SAAO,kBAAkB;;;4BAGvBA,SAAO,eAAe;;;;4BAItBA,SAAO,aAAa;;;;;;;gCAOhBA,SAAO,qBAAqB;6BAC/BA,SAAO,aAAa;;0BAEvBA,SAAO,kBAAkB;;;;;4BAKvBA,SAAO,aAAa;;;;;;;;;;yBAUvBA,SAAO,eAAe;;;;;4BAKnBA,SAAO,eAAe;;;;;;;;;;yBAUzBA,SAAO,iBAAiB;;;;;QAM5C;EACD,SAAS,KAAG;eACDA,SAAO,qBAAqB;;EAExC;EACD;AAEF,MAAa,WAAW,IAAI,OAAO,MAAM;CACvC,iBAAiB;EACf,UAAU;EACV,OAAO;EACP,gBAAgB;EAChB,SAAS;EACV;CAED,UAAU;EACR,OAAO;GACL,OAAO,OAAO;GACd,MAAM,OAAO;GACd;EACD,gBAAgB;GACd,OAAO,OAAO;GACd,MAAM;GACP;EACD,UAAU;GACR,MAAM,OAAO;GACb,OAAO;GACR;EACD,SAAS;GACP,QAAQ,OAAO;GACf,UAAU,OAAO;GACjB,YAAY,OAAO;GACpB;EACF;CAEF,CAAC"}
1
+ {"version":3,"file":"style.mjs","names":["cssVar"],"sources":["../../../src/Highlighter/SyntaxHighlighter/style.ts"],"sourcesContent":["import { createStaticStyles, cx, keyframes } from 'antd-style';\nimport { cva } from 'class-variance-authority';\n\nconst fadeIn = keyframes`\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n `;\n\nexport const styles = createStaticStyles(({ css, cssVar }) => {\n return {\n animated: css`\n .animate-fade-in,\n span.line > span,\n code:not(:has(span.line)) {\n opacity: 1;\n animation: ${fadeIn} 1s ease-in-out;\n }\n `,\n\n noBackground: css`\n pre {\n background: transparent !important;\n }\n `,\n\n noPadding: css`\n pre {\n padding: 0;\n }\n `,\n\n padding: css`\n pre {\n padding: 16px;\n }\n `,\n root: css`\n direction: ltr;\n margin: 0;\n padding: 0;\n text-align: start;\n\n pre {\n overflow-x: auto;\n margin: 0;\n }\n `,\n shiki: cx(\n 'ant-highlighter-highlighter-shiki',\n css`\n pre {\n user-select: none;\n\n code {\n display: block;\n\n .line {\n user-select: text;\n\n display: inline-block;\n\n width: calc(100% + 32px);\n margin-block: 0;\n margin-inline: -16px;\n padding-block: 0;\n padding-inline: 16px;\n }\n }\n\n &.has-focused {\n .line:not(.focused) {\n opacity: 0.5;\n }\n }\n\n .highlighted {\n background: ${cssVar.colorFillTertiary};\n\n &.warning {\n background: ${cssVar.colorWarningBg};\n }\n\n &.error {\n background: ${cssVar.colorErrorBg};\n }\n }\n\n .highlighted-word {\n padding-block: 0.1em;\n padding-inline: 0.2em;\n border: 1px solid ${cssVar.colorBorderSecondary};\n border-radius: ${cssVar.borderRadius};\n\n background: ${cssVar.colorFillTertiary};\n }\n\n .diff {\n &.remove {\n background: ${cssVar.colorErrorBg};\n\n &::before {\n content: '-';\n\n position: absolute;\n inset-inline-start: 4px;\n\n display: inline-block;\n\n color: ${cssVar.colorErrorText};\n }\n }\n\n &.add {\n background: ${cssVar.colorSuccessBg};\n\n &::before {\n content: '+';\n\n position: absolute;\n inset-inline-start: 4px;\n\n display: inline-block;\n\n color: ${cssVar.colorSuccessText};\n }\n }\n }\n }\n `,\n ),\n unshiki: css`\n color: ${cssVar.colorTextDescription};\n `,\n };\n});\n\nexport const variants = cva(styles.root, {\n defaultVariants: {\n animated: false,\n shiki: true,\n showBackground: false,\n variant: 'borderless',\n },\n /* eslint-disable sort-keys-fix/sort-keys-fix */\n variants: {\n shiki: {\n false: styles.unshiki,\n true: styles.shiki,\n },\n showBackground: {\n false: styles.noBackground,\n true: null,\n },\n animated: {\n true: styles.animated,\n false: null,\n },\n variant: {\n filled: styles.padding,\n outlined: styles.padding,\n borderless: styles.noPadding,\n },\n },\n /* eslint-enable sort-keys-fix/sort-keys-fix */\n});\n"],"mappings":";;;;AAGA,MAAM,SAAS,SAAS;;;;;;;;AASxB,MAAa,SAAS,oBAAoB,EAAE,YAAK,uBAAa;AAC5D,QAAO;EACL,UAAU,KAAG;;;;;qBAKI,OAAO;;;EAIxB,cAAc,KAAG;;;;;EAMjB,WAAW,KAAG;;;;;EAMd,SAAS,KAAG;;;;;EAKZ,MAAM,KAAG;;;;;;;;;;;EAWT,OAAO,GACL,qCACA,KAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;0BA2BiBA,SAAO,kBAAkB;;;4BAGvBA,SAAO,eAAe;;;;4BAItBA,SAAO,aAAa;;;;;;;gCAOhBA,SAAO,qBAAqB;6BAC/BA,SAAO,aAAa;;0BAEvBA,SAAO,kBAAkB;;;;;4BAKvBA,SAAO,aAAa;;;;;;;;;;yBAUvBA,SAAO,eAAe;;;;;4BAKnBA,SAAO,eAAe;;;;;;;;;;yBAUzBA,SAAO,iBAAiB;;;;;QAM5C;EACD,SAAS,KAAG;eACDA,SAAO,qBAAqB;;EAExC;EACD;AAEF,MAAa,WAAW,IAAI,OAAO,MAAM;CACvC,iBAAiB;EACf,UAAU;EACV,OAAO;EACP,gBAAgB;EAChB,SAAS;EACV;CAED,UAAU;EACR,OAAO;GACL,OAAO,OAAO;GACd,MAAM,OAAO;GACd;EACD,gBAAgB;GACd,OAAO,OAAO;GACd,MAAM;GACP;EACD,UAAU;GACR,MAAM,OAAO;GACb,OAAO;GACR;EACD,SAAS;GACP,QAAQ,OAAO;GACf,UAAU,OAAO;GACjB,YAAY,OAAO;GACpB;EACF;CAEF,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import { HotkeyProps } from "./type.mjs";
2
- import * as react47 from "react";
2
+ import * as react46 from "react";
3
3
 
4
4
  //#region src/Hotkey/Hotkey.d.ts
5
- declare const Hotkey: react47.NamedExoticComponent<HotkeyProps>;
5
+ declare const Hotkey: react46.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 react45 from "react";
2
+ import * as react49 from "react";
3
3
 
4
4
  //#region src/HotkeyInput/HotkeyInput.d.ts
5
- declare const HotkeyInput: react45.NamedExoticComponent<HotkeyInputProps>;
5
+ declare const HotkeyInput: react49.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 react44 from "react";
2
+ import * as react39 from "react";
3
3
 
4
4
  //#region src/Icon/Icon.d.ts
5
- declare const Icon: react44.NamedExoticComponent<IconProps>;
5
+ declare const Icon: react39.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 react42 from "react";
2
+ import * as react37 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: react42.Context<IconContentConfig>;
8
- declare const IconProvider: react42.NamedExoticComponent<{
7
+ declare const IconContext: react37.Context<IconContentConfig>;
8
+ declare const IconProvider: react37.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 react39 from "react";
2
+ import * as react75 from "react";
3
3
 
4
4
  //#region src/Image/PreviewGroup.d.ts
5
- declare const PreviewGroup: react39.NamedExoticComponent<PreviewGroupProps>;
5
+ declare const PreviewGroup: react75.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 react153 from "react";
2
+ import * as react150 from "react";
3
3
 
4
4
  //#region src/Input/Input.d.ts
5
- declare const Input: react153.NamedExoticComponent<InputProps>;
5
+ declare const Input: react150.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 react154 from "react";
2
+ import * as react151 from "react";
3
3
 
4
4
  //#region src/Input/InputNumber.d.ts
5
- declare const InputNumber: react154.NamedExoticComponent<InputNumberProps>;
5
+ declare const InputNumber: react151.NamedExoticComponent<InputNumberProps>;
6
6
  //#endregion
7
7
  export { InputNumber };
8
8
  //# sourceMappingURL=InputNumber.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { InputPasswordProps } from "./type.mjs";
2
- import * as react150 from "react";
2
+ import * as react153 from "react";
3
3
 
4
4
  //#region src/Input/InputPassword.d.ts
5
- declare const InputPassword: react150.NamedExoticComponent<InputPasswordProps>;
5
+ declare const InputPassword: react153.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 react151 from "react";
2
+ import * as react154 from "react";
3
3
 
4
4
  //#region src/Input/TextArea.d.ts
5
- declare const TextArea: react151.NamedExoticComponent<TextAreaProps>;
5
+ declare const TextArea: react154.NamedExoticComponent<TextAreaProps>;
6
6
  //#endregion
7
7
  export { TextArea };
8
8
  //# sourceMappingURL=TextArea.d.mts.map