@factorialco/f0-react 1.330.0 → 1.330.1

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,5 +1,5 @@
1
1
  import { jsxs as A, jsx as s, Fragment as et } from "react/jsx-runtime";
2
- import { au as h4, av as rt, aw as d4, ax as C4, ay as Dn, az as v4, aA as tt, E as g4, aB as p4, aC as x4, aD as In, aE as w4, K as Bn, aF as m4, aG as Pn, aH as L4, e as k4, aI as E4, aJ as _4, aK as T4, aL as S4, aM as F4, aN as Hn, aO as A4, aP as M4, aQ as y4, aR as R4, aS as O4, d as N4, aT as D4, aU as I4, aV as B4, aW as P4, aX as H4, aY as V4, aZ as b4, a_ as Vn, a$ as U4, M as $4, b0 as j4, b1 as W4, c as E1, m as N1, a as Z4, u as Ae, F as We, L as c0, b2 as G4, b3 as X4, b4 as z4, b5 as nt, b6 as K4, b7 as Y4, b8 as J4, b9 as q4, aq as Q4, ba as l0, A as Lr, a9 as e6, B as rr, bb as r6, a5 as t6, bc as n6, bd as o6, f as ot } from "./index-ematjx0Y.js";
2
+ import { au as h4, av as rt, aw as d4, ax as C4, ay as Dn, az as v4, aA as tt, E as g4, aB as p4, aC as x4, aD as In, aE as w4, K as Bn, aF as m4, aG as Pn, aH as L4, e as k4, aI as E4, aJ as _4, aK as T4, aL as S4, aM as F4, aN as Hn, aO as A4, aP as M4, aQ as y4, aR as R4, aS as O4, d as N4, aT as D4, aU as I4, aV as B4, aW as P4, aX as H4, aY as V4, aZ as b4, a_ as Vn, a$ as U4, M as $4, b0 as j4, b1 as W4, c as E1, m as N1, a as Z4, u as Ae, F as We, L as c0, b2 as G4, b3 as X4, b4 as z4, b5 as nt, b6 as K4, b7 as Y4, b8 as J4, b9 as q4, aq as Q4, ba as l0, A as Lr, a9 as e6, B as rr, bb as r6, a5 as t6, bc as n6, bd as o6, f as ot } from "./index-B3ge4hTD.js";
3
3
  import { useCopilotChatInternal as ze, useCopilotContext as bn, useCopilotAction as K0, CopilotKit as i6 } from "@copilotkit/react-core";
4
4
  import { Markdown as a6, useChatContext as s6, CopilotSidebar as c6 } from "@copilotkit/react-ui";
5
5
  import * as de from "react";
package/dist/ai.d.ts CHANGED
@@ -646,28 +646,11 @@ declare global {
646
646
  }
647
647
  }
648
648
 
649
- declare module "gridstack" {
650
- interface GridStackWidget {
651
- id?: string;
652
- allowedSizes?: Array<{
653
- w: number;
654
- h: number;
655
- }>;
656
- meta?: Record<string, unknown>;
657
- }
658
- interface GridStackNode {
659
- allowedSizes?: Array<{
660
- w: number;
661
- h: number;
662
- }>;
663
- }
664
- }
665
-
666
649
 
667
650
  declare module "@tiptap/core" {
668
651
  interface Commands<ReturnType> {
669
- liveCompanion: {
670
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
652
+ aiBlock: {
653
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
671
654
  };
672
655
  }
673
656
  }
@@ -675,8 +658,8 @@ declare module "@tiptap/core" {
675
658
 
676
659
  declare module "@tiptap/core" {
677
660
  interface Commands<ReturnType> {
678
- aiBlock: {
679
- insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
661
+ liveCompanion: {
662
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
680
663
  };
681
664
  }
682
665
  }
@@ -690,6 +673,23 @@ declare module "@tiptap/core" {
690
673
  }
691
674
  }
692
675
 
676
+ declare module "gridstack" {
677
+ interface GridStackWidget {
678
+ id?: string;
679
+ allowedSizes?: Array<{
680
+ w: number;
681
+ h: number;
682
+ }>;
683
+ meta?: Record<string, unknown>;
684
+ }
685
+ interface GridStackNode {
686
+ allowedSizes?: Array<{
687
+ w: number;
688
+ h: number;
689
+ }>;
690
+ }
691
+ }
692
+
693
693
 
694
694
  declare module "@tiptap/core" {
695
695
  interface Commands<ReturnType> {
package/dist/ai.js CHANGED
@@ -1,5 +1,5 @@
1
- import { A as i, a as r, b as t, d as o, c as n, H as e, e as A, u as l, f as u } from "./AiChatTranslationsProvider-DsMg11gX.js";
2
- import { I as f, u as h } from "./index-ematjx0Y.js";
1
+ import { A as i, a as r, b as t, d as o, c as n, H as e, e as A, u as l, f as u } from "./AiChatTranslationsProvider-Cp_FMTJE.js";
2
+ import { I as f, u as h } from "./index-B3ge4hTD.js";
3
3
  import { defaultTranslations as m } from "./i18n-provider-defaults.js";
4
4
  export {
5
5
  i as ActionItem,
@@ -6491,28 +6491,11 @@ declare global {
6491
6491
  }
6492
6492
  }
6493
6493
 
6494
- declare module "gridstack" {
6495
- interface GridStackWidget {
6496
- id?: string;
6497
- allowedSizes?: Array<{
6498
- w: number;
6499
- h: number;
6500
- }>;
6501
- meta?: Record<string, unknown>;
6502
- }
6503
- interface GridStackNode {
6504
- allowedSizes?: Array<{
6505
- w: number;
6506
- h: number;
6507
- }>;
6508
- }
6509
- }
6510
-
6511
6494
 
6512
6495
  declare module "@tiptap/core" {
6513
6496
  interface Commands<ReturnType> {
6514
- liveCompanion: {
6515
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
6497
+ aiBlock: {
6498
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
6516
6499
  };
6517
6500
  }
6518
6501
  }
@@ -6520,8 +6503,8 @@ declare module "@tiptap/core" {
6520
6503
 
6521
6504
  declare module "@tiptap/core" {
6522
6505
  interface Commands<ReturnType> {
6523
- aiBlock: {
6524
- insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
6506
+ liveCompanion: {
6507
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
6525
6508
  };
6526
6509
  }
6527
6510
  }
@@ -6535,6 +6518,23 @@ declare module "@tiptap/core" {
6535
6518
  }
6536
6519
  }
6537
6520
 
6521
+ declare module "gridstack" {
6522
+ interface GridStackWidget {
6523
+ id?: string;
6524
+ allowedSizes?: Array<{
6525
+ w: number;
6526
+ h: number;
6527
+ }>;
6528
+ meta?: Record<string, unknown>;
6529
+ }
6530
+ interface GridStackNode {
6531
+ allowedSizes?: Array<{
6532
+ w: number;
6533
+ h: number;
6534
+ }>;
6535
+ }
6536
+ }
6537
+
6538
6538
 
6539
6539
  declare module "@tiptap/core" {
6540
6540
  interface Commands<ReturnType> {
@@ -1,12 +1,12 @@
1
- import { be as $a, bf as $6, bg as z6, bh as B6, bi as j6, bj as H6, bk as Yc, bl as V6, bm as W6, bn as q6, m as ae, bo as uk, bp as U6, bq as za, g as hd, br as hk, bs as G6, bt as K6, D as pk, bu as mg, bv as ul, bw as J6, bx as Yp, by as mk, u as Te, bz as gk, bA as yk, bB as vk, bC as bk, c as E, bD as kk, n as Ze, bE as xk, a as $n, A as He, F as he, bF as wk, bG as _k, B as Vt, bH as Ck, bI as Sk, L as X, aD as co, S as U, bJ as Xn, bK as Y6, bL as Q6, bM as Bf, au as Nk, bN as Ek, K as Zn, aC as Qp, bO as gn, aE as jf, aB as Er, ay as X6, bP as Xr, f as Ba, aA as uo, bQ as Ak, bR as Z6, bS as gg, bT as Vs, bU as Xp, bV as ja, bW as pd, bX as eC, bY as Tk, bZ as tC, b_ as Zp, b$ as ra, c0 as yn, c1 as nC, c2 as iC, c3 as er, c4 as Qc, c5 as rC, c6 as Ro, c7 as Cs, c8 as sC, c9 as Mk, ca as oC, cb as aC, cc as lC, cd as dC, O as Yt, w as vt, aT as Ok, b0 as Dk, E as em, e as vr, ce as fC, cf as Xc, cg as Is, ch as tm, ci as cC, cj as uC, ck as hC, cl as pC, ar as Ha, a4 as md, d as ho, cm as Ik, C as bn, a2 as $i, cn as mC, co as gC, cp as Lk, a0 as Gn, q as Kn, cq as yC, cr as Rk, cs as Fk, ct as po, cu as nm, aF as sa, aa as oa, cv as vC, cw as Pk, cx as bC, cy as kC, P as im, l as rm, o as sm, b3 as xC, cz as $k, cA as wC, b2 as zk, cB as _C, cC as CC, cD as SC, b5 as yg, cE as Bk, cF as NC, cG as hh, _ as gd, cH as EC, cI as AC, aq as Va, y as jk, at as TC, ba as Wa, as as MC, cJ as Hk, z as br, a9 as or, aI as yd, bc as ph, V as qa, aU as Hf, aN as OC, a1 as DC, W as Vk, cK as Vf, cL as IC, cM as LC, cN as RC, cO as FC, cP as Wk, a_ as qk, cQ as PC, Y as Uk, cR as $C, a$ as zC, ae as BC, af as jC, am as Wf, ak as om, cS as am, al as Gk, ag as vd, cT as HC, aW as VC, av as mh, cU as WC, cV as lm, cW as qC, cX as UC, cY as GC, cZ as KC, c_ as JC, b as Kk, ab as YC, aj as QC, G as XC, H as ZC, J as eS, Z as tS, c$ as Ua, d0 as dm, a3 as fm, d1 as cm, d2 as Ga, aX as Jk, d3 as nS, d4 as Yk, d5 as iS, d6 as rS, aO as sS, aP as oS, aG as aS, az as lS, d7 as Qk, d8 as dS } from "./index-ematjx0Y.js";
2
- import { da as XY, d9 as ZY, df as eQ, dg as tQ, dc as nQ, db as iQ, de as rQ, $ as sQ, dd as oQ } from "./index-ematjx0Y.js";
3
- import { u as Xk, F as Zk, g as fS, h as ex, i as tx, j as nx, k as um, l as ix, m as qf, n as cS, o as uS, p as hS, q as hm, r as cs, s as rx, t as pm, I as sx, v as pS, w as mS, x as gS, y as Uf, z as ox, B as ax, C as vg, D as yS, E as vS, b as bS, a as kS, G as xS, J as wS, K as _S, L as CS, M as SS, N as lx, O as dx, P as fx, Q as cx, R as NS, S as ES, T as ux, U as bg, V as AS, W as TS, X as MS, Y as OS, Z as hx, _ as kg, $ as DS, a0 as gh, a1 as px, a2 as mx, a3 as gx, a4 as IS, a5 as LS, a6 as RS, a7 as FS, a8 as yx, a9 as vx, aa as bx, ab as kx, ac as PS, ad as xx, ae as wx, af as _x, ag as $S, ah as zS, ai as BS, aj as jS, ak as xg, al as wg, am as _g, an as HS } from "./AiChatTranslationsProvider-DsMg11gX.js";
4
- import { A as lQ, ap as dQ, d as fQ, c as cQ, H as uQ, ao as hQ, f as pQ } from "./AiChatTranslationsProvider-DsMg11gX.js";
1
+ import { be as $a, bf as $6, bg as z6, bh as B6, bi as j6, bj as H6, bk as Yc, bl as V6, bm as W6, bn as q6, m as ae, bo as uk, bp as U6, bq as za, g as hd, br as hk, bs as G6, bt as K6, D as pk, bu as mg, bv as ul, bw as J6, bx as Yp, by as mk, u as Te, bz as gk, bA as yk, bB as vk, bC as bk, c as E, bD as kk, n as Ze, bE as xk, a as $n, A as He, F as he, bF as wk, bG as _k, B as Vt, bH as Ck, bI as Sk, L as X, aD as co, S as U, bJ as Xn, bK as Y6, bL as Q6, bM as Bf, au as Nk, bN as Ek, K as Zn, aC as Qp, bO as gn, aE as jf, aB as Er, ay as X6, bP as Xr, f as Ba, aA as uo, bQ as Ak, bR as Z6, bS as gg, bT as Vs, bU as Xp, bV as ja, bW as pd, bX as eC, bY as Tk, bZ as tC, b_ as Zp, b$ as ra, c0 as yn, c1 as nC, c2 as iC, c3 as er, c4 as Qc, c5 as rC, c6 as Ro, c7 as Cs, c8 as sC, c9 as Mk, ca as oC, cb as aC, cc as lC, cd as dC, O as Yt, w as vt, aT as Ok, b0 as Dk, E as em, e as vr, ce as fC, cf as Xc, cg as Is, ch as tm, ci as cC, cj as uC, ck as hC, cl as pC, ar as Ha, a4 as md, d as ho, cm as Ik, C as bn, a2 as $i, cn as mC, co as gC, cp as Lk, a0 as Gn, q as Kn, cq as yC, cr as Rk, cs as Fk, ct as po, cu as nm, aF as sa, aa as oa, cv as vC, cw as Pk, cx as bC, cy as kC, P as im, l as rm, o as sm, b3 as xC, cz as $k, cA as wC, b2 as zk, cB as _C, cC as CC, cD as SC, b5 as yg, cE as Bk, cF as NC, cG as hh, _ as gd, cH as EC, cI as AC, aq as Va, y as jk, at as TC, ba as Wa, as as MC, cJ as Hk, z as br, a9 as or, aI as yd, bc as ph, V as qa, aU as Hf, aN as OC, a1 as DC, W as Vk, cK as Vf, cL as IC, cM as LC, cN as RC, cO as FC, cP as Wk, a_ as qk, cQ as PC, Y as Uk, cR as $C, a$ as zC, ae as BC, af as jC, am as Wf, ak as om, cS as am, al as Gk, ag as vd, cT as HC, aW as VC, av as mh, cU as WC, cV as lm, cW as qC, cX as UC, cY as GC, cZ as KC, c_ as JC, b as Kk, ab as YC, aj as QC, G as XC, H as ZC, J as eS, Z as tS, c$ as Ua, d0 as dm, a3 as fm, d1 as cm, d2 as Ga, aX as Jk, d3 as nS, d4 as Yk, d5 as iS, d6 as rS, aO as sS, aP as oS, aG as aS, az as lS, d7 as Qk, d8 as dS } from "./index-B3ge4hTD.js";
2
+ import { da as XY, d9 as ZY, df as eQ, dg as tQ, dc as nQ, db as iQ, de as rQ, $ as sQ, dd as oQ } from "./index-B3ge4hTD.js";
3
+ import { u as Xk, F as Zk, g as fS, h as ex, i as tx, j as nx, k as um, l as ix, m as qf, n as cS, o as uS, p as hS, q as hm, r as cs, s as rx, t as pm, I as sx, v as pS, w as mS, x as gS, y as Uf, z as ox, B as ax, C as vg, D as yS, E as vS, b as bS, a as kS, G as xS, J as wS, K as _S, L as CS, M as SS, N as lx, O as dx, P as fx, Q as cx, R as NS, S as ES, T as ux, U as bg, V as AS, W as TS, X as MS, Y as OS, Z as hx, _ as kg, $ as DS, a0 as gh, a1 as px, a2 as mx, a3 as gx, a4 as IS, a5 as LS, a6 as RS, a7 as FS, a8 as yx, a9 as vx, aa as bx, ab as kx, ac as PS, ad as xx, ae as wx, af as _x, ag as $S, ah as zS, ai as BS, aj as jS, ak as xg, al as wg, am as _g, an as HS } from "./AiChatTranslationsProvider-Cp_FMTJE.js";
4
+ import { A as lQ, ap as dQ, d as fQ, c as cQ, H as uQ, ao as hQ, f as pQ } from "./AiChatTranslationsProvider-Cp_FMTJE.js";
5
5
  import { jsx as c, jsxs as b, Fragment as we } from "react/jsx-runtime";
6
6
  import * as Ge from "react";
7
7
  import G, { useContext as zn, useState as P, useEffect as ne, createContext as Bn, forwardRef as ge, useRef as ie, PureComponent as VS, useTransition as WS, useLayoutEffect as us, useCallback as Ne, useMemo as J, useId as Gf, memo as Ka, Fragment as hi, isValidElement as Cx, cloneElement as mm, createElement as yh, useDebugValue as Sx, createRef as qS, version as Cg, useImperativeHandle as Kf, Children as Nx } from "react";
8
- import { f as Ls, aB as aa, j as hl, aC as US, b as Zc, aD as GS, A as KS, d as pl, i as JS, m as YS, G as QS, g as Sg, aE as XS, l as Ng, aF as ZS, p as e9, aG as Ex, aH as Ax, aI as t9, aJ as vh, C as n9, au as i9, a2 as Zr, D as Ct, t as r9, x as s9, y as o9, F as a9, M as Eg, N as Ag, O as l9, P as d9, aj as f9, aK as bh, aL as Jf, a6 as c9, aM as Tx, aN as u9, aO as h9, aP as p9, ae as kh, aQ as m9, aR as g9, ap as Yf, af as gm, aS as Mx, ac as Ox, ad as mo, a8 as y9, a4 as Qf, aT as Xf, aU as Zf, a5 as ec, ai as ym, aV as v9, ay as b9, aW as xh, aX as k9, aY as bd, aZ as x9, az as w9, a_ as _9, ax as Dx, aw as C9, av as S9, a$ as N9, b0 as E9, b1 as A9, b2 as T9, b3 as M9, b4 as O9, b5 as D9, aA as Ix, b6 as Lx, an as Rx, b7 as I9, b8 as L9, b9 as R9, a7 as F9, R as P9, T as $9, V as z9, W as B9, Z as j9, U as H9, ba as Tg, bb as V9, bc as W9, n as q9 } from "./hooks-oOrCwtSB.js";
9
- import { a9 as gQ, ak as yQ, al as vQ } from "./hooks-oOrCwtSB.js";
8
+ import { f as Ls, aB as aa, j as hl, aC as US, b as Zc, aD as GS, A as KS, d as pl, i as JS, m as YS, G as QS, g as Sg, aE as XS, l as Ng, aF as ZS, p as e9, aG as Ex, aH as Ax, aI as t9, aJ as vh, C as n9, au as i9, a2 as Zr, D as Ct, t as r9, x as s9, y as o9, F as a9, M as Eg, N as Ag, O as l9, P as d9, aj as f9, aK as bh, aL as Jf, a6 as c9, aM as Tx, aN as u9, aO as h9, aP as p9, ae as kh, aQ as m9, aR as g9, ap as Yf, af as gm, aS as Mx, ac as Ox, ad as mo, a8 as y9, a4 as Qf, aT as Xf, aU as Zf, a5 as ec, ai as ym, aV as v9, ay as b9, aW as xh, aX as k9, aY as bd, aZ as x9, az as w9, a_ as _9, ax as Dx, aw as C9, av as S9, a$ as N9, b0 as E9, b1 as A9, b2 as T9, b3 as M9, b4 as O9, b5 as D9, aA as Ix, b6 as Lx, an as Rx, b7 as I9, b8 as L9, b9 as R9, a7 as F9, R as P9, T as $9, V as z9, W as B9, Z as j9, U as H9, ba as Tg, bb as V9, bc as W9, n as q9 } from "./hooks-qwjhcY7r.js";
9
+ import { a9 as gQ, ak as yQ, al as vQ } from "./hooks-qwjhcY7r.js";
10
10
  import vm from "react-dom";
11
11
  import './experimental.css';function Fx(t) {
12
12
  const e = $a(() => $6(t)), { isStatic: n } = zn(z6);
package/dist/f0.d.ts CHANGED
@@ -5124,28 +5124,11 @@ declare global {
5124
5124
  }
5125
5125
  }
5126
5126
 
5127
- declare module "gridstack" {
5128
- interface GridStackWidget {
5129
- id?: string;
5130
- allowedSizes?: Array<{
5131
- w: number;
5132
- h: number;
5133
- }>;
5134
- meta?: Record<string, unknown>;
5135
- }
5136
- interface GridStackNode {
5137
- allowedSizes?: Array<{
5138
- w: number;
5139
- h: number;
5140
- }>;
5141
- }
5142
- }
5143
-
5144
5127
 
5145
5128
  declare module "@tiptap/core" {
5146
5129
  interface Commands<ReturnType> {
5147
- liveCompanion: {
5148
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
5130
+ aiBlock: {
5131
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
5149
5132
  };
5150
5133
  }
5151
5134
  }
@@ -5153,8 +5136,8 @@ declare module "@tiptap/core" {
5153
5136
 
5154
5137
  declare module "@tiptap/core" {
5155
5138
  interface Commands<ReturnType> {
5156
- aiBlock: {
5157
- insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
5139
+ liveCompanion: {
5140
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
5158
5141
  };
5159
5142
  }
5160
5143
  }
@@ -5168,6 +5151,23 @@ declare module "@tiptap/core" {
5168
5151
  }
5169
5152
  }
5170
5153
 
5154
+ declare module "gridstack" {
5155
+ interface GridStackWidget {
5156
+ id?: string;
5157
+ allowedSizes?: Array<{
5158
+ w: number;
5159
+ h: number;
5160
+ }>;
5161
+ meta?: Record<string, unknown>;
5162
+ }
5163
+ interface GridStackNode {
5164
+ allowedSizes?: Array<{
5165
+ w: number;
5166
+ h: number;
5167
+ }>;
5168
+ }
5169
+ }
5170
+
5171
5171
 
5172
5172
  declare module "@tiptap/core" {
5173
5173
  interface Commands<ReturnType> {
package/dist/f0.js CHANGED
@@ -1,10 +1,10 @@
1
- import { c as j, a as Di, b as En, m as Ri, B as Si, O as Kr, p as Xr, w as Dn, S as xe, u as Rn, F as Sn, d as Yr, A as Vr, D as qr, e as Jr, f as we, C as me, g as Zr, h as Qr, i as Nn, j as es, k as Mt, P as An, l as On, n as ts, o as kn, q as Tn, r as zn, s as is, t as ns, v as qi, x as rs, y as Pn, z as ss, E as os, G as as, H as ls, J as cs, K as Mn, L as qe, M as ds, U as us, N as hs, I as fs, Q as gs, X as ps, R as ms, T as vs } from "./index-ematjx0Y.js";
2
- import { ac as hd, ar as fd, V as gd, W as pd, Y as md, Z as vd, _ as yd, a0 as bd, a1 as xd, a2 as wd, a3 as Cd, a4 as _d, a5 as Ed, a6 as Dd, a7 as Rd, an as Sd, a9 as Nd, aa as Ad, ad as Od, ab as kd, ao as Td, ai as zd, al as Pd, ah as Md, as as Ld, ag as Id, af as Hd, $ as Bd, ae as Fd, aj as Wd, at as Gd, a8 as $d, ak as jd, aq as Ud, am as Kd, ap as Xd } from "./index-ematjx0Y.js";
1
+ import { c as j, a as Di, b as En, m as Ri, B as Si, O as Kr, p as Xr, w as Dn, S as xe, u as Rn, F as Sn, d as Yr, A as Vr, D as qr, e as Jr, f as we, C as me, g as Zr, h as Qr, i as Nn, j as es, k as Mt, P as An, l as On, n as ts, o as kn, q as Tn, r as zn, s as is, t as ns, v as qi, x as rs, y as Pn, z as ss, E as os, G as as, H as ls, J as cs, K as Mn, L as qe, M as ds, U as us, N as hs, I as fs, Q as gs, X as ps, R as ms, T as vs } from "./index-B3ge4hTD.js";
2
+ import { ac as hd, ar as fd, V as gd, W as pd, Y as md, Z as vd, _ as yd, a0 as bd, a1 as xd, a2 as wd, a3 as Cd, a4 as _d, a5 as Ed, a6 as Dd, a7 as Rd, an as Sd, a9 as Nd, aa as Ad, ad as Od, ab as kd, ao as Td, ai as zd, al as Pd, ah as Md, as as Ld, ag as Id, af as Hd, $ as Bd, ae as Fd, aj as Wd, at as Gd, a8 as $d, ak as jd, aq as Ud, am as Kd, ap as Xd } from "./index-B3ge4hTD.js";
3
3
  import { jsx as f, jsxs as P, Fragment as qt } from "react/jsx-runtime";
4
4
  import M, { forwardRef as oe, useRef as L, useImperativeHandle as ys, Children as Lt, createContext as Ae, useContext as _e, useState as B, useMemo as H, useEffect as I, useCallback as U, useLayoutEffect as vi, createElement as Ji, isValidElement as Ln, Fragment as bs, memo as xs, useReducer as ws, cloneElement as Cs, PureComponent as _s } from "react";
5
5
  import { createPortal as In, unstable_batchedUpdates as At } from "react-dom";
6
- import { L as Hn, C as Es, i as Bn, D as Ds, S as Zi, a as Rs, f as di, b as lt, c as Ss, A as Ns, d as Ot, e as Fn, E as As, g as zt, h as Os, j as ks, k as Ts, l as Xe, m as Wn, u as zs, G as Ps, n as Ms, o as Qi, p as Ls, q as Gn, r as Is, B as $n, X as jn, Y as yi, s as Hs, t as Un, v as Bs, w as Fs, x as Ws, y as Gs, z as $s, F as js, H as Us, I as Ks, J as en, K as Xs, M as ct, N as ui, O as Ys, P as Vs, Q as qs, R as Js, T as Zs, U as Qs, V as eo, W as to, Z as io, _ as no, $ as ro, a0 as tn, a1 as so, a2 as oo, a3 as Kn, a4 as ao, a5 as lo, a6 as nn, a7 as co, a8 as Xn, a9 as uo, aa as ho, ab as fo, ac as go } from "./hooks-oOrCwtSB.js";
7
- import { aw as Vd, ad as qd, ae as Jd, af as Zd, ai as Qd, aj as eu, an as tu, ao as iu, ap as nu, ar as ru, as as su, at as ou, au, am as lu, aq as cu, ag as du, ah as uu, av as hu, ak as fu, al as gu, ax as pu, ay as mu, az as vu, aA as yu } from "./hooks-oOrCwtSB.js";
6
+ import { L as Hn, C as Es, i as Bn, D as Ds, S as Zi, a as Rs, f as di, b as lt, c as Ss, A as Ns, d as Ot, e as Fn, E as As, g as zt, h as Os, j as ks, k as Ts, l as Xe, m as Wn, u as zs, G as Ps, n as Ms, o as Qi, p as Ls, q as Gn, r as Is, B as $n, X as jn, Y as yi, s as Hs, t as Un, v as Bs, w as Fs, x as Ws, y as Gs, z as $s, F as js, H as Us, I as Ks, J as en, K as Xs, M as ct, N as ui, O as Ys, P as Vs, Q as qs, R as Js, T as Zs, U as Qs, V as eo, W as to, Z as io, _ as no, $ as ro, a0 as tn, a1 as so, a2 as oo, a3 as Kn, a4 as ao, a5 as lo, a6 as nn, a7 as co, a8 as Xn, a9 as uo, aa as ho, ab as fo, ac as go } from "./hooks-qwjhcY7r.js";
7
+ import { aw as Vd, ad as qd, ae as Jd, af as Zd, ai as Qd, aj as eu, an as tu, ao as iu, ap as nu, ar as ru, as as su, at as ou, au, am as lu, aq as cu, ag as du, ah as uu, av as hu, ak as fu, al as gu, ax as pu, ay as mu, az as vu, aA as yu } from "./hooks-qwjhcY7r.js";
8
8
  import { defaultTranslations as xu } from "./i18n-provider-defaults.js";
9
9
  import './f0.css';const po = {
10
10
  xs: 1,
@@ -1,7 +1,7 @@
1
1
  import { jsx as _, jsxs as K, Fragment as St } from "react/jsx-runtime";
2
2
  import * as ue from "react";
3
3
  import T, { useRef as Vt, useState as Te, useCallback as rr, useEffect as Ue, useContext as it, useMemo as Qe, useLayoutEffect as Yw, createContext as Lt, isValidElement as It, Children as zr, PureComponent as Et, forwardRef as De, useImperativeHandle as nE, cloneElement as Le, createElement as Xw, Component as Zw, useId as aE } from "react";
4
- import { bg as Zv, be as iE, dh as oE, B as On, aC as Jw, c as Z, aD as Qw, aw as sE, ax as uE, a as ms, di as Vi, br as xe, D as cE, dj as lE, dk as fE, aI as eO, dl as dE, dm as pE, bJ as ih, dn as hE, F as vt, E as gs, aT as tO, b0 as oh, au as rO, dp as pn, dq as vE, dr as yE, ds as mE, dt as Jv, du as Qv, dv as ey, dw as ty, dx as ry, dy as nO, dz as fo, dA as gE, dB as bE, cp as Ba, dC as xE, cM as aO, cN as iO, cO as oO, q as sO, V as Qr, r as uO, s as cO, bO as sh, g as le, c9 as wE, bz as uh, bA as ch, bB as lh, bE as fh, b3 as OE, b5 as dh, d3 as SE, cn as _E, ay as AE, av as PE, cv as Ei, u as Jn, aU as EE, by as TE, L as Ut, a9 as lO, Y as CE, Z as fO, _ as jE, d8 as bs, dD as ME, O as Ti, aR as $E, aF as IE, aY as kE, aG as dO, a$ as NE, m as DE, z as ph, e as RE, a4 as LE, n as qE, bL as BE, S as xt, w as pO, dE as hO, y as FE, K as vO, t as zE, cV as $e, dF as yO, dG as mO, dH as Pd, dI as WE, dJ as ny, P as UE, l as HE, o as KE, df as VE, aa as GE, d5 as YE, az as XE, dK as ZE, f as JE, G as QE, H as eT, J as tT, M as rT } from "./index-ematjx0Y.js";
4
+ import { bg as Zv, be as iE, dh as oE, B as On, aC as Jw, c as Z, aD as Qw, aw as sE, ax as uE, a as ms, di as Vi, br as xe, D as cE, dj as lE, dk as fE, aI as eO, dl as dE, dm as pE, bJ as ih, dn as hE, F as vt, E as gs, aT as tO, b0 as oh, au as rO, dp as pn, dq as vE, dr as yE, ds as mE, dt as Jv, du as Qv, dv as ey, dw as ty, dx as ry, dy as nO, dz as fo, dA as gE, dB as bE, cp as Ba, dC as xE, cM as aO, cN as iO, cO as oO, q as sO, V as Qr, r as uO, s as cO, bO as sh, g as le, c9 as wE, bz as uh, bA as ch, bB as lh, bE as fh, b3 as OE, b5 as dh, d3 as SE, cn as _E, ay as AE, av as PE, cv as Ei, u as Jn, aU as EE, by as TE, L as Ut, a9 as lO, Y as CE, Z as fO, _ as jE, d8 as bs, dD as ME, O as Ti, aR as $E, aF as IE, aY as kE, aG as dO, a$ as NE, m as DE, z as ph, e as RE, a4 as LE, n as qE, bL as BE, S as xt, w as pO, dE as hO, y as FE, K as vO, t as zE, cV as $e, dF as yO, dG as mO, dH as Pd, dI as WE, dJ as ny, P as UE, l as HE, o as KE, df as VE, aa as GE, d5 as YE, az as XE, dK as ZE, f as JE, G as QE, H as eT, J as tT, M as rT } from "./index-B3ge4hTD.js";
5
5
  function nT(e) {
6
6
  return Object.prototype.toString.call(e) === "[object Object]";
7
7
  }
@@ -458,28 +458,11 @@ declare global {
458
458
  }
459
459
  }
460
460
 
461
- declare module "gridstack" {
462
- interface GridStackWidget {
463
- id?: string;
464
- allowedSizes?: Array<{
465
- w: number;
466
- h: number;
467
- }>;
468
- meta?: Record<string, unknown>;
469
- }
470
- interface GridStackNode {
471
- allowedSizes?: Array<{
472
- w: number;
473
- h: number;
474
- }>;
475
- }
476
- }
477
-
478
461
 
479
462
  declare module "@tiptap/core" {
480
463
  interface Commands<ReturnType> {
481
- liveCompanion: {
482
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
464
+ aiBlock: {
465
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
483
466
  };
484
467
  }
485
468
  }
@@ -487,8 +470,8 @@ declare module "@tiptap/core" {
487
470
 
488
471
  declare module "@tiptap/core" {
489
472
  interface Commands<ReturnType> {
490
- aiBlock: {
491
- insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
473
+ liveCompanion: {
474
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
492
475
  };
493
476
  }
494
477
  }
@@ -502,6 +485,23 @@ declare module "@tiptap/core" {
502
485
  }
503
486
  }
504
487
 
488
+ declare module "gridstack" {
489
+ interface GridStackWidget {
490
+ id?: string;
491
+ allowedSizes?: Array<{
492
+ w: number;
493
+ h: number;
494
+ }>;
495
+ meta?: Record<string, unknown>;
496
+ }
497
+ interface GridStackNode {
498
+ allowedSizes?: Array<{
499
+ w: number;
500
+ h: number;
501
+ }>;
502
+ }
503
+ }
504
+
505
505
 
506
506
  declare module "@tiptap/core" {
507
507
  interface Commands<ReturnType> {
@@ -87120,11 +87120,12 @@ const I71 = ({ text: e }) => o("div", {
87120
87120
  }))
87121
87121
  })
87122
87122
  }), !N && o("div", {
87123
- className: a2("pointer-events-none absolute bottom-0 left-0 top-[1px] z-10 flex flex-1 justify-start px-3 text-f1-foreground-secondary transition-opacity", (m || s2) && "pl-8", (m || s2) && h === "md" && "pl-9", ri({
87123
+ className: a2("pointer-events-none absolute bottom-0 left-0 top-[1px] z-10 flex flex-1 justify-start px-3 text-f1-foreground-secondary transition-opacity line-clamp-1", (m || s2) && "pl-8", (m || s2) && h === "md" && "pl-9", ri({
87124
87124
  size: h
87125
87125
  }), y && !j && E(y2) && !k2 ? "opacity-100" : "opacity-0"),
87126
87126
  onClick: d2,
87127
87127
  "aria-hidden": "true",
87128
+ title: y,
87128
87129
  children: y
87129
87130
  }), (H || U2 || v) && w("div", {
87130
87131
  className: a2("flex h-fit min-w-6 items-center gap-1.5 self-center pr-[3px]", h === "md" && "pr-[7px]", "relative"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "1.330.0",
3
+ "version": "1.330.1",
4
4
  "main": "dist/f0.js",
5
5
  "typings": "dist/f0.d.ts",
6
6
  "private": false,