@altimateai/ui-components 0.0.8 → 0.0.9
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/CoachForm.js +2594 -2585
- package/dist/chatbotV2/index.d.ts +3 -2
- package/dist/index.d.ts +2 -2
- package/dist/{types-ClqBUI2s.d.ts → types-MLsaGOQh.d.ts} +2 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { FC } from 'react';
|
|
2
|
-
import { j as ChatbotProps, k as ChatbotProviderProps, m as ChatState, A as Artifact, n as ContextOption, I as InteractionRequest, o as ChatMessage, p as AgentAction, q as ChatResponse } from '../types-
|
|
3
|
-
export { y as AgentStreamResponse, s as AssistantMeta, t as ChatSession, v as ChatbotUrls, F as Feedback, u as FileUploadProps, x as InteractionChoice, w as InteractionType, r as LoadingState } from '../types-
|
|
2
|
+
import { j as ChatbotProps, k as ChatbotProviderProps, m as ChatState, A as Artifact, n as ContextOption, I as InteractionRequest, o as ChatMessage, p as AgentAction, q as ChatResponse } from '../types-MLsaGOQh.js';
|
|
3
|
+
export { y as AgentStreamResponse, s as AssistantMeta, t as ChatSession, v as ChatbotUrls, F as Feedback, u as FileUploadProps, x as InteractionChoice, w as InteractionType, r as LoadingState } from '../types-MLsaGOQh.js';
|
|
4
4
|
import { UnknownAction } from '@reduxjs/toolkit';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import 'zod';
|
|
@@ -63,6 +63,7 @@ declare const MessageMenu: FC<MessageMenuProps>;
|
|
|
63
63
|
interface QuestionFormProps {
|
|
64
64
|
onSubmit: (message: string) => Promise<void>;
|
|
65
65
|
isLoading: boolean;
|
|
66
|
+
placeholder?: string;
|
|
66
67
|
}
|
|
67
68
|
declare const QuestionForm: React.FC<QuestionFormProps>;
|
|
68
69
|
|
package/dist/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import * as React$1 from 'react';
|
|
|
4
4
|
import { ButtonHTMLAttributes, ReactNode, HTMLAttributes, FC, MouseEvent } from 'react';
|
|
5
5
|
import { B as ButtonProps } from './Button-Dln4BC6y.js';
|
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
|
-
import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-
|
|
8
|
-
export { i as Citation, f as CoachAiConfirmationResponse, C as CoachAiResponse, g as ContentCategory, L as Learning, P as PersonalizationScope, h as TeamMateComponentProps, l as learningSchema } from './types-
|
|
7
|
+
import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-MLsaGOQh.js';
|
|
8
|
+
export { i as Citation, f as CoachAiConfirmationResponse, C as CoachAiResponse, g as ContentCategory, L as Learning, P as PersonalizationScope, h as TeamMateComponentProps, l as learningSchema } from './types-MLsaGOQh.js';
|
|
9
9
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
10
10
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
11
11
|
import * as immer from 'immer';
|
|
@@ -57,6 +57,7 @@ interface ChatbotProps {
|
|
|
57
57
|
context?: Record<string, unknown>;
|
|
58
58
|
fileUploadProps?: FileUploadProps;
|
|
59
59
|
contextOptions?: ContextOption[];
|
|
60
|
+
placeholder?: string;
|
|
60
61
|
}
|
|
61
62
|
interface ChatbotProviderProps extends ChatbotProps {
|
|
62
63
|
taskLabel?: keyof typeof TaskLabels;
|
|
@@ -74,6 +75,7 @@ interface ChatbotProviderProps extends ChatbotProps {
|
|
|
74
75
|
label: string;
|
|
75
76
|
value: string;
|
|
76
77
|
}[];
|
|
78
|
+
placeholder?: string;
|
|
77
79
|
}
|
|
78
80
|
type InteractionType = "text" | "select" | "multiSelect" | "confirm";
|
|
79
81
|
interface InteractionChoice {
|