@qwanyx/stack 0.2.27 → 0.2.29

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.
@@ -21,6 +21,10 @@ export interface MailComposerProps {
21
21
  onSend: (data: MailComposerData) => Promise<void>;
22
22
  /** Called when cancelled */
23
23
  onCancel?: () => void;
24
+ /** Called when body content changes */
25
+ onBodyChange?: (html: string) => void;
26
+ /** Force external update (e.g., AI-generated content) - set to timestamp/id to trigger */
27
+ externalUpdate?: string | number;
24
28
  /** Theme customization */
25
29
  theme?: MailComposerTheme;
26
30
  /** Disable all inputs */
@@ -64,4 +68,4 @@ export interface MailComposerTheme extends MailEditorTheme {
64
68
  attachmentBackground?: string;
65
69
  attachmentBorder?: string;
66
70
  }
67
- export declare function MailComposer({ to: initialTo, subject: initialSubject, body: initialBody, replyTo, onSend, onCancel, theme: themeProp, disabled, showCcBcc, placeholder, className, minHeight, sendButtonText, hideCancelButton, }: MailComposerProps): import("react/jsx-runtime").JSX.Element;
71
+ export declare function MailComposer({ to: initialTo, subject: initialSubject, body: initialBody, replyTo, onSend, onCancel, onBodyChange, externalUpdate, theme: themeProp, disabled, showCcBcc, placeholder, className, minHeight, sendButtonText, hideCancelButton, }: MailComposerProps): import("react/jsx-runtime").JSX.Element;