@factorialco/f0-react 4.46.3 → 4.46.5

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.
@@ -2,8 +2,8 @@ import { B as Sl, E as kl, G as Tl, H as Rl, J as Vo, K as Tn, L as ln, M as El,
2
2
  import { cU as S0, cT as k0, d4 as T0, cQ as R0, cR as E0, cL as L0, cM as z0, cM as F0, cN as A0, d7 as P0, cS as M0, d0 as O0, d1 as D0, d5 as B0, cO as _0, cW as $0, cV as H0, T as W0, h as j0, d2 as V0, d8 as U0, d3 as G0, d6 as K0, c$ as q0, cY as Y0, c_ as X0, cX as Q0, cP as J0, cZ as Z0 } from "./F0CanvasPanel-CUlu2cJa.js";
3
3
  import { jsx as n, jsxs as m, Fragment as De } from "react/jsx-runtime";
4
4
  import Q, { forwardRef as Fe, useRef as _, useTransition as Md, useState as H, useLayoutEffect as ar, useId as Ur, useContext as Nt, createContext as st, useEffect as te, useCallback as K, useMemo as he, Fragment as Rt, isValidElement as Od, cloneElement as Pa, Suspense as bo, lazy as tn, createElement as Mn, memo as Ma, Children as Oa } from "react";
5
- import { C as Dd, P as Bd, a as Nn, M as _d, p as $d, b as Hd, R as Yo, c as Da, u as Wd, e as jd, f as Vd, g as Ud, h as Gd, i as Kd, O as Ba, j as _a, S as qd, A as Yd, B as Xd, L as Qd, k as Jd, V as Zd, l as eu, m as tu, n as nu } from "./index-hatvkCkf.js";
6
- import { t as tx, v as nx, r as rx, J as ox, w as ix, E as ax, ab as sx, I as lx, s as cx, a1 as dx, ad as ux, ac as fx, U as hx, ag as mx, F as px, _ as gx, X as bx, N as vx, ai as xx, Q as yx, $ as wx, a0 as Nx, x as Cx, ae as Ix, af as Sx, T as kx, a2 as Tx, a8 as Rx, aa as Ex, y as Lx, D as zx, G as Fx, Y as Ax, ah as Px, Z as Mx, W as Ox, aj as Dx, z as Bx, H as _x, o as $x, q as Hx, a4 as Wx, a5 as jx, a9 as Vx, K as Ux, a6 as Gx, a3 as Kx, a7 as qx } from "./index-hatvkCkf.js";
5
+ import { C as Dd, P as Bd, a as Nn, M as _d, p as $d, b as Hd, R as Yo, c as Da, u as Wd, e as jd, f as Vd, g as Ud, h as Gd, i as Kd, O as Ba, j as _a, S as qd, A as Yd, B as Xd, L as Qd, k as Jd, V as Zd, l as eu, m as tu, n as nu } from "./index-GYtcPbOz.js";
6
+ import { t as tx, v as nx, r as rx, J as ox, w as ix, E as ax, ab as sx, I as lx, s as cx, a1 as dx, ad as ux, ac as fx, U as hx, ag as mx, F as px, _ as gx, X as bx, N as vx, ai as xx, Q as yx, $ as wx, a0 as Nx, x as Cx, ae as Ix, af as Sx, T as kx, a2 as Tx, a8 as Rx, aa as Ex, y as Lx, D as zx, G as Fx, Y as Ax, ah as Px, Z as Mx, W as Ox, aj as Dx, z as Bx, H as _x, o as $x, q as Hx, a4 as Wx, a5 as jx, a9 as Vx, K as Ux, a6 as Gx, a3 as Kx, a7 as qx } from "./index-GYtcPbOz.js";
7
7
  import ru from "react-dom";
8
8
  const ou = Sl("Search", [
9
9
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
@@ -8412,7 +8412,7 @@ const Hh = {
8412
8412
  ] })
8413
8413
  ] }) });
8414
8414
  }, Jh = tn(
8415
- () => import("./index-Cz9pjj7N.js").then((e) => e.i).then((e) => ({
8415
+ () => import("./index-CDaRGzb8.js").then((e) => e.i).then((e) => ({
8416
8416
  default: e.F0PdfViewer
8417
8417
  }))
8418
8418
  ), Zh = () => {
@@ -12628,7 +12628,7 @@ const Wp = (e) => {
12628
12628
  }
12629
12629
  )
12630
12630
  ] });
12631
- }, Jp = tn(() => import("./ChatPdfThumbnail-CgC1Vqok.js")), Zp = tn(() => import("./ChatSheetThumbnail-BvnxT-4A.js")), eg = tn(() => import("./ChatDocxThumbnail-Dv_RJfHi.js")), tg = tn(() => import("./ChatTextThumbnail-yVt_iYi7.js")), Ar = 288, ng = 160, rg = (e) => {
12631
+ }, Jp = tn(() => import("./ChatPdfThumbnail-Do7W0hDk.js")), Zp = tn(() => import("./ChatSheetThumbnail-BvnxT-4A.js")), eg = tn(() => import("./ChatDocxThumbnail-Dv_RJfHi.js")), tg = tn(() => import("./ChatTextThumbnail-yVt_iYi7.js")), Ar = 288, ng = 160, rg = (e) => {
12632
12632
  const [t, r] = H(!1);
12633
12633
  return te(() => {
12634
12634
  const o = e.current;
package/dist/f0.d.ts CHANGED
@@ -12748,6 +12748,14 @@ declare type GraphVisualizationOptions<R extends RecordType, Filters extends Fil
12748
12748
  maxZoom?: number;
12749
12749
  /** Whether to render the zoom/fit controls. Defaults to `true`. */
12750
12750
  showControls?: boolean;
12751
+ /**
12752
+ * Optional action(s) rendered at the bottom-right of the graph canvas
12753
+ * (pass-through to F0Graph's `canvasFooterActions`). Anchored to the canvas,
12754
+ * so it tracks the graph's visible area and reflows when a side panel shrinks
12755
+ * it — clear of the controls (bottom-left). Use for a persistent affordance
12756
+ * like a "Give feedback" button.
12757
+ */
12758
+ canvasFooterActions?: ReactNode;
12751
12759
  /**
12752
12760
  * Opt into F0Graph node-array windowing (pass-through). Only the nodes near
12753
12761
  * the viewport are handed to React Flow — for very large trees (thousands of