@copilotkit/react-ui 0.9.0-alpha.5 → 0.9.0-alpha.7
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/.turbo/turbo-build.log +125 -143
- package/CHANGELOG.md +26 -3
- package/dist/{chunk-EFMAZYVJ.mjs → chunk-2NO6SF5H.mjs} +3 -3
- package/dist/{chunk-7WLN6B5Z.mjs → chunk-6UJWRTL6.mjs} +2 -2
- package/dist/{chunk-7V2T5FNU.mjs → chunk-7KPMJBGH.mjs} +2 -2
- package/dist/{chunk-DHQSOGIX.mjs → chunk-APH6ZQHG.mjs} +2 -2
- package/dist/{chunk-7QMDSBB2.mjs → chunk-HKSY5T7Y.mjs} +2 -2
- package/dist/{chunk-HQ7FVTMZ.mjs → chunk-LMCFSE4V.mjs} +2 -2
- package/dist/{chunk-DAAOQ7QP.mjs → chunk-TUPGAO7T.mjs} +2 -2
- package/dist/{chunk-LF2OPSTV.mjs → chunk-UKKJ6H2K.mjs} +2 -2
- package/dist/{chunk-RU6KSMYY.mjs → chunk-ZB6JHNDT.mjs} +3 -3
- package/dist/components/chat-components/chat-list.mjs +5 -5
- package/dist/components/chat-components/chat-message-actions.mjs +2 -2
- package/dist/components/chat-components/chat-message.mjs +4 -4
- package/dist/components/chat-components/chat-panel.mjs +3 -3
- package/dist/components/chat-components/copilot-chat.mjs +10 -10
- package/dist/components/chat-components/prompt-form.mjs +2 -2
- package/dist/components/chat-components/ui/codeblock.mjs +2 -2
- package/dist/components/index.mjs +12 -12
- package/dist/components/sidebar/copilot-sidebar-ui-provider.mjs +12 -12
- package/dist/components/sidebar/copilot-sidebar.mjs +11 -11
- package/dist/index.mjs +15 -15
- package/package.json +3 -3
- package/dist/components/chat-components/chat-list.d.ts +0 -8
- package/dist/components/chat-components/chat-message-actions.d.ts +0 -8
- package/dist/components/chat-components/chat-message.d.ts +0 -8
- package/dist/components/chat-components/chat-panel.d.ts +0 -8
- package/dist/components/chat-components/chat-scroll-anchor.d.ts +0 -6
- package/dist/components/chat-components/clear-history.d.ts +0 -9
- package/dist/components/chat-components/copilot-chat.d.ts +0 -12
- package/dist/components/chat-components/default-empty-screen.d.ts +0 -8
- package/dist/components/chat-components/external-link.d.ts +0 -6
- package/dist/components/chat-components/markdown.d.ts +0 -6
- package/dist/components/chat-components/prompt-form.d.ts +0 -9
- package/dist/components/chat-components/theme-toggle.d.ts +0 -3
- package/dist/components/chat-components/toaster.d.ts +0 -1
- package/dist/components/chat-components/ui/alert-dialog.d.ts +0 -20
- package/dist/components/chat-components/ui/badge.d.ts +0 -12
- package/dist/components/chat-components/ui/button.d.ts +0 -14
- package/dist/components/chat-components/ui/codeblock.d.ts +0 -14
- package/dist/components/chat-components/ui/dialog.d.ts +0 -18
- package/dist/components/chat-components/ui/dropdown-menu.d.ts +0 -24
- package/dist/components/chat-components/ui/icons.d.ts +0 -33
- package/dist/components/chat-components/ui/input.d.ts +0 -7
- package/dist/components/chat-components/ui/label.d.ts +0 -8
- package/dist/components/chat-components/ui/select.d.ts +0 -13
- package/dist/components/chat-components/ui/separator.d.ts +0 -6
- package/dist/components/chat-components/ui/sheet.d.ts +0 -19
- package/dist/components/chat-components/ui/switch.d.ts +0 -6
- package/dist/components/chat-components/ui/textarea.d.ts +0 -7
- package/dist/components/chat-components/ui/tooltip.d.ts +0 -9
- package/dist/components/index.d.ts +0 -9
- package/dist/components/sidebar/copilot-sidebar-ui-provider.d.ts +0 -8
- package/dist/components/sidebar/copilot-sidebar.d.ts +0 -6
- package/dist/components/sidebar/sidebar-context.d.ts +0 -9
- package/dist/context/index.d.ts +0 -1
- package/dist/hooks/index.d.ts +0 -1
- package/dist/hooks/use-at-bottom.d.ts +0 -3
- package/dist/hooks/use-copy-to-clipboard.d.ts +0 -9
- package/dist/hooks/use-enter-submit.d.ts +0 -8
- package/dist/index.d.ts +0 -9
- package/dist/lib/utils.d.ts +0 -8
- package/dist/lib/utils.test.d.ts +0 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/types/types.d.ts +0 -16
- /package/dist/{chunk-EFMAZYVJ.mjs.map → chunk-2NO6SF5H.mjs.map} +0 -0
- /package/dist/{chunk-7WLN6B5Z.mjs.map → chunk-6UJWRTL6.mjs.map} +0 -0
- /package/dist/{chunk-7V2T5FNU.mjs.map → chunk-7KPMJBGH.mjs.map} +0 -0
- /package/dist/{chunk-DHQSOGIX.mjs.map → chunk-APH6ZQHG.mjs.map} +0 -0
- /package/dist/{chunk-7QMDSBB2.mjs.map → chunk-HKSY5T7Y.mjs.map} +0 -0
- /package/dist/{chunk-HQ7FVTMZ.mjs.map → chunk-LMCFSE4V.mjs.map} +0 -0
- /package/dist/{chunk-DAAOQ7QP.mjs.map → chunk-TUPGAO7T.mjs.map} +0 -0
- /package/dist/{chunk-LF2OPSTV.mjs.map → chunk-UKKJ6H2K.mjs.map} +0 -0
- /package/dist/{chunk-RU6KSMYY.mjs.map → chunk-ZB6JHNDT.mjs.map} +0 -0
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
interface useCopyToClipboardProps {
|
|
2
|
-
timeout?: number;
|
|
3
|
-
}
|
|
4
|
-
declare function useCopyToClipboard({ timeout, }: useCopyToClipboardProps): {
|
|
5
|
-
isCopied: Boolean;
|
|
6
|
-
copyToClipboard: (value: string) => void;
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
export { useCopyToClipboard, useCopyToClipboardProps };
|
package/dist/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { CopilotChat } from './components/chat-components/copilot-chat.js';
|
|
2
|
-
export { Tooltip, TooltipProvider } from './components/chat-components/ui/tooltip.js';
|
|
3
|
-
export { CopilotSidebarUIProvider } from './components/sidebar/copilot-sidebar-ui-provider.js';
|
|
4
|
-
export { CopilotSidebar } from './components/sidebar/copilot-sidebar.js';
|
|
5
|
-
export { CopilotSidebarContext, CopilotSidebarContextType } from './components/sidebar/sidebar-context.js';
|
|
6
|
-
import 'react';
|
|
7
|
-
import './components/chat-components/default-empty-screen.js';
|
|
8
|
-
import '@copilotkit/react-core';
|
|
9
|
-
import '@radix-ui/react-tooltip';
|
package/dist/lib/utils.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ClassValue } from 'clsx';
|
|
2
|
-
|
|
3
|
-
declare function cn(...inputs: ClassValue[]): string;
|
|
4
|
-
declare const nanoid: (size?: number | undefined) => string;
|
|
5
|
-
declare function fetcher<JSON = any>(input: RequestInfo, init?: RequestInit): Promise<JSON>;
|
|
6
|
-
declare function formatDate(input: string | number | Date): string;
|
|
7
|
-
|
|
8
|
-
export { cn, fetcher, formatDate, nanoid };
|
package/dist/lib/utils.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/dist/types/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/dist/types/types.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Message } from 'ai';
|
|
2
|
-
|
|
3
|
-
interface Chat extends Record<string, any> {
|
|
4
|
-
id: string;
|
|
5
|
-
title: string;
|
|
6
|
-
createdAt: Date;
|
|
7
|
-
userId: string;
|
|
8
|
-
path: string;
|
|
9
|
-
messages: Message[];
|
|
10
|
-
sharePath?: string;
|
|
11
|
-
}
|
|
12
|
-
type ServerActionResult<Result> = Promise<Result | {
|
|
13
|
-
error: string;
|
|
14
|
-
}>;
|
|
15
|
-
|
|
16
|
-
export { Chat, ServerActionResult };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|