@lobehub/ui 1.153.10 → 1.153.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.
- package/es/ActionIcon/index.js +1 -1
- package/es/Markdown/CodeBlock.js +1 -1
- package/es/Markdown/index.d.ts +3 -3
- package/es/Markdown/index.js +3 -3
- package/es/MaterialFileTypeIcon/utils.d.ts +2 -2
- package/es/SearchBar/index.js +1 -1
- package/es/Snippet/index.js +1 -1
- package/es/{Features → awesome/Features}/Item.d.ts +2 -2
- package/es/{Features → awesome/Features}/Item.js +3 -3
- package/es/{Features → awesome/Features}/index.d.ts +1 -1
- package/es/{GaussianBackground → awesome/GaussianBackground}/index.d.ts +1 -1
- package/es/{GaussianBackground → awesome/GaussianBackground}/index.js +1 -1
- package/es/{Giscus → awesome/Giscus}/style.js +1 -1
- package/es/{GridBackground → awesome/GridBackground}/Grid.d.ts +1 -1
- package/es/{GridBackground → awesome/GridBackground}/index.d.ts +1 -1
- package/es/{Hero → awesome/Hero}/index.js +2 -2
- package/es/{Spotlight → awesome/Spotlight}/index.d.ts +1 -1
- package/es/{SpotlightCard → awesome/SpotlightCard}/SpotlightCardItem.d.ts +1 -1
- package/es/{SpotlightCard → awesome/SpotlightCard}/index.d.ts +1 -1
- package/es/{SpotlightCard → awesome/SpotlightCard}/index.js +1 -1
- package/es/awesome/index.d.ts +10 -0
- package/es/awesome/index.js +10 -0
- package/es/brand/{LobeChat.d.ts → LobeChat/index.d.ts} +1 -1
- package/es/brand/{LobeChat.js → LobeChat/index.js} +6 -6
- package/es/brand/{LobeHub.d.ts → LobeHub/index.d.ts} +1 -1
- package/es/brand/{LobeHub.js → LobeHub/index.js} +5 -5
- package/es/brand/{components/Logo3d.js → Logo3d/index.js} +1 -1
- package/es/{LogoThree → brand/LogoThree}/Loading.js +1 -1
- package/es/{LogoThree → brand/LogoThree}/LogoSpline.d.ts +1 -1
- package/es/{LogoThree → brand/LogoThree}/LogoSpline.js +1 -1
- package/es/{LogoThree → brand/LogoThree}/index.d.ts +1 -1
- package/es/{LogoThree → brand/LogoThree}/index.js +3 -3
- package/es/brand/index.d.ts +7 -5
- package/es/brand/index.js +8 -6
- package/es/{BackBottom → chat/BackBottom}/index.js +1 -1
- package/es/{ChatHeader → chat/ChatHeader}/index.js +1 -1
- package/es/{ChatInputArea/desktop → chat/ChatInputArea}/ChatInputArea.d.ts +1 -1
- package/es/{ChatInputArea/desktop → chat/ChatInputArea}/ChatInputArea.js +1 -1
- package/es/{ChatInputArea → chat/ChatInputArea}/ChatInputAreaInner.d.ts +1 -1
- package/es/{ChatInputArea → chat/ChatInputArea}/ChatInputAreaInner.js +1 -1
- package/es/{ChatInputArea → chat/ChatInputArea}/index.d.ts +2 -4
- package/es/chat/ChatInputArea/index.js +4 -0
- package/es/{ChatItem → chat/ChatItem}/components/Avatar.js +1 -1
- package/es/{ChatItem → chat/ChatItem}/components/ErrorContent.js +1 -1
- package/es/{ChatItem → chat/ChatItem}/components/Loading.js +1 -1
- package/es/{ChatItem → chat/ChatItem}/components/MessageContent.d.ts +1 -1
- package/es/{ChatItem → chat/ChatItem}/components/Title.js +1 -1
- package/es/{ChatItem → chat/ChatItem}/type.d.ts +4 -4
- package/es/{ChatList → chat/ChatList}/ActionsBar.d.ts +1 -1
- package/es/{ChatList → chat/ChatList}/ActionsBar.js +2 -2
- package/es/{ChatList → chat/ChatList}/HistoryDivider.js +2 -2
- package/es/{ChatList → chat/ChatList}/Item.d.ts +4 -4
- package/es/{ChatList → chat/ChatList}/Item.js +1 -1
- package/es/{ChatList → chat/ChatList}/index.d.ts +1 -1
- package/es/{EditableMessage → chat/EditableMessage}/index.d.ts +1 -1
- package/es/{EditableMessage → chat/EditableMessage}/index.js +1 -1
- package/es/{EditableMessageList → chat/EditableMessageList}/index.d.ts +1 -1
- package/es/{EditableMessageList → chat/EditableMessageList}/index.js +3 -3
- package/es/{EditableMessageList → chat/EditableMessageList}/messageReducer.d.ts +2 -2
- package/es/{MessageInput → chat/MessageInput}/index.d.ts +2 -2
- package/es/{MessageInput → chat/MessageInput}/index.js +1 -1
- package/es/{MessageModal → chat/MessageModal}/index.d.ts +1 -1
- package/es/{MessageModal → chat/MessageModal}/index.js +3 -3
- package/es/{TokenTag → chat/TokenTag}/index.d.ts +1 -1
- package/es/{TokenTag → chat/TokenTag}/index.js +1 -1
- package/es/chat/index.d.ts +12 -0
- package/es/chat/index.js +12 -0
- package/es/components.d.ts +64 -0
- package/es/components.js +63 -0
- package/es/index.d.ts +7 -95
- package/es/index.js +7 -93
- package/es/mdx/{Callout.js → Callout/index.js} +1 -1
- package/es/mdx/{Card.d.ts → Cards/Card.d.ts} +1 -1
- package/es/mdx/{Card.js → Cards/Card.js} +3 -3
- package/es/mdx/{Cards.d.ts → Cards/index.d.ts} +1 -1
- package/es/mdx/{Cards.js → Cards/index.js} +1 -1
- package/es/mdx/{File.d.ts → FileTree/File.d.ts} +1 -1
- package/es/mdx/{File.js → FileTree/File.js} +1 -1
- package/es/mdx/{Folder.d.ts → FileTree/Folder.d.ts} +1 -1
- package/es/mdx/{Folder.js → FileTree/Folder.js} +1 -1
- package/es/mdx/{FileTree.d.ts → FileTree/index.d.ts} +1 -1
- package/es/mdx/{Steps.d.ts → Steps/index.d.ts} +1 -1
- package/es/mdx/{Tab.d.ts → Tabs/Tab.d.ts} +1 -1
- package/es/mdx/{Tabs.d.ts → Tabs/index.d.ts} +1 -1
- package/es/mdx/{Tabs.js → Tabs/index.js} +1 -1
- package/es/mdx/index.d.ts +8 -8
- package/es/mdx/index.js +8 -8
- package/es/mdx/{Image.d.ts → mdxComponents/Image.d.ts} +1 -1
- package/es/mdx/{Image.js → mdxComponents/Image.js} +1 -1
- package/es/mdx/{Link.d.ts → mdxComponents/Link.d.ts} +1 -1
- package/es/mdx/{Link.js → mdxComponents/Link.js} +1 -1
- package/es/mdx/{Pre.d.ts → mdxComponents/Pre.d.ts} +3 -3
- package/es/mdx/{Pre.js → mdxComponents/Pre.js} +4 -4
- package/es/mdx/{Video.d.ts → mdxComponents/Video.d.ts} +1 -1
- package/es/mdx/{Video.js → mdxComponents/Video.js} +1 -1
- package/es/mdx/{mdxComponents.js → mdxComponents/index.js} +7 -7
- package/es/{ChatInputArea/mobile/ChatInputArea.d.ts → mobile/MobileChatInputArea/index.d.ts} +1 -1
- package/es/{ChatInputArea/mobile/ChatInputArea.js → mobile/MobileChatInputArea/index.js} +2 -2
- package/es/{MobileNavBar → mobile/MobileNavBar}/index.js +1 -1
- package/es/{MobileSafeArea → mobile/MobileSafeArea}/index.d.ts +1 -1
- package/es/mobile/index.d.ts +6 -0
- package/es/mobile/index.js +6 -0
- package/es/{StoryBook → storybook/StoryBook}/index.d.ts +1 -1
- package/es/{StoryBook → storybook/StoryBook}/index.js +1 -1
- package/es/storybook/index.d.ts +1 -0
- package/es/storybook/index.js +1 -0
- package/package.json +13 -11
- package/es/ChatInputArea/index.js +0 -6
- /package/es/{AuroraBackground → awesome/AuroraBackground}/index.d.ts +0 -0
- /package/es/{AuroraBackground → awesome/AuroraBackground}/index.js +0 -0
- /package/es/{Features → awesome/Features}/index.js +0 -0
- /package/es/{Features → awesome/Features}/style.d.ts +0 -0
- /package/es/{Features → awesome/Features}/style.js +0 -0
- /package/es/{GaussianBackground → awesome/GaussianBackground}/style.d.ts +0 -0
- /package/es/{GaussianBackground → awesome/GaussianBackground}/style.js +0 -0
- /package/es/{GaussianBackground → awesome/GaussianBackground}/useGaussianBackground.d.ts +0 -0
- /package/es/{GaussianBackground → awesome/GaussianBackground}/useGaussianBackground.js +0 -0
- /package/es/{GaussianBackground → awesome/GaussianBackground}/vendor/gaussianBackground.d.ts +0 -0
- /package/es/{GaussianBackground → awesome/GaussianBackground}/vendor/gaussianBackground.js +0 -0
- /package/es/{GaussianBackground → awesome/GaussianBackground}/vendor/stackBlur.d.ts +0 -0
- /package/es/{GaussianBackground → awesome/GaussianBackground}/vendor/stackBlur.js +0 -0
- /package/es/{GaussianBackground → awesome/GaussianBackground}/vendor/stackBlurTable.d.ts +0 -0
- /package/es/{GaussianBackground → awesome/GaussianBackground}/vendor/stackBlurTable.js +0 -0
- /package/es/{Giscus → awesome/Giscus}/index.d.ts +0 -0
- /package/es/{Giscus → awesome/Giscus}/index.js +0 -0
- /package/es/{Giscus → awesome/Giscus}/style.d.ts +0 -0
- /package/es/{GradientButton → awesome/GradientButton}/index.d.ts +0 -0
- /package/es/{GradientButton → awesome/GradientButton}/index.js +0 -0
- /package/es/{GradientButton → awesome/GradientButton}/style.d.ts +0 -0
- /package/es/{GradientButton → awesome/GradientButton}/style.js +0 -0
- /package/es/{GridBackground → awesome/GridBackground}/Grid.js +0 -0
- /package/es/{GridBackground → awesome/GridBackground}/GridShowcase.d.ts +0 -0
- /package/es/{GridBackground → awesome/GridBackground}/GridShowcase.js +0 -0
- /package/es/{GridBackground → awesome/GridBackground}/index.js +0 -0
- /package/es/{GridBackground → awesome/GridBackground}/style.d.ts +0 -0
- /package/es/{GridBackground → awesome/GridBackground}/style.js +0 -0
- /package/es/{Hero → awesome/Hero}/index.d.ts +0 -0
- /package/es/{Hero → awesome/Hero}/style.d.ts +0 -0
- /package/es/{Hero → awesome/Hero}/style.js +0 -0
- /package/es/{Spline → awesome/Spline}/ParentSize.d.ts +0 -0
- /package/es/{Spline → awesome/Spline}/ParentSize.js +0 -0
- /package/es/{Spline → awesome/Spline}/index.d.ts +0 -0
- /package/es/{Spline → awesome/Spline}/index.js +0 -0
- /package/es/{Spotlight → awesome/Spotlight}/index.js +0 -0
- /package/es/{Spotlight → awesome/Spotlight}/style.d.ts +0 -0
- /package/es/{Spotlight → awesome/Spotlight}/style.js +0 -0
- /package/es/{SpotlightCard → awesome/SpotlightCard}/SpotlightCardItem.js +0 -0
- /package/es/{SpotlightCard → awesome/SpotlightCard}/style.d.ts +0 -0
- /package/es/{SpotlightCard → awesome/SpotlightCard}/style.js +0 -0
- /package/es/brand/{components/LobeChatText.d.ts → LobeChatText/index.d.ts} +0 -0
- /package/es/brand/{components/LobeChatText.js → LobeChatText/index.js} +0 -0
- /package/es/brand/{style.d.ts → LobeHub/style.d.ts} +0 -0
- /package/es/brand/{style.js → LobeHub/style.js} +0 -0
- /package/es/brand/{components/LobeHubText.d.ts → LobeHubText/index.d.ts} +0 -0
- /package/es/brand/{components/LobeHubText.js → LobeHubText/index.js} +0 -0
- /package/es/brand/{components/Logo3d.d.ts → Logo3d/index.d.ts} +0 -0
- /package/es/brand/{components/LogoFlat.d.ts → LogoFlat/index.d.ts} +0 -0
- /package/es/brand/{components/LogoFlat.js → LogoFlat/index.js} +0 -0
- /package/es/brand/{components/LogoMono.d.ts → LogoMono/index.d.ts} +0 -0
- /package/es/brand/{components/LogoMono.js → LogoMono/index.js} +0 -0
- /package/es/{LogoThree → brand/LogoThree}/Loading.d.ts +0 -0
- /package/es/{BackBottom → chat/BackBottom}/index.d.ts +0 -0
- /package/es/{BackBottom → chat/BackBottom}/style.d.ts +0 -0
- /package/es/{BackBottom → chat/BackBottom}/style.js +0 -0
- /package/es/{ChatHeader → chat/ChatHeader}/ChatHeaderTitle.d.ts +0 -0
- /package/es/{ChatHeader → chat/ChatHeader}/ChatHeaderTitle.js +0 -0
- /package/es/{ChatHeader → chat/ChatHeader}/index.d.ts +0 -0
- /package/es/{ChatHeader → chat/ChatHeader}/style.d.ts +0 -0
- /package/es/{ChatHeader → chat/ChatHeader}/style.js +0 -0
- /package/es/{ChatInputArea → chat/ChatInputArea}/ChatInputActionBar.d.ts +0 -0
- /package/es/{ChatInputArea → chat/ChatInputArea}/ChatInputActionBar.js +0 -0
- /package/es/{ChatInputArea/desktop → chat/ChatInputArea}/SendButton.d.ts +0 -0
- /package/es/{ChatInputArea/desktop → chat/ChatInputArea}/SendButton.js +0 -0
- /package/es/{ChatItem → chat/ChatItem}/components/Actions.d.ts +0 -0
- /package/es/{ChatItem → chat/ChatItem}/components/Actions.js +0 -0
- /package/es/{ChatItem → chat/ChatItem}/components/Avatar.d.ts +0 -0
- /package/es/{ChatItem → chat/ChatItem}/components/BorderSpacing.d.ts +0 -0
- /package/es/{ChatItem → chat/ChatItem}/components/BorderSpacing.js +0 -0
- /package/es/{ChatItem → chat/ChatItem}/components/ErrorContent.d.ts +0 -0
- /package/es/{ChatItem → chat/ChatItem}/components/Loading.d.ts +0 -0
- /package/es/{ChatItem → chat/ChatItem}/components/MessageContent.js +0 -0
- /package/es/{ChatItem → chat/ChatItem}/components/Title.d.ts +0 -0
- /package/es/{ChatItem → chat/ChatItem}/index.d.ts +0 -0
- /package/es/{ChatItem → chat/ChatItem}/index.js +0 -0
- /package/es/{ChatItem → chat/ChatItem}/style.d.ts +0 -0
- /package/es/{ChatItem → chat/ChatItem}/style.js +0 -0
- /package/es/{ChatItem → chat/ChatItem}/type.js +0 -0
- /package/es/{ChatList → chat/ChatList}/HistoryDivider.d.ts +0 -0
- /package/es/{ChatList → chat/ChatList}/index.js +0 -0
- /package/es/{ChatList → chat/ChatList}/style.d.ts +0 -0
- /package/es/{ChatList → chat/ChatList}/style.js +0 -0
- /package/es/{EditableMessageList → chat/EditableMessageList}/messageReducer.js +0 -0
- /package/es/{MessageInput → chat/MessageInput}/style.d.ts +0 -0
- /package/es/{MessageInput → chat/MessageInput}/style.js +0 -0
- /package/es/{TokenTag → chat/TokenTag}/style.d.ts +0 -0
- /package/es/{TokenTag → chat/TokenTag}/style.js +0 -0
- /package/es/mdx/{Callout.d.ts → Callout/index.d.ts} +0 -0
- /package/es/mdx/{FileTree.js → FileTree/index.js} +0 -0
- /package/es/mdx/{Steps.js → Steps/index.js} +0 -0
- /package/es/mdx/{Tab.js → Tabs/Tab.js} +0 -0
- /package/es/mdx/{mdxComponents.d.ts → mdxComponents/index.d.ts} +0 -0
- /package/es/{ChatInputArea/mobile → mobile/MobileChatInputArea}/SendButton.d.ts +0 -0
- /package/es/{ChatInputArea/mobile → mobile/MobileChatInputArea}/SendButton.js +0 -0
- /package/es/{MobileNavBar → mobile/MobileNavBar}/MobileNavBarTitle.d.ts +0 -0
- /package/es/{MobileNavBar → mobile/MobileNavBar}/MobileNavBarTitle.js +0 -0
- /package/es/{MobileNavBar → mobile/MobileNavBar}/index.d.ts +0 -0
- /package/es/{MobileNavBar → mobile/MobileNavBar}/style.d.ts +0 -0
- /package/es/{MobileNavBar → mobile/MobileNavBar}/style.js +0 -0
- /package/es/{MobileSafeArea → mobile/MobileSafeArea}/index.js +0 -0
- /package/es/{MobileSafeArea → mobile/MobileSafeArea}/style.d.ts +0 -0
- /package/es/{MobileSafeArea → mobile/MobileSafeArea}/style.js +0 -0
- /package/es/{MobileTabBar → mobile/MobileTabBar}/index.d.ts +0 -0
- /package/es/{MobileTabBar → mobile/MobileTabBar}/index.js +0 -0
- /package/es/{MobileTabBar → mobile/MobileTabBar}/style.d.ts +0 -0
- /package/es/{MobileTabBar → mobile/MobileTabBar}/style.js +0 -0
- /package/es/{StoryBook → storybook/StoryBook}/style.d.ts +0 -0
- /package/es/{StoryBook → storybook/StoryBook}/style.js +0 -0
|
@@ -6,7 +6,7 @@ var _excluded = ["left", "right", "className", "styles", "gaps", "classNames", "
|
|
|
6
6
|
import { ChevronLeft } from 'lucide-react';
|
|
7
7
|
import { memo } from 'react';
|
|
8
8
|
import { Flexbox } from 'react-layout-kit';
|
|
9
|
-
import ActionIcon from "
|
|
9
|
+
import ActionIcon from "../../ActionIcon";
|
|
10
10
|
import { useStyles } from "./style";
|
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
12
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TextAreaRef } from 'antd/es/input/TextArea';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { type DraggablePanelProps } from "../../DraggablePanel";
|
|
4
|
-
import { type ChatInputAreaInnerProps } from '
|
|
4
|
+
import { type ChatInputAreaInnerProps } from './ChatInputAreaInner';
|
|
5
5
|
export interface ChatInputAreaProps extends Omit<ChatInputAreaInnerProps, 'classNames'> {
|
|
6
6
|
bottomAddons?: ReactNode;
|
|
7
7
|
classNames?: DraggablePanelProps['classNames'];
|
|
@@ -6,7 +6,7 @@ var _templateObject, _templateObject2, _templateObject3;
|
|
|
6
6
|
import { createStyles } from 'antd-style';
|
|
7
7
|
import { forwardRef, memo } from 'react';
|
|
8
8
|
import DraggablePanel from "../../DraggablePanel";
|
|
9
|
-
import ChatInputAreaInner from "
|
|
9
|
+
import ChatInputAreaInner from "./ChatInputAreaInner";
|
|
10
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
11
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
12
|
var useStyles = createStyles(function (_ref) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TextAreaRef } from 'antd/es/input/TextArea';
|
|
2
2
|
import { CSSProperties } from 'react';
|
|
3
|
-
import { TextAreaProps } from "
|
|
3
|
+
import { TextAreaProps } from "../../Input";
|
|
4
4
|
export interface ChatInputAreaInnerProps extends Omit<TextAreaProps, 'onInput'> {
|
|
5
5
|
className?: string;
|
|
6
6
|
loading?: boolean;
|
|
@@ -2,7 +2,7 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
3
|
var _excluded = ["resize", "onCompositionEnd", "onPressEnter", "onCompositionStart", "className", "onInput", "loading", "onSend", "onBlur", "onChange"];
|
|
4
4
|
import { forwardRef, memo, useRef } from 'react';
|
|
5
|
-
import { TextArea } from "
|
|
5
|
+
import { TextArea } from "../../Input";
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
var ChatInputAreaInner = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
8
8
|
var _ref$resize = _ref.resize,
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
export { default as ChatInputActionBar, type ChatInputActionBarProps } from './ChatInputActionBar';
|
|
2
|
+
export { default as ChatInputArea, type ChatInputAreaProps } from './ChatInputArea';
|
|
2
3
|
export { default as ChatInputAreaInner, type ChatInputAreaInnerProps } from './ChatInputAreaInner';
|
|
3
|
-
export { default as
|
|
4
|
-
export { default as ChatSendButton, type ChatSendButtonProps } from './desktop/SendButton';
|
|
5
|
-
export { default as MobileChatInputArea, type MobileChatInputAreaProps, } from './mobile/ChatInputArea';
|
|
6
|
-
export { default as MobileChatSendButton, type MobileChatSendButtonProps, } from './mobile/SendButton';
|
|
4
|
+
export { default as ChatSendButton, type ChatSendButtonProps } from './SendButton';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { memo } from 'react';
|
|
2
2
|
import { Flexbox } from 'react-layout-kit';
|
|
3
|
-
import A from "
|
|
3
|
+
import A from "../../../Avatar";
|
|
4
4
|
import { useStyles } from "../style";
|
|
5
5
|
import Loading from "./Loading";
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import { memo } from 'react';
|
|
3
3
|
import { Flexbox } from 'react-layout-kit';
|
|
4
|
-
import Alert from "
|
|
4
|
+
import Alert from "../../../Alert";
|
|
5
5
|
import { useStyles } from "../style";
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
var ErrorContent = /*#__PURE__*/memo(function (_ref) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Loader2 } from 'lucide-react';
|
|
2
2
|
import { memo } from 'react';
|
|
3
3
|
import { Flexbox } from 'react-layout-kit';
|
|
4
|
-
import Icon from "
|
|
4
|
+
import Icon from "../../../Icon";
|
|
5
5
|
import { useStyles } from "../style";
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
var Loading = /*#__PURE__*/memo(function (_ref) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
+
import type { MarkdownProps } from "../../../Markdown";
|
|
2
3
|
import { ChatItemProps } from "..";
|
|
3
|
-
import type { MarkdownProps } from "../../Markdown";
|
|
4
4
|
export interface MessageContentProps {
|
|
5
5
|
editing?: ChatItemProps['editing'];
|
|
6
6
|
fontSize?: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { memo } from 'react';
|
|
2
2
|
import { Flexbox } from 'react-layout-kit';
|
|
3
|
-
import { formatTime } from "
|
|
3
|
+
import { formatTime } from "../../../utils/formatTime";
|
|
4
4
|
import { useStyles } from "../style";
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
6
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { FlexboxProps } from 'react-layout-kit';
|
|
3
|
-
import { AlertProps } from "
|
|
4
|
-
import { AvatarProps } from "
|
|
3
|
+
import { AlertProps } from "../../Alert";
|
|
4
|
+
import { AvatarProps } from "../../Avatar";
|
|
5
|
+
import type { MarkdownProps } from "../../Markdown";
|
|
5
6
|
import { EditableMessageProps } from "../EditableMessage";
|
|
6
|
-
import
|
|
7
|
-
import { DivProps, MetaData } from "../types";
|
|
7
|
+
import { DivProps, MetaData } from "../../types";
|
|
8
8
|
export interface ChatItemProps extends Omit<FlexboxProps, 'children' | 'onChange'> {
|
|
9
9
|
aboveMessage?: ReactNode;
|
|
10
10
|
/**
|
|
@@ -2,8 +2,8 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
3
|
var _excluded = ["text"];
|
|
4
4
|
import { memo } from 'react';
|
|
5
|
-
import ActionIconGroup from "
|
|
6
|
-
import { useChatListActionsBar } from "
|
|
5
|
+
import ActionIconGroup from "../../ActionIconGroup";
|
|
6
|
+
import { useChatListActionsBar } from "../../hooks/useChatListActionsBar";
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
8
|
var ActionsBar = /*#__PURE__*/memo(function (_ref) {
|
|
9
9
|
var text = _ref.text,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Divider } from 'antd';
|
|
2
2
|
import { Timer } from 'lucide-react';
|
|
3
3
|
import { memo } from 'react';
|
|
4
|
-
import Icon from "
|
|
5
|
-
import Tag from "
|
|
4
|
+
import Icon from "../../Icon";
|
|
5
|
+
import Tag from "../../Tag";
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
var HistoryDivider = /*#__PURE__*/memo(function (_ref) {
|
|
8
8
|
var enable = _ref.enable,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
|
2
|
-
import { ActionEvent } from "
|
|
3
|
-
import type { AlertProps } from "
|
|
2
|
+
import { ActionEvent } from "../../ActionIconGroup";
|
|
3
|
+
import type { AlertProps } from "../../Alert";
|
|
4
4
|
import { type ChatItemProps } from "../ChatItem";
|
|
5
|
-
import { ChatMessage } from "
|
|
6
|
-
import { LLMRoleType } from "
|
|
5
|
+
import { ChatMessage } from "../../types/chatMessage";
|
|
6
|
+
import { LLMRoleType } from "../../types/llm";
|
|
7
7
|
import { type ActionsBarProps } from './ActionsBar';
|
|
8
8
|
export type OnMessageChange = (id: string, content: string) => void;
|
|
9
9
|
export type OnActionsClick = (action: ActionEvent, message: ChatMessage) => void;
|
|
@@ -7,7 +7,7 @@ var _excluded = ["renderMessagesExtra", "showTitle", "onActionsClick", "onAvatar
|
|
|
7
7
|
import { App } from 'antd';
|
|
8
8
|
import { memo, useCallback, useMemo, useState } from 'react';
|
|
9
9
|
import ChatItem from "../ChatItem";
|
|
10
|
-
import { copyToClipboard } from "
|
|
10
|
+
import { copyToClipboard } from "../../utils/copyToClipboard";
|
|
11
11
|
import ActionsBar from "./ActionsBar";
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
var Item = /*#__PURE__*/memo(function (props) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
|
-
import { type MarkdownProps } from "
|
|
2
|
+
import { type MarkdownProps } from "../../Markdown";
|
|
3
3
|
import { type MessageInputProps } from "../MessageInput";
|
|
4
4
|
import { type MessageModalProps } from "../MessageModal";
|
|
5
5
|
export interface EditableMessageProps {
|
|
@@ -4,7 +4,7 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
|
4
4
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
5
5
|
import { memo } from 'react';
|
|
6
6
|
import useControlledState from 'use-merge-value';
|
|
7
|
-
import Markdown from "
|
|
7
|
+
import Markdown from "../../Markdown";
|
|
8
8
|
import MessageInput from "../MessageInput";
|
|
9
9
|
import MessageModal from "../MessageModal";
|
|
10
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -6,9 +6,9 @@ import isEqual from 'fast-deep-equal';
|
|
|
6
6
|
import { Plus, Trash } from 'lucide-react';
|
|
7
7
|
import { memo, useEffect, useReducer } from 'react';
|
|
8
8
|
import { Flexbox } from 'react-layout-kit';
|
|
9
|
-
import ActionIcon from "
|
|
10
|
-
import Icon from "
|
|
11
|
-
import { ControlInput } from "
|
|
9
|
+
import ActionIcon from "../../ActionIcon";
|
|
10
|
+
import Icon from "../../Icon";
|
|
11
|
+
import { ControlInput } from "../../components/ControlInput";
|
|
12
12
|
import { messagesReducer } from "./messageReducer";
|
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
14
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ChatMessageError } from "
|
|
2
|
-
import { LLMMessage, LLMRoleType } from "
|
|
1
|
+
import { ChatMessageError } from "../../types/chatMessage";
|
|
2
|
+
import { LLMMessage, LLMRoleType } from "../../types/llm";
|
|
3
3
|
export type MessageDispatch = {
|
|
4
4
|
message: LLMMessage;
|
|
5
5
|
type: 'addMessage';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ButtonProps } from 'antd';
|
|
2
2
|
import { type CSSProperties } from 'react';
|
|
3
|
-
import { type TextAreaProps } from "
|
|
4
|
-
import { DivProps } from "
|
|
3
|
+
import { type TextAreaProps } from "../../Input";
|
|
4
|
+
import { DivProps } from "../../types";
|
|
5
5
|
export interface MessageInputProps extends DivProps {
|
|
6
6
|
/**
|
|
7
7
|
* @description Additional className to apply to the component.
|
|
@@ -7,7 +7,7 @@ var _excluded = ["text", "type", "onCancel", "defaultValue", "onConfirm", "rende
|
|
|
7
7
|
import { Button } from 'antd';
|
|
8
8
|
import { memo, useState } from 'react';
|
|
9
9
|
import { Flexbox } from 'react-layout-kit';
|
|
10
|
-
import { TextArea } from "
|
|
10
|
+
import { TextArea } from "../../Input";
|
|
11
11
|
import { useStyles } from "./style";
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { type ModalProps } from "../../Modal";
|
|
2
3
|
import { type MessageInputProps } from "../MessageInput";
|
|
3
|
-
import { type ModalProps } from "../Modal";
|
|
4
4
|
export interface MessageModalProps extends Pick<ModalProps, 'open' | 'footer'> {
|
|
5
5
|
/**
|
|
6
6
|
* @description Whether the message is being edited or not
|
|
@@ -7,10 +7,10 @@ import { useResponsive } from 'antd-style';
|
|
|
7
7
|
import { memo, useState } from 'react';
|
|
8
8
|
import { Flexbox } from 'react-layout-kit';
|
|
9
9
|
import useControlledState from 'use-merge-value';
|
|
10
|
-
import { TextArea } from "
|
|
11
|
-
import Markdown from "
|
|
10
|
+
import { TextArea } from "../../Input";
|
|
11
|
+
import Markdown from "../../Markdown";
|
|
12
|
+
import Modal from "../../Modal";
|
|
12
13
|
import { useStyles as useTextStyles } from "../MessageInput/style";
|
|
13
|
-
import Modal from "../Modal";
|
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
15
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
16
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
@@ -7,7 +7,7 @@ import { useResponsive } from 'antd-style';
|
|
|
7
7
|
import numeral from 'numeral';
|
|
8
8
|
import { forwardRef } from 'react';
|
|
9
9
|
import { Flexbox } from 'react-layout-kit';
|
|
10
|
-
import FluentEmoji from "
|
|
10
|
+
import FluentEmoji from "../../FluentEmoji";
|
|
11
11
|
import { ICON_SIZE, useStyles } from "./style";
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { default as BackBottom, type BackBottomProps } from './BackBottom';
|
|
2
|
+
export { default as ChatHeader, type ChatHeaderProps } from './ChatHeader';
|
|
3
|
+
export { default as ChatHeaderTitle, type ChatHeaderTitleProps, } from './ChatHeader/ChatHeaderTitle';
|
|
4
|
+
export * from './ChatInputArea';
|
|
5
|
+
export { default as ChatItem, type ChatItemProps } from './ChatItem';
|
|
6
|
+
export { default as ChatList, type ChatListProps, type OnActionsClick, type OnAvatatsClick, type OnMessageChange, type RenderAction, type RenderErrorMessage, type RenderItem, type RenderMessage, type RenderMessageExtra, } from './ChatList';
|
|
7
|
+
export { default as ActionsBar, type ActionsBarProps } from './ChatList/ActionsBar';
|
|
8
|
+
export { default as EditableMessage, type EditableMessageProps } from './EditableMessage';
|
|
9
|
+
export { default as EditableMessageList, type EditableMessageListProps, } from './EditableMessageList';
|
|
10
|
+
export { default as MessageInput, type MessageInputProps } from './MessageInput';
|
|
11
|
+
export { default as MessageModal, type MessageModalProps } from './MessageModal';
|
|
12
|
+
export { default as TokenTag, type TokenTagProps } from './TokenTag';
|
package/es/chat/index.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { default as BackBottom } from "./BackBottom";
|
|
2
|
+
export { default as ChatHeader } from "./ChatHeader";
|
|
3
|
+
export { default as ChatHeaderTitle } from "./ChatHeader/ChatHeaderTitle";
|
|
4
|
+
export * from "./ChatInputArea";
|
|
5
|
+
export { default as ChatItem } from "./ChatItem";
|
|
6
|
+
export { default as ChatList } from "./ChatList";
|
|
7
|
+
export { default as ActionsBar } from "./ChatList/ActionsBar";
|
|
8
|
+
export { default as EditableMessage } from "./EditableMessage";
|
|
9
|
+
export { default as EditableMessageList } from "./EditableMessageList";
|
|
10
|
+
export { default as MessageInput } from "./MessageInput";
|
|
11
|
+
export { default as MessageModal } from "./MessageModal";
|
|
12
|
+
export { default as TokenTag } from "./TokenTag";
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export { default as ActionIcon, type ActionIconProps, type ActionIconSize } from './ActionIcon';
|
|
2
|
+
export { type ActionEvent, default as ActionIconGroup, type ActionIconGroupItems, type ActionIconGroupProps, } from './ActionIconGroup';
|
|
3
|
+
export { default as Alert, type AlertProps } from './Alert';
|
|
4
|
+
export { default as Avatar, type AvatarProps } from './Avatar';
|
|
5
|
+
export { default as Burger, type BurgerProps } from './Burger';
|
|
6
|
+
export { default as CodeEditor, type CodeEditorProps } from './CodeEditor';
|
|
7
|
+
export { default as Collapse, type CollapseProps } from './Collapse';
|
|
8
|
+
export { default as ColorScales, type ColorScalesProps } from './ColorScales';
|
|
9
|
+
export { type Config, default as ConfigProvider, useCdnFn } from './ConfigProvider';
|
|
10
|
+
export { default as ContextMenu, type ContextMenuProps } from './ContextMenu';
|
|
11
|
+
export { default as CopyButton, type CopyButtonProps } from './CopyButton';
|
|
12
|
+
export { default as DraggablePanel, type DraggablePanelProps } from './DraggablePanel';
|
|
13
|
+
export { default as DraggablePanelBody, type DraggablePanelBodyProps, } from './DraggablePanel/components/DraggablePanelBody';
|
|
14
|
+
export { default as DraggablePanelContainer, type DraggablePanelContainerProps, } from './DraggablePanel/components/DraggablePanelContainer';
|
|
15
|
+
export { default as DraggablePanelFooter, type DraggablePanelFooterProps, } from './DraggablePanel/components/DraggablePanelFooter';
|
|
16
|
+
export { default as DraggablePanelHeader, type DraggablePanelHeaderProps, } from './DraggablePanel/components/DraggablePanelHeader';
|
|
17
|
+
export { default as EditableText, type EditableTextProps } from './EditableText';
|
|
18
|
+
export { default as EmojiPicker, type EmojiPickerProps } from './EmojiPicker';
|
|
19
|
+
export { default as EmptyCard, type EmptyCardProps } from './EmptyCard';
|
|
20
|
+
export { default as FileTypeIcon, type FileTypeIconProps } from './FileTypeIcon';
|
|
21
|
+
export { default as FluentEmoji, type FluentEmojiProps } from './FluentEmoji';
|
|
22
|
+
export { default as FontLoader, type FontLoaderProps } from './FontLoader';
|
|
23
|
+
export { default as Footer, type FooterProps } from './Footer';
|
|
24
|
+
export { default as Form, type FormProps, type ItemGroup } from './Form';
|
|
25
|
+
export { default as FormDivider, type FormDividerProps } from './Form/components/FormDivider';
|
|
26
|
+
export { default as FormFooter, type FormFooterProps } from './Form/components/FormFooter';
|
|
27
|
+
export { default as FormGroup, type FormGroupProps } from './Form/components/FormGroup';
|
|
28
|
+
export { default as FormItem, type FormItemProps } from './Form/components/FormItem';
|
|
29
|
+
export { default as FormTitle, type FormTitleProps } from './Form/components/FormTitle';
|
|
30
|
+
export { default as Grid, type GridProps } from './Grid';
|
|
31
|
+
export { default as Header, type HeaderProps } from './Header';
|
|
32
|
+
export { default as Highlighter, type HighlighterProps, SyntaxHighlighter, type SyntaxHighlighterProps, } from './Highlighter';
|
|
33
|
+
export { useChatListActionsBar } from './hooks/useChatListActionsBar';
|
|
34
|
+
export { default as Icon, type IconProps, type IconSize } from './Icon';
|
|
35
|
+
export * from './Icon/icons';
|
|
36
|
+
export { default as Image, type ImageProps } from './Image';
|
|
37
|
+
export { default as ImageGallery, type ImageGalleryProps } from './Image/ImageGallery';
|
|
38
|
+
export { Input, type InputProps, TextArea, type TextAreaProps } from './Input';
|
|
39
|
+
export { default as Layout, LayoutFooter, type LayoutFooterProps, LayoutHeader, type LayoutHeaderProps, LayoutMain, type LayoutMainProps, type LayoutProps, LayoutSidebar, LayoutSidebarInner, type LayoutSidebarInnerProps, type LayoutSidebarProps, LayoutToc, type LayoutTocProps, } from './Layout';
|
|
40
|
+
export { default as List, type ListItemProps } from './List';
|
|
41
|
+
export { default as Markdown, type MarkdownProps } from './Markdown';
|
|
42
|
+
export { Typography, type TypographyProps } from './Markdown/Typography';
|
|
43
|
+
export { default as MaterialFileTypeIcon, type MaterialFileTypeIconProps, } from './MaterialFileTypeIcon';
|
|
44
|
+
export { default as Mermaid, type MermaidProps } from './Mermaid';
|
|
45
|
+
export { default as Modal, type ModalProps } from './Modal';
|
|
46
|
+
export { default as SearchBar, type SearchBarProps } from './SearchBar';
|
|
47
|
+
export { default as SelectWithImg, type SelectWithImgOptionItem, type SelectWithImgProps, } from './SelectWithImg';
|
|
48
|
+
export { default as SideNav, type SideNavProps } from './SideNav';
|
|
49
|
+
export { default as SliderWithInput, type SliderWithInputProps } from './SliderWithInput';
|
|
50
|
+
export { default as Snippet, type SnippetProps } from './Snippet';
|
|
51
|
+
export { default as SortableList, type SortableListProps } from './SortableList';
|
|
52
|
+
export * from './styles';
|
|
53
|
+
export { default as Swatches, type SwatchesProps } from './Swatches';
|
|
54
|
+
export { default as TabsNav, type TabsNavProps } from './TabsNav';
|
|
55
|
+
export { default as Tag, type TagProps } from './Tag';
|
|
56
|
+
export { default as ThemeProvider, type ThemeProviderProps } from './ThemeProvider';
|
|
57
|
+
export { default as Meta, type MetaProps } from './ThemeProvider/Meta';
|
|
58
|
+
export { default as ThemeSwitch, type ThemeSwitchProps } from './ThemeSwitch';
|
|
59
|
+
export { default as Toc, type TocProps } from './Toc';
|
|
60
|
+
export { default as Tooltip, type TooltipProps } from './Tooltip';
|
|
61
|
+
export type * from './types';
|
|
62
|
+
export { copyToClipboard } from './utils/copyToClipboard';
|
|
63
|
+
export { type CDN, genCdnUrl } from './utils/genCdnUrl';
|
|
64
|
+
export { default as Video, type VideoProps } from './Video';
|
package/es/components.js
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export { default as ActionIcon } from "./ActionIcon";
|
|
2
|
+
export { default as ActionIconGroup } from "./ActionIconGroup";
|
|
3
|
+
export { default as Alert } from "./Alert";
|
|
4
|
+
export { default as Avatar } from "./Avatar";
|
|
5
|
+
export { default as Burger } from "./Burger";
|
|
6
|
+
export { default as CodeEditor } from "./CodeEditor";
|
|
7
|
+
export { default as Collapse } from "./Collapse";
|
|
8
|
+
export { default as ColorScales } from "./ColorScales";
|
|
9
|
+
export { default as ConfigProvider, useCdnFn } from "./ConfigProvider";
|
|
10
|
+
export { default as ContextMenu } from "./ContextMenu";
|
|
11
|
+
export { default as CopyButton } from "./CopyButton";
|
|
12
|
+
export { default as DraggablePanel } from "./DraggablePanel";
|
|
13
|
+
export { default as DraggablePanelBody } from "./DraggablePanel/components/DraggablePanelBody";
|
|
14
|
+
export { default as DraggablePanelContainer } from "./DraggablePanel/components/DraggablePanelContainer";
|
|
15
|
+
export { default as DraggablePanelFooter } from "./DraggablePanel/components/DraggablePanelFooter";
|
|
16
|
+
export { default as DraggablePanelHeader } from "./DraggablePanel/components/DraggablePanelHeader";
|
|
17
|
+
export { default as EditableText } from "./EditableText";
|
|
18
|
+
export { default as EmojiPicker } from "./EmojiPicker";
|
|
19
|
+
export { default as EmptyCard } from "./EmptyCard";
|
|
20
|
+
export { default as FileTypeIcon } from "./FileTypeIcon";
|
|
21
|
+
export { default as FluentEmoji } from "./FluentEmoji";
|
|
22
|
+
export { default as FontLoader } from "./FontLoader";
|
|
23
|
+
export { default as Footer } from "./Footer";
|
|
24
|
+
export { default as Form } from "./Form";
|
|
25
|
+
export { default as FormDivider } from "./Form/components/FormDivider";
|
|
26
|
+
export { default as FormFooter } from "./Form/components/FormFooter";
|
|
27
|
+
export { default as FormGroup } from "./Form/components/FormGroup";
|
|
28
|
+
export { default as FormItem } from "./Form/components/FormItem";
|
|
29
|
+
export { default as FormTitle } from "./Form/components/FormTitle";
|
|
30
|
+
export { default as Grid } from "./Grid";
|
|
31
|
+
export { default as Header } from "./Header";
|
|
32
|
+
export { default as Highlighter, SyntaxHighlighter } from "./Highlighter";
|
|
33
|
+
export { useChatListActionsBar } from "./hooks/useChatListActionsBar";
|
|
34
|
+
export { default as Icon } from "./Icon";
|
|
35
|
+
export * from "./Icon/icons";
|
|
36
|
+
export { default as Image } from "./Image";
|
|
37
|
+
export { default as ImageGallery } from "./Image/ImageGallery";
|
|
38
|
+
export { Input, TextArea } from "./Input";
|
|
39
|
+
export { default as Layout, LayoutFooter, LayoutHeader, LayoutMain, LayoutSidebar, LayoutSidebarInner, LayoutToc } from "./Layout";
|
|
40
|
+
export { default as List } from "./List";
|
|
41
|
+
export { default as Markdown } from "./Markdown";
|
|
42
|
+
export { Typography } from "./Markdown/Typography";
|
|
43
|
+
export { default as MaterialFileTypeIcon } from "./MaterialFileTypeIcon";
|
|
44
|
+
export { default as Mermaid } from "./Mermaid";
|
|
45
|
+
export { default as Modal } from "./Modal";
|
|
46
|
+
export { default as SearchBar } from "./SearchBar";
|
|
47
|
+
export { default as SelectWithImg } from "./SelectWithImg";
|
|
48
|
+
export { default as SideNav } from "./SideNav";
|
|
49
|
+
export { default as SliderWithInput } from "./SliderWithInput";
|
|
50
|
+
export { default as Snippet } from "./Snippet";
|
|
51
|
+
export { default as SortableList } from "./SortableList";
|
|
52
|
+
export * from "./styles";
|
|
53
|
+
export { default as Swatches } from "./Swatches";
|
|
54
|
+
export { default as TabsNav } from "./TabsNav";
|
|
55
|
+
export { default as Tag } from "./Tag";
|
|
56
|
+
export { default as ThemeProvider } from "./ThemeProvider";
|
|
57
|
+
export { default as Meta } from "./ThemeProvider/Meta";
|
|
58
|
+
export { default as ThemeSwitch } from "./ThemeSwitch";
|
|
59
|
+
export { default as Toc } from "./Toc";
|
|
60
|
+
export { default as Tooltip } from "./Tooltip";
|
|
61
|
+
export { copyToClipboard } from "./utils/copyToClipboard";
|
|
62
|
+
export { genCdnUrl } from "./utils/genCdnUrl";
|
|
63
|
+
export { default as Video } from "./Video";
|
package/es/index.d.ts
CHANGED
|
@@ -1,96 +1,8 @@
|
|
|
1
|
-
export
|
|
2
|
-
export { type ActionEvent, default as ActionIconGroup, type ActionIconGroupItems, type ActionIconGroupProps, } from './ActionIconGroup';
|
|
3
|
-
export { default as Alert, type AlertProps } from './Alert';
|
|
4
|
-
export { default as AuroraBackground } from './AuroraBackground';
|
|
5
|
-
export { default as Avatar, type AvatarProps } from './Avatar';
|
|
6
|
-
export { default as BackBottom, type BackBottomProps } from './BackBottom';
|
|
1
|
+
export * from './awesome';
|
|
7
2
|
export { default as Logo, type LobeHubProps as LogoProps } from './brand/LobeHub';
|
|
8
|
-
export { default as
|
|
9
|
-
export { default as
|
|
10
|
-
export
|
|
11
|
-
export * from './
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export { default as ChatList } from './ChatList';
|
|
15
|
-
export { default as ActionsBar, type ActionsBarProps } from './ChatList/ActionsBar';
|
|
16
|
-
export { default as CodeEditor, type CodeEditorProps } from './CodeEditor';
|
|
17
|
-
export { default as Collapse, type CollapseProps } from './Collapse';
|
|
18
|
-
export { default as ColorScales, type ColorScalesProps } from './ColorScales';
|
|
19
|
-
export { type Config, default as ConfigProvider, useCdnFn } from './ConfigProvider';
|
|
20
|
-
export { default as ContextMenu, type ContextMenuProps } from './ContextMenu';
|
|
21
|
-
export { default as CopyButton, type CopyButtonProps } from './CopyButton';
|
|
22
|
-
export { default as DraggablePanel, type DraggablePanelProps } from './DraggablePanel';
|
|
23
|
-
export { default as DraggablePanelBody, type DraggablePanelBodyProps, } from './DraggablePanel/components/DraggablePanelBody';
|
|
24
|
-
export { default as DraggablePanelContainer, type DraggablePanelContainerProps, } from './DraggablePanel/components/DraggablePanelContainer';
|
|
25
|
-
export { default as DraggablePanelFooter, type DraggablePanelFooterProps, } from './DraggablePanel/components/DraggablePanelFooter';
|
|
26
|
-
export { default as DraggablePanelHeader, type DraggablePanelHeaderProps, } from './DraggablePanel/components/DraggablePanelHeader';
|
|
27
|
-
export { default as EditableMessage, type EditableMessageProps } from './EditableMessage';
|
|
28
|
-
export { default as EditableMessageList, type EditableMessageListProps, } from './EditableMessageList';
|
|
29
|
-
export { default as EditableText, type EditableTextProps } from './EditableText';
|
|
30
|
-
export { default as EmojiPicker, type EmojiPickerProps } from './EmojiPicker';
|
|
31
|
-
export { default as EmptyCard, type EmptyCardProps } from './EmptyCard';
|
|
32
|
-
export { type FeatureItem, default as Features, type FeaturesProps } from './Features';
|
|
33
|
-
export { default as FileTypeIcon, type FileTypeIconProps } from './FileTypeIcon';
|
|
34
|
-
export { default as FluentEmoji, type FluentEmojiProps } from './FluentEmoji';
|
|
35
|
-
export { default as FontLoader, type FontLoaderProps } from './FontLoader';
|
|
36
|
-
export { default as Footer, type FooterProps } from './Footer';
|
|
37
|
-
export { default as Form, type FormProps, type ItemGroup } from './Form';
|
|
38
|
-
export { default as FormDivider, type FormDividerProps } from './Form/components/FormDivider';
|
|
39
|
-
export { default as FormFooter, type FormFooterProps } from './Form/components/FormFooter';
|
|
40
|
-
export { default as FormGroup, type FormGroupProps } from './Form/components/FormGroup';
|
|
41
|
-
export { default as FormItem, type FormItemProps } from './Form/components/FormItem';
|
|
42
|
-
export { default as FormTitle, type FormTitleProps } from './Form/components/FormTitle';
|
|
43
|
-
export { default as GaussianBackground, type GaussianBackgroundProps } from './GaussianBackground';
|
|
44
|
-
export { default as Giscus, type GiscusProps } from './Giscus';
|
|
45
|
-
export { default as GradientButton, type GradientButtonProps } from './GradientButton';
|
|
46
|
-
export { default as Grid, type GridProps } from './Grid';
|
|
47
|
-
export { default as GridBackground, type GridBackgroundProps } from './GridBackground';
|
|
48
|
-
export { default as GridShowcase, type GridShowcaseProps } from './GridBackground/GridShowcase';
|
|
49
|
-
export { default as Header, type HeaderProps } from './Header';
|
|
50
|
-
export { default as Hero, type HeroAction, type HeroProps } from './Hero';
|
|
51
|
-
export { default as Highlighter, type HighlighterProps, SyntaxHighlighter, type SyntaxHighlighterProps, } from './Highlighter';
|
|
52
|
-
export { useChatListActionsBar } from './hooks/useChatListActionsBar';
|
|
53
|
-
export { default as Icon, type IconProps, type IconSize } from './Icon';
|
|
54
|
-
export * from './Icon/icons';
|
|
55
|
-
export { default as Image, type ImageProps } from './Image';
|
|
56
|
-
export { default as ImageGallery, type ImageGalleryProps } from './Image/ImageGallery';
|
|
57
|
-
export { Input, type InputProps, TextArea, type TextAreaProps } from './Input';
|
|
58
|
-
export { default as Layout, LayoutFooter, type LayoutFooterProps, LayoutHeader, type LayoutHeaderProps, LayoutMain, type LayoutMainProps, type LayoutProps, LayoutSidebar, LayoutSidebarInner, type LayoutSidebarInnerProps, type LayoutSidebarProps, LayoutToc, type LayoutTocProps, } from './Layout';
|
|
59
|
-
export { default as List, type ListItemProps } from './List';
|
|
60
|
-
export { default as LogoThree, type LogoThreeProps } from './LogoThree';
|
|
61
|
-
export { default as LogoSpline, type LogoSplineProps } from './LogoThree/LogoSpline';
|
|
62
|
-
export { default as Markdown, type MarkdownProps } from './Markdown';
|
|
63
|
-
export { Typography, type TypographyProps } from './Markdown/Typography';
|
|
64
|
-
export { default as MaterialFileTypeIcon, type MaterialFileTypeIconProps, } from './MaterialFileTypeIcon';
|
|
65
|
-
export { default as Mermaid, type MermaidProps } from './Mermaid';
|
|
66
|
-
export { default as MessageInput, type MessageInputProps } from './MessageInput';
|
|
67
|
-
export { default as MessageModal, type MessageModalProps } from './MessageModal';
|
|
68
|
-
export { default as MobileNavBar, type MobileNavBarProps } from './MobileNavBar';
|
|
69
|
-
export { default as MobileNavBarTitle, type MobileNavBarTitleProps, } from './MobileNavBar/MobileNavBarTitle';
|
|
70
|
-
export { default as MobileSafeArea, type MobileSafeAreaProps } from './MobileSafeArea';
|
|
71
|
-
export { default as MobileTabBar, type MobileTabBarItemProps, type MobileTabBarProps, } from './MobileTabBar';
|
|
72
|
-
export { default as Modal, type ModalProps } from './Modal';
|
|
73
|
-
export { default as SearchBar, type SearchBarProps } from './SearchBar';
|
|
74
|
-
export { default as SelectWithImg, type SelectWithImgOptionItem, type SelectWithImgProps, } from './SelectWithImg';
|
|
75
|
-
export { default as SideNav, type SideNavProps } from './SideNav';
|
|
76
|
-
export { default as SliderWithInput, type SliderWithInputProps } from './SliderWithInput';
|
|
77
|
-
export { default as Snippet, type SnippetProps } from './Snippet';
|
|
78
|
-
export { default as SortableList, type SortableListProps } from './SortableList';
|
|
79
|
-
export { default as Spline, type SplineProps } from './Spline';
|
|
80
|
-
export { default as Spotlight, type SpotlightProps } from './Spotlight';
|
|
81
|
-
export { default as SpotlightCard, type SpotlightCardProps } from './SpotlightCard';
|
|
82
|
-
export { default as StoryBook, type StoryBookProps, useControls, useCreateStore, } from './StoryBook';
|
|
83
|
-
export * from './styles';
|
|
84
|
-
export { default as Swatches, type SwatchesProps } from './Swatches';
|
|
85
|
-
export { default as TabsNav, type TabsNavProps } from './TabsNav';
|
|
86
|
-
export { default as Tag, type TagProps } from './Tag';
|
|
87
|
-
export { default as ThemeProvider, type ThemeProviderProps } from './ThemeProvider';
|
|
88
|
-
export { default as Meta, type MetaProps } from './ThemeProvider/Meta';
|
|
89
|
-
export { default as ThemeSwitch, type ThemeSwitchProps } from './ThemeSwitch';
|
|
90
|
-
export { default as Toc, type TocProps } from './Toc';
|
|
91
|
-
export { default as TokenTag, type TokenTagProps } from './TokenTag';
|
|
92
|
-
export { default as Tooltip, type TooltipProps } from './Tooltip';
|
|
93
|
-
export type * from './types';
|
|
94
|
-
export { copyToClipboard } from './utils/copyToClipboard';
|
|
95
|
-
export { type CDN, genCdnUrl } from './utils/genCdnUrl';
|
|
96
|
-
export { default as Video, type VideoProps } from './Video';
|
|
3
|
+
export { default as LogoThree, type LogoThreeProps } from './brand/LogoThree';
|
|
4
|
+
export { default as LogoSpline, type LogoSplineProps } from './brand/LogoThree/LogoSpline';
|
|
5
|
+
export * from './chat';
|
|
6
|
+
export * from './components';
|
|
7
|
+
export * from './mobile';
|
|
8
|
+
export * from './storybook';
|