@lobehub/ui 3.3.1 → 3.3.2

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 (149) hide show
  1. package/es/Accordion/AccordionItem.js +1 -1
  2. package/es/ActionIcon/ActionIcon.js +1 -1
  3. package/es/ActionIcon/type.d.ts +1 -1
  4. package/es/ActionIconGroup/ActionIconGroup.js +1 -1
  5. package/es/ActionIconGroup/type.d.ts +1 -1
  6. package/es/Alert/Alert.js +1 -1
  7. package/es/Avatar/Avatar.js +3 -4
  8. package/es/Avatar/AvatarGroup/index.js +1 -1
  9. package/es/Avatar/type.d.ts +1 -1
  10. package/es/Block/Block.js +1 -1
  11. package/es/Block/type.d.ts +1 -1
  12. package/es/Burger/Burger.js +1 -1
  13. package/es/CodeEditor/CodeEditor.js +1 -1
  14. package/es/CodeEditor/type.d.ts +1 -1
  15. package/es/Collapse/Collapse.js +1 -1
  16. package/es/ColorSwatches/ColorSwatches.js +1 -1
  17. package/es/ColorSwatches/type.d.ts +1 -1
  18. package/es/DraggablePanel/DraggablePanel.js +1 -1
  19. package/es/DraggablePanel/components/DraggablePanelBody.js +1 -1
  20. package/es/DraggablePanel/components/DraggablePanelContainer.js +1 -1
  21. package/es/DraggablePanel/components/DraggablePanelFooter.js +1 -1
  22. package/es/DraggablePanel/components/DraggablePanelHeader.js +1 -1
  23. package/es/DraggableSideNav/DraggableSideNav.js +1 -1
  24. package/es/Drawer/Drawer.js +1 -1
  25. package/es/EditableText/ControlInput.js +1 -1
  26. package/es/EditableText/EditableText.js +1 -1
  27. package/es/EditableText/type.d.ts +1 -1
  28. package/es/EmojiPicker/AvatarUploader.js +1 -1
  29. package/es/EmojiPicker/EmojiPicker.js +1 -1
  30. package/es/Empty/Empty.js +1 -1
  31. package/es/Empty/type.d.ts +1 -1
  32. package/es/FileTypeIcon/FileTypeIcon.js +1 -1
  33. package/es/Flex/style.css +29 -13
  34. package/es/FluentEmoji/FluentEmoji.js +1 -1
  35. package/es/Footer/Footer.js +1 -1
  36. package/es/Footer/type.d.ts +1 -1
  37. package/es/Form/components/FormFlatGroup.js +1 -1
  38. package/es/Form/components/FormFooter.js +1 -1
  39. package/es/Form/components/FormGroup.js +1 -1
  40. package/es/Form/components/FormSubmitFooter.js +1 -1
  41. package/es/Form/components/FormTitle.js +1 -1
  42. package/es/Form/type.d.ts +1 -1
  43. package/es/FormModal/FormModal.js +1 -1
  44. package/es/Grid/Grid.js +1 -1
  45. package/es/Grid/type.d.ts +1 -1
  46. package/es/GroupAvatar/GroupAvatar.js +2 -2
  47. package/es/GuideCard/GuideCard.js +1 -1
  48. package/es/GuideCard/type.d.ts +1 -1
  49. package/es/Header/Header.js +1 -1
  50. package/es/Header/type.d.ts +1 -1
  51. package/es/Highlighter/FullFeatured.js +37 -27
  52. package/es/Highlighter/Highlighter.js +5 -2
  53. package/es/Highlighter/LangSelect.js +9 -5
  54. package/es/Highlighter/style.d.ts +0 -1
  55. package/es/Highlighter/style.js +8 -9
  56. package/es/Highlighter/type.d.ts +1 -1
  57. package/es/Hotkey/Hotkey.js +1 -1
  58. package/es/Hotkey/type.d.ts +1 -1
  59. package/es/Hotkey/utils.d.ts +1 -1
  60. package/es/HotkeyInput/HotkeyInput.js +1 -1
  61. package/es/Image/Image.js +1 -1
  62. package/es/Image/components/Toolbar.js +1 -7
  63. package/es/Image/components/usePreview.js +1 -3
  64. package/es/Image/style.js +5 -4
  65. package/es/ImageSelect/ImageSelect.js +1 -1
  66. package/es/ImageSelect/type.d.ts +1 -1
  67. package/es/List/List.js +1 -1
  68. package/es/List/ListItem/index.js +1 -1
  69. package/es/List/type.d.ts +1 -1
  70. package/es/Markdown/components/Footnotes.js +1 -1
  71. package/es/Markdown/components/SearchResultCards/SearchResultCard.js +1 -1
  72. package/es/Markdown/components/SearchResultCards/index.d.ts +1 -1
  73. package/es/MaskShadow/MaskShadow.js +1 -1
  74. package/es/MaskShadow/type.d.ts +1 -1
  75. package/es/MaterialFileTypeIcon/MaterialFileTypeIcon.js +1 -1
  76. package/es/Mermaid/FullFeatured.js +21 -9
  77. package/es/Mermaid/Mermaid.js +5 -2
  78. package/es/Mermaid/SyntaxMermaid/index.js +0 -4
  79. package/es/ScrollShadow/ScrollShadow.js +1 -1
  80. package/es/ScrollShadow/type.d.ts +1 -1
  81. package/es/SideNav/SideNav.js +1 -1
  82. package/es/SideNav/type.d.ts +1 -1
  83. package/es/Skeleton/Skeleton.js +1 -1
  84. package/es/Skeleton/SkeletonParagraph.js +1 -1
  85. package/es/Skeleton/SkeletonTags.js +1 -1
  86. package/es/SliderWithInput/SliderWithInput.js +1 -1
  87. package/es/SliderWithInput/type.d.ts +1 -1
  88. package/es/Snippet/Snippet.js +1 -1
  89. package/es/Snippet/type.d.ts +1 -1
  90. package/es/SortableList/SortableList.js +1 -1
  91. package/es/SortableList/components/SortableItem.d.ts +1 -1
  92. package/es/SortableList/components/SortableItem.js +1 -1
  93. package/es/SortableList/type.d.ts +1 -1
  94. package/es/ThemeSwitch/ThemeSwitch.js +1 -1
  95. package/es/Tooltip/TooltipFloating.js +1 -1
  96. package/es/Video/index.d.ts +1 -1
  97. package/es/Video/index.js +1 -1
  98. package/es/awesome/AuroraBackground/AuroraBackground.js +1 -1
  99. package/es/awesome/AuroraBackground/type.d.ts +1 -1
  100. package/es/awesome/Features/FeatureItem.js +1 -1
  101. package/es/awesome/GridBackground/GridShowcase.js +1 -1
  102. package/es/awesome/GridBackground/type.d.ts +1 -1
  103. package/es/awesome/Hero/Hero.js +1 -1
  104. package/es/awesome/SpotlightCard/SpotlightCardItem.js +1 -1
  105. package/es/brand/LobeChat/index.js +1 -1
  106. package/es/brand/LobeHub/index.js +1 -1
  107. package/es/brand/LogoThree/Loading.js +1 -1
  108. package/es/brand/LogoThree/index.js +1 -1
  109. package/es/chat/Bubble/Bubble.js +1 -1
  110. package/es/chat/Bubble/type.d.ts +1 -1
  111. package/es/chat/ChatHeader/ChatHeader.js +1 -1
  112. package/es/chat/ChatHeader/ChatHeaderTitle.js +1 -1
  113. package/es/chat/ChatHeader/type.d.ts +1 -1
  114. package/es/chat/ChatInputArea/components/ChatInputActionBar.js +1 -1
  115. package/es/chat/ChatInputArea/components/ChatSendButton.js +1 -1
  116. package/es/chat/ChatInputArea/type.d.ts +1 -1
  117. package/es/chat/ChatItem/ChatItem.js +1 -1
  118. package/es/chat/ChatItem/components/Actions.js +1 -1
  119. package/es/chat/ChatItem/components/Avatar.js +1 -1
  120. package/es/chat/ChatItem/components/ErrorContent.js +1 -1
  121. package/es/chat/ChatItem/components/Loading.js +1 -1
  122. package/es/chat/ChatItem/components/MessageContent.js +1 -1
  123. package/es/chat/ChatItem/components/Title.js +1 -1
  124. package/es/chat/ChatItem/type.d.ts +1 -1
  125. package/es/chat/EditableMessageList/EditableMessageList.js +1 -1
  126. package/es/chat/MessageInput/MessageInput.js +1 -1
  127. package/es/chat/MessageInput/type.d.ts +1 -1
  128. package/es/chat/MessageModal/MessageModal.js +1 -1
  129. package/es/color/ColorScales/ScaleRow.js +1 -1
  130. package/es/color/ColorScales/index.js +1 -1
  131. package/es/mdx/Callout/index.d.ts +1 -1
  132. package/es/mdx/Callout/index.js +1 -1
  133. package/es/mdx/Cards/Card.js +1 -1
  134. package/es/mdx/FileTree/File.d.ts +1 -1
  135. package/es/mdx/FileTree/File.js +1 -1
  136. package/es/mdx/FileTree/Folder.d.ts +1 -1
  137. package/es/mdx/FileTree/Folder.js +1 -1
  138. package/es/mdx/Tabs/index.d.ts +1 -1
  139. package/es/mdx/Tabs/index.js +1 -1
  140. package/es/mdx/mdxComponents/Citation/PopoverPanel.js +1 -1
  141. package/es/mobile/ChatHeader/ChatHeader.js +1 -1
  142. package/es/mobile/ChatHeader/ChatHeaderTitle.js +1 -1
  143. package/es/mobile/ChatHeader/type.d.ts +1 -1
  144. package/es/mobile/ChatInputArea/ChatInputArea.js +1 -1
  145. package/es/mobile/TabBar/TabBar.js +1 -1
  146. package/es/mobile/TabBar/type.d.ts +1 -1
  147. package/es/storybook/StoryBook/index.d.ts +1 -1
  148. package/es/storybook/StoryBook/index.js +1 -1
  149. package/package.json +1 -2
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties, ReactNode, Ref } from 'react';
2
- import { FlexboxProps } from 'react-layout-kit';
2
+ import { FlexboxProps } from "../../Flex";
3
3
  export interface ChatHeaderProps extends FlexboxProps {
4
4
  center?: ReactNode;
5
5
  classNames?: {
@@ -12,8 +12,8 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
12
12
  import { useSize } from 'ahooks';
13
13
  import { ChevronDown, ChevronUp } from 'lucide-react';
14
14
  import { memo, useCallback, useEffect, useRef, useState } from 'react';
15
- import { Flexbox } from 'react-layout-kit';
16
15
  import ActionIcon from "../../ActionIcon";
16
+ import { Flexbox } from "../../Flex";
17
17
  import ChatInputAreaInner from "../../chat/ChatInputArea/components/ChatInputAreaInner";
18
18
  import SafeArea from "../SafeArea";
19
19
  import { useStyles } from "./style";
@@ -16,8 +16,8 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
16
16
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
17
17
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
18
18
  import { memo } from 'react';
19
- import { Flexbox } from 'react-layout-kit';
20
19
  import useMergeState from 'use-merge-value';
20
+ import { Flexbox } from "../../Flex";
21
21
  import SafeArea from "../SafeArea";
22
22
  import { useStyles } from "./style";
23
23
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import { ReactNode, Ref } from 'react';
2
- import { FlexboxProps } from 'react-layout-kit';
2
+ import { FlexboxProps } from "../../Flex";
3
3
  export interface TabBarItemType {
4
4
  icon: ReactNode | ((active: boolean) => ReactNode);
5
5
  key: string;
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'react';
2
- import { FlexboxProps } from 'react-layout-kit';
2
+ import { FlexboxProps } from "../../Flex";
3
3
  export interface StoryBookProps extends FlexboxProps {
4
4
  levaStore: any;
5
5
  noPadding?: boolean;
@@ -12,8 +12,8 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
12
12
  import { useResponsive } from 'antd-style';
13
13
  import { LevaPanel } from 'leva';
14
14
  import { memo } from 'react';
15
- import { Center, Flexbox } from 'react-layout-kit';
16
15
  import DraggablePanel from "../../DraggablePanel";
16
+ import { Center, Flexbox } from "../../Flex";
17
17
  import { useStyles } from "./style";
18
18
  import { jsx as _jsx } from "react/jsx-runtime";
19
19
  import { jsxs as _jsxs } from "react/jsx-runtime";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/ui",
3
- "version": "3.3.1",
3
+ "version": "3.3.2",
4
4
  "description": "Lobe UI is an open-source UI component library for building AIGC web apps",
5
5
  "keywords": [
6
6
  "lobehub",
@@ -89,7 +89,6 @@
89
89
  "react-avatar-editor": "^14.0.0",
90
90
  "react-error-boundary": "^6.0.0",
91
91
  "react-hotkeys-hook": "^5.2.1",
92
- "react-layout-kit": "^2.0.1",
93
92
  "react-markdown": "^10.1.0",
94
93
  "react-merge-refs": "^3.0.2",
95
94
  "react-rnd": "^10.5.2",