@factorialco/f0-react 6.27.2 → 6.28.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
@@ -6837,7 +6837,7 @@ export declare const F0AiChatProvider: ({ enabled, side, panelContentSide, initi
6837
6837
  * coupling to `useAiChat()` or CopilotKit — wrappers like F0AiChat
6838
6838
  * provide the wiring.
6839
6839
  */
6840
- 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, welcomeScreenSuggestionsPlacement, welcomeScreenCards, ref, }: F0AiChatTextAreaProps) => JSX_2.Element;
6840
+ 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, welcomeScreenSuggestionsPlacement, welcomeScreenCards, padding, ref, }: F0AiChatTextAreaProps) => JSX_2.Element;
6841
6841
 
6842
6842
  export declare type F0AiChatTextAreaProps = {
6843
6843
  ref: RefObject<HTMLDivElement>;
@@ -6966,6 +6966,25 @@ export declare type F0AiChatTextAreaProps = {
6966
6966
  * dropped.
6967
6967
  */
6968
6968
  welcomeScreenCards?: F0AiChatWelcomeCard[];
6969
+ /**
6970
+ * The composer's own inset against whatever contains it.
6971
+ *
6972
+ * - `"default"` — the gutter the chat layouts expect (16px sides, 8px top,
6973
+ * 12px bottom). It is what keeps the field off the chat window's edges and
6974
+ * leaves room for the focus glow, which bleeds a few pixels outside the
6975
+ * field's border box.
6976
+ *
6977
+ * - `"none"` — no inset, for hosts that place the composer inside a container
6978
+ * that already owns the spacing (a landing/home hero, a card). The host then
6979
+ * owns BOTH sides of that bargain: give the composer some room of your own,
6980
+ * and don't clip overflow around it, or the focus glow gets cut at the edge.
6981
+ *
6982
+ * Only the outer inset changes; the gap between the composer and the blocks
6983
+ * below it (suggestions, cards, footer, disclaimer) is unaffected.
6984
+ *
6985
+ * @default "default"
6986
+ */
6987
+ padding?: "default" | "none";
6969
6988
  /**
6970
6989
  * When true on the welcome screen, the composer adopts the fullscreen
6971
6990
  * layout: the input slot grows to claim the bottom half (so the textarea