@factorialco/f0-react 1.390.1 → 1.390.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.
package/dist/ai.d.ts CHANGED
@@ -1433,11 +1433,6 @@ declare module "gridstack" {
1433
1433
  }
1434
1434
 
1435
1435
 
1436
- declare namespace Calendar {
1437
- var displayName: string;
1438
- }
1439
-
1440
-
1441
1436
  declare module "@tiptap/core" {
1442
1437
  interface Commands<ReturnType> {
1443
1438
  aiBlock: {
@@ -1469,8 +1464,10 @@ declare module "@tiptap/core" {
1469
1464
 
1470
1465
  declare module "@tiptap/core" {
1471
1466
  interface Commands<ReturnType> {
1472
- transcript: {
1473
- insertTranscript: (data: TranscriptData) => ReturnType;
1467
+ videoEmbed: {
1468
+ setVideoEmbed: (options: {
1469
+ src: string;
1470
+ }) => ReturnType;
1474
1471
  };
1475
1472
  }
1476
1473
  }
@@ -1478,10 +1475,13 @@ declare module "@tiptap/core" {
1478
1475
 
1479
1476
  declare module "@tiptap/core" {
1480
1477
  interface Commands<ReturnType> {
1481
- videoEmbed: {
1482
- setVideoEmbed: (options: {
1483
- src: string;
1484
- }) => ReturnType;
1478
+ transcript: {
1479
+ insertTranscript: (data: TranscriptData) => ReturnType;
1485
1480
  };
1486
1481
  }
1487
1482
  }
1483
+
1484
+
1485
+ declare namespace Calendar {
1486
+ var displayName: string;
1487
+ }
@@ -5854,6 +5854,7 @@ export declare interface RichTextEditorProps {
5854
5854
  secondaryAction?: secondaryActionsType;
5855
5855
  primaryAction?: primaryActionType;
5856
5856
  onChange: (result: resultType) => void;
5857
+ onBlur?: () => void;
5857
5858
  maxCharacters?: number;
5858
5859
  placeholder: string;
5859
5860
  initialEditorState?: {
@@ -5867,6 +5868,10 @@ export declare interface RichTextEditorProps {
5867
5868
  onFullscreenChange?: (fullscreen: boolean) => void;
5868
5869
  /** Whether the editor is disabled */
5869
5870
  disabled?: boolean;
5871
+ /** Whether the editor has an error state */
5872
+ error?: boolean;
5873
+ /** Whether the editor is in a loading state */
5874
+ loading?: boolean;
5870
5875
  dataTestId?: string;
5871
5876
  }
5872
5877
 
@@ -7228,11 +7233,6 @@ declare module "gridstack" {
7228
7233
  }
7229
7234
 
7230
7235
 
7231
- declare namespace Calendar {
7232
- var displayName: string;
7233
- }
7234
-
7235
-
7236
7236
  declare module "@tiptap/core" {
7237
7237
  interface Commands<ReturnType> {
7238
7238
  aiBlock: {
@@ -7264,8 +7264,10 @@ declare module "@tiptap/core" {
7264
7264
 
7265
7265
  declare module "@tiptap/core" {
7266
7266
  interface Commands<ReturnType> {
7267
- transcript: {
7268
- insertTranscript: (data: TranscriptData) => ReturnType;
7267
+ videoEmbed: {
7268
+ setVideoEmbed: (options: {
7269
+ src: string;
7270
+ }) => ReturnType;
7269
7271
  };
7270
7272
  }
7271
7273
  }
@@ -7273,10 +7275,13 @@ declare module "@tiptap/core" {
7273
7275
 
7274
7276
  declare module "@tiptap/core" {
7275
7277
  interface Commands<ReturnType> {
7276
- videoEmbed: {
7277
- setVideoEmbed: (options: {
7278
- src: string;
7279
- }) => ReturnType;
7278
+ transcript: {
7279
+ insertTranscript: (data: TranscriptData) => ReturnType;
7280
7280
  };
7281
7281
  }
7282
7282
  }
7283
+
7284
+
7285
+ declare namespace Calendar {
7286
+ var displayName: string;
7287
+ }
@@ -3,8 +3,8 @@ import { fg as WO, ff as UO, fe as qO, fl as GO, fm as KO, fi as QO, fh as JO, f
3
3
  import { jsx as l, jsxs as v, Fragment as te } from "react/jsx-runtime";
4
4
  import * as Be from "react";
5
5
  import ee, { createContext as Rt, forwardRef as G, useRef as B, useEffect as U, useContext as Ft, PureComponent as Bv, useTransition as Hv, useState as R, useLayoutEffect as ln, useCallback as Y, useMemo as P, useId as Jl, useImperativeHandle as ef, memo as No, Fragment as wn, isValidElement as tf, cloneElement as Yl, createElement as nc, Children as nf } from "react";
6
- import { f as Bn, ak as kr, j as li, al as Vv, b as Zo, am as Wv, A as Uv, d as ai, i as qv, m as Gv, G as Kv, g as rc, an as Qv, l as ic, ao as Jv, p as Yv, ap as rf, aq as of, ar as Xv, C as Zv, ad as ey, as as ft, at as Mt, au as Ze, av as ty, aw as Ni, ax as gt, ay as sf, az as ot, aA as Xl, aB as ct, aC as oc, aD as ny, aE as lf, aF as Je, aG as lt, aH as Nr, aI as Hi, aJ as af, aK as ry, aL as An, aM as iy, aN as oy, aO as sy, aP as Vr, aQ as Wr, aR as Zl, aS as ly, aT as cf, aU as df, aV as uf, aW as ay, aX as ff, aY as hf, aZ as mf, a_ as pf, a$ as gf, b0 as bf, b1 as Fs, b2 as cy, b3 as sc, b4 as dy, b5 as uy, b6 as fy, x as hy, y as my, D as py, K as gy, M as by, t as vy, b7 as yy, T as Ur, b8 as xy, b9 as wy, W as Cy, Z as ky, ba as Ny, bb as Sy, $ as Iy, a3 as Ay, bc as vf, bd as Ty, be as Ey, bf as Dy, bg as yf, aa as Ms, bh as _y, a9 as xf, a5 as Ly, bi as Oy, bj as Ry, bk as Fy, ah as My, bl as Ps, bm as Py, bn as Vi, ai as zy, bo as $y, ag as wf, af as jy, ae as By, bp as Hy, bq as Vy, br as Wy, bs as Uy, bt as qy, bu as Gy, bv as Ky, bw as Qy, bx as Jy, by as Yy, bz as Xy, aj as Cf, bA as Zy, N as e0, O as t0, Q as n0, R as r0, V as i0, P as o0, bB as lc, bC as s0, bD as l0, n as a0 } from "./DataCollectionStorageProvider-DliGArb_.js";
7
- import { a6 as tR, a0 as nR, U as rR, a2 as iR, bH as oR, bG as sR, bE as lR, bF as aR, _ as cR, a1 as dR, ab as uR, ac as fR } from "./DataCollectionStorageProvider-DliGArb_.js";
6
+ import { f as Bn, ak as kr, j as li, al as Vv, b as Zo, am as Wv, A as Uv, d as ai, i as qv, m as Gv, G as Kv, g as rc, an as Qv, l as ic, ao as Jv, p as Yv, ap as rf, aq as of, ar as Xv, C as Zv, ad as ey, as as ft, at as Mt, au as Ze, av as ty, aw as Ni, ax as gt, ay as sf, az as ot, aA as Xl, aB as ct, aC as oc, aD as ny, aE as lf, aF as Je, aG as lt, aH as Nr, aI as Hi, aJ as af, aK as ry, aL as An, aM as iy, aN as oy, aO as sy, aP as Vr, aQ as Wr, aR as Zl, aS as ly, aT as cf, aU as df, aV as uf, aW as ay, aX as ff, aY as hf, aZ as mf, a_ as pf, a$ as gf, b0 as bf, b1 as Fs, b2 as cy, b3 as sc, b4 as dy, b5 as uy, b6 as fy, x as hy, y as my, D as py, K as gy, M as by, t as vy, b7 as yy, T as Ur, b8 as xy, b9 as wy, W as Cy, Z as ky, ba as Ny, bb as Sy, $ as Iy, a3 as Ay, bc as vf, bd as Ty, be as Ey, bf as Dy, bg as yf, aa as Ms, bh as _y, a9 as xf, a5 as Ly, bi as Oy, bj as Ry, bk as Fy, ah as My, bl as Ps, bm as Py, bn as Vi, ai as zy, bo as $y, ag as wf, af as jy, ae as By, bp as Hy, bq as Vy, br as Wy, bs as Uy, bt as qy, bu as Gy, bv as Ky, bw as Qy, bx as Jy, by as Yy, bz as Xy, aj as Cf, bA as Zy, N as e0, O as t0, Q as n0, R as r0, V as i0, P as o0, bB as lc, bC as s0, bD as l0, n as a0 } from "./DataCollectionStorageProvider-6el79_MC.js";
7
+ import { a6 as tR, a0 as nR, U as rR, a2 as iR, bH as oR, bG as sR, bE as lR, bF as aR, _ as cR, a1 as dR, ab as uR, ac as fR } from "./DataCollectionStorageProvider-6el79_MC.js";
8
8
  import './experimental.css';function kf(t, e) {
9
9
  const n = du(e()), r = () => n.set(e());
10
10
  return r(), xg(() => {
package/dist/f0.d.ts CHANGED
@@ -8700,11 +8700,6 @@ declare module "gridstack" {
8700
8700
  }
8701
8701
 
8702
8702
 
8703
- declare namespace Calendar {
8704
- var displayName: string;
8705
- }
8706
-
8707
-
8708
8703
  declare module "@tiptap/core" {
8709
8704
  interface Commands<ReturnType> {
8710
8705
  aiBlock: {
@@ -8736,8 +8731,10 @@ declare module "@tiptap/core" {
8736
8731
 
8737
8732
  declare module "@tiptap/core" {
8738
8733
  interface Commands<ReturnType> {
8739
- transcript: {
8740
- insertTranscript: (data: TranscriptData) => ReturnType;
8734
+ videoEmbed: {
8735
+ setVideoEmbed: (options: {
8736
+ src: string;
8737
+ }) => ReturnType;
8741
8738
  };
8742
8739
  }
8743
8740
  }
@@ -8745,10 +8742,13 @@ declare module "@tiptap/core" {
8745
8742
 
8746
8743
  declare module "@tiptap/core" {
8747
8744
  interface Commands<ReturnType> {
8748
- videoEmbed: {
8749
- setVideoEmbed: (options: {
8750
- src: string;
8751
- }) => ReturnType;
8745
+ transcript: {
8746
+ insertTranscript: (data: TranscriptData) => ReturnType;
8752
8747
  };
8753
8748
  }
8754
8749
  }
8750
+
8751
+
8752
+ declare namespace Calendar {
8753
+ var displayName: string;
8754
+ }