react-mail-inbox 1.8.3 → 1.8.4

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/index.d.mts CHANGED
@@ -42,6 +42,8 @@ interface GmailInboxProps {
42
42
  customTool?: ReactNode;
43
43
  /** Placeholder text for the editor. */
44
44
  placeholder?: string;
45
+ /** Minimum height of the editor. Defaults to '400px'. */
46
+ minHeight?: string;
45
47
  /** If true, only the editor body is rendered, hiding the to/cc/bcc/subject fields. */
46
48
  showOnlyBody?: boolean;
47
49
  /** If true, the inbox is in reply mode, prefixing the subject with "Re: ". */
@@ -68,7 +70,7 @@ interface GmailInboxProps {
68
70
  /** Callback when AI content is discarded */
69
71
  onAiDiscard?: () => void;
70
72
  }
71
- declare function GmailInbox({ fetchEmailOptions, handleChange, initialData, initialTheme, onThemeChange, leftChildren, rightChildren, customTool, showOnlyBody, isReply, googleDriveConfig, aiContentComponent, aiContent, showAiPreview, onAiInsert, onAiDiscard, placeholder, }: GmailInboxProps): react_jsx_runtime.JSX.Element;
73
+ declare function GmailInbox({ fetchEmailOptions, handleChange, initialData, initialTheme, onThemeChange, leftChildren, rightChildren, customTool, showOnlyBody, isReply, googleDriveConfig, aiContentComponent, aiContent, showAiPreview, onAiInsert, onAiDiscard, placeholder, minHeight, }: GmailInboxProps): react_jsx_runtime.JSX.Element;
72
74
 
73
75
  type AiInsertHandler = (content: string) => void;
74
76
  type AiDiscardHandler = () => void;
package/dist/index.d.ts CHANGED
@@ -42,6 +42,8 @@ interface GmailInboxProps {
42
42
  customTool?: ReactNode;
43
43
  /** Placeholder text for the editor. */
44
44
  placeholder?: string;
45
+ /** Minimum height of the editor. Defaults to '400px'. */
46
+ minHeight?: string;
45
47
  /** If true, only the editor body is rendered, hiding the to/cc/bcc/subject fields. */
46
48
  showOnlyBody?: boolean;
47
49
  /** If true, the inbox is in reply mode, prefixing the subject with "Re: ". */
@@ -68,7 +70,7 @@ interface GmailInboxProps {
68
70
  /** Callback when AI content is discarded */
69
71
  onAiDiscard?: () => void;
70
72
  }
71
- declare function GmailInbox({ fetchEmailOptions, handleChange, initialData, initialTheme, onThemeChange, leftChildren, rightChildren, customTool, showOnlyBody, isReply, googleDriveConfig, aiContentComponent, aiContent, showAiPreview, onAiInsert, onAiDiscard, placeholder, }: GmailInboxProps): react_jsx_runtime.JSX.Element;
73
+ declare function GmailInbox({ fetchEmailOptions, handleChange, initialData, initialTheme, onThemeChange, leftChildren, rightChildren, customTool, showOnlyBody, isReply, googleDriveConfig, aiContentComponent, aiContent, showAiPreview, onAiInsert, onAiDiscard, placeholder, minHeight, }: GmailInboxProps): react_jsx_runtime.JSX.Element;
72
74
 
73
75
  type AiInsertHandler = (content: string) => void;
74
76
  type AiDiscardHandler = () => void;