@qwanyx/stack 0.2.113 → 0.2.115
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/components/VoiceTextEditor.d.ts +3 -1
- package/dist/index.cjs.js +33 -33
- package/dist/index.esm.js +2347 -2321
- package/package.json +1 -1
|
@@ -25,6 +25,8 @@ export interface VoiceTextEditorProps {
|
|
|
25
25
|
onAIPrompt?: (prompt: string, text: string) => Promise<string>;
|
|
26
26
|
/** Placeholder text for textarea */
|
|
27
27
|
placeholder?: string;
|
|
28
|
+
/** Called when user saves a recording (shows save button if provided) */
|
|
29
|
+
onAudioSave?: (audioBlob: Blob, duration: number) => void;
|
|
28
30
|
/** Additional CSS classes */
|
|
29
31
|
className?: string;
|
|
30
32
|
/** Number of rows for textarea (if not flex) */
|
|
@@ -63,4 +65,4 @@ export interface VoiceTextEditorProps {
|
|
|
63
65
|
/** Error message to show if source text is empty */
|
|
64
66
|
generateSourceError?: string;
|
|
65
67
|
}
|
|
66
|
-
export declare function VoiceTextEditor({ label, value, onChange, onTranscribe, onAIAction, onAIPrompt, placeholder, className, rows, llmClient, graphClient, nodeId, audioFilename, existingAudio, existingVoice, onAudioGenerated, onGenerateTTS, audioUrl, voice, onVoiceChange, generateButton, generatePrompt, generateSourceText, generateSourceError }: VoiceTextEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
68
|
+
export declare function VoiceTextEditor({ label, value, onChange, onTranscribe, onAIAction, onAIPrompt, onAudioSave, placeholder, className, rows, llmClient, graphClient, nodeId, audioFilename, existingAudio, existingVoice, onAudioGenerated, onGenerateTTS, audioUrl, voice, onVoiceChange, generateButton, generatePrompt, generateSourceText, generateSourceError }: VoiceTextEditorProps): import("react/jsx-runtime").JSX.Element;
|