@lobehub/ui 4.3.11 → 4.3.12

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 (122) 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/CopyButton/CopyButton.d.mts +2 -2
  12. package/es/DatePicker/DatePicker.d.mts +2 -2
  13. package/es/DraggablePanel/components/DraggablePanelBody.d.mts +2 -2
  14. package/es/DraggablePanel/components/DraggablePanelContainer.d.mts +2 -2
  15. package/es/DraggablePanel/components/DraggablePanelFooter.d.mts +2 -2
  16. package/es/DraggablePanel/components/DraggablePanelHeader.d.mts +2 -2
  17. package/es/DraggableSideNav/DraggableSideNav.d.mts +2 -2
  18. package/es/Drawer/Drawer.d.mts +2 -2
  19. package/es/Dropdown/Dropdown.d.mts +2 -2
  20. package/es/EditableText/EditableText.d.mts +2 -2
  21. package/es/EmojiPicker/EmojiPicker.d.mts +2 -2
  22. package/es/Flex/FlexBasic.d.mts +2 -2
  23. package/es/FontLoader/index.d.mts +2 -2
  24. package/es/Footer/Footer.d.mts +2 -2
  25. package/es/Form/components/FormGroup.d.mts +2 -2
  26. package/es/Form/components/FormItem.d.mts +2 -2
  27. package/es/Form/components/FormSubmitFooter.d.mts +2 -2
  28. package/es/FormModal/FormModal.d.mts +2 -2
  29. package/es/GuideCard/GuideCard.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/index.d.mts +2 -2
  33. package/es/Hotkey/Hotkey.d.mts +2 -2
  34. package/es/HotkeyInput/HotkeyInput.d.mts +2 -2
  35. package/es/Icon/Icon.d.mts +2 -2
  36. package/es/Icon/components/IconProvider.d.mts +3 -3
  37. package/es/Image/PreviewGroup.d.mts +2 -2
  38. package/es/Image/components/usePreviewGroup.mjs +1 -1
  39. package/es/Image/components/usePreviewGroup.mjs.map +1 -1
  40. package/es/Image/style.mjs +52 -3
  41. package/es/Image/style.mjs.map +1 -1
  42. package/es/Input/Input.d.mts +2 -2
  43. package/es/Input/InputNumber.d.mts +2 -2
  44. package/es/Input/InputOPT.d.mts +2 -2
  45. package/es/Input/InputPassword.d.mts +2 -2
  46. package/es/Input/TextArea.d.mts +2 -2
  47. package/es/Layout/components/LayoutFooter.d.mts +2 -2
  48. package/es/Layout/components/LayoutHeader.d.mts +2 -2
  49. package/es/Layout/components/LayoutMain.d.mts +2 -2
  50. package/es/Layout/components/LayoutSidebar.d.mts +2 -2
  51. package/es/Layout/components/LayoutSidebarInner.d.mts +2 -2
  52. package/es/Layout/components/LayoutToc.d.mts +2 -2
  53. package/es/List/ListItem/index.d.mts +2 -2
  54. package/es/Markdown/Markdown.d.mts +2 -2
  55. package/es/Markdown/Typography.d.mts +2 -2
  56. package/es/Markdown/components/SearchResultCards/index.d.mts +2 -2
  57. package/es/Markdown/style.mjs +1 -1
  58. package/es/Markdown/style.mjs.map +1 -1
  59. package/es/MaskShadow/MaskShadow.d.mts +2 -2
  60. package/es/Menu/Menu.d.mts +2 -2
  61. package/es/Mermaid/Mermaid.d.mts +2 -2
  62. package/es/Mermaid/SyntaxMermaid/index.d.mts +2 -2
  63. package/es/Modal/Modal.d.mts +2 -2
  64. package/es/MotionProvider/index.d.mts +2 -2
  65. package/es/SearchBar/SearchBar.d.mts +2 -2
  66. package/es/Segmented/Segmented.d.mts +2 -2
  67. package/es/Select/Select.d.mts +2 -2
  68. package/es/SideNav/SideNav.d.mts +2 -2
  69. package/es/SliderWithInput/SliderWithInput.d.mts +2 -2
  70. package/es/SortableList/components/DragHandle.d.mts +2 -2
  71. package/es/SortableList/components/SortableItem.d.mts +2 -2
  72. package/es/ThemeProvider/ThemeProvider.d.mts +2 -2
  73. package/es/Toc/Toc.d.mts +2 -2
  74. package/es/Video/index.d.mts +2 -2
  75. package/es/awesome/AuroraBackground/AuroraBackground.d.mts +2 -2
  76. package/es/awesome/BottomGradientButton/BottomGradientButton.d.mts +2 -2
  77. package/es/awesome/Features/Features.d.mts +2 -2
  78. package/es/awesome/Giscus/Giscus.d.mts +2 -2
  79. package/es/awesome/GradientButton/GradientButton.d.mts +2 -2
  80. package/es/awesome/GridBackground/GridBackground.d.mts +2 -2
  81. package/es/awesome/GridBackground/GridShowcase.d.mts +2 -2
  82. package/es/awesome/Hero/Hero.d.mts +2 -2
  83. package/es/awesome/Spline/Spine.d.mts +2 -2
  84. package/es/awesome/Spotlight/Spotlight.d.mts +2 -2
  85. package/es/awesome/SpotlightCard/SpotlightCard.d.mts +2 -2
  86. package/es/awesome/TypewriterEffect/TypewriterEffect.d.mts +2 -2
  87. package/es/brand/LobeChat/index.d.mts +2 -2
  88. package/es/brand/LobeHub/index.d.mts +2 -2
  89. package/es/brand/LogoThree/LogoSpline.d.mts +2 -2
  90. package/es/brand/LogoThree/index.d.mts +2 -2
  91. package/es/chat/BackBottom/BackBottom.d.mts +2 -2
  92. package/es/chat/ChatInputArea/components/ChatInputAreaInner.d.mts +2 -2
  93. package/es/chat/ChatItem/ChatItem.d.mts +2 -2
  94. package/es/chat/ChatList/ChatList.d.mts +2 -2
  95. package/es/chat/EditableMessage/EditableMessage.d.mts +2 -2
  96. package/es/chat/EditableMessageList/EditableMessageList.d.mts +2 -2
  97. package/es/chat/MessageInput/MessageInput.d.mts +2 -2
  98. package/es/chat/MessageModal/MessageModal.d.mts +2 -2
  99. package/es/color/ColorScales/index.d.mts +2 -2
  100. package/es/color/CssVar/index.d.mts +2 -2
  101. package/es/i18n/context.d.mts +2 -2
  102. package/es/icons/lucideExtra/BotPromptIcon.d.mts +2 -2
  103. package/es/icons/lucideExtra/CreateBotIcon.d.mts +3 -3
  104. package/es/icons/lucideExtra/DiscordIcon.d.mts +3 -3
  105. package/es/icons/lucideExtra/GlobeOffIcon.d.mts +2 -2
  106. package/es/icons/lucideExtra/GroupBotIcon.d.mts +3 -3
  107. package/es/icons/lucideExtra/GroupBotSquareIcon.d.mts +3 -3
  108. package/es/icons/lucideExtra/LeftClickIcon.d.mts +3 -3
  109. package/es/icons/lucideExtra/LeftDoubleClickIcon.d.mts +3 -3
  110. package/es/icons/lucideExtra/McpIcon.d.mts +3 -3
  111. package/es/icons/lucideExtra/ProviderIcon.d.mts +3 -3
  112. package/es/icons/lucideExtra/RightClickIcon.d.mts +3 -3
  113. package/es/icons/lucideExtra/RightDoubleClickIcon.d.mts +2 -2
  114. package/es/icons/lucideExtra/ShapesUploadIcon.d.mts +2 -2
  115. package/es/icons/lucideExtra/TreeDownRightIcon.d.mts +2 -2
  116. package/es/icons/lucideExtra/TreeUpDownRightIcon.d.mts +3 -3
  117. package/es/mdx/Mdx/index.d.mts +2 -2
  118. package/es/mobile/ChatHeader/ChatHeaderTitle.d.mts +2 -2
  119. package/es/mobile/ChatInputArea/components/ChatSendButton.d.mts +2 -2
  120. package/es/mobile/TabBar/TabBar.d.mts +2 -2
  121. package/es/storybook/StoryBook/index.d.mts +2 -2
  122. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  import { AccordionProps } from "./type.mjs";
2
- import * as react30 from "react";
2
+ import * as react59 from "react";
3
3
 
4
4
  //#region src/Accordion/Accordion.d.ts
5
- declare const Accordion: react30.NamedExoticComponent<AccordionProps>;
5
+ declare const Accordion: react59.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 react31 from "react";
2
+ import * as react60 from "react";
3
3
 
4
4
  //#region src/Accordion/AccordionItem.d.ts
5
- declare const AccordionItem: react31.NamedExoticComponent<AccordionItemProps>;
5
+ declare const AccordionItem: react60.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 react62 from "react";
2
+ import * as react43 from "react";
3
3
 
4
4
  //#region src/ActionIcon/ActionIcon.d.ts
5
- declare const ActionIcon: react62.NamedExoticComponent<ActionIconProps>;
5
+ declare const ActionIcon: react43.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 react11 from "react";
2
+ import * as react42 from "react";
3
3
 
4
4
  //#region src/Alert/Alert.d.ts
5
- declare const Alert: react11.NamedExoticComponent<AlertProps>;
5
+ declare const Alert: react42.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 react13 from "react";
2
+ import * as react45 from "react";
3
3
 
4
4
  //#region src/AutoComplete/Select.d.ts
5
- declare const AutoComplete: react13.NamedExoticComponent<AutoCompleteProps>;
5
+ declare const AutoComplete: react45.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 react70 from "react";
2
+ import * as react41 from "react";
3
3
 
4
4
  //#region src/Avatar/AvatarGroup/index.d.ts
5
- declare const AvatarGroup: react70.NamedExoticComponent<AvatarGroupProps>;
5
+ declare const AvatarGroup: react41.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 react15 from "react";
2
+ import * as react62 from "react";
3
3
 
4
4
  //#region src/Burger/Burger.d.ts
5
- declare const Burger: react15.NamedExoticComponent<BurgerProps>;
5
+ declare const Burger: react62.NamedExoticComponent<BurgerProps>;
6
6
  //#endregion
7
7
  export { Burger };
8
8
  //# sourceMappingURL=Burger.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { CodeEditorProps } from "./type.mjs";
2
- import * as react14 from "react";
2
+ import * as react50 from "react";
3
3
 
4
4
  //#region src/CodeEditor/CodeEditor.d.ts
5
- declare const CodeEditor: react14.NamedExoticComponent<CodeEditorProps>;
5
+ declare const CodeEditor: react50.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 react12 from "react";
2
+ import * as react9 from "react";
3
3
 
4
4
  //#region src/Collapse/Collapse.d.ts
5
- declare const Collapse: react12.NamedExoticComponent<CollapseProps>;
5
+ declare const Collapse: react9.NamedExoticComponent<CollapseProps>;
6
6
  //#endregion
7
7
  export { Collapse };
8
8
  //# sourceMappingURL=Collapse.d.mts.map
@@ -1,7 +1,7 @@
1
1
  import { MotionComponentType } from "../MotionProvider/index.mjs";
2
2
  import { TranslationResourcesInput } from "../i18n/types.mjs";
3
3
  import { CDN, CdnApi } from "../utils/genCdnUrl.mjs";
4
- import * as react64 from "react";
4
+ import * as react53 from "react";
5
5
  import { ElementType, ReactNode } from "react";
6
6
 
7
7
  //#region src/ConfigProvider/index.d.ts
@@ -19,7 +19,7 @@ interface ConfigProviderProps {
19
19
  motion: MotionComponentType;
20
20
  resources?: TranslationResourcesInput;
21
21
  }
22
- declare const ConfigProvider: react64.NamedExoticComponent<ConfigProviderProps>;
22
+ declare const ConfigProvider: react53.NamedExoticComponent<ConfigProviderProps>;
23
23
  type CdnFn = ({
24
24
  pkg,
25
25
  version,
@@ -1,8 +1,8 @@
1
1
  import { CopyButtonProps } from "./type.mjs";
2
- import * as react9 from "react";
2
+ import * as react7 from "react";
3
3
 
4
4
  //#region src/CopyButton/CopyButton.d.ts
5
- declare const CopyButton: react9.NamedExoticComponent<CopyButtonProps>;
5
+ declare const CopyButton: react7.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 react56 from "react";
2
+ import * as react61 from "react";
3
3
 
4
4
  //#region src/DatePicker/DatePicker.d.ts
5
- declare const DatePicker: react56.NamedExoticComponent<DatePickerProps>;
5
+ declare const DatePicker: react61.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 react5 from "react";
2
+ import * as react47 from "react";
3
3
 
4
4
  //#region src/DraggablePanel/components/DraggablePanelBody.d.ts
5
5
  type DraggablePanelBodyProps = DivProps;
6
- declare const DraggablePanelBody: react5.NamedExoticComponent<DivProps>;
6
+ declare const DraggablePanelBody: react47.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 react7 from "react";
2
+ import * as react46 from "react";
3
3
 
4
4
  //#region src/DraggablePanel/components/DraggablePanelContainer.d.ts
5
5
  type DraggablePanelContainerProps = DivProps;
6
- declare const DraggablePanelContainer: react7.NamedExoticComponent<DivProps>;
6
+ declare const DraggablePanelContainer: react46.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 react8 from "react";
2
+ import * as react49 from "react";
3
3
 
4
4
  //#region src/DraggablePanel/components/DraggablePanelFooter.d.ts
5
5
  type DraggablePanelFooterProps = DivProps;
6
- declare const DraggablePanelFooter: react8.NamedExoticComponent<DivProps>;
6
+ declare const DraggablePanelFooter: react49.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 react6 from "react";
2
+ import * as react48 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: react6.NamedExoticComponent<DraggablePanelHeaderProps>;
12
+ declare const DraggablePanelHeader: react48.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 react54 from "react";
2
+ import * as react44 from "react";
3
3
 
4
4
  //#region src/DraggableSideNav/DraggableSideNav.d.ts
5
- declare const DraggableSideNav: react54.NamedExoticComponent<DraggableSideNavProps>;
5
+ declare const DraggableSideNav: react44.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 react50 from "react";
2
+ import * as react51 from "react";
3
3
 
4
4
  //#region src/Drawer/Drawer.d.ts
5
- declare const Drawer: react50.NamedExoticComponent<DrawerProps>;
5
+ declare const Drawer: react51.NamedExoticComponent<DrawerProps>;
6
6
  //#endregion
7
7
  export { Drawer };
8
8
  //# sourceMappingURL=Drawer.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { DropdownProps } from "./type.mjs";
2
- import * as react4 from "react";
2
+ import * as react70 from "react";
3
3
 
4
4
  //#region src/Dropdown/Dropdown.d.ts
5
- declare const Dropdown: react4.NamedExoticComponent<DropdownProps>;
5
+ declare const Dropdown: react70.NamedExoticComponent<DropdownProps>;
6
6
  //#endregion
7
7
  export { Dropdown };
8
8
  //# sourceMappingURL=Dropdown.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { EditableTextProps } from "./type.mjs";
2
- import * as react2 from "react";
2
+ import * as react40 from "react";
3
3
 
4
4
  //#region src/EditableText/EditableText.d.ts
5
- declare const EditableText: react2.NamedExoticComponent<EditableTextProps>;
5
+ declare const EditableText: react40.NamedExoticComponent<EditableTextProps>;
6
6
  //#endregion
7
7
  export { EditableText };
8
8
  //# sourceMappingURL=EditableText.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { EmojiPickerProps } from "./type.mjs";
2
- import * as react3 from "react";
2
+ import * as react29 from "react";
3
3
 
4
4
  //#region src/EmojiPicker/EmojiPicker.d.ts
5
- declare const EmojiPicker: react3.NamedExoticComponent<EmojiPickerProps>;
5
+ declare const EmojiPicker: react29.NamedExoticComponent<EmojiPickerProps>;
6
6
  //#endregion
7
7
  export { EmojiPicker };
8
8
  //# sourceMappingURL=EmojiPicker.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { FlexBasicProps } from "./type.mjs";
2
- import * as react61 from "react";
2
+ import * as react35 from "react";
3
3
 
4
4
  //#region src/Flex/FlexBasic.d.ts
5
- declare const _default: react61.NamedExoticComponent<FlexBasicProps>;
5
+ declare const _default: react35.NamedExoticComponent<FlexBasicProps>;
6
6
  //#endregion
7
7
  export { _default };
8
8
  //# sourceMappingURL=FlexBasic.d.mts.map
@@ -1,10 +1,10 @@
1
- import * as react63 from "react";
1
+ import * as react52 from "react";
2
2
 
3
3
  //#region src/FontLoader/index.d.ts
4
4
  interface FontLoaderProps {
5
5
  url: string;
6
6
  }
7
- declare const FontLoader: react63.NamedExoticComponent<FontLoaderProps>;
7
+ declare const FontLoader: react52.NamedExoticComponent<FontLoaderProps>;
8
8
  //#endregion
9
9
  export { FontLoader, FontLoaderProps };
10
10
  //# sourceMappingURL=index.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { FooterProps } from "./type.mjs";
2
- import * as react60 from "react";
2
+ import * as react34 from "react";
3
3
 
4
4
  //#region src/Footer/Footer.d.ts
5
- declare const Footer: react60.NamedExoticComponent<FooterProps>;
5
+ declare const Footer: react34.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 react57 from "react";
2
+ import * as react31 from "react";
3
3
 
4
4
  //#region src/Form/components/FormGroup.d.ts
5
- declare const FormGroup: react57.NamedExoticComponent<FormGroupProps>;
5
+ declare const FormGroup: react31.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 react58 from "react";
2
+ import * as react32 from "react";
3
3
 
4
4
  //#region src/Form/components/FormItem.d.ts
5
- declare const FormItem: react58.NamedExoticComponent<FormItemProps>;
5
+ declare const FormItem: react32.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 react59 from "react";
2
+ import * as react33 from "react";
3
3
 
4
4
  //#region src/Form/components/FormSubmitFooter.d.ts
5
- declare const FormSubmitFooter: react59.NamedExoticComponent<FormSubmitFooterProps>;
5
+ declare const FormSubmitFooter: react33.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 react1 from "react";
2
+ import * as react30 from "react";
3
3
 
4
4
  //#region src/FormModal/FormModal.d.ts
5
- declare const FormModal: react1.NamedExoticComponent<FormModalProps>;
5
+ declare const FormModal: react30.NamedExoticComponent<FormModalProps>;
6
6
  //#endregion
7
7
  export { FormModal };
8
8
  //# sourceMappingURL=FormModal.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { GuideCardProps } from "./type.mjs";
2
- import * as react128 from "react";
2
+ import * as react106 from "react";
3
3
 
4
4
  //#region src/GuideCard/GuideCard.d.ts
5
- declare const GuideCard: react128.NamedExoticComponent<GuideCardProps>;
5
+ declare const GuideCard: react106.NamedExoticComponent<GuideCardProps>;
6
6
  //#endregion
7
7
  export { GuideCard };
8
8
  //# sourceMappingURL=GuideCard.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { HeaderProps } from "./type.mjs";
2
- import * as react55 from "react";
2
+ import * as react27 from "react";
3
3
 
4
4
  //#region src/Header/Header.d.ts
5
- declare const Header: react55.NamedExoticComponent<HeaderProps>;
5
+ declare const Header: react27.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 react52 from "react";
2
+ import * as react24 from "react";
3
3
 
4
4
  //#region src/Highlighter/Highlighter.d.ts
5
- declare const Highlighter: react52.NamedExoticComponent<HighlighterProps>;
5
+ declare const Highlighter: react24.NamedExoticComponent<HighlighterProps>;
6
6
  //#endregion
7
7
  export { Highlighter };
8
8
  //# sourceMappingURL=Highlighter.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { SyntaxHighlighterProps } from "../type.mjs";
2
- import * as react53 from "react";
2
+ import * as react25 from "react";
3
3
 
4
4
  //#region src/Highlighter/SyntaxHighlighter/index.d.ts
5
- declare const SyntaxHighlighter: react53.NamedExoticComponent<SyntaxHighlighterProps>;
5
+ declare const SyntaxHighlighter: react25.NamedExoticComponent<SyntaxHighlighterProps>;
6
6
  //#endregion
7
7
  export { SyntaxHighlighter };
8
8
  //# sourceMappingURL=index.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { HotkeyProps } from "./type.mjs";
2
- import * as react51 from "react";
2
+ import * as react26 from "react";
3
3
 
4
4
  //#region src/Hotkey/Hotkey.d.ts
5
- declare const Hotkey: react51.NamedExoticComponent<HotkeyProps>;
5
+ declare const Hotkey: react26.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 react10 from "react";
2
+ import * as react39 from "react";
3
3
 
4
4
  //#region src/HotkeyInput/HotkeyInput.d.ts
5
- declare const HotkeyInput: react10.NamedExoticComponent<HotkeyInputProps>;
5
+ declare const HotkeyInput: react39.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 react29 from "react";
2
+ import * as react38 from "react";
3
3
 
4
4
  //#region src/Icon/Icon.d.ts
5
- declare const Icon: react29.NamedExoticComponent<IconProps>;
5
+ declare const Icon: react38.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 react27 from "react";
2
+ import * as react36 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: react27.Context<IconContentConfig>;
8
- declare const IconProvider: react27.NamedExoticComponent<{
7
+ declare const IconContext: react36.Context<IconContentConfig>;
8
+ declare const IconProvider: react36.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 react0 from "react";
2
+ import * as react28 from "react";
3
3
 
4
4
  //#region src/Image/PreviewGroup.d.ts
5
- declare const PreviewGroup: react0.NamedExoticComponent<PreviewGroupProps>;
5
+ declare const PreviewGroup: react28.NamedExoticComponent<PreviewGroupProps>;
6
6
  //#endregion
7
7
  export { PreviewGroup };
8
8
  //# sourceMappingURL=PreviewGroup.d.mts.map
@@ -24,7 +24,6 @@ const usePreview = (props) => {
24
24
  if (toolbarRender) return toolbarRender(originalNode, info);
25
25
  return originalNode;
26
26
  },
27
- classNames: { root: cx(styles.preview, rootClassName) },
28
27
  closeIcon: /* @__PURE__ */ jsx(Icon_default, {
29
28
  color: "#fff",
30
29
  icon: X
@@ -44,6 +43,7 @@ const usePreview = (props) => {
44
43
  onOpenChange?.(open, info);
45
44
  onVisibleChange?.(open, !open, info.current);
46
45
  },
46
+ rootClassName: cx(styles.preview, rootClassName),
47
47
  ...rest
48
48
  };
49
49
  }, [
@@ -1 +1 @@
1
- {"version":3,"file":"usePreviewGroup.mjs","names":["Toolbar","componentStyles","Icon","Preview"],"sources":["../../../src/Image/components/usePreviewGroup.tsx"],"sourcesContent":["import { cx } from 'antd-style';\nimport type { GroupPreviewConfig } from 'antd/es/image/PreviewGroup';\nimport { X } from 'lucide-react';\nimport { useMemo, useState } from 'react';\n\nimport Icon from '@/Icon';\n\nimport { styles as componentStyles } from '../style';\nimport type { PreviewGroupPreviewOptions } from '../type';\nimport Preview from './Preview';\nimport Toolbar from './Toolbar';\n\nexport const usePreview = (\n props: PreviewGroupPreviewOptions | boolean | undefined,\n): GroupPreviewConfig | boolean => {\n const [visible, setVisible] = useState(false);\n\n return useMemo(() => {\n if (props === false) return props;\n\n const {\n onVisibleChange,\n onOpenChange,\n minScale = 0.32,\n maxScale = 32,\n toolbarAddon,\n rootClassName,\n imageRender,\n toolbarRender,\n ...rest\n }: PreviewGroupPreviewOptions = (\n props === true ? {} : props || {}\n ) as PreviewGroupPreviewOptions;\n\n return {\n actionsRender: (_, info) => {\n const originalNode = (\n <Toolbar info={info} maxScale={maxScale} minScale={minScale}>\n {toolbarAddon}\n </Toolbar>\n );\n if (toolbarRender) return toolbarRender(originalNode, info);\n return originalNode;\n },\n classNames: {\n root: cx(componentStyles.preview, rootClassName),\n },\n closeIcon: <Icon color={'#fff'} icon={X} />,\n imageRender: (originalNode, info) => {\n const node = <Preview visible={visible}>{originalNode}</Preview>;\n if (imageRender) return imageRender(node, info);\n return node;\n },\n maxScale,\n minScale,\n onOpenChange: (open: boolean, info: { current: number }) => {\n setVisible(open);\n // 支持新的 onOpenChange\n onOpenChange?.(open, info);\n // 向后兼容旧的 onVisibleChange (注意参数差异)\n onVisibleChange?.(open, !open, info.current);\n },\n ...rest,\n };\n }, [props, visible, componentStyles]);\n};\n\nexport default usePreview;\n"],"mappings":";;;;;;;;;;AAYA,MAAa,cACX,UACiC;CACjC,MAAM,CAAC,SAAS,cAAc,SAAS,MAAM;AAE7C,QAAO,cAAc;AACnB,MAAI,UAAU,MAAO,QAAO;EAE5B,MAAM,EACJ,iBACA,cACA,WAAW,KACX,WAAW,IACX,cACA,eACA,aACA,eACA,GAAG,SAEH,UAAU,OAAO,EAAE,GAAG,SAAS,EAAE;AAGnC,SAAO;GACL,gBAAgB,GAAG,SAAS;IAC1B,MAAM,eACJ,oBAACA;KAAc;KAAgB;KAAoB;eAChD;MACO;AAEZ,QAAI,cAAe,QAAO,cAAc,cAAc,KAAK;AAC3D,WAAO;;GAET,YAAY,EACV,MAAM,GAAGC,OAAgB,SAAS,cAAc,EACjD;GACD,WAAW,oBAACC;IAAK,OAAO;IAAQ,MAAM;KAAK;GAC3C,cAAc,cAAc,SAAS;IACnC,MAAM,OAAO,oBAACC;KAAiB;eAAU;MAAuB;AAChE,QAAI,YAAa,QAAO,YAAY,MAAM,KAAK;AAC/C,WAAO;;GAET;GACA;GACA,eAAe,MAAe,SAA8B;AAC1D,eAAW,KAAK;AAEhB,mBAAe,MAAM,KAAK;AAE1B,sBAAkB,MAAM,CAAC,MAAM,KAAK,QAAQ;;GAE9C,GAAG;GACJ;IACA;EAAC;EAAO;EAASF;EAAgB,CAAC;;AAGvC,8BAAe"}
1
+ {"version":3,"file":"usePreviewGroup.mjs","names":["Toolbar","Icon","Preview","componentStyles"],"sources":["../../../src/Image/components/usePreviewGroup.tsx"],"sourcesContent":["import { cx } from 'antd-style';\nimport type { GroupPreviewConfig } from 'antd/es/image/PreviewGroup';\nimport { X } from 'lucide-react';\nimport { useMemo, useState } from 'react';\n\nimport Icon from '@/Icon';\n\nimport { styles as componentStyles, styles } from '../style';\nimport type { PreviewGroupPreviewOptions } from '../type';\nimport Preview from './Preview';\nimport Toolbar from './Toolbar';\n\nexport const usePreview = (\n props: PreviewGroupPreviewOptions | boolean | undefined,\n): GroupPreviewConfig | boolean => {\n const [visible, setVisible] = useState(false);\n\n return useMemo(() => {\n if (props === false) return props;\n\n const {\n onVisibleChange,\n onOpenChange,\n minScale = 0.32,\n maxScale = 32,\n toolbarAddon,\n rootClassName,\n imageRender,\n toolbarRender,\n ...rest\n }: PreviewGroupPreviewOptions = (\n props === true ? {} : props || {}\n ) as PreviewGroupPreviewOptions;\n\n return {\n actionsRender: (_, info) => {\n const originalNode = (\n <Toolbar info={info} maxScale={maxScale} minScale={minScale}>\n {toolbarAddon}\n </Toolbar>\n );\n if (toolbarRender) return toolbarRender(originalNode, info);\n return originalNode;\n },\n closeIcon: <Icon color={'#fff'} icon={X} />,\n imageRender: (originalNode, info) => {\n const node = <Preview visible={visible}>{originalNode}</Preview>;\n if (imageRender) return imageRender(node, info);\n return node;\n },\n maxScale,\n minScale,\n onOpenChange: (open: boolean, info: { current: number }) => {\n setVisible(open);\n // 支持新的 onOpenChange\n onOpenChange?.(open, info);\n // 向后兼容旧的 onVisibleChange (注意参数差异)\n onVisibleChange?.(open, !open, info.current);\n },\n rootClassName: cx(styles.preview, rootClassName),\n ...rest,\n };\n }, [props, visible, componentStyles]);\n};\n\nexport default usePreview;\n"],"mappings":";;;;;;;;;;AAYA,MAAa,cACX,UACiC;CACjC,MAAM,CAAC,SAAS,cAAc,SAAS,MAAM;AAE7C,QAAO,cAAc;AACnB,MAAI,UAAU,MAAO,QAAO;EAE5B,MAAM,EACJ,iBACA,cACA,WAAW,KACX,WAAW,IACX,cACA,eACA,aACA,eACA,GAAG,SAEH,UAAU,OAAO,EAAE,GAAG,SAAS,EAAE;AAGnC,SAAO;GACL,gBAAgB,GAAG,SAAS;IAC1B,MAAM,eACJ,oBAACA;KAAc;KAAgB;KAAoB;eAChD;MACO;AAEZ,QAAI,cAAe,QAAO,cAAc,cAAc,KAAK;AAC3D,WAAO;;GAET,WAAW,oBAACC;IAAK,OAAO;IAAQ,MAAM;KAAK;GAC3C,cAAc,cAAc,SAAS;IACnC,MAAM,OAAO,oBAACC;KAAiB;eAAU;MAAuB;AAChE,QAAI,YAAa,QAAO,YAAY,MAAM,KAAK;AAC/C,WAAO;;GAET;GACA;GACA,eAAe,MAAe,SAA8B;AAC1D,eAAW,KAAK;AAEhB,mBAAe,MAAM,KAAK;AAE1B,sBAAkB,MAAM,CAAC,MAAM,KAAK,QAAQ;;GAE9C,eAAe,GAAG,OAAO,SAAS,cAAc;GAChD,GAAG;GACJ;IACA;EAAC;EAAO;EAASC;EAAgB,CAAC;;AAGvC,8BAAe"}
@@ -49,8 +49,59 @@ const styles = createStaticStyles(({ css: css$1, cssVar: cssVar$1 }) => {
49
49
  background: color-mix(in srgb, ${cssVar$1.colorBgLayout} 90%, transparent);
50
50
  }
51
51
 
52
+ .${prefixCls}-image-preview-close {
53
+ color: ${cssVar$1.colorTextDescription};
54
+ background: ${cssVar$1.colorBgContainer};
55
+ box-shadow: ${cssVar$1.boxShadowTertiary};
56
+
57
+ svg {
58
+ stroke: ${cssVar$1.colorTextDescription};
59
+ }
60
+
61
+ &:hover {
62
+ color: ${cssVar$1.colorText};
63
+ background: ${cssVar$1.colorBgContainer};
64
+
65
+ svg {
66
+ stroke: ${cssVar$1.colorText};
67
+ }
68
+ }
69
+ }
70
+
71
+ .${prefixCls}-image-preview-switch {
72
+ display: flex;
73
+ align-items: center;
74
+ justify-content: center;
75
+
76
+ width: 32px;
77
+ height: 32px;
78
+ padding: 0;
79
+
80
+ color: ${cssVar$1.colorTextDescription};
81
+
82
+ background: ${cssVar$1.colorBgContainer};
83
+ box-shadow: ${cssVar$1.boxShadowTertiary};
84
+
85
+ svg {
86
+ transform: scale(0.75);
87
+ }
88
+
89
+ &:hover {
90
+ color: ${cssVar$1.colorText};
91
+ background: ${cssVar$1.colorBgContainer};
92
+ }
93
+ }
94
+
95
+ .${prefixCls}-image-preview-switch-disabled {
96
+ display: none;
97
+ }
98
+
99
+ .ant-image-preview-progress {
100
+ color: ${cssVar$1.colorTextDescription};
101
+ }
102
+
52
103
  img {
53
- width: 100%;
104
+ min-width: 100%;
54
105
  }
55
106
  `,
56
107
  root: css$1`
@@ -77,12 +128,10 @@ const styles = createStaticStyles(({ css: css$1, cssVar: cssVar$1 }) => {
77
128
  }
78
129
  `,
79
130
  toolbar: css$1`
80
- ${staticStylish.blur};
81
131
  ${staticStylish.variantOutlinedWithoutHover};
82
132
  padding: 4px;
83
133
  border-color: ${cssVar$1.colorFillTertiary};
84
134
  border-radius: ${cssVar$1.borderRadiusLG};
85
- background: color-mix(in srgb, ${cssVar$1.colorBgContainer} 50%, transparent);
86
135
  `,
87
136
  wrapper: css$1`
88
137
  position: relative;
@@ -1 +1 @@
1
- {"version":3,"file":"style.mjs","names":["lobeStaticStylish","cssVar"],"sources":["../../src/Image/style.ts"],"sourcesContent":["import { createStaticStyles } from 'antd-style';\nimport { cva } from 'class-variance-authority';\n\nimport { lobeStaticStylish } from '@/styles';\n\nconst prefixCls = 'ant';\n\nexport const styles = createStaticStyles(({ css, cssVar }) => {\n return {\n actionsHidden: css`\n cursor: pointer;\n\n position: absolute;\n z-index: 1;\n inset-block-start: 0;\n inset-inline-end: 0;\n\n opacity: 0;\n `,\n actionsVisible: css`\n cursor: pointer;\n\n position: absolute;\n z-index: 1;\n inset-block-start: 0;\n inset-inline-end: 0;\n\n opacity: 1;\n `,\n borderless: lobeStaticStylish.variantBorderlessWithoutHover,\n filled: css`\n ${lobeStaticStylish.variantOutlinedWithoutHover};\n ${lobeStaticStylish.variantFilledWithoutHover};\n `,\n image: css`\n display: flex;\n align-items: center;\n justify-content: center;\n\n width: auto;\n height: auto;\n `,\n mask: css`\n ${lobeStaticStylish.blur};\n backdrop-filter: blur(8px);\n `,\n outlined: lobeStaticStylish.variantOutlinedWithoutHover,\n preview: css`\n .${prefixCls}-image-preview-mask {\n background: color-mix(in srgb, ${cssVar.colorBgLayout} 90%, transparent);\n }\n\n img {\n width: 100%;\n }\n `,\n root: css`\n cursor: pointer;\n user-select: none;\n\n position: relative;\n\n overflow: hidden;\n\n width: fit-content;\n border-radius: ${cssVar.borderRadius};\n\n line-height: 1;\n\n .${prefixCls}-image-cover {\n display: none !important;\n }\n\n &:hover {\n .actions-hidden {\n opacity: 1;\n }\n }\n `,\n toolbar: css`\n ${lobeStaticStylish.blur};\n ${lobeStaticStylish.variantOutlinedWithoutHover};\n padding: 4px;\n border-color: ${cssVar.colorFillTertiary};\n border-radius: ${cssVar.borderRadiusLG};\n background: color-mix(in srgb, ${cssVar.colorBgContainer} 50%, transparent);\n `,\n\n wrapper: css`\n position: relative;\n overflow: hidden;\n max-width: 100%;\n height: auto;\n `,\n };\n});\n\nexport const variants = cva(styles.root, {\n defaultVariants: {\n variant: 'filled',\n },\n /* eslint-disable sort-keys-fix/sort-keys-fix */\n variants: {\n variant: {\n filled: styles.filled,\n outlined: styles.outlined,\n borderless: styles.borderless,\n },\n },\n /* eslint-enable sort-keys-fix/sort-keys-fix */\n});\n\nexport const FALLBACK_DARK =\n 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjU2IiBoZWlnaHQ9IjI1NiIgdmlld0JveD0iMCAwIDI1NiAyNTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxyZWN0IHdpZHRoPSIyNTYiIGhlaWdodD0iMjU2IiBmaWxsPSIjM0IzQjNCIi8+CjxwYXRoIGQ9Ik0xNTYuODg4IDkxLjAwMkgxMDAuMTEyQzk1LjYzMjkgOTEuMDAyIDkyLjAwMTUgOTQuNjMzNCA5Mi4wMDE1IDk5LjExMjdWMTU1Ljg4OEM5Mi4wMDE1IDE2MC4zNjcgOTUuNjMyOSAxNjMuOTk5IDEwMC4xMTIgMTYzLjk5OUgxNTYuODg4QzE2MS4zNjcgMTYzLjk5OSAxNjQuOTk4IDE2MC4zNjcgMTY0Ljk5OCAxNTUuODg4Vjk5LjExMjdDMTY0Ljk5OCA5NC42MzM0IDE2MS4zNjcgOTEuMDAyIDE1Ni44ODggOTEuMDAyWiIgc3Ryb2tlPSIjNjI2MjYyIiBzdHJva2Utd2lkdGg9IjguMTEwNzciIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8cGF0aCBkPSJNMTY0Ljk5OCAxMzkuNjY4TDE1Mi40ODQgMTI3LjE1M0MxNTAuOTYyIDEyNS42MzIgMTQ4LjkgMTI0Ljc3OCAx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AUA,cAAkB;EAC5B,SAAS,KAAG;SACP,UAAU;yCACsBC,SAAO,cAAc;;;;;;;EAO1D,MAAM,KAAG;;;;;;;;;uBASUA,SAAO,aAAa;;;;SAIlC,UAAU;;;;;;;;;;EAUf,SAAS,KAAG;QACRD,cAAkB,KAAK;QACvBA,cAAkB,4BAA4B;;sBAEhCC,SAAO,kBAAkB;uBACxBA,SAAO,eAAe;uCACNA,SAAO,iBAAiB;;EAG3D,SAAS,KAAG;;;;;;EAMb;EACD;AAEF,MAAa,WAAW,IAAI,OAAO,MAAM;CACvC,iBAAiB,EACf,SAAS,UACV;CAED,UAAU,EACR,SAAS;EACP,QAAQ,OAAO;EACf,UAAU,OAAO;EACjB,YAAY,OAAO;EACpB,EACF;CAEF,CAAC;AAEF,MAAa,gBACX;AACF,MAAa,iBACX"}
1
+ {"version":3,"file":"style.mjs","names":["lobeStaticStylish","cssVar"],"sources":["../../src/Image/style.ts"],"sourcesContent":["import { createStaticStyles } from 'antd-style';\nimport { cva } from 'class-variance-authority';\n\nimport { lobeStaticStylish } from '@/styles';\n\nconst prefixCls = 'ant';\n\nexport const styles = createStaticStyles(({ css, cssVar }) => {\n return {\n actionsHidden: css`\n cursor: pointer;\n\n position: absolute;\n z-index: 1;\n inset-block-start: 0;\n inset-inline-end: 0;\n\n opacity: 0;\n `,\n actionsVisible: css`\n cursor: pointer;\n\n position: absolute;\n z-index: 1;\n inset-block-start: 0;\n inset-inline-end: 0;\n\n opacity: 1;\n `,\n borderless: lobeStaticStylish.variantBorderlessWithoutHover,\n filled: css`\n ${lobeStaticStylish.variantOutlinedWithoutHover};\n ${lobeStaticStylish.variantFilledWithoutHover};\n `,\n image: css`\n display: flex;\n align-items: center;\n justify-content: center;\n\n width: auto;\n height: auto;\n `,\n mask: css`\n ${lobeStaticStylish.blur};\n backdrop-filter: blur(8px);\n `,\n outlined: lobeStaticStylish.variantOutlinedWithoutHover,\n preview: css`\n .${prefixCls}-image-preview-mask {\n background: color-mix(in srgb, ${cssVar.colorBgLayout} 90%, transparent);\n }\n\n .${prefixCls}-image-preview-close {\n color: ${cssVar.colorTextDescription};\n background: ${cssVar.colorBgContainer};\n box-shadow: ${cssVar.boxShadowTertiary};\n\n svg {\n stroke: ${cssVar.colorTextDescription};\n }\n\n &:hover {\n color: ${cssVar.colorText};\n background: ${cssVar.colorBgContainer};\n\n svg {\n stroke: ${cssVar.colorText};\n }\n }\n }\n\n .${prefixCls}-image-preview-switch {\n display: flex;\n align-items: center;\n justify-content: center;\n\n width: 32px;\n height: 32px;\n padding: 0;\n\n color: ${cssVar.colorTextDescription};\n\n background: ${cssVar.colorBgContainer};\n box-shadow: ${cssVar.boxShadowTertiary};\n\n svg {\n transform: scale(0.75);\n }\n\n &:hover {\n color: ${cssVar.colorText};\n background: ${cssVar.colorBgContainer};\n }\n }\n\n .${prefixCls}-image-preview-switch-disabled {\n display: none;\n }\n\n .ant-image-preview-progress {\n color: ${cssVar.colorTextDescription};\n }\n\n img {\n min-width: 100%;\n }\n `,\n root: css`\n cursor: pointer;\n user-select: none;\n\n position: relative;\n\n overflow: hidden;\n\n width: fit-content;\n border-radius: ${cssVar.borderRadius};\n\n line-height: 1;\n\n .${prefixCls}-image-cover {\n display: none !important;\n }\n\n &:hover {\n .actions-hidden {\n opacity: 1;\n }\n }\n `,\n toolbar: css`\n ${lobeStaticStylish.variantOutlinedWithoutHover};\n padding: 4px;\n border-color: ${cssVar.colorFillTertiary};\n border-radius: ${cssVar.borderRadiusLG};\n `,\n\n wrapper: css`\n position: relative;\n overflow: hidden;\n max-width: 100%;\n height: auto;\n `,\n };\n});\n\nexport const variants = cva(styles.root, {\n defaultVariants: {\n variant: 'filled',\n },\n /* eslint-disable sort-keys-fix/sort-keys-fix */\n variants: {\n variant: {\n filled: styles.filled,\n outlined: styles.outlined,\n borderless: styles.borderless,\n },\n },\n /* eslint-enable sort-keys-fix/sort-keys-fix */\n});\n\nexport const FALLBACK_DARK =\n 'data:image/svg+xml;base64,PHN2ZyB3aW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5BA,SAAO,UAAU;wBACZA,SAAO,iBAAiB;;;;SAIvC,UAAU;;;;;iBAKFA,SAAO,qBAAqB;;;;;;;EAOzC,MAAM,KAAG;;;;;;;;;uBASUA,SAAO,aAAa;;;;SAIlC,UAAU;;;;;;;;;;EAUf,SAAS,KAAG;QACRD,cAAkB,4BAA4B;;sBAEhCC,SAAO,kBAAkB;uBACxBA,SAAO,eAAe;;EAGzC,SAAS,KAAG;;;;;;EAMb;EACD;AAEF,MAAa,WAAW,IAAI,OAAO,MAAM;CACvC,iBAAiB,EACf,SAAS,UACV;CAED,UAAU,EACR,SAAS;EACP,QAAQ,OAAO;EACf,UAAU,OAAO;EACjB,YAAY,OAAO;EACpB,EACF;CAEF,CAAC;AAEF,MAAa,gBACX;AACF,MAAa,iBACX"}
@@ -1,8 +1,8 @@
1
1
  import { InputProps } from "./type.mjs";
2
- import * as react129 from "react";
2
+ import * as react107 from "react";
3
3
 
4
4
  //#region src/Input/Input.d.ts
5
- declare const Input: react129.NamedExoticComponent<InputProps>;
5
+ declare const Input: react107.NamedExoticComponent<InputProps>;
6
6
  //#endregion
7
7
  export { Input };
8
8
  //# sourceMappingURL=Input.d.mts.map