@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/{F0AiProcessingOverlay-b0CeTu4a.js → F0AiProcessingOverlay-Im7Wjj60.js} +1728 -1724
- package/dist/ai.d.ts +20 -1
- package/dist/ai.js +1 -1
- package/dist/component-status.js +1 -1
- package/dist/f0.d.ts +20 -1
- package/dist/f0.js +9354 -9354
- package/package.json +1 -1
package/dist/ai.d.ts
CHANGED
|
@@ -3432,7 +3432,7 @@ export declare const F0AiChatProvider: ({ enabled, side, panelContentSide, initi
|
|
|
3432
3432
|
* coupling to `useAiChat()` or CopilotKit — wrappers like F0AiChat
|
|
3433
3433
|
* provide the wiring.
|
|
3434
3434
|
*/
|
|
3435
|
-
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;
|
|
3435
|
+
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;
|
|
3436
3436
|
|
|
3437
3437
|
export declare type F0AiChatTextAreaProps = {
|
|
3438
3438
|
ref: RefObject<HTMLDivElement>;
|
|
@@ -3561,6 +3561,25 @@ export declare type F0AiChatTextAreaProps = {
|
|
|
3561
3561
|
* dropped.
|
|
3562
3562
|
*/
|
|
3563
3563
|
welcomeScreenCards?: F0AiChatWelcomeCard[];
|
|
3564
|
+
/**
|
|
3565
|
+
* The composer's own inset against whatever contains it.
|
|
3566
|
+
*
|
|
3567
|
+
* - `"default"` — the gutter the chat layouts expect (16px sides, 8px top,
|
|
3568
|
+
* 12px bottom). It is what keeps the field off the chat window's edges and
|
|
3569
|
+
* leaves room for the focus glow, which bleeds a few pixels outside the
|
|
3570
|
+
* field's border box.
|
|
3571
|
+
*
|
|
3572
|
+
* - `"none"` — no inset, for hosts that place the composer inside a container
|
|
3573
|
+
* that already owns the spacing (a landing/home hero, a card). The host then
|
|
3574
|
+
* owns BOTH sides of that bargain: give the composer some room of your own,
|
|
3575
|
+
* and don't clip overflow around it, or the focus glow gets cut at the edge.
|
|
3576
|
+
*
|
|
3577
|
+
* Only the outer inset changes; the gap between the composer and the blocks
|
|
3578
|
+
* below it (suggestions, cards, footer, disclaimer) is unaffected.
|
|
3579
|
+
*
|
|
3580
|
+
* @default "default"
|
|
3581
|
+
*/
|
|
3582
|
+
padding?: "default" | "none";
|
|
3564
3583
|
/**
|
|
3565
3584
|
* When true on the welcome screen, the composer adopts the fullscreen
|
|
3566
3585
|
* layout: the input slot grows to claim the bottom half (so the textarea
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as e, D as r, c as t, F as i, a as o, f as n, g as F, d as C, e as l, I as A, P as d, b as u, u as h } from "./F0CanvasPanel-Dq1kU51T.js";
|
|
2
2
|
import { defaultTranslations as c } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as P, C as T, t as p, s as v, v as g, y as f, l as y, i as S, q as x, z as b, B as k, p as H, r as O, j as V, e as w, g as B, k as M, F as z, T as D, w as L, h as j, a as q, n as E, m as G, o as R, b as J, f as K, x as N, c as Q, d as U, u as W } from "./F0AiProcessingOverlay-
|
|
3
|
+
import { A as P, C as T, t as p, s as v, v as g, y as f, l as y, i as S, q as x, z as b, B as k, p as H, r as O, j as V, e as w, g as B, k as M, F as z, T as D, w as L, h as j, a as q, n as E, m as G, o as R, b as J, f as K, x as N, c as Q, d as U, u as W } from "./F0AiProcessingOverlay-Im7Wjj60.js";
|
|
4
4
|
export {
|
|
5
5
|
P as AiChatTranslationsProvider,
|
|
6
6
|
e as ChatSpinner,
|