@factorialco/f0-react 4.75.1 → 4.76.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-BBVFRBSW.js → F0AiProcessingOverlay-YSzHusB4.js} +2097 -2063
- package/dist/ai.d.ts +12 -0
- package/dist/ai.js +1 -1
- package/dist/component-status.js +1 -1
- package/dist/f0.d.ts +12 -0
- package/dist/f0.js +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/f0.d.ts
CHANGED
|
@@ -2992,6 +2992,13 @@ export declare type ChatThread = {
|
|
|
2992
2992
|
title: string;
|
|
2993
2993
|
createdAt: string;
|
|
2994
2994
|
updatedAt: string;
|
|
2995
|
+
/** Rendered before the title (e.g. a chart icon for Analytics chats). */
|
|
2996
|
+
icon?: IconType;
|
|
2997
|
+
/**
|
|
2998
|
+
* Secondary label at the row's end, revealed on hover/focus like the date
|
|
2999
|
+
* (e.g. "Analytics" for mode-bound chats).
|
|
3000
|
+
*/
|
|
3001
|
+
trailingLabel?: string;
|
|
2995
3002
|
};
|
|
2996
3003
|
|
|
2997
3004
|
/**
|
|
@@ -6875,6 +6882,11 @@ export declare type F0AiMessagesContainerProps = {
|
|
|
6875
6882
|
/** Welcome phrase shown centered when the chat is empty. Falls back to
|
|
6876
6883
|
* `translations.ai.defaultInitialMessage` if omitted. */
|
|
6877
6884
|
initialMessage?: string | string[];
|
|
6885
|
+
/** Static line above the welcome phrase, same size but secondary color
|
|
6886
|
+
* (e.g. "Analytics mode:"). */
|
|
6887
|
+
initialMessageCaption?: string;
|
|
6888
|
+
/** Smaller secondary line below the welcome phrase. */
|
|
6889
|
+
initialMessageSubtitle?: string;
|
|
6878
6890
|
/** Called when the user clicks the welcome phrase (used by F0AiChat to open
|
|
6879
6891
|
* the pong easter egg). When omitted the phrase is non-interactive. */
|
|
6880
6892
|
onWelcomeClick?: () => void;
|
package/dist/f0.js
CHANGED
|
@@ -3,8 +3,8 @@ import { hR as zfe, C as Vfe, D as Ffe, ax as Gfe, c as Hfe, F as Wfe, a as Ufe,
|
|
|
3
3
|
import { jsx as w, jsxs as B, Fragment as rt } from "react/jsx-runtime";
|
|
4
4
|
import * as yt from "react";
|
|
5
5
|
import VF, { forwardRef as Sr, useRef as ce, useImperativeHandle as FF, Children as yd, createContext as ka, useContext as Qo, useState as ue, useMemo as ye, useEffect as Ae, useCallback as ve, useLayoutEffect as Hy, isValidElement as TN, Fragment as zl, useSyncExternalStore as pl, useId as rc, memo as GF } from "react";
|
|
6
|
-
import { D as HF, E as WF, G as UF, H as _d, I as Ab, J as DN, K as AN, L as Zn, M as $F, N as YF, O as XF, P as qF, Q as ZF, F as jF } from "./F0AiProcessingOverlay-
|
|
7
|
-
import { A as vde, C as pde, t as gde, s as mde, v as yde, y as _de, l as bde, i as xde, q as wde, z as Sde, B as Cde, p as Tde, r as Dde, j as Ade, e as Mde, g as Ede, k as Lde, T as Nde, w as Ide, h as kde, a as Pde, n as Rde, m as Ode, o as Bde, b as zde, f as Vde, x as Fde, c as Gde, d as Hde, u as Wde } from "./F0AiProcessingOverlay-
|
|
6
|
+
import { D as HF, E as WF, G as UF, H as _d, I as Ab, J as DN, K as AN, L as Zn, M as $F, N as YF, O as XF, P as qF, Q as ZF, F as jF } from "./F0AiProcessingOverlay-YSzHusB4.js";
|
|
7
|
+
import { A as vde, C as pde, t as gde, s as mde, v as yde, y as _de, l as bde, i as xde, q as wde, z as Sde, B as Cde, p as Tde, r as Dde, j as Ade, e as Mde, g as Ede, k as Lde, T as Nde, w as Ide, h as kde, a as Pde, n as Rde, m as Ode, o as Bde, b as zde, f as Vde, x as Fde, c as Gde, d as Hde, u as Wde } from "./F0AiProcessingOverlay-YSzHusB4.js";
|
|
8
8
|
import { d as te, u as rf, h as KF, i as Ys, P as nf, g as Vl, j as QF, f as Pa } from "./tooltip-Cik7KBQT.js";
|
|
9
9
|
import { createPortal as qv } from "react-dom";
|
|
10
10
|
import { C as JF, ap as e5, aq as t5, ar as r5, as as Tw, at as n5, au as i5, av as a5, aw as o5, ax as s5, ay as l5, az as u5, j as c5, F as MN, aA as f5, aB as h5, aC as d5, aD as v5, aE as p5, aF as EN, aG as g5, aH as Zv, aI as Va, aJ as m5, aK as Mb, aL as Eb, K as y5, aM as _5, aN as hs, aO as LN, aP as b5, aQ as x5, aR as w5, aS as S5, aT as C5, aU as T5, a0 as D5, ag as A5, aV as M5, X as E5, E as L5, a as N5, e as jv, R as Lb, u as Nb, _ as NN, O as Ib, aW as IN, aX as Dw, aY as kb, s as I5, f as kN, a4 as PN, aZ as k5, a_ as P5, a$ as R5, b0 as O5, M as B5 } from "./index-D2DZqULg.js";
|