@factorialco/f0-react 4.46.4 → 4.47.0

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/f0.d.ts CHANGED
@@ -6356,7 +6356,7 @@ export declare const F0AiChatProvider: ({ enabled, side, panelContentSide, initi
6356
6356
  * coupling to `useAiChat()` or CopilotKit — wrappers like F0AiChat
6357
6357
  * provide the wiring.
6358
6358
  */
6359
- export declare const F0AiChatTextArea: ({ onSubmit, onStop, inProgress, onBeforeSubmit, placeholders, creditWarning, clarifyingUI, pendingContext, onPendingContextChange, pendingQuote, onPendingQuoteChange, fileAttachments, onTranscribe, searchPersons, onProcessFilesRef, disclaimer, footer, isWelcomeScreen, fullscreen, welcomeScreenSuggestions, onSuggestionClick, welcomeScreenCards, ref, }: F0AiChatTextAreaProps) => JSX_2.Element;
6359
+ export declare const F0AiChatTextArea: ({ onSubmit, onStop, inProgress, onBeforeSubmit, placeholders, creditWarning, clarifyingUI, pendingContext, onPendingContextChange, pendingQuote, onPendingQuoteChange, fileAttachments, toolbarStart, onTranscribe, searchPersons, onProcessFilesRef, disclaimer, footer, isWelcomeScreen, fullscreen, welcomeScreenSuggestions, onSuggestionClick, welcomeScreenCards, ref, }: F0AiChatTextAreaProps) => JSX_2.Element;
6360
6360
 
6361
6361
  export declare type F0AiChatTextAreaProps = {
6362
6362
  ref: RefObject<HTMLDivElement>;
@@ -6394,6 +6394,13 @@ export declare type F0AiChatTextAreaProps = {
6394
6394
  onPendingQuoteChange?: (quote: PendingQuote | null) => void;
6395
6395
  /** File attachment configuration. When omitted, attachments are disabled. */
6396
6396
  fileAttachments?: AiChatFileAttachmentConfig;
6397
+ /**
6398
+ * Host-owned compact controls rendered after the attachment action in the
6399
+ * normal action row. Controls render inside the chat form, so buttons must
6400
+ * use `type="button"` unless they intentionally submit it. Hidden while the
6401
+ * composer is clarifying or recording.
6402
+ */
6403
+ toolbarStart?: ReactNode;
6397
6404
  /**
6398
6405
  * Voice dictation. When provided, a microphone button is shown: recorded
6399
6406
  * audio is transcribed and the transcript fills the textarea (the user