@rolder/kit 3.0.0-alpha.1 → 3.0.0-alpha.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/dist/ai/index.d.ts +0 -1
- package/dist/ai/index.js +0 -1
- package/dist/ai/ui/conversation/index.d.ts +2 -2
- package/dist/ai/ui/conversation/index.js +2 -3
- package/dist/ai/ui/promptInput/index.d.ts +1 -1
- package/dist/ai/ui/promptInput/index.js +0 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -1
- package/package.json +1 -1
- package/dist/ai/ui/index.d.ts +0 -2
- package/dist/ai/ui/index.js +0 -2
package/dist/ai/index.d.ts
CHANGED
package/dist/ai/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export type { ConversationProps } from './types';
|
|
2
|
+
export { useChatMessage } from './useChatMessage';
|
|
3
3
|
export declare const Conversation: {
|
|
4
4
|
Root: ({ children, loading, streaming, empty, ...props }: import("./types").ConversationProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
Message: <T extends import("ai").UIMessage>({ message }: {
|
|
@@ -3,8 +3,7 @@ import { File } from "./File.js";
|
|
|
3
3
|
import { Loader } from "./Loader.js";
|
|
4
4
|
import { Message } from "./Message.js";
|
|
5
5
|
import { Root } from "./Root.js";
|
|
6
|
-
|
|
7
|
-
export * from "./useChatMessage.js";
|
|
6
|
+
import { useChatMessage } from "./useChatMessage.js";
|
|
8
7
|
const Conversation = {
|
|
9
8
|
Root: Root,
|
|
10
9
|
Message: Message,
|
|
@@ -12,4 +11,4 @@ const Conversation = {
|
|
|
12
11
|
Loader: Loader,
|
|
13
12
|
Empty: Empty
|
|
14
13
|
};
|
|
15
|
-
export { Conversation };
|
|
14
|
+
export { Conversation, useChatMessage };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type { Accept, PromptInputProps } from './types';
|
|
2
2
|
export declare const PromptInput: {
|
|
3
3
|
Root: ({ className, onSubmit, submiting, uploading, accept, ...props }: import("@mantine/core").PaperProps & import("./types").PromptInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
Textarea: (props: import("@mantine/core").TextareaProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { Conversation, type ConversationProps, useChatMessage, } from './ai/ui/conversation';
|
|
2
|
+
export { type Accept, PromptInput, type PromptInputProps, } from './ai/ui/promptInput';
|
|
2
3
|
export * from './app';
|
|
3
4
|
export * from './functions';
|
|
4
5
|
export * from './hooks';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { Conversation, useChatMessage } from "./ai/ui/conversation/index.js";
|
|
2
|
+
import { PromptInput } from "./ai/ui/promptInput/index.js";
|
|
2
3
|
export * from "./app/index.js";
|
|
3
4
|
export * from "./functions/index.js";
|
|
4
5
|
export * from "./hooks/index.js";
|
|
5
6
|
export * from "./surreal/index.js";
|
|
6
7
|
export * from "./ui/index.js";
|
|
8
|
+
export { Conversation, PromptInput, useChatMessage };
|
package/package.json
CHANGED
package/dist/ai/ui/index.d.ts
DELETED
package/dist/ai/ui/index.js
DELETED