@contentgrowth/llm-service 0.9.2 → 0.9.3
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/ui/react/components/index.cjs +242 -119
- package/dist/ui/react/components/index.cjs.map +1 -1
- package/dist/ui/react/components/index.d.cts +12 -1
- package/dist/ui/react/components/index.d.ts +12 -1
- package/dist/ui/react/components/index.js +236 -114
- package/dist/ui/react/components/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -184,6 +184,17 @@ interface ChatInputAreaHandle {
|
|
|
184
184
|
}
|
|
185
185
|
declare const ChatInputArea: React.ForwardRefExoticComponent<ChatInputAreaProps & React.RefAttributes<ChatInputAreaHandle>>;
|
|
186
186
|
|
|
187
|
+
interface TapToTalkProps {
|
|
188
|
+
onResult: (text: string) => void;
|
|
189
|
+
voiceConfig?: VoiceConfig;
|
|
190
|
+
className?: string;
|
|
191
|
+
disabled?: boolean;
|
|
192
|
+
tooltip?: string;
|
|
193
|
+
onFocusTarget?: () => void;
|
|
194
|
+
accentColor?: string;
|
|
195
|
+
}
|
|
196
|
+
declare const TapToTalk: React.FC<TapToTalkProps>;
|
|
197
|
+
|
|
187
198
|
interface ChatMessageListProps {
|
|
188
199
|
chatHistory: ChatMessage[];
|
|
189
200
|
isProcessing: boolean;
|
|
@@ -290,4 +301,4 @@ declare function createWhisperVoiceConfig(config: TranscriptionConfig, callbacks
|
|
|
290
301
|
onVoiceEnd?: () => void;
|
|
291
302
|
}): VoiceConfig;
|
|
292
303
|
|
|
293
|
-
export { type AnimationState, type AudioRecorderHook, ChatBubble, type ChatConfig, ChatConfigProvider, ChatHeader, ChatInputArea, type ChatInputAreaHandle, type ChatInteractionParams, type ChatMessage, ChatMessageList, type ChatTask, type ChatTriggerOptions, type ConfirmInteractionParams, type ConnectionState, ConnectionStatus, type CustomEventSource, type FormField, type FormInteractionParams, type InteractiveFunction, type InteractiveMessage, MessageBubble, type MessageBubbleProps, type MessageSubmitOptions, type NavigationHandlerOptions, type PresentInteractionParams, type SSEConnectionResult, type SelectInteractionParams, type SpeechRecognitionHook, Spinner, type TranscriptionConfig, type TranscriptionResult, type VoiceConfig, createWhisperVoiceConfig, transcribeAudio, useAudioRecorder, useChatConfig, useProactiveResize, useSpeechRecognition };
|
|
304
|
+
export { type AnimationState, type AudioRecorderHook, ChatBubble, type ChatConfig, ChatConfigProvider, ChatHeader, ChatInputArea, type ChatInputAreaHandle, type ChatInteractionParams, type ChatMessage, ChatMessageList, type ChatTask, type ChatTriggerOptions, type ConfirmInteractionParams, type ConnectionState, ConnectionStatus, type CustomEventSource, type FormField, type FormInteractionParams, type InteractiveFunction, type InteractiveMessage, MessageBubble, type MessageBubbleProps, type MessageSubmitOptions, type NavigationHandlerOptions, type PresentInteractionParams, type SSEConnectionResult, type SelectInteractionParams, type SpeechRecognitionHook, Spinner, TapToTalk, type TranscriptionConfig, type TranscriptionResult, type VoiceConfig, createWhisperVoiceConfig, transcribeAudio, useAudioRecorder, useChatConfig, useProactiveResize, useSpeechRecognition };
|
|
@@ -184,6 +184,17 @@ interface ChatInputAreaHandle {
|
|
|
184
184
|
}
|
|
185
185
|
declare const ChatInputArea: React.ForwardRefExoticComponent<ChatInputAreaProps & React.RefAttributes<ChatInputAreaHandle>>;
|
|
186
186
|
|
|
187
|
+
interface TapToTalkProps {
|
|
188
|
+
onResult: (text: string) => void;
|
|
189
|
+
voiceConfig?: VoiceConfig;
|
|
190
|
+
className?: string;
|
|
191
|
+
disabled?: boolean;
|
|
192
|
+
tooltip?: string;
|
|
193
|
+
onFocusTarget?: () => void;
|
|
194
|
+
accentColor?: string;
|
|
195
|
+
}
|
|
196
|
+
declare const TapToTalk: React.FC<TapToTalkProps>;
|
|
197
|
+
|
|
187
198
|
interface ChatMessageListProps {
|
|
188
199
|
chatHistory: ChatMessage[];
|
|
189
200
|
isProcessing: boolean;
|
|
@@ -290,4 +301,4 @@ declare function createWhisperVoiceConfig(config: TranscriptionConfig, callbacks
|
|
|
290
301
|
onVoiceEnd?: () => void;
|
|
291
302
|
}): VoiceConfig;
|
|
292
303
|
|
|
293
|
-
export { type AnimationState, type AudioRecorderHook, ChatBubble, type ChatConfig, ChatConfigProvider, ChatHeader, ChatInputArea, type ChatInputAreaHandle, type ChatInteractionParams, type ChatMessage, ChatMessageList, type ChatTask, type ChatTriggerOptions, type ConfirmInteractionParams, type ConnectionState, ConnectionStatus, type CustomEventSource, type FormField, type FormInteractionParams, type InteractiveFunction, type InteractiveMessage, MessageBubble, type MessageBubbleProps, type MessageSubmitOptions, type NavigationHandlerOptions, type PresentInteractionParams, type SSEConnectionResult, type SelectInteractionParams, type SpeechRecognitionHook, Spinner, type TranscriptionConfig, type TranscriptionResult, type VoiceConfig, createWhisperVoiceConfig, transcribeAudio, useAudioRecorder, useChatConfig, useProactiveResize, useSpeechRecognition };
|
|
304
|
+
export { type AnimationState, type AudioRecorderHook, ChatBubble, type ChatConfig, ChatConfigProvider, ChatHeader, ChatInputArea, type ChatInputAreaHandle, type ChatInteractionParams, type ChatMessage, ChatMessageList, type ChatTask, type ChatTriggerOptions, type ConfirmInteractionParams, type ConnectionState, ConnectionStatus, type CustomEventSource, type FormField, type FormInteractionParams, type InteractiveFunction, type InteractiveMessage, MessageBubble, type MessageBubbleProps, type MessageSubmitOptions, type NavigationHandlerOptions, type PresentInteractionParams, type SSEConnectionResult, type SelectInteractionParams, type SpeechRecognitionHook, Spinner, TapToTalk, type TranscriptionConfig, type TranscriptionResult, type VoiceConfig, createWhisperVoiceConfig, transcribeAudio, useAudioRecorder, useChatConfig, useProactiveResize, useSpeechRecognition };
|