@qwanyx/stack 0.2.109 → 0.2.111
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/client/LLMClient.d.ts +10 -0
- package/dist/components/MailComposer.d.ts +3 -1
- package/dist/index.cjs.js +35 -35
- package/dist/index.esm.js +3430 -3413
- package/package.json +1 -1
|
@@ -77,6 +77,16 @@ export declare class LLMClient {
|
|
|
77
77
|
tts(text: string, options?: {
|
|
78
78
|
voice?: TTSVoice;
|
|
79
79
|
}): Promise<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Generate an image from a text prompt
|
|
82
|
+
* @param prompt - Text description of the image to generate
|
|
83
|
+
* @param options - Generation options
|
|
84
|
+
* @returns Base64 encoded PNG image data
|
|
85
|
+
*/
|
|
86
|
+
generateImage(prompt: string, options?: {
|
|
87
|
+
size?: '1024x1024' | '1536x1024' | '1024x1536' | 'auto';
|
|
88
|
+
quality?: 'low' | 'medium' | 'high' | 'auto';
|
|
89
|
+
}): Promise<string>;
|
|
80
90
|
/**
|
|
81
91
|
* Transcribe audio to text
|
|
82
92
|
*/
|
|
@@ -46,6 +46,8 @@ export interface MailComposerProps {
|
|
|
46
46
|
className?: string;
|
|
47
47
|
/** Hide the To field (when recipient is controlled externally) */
|
|
48
48
|
hideToField?: boolean;
|
|
49
|
+
/** Hide the Subject field (when subject is controlled externally) */
|
|
50
|
+
hideSubjectField?: boolean;
|
|
49
51
|
/** Minimum height for editor */
|
|
50
52
|
minHeight?: string;
|
|
51
53
|
/** Custom send button text */
|
|
@@ -105,4 +107,4 @@ export interface MailComposerTheme extends MailEditorTheme {
|
|
|
105
107
|
attachmentBackground?: string;
|
|
106
108
|
attachmentBorder?: string;
|
|
107
109
|
}
|
|
108
|
-
export declare function MailComposer({ to: initialTo, cc: initialCc, bcc: initialBcc, subject: initialSubject, body: initialBody, replyTo, onSend, onCancel, onBodyChange, externalUpdate, insertText, insertTextTrigger, theme: themeProp, disabled, showCcBcc, placeholder, className, hideToField, minHeight, hideCancelButton, onAiRestructure, onAiProofread, onAiRewrite, onAiGenerate, renderAboveToolbar, onPickContact, initialPrompt, onPromptChange, initialAttachments, onAttachmentsChange, }: MailComposerProps): import("react/jsx-runtime").JSX.Element;
|
|
110
|
+
export declare function MailComposer({ to: initialTo, cc: initialCc, bcc: initialBcc, subject: initialSubject, body: initialBody, replyTo, onSend, onCancel, onBodyChange, externalUpdate, insertText, insertTextTrigger, theme: themeProp, disabled, showCcBcc, placeholder, className, hideToField, hideSubjectField, minHeight, hideCancelButton, onAiRestructure, onAiProofread, onAiRewrite, onAiGenerate, renderAboveToolbar, onPickContact, initialPrompt, onPromptChange, initialAttachments, onAttachmentsChange, }: MailComposerProps): import("react/jsx-runtime").JSX.Element;
|