@factorialco/f0-react 1.349.0 → 1.350.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.
@@ -1,7 +1,7 @@
1
1
  import { jsx as S, jsxs as K, Fragment as ft } from "react/jsx-runtime";
2
2
  import * as fe from "react";
3
3
  import C, { useRef as Me, useState as he, useCallback as tt, useEffect as Le, useContext as dt, useMemo as He, useLayoutEffect as oO, createContext as Ft, isValidElement as Nt, Children as Kr, PureComponent as jt, forwardRef as ze, useImperativeHandle as ST, cloneElement as Ue, createElement as sO, Component as uO, useId as _T } from "react";
4
- import { eY as iy, by as AT, eZ as PT, ac as _r, c2 as cO, a6 as Q, bW as lO, e_ as TT, e$ as ET, a7 as _s, am as ki, f0 as eo, bB as Ae, ak as CT, f1 as jT, f2 as MT, dt as fO, f3 as $T, f4 as IT, bX as dh, f5 as kT, ah as ut, aL as As, cy as dO, cz as ph, b$ as pO, f6 as bn, f7 as DT, f8 as NT, f9 as RT, fa as oy, fb as sy, fc as uy, fd as cy, fe as ly, ff as hO, fg as bo, fh as LT, fi as qT, cY as Va, fj as BT, aG as vO, aH as yO, aI as mO, ax as hh, aX as nn, ay as gO, az as bO, c3 as vh, ao as de, ct as FT, bH as yh, bI as mh, bJ as gh, bM as bh, da as zT, dh as xh, ex as WT, cW as xO, c6 as UT, d_ as HT, d5 as Di, u as Pr, dw as KT, bO as VT, a8 as Gt, aD as wO, aZ as GT, a_ as OO, aB as YT, eO as Ps, fk as XT, ad as an, fl as ZT, d4 as JT, fm as QT, eK as SO, dV as eE, ab as Ht, aK as wh, al as _O, b4 as tE, av as AO, bZ as rE, ag as _t, af as PO, fn as TO, aJ as nE, aP as EO, aA as aE, dO as Xe, fo as CO, fp as jO, fq as Id, fr as iE, fs as fy, dR as oE, dS as dy, at as sE, au as uE, aw as cE, eW as lE, b9 as fE, e8 as dE, eM as pE, ft as hE, c5 as vE, aj as Da, ai as yE, d1 as mE, bp as gE, dK as bE, dL as xE, eP as wE, aM as OE, aN as SE, aO as _E, aQ as AE } from "./F0AiChat-BvUVqI0d.js";
4
+ import { eY as iy, by as AT, eZ as PT, ac as _r, c2 as cO, a6 as Q, bW as lO, e_ as TT, e$ as ET, a7 as _s, am as ki, f0 as eo, bB as Ae, ak as CT, f1 as jT, f2 as MT, dt as fO, f3 as $T, f4 as IT, bX as dh, f5 as kT, ah as ut, aL as As, cy as dO, cz as ph, b$ as pO, f6 as bn, f7 as DT, f8 as NT, f9 as RT, fa as oy, fb as sy, fc as uy, fd as cy, fe as ly, ff as hO, fg as bo, fh as LT, fi as qT, cY as Va, fj as BT, aG as vO, aH as yO, aI as mO, ax as hh, aX as nn, ay as gO, az as bO, c3 as vh, ao as de, ct as FT, bH as yh, bI as mh, bJ as gh, bM as bh, da as zT, dh as xh, ex as WT, cW as xO, c6 as UT, d_ as HT, d5 as Di, u as Pr, dw as KT, bO as VT, a8 as Gt, aD as wO, aZ as GT, a_ as OO, aB as YT, eO as Ps, fk as XT, ad as an, fl as ZT, d4 as JT, fm as QT, eK as SO, dV as eE, ab as Ht, aK as wh, al as _O, b4 as tE, av as AO, bZ as rE, ag as _t, af as PO, fn as TO, aJ as nE, aP as EO, aA as aE, dO as Xe, fo as CO, fp as jO, fq as Id, fr as iE, fs as fy, dR as oE, dS as dy, at as sE, au as uE, aw as cE, eW as lE, b9 as fE, e8 as dE, eM as pE, ft as hE, c5 as vE, aj as Da, ai as yE, d1 as mE, bp as gE, dK as bE, dL as xE, eP as wE, aM as OE, aN as SE, aO as _E, aQ as AE } from "./F0AiChat-BZNm1pqj.js";
5
5
  const PE = {
6
6
  active: !0,
7
7
  breakpoints: {},
@@ -96638,7 +96638,7 @@ const uh1 = 8, RT = H(({ items: e = void 0, className: t, children: n, position:
96638
96638
  ref: w,
96639
96639
  asChild: p,
96640
96640
  disableScrollLock: G,
96641
- className: L2("relative z-50 text-f1-foreground", G ? "flex w-full h-full flex-col" : "min-w-[8rem] overflow-hidden", !G && "rounded-md border border-solid border-f1-border-secondary bg-f1-background shadow-md data-[state=closed]:fade-out-0 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 motion-safe:data-[state=open]:animate-in motion-safe:data-[state=closed]:animate-out motion-safe:data-[state=open]:fade-in-0 motion-safe:data-[state=closed]:zoom-out-95 motion-safe:data-[state=open]:zoom-in-95 motion-safe:data-[side=bottom]:slide-in-from-top-2", !G && r === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", !G && r === "popper" && "min-w-[var(--radix-select-trigger-width)] max-w-[min(calc(var(--radix-select-trigger-width)*2.5),412px)]", !G && k && !V && "opacity-0", t),
96641
+ className: L2("relative z-50 text-f1-foreground", G ? "flex w-full h-full flex-col" : "flex min-w-[8rem] flex-col overflow-hidden", !G && "rounded-md border border-solid border-f1-border-secondary bg-f1-background shadow-md data-[state=closed]:fade-out-0 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 motion-safe:data-[state=open]:animate-in motion-safe:data-[state=closed]:animate-out motion-safe:data-[state=open]:fade-in-0 motion-safe:data-[state=closed]:zoom-out-95 motion-safe:data-[state=open]:zoom-in-95 motion-safe:data-[side=bottom]:slide-in-from-top-2", !G && r === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", !G && r === "popper" && "min-w-[var(--radix-select-trigger-width)] max-w-[min(calc(var(--radix-select-trigger-width)*2.5),412px)]", !G && (a ? "max-h-[min(412px,calc(var(--radix-select-content-available-height,412px)))]" : "max-h-[min(320px,calc(var(--radix-select-content-available-height,320px)))]"), !G && C && "min-h-[min(412px,calc(var(--radix-select-content-available-height,412px)-110px))]", !G && k && !V && "opacity-0", t),
96642
96642
  position: G ? "item-aligned" : r,
96643
96643
  collisionPadding: 16,
96644
96644
  ...g,
@@ -96657,7 +96657,7 @@ const uh1 = 8, RT = H(({ items: e = void 0, className: t, children: n, position:
96657
96657
  className: "flex-shrink-0",
96658
96658
  children: g.top
96659
96659
  }), M("div", {
96660
- className: L2("relative", G && "flex flex-col overflow-hidden flex-1 min-h-0"),
96660
+ className: L2("relative flex flex-1 min-h-0 flex-col overflow-hidden", G && "flex flex-col overflow-hidden flex-1 min-h-0"),
96661
96661
  children: [!G && g.top, m && i2 && o("div", {
96662
96662
  className: "absolute inset-0 flex cursor-progress items-center justify-center",
96663
96663
  "aria-live": "polite",
@@ -96665,7 +96665,7 @@ const uh1 = 8, RT = H(({ items: e = void 0, className: t, children: n, position:
96665
96665
  children: o(W8, {})
96666
96666
  }), o(wn, {
96667
96667
  viewportRef: y,
96668
- className: L2("flex flex-col", G ? "h-full" : a ? "max-h-[min(412px,calc(var(--radix-select-content-available-height,412px)-110px))]" : "max-h-[min(320px,calc(var(--radix-select-content-available-height,320px)))]", !G && C && "min-h-[min(412px,calc(var(--radix-select-content-available-height,412px)-110px))]", x && "justify-center", i2 && "select-none opacity-10 transition-opacity"),
96668
+ className: L2("flex h-full flex-col", x && "justify-center", i2 && "select-none opacity-10 transition-opacity"),
96669
96669
  onScrollBottom: s,
96670
96670
  onScrollTop: l,
96671
96671
  scrollMargin: d,
@@ -1,6 +1,6 @@
1
1
  import { jsx as X, jsxs as le } from "react/jsx-runtime";
2
2
  import { useInsertionEffect as Xe, createContext as ke, useContext as $e, useRef as _, useEffect as ne, useState as _e, useCallback as ze, useMemo as Ye } from "react";
3
- import { y as qe, z as We, D as He, G as je, J as Ne, K as Ke, M as Qe, N as Je, Q as Ze, R as et, V as Ce, W as tt, X as rt, Y as nt, Z as it, _ as ot, $ as at, a0 as st, a1 as ie, a2 as ct, a3 as ut, a4 as lt, a5 as ft, a6 as mt, a7 as dt, a8 as fe, a9 as ht } from "./F0AiChat-BvUVqI0d.js";
3
+ import { y as qe, z as We, D as He, G as je, J as Ne, K as Ke, M as Qe, N as Je, Q as Ze, R as et, V as Ce, W as tt, X as rt, Y as nt, Z as it, _ as ot, $ as at, a0 as st, a1 as ie, a2 as ct, a3 as ut, a4 as lt, a5 as ft, a6 as mt, a7 as dt, a8 as fe, a9 as ht } from "./F0AiChat-BZNm1pqj.js";
4
4
  import { useTrackVolume as pt } from "@livekit/components-react";
5
5
  function vt(t, e, r) {
6
6
  Xe(() => t.on(e, r), [t, e, r]);
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { A as e, B as o, C as t, E as n, h as i, F as r, a as l, x as c, i as A, b as u, s as F, t as h, v as C, w as T, c as d, n as m, o as I, p as f, H as g, I as S, k as p, L as x, O as H, q as P, P as b, S as k, T as O, l as v, m as w, U as M, r as E, j as L, d as q, e as B, u as U, g as j, f as z } from "./F0AiChat-BvUVqI0d.js";
1
+ import { A as e, B as o, C as t, E as n, h as i, F as r, a as l, x as c, i as A, b as u, s as F, t as h, v as C, w as T, c as d, n as m, o as I, p as f, H as g, I as S, k as p, L as x, O as H, q as P, P as b, S as k, T as O, l as v, m as w, U as M, r as E, j as L, d as q, e as B, u as U, g as j, f as z } from "./F0AiChat-BZNm1pqj.js";
2
2
  import { defaultTranslations as R } from "./i18n-provider-defaults.js";
3
- import { A as y, F as G, c as J, b as K, a as N, o as Q, u as W } from "./F0HILActionConfirmation-BvB7LpeC.js";
3
+ import { A as y, F as G, c as J, b as K, a as N, o as Q, u as W } from "./F0HILActionConfirmation-BKiOYrwC.js";
4
4
  export {
5
5
  e as A,
6
6
  y as AiChatTranslationsProvider,
@@ -5254,6 +5254,7 @@ export declare interface RichTextEditorProps {
5254
5254
  height?: heightType;
5255
5255
  plainHtmlMode?: boolean;
5256
5256
  fullScreenMode?: boolean;
5257
+ onFullscreenChange?: (fullscreen: boolean) => void;
5257
5258
  }
5258
5259
 
5259
5260
  declare interface RichTextEditorSkeletonProps {