@factorialco/f0-react 1.283.0 → 1.284.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.
package/dist/f0.d.ts CHANGED
@@ -1717,6 +1717,7 @@ export declare const defaultTranslations: {
1717
1717
  readonly ai: {
1718
1718
  readonly openChat: "Open Chat with One AI";
1719
1719
  readonly closeChat: "Close Chat with One AI";
1720
+ readonly startNewChat: "Start new chat";
1720
1721
  readonly scrollToBottom: "Scroll to bottom";
1721
1722
  readonly welcome: "Ask or create with One";
1722
1723
  readonly defaultInitialMessage: "How can I help you today?";
@@ -4346,6 +4347,31 @@ declare global {
4346
4347
  }
4347
4348
 
4348
4349
 
4350
+ declare module "gridstack" {
4351
+ interface GridStackWidget {
4352
+ id?: string;
4353
+ allowedSizes?: Array<{
4354
+ w: number;
4355
+ h: number;
4356
+ }>;
4357
+ renderFn?: () => React.ReactElement | null;
4358
+ meta?: Record<string, unknown>;
4359
+ }
4360
+ interface GridStackNode {
4361
+ id?: string;
4362
+ w?: number;
4363
+ h?: number;
4364
+ x?: number;
4365
+ y?: number;
4366
+ allowedSizes?: Array<{
4367
+ w: number;
4368
+ h: number;
4369
+ }>;
4370
+ renderFn?: () => React.ReactElement | null;
4371
+ }
4372
+ }
4373
+
4374
+
4349
4375
  declare module "@tiptap/core" {
4350
4376
  interface Commands<ReturnType> {
4351
4377
  aiBlock: {
@@ -4373,31 +4399,6 @@ declare module "@tiptap/core" {
4373
4399
  }
4374
4400
 
4375
4401
 
4376
- declare module "gridstack" {
4377
- interface GridStackWidget {
4378
- id?: string;
4379
- allowedSizes?: Array<{
4380
- w: number;
4381
- h: number;
4382
- }>;
4383
- renderFn?: () => React.ReactElement | null;
4384
- meta?: Record<string, unknown>;
4385
- }
4386
- interface GridStackNode {
4387
- id?: string;
4388
- w?: number;
4389
- h?: number;
4390
- x?: number;
4391
- y?: number;
4392
- allowedSizes?: Array<{
4393
- w: number;
4394
- h: number;
4395
- }>;
4396
- renderFn?: () => React.ReactElement | null;
4397
- }
4398
- }
4399
-
4400
-
4401
4402
  declare namespace Calendar {
4402
4403
  var displayName: string;
4403
4404
  }
package/dist/f0.js CHANGED
@@ -1,5 +1,5 @@
1
- import { S as We, a as qt, f as Ee, L as J, b as Kt, A as Vt, i as ae, c as tt, d as it, E as Yt, g as he, e as Xt, h as Jt, C as Qt, j as Zt, k as K, l as st, u as ei, G as ti, m as ii, n as $e, o as si, p as rt, q as ri, B as nt, X as ot, Y as De, r as ni, s as at, t as oi, v as ai, w as li, x as hi, y as di, z as ci, D as ui, F as fi, H as je, I as gi, J as Q, K as Ne, M as pi, N as mi, O as vi, P as lt, Q as L, R as I, T as yi, U as bi, V as wi, W as xi, Z as _i, _ as Ci, $ as Ei, a0 as ht, a1 as Ni, a2 as de, a3 as dt, a4 as ct, a5 as Ri, a6 as ut, a7 as ft, a8 as gt, a9 as pt, aa as Di, ab as Si, ac as mt, ad as zi, ae as ki, af as vt, ag as Pi, ah as yt, ai as Ai, aj as Ti, ak as Oi, al as Li, am as Mi, an as Hi, ao as Bi, ap as Ii, aq as bt, ar as V, as as wt, at as Fi, au as Gi, av as Ue, aw as Wi, ax as xt, ay as $i, az as ji, aA as Ui, aB as qi, aC as Ki, aD as Vi, aE as Yi, aF as Xi, aG as Ji, aH as Qi, aI as Zi, aJ as es } from "./hooks-DKxMU3Et.js";
2
- import { ba as Gr, bn as Wr, bw as $r, aK as jr, aL as Ur, aM as qr, aN as Kr, aO as Vr, aP as Yr, aQ as Xr, aR as Jr, aT as Qr, aU as Zr, aV as en, aW as tn, aX as sn, aY as rn, aZ as nn, bs as on, a$ as an, b1 as ln, b2 as hn, b3 as dn, b4 as cn, b7 as un, b8 as fn, b9 as gn, bc as pn, b0 as mn, bb as vn, b6 as yn, bt as bn, bm as wn, bh as xn, bk as _n, bg as Cn, bx as En, bf as Nn, be as Rn, aS as Dn, a_ as Sn, b5 as zn, bd as kn, bi as Pn, bo as An, bp as Tn, bq as On, by as Ln, bj as Mn, br as Hn, bv as Bn, bl as In, bu as Fn } from "./hooks-DKxMU3Et.js";
1
+ import { S as We, a as qt, f as Ee, L as J, b as Kt, A as Vt, i as ae, c as tt, d as it, E as Yt, g as he, e as Xt, h as Jt, C as Qt, j as Zt, k as K, l as st, u as ei, G as ti, m as ii, n as $e, o as si, p as rt, q as ri, B as nt, X as ot, Y as De, r as ni, s as at, t as oi, v as ai, w as li, x as hi, y as di, z as ci, D as ui, F as fi, H as je, I as gi, J as Q, K as Ne, M as pi, N as mi, O as vi, P as lt, Q as L, R as I, T as yi, U as bi, V as wi, W as xi, Z as _i, _ as Ci, $ as Ei, a0 as ht, a1 as Ni, a2 as de, a3 as dt, a4 as ct, a5 as Ri, a6 as ut, a7 as ft, a8 as gt, a9 as pt, aa as Di, ab as Si, ac as mt, ad as zi, ae as ki, af as vt, ag as Pi, ah as yt, ai as Ai, aj as Ti, ak as Oi, al as Li, am as Mi, an as Hi, ao as Bi, ap as Ii, aq as bt, ar as V, as as wt, at as Fi, au as Gi, av as Ue, aw as Wi, ax as xt, ay as $i, az as ji, aA as Ui, aB as qi, aC as Ki, aD as Vi, aE as Yi, aF as Xi, aG as Ji, aH as Qi, aI as Zi, aJ as es } from "./hooks-DOxjzQyl.js";
2
+ import { ba as Gr, bn as Wr, bw as $r, aK as jr, aL as Ur, aM as qr, aN as Kr, aO as Vr, aP as Yr, aQ as Xr, aR as Jr, aT as Qr, aU as Zr, aV as en, aW as tn, aX as sn, aY as rn, aZ as nn, bs as on, a$ as an, b1 as ln, b2 as hn, b3 as dn, b4 as cn, b7 as un, b8 as fn, b9 as gn, bc as pn, b0 as mn, bb as vn, b6 as yn, bt as bn, bm as wn, bh as xn, bk as _n, bg as Cn, bx as En, bf as Nn, be as Rn, aS as Dn, a_ as Sn, b5 as zn, bd as kn, bi as Pn, bo as An, bp as Tn, bq as On, by as Ln, bj as Mn, br as Hn, bv as Bn, bl as In, bu as Fn } from "./hooks-DOxjzQyl.js";
3
3
  import { jsx as g, jsxs as R, Fragment as we } from "react/jsx-runtime";
4
4
  import * as Pe from "react";
5
5
  import z, { PureComponent as ts, useState as M, forwardRef as j, createElement as qe, useRef as Z, useImperativeHandle as _t, Children as is, createContext as xe, useContext as Ct, useCallback as q, useEffect as ce, useLayoutEffect as Ke, useMemo as Et } from "react";
@@ -330,6 +330,7 @@ import './f0.css';const rs = {
330
330
  ai: {
331
331
  openChat: "Open Chat with One AI",
332
332
  closeChat: "Close Chat with One AI",
333
+ startNewChat: "Start new chat",
333
334
  scrollToBottom: "Scroll to bottom",
334
335
  welcome: "Ask or create with One",
335
336
  defaultInitialMessage: "How can I help you today?",
@@ -109266,10 +109266,10 @@ export {
109266
109266
  T8 as cl,
109267
109267
  e1 as cm,
109268
109268
  i2 as cn,
109269
- Hr as co,
109270
- sn as cp,
109271
- f2 as cq,
109272
- Ze as cr,
109269
+ Ze as co,
109270
+ Hr as cp,
109271
+ sn as cq,
109272
+ f2 as cr,
109273
109273
  Pw as cs,
109274
109274
  In as ct,
109275
109275
  L8 as cu,