@factorialco/f0-react 6.23.0 → 6.23.2

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.
@@ -5476,8 +5476,16 @@ declare type F0AvatarListProps = {
5476
5476
  */
5477
5477
  noTooltip?: boolean;
5478
5478
  /**
5479
- * The maximum number of avatars to display.
5480
- * @default 3
5479
+ * The exact number of avatars to keep visible; the rest collapse into the
5480
+ * `+N` counter. Not a soft cap — a provided `max` is forwarded as
5481
+ * `OverflowList`'s `min` as well, so exactly this many avatars render even in
5482
+ * a container too narrow to fit them (see `F0AvatarList.tsx`).
5483
+ *
5484
+ * There is no numeric default. Left unset, the visible count is
5485
+ * container-driven: `OverflowList` measures the available width and shows as
5486
+ * many avatars as fit, collapsing the remainder into the counter. So passing
5487
+ * a number opts into a fixed footprint, and omitting it opts into filling
5488
+ * the row.
5481
5489
  */
5482
5490
  max?: number;
5483
5491
  /**
@@ -5485,10 +5493,17 @@ declare type F0AvatarListProps = {
5485
5493
  */
5486
5494
  remainingCount?: number;
5487
5495
  /**
5488
- * The layout of the avatar list.
5489
- * - "fill" - Avatars will expand to fill the available width, with overflow items shown in a counter
5490
- * - "compact" - Avatars will be stacked tightly together up to the max limit, with remaining shown in counter
5491
- * @default "compact"
5496
+ * @deprecated Never implemented — `F0AvatarList` has always ignored this
5497
+ * prop — and not needed, because `max` already selects between the two
5498
+ * layouts it described. Omit `max` for what this called `"fill"`:
5499
+ * `OverflowList` measures the row and shows as many avatars as fit. Pass a
5500
+ * `max` for `"compact"`: it doubles as `min`, so exactly that many stay
5501
+ * visible. A separate switch could only contradict `max` — `layout="fill"`
5502
+ * with `max={3}` has no coherent meaning — which is why this is going rather
5503
+ * than getting an implementation.
5504
+ * @removeIn 7.0.0
5505
+ * @migration Remove the prop. If you were passing `layout="compact"` to cap
5506
+ * the row, add `max={n}`: `"compact"` never capped anything.
5492
5507
  */
5493
5508
  layout?: "fill" | "compact";
5494
5509
  /**
@@ -13367,8 +13382,10 @@ declare module "@tiptap/core" {
13367
13382
 
13368
13383
  declare module "@tiptap/core" {
13369
13384
  interface Commands<ReturnType> {
13370
- moodTracker: {
13371
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
13385
+ indent: {
13386
+ setIndent: (level: number) => ReturnType;
13387
+ unsetIndent: () => ReturnType;
13388
+ outdent: () => ReturnType;
13372
13389
  };
13373
13390
  }
13374
13391
  }
@@ -13376,10 +13393,8 @@ declare module "@tiptap/core" {
13376
13393
 
13377
13394
  declare module "@tiptap/core" {
13378
13395
  interface Commands<ReturnType> {
13379
- indent: {
13380
- setIndent: (level: number) => ReturnType;
13381
- unsetIndent: () => ReturnType;
13382
- outdent: () => ReturnType;
13396
+ moodTracker: {
13397
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
13383
13398
  };
13384
13399
  }
13385
13400
  }
@@ -13387,10 +13402,8 @@ declare module "@tiptap/core" {
13387
13402
 
13388
13403
  declare module "@tiptap/core" {
13389
13404
  interface Commands<ReturnType> {
13390
- videoEmbed: {
13391
- setVideoEmbed: (options: {
13392
- src: string;
13393
- }) => ReturnType;
13405
+ transcript: {
13406
+ insertTranscript: (data: TranscriptData) => ReturnType;
13394
13407
  };
13395
13408
  }
13396
13409
  }
@@ -13398,8 +13411,10 @@ declare module "@tiptap/core" {
13398
13411
 
13399
13412
  declare module "@tiptap/core" {
13400
13413
  interface Commands<ReturnType> {
13401
- transcript: {
13402
- insertTranscript: (data: TranscriptData) => ReturnType;
13414
+ videoEmbed: {
13415
+ setVideoEmbed: (options: {
13416
+ src: string;
13417
+ }) => ReturnType;
13403
13418
  };
13404
13419
  }
13405
13420
  }
@@ -1,10 +1,10 @@
1
- import { X as Ad, Y as Ga, Z as _d, _ as zd, $ as Md, a0 as Od, a1 as Cs, a2 as Ka, a3 as or, a4 as En, a5 as Fd, a6 as he, a7 as an, u as ce, a8 as Dd, a9 as Bd, aa as Jo, ab as vn, ac as xn, ad as tt, ae as Hd, af as Is, V as Ie, z as $d, A as jd, ag as Ee, ah as ks, K as Wd, B as Vd, m as ze, ai as Un, S as J, aj as Wt, ak as Ud, al as Gd, am as Kd, an as qd, ao as Yd, ap as bt, aq as Qo, ar as Ss, as as Dt, at as Qt, au as Xd, e as Ts, av as rn, aw as Jd, ax as Zo, ay as Gn, w as ct, r as Ke, y as Nr, t as ea, v as ta, az as Es, x as na, aA as Rs, aB as Qd, aC as Ls, aD as Je, s as dt, aE as Or, aF as ao, aG as Kn, aH as qa, aI as Zd, aJ as pt, aK as Ps, aL as So, aM as Cn, aN as ra, aO as eu, aP as tu, aQ as $t, aR as Fr, aS as nu, aT as ru, aU as ou, aV as au, aW as Dr, aX as As, j as Br, aY as iu, aZ as su, k as yn, a_ as _s, a$ as lu, b0 as cu, b1 as du, b2 as uu, b3 as fu, b4 as To, b5 as zs, b6 as Mn, b7 as Ms, b8 as mu, b9 as hu, ba as pu, bb as Os, bc as gu, bd as sn, be as Eo, bf as oa, bg as bu, bh as qn, bi as Ya, bj as vu, bk as Fs, bl as xu, bm as wn, bn as yu, bo as wu, bp as Pn, bq as Xa, br as Ro, bs as Nu, bt as Cu, b as Ds, bu as Iu, a as ku, bv as Hr, bw as Su, g as Tu, F as Eu, bx as Bs, by as Ru, o as aa, bz as Lu, bA as ia, bB as Bt, J as Pu, bC as Au, bD as _u, bE as Hs, bF as zu, bG as $s, bH as Mu, bI as Ou, bJ as Fu, bK as Cr, bL as Du, bM as Bu, bN as Hu, bO as $u, bP as ju, bQ as Wu, bR as Vu, bS as Lo, l as $r, bT as sa, O as Po, Q as pr, bU as Uu, bV as Gu, bW as Ku, bX as js, bY as Ws, bZ as Vs, b_ as qu, b$ as Yu, c0 as Xu, c1 as Ju, c2 as Qu, c3 as Us, c4 as Zu, c5 as ef, c6 as la, c7 as tf, c8 as Gs, c9 as Ks, ca as qs, cb as nf, cc as Ys, n as rf, cd as ca, R as of, U as af, ce as sf, cf as Ja, cg as Xs, ch as lf, ci as cf, cj as df, ck as uf, cl as ff, cm as mf, cn as hf, co as pf, cp as zt, cq as gf, cr as bf, cs as vf, ct as xf, cu as yf, cv as wf, cw as Js, cx as Ir, cy as Nf, cz as Cf, cA as If, cB as kf, cC as io, cD as Sf, cE as Tf, cF as Ef, cG as Rf, cH as Lf, cI as Pf, cJ as Af, cK as Qs, cL as _f, cM as zf, cN as Zs, cO as Mf, cP as Of } from "./F0CanvasPanel-0gGxlTzq.js";
2
- import { c$ as EN, c_ as RN, db as LN, cX as PN, cY as AN, cQ as _N, cR as zN, cR as MN, cS as ON, cV as FN, de as DN, cZ as BN, d7 as HN, d8 as $N, dc as jN, cW as WN, d1 as VN, d0 as UN, T as GN, h as KN, d9 as qN, df as YN, da as XN, dd as JN, d6 as QN, d3 as ZN, d5 as eC, d2 as tC, cT as nC, cU as rC, d4 as oC } from "./F0CanvasPanel-0gGxlTzq.js";
1
+ import { X as Ad, Y as Ga, Z as _d, _ as zd, $ as Md, a0 as Od, a1 as Cs, a2 as Ka, a3 as or, a4 as En, a5 as Fd, a6 as he, a7 as an, u as ce, a8 as Dd, a9 as Bd, aa as Jo, ab as vn, ac as xn, ad as tt, ae as Hd, af as Is, V as Ie, z as $d, A as jd, ag as Ee, ah as ks, K as Wd, B as Vd, m as ze, ai as Un, S as J, aj as Wt, ak as Ud, al as Gd, am as Kd, an as qd, ao as Yd, ap as bt, aq as Qo, ar as Ss, as as Dt, at as Qt, au as Xd, e as Ts, av as rn, aw as Jd, ax as Zo, ay as Gn, w as ct, r as Ke, y as Nr, t as ea, v as ta, az as Es, x as na, aA as Rs, aB as Qd, aC as Ls, aD as Je, s as dt, aE as Or, aF as ao, aG as Kn, aH as qa, aI as Zd, aJ as pt, aK as Ps, aL as So, aM as Cn, aN as ra, aO as eu, aP as tu, aQ as $t, aR as Fr, aS as nu, aT as ru, aU as ou, aV as au, aW as Dr, aX as As, j as Br, aY as iu, aZ as su, k as yn, a_ as _s, a$ as lu, b0 as cu, b1 as du, b2 as uu, b3 as fu, b4 as To, b5 as zs, b6 as Mn, b7 as Ms, b8 as mu, b9 as hu, ba as pu, bb as Os, bc as gu, bd as sn, be as Eo, bf as oa, bg as bu, bh as qn, bi as Ya, bj as vu, bk as Fs, bl as xu, bm as wn, bn as yu, bo as wu, bp as Pn, bq as Xa, br as Ro, bs as Nu, bt as Cu, b as Ds, bu as Iu, a as ku, bv as Hr, bw as Su, g as Tu, F as Eu, bx as Bs, by as Ru, o as aa, bz as Lu, bA as ia, bB as Bt, J as Pu, bC as Au, bD as _u, bE as Hs, bF as zu, bG as $s, bH as Mu, bI as Ou, bJ as Fu, bK as Cr, bL as Du, bM as Bu, bN as Hu, bO as $u, bP as ju, bQ as Wu, bR as Vu, bS as Lo, l as $r, bT as sa, O as Po, Q as pr, bU as Uu, bV as Gu, bW as Ku, bX as js, bY as Ws, bZ as Vs, b_ as qu, b$ as Yu, c0 as Xu, c1 as Ju, c2 as Qu, c3 as Us, c4 as Zu, c5 as ef, c6 as la, c7 as tf, c8 as Gs, c9 as Ks, ca as qs, cb as nf, cc as Ys, n as rf, cd as ca, R as of, U as af, ce as sf, cf as Ja, cg as Xs, ch as lf, ci as cf, cj as df, ck as uf, cl as ff, cm as mf, cn as hf, co as pf, cp as zt, cq as gf, cr as bf, cs as vf, ct as xf, cu as yf, cv as wf, cw as Js, cx as Ir, cy as Nf, cz as Cf, cA as If, cB as kf, cC as io, cD as Sf, cE as Tf, cF as Ef, cG as Rf, cH as Lf, cI as Pf, cJ as Af, cK as Qs, cL as _f, cM as zf, cN as Zs, cO as Mf, cP as Of } from "./F0CanvasPanel-kyz8aCo6.js";
2
+ import { c$ as EN, c_ as RN, db as LN, cX as PN, cY as AN, cQ as _N, cR as zN, cR as MN, cS as ON, cV as FN, de as DN, cZ as BN, d7 as HN, d8 as $N, dc as jN, cW as WN, d1 as VN, d0 as UN, T as GN, h as KN, d9 as qN, df as YN, da as XN, dd as JN, d6 as QN, d3 as ZN, d5 as eC, d2 as tC, cT as nC, cU as rC, d4 as oC } from "./F0CanvasPanel-kyz8aCo6.js";
3
3
  import { jsx as n, jsxs as h, Fragment as Ae } from "react/jsx-runtime";
4
4
  import ae, { forwardRef as Be, useRef as O, useTransition as Ff, useState as F, useLayoutEffect as St, useId as On, useContext as wt, createContext as ut, useEffect as X, useCallback as U, useMemo as le, Fragment as xt, isValidElement as el, cloneElement as tl, Suspense as jr, lazy as ln, createElement as gr, memo as nl, Children as da } from "react";
5
5
  import { d as I, T as Df, a as Bf, b as Hf, f as Qe, c as $f, u as jf } from "./tooltip-Cik7KBQT.js";
6
- import { C as Wf, P as Vf, c as Wr, n as Uf, E as Gf, a as ua, b as Yn, M as Kf, p as qf, e as Yf, R as Qa, f as rl, u as Xf, g as Jf, h as Qf, i as Zf, j as em, k as tm, O as ol, W as nn, A as nm, B as rm, L as om, l as am, V as im, m as sm, o as lm, q as cm, S as dm, r as um, s as fm, F as mm, t as hm, v as pm, w as gm, x as bm, D as vm, y as xm, z as ym, G as wm, H as Nm, I as Cm, J as Za, K as Im } from "./CoachmarkProvider-D1Qx4pMZ.js";
7
- import { an as iC, ao as sC, Y as lC, Z as cC, U as dC, a7 as uC, _ as fC, az as mC, a3 as hC, ay as pC, a6 as gC, X as bC, al as vC, aB as xC, aA as yC, ad as wC, a8 as NC, aE as CC, T as IC, ai as kC, af as SC, aa as TC, aG as EC, ab as RC, aj as LC, ak as PC, $ as AC, aC as _C, aD as zC, ac as MC, am as OC, av as FC, ax as DC, a0 as BC, aI as HC, a2 as $C, a4 as jC, ag as WC, aF as VC, ah as UC, ae as GC, aH as KC, a1 as qC, a5 as YC, N as XC, Q as JC, ar as QC, as as ZC, ap as eI, aw as tI, a9 as nI, at as rI, aq as oI, au as aI } from "./CoachmarkProvider-D1Qx4pMZ.js";
6
+ import { C as Wf, P as Vf, c as Wr, n as Uf, E as Gf, a as ua, b as Yn, M as Kf, p as qf, e as Yf, R as Qa, f as rl, u as Xf, g as Jf, h as Qf, i as Zf, j as em, k as tm, O as ol, W as nn, A as nm, B as rm, L as om, l as am, V as im, m as sm, o as lm, q as cm, S as dm, r as um, s as fm, F as mm, t as hm, v as pm, w as gm, x as bm, D as vm, y as xm, z as ym, G as wm, H as Nm, I as Cm, J as Za, K as Im } from "./CoachmarkProvider-CGTyzNuB.js";
7
+ import { an as iC, ao as sC, Y as lC, Z as cC, U as dC, a7 as uC, _ as fC, az as mC, a3 as hC, ay as pC, a6 as gC, X as bC, al as vC, aB as xC, aA as yC, ad as wC, a8 as NC, aE as CC, T as IC, ai as kC, af as SC, aa as TC, aG as EC, ab as RC, aj as LC, ak as PC, $ as AC, aC as _C, aD as zC, ac as MC, am as OC, av as FC, ax as DC, a0 as BC, aI as HC, a2 as $C, a4 as jC, ag as WC, aF as VC, ah as UC, ae as GC, aH as KC, a1 as qC, a5 as YC, N as XC, Q as JC, ar as QC, as as ZC, ap as eI, aw as tI, a9 as nI, at as rI, aq as oI, au as aI } from "./CoachmarkProvider-CGTyzNuB.js";
8
8
  import km, { createPortal as ei } from "react-dom";
9
9
  const Sm = Ad("Search", [
10
10
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
@@ -5306,12 +5306,19 @@ function Al({ children: e, header: t, embedded: r = !1 }) {
5306
5306
  "div",
5307
5307
  {
5308
5308
  className: I(
5309
- "flex min-h-full w-full flex-col overflow-hidden bg-f1-special-page ring-1 ring-inset ring-f1-border-secondary",
5309
+ "relative flex min-h-full w-full flex-col overflow-hidden bg-f1-special-page",
5310
5310
  !r && "xs:rounded-xl"
5311
5311
  ),
5312
5312
  children: [
5313
5313
  t && /* @__PURE__ */ n("div", { className: "flex flex-col", children: t }),
5314
- /* @__PURE__ */ n("div", { className: "isolate flex w-full flex-1 flex-col overflow-auto [&>*]:flex-1", children: e })
5314
+ /* @__PURE__ */ n("div", { className: "isolate flex w-full flex-1 flex-col overflow-auto [&>*]:flex-1", children: e }),
5315
+ /* @__PURE__ */ n(
5316
+ "div",
5317
+ {
5318
+ "aria-hidden": !0,
5319
+ className: "pointer-events-none absolute inset-0 z-10 rounded-[inherit] ring-1 ring-inset ring-f1-border-secondary"
5320
+ }
5321
+ )
5315
5322
  ]
5316
5323
  }
5317
5324
  );
@@ -8426,7 +8433,7 @@ const tc = () => Vt(Kl, "useChatJump"), Hg = () => Vt(ql, "useChatHighlightedId"
8426
8433
  }, Yr = (e, t) => {
8427
8434
  const r = document.createElement("a");
8428
8435
  r.href = e, r.download = t, r.rel = "noreferrer", r.click();
8429
- }, uc = () => import("./ChatPdfThumbnail-Dy_tc9lV.js"), fc = () => import("./ChatSheetThumbnail-BvnxT-4A.js"), mc = () => import("./ChatDocxThumbnail-DzNPNFya.js"), hc = () => import("./ChatTextThumbnail-yVt_iYi7.js"), qg = ln(uc), Yg = ln(fc), Xg = ln(mc), Jg = ln(hc), Qg = {
8436
+ }, uc = () => import("./ChatPdfThumbnail-BS6BmrYf.js"), fc = () => import("./ChatSheetThumbnail-BvnxT-4A.js"), mc = () => import("./ChatDocxThumbnail-DzNPNFya.js"), hc = () => import("./ChatTextThumbnail-yVt_iYi7.js"), qg = ln(uc), Yg = ln(fc), Xg = ln(mc), Jg = ln(hc), Qg = {
8430
8437
  pdf: uc,
8431
8438
  sheet: fc,
8432
8439
  docx: mc,
@@ -10367,7 +10374,7 @@ const yb = {
10367
10374
  }
10368
10375
  ) }) });
10369
10376
  }, Lb = ln(
10370
- () => import("./index-Bv0MoDKM.js").then((e) => e.i).then((e) => ({
10377
+ () => import("./index-PGrHyWOP.js").then((e) => e.i).then((e) => ({
10371
10378
  default: e.F0PdfViewer
10372
10379
  }))
10373
10380
  ), Pb = () => {
@@ -14935,7 +14942,7 @@ const E0 = (e) => {
14935
14942
  }
14936
14943
  )
14937
14944
  ] });
14938
- }, ad = () => import("./index-DoXagO3j.js").then((e) => ({
14945
+ }, ad = () => import("./index-O8kba4Zn.js").then((e) => ({
14939
14946
  default: e.F0VideoPlayer
14940
14947
  })), H0 = ln(ad), $0 = ({
14941
14948
  file: e,
@@ -18383,7 +18390,7 @@ const W1 = (e) => e == null ? void 0 : typeof e == "function" ? { render: e } :
18383
18390
  {
18384
18391
  type: e.slice(0, -5),
18385
18392
  size: "sm",
18386
- layout: "compact",
18393
+ max: 3,
18387
18394
  avatars: t.avatars,
18388
18395
  remainingCount: t.remainingCount
18389
18396
  }
package/dist/f0.d.ts CHANGED
@@ -7744,7 +7744,7 @@ export declare type F0AvatarIconProps = {
7744
7744
  } & Partial<Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">>;
7745
7745
 
7746
7746
  export declare const F0AvatarList: WithDataTestIdReturnType_4< {
7747
- ({ avatars, size, type, noTooltip, remainingCount: initialRemainingCount, max, tooltipScroll, }: F0AvatarListProps_2): JSX_2.Element;
7747
+ ({ avatars, size, type, noTooltip, remainingCount: initialRemainingCount, max, tooltipScroll, layout, }: F0AvatarListProps_2): JSX_2.Element;
7748
7748
  displayName: string;
7749
7749
  }>;
7750
7750
 
@@ -7769,8 +7769,16 @@ export declare type F0AvatarListProps = {
7769
7769
  */
7770
7770
  noTooltip?: boolean;
7771
7771
  /**
7772
- * The maximum number of avatars to display.
7773
- * @default 3
7772
+ * The exact number of avatars to keep visible; the rest collapse into the
7773
+ * `+N` counter. Not a soft cap — a provided `max` is forwarded as
7774
+ * `OverflowList`'s `min` as well, so exactly this many avatars render even in
7775
+ * a container too narrow to fit them (see `F0AvatarList.tsx`).
7776
+ *
7777
+ * There is no numeric default. Left unset, the visible count is
7778
+ * container-driven: `OverflowList` measures the available width and shows as
7779
+ * many avatars as fit, collapsing the remainder into the counter. So passing
7780
+ * a number opts into a fixed footprint, and omitting it opts into filling
7781
+ * the row.
7774
7782
  */
7775
7783
  max?: number;
7776
7784
  /**
@@ -7778,10 +7786,17 @@ export declare type F0AvatarListProps = {
7778
7786
  */
7779
7787
  remainingCount?: number;
7780
7788
  /**
7781
- * The layout of the avatar list.
7782
- * - "fill" - Avatars will expand to fill the available width, with overflow items shown in a counter
7783
- * - "compact" - Avatars will be stacked tightly together up to the max limit, with remaining shown in counter
7784
- * @default "compact"
7789
+ * @deprecated Never implemented — `F0AvatarList` has always ignored this
7790
+ * prop — and not needed, because `max` already selects between the two
7791
+ * layouts it described. Omit `max` for what this called `"fill"`:
7792
+ * `OverflowList` measures the row and shows as many avatars as fit. Pass a
7793
+ * `max` for `"compact"`: it doubles as `min`, so exactly that many stay
7794
+ * visible. A separate switch could only contradict `max` — `layout="fill"`
7795
+ * with `max={3}` has no coherent meaning — which is why this is going rather
7796
+ * than getting an implementation.
7797
+ * @removeIn 7.0.0
7798
+ * @migration Remove the prop. If you were passing `layout="compact"` to cap
7799
+ * the row, add `max={n}`: `"compact"` never capped anything.
7785
7800
  */
7786
7801
  layout?: "fill" | "compact";
7787
7802
  /**
@@ -19725,8 +19740,10 @@ declare module "@tiptap/core" {
19725
19740
 
19726
19741
  declare module "@tiptap/core" {
19727
19742
  interface Commands<ReturnType> {
19728
- moodTracker: {
19729
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
19743
+ indent: {
19744
+ setIndent: (level: number) => ReturnType;
19745
+ unsetIndent: () => ReturnType;
19746
+ outdent: () => ReturnType;
19730
19747
  };
19731
19748
  }
19732
19749
  }
@@ -19734,10 +19751,8 @@ declare module "@tiptap/core" {
19734
19751
 
19735
19752
  declare module "@tiptap/core" {
19736
19753
  interface Commands<ReturnType> {
19737
- indent: {
19738
- setIndent: (level: number) => ReturnType;
19739
- unsetIndent: () => ReturnType;
19740
- outdent: () => ReturnType;
19754
+ moodTracker: {
19755
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
19741
19756
  };
19742
19757
  }
19743
19758
  }
@@ -19745,10 +19760,8 @@ declare module "@tiptap/core" {
19745
19760
 
19746
19761
  declare module "@tiptap/core" {
19747
19762
  interface Commands<ReturnType> {
19748
- videoEmbed: {
19749
- setVideoEmbed: (options: {
19750
- src: string;
19751
- }) => ReturnType;
19763
+ transcript: {
19764
+ insertTranscript: (data: TranscriptData) => ReturnType;
19752
19765
  };
19753
19766
  }
19754
19767
  }
@@ -19756,8 +19769,10 @@ declare module "@tiptap/core" {
19756
19769
 
19757
19770
  declare module "@tiptap/core" {
19758
19771
  interface Commands<ReturnType> {
19759
- transcript: {
19760
- insertTranscript: (data: TranscriptData) => ReturnType;
19772
+ videoEmbed: {
19773
+ setVideoEmbed: (options: {
19774
+ src: string;
19775
+ }) => ReturnType;
19761
19776
  };
19762
19777
  }
19763
19778
  }
package/dist/f0.js CHANGED
@@ -1,18 +1,18 @@
1
- import { hH as tN, w as at, cp as bb, a7 as dn, h6 as rN, a6 as An, fe as IV, hI as kV, hJ as nN, r as Xt, av as tf, hK as PV, hL as Cw, hM as Mr, hN as $a, hO as RV, u as Be, aJ as Xv, hP as Yi, hQ as Vl, hR as iN, aD as ll, h3 as zy, hS as OV, S as ee, s as xb, hT as BV, hU as zV, hV as Tw, en as VV, hW as FV, hX as GV, hY as aN, hZ as HV, t as qv, v as Zv, m as tt, x as jv, y as Gr, O as WV, Q as UV, z as rf, A as nf, cd as Yo, B as af, gh as Vy, am as Ft, V as et, aC as _l, ao as Ma, aR as wb, h_ as $V, by as YV, ej as Dw, n as oN, o as bl, ad as wc, bz as XV, db as _d, cn as sN, h$ as qV, h5 as Aw, aw as ZV, i0 as Mw, fN as jV, i1 as KV, c6 as lN, ca as uN, g0 as Fy, aW as QV, dm as Gy, ce as cN, gD as Fl, gE as of, gG as fN, hc as JV, gf as hN, aL as dN, ge as eF, i2 as Kv, dX as Sb, gU as tF, at as vN, fM as rF, cD as nF, hD as Cb, bW as pN, b$ as iF, c0 as aF, c1 as oF, d as sF, af as gN, dt as ns, e8 as mN, dW as yN, cG as Tb, cb as _N, dg as Db, G as ul, H as cl, K as fl, L as hl, gi as ha, cf as bN, j as lF, dU as bd, bK as xl, J as Nr, cW as uF, as as xN, dY as Hy, ek as Sc, cV as cF, dO as sf, ap as Gl, bm as wN, b3 as fF, gN as Or, i3 as hF, i4 as dF, i5 as SN, i6 as Qv, i7 as vF, i8 as pF, R as CN, U as TN, cK as gF, i9 as mF, bf as DN, c8 as yF, c9 as _F, ag as Wy, aN as Hl, cs as Wl, eR as lf, ea as bF, cq as xF, bx as wF, ai as AN, bB as SF, ar as CF, bU as Ew, e7 as Cc, fP as TF, fQ as DF, ia as AF, bl as MF, cw as EF, l as MN, ax as LF, bE as NF, ib as IF, h9 as kF, ay as PF, bp as RF, ab as EN, ic as LN, id as OF, ie as BF, I as zF, ig as VF, ih as FF, ii as GF, ij as HF } from "./F0CanvasPanel-0gGxlTzq.js";
2
- import { iB as She, C as Che, D as The, bd as Dhe, c as Ahe, F as Mhe, a as Ehe, iu as Lhe, f as Nhe, bF as Ihe, be as khe, cu as Phe, bS as Rhe, b6 as Ohe, aG as Bhe, aQ as zhe, em as Vhe, aY as Fhe, cQ as Ghe, g as Hhe, c2 as Whe, cR as Uhe, ip as $he, iG as Yhe, bT as Xhe, e as qhe, cc as Zhe, k as jhe, cv as Khe, iw as Qhe, bt as Jhe, ix as ede, iz as tde, iA as rde, de as nde, iD as ide, d7 as ade, d8 as ode, P as sde, dc as lde, iy as ude, d9 as cde, iC as fde, iH as hde, il as dde, im as vde, io as pde, ik as gde, da as mde, iF as yde, iv as _de, is as bde, ir as xde, dd as wde, gc as Sde, gV as Cde, iE as Tde, bi as Dde, d6 as Ade, d3 as Mde, d5 as Ede, d2 as Lde, it as Nde, gX as Ide, gR as kde, gH as Pde, iK as Rde, cM as Ode, d4 as Bde, iJ as zde, bO as Vde, eg as Fde, gb as Gde, gI as Hde, b as Wde, bR as Ude, hb as $de, bg as Yde, eh as Xde, iq as qde, gT as Zde, gS as jde, iI as Kde } from "./F0CanvasPanel-0gGxlTzq.js";
1
+ import { hH as tN, w as at, cp as bb, a7 as dn, h6 as rN, a6 as An, fe as IV, hI as kV, hJ as nN, r as Xt, av as tf, hK as PV, hL as Cw, hM as Mr, hN as $a, hO as RV, u as Be, aJ as Xv, hP as Yi, hQ as Vl, hR as iN, aD as ll, h3 as zy, hS as OV, S as ee, s as xb, hT as BV, hU as zV, hV as Tw, en as VV, hW as FV, hX as GV, hY as aN, hZ as HV, t as qv, v as Zv, m as tt, x as jv, y as Gr, O as WV, Q as UV, z as rf, A as nf, cd as Yo, B as af, gh as Vy, am as Ft, V as et, aC as _l, ao as Ma, aR as wb, h_ as $V, by as YV, ej as Dw, n as oN, o as bl, ad as wc, bz as XV, db as _d, cn as sN, h$ as qV, h5 as Aw, aw as ZV, i0 as Mw, fN as jV, i1 as KV, c6 as lN, ca as uN, g0 as Fy, aW as QV, dm as Gy, ce as cN, gD as Fl, gE as of, gG as fN, hc as JV, gf as hN, aL as dN, ge as eF, i2 as Kv, dX as Sb, gU as tF, at as vN, fM as rF, cD as nF, hD as Cb, bW as pN, b$ as iF, c0 as aF, c1 as oF, d as sF, af as gN, dt as ns, e8 as mN, dW as yN, cG as Tb, cb as _N, dg as Db, G as ul, H as cl, K as fl, L as hl, gi as ha, cf as bN, j as lF, dU as bd, bK as xl, J as Nr, cW as uF, as as xN, dY as Hy, ek as Sc, cV as cF, dO as sf, ap as Gl, bm as wN, b3 as fF, gN as Or, i3 as hF, i4 as dF, i5 as SN, i6 as Qv, i7 as vF, i8 as pF, R as CN, U as TN, cK as gF, i9 as mF, bf as DN, c8 as yF, c9 as _F, ag as Wy, aN as Hl, cs as Wl, eR as lf, ea as bF, cq as xF, bx as wF, ai as AN, bB as SF, ar as CF, bU as Ew, e7 as Cc, fP as TF, fQ as DF, ia as AF, bl as MF, cw as EF, l as MN, ax as LF, bE as NF, ib as IF, h9 as kF, ay as PF, bp as RF, ab as EN, ic as LN, id as OF, ie as BF, I as zF, ig as VF, ih as FF, ii as GF, ij as HF } from "./F0CanvasPanel-kyz8aCo6.js";
2
+ import { iB as She, C as Che, D as The, bd as Dhe, c as Ahe, F as Mhe, a as Ehe, iu as Lhe, f as Nhe, bF as Ihe, be as khe, cu as Phe, bS as Rhe, b6 as Ohe, aG as Bhe, aQ as zhe, em as Vhe, aY as Fhe, cQ as Ghe, g as Hhe, c2 as Whe, cR as Uhe, ip as $he, iG as Yhe, bT as Xhe, e as qhe, cc as Zhe, k as jhe, cv as Khe, iw as Qhe, bt as Jhe, ix as ede, iz as tde, iA as rde, de as nde, iD as ide, d7 as ade, d8 as ode, P as sde, dc as lde, iy as ude, d9 as cde, iC as fde, iH as hde, il as dde, im as vde, io as pde, ik as gde, da as mde, iF as yde, iv as _de, is as bde, ir as xde, dd as wde, gc as Sde, gV as Cde, iE as Tde, bi as Dde, d6 as Ade, d3 as Mde, d5 as Ede, d2 as Lde, it as Nde, gX as Ide, gR as kde, gH as Pde, iK as Rde, cM as Ode, d4 as Bde, iJ as zde, bO as Vde, eg as Fde, gb as Gde, gI as Hde, b as Wde, bR as Ude, hb as $de, bg as Yde, eh as Xde, iq as qde, gT as Zde, gS as jde, iI as Kde } from "./F0CanvasPanel-kyz8aCo6.js";
3
3
  import { jsx as S, jsxs as B, Fragment as it } from "react/jsx-runtime";
4
- import { C as WF, W as UF, t as $F, v as YF, w as XF, x as Lw, aJ as qF, aK as ZF, K as jF, D as KF, z as QF, H as JF, J as e5, k as t5, T as NN, aL as r5, aM as n5, aN as i5, aO as a5, aP as o5, aQ as IN, aR as s5, n as Ab, aS as Ya, aT as l5, s as Mb, aU as Eb, a6 as u5, aV as c5, aW as _s, aX as kN, aY as f5, aZ as h5, a_ as d5, a$ as v5, b0 as p5, b1 as g5, ai as m5, ay as y5, b2 as _5, ad as b5, E as x5, a as w5, f as Jv, R as Lb, u as Nb, ag as PN, O as Ib, b3 as RN, b4 as Nw, b5 as kb, U as S5, g as ON, am as BN, b6 as C5, b7 as T5, b8 as D5, b9 as bs, ba as A5, az as M5, M as E5 } from "./CoachmarkProvider-D1Qx4pMZ.js";
5
- import { Y as Jde, Z as eve, a7 as tve, _ as rve, a3 as nve, bw as ive, bv as ave, bo as ove, bc as sve, bb as lve, bd as uve, be as cve, bg as fve, F as hve, aB as dve, aA as vve, aE as pve, af as gve, aa as mve, aG as yve, ab as _ve, $ as bve, bx as xve, aC as wve, aD as Sve, ac as Cve, a0 as Tve, P as Dve, a2 as Ave, a4 as Mve, aF as Eve, ae as Lve, aH as Nve, a1 as Ive, a5 as kve, bz as Pve, N as Rve, Q as Ove, bn as Bve, bt as zve, bt as Vve, bu as Fve, bj as Gve, bi as Hve, by as Wve, aw as Uve, bl as $ve, bm as Yve, a9 as Xve, bA as qve, bB as Zve, I as jve, h as Kve, bp as Qve, bq as Jve, br as epe, bf as tpe, bk as rpe, i as npe, bs as ipe, bh as ape, bC as ope } from "./CoachmarkProvider-D1Qx4pMZ.js";
4
+ import { C as WF, W as UF, t as $F, v as YF, w as XF, x as Lw, aJ as qF, aK as ZF, K as jF, D as KF, z as QF, H as JF, J as e5, k as t5, T as NN, aL as r5, aM as n5, aN as i5, aO as a5, aP as o5, aQ as IN, aR as s5, n as Ab, aS as Ya, aT as l5, s as Mb, aU as Eb, a6 as u5, aV as c5, aW as _s, aX as kN, aY as f5, aZ as h5, a_ as d5, a$ as v5, b0 as p5, b1 as g5, ai as m5, ay as y5, b2 as _5, ad as b5, E as x5, a as w5, f as Jv, R as Lb, u as Nb, ag as PN, O as Ib, b3 as RN, b4 as Nw, b5 as kb, U as S5, g as ON, am as BN, b6 as C5, b7 as T5, b8 as D5, b9 as bs, ba as A5, az as M5, M as E5 } from "./CoachmarkProvider-CGTyzNuB.js";
5
+ import { Y as Jde, Z as eve, a7 as tve, _ as rve, a3 as nve, bw as ive, bv as ave, bo as ove, bc as sve, bb as lve, bd as uve, be as cve, bg as fve, F as hve, aB as dve, aA as vve, aE as pve, af as gve, aa as mve, aG as yve, ab as _ve, $ as bve, bx as xve, aC as wve, aD as Sve, ac as Cve, a0 as Tve, P as Dve, a2 as Ave, a4 as Mve, aF as Eve, ae as Lve, aH as Nve, a1 as Ive, a5 as kve, bz as Pve, N as Rve, Q as Ove, bn as Bve, bt as zve, bt as Vve, bu as Fve, bj as Gve, bi as Hve, by as Wve, aw as Uve, bl as $ve, bm as Yve, a9 as Xve, bA as qve, bB as Zve, I as jve, h as Kve, bp as Qve, bq as Jve, br as epe, bf as tpe, bk as rpe, i as npe, bs as ipe, bh as ape, bC as ope } from "./CoachmarkProvider-CGTyzNuB.js";
6
6
  import * as wt from "react";
7
7
  import L5, { forwardRef as Tr, useRef as ce, useImperativeHandle as N5, Children as xd, createContext as Ba, useContext as is, useState as ue, useMemo as me, useEffect as Me, useCallback as de, useLayoutEffect as Uy, isValidElement as zN, Fragment as Ul, useSyncExternalStore as wl, useId as sc, memo as I5 } from "react";
8
8
  import { createPortal as ep } from "react-dom";
9
9
  import { d as re, u as uf, h as k5, i as el, P as cf, g as $l, j as P5, f as za } from "./tooltip-Cik7KBQT.js";
10
- import { l as $y, c as VN, d as wd, r as Yy } from "./F0VideoPlayer-BUhNtrIN.js";
11
- import { F as lpe } from "./F0VideoPlayer-BUhNtrIN.js";
12
- import { D as R5, E as Sd, G as Pb, H as FN, I as GN, J as jn, K as O5, L as B5, M as z5, N as V5, O as F5, F as G5 } from "./F0AiProcessingOverlay-lZ3Po7hF.js";
13
- import { A as cpe, C as fpe, t as hpe, s as dpe, v as vpe, y as ppe, l as gpe, i as mpe, q as ype, z as _pe, B as bpe, p as xpe, r as wpe, j as Spe, e as Cpe, g as Tpe, k as Dpe, T as Ape, w as Mpe, h as Epe, a as Lpe, n as Npe, m as Ipe, o as kpe, b as Ppe, f as Rpe, x as Ope, c as Bpe, d as zpe, u as Vpe } from "./F0AiProcessingOverlay-lZ3Po7hF.js";
14
- import { F as Gpe, p as Hpe } from "./index-Bv0MoDKM.js";
15
- import { c as Upe } from "./pdfWorker-DUmoyoC6.js";
10
+ import { l as $y, c as VN, d as wd, r as Yy } from "./F0VideoPlayer-Cjdwg3I9.js";
11
+ import { F as lpe } from "./F0VideoPlayer-Cjdwg3I9.js";
12
+ import { D as R5, E as Sd, G as Pb, H as FN, I as GN, J as jn, K as O5, L as B5, M as z5, N as V5, O as F5, F as G5 } from "./F0AiProcessingOverlay-i1gfeTef.js";
13
+ import { A as cpe, C as fpe, t as hpe, s as dpe, v as vpe, y as ppe, l as gpe, i as mpe, q as ype, z as _pe, B as bpe, p as xpe, r as wpe, j as Spe, e as Cpe, g as Tpe, k as Dpe, T as Ape, w as Mpe, h as Epe, a as Lpe, n as Npe, m as Ipe, o as kpe, b as Ppe, f as Rpe, x as Ope, c as Bpe, d as zpe, u as Vpe } from "./F0AiProcessingOverlay-i1gfeTef.js";
14
+ import { F as Gpe, p as Hpe } from "./index-PGrHyWOP.js";
15
+ import { c as Upe } from "./pdfWorker-CDMnVGUJ.js";
16
16
  import { g as H5 } from "./_commonjsHelpers-ByX85dGu.js";
17
17
  import { utils as dl, write as HN } from "./xlsx-CzlURDDb.js";
18
18
  import { defaultTranslations as Ype } from "./i18n-provider-defaults.js";
@@ -1322,8 +1322,10 @@ declare module "@tiptap/core" {
1322
1322
 
1323
1323
  declare module "@tiptap/core" {
1324
1324
  interface Commands<ReturnType> {
1325
- moodTracker: {
1326
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
1325
+ indent: {
1326
+ setIndent: (level: number) => ReturnType;
1327
+ unsetIndent: () => ReturnType;
1328
+ outdent: () => ReturnType;
1327
1329
  };
1328
1330
  }
1329
1331
  }
@@ -1331,10 +1333,8 @@ declare module "@tiptap/core" {
1331
1333
 
1332
1334
  declare module "@tiptap/core" {
1333
1335
  interface Commands<ReturnType> {
1334
- indent: {
1335
- setIndent: (level: number) => ReturnType;
1336
- unsetIndent: () => ReturnType;
1337
- outdent: () => ReturnType;
1336
+ moodTracker: {
1337
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
1338
1338
  };
1339
1339
  }
1340
1340
  }
@@ -1342,10 +1342,8 @@ declare module "@tiptap/core" {
1342
1342
 
1343
1343
  declare module "@tiptap/core" {
1344
1344
  interface Commands<ReturnType> {
1345
- videoEmbed: {
1346
- setVideoEmbed: (options: {
1347
- src: string;
1348
- }) => ReturnType;
1345
+ transcript: {
1346
+ insertTranscript: (data: TranscriptData) => ReturnType;
1349
1347
  };
1350
1348
  }
1351
1349
  }
@@ -1353,8 +1351,10 @@ declare module "@tiptap/core" {
1353
1351
 
1354
1352
  declare module "@tiptap/core" {
1355
1353
  interface Commands<ReturnType> {
1356
- transcript: {
1357
- insertTranscript: (data: TranscriptData) => ReturnType;
1354
+ videoEmbed: {
1355
+ setVideoEmbed: (options: {
1356
+ src: string;
1357
+ }) => ReturnType;
1358
1358
  };
1359
1359
  }
1360
1360
  }
@@ -0,0 +1,4 @@
1
+ import { F as r } from "./F0VideoPlayer-Cjdwg3I9.js";
2
+ export {
3
+ r as F0VideoPlayer
4
+ };
@@ -1,7 +1,7 @@
1
- import { S as L, m as ye, u as Z, n as Se, o as Re, i as ke, j as _e, k as Ne, q as Ce, l as Le, w as Fe, r as Ve, s as Te } from "./F0CanvasPanel-0gGxlTzq.js";
1
+ import { S as L, m as ye, u as Z, n as Se, o as Re, i as ke, j as _e, k as Ne, q as Ce, l as Le, w as Fe, r as Ve, s as Te } from "./F0CanvasPanel-kyz8aCo6.js";
2
2
  import { jsx as t, jsxs as y } from "react/jsx-runtime";
3
3
  import { lazy as J, forwardRef as ne, Suspense as He, useState as V, useRef as A, useMemo as te, useCallback as w, useEffect as T } from "react";
4
- import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-DUmoyoC6.js";
4
+ import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-CDMnVGUJ.js";
5
5
  import { F as We } from "./Printer-BD-FEi_2.js";
6
6
  import { d as ae } from "./tooltip-Cik7KBQT.js";
7
7
  import './index.css';const Oe = ({
@@ -222,7 +222,7 @@ import './index.css';const Oe = ({
222
222
  }), i;
223
223
  };
224
224
  Ee();
225
- const qe = J(() => import("./SheetViewer-BnrpUthb.js")), Ge = J(() => import("./DocxViewer-Cwbd8fAV.js")), Ze = J(() => import("./TextViewer-CJBoodHy.js")), oe = 48, se = ne(
225
+ const qe = J(() => import("./SheetViewer-DaN0Ahv8.js")), Ge = J(() => import("./DocxViewer-Dvz0Jo7o.js")), Ze = J(() => import("./TextViewer-DY-zaYsl.js")), oe = 48, se = ne(
226
226
  (o, a) => {
227
227
  const { kind: e = "pdf", mimeType: i, ...l } = o;
228
228
  if (e === "pdf") return /* @__PURE__ */ t(le, { ref: a, ...l });
@@ -1,8 +1,8 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { createContext, useReducer, forwardRef, useRef, useImperativeHandle, useEffect, useCallback, useMemo, useContext, useLayoutEffect } from "react";
3
3
  import { e as clsx } from "./tooltip-Cik7KBQT.js";
4
- import { W as invariant } from "./F0CanvasPanel-0gGxlTzq.js";
5
- import { d as dequal } from "./CoachmarkProvider-D1Qx4pMZ.js";
4
+ import { W as invariant } from "./F0CanvasPanel-kyz8aCo6.js";
5
+ import { d as dequal } from "./CoachmarkProvider-CGTyzNuB.js";
6
6
  import { a as getAugmentedNamespace, g as getDefaultExportFromCjs } from "./_commonjsHelpers-ByX85dGu.js";
7
7
  import { c as commonjsRequire } from "./_commonjs-dynamic-modules-BpilXLfW.js";
8
8
  import './pdfWorker.css';var pdf$1 = { exports: {} };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "6.23.0",
3
+ "version": "6.23.2",
4
4
  "private": false,
5
5
  "files": [
6
6
  "assets",
@@ -1,4 +0,0 @@
1
- import { F as r } from "./F0VideoPlayer-BUhNtrIN.js";
2
- export {
3
- r as F0VideoPlayer
4
- };