@factorialco/f0-react 2.41.3 → 2.41.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/ai.d.ts +6 -8
- package/dist/ai.js +1 -1
- package/dist/f0.d.ts +6 -8
- package/dist/f0.js +2 -2
- package/dist/{useChatHistory-nSWZKUHs.js → useChatHistory-DdaYq0tI.js} +1912 -1885
- package/package.json +1 -1
package/dist/ai.d.ts
CHANGED
|
@@ -3013,16 +3013,14 @@ export declare type F0CanvasPanelProps = {
|
|
|
3013
3013
|
};
|
|
3014
3014
|
|
|
3015
3015
|
/**
|
|
3016
|
-
*
|
|
3016
|
+
* Clarifying question panel — content only, no mount animation.
|
|
3017
3017
|
*
|
|
3018
|
-
*
|
|
3019
|
-
*
|
|
3020
|
-
*
|
|
3021
|
-
* dismissal. No manual ResizeObserver.
|
|
3018
|
+
* The parent slot (F0AiChatTextArea) owns the enter/exit animation so
|
|
3019
|
+
* nested height animations don't conflict. Step-to-step transitions are
|
|
3020
|
+
* still animated internally via F0ClarifyingPanelContent.
|
|
3022
3021
|
*
|
|
3023
|
-
*
|
|
3024
|
-
*
|
|
3025
|
-
* — embedders can construct a state object themselves.
|
|
3022
|
+
* When used standalone (e.g. Storybook), wrap in a motion.div with
|
|
3023
|
+
* `overflow-hidden` and `height: 0 → "auto"`.
|
|
3026
3024
|
*/
|
|
3027
3025
|
export declare const F0ClarifyingPanel: ({ clarifyingQuestion, isSubmitDisabled, }: F0ClarifyingPanelProps) => JSX_2.Element;
|
|
3028
3026
|
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { D as e, F as r, a as t, e as o, f as i, c as n, d as F, I as C, P as A, b as l, u as d } from "./F0CanvasPanel-Czxg0RlQ.js";
|
|
2
2
|
import { defaultTranslations as m } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as c, C as I, h as P, t as v, v as f, x as p, n as T, j as g, r as y, y as S, q as x, s as H, k as V, e as b, g as k, l as w, F as M, i as O, a as D, p as j, m as q, o as z, b as B, f as E, w as L, c as R, d as G, u as J } from "./useChatHistory-
|
|
3
|
+
import { A as c, C as I, h as P, t as v, v as f, x as p, n as T, j as g, r as y, y as S, q as x, s as H, k as V, e as b, g as k, l as w, F as M, i as O, a as D, p as j, m as q, o as z, b as B, f as E, w as L, c as R, d as G, u as J } from "./useChatHistory-DdaYq0tI.js";
|
|
4
4
|
export {
|
|
5
5
|
c as AiChatTranslationsProvider,
|
|
6
6
|
I as ChatSpinner,
|
package/dist/f0.d.ts
CHANGED
|
@@ -6883,16 +6883,14 @@ displayName: string;
|
|
|
6883
6883
|
}>;
|
|
6884
6884
|
|
|
6885
6885
|
/**
|
|
6886
|
-
*
|
|
6886
|
+
* Clarifying question panel — content only, no mount animation.
|
|
6887
6887
|
*
|
|
6888
|
-
*
|
|
6889
|
-
*
|
|
6890
|
-
*
|
|
6891
|
-
* dismissal. No manual ResizeObserver.
|
|
6888
|
+
* The parent slot (F0AiChatTextArea) owns the enter/exit animation so
|
|
6889
|
+
* nested height animations don't conflict. Step-to-step transitions are
|
|
6890
|
+
* still animated internally via F0ClarifyingPanelContent.
|
|
6892
6891
|
*
|
|
6893
|
-
*
|
|
6894
|
-
*
|
|
6895
|
-
* — embedders can construct a state object themselves.
|
|
6892
|
+
* When used standalone (e.g. Storybook), wrap in a motion.div with
|
|
6893
|
+
* `overflow-hidden` and `height: 0 → "auto"`.
|
|
6896
6894
|
*/
|
|
6897
6895
|
export declare const F0ClarifyingPanel: ({ clarifyingQuestion, isSubmitDisabled, }: F0ClarifyingPanelProps) => JSX_2.Element;
|
|
6898
6896
|
|
package/dist/f0.js
CHANGED
|
@@ -3,8 +3,8 @@ import { gA as Mme, D as Eme, aM as Lme, F as Nme, a as Ime, e as kme, b1 as Rme
|
|
|
3
3
|
import { jsx as w, jsxs as B, Fragment as kt } from "react/jsx-runtime";
|
|
4
4
|
import * as Yn from "react";
|
|
5
5
|
import He, { forwardRef as Jr, useRef as se, useImperativeHandle as kH, Children as Yv, createContext as en, useContext as _r, useState as ye, useMemo as ae, useEffect as _e, useCallback as te, useLayoutEffect as Zb, createElement as Xd, isValidElement as Ik, Fragment as Ig, memo as kk, useReducer as RH, cloneElement as PH, useId as kg } from "react";
|
|
6
|
-
import { z as OH, B as BH, U as aT, D as oT, E as $m, G as sT, H as VH, I as na, J as Io, K as FH, L as Hw, M as Rr, N as fi, O as zH, P as GH, Q as Rk, Z as Wo, R as HH, S as WH, T as UH, V as Pk, W as Xv, X as Ww, Y as Ok, _ as Bk, $ as pn, a0 as $H, a1 as YH, a2 as Vk, a3 as Rg, a4 as XH, a5 as qH, a6 as Fk, a7 as ZH, a8 as jH, a9 as KH, aa as QH, ab as JH, ac as eW, F as tW } from "./useChatHistory-
|
|
7
|
-
import { A as Iye, C as kye, h as Rye, t as Pye, v as Oye, x as Bye, ah as Vye, n as Fye, j as zye, r as Gye, y as Hye, q as Wye, s as Uye, k as $ye, e as Yye, g as Xye, l as qye, i as Zye, a as jye, p as Kye, ai as Qye, af as Jye, ae as e0e, ag as t0e, m as r0e, o as n0e, ad as i0e, b as a0e, f as o0e, w as s0e, c as l0e, d as u0e, u as c0e } from "./useChatHistory-
|
|
6
|
+
import { z as OH, B as BH, U as aT, D as oT, E as $m, G as sT, H as VH, I as na, J as Io, K as FH, L as Hw, M as Rr, N as fi, O as zH, P as GH, Q as Rk, Z as Wo, R as HH, S as WH, T as UH, V as Pk, W as Xv, X as Ww, Y as Ok, _ as Bk, $ as pn, a0 as $H, a1 as YH, a2 as Vk, a3 as Rg, a4 as XH, a5 as qH, a6 as Fk, a7 as ZH, a8 as jH, a9 as KH, aa as QH, ab as JH, ac as eW, F as tW } from "./useChatHistory-DdaYq0tI.js";
|
|
7
|
+
import { A as Iye, C as kye, h as Rye, t as Pye, v as Oye, x as Bye, ah as Vye, n as Fye, j as zye, r as Gye, y as Hye, q as Wye, s as Uye, k as $ye, e as Yye, g as Xye, l as qye, i as Zye, a as jye, p as Kye, ai as Qye, af as Jye, ae as e0e, ag as t0e, m as r0e, o as n0e, ad as i0e, b as a0e, f as o0e, w as s0e, c as l0e, d as u0e, u as c0e } from "./useChatHistory-DdaYq0tI.js";
|
|
8
8
|
import { createPortal as zk, unstable_batchedUpdates as qd, flushSync as rW } from "react-dom";
|
|
9
9
|
import { C as nW, o as iW, G as jb, H as Gk, ag as Hk, Q as Wk, ae as aW, U as oW, X as Uk, Y as Uw, ah as $w, a9 as sW, ai as lW, aj as uW, d as Pg, ak as cW, R as Yw, u as Xw, W as $k, O as qw, al as Yk, am as Zw, p as fW, a4 as Xk, $ as qk, an as dW, ao as hW, ap as vW, aq as pW, ar as gW, M as mW, as as Kb } from "./useDataCollectionSource-D66orUfb.js";
|
|
10
10
|
import { r as d0e, s as h0e, t as v0e, z as p0e, az as g0e, ay as m0e, au as y0e, F as b0e, J as x0e, af as _0e, K as w0e, v as S0e, aA as C0e, ab as T0e, ac as D0e, aa as A0e, ad as M0e, N as E0e, w as L0e, P as N0e, y as I0e, D as k0e, T as R0e, x as P0e, E as O0e, aC as B0e, m as V0e, n as F0e, at as z0e, aB as G0e, a7 as H0e, I as W0e, aD as U0e, aE as $0e, av as Y0e, aw as X0e, ax as q0e, e as Z0e, aF as j0e } from "./useDataCollectionSource-D66orUfb.js";
|