@lobehub/ui 3.3.0 → 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.
- package/es/Accordion/AccordionItem.js +1 -1
- package/es/ActionIcon/ActionIcon.js +1 -1
- package/es/ActionIcon/type.d.ts +1 -1
- package/es/ActionIconGroup/ActionIconGroup.js +1 -1
- package/es/ActionIconGroup/type.d.ts +1 -1
- package/es/Alert/Alert.js +1 -1
- package/es/Avatar/Avatar.js +3 -4
- package/es/Avatar/AvatarGroup/index.js +1 -1
- package/es/Avatar/type.d.ts +1 -1
- package/es/Block/Block.js +1 -1
- package/es/Block/type.d.ts +1 -1
- package/es/Burger/Burger.js +1 -1
- package/es/CodeEditor/CodeEditor.js +1 -1
- package/es/CodeEditor/type.d.ts +1 -1
- package/es/Collapse/Collapse.js +1 -1
- package/es/ColorSwatches/ColorSwatches.js +1 -1
- package/es/ColorSwatches/type.d.ts +1 -1
- package/es/DraggablePanel/DraggablePanel.js +1 -1
- package/es/DraggablePanel/components/DraggablePanelBody.js +1 -1
- package/es/DraggablePanel/components/DraggablePanelContainer.js +1 -1
- package/es/DraggablePanel/components/DraggablePanelFooter.js +1 -1
- package/es/DraggablePanel/components/DraggablePanelHeader.js +1 -1
- package/es/DraggableSideNav/DraggableSideNav.js +1 -1
- package/es/Drawer/Drawer.js +1 -1
- package/es/EditableText/ControlInput.js +1 -1
- package/es/EditableText/EditableText.js +1 -1
- package/es/EditableText/type.d.ts +1 -1
- package/es/EmojiPicker/AvatarUploader.js +1 -1
- package/es/EmojiPicker/EmojiPicker.js +1 -1
- package/es/Empty/Empty.js +1 -1
- package/es/Empty/type.d.ts +1 -1
- package/es/FileTypeIcon/FileTypeIcon.js +1 -1
- package/es/Flex/style.css +29 -13
- package/es/FluentEmoji/FluentEmoji.js +1 -1
- package/es/Footer/Footer.js +1 -1
- package/es/Footer/type.d.ts +1 -1
- package/es/Form/components/FormFlatGroup.js +1 -1
- package/es/Form/components/FormFooter.js +1 -1
- package/es/Form/components/FormGroup.js +1 -1
- package/es/Form/components/FormSubmitFooter.js +1 -1
- package/es/Form/components/FormTitle.js +1 -1
- package/es/Form/type.d.ts +1 -1
- package/es/FormModal/FormModal.js +1 -1
- package/es/Grid/Grid.js +1 -1
- package/es/Grid/type.d.ts +1 -1
- package/es/GroupAvatar/GroupAvatar.js +2 -2
- package/es/GuideCard/GuideCard.js +1 -1
- package/es/GuideCard/type.d.ts +1 -1
- package/es/Header/Header.js +1 -1
- package/es/Header/type.d.ts +1 -1
- package/es/Highlighter/FullFeatured.js +46 -32
- package/es/Highlighter/Highlighter.js +15 -4
- package/es/Highlighter/LangSelect.js +9 -5
- package/es/Highlighter/style.d.ts +0 -1
- package/es/Highlighter/style.js +8 -9
- package/es/Highlighter/type.d.ts +12 -2
- package/es/Hotkey/Hotkey.js +1 -1
- package/es/Hotkey/type.d.ts +1 -1
- package/es/Hotkey/utils.d.ts +1 -1
- package/es/HotkeyInput/HotkeyInput.js +1 -1
- package/es/Image/Image.js +1 -1
- package/es/Image/components/Toolbar.js +1 -7
- package/es/Image/components/usePreview.js +1 -3
- package/es/Image/style.js +5 -4
- package/es/ImageSelect/ImageSelect.js +1 -1
- package/es/ImageSelect/type.d.ts +1 -1
- package/es/List/List.js +1 -1
- package/es/List/ListItem/index.js +1 -1
- package/es/List/type.d.ts +1 -1
- package/es/Markdown/components/Footnotes.js +1 -1
- package/es/Markdown/components/SearchResultCards/SearchResultCard.js +1 -1
- package/es/Markdown/components/SearchResultCards/index.d.ts +1 -1
- package/es/MaskShadow/MaskShadow.js +1 -1
- package/es/MaskShadow/type.d.ts +1 -1
- package/es/MaterialFileTypeIcon/MaterialFileTypeIcon.js +1 -1
- package/es/Mermaid/FullFeatured.js +30 -14
- package/es/Mermaid/Mermaid.js +13 -4
- package/es/Mermaid/SyntaxMermaid/index.js +11 -6
- package/es/Mermaid/type.d.ts +13 -1
- package/es/ScrollShadow/ScrollShadow.js +1 -1
- package/es/ScrollShadow/type.d.ts +1 -1
- package/es/SideNav/SideNav.js +1 -1
- package/es/SideNav/type.d.ts +1 -1
- package/es/Skeleton/Skeleton.js +1 -1
- package/es/Skeleton/SkeletonParagraph.js +1 -1
- package/es/Skeleton/SkeletonTags.js +1 -1
- package/es/SliderWithInput/SliderWithInput.js +1 -1
- package/es/SliderWithInput/type.d.ts +1 -1
- package/es/Snippet/Snippet.js +1 -1
- package/es/Snippet/type.d.ts +1 -1
- package/es/SortableList/SortableList.js +1 -1
- package/es/SortableList/components/SortableItem.d.ts +1 -1
- package/es/SortableList/components/SortableItem.js +1 -1
- package/es/SortableList/type.d.ts +1 -1
- package/es/ThemeSwitch/ThemeSwitch.js +1 -1
- package/es/Tooltip/TooltipFloating.js +1 -1
- package/es/Video/index.d.ts +1 -1
- package/es/Video/index.js +1 -1
- package/es/awesome/AuroraBackground/AuroraBackground.js +1 -1
- package/es/awesome/AuroraBackground/type.d.ts +1 -1
- package/es/awesome/Features/FeatureItem.js +1 -1
- package/es/awesome/GridBackground/GridShowcase.js +1 -1
- package/es/awesome/GridBackground/type.d.ts +1 -1
- package/es/awesome/Hero/Hero.js +1 -1
- package/es/awesome/SpotlightCard/SpotlightCardItem.js +1 -1
- package/es/brand/LobeChat/index.js +1 -1
- package/es/brand/LobeHub/index.js +1 -1
- package/es/brand/LogoThree/Loading.js +1 -1
- package/es/brand/LogoThree/index.js +1 -1
- package/es/chat/Bubble/Bubble.js +1 -1
- package/es/chat/Bubble/type.d.ts +1 -1
- package/es/chat/ChatHeader/ChatHeader.js +1 -1
- package/es/chat/ChatHeader/ChatHeaderTitle.js +1 -1
- package/es/chat/ChatHeader/type.d.ts +1 -1
- package/es/chat/ChatInputArea/components/ChatInputActionBar.js +1 -1
- package/es/chat/ChatInputArea/components/ChatSendButton.js +1 -1
- package/es/chat/ChatInputArea/type.d.ts +1 -1
- package/es/chat/ChatItem/ChatItem.js +1 -1
- package/es/chat/ChatItem/components/Actions.js +1 -1
- package/es/chat/ChatItem/components/Avatar.js +1 -1
- package/es/chat/ChatItem/components/ErrorContent.js +1 -1
- package/es/chat/ChatItem/components/Loading.js +1 -1
- package/es/chat/ChatItem/components/MessageContent.js +1 -1
- package/es/chat/ChatItem/components/Title.js +1 -1
- package/es/chat/ChatItem/type.d.ts +1 -1
- package/es/chat/EditableMessageList/EditableMessageList.js +1 -1
- package/es/chat/MessageInput/MessageInput.js +1 -1
- package/es/chat/MessageInput/type.d.ts +1 -1
- package/es/chat/MessageModal/MessageModal.js +1 -1
- package/es/color/ColorScales/ScaleRow.js +1 -1
- package/es/color/ColorScales/index.js +1 -1
- package/es/mdx/Callout/index.d.ts +1 -1
- package/es/mdx/Callout/index.js +1 -1
- package/es/mdx/Cards/Card.js +1 -1
- package/es/mdx/FileTree/File.d.ts +1 -1
- package/es/mdx/FileTree/File.js +1 -1
- package/es/mdx/FileTree/Folder.d.ts +1 -1
- package/es/mdx/FileTree/Folder.js +1 -1
- package/es/mdx/Tabs/index.d.ts +1 -1
- package/es/mdx/Tabs/index.js +1 -1
- package/es/mdx/mdxComponents/Citation/PopoverPanel.js +1 -1
- package/es/mobile/ChatHeader/ChatHeader.js +1 -1
- package/es/mobile/ChatHeader/ChatHeaderTitle.js +1 -1
- package/es/mobile/ChatHeader/type.d.ts +1 -1
- package/es/mobile/ChatInputArea/ChatInputArea.js +1 -1
- package/es/mobile/TabBar/TabBar.js +1 -1
- package/es/mobile/TabBar/type.d.ts +1 -1
- package/es/storybook/StoryBook/index.d.ts +1 -1
- package/es/storybook/StoryBook/index.js +1 -1
- package/package.json +1 -2
|
@@ -10,8 +10,8 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
10
10
|
import { useTheme } from 'antd-style';
|
|
11
11
|
import { ArrowBigUp, CornerDownLeft, Loader2 } from 'lucide-react';
|
|
12
12
|
import { memo } from 'react';
|
|
13
|
-
import { Flexbox } from 'react-layout-kit';
|
|
14
13
|
import Button from "../../../Button";
|
|
14
|
+
import { Flexbox } from "../../../Flex";
|
|
15
15
|
import Icon from "../../../Icon";
|
|
16
16
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
17
17
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { TextAreaRef } from 'antd/es/input/TextArea';
|
|
2
2
|
import { CSSProperties, ReactNode, Ref } from 'react';
|
|
3
|
-
import { FlexboxProps } from 'react-layout-kit';
|
|
4
3
|
import type { DraggablePanelProps } from "../../DraggablePanel";
|
|
4
|
+
import { FlexboxProps } from "../../Flex";
|
|
5
5
|
import type { TextAreaProps } from "../../Input";
|
|
6
6
|
export interface ChatInputAreaProps extends Omit<ChatInputAreaInnerProps, 'classNames'> {
|
|
7
7
|
bottomAddons?: ReactNode;
|
|
@@ -17,7 +17,7 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
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 { useResponsive } from 'antd-style';
|
|
19
19
|
import { memo, useEffect, useRef, useState } from 'react';
|
|
20
|
-
import { Flexbox } from
|
|
20
|
+
import { Flexbox } from "../../Flex";
|
|
21
21
|
import Actions from "./components/Actions";
|
|
22
22
|
import Avatar from "./components/Avatar";
|
|
23
23
|
import BorderSpacing from "./components/BorderSpacing";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { memo } from 'react';
|
|
2
|
-
import { Flexbox } from 'react-layout-kit';
|
|
3
2
|
import A from "../../../Avatar";
|
|
3
|
+
import { Flexbox } from "../../../Flex";
|
|
4
4
|
import { useStyles } from "../style";
|
|
5
5
|
import Loading from "./Loading";
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -5,8 +5,8 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
6
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
import { memo } from 'react';
|
|
8
|
-
import { Flexbox } from 'react-layout-kit';
|
|
9
8
|
import Alert from "../../../Alert";
|
|
9
|
+
import { Flexbox } from "../../../Flex";
|
|
10
10
|
import { useStyles } from "../style";
|
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
12
|
var ErrorContent = /*#__PURE__*/memo(function (_ref) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Loader2 } from 'lucide-react';
|
|
2
2
|
import { memo } from 'react';
|
|
3
|
-
import { Flexbox } from
|
|
3
|
+
import { Flexbox } from "../../../Flex";
|
|
4
4
|
import Icon from "../../../Icon";
|
|
5
5
|
import { useStyles } from "../style";
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useResponsive } from 'antd-style';
|
|
2
2
|
import { memo } from 'react';
|
|
3
|
-
import { Flexbox } from
|
|
3
|
+
import { Flexbox } from "../../../Flex";
|
|
4
4
|
import EditableMessage from "../../EditableMessage";
|
|
5
5
|
import { useStyles } from "../style";
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { FlexboxProps } from 'react-layout-kit';
|
|
3
2
|
import { AlertProps } from "../../Alert";
|
|
4
3
|
import { AvatarProps } from "../../Avatar";
|
|
4
|
+
import { FlexboxProps } from "../../Flex";
|
|
5
5
|
import type { MarkdownProps } from "../../Markdown";
|
|
6
6
|
import type { EditableMessageProps } from "../EditableMessage";
|
|
7
7
|
import type { MetaData } from "../types";
|
|
@@ -9,10 +9,10 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
9
9
|
import isEqual from 'fast-deep-equal';
|
|
10
10
|
import { Plus, Trash } from 'lucide-react';
|
|
11
11
|
import { memo, useEffect, useReducer } from 'react';
|
|
12
|
-
import { Flexbox } from 'react-layout-kit';
|
|
13
12
|
import ActionIcon from "../../ActionIcon";
|
|
14
13
|
import Button from "../../Button";
|
|
15
14
|
import ControlInput from "../../EditableText/ControlInput";
|
|
15
|
+
import { Flexbox } from "../../Flex";
|
|
16
16
|
import Select from "../../Select";
|
|
17
17
|
import { messagesReducer } from "./messageReducer";
|
|
18
18
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -18,9 +18,9 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
18
18
|
import { useResponsive } from 'antd-style';
|
|
19
19
|
import { memo, useState } from 'react';
|
|
20
20
|
import { useHotkeys } from 'react-hotkeys-hook';
|
|
21
|
-
import { Flexbox } from 'react-layout-kit';
|
|
22
21
|
import Button from "../../Button";
|
|
23
22
|
import CodeEditor from "../../CodeEditor";
|
|
23
|
+
import { Flexbox } from "../../Flex";
|
|
24
24
|
import { KeyMapEnum } from "../../Hotkey/const";
|
|
25
25
|
import { combineKeys } from "../../Hotkey/utils";
|
|
26
26
|
import TextArea from "../../Input/TextArea";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
|
-
import { FlexboxProps } from 'react-layout-kit';
|
|
3
2
|
import type { ButtonProps } from "../../Button";
|
|
4
3
|
import type { CodeEditorProps } from "../../CodeEditor";
|
|
4
|
+
import { FlexboxProps } from "../../Flex";
|
|
5
5
|
export interface MessageInputProps extends FlexboxProps {
|
|
6
6
|
classNames?: CodeEditorProps['classNames'] & {
|
|
7
7
|
editor?: string;
|
|
@@ -8,10 +8,10 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
|
|
|
8
8
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
9
9
|
import { useResponsive } from 'antd-style';
|
|
10
10
|
import { memo, useState } from 'react';
|
|
11
|
-
import { Flexbox } from 'react-layout-kit';
|
|
12
11
|
import useControlledState from 'use-merge-value';
|
|
13
12
|
import Button from "../../Button";
|
|
14
13
|
import CodeEditor from "../../CodeEditor";
|
|
14
|
+
import { Flexbox } from "../../Flex";
|
|
15
15
|
import TextArea from "../../Input/TextArea";
|
|
16
16
|
import Markdown from "../../Markdown";
|
|
17
17
|
import Modal from "../../Modal";
|
|
@@ -4,7 +4,7 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try
|
|
|
4
4
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
5
5
|
import { Space, message } from 'antd';
|
|
6
6
|
import { memo } from 'react';
|
|
7
|
-
import { Flexbox } from
|
|
7
|
+
import { Flexbox } from "../../Flex";
|
|
8
8
|
import { copyToClipboard } from "../../utils/copyToClipboard";
|
|
9
9
|
import { alphaBg, useStyles } from "./style";
|
|
10
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { Space } from 'antd';
|
|
4
4
|
import { memo } from 'react';
|
|
5
|
-
import { Flexbox } from
|
|
5
|
+
import { Flexbox } from "../../Flex";
|
|
6
6
|
import ScaleRow from "./ScaleRow";
|
|
7
7
|
import { useStyles } from "./style";
|
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
package/es/mdx/Callout/index.js
CHANGED
|
@@ -11,7 +11,7 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
11
11
|
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; }
|
|
12
12
|
import { AlertOctagon, AlertTriangle, Info, Lightbulb, MessageSquareWarning } from 'lucide-react';
|
|
13
13
|
import { useMemo } from 'react';
|
|
14
|
-
import { Flexbox } from
|
|
14
|
+
import { Flexbox } from "../../Flex";
|
|
15
15
|
import Icon from "../../Icon";
|
|
16
16
|
import { useStyles } from "./style";
|
|
17
17
|
import { jsx as _jsx } from "react/jsx-runtime";
|
package/es/mdx/Cards/Card.js
CHANGED
|
@@ -12,9 +12,9 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
12
12
|
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; }
|
|
13
13
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
14
14
|
import { createStyles } from 'antd-style';
|
|
15
|
-
import { Flexbox } from 'react-layout-kit';
|
|
16
15
|
import A from "../../A";
|
|
17
16
|
import Block from "../../Block";
|
|
17
|
+
import { Flexbox } from "../../Flex";
|
|
18
18
|
import Icon from "../../Icon";
|
|
19
19
|
import Img from "../../Img";
|
|
20
20
|
import Tag from "../../Tag";
|
package/es/mdx/FileTree/File.js
CHANGED
|
@@ -10,7 +10,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
10
10
|
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; }
|
|
11
11
|
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; }
|
|
12
12
|
import { FileIcon } from 'lucide-react';
|
|
13
|
-
import { Flexbox } from
|
|
13
|
+
import { Flexbox } from "../../Flex";
|
|
14
14
|
import Icon from "../../Icon";
|
|
15
15
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
16
16
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -20,7 +20,7 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(
|
|
|
20
20
|
import { createStyles } from 'antd-style';
|
|
21
21
|
import { FolderIcon, FolderOpen } from 'lucide-react';
|
|
22
22
|
import { useState } from 'react';
|
|
23
|
-
import { Flexbox } from
|
|
23
|
+
import { Flexbox } from "../../Flex";
|
|
24
24
|
import Icon from "../../Icon";
|
|
25
25
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
26
26
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
package/es/mdx/Tabs/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
|
2
|
-
import { FlexboxProps } from
|
|
2
|
+
import { FlexboxProps } from "../../Flex";
|
|
3
3
|
import { type TabsProps as LobeTabsProps } from "../../Tabs";
|
|
4
4
|
export interface TabsProps extends Omit<FlexboxProps, 'children'> {
|
|
5
5
|
children: ReactNode[];
|
package/es/mdx/Tabs/index.js
CHANGED
|
@@ -17,7 +17,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
17
17
|
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; }
|
|
18
18
|
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; }
|
|
19
19
|
import { useState } from 'react';
|
|
20
|
-
import { Flexbox } from
|
|
20
|
+
import { Flexbox } from "../../Flex";
|
|
21
21
|
import { default as LobeTabs } from "../../Tabs";
|
|
22
22
|
import { useStyles } from "./style";
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -12,7 +12,7 @@ import { Popover } from 'antd';
|
|
|
12
12
|
import { createStyles } from 'antd-style';
|
|
13
13
|
import { ArrowRightIcon } from 'lucide-react';
|
|
14
14
|
import { useMemo } from 'react';
|
|
15
|
-
import { Flexbox } from
|
|
15
|
+
import { Flexbox } from "../../../Flex";
|
|
16
16
|
import Icon from "../../../Icon";
|
|
17
17
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
18
18
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -11,8 +11,8 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
11
11
|
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; }
|
|
12
12
|
import { ChevronLeft } from 'lucide-react';
|
|
13
13
|
import { memo } from 'react';
|
|
14
|
-
import { Flexbox } from 'react-layout-kit';
|
|
15
14
|
import ActionIcon from "../../ActionIcon";
|
|
15
|
+
import { Flexbox } from "../../Flex";
|
|
16
16
|
import MobileSafeArea from "../SafeArea";
|
|
17
17
|
import { useStyles } from "./style";
|
|
18
18
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
3
|
import { memo } from 'react';
|
|
4
|
-
import { Flexbox } from
|
|
4
|
+
import { Flexbox } from "../../Flex";
|
|
5
5
|
import { useTitleStyles as useStyles } from "./style";
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -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";
|
|
@@ -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.
|
|
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",
|