@factorialco/f0-react 1.320.0 → 1.321.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.
@@ -1988,10 +1988,11 @@ export declare type DataSourceDefinition<R extends RecordType = RecordType, Filt
1988
1988
  currentGrouping?: GroupingState<R, Grouping>;
1989
1989
  /*******************************************************/
1990
1990
  /***** NESTED RECORDS ***************************************************/
1991
- fetchChildren?: ({ item, filters, pagination, }: {
1991
+ fetchChildren?: ({ item, filters, pagination, sortings, }: {
1992
1992
  item: R;
1993
1993
  filters?: FiltersState<Filters>;
1994
1994
  pagination?: ChildrenPaginationInfo;
1995
+ sortings?: SortingsState<Sortings>;
1995
1996
  }) => Promise<ChildrenResponse<R>>;
1996
1997
  /** Function to determine if an item has children */
1997
1998
  itemsWithChildren?: (item: R) => boolean;
@@ -6405,28 +6406,11 @@ declare global {
6405
6406
  }
6406
6407
  }
6407
6408
 
6408
- declare module "gridstack" {
6409
- interface GridStackWidget {
6410
- id?: string;
6411
- allowedSizes?: Array<{
6412
- w: number;
6413
- h: number;
6414
- }>;
6415
- meta?: Record<string, unknown>;
6416
- }
6417
- interface GridStackNode {
6418
- allowedSizes?: Array<{
6419
- w: number;
6420
- h: number;
6421
- }>;
6422
- }
6423
- }
6424
-
6425
6409
 
6426
6410
  declare module "@tiptap/core" {
6427
6411
  interface Commands<ReturnType> {
6428
- aiBlock: {
6429
- insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
6412
+ liveCompanion: {
6413
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
6430
6414
  };
6431
6415
  }
6432
6416
  }
@@ -6434,8 +6418,8 @@ declare module "@tiptap/core" {
6434
6418
 
6435
6419
  declare module "@tiptap/core" {
6436
6420
  interface Commands<ReturnType> {
6437
- liveCompanion: {
6438
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
6421
+ aiBlock: {
6422
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
6439
6423
  };
6440
6424
  }
6441
6425
  }
@@ -6449,9 +6433,21 @@ declare module "@tiptap/core" {
6449
6433
  }
6450
6434
  }
6451
6435
 
6452
-
6453
- declare namespace Calendar {
6454
- var displayName: string;
6436
+ declare module "gridstack" {
6437
+ interface GridStackWidget {
6438
+ id?: string;
6439
+ allowedSizes?: Array<{
6440
+ w: number;
6441
+ h: number;
6442
+ }>;
6443
+ meta?: Record<string, unknown>;
6444
+ }
6445
+ interface GridStackNode {
6446
+ allowedSizes?: Array<{
6447
+ w: number;
6448
+ h: number;
6449
+ }>;
6450
+ }
6455
6451
  }
6456
6452
 
6457
6453
 
@@ -6462,3 +6458,8 @@ declare module "@tiptap/core" {
6462
6458
  };
6463
6459
  }
6464
6460
  }
6461
+
6462
+
6463
+ declare namespace Calendar {
6464
+ var displayName: string;
6465
+ }
@@ -1,5 +1,5 @@
1
- import { bV as Nm, bW as Mc, bX as aT, bY as lT, bZ as Om, b_ as Ny, b$ as Cs, aB as Xu, c0 as _s, c1 as Yu, c2 as ho, c3 as kf, aF as Ni, c4 as Qa, c5 as Fm, c6 as cT, e as ms, c7 as Nc, c8 as fT, c9 as dT, ca as uT, cb as hT, cc as Dm, cd as Oy, ce as Fy, cf as pT, cg as mT, ch as gT, d as oa, ci as Im, cj as wf, ck as vT, cl as Dy, cm as Rm, cn as Pm, co as yT, cp as xT, cq as Qu, cr as Iy, aO as kT, cs as Bm, ct as wT, cu as bf, cv as bT, cw as CT, cx as _T, cy as ST, cz as ET, cA as gh, cB as LT, cC as TT, cD as AT, m as ye, cE as Ry, cF as MT, cG as Cf, l as Ha, cH as Oc, z as l1, cI as Py, x as Qf, cJ as NT, n as vh, cK as OT, q as FT, r as ed, i as DT, H as IT, J as RT, t as Yg, cL as PT, G as Qg, cM as BT, N as HT, cN as By, cO as Hy, cP as $T, cQ as VT, cR as zT, D as $y, cS as e5, cT as td, cU as jT, cV as Hm, cW as Vy, cX as zp, c as D, a as Oi, b as Ge, cY as zy, cZ as jy, c_ as Wy, c$ as Uy, d0 as qy, aq as $t, d1 as Gy, A as ut, F as Ve, d2 as Ky, d3 as Zy, B as Gt, d4 as Jy, d5 as Xy, aG as Ee, S as ge, d6 as yr, d7 as WT, d8 as UT, d9 as e0, da as Yy, C as qT, bx as GT, db as Li, aA as Uo, g as hn, dc as $m, dd as Qy, de as KT, df as Fc, dg as ZT, dh as JT, di as XT, dj as YT, bR as bl, dk as gs, bk as rs, dl as QT, bg as eA, dm as c1, dn as tA, f as aa, dp as qo, dq as e7, dr as nA, ds as t5, dt as el, du as Vm, dv as _f, dw as f1, dx as iA, dy as t7, dz as rA, dA as zm, dB as Dc, dC as Ti, dD as sA, dE as oA, dF as Rs, dG as yh, dH as aA, dI as ec, dJ as Ta, dK as lA, dL as n7, dM as cA, dN as fA, dO as dA, dP as uA, O as Yn, w as rn, U as hA, Z as pA, _ as mA, a0 as gA, a5 as n5, a6 as i5, a7 as vA, a8 as yA, dQ as xA, dR as xh, dS as $a, dT as jm, dU as kA, dV as wA, dW as bA, be as CA, dX as _A, bS as Sf, bd as d1, dY as jp, dZ as i7, h as Fi, d_ as t0, b8 as vs, d$ as SA, e0 as EA, e1 as r7, b6 as pr, as as Zi, e2 as LA, e3 as s7, e4 as o7, e5 as Cl, e6 as Wm, bl as Ic, e7 as TA, e8 as a7, e9 as AA, ea as MA, ao as Um, ap as qm, ar as Gm, eb as l7, ec as NA, ed as OA, ee as FA, ef as DA, eg as c7, aK as IA, eh as RA, ei as Wp, ej as f7, b3 as u1, ek as PA, el as BA, em as HA, en as $A, eo as VA, b0 as Up, ay as d7, bU as zA, bT as jA, ep as u7, az as to, eq as WA, er as UA, br as n0, b4 as Km, aZ as Ef, es as h7, b7 as qA, a$ as p7, aX as m7, et as i0, eu as GA, ev as g7, ew as KA, a_ as _l, b1 as v7, aM as ZA, ex as JA, bz as XA, bA as YA, bH as r0, bF as Zm, aI as s0, ey as o0, ez as a0, aJ as l0, eA as Jm, bG as y7, bc as Xm, eB as QA, bL as eM, eC as qp, eD as tM, eE as h1, eF as nM, bB as p1, bM as iM, eG as rM, bK as x7, eH as sM, bJ as oM, bI as aM, eI as lM, eJ as cM, eK as Ym, eL as fM, eM as dM, eN as uM, eO as hM, eP as pM, eQ as mM, eR as gM, eS as vM, u as k7, bn as yM, bE as xM, aC as kM, aD as wM, eT as bM, aE as CM, eU as _M, eV as SM, b2 as EM, eW as Lf, eX as Qm, b9 as e3, eY as t3, eZ as Tf, e_ as LM, e$ as w7, f0 as TM, f1 as AM, bN as b7, f2 as C7, bp as _7, f3 as MM, f4 as NM, f5 as OM, aL as FM, aa as DM, ab as IM, ad as RM, ae as PM, af as BM, ac as HM, f6 as r5, f7 as $M, f8 as VM, K as zM, f9 as S7, fa as jM } from "./hooks-DfJTw7RN.js";
2
- import { aN as t3e, fc as n3e, fb as i3e, fh as r3e, fi as s3e, fe as o3e, fd as a3e, fg as l3e, b5 as c3e, bf as f3e, ff as d3e, bm as u3e } from "./hooks-DfJTw7RN.js";
1
+ import { bV as Nm, bW as Mc, bX as aT, bY as lT, bZ as Om, b_ as Ny, b$ as Cs, aB as Xu, c0 as _s, c1 as Yu, c2 as ho, c3 as kf, aF as Ni, c4 as Qa, c5 as Fm, c6 as cT, e as ms, c7 as Nc, c8 as fT, c9 as dT, ca as uT, cb as hT, cc as Dm, cd as Oy, ce as Fy, cf as pT, cg as mT, ch as gT, d as oa, ci as Im, cj as wf, ck as vT, cl as Dy, cm as Rm, cn as Pm, co as yT, cp as xT, cq as Qu, cr as Iy, aO as kT, cs as Bm, ct as wT, cu as bf, cv as bT, cw as CT, cx as _T, cy as ST, cz as ET, cA as gh, cB as LT, cC as TT, cD as AT, m as ye, cE as Ry, cF as MT, cG as Cf, l as Ha, cH as Oc, z as l1, cI as Py, x as Qf, cJ as NT, n as vh, cK as OT, q as FT, r as ed, i as DT, H as IT, J as RT, t as Yg, cL as PT, G as Qg, cM as BT, N as HT, cN as By, cO as Hy, cP as $T, cQ as VT, cR as zT, D as $y, cS as e5, cT as td, cU as jT, cV as Hm, cW as Vy, cX as zp, c as D, a as Oi, b as Ge, cY as zy, cZ as jy, c_ as Wy, c$ as Uy, d0 as qy, aq as $t, d1 as Gy, A as ut, F as Ve, d2 as Ky, d3 as Zy, B as Gt, d4 as Jy, d5 as Xy, aG as Ee, S as ge, d6 as yr, d7 as WT, d8 as UT, d9 as e0, da as Yy, C as qT, bx as GT, db as Li, aA as Uo, g as hn, dc as $m, dd as Qy, de as KT, df as Fc, dg as ZT, dh as JT, di as XT, dj as YT, bR as bl, dk as gs, bk as rs, dl as QT, bg as eA, dm as c1, dn as tA, f as aa, dp as qo, dq as e7, dr as nA, ds as t5, dt as el, du as Vm, dv as _f, dw as f1, dx as iA, dy as t7, dz as rA, dA as zm, dB as Dc, dC as Ti, dD as sA, dE as oA, dF as Rs, dG as yh, dH as aA, dI as ec, dJ as Ta, dK as lA, dL as n7, dM as cA, dN as fA, dO as dA, dP as uA, O as Yn, w as rn, U as hA, Z as pA, _ as mA, a0 as gA, a5 as n5, a6 as i5, a7 as vA, a8 as yA, dQ as xA, dR as xh, dS as $a, dT as jm, dU as kA, dV as wA, dW as bA, be as CA, dX as _A, bS as Sf, bd as d1, dY as jp, dZ as i7, h as Fi, d_ as t0, b8 as vs, d$ as SA, e0 as EA, e1 as r7, b6 as pr, as as Zi, e2 as LA, e3 as s7, e4 as o7, e5 as Cl, e6 as Wm, bl as Ic, e7 as TA, e8 as a7, e9 as AA, ea as MA, ao as Um, ap as qm, ar as Gm, eb as l7, ec as NA, ed as OA, ee as FA, ef as DA, eg as c7, aK as IA, eh as RA, ei as Wp, ej as f7, b3 as u1, ek as PA, el as BA, em as HA, en as $A, eo as VA, b0 as Up, ay as d7, bU as zA, bT as jA, ep as u7, az as to, eq as WA, er as UA, br as n0, b4 as Km, aZ as Ef, es as h7, b7 as qA, a$ as p7, aX as m7, et as i0, eu as GA, ev as g7, ew as KA, a_ as _l, b1 as v7, aM as ZA, ex as JA, bz as XA, bA as YA, bH as r0, bF as Zm, aI as s0, ey as o0, ez as a0, aJ as l0, eA as Jm, bG as y7, bc as Xm, eB as QA, bL as eM, eC as qp, eD as tM, eE as h1, eF as nM, bB as p1, bM as iM, eG as rM, bK as x7, eH as sM, bJ as oM, bI as aM, eI as lM, eJ as cM, eK as Ym, eL as fM, eM as dM, eN as uM, eO as hM, eP as pM, eQ as mM, eR as gM, eS as vM, u as k7, bn as yM, bE as xM, aC as kM, aD as wM, eT as bM, aE as CM, eU as _M, eV as SM, b2 as EM, eW as Lf, eX as Qm, b9 as e3, eY as t3, eZ as Tf, e_ as LM, e$ as w7, f0 as TM, f1 as AM, bN as b7, f2 as C7, bp as _7, f3 as MM, f4 as NM, f5 as OM, aL as FM, aa as DM, ab as IM, ad as RM, ae as PM, af as BM, ac as HM, f6 as r5, f7 as $M, f8 as VM, K as zM, f9 as S7, fa as jM } from "./hooks-DnjVwxqF.js";
2
+ import { aN as t3e, fc as n3e, fb as i3e, fh as r3e, fi as s3e, fe as o3e, fd as a3e, fg as l3e, b5 as c3e, bf as f3e, ff as d3e, bm as u3e } from "./hooks-DnjVwxqF.js";
3
3
  import { jsxs as x, jsx as f, Fragment as Je } from "react/jsx-runtime";
4
4
  import * as st from "react";
5
5
  import ve, { forwardRef as V, useContext as vi, useState as J, useEffect as Le, createContext as yi, useRef as _e, PureComponent as WM, useTransition as UM, useLayoutEffect as la, useCallback as Qe, useMemo as we, useId as Sl, memo as Af, Fragment as Rr, isValidElement as E7, cloneElement as n3, createElement as Gp, useDebugValue as L7, createRef as qM, version as s5, useImperativeHandle as c0, Children as T7 } from "react";
@@ -39055,7 +39055,8 @@ const UC = (t, e, n) => {
39055
39055
  const m = await n.fetchChildren?.({
39056
39056
  item: e,
39057
39057
  filters: n.currentFilters,
39058
- pagination: a
39058
+ pagination: a,
39059
+ sortings: n.currentSortings
39059
39060
  }), g = Av(m), v = [...s, ...g];
39060
39061
  o(v);
39061
39062
  const y = {
package/dist/f0.d.ts CHANGED
@@ -1416,10 +1416,11 @@ export declare type DataSourceDefinition<R extends RecordType = RecordType, Filt
1416
1416
  currentGrouping?: GroupingState<R, Grouping>;
1417
1417
  /*******************************************************/
1418
1418
  /***** NESTED RECORDS ***************************************************/
1419
- fetchChildren?: ({ item, filters, pagination, }: {
1419
+ fetchChildren?: ({ item, filters, pagination, sortings, }: {
1420
1420
  item: R;
1421
1421
  filters?: FiltersState<Filters>;
1422
1422
  pagination?: ChildrenPaginationInfo;
1423
+ sortings?: SortingsState<Sortings>;
1423
1424
  }) => Promise<ChildrenResponse<R>>;
1424
1425
  /** Function to determine if an item has children */
1425
1426
  itemsWithChildren?: (item: R) => boolean;
@@ -5118,28 +5119,11 @@ declare global {
5118
5119
  }
5119
5120
  }
5120
5121
 
5121
- declare module "gridstack" {
5122
- interface GridStackWidget {
5123
- id?: string;
5124
- allowedSizes?: Array<{
5125
- w: number;
5126
- h: number;
5127
- }>;
5128
- meta?: Record<string, unknown>;
5129
- }
5130
- interface GridStackNode {
5131
- allowedSizes?: Array<{
5132
- w: number;
5133
- h: number;
5134
- }>;
5135
- }
5136
- }
5137
-
5138
5122
 
5139
5123
  declare module "@tiptap/core" {
5140
5124
  interface Commands<ReturnType> {
5141
- aiBlock: {
5142
- insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
5125
+ liveCompanion: {
5126
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
5143
5127
  };
5144
5128
  }
5145
5129
  }
@@ -5147,8 +5131,8 @@ declare module "@tiptap/core" {
5147
5131
 
5148
5132
  declare module "@tiptap/core" {
5149
5133
  interface Commands<ReturnType> {
5150
- liveCompanion: {
5151
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
5134
+ aiBlock: {
5135
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
5152
5136
  };
5153
5137
  }
5154
5138
  }
@@ -5162,9 +5146,21 @@ declare module "@tiptap/core" {
5162
5146
  }
5163
5147
  }
5164
5148
 
5165
-
5166
- declare namespace Calendar {
5167
- var displayName: string;
5149
+ declare module "gridstack" {
5150
+ interface GridStackWidget {
5151
+ id?: string;
5152
+ allowedSizes?: Array<{
5153
+ w: number;
5154
+ h: number;
5155
+ }>;
5156
+ meta?: Record<string, unknown>;
5157
+ }
5158
+ interface GridStackNode {
5159
+ allowedSizes?: Array<{
5160
+ w: number;
5161
+ h: number;
5162
+ }>;
5163
+ }
5168
5164
  }
5169
5165
 
5170
5166
 
@@ -5175,3 +5171,8 @@ declare module "@tiptap/core" {
5175
5171
  };
5176
5172
  }
5177
5173
  }
5174
+
5175
+
5176
+ declare namespace Calendar {
5177
+ var displayName: string;
5178
+ }
package/dist/f0.js CHANGED
@@ -1,5 +1,5 @@
1
- import { L as En, C as Kr, c as U, a as Di, u as Dn, m as Ri, i as Rn, B as Si, O as Xr, p as Yr, w as Sn, S as xe, b as Nn, F as An, d as Vr, A as qr, D as Jr, e as Zr, f as we, g as Qr, h as me, j as qi, k as es, l as di, n as lt, o as ts, q as is, r as At, s as On, E as ns, t as zt, v as rs, x as ss, y as os, z as as, G as Xe, H as kn, I as ls, J as cs, K as ds, M as Ji, N as us, P as Tn, Q as hs, R as zn, X as Pn, Y as vi, T as fs, U as Mn, V as gs, W as ps, Z as ms, _ as vs, $ as ys, a0 as bs, a1 as xs, a2 as ws, a3 as Zi, a4 as Cs, a5 as ct, a6 as ui, a7 as _s, a8 as Es, a9 as Ds, aa as Rs, ab as Ss, ac as Ns, ad as As, ae as Os, af as ks, ag as Ts, ah as zs, ai as Qi, aj as Ps, ak as Ms, al as Ln, am as Ls, an as Mt, ao as In, ap as Hn, aq as Is, ar as Bn, as as Fn, at as Wn, au as Hs, av as Bs, aw as en, ax as Fs, ay as Gn, az as Ws, aA as Gs, aB as $s, aC as Us, aD as js, aE as Ks, aF as $n, aG as qe, aH as Un, aI as Xs, aJ as Ys, aK as tn, aL as Vs, aM as jn, aN as qs, aO as Js, aP as Zs, aQ as Qs, aR as eo, aS as to, aT as io, aU as no, aV as ro, aW as so, aX as oo, aY as ao } from "./hooks-DfJTw7RN.js";
2
- import { bw as ud, bJ as hd, bS as fd, aZ as gd, a_ as pd, a$ as md, b0 as vd, b1 as yd, b2 as bd, b3 as xd, b4 as wd, b6 as Cd, b7 as _d, b8 as Ed, b9 as Dd, bc as Rd, bd as Sd, be as Nd, bg as Ad, bh as Od, bi as kd, bO as Td, bk as zd, bl as Pd, bp as Md, bq as Ld, br as Id, bt as Hd, bu as Bd, bv as Fd, by as Wd, bn as Gd, bx as $d, bo as Ud, bs as jd, bP as Kd, ba as Xd, bb as Yd, bI as Vd, bD as qd, bG as Jd, bC as Zd, bT as Qd, bB as eu, bA as tu, b5 as iu, bf as nu, bm as ru, bz as su, bE as ou, bK as au, bL as lu, bM as cu, bU as du, bj as uu, bF as hu, bN as fu, bR as gu, bH as pu, bQ as mu } from "./hooks-DfJTw7RN.js";
1
+ import { L as En, C as Kr, c as U, a as Di, u as Dn, m as Ri, i as Rn, B as Si, O as Xr, p as Yr, w as Sn, S as xe, b as Nn, F as An, d as Vr, A as qr, D as Jr, e as Zr, f as we, g as Qr, h as me, j as qi, k as es, l as di, n as lt, o as ts, q as is, r as At, s as On, E as ns, t as zt, v as rs, x as ss, y as os, z as as, G as Xe, H as kn, I as ls, J as cs, K as ds, M as Ji, N as us, P as Tn, Q as hs, R as zn, X as Pn, Y as vi, T as fs, U as Mn, V as gs, W as ps, Z as ms, _ as vs, $ as ys, a0 as bs, a1 as xs, a2 as ws, a3 as Zi, a4 as Cs, a5 as ct, a6 as ui, a7 as _s, a8 as Es, a9 as Ds, aa as Rs, ab as Ss, ac as Ns, ad as As, ae as Os, af as ks, ag as Ts, ah as zs, ai as Qi, aj as Ps, ak as Ms, al as Ln, am as Ls, an as Mt, ao as In, ap as Hn, aq as Is, ar as Bn, as as Fn, at as Wn, au as Hs, av as Bs, aw as en, ax as Fs, ay as Gn, az as Ws, aA as Gs, aB as $s, aC as Us, aD as js, aE as Ks, aF as $n, aG as qe, aH as Un, aI as Xs, aJ as Ys, aK as tn, aL as Vs, aM as jn, aN as qs, aO as Js, aP as Zs, aQ as Qs, aR as eo, aS as to, aT as io, aU as no, aV as ro, aW as so, aX as oo, aY as ao } from "./hooks-DnjVwxqF.js";
2
+ import { bw as ud, bJ as hd, bS as fd, aZ as gd, a_ as pd, a$ as md, b0 as vd, b1 as yd, b2 as bd, b3 as xd, b4 as wd, b6 as Cd, b7 as _d, b8 as Ed, b9 as Dd, bc as Rd, bd as Sd, be as Nd, bg as Ad, bh as Od, bi as kd, bO as Td, bk as zd, bl as Pd, bp as Md, bq as Ld, br as Id, bt as Hd, bu as Bd, bv as Fd, by as Wd, bn as Gd, bx as $d, bo as Ud, bs as jd, bP as Kd, ba as Xd, bb as Yd, bI as Vd, bD as qd, bG as Jd, bC as Zd, bT as Qd, bB as eu, bA as tu, b5 as iu, bf as nu, bm as ru, bz as su, bE as ou, bK as au, bL as lu, bM as cu, bU as du, bj as uu, bF as hu, bN as fu, bR as gu, bH as pu, bQ as mu } from "./hooks-DnjVwxqF.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 lo, Children as Lt, createContext as Ae, useContext as _e, useState as B, useMemo as H, useEffect as I, useCallback as j, useLayoutEffect as yi, createElement as nn, isValidElement as Kn, Fragment as co, memo as uo, useReducer as ho, cloneElement as fo, PureComponent as go } from "react";
5
5
  import { createPortal as Xn, unstable_batchedUpdates as Ot } from "react-dom";
@@ -111701,7 +111701,7 @@ const Uz1 = aX, qk = B(({ wrapperClassName: e, className: t, children: n, withTr
111701
111701
  className: o2("fixed inset-0 z-50 flex items-center justify-center", "pointer-events-none duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95", r && "data-[state=closed]:slide-out-to-top-[10%] data-[state=open]:slide-in-from-top-[10%]", e),
111702
111702
  ...a,
111703
111703
  children: i("div", {
111704
- className: o2("relative flex w-[90%] flex-col rounded-xl border bg-f1-background shadow-lg", "pointer-events-auto", t),
111704
+ className: o2("relative flex w-[90%] flex-col rounded-xl bg-f1-background shadow-lg", "pointer-events-auto", t),
111705
111705
  children: n
111706
111706
  })
111707
111707
  })]
@@ -113003,13 +113003,13 @@ const ZB1 = W1({
113003
113003
  variants: {
113004
113004
  variant: {
113005
113005
  bottomSheet: "max-h-[95vh] bg-f1-background",
113006
- sidePosition: "absolute bottom-3 top-3 flex w-full translate-x-0 translate-y-0 flex-col rounded-md border border-solid border-f1-border-secondary",
113006
+ sidePosition: "absolute flex flex-col rounded-md w-full",
113007
113007
  center: "flex",
113008
113008
  fullscreen: ""
113009
113009
  },
113010
113010
  position: {
113011
- right: "left-auto right-3 items-end",
113012
- left: "left-3 items-start",
113011
+ right: "left-auto right-0 items-end p-3",
113012
+ left: "left-0 items-start p-3",
113013
113013
  center: "",
113014
113014
  fullscreen: "inset-6"
113015
113015
  }
@@ -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
- aiBlock: {
482
- insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
464
+ liveCompanion: {
465
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => 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
- liveCompanion: {
491
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
473
+ aiBlock: {
474
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
492
475
  };
493
476
  }
494
477
  }
@@ -502,9 +485,21 @@ declare module "@tiptap/core" {
502
485
  }
503
486
  }
504
487
 
505
-
506
- declare namespace Calendar {
507
- var displayName: string;
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
+ }
508
503
  }
509
504
 
510
505
 
@@ -515,3 +510,8 @@ declare module "@tiptap/core" {
515
510
  };
516
511
  }
517
512
  }
513
+
514
+
515
+ declare namespace Calendar {
516
+ var displayName: string;
517
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "1.320.0",
3
+ "version": "1.321.0",
4
4
  "main": "dist/f0.js",
5
5
  "typings": "dist/f0.d.ts",
6
6
  "private": false,